- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 4,456 for chunck (0.37 sec)
-
src/runtime/mfixalloc.go
if f.zero { memclrNoHeapPointers(v, f.size) } return v } if uintptr(f.nchunk) < f.size { f.chunk = uintptr(persistentalloc(uintptr(f.nalloc), 0, f.stat)) f.nchunk = f.nalloc } v := unsafe.Pointer(f.chunk) if f.first != nil { f.first(f.arg, v) } f.chunk = f.chunk + f.size f.nchunk -= uint32(f.size) f.inuse += f.size return v }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 24 20:28:25 UTC 2023 - 3.1K bytes - Viewed (0) -
src/runtime/mpagealloc.go
if sc == ec { // The range doesn't cross any chunk boundaries. chunk := p.chunkOf(sc) scav += chunk.scavenged.popcntRange(si, ei+1-si) chunk.allocRange(si, ei+1-si) p.scav.index.alloc(sc, ei+1-si) } else { // The range crosses at least one chunk boundary. chunk := p.chunkOf(sc) scav += chunk.scavenged.popcntRange(si, pallocChunkPages-si) chunk.allocRange(si, pallocChunkPages-si)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 39.2K bytes - Viewed (0) -
src/path/match.go
// getEsc gets a possibly-escaped character from chunk, for a character class. func getEsc(chunk string) (r rune, nchunk string, err error) { if len(chunk) == 0 || chunk[0] == '-' || chunk[0] == ']' { err = ErrBadPattern return } if chunk[0] == '\\' { chunk = chunk[1:] if len(chunk) == 0 { err = ErrBadPattern return } } r, n := utf8.DecodeRuneInString(chunk) if r == utf8.RuneError && n == 1 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 23 17:33:57 UTC 2023 - 5.3K bytes - Viewed (0) -
src/runtime/memclr_ppc64x.s
zero512setup: // setup for dcbz loop CMP R4, $512 // check if at least 512 BLT remain SRD $9, R4, R8 // loop count for 512 chunks MOVD R8, CTR // set up counter MOVD $128, R9 // index regs for 128 bytes MOVD $256, R10 MOVD $384, R11 PCALIGN $16 zero512: DCBZ (R3+R0) // clear first chunk DCBZ (R3+R9) // clear second chunk DCBZ (R3+R10) // clear third chunk DCBZ (R3+R11) // clear fourth chunk
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 16 17:08:59 UTC 2023 - 4.4K bytes - Viewed (0) -
src/go/types/check.go
// The provided files must all belong to the same package. func (check *Checker) initFiles(files []*ast.File) { // start with a clean slate (check.Files may be called multiple times) check.files = nil check.imports = nil check.dotImportMap = nil check.firstErr = nil check.methods = nil check.untyped = nil check.delayed = nil check.objPath = nil check.cleaners = nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 23.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java
ByteSource source = out.asByteSource(); int chunk1 = Math.min(dataSize, fileThreshold); int chunk2 = dataSize - chunk1; // Write just enough to not trip the threshold if (chunk1 > 0) { write(out, data, 0, chunk1, singleByte); assertTrue(ByteSource.wrap(data).slice(0, chunk1).contentEquals(source)); } File file = out.getFile(); assertNull(file);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 5.5K bytes - Viewed (0) -
src/cmd/compile/internal/types2/check.go
// The provided files must all belong to the same package. func (check *Checker) initFiles(files []*syntax.File) { // start with a clean slate (check.Files may be called multiple times) check.files = nil check.imports = nil check.dotImportMap = nil check.firstErr = nil check.methods = nil check.untyped = nil check.delayed = nil check.objPath = nil check.cleaners = nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 23.3K bytes - Viewed (0) -
tests/util/leak/check.go
for _, g := range leaked { errString.WriteString(fmt.Sprintf("Leaked goroutine: %v\n", g.stack)) } return errors.New(errString.String()) } // Check adds a check to a test to ensure there are no leaked goroutines // To use, simply call leak.Check(t) at the start of a test; Do not call it in defer. // It is recommended to call this as the first step, as Cleanup is called in LIFO order; this ensures any
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Dec 20 10:22:38 UTC 2023 - 6.9K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/check.go
} // isExactFloat32 reports whether x can be exactly represented as a float32. func isExactFloat32(x float64) bool { // Check the mantissa is in range. if bits.TrailingZeros64(math.Float64bits(x)) < 52-23 { return false } // Check the exponent is in range. The mantissa check above is sufficient for NaN values. return math.IsNaN(x) || x == float64(float32(x))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 09 16:41:23 UTC 2024 - 17.6K bytes - Viewed (0) -
src/runtime/mpagealloc_32bit.go
mappedReady = scavIndexSize } else { // Set up the scavenge index. s.chunks = scavengeIndexArray[:] } s.min.Store(1) // The 0th chunk is never going to be mapped for the heap. s.max.Store(uintptr(len(s.chunks))) return } // sysGrow is a no-op on 32-bit platforms. func (s *scavengeIndex) sysGrow(base, limit uintptr, sysStat *sysMemStat) uintptr { return 0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 20 20:08:25 UTC 2023 - 4.6K bytes - Viewed (0)