- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 76 for DISJOINT (0.11 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java
* MinimalCollection, which throws NullPointerException on calls to * contains(null). */ List<E> disjointList = Arrays.asList(e3(), e4()); disjoint = new Target(disjointList, "disjoint"); superset = new Target(MinimalCollection.of(e0(), e1(), e2(), e3(), e4()), "superset"); nonEmptyProperSubset = new Target(MinimalCollection.of(e1()), "subset");
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 20 17:00:05 UTC 2024 - 10.5K bytes - Viewed (0) -
src/net/http/pattern_test.go
{"/a/{z}/a/{m...}", "/{x}/b", disjoint}, // Dollar on left. {"/{$}", "/a", disjoint}, {"/{$}", "/a/b", disjoint}, {"/{$}", "/{$}", equivalent}, {"/{$}", "/{x}", disjoint}, {"/{$}", "/", moreSpecific}, {"/{$}", "/{x...}", moreSpecific}, {"/b/{$}", "/b", disjoint}, {"/b/{$}", "/b/a", disjoint}, {"/b/{$}", "/b/a/b", disjoint}, {"/b/{$}", "/b/{$}", equivalent},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 16:36:30 UTC 2024 - 15K bytes - Viewed (0) -
src/cmd/compile/internal/types2/typeterm.go
} // ∅ ⊂ x, y ⊂ 𝓤 if x.disjoint(y) { return false // x ⊆ y == false if x ∩ y == ∅ } // x.typ == y.typ // ~t ⊆ ~t == true // ~t ⊆ T == false // T ⊆ ~t == true // T ⊆ T == true return !x.tilde || y.tilde } // disjoint reports whether x ∩ y == ∅. // x.typ and y.typ must not be nil. func (x *term) disjoint(y *term) bool { if debug && (x.typ == nil || y.typ == nil) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 3.5K bytes - Viewed (0) -
src/go/types/typeterm.go
} // ∅ ⊂ x, y ⊂ 𝓤 if x.disjoint(y) { return false // x ⊆ y == false if x ∩ y == ∅ } // x.typ == y.typ // ~t ⊆ ~t == true // ~t ⊆ T == false // T ⊆ ~t == true // T ⊆ T == true return !x.tilde || y.tilde } // disjoint reports whether x ∩ y == ∅. // x.typ and y.typ must not be nil. func (x *term) disjoint(y *term) bool { if debug && (x.typ == nil || y.typ == nil) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 3.6K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/typeparams/typeterm.go
} // ∅ ⊂ x, y ⊂ 𝓤 if x.disjoint(y) { return false // x ⊆ y == false if x ∩ y == ∅ } // x.typ == y.typ // ~t ⊆ ~t == true // ~t ⊆ T == false // T ⊆ ~t == true // T ⊆ T == true return !x.tilde || y.tilde } // disjoint reports whether x ∩ y == ∅. // x.typ and y.typ must not be nil. func (x *term) disjoint(y *term) bool { if debug && (x.typ == nil || y.typ == nil) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 21 21:08:44 UTC 2023 - 3.6K bytes - Viewed (0) -
src/cmd/compile/internal/types2/typeterm_test.go
args := split(test, 3) x := testTerm(args[0]) y := testTerm(args[1]) want := args[2] == "T" if got := x.disjoint(y); got != want { t.Errorf("%v.disjoint(%v) = %v; want %v", x, y, got, want) } // disjoint is symmetric x, y = y, x if got := x.disjoint(y); got != want { t.Errorf("%v.disjoint(%v) = %v; want %v", x, y, got, want) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 20 23:30:58 UTC 2021 - 5.1K bytes - Viewed (0) -
src/go/types/typeterm_test.go
args := split(test, 3) x := testTerm(args[0]) y := testTerm(args[1]) want := args[2] == "T" if got := x.disjoint(y); got != want { t.Errorf("%v.disjoint(%v) = %v; want %v", x, y, got, want) } // disjoint is symmetric x, y = y, x if got := x.disjoint(y); got != want { t.Errorf("%v.disjoint(%v) = %v; want %v", x, y, got, want) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 5.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java
* MinimalCollection, which throws NullPointerException on calls to * contains(null). */ List<E> disjointList = Arrays.asList(e3(), e4()); disjoint = new Target(disjointList, "disjoint"); superset = new Target(MinimalCollection.of(e0(), e1(), e2(), e3(), e4()), "superset"); nonEmptyProperSubset = new Target(MinimalCollection.of(e1()), "subset");
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 20 17:00:05 UTC 2024 - 10.5K bytes - Viewed (0) -
src/net/http/pattern.go
// they overlap. func combineRelationships(r1, r2 relationship) relationship { switch r1 { case equivalent: return r2 case disjoint: return disjoint case overlaps: if r2 == disjoint { return disjoint } return overlaps case moreGeneral, moreSpecific: switch r2 { case equivalent: return r1 case inverseRelationship(r1): return overlaps
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 16:36:30 UTC 2024 - 15.3K bytes - Viewed (0) -
src/cmd/compile/internal/types2/union.go
// overlapping (not disjoint) from y. The result is < 0 if there is no // such term. The type of term y must not be an interface, and terms // with an interface type are ignored in the terms list. func overlappingTerm(terms []*Term, y *Term) int { assert(!IsInterface(y.typ)) for i, x := range terms { if IsInterface(x.typ) { continue } // disjoint requires non-nil, non-top arguments,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 15 16:16:58 UTC 2023 - 6.3K bytes - Viewed (0)