Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,974 for Reserve (0.16 sec)

  1. 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)
  2. 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)
  3. 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)
  4. docs/en/docs/fastapi-people.md

    Here I'm also highlighting contributions from sponsors.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 16 23:54:24 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  5. src/runtime/sys_windows_amd64.s

    	// if called from a non-go thread.
    	XORPS	X15, X15
    	XORQ	R14, R14
    
    	get_tls(AX)
    	CMPQ	AX, $0
    	JE	2(PC)
    	// Exception from Go thread, set R14.
    	MOVQ	g(AX), R14
    
    	// Reserve space for spill slots.
    	ADJSP	$16
    	MOVQ	CX, AX
    	MOVQ	DX, BX
    	// Calling ABIInternal because TLS might be nil.
    	CALL	runtimeĀ·sigtrampgo<ABIInternal>(SB)
    	// Return value is already stored in AX.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 19 07:24:08 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. src/internal/runtime/atomic/types_64bit.go

    // Copyright 2021 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build amd64 || arm64 || loong64 || mips64 || mips64le || ppc64 || ppc64le || riscv64 || s390x || wasm
    
    package atomic
    
    // LoadAcquire is a partially unsynchronized version
    // of Load that relaxes ordering constraints. Other threads
    // may observe operations that precede this operation to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  7. src/internal/types/testdata/fixedbugs/issue67547.go

    // Copyright 2024 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package p
    
    func _[P int]() {
    	type A = P
    	_ = A(0) // don't crash with this conversion
    }
    
    func _[P []int]() {
    	type A = P
    	_ = make(A, 10) // don't report an error for A
    }
    
    func _[P string]() {
    	var t []byte
    	type A = P
    	var s A
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 21:17:10 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/experimental/tac/common/utils.cc

    /* Copyright 2021 The TensorFlow Authors. All Rights Reserved.
    
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at
    
        http://www.apache.org/licenses/LICENSE-2.0
    
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 06 05:37:07 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. src/maps/maps.go

    // Copyright 2021 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Package maps defines various functions useful with maps of any type.
    package maps
    
    import (
    	_ "unsafe"
    )
    
    // Equal reports whether two maps contain the same key/value pairs.
    // Values are compared using ==.
    func Equal[M1, M2 ~map[K]V, K, V comparable](m1 M1, m2 M2) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 28 20:35:05 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. src/runtime/proflabel.go

    // Copyright 2017 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package runtime
    
    import "unsafe"
    
    var labelSync uintptr
    
    // runtime_setProfLabel should be an internal detail,
    // but widely used packages access it using linkname.
    // Notable members of the hall of shame include:
    //   - github.com/cloudwego/localsession
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top