- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 180 for Trigger (0.04 sec)
-
android/guava/src/com/google/common/collect/CompactLinkedHashSet.java
* good job of distributing the elements to the buckets to a distribution not far from uniform), and * amortized since some operations can trigger a hash table resize. * * <p>This implementation consumes significantly less memory than {@code java.util.LinkedHashSet} or * even {@code java.util.HashSet}, and places considerably less load on the garbage collector. Like
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 14:59:07 UTC 2025 - 9.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/JoinerTest.java
} /* * c.g.c.collect.testing.Helpers.misleadingSizeList has a broken Iterator, so we can't use it. (I * mean, ideally we'd fix it....) Also, we specifically need a List so that we trigger the fast * path in join(Iterable). */ private static final class MisleadingSizeList<E extends @Nullable Object> extends ForwardingList<E> { final List<E> delegate; final int delta;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/jcifs/util/AuthenticationRateLimiterTest.java
assertTrue(rateLimiter.checkAttempt("user2", "192.168.1." + i)); } } @Test public void testGlobalRateLimit() throws Exception { // Make many attempts to trigger global rate limit for (int i = 1; i <= 20; i++) { assertTrue(rateLimiter.checkAttempt("user" + i, "192.168.1." + i), "Attempt " + i + " should be allowed"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.8K bytes - Viewed (0) -
apache-maven/src/assembly/maven/conf/settings.xml
| to accomplish, particularly when you only have a list of profile id's for debug. | | This profile example uses the JDK version to trigger activation, and provides a JDK-specific repo. <profile> <id>jdk-1.4</id> <activation> <jdk>1.4</jdk> </activation> <repositories> <repository>
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jan 22 07:44:50 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java
byte[] data = new byte[] { 1, 2, 3, 4 }; InputStream in = new ByteArrayInputStream(concat(messageHeader(4), data)); SocketInputStream sis = new SocketInputStream(in); // Read one byte to trigger message header processing assertEquals(1, sis.read()); // 3 bytes should remain available in current message assertEquals(3, sis.available()); // Read another byte
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt
true } catch (cnfe: ClassNotFoundException) { false } val isCorrettoSupported: Boolean = try { // Trigger an early exception over a fatal error, prefer a RuntimeException over Error. Class.forName("com.amazon.corretto.crypto.provider.AmazonCorrettoCryptoProvider")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 15.4K bytes - Viewed (1) -
src/test/java/jcifs/smb/SmbSessionImplTest.java
assertSame(session, session.unwrap(SmbSessionInternal.class)); assertSame(session, session.unwrap(jcifs.SmbSession.class)); // Edge: force incompatible class via raw type to trigger ClassCastException assertThrows(ClassCastException.class, () -> session.unwrap((Class) String.class)); } @Test @DisplayName("toString contains key identifiers") void testToString() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
awaitTimedWaiting(waiter); service.shutdown(); Uninterruptibles.joinUninterruptibly(waiter, 10, SECONDS); if (waiter.isAlive()) { waiter.interrupt(); fail("awaitTermination failed to trigger after shutdown()"); } } /** Wait for the given thread to reach the {@link State#TIMED_WAITING} thread state. */ @SuppressWarnings("ThreadPriorityCheck") // TODO: b/175898629 - Consider onSpinWait.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 28K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
svc = this.service; if (svc == null) { // there still is some kind of race condition, where? // this used to trigger "invalid operation..." throw new SmbException("Service is null in state " + this.connectionState.get()); } checkRequest(transport, req, svc); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileOutputStreamTest.java
// Given when(mockTreeHandle.isSMB2()).thenReturn(true); when(mockTreeHandle.getSendBufferSize()).thenReturn(65536); when(mockFileHandle.isValid()).thenReturn(false, true); // First false to trigger ensureOpen, then true when(mockFileHandle.getFileId()).thenReturn(new byte[16]); when(mockFileHandle.acquire()).thenReturn(mockFileHandle); // Mock for ensureOpen to reopen file
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0)