- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 58 for srand (0.09 sec)
-
src/compress/flate/testdata/huffman-rand-max.golden
huffman-rand-max.golden...
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 11 17:40:52 UTC 2016 - 64K bytes - Viewed (0) -
src/compress/flate/testdata/huffman-rand-max.in
Klaus Post <******@****.***> 1457448890 +0100
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 11 17:40:52 UTC 2016 - 64K bytes - Viewed (0) -
cmd/test-utils_test.go
var priv interface{} var err error priv, err = rsa.GenerateKey(crand.Reader, rsaBits) if err != nil { return nil, nil, fmt.Errorf("failed to generate private key: %w", err) } notBefore := time.Now() notAfter := notBefore.Add(validFor) serialNumberLimit := new(big.Int).Lsh(big.NewInt(1), 128) serialNumber, err := crand.Int(crand.Reader, serialNumberLimit) if err != nil {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:50:49 UTC 2024 - 76.9K bytes - Viewed (0) -
pkg/kubelet/stats/cri_stats_provider_test.go
UsedBytes: &runtimeapi.UInt64Value{Value: rand.Uint64()}, InodesUsed: &runtimeapi.UInt64Value{Value: rand.Uint64()}, } } func makeFakeVolumeStats(volumeNames []string) []statsapi.VolumeStats { volumes := make([]statsapi.VolumeStats, len(volumeNames)) availableBytes := rand.Uint64() capacityBytes := rand.Uint64() usedBytes := rand.Uint64() / 100 inodes := rand.Uint64() inodesFree := rand.Uint64()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 14:24:16 UTC 2024 - 54.5K bytes - Viewed (0) -
pkg/volume/csi/csi_mounter_test.go
See the License for the specific language governing permissions and limitations under the License. */ package csi import ( "context" "fmt" "math/rand" "os" "path/filepath" "reflect" goruntime "runtime" "testing" "time" "github.com/google/go-cmp/cmp" "github.com/stretchr/testify/assert" authenticationv1 "k8s.io/api/authentication/v1"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 50.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/GradlePomModuleDescriptorParserProfileTest.groovy
dep.selector == moduleId('group-two', 'artifact-two', 'version-two') dep.scope == MavenScope.Compile hasDefaultDependencyArtifact(dep) } def "uses grand parent properties from active profile to provide default values for a dependency"() { given: def grandParent = tmpDir.file("grandparent.xml") << """ <project> <groupId>different-group</groupId>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 49.8K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/GradlePomModuleDescriptorParserTest.groovy
dep.selector == moduleId('group-two', 'artifact-two', '1.4') dep.scope == MavenScope.Compile hasDefaultDependencyArtifact(dep) } def "uses parent pom over grand parent pom dependency management section"() { given: def grandParent = tmpDir.file("grandparent.xml") << """ <project> <groupId>different-group</groupId> <artifactId>grandparent</artifactId>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 75.4K bytes - Viewed (0) -
src/crypto/tls/common.go
// modified. A Config may be reused; the tls package will also not // modify it. type Config struct { // Rand provides the source of entropy for nonces and RSA blinding. // If Rand is nil, TLS uses the cryptographic random reader in package // crypto/rand. // The Reader must be safe for use by multiple goroutines. Rand io.Reader // Time returns the current time as the number of seconds since the epoch.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 59.1K bytes - Viewed (0) -
src/math/big/int_test.go
} func TestModSqrt(t *testing.T) { var elt, mod, modx4, sq, sqrt Int r := rand.New(rand.NewSource(9)) for i, s := range primes[1:] { // skip 2, use only odd primes mod.SetString(s, 10) modx4.Lsh(&mod, 2) // test a few random elements per prime for x := 1; x < 5; x++ { elt.Rand(r, &modx4) elt.Sub(&elt, &mod) // test range [-mod, 3*mod)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 58.5K bytes - Viewed (0) -
src/crypto/tls/tls_test.go
default: return false } } type brokenSigner struct{ crypto.Signer } func (s brokenSigner) Sign(rand io.Reader, digest []byte, opts crypto.SignerOpts) (signature []byte, err error) { // Replace opts with opts.HashFunc(), so rsa.PSSOptions are discarded. return s.Signer.Sign(rand, digest, opts.HashFunc()) } // TestPKCS1OnlyCert uses a client certificate with a broken crypto.Signer that
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 60.5K bytes - Viewed (0)