- Sort Score
- Num 10 results
- Language All
Results 301 - 310 of 651 for Once (0.02 seconds)
-
guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
protected @Nullable Object handleInvocation( Object p, Method calledMethod, @Nullable Object[] args) throws Throwable { assertEquals(method, calledMethod); assertEquals(method + " invoked more than once.", 0, called.get()); for (int i = 0; i < passedArgs.length; i++) { assertEquals( "Parameter #" + i + " of " + method + " not forwarded", passedArgs[i], args[i]); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 9.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/JdkFutureAdaptersTest.java
@Override public void run() { assertTrue("Listener called before it was expected", expectCall); assertFalse("Listener called more than once", wasCalled()); calledCountDown.countDown(); } void expectCall() { assertFalse("expectCall is already true", expectCall); expectCall = true; } boolean wasCalled() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 10K bytes - Click Count (0) -
guava/src/com/google/common/collect/AbstractMapBasedMultiset.java
/* * Cache the size for efficiency. Using a long lets us avoid the need for * overflow checking and ensures that size() will function correctly even if * the multiset had once been larger than Integer.MAX_VALUE. */ private transient long size; /** Standard constructor. */ protected AbstractMapBasedMultiset(Map<E, Count> backingMap) { checkArgument(backingMap.isEmpty());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 10.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java
// Run those tasks together. fakePool.runAll(); // Check that the interruption of a SequentialExecutor's task is restored to the thread once // it is yielded. Clear the bit while checking so that the test doesn't hose JUnit or some other // test case. assertThat(Thread.interrupted()).isTrue(); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 10.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbPipeHandleImplTest.java
assertSame(tree, t1); assertSame(tree, t2); } // Assert: pipe.ensureTreeConnected invoked once, acquire twice verify(pipe, times(1)).ensureTreeConnected(); verify(tree, times(2)).acquire(); } @Test @DisplayName("isOpen and isStale reflect underlying handle validity")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.7K bytes - Click Count (0) -
docs/lambda/README.md
MinIO's Object Lambda, enables application developers to process data retrieved from MinIO before returning it to an application. You can register a Lambda Function target on MinIO, once successfully registered it can be used to transform the data for application GET requests on demand.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Aug 12 18:20:36 GMT 2025 - 7.7K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ListenerCallQueue.java
import java.util.Queue; import java.util.concurrent.Executor; import java.util.logging.Level; /** * A list of listeners for implementing a concurrency friendly observable object. * * <p>Listeners are registered once via {@link #addListener} and then may be invoked by {@linkplain * #enqueue enqueueing} and then {@linkplain #dispatch dispatching} events. * * <p>The API of this class is designed to make it easy to achieve the following propertiesCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 8.1K bytes - Click Count (0) -
src/test/java/jcifs/SmbTreeTest.java
assertEquals(customTree, typedResult, "Should maintain type safety"); } /** * Test for close() idempotency. * Verifies that calling close multiple times has the same effect as calling it once. */ @Test void testClose_idempotency() { // Mock a tree that tracks close state SmbTree idempotentTree = mock(SmbTree.class); doNothing().when(idempotentTree).close();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java
this.provider = Crypto.getProvider(); break; default: throw new IllegalArgumentException("Unknown dialect"); } // Initialize the digest once to validate configuration this.digest = createMacInstance(); } /** * Create a new Mac instance for thread-safe operations * @return initialized Mac instance
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 9.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/PreauthIntegrityTest.java
fail("Thread failed: " + e.getMessage()); } finally { doneLatch.countDown(); } }); } // Start all threads at once startLatch.countDown(); // Wait for completion assertTrue(doneLatch.await(5, TimeUnit.SECONDS), "Threads did not complete in time"); executor.shutdown();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 10.5K bytes - Click Count (0)