Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 177 for randPod (0.12 sec)

  1. src/crypto/ecdsa/ecdsa_legacy.go

    	x, y := c.Add(x1, y1, x2, y2)
    
    	if x.Sign() == 0 && y.Sign() == 0 {
    		return false
    	}
    	x.Mod(x, N)
    	return x.Cmp(r) == 0
    }
    
    var one = new(big.Int).SetInt64(1)
    
    // randFieldElement returns a random element of the order of the given
    // curve using the procedure given in FIPS 186-4, Appendix B.5.2.
    func randFieldElement(c elliptic.Curve, rand io.Reader) (k *big.Int, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. src/crypto/tls/common.go

    // should be performed, and that the input should be signed directly. It is the
    // hash function associated with the Ed25519 signature scheme.
    var directSigning crypto.Hash = 0
    
    // helloRetryRequestRandom is set as the Random value of a ServerHello
    // to signal that the message is actually a HelloRetryRequest.
    var helloRetryRequestRandom = []byte{ // See RFC 8446, Section 4.1.3.
    	0xCF, 0x21, 0xAD, 0x74, 0xE5, 0x9A, 0x61, 0x11,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 59.1K bytes
    - Viewed (0)
  3. pkg/kubelet/kuberuntime/kuberuntime_container.go

    // To solve this problem, we've already written necessary information into container labels. Here we
    // just need to retrieve them from container labels and restore the specs.
    // TODO(random-liu): Add a node e2e test to test this behaviour.
    // TODO(random-liu): Change the lifecycle handler to just accept information needed, so that we can
    // just pass the needed function not create the fake object.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 54.7K bytes
    - Viewed (0)
  4. cmd/kube-controller-manager/app/options/options_test.go

    	for _, f := range s.Flags([]string{""}, []string{""}, nil).FlagSets {
    		fs.AddFlagSet(f)
    	}
    
    	fs.Parse(args)
    	// Sort GCIgnoredResources because it's built from a map, which means the
    	// insertion order is random.
    	sort.Sort(sortedGCIgnoredResources(s.GarbageCollectorController.GCIgnoredResources))
    
    	expected := &KubeControllerManagerOptions{
    		Generic: &cmoptions.GenericControllerManagerConfigurationOptions{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 02:59:09 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  5. pkg/istio-agent/agent_test.go

    				ID:          "random",
    				IPAddresses: []string{"10.3.3.3"},
    				DNSDomain:   "local",
    			},
    			out: "router~10.3.3.3~random~local",
    		},
    		{
    			in: &Proxy{
    				Type:        model.SidecarProxy,
    				ID:          "random",
    				IPAddresses: []string{"10.3.3.3", "10.4.4.4", "10.5.5.5", "10.6.6.6"},
    				DNSDomain:   "local",
    			},
    			out: "sidecar~10.3.3.3~random~local",
    		},
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  6. src/runtime/alg.go

    	return memhashFallback(x.str, h, uintptr(x.len))
    }
    
    // NOTE: Because NaN != NaN, a map can contain any
    // number of (mostly useless) entries keyed with NaNs.
    // To avoid long hash chains, we assign a random number
    // as the hash value for a NaN.
    
    func f32hash(p unsafe.Pointer, h uintptr) uintptr {
    	f := *(*float32)(p)
    	switch {
    	case f == 0:
    		return c1 * (c0 ^ h) // +0, -0
    	case f != f:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  7. internal/logger/logrotate.go

    	// FileNameFunc must ensure collisions in filenames do not occur.
    	// Do not rely on timestamps to be unique, high throughput writes
    	// may fall on the same timestamp.
    	// Eg.
    	// 	2020-03-28_15-00-945-<random-hash>.log
    	// When FileNameFunc is not specified, DefaultFilenameFunc will be used.
    	FileNameFunc func() string
    
    	// Compress specify if you want the logs to be compressed after rotation.
    	Compress bool
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  8. platforms/core-execution/build-cache-local/src/integTest/groovy/org/gradle/caching/local/internal/AbstractBuildCacheCleanupIntegrationTest.groovy

        abstract boolean existsBuildCacheEntry(String key);
        abstract AbstractIntegrationSpec withEnabledBuildCache();
    
        def setup() {
            def bytes = new byte[1024 * 1024]
            new Random().nextBytes(bytes)
            file("output.txt").bytes = bytes
    
            buildFile << """
                @CacheableTask
                abstract class CustomTask extends DefaultTask {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 16:53:17 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  9. pkg/scheduler/framework/plugins/nodevolumelimits/csi.go

    			return "", ""
    		}
    
    		csiSource = csiPV.Spec.PersistentVolumeSource.CSI
    	}
    
    	return csiSource.Driver, csiSource.VolumeHandle
    }
    
    // getCSIDriverInfoFromSC returns the CSI driver name and a random volume ID of a given PVC's StorageClass.
    func (pl *CSILimits) getCSIDriverInfoFromSC(logger klog.Logger, csiNode *storagev1.CSINode, pvc *v1.PersistentVolumeClaim) (string, string) {
    	namespace := pvc.Namespace
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 18:07:11 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  10. pilot/pkg/serviceregistry/kube/controller/namespacecontroller_test.go

    		constants.CACertNamespaceConfigMapDataName: string(caBundle),
    	}
    	createNamespace(t, client.Kube(), "foo", nil)
    	expectConfigMap(t, nc.configmaps, CACertNamespaceConfigMap, "foo", expectedData)
    
    	// Make sure random configmap does not get updated
    	cmData := createConfigMap(t, client.Kube(), "not-root", "foo", "k")
    	expectConfigMap(t, nc.configmaps, "not-root", "foo", cmData)
    
    	newCaBundle := []byte("caBundle-new")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
Back to top