Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 592 for Souther (0.2 sec)

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

      }
    
      /**
       * Adds {@code delta} to the value currently associated with {@code key}, and returns the new
       * value.
       */
      @CanIgnoreReturnValue
      public long addAndGet(K key, long delta) {
        outer:
        while (true) {
          AtomicLong atomic = map.get(key);
          if (atomic == null) {
            atomic = map.putIfAbsent(key, new AtomicLong(delta));
            if (atomic == null) {
              return delta;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/Shorts.java

        checkNotNull(target, "target");
        if (target.length == 0) {
          return 0;
        }
    
        outer:
        for (int i = 0; i < array.length - target.length + 1; i++) {
          for (int j = 0; j < target.length; j++) {
            if (array[i + j] != target[j]) {
              continue outer;
            }
          }
          return i;
        }
        return -1;
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 25.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/Longs.java

        checkNotNull(target, "target");
        if (target.length == 0) {
          return 0;
        }
    
        outer:
        for (int i = 0; i < array.length - target.length + 1; i++) {
          for (int j = 0; j < target.length; j++) {
            if (array[i + j] != target[j]) {
              continue outer;
            }
          }
          return i;
        }
        return -1;
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 28.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Range.java

       */
      public Range<C> span(Range<C> other) {
        int lowerCmp = lowerBound.compareTo(other.lowerBound);
        int upperCmp = upperBound.compareTo(other.upperBound);
        if (lowerCmp <= 0 && upperCmp >= 0) {
          return this;
        } else if (lowerCmp >= 0 && upperCmp <= 0) {
          return other;
        } else {
          Cut<C> newLower = (lowerCmp <= 0) ? lowerBound : other.lowerBound;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 27.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/SynchronizedNavigableSetTest.java

      protected <E> NavigableSet<E> create() {
        TestSet<E> inner =
            new TestSet<>(new TreeSet<E>((Comparator<E>) Ordering.natural().nullsFirst()), null);
        NavigableSet<E> outer = Synchronized.navigableSet(inner, null);
        inner.mutex = outer;
        return outer;
      }
    
      static class TestSet<E> extends SynchronizedSetTest.TestSet<E> implements NavigableSet<E> {
    
        TestSet(NavigableSet<E> delegate, @Nullable Object mutex) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 7.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/FuturesGetUncheckedTest.java

    import static com.google.common.util.concurrent.FuturesGetCheckedInputs.FAILED_FUTURE_OTHER_THROWABLE;
    import static com.google.common.util.concurrent.FuturesGetCheckedInputs.FAILED_FUTURE_UNCHECKED_EXCEPTION;
    import static com.google.common.util.concurrent.FuturesGetCheckedInputs.OTHER_THROWABLE;
    import static com.google.common.util.concurrent.FuturesGetCheckedInputs.RUNTIME_EXCEPTION;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/graph/AbstractValueGraph.java

          return true;
        }
        if (!(obj instanceof ValueGraph)) {
          return false;
        }
        ValueGraph<?, ?> other = (ValueGraph<?, ?>) obj;
    
        return isDirected() == other.isDirected()
            && nodes().equals(other.nodes())
            && edgeValueMap(this).equals(edgeValueMap(other));
      }
    
      @Override
      public final int hashCode() {
        return edgeValueMap(this).hashCode();
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 17 13:59:28 GMT 2023
    - 4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/Booleans.java

        checkNotNull(target, "target");
        if (target.length == 0) {
          return 0;
        }
    
        outer:
        for (int i = 0; i < array.length - target.length + 1; i++) {
          for (int j = 0; j < target.length; j++) {
            if (array[i + j] != target[j]) {
              continue outer;
            }
          }
          return i;
        }
        return -1;
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/SipHashFunction.java

      }
    
      @Override
      public boolean equals(@CheckForNull Object object) {
        if (object instanceof SipHashFunction) {
          SipHashFunction other = (SipHashFunction) object;
          return (c == other.c) && (d == other.d) && (k0 == other.k0) && (k1 == other.k1);
        }
        return false;
      }
    
      @Override
      public int hashCode() {
        return (int) (getClass().hashCode() ^ c ^ d ^ k0 ^ k1);
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 5.3K bytes
    - Viewed (0)
  10. guava-gwt/src/com/google/common/io/Io.gwt.xml

        Java package; see https://goo.gl/pRV3Yn for details.
    
        The summary is that it ignores one file in favor of the other.
        util.concurrent, like nearly all our packages, has two .gwt.xml files: one
        for prod and one for tests. However, unlike our other packages, as of this
        writing it has test supersource but no prod supersource.
    
        GWT happens to use the prod .gwt.xml, so it looks for no supersource for
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jan 06 15:30:58 GMT 2022
    - 1.5K bytes
    - Viewed (0)
Back to top