Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for randPod (3.71 sec)

  1. cmd/server_test.go

    	var buffer bytes.Buffer
    	// data to be written into buffer.
    	data := "1234567890"
    	// seed the random number generator once.
    	rand.Seed(3)
    	// generate a random number between 13 and 200.
    	randInt := getRandomRange(13, 200, -1)
    	// write into buffer till length of the buffer is greater than the generated random number.
    	for i := 0; i <= randInt; i += 10 {
    		buffer.WriteString(data)
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 115.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test.py

            self.filters_0 = np.random.uniform(
                low=-1.0, high=1.0, size=(4, 3)
            ).astype('f4')
            self.bias_0 = np.random.uniform(low=-1.0, high=1.0, size=(3,)).astype(
                'f4'
            )
    
            self.filters_1 = np.random.uniform(
                low=-1.0, high=1.0, size=(4, 3)
            ).astype('f4')
            self.bias_1 = np.random.uniform(low=-1.0, high=1.0, size=(3,)).astype(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 235.6K bytes
    - Viewed (0)
  3. pkg/proxy/nftables/proxier_test.go

    		add chain ip kube-proxy masquerading
    		add rule ip kube-proxy masquerading mark and 0x4000 == 0 return
    		add rule ip kube-proxy masquerading mark set mark xor 0x4000
    		add rule ip kube-proxy masquerading masquerade fully-random
    		add chain ip kube-proxy services
    		add chain ip kube-proxy service-endpoints-check
    		add rule ip kube-proxy service-endpoints-check ip daddr . meta l4proto . th dport vmap @no-endpoint-services
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 173.5K bytes
    - Viewed (0)
  4. src/crypto/x509/x509_test.go

    		panic(err)
    	}
    	return uri
    }
    
    func TestCreateSelfSignedCertificate(t *testing.T) {
    	random := rand.Reader
    
    	ecdsaPriv, err := ecdsa.GenerateKey(elliptic.P256(), rand.Reader)
    	if err != nil {
    		t.Fatalf("Failed to generate ECDSA key: %s", err)
    	}
    
    	ed25519Pub, ed25519Priv, err := ed25519.GenerateKey(random)
    	if err != nil {
    		t.Fatalf("Failed to generate Ed25519 key: %s", err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:00:16 UTC 2024
    - 163.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/oidc/oidc_test.go

    			options: Options{
    				JWTAuthenticator: apiserver.JWTAuthenticator{
    					Issuer: apiserver.Issuer{
    						URL:                 "https://auth.example.com",
    						Audiences:           []string{"random-client", "my-client"},
    						AudienceMatchPolicy: "MatchAny",
    					},
    					ClaimMappings: apiserver.ClaimMappings{
    						Username: apiserver.PrefixedClaimOrExpression{
    							Claim:  "username",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 97.7K bytes
    - Viewed (0)
  6. cluster/gce/gci/configure-helper.sh

      fi
    
      local out=""
      for (( i = 0; i < "${infobytes}"; i += 32 )); do
        # uuids have 122 random bits, sha256 sums have 256 bits, so concatenate
        # three uuids and take their sum. The sum is encoded in ASCII hex, hence the
        # 64 character cut.
        out+="$(
         (
           uuidgen --random;
           uuidgen --random;
           uuidgen --random;
         ) | sha256sum \
           | head -c 64
        )";
      done
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 22:07:47 UTC 2024
    - 141.1K bytes
    - Viewed (0)
  7. pkg/scheduler/internal/queue/scheduling_queue_test.go

    						// - in random case, each pod failed by a random plugin, and also the moveEvent
    						//   is randomized.
    						if tt.name == "baseline" {
    							podInfo = q.newQueuedPodInfo(p)
    						} else if tt.name == "worst" {
    							// Each pod failed by all plugins.
    							podInfo = q.newQueuedPodInfo(p, plugins...)
    						} else {
    							// Random case.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/telemetry/package-lock.json

          "engines": {
            "node": ">=12"
          }
        },
        "node_modules/d3-random": {
          "version": "3.0.1",
          "resolved": "https://registry.npmjs.org/d3-random/-/d3-random-3.0.1.tgz",
          "integrity": "sha512-FXMe9GfxTxqd5D6jFsQ+DJ8BJS4E/fT5mqqdjovykEB2oFbTMDVdg1MGFxfQW+FBOGoB++k8swBrgwSHT1cUXQ==",
          "engines": {
            "node": ">=12"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:57:25 UTC 2024
    - 156K bytes
    - Viewed (0)
  9. pkg/scheduler/schedule_one_test.go

    func TestSchedulerGuaranteeNonNilNodeInSchedulingCycle(t *testing.T) {
    	if goruntime.GOOS == "windows" {
    		// TODO: remove skip once the failing test has been fixed.
    		t.Skip("Skip failing test on Windows.")
    	}
    	random := rand.New(rand.NewSource(time.Now().UnixNano()))
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    
    	var (
    		initialNodeNumber        = 1000
    		initialPodNumber         = 500
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 128.1K bytes
    - Viewed (0)
  10. src/database/sql/sql.go

    // optimized for:
    //
    //   - adding an element
    //   - removing an element (only by the caller who added it)
    //   - taking (get + delete) a random element
    //
    // We previously used a map for this but the take of a random element
    // was expensive, making mapiters. This type avoids a map entirely
    // and just uses a slice.
    type connRequestSet struct {
    	// s are the elements in the set.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 103.6K bytes
    - Viewed (0)
Back to top