Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 54 for initVal (0.03 sec)

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

         * shouldn't)
         *
         * Our solution is for threads to CAS seenExceptionsField from null to a Set populated with _the
         * initial exception_, no matter which thread does the work. This ensures that
         * seenExceptionsField always contains not just the current thread's exception but also the
         * initial thread's.
         */
        Set<Throwable> seenExceptionsLocal = seenExceptionsField;
        if (seenExceptionsLocal == null) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/MapMaker.java

       *
       * @throws IllegalArgumentException if {@code initialCapacity} is negative
       * @throws IllegalStateException if an initial capacity was already set
       */
      @CanIgnoreReturnValue
      public MapMaker initialCapacity(int initialCapacity) {
        checkState(
            this.initialCapacity == UNSET_INT,
            "initial capacity was already set to %s",
            this.initialCapacity);
        checkArgument(initialCapacity >= 0);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackTest.java

                    return execTime.get();
                }
    
                @Override
                public void commit() {
                    // No-op for test
                }
            };
    
            // Test initial state
            assertEquals(0L, callback.getDocumentSize());
            assertEquals(0L, callback.getExecuteTime());
    
            // Test store method
            DataStoreParams params = new DataStoreParams();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/mylasta/direction/FessConfigImplTest.java

        public void test_get_cacheAfterSystemPropertyChange() {
            String testKey = "cache.test";
            String initialValue = "initial";
            System.setProperty(Constants.FESS_CONFIG_PREFIX + testKey, initialValue);
    
            try {
                // Get initial value
                String value1 = fessConfig.get(testKey);
                assertEquals(initialValue, value1);
    
                // Change system property
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/HashMultiset.java

     * @author Jared Levy
     * @since 2.0
     */
    @GwtCompatible
    public final class HashMultiset<E extends @Nullable Object> extends AbstractMapBasedMultiset<E> {
    
      /** Creates a new, empty {@code HashMultiset} using the default initial capacity. */
      public static <E extends @Nullable Object> HashMultiset<E> create() {
        return new HashMultiset<>();
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        RateLimiter r = RateLimiter.create(1);
        assertTrue("Unable to acquire initial permit", r.tryAcquire());
        assertFalse("Capable of acquiring secondary permit", r.tryAcquire());
      }
    
      public void testDoubleMinValueCanAcquireExactlyOnce() {
        RateLimiter r = RateLimiter.create(Double.MIN_VALUE, stopwatch);
        assertTrue("Unable to acquire initial permit", r.tryAcquire());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        RateLimiter r = RateLimiter.create(1);
        assertTrue("Unable to acquire initial permit", r.tryAcquire());
        assertFalse("Capable of acquiring secondary permit", r.tryAcquire());
      }
    
      public void testDoubleMinValueCanAcquireExactlyOnce() {
        RateLimiter r = RateLimiter.create(Double.MIN_VALUE, stopwatch);
        assertTrue("Unable to acquire initial permit", r.tryAcquire());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/dict/DictionaryItemTest.java

            }
        }
    
        public void test_idModification() {
            // Test modifying ID value multiple times
            TestDictionaryItem item = new TestDictionaryItem();
    
            // Initial value
            assertEquals(0L, item.getId());
    
            // First modification
            item.id = 50L;
            assertEquals(50L, item.getId());
    
            // Second modification
            item.id = 100L;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

      }
    
      /** Tests a failure caused by fix to childless uncle issue. */
      public void testIteratorRegressionChildlessUncle() {
        ArrayList<Integer> initial = Lists.newArrayList(1, 15, 13, 8, 9, 10, 11, 14);
        MinMaxPriorityQueue<Integer> q = MinMaxPriorityQueue.create(initial);
        assertIntact(q);
        q.remove(9);
        q.remove(11);
        q.remove(10);
        // Now we're in the critical state: [1, 15, 13, 8, 14]
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ObjectCountLinkedHashMap.java

      static <K extends @Nullable Object> ObjectCountLinkedHashMap<K> create() {
        return new ObjectCountLinkedHashMap<K>();
      }
    
      /**
       * Creates a {@code ObjectCountLinkedHashMap} instance, with a high enough "initial capacity" that
       * it <i>should</i> hold {@code expectedSize} elements without growth.
       *
       * @param expectedSize the number of elements you expect to add to the returned set
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 5.9K bytes
    - Viewed (0)
Back to top