Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of about 10,000 for Reserve (0.19 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/constant_fold.cc

      if (std::any_of(operands.begin(), operands.end(), [](Attribute attr) {
            return !attr || !mlir::isa<ElementsAttr>(attr);
          }))
        return failure();
    
      SmallVector<ElementsAttr, 4> inputs;
      inputs.reserve(operands.size());
      for (auto input : operands) {
        inputs.push_back(mlir::cast<ElementsAttr>(input));
      }
    
      SmallVector<Attribute> constants;
      LogicalResult status = EvaluateOperation(inst, inputs, constants);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. src/cmd/link/internal/mips64/asm.go

    	if gotplt.Size() != 0 {
    		ctxt.Errorf(gotplt.Sym(), "got.plt is not empty")
    	}
    
    	// Reserve got[0] for resolver address (populated by dynamic loader).
    	gotplt.AddUint32(ctxt.Arch, 0)
    	gotplt.AddUint32(ctxt.Arch, 0)
    	gotLocalCount++
    
    	// Reserve got[1] for ELF object pointer (populated by dynamic loader).
    	gotplt.AddUint32(ctxt.Arch, 0)
    	gotplt.AddUint32(ctxt.Arch, 0)
    	gotLocalCount++
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:58:20 UTC 2023
    - 11K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/types_test.go

    		},
    		{
    			name:        "failed to Reserve on node",
    			numAllNodes: 1,
    			diagnosis: Diagnosis{
    				NodeToStatusMap: NodeToStatusMap{
    					// There should be only one node here.
    					"node1": NewStatus(Unschedulable, "Node failed Reserve plugin Reserve-1"),
    				},
    			},
    			wantReasonMsg: "0/1 nodes are available: 1 Node failed Reserve plugin Reserve-1.",
    		},
    	}
    	for _, tt := range tests {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 45.9K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/dynamicresources/dynamicresources.go

    	}
    	for _, node := range nodes {
    		if !slices.Contains(schedulingCtx.Spec.PotentialNodes, node.Node().Name) {
    			return false
    		}
    	}
    	return true
    }
    
    // Reserve reserves claims for the pod.
    func (pl *dynamicResources) Reserve(ctx context.Context, cs *framework.CycleState, pod *v1.Pod, nodeName string) (status *framework.Status) {
    	if !pl.enabled {
    		return nil
    	}
    	state, err := getStateData(cs)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 15:22:37 UTC 2024
    - 75.9K bytes
    - Viewed (0)
  5. pkg/kubelet/apis/config/types.go

    	// This flag accepts a list of options. Acceptable options are `pods`, `system-reserved` & `kube-reserved`.
    	// Refer to [Node Allocatable](https://kubernetes.io/docs/tasks/administer-cluster/reserve-compute-resources/#node-allocatable) doc for more information.
    	EnforceNodeAllocatable []string
    	// This option specifies the cpu list reserved for the host level system threads and kubernetes related threads.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 21:10:42 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

        const FunctionBody& fbody, absl::InlinedVector<OutputTensor, 4>* arg_nodes,
        absl::InlinedVector<OutputTensor, 4>* ret_nodes,
        absl::InlinedVector<Node*, 4>* control_ret_nodes) {
      arg_nodes->reserve(fbody.arg_nodes.size());
      ret_nodes->reserve(fbody.ret_nodes.size());
      for (auto arg : fbody.arg_nodes) {
        arg_nodes->emplace_back(arg, 0);
      }
      for (auto ret : fbody.ret_nodes) {
        ret_nodes->emplace_back(ret, 0);
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfrt/tests/tfrt_fallback/batch_function_fallback_benchmark_test.cc

                                                        tfrt::HostContext* host) {
      Tensor tensor(DataType::DT_INT32, TensorShape({1}));
      std::vector<tfrt::RCReference<tfrt::AsyncValue>> arguments;
      arguments.reserve(func->argument_types().size());
      arguments.push_back(tfrt::GetReadyChain());
      for (int i = 1, e = func->argument_types().size(); i < e; ++i) {
        arguments.push_back(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Dec 08 08:08:48 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  8. src/runtime/malloc_test.go

    	// fallback hints.
    	for i := 0; i < 5; i++ {
    		// Reserve memory at the next hint so it can't be used
    		// for the heap.
    		start, end, ok := MapNextArenaHint()
    		if !ok {
    			t.Skipf("failed to reserve memory at next arena hint [%#x, %#x)", start, end)
    		}
    		t.Logf("reserved [%#x, %#x)", start, end)
    		disallowed = append(disallowed, [2]uintptr{start, end})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:29 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/cluster_formation.cc

      return_builder.create<tf_device::ReturnOp>(return_builder.getUnknownLoc(),
                                                 live_outs);
    
      llvm::SmallVector<Type, 4> live_out_types;
      live_out_types.reserve(live_outs.size());
      for (Value v : live_outs) {
        live_out_types.emplace_back(v.getType());
      }
    
      tf_device::LaunchOp launch_op = builder->create<tf_device::LaunchOp>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 05 13:30:21 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  10. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/locklistener/DefaultFileLockContentionHandlerTest.groovy

        }
    
        def "reserving port is safely reentrant"() {
            when:
            int port = handler.reservePort()
    
            then:
            handler.reservePort() == port
        }
    
        def "cannot reserve port when the handler was stopped"() {
            handler.stop()
    
            when:
            handler.reservePort()
    
            then:
            thrown(IllegalStateException)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:49 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top