Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 21 for IfNode (0.23 sec)

  1. src/runtime/align_runtime_test.go

    	unsafe.Offsetof(heapStatsDelta{}.inHeap),
    	unsafe.Offsetof(heapStatsDelta{}.inStacks),
    	unsafe.Offsetof(heapStatsDelta{}.inPtrScalarBits),
    	unsafe.Offsetof(heapStatsDelta{}.inWorkBufs),
    	unsafe.Offsetof(lfnode{}.next),
    	unsafe.Offsetof(mstats{}.last_gc_nanotime),
    	unsafe.Offsetof(mstats{}.last_gc_unix),
    	unsafe.Offsetof(workType{}.bytesMarked),
    }
    
    // AtomicVariables is the set of global variables on which we perform
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. src/runtime/mgcstack.go

    type stackWorkBufHdr struct {
    	_ sys.NotInHeap
    	workbufhdr
    	next *stackWorkBuf // linked list of workbufs
    	// Note: we could theoretically repurpose lfnode.next as this next pointer.
    	// It would save 1 word, but that probably isn't worth busting open
    	// the lfnode API.
    }
    
    // Buffer for stack objects found on a goroutine stack.
    // Must be smaller than or equal to workbuf.
    type stackObjectBuf struct {
    	_ sys.NotInHeap
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 21 21:06:52 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  3. src/runtime/export_test.go

    }
    
    const PreemptMSupported = preemptMSupported
    
    type LFNode struct {
    	Next    uint64
    	Pushcnt uintptr
    }
    
    func LFStackPush(head *uint64, node *LFNode) {
    	(*lfstack)(head).push((*lfnode)(unsafe.Pointer(node)))
    }
    
    func LFStackPop(head *uint64) *LFNode {
    	return (*LFNode)((*lfstack)(head).pop())
    }
    func LFNodeValidate(node *LFNode) {
    	lfnodeValidate((*lfnode)(unsafe.Pointer(node)))
    }
    
    func Netpoll(delta int64) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  4. src/runtime/mspanset.go

    }
    
    const (
    	spanSetBlockEntries = 512 // 4KB on 64-bit
    	spanSetInitSpineCap = 256 // Enough for 1GB heap on 64-bit
    )
    
    type spanSetBlock struct {
    	// Free spanSetBlocks are managed via a lock-free stack.
    	lfnode
    
    	// popped is the number of pop operations that have occurred on
    	// this block. This number is used to help determine when a block
    	// may be safely recycled.
    	popped atomic.Uint32
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  5. src/syscall/syscall_linux.go

    			return nil
    		}
    		return EACCES
    	}
    
    	var fmode uint32
    	if uint32(uid) == st.Uid {
    		fmode = (st.Mode >> 6) & 7
    	} else {
    		var gid int
    		if flags&_AT_EACCESS != 0 {
    			gid = Getegid()
    		} else {
    			gid = Getgid()
    		}
    
    		if uint32(gid) == st.Gid || isGroupMember(int(st.Gid)) {
    			fmode = (st.Mode >> 3) & 7
    		} else {
    			fmode = st.Mode & 7
    		}
    	}
    
    	if fmode&mode == mode {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  6. src/encoding/xml/read.go

    			}
    		}
    
    		// Assign attributes.
    		for _, a := range start.Attr {
    			handled := false
    			any := -1
    			for i := range tinfo.fields {
    				finfo := &tinfo.fields[i]
    				switch finfo.flags & fMode {
    				case fAttr:
    					strv := finfo.value(sv, initNilPointers)
    					if a.Name.Local == finfo.name && (finfo.xmlns == "" || finfo.xmlns == a.Name.Space) {
    						if err := d.unmarshalAttr(strv, a); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 22.4K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux.go

    		}
    		return EACCES
    	}
    
    	var fmode uint32
    	if uint32(uid) == st.Uid {
    		fmode = (st.Mode >> 6) & 7
    	} else {
    		var gid int
    		if flags&AT_EACCESS != 0 {
    			gid = Getegid()
    		} else {
    			gid = Getgid()
    		}
    
    		if uint32(gid) == st.Gid || isGroupMember(int(st.Gid)) {
    			fmode = (st.Mode >> 3) & 7
    		} else {
    			fmode = st.Mode & 7
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 77.5K bytes
    - Viewed (0)
  8. src/runtime/mgcwork.go

    // Internally, the GC work pool is kept in arrays in work buffers.
    // The gcWork interface caches a work buffer until full (or empty) to
    // avoid contending on the global work buffer lists.
    
    type workbufhdr struct {
    	node lfnode // must be first
    	nobj int
    }
    
    type workbuf struct {
    	_ sys.NotInHeap
    	workbufhdr
    	// account for the above fields
    	obj [(_WorkbufSize - unsafe.Sizeof(workbufhdr{})) / goarch.PtrSize]uintptr
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  9. src/encoding/xml/marshal.go

    		if !vf.IsValid() {
    			// The field is behind an anonymous struct field that's
    			// nil. Skip it.
    			continue
    		}
    
    		switch finfo.flags & fMode {
    		case fCDATA, fCharData:
    			emit := EscapeText
    			if finfo.flags&fMode == fCDATA {
    				emit = emitCDATA
    			}
    			if err := s.trim(finfo.parents); err != nil {
    				return err
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 18:46:41 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  10. src/runtime/runtime2.go

    	name      string
    	file      string
    	line      int32
    	startLine int32
    }
    
    type itab = abi.ITab
    
    // Lock-free stack node.
    // Also known to export_test.go.
    type lfnode struct {
    	next    uint64
    	pushcnt uintptr
    }
    
    type forcegcstate struct {
    	lock mutex
    	g    *g
    	idle atomic.Bool
    }
    
    // A _defer holds an entry on the list of deferred calls.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
Back to top