Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for LookupFunc (0.34 sec)

  1. src/cmd/internal/objfile/disasm.go

    		}
    		f(pc, uint64(size), file, line, text)
    		pc += uint64(size)
    	}
    }
    
    type lookupFunc = func(addr uint64) (sym string, base uint64)
    type disasmFunc func(code []byte, pc uint64, lookup lookupFunc, ord binary.ByteOrder, _ bool) (text string, size int)
    
    func disasm_386(code []byte, pc uint64, lookup lookupFunc, _ binary.ByteOrder, gnuAsm bool) (string, int) {
    	return disasm_x86(code, pc, lookup, 32, gnuAsm)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 20 02:13:02 UTC 2022
    - 10.5K bytes
    - Viewed (0)
  2. src/debug/gosym/pclntab_test.go

    	skipIfNotELF(t)
    
    	tab := getTable(t)
    	if tab.go12line != nil {
    		// aline's don't exist in the Go 1.2 table.
    		t.Skip("not relevant to Go 1.2 symbol table")
    	}
    
    	// Find the sym package
    	pkg := tab.LookupFunc("debug/gosym.TestLineFromAline").Obj
    	if pkg == nil {
    		t.Fatalf("nil pkg")
    	}
    
    	// Walk every absolute line and ensure that we hit every
    	// source line monotonically
    	lastline := make(map[string]int)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 09 17:17:44 UTC 2022
    - 9.6K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/text/unicode/norm/forminfo.go

    	flags qcInfo // quick check flags
    	index uint16
    }
    
    // functions dispatchable per form
    type lookupFunc func(b input, i int) Properties
    
    // formInfo holds Form-specific functions and tables.
    type formInfo struct {
    	form                     Form
    	composing, compatibility bool // form type
    	info                     lookupFunc
    	nextMain                 iterFunc
    }
    
    var formTable = []*formInfo{{
    	form:          NFC,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  4. src/vendor/golang.org/x/text/unicode/norm/forminfo.go

    	flags qcInfo // quick check flags
    	index uint16
    }
    
    // functions dispatchable per form
    type lookupFunc func(b input, i int) Properties
    
    // formInfo holds Form-specific functions and tables.
    type formInfo struct {
    	form                     Form
    	composing, compatibility bool // form type
    	info                     lookupFunc
    	nextMain                 iterFunc
    }
    
    var formTable = []*formInfo{{
    	form:          NFC,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 10 18:59:52 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  5. src/debug/gosym/symtab.go

    		case 'T', 't', 'L', 'l', 'D', 'd', 'B', 'b':
    			if s.Name == name {
    				return s
    			}
    		}
    	}
    	return nil
    }
    
    // LookupFunc returns the text, data, or bss symbol with the given name,
    // or nil if no such symbol is found.
    func (t *Table) LookupFunc(name string) *Func {
    	for i := range t.Funcs {
    		f := &t.Funcs[i]
    		if f.Sym.Name == name {
    			return f
    		}
    	}
    	return nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 17.9K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"(*Sym).BaseName", Method, 0},
    		{"(*Sym).PackageName", Method, 0},
    		{"(*Sym).ReceiverName", Method, 0},
    		{"(*Sym).Static", Method, 0},
    		{"(*Table).LineToPC", Method, 0},
    		{"(*Table).LookupFunc", Method, 0},
    		{"(*Table).LookupSym", Method, 0},
    		{"(*Table).PCToFunc", Method, 0},
    		{"(*Table).PCToLine", Method, 0},
    		{"(*Table).SymByAddr", Method, 0},
    		{"(*UnknownLineError).Error", Method, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  7. api/go1.txt

    pkg debug/gosym, method (*Sym) ReceiverName() string
    pkg debug/gosym, method (*Sym) Static() bool
    pkg debug/gosym, method (*Table) LineToPC(string, int) (uint64, *Func, error)
    pkg debug/gosym, method (*Table) LookupFunc(string) *Func
    pkg debug/gosym, method (*Table) LookupSym(string) *Sym
    pkg debug/gosym, method (*Table) PCToFunc(uint64) *Func
    pkg debug/gosym, method (*Table) PCToLine(uint64) (string, int, *Func)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top