Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 101 for Nodes (0.05 sec)

  1. pkg/controller/volume/attachdetach/reconciler/reconciler_test.go

    		nodeLister := informerFactory.Core().V1().Nodes().Lister()
    		nsu := statusupdater.NewFakeNodeStatusUpdater(false /* returnError */)
    		rc := NewReconciler(
    			reconcilerLoopPeriod, maxWaitForUnmountDuration, syncLoopPeriod, false, false, dsw, asw, ad, nsu, nodeLister, fakeRecorder)
    
    		nodes := []k8stypes.NodeName{}
    		for _, n := range test.nodes {
    			dsw.AddNode(n.name)
    			nodes = append(nodes, n.name)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 07:00:14 UTC 2024
    - 72.8K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/noderesources/fit_test.go

    			snapshot := cache.NewSnapshot(test.existingPods, test.nodes)
    			fh, _ := runtime.NewFramework(ctx, nil, nil, runtime.WithSnapshotSharedLister(snapshot))
    			args := test.nodeResourcesFitArgs
    			p, err := NewFit(ctx, &args, fh, plfeature.Features{})
    			if err != nil {
    				t.Fatalf("unexpected error: %v", err)
    			}
    
    			var gotPriorities framework.NodeScoreList
    			for _, n := range test.nodes {
    				if test.runPreScore {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 57.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/mark_for_compilation_pass_test.cc

                                    std::vector<FunctionDefHelper::Node> nodes) {
      for (auto& n : nodes) {
        if (n.attr.empty()) {
          n.attr = {{"T", DT_FLOAT}};
        }
      }
      *g = FunctionDefHelper::Define(
          // Arg defs
          {"x: float", "dy: float"},
          // Ret val defs
          {"dx: float"},
          // Attr defs
          {},
          // Nodes
          nodes);
      return absl::OkStatus();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 14 10:11:10 UTC 2024
    - 79.6K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/volumebinding/binder_test.go

    			initPVCs:   []*v1.PersistentVolumeClaim{boundPVCNode1a},
    			nodes:      []*v1.Node{node1NoLabels},
    			shouldFail: true,
    		},
    		"node-affinity-fails-dynamic-provisioning": {
    			initPVs:          []*v1.PersistentVolume{pvNode1a, pvNode2},
    			initPVCs:         []*v1.PersistentVolumeClaim{selectedNodePVC},
    			claimToProvision: selectedNodePVC,
    			nodes:            []*v1.Node{node1, node2},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test_base.py

            nodes=graphdef.node,
            op_name=op_name,
            attr_name=attr_name,
            attr_val=attr_val,
            node_name=node_name,
        ):
          return True
    
        # Check the graph genederated from user defined functions
        for func in graphdef.library.function:
          if self._contains_op_with_name_and_attribute(
              nodes=func.node_def,
              op_name=op_name,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 21 08:51:46 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  6. tensorflow/c/c_api_function_test.cc

                           const std::unordered_set<string>& nodes) {
        ASSERT_EQ(nodes.size(), fdef.node_def_size())
            << "Got unexpected number of nodes. Expected: ["
            << absl::StrJoin(nodes, ", ")
            << "] Actual nodes in fdef: " << fdef.DebugString();
        for (const NodeDef& node_def : fdef.node_def()) {
          ASSERT_TRUE(nodes.find(node_def.name()) != nodes.end())
              << "Got unexpected node: " << node_def.name()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (0)
  7. pkg/scheduler/framework/plugins/dynamicresources/dynamicresources.go

    	logger.V(5).Info("remembering potential nodes", "pod", klog.KObj(pod), "potentialnodes", klog.KObjSlice(nodes))
    	numNodes := len(nodes)
    	if numNodes > resourcev1alpha2.PodSchedulingNodeListMaxSize {
    		numNodes = resourcev1alpha2.PodSchedulingNodeListMaxSize
    	}
    	potentialNodes := make([]string, 0, numNodes)
    	if numNodes == len(nodes) {
    		// Copy all node names.
    		for _, node := range nodes {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 15:22:37 UTC 2024
    - 75.9K bytes
    - Viewed (0)
  8. pkg/controller/daemon/daemon_controller.go

    	}
    
    	return nil
    }
    
    // manage manages the scheduling and running of Pods of ds on nodes.
    // After figuring out which nodes should run a Pod of ds but not yet running one and
    // which nodes should not run a Pod of ds but currently running one, it calls function
    // syncNodes with a list of pods to remove and a list of nodes to run a Pod of ds.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 51.3K bytes
    - Viewed (0)
  9. pkg/scheduler/framework/runtime/framework.go

    func (f *frameworkImpl) runPreScorePlugin(ctx context.Context, pl framework.PreScorePlugin, state *framework.CycleState, pod *v1.Pod, nodes []*framework.NodeInfo) *framework.Status {
    	if !state.ShouldRecordPluginMetrics() {
    		return pl.PreScore(ctx, state, pod, nodes)
    	}
    	startTime := time.Now()
    	status := pl.PreScore(ctx, state, pod, nodes)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 60.9K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/execution/plan/DefaultExecutionPlanParallelTest.groovy

        Node node(Map<String, ?> options = [:], String name) {
            def dependencies = nodes(options.dependsOn)
            def preExecute = nodes(options.preNodes)
            def postExecute = nodes(options.postNodes)
            def node = new TestNode(name, dependencies, preExecute, postExecute, options.failure)
            return node
        }
    
        List<Node> nodes(Object value) {
            if (value == null) {
                return []
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 22:18:26 UTC 2024
    - 93.5K bytes
    - Viewed (0)
Back to top