- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 127 for insts (0.15 sec)
-
src/cmd/vendor/github.com/google/pprof/internal/report/source.go
length := 1 if i+1 < len(insts) && insts[i+1].Addr > inst.Addr { // Extend to next instruction. length = int(insts[i+1].Addr - inst.Addr) } // Get inlined-call-stack for address. frames, err := r.obj.SourceLine(addr) if err != nil { // Construct a frame from disassembler output. frames = []plugin.Frame{{Func: inst.Function, File: inst.File, Line: inst.Line}} }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 31.3K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/report/report.go
func annotateAssembly(insts []plugin.Inst, samples graph.Nodes, file plugin.ObjFile) []assemblyInstruction { // Add end marker to simplify printing loop. insts = append(insts, plugin.Inst{ Addr: ^uint64(0), }) // Ensure samples are sorted by address. samples.Sort(graph.AddressOrder) s := 0 asm := make([]assemblyInstruction, 0, len(insts)) for ix, in := range insts[:len(insts)-1] {
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/driver/driver.go
} func (o *internalObjTool) Disasm(file string, start, end uint64, intelSyntax bool) ([]plugin.Inst, error) { insts, err := o.ObjTool.Disasm(file, start, end, intelSyntax) if err != nil { return nil, err } var pluginInst []plugin.Inst for _, inst := range insts { pluginInst = append(pluginInst, plugin.Inst(inst)) } return pluginInst, nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 9.8K bytes - Viewed (0) -
src/cmd/compile/internal/types2/api_test.go
} if !Identical(inst.Inst.Type, inst2) { t.Errorf("%v and %v are not identical", inst.Inst.Type, inst2) } } }) } } type recordedInstance struct { Name *syntax.Name Inst Instance } func sortedInstances(m map[*syntax.Name]Instance) (instances []recordedInstance) { for id, inst := range m { instances = append(instances, recordedInstance{id, inst}) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 93.3K bytes - Viewed (0) -
src/go/types/api_test.go
} if !Identical(inst.Inst.Type, inst2) { t.Errorf("%v and %v are not identical", inst.Inst.Type, inst2) } } }) } } type recordedInstance struct { Ident *ast.Ident Inst Instance } func sortedInstances(m map[*ast.Ident]Instance) (instances []recordedInstance) { for id, inst := range m { instances = append(instances, recordedInstance{id, inst}) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 94.2K bytes - Viewed (0) -
src/cmd/cover/cfg_test.go
testenv.MustHaveGoRun(t) t.Parallel() // Subdir in testdata that has our input files of interest. tpath := filepath.Join("testdata", "pkgcfg") dir := tempDir(t) instdira := filepath.Join(dir, "insta") if err := os.Mkdir(instdira, 0777); err != nil { t.Fatal(err) } scenarios := []struct { mode, gran string }{ { mode: "count", gran: "perblock", }, { mode: "set",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 12:51:11 UTC 2024 - 7.8K bytes - Viewed (0) -
src/encoding/gob/encode.go
defer enc.freeEncoderState(state) state.fieldnum = -1 for i := 0; i < len(engine.instr); i++ { instr := &engine.instr[i] if i >= value.NumField() { // encStructTerminator instr.op(instr, state, reflect.Value{}) break } field := value.FieldByIndex(instr.index) if instr.indir > 0 { field = encIndirect(field, instr.indir) // TODO: Is field guaranteed valid? If so we could avoid this check.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 02:00:26 UTC 2024 - 19K bytes - Viewed (0) -
platforms/core-execution/worker-main/src/main/java/org/gradle/process/internal/worker/GradleWorkerMain.java
public void run() throws Exception { DataInputStream instr = new DataInputStream(new EncodedStream.EncodedInput(System.in)); // Read shared packages int sharedPackagesCount = instr.readInt(); List<String> sharedPackages = new ArrayList<String>(sharedPackagesCount); for (int i = 0; i < sharedPackagesCount; i++) { sharedPackages.add(instr.readUTF()); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 05:58:56 UTC 2024 - 3.5K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/test/groovy/org/gradle/internal/serialize/kryo/KryoBackedCodecTest.groovy
when: def instr = new ByteArrayInputStream(outstr.toByteArray()) def decoder = new KryoBackedDecoder(instr) then: instr.available() == 4108 decoder.readPosition == 0 when: decoder.readBoolean() decoder.readByte() decoder.readLong() then: instr.available() == 12 // decoder has buffered from instr
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 5.2K bytes - Viewed (0) -
src/cmd/compile/internal/types2/named_test.go
Node := firstFieldType(Inst) Tree := firstFieldType(Node) if !Identical(Inst, Tree) { t.Fatalf("Not a cycle: got %v, want %v", Tree, Inst) } if Inst != Tree { t.Errorf("Duplicate instances in cycle: %s (%p) -> %s (%p) -> %s (%p)", Inst, Inst, Node, Node, Tree, Tree) } } // TestMethodOrdering is a simple test verifying that the indices of methods of
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 16 21:06:56 UTC 2024 - 3.6K bytes - Viewed (0)