Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 423 for Allocate (0.26 sec)

  1. pkg/kubelet/cm/doc.go

    // to manage containers. For example, they contain functions to configure containers' cgroups,
    // ensure containers run with the desired QoS, and allocate compute resources like cpus, memory,
    // devices...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 05 18:20:51 UTC 2023
    - 934 bytes
    - Viewed (0)
  2. pilot/pkg/util/runtime/runtime.go

    package runtime
    
    import (
    	"runtime"
    
    	"istio.io/istio/pkg/log"
    )
    
    // LogPanic logs the caller tree when a panic occurs.
    func LogPanic(r any) {
    	// Same as stdlib http server code. Manually allocate stack trace buffer size
    	// to prevent excessively large logs
    	const size = 64 << 10
    	stacktrace := make([]byte, size)
    	stacktrace = stacktrace[:runtime.Stack(stacktrace, false)]
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfrt/ir/mlrt/mlrt_ops.td

      }];
    }
    
    def AllocateControlFuturesOp: Mlrt_Op<"allocate_control_futures", [AttrSizedResultSegments]> {
      let summary = "Allocate futures and corresponding promises";
    
      let description = [{
        Allocate futures and corresponding promises.
    
        $num: The number of futures to be allocated.
    
        $promises: There are $num promises, and promises[i] shares the state with futures[i].
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 22:07:30 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  4. src/runtime/msize.go

    // Malloc small size classes.
    //
    // See malloc.go for overview.
    // See also mksizeclasses.go for how we decide what size classes to use.
    
    package runtime
    
    // Returns size of the memory block that mallocgc will allocate if you ask for the size,
    // minus any inline space for metadata.
    func roundupsize(size uintptr, noscan bool) (reqSize uintptr) {
    	reqSize = size
    	if reqSize <= maxSmallSize-mallocHeaderSize {
    		// Small object.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/test/issue21897.go

    func test21897(t *testing.T) {
    	// Please write barrier, kick in soon.
    	defer debug.SetGCPercent(debug.SetGCPercent(1))
    
    	for i := 0; i < 10000; i++ {
    		testCFNumberRef()
    		testCFDateRef()
    		testCFBooleanRef()
    		// Allocate some memory, so eventually the write barrier is enabled
    		// and it will see writes of bad pointers in the test* functions below.
    		byteSliceSink = make([]byte, 1024)
    	}
    }
    
    var byteSliceSink []byte
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/ReaderInputStream.java

        checkArgument(bufferSize > 0, "bufferSize must be positive: %s", bufferSize);
        encoder.reset();
    
        charBuffer = CharBuffer.allocate(bufferSize);
        Java8Compatibility.flip(charBuffer);
    
        byteBuffer = ByteBuffer.allocate(bufferSize);
      }
    
      @Override
      public void close() throws IOException {
        reader.close();
      }
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/ReaderInputStream.java

        checkArgument(bufferSize > 0, "bufferSize must be positive: %s", bufferSize);
        encoder.reset();
    
        charBuffer = CharBuffer.allocate(bufferSize);
        Java8Compatibility.flip(charBuffer);
    
        byteBuffer = ByteBuffer.allocate(bufferSize);
      }
    
      @Override
      public void close() throws IOException {
        reader.close();
      }
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  8. platforms/jvm/normalization-java/src/test/groovy/org/gradle/api/internal/changedetection/state/PropertyResourceBundleFallbackCharsetTest.groovy

            result.toString() == new String(iso8859bytes, "ISO-8859-1")
            result.toString() != new String(iso8859bytes, "UTF-8")
        }
    
        static ByteBuffer buffer(byte[] bytes) {
            ByteBuffer byteBuffer = ByteBuffer.allocate(bytes.length)
            byteBuffer.put(bytes)
            byteBuffer.rewind()
            return byteBuffer
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  9. pkg/kubelet/cm/cpumanager/policy_none.go

    }
    
    func (p *nonePolicy) Name() string {
    	return string(PolicyNone)
    }
    
    func (p *nonePolicy) Start(s state.State) error {
    	klog.InfoS("None policy: Start")
    	return nil
    }
    
    func (p *nonePolicy) Allocate(s state.State, pod *v1.Pod, container *v1.Container) error {
    	return nil
    }
    
    func (p *nonePolicy) RemoveContainer(s state.State, podUID string, containerName string) error {
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 03 16:26:09 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  10. pkg/registry/core/service/allocator/interfaces.go

    limitations under the License.
    */
    
    package allocator
    
    // Interface manages the allocation of items out of a range. Interface
    // should be threadsafe.
    type Interface interface {
    	Allocate(int) (bool, error)
    	AllocateNext() (int, bool, error)
    	Release(int) error
    	ForEach(func(int))
    	Has(int) bool
    	Free() int
    
    	// Destroy shuts down all internal structures.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 22 10:35:43 UTC 2023
    - 1.4K bytes
    - Viewed (0)
Back to top