- Sort Score
- Result 10 results
- Languages All
Results 71 - 77 of 77 for TypeOf (0.08 sec)
-
statement.go
default: switch rv := reflect.ValueOf(v); rv.Kind() { case reflect.Slice, reflect.Array: if rv.Len() == 0 { writer.WriteString("(NULL)") } else if rv.Type().Elem() == reflect.TypeOf(uint8(0)) { stmt.Vars = append(stmt.Vars, v) stmt.DB.Dialector.BindVarTo(writer, stmt, v) } else { writer.WriteByte('(') for i := 0; i < rv.Len(); i++ { if i > 0 {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Sep 04 13:13:16 UTC 2025 - 20.8K bytes - Viewed (0) -
cmd/test-utils_test.go
r = r*1664525 + 1013904223 randN = r randmu.Unlock() return strconv.Itoa(int(1e9 + r%1e9))[1:] } // isSameType - compares two object types via reflect.TypeOf func isSameType(obj1, obj2 any) bool { return reflect.TypeOf(obj1) == reflect.TypeOf(obj2) } // TestServer encapsulates an instantiation of a MinIO instance with a temporary backend. // Example usage: // // s := StartTestServer(t,"Erasure")
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 77K bytes - Viewed (0) -
cmd/object-api-multipart_test.go
} // Failed as expected, but does it fail for the expected reason. if actualErr != nil && !testCase.shouldPass { if reflect.TypeOf(actualErr) != reflect.TypeOf(testCase.expectedErr) { t.Errorf("%s: Expected to fail with error \"%s\", but instead failed with error \"%s\"", instanceType, testCase.expectedErr, actualErr) } }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 89.4K bytes - Viewed (0) -
api/go1.5.txt
pkg go/types, method (*Func) Scope() *Scope pkg go/types, method (*Func) String() string pkg go/types, method (*Func) Type() Type pkg go/types, method (*Info) ObjectOf(*ast.Ident) Object pkg go/types, method (*Info) TypeOf(ast.Expr) Type pkg go/types, method (*Initializer) String() string pkg go/types, method (*Interface) Complete() *Interface pkg go/types, method (*Interface) Embedded(int) *Named pkg go/types, method (*Interface) Empty() bool
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu Jul 30 21:14:09 UTC 2015 - 46.6K bytes - Viewed (0) -
doc/go_spec.html
<br> <code>typeof(v) ≡<sub>A</sub> typeof(f)</code>. </p> </li> <li> <p> For a return statement <code>return …, f, … </code> where <code>f</code> is a generic function returned as a result to a (non-generic) result variable <code>r</code> of function type: <br> <code>typeof(r) ≡<sub>A</sub> typeof(f)</code>. </p> </li> </ul> <p>
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue May 06 19:12:15 UTC 2025 - 286.2K bytes - Viewed (0) -
api/go1.txt
pkg reflect, func MakeSlice(Type, int, int) Value pkg reflect, func New(Type) Value pkg reflect, func NewAt(Type, unsafe.Pointer) Value pkg reflect, func PtrTo(Type) Type pkg reflect, func TypeOf(interface{}) Type pkg reflect, func ValueOf(interface{}) Value pkg reflect, func Zero(Type) Value pkg reflect, method (*ValueError) Error() string pkg reflect, method (ChanDir) String() string
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Aug 14 18:58:28 UTC 2013 - 1.7M bytes - Viewed (0) -
lib/fips140/v1.0.0.zip
checkLhs.Equal(checkRhs) != 1 { t.Error("B - B != B + (-B)") } if I.Equal(checkLhs) != 1 { t.Error("B - B != 0") } if I.Equal(checkRhs) != 1 { t.Error("B + (-B) != 0") } checkOnCurve(t, checkLhs, checkRhs, Bneg) } func TestComparable(t *testing.T) { if reflect.TypeOf(Point{}).Comparable() { t.Error("Point is unexpectedly comparable") } } func TestInvalidEncodings(t *testing.T) { // An invalid point, that also happens to have y > p. invalid := "efffffffffffffffffff" p := NewGeneratorPoint() if out, err := p.Se...
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Jan 29 15:10:35 UTC 2025 - 635K bytes - Viewed (0)