- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 932 for incomparable (0.21 sec)
-
src/cmd/compile/internal/types2/predicates.go
} // Comparable reports whether values of type T are comparable. func Comparable(T Type) bool { return comparable(T, true, nil, nil) } // If dynamic is set, non-type parameter interfaces are always comparable. // If reportf != nil, it may be used to report why T is not comparable.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 17.5K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/stmt.go
} else if t.IsInterface() && !n1.Type().IsInterface() && !types.IsComparable(n1.Type()) { base.ErrorfAt(ncase.Pos(), errors.UndefinedOp, "invalid case %L in switch (incomparable type)", n1) } else { op1, _ := assignOp(n1.Type(), t) op2, _ := assignOp(t, n1.Type()) if op1 == ir.OXXX && op2 == ir.OXXX { if n.Tag != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 20 15:10:54 UTC 2023 - 17.8K bytes - Viewed (0) -
src/net/http/transport.go
// communicates with the goroutine doing the RoundTrip. type responseAndError struct { _ incomparable res *Response // else use this response (see res method) err error } type requestAndChan struct { _ incomparable treq *transportRequest ch chan responseAndError // unbuffered; always send in select on callerGone
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 21:59:21 UTC 2024 - 91K bytes - Viewed (0) -
src/reflect/all_test.go
if s != table.want { t.Errorf("constructed array = %s, want %s", s, table.want) } if table.comparable != at.Comparable() { t.Errorf("constructed array (%#v) is comparable=%v, want=%v", v.Interface(), at.Comparable(), table.comparable) } if table.comparable { if table.n > 0 { if DeepEqual(vnot.Interface(), v.Interface()) { t.Errorf(
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 218.8K bytes - Viewed (0) -
src/internal/types/testdata/spec/comparable.go
package p func f1[_ comparable]() {} func f2[_ interface{ comparable }]() {} type T interface{ m() } func _[P comparable, Q ~int, R any]() { _ = f1[int] _ = f1[T /* T does satisfy comparable */] _ = f1[any /* any does satisfy comparable */] _ = f1[P] _ = f1[Q] _ = f1[R /* ERROR "R does not satisfy comparable" */] _ = f2[int]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 19:54:25 UTC 2023 - 680 bytes - Viewed (0) -
src/cmd/go/testdata/mod/example.com_retract_incompatible_v2.0.0+incompatible.txt
The v1.0.0 release of example.com/retract/incompatible retracts v2.0.0+incompatible. -- .mod -- module example.com/retract/incompatible -- .info -- {"Version":"v2.0.0+incompatible"} -- incompatible.go --
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 20 16:23:19 UTC 2020 - 226 bytes - Viewed (0) -
maven-api-impl/src/test/remote-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
org/codehaus/plexus/util/introspection/MethodMap.class package org.codehaus.plexus.util.introspection; public synchronized class MethodMap { private static final int MORE_SPECIFIC = 0; private static final int LESS_SPECIFIC = 1; private static final int INCOMPARABLE = 2; java.util.Map methodByNameMap; public void MethodMap(); public void add(reflect.Method); public java.util.List get(String); public reflect.Method find(String, Object[]) throws MethodMap$AmbiguousException; private static reflect.Method ge...
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu May 02 15:10:38 UTC 2024 - 164.6K bytes - Viewed (0) -
maven-core/src/test/resources/apiv4-repo/org/codehaus/plexus/plexus-utils/1.0.4/plexus-utils-1.0.4.jar
org/codehaus/plexus/util/introspection/MethodMap.class package org.codehaus.plexus.util.introspection; public synchronized class MethodMap { private static final int MORE_SPECIFIC = 0; private static final int LESS_SPECIFIC = 1; private static final int INCOMPARABLE = 2; java.util.Map methodByNameMap; public void MethodMap(); public void add(reflect.Method); public java.util.List get(String); public reflect.Method find(String, Object[]) throws MethodMap$AmbiguousException; private static reflect.Method ge...
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Sun Oct 02 08:41:25 UTC 2022 - 160K bytes - Viewed (0) -
maven-core/src/test/resources/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
org/codehaus/plexus/util/introspection/MethodMap.class package org.codehaus.plexus.util.introspection; public synchronized class MethodMap { private static final int MORE_SPECIFIC = 0; private static final int LESS_SPECIFIC = 1; private static final int INCOMPARABLE = 2; java.util.Map methodByNameMap; public void MethodMap(); public void add(reflect.Method); public java.util.List get(String); public reflect.Method find(String, Object[]) throws MethodMap$AmbiguousException; private static reflect.Method ge...
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Oct 16 20:15:40 UTC 2007 - 164.6K bytes - Viewed (0) -
src/cmd/go/testdata/mod/rsc.io_breaker_v2.0.0+incompatible.txt
rsc.io/breaker v2.0.0+incompatible written by hand -- .mod -- module rsc.io/breaker -- .info -- {"Version":"v2.0.0+incompatible", "Name": "7307b307f4f0dde421900f8e5126fadac1e13aed", "Short": "7307b307f4f0"} -- breaker.go -- package breaker
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 19 18:15:13 UTC 2018 - 255 bytes - Viewed (0)