Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 26 for Msglen (0.17 sec)

  1. src/cmd/vendor/golang.org/x/sys/windows/security_windows.go

    }
    
    func (selfRelativeSD *SECURITY_DESCRIPTOR) copySelfRelativeSecurityDescriptor() *SECURITY_DESCRIPTOR {
    	sdLen := int(selfRelativeSD.Length())
    	const min = int(unsafe.Sizeof(SECURITY_DESCRIPTOR{}))
    	if sdLen < min {
    		sdLen = min
    	}
    
    	src := unsafe.Slice((*byte)(unsafe.Pointer(selfRelativeSD)), sdLen)
    	// SECURITY_DESCRIPTOR has pointers in it, which means checkptr expects for it to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  2. src/runtime/mbarrier.go

    //
    // Do not remove or change the type signature.
    // See go.dev/issue/67401.
    //
    //go:linkname typedslicecopy
    //go:nosplit
    func typedslicecopy(typ *_type, dstPtr unsafe.Pointer, dstLen int, srcPtr unsafe.Pointer, srcLen int) int {
    	n := dstLen
    	if n > srcLen {
    		n = srcLen
    	}
    	if n == 0 {
    		return 0
    	}
    
    	// The compiler emits calls to typedslicecopy before
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  3. src/internal/abi/type.go

    	}
    	if len(tag) >= 1<<29 {
    		panic("abi.NewName: tag too long: " + tag[:1024] + "...")
    	}
    	var nameLen [10]byte
    	var tagLen [10]byte
    	nameLenLen := writeVarint(nameLen[:], len(n))
    	tagLenLen := writeVarint(tagLen[:], len(tag))
    
    	var bits byte
    	l := 1 + nameLenLen + len(n)
    	if exported {
    		bits |= 1 << 0
    	}
    	if len(tag) > 0 {
    		l += tagLenLen + len(tag)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 17 21:09:59 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/check.go

    		}
    
    		for _, v := range b.Values {
    			// Check to make sure argument count makes sense (argLen of -1 indicates
    			// variable length args)
    			nArgs := opcodeTable[v.Op].argLen
    			if nArgs != -1 && int32(len(v.Args)) != nArgs {
    				f.Fatalf("value %s has %d args, expected %d", v.LongString(),
    					len(v.Args), nArgs)
    			}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 16:41:23 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/typecheck/_builtin/runtime.go

    	cgo     bool
    	alignme uint64
    }
    
    // *byte is really *runtime.Type
    func typedmemmove(typ *byte, dst *any, src *any)
    func typedmemclr(typ *byte, dst *any)
    func typedslicecopy(typ *byte, dstPtr *any, dstLen int, srcPtr *any, srcLen int) int
    
    func selectnbsend(hchan chan<- any, elem *any) bool
    func selectnbrecv(elem *any, hchan <-chan any) (bool, bool)
    
    func selectsetpc(pc *uintptr)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  6. src/syscall/syscall_aix.go

    		return
    	}
    	oobn = int(msg.Controllen)
    	recvflags = int(msg.Flags)
    	return
    }
    
    func sendmsgN(fd int, p, oob []byte, ptr unsafe.Pointer, salen _Socklen, flags int) (n int, err error) {
    	var msg Msghdr
    	msg.Name = (*byte)(ptr)
    	msg.Namelen = uint32(salen)
    	var iov Iovec
    	if len(p) > 0 {
    		iov.Base = &p[0]
    		iov.SetLen(len(p))
    	}
    	var dummy byte
    	if len(oob) > 0 {
    		var sockType int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:50:55 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  7. src/net/netip/netip.go

    	var val, pos int
    	var digLen int // number of digits in current octet
    	s := in[off:end]
    	for i := 0; i < len(s); i++ {
    		if s[i] >= '0' && s[i] <= '9' {
    			if digLen == 1 && val == 0 {
    				return parseAddrError{in: in, msg: "IPv4 field has octet with leading zero"}
    			}
    			val = val*10 + int(s[i]) - '0'
    			digLen++
    			if val > 255 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 43.2K bytes
    - Viewed (0)
  8. src/net/dnsclient_unix.go

    		Type:  qtype,
    		Class: dnsmessage.ClassINET,
    	}
    
    	for i := 0; i < cfg.attempts; i++ {
    		for j := uint32(0); j < sLen; j++ {
    			server := cfg.servers[(serverOffset+j)%sLen]
    
    			p, h, err := r.exchange(ctx, server, q, cfg.timeout, cfg.useTCP, cfg.trustAD)
    			if err != nil {
    				dnsErr := newDNSError(err, name, server)
    				// Set IsTemporary for socket-level errors. Note that this flag
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/op.go

    // for each architecture.
    type Op int32
    
    type opInfo struct {
    	name              string
    	reg               regInfo
    	auxType           auxType
    	argLen            int32 // the number of arguments, -1 if variable length
    	asm               obj.As
    	generic           bool      // this is a generic (arch-independent) opcode
    	rematerializeable bool      // this op is rematerializeable
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 15:29:10 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  10. src/cmd/go/internal/work/exec.go

    	cleanup = func() {} // no cleanup by default
    
    	var argLen int
    	for _, arg := range cmd.Args {
    		argLen += len(arg)
    	}
    
    	// If we're not approaching 32KB of args, just pass args normally.
    	// (use 30KB instead to be conservative; not sure how accounting is done)
    	if !useResponseFile(cmd.Path, argLen) {
    		return
    	}
    
    	tf, err := os.CreateTemp("", "args")
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
Back to top