- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 2,302 for less (0.05 sec)
-
guava/src/com/google/common/util/concurrent/SettableFuture.java
* task cannot be implemented with {@link ListeningExecutorService}, the various {@link Futures} * utility methods, or {@link ListenableFutureTask}. Those APIs have less opportunity for developer * error. If your needs are more complex than {@code SettableFuture} supports, use {@link * AbstractFuture}, which offers an extensible version of the API. * * @author Sven Mawson
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 01 17:18:04 UTC 2021 - 2.4K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Chars.java
* @return the {@code char} value that equals {@code value} * @throws IllegalArgumentException if {@code value} is greater than {@link Character#MAX_VALUE} * or less than {@link Character#MIN_VALUE} */ public static char checkedCast(long value) { char result = (char) value; checkArgument(result == value, "Out of range: %s", value); return result; } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Aug 27 16:47:48 UTC 2024 - 23.9K bytes - Viewed (0) -
cmd/storage-errors.go
var errCrossDeviceLink = StorageErr("Rename across devices not allowed, please fix your backend configuration") // errLessData - returned when less data available than what was requested. var errLessData = StorageErr("less data available than what was requested") // errMoreData = returned when more data was sent by the caller than what it was supposed to.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Apr 04 12:04:40 UTC 2024 - 6.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/PreconditionsTest.java
IndexOutOfBoundsException expected = assertThrows(IndexOutOfBoundsException.class, () -> checkElementIndex(1, 1)); assertThat(expected).hasMessageThat().isEqualTo("index (1) must be less than size (1)"); } public void testCheckElementIndex_withDesc_negative() { IndexOutOfBoundsException expected = assertThrows(IndexOutOfBoundsException.class, () -> checkElementIndex(-1, 1, "foo"));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 19K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/QuantilesAlgorithmTest.java
import java.util.Map; import java.util.Random; import java.util.Set; import junit.framework.TestCase; /** * Tests that the different algorithms benchmarked in {@link QuantilesBenchmark} are actually all * returning more-or-less the same answers. */ public class QuantilesAlgorithmTest extends TestCase { private static final Random RNG = new Random(82674067L); private static final int DATASET_SIZE = 1000;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.4K bytes - Viewed (0) -
common-protos/k8s.io/api/imagepolicy/v1alpha1/generated.proto
// +optional optional string reason = 2; // AuditAnnotations will be added to the attributes object of the // admission controller request using 'AddAnnotation'. The keys should // be prefix-less (i.e., the admission controller will add an // appropriate prefix). // +optional map<string, string> auditAnnotations = 3;
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 3.2K bytes - Viewed (0) -
internal/lock/lock_windows.go
// minus 12)." Since MAX_PATH is 260, 260 - 12 = 248. // // The MSDN docs appear to say that a normal path that is 248 bytes long // will work; empirically the path must be less then 248 bytes long. if len(path) < 248 { // Don't fix. (This is how Go 1.7 and earlier worked, // not automatically generating the \\?\ form) return path } // The extended form begins with \\?\, as in
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Oct 18 18:08:15 UTC 2023 - 7.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/CompactHashing.java
* minimum hashtable size, whichever is greater. */ static int tableSize(int expectedSize) { // We use entries next == 0 to indicate UNSET, so actual capacity is 1 less than requested. return max(MIN_HASH_TABLE_SIZE, Hashing.closedTableSize(expectedSize + 1, 1.0)); } /** Creates and returns a properly-sized array with the given number of buckets. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 15:34:52 UTC 2024 - 7.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/QuantilesAlgorithmTest.java
import java.util.Map; import java.util.Random; import java.util.Set; import junit.framework.TestCase; /** * Tests that the different algorithms benchmarked in {@link QuantilesBenchmark} are actually all * returning more-or-less the same answers. */ public class QuantilesAlgorithmTest extends TestCase { private static final Random RNG = new Random(82674067L); private static final int DATASET_SIZE = 1000;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.4K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/StripedBenchmark.java
stripes[i] = i; } List<Integer> asList = Ints.asList(stripes); Collections.shuffle(asList, new Random(0xdeadbeef)); // do bulk gets with exactly 10 keys (possibly <10 stripes) (or less if numStripes is smaller) bulkGetSet = ImmutableList.copyOf(limit(cycle(asList), 10)); } @Footprint Object sizeOfStriped() { return impl.get(numStripes); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4K bytes - Viewed (0)