- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 359 for Identical (0.21 sec)
-
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/types.go
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. if types.Identical(typ.Elem().Underlying(), types.Typ[types.Byte]) && m.t&argString != 0 {
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/go/types/named_test.go
} Inst := Unalias(pkg.Scope().Lookup("Inst").Type()).(*Pointer).Elem().(*Named) Node := firstFieldType(Inst) Tree := firstFieldType(Node) if !Identical(Inst, Tree) { t.Fatalf("Not a cycle: got %v, want %v", Tree, Inst) } if Inst != Tree { t.Errorf("Duplicate instances in cycle: %s (%p) -> %s (%p) -> %s (%p)", Inst, Inst, Node, Node, Tree, Tree) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 05 16:29:58 UTC 2024 - 3.9K bytes - Viewed (0) -
src/go/types/typeset.go
return f(nil) } for _, t := range s.terms { assert(t.typ != nil) // x == under(x) for ~x terms u := t.typ if !t.tilde { u = under(u) } if debug { assert(Identical(u, under(u))) } if !f(u) { return false } } return true } // topTypeSet may be used as type set for the empty interface. var topTypeSet = _TypeSet{terms: allTermlist}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 13.7K bytes - Viewed (0) -
src/cmd/compile/internal/types2/named_test.go
} Inst := Unalias(pkg.Scope().Lookup("Inst").Type()).(*Pointer).Elem().(*Named) Node := firstFieldType(Inst) Tree := firstFieldType(Node) if !Identical(Inst, Tree) { t.Fatalf("Not a cycle: got %v, want %v", Tree, Inst) } if Inst != Tree { t.Errorf("Duplicate instances in cycle: %s (%p) -> %s (%p) -> %s (%p)", Inst, Inst, Node, Node, Tree, Tree) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 16 21:06:56 UTC 2024 - 3.6K bytes - Viewed (0) -
test/codegen/stack.go
for i := 0; i < 2; i++ { defer func() {}() } // amd64:`CALL\truntime\.deferprocStack` defer func() {}() } // Check that stack slots are shared among values of the same // type, but not pointer-identical types. See issue 65783. func spillSlotReuse() { // The return values of getp1 and getp2 need to be // spilled around the calls to nopInt. Make sure that // spill slot gets reused.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 29 21:29:41 UTC 2024 - 3.4K bytes - Viewed (0) -
pilot/pkg/config/monitor/file_snapshot.go
} return nil }) if err != nil { log.Warnf("failure during filepath.Walk: %v", err) } // Sort by the config IDs. sort.Sort(byKey(result)) return result, err } // parseInputs is identical to crd.ParseInputs, except that it returns an array of config pointers. func parseInputs(data []byte, domainSuffix string) ([]*config.Config, error) { configs, _, err := crd.ParseInputs(string(data))
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Feb 12 17:36:33 UTC 2024 - 3.6K bytes - Viewed (0) -
pilot/pkg/xds/cds.go
if req == nil { return true } switch proxy.Type { case model.Waypoint: if model.HasConfigsOfKind(req.ConfigsUpdated, kind.Address) { // TODO: this logic is identical to that used in LDS, consider refactor into a common function // taken directly from LDS... waypoints need CDS updates on kind.Address changes // after implementing use-waypoint which decouples waypoint creation, wl pod creation
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 09 21:27:52 UTC 2024 - 4.2K bytes - Viewed (0) -
src/go/types/named.go
// corresponding object, and that object's type is the (possibly generic) Named // type. Declared Named types are identical if and only if their pointers are // identical. On the other hand, multiple instantiated Named types may be // identical even though their pointers are not identical. One has to use // Identical to compare them. For instantiated named types, their obj is a // synthetic placeholder that records their position of the corresponding
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 20:03:31 UTC 2024 - 24K bytes - Viewed (0) -
api/openapi-spec/v3/apis__resource.k8s.io__v1alpha2_openapi.json
"type": "string" }, "remainingItemCount": {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 22 12:18:45 UTC 2024 - 656.6K bytes - Viewed (0) -
pkg/kube/kclient/clienttest/test_helpers.go
TestWriter: TestWriter[T]{ c: c, t: t, }, } } // Wrap returns a client that calls t.Fatal on errors. // Reads may be cached or uncached, depending on the input client. // Note: this is identical to WrapReadWriter but works around Go limitations, allowing calling w/o specifying // generic parameters in the common case. func Wrap[T controllers.Object](t test.Failer, c kclient.Client[T]) TestClient[T] {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 23 19:18:21 UTC 2024 - 3.9K bytes - Viewed (0)