- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 74 for stk (0.02 sec)
-
src/internal/trace/internal/testgen/go122/trace.go
// // This is a convenience function for easily adding correct // stacks to traces. func (g *Generation) Stack(stk []trace.StackFrame) uint64 { if len(stk) == 0 { return 0 } if len(stk) > 32 { panic("stack too big for test") } var stkc stack copy(stkc.stk[:], stk) stkc.len = len(stk) if id, ok := g.stacks[stkc]; ok { return id } id := uint64(len(g.stacks) + 1) g.stacks[stkc] = id
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 9.7K bytes - Viewed (0) -
src/runtime/pprof/map.go
e := &m.free[0] m.free = m.free[1:] e.nextHash = m.hash[h] e.tag = tag if len(m.freeStk) < len(stk) { m.freeStk = make([]uintptr, 1024) } // Limit cap to prevent append from clobbering freeStk. e.stk = m.freeStk[:len(stk):len(stk)] m.freeStk = m.freeStk[len(stk):] for j := range stk { e.stk[j] = uintptr(stk[j]) } if m.hash == nil { m.hash = make(map[uintptr]*profMapEntry) } m.hash[h] = e
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 05 21:51:02 UTC 2020 - 1.9K bytes - Viewed (0) -
src/cmd/vendor/rsc.io/markdown/inline.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 21.9K bytes - Viewed (0) -
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) -
src/runtime/pprof/mprof_test.go
allocateTransient2MInline() allocatePersistent1K() allocateReflect() memSink = nil runtime.GC() // materialize stats memoryProfilerRun++ tests := []struct { stk []string legacy string }{{ stk: []string{"runtime/pprof.allocatePersistent1K", "runtime/pprof.TestMemoryProfiler"}, legacy: fmt.Sprintf(`%v: %v \[%v: %v\] @ 0x[0-9,a-f]+ 0x[0-9,a-f]+ 0x[0-9,a-f]+ 0x[0-9,a-f]+
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 16 15:20:22 UTC 2022 - 5.3K bytes - Viewed (0) -
src/runtime/pprof/protomem.go
stk = stk[i:] break } } locs = b.appendLocsForStack(locs[:0], stk) if len(locs) > 0 { break } hideRuntime = false // try again, and show all frames next time. } values[0], values[1] = scaleHeapSample(r.AllocObjects, r.AllocBytes, rate) values[2], values[3] = scaleHeapSample(r.InUseObjects(), r.InUseBytes(), rate) var blockSize int64
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 14:38:45 UTC 2024 - 2.9K bytes - Viewed (0) -
src/runtime/testdata/testprogcgo/numgoroutine.go
return string(sbuf), true } var callbackok bool //export CallbackNumGoroutine func CallbackNumGoroutine() { stk, ok := checkNumGoroutine("second", 2+baseGoroutines) if !ok { return } if !strings.Contains(stk, "CallbackNumGoroutine") { fmt.Printf("missing CallbackNumGoroutine from stack:\n%s\n", stk) return } callbackok = true
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 22:52:37 UTC 2023 - 1.9K bytes - Viewed (0) -
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) -
src/runtime/os_openbsd_syscall.go
func tfork(param *tforkt, psize uintptr, mm *m, gg *g, fn uintptr) int32 // May run with m.p==nil, so write barriers are not allowed. // //go:nowritebarrier func newosproc(mp *m) { stk := unsafe.Pointer(mp.g0.stack.hi) if false { print("newosproc stk=", stk, " m=", mp, " g=", mp.g0, " id=", mp.id, " ostk=", &mp, "\n") } // Stack pointer must point inside stack area (as marked with MAP_STACK), // rather than at the top of it.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 10 20:44:45 UTC 2022 - 1.4K bytes - Viewed (0) -
src/runtime/stack_test.go
b := make([]byte, 1024) stk := string(b[:Stack(b, false)]) if !strings.HasPrefix(stk, "goroutine ") { t.Errorf("Stack (len %d):\n%s", len(stk), stk) t.Errorf("Stack output should begin with \"goroutine \"") } } func TestStackAllOutput(t *testing.T) { b := make([]byte, 1024) stk := string(b[:Stack(b, true)]) if !strings.HasPrefix(stk, "goroutine ") {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 14 00:03:57 UTC 2023 - 23.1K bytes - Viewed (0)