- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for bytesToInt (0.04 sec)
-
internal/s3select/sql/value.go
return nil case okA && okB: // Both Values are untyped so try the types in order: // int, float, bool, string // Check for numeric inference iA, okAi := a.bytesToInt() iB, okBi := b.bytesToInt() if okAi && okBi { a.setInt(iA) b.setInt(iB) return nil } fA, okAf := a.bytesToFloat() fB, okBf := b.bytesToFloat() if okAf && okBf { a.setFloat(fA)
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 20.4K bytes - Viewed (0) -
internal/s3select/sql/value_test.go
for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { v := &Value{ value: tt.fields.value, } got, got1 := v.bytesToInt() if got != tt.want { t.Errorf("bytesToInt() got = %v, want %v", got, tt.want) } if got1 != tt.wantOK { t.Errorf("bytesToInt() got1 = %v, want %v", got1, tt.wantOK) } }) } } func TestValue_bytesToFloat(t *testing.T) { type fields struct {Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 12.4K bytes - Viewed (0)