Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 497 for succeeds (0.09 seconds)

  1. src/test/java/jcifs/context/CIFSContextCredentialWrapperTest.java

                // Verify that no renewal happened
                assertFalse(renewed, "renewCredentials should return false if no renewal mechanism succeeds");
                assertEquals(mockCredentials, wrapper.getCredentials(), "Credentials should remain unchanged if no renewal mechanism succeeds");
                // Note: Credentials interface does not have renew() method
            }
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java

        AtomicDouble at = new AtomicDouble(1.0);
        assertBitEquals(1.0, at.get());
        for (double x : VALUES) {
          at.lazySet(x);
          assertBitEquals(x, at.get());
        }
      }
    
      /** compareAndSet succeeds in changing value if equal to expected else fails */
      public void testCompareAndSet() {
        double prev = Math.E;
        double unused = Math.E + Math.PI;
        AtomicDouble at = new AtomicDouble(prev);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 10.6K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/SmbCopyUtilTest.java

            assertEquals(alsoRead, hasReadData, "FILE_READ_DATA flag presence should match alsoRead");
        }
    
        @Test
        @DisplayName("openCopyTargetFile retries after removing READONLY and succeeds")
        void openCopyTargetFile_retryOnReadonly_thenSuccess() throws Exception {
            // Arrange
            SmbFile dest = mock(SmbFile.class);
            SmbFileHandleImpl handle = mock(SmbFileHandleImpl.class);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  4. okhttp-sse/src/main/kotlin/okhttp3/sse/EventSource.kt

       */
      fun cancel()
    
      fun interface Factory {
        /**
         * Creates a new event source and immediately returns it. Creating an event source initiates an
         * asynchronous process to connect the socket. Once that succeeds or fails, `listener` will be
         * notified. The caller must cancel the returned event source when it is no longer in use.
         */
        fun newEventSource(
          request: Request,
          listener: EventSourceListener,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Oct 03 07:51:20 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  5. docs/features/connections.md

     * Don't start a new attempt until 250 ms after the most recent attempt was started.
     * Keep whichever TCP connection succeeds first and cancel all the others.
     * Race TCP only. Only attempt a TLS handshake on the winning TCP connection.
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:01:42 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java

        AtomicDouble at = new AtomicDouble(1.0);
        assertBitEquals(1.0, at.get());
        for (double x : VALUES) {
          at.lazySet(x);
          assertBitEquals(x, at.get());
        }
      }
    
      /** compareAndSet succeeds in changing value if equal to expected else fails */
      public void testCompareAndSet() {
        double prev = Math.E;
        double unused = Math.E + Math.PI;
        AtomicDouble at = new AtomicDouble(prev);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/opensearch/client/SearchEngineClientRebuildTest.java

            testClient.deleteIndexResult = true;
            testClient.documentCount = 10;
            testClient.aliasCount = 2;
            // First createIndex (backup) succeeds, second (new) fails
            testClient.createIndexFailOnNth = 2;
    
            final boolean result = testClient.reindexConfigIndices(false, allTargetPrefixes());
    
            assertFalse(result);
            // Backup should be cleaned up
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 28.6K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/LinkedHashMultimap.java

          } else {
            succ.predecessorInMultimap = pred;
          }
        }
    
        void delete(ValueEntry<K, V> entry) {
          succeeds(entry.predecessorInMultimap, entry.successorInMultimap);
        }
    
        void append(ValueEntry<K, V> newEntry) {
          succeeds(lastEntry, newEntry);
          lastEntry = newEntry;
        }
      }
    
      @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 1;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 19.2K bytes
    - Click Count (0)
  9. src/test/java/jcifs/tests/persistent/HandleReconnectorTest.java

        }
    
        @Test
        public void testReconnectHandleSuccess() throws Exception {
            when(mockManager.getHandleForReconnect("/test/file.txt")).thenReturn(testHandle);
    
            // Create a test reconnector that succeeds
            TestHandleReconnector testReconnector = new TestHandleReconnector(mockManager, true);
    
            CompletableFuture<HandleInfo> future = testReconnector.reconnectHandle("/test/file.txt", new IOException("Network error"));
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/LinkedHashMultimap.java

          } else {
            succ.predecessorInMultimap = pred;
          }
        }
    
        void delete(ValueEntry<K, V> entry) {
          succeeds(entry.predecessorInMultimap, entry.successorInMultimap);
        }
    
        void append(ValueEntry<K, V> newEntry) {
          succeeds(lastEntry, newEntry);
          lastEntry = newEntry;
        }
      }
    
      @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 1;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 20K bytes
    - Click Count (0)
Back to Top