Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 187 for vfprintf (0.3 sec)

  1. pkg/controller/endpointslice/endpointslice_controller_test.go

    			Name:              fmt.Sprintf("pod%d", n),
    			Labels:            map[string]string{"foo": "bar"},
    			DeletionTimestamp: deletionTimestamp,
    			ResourceVersion:   fmt.Sprint(n),
    		},
    		Spec: v1.PodSpec{
    			Containers: []v1.Container{{
    				Name: "container-1",
    			}},
    			NodeName: "node-1",
    		},
    		Status: v1.PodStatus{
    			PodIP: fmt.Sprintf("1.2.3.%d", 4+n),
    			PodIPs: []v1.PodIP{{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:33:32 UTC 2024
    - 65.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_whitebox_test.go

    	makePod := func(i int) *examplev1.Pod {
    		return &examplev1.Pod{
    			ObjectMeta: metav1.ObjectMeta{
    				Name:            fmt.Sprintf("pod-%d", 1000+i),
    				Namespace:       "ns",
    				ResourceVersion: fmt.Sprintf("%d", 1000+i),
    			},
    		}
    	}
    	if err := cacher.watchCache.Add(makePod(0)); err != nil {
    		t.Errorf("error: %v", err)
    	}
    
    	totalPods := 100
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 82.9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/storage/testing/watcher_tests.go

    		watchTests []*testWatchStruct
    	}{{
    		name:       "create a key",
    		namespace:  fmt.Sprintf("test-ns-1-%t", recursive),
    		watchTests: []*testWatchStruct{{basePod, true, watch.Added}},
    		pred:       storage.Everything,
    	}, {
    		name:       "key updated to match predicate",
    		namespace:  fmt.Sprintf("test-ns-2-%t", recursive),
    		watchTests: []*testWatchStruct{{basePod, false, ""}, {basePodAssigned, true, watch.Added}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/cluster_tls_test.go

    			expectTransportSocketMatch: false,
    			validateTLSContext: func(t *testing.T, ctx *tls.UpstreamTlsContext) {
    				rootName := "file-root:" + mutualTLSSettingsWithCerts.CaCertificates
    				certName := fmt.Sprintf("file-cert:%s~%s", mutualTLSSettingsWithCerts.ClientCertificate, mutualTLSSettingsWithCerts.PrivateKey)
    				if got := ctx.CommonTlsContext.GetCombinedValidationContext().GetValidationContextSdsSecretConfig().GetName(); rootName != got {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 03:53:05 UTC 2024
    - 60.9K bytes
    - Viewed (0)
  5. src/net/http/fs_test.go

    		testFile := &fakeFileInfo{basename: test.name}
    		fs[fmt.Sprintf("/%d", i)] = &fakeFileInfo{
    			dir:     true,
    			modtime: time.Unix(1000000000, 0).UTC(),
    			ents:    []*fakeFileInfo{testFile},
    		}
    		fs[fmt.Sprintf("/%d/%s", i, test.name)] = testFile
    	}
    
    	ts := newClientServerTest(t, mode, FileServer(&fs)).ts
    	for i, test := range tests {
    		url := fmt.Sprintf("%s/%d", ts.URL, i)
    		res, err := ts.Client().Get(url)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 23:39:44 UTC 2024
    - 49.9K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/certificates/v1/generated.pb.go

    		`Type:` + fmt.Sprintf("%v", this.Type) + `,`,
    		`Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
    		`Message:` + fmt.Sprintf("%v", this.Message) + `,`,
    		`LastUpdateTime:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.LastUpdateTime), "Time", "v1.Time", 1), `&`, ``, 1) + `,`,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 53.7K bytes
    - Viewed (0)
  7. cmd/test-utils_test.go

    	bufReader := bufio.NewReader(req.Body)
    	_, chunkSignature, err := readChunkLine(bufReader)
    	if err != nil {
    		return nil, err
    	}
    
    	n := badSize
    	newHexChunkSize := []byte(fmt.Sprintf("%x", n))
    	newChunkHdr := []byte(fmt.Sprintf("%s"+s3ChunkSignatureStr+"%s\r\n",
    		newHexChunkSize, chunkSignature))
    	newChunk, err := io.ReadAll(bufReader)
    	if err != nil {
    		return nil, err
    	}
    
    	newReq := req
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 76.9K bytes
    - Viewed (0)
  8. cmd/bucket-handlers.go

    		}
    		if err != nil {
    			apiErr := errorCodes.ToAPIErr(ErrMalformedPOSTRequest)
    			apiErr.Description = fmt.Sprintf("%s (%v)", apiErr.Description, err)
    			writeErrorResponse(ctx, w, apiErr, r.URL)
    			return
    		}
    		if maxParts <= 0 {
    			apiErr := errorCodes.ToAPIErr(ErrMalformedPOSTRequest)
    			apiErr.Description = fmt.Sprintf("%s (%v)", apiErr.Description, multipart.ErrMessageTooLarge)
    			writeErrorResponse(ctx, w, apiErr, r.URL)
    			return
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 61.2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/storage/v1alpha1/generated.pb.go

    		`ObjectMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ObjectMeta), "ObjectMeta", "v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
    		`NodeTopology:` + strings.Replace(fmt.Sprintf("%v", this.NodeTopology), "LabelSelector", "v1.LabelSelector", 1) + `,`,
    		`StorageClassName:` + fmt.Sprintf("%v", this.StorageClassName) + `,`,
    		`Capacity:` + strings.Replace(fmt.Sprintf("%v", this.Capacity), "Quantity", "resource.Quantity", 1) + `,`,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 76.5K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation.go

    		// also in such cases the cost estimation is generally large enough to not add any value
    		factor = fmt.Sprintf("more than 100x")
    	} else if exceedFactor < 1.5 {
    		factor = fmt.Sprintf("%fx", exceedFactor) // avoid reporting "exceeds budge by a factor of 1.0x"
    	} else {
    		factor = fmt.Sprintf("%.1fx", exceedFactor)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 82.6K bytes
    - Viewed (0)
Back to top