Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 370 for linkname (0.27 sec)

  1. src/internal/runtime/atomic/atomic_wasm.go

    // license that can be found in the LICENSE file.
    
    // TODO(neelance): implement with actual atomic operations as soon as threads are available
    // See https://github.com/WebAssembly/design/issues/1073
    
    // Export some functions via linkname to assembly in sync/atomic.
    //
    //go:linkname Load
    //go:linkname Loadp
    //go:linkname Load64
    //go:linkname Loadint32
    //go:linkname Loadint64
    //go:linkname Loaduintptr
    //go:linkname LoadAcquintptr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. src/archive/tar/format.go

    //
    //	                  |  USTAR |       PAX |       GNU
    //	------------------+--------+-----------+----------
    //	Name              |   256B | unlimited | unlimited
    //	Linkname          |   100B | unlimited | unlimited
    //	Size              | uint33 | unlimited |    uint89
    //	Mode              | uint21 |    uint21 |    uint57
    //	Uid/Gid           | uint21 | unlimited |    uint57
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 18:36:46 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  3. src/internal/runtime/atomic/atomic_arm.go

    //go:build arm
    
    package atomic
    
    import (
    	"internal/cpu"
    	"unsafe"
    )
    
    const (
    	offsetARMHasV7Atomics = unsafe.Offsetof(cpu.ARM.HasV7Atomics)
    )
    
    // Export some functions via linkname to assembly in sync/atomic.
    //
    //go:linkname Xchg
    //go:linkname Xchguintptr
    //go:linkname Xadd
    
    type spinlock struct {
    	v uint32
    }
    
    //go:nosplit
    func (l *spinlock) lock() {
    	for {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. src/crypto/tls/cipher_suites.go

    	"crypto/aes"
    	"crypto/cipher"
    	"crypto/des"
    	"crypto/hmac"
    	"crypto/internal/boring"
    	"crypto/rc4"
    	"crypto/sha1"
    	"crypto/sha256"
    	"fmt"
    	"hash"
    	"internal/cpu"
    	"runtime"
    	_ "unsafe" // for linkname
    
    	"golang.org/x/crypto/chacha20poly1305"
    )
    
    // CipherSuite is a TLS cipher suite. Note that most functions in this package
    // accept and expose cipher suite IDs instead of this type.
    type CipherSuite struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  5. src/debug/buildinfo/buildinfo.go

    	"debug/elf"
    	"debug/macho"
    	"debug/pe"
    	"debug/plan9obj"
    	"encoding/binary"
    	"errors"
    	"fmt"
    	"internal/saferio"
    	"internal/xcoff"
    	"io"
    	"io/fs"
    	"os"
    	"runtime/debug"
    	_ "unsafe" // for linkname
    )
    
    // Type alias for build info. We cannot move the types here, since
    // runtime/debug would need to import this package, which would make it
    // a much larger dependency.
    type BuildInfo = debug.BuildInfo
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  6. src/runtime/type.go

    	if raceenabled {
    		racerelease(unsafe.Pointer(&reflectOffs.lock))
    	}
    	unlock(&reflectOffs.lock)
    }
    
    // resolveNameOff should be an internal detail,
    // but widely used packages access it using linkname.
    // Notable members of the hall of shame include:
    //   - github.com/cloudwego/frugal
    //
    // Do not remove or change the type signature.
    // See go.dev/issue/67401.
    //
    //go:linkname resolveNameOff
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  7. src/archive/tar/reader.go

    	}
    
    	var p parser
    	hdr := new(Header)
    
    	// Unpack the V7 header.
    	v7 := tr.blk.toV7()
    	hdr.Typeflag = v7.typeFlag()[0]
    	hdr.Name = p.parseString(v7.name())
    	hdr.Linkname = p.parseString(v7.linkName())
    	hdr.Size = p.parseNumeric(v7.size())
    	hdr.Mode = p.parseNumeric(v7.mode())
    	hdr.Uid = int(p.parseNumeric(v7.uid()))
    	hdr.Gid = int(p.parseNumeric(v7.gid()))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 01:59:14 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  8. src/net/dnsclient.go

    // SRV-like "underscore labels"; see golang.org/issue/12421).
    //
    // isDomainName should be an internal detail,
    // but widely used packages access it using linkname.
    // Notable members of the hall of shame include:
    //   - github.com/sagernet/sing
    //
    // Do not remove or change the type signature.
    // See go.dev/issue/67401.
    //
    //go:linkname isDomainName
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. src/go/build/read.go

    package build
    
    import (
    	"bufio"
    	"bytes"
    	"errors"
    	"fmt"
    	"go/ast"
    	"go/parser"
    	"go/scanner"
    	"go/token"
    	"io"
    	"strconv"
    	"strings"
    	"unicode"
    	"unicode/utf8"
    	_ "unsafe" // for linkname
    )
    
    type importReader struct {
    	b    *bufio.Reader
    	buf  []byte
    	peek byte
    	err  error
    	eof  bool
    	nerr int
    	pos  token.Position
    }
    
    var bom = []byte{0xef, 0xbb, 0xbf}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  10. src/runtime/map_faststr.go

    			}
    		}
    	}
    	return unsafe.Pointer(&zeroVal[0])
    }
    
    // mapaccess2_faststr 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_faststr
    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