Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 282 for Appendp (0.16 sec)

  1. src/cmd/vendor/github.com/ianlancetaylor/demangle/demangle.go

    		arg, templateVal := st.templateParamDecl()
    		if arg == nil {
    			break
    		}
    		templateArgs = append(templateArgs, arg)
    		if template == nil {
    			template = &Template{
    				Name: &Name{Name: "lambda"},
    			}
    			st.templates = append(st.templates, template)
    		}
    		template.Args = append(template.Args, templateVal)
    	}
    
    	var templateArgsConstraint AST
    	if len(st.str) > 0 && st.str[0] == 'Q' {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 94.1K bytes
    - Viewed (0)
  2. pkg/proxy/ipvs/proxier.go

    	for _, set := range ipsetWithIptablesChain {
    		if _, find := proxier.ipsetList[set.name]; find && !proxier.ipsetList[set.name].isEmpty() {
    			args = append(args[:0], "-A", set.from)
    			if set.protocolMatch != "" {
    				args = append(args, "-p", set.protocolMatch)
    			}
    			args = append(args,
    				"-m", "comment", "--comment", proxier.ipsetList[set.name].getComment(),
    				"-m", "set", "--match-set", proxier.ipsetList[set.name].Name,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Apr 28 15:51:23 UTC 2024
    - 77.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/CharMatcher.java

        StringBuilder buf = new StringBuilder((len * 3 / 2) + 16);
    
        int oldpos = 0;
        do {
          buf.append(string, oldpos, pos);
          buf.append(replacement);
          oldpos = pos + 1;
          pos = indexIn(string, oldpos);
        } while (pos != -1);
    
        buf.append(string, oldpos, len);
        return buf.toString();
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 53.8K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top