Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for stringIndex (0.61 sec)

  1. src/runtime/pprof/proto.go

    	for _, fn := range newFuncs {
    		start := b.pb.startMessage()
    		b.pb.uint64Opt(tagFunction_ID, fn.id)
    		b.pb.int64Opt(tagFunction_Name, b.stringIndex(fn.name))
    		b.pb.int64Opt(tagFunction_SystemName, b.stringIndex(fn.name))
    		b.pb.int64Opt(tagFunction_Filename, b.stringIndex(fn.file))
    		b.pb.int64Opt(tagFunction_StartLine, fn.startLine)
    		b.pb.endMessage(tagProfile_Function, start)
    	}
    
    	b.flush()
    	return id
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 13 20:40:52 UTC 2023
    - 25.7K bytes
    - Viewed (0)
  2. src/runtime/pprof/protomem.go

    	b.pbValueType(tagProfile_SampleType, "inuse_objects", "count")
    	b.pbValueType(tagProfile_SampleType, "inuse_space", "bytes")
    	if defaultSampleType != "" {
    		b.pb.int64Opt(tagProfile_DefaultSampleType, b.stringIndex(defaultSampleType))
    	}
    
    	values := []int64{0, 0, 0, 0}
    	var locs []uint64
    	for _, r := range p {
    		hideRuntime := true
    		for tries := 0; tries < 2; tries++ {
    			stk := r.Stack
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 14:38:45 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top