Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 721 for vand (0.1 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/filters/priority-and-fairness.go

    		// magnitude faster then the watch request itself). This means that Handle()
    		// call finishes much faster and for performance reasons we want to reduce
    		// the number of running goroutines - so we run the shorter thing in a
    		// dedicated goroutine and the actual watch handler in the main one.
    		go func() {
    			defer func() {
    				err := recover()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:35 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  2. src/crypto/tls/generate_cert.go

    	case "":
    		if *ed25519Key {
    			_, priv, err = ed25519.GenerateKey(rand.Reader)
    		} else {
    			priv, err = rsa.GenerateKey(rand.Reader, *rsaBits)
    		}
    	case "P224":
    		priv, err = ecdsa.GenerateKey(elliptic.P224(), rand.Reader)
    	case "P256":
    		priv, err = ecdsa.GenerateKey(elliptic.P256(), rand.Reader)
    	case "P384":
    		priv, err = ecdsa.GenerateKey(elliptic.P384(), rand.Reader)
    	case "P521":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 08 15:22:02 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/gen_test.go

    // list contains members that match the generated Subject and involve
    // names that begin with the given prefix.  The second returned list
    // contains members that mismatch the generated Subject and involve
    // names that begin with the given prefix.
    func genSubject(rng *rand.Rand, pfx string) (flowcontrol.Subject, []user.Info, []user.Info) {
    	subject := flowcontrol.Subject{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 24.8K bytes
    - Viewed (0)
  4. src/compress/flate/testdata/huffman-rand-limit.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
    - 186 bytes
    - Viewed (0)
  5. src/go/doc/testdata/pkgdoc/doc.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package pkgdoc
    
    import (
    	crand "crypto/rand"
    	"math/rand"
    )
    
    type T int
    
    type U int
    
    func (T) M() {}
    
    var _ = rand.Int
    var _ = crand.Reader
    
    type G[T any] struct{ x T }
    
    func (g G[T]) M1() {}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 10 06:33:18 UTC 2022
    - 376 bytes
    - Viewed (0)
  6. src/crypto/rand/example_test.go

    // license that can be found in the LICENSE file.
    
    package rand_test
    
    import (
    	"bytes"
    	"crypto/rand"
    	"fmt"
    )
    
    // This example reads 10 cryptographically secure pseudorandom numbers from
    // rand.Reader and writes them to a byte slice.
    func ExampleRead() {
    	c := 10
    	b := make([]byte, c)
    	_, err := rand.Read(b)
    	if err != nil {
    		fmt.Println("error:", err)
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 23:34:33 UTC 2016
    - 621 bytes
    - Viewed (0)
  7. src/crypto/ecdsa/example_test.go

    package ecdsa_test
    
    import (
    	"crypto/ecdsa"
    	"crypto/elliptic"
    	"crypto/rand"
    	"crypto/sha256"
    	"fmt"
    )
    
    func Example() {
    	privateKey, err := ecdsa.GenerateKey(elliptic.P256(), rand.Reader)
    	if err != nil {
    		panic(err)
    	}
    
    	msg := "hello, world"
    	hash := sha256.Sum256([]byte(msg))
    
    	sig, err := ecdsa.SignASN1(rand.Reader, privateKey, hash[:])
    	if err != nil {
    		panic(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 21 19:38:55 UTC 2020
    - 686 bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolutionstrategy/DefaultCapabilitiesResolution.java

                versions.forEach(version -> details.getCandidates(version).forEach(cand -> selectExplicitCandidate(resolutionDetails, (CapabilityInternal) version, cand)));
            }
        }
    
        private void selectExplicitCandidate(DefaultCapabilityResolutionDetails resolutionDetails, CapabilityInternal version, CapabilitiesConflictHandler.CandidateDetails cand) {
            if (cand.getId().equals(resolutionDetails.selected.getId())) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 15 16:36:23 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  9. cmd/erasure-common.go

    package cmd
    
    import (
    	"context"
    	"fmt"
    	"io"
    	"math/rand"
    	"sync"
    	"time"
    
    	"github.com/minio/pkg/v3/sync/errgroup"
    )
    
    func (er erasureObjects) getOnlineDisks() (newDisks []StorageAPI) {
    	disks := er.getDisks()
    	var wg sync.WaitGroup
    	var mu sync.Mutex
    	r := rand.New(rand.NewSource(time.Now().UnixNano()))
    	for _, i := range r.Perm(len(disks)) {
    		i := i
    		wg.Add(1)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. src/runtime/hash_test.go

    import (
    	"encoding/binary"
    	"fmt"
    	"internal/race"
    	"internal/testenv"
    	"math"
    	"math/rand"
    	"os"
    	. "runtime"
    	"slices"
    	"strings"
    	"testing"
    	"unsafe"
    )
    
    func TestMemHash32Equality(t *testing.T) {
    	if *UseAeshash {
    		t.Skip("skipping since AES hash implementation is used")
    	}
    	var b [4]byte
    	r := rand.New(rand.NewSource(1234))
    	seed := uintptr(r.Uint64())
    	for i := 0; i < 100; i++ {
    		randBytes(r, b[:])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 17:50:18 UTC 2024
    - 18.4K bytes
    - Viewed (0)
Back to top