- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 342 for zeroed (0.21 sec)
-
src/cmd/compile/internal/ssa/writebarrier.go
// will no longer necessarily be zero). for i := min; i < max; i += ptrSize { bit := i / ptrSize z.mask &^= 1 << uint(bit) } if z.mask == 0 { // No more known zeros - don't bother keeping. continue } // Save updated known zero contents for new store. if zeroes[v.ID] != z { zeroes[v.ID] = z changed = true } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 19:09:14 UTC 2023 - 23.5K bytes - Viewed (0) -
src/runtime/slice.go
// Added entries [oldLen, newLen) are not initialized by growslice // (although for pointer-containing element types, they are zeroed). They // must be initialized by the caller. // Trailing entries [newLen, newCap) are zeroed. // // growslice's odd calling convention makes the generated code that calls // this function simpler. In particular, it accepts and returns the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 12.2K bytes - Viewed (0) -
src/runtime/string.go
// The storage is not zeroed. Callers should use // b to set the string contents and then drop b. func rawstring(size int) (s string, b []byte) { p := mallocgc(uintptr(size), nil, false) return unsafe.String((*byte)(p), size), unsafe.Slice((*byte)(p), size) } // rawbyteslice allocates a new byte slice. The byte slice is not zeroed. func rawbyteslice(size int) (b []byte) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:17:26 UTC 2024 - 13.4K bytes - Viewed (0) -
src/runtime/string_test.go
// Make sure we don't return slices that expose // an unzeroed section of stack-allocated temp buf // between len and cap. See issue 14232. s := "foož" b := ([]byte)(s) if !isZeroed(b[len(b):cap(b)]) { t.Errorf("extra bytes not zeroed") } r := ([]rune)(s) if !isZeroedR(r[len(r):cap(r)]) { t.Errorf("extra runes not zeroed") } } const intSize = 32 << (^uint(0) >> 63)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 13 14:05:23 UTC 2022 - 13.3K bytes - Viewed (0) -
test/live.go
func f14() { x := g14() // ERROR "stack object x string$" printstringpointer(&x) } func g14() string // Checking that various temporaries do not persist or cause // ambiguously live values that must be zeroed. // The exact temporary names are inconsequential but we are // trying to check that there is only one at any given site, // and also that none show up in "ambiguously live" messages. var m map[string]int
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 20:34:30 UTC 2023 - 18K bytes - Viewed (0) -
src/runtime/profbuf.go
// time of the first discarded write. The high 32 bits of 'overflow' // increment each time the low 32 bits transition from zero to non-zero // or vice versa. This sequence number avoids ABA problems in the use of // compare-and-swap to coordinate between reader and writer. // The overflowTime is only written when the low 32 bits of overflow are // zero, that is, only when there is no pending overflow entry, in
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 18.2K bytes - Viewed (0) -
test/live_regabi.go
func f14() { x := g14() // ERROR "stack object x string$" printstringpointer(&x) } func g14() string // Checking that various temporaries do not persist or cause // ambiguously live values that must be zeroed. // The exact temporary names are inconsequential but we are // trying to check that there is only one at any given site, // and also that none show up in "ambiguously live" messages. var m map[string]int
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 20:34:30 UTC 2023 - 18.4K bytes - Viewed (0) -
doc/asm.html
<code>DATA</code> directives followed by a <code>GLOBL</code> directive. Each <code>DATA</code> directive initializes a section of the corresponding memory. The memory not explicitly initialized is zeroed. The general form of the <code>DATA</code> directive is <pre> DATA symbol+offset(SB)/width, value </pre> <p> which initializes the symbol memory at the given offset and width with the given value.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 28 19:15:27 UTC 2023 - 36.3K bytes - Viewed (1) -
pkg/kubelet/kubelet_node_status.go
} } return requiresUpdate } // Zeros out extended resource capacity during reconciliation. func (kl *Kubelet) reconcileExtendedResource(initialNode, node *v1.Node) bool { requiresUpdate := updateDefaultResources(initialNode, node) // Check with the device manager to see if node has been recreated, in which case extended resources should be zeroed until they are available
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 31.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt
if (!civilizedFileSystem && (currentEditor != null || zombie)) return null val sources = mutableListOf<Source>() val lengths = this.lengths.clone() // Defensive copy since these can be zeroed out. try { for (i in 0 until valueCount) { sources += newSource(i) } return Snapshot(key, sequenceNumber, sources, lengths) } catch (_: FileNotFoundException) {
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 34.7K bytes - Viewed (0)