Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for if (0.19 sec)

  1. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    things, all because they WOULD not remember the simple rules
    their friends had taught them:  such as, that a red-hot poker
    will burn you if you hold it too long; and that if you cut your
    finger VERY deeply with a knife, it usually bleeds; and she had
    never forgotten that, if you drink much from a bottle marked
    `poison,' it is almost certain to disagree with you, sooner or
    later.
    
    Plain Text
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/LocalCache.java

        V value = entry.getValueReference().get();
        if (value == null) {
          return null;
        }
    
        if (isExpired(entry, now)) {
          return null;
        }
        return value;
      }
    
      // expiration
    
      /** Returns true if the entry has expired. */
      boolean isExpired(ReferenceEntry<K, V> entry, long now) {
        checkNotNull(entry);
    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)
  3. guava-tests/test/com/google/common/cache/LocalCacheTest.java

          ReferenceEntry<Object, Object> entryTwo = map.newEntry(keyTwo, hashTwo, entryOne);
          entryTwo.setValueReference(map.newValueReference(entryTwo, valueTwo, 1));
          if (map.usesAccessQueue()) {
            LocalCache.connectAccessOrder(entryOne, entryTwo);
          }
          if (map.usesWriteQueue()) {
            LocalCache.connectWriteOrder(entryOne, entryTwo);
          }
          assertConnected(map, entryOne, entryTwo);
    
    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)
  4. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

          ReferenceEntry<Object, Object> entryTwo = map.newEntry(keyTwo, hashTwo, entryOne);
          entryTwo.setValueReference(map.newValueReference(entryTwo, valueTwo, 1));
          if (map.usesAccessQueue()) {
            LocalCache.connectAccessOrder(entryOne, entryTwo);
          }
          if (map.usesWriteQueue()) {
            LocalCache.connectWriteOrder(entryOne, entryTwo);
          }
          assertConnected(map, entryOne, entryTwo);
    
    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)
  5. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

              }
            }
          }
        }
      }
    
      /**
       * Call the non-timed {@link Future#get()} in a way that allows us to abort if it's expected to
       * hang forever. More precisely, if it's expected to return, we simply call it[*], but if it's
       * expected to hang (because one of the input futures that we know makes it up isn't done yet),
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

              }
            }
          }
        }
      }
    
      /**
       * Call the non-timed {@link Future#get()} in a way that allows us to abort if it's expected to
       * hang forever. More precisely, if it's expected to return, we simply call it[*], but if it's
       * expected to hang (because one of the input futures that we know makes it up isn't done yet),
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  7. guava-tests/benchmark/com/google/common/base/CharMatcherBenchmark.java

          while (true) {
            if (needle == cv) {
              return chars[c - 1];
            } else if ((lv <= needle) && (needle < cv)) {
              return chars[l];
            } else if (needle == rv) {
              return chars[r];
            } else if (needle < cv) {
              rv = cv;
              r = c;
              c = l + (r - l) / 2;
              cv = prob[c];
            } else if (needle == cv) {
              return chars[c];
    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)
  8. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

      /**
       * Attempts to cancel execution of this step. This attempt will fail if the step has already
       * completed, has already been cancelled, or could not be cancelled for some other reason. If
       * successful, and this step has not started when {@code cancel} is called, this step should never
       * run.
       *
       * <p>If successful, causes the objects captured by this step (if already started) and its input
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 98.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/cache/LocalCache.java

        V value = entry.getValueReference().get();
        if (value == null) {
          return null;
        }
    
        if (isExpired(entry, now)) {
          return null;
        }
        return value;
      }
    
      // expiration
    
      /** Returns true if the entry has expired. */
      boolean isExpired(ReferenceEntry<K, V> entry, long now) {
        checkNotNull(entry);
    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)
  10. android/guava/src/com/google/common/collect/Maps.java

        public String toString() {
          if (areEqual()) {
            return "equal";
          }
    
          StringBuilder result = new StringBuilder("not equal");
          if (!onlyOnLeft.isEmpty()) {
            result.append(": only on left=").append(onlyOnLeft);
          }
          if (!onlyOnRight.isEmpty()) {
            result.append(": only on right=").append(onlyOnRight);
          }
          if (!differences.isEmpty()) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
Back to top