Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 1,028 for Allocate (0.17 sec)

  1. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_ops.td

    }
    
    def AllocateFuturesOp: TensorflowMlrt_Op<"allocate_futures", [AttrSizedResultSegments]> {
      let summary = "Allocate futures and promsies for tensorflow tensors";
    
      let description = [{
        Allocate futures and promsies for tensorflow tensors.
    
        $num_futures: The number of futures to be allocated.
    
        $promises: There are $num_futures promises. promises[i] shares the state with futures[i].
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 20:44:15 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  2. src/runtime/tracestack.go

    func dumpStacksRec(node *traceMapNode, w traceWriter, stackBuf []uintptr) traceWriter {
    	stack := unsafe.Slice((*uintptr)(unsafe.Pointer(&node.data[0])), uintptr(len(node.data))/unsafe.Sizeof(uintptr(0)))
    
    	// N.B. This might allocate, but that's OK because we're not writing to the M's buffer,
    	// but one we're about to create (with ensure).
    	n := fpunwindExpand(stackBuf, stack)
    	frames := makeTraceFrames(w.gen, stackBuf[:n])
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 14:38:56 UTC 2024
    - 11K bytes
    - Viewed (0)
  3. pkg/registry/core/service/storage/storage.go

    	r.defaultOnReadService(oldSvc)
    
    	// Fix up allocated values that the client may have not specified (for
    	// idempotence).
    	patchAllocatedValues(After{newSvc}, Before{oldSvc})
    
    	// Make sure ClusterIP and ClusterIPs are in sync.  This has to happen
    	// early, before anyone looks at them.
    	normalizeClusterIPs(After{newSvc}, Before{oldSvc})
    
    	// Allocate and initialize fields.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 11 13:09:33 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/devicemanager/pod_devices.go

    	allCDIDevices := sets.New[string]()
    	// Loops through AllocationResponses of all cached device resources.
    	for _, devices := range resources {
    		resp := devices.allocResp
    		// Each Allocate response has the following artifacts.
    		// Environment variables
    		// Mount points
    		// Device files
    		// Container annotations
    		// CDI device IDs
    		// These artifacts are per resource per container.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jan 27 02:10:25 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonInitialCommunicationFailureIntegrationSpec.groovy

                            } catch (IOException e) {
                                return
                            }
                            try {
                                connection.read(ByteBuffer.allocate(4096))
                                connection.write(ByteBuffer.wrap("hello".bytes))
                            } finally {
                                connection.close()
                            }
                        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 07:46:29 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  6. pilot/cmd/pilot-agent/status/server_test.go

    			}
    		})
    	}
    }
    
    func TestAppProbe(t *testing.T) {
    	// Starts the application first.
    	listener, err := net.Listen("tcp", ":0")
    	if err != nil {
    		t.Errorf("failed to allocate unused port %v", err)
    	}
    	go http.Serve(listener, &handler{lastAlpn: atomic.NewString("")})
    	appPort := listener.Addr().(*net.TCPAddr).Port
    
    	simpleHTTPConfig := KubeAppProbers{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  7. src/runtime/debuglog.go

    				l = l1
    				break
    			}
    		}
    	}
    
    	// If that failed, allocate a new logger.
    	if l == nil {
    		// Use sysAllocOS instead of sysAlloc because we want to interfere
    		// with the runtime as little as possible, and sysAlloc updates accounting.
    		l = (*dlogger)(sysAllocOS(unsafe.Sizeof(dlogger{})))
    		if l == nil {
    			throw("failed to allocate debug log")
    		}
    		l.w.r.data = &l.w.data
    		l.owned.Store(1)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:10:48 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  8. src/os/path_windows.go

    			// Already extended with \\?\ or any combination of directory separators.
    			return path
    		}
    	}
    
    	// Do nothing (and don't allocate) if the path is "short".
    	// Empirically (at least on the Windows Server 2013 builder),
    	// the kernel is arbitrarily okay with < 248 bytes. That
    	// matches what the docs above say:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:44:48 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  9. src/index/suffixarray/suffixarray.go

    	}
    	if int64(int(n64)) != n64 || int(n64) < 0 {
    		return errTooBig
    	}
    	n := int(n64)
    
    	// allocate space
    	if 2*n < cap(x.data) || cap(x.data) < n || x.sa.int32 != nil && n > maxData32 || x.sa.int64 != nil && n <= maxData32 {
    		// new data is significantly smaller or larger than
    		// existing buffers - allocate new ones
    		x.data = make([]byte, n)
    		x.sa.int32 = nil
    		x.sa.int64 = nil
    		if n <= maxData32 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  10. src/encoding/json/bench_test.go

    }
    
    func BenchmarkMarshalBytes(b *testing.B) {
    	b.ReportAllocs()
    	// 32 fits within encodeState.scratch.
    	b.Run("32", benchMarshalBytes(32))
    	// 256 doesn't fit in encodeState.scratch, but is small enough to
    	// allocate and avoid the slower base64.NewEncoder.
    	b.Run("256", benchMarshalBytes(256))
    	// 4096 is large enough that we want to avoid allocating for it.
    	b.Run("4096", benchMarshalBytes(4096))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:00:17 UTC 2024
    - 12.5K bytes
    - Viewed (0)
Back to top