- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 364 for randPod (3.47 sec)
-
internal/kms/secret-key.go
} associatedData, err := req.AssociatedData.MarshalText() if err != nil { return DEK{}, err } const randSize = 28 random, err := sioutil.Random(randSize) if err != nil { return DEK{}, err } iv, nonce := random[:16], random[16:] prf := hmac.New(sha256.New, s.key) prf.Write(iv) key := prf.Sum(make([]byte, 0, prf.Size())) block, err := aes.NewCipher(key)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue May 07 23:55:37 UTC 2024 - 8.2K bytes - Viewed (0) -
cluster/addons/node-problem-detector/OWNERS
# See the OWNERS docs at https://go.k8s.io/owners approvers: - Random-Liu - wangzhen127 reviewers: - Random-Liu
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 23 16:03:08 UTC 2024 - 135 bytes - Viewed (0) -
src/internal/fuzz/pcg.go
func (r *pcgRand) restore(randState, randInc uint64) { r.state = randState r.inc = randInc } // uint32 returns a pseudo-random uint32. func (r *pcgRand) uint32() uint32 { x := r.state r.step() return bits.RotateLeft32(uint32(((x>>18)^x)>>27), -int(x>>59)) } // intn returns a pseudo-random number in [0, n). // n must fit in a uint32. func (r *pcgRand) intn(n int) int { if int(uint32(n)) != n { panic("large Intn")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 19:28:14 UTC 2024 - 3.3K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/AbstractTestDirectoryProvider.java
*/ public abstract class AbstractTestDirectoryProvider implements TestRule, TestDirectoryProvider { protected final TestFile root; private final String className; 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: Thu Apr 04 07:21:38 UTC 2024 - 6.7K bytes - Viewed (0) -
platforms/core-runtime/time/src/main/java/org/gradle/internal/time/ExponentialBackoff.java
*/ package org.gradle.internal.time; import java.io.IOException; import java.util.Random; import java.util.concurrent.TimeUnit; public class ExponentialBackoff<S extends ExponentialBackoff.Signal> { private static final int CAP_FACTOR = 100; private static final long SLOT_TIME = 25; private final Random random = new Random(); private final S signal; private final long slotTime;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 12 08:49:35 UTC 2024 - 4.8K bytes - Viewed (0) -
src/os/tempfile.go
// license that can be found in the LICENSE file. package os import ( "errors" "internal/bytealg" "internal/itoa" _ "unsafe" // for go:linkname ) // random number source provided by runtime. // We generate random temporary file names so that there's a good // chance the file doesn't exist yet - keeps the number of tries in // TempFile to a minimum. // //go:linkname runtime_rand runtime.rand
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 12 18:04:39 UTC 2024 - 3.9K 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) -
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) -
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) -
src/main/java/org/codelibs/core/net/UuidUtil.java
private static final byte[] DEFAULT_ADDRESS = new byte[] { (byte) 127, (byte) 0, (byte) 0, (byte) 1 }; private static final SecureRandom RANDOM = new SecureRandom(); private static final String BASE = StringUtil.toHex(getAddress()) + StringUtil.toHex(System.identityHashCode(RANDOM)); /** * UUIDを作成します。 * * @return UUIDの文字列 */ public static String create() {
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.8K bytes - Viewed (0)