Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for shouldTrack (0.12 sec)

  1. src/cmd/compile/internal/liveness/plive.go

    	tailuevar   []int32
    	initialized bool
    }
    
    // shouldTrack reports whether the liveness analysis
    // should track the variable n.
    // We don't care about variables that have no pointers,
    // nor do we care about non-local variables,
    // nor do we care about empty structs (handled by the pointer check),
    // nor do we care about the fake PAUTOHEAP variables.
    func shouldTrack(n *ir.Name) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 15:22:22 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  2. cmd/admin-handlers.go

    // - input entry is not of the type *madmin.TraceInfo*
    // - errOnly entries are to be traced, not status code 2xx, 3xx.
    // - madmin.TraceInfo type is asked by opts
    func shouldTrace(trcInfo madmin.TraceInfo, opts madmin.ServiceTraceOpts) (shouldTrace bool) {
    	// Reject all unwanted types.
    	want := opts.TraceTypes()
    	if !want.Contains(trcInfo.TraceType) {
    		return false
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 98K bytes
    - Viewed (0)
  3. cmd/peer-rest-server.go

    	// Use buffered channel to take care of burst sends or slow w.Write()
    	err = globalTrace.SubscribeJSON(traceOpts.TraceTypes(), out, ctx.Done(), func(entry madmin.TraceInfo) bool {
    		return shouldTrace(entry, traceOpts)
    	}, &wg)
    	if err != nil {
    		return grid.NewRemoteErr(err)
    	}
    
    	// Publish bootstrap events that have already occurred before client could subscribe.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 52.1K bytes
    - Viewed (0)
Back to top