Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 721 for vand (0.05 sec)

  1. 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)
  2. src/compress/flate/testdata/huffman-rand-1k.wb.expect

    Klaus Post <******@****.***> 1457448890 +0100
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 11 17:40:52 UTC 2016
    - 1005 bytes
    - Viewed (0)
  3. src/encoding/gob/codec_test.go

    package gob
    
    import (
    	"bytes"
    	"errors"
    	"flag"
    	"math"
    	"math/rand"
    	"reflect"
    	"strings"
    	"testing"
    	"time"
    	"unsafe"
    )
    
    var doFuzzTests = flag.Bool("gob.fuzz", false, "run the fuzz tests, which are large and very slow")
    
    // Guarantee encoding format by comparing some encodings to hand-written values
    type EncodeT struct {
    	x uint64
    	b []byte
    }
    
    var encodeT = []EncodeT{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Aug 19 23:03:14 UTC 2023
    - 36.9K bytes
    - Viewed (0)
  4. src/cmd/vet/testdata/assign/assign.go

    	s.l[0] = s.l[0] // ERROR "self-assignment of s.l.0. to s.l.0."
    
    	// Bail on any potential side effects to avoid false positives
    	s.l[num()] = s.l[num()]
    	rng := rand.New(rand.NewSource(0))
    	s.l[rng.Intn(len(s.l))] = s.l[rng.Intn(len(s.l))]
    	s.l[<-ch] = s.l[<-ch]
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 20 15:46:42 UTC 2019
    - 804 bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. test/fixedbugs/issue14010.go

    // Verify that built-in types don't get printed with
    // (empty) package qualification.
    
    package main
    
    func main() {
    	true = false // ERROR "cannot assign to true|invalid left hand side"
    	byte = 0     // ERROR "not an expression|invalid left hand side|invalid use of type"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 10 18:34:40 UTC 2020
    - 449 bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/match_test.go

    )
    
    func TestMatching(t *testing.T) {
    	checkFTR(t, mandFTRExempt)
    	checkFTR(t, mandFTRCatchAll)
    	rngOuter := rand.New(rand.NewSource(42))
    	goodPLNames := sets.NewString("pl1", "pl2", "pl3", "pl4", "pl5")
    	badPLNames := sets.NewString("ql1", "ql2", "ql3", "ql4", "ql5")
    	for i := 0; i < 300; i++ {
    		rng := rand.New(rand.NewSource(int64(rngOuter.Uint64())))
    		t.Run(fmt.Sprintf("trial%d:", i), func(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:35 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  10. src/hash/maphash/smhasher_test.go

    var fixedSeed = MakeSeed()
    
    // Sanity checks.
    // hash should not depend on values outside key.
    // hash should not depend on alignment.
    func TestSmhasherSanity(t *testing.T) {
    	t.Parallel()
    	r := rand.New(rand.NewSource(1234))
    	const REP = 10
    	const KEYMAX = 128
    	const PAD = 16
    	const OFFMAX = 16
    	for k := 0; k < REP; k++ {
    		for n := 0; n < KEYMAX; n++ {
    			for i := 0; i < OFFMAX; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:41:38 UTC 2024
    - 11K bytes
    - Viewed (0)
Back to top