- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 1,348 for rand_r (0.1 sec)
-
okhttp/src/test/java/okhttp3/internal/ws/RealWebSocketTest.kt
// zero effect on the behavior of the WebSocket API which is why tests are only written once // from the perspective of a single peer. private val random = Random(0) private val client2Server = Pipe(8192L) private val server2client = Pipe(8192L) private val taskFaker = TaskFaker() private val client = TestStreams(true, taskFaker, server2client, client2Server)
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Thu Apr 11 01:59:58 UTC 2024 - 18.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/ws/WebSocketWriterTest.kt
private val serverWriter = WebSocketWriter( isClient = false, sink = data, random = random, perMessageDeflate = false, noContextTakeover = false, minimumDeflateSize = 0L, ) private val clientWriter = WebSocketWriter( isClient = true, sink = data, random = random, perMessageDeflate = false, noContextTakeover = false, minimumDeflateSize = 0L,
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 9.3K bytes - Viewed (0) -
src/cmd/cgo/internal/test/stubtest_linux_ppc64le.S
// notoc_func [called TOC -> NOTOC (but R2 is preserved)] // toc_func [called NOTOC -> TOC] // notoc_nor2_func [called TOC -> NOTOC] // random [dynamic TOC call] // random [dynamic NOTOC call] // // Depending on the GOPPC64/buildmode used, and type of call, one of 7 stubs may need inserted: // // TOC -> NOTOC: Save R2, call global entry. (valid for any GOPPC64)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 22 15:06:17 UTC 2023 - 3.7K bytes - Viewed (0) -
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) -
src/internal/fuzz/mutator.go
var max int64 for { max = 100 switch m.rand(2) { case 0: // Add a random number if v >= maxValue { continue } if v > 0 && maxValue-v < max { // Don't let v exceed maxValue max = maxValue - v } v += int64(1 + m.rand(int(max))) return v case 1: // Subtract a random number if v <= -maxValue { continue }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 20:01:34 UTC 2023 - 6.6K 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/compress/flate/testdata/huffman-rand-limit.dyn.expect
Klaus Post <******@****.***> 1457448890 +0100
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 11 17:40:52 UTC 2016 - 229 bytes - Viewed (0) -
internal/crypto/doc.go
// initialization vector (IV) and the bucket/object path. // // 1. Encrypt: // Input: ClientKey, bucket, object, metadata, object_data // - IV := Random({0,1}²⁵⁶) // - ObjectKey := SHA256(ClientKey || Random({0,1}²⁵⁶)) // - KeyEncKey := HMAC-SHA256(ClientKey, IV || 'SSE-C' || 'DAREv2-HMAC-SHA256' || bucket || '/' || object) // - SealedKey := DAREv2_Enc(KeyEncKey, ObjectKey)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Aug 26 19:52:29 UTC 2022 - 5K 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) -
android/guava-tests/benchmark/com/google/common/collect/InternersBenchmark.java
for (int i = 0; i < reps; i++) { String unused = interner.intern(Double.toHexString(Math.random())); } return reps; } @Benchmark int strongInterner(int reps) { Interner<String> interner = Interners.newStrongInterner(); for (int i = 0; i < reps; i++) { String unused = interner.intern(Double.toHexString(Math.random())); } return reps; } @Benchmark int stringIntern(int reps) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Mar 04 04:06:35 UTC 2022 - 1.4K bytes - Viewed (0)