- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 87 for chunkOf (0.12 sec)
-
src/runtime/mgcscavenge.go
// memory available to scavenge. type scavengeIndex struct { // chunks is a scavChunkData-per-chunk structure that indicates the presence of pages // available for scavenging. Updates to the index are serialized by the pageAlloc lock. // // It tracks chunk occupancy and a generation counter per chunk. If a chunk's occupancy
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:48:45 UTC 2024 - 52.3K bytes - Viewed (0) -
src/runtime/export_test.go
testSysStat.add(-int64(p.summaryMappedReady)) // Free the mapped space for chunks. for i := range p.chunks { if x := p.chunks[i]; x != nil { p.chunks[i] = nil // This memory comes from sysAlloc and will always be page-aligned. sysFree(unsafe.Pointer(x), unsafe.Sizeof(*p.chunks[0]), testSysStat) } } } // BaseChunkIdx is a convenient chunkIdx value which works on both
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:50:53 UTC 2024 - 46.1K bytes - Viewed (0) -
src/slices/iter_test.go
chunks = append(chunks, c) } if !chunkEqual(chunks, tc.chunks) { t.Errorf("Chunk(%v, %d) = %v, want %v", tc.s, tc.n, chunks, tc.chunks) } if len(chunks) == 0 { return } // Verify that appending to the end of the first chunk does not // clobber the beginning of the next chunk. s := Clone(tc.s) chunks[0] = append(chunks[0], -1) if !Equal(s, tc.s) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 10 17:28:50 UTC 2024 - 5.7K bytes - Viewed (0) -
cmd/streaming-signature-v4.go
// lineTooLong is generated as chunk header is bigger than 4KiB. var errLineTooLong = errors.New("header line too long") // malformed encoding is generated when chunk header is wrongly formed. var errMalformedEncoding = errors.New("malformed chunked encoding") // chunk is considered too big if its bigger than > 16MiB. var errChunkTooBig = errors.New("chunk too big: choose chunk size <= 16MiB")
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu May 16 23:13:47 UTC 2024 - 18.2K bytes - Viewed (0) -
src/runtime/arena.go
// // In summary, there are 2 resources: arenas, and arena chunks. They exist in the // following lifecycle: // // (1) A new arena is created via newArena. // (2) Chunks are allocated to hold memory allocated into the arena with new or slice. // (a) Chunks are first allocated from the reuse list of partially-used chunks. // (b) If there are no such chunks, then chunks on the ready list are taken.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:44:56 UTC 2024 - 37.9K bytes - Viewed (0) -
src/encoding/base32/base32_test.go
{"MZXW", "6YTB"}, {"MZXW", "6Y", "TB"}, }, nil}, } for _, testcase := range testcases { for _, chunks := range testcase.chunkCombinations { pr, pw := io.Pipe() // Write the encoded chunks into the pipe go func() { for _, chunk := range chunks { pw.Write([]byte(chunk)) } pw.Close() }() decoder := NewDecoder(StdEncoding, pr) _, err := io.ReadAll(decoder)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 16:25:54 UTC 2024 - 26K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/driver/fetch.go
if end > len(sources) { end = len(sources) } chunkP, chunkMsrc, chunkSave, chunkCount, chunkErr := concurrentGrab(sources[start:end], fetch, obj, ui, tr) switch { case chunkErr != nil: return nil, nil, false, 0, chunkErr case chunkP == nil: continue case p == nil: p, msrc, save, count = chunkP, chunkMsrc, chunkSave, chunkCount default:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 19K bytes - Viewed (0) -
src/runtime/malloc.go
// //go:nosplit func inPersistentAlloc(p uintptr) bool { chunk := atomic.Loaduintptr((*uintptr)(unsafe.Pointer(&persistentChunks))) for chunk != 0 { if p >= chunk && p < chunk+persistentChunkSize { return true } chunk = *(*uintptr)(unsafe.Pointer(chunk)) } return false } // linearAlloc is a simple linear allocator that pre-reserves a region
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 59.6K bytes - Viewed (0) -
platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/tooling/internal/provider/serialization/SerializedPayloadSerializer.java
Object header = javaSerializer.read(decoder); int count = decoder.readSmallInt(); List<byte[]> chunks = new ArrayList<>(count); for (int i = 0; i < count; i++) { chunks.add(decoder.readBinary()); } return new SerializedPayload(header, chunks); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 09 04:50:46 UTC 2024 - 1.8K bytes - Viewed (0) -
analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/declarations/KotlinFileBasedDeclarationProvider.kt
while (!tasks.isEmpty()) { val (chunks, element) = tasks.removeFirst() assert(chunks.isNotEmpty()) if (element !is KtNamedDeclaration || element.nameAsName != chunks[0]) { continue } if (chunks.size == 1) { yieldIfNotNull(element as? KtClassLikeDeclaration)
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Thu Jun 06 17:44:50 UTC 2024 - 6.3K bytes - Viewed (0)