Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 3,773 for Reserve (0.21 sec)

  1. src/cmd/vendor/golang.org/x/sys/windows/exec_windows.go

    		return `""`
    	}
    	n := len(s)
    	hasSpace := false
    	for i := 0; i < len(s); i++ {
    		switch s[i] {
    		case '"', '\\':
    			n++
    		case ' ', '\t':
    			hasSpace = true
    		}
    	}
    	if hasSpace {
    		n += 2 // Reserve space for quotes.
    	}
    	if n == len(s) {
    		return s
    	}
    
    	qs := make([]byte, n)
    	j := 0
    	if hasSpace {
    		qs[j] = '"'
    		j++
    	}
    	slashes := 0
    	for i := 0; i < len(s); i++ {
    		switch s[i] {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 10 16:32:44 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/container_manager.go

    			if err != nil {
    				return nil, fmt.Errorf("failed to parse percentage %q for %q resource: %w", v, k, err)
    			}
    			reservations[v1.ResourceName(k)] = q
    		default:
    			return nil, fmt.Errorf("cannot reserve %q resource", k)
    		}
    	}
    	return &reservations, nil
    }
    
    func containerDevicesFromResourceDeviceInstances(devs devicemanager.ResourceDeviceInstances) []*podresourcesapi.ContainerDevices {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:13 UTC 2024
    - 9K bytes
    - Viewed (0)
  3. docs/fr/docs/fastapi-people.md

    Les données sont calculées chaque mois, vous pouvez lire le <a href="https://github.com/tiangolo/fastapi/blob/master/.github/actions/people/app/main.py" class="external-link" target="_blank">code source ici</a>.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/transforms/optimize_batch_matmul.cc

          auto permuation_tensor_type =
              RankedTensorType::get({input_rank}, rewriter.getIntegerType(32));
          llvm::SmallVector<Attribute, 4> permute;
          permute.reserve(input_rank);
          // First create an identity permutation tensor.
          for (int i = 0; i < input_rank; i++) {
            permute.push_back(rewriter.getI32IntegerAttr(i));
          }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  5. src/mime/multipart/formdata.go

    	// since metadata is always stored in memory, not disk.
    	//
    	// maxMemoryBytes is the maximum bytes we will store in memory, including file content,
    	// non-file part values, metadata, and map entry overhead.
    	//
    	// We reserve an additional 10 MB in maxMemoryBytes for non-file data.
    	//
    	// The relationship between these parameters, as well as the overly-large and
    	// unconfigurable 10 MB added on to maxMemory, is unfortunate but difficult to change
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 16:12:35 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  6. pkg/registry/core/service/portallocator/allocator.go

    func (r *PortAllocator) Used() int {
    	return r.portRange.Size - r.alloc.Free()
    }
    
    // Allocate attempts to reserve the provided port. ErrNotInRange or
    // ErrAllocated will be returned if the port is not valid for this range
    // or has already been reserved.  ErrFull will be returned if there
    // are no ports left.
    func (r *PortAllocator) Allocate(port int) error {
    	ok, offset := r.contains(port)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 08 07:15:02 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/transforms/default_quant_params.cc

    quant::QuantParams DefaultQuantParamsPass::GetQuantParamsForBias(
        Operation *op, int bias, const std::vector<int> &non_biases,
        quant::AccumulatorScaleFunc func) {
      std::vector<quant::QuantizedType> non_bias_types;
      non_bias_types.reserve(non_biases.size());
      for (int non_bias : non_biases) {
        Operation *non_bias_define = op->getOperand(non_bias).getDefiningOp();
        if (auto dequant = llvm::dyn_cast<TFL::DequantizeOp>(non_bias_define)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  8. src/runtime/sys_windows_arm64.s

    	CMP	$1,	R0; BEQ	_1args
    	CMP	$2,	R0; BEQ	_2args
    	CMP	$3,	R0; BEQ	_3args
    	CMP	$4,	R0; BEQ	_4args
    	CMP	$5,	R0; BEQ	_5args
    	CMP	$6,	R0; BEQ	_6args
    	CMP	$7,	R0; BEQ	_7args
    	CMP	$8,	R0; BEQ	_8args
    
    	// Reserve stack space for remaining args
    	SUB	$8, R0, R2
    	ADD	$1, R2, R3 // make even number of words for stack alignment
    	AND	$~1, R3
    	LSL	$3, R3
    	SUB	R3, RSP
    
    	// R4: size of stack arguments (n-8)*8
    	// R5: &args[8]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 21 15:56:43 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  9. pkg/kubelet/apis/config/v1beta1/defaults.go

    )
    
    var (
    	zeroDuration = metav1.Duration{}
    	// TODO: Move these constants to k8s.io/kubelet/config/v1beta1 instead?
    	// Refer to [Node Allocatable](https://kubernetes.io/docs/tasks/administer-cluster/reserve-compute-resources/#node-allocatable) doc for more information.
    	DefaultNodeAllocatableEnforcement = []string{"pods"}
    )
    
    func addDefaultingFuncs(scheme *kruntime.Scheme) error {
    	return RegisterDefaults(scheme)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 17:55:59 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  10. src/internal/testenv/exec.go

    			// test's remaining time.
    			testTimeout := time.Until(td)
    			if gp := testTimeout / 20; gp > gracePeriod {
    				gracePeriod = gp
    			}
    
    			// When we run commands that execute subprocesses, we want to reserve two
    			// grace periods to clean up: one for the delay between the first
    			// termination signal being sent (via the Cancel callback when the Context
    			// expires) and the process being forcibly terminated (via the WaitDelay
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 27 17:53:23 UTC 2023
    - 7.5K bytes
    - Viewed (0)
Back to top