- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 346 for Parameters (0.16 sec)
-
guava-tests/test/com/google/common/graph/DefaultNetworkImplementationsTest.java
private static final String E12 = "1-2"; private static final String E12_A = "1-2a"; private static final String E21 = "2-1"; private static final String E23 = "2-3"; @Parameters public static Collection<Object[]> parameters() { return Arrays.asList( new Object[][] { {UNDIRECTED}, {DIRECTED}, }); } private final EdgeType edgeType;
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 7.4K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/hash/HashCodeBenchmark.java
import com.google.caliper.Param; import java.security.MessageDigest; import java.util.Arrays; import java.util.Random; /** * Benchmarks for comparing the various {@link HashCode#equals} methods. * * <p>Parameters for the benchmark are: * * <ul> * <li>size: the length of the byte array to hash * <li>whereToDiffer: where in the array the bytes should differ * <li>equalsImpl: which implementation of array equality to use
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 3.9K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/hash/HashCodeBenchmark.java
import com.google.caliper.Param; import java.security.MessageDigest; import java.util.Arrays; import java.util.Random; /** * Benchmarks for comparing the various {@link HashCode#equals} methods. * * <p>Parameters for the benchmark are: * * <ul> * <li>size: the length of the byte array to hash * <li>whereToDiffer: where in the array the bytes should differ * <li>equalsImpl: which implementation of array equality to use
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 3.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/StandardMutableUndirectedNetworkTest.java
import org.junit.runners.Parameterized; import org.junit.runners.Parameterized.Parameters; /** Tests for an undirected {@link StandardMutableNetwork}. */ @AndroidIncompatible @RunWith(Parameterized.class) public final class StandardMutableUndirectedNetworkTest extends AbstractStandardUndirectedNetworkTest { @Parameters(name = "allowsSelfLoops={0}, allowsParallelEdges={1}, nodeOrder={2}, edgeOrder={3}")
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Apr 09 17:01:22 GMT 2020 - 2.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/GraphEquivalenceTest.java
private static final Integer N2 = 2; private static final Integer N3 = 3; 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;
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Jun 22 19:09:27 GMT 2017 - 4.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/NetworkEquivalenceTest.java
private static final String E13 = "1-3"; private final EdgeType edgeType; private final MutableNetwork<Integer, String> network; // add parameters: directed/undirected @Parameters public static Collection<Object[]> parameters() { return Arrays.asList(new Object[][] {{EdgeType.UNDIRECTED}, {EdgeType.DIRECTED}}); } public NetworkEquivalenceTest(EdgeType edgeType) { this.edgeType = edgeType;
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Jun 22 19:09:27 GMT 2017 - 5.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/MapCacheTest.java
private final MapIteratorCache<String, String> mapCache; public MapCacheTest(MapIteratorCache<String, String> mapCache) { this.mapCache = mapCache; } @Parameters public static Collection<Object[]> parameters() { Comparator<String> nullsLast = Ordering.natural().nullsLast(); return Arrays.asList( new Object[][] {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 26 16:23:26 GMT 2021 - 3.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/NullPointerTester.java
} Method method = (Method) member; if (!method.getName().contentEquals("equals")) { return false; } Class<?>[] parameters = method.getParameterTypes(); if (parameters.length != 1) { return false; } if (!parameters[0].equals(Object.class)) { return false; } return true; }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Nov 16 15:12:31 GMT 2023 - 23.3K bytes - Viewed (0) -
android/guava/src/com/google/common/eventbus/Subscribe.java
import java.lang.annotation.Target; /** * Marks a method as an event subscriber. * * <p>The type of event will be indicated by the method's first (and only) parameter, which cannot * be primitive. If this annotation is applied to methods with zero parameters, or more than one * parameter, the object containing the method will not be able to register for event delivery from * the {@link EventBus}. *
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Apr 22 13:05:46 GMT 2021 - 1.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/StandardImmutableUndirectedGraphTest.java
import org.junit.runners.Parameterized.Parameters; /** Tests for an undirected {@link StandardMutableGraph}. */ @AndroidIncompatible @RunWith(Parameterized.class) public final class StandardImmutableUndirectedGraphTest extends AbstractStandardUndirectedGraphTest { @Parameters(name = "allowsSelfLoops={0}") public static Collection<Object[]> parameters() { return Arrays.asList(new Object[][] {{false}, {true}});
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Mar 10 17:54:18 GMT 2020 - 1.8K bytes - Viewed (0)