- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 253 for elem2 (0.16 sec)
-
test/fixedbugs/issue35073a.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 20 15:12:49 UTC 2023 - 497 bytes - Viewed (0) -
src/runtime/checkptr.go
import "unsafe" func checkptrAlignment(p unsafe.Pointer, elem *_type, n uintptr) { // nil pointer is always suitably aligned (#47430). if p == nil { return } // Check that (*[n]elem)(p) is appropriately aligned. // Note that we allow unaligned pointers if the types they point to contain // no pointers themselves. See issue 37298. // TODO(mdempsky): What about fieldAlign? if elem.Pointers() && uintptr(p)&(uintptr(elem.Align_)-1) != 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:18:55 UTC 2024 - 3.6K bytes - Viewed (0) -
src/path/filepath/path_plan9.go
return strings.Split(path, string(ListSeparator)) } func abs(path string) (string, error) { return unixAbs(path) } func join(elem []string) string { // If there's a bug here, fix the logic in ./path_unix.go too. for i, e := range elem { if e != "" { return Clean(strings.Join(elem[i:], string(Separator))) } } return "" } func sameWord(a, b string) bool { return a == b
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 23:07:50 UTC 2024 - 926 bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/compile_mlir_util/replicate-tensor-list-init-ops.mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Feb 03 09:30:08 UTC 2023 - 1.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/buildtag/buildtag_old.go
} func checkArguments(fields []string) error { for _, arg := range fields[1:] { for _, elem := range strings.Split(arg, ",") { if strings.HasPrefix(elem, "!!") { return fmt.Errorf("invalid double negative in build constraint: %s", arg) } elem = strings.TrimPrefix(elem, "!") for _, c := range elem { if !unicode.IsLetter(c) && !unicode.IsDigit(c) && c != '_' && c != '.' {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 4.3K bytes - Viewed (0) -
src/reflect/benchmark_test.go
SliceAny Value MapStringAny Value }{ Bool: ValueOf(new(bool)).Elem(), String: ValueOf(new(string)).Elem(), Bytes: ValueOf(new([]byte)).Elem(), NamedBytes: ValueOf(new(namedBytes)).Elem(), BytesArray: ValueOf(new([32]byte)).Elem(), SliceAny: ValueOf(new([]any)).Elem(), MapStringAny: ValueOf(new(map[string]any)).Elem(), } var sinkAll struct { RawBool bool RawString string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Nov 19 17:09:03 UTC 2023 - 8.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/types.go
return m.match(typ.Key(), false) && m.match(typ.Elem(), false) case *types.Chan: return m.t&argPointer != 0 case *types.Array: // Same as slice. if types.Identical(typ.Elem().Underlying(), types.Typ[types.Byte]) && m.t&argString != 0 { return true // %s matches []byte } // Recur: []int matches %d. return m.match(typ.Elem(), false) case *types.Slice: // Same as array.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 8.6K bytes - Viewed (0) -
src/cmd/cgo/internal/testshared/testdata/exe/exe.go
// exercising https://golang.org/issues/17594 reflect.TypeOf(os.Stdout).Elem() runtime.GC() depBase.V = depBase.F() + 1 var c *C if reflect.TypeOf(F).Out(0) != reflect.TypeOf(c) { panic("bad reflection results, see golang.org/issue/18252") } sp := reflect.New(reflect.TypeOf(slicePtr).Elem()) s := sp.Interface() if reflect.TypeOf(s) != reflect.TypeOf(slicePtr) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 906 bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/facts/imports.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 3.5K bytes - Viewed (0) -
src/internal/types/testdata/fixedbugs/issue46275.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package issue46275 type N[T any] struct { *N[T] t T } func (n *N[T]) Elem() T { return n.t } type I interface { Elem() string } func _() { var n1 *N[string] var _ I = n1 type NS N[string] var n2 *NS var _ I = n2
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 02 02:58:32 UTC 2022 - 387 bytes - Viewed (0)