Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for Allocate (0.14 sec)

  1. 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)
  2. pkg/kubelet/userns/userns_manager.go

    	// "from" is a ID (UID/GID), set the corresponding userns of size
    	// userNsLength in the bit-array.
    	m.used.Allocate(index)
    	m.usedBy[pod] = from
    	return nil
    }
    
    // Release releases the user namespace allocated to the specified pod.
    func (m *UsernsManager) Release(podUID types.UID) {
    	if !utilfeature.DefaultFeatureGate.Enabled(features.UserNamespacesSupport) {
    		return
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  3. tests/integration/ambient/main_test.go

    	apps.Mesh = inMesh.GetMatches(echos)
    	apps.MeshExternal = match.Not(inMesh).GetMatches(echos)
    
    	// TODO(https://github.com/istio/istio/issues/51083) remove manually allocate
    	if err := cdeployment.DeployExternalServiceEntry(t.ConfigIstio(), apps.Namespace, apps.ExternalNamespace, true).
    		Apply(apply.CleanupConditionally); err != nil {
    		return err
    	}
    
    	if apps.WaypointProxies == nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 00:07:28 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  4. cmd/erasure-multipart.go

    	if err != nil {
    		return pi, toObjectErr(err, bucket, object)
    	}
    
    	// Fetch buffer for I/O, returns from the pool if not allocates a new one and returns.
    	var buffer []byte
    	switch size := data.Size(); {
    	case size == 0:
    		buffer = make([]byte, 1) // Allocate at least a byte to reach EOF
    	case size == -1:
    		if size := data.ActualSize(); size > 0 && size < fi.Erasure.BlockSize {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  5. src/runtime/gc_test.go

    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		b.StartTimer()
    		runtime.GC()
    		runtime.GC()
    		b.StopTimer()
    	}
    	close(teardown)
    }
    
    func BenchmarkMSpanCountAlloc(b *testing.B) {
    	// Allocate one dummy mspan for the whole benchmark.
    	s := runtime.AllocMSpan()
    	defer runtime.FreeMSpan(s)
    
    	// n is the number of bytes to benchmark against.
    	// n must always be a multiple of 8, since gcBits is
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 22:33:52 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go

    	{8, "ENOEXEC", "exec format error"},
    	{9, "EBADF", "bad file descriptor"},
    	{10, "ECHILD", "no child processes"},
    	{11, "EAGAIN", "resource temporarily unavailable"},
    	{12, "ENOMEM", "cannot allocate memory"},
    	{13, "EACCES", "permission denied"},
    	{14, "EFAULT", "bad address"},
    	{15, "ENOTBLK", "block device required"},
    	{16, "EBUSY", "device or resource busy"},
    	{17, "EEXIST", "file exists"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_386.go

    	{8, "ENOEXEC", "exec format error"},
    	{9, "EBADF", "bad file descriptor"},
    	{10, "ECHILD", "no child processes"},
    	{11, "EAGAIN", "resource temporarily unavailable"},
    	{12, "ENOMEM", "cannot allocate memory"},
    	{13, "EACCES", "permission denied"},
    	{14, "EFAULT", "bad address"},
    	{15, "ENOTBLK", "block device required"},
    	{16, "EBUSY", "device or resource busy"},
    	{17, "EEXIST", "file exists"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  8. cmd/iam-object-store.go

    func listIAMConfigItems(ctx context.Context, objAPI ObjectLayer, pathPrefix string) <-chan itemOrErr[string] {
    	ch := make(chan itemOrErr[string])
    
    	go func() {
    		defer xioutil.SafeClose(ch)
    
    		// Allocate new results channel to receive ObjectInfo.
    		objInfoCh := make(chan itemOrErr[ObjectInfo])
    
    		if err := objAPI.Walk(ctx, minioMetaBucket, pathPrefix, objInfoCh, WalkOptions{}); err != nil {
    			select {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go

    	{8, "ENOEXEC", "exec format error"},
    	{9, "EBADF", "bad file descriptor"},
    	{10, "ECHILD", "no child processes"},
    	{11, "EAGAIN", "resource temporarily unavailable"},
    	{12, "ENOMEM", "cannot allocate memory"},
    	{13, "EACCES", "permission denied"},
    	{14, "EFAULT", "bad address"},
    	{15, "ENOTBLK", "block device required"},
    	{16, "EBUSY", "device or resource busy"},
    	{17, "EEXIST", "file exists"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  10. src/net/netip/netip.go

    	}
    
    	// Match the stdlib's IsPrivate logic.
    	if ip.Is4() {
    		// RFC 1918 allocates 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16 as
    		// private IPv4 address subnets.
    		return ip.v4(0) == 10 ||
    			(ip.v4(0) == 172 && ip.v4(1)&0xf0 == 16) ||
    			(ip.v4(0) == 192 && ip.v4(1) == 168)
    	}
    
    	if ip.Is6() {
    		// RFC 4193 allocates fc00::/7 as the unique local unicast IPv6 address
    		// subnet.
    		return ip.v6(0)&0xfe == 0xfc
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 43.2K bytes
    - Viewed (0)
Back to top