- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 175 for Identical (0.13 sec)
-
src/cmd/compile/internal/types2/operand.go
if x.mode == invalid || !isValid(T) { return true, 0 // avoid spurious errors } origT := T V := Unalias(x.typ) T = Unalias(T) // x's type is identical to T if Identical(V, T) { return true, 0 } Vu := under(V) Tu := under(T) Vp, _ := V.(*TypeParam) Tp, _ := T.(*TypeParam) // x is an untyped value representable by a value of type T.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 21:17:10 UTC 2024 - 11K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/StringsTest.java
assertEquals("a", Strings.commonPrefix("abc", "aaaaa")); assertEquals("aa", Strings.commonPrefix("aa", "aaaaa")); assertEquals("abc", Strings.commonPrefix(new StringBuffer("abcdef"), "abcxyz")); // Identical valid surrogate pairs. assertEquals( "abc\uD8AB\uDCAB", Strings.commonPrefix("abc\uD8AB\uDCABdef", "abc\uD8AB\uDCABxyz")); // Differing valid surrogate pairs.
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Feb 09 15:49:48 UTC 2024 - 10.3K bytes - Viewed (0) -
src/go/types/index.go
// first type length = l key, elem = k, e return true } // all map keys must be identical (incl. all nil) // (that is, we cannot mix maps with other types) if !Identical(key, k) { return false } // all element types must be identical if !Identical(elem, e) { return false } // track the minimal length for arrays, if any if l >= 0 && l < length {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 22 16:17:05 UTC 2024 - 11.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/text/language/match.go
// applied in the following order. // 1) Original language was defined and was identical. // 2) Original region was defined and was identical. // 3) Distance between two maximized regions was the smallest. // 4) Original script was defined and was identical. // 5) Distance from want tag to have tag using the parent relation [see Note 5.]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 25.1K bytes - Viewed (0) -
src/runtime/metrics.go
} } a.ensured = a.ensured.union(missing) } // metricKind is a runtime copy of runtime/metrics.ValueKind and // must be kept structurally identical to that type. type metricKind int const ( // These values must be kept identical to their corresponding Kind* values // in the runtime/metrics package. metricKindBad metricKind = iota metricKindUint64 metricKindFloat64
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 08 21:03:13 UTC 2024 - 26K bytes - Viewed (0) -
src/cmd/compile/internal/types2/lookup.go
m map[*Named][]*Named } func (l *instanceLookup) lookup(inst *Named) *Named { for _, t := range l.buf { if t != nil && Identical(inst, t) { return t } } for _, t := range l.m[inst.Origin()] { if Identical(inst, t) { return t } } return nil } func (l *instanceLookup) add(inst *Named) { for i, t := range l.buf { if t == nil { l.buf[i] = inst
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 22 19:32:17 UTC 2024 - 19.8K bytes - Viewed (0) -
src/go/types/lookup.go
m map[*Named][]*Named } func (l *instanceLookup) lookup(inst *Named) *Named { for _, t := range l.buf { if t != nil && Identical(inst, t) { return t } } for _, t := range l.m[inst.Origin()] { if Identical(inst, t) { return t } } return nil } func (l *instanceLookup) add(inst *Named) { for i, t := range l.buf { if t == nil { l.buf[i] = inst
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 19.9K bytes - Viewed (0) -
src/internal/reflectlite/type.go
func directlyAssignable(T, V *abi.Type) bool { // x's type V is identical to T? if T == V { return true } // Otherwise at least one of T and V must not be defined // and they must have the same kind. if T.HasName() && V.HasName() || T.Kind() != V.Kind() { return false } // x's type T and V must have identical underlying types. return haveIdenticalUnderlyingType(T, V, true) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 17:01:54 UTC 2024 - 16.2K bytes - Viewed (0) -
pkg/proxy/endpointslicecache_test.go
} testCases := map[string]struct { cache *EndpointSliceCache initialSlice *discovery.EndpointSlice updatedSlice *discovery.EndpointSlice expectChanged bool }{ "identical slices, ports only": { cache: NewEndpointSliceCache("", v1.IPv4Protocol, nil, nil), initialSlice: &discovery.EndpointSlice{ ObjectMeta: objMeta, Ports: []discovery.EndpointPort{port80}, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 21:07:21 UTC 2024 - 24.9K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/func.go
// information further down the call chain to know if we // were testing a method receiver for unexported fields. // It isn't necessary, so just do a sanity check. tp := t.Recv().Type if l.X == nil || !types.Identical(l.X.Type(), tp) { base.Fatalf("method receiver") } default: n.SetOp(ir.OCALLFUNC) if t.Kind() != types.TFUNC { if o := l; o.Name() != nil && types.BuiltinPkg.Lookup(o.Sym().Name).Def != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 06 15:23:18 UTC 2024 - 21.1K bytes - Viewed (0)