Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for new_stack (0.27 sec)

  1. src/internal/trace/testdata/tests/go122-fail-first-gen-first.test

    -- expect --
    FAILURE "expected a proc but didn't have one"
    -- trace --
    Trace Go1.22
    EventBatch gen=1 m=0 time=0 size=5
    Frequency freq=15625000
    EventBatch gen=1 m=0 time=0 size=5
    GoCreate dt=0 new_g=1 new_stack=0 stack=0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 256 bytes
    - Viewed (0)
  2. src/internal/trace/testdata/tests/go122-go-create-without-running-g.test

    -- expect --
    SUCCESS
    -- trace --
    Trace Go1.22
    EventBatch gen=1 m=0 time=0 size=17
    ProcStatus dt=1 p=0 pstatus=1
    GoCreate dt=1 new_g=5 new_stack=0 stack=0
    GoStart dt=1 g=5 g_seq=1
    GoStop dt=1 reason_string=1 stack=0
    EventBatch gen=1 m=18446744073709551615 time=0 size=5
    Frequency freq=15625000
    EventBatch gen=1 m=18446744073709551615 time=0 size=1
    Stacks
    EventBatch gen=1 m=18446744073709551615 time=0 size=12
    Strings
    String id=1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 446 bytes
    - Viewed (0)
  3. src/internal/trace/testdata/tests/go122-annotations.test

    ProcsChange dt=1 procs_value=48 stack=3
    STWEnd dt=184
    GoCreate dt=252 new_g=6 new_stack=4 stack=5
    GoCreate dt=78 new_g=7 new_stack=6 stack=7
    GoCreate dt=73 new_g=8 new_stack=8 stack=9
    UserTaskBegin dt=71 task=1 parent_task=0 name_string=22 stack=10
    UserRegionBegin dt=535 task=1 name_string=23 stack=11
    HeapAlloc dt=26 heapalloc_value=1884160
    GoCreate dt=8 new_g=9 new_stack=12 stack=13
    GoBlock dt=249 reason_string=10 stack=14
    GoStart dt=8 g=9 g_seq=1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/telemetry/counter/counter.go

    // requiring, at a minimum, a call to runtime.Callers.
    type StackCounter = counter.StackCounter
    
    // NewStack returns a new stack counter with the given name and depth.
    //
    // See "Counter Naming" in the package doc for a description of counter naming
    // conventions.
    func NewStack(name string, depth int) *StackCounter {
    	return counter.NewStack(name, depth)
    }
    
    // Open prepares telemetry counters for recording to the file system.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 18:02:34 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/telemetry/counter/doc.go

    // totally public telemetry data.
    //
    // There are two kinds of counters, basic counters and stack counters.
    // Basic counters are created by [New].
    // Stack counters are created by [NewStack].
    // Both are incremented by calling Inc().
    //
    // Basic counters are very cheap. Stack counters are more expensive, as they
    // require parsing the stack. (Stack counters are implemented as basic counters
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:10:54 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/decompose_resource_ops.cc

        }
    
        // Save the new state value to the resource.
        pack_args.push_back(key);
        Value new_state = rewriter.create<PackOp>(loc, res_type, pack_args);
        rewriter.create<AssignVariableOp>(loc, rng_op.getResource(), new_state);
    
        // Pad the original state as necessary to fill the output shape.
        int pad = tensorflow::RNG_MAX_COUNTER_SIZE - counter_size;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 03 12:35:38 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/telemetry/internal/counter/stackcounter.go

    	mu sync.Mutex
    	// as this is a detail of the implementation, it could be replaced
    	// by a more efficient mechanism
    	stacks []stack
    }
    
    type stack struct {
    	pcs     []uintptr
    	counter *Counter
    }
    
    func NewStack(name string, depth int) *StackCounter {
    	return &StackCounter{name: name, depth: depth, file: &defaultFile}
    }
    
    // Inc increments a stack counter. It computes the caller's stack and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:10:54 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. src/cmd/internal/telemetry/telemetry.go

    	return counter.New(name)
    }
    
    // NewStackCounter returns a new stack counter with the given name and depth.
    func NewStackCounter(name string, depth int) *counter.StackCounter {
    	return counter.NewStack(name, depth)
    }
    
    // CountFlags creates a counter for every flag that is set
    // and increments the counter. The name of the counter is
    // the concatenation of prefix and the flag name.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:47:30 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. pkg/hbone/util.go

    	buf1 := bufferPoolCopy.Get().([]byte)
    	// nolint: staticcheck
    	defer bufferPoolCopy.Put(buf1)
    	bufCap := cap(buf1)
    	buf := buf1[0:bufCap:bufCap]
    
    	// For netstack: src is a gonet.Conn, doesn't implement WriterTo. Dst is a net.TcpConn - and implements ReadFrom.
    	// CopyBuffered is the actual implementation of Copy and CopyBuffer.
    	// if buf is nil, one is allocated.
    	// Duplicated from io
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  10. src/runtime/lock_sema.go

    	}
    	gp.m.mLockProfile.recordUnlock(l)
    	gp.m.locks--
    	if gp.m.locks < 0 {
    		throw("runtimeĀ·unlock: lock count")
    	}
    	if gp.m.locks == 0 && gp.preempt { // restore the preemption request in case we've cleared it in newstack
    		gp.stackguard0 = stackPreempt
    	}
    }
    
    // One-time notifications.
    func noteclear(n *note) {
    	n.key = 0
    }
    
    func notewakeup(n *note) {
    	var v uintptr
    	for {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 6.8K bytes
    - Viewed (0)
Back to top