- Sort Score
- Num 10 results
- Language All
Results 361 - 370 of 612 for forced (0.59 seconds)
-
android/guava-tests/test/com/google/common/collect/BenchmarkHelpers.java
} }, MapMakerStrongKeysStrongValues { @Override public <K extends Comparable<K>, V> Map<K, V> create(Map<K, V> map) { // We use a "custom" equivalence to force MapMaker to make a MapMakerInternalMap. ConcurrentMap<K, V> newMap = new MapMaker().keyEquivalence(Equivalence.equals()).makeMap(); checkState(newMap instanceof MapMakerInternalMap); newMap.putAll(map);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Aug 10 19:54:19 GMT 2025 - 12.5K bytes - Click Count (0) -
src/test/java/jcifs/util/SecureKeyManagerTest.java
// Store multiple keys for (int i = 0; i < 3; i++) { keyManager.storeSessionKey("session-" + i, testKey, "AES"); } // Force rotate all int rotated = keyManager.forceRotateAllKeys(); assertEquals(3, rotated, "Should rotate 3 keys"); // Verify all keys were rotated for (int i = 0; i < 3; i++) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 14.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/SIDCacheImplTest.java
assertEquals("user2", ((SID) resolvedFirst[1]).acctName); // Second call with overlap should use cache for s2 and s3, requiring only s3 if not cached // Mark s3 unresolved to force resolve of one element doAnswer(inv -> { SID[] toResolve = inv.getArgument(2); for (SID s : toResolve) { s.type = jcifs.SID.SID_TYPE_USER;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Sets.java
return filter(unfiltered().tailSet(fromElement, inclusive), predicate); } } /** * Returns every possible list that can be formed by choosing one element from each of the given * sets in order; the "n-ary <a href="http://en.wikipedia.org/wiki/Cartesian_product">Cartesian * product</a>" of the sets. For example: * * {@snippet :
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 81.4K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt
var success = false try { if (connectionSpec.supportsTlsExtensions) { Platform.get().configureTlsExtensions(sslSocket, address.url.host, address.protocols) } // Force handshake. This can throw! sslSocket.startHandshake() // block for session establishment val sslSocketSession = sslSocket.session val unverifiedHandshake = sslSocketSession.handshake()Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 19.3K bytes - Click Count (2) -
guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java
tree.put(1.0, 2.0); tree.put(2.0, 3.0); tree.put(3.0, 4.0); tree.put(4.0, 5.0); SortedSetMultimap<Double, Double> sorted = Multimaps.unmodifiableSortedSetMultimap(tree); TreeMultimap<Double, Double> copyFromSorted = TreeMultimap.create(sorted); assertEquals(tree, copyFromSorted); assertThat(copyFromSorted.keyComparator()).isEqualTo(Ordering.natural());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 22.5K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java
} @Deprecated public List<MavenProject> getSortedProjects() { return getProjects(); } @Deprecated // // Used by Tycho and will break users and force them to upgrade to Maven 3.1 so we should really leave // this here, possibly indefinitely. // public RepositoryCache getRepositoryCache() { return null; } @DeprecatedCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jan 24 17:29:44 GMT 2025 - 16.7K bytes - Click Count (0) -
src/test/java/org/codelibs/curl/io/IOIntegrationTest.java
u -> new OutputCapturingMockHttpURLConnection(u, "ok")); ForkJoinPool pool = new ForkJoinPool(1); req.threadPool(pool); // ## Act ## // execute() should force synchronous execution but restore threadPool afterward try (CurlResponse response = req.execute()) { assertEquals(200, response.getHttpStatusCode()); } // ## Assert ##
Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 12:00:34 GMT 2026 - 44.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/Lists.java
return rest[index - 2]; } } @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0; } /** * Returns every possible list that can be formed by choosing one element from each of the given * lists in order; the "n-ary <a href="http://en.wikipedia.org/wiki/Cartesian_product">Cartesian * product</a>" of the lists. For example: * * {@snippet :
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 16:38:09 GMT 2026 - 42.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTransportInternalTest.java
verify(transport).getDfsReferrals(eq(ctx), isNull(), eq("h"), eq("d"), eq(1)); } // Signing modes: optional vs enforced @Test @DisplayName("isSigningOptional and isSigningEnforced reflect configuration") void signingModes() throws Exception { when(transport.isSigningOptional()).thenReturn(true);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.1K bytes - Click Count (0)