- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for intersects (0.16 sec)
-
android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java
assertTrue(rangeSet.intersects(Range.closed(3, 4))); assertTrue(rangeSet.intersects(Range.closedOpen(1, 5))); assertFalse(rangeSet.intersects(Range.closedOpen(4, 5))); assertTrue(rangeSet.intersects(Range.lessThan(1))); assertTrue(rangeSet.intersects(Range.greaterThan(1))); assertFalse(rangeSet.intersects(Range.greaterThan(3)));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 25 16:19:30 UTC 2025 - 21.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableRangeSet.java
this.complement = complement; } private final transient ImmutableList<Range<C>> ranges; private final transient @Nullable ImmutableRangeSet<C> complement; @Override public boolean intersects(Range<C> otherRange) { int ceilingIndex = SortedLists.binarySearch( ranges, Range::lowerBound, otherRange.lowerBound, Ordering.natural(),
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 27.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeRangeSet.java
return floorEntry.getValue(); } else { // TODO(kevinb): revisit this design choice return null; } } @Override public boolean intersects(Range<C> range) { checkNotNull(range); Entry<Cut<C>, Range<C>> ceilingEntry = rangesByLowerBound.ceilingEntry(range.lowerBound); if (ceilingEntry != null && ceilingEntry.getValue().isConnected(range)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 32.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/ConnectionSpec.kt
import okhttp3.ConnectionSpec.Builder import okhttp3.internal.concat import okhttp3.internal.effectiveCipherSuites import okhttp3.internal.hasIntersection import okhttp3.internal.indexOf import okhttp3.internal.intersect /** * Specifies configuration for the socket connection that HTTP traffic travels through. For `https:` * URLs, this includes the TLS version and cipher suites to use when negotiating a secure * connection. *
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 13.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java
logger.finer( Platform.format( "%s: skipping because these features are absent: %s", method, missingFeatures)); } return false; } if (intersect(features, requirements.getAbsentFeatures())) { if (logger.isLoggable(FINER)) { Set<Feature<?>> unwantedFeatures = copyToSet(requirements.getAbsentFeatures()); unwantedFeatures.retainAll(features);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 10.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CallHandshakeTest.kt
} } private fun expectedConnectionCipherSuites(client: OkHttpClient): Set<String> = client.connectionSpecs .first() .cipherSuites!! .map { it.javaName }.intersect(defaultEnabledCipherSuites.toSet()) private fun makeClient( connectionSpec: ConnectionSpec? = null, tlsVersion: TlsVersion? = null, cipherSuites: List<CipherSuite>? = null, ): OkHttpClient =
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 11.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/CredentialsInternalTest.java
assertEquals(creds.isGuest(), copy.isGuest()); assertSame(subject, copy.getSubject(), "subject is the same reference in clone"); } @Test @DisplayName("createContext returns SSPContext and interacts with CIFSContext") void createContext_happy_interacts_and_returns_context() throws Exception { // Arrange TestCredentials creds = new TestCredentials("D", false, false, new Subject(), false);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt
"0000feff".decodeHex(), ) /** * Returns an array containing only elements found in this array and also in [other]. The returned * elements are in the same order as in this. */ internal fun Array<String>.intersect( other: Array<String>, comparator: Comparator<in String>, ): Array<String> { val result = mutableListOf<String>() for (a in this) { for (b in other) { if (comparator.compare(a, b) == 0) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 10.1K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java
@SuppressWarnings("unchecked") Map<String, String> proxy = Reflection.newProxy(Map.class, new CheckSetUpInvocationHandler(map, setUpRan)); return proxy; } } /** * Intercepts calls to a {@code Map} to check that {@code setUpRan} is true when they happen. Then * forwards the calls to the underlying {@code Map}. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu May 22 16:18:11 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeInputStreamTest.java
when(tree.isSMB2()).thenReturn(smb2); return new SmbPipeInputStream(handle, tree); } @Test @DisplayName("available() on SMB2 returns peeked byte count and interacts with tree") void available_smb2_happyPath() throws Exception { // Verify SMB2 path: IOCTL peek result is returned and resources are closed SmbPipeInputStream stream = newStreamWithMinimalStubs(true);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0)