Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 976 for nobj (1.85 sec)

  1. src/runtime/mgcwork.go

    //go:nowritebarrierrec
    func (w *gcWork) putFast(obj uintptr) bool {
    	wbuf := w.wbuf1
    	if wbuf == nil || wbuf.nobj == len(wbuf.obj) {
    		return false
    	}
    
    	wbuf.obj[wbuf.nobj] = obj
    	wbuf.nobj++
    	return true
    }
    
    // putBatch performs a put on every pointer in obj. See put for
    // constraints on these pointers.
    //
    //go:nowritebarrierrec
    func (w *gcWork) putBatch(obj []uintptr) {
    	if len(obj) == 0 {
    		return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  2. src/runtime/mgcstack.go

    	obj := s.root
    	for {
    		if obj == nil {
    			return nil
    		}
    		if off < obj.off {
    			obj = obj.left
    			continue
    		}
    		if off >= obj.off+obj.size {
    			obj = obj.right
    			continue
    		}
    		return obj
    	}
    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. test/finprofiled.go

    	var totalBytes int64
    	for _, p := range prof {
    		bytes := p.AllocBytes - p.FreeBytes
    		nobj := p.AllocObjects - p.FreeObjects
    		if nobj == 0 {
    			// There may be a record that has had all of its objects
    			// freed. That's fine. Avoid a divide-by-zero and skip.
    			continue
    		}
    		size := bytes / nobj
    		if size == tinyBlockSize {
    			totalBytes += bytes
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 05:48:00 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  4. src/runtime/mgcmark.go

    		state.head = x.next
    		if stackTraceDebug {
    			for i := 0; i < x.nobj; i++ {
    				obj := &x.obj[i]
    				if obj.r == nil { // reachable
    					continue
    				}
    				println("  dead stkobj at", hex(gp.stack.lo+uintptr(obj.off)), "of size", obj.r.size)
    				// Note: not necessarily really dead - only reachable-from-ptr dead.
    			}
    		}
    		x.nobj = 0
    		putempty((*workbuf)(unsafe.Pointer(x)))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  5. src/runtime/mgc.go

    			if gcw.wbuf1 == nil {
    				print(" wbuf1=<nil>")
    			} else {
    				print(" wbuf1.n=", gcw.wbuf1.nobj)
    			}
    			if gcw.wbuf2 == nil {
    				print(" wbuf2=<nil>")
    			} else {
    				print(" wbuf2.n=", gcw.wbuf2.nobj)
    			}
    			print("\n")
    			throw("P has cached GC work at end of mark termination")
    		}
    		// There may still be cached empty buffers, which we
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/loong64/obj.go

    		p.From.Sym = sym
    		p.From.Name = obj.NAME_GOTREF
    		p.To.Type = obj.TYPE_REG
    		p.To.Reg = REGTMP
    		p.To.Name = obj.NAME_NONE
    		p.To.Offset = 0
    		p.To.Sym = nil
    		p1 := obj.Appendp(p, newprog)
    		p1.As = AADDV
    		p1.From.Type = obj.TYPE_CONST
    		p1.From.Offset = offset
    		p1.To.Type = obj.TYPE_REG
    		p1.To.Reg = REGTMP
    		p2 := obj.Appendp(p1, newprog)
    		p2.As = AJAL
    		p2.To.Type = obj.TYPE_MEM
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 19:22:18 UTC 2023
    - 19.7K bytes
    - Viewed (0)
  7. src/cmd/link/internal/x86/obj.go

    // Inferno utils/8l/obj.c
    // https://bitbucket.org/inferno-os/inferno-os/src/master/utils/8l/obj.c
    //
    //	Copyright © 1994-1999 Lucent Technologies Inc.  All rights reserved.
    //	Portions Copyright © 1995-1997 C H Forsyth (******@****.***)
    //	Portions Copyright © 1997-1999 Vita Nuova Limited
    //	Portions Copyright © 2000-2007 Vita Nuova Holdings Limited (www.vitanuova.com)
    //	Portions Copyright © 2004,2006 Bruce Ellis
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 19:32:19 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  8. src/cmd/link/internal/s390x/obj.go

    // Inferno utils/5l/obj.c
    // https://bitbucket.org/inferno-os/inferno-os/src/master/utils/5l/obj.c
    //
    //	Copyright © 1994-1999 Lucent Technologies Inc.  All rights reserved.
    //	Portions Copyright © 1995-1997 C H Forsyth (******@****.***)
    //	Portions Copyright © 1997-1999 Vita Nuova Limited
    //	Portions Copyright © 2000-2007 Vita Nuova Holdings Limited (www.vitanuova.com)
    //	Portions Copyright © 2004,2006 Bruce Ellis
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 19:32:19 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  9. docs/debugging/s3-verify/main.go

    		return false
    	}
    
    	core := minio.Core{Client: sclnt}
    	sobj, _, _, err := core.GetObject(context.Background(), sourceBucket, srcCtnt.Key, opts)
    	if err != nil {
    		fmt.Printf("unreadable on source: %s (%s)\n", srcCtnt.Key, err)
    		return false
    	}
    
    	tobj, _, _, err := core.GetObject(context.Background(), targetBucket, tgtCtnt.Key, opts)
    	if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 22 15:12:47 UTC 2022
    - 8.4K bytes
    - Viewed (0)
  10. src/cmd/link/internal/loong64/obj.go

    limeidan <******@****.***> 1717559615 +0800
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 13:49:14 UTC 2024
    - 1.5K bytes
    - Viewed (0)
Back to top