Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 42 for memclrNoHeapPointers (0.53 sec)

  1. src/cmd/internal/goobj/builtinlist.go

    	{"runtime.panicunsafeslicenilptr", 1},
    	{"runtime.unsafestringcheckptr", 1},
    	{"runtime.panicunsafestringlen", 1},
    	{"runtime.panicunsafestringnilptr", 1},
    	{"runtime.memmove", 1},
    	{"runtime.memclrNoHeapPointers", 1},
    	{"runtime.memclrHasPointers", 1},
    	{"runtime.memequal", 1},
    	{"runtime.memequal0", 1},
    	{"runtime.memequal8", 1},
    	{"runtime.memequal16", 1},
    	{"runtime.memequal32", 1},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  2. src/runtime/string.go

    // rawbyteslice allocates a new byte slice. The byte slice is not zeroed.
    func rawbyteslice(size int) (b []byte) {
    	cap := roundupsize(uintptr(size), true)
    	p := mallocgc(cap, nil, false)
    	if cap != uintptr(size) {
    		memclrNoHeapPointers(add(p, uintptr(size)), cap-uintptr(size))
    	}
    
    	*(*slice)(unsafe.Pointer(&b)) = slice{p, size, int(cap)}
    	return
    }
    
    // rawruneslice allocates a new rune slice. The rune slice is not zeroed.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/walk/range.go

    	var fn ir.Node
    	if a.Type().Elem().HasPointers() {
    		// memclrHasPointers(hp, hn)
    		ir.CurFunc.SetWBPos(wbPos)
    		fn = mkcallstmt("memclrHasPointers", hp, hn)
    	} else {
    		// memclrNoHeapPointers(hp, hn)
    		fn = mkcallstmt("memclrNoHeapPointers", hp, hn)
    	}
    
    	n.Body.Append(fn)
    
    	// For array range clear, also set "i = len(a) - 1"
    	if nrange != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 14:52:33 UTC 2023
    - 17.6K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/typecheck/_builtin/runtime.go

    func panicunsafeslicenilptr()
    func unsafestringcheckptr(ptr unsafe.Pointer, len int64)
    func panicunsafestringlen()
    func panicunsafestringnilptr()
    
    func memmove(to *any, frm *any, length uintptr)
    func memclrNoHeapPointers(ptr unsafe.Pointer, n uintptr)
    func memclrHasPointers(ptr unsafe.Pointer, n uintptr)
    
    func memequal(x, y *any, size uintptr) bool
    func memequal0(x, y *any) bool
    func memequal8(x, y *any) bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  5. src/runtime/malloc.go

    			gcAssistAlloc(assistG)
    		}
    	}
    	return assistG
    }
    
    // memclrNoHeapPointersChunked repeatedly calls memclrNoHeapPointers
    // on chunks of the buffer to be zeroed, with opportunities for preemption
    // along the way.  memclrNoHeapPointers contains no safepoints and also
    // cannot be preemptively scheduled, so this provides a still-efficient
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  6. src/runtime/map_fast64.go

    				}
    			}
    			e := add(unsafe.Pointer(b), dataOffset+abi.MapBucketCount*8+i*uintptr(t.ValueSize))
    			if t.Elem.Pointers() {
    				memclrHasPointers(e, t.Elem.Size_)
    			} else {
    				memclrNoHeapPointers(e, t.Elem.Size_)
    			}
    			b.tophash[i] = emptyOne
    			// If the bucket now ends in a bunch of emptyOne states,
    			// change those to emptyRest states.
    			if i == abi.MapBucketCount-1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  7. src/runtime/export_test.go

    var Usleep = usleep
    
    var PhysPageSize = physPageSize
    var PhysHugePageSize = physHugePageSize
    
    var NetpollGenericInit = netpollGenericInit
    
    var Memmove = memmove
    var MemclrNoHeapPointers = memclrNoHeapPointers
    
    var CgoCheckPointer = cgoCheckPointer
    
    const CrashStackImplemented = crashStackImplemented
    
    const TracebackInnerFrames = tracebackInnerFrames
    const TracebackOuterFrames = tracebackOuterFrames
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  8. src/runtime/map_fast32.go

    				*(*unsafe.Pointer)(k) = nil
    			}
    			e := add(unsafe.Pointer(b), dataOffset+abi.MapBucketCount*4+i*uintptr(t.ValueSize))
    			if t.Elem.Pointers() {
    				memclrHasPointers(e, t.Elem.Size_)
    			} else {
    				memclrNoHeapPointers(e, t.Elem.Size_)
    			}
    			b.tophash[i] = emptyOne
    			// If the bucket now ends in a bunch of emptyOne states,
    			// change those to emptyRest states.
    			if i == abi.MapBucketCount-1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/typecheck/builtin.go

    	{"panicunsafeslicenilptr", funcTag, 9},
    	{"unsafestringcheckptr", funcTag, 122},
    	{"panicunsafestringlen", funcTag, 9},
    	{"panicunsafestringnilptr", funcTag, 9},
    	{"memmove", funcTag, 123},
    	{"memclrNoHeapPointers", funcTag, 124},
    	{"memclrHasPointers", funcTag, 124},
    	{"memequal", funcTag, 125},
    	{"memequal0", funcTag, 126},
    	{"memequal8", funcTag, 126},
    	{"memequal16", funcTag, 126},
    	{"memequal32", funcTag, 126},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  10. src/runtime/map_faststr.go

    			k.str = nil
    			e := add(unsafe.Pointer(b), dataOffset+abi.MapBucketCount*2*goarch.PtrSize+i*uintptr(t.ValueSize))
    			if t.Elem.Pointers() {
    				memclrHasPointers(e, t.Elem.Size_)
    			} else {
    				memclrNoHeapPointers(e, t.Elem.Size_)
    			}
    			b.tophash[i] = emptyOne
    			// If the bucket now ends in a bunch of emptyOne states,
    			// change those to emptyRest states.
    			if i == abi.MapBucketCount-1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 15.3K bytes
    - Viewed (0)
Back to top