Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for elseif (0.19 sec)

  1. guava-tests/benchmark/com/google/common/base/CharMatcherBenchmark.java

              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];
            } else {
              lv = cv;
              l = 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)
  2. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

                  @Override
                  public ListenableFuture<Integer> apply(Throwable t) throws Exception {
                    if (!wrapInFuture) {
                      throw expectedException;
                    } else {
                      return immediateFailedFuture(expectedException);
                    }
                  }
                });
    
    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)
  3. guava/src/com/google/common/cache/LocalCache.java

                if (valueReference.isLoading()) {
                  createNewEntry = false;
                } else {
                  V value = valueReference.get();
                  if (value == null) {
                    enqueueNotification(
                        entryKey, hash, value, valueReference.getWeight(), RemovalCause.COLLECTED);
                  } else if (map.isExpired(e, now)) {
    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/test/com/google/common/util/concurrent/FuturesTest.java

                  @Override
                  public ListenableFuture<Integer> apply(Throwable t) throws Exception {
                    if (!wrapInFuture) {
                      throw expectedException;
                    } else {
                      return immediateFailedFuture(expectedException);
                    }
                  }
                });
    
    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)
  5. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        map.entrySet()
            .removeIf(
                entry -> {
                  if (entry.getValue().equals(1)) {
                    map.put(entry.getKey(), 2);
                    return true;
                  } else {
                    return false;
                  }
                });
        assertEquals(3, map.size());
        assertFalse(map.containsValue(1));
      }
    
      public void testRemoveIfWithConcurrentRemoval() {
    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)
  6. android/guava/src/com/google/common/cache/LocalCache.java

                if (valueReference.isLoading()) {
                  createNewEntry = false;
                } else {
                  V value = valueReference.get();
                  if (value == null) {
                    enqueueNotification(
                        entryKey, hash, value, valueReference.getWeight(), RemovalCause.COLLECTED);
                  } else if (map.isExpired(e, now)) {
    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)
  7. android/guava/src/com/google/common/collect/Maps.java

            if (valueEquivalence.equivalent(leftValue, rightValue)) {
              onBoth.put(leftKey, leftValue);
            } else {
              differences.put(leftKey, ValueDifferenceImpl.create(leftValue, rightValue));
            }
          } else {
            onlyOnLeft.put(leftKey, leftValue);
          }
        }
      }
    
    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)
  8. android/guava-tests/benchmark/com/google/common/base/CharMatcherBenchmark.java

              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];
            } else {
              lv = cv;
              l = c;
    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)
  9. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

     * complete, some objects captured during the computation are closed.
     *
     * <p>A pipeline of {@code ClosingFuture}s is a tree of steps. Each step represents either an
     * asynchronously-computed intermediate value, or else an exception that indicates the failure or
     * cancellation of the operation so far. The only way to extract the value or exception from a step
     * is by declaring that step to be the last step of the pipeline. Nevertheless, we refer to the
    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)
  10. src/main/java/jcifs/smb1/smb1/SmbFile.java

                    i--;
                }
                return canon.substring( i + 1 );
            } else if( share != null ) {
                return share + '/';
            } else if( url.getHost().length() > 0 ) {
                return url.getHost() + '/';
            } else {
                return "smb1://";
            }
        }
    
    /**
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
Back to top