Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 258 for mspan (0.07 sec)

  1. src/runtime/traceallocfree.go

    }
    
    // SpanAlloc records an event indicating that the span has just been allocated.
    func (tl traceLocker) SpanAlloc(s *mspan) {
    	tl.eventWriter(traceGoRunning, traceProcRunning).commit(traceEvSpanAlloc, traceSpanID(s), traceArg(s.npages), traceSpanTypeAndClass(s))
    }
    
    // SpanFree records an event indicating that the span is about to be freed.
    func (tl traceLocker) SpanFree(s *mspan) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:32:51 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. src/runtime/mcentral.go

    	return s
    }
    
    // Return span from an mcache.
    //
    // s must have a span class corresponding to this
    // mcentral and it must not be empty.
    func (c *mcentral) uncacheSpan(s *mspan) {
    	if s.allocCount == 0 {
    		throw("uncaching span but s.allocCount == 0")
    	}
    
    	sg := mheap_.sweepgen
    	stale := s.sweepgen == sg+1
    
    	// Fix up sweepgen.
    	if stale {
    		// Span was cached before sweep began. It's our
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  3. src/runtime/os_openbsd.go

    }
    
    //go:nosplit
    func validSIGPROF(mp *m, c *sigctxt) bool {
    	return true
    }
    
    func osStackAlloc(s *mspan) {
    	osStackRemap(s, _MAP_STACK)
    }
    
    func osStackFree(s *mspan) {
    	// Undo MAP_STACK.
    	osStackRemap(s, 0)
    }
    
    func osStackRemap(s *mspan, flags int32) {
    	a, err := mmap(unsafe.Pointer(s.base()), s.npages*pageSize, _PROT_READ|_PROT_WRITE, _MAP_PRIVATE|_MAP_ANON|_MAP_FIXED|flags, -1, 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. src/runtime/mfixalloc.go

    package runtime
    
    import (
    	"runtime/internal/sys"
    	"unsafe"
    )
    
    // fixalloc is a simple free-list allocator for fixed size objects.
    // Malloc uses a FixAlloc wrapped around sysAlloc to manage its
    // mcache and mspan objects.
    //
    // Memory returned by fixalloc.alloc is zeroed by default, but the
    // caller may take responsibility for zeroing allocations by setting
    // the zero flag to false. This is only safe if the memory never
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 24 20:28:25 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  5. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/text/Span.java

    import com.google.common.base.Objects;
    
    import java.io.Serializable;
    
    public class Span implements Serializable {
        private final Style style;
        private final String text;
    
        public Span(Style style, String text) {
            this.style = style;
            this.text = text;
        }
    
        public Span(String text) {
            this(Style.NORMAL, text);
        }
    
        public Style getStyle() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  6. src/internal/msan/msan.go

    // Copyright 2024 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build msan
    
    package msan
    
    import (
    	"unsafe"
    )
    
    const Enabled = true
    
    //go:linkname Read runtime.msanread
    func Read(addr unsafe.Pointer, sz uintptr)
    
    //go:linkname Write runtime.msanwrite
    func Write(addr unsafe.Pointer, sz uintptr)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 20:50:21 UTC 2024
    - 647 bytes
    - Viewed (0)
  7. src/runtime/msan/msan.go

    // Copyright 2015 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build msan && ((linux && (amd64 || arm64 || loong64)) || (freebsd && amd64))
    
    package msan
    
    /*
    #cgo CFLAGS: -fsanitize=memory
    #cgo LDFLAGS: -fsanitize=memory
    
    #include <stdint.h>
    #include <sanitizer/msan_interface.h>
    
    void __msan_read_go(void *addr, uintptr_t sz) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 25 20:58:13 UTC 2023
    - 729 bytes
    - Viewed (0)
  8. src/runtime/msan.go

    // Copyright 2015 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build msan
    
    package runtime
    
    import (
    	"unsafe"
    )
    
    // Public memory sanitizer API.
    
    func MSanRead(addr unsafe.Pointer, len int) {
    	msanread(addr, uintptr(len))
    }
    
    func MSanWrite(addr unsafe.Pointer, len int) {
    	msanwrite(addr, uintptr(len))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 20:50:21 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/testsanitizers/testdata/msan.go

    Austin Clements <******@****.***> 1683216807 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 539 bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/index.md

     │                          │
     │  <span style="background-color:#272822"><font color="#FF4689">from</font></span><span style="background-color:#272822"><font color="#F8F8F2"> main </font></span><span style="background-color:#272822"><font color="#FF4689">import</font></span><span style="background-color:#272822"><font color="#F8F8F2"> app</font></span><span style="background-color:#272822">  </span>  │
     │                          │
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 02 22:37:31 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top