Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for Id (0.04 sec)

  1. staging/src/k8s.io/apiserver/pkg/endpoints/apiserver_test.go

    			handler := handle(storage)
    			server := httptest.NewServer(handler)
    			defer server.Close()
    
    			var id string
    			if test.item {
    				id = "/id"
    			}
    			u, err := url.Parse(server.URL + "/" + prefix + "/" + testGroupVersion.Group + "/" + testGroupVersion.Version + "/namespaces/default/simple" + id)
    			if err != nil {
    				t.Fatal(err)
    			}
    			u.RawQuery = test.params.Encode()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 20:15:22 UTC 2023
    - 158.7K bytes
    - Viewed (0)
  2. src/cmd/go/internal/work/exec.go

    		stats := strings.Split(string(data[:len(data)-len(id)]), "\x00")
    		if len(stats)%2 != 0 {
    			goto Miss
    		}
    		for i := 0; i+2 <= len(stats); i++ {
    			info, err := os.Stat(stats[i])
    			if err != nil || statString(info) != stats[i+1] {
    				goto Miss
    			}
    		}
    		copy(id[:], data[len(data)-len(id):])
    		return id, true
    	Miss:
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
  3. pkg/kubelet/cm/memorymanager/policy_static_test.go

    			},
    			machineInfo: &cadvisorapi.MachineInfo{
    				Topology: []cadvisorapi.Node{
    					{
    						Id:     0,
    						Memory: 2 * gb,
    						HugePages: []cadvisorapi.HugePagesInfo{
    							{
    								// size in KB
    								PageSize: pageSize1Gb,
    								NumPages: 1,
    							},
    						},
    					},
    					{
    						Id:     1,
    						Memory: 2 * gb,
    						HugePages: []cadvisorapi.HugePagesInfo{
    							{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Sep 17 05:49:15 UTC 2023
    - 100.4K bytes
    - Viewed (0)
  4. src/runtime/proc.go

    func (p pMask) read(id uint32) bool {
    	word := id / 32
    	mask := uint32(1) << (id % 32)
    	return (atomic.Load(&p[word]) & mask) != 0
    }
    
    // set sets P id's bit.
    func (p pMask) set(id int32) {
    	word := id / 32
    	mask := uint32(1) << (id % 32)
    	atomic.Or(&p[word], mask)
    }
    
    // clear clears P id's bit.
    func (p pMask) clear(id int32) {
    	word := id / 32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  5. cmd/storage-datatypes_gen.go

    		return
    	}
    	z.MountPath, err = dc.ReadString()
    	if err != nil {
    		err = msgp.WrapError(err, "MountPath")
    		return
    	}
    	z.ID, err = dc.ReadString()
    	if err != nil {
    		err = msgp.WrapError(err, "ID")
    		return
    	}
    	z.Rotational, err = dc.ReadBool()
    	if err != nil {
    		err = msgp.WrapError(err, "Rotational")
    		return
    	}
    	err = z.Metrics.DecodeMsg(dc)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 130.6K bytes
    - Viewed (0)
  6. pkg/kubelet/kubelet_test.go

    	specContainerList := []v1.Container{}
    	for i := 0; i < numContainers; i++ {
    		id := fmt.Sprintf("%v", i)
    		containerName := fmt.Sprintf("%vcontainer", id)
    		expectedOrder = append(expectedOrder, containerName)
    		cStatus := &kubecontainer.Status{
    			ID:   kubecontainer.BuildContainerID("test", id),
    			Name: containerName,
    		}
    		// Rearrange container statuses
    		if i%2 == 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  7. cmd/metrics-v2.go

    					Type:      counterMetric,
    				},
    				VariableLabels: map[string]string{"target_id": st.ID.ID, "target_name": st.ID.Name},
    				Value:          float64(st.FailedRequests),
    			})
    		}
    
    		// Audit and system:
    		audit := logger.CurrentStats()
    		for id, st := range audit {
    			metrics = append(metrics, MetricV2{
    				Description: MetricDescription{
    					Namespace: minioNamespace,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:54 UTC 2024
    - 131.9K bytes
    - Viewed (0)
  8. src/crypto/x509/x509_test.go

    		t.Fatalf("expected to find %d extensions but found %d", len(expected), n)
    	}
    
    	for i, extension := range csr.Extensions {
    		if !extension.Id.Equal(expected[i].Id) {
    			t.Fatalf("extension #%d has unexpected type %v (expected %v)", i, extension.Id, expected[i].Id)
    		}
    
    		if !bytes.Equal(extension.Value, expected[i].Value) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:00:16 UTC 2024
    - 163.4K bytes
    - Viewed (0)
  9. cmd/site-replication.go

    			}
    			if len(info.ILMExpiryRulesStats[id]) == 0 {
    				info.ILMExpiryRulesStats[id] = make(map[string]srILMExpiryRuleStatsSummary)
    			}
    			ilmExpRuleMismatch := !isILMExpRuleReplicated(uRuleCount, numSites, rules)
    			for _, rl := range ilmExpRules {
    				dID := depIdx[rl.DeploymentID]
    				_, hasILMExpRule := sris[dID].ILMExpiryRules[id]
    				info.ILMExpiryRulesStats[id][rl.DeploymentID] = srILMExpiryRuleStatsSummary{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 184.3K bytes
    - Viewed (0)
  10. pkg/kubelet/kubelet_pods_test.go

    				ContainerStatuses: []*kubecontainer.Status{
    					{
    						ID:        kubecontainer.ContainerID{ID: "c1"},
    						Name:      "containerA",
    						StartedAt: time.Unix(1, 0).UTC(),
    						State:     kubecontainer.ContainerStateRunning,
    					},
    					{
    						ID:        kubecontainer.ContainerID{ID: "c2"},
    						Name:      "containerB",
    						StartedAt: time.Unix(2, 0).UTC(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 198.8K bytes
    - Viewed (0)
Back to top