Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for newBoss (0.12 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. 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)
  4. 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)
  5. 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)
  6. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/apf_controller.go

    // names.
    func (meal *cfgMeal) digestFlowSchemasLocked(newFSs []*flowcontrol.FlowSchema) {
    	fsSeq := make(apihelpers.FlowSchemaSequence, 0, len(newFSs))
    	fsMap := make(map[string]*flowcontrol.FlowSchema, len(newFSs))
    	var haveExemptFS, haveCatchAllFS bool
    	for i, fs := range newFSs {
    		otherFS := fsMap[fs.Name]
    		if otherFS != nil {
    			// This client is forbidden to do this.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 48.8K bytes
    - Viewed (0)
  7. cmd/bootstrap-peer-server.go

    	return getServerSystemCfg(), nil
    }
    
    var serverVerifyHandler = grid.NewSingleHandler[*grid.MSS, *ServerSystemConfig](grid.HandlerServerVerify, grid.NewMSS, func() *ServerSystemConfig { return &ServerSystemConfig{} })
    
    // registerBootstrapRESTHandlers - register bootstrap rest router.
    func registerBootstrapRESTHandlers(gm *grid.Manager) {
    	server := &bootstrapRESTServer{}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_sequencing.cc

              if (!operations->contains(successor) &&
                  !ops_to_avoid.contains(successor)) {
                new_ops.insert(successor);
                operations->insert(successor);
              }
            }
          }
        }
        ops_to_process.swap(new_ops);
        new_ops.clear();
      }
    }
    
    TF::StatefulPartitionedCallOp MakeFuncCaller(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  9. pkg/kubelet/config/config.go

    	}
    
    	// updatePodFunc is the local function which updates the pod cache *oldPods* with new pods *newPods*.
    	// After updated, new pod will be stored in the pod cache *pods*.
    	// Notice that *pods* and *oldPods* could be the same cache.
    	updatePodsFunc := func(newPods []*v1.Pod, oldPods, pods map[types.UID]*v1.Pod) {
    		filtered := filterInvalidPods(newPods, source, s.recorder)
    		for _, ref := range filtered {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  10. cni/pkg/install/kubeconfig_test.go

    	}
    	// Write out a kubeconfig with one cert
    	result, err = createKubeConfig(newCfg)
    	if err != nil {
    		t.Fatalf("did not expect failure: %v", err)
    	}
    	goldenNewFilepath := "testdata/kubeconfig-newhost"
    	testutils.CompareContent(t, []byte(result.Full), goldenNewFilepath)
    }
    
    func TestCheckNoExistingKubeConfig(t *testing.T) {
    	tmp := t.TempDir()
    	os.WriteFile(filepath.Join(tmp, "token"), []byte(saToken), 0o644)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 21:52:29 UTC 2024
    - 5.1K bytes
    - Viewed (0)
Back to top