- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for SpecialRandom (0.21 sec)
-
guava-tests/test/com/google/common/collect/SpecialRandom.java
*/ public final class SpecialRandom extends Random { public static SpecialRandom valueOf(String s) { return (s.length() == 0) ? new SpecialRandom() : new SpecialRandom(Long.parseLong(s)); } private final boolean hasSeed; private final long seed; public SpecialRandom() { this.hasSeed = false; this.seed = 0; } public SpecialRandom(long seed) { super(seed);
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 1.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SpecialRandom.java
*/ public final class SpecialRandom extends Random { public static SpecialRandom valueOf(String s) { return (s.length() == 0) ? new SpecialRandom() : new SpecialRandom(Long.parseLong(s)); } private final boolean hasSeed; private final long seed; public SpecialRandom() { this.hasSeed = false; this.seed = 0; } public SpecialRandom(long seed) { super(seed);
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 1.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java
private final boolean isUserTypeFast; private final SpecialRandom random; private final double hitRate; private final int size; private final Set<Element> valuesInSet; private final Element[] queries; CollectionBenchmarkSampleData(int size) { this(true, new SpecialRandom(), 1.0, size); } CollectionBenchmarkSampleData( boolean isUserTypeFast, SpecialRandom random, double hitRate, int size) {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Apr 17 15:49:06 GMT 2023 - 4.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java
private final boolean isUserTypeFast; private final SpecialRandom random; private final double hitRate; private final int size; private final Set<Element> valuesInSet; private final Element[] queries; CollectionBenchmarkSampleData(int size) { this(true, new SpecialRandom(), 1.0, size); } CollectionBenchmarkSampleData( boolean isUserTypeFast, SpecialRandom random, double hitRate, int size) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 17 15:49:06 GMT 2023 - 4.2K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/collect/SetIterationBenchmark.java
"46341", "92682", "185364", "370728", "741455", "1482910", "2965821", "5931642" }) private int size; // "" means no fixed seed @Param("1234") private SpecialRandom random; @Param({"ImmutableSetImpl", "HashSetImpl"}) private SetImpl impl; // the following must be set during setUp private Set<Element> setToTest; @BeforeExperiment void setUp() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 1.9K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/collect/SetCreationBenchmark.java
"46341", "92682", "185364", "370728", "741455", "1482910", "2965821", "5931642" }) private int size; // "" means no fixed seed @Param("1234") private SpecialRandom random; @Param({"ImmutableSetImpl", "HashSetImpl"}) private SetImpl impl; // the following must be set during setUp private CollectionBenchmarkSampleData sampleData; @BeforeExperiment
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 1.8K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/collect/SetIterationBenchmark.java
"46341", "92682", "185364", "370728", "741455", "1482910", "2965821", "5931642" }) private int size; // "" means no fixed seed @Param("1234") private SpecialRandom random; @Param({"ImmutableSetImpl", "HashSetImpl"}) private SetImpl impl; // the following must be set during setUp private Set<Element> setToTest; @BeforeExperiment void setUp() {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 1.9K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/collect/BinaryTreeTraverserBenchmark.java
} private Iterable<BinaryNode> view; @Param Topology topology; @Param({"1", "100", "10000", "1000000"}) int size; @Param Traversal traversal; @Param({"1234"}) SpecialRandom rng; @BeforeExperiment void setUp() { this.view = traversal.view(topology.createTree(size, rng).get(), VIEWER); } @Benchmark int traversal(int reps) { int tmp = 0;
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 26 19:18:53 GMT 2019 - 4.9K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/collect/SetCreationBenchmark.java
"46341", "92682", "185364", "370728", "741455", "1482910", "2965821", "5931642" }) private int size; // "" means no fixed seed @Param("1234") private SpecialRandom random; @Param({"ImmutableSetImpl", "HashSetImpl"}) private SetImpl impl; // the following must be set during setUp private CollectionBenchmarkSampleData sampleData; @BeforeExperiment
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 1.8K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/collect/SetContainsBenchmark.java
@Param({"0.2", "0.8"}) private double hitRate; @Param("true") private boolean isUserTypeFast; // "" means no fixed seed @Param("") private SpecialRandom random; @Param({"HashSetImpl", "ImmutableSetImpl"}) private SetImpl impl; // the following must be set during setUp private Element[] queries; private Set<Element> setToTest;
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 2.4K bytes - Viewed (0)