- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 39 for idempotent (0.07 seconds)
-
android/guava/src/com/google/common/util/concurrent/ExecutionList.java
* note that the execution order of all listeners is ultimately chosen by the implementations of * the supplied executors. * * <p>This method is idempotent. Calling it several times in parallel is semantically equivalent * to calling it exactly once. * * @since 10.0 (present in 1.0 as {@code run}) */ public void execute() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Feb 10 11:51:21 GMT 2026 - 6.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/NetServerEnumIteratorTest.java
assertEquals("remove", exception.getMessage()); } @Test @DisplayName("Close should be idempotent") void testClose_Idempotent() throws Exception { // Given: A valid iterator setup when(locator.getType()).thenReturn(SmbConstants.TYPE_WORKGROUP);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java
auth.close(); // idempotent // All operations should throw IllegalStateException assertThrows(IllegalStateException.class, () -> auth.getPassword()); assertThrows(IllegalStateException.class, () -> auth.getPasswordAsCharArray()); } /** * Test multiple close() calls (idempotency) */ @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 23.3K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleJavadocsPlugin.java
// The file collection may be resolved several times, e.g. for fingerprinting and for actual javadoc invocation. // The method should be idempotent, so we record all package-info.java files we ever allowed and allow them afterward. return true; } String packageName = getPackageName(file);Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Sun Mar 01 05:52:34 GMT 2026 - 11.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/Range.java
* * <p>The intersection exists if and only if the two ranges are {@linkplain #isConnected * connected}. * * <p>The intersection operation is commutative, associative and idempotent, and its identity * element is {@link Range#all}). * * @throws IllegalArgumentException if {@code isConnected(connectedRange)} is {@code false} */ public Range<C> intersection(Range<C> connectedRange) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 28.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/SSPContextTest.java
assertThrows(CIFSException.class, () -> ctx.verifyMIC(data, null)); } @Test @DisplayName("dispose toggles state and is not idempotent") void testDisposeBehavior() throws Exception { DummySSPContext ctx = new DummySSPContext(new byte[] { 1 }, true, null, null, 0, false); ctx.dispose();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.2K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Stopwatch.java
* stopwatch.stop(); // optional * * Duration duration = stopwatch.elapsed(); * * log.info("time: " + stopwatch); // formatted string like "12.3 ms" * } * * <p>The state-changing methods are not idempotent; it is an error to start or stop a stopwatch * that is already in the desired state. * * <p>When testing code that uses this class, use {@link #createUnstarted(Ticker)} or {@link
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Oct 08 18:55:33 GMT 2025 - 9.5K bytes - Click Count (0) -
guava/src/com/google/common/base/Stopwatch.java
* stopwatch.stop(); // optional * * Duration duration = stopwatch.elapsed(); * * log.info("time: " + stopwatch); // formatted string like "12.3 ms" * } * * <p>The state-changing methods are not idempotent; it is an error to start or stop a stopwatch * that is already in the desired state. * * <p>When testing code that uses this class, use {@link #createUnstarted(Ticker)} or {@link
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Oct 08 18:55:33 GMT 2025 - 9.2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Range.java
* * <p>The intersection exists if and only if the two ranges are {@linkplain #isConnected * connected}. * * <p>The intersection operation is commutative, associative and idempotent, and its identity * element is {@link Range#all}). * * @throws IllegalArgumentException if {@code isConnected(connectedRange)} is {@code false} */ public Range<C> intersection(Range<C> connectedRange) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 28K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt
// 408's are rare in practice, but some servers like HAProxy use this response code. The // spec says that we may repeat the request without modifications. Modern browsers also // repeat the request (even non-idempotent ones.) if (!chain.retryOnConnectionFailure) { // The application layer has directed us not to retry the request. return null }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 12.5K bytes - Click Count (0)