Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for rulesets (0.34 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableMapNavigationTester.java

        if (entries.size() >= 1) {
          a = entries.get(0);
          if (entries.size() >= 3) {
            b = entries.get(1);
            c = entries.get(2);
          }
        }
      }
    
      /** Resets the contents of navigableMap to have entries a, c, for the navigation tests. */
      @SuppressWarnings("unchecked") // Needed to stop Eclipse whining
      private void resetWithHole() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

            b = Multisets.immutableEntry(entries.get(1), sortedMultiset.count(entries.get(1)));
            c = Multisets.immutableEntry(entries.get(2), sortedMultiset.count(entries.get(2)));
          }
        }
      }
    
      /** Resets the contents of sortedMultiset to have entries a, c, for the navigation tests. */
      // Needed to stop Eclipse whining
      private void resetWithHole() {
        List<E> container = new ArrayList<>();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 25.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/CacheEvictionTest.java

        getAll(cache, asList(46));
        CacheTesting.drainRecencyQueues(cache);
        assertThat(keySet).contains(0);
      }
    
      public void testEviction_invalidateAll() {
        // test that .invalidateAll() resets total weight state correctly
        IdentityLoader<Integer> loader = identityLoader();
        LoadingCache<Integer, Integer> cache =
            CacheBuilder.newBuilder().concurrencyLevel(1).maximumSize(10).build(loader);
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 14.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/LongAdder.java

        if (as != null) {
          int n = as.length;
          for (int i = 0; i < n; ++i) {
            Cell a = as[i];
            if (a != null) sum += a.value;
          }
        }
        return sum;
      }
    
      /**
       * Resets variables maintaining the sum to zero. This method may be a useful alternative to
       * creating a new adder, but is only effective if there are no concurrent updates. Because this
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 5.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/FileBackedOutputStream.java

       */
      public FileBackedOutputStream(int fileThreshold) {
        this(fileThreshold, false);
      }
    
      /**
       * Creates a new instance that uses the given file threshold, and optionally resets the data when
       * the {@link ByteSource} returned by {@link #asByteSource} is finalized.
       *
       * @param fileThreshold the number of bytes before the stream should switch to buffering to a file
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/cache/LongAdder.java

        if (as != null) {
          int n = as.length;
          for (int i = 0; i < n; ++i) {
            Cell a = as[i];
            if (a != null) sum += a.value;
          }
        }
        return sum;
      }
    
      /**
       * Resets variables maintaining the sum to zero. This method may be a useful alternative to
       * creating a new adder, but is only effective if there are no concurrent updates. Because this
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 5.5K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java

        // some tests assume SEVERAL == 3
        if (values.size() >= 1) {
          a = values.get(0);
          if (values.size() >= 3) {
            b = values.get(1);
            c = values.get(2);
          }
        }
      }
    
      /** Resets the contents of navigableSet to have elements a, c, for the navigation tests. */
      protected void resetWithHole() {
        super.resetContainer(getSubjectGenerator().create(a, c));
        navigableSet = (NavigableSet<E>) getSet();
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/LongAdder.java

        if (as != null) {
          int n = as.length;
          for (int i = 0; i < n; ++i) {
            Cell a = as[i];
            if (a != null) sum += a.value;
          }
        }
        return sum;
      }
    
      /**
       * Resets variables maintaining the sum to zero. This method may be a useful alternative to
       * creating a new adder, but is only effective if there are no concurrent updates. Because this
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 5.5K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/NavigableMapNavigationTester.java

        if (entries.size() >= 1) {
          a = entries.get(0);
          if (entries.size() >= 3) {
            b = entries.get(1);
            c = entries.get(2);
          }
        }
      }
    
      /** Resets the contents of navigableMap to have entries a, c, for the navigation tests. */
      @SuppressWarnings("unchecked") // Needed to stop Eclipse whining
      private void resetWithHole() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/cache/CacheEvictionTest.java

        getAll(cache, asList(46));
        CacheTesting.drainRecencyQueues(cache);
        assertThat(keySet).contains(0);
      }
    
      public void testEviction_invalidateAll() {
        // test that .invalidateAll() resets total weight state correctly
        IdentityLoader<Integer> loader = identityLoader();
        LoadingCache<Integer, Integer> cache =
            CacheBuilder.newBuilder().concurrencyLevel(1).maximumSize(10).build(loader);
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 14.9K bytes
    - Viewed (0)
Back to top