Search Options

Results per page
Sort
Preferred Languages
Advance

Results 921 - 930 of 1,102 for afterFn (0.05 sec)

  1. android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java

        }
        assertEquals(10, CacheTesting.expirationQueueSize(cache));
        assertEquals(10, removalListener.getCount()); // these are the invalidated ones
    
        // old timeouts must expire after this wait
        ticker.advance(ttl * 2 / 3, MILLISECONDS);
    
        assertEquals(10, CacheTesting.expirationQueueSize(cache));
        assertEquals(10, removalListener.getCount());
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/lease/LeaseManager.java

                return newKey;
            } finally {
                lock.writeLock().unlock();
            }
        }
    
        /**
         * Update lease state after receiving response
         *
         * @param key lease key
         * @param grantedState granted lease state
         */
        public void updateLease(Smb2LeaseKey key, int grantedState) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java

                    // Simulate header reading
                    return 33;
                }
            };
            byte[] buffer = new byte[1024];
    
            // Setup buffer after header
            buffer[33] = 4; // wordCount
            buffer[34] = (byte) 0xFF; // andxCommand
            buffer[36] = 0; // andxOffset low
            buffer[37] = 0; // andxOffset high
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

            c.add(e);
            ++n;
          }
          return n;
        } finally {
          monitor.leave();
        }
      }
    
      /**
       * Atomically removes all of the elements from this queue. The queue will be empty after this call
       * returns.
       */
      @Override
      public void clear() {
        Monitor monitor = this.monitor;
        monitor.enter();
        try {
          q.clear();
        } finally {
          monitor.leave();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/math/QuantilesTest.java

              .that(percentiles().index(index).computeInPlace(dataset))
              .isWithin(ALLOWED_ERROR)
              .of(expectedLargeDatasetPercentile(index));
        }
    
        // Assert that the dataset contains the same elements after the in-place computation (although
        // they may be reordered). We only do this for one index rather than for all indexes, as it is
        // quite expensive (quadratic in the size of PSEUDORANDOM_DATASET).
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/math/QuantilesTest.java

              .that(percentiles().index(index).computeInPlace(dataset))
              .isWithin(ALLOWED_ERROR)
              .of(expectedLargeDatasetPercentile(index));
        }
    
        // Assert that the dataset contains the same elements after the in-place computation (although
        // they may be reordered). We only do this for one index rather than for all indexes, as it is
        // quite expensive (quadratic in the size of PSEUDORANDOM_DATASET).
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/reflect/Types.java

        for (Type bound : bounds) {
          Type componentType = getComponentType(bound);
          if (componentType != null) {
            // Only the first bound can be a class or array.
            // Bounds after the first can only be interfaces.
            if (componentType instanceof Class) {
              Class<?> componentClass = (Class<?>) componentType;
              if (componentClass.isPrimitive()) {
                return componentClass;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/util/DES.java

                        | (inBytes[inOff + i * 4 + 2] & 0xff) << 8 | inBytes[inOff + i * 4 + 3] & 0xff;
            }
        }
    
        /// Spread ints into bytes.
        /**
         * Converts integers to bytes after internal DES processing
         * @param inInts the input integer array
         * @param inOff the offset into the input array
         * @param outBytes the output byte array
         * @param outOff the offset into the output array
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  9. cmd/bucket-metadata-sys.go

    	}
    	return sys.updateAndParse(ctx, bucket, configFile, nil, false)
    }
    
    // Update update bucket metadata for the specified bucket.
    // The configData data should not be modified after being sent here.
    func (sys *BucketMetadataSys) Update(ctx context.Context, bucket string, configFile string, configData []byte) (updatedAt time.Time, err error) {
    	return sys.updateAndParse(ctx, bucket, configFile, configData, true)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  10. cmd/bucket-targets.go

    	cancel()
    	if result.Error != nil {
    		return RemoteTargetConnectionErr{Bucket: tgt.TargetBucket, Err: result.Error, AccessKey: tgt.Credentials.AccessKey}
    	}
    	if !result.Online {
    		err := errors.New("Health check timed out after 3 seconds")
    		return RemoteTargetConnectionErr{Err: err}
    	}
    
    	sys.Lock()
    	defer sys.Unlock()
    
    	tgts := sys.targetsMap[bucket]
    	newtgts := make([]madmin.BucketTarget, len(tgts))
    	found := false
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 20.9K bytes
    - Viewed (0)
Back to top