- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for SampleType (0.21 sec)
-
src/internal/profile/profile.go
} if len(p.SampleType) != len(pb.SampleType) { return fmt.Errorf("incompatible sample types %v and %v", p.SampleType, pb.SampleType) } for i := range p.SampleType { if !compatibleValueTypes(p.SampleType[i], pb.SampleType[i]) { return fmt.Errorf("incompatible sample types %v and %v", p.SampleType, pb.SampleType) } } return nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 08 17:57:40 UTC 2024 - 13.4K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/profile/merge.go
} if len(p.SampleType) != len(pb.SampleType) { return fmt.Errorf("incompatible sample types %v and %v", p.SampleType, pb.SampleType) } for i := range p.SampleType { if !equalValueType(p.SampleType[i], pb.SampleType[i]) { return fmt.Errorf("incompatible sample types %v and %v", p.SampleType, pb.SampleType) } } return nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 16 15:19:53 UTC 2024 - 17K bytes - Viewed (0) -
src/runtime/pprof/proto_test.go
} if !reflect.DeepEqual(p.PeriodType, periodType) { t.Errorf("p.PeriodType = %v\nwant = %v", fmtJSON(p.PeriodType), fmtJSON(periodType)) } if !reflect.DeepEqual(p.SampleType, sampleType) { t.Errorf("p.SampleType = %v\nwant = %v", fmtJSON(p.SampleType), fmtJSON(sampleType)) } if defaultSampleType != p.DefaultSampleType { t.Errorf("p.DefaultSampleType = %v\nwant = %v", p.DefaultSampleType, defaultSampleType) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 31 23:21:53 UTC 2024 - 17K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/profile/profile.go
return } ratios := make([]float64, len(p.SampleType)) for i := range p.SampleType { ratios[i] = ratio } p.ScaleN(ratios) } // ScaleN multiplies each sample values in a sample by a different amount // and keeps only samples that have at least one non-zero value. func (p *Profile) ScaleN(ratios []float64) error { if len(p.SampleType) != len(ratios) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 22.3K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/profile/encode.go
} var profileDecoder = []decoder{ nil, // 0 // repeated ValueType sample_type = 1 func(b *buffer, m message) error { x := new(ValueType) pp := m.(*Profile) pp.SampleType = append(pp.SampleType, x) return decodeMessage(b, x) }, // repeated Sample sample = 2 func(b *buffer, m message) error { x := new(Sample) pp := m.(*Profile) pp.Sample = append(pp.Sample, x)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 16 15:19:53 UTC 2024 - 17.1K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/report/report.go
func NewDefault(prof *profile.Profile, options Options) *Report { index := len(prof.SampleType) - 1 o := &options if o.Title == "" && len(prof.Mapping) > 0 && prof.Mapping[0].File != "" { o.Title = filepath.Base(prof.Mapping[0].File) } o.SampleType = prof.SampleType[index].Type o.SampleUnit = strings.ToLower(prof.SampleType[index].Unit) o.SampleValue = func(v []int64) int64 { return v[index] }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 37.5K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/driver/driver.go
if len(p.SampleType) == 0 { return nil, nil, nil, fmt.Errorf("profile has no samples") } index, err := p.SampleIndexByName(sampleIndex) if err != nil { return nil, nil, nil, err } value = valueExtractor(index) if mean { meanDiv = valueExtractor(0) } v = p.SampleType[index] return } func valueExtractor(ix int) sampleValueFunc {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 10.8K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/properties/annotations/DefaultTypeMetadataStoreTest.groovy
@Issue("https://github.com/gradle/gradle/issues/913") def "@#annotation.simpleName is recognized as normalization no matter how it's defined"() { when: def typeMetadata = metadataStore.getTypeMetadata(sampleType) then: def properties = typeMetadata.propertiesMetadata properties*.propertyName as List == ["classpathInputFiles", "classpathOnly", "inputFilesClasspath"]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 20:42:35 UTC 2024 - 18.6K bytes - Viewed (0) -
src/cmd/compile/internal/test/pgo_inl_test.go
p, err := profile.Parse(originalPprofFile) if err != nil { t.Fatalf("error parsing %v: %v", profFile, err) } // Move the samples count value-type to the 0 index. p.SampleType = []*profile.ValueType{p.SampleType[tc.originalIndex]} // Ensure we only have a single set of sample values. for _, s := range p.Sample { s.Value = []int64{s.Value[tc.originalIndex]} }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 11.1K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/driver/html/common.js
const p = findPolygon(c); if (p != null) return p; } return null; } function setSampleIndexLink(si) { const elem = document.getElementById('sampletype-' + si); if (elem != null) { setHrefParams(elem, function (params) { params.set("si", si); }); } } // Update id's href to reflect current selection whenever it is
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 16 15:19:53 UTC 2024 - 20K bytes - Viewed (0)