Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for resync (0.26 sec)

  1. android/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       */
      abstract double coolDownIntervalMicros();
    
      /** Updates {@code storedPermits} and {@code nextFreeTicketMicros} based on the current time. */
      void resync(long nowMicros) {
        // if nextFreeTicket is in the past, resync to now
        if (nowMicros > nextFreeTicketMicros) {
          double newPermits = (nowMicros - nextFreeTicketMicros) / coolDownIntervalMicros();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 19.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbTransportImpl.java

                }
    
                /* out of phase maybe? */
                /* inch forward 1 byte and try again */
                for ( int i = 0; i < 35; i++ ) {
                    log.warn("Possibly out of phase, trying to resync " + Hexdump.toHexString(this.sbuf, 0, 16));
                    this.sbuf[ i ] = this.sbuf[ i + 1 ];
                }
                int b;
                if ( ( b = this.in.read() ) == -1 )
                    return null;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Wed Jan 18 23:47:00 GMT 2023
    - 67K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/Smb2CancelRequest.java

            super(config, SMB2_CANCEL);
            setMid(mid);
            setAsyncId(asyncId);
            if ( asyncId != 0 ) {
                addFlags(SMB2_FLAGS_ASYNC_COMMAND);
            }
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.util.transport.Request#getCreditCost()
         */
        @Override
        public int getCreditCost () {
            return 1;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/ReaderInputStream.java

     * which is necessarily blocking. By implementing an {@code InputStream} it allows consumers to
     * "pull" as much data as they can handle, which is more convenient when dealing with flow
     * controlled, async APIs.
     *
     * @author Chris Nokleberg
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    final class ReaderInputStream extends InputStream {
      private final Reader reader;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 9.3K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/ResolutionScope.java

     *
     * Important note: The {@code id} values of this enum correspond to constants of
     * {@code org.apache.maven.artifact.Artifact} class and MUST BE KEPT IN SYNC.
     *
     * @since 4.0.0
     */
    @Experimental
    public enum ResolutionScope {
        /**
         * <code>compile</code> resolution scope
    Java
    - Registered: Sun Feb 04 03:35:10 GMT 2024
    - Last Modified: Fri Dec 08 08:42:44 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableBiMap.java

       * as implementation details.
       *
       * <p>Since the bimap is immutable, ImmutableBiMap doesn't require special logic for keeping the
       * bimap and its inverse in sync during serialization, the way AbstractBiMap does.
       */
      @J2ktIncompatible // serialization
      private static class SerializedForm<K, V> extends ImmutableMap.SerializedForm<K, V> {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

        waitUntilClosed(closingFuture);
        assertStillOpen(closeable1);
        assertClosed(closeable2, closeable3);
      }
    
      // We don't need to test the happy case for SuccessfulCombiner.call(Async) because it's the same
      // as Combiner.
    
      public void testWhenAllSucceed_call_failedInput() throws Exception {
        assertFinallyFailsWithException(
            ClosingFuture.whenAllSucceed(
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java

        String LDAP_ADMIN_GROUP_OBJECT_CLASSES = "ldap.admin.group.object.classes";
    
        /** The key of the configuration. e.g. true */
        String LDAP_ADMIN_SYNC_PASSWORD = "ldap.admin.sync.password";
    
        /** The key of the configuration. e.g. true */
        String LDAP_AUTH_VALIDATION = "ldap.auth.validation";
    
        /** The key of the configuration. e.g. -1 */
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Apr 11 02:34:53 GMT 2024
    - 459.2K bytes
    - Viewed (4)
  9. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        callableBlocking.countDown();
        // Need to wait for resultFuture to be returned.
        assertTrue(executor.awaitTermination(10, SECONDS));
        // But once the async function has returned a future we can include that in the toString
        assertThat(futureResult.toString())
            .matches(
                "CombinedFuture@\\w+\\[status=PENDING,"
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java

        async.setFuture(inner);
        async.cancel(false);
        assertTrue(inner.isCancelled());
        assertFalse(inner.wasInterrupted());
        assertThrows(CancellationException.class, () -> inner.get());
      }
    
      public void testCancel_beforeSet() throws Exception {
        SettableFuture<Object> async = SettableFuture.create();
        async.cancel(true);
        assertFalse(async.set(42));
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.3K bytes
    - Viewed (1)
Back to top