Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for runcom (0.15 sec)

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

          // access some of the elements
          Random random = new Random();
          List<ReferenceEntry<Object, Object>> reads = new ArrayList<>();
          Iterator<ReferenceEntry<Object, Object>> i = readOrder.iterator();
          while (i.hasNext()) {
            ReferenceEntry<Object, Object> entry = i.next();
            if (random.nextBoolean()) {
              map.get(entry.getKey(), loader);
              reads.add(entry);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 112.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

          // access some of the elements
          Random random = new Random();
          List<ReferenceEntry<Object, Object>> reads = new ArrayList<>();
          Iterator<ReferenceEntry<Object, Object>> i = readOrder.iterator();
          while (i.hasNext()) {
            ReferenceEntry<Object, Object> entry = i.next();
            if (random.nextBoolean()) {
              map.get(entry.getKey(), loader);
              reads.add(entry);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 110.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/LocalCache.java

        // entries. The special casing for size-based eviction is only necessary because that eviction
        // happens per segment instead of globally, so too many segments compared to the maximum size
        // will result in random eviction behavior.
        int segmentShift = 0;
        int segmentCount = 1;
        while (segmentCount < concurrencyLevel
            && (!evictsBySize() || segmentCount * 20L <= maxWeight)) {
          ++segmentShift;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  4. guava-tests/benchmark/com/google/common/base/CharMatcherBenchmark.java

          populateProb1();
          populateProb2();
          populateChars1();
          populateChars2();
        }
    
        private final Random random;
    
        public CharSamples(Random random) {
          this.random = random;
        }
    
        public int nextCodePoint() {
          int needle = random.nextInt(sum);
          int l = 0;
          int r = prob.length - 1;
          int c = prob.length / 2;
          int lv = prob[l];
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 194.8K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/base/CharMatcherBenchmark.java

          populateProb1();
          populateProb2();
          populateChars1();
          populateChars2();
        }
    
        private final Random random;
    
        public CharSamples(Random random) {
          this.random = random;
        }
    
        public int nextCodePoint() {
          int needle = random.nextInt(sum);
          int l = 0;
          int r = prob.length - 1;
          int c = prob.length / 2;
          int lv = prob[l];
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 194.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/cache/LocalCache.java

        // entries. The special casing for size-based eviction is only necessary because that eviction
        // happens per segment instead of globally, so too many segments compared to the maximum size
        // will result in random eviction behavior.
        int segmentShift = 0;
        int segmentCount = 1;
        while (segmentCount < concurrencyLevel
            && (!evictsBySize() || segmentCount * 20L <= maxWeight)) {
          ++segmentShift;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 144.7K bytes
    - Viewed (0)
Back to top