Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 1,371 for Allocate (0.18 sec)

  1. src/runtime/os_plan9.go

    	}
    	if neg {
    		n = -n
    	}
    	return n
    }
    
    type sigset struct{}
    
    // Called to initialize a new m (including the bootstrap m).
    // Called on the parent thread (main thread in case of bootstrap), can allocate memory.
    func mpreinit(mp *m) {
    	// Initialize stack and goroutine for note handling.
    	mp.gsignal = malg(32 * 1024)
    	mp.gsignal.m = mp
    	mp.notesig = (*int8)(mallocgc(_ERRMAX, nil, true))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

    import java.io.InputStreamReader;
    import java.nio.charset.Charset;
    import java.util.Random;
    
    /**
     * Benchmarks for various potential implementations of {@code ByteSource.asCharSource(...).read()}.
     */
    // These benchmarks allocate a lot of data so use a large heap
    @VmOptions({"-Xms12g", "-Xmx12g", "-d64"})
    public class ByteSourceAsCharSourceReadBenchmark {
      enum ReadStrategy {
        TO_BYTE_ARRAY_NEW_STRING {
          @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 5.2K bytes
    - Viewed (0)
  3. pkg/kubelet/cm/topologymanager/scope.go

    // but topologymanager do not track providers anymore
    func (s *scope) allocateAlignedResources(pod *v1.Pod, container *v1.Container) error {
    	for _, provider := range s.hintProviders {
    		err := provider.Allocate(pod, container)
    		if err != nil {
    			return err
    		}
    	}
    	return nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 14 14:44:24 UTC 2023
    - 5K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/stackalloc.go

    			}
    
    			if names[v.ID] == empty {
    				if f.pass.debug > stackDebug {
    					fmt.Printf("stackalloc value %s to name %s\n", v, *name)
    				}
    				names[v.ID] = *name
    			}
    		}
    	}
    
    	// Allocate args to their assigned locations.
    	for _, v := range f.Entry.Values {
    		if !hasAnyArgOp(v) {
    			continue
    		}
    		if v.Aux == nil {
    			f.Fatalf("%s has nil Aux\n", v.LongString())
    		}
    		if v.Op == OpArg {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 21:29:41 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  5. src/runtime/libfuzzer.go

    	// The number of PCs and PCFlags is the same as the number of 8-bit counters. Each PC table entry has
    	// the size of two ptr-sized integers. We allocate one more byte than what we actually need so that we can
    	// get a pointer representing the end of the PC table array.
    	size := (uintptr(end)-uintptr(start))*unsafe.Sizeof(uintptr(0))*2 + 1
    	pcTables = make([]byte, size)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 23 01:12:02 UTC 2022
    - 6.3K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top