Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 341 for linkname (1.85 sec)

  1. src/runtime/slice.go

    	}
    	if asanenabled {
    		asanread(from, copymem)
    	}
    
    	memmove(to, from, copymem)
    
    	return to
    }
    
    // makeslice should be an internal detail,
    // but widely used packages access it using linkname.
    // Notable members of the hall of shame include:
    //   - github.com/bytedance/sonic
    //
    // Do not remove or change the type signature.
    // See go.dev/issue/67401.
    //
    //go:linkname makeslice
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. src/internal/runtime/atomic/atomic_s390x.go

    // Copyright 2016 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.
    
    package atomic
    
    import "unsafe"
    
    // Export some functions via linkname to assembly in sync/atomic.
    //
    //go:linkname Load
    //go:linkname Loadp
    //go:linkname Load64
    
    //go:nosplit
    //go:noinline
    func Load(ptr *uint32) uint32 {
    	return *ptr
    }
    
    //go:nosplit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/pkginit/initAsanGlobals.go

    	if strings.Contains(n.Sym().Name, "cgo") {
    		return false
    	}
    
    	// Do not instrument globals that are linknamed, because their home package will do the work.
    	if n.Sym().Linkname != "" {
    		return false
    	}
    
    	return true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 17 19:36:24 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  4. src/runtime/runtime1.go

    		// restore the preemption request in case we've cleared it in newstack
    		gp.stackguard0 = stackPreempt
    	}
    }
    
    // reflect_typelinks is meant for package reflect,
    // but widely used packages access it using linkname.
    // Notable members of the hall of shame include:
    //   - gitee.com/quant1x/gox
    //   - github.com/goccy/json
    //   - github.com/modern-go/reflect2
    //   - github.com/vmware/govmomi
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  5. pkg/volume/util/atomic_writer.go

    			slashpos = len(userVisiblePath)
    		}
    		linkname := userVisiblePath[:slashpos]
    		_, err := os.Readlink(filepath.Join(w.targetDir, linkname))
    		if err != nil && os.IsNotExist(err) {
    			// The link into the data directory for this path doesn't exist; create it
    			visibleFile := filepath.Join(w.targetDir, linkname)
    			dataDirFile := filepath.Join(dataDirName, linkname)
    
    			err = os.Symlink(dataDirFile, visibleFile)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  6. src/runtime/atomic_pointer.go

    // atomicwb performs a write barrier before an atomic pointer write.
    // The caller should guard the call with "if writeBarrier.enabled".
    //
    // atomicwb should be an internal detail,
    // but widely used packages access it using linkname.
    // Notable members of the hall of shame include:
    //   - github.com/bytedance/gopkg
    //   - github.com/songzhibin97/gkit
    //
    // Do not remove or change the type signature.
    // See go.dev/issue/67401.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. src/runtime/map_fast64.go

    			}
    		}
    	}
    	return unsafe.Pointer(&zeroVal[0])
    }
    
    // mapaccess2_fast64 should be an internal detail,
    // but widely used packages access it using linkname.
    // Notable members of the hall of shame include:
    //   - github.com/ugorji/go/codec
    //
    // Do not remove or change the type signature.
    // See go.dev/issue/67401.
    //
    //go:linkname mapaccess2_fast64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  8. src/internal/runtime/atomic/atomic_mipsx.go

    // Copyright 2016 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 mips || mipsle
    
    // Export some functions via linkname to assembly in sync/atomic.
    //
    //go:linkname Xadd64
    //go:linkname Xchg64
    //go:linkname Cas64
    //go:linkname Load64
    //go:linkname Store64
    //go:linkname Or64
    //go:linkname And64
    
    package atomic
    
    import (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 20:08:37 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. src/runtime/debug/stack.go

    // Package debug contains facilities for programs to debug themselves while
    // they are running.
    package debug
    
    import (
    	"internal/poll"
    	"os"
    	"runtime"
    	_ "unsafe" // for linkname
    )
    
    // PrintStack prints to standard error the stack trace returned by runtime.Stack.
    func PrintStack() {
    	os.Stderr.Write(Stack())
    }
    
    // Stack returns a formatted stack trace of the goroutine that calls it.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 15:19:04 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. src/runtime/tracetime.go

    // clock sources.
    //
    // nosplit because it's called from exitsyscall, which is nosplit.
    //
    // traceClockNow is called by golang.org/x/exp/trace using linkname.
    //
    //go:linkname traceClockNow
    //go:nosplit
    func traceClockNow() traceTime {
    	if osHasLowResClock {
    		return traceTime(cputicks() / traceTimeDiv)
    	}
    	return traceTime(nanotime() / traceTimeDiv)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top