- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 126 for ample (0.01 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/SampleElements.java
import java.util.Iterator; import java.util.List; import java.util.Map.Entry; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * A container class for the five sample elements we need for testing. * * @author Kevin Bourrillion */ @GwtCompatible @NullMarked public class SampleElements<E extends @Nullable Object> implements Iterable<E> {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 4.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java
import java.util.ArrayList; import java.util.List; import java.util.Set; import org.jspecify.annotations.NullUnmarked; import org.jspecify.annotations.Nullable; /** * Package up sample data for common collections benchmarking. * * @author Nicholaus Shupe */ @NullUnmarked class CollectionBenchmarkSampleData { private final boolean isUserTypeFast; private final SpecialRandom random;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 4.2K bytes - Viewed (0) -
samples/crawler/src/main/java/okhttp3/sample/Crawler.java
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.sample; import java.io.File; import java.io.IOException; import java.util.Collections; import java.util.LinkedHashSet; import java.util.Set; import java.util.concurrent.BlockingQueue;
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jul 23 00:58:06 UTC 2025 - 5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java
import java.util.ArrayList; import java.util.List; import java.util.Set; import org.jspecify.annotations.NullUnmarked; import org.jspecify.annotations.Nullable; /** * Package up sample data for common collections benchmarking. * * @author Nicholaus Shupe */ @NullUnmarked class CollectionBenchmarkSampleData { private final boolean isUserTypeFast; private final SpecialRandom random;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 4.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ClassSanityTester.java
* * <ul> * <li>The non-private constructor or non-private static factory method with the most parameters * is used to construct the sample instances. In case of tie, the candidate constructors or * factories are tried one after another until one can be used to construct sample * instances. * <li>For the constructor or static factory method used to construct instances, it's checked
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 32.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableListTest.java
} public void testCopyOf_concurrentlyMutating() { List<String> sample = Lists.newArrayList("a", "b", "c"); for (int delta : new int[] {-1, 0, 1}) { for (int i = 0; i < sample.size(); i++) { Collection<String> misleading = misleadingSizeCollection(delta); List<String> expected = sample.subList(0, i); misleading.addAll(expected);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 23.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/SampleElements.java
import java.util.Iterator; import java.util.List; import java.util.Map.Entry; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * A container class for the five sample elements we need for testing. * * @author Kevin Bourrillion */ @GwtCompatible @NullMarked public class SampleElements<E extends @Nullable Object> implements Iterable<E> {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 4.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
*/ private @Nullable Object generate(TypeToken<?> type) { Class<?> rawType = type.getRawType(); List<Object> samples = sampleInstances.get(rawType); Object sample = pickInstance(samples, null); if (sample != null) { return sample; } if (rawType.isEnum()) { return pickInstance(rawType.getEnumConstants(), null); } if (type.isArray()) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 28.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
*/ private @Nullable Object generate(TypeToken<?> type) { Class<?> rawType = type.getRawType(); List<Object> samples = sampleInstances.get(rawType); Object sample = pickInstance(samples, null); if (sample != null) { return sample; } if (rawType.isEnum()) { return pickInstance(rawType.getEnumConstants(), null); } if (type.isArray()) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 28.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableListMultimap.java
* href="ImmutableMultimap.html#iteration">grouped by key</a>. * * <p>Example: * * {@snippet : * static final Multimap<Character, String> FIRST_LETTER_MULTIMAP = * Stream.of("banana", "apple", "carrot", "asparagus", "cherry") * .collect(toImmutableListMultimap(str -> str.charAt(0), str -> str.substring(1))); * * // is equivalent to *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19K bytes - Viewed (0)