Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for newRows (0.22 sec)

  1. staging/src/k8s.io/cli-runtime/pkg/printers/tableprinter.go

    	if len(columns) != len(valueFuncs) {
    		return fmt.Errorf("cannot prepend columns, unmatched value functions")
    	}
    	if len(columns) == 0 {
    		return nil
    	}
    
    	// Compute the new rows
    	newRows := make([][]interface{}, len(table.Rows))
    	for i := range table.Rows {
    		newCells := make([]interface{}, 0, len(columns)+len(table.Rows[i].Cells))
    
    		if pos == end {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Oct 30 15:08:43 UTC 2022
    - 16.7K bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/google/pprof/internal/driver/tagroot.go

    			leafm = true
    		}
    
    		if len(leavesToAdd)+len(rootsToAdd) == 0 {
    			continue
    		}
    
    		var newLocs []*profile.Location
    		newLocs = append(newLocs, leavesToAdd...)
    		newLocs = append(newLocs, s.Location...)
    		newLocs = append(newLocs, rootsToAdd...)
    		s.Location = newLocs
    	}
    	return
    }
    
    // formatLabelValues returns all the string and numeric labels in Sample, with
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 18:58:12 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiItem.java

        }
    
        public void setNewReading(final String newReading) {
            this.newReading = newReading;
        }
    
        public String getNewPos() {
            return newPos;
        }
    
        public void setNewPos(final String newPos) {
            this.newPos = newPos;
        }
    
        public String getToken() {
            return token;
        }
    
        public String getSegmentation() {
            return segmentation;
        }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. pkg/kubelet/container/runtime_cache_test.go

    	oldpods := []*ctest.FakePod{{Pod: &Pod{ID: "1111"}}}
    	runtime.PodList = oldpods
    	cache.UpdateCacheWithLock()
    
    	// Update the runtime to new pods.
    	newpods := []*ctest.FakePod{{Pod: &Pod{ID: "1111"}}, {Pod: &Pod{ID: "2222"}}, {Pod: &Pod{ID: "3333"}}}
    	runtime.PodList = newpods
    
    	// An older timestamp should not force an update.
    	cache.ForceUpdateIfOlder(ctx, time.Now().Add(-20*time.Minute))
    	actual := cache.GetCachedPods()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Nov 05 13:02:13 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  5. pkg/kubelet/config/common.go

    	if err != nil {
    		return false, pods, err
    	}
    
    	newPods, ok := obj.(*api.PodList)
    	// Check whether the object could be converted to list of pods.
    	if !ok {
    		err = fmt.Errorf("invalid pods list: %#v", obj)
    		return false, pods, err
    	}
    
    	// Apply default values and validate pods.
    	for i := range newPods.Items {
    		newPod := &newPods.Items[i]
    		if newPod.Name == "" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:48 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  6. src/syscall/fs_js.go

    	if err != nil {
    		return 0, err
    	}
    
    	var newPos int64
    	switch whence {
    	case 0:
    		newPos = offset
    	case 1:
    		newPos = f.pos + offset
    	case 2:
    		var st Stat_t
    		if err := Fstat(fd, &st); err != nil {
    			return 0, err
    		}
    		newPos = st.Size + offset
    	default:
    		return 0, errnoErr(EINVAL)
    	}
    
    	if newPos < 0 {
    		return 0, errnoErr(EINVAL)
    	}
    
    	f.seeked = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 11 18:19:17 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  7. cmd/import-boss/main_test.go

    		t.Fatalf("expected 1 pkg result, got %d", len(pkgs))
    	}
    	if pkgs[0].PkgPath != "k8s.io/kubernetes/cmd/import-boss/testdata/simple-fwd/aaa" {
    		t.Fatalf("wrong PkgPath: %q", pkgs[0].PkgPath)
    	}
    
    	boss := newBoss(pkgs)
    	errs := boss.Verify(pkgs[0])
    
    	expect := []string{
    		`"k8s.io/kubernetes/cmd/import-boss/testdata/simple-fwd/aaa" -> "k8s.io/kubernetes/cmd/import-boss/testdata/simple-fwd/forbidden" is forbidden`,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 12:36:49 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  8. pkg/bootstrap/platform/discovery.go

    func Discover(ipv6 bool) Environment {
    	// First check if user has specified platform - use it if provided.
    	if len(CloudPlatform) > 0 {
    		switch strings.ToLower(CloudPlatform) {
    		case "aws":
    			return NewAWS(ipv6)
    		case "azure":
    			return NewAzure()
    		case "gcp":
    			return NewGCP()
    		case "none":
    			return &Unknown{}
    		}
    	}
    	// Discover the platform if user has not specified.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  9. src/mdo/model.vm

                Map<Object, InputLocation> newlocs = this.locations != null ? this.locations : Collections.emptyMap();
                Map<Object, InputLocation> oldlocs = this.base != null && this.base.locations != null ? this.base.locations : Collections.emptyMap();
                Map<Object, InputLocation> locations = new HashMap<>();
                locations.put("", newlocs.containsKey("") ? newlocs.get("") : oldlocs.get(""));
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 07 21:28:01 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  10. pkg/bootstrap/platform/aws.go

    }
    
    type awsEnv struct {
    	region           string
    	availabilityZone string
    	instanceID       string
    }
    
    // NewAWS returns a platform environment customized for AWS.
    // Metadata returned by the AWS Environment is taken link-local address running on each node.
    func NewAWS(ipv6 bool) Environment {
    	headers := requestHeaders(ipv6)
    
    	return &awsEnv{
    		region:           getRegion(ipv6, headers),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 09 03:52:10 UTC 2023
    - 4.3K bytes
    - Viewed (0)
Back to top