This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mode: set | |
github.com/CannibalVox/VKng/core/internal/core1_0/descriptor_pool.go:24.65,26.2 1 0 | |
github.com/CannibalVox/VKng/core/internal/core1_0/descriptor_pool.go:28.63,30.2 1 0 | |
github.com/CannibalVox/VKng/core/internal/core1_0/descriptor_pool.go:32.55,34.2 1 0 | |
github.com/CannibalVox/VKng/core/internal/core1_0/descriptor_pool.go:36.63,38.2 1 0 | |
github.com/CannibalVox/VKng/core/internal/core1_0/descriptor_pool.go:40.65,42.2 1 0 | |
github.com/CannibalVox/VKng/core/internal/core1_0/descriptor_pool.go:44.79,47.2 2 0 | |
github.com/CannibalVox/VKng/core/internal/core1_0/descriptor_pool.go:49.102,51.2 1 0 | |
github.com/CannibalVox/VKng/extensions/vkng_surface_sdl2/extension.go:28.78,33.2 2 0 | |
github.com/CannibalVox/VKng/extensions/vkng_surface_sdl2/extension.go:35.83,39.2 1 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package queries | |
import ( | |
"context" | |
"database/sql" | |
"flag" | |
"fmt" | |
"github.com/Cannibalvox/project/data" | |
"github.com/google/uuid" | |
"github.com/ory/dockertest/v3" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Scannable represents the shared surface area between sql.Row and sql.Rows - | |
// both types implement this interface, and methods which accept Scannable | |
// can accept both types. | |
type Scannable interface { | |
Err() error | |
Scan(dest ...any) error | |
} | |
type Model interface { | |
Scan(scannable Scannable, additional ...interface{}) error |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func DistanceLineToLineForCylinder(line1Start, line1End, line2Start, line2End geom.Coord, radius1, radius2 float64) float64 { | |
/** | |
* This calculation is susceptible to roundoff errors when | |
* passed large ordinate values. | |
* It may be possible to improve this by using {@link DD} arithmetic. | |
*/ | |
if Equals(line1Start, line1End) { | |
return DistancePointToLine(line1Start, line2Start, line2End) | |
} | |
if Equals(line2Start, line1End) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fib(35) NLua - 00:00:01.0882426 | |
fib(35) MoonSharp - 00:00:13.2349632 | |
fib(15)x10k NLua - 00:00:00.7859748 | |
fib(15)x10k MoonSharp - 00:00:08.7014046 | |
fib(15)x10k+Binding NLua - 00:00:21.9166036 | |
fib(15)x10k+Binding MoonSharp - 00:00:14.6797089 |