- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 332 for vand (0.06 sec)
-
pkg/test/loadbalancersim/loadbalancer/leastrequest.go
} type unweightedLeastRequest struct { *weightedConnections r *rand.Rand } // nolint: gosec // Test only code func newUnweightedLeastRequest(conn *weightedConnections) network.Connection { return &unweightedLeastRequest{ weightedConnections: conn, r: rand.New(rand.NewSource(time.Now().UnixNano())), } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Nov 14 20:23:34 UTC 2022 - 3.4K bytes - Viewed (0) -
src/cmd/vet/testdata/assign/assign.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 20 15:46:42 UTC 2019 - 804 bytes - Viewed (0) -
platforms/jvm/normalization-java/src/test/groovy/org/gradle/api/internal/changedetection/state/LineEndingContentFixture.groovy
static String textWithLineEndings(String eol) { return "${eol}This is a line${eol}Another line${eol}${eol}Yet another line\nAnd one more\n\nAnd yet one more${eol}${eol}" }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 15:09:49 UTC 2023 - 1.2K bytes - Viewed (0) -
src/sync/map_test.go
} } type mapResult struct { value any ok bool } func randValue(r *rand.Rand) any { b := make([]byte, r.Intn(4)) for i := range b { b[i] = 'a' + byte(rand.Intn(26)) } return string(b) } func (mapCall) Generate(r *rand.Rand, size int) reflect.Value { c := mapCall{op: mapOps[rand.Intn(len(mapOps))], k: randValue(r)} switch c.op { case opStore, opLoadOrStore: c.v = randValue(r)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 01 15:34:22 UTC 2024 - 8.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/conflicts/UpgradeCapabilityResolver.java
boolean isFirst = first; details.getCandidates(capability).forEach(cand -> { cand.byReason(reason); if (!isFirst) { cand.evict(); } }); first = false; } } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 2.4K bytes - Viewed (0) -
test/fixedbugs/issue14010.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 10 18:34:40 UTC 2020 - 449 bytes - Viewed (0) -
src/runtime/lfstack_test.go
sum := 0 for i := 0; i < K; i++ { sum += i node := allocMyNode(i) LFStackPush(stacks[i%2], fromMyNode(node)) } c := make(chan bool, P) for p := 0; p < P; p++ { go func() { r := rand.New(rand.NewSource(rand.Int63())) // Pop a node from a random stack, then push it onto a random stack. for i := 0; i < N; i++ { node := toMyNode(LFStackPop(stacks[r.Intn(2)])) if node != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 17 23:12:04 UTC 2022 - 2.7K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/TimeLimiter.java
* is also performed for calls to {@link Object#equals}, {@link Object#hashCode}, and {@link * Object#toString}. * * <p>If the target method call finishes before the limit is reached, the return value or * exception is propagated to the caller exactly as-is. If, on the other hand, the time limit is * reached, the proxy will attempt to abort the call to the target, and will throw an {@link * UncheckedTimeoutException} to the caller. *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 12 18:32:03 UTC 2023 - 8.3K bytes - Viewed (0) -
src/crypto/ecdsa/ecdsa_legacy.go
) // This file contains a math/big implementation of ECDSA that is only used for // deprecated custom curves. func generateLegacy(c elliptic.Curve, rand io.Reader) (*PrivateKey, error) { k, err := randFieldElement(c, rand) if err != nil { return nil, err } priv := new(PrivateKey) priv.PublicKey.Curve = c priv.D = k priv.PublicKey.X, priv.PublicKey.Y = c.ScalarBaseMult(k.Bytes())
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:11:18 UTC 2024 - 4.8K bytes - Viewed (0) -
internal/crypto/key_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package crypto import ( "bytes" "crypto/rand" "encoding/hex" "io" "testing" "github.com/minio/minio/internal/logger" ) var shortRandom = func(limit int64) io.Reader { return io.LimitReader(rand.Reader, limit) } func recoverTest(i int, shouldPass bool, t *testing.T) { if err := recover(); err == nil && !shouldPass {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Feb 02 00:13:57 UTC 2024 - 6.8K bytes - Viewed (0)