- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,308 for Sample (0.18 sec)
-
android/guava/src/com/google/common/collect/Interners.java
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Mar 13 14:30:51 GMT 2023 - 5.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/ThrowablesTest.java
} } }; // Expect no exception to be thrown sample.noneDeclared(); } @J2ktIncompatible @GwtIncompatible // propagateIfPossible public void testPropagateIfPossible_NoneDeclared_UncheckedThrown() { Sample sample = new Sample() { @Override public void noneDeclared() { try {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 23.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/ThrowablesTest.java
} } }; // Expect no exception to be thrown sample.noneDeclared(); } @J2ktIncompatible @GwtIncompatible // propagateIfPossible public void testPropagateIfPossible_NoneDeclared_UncheckedThrown() { Sample sample = new Sample() { @Override public void noneDeclared() { try {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 23.6K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/math/LessThanBenchmark.java
@BeforeExperiment void setUp() { Random random = new Random(randomSeed); xInts = new int[SAMPLE_SIZE]; yInts = new int[SAMPLE_SIZE]; xLongs = new long[SAMPLE_SIZE]; yLongs = new long[SAMPLE_SIZE]; constant = new int[SAMPLE_SIZE]; for (int i = 0; i < SAMPLE_SIZE; i++) { xInts[i] = random.nextInt(Integer.MAX_VALUE); yInts[i] = random.nextInt(Integer.MAX_VALUE);
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java
for (List<Integer> contents : SAMPLE_INPUTS) { for (int toRemove = 0; toRemove < 10; toRemove++) { assertEquals( contents.contains(toRemove) && EVEN.apply(toRemove), filter(createUnfiltered(contents), EVEN).remove(toRemove)); } } } public void testContains() { for (List<Integer> contents : SAMPLE_INPUTS) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 12.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/Interner.java
* original interned instance was garbage-collected. * * <p><b>Warning:</b> do not use with mutable objects. * * @throws NullPointerException if {@code sample} is null */ E intern(E sample);
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Mar 13 14:30:51 GMT 2023 - 2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/SimpleTimeLimiterTest.java
super.setUp(); service = SimpleTimeLimiter.create(executor); } public void testNewProxy_goodMethodWithEnoughTime() throws Exception { SampleImpl target = new SampleImpl(DELAY_MS); Sample proxy = service.newProxy(target, Sample.class, ENOUGH_MS, MILLISECONDS); Stopwatch stopwatch = Stopwatch.createStarted(); String result = proxy.sleepThenReturnInput("x"); assertThat(result).isEqualTo("x");
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 9.5K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/math/LessThanBenchmark.java
@BeforeExperiment void setUp() { Random random = new Random(randomSeed); xInts = new int[SAMPLE_SIZE]; yInts = new int[SAMPLE_SIZE]; xLongs = new long[SAMPLE_SIZE]; yLongs = new long[SAMPLE_SIZE]; constant = new int[SAMPLE_SIZE]; for (int i = 0; i < SAMPLE_SIZE; i++) { xInts[i] = random.nextInt(Integer.MAX_VALUE); yInts[i] = random.nextInt(Integer.MAX_VALUE);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 4K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java
@Param({"16384"}) int charCount; @Param({"MURMUR3_32", "MURMUR3_128", "SHA1"}) HashFunctionEnum hashFunctionEnum; private String[] strings; static final int SAMPLES = 0x100; static final int SAMPLE_MASK = 0xFF; /** * Compute arrays of valid unicode text, and store it in 3 forms: byte arrays, Strings, and * StringBuilders (in a CharSequence[] to make it a little harder for the JVM). */
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 5.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java
for (List<Integer> contents : SAMPLE_INPUTS) { for (int toRemove = 0; toRemove < 10; toRemove++) { assertEquals( contents.contains(toRemove) && EVEN.apply(toRemove), filter(createUnfiltered(contents), EVEN).remove(toRemove)); } } } public void testContains() { for (List<Integer> contents : SAMPLE_INPUTS) {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 12.9K bytes - Viewed (0)