- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 1,994 for rend (0.04 sec)
-
security/pkg/pki/util/generate_csr.go
} priv, err = rsa.GenerateKey(rand.Reader, options.RSAKeySize) if err != nil { return nil, nil, fmt.Errorf("RSA key generation failed (%v)", err) } } template, err := GenCSRTemplate(options) if err != nil { return nil, nil, fmt.Errorf("CSR template creation failed (%v)", err) } csrBytes, err := x509.CreateCertificateRequest(rand.Reader, template, crypto.PrivateKey(priv)) if err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Nov 06 12:48:53 UTC 2023 - 4.1K bytes - Viewed (0) -
src/crypto/rand/rand_js.go
// Copyright 2018 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build js && wasm package rand import "syscall/js" // The maximum buffer size for crypto.getRandomValues is 65536 bytes. // https://developer.mozilla.org/en-US/docs/Web/API/Crypto/getRandomValues#exceptions const maxGetRandomRead = 64 << 10 var batchedGetRandom func([]byte) error
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 06 18:03:38 UTC 2023 - 1.1K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/api/apitesting/fuzzer/fuzzer.go
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package fuzzer import ( "math/rand" "github.com/google/gofuzz" runtimeserializer "k8s.io/apimachinery/pkg/runtime/serializer" ) // FuzzerFuncs returns a list of func(*SomeType, c fuzz.Continue) functions.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Aug 01 19:31:12 UTC 2018 - 1.6K bytes - Viewed (0) -
src/slices/iter_test.go
// Copyright 2024 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package slices_test import ( "iter" "math/rand/v2" . "slices" "testing" ) func TestAll(t *testing.T) { for size := 0; size < 10; size++ { var s []int for i := range size { s = append(s, i) } ei, ev := 0, 0 cnt := 0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 10 17:28:50 UTC 2024 - 5.7K bytes - Viewed (0) -
pkg/registry/core/service/ipallocator/ipallocator.go
// This is required because it depends on the ServiceCIDR to be ready. ready atomic.Bool // metrics is a metrics recorder that can be disabled metrics metricsRecorderInterface metricLabel string rand *rand.Rand } var _ Interface = &Allocator{} // NewIPAllocator returns an IP allocator associated to a network range // that use the IPAddress objectto track the assigned IP addresses, // using an informer cache as storage.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 21:05:04 UTC 2023 - 17K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/etcd3/preflight/checks.go
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package preflight import ( "fmt" "math/rand" "net" "net/url" "time" ) const connectionTimeout = 1 * time.Second // EtcdConnection holds the Etcd server list type EtcdConnection struct { ServerList []string }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 20 10:50:48 UTC 2018 - 1.8K bytes - Viewed (0) -
internal/dsync/drwmutex.go
// Indicator if logging is enabled. var dsyncLog bool // Retry unit interval var lockRetryMinInterval time.Duration var lockRetryBackOff func(*rand.Rand, uint) time.Duration func init() { // Check for MINIO_DSYNC_TRACE env variable, if set logging will be enabled for failed REST operations. dsyncLog = env.Get("_MINIO_DSYNC_TRACE", "0") == "1" lockRetryMinInterval = 250 * time.Millisecond
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 19.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/filters/goaway_test.go
chance: 0, nextFn: func(chance float64) func() float64 { return rand.Float64 }, expectGOAWAY: false, }, { name: "always GOAWAY", chance: 1, nextFn: func(chance float64) func() float64 { return rand.Float64 }, expectGOAWAY: true, }, { name: "hit GOAWAY", chance: rand.Float64() + 0.01, nextFn: func(chance float64) func() float64 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 17 12:58:54 UTC 2021 - 13.9K bytes - Viewed (0) -
src/go/doc/comment/wrap_test.go
package comment import ( "flag" "fmt" "math/rand" "testing" "time" "unicode/utf8" ) var wrapSeed = flag.Int64("wrapseed", 0, "use `seed` for wrap test (default auto-seeds)") func TestWrap(t *testing.T) { if *wrapSeed == 0 { *wrapSeed = time.Now().UnixNano() } t.Logf("-wrapseed=%#x\n", *wrapSeed) r := rand.New(rand.NewSource(*wrapSeed)) // Generate words of random length.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:31:45 UTC 2022 - 3.7K bytes - Viewed (0) -
src/internal/poll/fd_mutex_test.go
var mu XFDMutex var readState [2]uint64 var writeState [2]uint64 for p := 0; p < P; p++ { go func() { defer func() { done <- !t.Failed() }() r := rand.New(rand.NewSource(rand.Int63())) for i := 0; i < N; i++ { switch r.Intn(3) { case 0: if !mu.Incref() { t.Error("broken") return } if mu.Decref() { t.Error("broken")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Oct 08 03:57:40 UTC 2022 - 4K bytes - Viewed (0)