Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 215 for returningX (0.07 sec)

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

                } else if (behavior == 1) { // return null
                  computeNullCount.incrementAndGet();
                  return null;
                } else if (behavior == 2) { // slight delay before returning
                  Thread.sleep(5);
                  computeCount.incrementAndGet();
                  return key;
                } else {
                  computeCount.incrementAndGet();
                  return key;
                }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

                } else if (behavior == 1) { // return null
                  computeNullCount.incrementAndGet();
                  return null;
                } else if (behavior == 2) { // slight delay before returning
                  Thread.sleep(5);
                  computeCount.incrementAndGet();
                  return key;
                } else {
                  computeCount.incrementAndGet();
                  return key;
                }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Preconditions.java

       * }
       *
       * refactored so that messageExpression is moved to a separate String-returning method.
       *
       * if (guardExpression) {
       *    throw new BadException(badMsg(...));
       * }
       *
       * The alternative natural refactorings into void or Exception-returning methods are much slower.
       * This is a big deal - we're talking factors of 2-8 in microbenchmarks, not just 10-20%. (This is
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 10 22:11:00 UTC 2025
    - 53K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/Monitor.java

       * satisfied, it does *not* need to call this method before returning to wait. This can only
       * happen due to spurious wakeup (ignorable) or another thread acquiring the lock before the
       * current thread can and returning the guard to the unsatisfied state. In the latter case the
       * other thread (last thread modifying the state protected by the monitor) takes over the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 42.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/ByteSource.java

        return new SlicedByteSource(offset, length);
      }
    
      /**
       * Returns whether the source has zero bytes. The default implementation first checks {@link
       * #sizeIfKnown}, returning true if it's known to be zero and false if it's known to be non-zero.
       * If the size is not known, it falls back to opening a stream and checking for EOF.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Mar 20 20:55:20 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  6. doc/godebug.md

    Using `dataindependenttiming=1` enables the DIT mode for the entire Go program.
    When enabled, DIT will be enabled when calling into C from Go. When enabled,
    calling into Go code from C will enable DIT, and disable it before returning to
    C if it was not enabled when Go code was entered.
    This currently only affects arm64 programs. For all other platforms it is a no-op.
    
    Go 1.24 removed the `x509sha1` setting.  `crypto/x509` no longer supports verifying
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Jul 08 18:30:38 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  7. cmd/metacache-set.go

    	disks         []StorageAPI
    	fallbackDisks []StorageAPI
    	bucket, path  string
    	recursive     bool
    
    	// Only return results with this prefix.
    	filterPrefix string
    
    	// Forward to this prefix before returning results.
    	forwardTo string
    
    	// Minimum number of good disks to continue.
    	// An error will be returned if this many disks returned an error.
    	minDisks       int
    	reportNotFound bool
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 30.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

          return new SortedAsMap(sortedMap().tailMap(fromKey));
        }
    
        @Nullable SortedSet<K> sortedKeySet;
    
        // returns a SortedSet, even though returning a Set would be sufficient to
        // satisfy the SortedMap.keySet() interface
        @Override
        public SortedSet<K> keySet() {
          SortedSet<K> result = sortedKeySet;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Aug 12 15:51:57 UTC 2025
    - 48.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/TreeMultiset.java

         * only under concurrent modification).
         *
         * To access these fields when you know that they are not null, call the pred() and succ()
         * methods, which perform null checks before returning the fields.
         */
        private @Nullable AvlNode<E> pred;
        private @Nullable AvlNode<E> succ;
    
        AvlNode(@ParametricNullness E elem, int elemCount) {
          checkArgument(elemCount > 0);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 33.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        assertEquals(3, stats.loadSuccessCount());
        assertEquals(0, stats.loadExceptionCount());
        assertEquals(2, stats.hitCount());
    
        key = new Object();
        assertSame(value, cache.get(key, Callables.returning(value)));
        stats = cache.stats();
        assertEquals(3, stats.missCount());
        assertEquals(4, stats.loadSuccessCount());
        assertEquals(0, stats.loadExceptionCount());
        assertEquals(2, stats.hitCount());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 85.7K bytes
    - Viewed (0)
Back to top