- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 81 for fmtE (0.05 sec)
-
cmd/server_test.go
// Content for the object to be uploaded. buffer := bytes.NewReader([]byte("hello world")) // make long object name. longObjName := fmt.Sprintf("%0255d/%0255d/%0255d", 1, 1, 1) if IsDocker() || IsKubernetes() { longObjName = fmt.Sprintf("%0242d/%0242d/%0242d", 1, 1, 1) } // create new HTTP request to insert the object.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 115.3K bytes - Viewed (0) -
src/net/http/server.go
// so as to mitigate the risk of cross side scripting by an attacker. fmt.Fprintf(c.rwc, "HTTP/1.1 %d %s%sUnsupported transfer encoding", code, StatusText(code), errorHeaders) return case isCommonNetReadError(err): return // don't reply default: if v, ok := err.(statusError); ok {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 17:57:01 UTC 2024 - 123.4K bytes - Viewed (0) -
src/cmd/link/internal/ld/data.go
if r.Weak() { continue } return fmt.Errorf("dynamic relocation to unreachable symbol %s", ctxt.loader.SymName(targ)) } tgot := ctxt.loader.SymGot(targ) if tgot == loadpe.RedirectToDynImportGotToken { // Consistency check: name should be __imp_X sname := ctxt.loader.SymName(targ) if !strings.HasPrefix(sname, "__imp_") {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 12 15:10:50 UTC 2024 - 100.5K bytes - Viewed (0) -
pkg/api/pod/util_test.go
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package pod import ( "fmt" "reflect" "strings" "testing" "github.com/google/go-cmp/cmp" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" v1 "k8s.io/api/core/v1"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 108.8K bytes - Viewed (0) -
pkg/proxy/ipvs/proxier_test.go
if f.ipvsErr == "AddVirtualServer" { return fmt.Errorf("oops") } f.vsCreated = true return nil } func (f *fakeIpvs) UpdateVirtualServer(*utilipvs.VirtualServer) error { return nil } func (f *fakeIpvs) DeleteVirtualServer(*utilipvs.VirtualServer) error { if f.ipvsErr == "DeleteVirtualServer" { return fmt.Errorf("oops") } return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 27 01:31:57 UTC 2024 - 186.8K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go
ValsEqualThemselvesAndDataLiteral("self.val1", "self.val2", fmt.Sprintf("%d", math.MaxInt64)), ValsEqualThemselvesAndDataLiteral("self.val3", "self.val4", fmt.Sprintf("%d", math.MaxInt32)), ValsEqualThemselvesAndDataLiteral("self.val5", "self.val6", fmt.Sprintf("%d", math.MaxInt64)), "self.val1 == self.val6", // integer with no format is the same as int64 "type(self.val1) == int",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 17:14:10 UTC 2024 - 159.9K bytes - Viewed (0) -
src/cmd/go/alldocs.go
// different sets of packages. If a package matches patterns given in // multiple flags, the latest match on the command line wins. // For example, 'go build -gcflags=-S fmt' prints the disassembly // only for package fmt, while 'go build -gcflags=all=-S fmt' // prints the disassembly for fmt and all its dependencies. // // For more about specifying packages, see 'go help packages'. // For more about where packages and binaries are installed,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 16:54:28 UTC 2024 - 142.4K bytes - Viewed (0) -
pkg/controller/nodelifecycle/node_lifecycle_controller_test.go
}, } } return nodes } makePods := func() []v1.Pod { pods := make([]v1.Pod, numNodes*podsPerNode) for i := 0; i < numNodes*podsPerNode; i++ { pods[i] = *testutil.NewPod(fmt.Sprintf("pod%d", i), fmt.Sprintf("node%d", i%numNodes)) } return pods } table := []struct { workers int }{ {workers: 0}, // will default to scheduler.UpdateWorkerSize {workers: 1}, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 26 03:26:45 UTC 2024 - 119K bytes - Viewed (0) -
cmd/object-handlers_test.go
// Read first byte of object fmt.Sprintf("bytes=%d-%d", 0, 0), // Read second byte of object fmt.Sprintf("bytes=%d-%d", 1, 1), // Read last byte of object fmt.Sprintf("bytes=-%d", 1), // Read all but first byte of object "bytes=1-", // Read first half of object fmt.Sprintf("bytes=%d-%d", 0, objLen/2), // Read last half of object fmt.Sprintf("bytes=-%d", objLen/2),
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:50:49 UTC 2024 - 161.9K bytes - Viewed (0) -
pkg/controller/job/job_controller_test.go
for i, pod := range tc.pods { pod := pod pb := podBuilder{Pod: &pod}.name(fmt.Sprintf("mypod-%d", i)).job(job) if job.Spec.CompletionMode != nil && *job.Spec.CompletionMode == batch.IndexedCompletion { pb.index(fmt.Sprintf("%v", i)) } pb = pb.trackingFinalizer() sharedInformerFactory.Core().V1().Pods().Informer().GetIndexer().Add(pb.Pod) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 15:36:36 UTC 2024 - 229.2K bytes - Viewed (0)