Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 207 for fmtF (0.11 sec)

  1. 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)
  2. pilot/pkg/networking/core/sidecar_simulation_test.go

    	} {
    		calls = append(calls, simulation.Expect{
    			Name: fmt.Sprintf("%s-%d", call.Protocol, call.Port),
    			Call: call,
    			Result: simulation.Result{
    				ClusterMatched: fmt.Sprintf("outbound|%d||headless.default.svc.cluster.local", call.Port),
    			},
    		})
    	}
    	runSimulationTest(t, nil, xds.FakeOptions{}, simulationTest{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/lib.go

    		argv = append(argv, "-Wl,--nxcompat")
    
    		argv = append(argv, fmt.Sprintf("-Wl,--major-os-version=%d", PeMinimumTargetMajorVersion))
    		argv = append(argv, fmt.Sprintf("-Wl,--minor-os-version=%d", PeMinimumTargetMinorVersion))
    		argv = append(argv, fmt.Sprintf("-Wl,--major-subsystem-version=%d", PeMinimumTargetMajorVersion))
    		argv = append(argv, fmt.Sprintf("-Wl,--minor-subsystem-version=%d", PeMinimumTargetMinorVersion))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/memorymanager/memory_manager_test.go

    					},
    				},
    			},
    			fmt.Sprintf(msgNotEqual, "12", v1.ResourceMemory, "0"),
    		},
    		{
    			"Node Allocatable set, reserved not set",
    			v1.ResourceList{hugepages2M: *resource.NewQuantity(5, resource.DecimalSI)},
    			machineInfo,
    			[]kubeletconfig.MemoryReservation{},
    			fmt.Sprintf(msgNotEqual, "0", hugepages2M, "5"),
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 05 13:01:40 UTC 2023
    - 70.2K bytes
    - Viewed (0)
  5. src/cmd/go/go_test.go

    	// It is not a standard go command flag; use os.Getenv, not cfg.Getenv.
    	if os.Getenv("GO_GCFLAGS") != "" {
    		fmt.Fprintf(os.Stderr, "testing: warning: no tests to run\n") // magic string for cmd/go
    		fmt.Printf("cmd/go test is not compatible with $GO_GCFLAGS being set\n")
    		fmt.Printf("SKIP\n")
    		return
    	}
    
    	flag.Parse()
    
    	if *proxyAddr != "" {
    		StartProxy()
    		select {}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  6. cmd/object-api-multipart_test.go

    		// Cases with invalid bucket name.
    		{bucketName: ".test", objName: "obj", PartID: 1, expectedError: fmt.Errorf("%s", "Bucket name invalid: .test")},
    		{bucketName: "------", objName: "obj", PartID: 1, expectedError: fmt.Errorf("%s", "Bucket name invalid: ------")},
    		{
    			bucketName: "$this-is-not-valid-too", objName: "obj", PartID: 1,
    			expectedError: fmt.Errorf("%s", "Bucket name invalid: $this-is-not-valid-too"),
    		},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 77.1K bytes
    - Viewed (0)
  7. src/strings/strings_test.go

    		for j := 1; j <= 64; j <<= 1 {
    			b.Run(fmt.Sprintf("%d:%d", k, j), func(b *testing.B) {
    				for i := 0; i < b.N; i++ {
    					LastIndexAny(x[:k], cs[:j])
    				}
    			})
    		}
    	}
    }
    
    func BenchmarkTrimASCII(b *testing.B) {
    	cs := "0123456789abcdef"
    	for k := 1; k <= 4096; k <<= 4 {
    		for j := 1; j <= 16; j <<= 1 {
    			b.Run(fmt.Sprintf("%d:%d", k, j), func(b *testing.B) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 53K bytes
    - Viewed (0)
  8. pkg/apis/certificates/validation/validation_test.go

    					Usages:     validUsages,
    					Request:    newCSRPEM(t),
    					SignerName: fmt.Sprintf("%s.example.io/valid-path", repeatString("a", 66)),
    				},
    			},
    			errs: field.ErrorList{
    				field.Invalid(specPath.Child("signerName"), fmt.Sprintf("%s.example.io", repeatString("a", 66)), fmt.Sprintf(`validating label "%s": must be no more than 63 characters`, repeatString("a", 66))),
    			},
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:49 UTC 2023
    - 61K bytes
    - Viewed (0)
  9. cmd/erasure-server-pool.go

    		}
    
    		// Validate if users brought different DeploymentID pools.
    		if deploymentID != formats[i].ID {
    			return nil, fmt.Errorf("all pools must have same deployment ID - expected %s, got %s for pool(%s)", deploymentID, formats[i].ID, humanize.Ordinal(i+1))
    		}
    
    		bootstrapTrace(fmt.Sprintf("newErasureSets: initializing %s pool", humanize.Ordinal(i+1)), func() {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 82.5K bytes
    - Viewed (0)
  10. tests/integration/ambient/baseline_test.go

    		if !f {
    			return fmt.Errorf("X-Request-Id not set, is L7 processing enabled?")
    		}
    		return nil
    	})
    }
    
    func IsL4() echo.Checker {
    	return check.Each(func(r echot.Response) error {
    		// TODO: response headers?
    		_, f := r.RequestHeaders[http.CanonicalHeaderKey("X-Request-Id")]
    		if f {
    			return fmt.Errorf("X-Request-Id set, is L7 processing enabled unexpectedly?")
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 00:07:28 UTC 2024
    - 78.4K bytes
    - Viewed (0)
Back to top