- Sort Score
- Result 10 results
- Languages All
Results 321 - 330 of 3,686 for once (0.48 sec)
-
guava/src/com/google/common/util/concurrent/AbstractScheduledService.java
* <p>By default this method does nothing. */ protected void shutDown() throws Exception {} /** * Returns the {@link Scheduler} object used to configure this service. This method will only be * called once. */ // TODO(cpovirk): @ForOverride protected abstract Scheduler scheduler(); /** * Returns the {@link ScheduledExecutorService} that will be used to execute the {@link #startUp},
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 27.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSet.java
* each appears first in the source iterable. This method iterates over {@code elements} only * once. * * <p><b>Performance note:</b> This method will sometimes recognize that the actual copy operation * is unnecessary; for example, {@code copyOf(copyOf(anArrayList))} should copy the data only * once. This reduces the expense of habitually making defensive copies at API boundaries.Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Nov 07 16:09:47 UTC 2025 - 35.3K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/DirectedGraphConnections.java
if (orderedNodeConnections != null) { orderedNodeConnections.remove(new NodeConnection.Succ<>((N) node)); } } /* * TODO(cpovirk): `return (V) removedValue` once our checker permits that. * * (We promoted a class of warnings into errors because sometimes they indicate real problems. * But now we need to "undo" some instance of spurious errors, as discussed inRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 17.8K bytes - Viewed (0) -
docs/en/docs/advanced/generate-clients.md
That same information from the models that is included in OpenAPI is what can be used to **generate the client code**. ### Hey API { #hey-api } Once we have a FastAPI app with the models, we can use Hey API to generate a TypeScript client. The fastest way to do that is via npx. ```sh npx @hey-api/openapi-ts -i http://localhost:8000/openapi.json -o src/client ```Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 10.1K bytes - Viewed (1) -
okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt
assertFailsWith<IllegalStateException> { client.newCall(request).execute() }.also { expected -> assertThat(expected.message).isEqualTo( "network interceptor $interceptor must call proceed() exactly once", ) } } @Test fun networkInterceptorsCannotCallProceedMultipleTimes() { server.enqueue(MockResponse()) server.enqueue(MockResponse()) val interceptor =
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 16:11:23 UTC 2025 - 28.2K bytes - Viewed (0) -
android/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(); }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 11.4K bytes - Viewed (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
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/FileEntryAdapterIteratorTest.java
lenient().when(fileEntry.getName()).thenReturn("test"); } @Test @DisplayName("Iterator without filter - simple case") void iteratorWithoutFilter() { // Setup: constructor calls advance() once when(delegate.hasNext()).thenReturn(true, false); when(delegate.next()).thenReturn(fileEntry); TestIterator iterator = new TestIterator(null); // Verify iteration
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.6K bytes - Viewed (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();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 10.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/HMACT64Test.java
@Test void testMultipleUpdates() { // Test multiple update calls HMACT64 hmac1 = new HMACT64(TEST_KEY); HMACT64 hmac2 = new HMACT64(TEST_KEY); // Update hmac1 all at once hmac1.engineUpdate(TEST_DATA, 0, TEST_DATA.length); // Update hmac2 byte by byte for (byte b : TEST_DATA) { hmac2.engineUpdate(b); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.1K bytes - Viewed (0)