Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for Goff (0.16 sec)

  1. guava/src/com/google/common/collect/ImmutableRangeMap.java

              public Range<K> get(int index) {
                checkElementIndex(index, len);
                if (index == 0 || index == len - 1) {
                  return ranges.get(index + off).intersection(range);
                } else {
                  return ranges.get(index + off);
                }
              }
    
              @Override
              boolean isPartialView() {
                return true;
              }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/Hashing.java

       *       buckets will be removed first. More concretely, if you are dividing traffic among tasks,
       *       you can decrease the number of tasks from 15 and 10, killing off the final 5 tasks, and
       *       {@code consistentHash} will handle it. If, however, you are dividing traffic among
       *       servers {@code alpha}, {@code bravo}, and {@code charlie} and you occasionally need to
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 09 00:37:15 GMT 2024
    - 29.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Throwables.java

       *     directly, or use a combination of {@link #throwIfUnchecked} and {@code throw new
       *     RuntimeException(e)}. But consider whether users would be better off if your API threw a
       *     different type of exception. For background on the deprecation, read <a
       *     href="https://goo.gl/Ivn2kc">Why we deprecated {@code Throwables.propagate}</a>.
       */
      @CanIgnoreReturnValue
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Throwables.java

       *     directly, or use a combination of {@link #throwIfUnchecked} and {@code throw new
       *     RuntimeException(e)}. But consider whether users would be better off if your API threw a
       *     different type of exception. For background on the deprecation, read <a
       *     href="https://goo.gl/Ivn2kc">Why we deprecated {@code Throwables.propagate}</a>.
       */
      @CanIgnoreReturnValue
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/BaseEncoding.java

              checkPositionIndexes(off, off + len, buf.length);
    
              int i = off;
              for (; i < off + len; i++) {
                int b = read();
                if (b == -1) {
                  int read = i - off;
                  return read == 0 ? -1 : read;
                }
                buf[i] = (byte) b;
              }
              return i - off;
            }
    
            @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Mar 15 16:33:32 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableRangeMap.java

              public Range<K> get(int index) {
                checkElementIndex(index, len);
                if (index == 0 || index == len - 1) {
                  return ranges.get(index + off).intersection(range);
                } else {
                  return ranges.get(index + off);
                }
              }
    
              @Override
              boolean isPartialView() {
                return true;
              }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

      //   have observed 12 micros on 64-bit linux systems to wake up a parked thread). So if the
      //   timeout is small we shouldn't park(). This needs to be traded off with the cpu overhead of
      //   spinning, so we use SPIN_THRESHOLD_NANOS which is what AbstractQueuedSynchronizer uses for
      //   similar purposes.
      // * We want to behave reasonably for timeouts of 0
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  8. guava/src/com/google/common/cache/CacheBuilder.java

       * has elapsed after the entry's creation, or the most recent replacement of its value.
       *
       * <p>When {@code duration} is zero, this method hands off to {@link #maximumSize(long)
       * maximumSize}{@code (0)}, ignoring any otherwise-specified maximum size or weight. This can be
       * useful in testing, or to disable caching temporarily without a code change.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
  9. android/pom.xml

                         and I gave up trying to figure out how to do that for test
                         compilation only. -->
                    <arg>-Xplugin:ErrorProne -Xep:NullArgumentForNonNullParameter:OFF -Xep:Java8ApiChecker:ERROR</arg>
                    <!-- https://github.com/google/error-prone/blob/f8e33bc460be82ab22256a7ef8b979d7a2cacaba/docs/installation.md#jdk-16 -->
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Mar 12 20:26:18 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/IterablesTest.java

        Iterator<Integer> consumingIterator = Iterables.consumingIterable(queue).iterator();
        /*
         * Make sure that we can get an element off without calling
         * UnIterableQueue.iterator().
         */
        assertEquals(5, consumingIterator.next().intValue());
      }
    
      private static class UnIterableQueue<T> extends ForwardingQueue<T> {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 46K bytes
    - Viewed (0)
Back to top