- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 829 for randPod (0.15 sec)
-
guava-tests/test/com/google/common/util/concurrent/AtomicLongMapTest.java
import java.util.Map; import java.util.Random; import java.util.Set; import junit.framework.TestCase; /** * Tests for {@link AtomicLongMap}. * * @author mike nonemacher */ @GwtCompatible(emulated = true) public class AtomicLongMapTest extends TestCase { private static final int ITERATIONS = 100; private static final int MAX_ADDEND = 100; private final Random random = new Random(301); @J2ktIncompatible
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 13 14:28:25 UTC 2024 - 17.4K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/file/archive/AbstractArchiveFileTreeTest.java
} // Generate a sufficiently large zip file containing some large files with random numbers, one per line Random random = new Random(); for (int i = 0; i < numFiles; i++) { StringBuilder sb = new StringBuilder(); for (long j = 0; j < numLines; j++) { sb.append(random.nextInt()).append('\n'); } rootDir.file("file" + i + ".txt").write(sb.toString());
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jul 28 16:17:59 UTC 2023 - 6.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/BloomFilterTest.java
private static final int NUM_PUTS = 100_000; private static final ThreadLocal<Random> random = new ThreadLocal<Random>() { @Override protected Random initialValue() { return new Random(); } }; private static final int GOLDEN_PRESENT_KEY = random.get().nextInt(); @AndroidIncompatible // OutOfMemoryError
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 17 15:27:58 UTC 2024 - 21.2K bytes - Viewed (0) -
platforms/software/signing/src/testFixtures/groovy/org/gradle/test/fixtures/GpgCmdFixture.groovy
import org.gradle.test.fixtures.file.TestFile import java.nio.file.Files import java.nio.file.Path import java.nio.file.Paths import java.util.regex.Pattern class GpgCmdFixture { private static final Random RANDOM = new Random() private static final int ALL_DIGITS_AND_LETTERS_RADIX = 36 private static final int MAX_RANDOM_PART_VALUE = Integer.parseInt("zzzzz", ALL_DIGITS_AND_LETTERS_RADIX)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 3.1K bytes - Viewed (0) -
src/compress/bzip2/bzip2_test.go
), output: make([]byte, 1<<20), }, { desc: "random data", input: mustLoadFile("testdata/pass-random1.bz2"), output: mustLoadFile("testdata/pass-random1.bin"), }, { desc: "random data - full symbol range", input: mustLoadFile("testdata/pass-random2.bz2"), output: mustLoadFile("testdata/pass-random2.bin"), }, { desc: "random data - uses RLE1 stage", input: mustDecodeHex("" +
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Dec 09 19:12:23 UTC 2020 - 6.3K bytes - Viewed (0) -
src/crypto/rsa/rsa.go
} // GenerateKey generates a random RSA private key of the given bit size. // // Most applications should use [crypto/rand.Reader] as rand. Note that the // returned key does not depend deterministically on the bytes read from rand, // and may change between calls and/or between versions. func GenerateKey(random io.Reader, bits int) (*PrivateKey, error) { return GenerateMultiPrimeKey(random, 2, bits) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:11:18 UTC 2024 - 23.4K bytes - Viewed (0) -
pkg/test/util/structpath/instance_test.go
TypeUrl: "some.Random.Type.URL", } validator := structpath.ForProto(testResponse) tests := []struct { name string substrs []string err bool }{ { name: "Substring exist", substrs: []string{"Random", "Type", "URL", "some"}, err: false, }, { name: "Substring does not exist", substrs: []string{"RaNdOm"}, err: true, }, {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 11 16:19:15 UTC 2021 - 1.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/legalize_jax_random.mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 2K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java
charset = Charset.forName(charsetName); StringBuilder sb = new StringBuilder(); Random random = new Random(0xdeadbeef); // for unpredictable but reproducible behavior sb.ensureCapacity(size); for (int k = 0; k < size; k++) { // [9-127) includes all ascii non-control characters sb.append((char) (random.nextInt(127 - 9) + 9)); } String string = sb.toString(); sb.setLength(0);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Oct 10 19:45:10 UTC 2022 - 5.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketWriter.kt
* * This class is not thread safe. * * [rfc_6455]: http://tools.ietf.org/html/rfc6455 */ class WebSocketWriter( private val isClient: Boolean, val sink: BufferedSink, val random: Random, private val perMessageDeflate: Boolean, private val noContextTakeover: Boolean, private val minimumDeflateSize: Long, ) : Closeable { /** This holds outbound data for compression and masking. */
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.9K bytes - Viewed (0)