Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 765 for allocable (0.11 sec)

  1. tensorflow/compiler/mlir/tfr/ir/tfr_types.h

      static TFRTypeStorage* construct(TypeStorageAllocator& allocator, KeyTy key) {
        // Allocate a new storage instance.
        auto byteSize = TFRTypeStorage::totalSizeToAlloc<StringAttr>(key.size());
        auto rawMem = allocator.allocate(byteSize, alignof(TFRTypeStorage));
        auto result = ::new (rawMem) TFRTypeStorage(key.size());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 05 07:17:01 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  2. pkg/kubelet/types/constants.go

    limitations under the License.
    */
    
    package types
    
    const (
    	// ResolvConfDefault is the system default DNS resolver configuration.
    	ResolvConfDefault = "/etc/resolv.conf"
    )
    
    // User visible keys for managing node allocatable enforcement on the node.
    const (
    	NodeAllocatableEnforcementKey = "pods"
    	SystemReservedEnforcementKey  = "system-reserved"
    	KubeReservedEnforcementKey    = "kube-reserved"
    	NodeAllocatableNoneKey        = "none"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 13:13:22 UTC 2024
    - 1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/subst.go

    }
    
    func (subst *subster) varList(in []*Var) (out []*Var, copied bool) {
    	out = in
    	for i, v := range in {
    		if w := subst.var_(v); w != v {
    			if !copied {
    				// first variable that got substituted => allocate new out slice
    				// and copy all variables
    				new := make([]*Var, len(in))
    				copy(new, out)
    				out = new
    				copied = true
    			}
    			out[i] = w
    		}
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:04:07 UTC 2024
    - 11K bytes
    - Viewed (0)
  4. src/runtime/testdata/testwintls/main.c

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    #include <windows.h>
    
    int main(int argc, char **argv) {
        if (argc < 3) {
            return 1;
        }
        // Allocate more than 64 TLS indices
        // so the Go runtime doesn't find
        // enough space in the TEB TLS slots.
        for (int i = 0; i < 65; i++) {
            TlsAlloc();
        }
        HMODULE hlib = LoadLibrary(argv[1]);
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 25 15:37:00 UTC 2023
    - 692 bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/native-binaries/cunit/groovy/libs/cunit/2.1-2/include/CUnit/MyMem.h

      void* CU_realloc(void *ptr, size_t size, unsigned int uiLine, const char* szFileName);
      CU_EXPORT void CU_dump_memory_usage(const char*);
    
      /** c-allocate with memory tracking. */
      #define CU_CALLOC(x, y)         CU_calloc((x), (y), __LINE__, __FILE__)
      /** m-allocate with memory tracking. */
      #define CU_MALLOC(x)            CU_malloc((x), __LINE__, __FILE__)
      /** Free with memory tracking. */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 4K bytes
    - Viewed (0)
  6. pkg/kubelet/apis/config/validation/validation_test.go

    		},
    		errMsg: "invalid configuration: enforceNodeAllocatable (--enforce-node-allocatable) may not contain additional enforcements when \"none\" is specified",
    	}, {
    		name: "invalid EnforceNodeAllocatable",
    		configure: func(conf *kubeletconfig.KubeletConfiguration) *kubeletconfig.KubeletConfiguration {
    			conf.EnforceNodeAllocatable = []string{"invalid-enforce-node-allocatable"}
    			return conf
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 21:10:42 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/testerrors/testdata/malloc.go

    package main
    
    // #include <stdlib.h>
    import "C"
    
    import (
    	"fmt"
    	"runtime"
    )
    
    func main() {
    	var size C.size_t
    	size--
    
    	// The Dragonfly libc succeeds when asked to allocate
    	// 0xffffffffffffffff bytes, so pass a different value that
    	// causes it to fail.
    	if runtime.GOOS == "dragonfly" {
    		size = C.size_t(0x7fffffff << (32 * (^uintptr(0) >> 63)))
    	}
    
    	p := C.malloc(size)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 766 bytes
    - Viewed (0)
  8. pkg/kubelet/apis/config/v1beta1/defaults.go

    	DefaultMemoryThrottlingFactor = 0.9
    )
    
    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)
  9. pkg/kubelet/apis/config/validation/validation_windows.go

    	}
    
    	if len(kc.EnforceNodeAllocatable) > 0 {
    		allErrors = append(allErrors, fmt.Errorf(message, "EnforceNodeAllocatable", "--enforce-node-allocatable", kc.EnforceNodeAllocatable))
    	}
    
    	return utilerrors.NewAggregate(allErrors)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/stream_executor/stream_executor.cc

        platform_fns_->destroy_device(platform_, &device_);
      }
    
      absl::Status Init() override { return absl::OkStatus(); }
    
      DeviceMemoryBase Allocate(uint64 size, int64_t memory_space) override {
        SP_DeviceMemoryBase mem = {SP_DEVICE_MEMORY_BASE_STRUCT_SIZE};
        stream_executor_->allocate(&device_, size, memory_space, &mem);
        absl::Status status = ValidateSPDeviceMemoryBase(mem);
        if (!status.ok()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 14 07:39:19 UTC 2024
    - 27.1K bytes
    - Viewed (0)
Back to top