Search Options

Results per page
Sort
Preferred Languages
Advance

Results 331 - 340 of 928 for While (0.02 sec)

  1. android/guava/src/com/google/common/collect/CompactHashMap.java

              values[entryIndex] = value;
              accessEntry(entryIndex);
              return oldValue;
            }
            next = CompactHashing.getNext(entry, mask);
            bucketLength++;
          } while (next != UNSET);
    
          if (bucketLength >= MAX_HASH_BUCKET_LENGTH) {
            return convertToHashFloodingResistantImplementation().put(key, value);
          }
    
          if (newSize > mask) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 35.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/hash/BloomFilterTest.java

        BloomFilter<Object> bf = BloomFilter.create(HashTestUtils.BAD_FUNNEL, 10, 0.03);
        double fpp = bf.expectedFpp();
        assertThat(fpp).isEqualTo(0.0);
        // usually completed in less than 200 iterations
        while (fpp != 1.0) {
          boolean changed = bf.put(new Object());
          double newFpp = bf.expectedFpp();
          // if changed, the new fpp is strictly higher, otherwise it is the same
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 22K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/AtomicDouble.java

       *
       * @param updateFunction the update function
       * @return the previous value
       * @since 31.1
       */
      @CanIgnoreReturnValue
      public final double getAndUpdate(DoubleUnaryOperator updateFunction) {
        while (true) {
          long current = value;
          double currentVal = longBitsToDouble(current);
          double nextVal = updateFunction.applyAsDouble(currentVal);
          long next = doubleToRawLongBits(nextVal);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbEnumerationUtil.java

                    return false;
                }
                return ff.accept((SmbFile) resource);
            })) {
    
                final List<String> list = new ArrayList<>();
                while (it.hasNext()) {
                    try (SmbResource n = it.next()) {
                        list.add(n.getName());
                    }
                }
                return list.toArray(new String[list.size()]);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java

            protected void setFieldValue(String fieldName, Object value) {
                try {
                    Field field = null;
                    Class<?> clazz = this.getClass();
                    while (clazz != null && field == null) {
                        try {
                            field = clazz.getDeclaredField(fieldName);
                        } catch (NoSuchFieldException e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java

        assertEquals(1, runLatch.getCount());
      }
    
      public void testListenerCalledOnCancelFromRunning() throws Exception {
        exec.execute(task);
        runLatch.await();
    
        // Task has started up, cancel it while it's running.
        task.cancel(true);
        assertTrue(task.isDone());
        assertTrue(task.isCancelled());
        assertEquals(1, taskLatch.getCount());
    
        // Wait for the listeners to be called.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/dcerpc/DcerpcBinding.java

            StringBuilder ret = new StringBuilder().append(proto).append(":").append(server).append("[").append(endpoint);
            if (options != null) {
                final Iterator iter = options.keySet().iterator();
                while (iter.hasNext()) {
                    final Object key = iter.next();
                    final Object val = options.get(key);
                    ret.append(",").append(key).append("=").append(val);
                }
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  8. misc/ios/README

    that developer, and the exec wrapper will fail to install the new app. To avoid that,
    install another app with the same developer identity but with a different bundle id.
    That way, the permission to install apps is held on to while the primary app is
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Dec 29 21:49:26 UTC 2020
    - 2.7K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

        @Override
        protected SortedSet<String> create(String[] elements) {
          return ImmutableSortedSet.orderedBy(STRING_REVERSED).add(elements).build();
        }
    
        /*
         * While the current implementation returns `this`, that's not something we mean to guarantee.
         * Callers of TestContainerGenerator.order need to be prepared for implementations to return a new
         * collection.
         */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  10. docs/smb3-features/04-directory-leasing-design.md

                cancelNotification(handle);
            }
        }
        
        private void startAsyncNotification(ChangeNotificationHandle handle) {
            CompletableFuture.runAsync(() -> {
                while (handle.active) {
                    try {
                        // Send SMB2 Change Notify request
                        Smb2ChangeNotifyRequest request = new Smb2ChangeNotifyRequest();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
Back to top