- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for __typeof (0.26 sec)
-
src/cmd/cgo/doc.go
<preamble> __typeof__(t1) *__cgo__1; __typeof__(v2) *__cgo__2; __typeof__(v3) *__cgo__3; __typeof__(i4) *__cgo__4; enum { __cgo_enum__4 = i4 }; __typeof__(i5) *__cgo__5; enum { __cgo_enum__5 = i5 }; __typeof__(u6) *__cgo__6; enum { __cgo_enum__6 = u6 }; __typeof__(f7) *__cgo__7; __typeof__(f8) *__cgo__8; __typeof__(s9) *__cgo__9; __typeof__(s10) *__cgo__10;
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Sun Mar 31 09:02:45 GMT 2024 - 42.1K bytes - Viewed (0) -
src/cmd/cgo/gcc.go
// Instead, emit // __typeof__(names[i]) *__cgo__i; // for each entry in names and then dereference the type we // learn for __cgo__i. var b bytes.Buffer b.WriteString(builtinProlog) b.WriteString(f.Preamble) b.WriteString("#line 1 \"cgo-dwarf-inference\"\n") for i, n := range names { fmt.Fprintf(&b, "__typeof__(%s) *__cgo__%d;\n", n.C, i) if n.Kind == "iconst" {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Nov 02 16:43:23 GMT 2023 - 97K bytes - Viewed (0) -
logger/sql.go
if !unicode.IsPrint(r) { return false } } return true } // A list of Go types that should be converted to SQL primitives var convertibleTypes = []reflect.Type{reflect.TypeOf(time.Time{}), reflect.TypeOf(false), reflect.TypeOf([]byte{})} // RegEx matches only numeric values var numericPlaceholderRe = regexp.MustCompile(`\$\d+\$`) func isNumeric(k reflect.Kind) bool { switch k {
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Thu Mar 21 08:00:02 GMT 2024 - 5K bytes - Viewed (0) -
cmd/server-main_test.go
if err != nil { t.Fatal("Unexpected object layer initialization error", err) } _, ok := obj.(*erasureServerPools) if !ok { t.Fatal("Unexpected object layer detected", reflect.TypeOf(obj)) } // Tests for Erasure object layer initialization. // Create temporary backend for the test server. nDisks = 16 disks, err = getRandomDisks(nDisks) if err != nil {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Dec 07 09:33:56 GMT 2023 - 3.1K bytes - Viewed (0) -
internal/s3select/sql/jsonpath_test.go
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Sep 19 18:05:16 GMT 2022 - 2.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 interface{}) 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")
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri May 03 17:26:51 GMT 2024 - 76.2K 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) } }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Feb 22 06:26:06 GMT 2024 - 77.1K bytes - Viewed (0) -
operator/cmd/mesh/test-util_test.go
pv := m.expected.(PathValue) node := actual.(map[string]any) got, f, err := tpath.GetPathContext(node, util.PathFromString(pv.path), false) if err != nil || !f { return false, err } if reflect.TypeOf(got.Node) != reflect.TypeOf(pv.value) { return false, fmt.Errorf("comparison types don't match: got %v(%T), want %v(%T)", got.Node, got.Node, pv.value, pv.value) } if !reflect.DeepEqual(got.Node, pv.value) {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Oct 31 14:48:28 GMT 2023 - 15.3K bytes - Viewed (0) -
internal/s3select/sql/value.go
_, ok = b.value.(float64) case time.Time: _, ok = b.value.(time.Time) case []byte: _, ok = b.value.([]byte) case []Value: _, ok = b.value.([]Value) default: ok = reflect.TypeOf(v.value) == reflect.TypeOf(b.value) } return ok } // ToBool returns the bool value; second return value refers to if the bool // conversion succeeded. func (v Value) ToBool() (val bool, ok bool) {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Feb 25 20:31:19 GMT 2022 - 20.2K bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue24161res/restype.go
Go - Registered: Tue Mar 26 11:13:08 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 486 bytes - Viewed (0)