- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 271 for Appendp (0.11 sec)
-
src/cmd/compile/internal/syntax/parser.go
if tag != nil { for i := len(styp.FieldList) - len(styp.TagList); i > 0; i-- { styp.TagList = append(styp.TagList, nil) } styp.TagList = append(styp.TagList, tag) } f := new(Field) f.pos = pos f.Name = name f.Type = typ styp.FieldList = append(styp.FieldList, f) if debug && tag != nil && len(styp.FieldList) != len(styp.TagList) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 62.9K bytes - Viewed (0) -
pkg/controller/disruption/disruption_test.go
var trueVar = true controllerReference = metav1.OwnerReference{UID: rc.UID, APIVersion: controllerKindRC.GroupVersion().String(), Kind: controllerKindRC.Kind, Name: rc.Name, Controller: &trueVar} pod.OwnerReferences = append(pod.OwnerReferences, controllerReference) } func updatePodOwnerToRs(t *testing.T, pod *v1.Pod, rs *apps.ReplicaSet) { var controllerReference metav1.OwnerReference var trueVar = true
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 50K bytes - Viewed (0) -
cmd/iam.go
func (sys *IAMSys) printIAMRoles() { if len(sys.rolesMap) == 0 { return } var arns []string for arn := range sys.rolesMap { arns = append(arns, arn.String()) } sort.Strings(arns) msgs := make([]string, 0, len(arns)) for _, arn := range arns { msgs = append(msgs, color.Bold(arn)) } logger.Info(fmt.Sprintf("%s %s", color.Blue("IAM Roles:"), strings.Join(msgs, " "))) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jun 13 22:26:38 UTC 2024 - 71.9K bytes - Viewed (0) -
src/fmt/fmt_test.go
} if &b[0] != &got[0] { t.Fatalf("Appendf allocated a new slice") } } func TestAppend(t *testing.T) { b := make([]byte, 100) b = b[:copy(b, hello)] got := Append(b, "world", ", ", 23) if string(got) != appendResult { t.Fatalf("Append returns %q not %q", got, appendResult) } if &b[0] != &got[0] { t.Fatalf("Append allocated a new slice") } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:31:55 UTC 2024 - 58.6K bytes - Viewed (0) -
src/os/os_test.go
} err := Remove(f) if err != nil { t.Fatalf("Remove: %v", err) } s = writeFile(t, f, O_CREATE|O_APPEND|O_RDWR, "new&append") if s != "new&append" { t.Fatalf("writeFile: after append have %q want %q", s, "new&append") } s = writeFile(t, f, O_CREATE|O_RDWR, "old") if s != "old&append" { t.Fatalf("writeFile: after create have %q want %q", s, "old&append") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 83.1K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_manager.go
// Order the container updates such that resource decreases are applied before increases switch { case specValue > statusValue: // append changes.ContainersToUpdate[rName] = append(changes.ContainersToUpdate[rName], cUpdateInfo) case specValue < statusValue: // prepend changes.ContainersToUpdate[rName] = append(changes.ContainersToUpdate[rName], containerToUpdateInfo{}) copy(changes.ContainersToUpdate[rName][1:], changes.ContainersToUpdate[rName])
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 22 02:01:31 UTC 2024 - 64.7K bytes - Viewed (0) -
src/cmd/go/internal/test/test.go
} else { base.Errorf("%s", str) } fmt.Printf("FAIL\t%s [setup failed]\n", p.ImportPath) continue } builds = append(builds, buildTest) runs = append(runs, runTest) prints = append(prints, printTest) } // Order runs for coordinating start JSON prints. ch := make(chan struct{}) close(ch) for _, a := range runs {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 14:34:32 UTC 2024 - 71.9K bytes - Viewed (0) -
configure.py
if is_linux(): if int(environ_cp.get('TF_NEED_TENSORRT', False)): cuda_libraries.append('tensorrt') if environ_cp.get('TF_NCCL_VERSION', None): cuda_libraries.append('nccl') if is_windows(): if int(environ_cp.get('TF_NEED_TENSORRT', False)): cuda_libraries.append('tensorrt') print('WARNING: TensorRT support on Windows is experimental\n')
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jun 10 04:32:44 UTC 2024 - 53.8K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/customresource_handler.go
} statusScopes[v.Name] = &statusScope if v.Deprecated { deprecated[v.Name] = true if v.DeprecationWarning != nil { warnings[v.Name] = append(warnings[v.Name], *v.DeprecationWarning) } else { warnings[v.Name] = append(warnings[v.Name], defaultDeprecationWarning(v.Name, crd.Spec)) } } } ret := &crdInfo{ spec: &crd.Spec,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 19:06:46 UTC 2024 - 52.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Iterators.java
return first; } StringBuilder sb = new StringBuilder().append("expected one element but was: <").append(first); for (int i = 0; i < 4 && iterator.hasNext(); i++) { sb.append(", ").append(iterator.next()); } if (iterator.hasNext()) { sb.append(", ..."); } sb.append('>'); throw new IllegalArgumentException(sb.toString()); } /**
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 03 14:46:32 UTC 2024 - 50.2K bytes - Viewed (0)