Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for testkey (0.19 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/etcd3/store_test.go

    	testCases := []struct {
    		key                 string
    		expectAttachedCount int64
    	}{
    		{
    			key:                 "testkey1",
    			expectAttachedCount: 1,
    		},
    		{
    			key:                 "testkey2",
    			expectAttachedCount: 2,
    		},
    		{
    			key: "testkey3",
    			// We assume each time has 1 object attached to the lease
    			// so after granting a new lease, the recorded count is set to 1
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  2. src/math/rand/rand_test.go

    	testFe = make([]float32, 256)
    
    	q := ve / math.Exp(-de)
    	testKe[0] = uint32((de / q) * m2)
    	testKe[1] = 0
    	testWe[0] = float32(q / m2)
    	testWe[255] = float32(de / m2)
    	testFe[0] = 1.0
    	testFe[255] = float32(math.Exp(-de))
    	for i := 254; i >= 1; i-- {
    		de = -math.Log(ve/de + math.Exp(-de))
    		testKe[i+1] = uint32((de / te) * m2)
    		te = de
    		testFe[i] = float32(math.Exp(-de))
    		testWe[i] = float32(de / m2)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/util/jsonmergepatch/patch_test.go

        originalObj:
          listKey: []
        expectedWithNull: {}
        expectedWithoutNull:
          listKey: []
      - description: list of primitives
        originalObj:
          listKey:
          - 1
          - 2
        expectedWithNull: {}
        expectedWithoutNull:
          listKey:
          - 1
          - 2
      - description: list of maps
        originalObj:
          listKey:
          - k1: v1
          - k2: null
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  4. src/math/rand/v2/rand_test.go

    	testFe = make([]float32, 256)
    
    	q := ve / math.Exp(-de)
    	testKe[0] = uint32((de / q) * m2)
    	testKe[1] = 0
    	testWe[0] = float32(q / m2)
    	testWe[255] = float32(de / m2)
    	testFe[0] = 1.0
    	testFe[255] = float32(math.Exp(-de))
    	for i := 254; i >= 1; i-- {
    		de = -math.Log(ve/de + math.Exp(-de))
    		testKe[i+1] = uint32((de / te) * m2)
    		te = de
    		testFe[i] = float32(math.Exp(-de))
    		testWe[i] = float32(de / m2)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  5. cmd/iam-object-store.go

    		if item.Err != nil {
    			return nil, item.Err
    		}
    
    		lastIndex := strings.HasPrefix(item.Item, policyDBPrefix)
    		listKey, trimmedItem := splitPath(item.Item, lastIndex)
    		if listKey == iamFormatFile {
    			continue
    		}
    
    		res[listKey] = append(res[listKey], trimmedItem)
    	}
    
    	return res, nil
    }
    
    // Assumes cache is locked by caller.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/server/options/serving_test.go

    			config.EnableIndex = true
    			secureOptions := (&SecureServingOptions{
    				BindAddress: netutils.ParseIPSloppy("127.0.0.1"),
    				BindPort:    6443,
    				ServerCert: GeneratableKeyCert{
    					CertKey: CertKey{
    						CertFile: serverCertBundleFile,
    						KeyFile:  serverKeyFile,
    					},
    				},
    				DisableHTTP2Serving: true,
    				SNICertKeys:         namedCertKeys,
    			}).WithLoopback()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 15:52:39 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/storage/etcd3/store.go

    		return err
    	}
    
    	if withRev != 0 {
    		options = append(options, clientv3.WithRev(withRev))
    	}
    
    	// loop until we have filled the requested limit from etcd or there are no more results
    	var lastKey []byte
    	var hasMore bool
    	var getResp *clientv3.GetResponse
    	var numFetched int
    	var numEvald int
    	// Because these metrics are for understanding the costs of handling LIST requests,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 11:56:42 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  8. src/go/build/deps_test.go

    	< internal/fuzz;
    
    	OS, flag, testing, internal/cfg, internal/platform, internal/goroot
    	< internal/testenv;
    
    	OS, encoding/base64
    	< internal/obscuretestdata;
    
    	CGO, OS, fmt
    	< internal/testpty;
    
    	NET, testing, math/rand
    	< golang.org/x/net/nettest;
    
    	syscall
    	< os/exec/internal/fdtest;
    
    	FMT, sort
    	< internal/diff;
    
    	FMT
    	< internal/txtar;
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 16:41:13 UTC 2024
    - 19.2K bytes
    - Viewed (0)
Back to top