Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for newBoss (0.15 sec)

  1. 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)
  2. cmd/import-boss/main.go

    	pflag.CommandLine.AddGoFlagSet(flag.CommandLine)
    	pflag.Parse()
    
    	pkgs, err := loadPkgs(pflag.Args()...)
    	if err != nil {
    		klog.Errorf("failed to load packages: %v", err)
    	}
    
    	pkgs = massage(pkgs)
    	boss := newBoss(pkgs)
    
    	var allErrs []error
    	for _, pkg := range pkgs {
    		if pkgErrs := boss.Verify(pkg); pkgErrs != nil {
    			allErrs = append(allErrs, pkgErrs...)
    		}
    	}
    
    	fail := false
    	for _, err := range allErrs {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 12:36:49 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  3. cni/pkg/install/testdata/kubeconfig-newhost

    Ben Leggett <******@****.***> 1691716743 -0400
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Aug 11 01:19:03 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  4. subprojects/core/src/testFixtures/groovy/org/gradle/util/BinaryDiffUtils.groovy

                    int costInsert = cost[i] + 1;
                    int costDelete = newcost[i - 1] + 1;
    
                    // keep minimum cost
                    newcost[i] = Math.min(Math.min(costInsert, costDelete), costReplace);
                }
    
                // swap cost/newcost arrays
                int[] swap = cost; cost = newcost; newcost = swap;
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Oct 14 11:47:34 UTC 2016
    - 2.4K bytes
    - Viewed (0)
  5. 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)
  6. tests/embedded_struct_test.go

    	}
    
    	if hnPost.Title != NewPost.Title {
    		t.Errorf("Should find correct value for embedded pointer type")
    	}
    
    	if hnPost.Author.Name != NewPost.Author.Name {
    		t.Errorf("Expected to get Author name %v but got: %v", NewPost.Author.Name, hnPost.Author.Name)
    	}
    
    	if !reflect.DeepEqual(NewPost.Author.Content, hnPost.Author.Content) {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  7. cmd/peer-rest-server.go

    	deleteBucketRPC                = grid.NewSingleHandler[*grid.MSS, grid.NoPayload](grid.HandlerDeleteBucket, grid.NewMSS, grid.NewNoPayload)
    	deletePolicyRPC                = grid.NewSingleHandler[*grid.MSS, grid.NoPayload](grid.HandlerDeletePolicy, grid.NewMSS, grid.NewNoPayload).IgnoreNilConn()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. cmd/peer-rest-client.go

    	resp, err := getCPUsHandler.Call(ctx, client.gridConn(), grid.NewMSS())
    	return resp.ValueOrZero(), err
    }
    
    // GetNetInfo - fetch network information for a remote node.
    func (client *peerRESTClient) GetNetInfo(ctx context.Context) (info madmin.NetInfo, err error) {
    	resp, err := getNetInfoRPC.Call(ctx, client.gridConn(), grid.NewMSS())
    	return resp.ValueOrZero(), err
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 26.1K bytes
    - Viewed (0)
Back to top