Search Options

Results per page
Sort
Preferred Languages
Advance

Results 841 - 850 of 1,060 for Each (0.02 sec)

  1. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

       * instances refer to {@code this}.
       */
      protected abstract Iterable<? extends Stimulus<E, ? super I>> getStimulusValues();
    
      /**
       * Returns a new target iterator each time it's called. This is the iterator you are trying to
       * test. This must return an Iterator that returns the expected elements passed to the constructor
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/math/BigIntegerMath.java

         * and the arithmetic mean is always higher than the geometric mean.
         *
         * b) this iteration converges to floor(sqrt(x)). In fact, the number of correct digits doubles
         * with each iteration, so this algorithm takes O(log(digits)) iterations.
         *
         * We start out with a double-precision approximation, which may be higher or lower than the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java

                assertEquals(3, SMBUtil.readInt2(buffer, 2)); // Lock count
                assertArrayEquals(testFileId, Arrays.copyOfRange(buffer, 8, 24));
    
                // Each lock is 24 bytes
                assertEquals(24 + (24 * 3), bytesWritten);
            }
    
            @Test
            @DisplayName("Should write request with no locks")
            void testWriteBytesWireFormatNoLocks() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  4. internal/lru/lru.go

    				select {
    				case <-done:
    					return
    				case <-ticker.C:
    					res.deleteExpired()
    				}
    			}
    		}(res.done)
    	}
    	return &res
    }
    
    // Purge clears the cache completely.
    // onEvict is called for each evicted key.
    func (c *LRU[K, V]) Purge() {
    	c.mu.Lock()
    	defer c.mu.Unlock()
    	for k, v := range c.items {
    		if c.onEvict != nil {
    			c.onEvict(k, v.Value)
    		}
    		delete(c.items, k)
    	}
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Apr 25 08:22:26 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  5. docs/changelogs/changelog_3x.md

        all `OkHttpClient` instances shared a common connection pool by default.
        In OkHttp 3.x, each new `OkHttpClient` gets its own private connection pool.
        Applications should avoid creating many connection pools as doing so
        prevents connection reuse. Each connection pool holds its own set of
        connections alive so applications that have many pools also risk exhausting
        memory!
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java

                long result0 = (Long) getExpiredTimeMethod.invoke(crawlingInfoHelper, 0);
    
                // Verify that results are reasonable relative to each other
                assertTrue("Result for 7 days should be greater than 1 day", result7 > result1);
                assertTrue("Result for 1 day should be greater than 0 days", result1 > result0);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

       * instances refer to {@code this}.
       */
      protected abstract Iterable<? extends Stimulus<E, ? super I>> getStimulusValues();
    
      /**
       * Returns a new target iterator each time it's called. This is the iterator you are trying to
       * test. This must return an Iterator that returns the expected elements passed to the constructor
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

          multimap.put(elements[i], i);
        }
      }
    
      /**
       * Implements {@code Multimap.put()} -- and no other methods -- for a {@code Map} by ignoring all
       * but the latest value for each key. This class exists only so that we can use {@link
       * MultimapsCollectionTest#populateMultimapForGet(Multimap, String[])} and similar methods to
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 28.7K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

     * Immutable empty instances are returned for collection types; {@code ""} for string; {@code 0} for
     * number types; reasonable default instance for other stateless types. For mutable types, a fresh
     * instance is created each time {@code get()} is called.
     *
     * @author Kevin Bourrillion
     * @author Ben Yu
     * @since 12.0
     */
    @GwtIncompatible
    @J2ktIncompatible
    @NullMarked
    public final class ArbitraryInstances {
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  10. cmd/admin-handlers.go

    	healDisks := make(map[string]struct{}, len(healing.HealDisks))
    	for _, disk := range healing.HealDisks {
    		healDisks[disk] = struct{}{}
    	}
    
    	// find all disks which belong to each respective endpoints
    	for i, disk := range storageInfo.Disks {
    		if _, ok := healDisks[disk.Endpoint]; ok {
    			storageInfo.Disks[i].Healing = true
    		}
    	}
    
    	// Marshal API response
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 99.6K bytes
    - Viewed (0)
Back to top