Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for nstk (0.1 sec)

  1. src/runtime/mprof.go

    	b := (*bucket)(persistentalloc(size, 0, &memstats.buckhash_sys))
    	b.typ = typ
    	b.nstk = uintptr(nstk)
    	return b
    }
    
    // stk returns the slice in b holding the stack. The caller can asssume that the
    // backing array is immutable.
    func (b *bucket) stk() []uintptr {
    	stk := (*[maxProfStackDepth]uintptr)(add(unsafe.Pointer(b), unsafe.Sizeof(*b)))
    	if b.nstk > maxProfStackDepth {
    		// prove that slicing works; otherwise a failure requires a P
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java

        private static class ActivationWalker extends MavenTransformer {
    
            private final Deque<ActivationFrame> stk;
    
            ActivationWalker(Deque<ActivationFrame> stk, UnaryOperator<String> transformer) {
                super(transformer);
                this.stk = stk;
            }
    
            private ActivationFrame nextFrame(String property) {
                return new ActivationFrame(property, Optional.empty());
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Jun 10 11:04:53 UTC 2024
    - 73.9K bytes
    - Viewed (0)
  3. maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

        private static class ActivationWalker extends MavenTransformer {
    
            private final Deque<ActivationFrame> stk;
    
            ActivationWalker(Deque<ActivationFrame> stk, UnaryOperator<String> transformer) {
                super(transformer);
                this.stk = stk;
            }
    
            private ActivationFrame nextFrame(String property) {
                return new ActivationFrame(property, Optional.empty());
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sat May 18 14:09:22 UTC 2024
    - 76K bytes
    - Viewed (0)
  4. src/runtime/pprof/pprof_test.go

    		for _, test := range tests {
    			if !containsStack(stks, test.stk) {
    				t.Errorf("No matching stack entry for %v, want %+v", test.name, test.stk)
    			}
    		}
    	})
    
    }
    
    func stacks(p *profile.Profile) (res [][]string) {
    	for _, s := range p.Sample {
    		var stk []string
    		for _, l := range s.Location {
    			for _, line := range l.Line {
    				stk = append(stk, line.Function.Name)
    			}
    		}
    		res = append(res, stk)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
  5. src/runtime/mgcmark.go

    				p := *(*uintptr)(unsafe.Pointer(b + i))
    				if p != 0 {
    					if obj, span, objIndex := findObject(p, b, i); obj != 0 {
    						greyobject(obj, b, i, span, gcw, objIndex)
    					} else if stk != nil && p >= stk.stack.lo && p < stk.stack.hi {
    						stk.putPtr(p, false)
    					}
    				}
    			}
    			bits >>= 1
    			i += goarch.PtrSize
    		}
    	}
    }
    
    // scanobject scans the object starting at b, adding pointers to gcw.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  6. src/runtime/traceback.go

    		hi = frame.sp + maxExpand
    	}
    	// And don't go outside the stack bounds.
    	if lo < stk.lo {
    		lo = stk.lo
    	}
    	if hi > stk.hi {
    		hi = stk.hi
    	}
    
    	// Print the hex dump.
    	print("stack: frame={sp:", hex(frame.sp), ", fp:", hex(frame.fp), "} stack=[", hex(stk.lo), ",", hex(stk.hi), ")\n")
    	hexdumpWords(lo, hi, func(p uintptr) byte {
    		switch p {
    		case frame.fp:
    			return '>'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  7. src/runtime/map.go

    			}
    			// Note: if NeedKeyUpdate is false, then the memory
    			// used to store the key is immutable, so we can share
    			// it between the original map and its clone.
    			*(*unsafe.Pointer)(dstK) = srcK
    		} else {
    			typedmemmove(t.Key, dstK, srcK)
    		}
    		if t.IndirectElem() {
    			srcEle = *(*unsafe.Pointer)(srcEle)
    			eStore := newobject(t.Elem)
    			typedmemmove(t.Elem, eStore, srcEle)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/windows/syscall_windows.go

    //sys	GetACP() (acp uint32) = kernel32.GetACP
    //sys	MultiByteToWideChar(codePage uint32, dwFlags uint32, str *byte, nstr int32, wchar *uint16, nwchar int32) (nwrite int32, err error) = kernel32.MultiByteToWideChar
    //sys	getBestInterfaceEx(sockaddr unsafe.Pointer, pdwBestIfIndex *uint32) (errcode error) = iphlpapi.GetBestInterfaceEx
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 22:18:42 UTC 2024
    - 82.8K bytes
    - Viewed (0)
Back to top