- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 104 for swiftc (0.1 sec)
-
cmd/bucket-handlers_test.go
} // Since `apiRouter` satisfies `http.Handler` it has a ServeHTTP to execute the logic of the handler. // Call the ServeHTTP to execute the handler. apiRouter.ServeHTTP(rec, req) switch rec.Code { case http.StatusOK, http.StatusCreated, http.StatusAccepted, http.StatusNoContent: t.Fatalf("Test %v: expected failure, but succeeded with %v", instanceType, rec.Code) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:50:49 UTC 2024 - 39.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableTable.java
* added. * * @throws IllegalArgumentException if duplicate key pairs were added * @since 31.0 */ public ImmutableTable<R, C, V> buildOrThrow() { int size = cells.size(); switch (size) { case 0: return of(); case 1: return new SingletonImmutableTable<>(Iterables.getOnlyElement(cells)); default:
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sun Jun 02 13:36:19 UTC 2024 - 17.5K bytes - Viewed (0) -
cmd/erasure.go
dataCount := er.setDriveCount - er.defaultParityCount if dataCount == er.defaultParityCount { return dataCount + 1 } return dataCount } func diskErrToDriveState(err error) (state string) { switch { case errors.Is(err, errDiskNotFound) || errors.Is(err, context.DeadlineExceeded): state = madmin.DriveStateOffline case errors.Is(err, errCorruptedFormat) || errors.Is(err, errCorruptedBackend):
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 16K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
* * <p>This class incurs IO because it scans the classpath and reads classpath resources. * * @author Ben Yu * @since 14.0 */ // TODO: Switch to JUnit 4 and use @Parameterized and @BeforeClass // Note: @Test annotations are deliberate, as some subclasses specify @RunWith(JUnit4). @GwtIncompatible @J2ktIncompatible
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 17.4K bytes - Viewed (0) -
src/encoding/csv/reader.go
for { i := bytes.IndexByte(line, '"') if i >= 0 { // Hit next quote. r.recordBuffer = append(r.recordBuffer, line[:i]...) line = line[i+quoteLen:] pos.col += i + quoteLen switch rn := nextRune(line); { case rn == '"': // `""` sequence (append quote). r.recordBuffer = append(r.recordBuffer, '"') line = line[quoteLen:] pos.col += quoteLen case rn == r.Comma:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 21:32:28 UTC 2024 - 14.2K bytes - Viewed (0) -
src/index/suffixarray/suffixarray_test.go
} } } b.StartTimer() b.SetBytes(int64(len(data))) for i := 0; i < b.N; i++ { New(data) } } func makeText(name string) ([]byte, error) { var data []byte switch name { case "opticks": var err error data, err = os.ReadFile("../../testdata/Isaac.Newton-Opticks.txt") if err != nil { return nil, err } case "go":
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 14.1K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/ambient/workloads.go
TargetPort: targetPort, }) } } return res } func workloadNameAndType(pod *v1.Pod) (string, workloadapi.WorkloadType) { objMeta, typeMeta := kubeutil.GetDeployMetaFromPod(pod) switch typeMeta.Kind { case "Deployment": return objMeta.Name, workloadapi.WorkloadType_DEPLOYMENT case "Job": return objMeta.Name, workloadapi.WorkloadType_JOB case "CronJob":
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 16:51:29 UTC 2024 - 20.9K bytes - Viewed (0) -
pkg/bootstrap/instance_test.go
return out.Bytes() } func checkListStringMatcher(t *testing.T, got *matcher.ListStringMatcher, want string, typ string) { var patterns []string for _, pattern := range got.GetPatterns() { var pat string switch typ { case "prefix": pat = pattern.GetPrefix() case "suffix": pat = pattern.GetSuffix() case "regexp": // Migration tracked in https://github.com/istio/istio/issues/17127 //nolint: staticcheck
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 16 17:05:28 UTC 2024 - 19.5K bytes - Viewed (0) -
pkg/controlplane/instance_test.go
if kt.Kind() == reflect.Ptr && kt.Elem().PkgPath() == reflect.TypeOf(corerest.Config{}).PkgPath() { kt = reflect.TypeOf(&corerest.GenericConfig{}) } if kt == gt { g++ continue } switch kube[k].(type) { case autoscalingrest.RESTStorageProvider, batchrest.RESTStorageProvider, discoveryrest.StorageProvider, networkingrest.RESTStorageProvider, noderest.RESTStorageProvider,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 03 11:50:04 UTC 2024 - 21.5K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/noderesources/fit.go
for rName, rValue := range podRequests { if rValue.IsZero() { // We only care about the resources requested by the pod we are trying to schedule. continue } switch rName { case v1.ResourceCPU: if originalMaxResourceReq.MilliCPU > modifiedMaxResourceReq.MilliCPU { return true } case v1.ResourceMemory:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 13:26:09 UTC 2024 - 20.2K bytes - Viewed (0)