- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 58 for identical (0.15 sec)
-
src/cmd/compile/internal/types2/api_test.go
if X == nil || Y == nil { t.Fatal("test must declare both X and Y") } if got := Identical(X.Type(), Y.Type()); got != test.want { t.Errorf("Identical(%s, %s) = %t, want %t", X.Type(), Y.Type(), got, test.want) } } } func TestIdentical_issue15173(t *testing.T) { // Identical should allow nil arguments and be symmetric. for _, test := range []struct { x, y Type want bool
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 93.3K bytes - Viewed (0) -
src/go/types/api_test.go
if X == nil || Y == nil { t.Fatal("test must declare both X and Y") } if got := Identical(X.Type(), Y.Type()); got != test.want { t.Errorf("Identical(%s, %s) = %t, want %t", X.Type(), Y.Type(), got, test.want) } } } func TestIdentical_issue15173(t *testing.T) { // Identical should allow nil arguments and be symmetric. for _, test := range []struct { x, y Type want bool
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 94.2K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation.go
} // Per-version fields may not all be set to identical values (top-level field should be used instead) if hasIdenticalPerVersionSchema(spec.Versions) { allErrs = append(allErrs, field.Invalid(fldPath.Child("versions"), spec.Versions, "per-version schemas may not all be set to identical values (top-level validation should be used instead)")) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 82.6K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/strategicpatch/patch.go
schema LookupPatchMeta, diffOptions DiffOptions) error { subschema, patchMeta, err := schema.LookupPatchMetadataForStruct(key) if err != nil { // We couldn't look up metadata for the field // If the values are identical, this doesn't matter, no patch is needed if reflect.DeepEqual(originalValue, modifiedValue) { return nil } // Otherwise, return the error return err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 01 23:34:23 UTC 2023 - 75.5K bytes - Viewed (0) -
src/go/types/expr.go
if p == nil { check.errorf(x, InvalidIndirection, invalidOp+"cannot indirect %s", x) return false } if base != nil && !Identical(p.base, base) { check.errorf(x, InvalidIndirection, invalidOp+"pointers of %s must have identical base types", x) return false } base = p.base return true }) { goto Error } x.mode = variable
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 02:09:54 UTC 2024 - 49.7K bytes - Viewed (0) -
src/cmd/compile/internal/types2/expr.go
if p == nil { check.errorf(x, InvalidIndirection, invalidOp+"cannot indirect %s", x) return false } if base != nil && !Identical(p.base, base) { check.errorf(x, InvalidIndirection, invalidOp+"pointers of %s must have identical base types", x) return false } base = p.base return true }) { goto Error } x.mode = variable
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 02:09:54 UTC 2024 - 51.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/builder/NodeState.java
} private boolean sameIncomingEdgesAsPreviousPass(int incomingEdgeCount) { // This is a heuristic, more than truth: it is possible that the 2 long hashs // are identical AND that the sizes of collections are identical, but it's // extremely unlikely (never happened on test cases even on large dependency graph) return cachedModuleResolutionFilter != null
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 14:19:34 UTC 2024 - 58.9K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/types_swagger_doc_generated.go
"remainingItemCount": "remainingItemCount is the number of subsequent items in the list which are not included in this list response. If the list...
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 13 18:37:59 UTC 2023 - 49.2K bytes - Viewed (0) -
src/cmd/compile/internal/types/type.go
var Types [NTYPE]*Type var ( // Predeclared alias types. These are actually created as distinct // defined types for better error messages, but are then specially // treated as identical to their respective underlying types. AnyType *Type ByteType *Type RuneType *Type // Predeclared error interface type. ErrorType *Type // Predeclared comparable interface type.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:29:45 UTC 2024 - 49.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFile.java
return SmbEnumerationUtil.list(this, "*", ATTR_DIRECTORY | ATTR_HIDDEN | ATTR_SYSTEM, null, null); } /** * List the contents of this SMB resource. The list returned will be * identical to the list returned by the parameterless <code>list()</code> * method minus filenames filtered by the specified filter. * * @param filter
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Thu May 23 01:50:13 UTC 2024 - 82.3K bytes - Viewed (1)