- Sort Score
- Result 10 results
- Languages All
Results 381 - 390 of 502 for reslist (0.04 sec)
-
android/guava-tests/benchmark/com/google/common/collect/BinaryTreeTraverserBenchmark.java
Optional<BinaryNode> createTree(int size, Random rng) { int[] keys = new int[size]; for (int i = 0; i < size; i++) { keys[i] = rng.nextInt(); } return createTreap(Ints.asList(keys)); } // See http://en.wikipedia.org/wiki/Treap for details on the algorithm. private Optional<BinaryNode> createTreap(List<Integer> keys) { if (keys.isEmpty()) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 4.9K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java
public void testPublic() {} } private List<Class<?>> findClassesToTest( Iterable<? extends Class<?>> classes, String... explicitTestNames) { return sanityTests.findClassesToTest(classes, Arrays.asList(explicitTestNames)); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 28 02:48:50 UTC 2024 - 5.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/GraphEquivalenceTest.java
private final EdgeType edgeType; private final MutableGraph<Integer> graph; // add parameters: directed/undirected @Parameters public static Collection<Object[]> parameters() { return Arrays.asList(new Object[][] {{EdgeType.UNDIRECTED}, {EdgeType.DIRECTED}}); } public GraphEquivalenceTest(EdgeType edgeType) { this.edgeType = edgeType; this.graph = createGraph(edgeType); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 4.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/GraphEquivalenceTest.java
private final EdgeType edgeType; private final MutableGraph<Integer> graph; // add parameters: directed/undirected @Parameters public static Collection<Object[]> parameters() { return Arrays.asList(new Object[][] {{EdgeType.UNDIRECTED}, {EdgeType.DIRECTED}}); } public GraphEquivalenceTest(EdgeType edgeType) { this.edgeType = edgeType; this.graph = createGraph(edgeType); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 4.6K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java
repository.setUrl("file://" + repoDir.toURI().getPath()); repository.setReleases(policy); repository.setSnapshots(policy); return Arrays.asList(repositorySystem.buildArtifactRepository(repository)); } protected ArtifactRepository getLocalRepository() throws Exception { File repoDir = new File(getBasedir(), "target/local-repo").getAbsoluteFile();
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Feb 07 00:45:02 UTC 2025 - 10.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/validation/CustomSizeTest.java
assertNotNull("Target annotation should be present", target); final Set<ElementType> expectedTargets = new HashSet<>(Arrays.asList(METHOD, FIELD, ANNOTATION_TYPE, CONSTRUCTOR, PARAMETER)); final Set<ElementType> actualTargets = new HashSet<>(Arrays.asList(target.value())); assertEquals("Target elements should match", expectedTargets, actualTargets); } // Test annotation is documented
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/LineBufferTest.java
ImmutableSet.of(1, 2, 3, Integer.MAX_VALUE); private static void bufferHelper(String input, String... expect) throws IOException { List<String> expectProcess = Arrays.asList(expect); List<String> expectRead = Lists.transform( expectProcess, new Function<String, String>() { @Override public String apply(String value) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 4.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ConcurrentHashMultisetBasherTest.java
@Override public Integer apply(String key) { return multiset.count(key); } }); assertEquals("Counts not as expected", Ints.asList(deltas), actualCounts); } finally { pool.shutdownNow(); } // Since we have access to the backing map, verify that there are no zeroes in the map for (AtomicInteger value : map.values()) {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 6K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/LineBufferTest.java
ImmutableSet.of(1, 2, 3, Integer.MAX_VALUE); private static void bufferHelper(String input, String... expect) throws IOException { List<String> expectProcess = Arrays.asList(expect); List<String> expectRead = Lists.transform( expectProcess, new Function<String, String>() { @Override public String apply(String value) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 4.9K bytes - Viewed (0) -
guava/src/com/google/common/reflect/TypeResolver.java
import static com.google.common.base.Preconditions.checkArgument; import static com.google.common.base.Preconditions.checkNotNull; import static com.google.common.base.Preconditions.checkState; import static java.util.Arrays.asList; import com.google.common.base.Joiner; import com.google.common.collect.ImmutableMap; import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.lang.reflect.GenericArrayType;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Sep 03 14:03:14 UTC 2025 - 24.2K bytes - Viewed (0)