- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 530 for Allocate (0.43 sec)
-
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) -
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) -
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) -
platforms/jvm/normalization-java/src/test/groovy/org/gradle/api/internal/changedetection/state/PropertyResourceBundleFallbackCharsetTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 15:09:49 UTC 2023 - 1.8K bytes - Viewed (0) -
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) -
platforms/software/version-control/src/main/java/org/gradle/vcs/git/GitVersionControlSpec.java
* full contract of {@link java.net.URL} clients of this interface. * Specifically, {@link java.net.URL} extends {@link URI} to add network * operations which are both unsuited for simple data specification and * allocate additional memory.</p> */ URI getUrl(); /** * Sets the URL of the repository. */ void setUrl(URI url); /** * Sets the URL of the repository. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 1.4K bytes - Viewed (0) -
test/fixedbugs/issue27695b.go
// are initialized, when calling functions and methods // via reflect. package main import ( "reflect" "runtime" "unsafe" ) var badPtr uintptr var sink []byte func init() { // Allocate large enough to use largeAlloc. b := make([]byte, 1<<16-1) sink = b // force heap allocation // Any space between the object and the end of page is invalid to point to. badPtr = uintptr(unsafe.Pointer(&b[len(b)-1])) + 1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Sep 29 20:25:24 UTC 2018 - 1.3K bytes - Viewed (0) -
src/runtime/pprof/mprof_test.go
func allocatePersistent1K() { for i := 0; i < 32; i++ { // Can't use slice because that will introduce implicit allocations. obj := &Obj32{link: persistentMemSink} persistentMemSink = obj } } // Allocate transient memory using reflect.Call. func allocateReflectTransient() { memSink = make([]byte, 2<<20) } func allocateReflect() { rv := reflect.ValueOf(allocateReflectTransient) rv.Call(nil) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 16 15:20:22 UTC 2022 - 5.3K bytes - Viewed (0) -
test/finprofiled.go
import ( "runtime" "time" "unsafe" ) func main() { runtime.MemProfileRate = 1 // Allocate 1M 4-byte objects and set a finalizer for every third object. // Assuming that tiny block size is 16, some objects get finalizers setup // only for middle bytes. The finalizer resurrects that object. // As the result, all allocated memory must stay alive. const ( N = 1 << 20 tinyBlockSize = 16 // runtime._TinySize )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 16 05:48:00 UTC 2023 - 2.1K bytes - Viewed (0) -
test/fixedbugs/issue29362b.go
// Verify that we don't consider a Go'd function's // arguments as pointers when they aren't. package main import ( "unsafe" ) var badPtr uintptr var sink []byte func init() { // Allocate large enough to use largeAlloc. b := make([]byte, 1<<16-1) sink = b // force heap allocation // Any space between the object and the end of page is invalid to point to. badPtr = uintptr(unsafe.Pointer(&b[len(b)-1])) + 1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jan 03 23:37:42 UTC 2019 - 1.4K bytes - Viewed (0)