Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for GoSyntax (0.15 sec)

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

    	size := inst.Len
    	if err != nil || size == 0 || inst.Op == 0 {
    		size = 1
    		text = "?"
    	} else {
    		if gnuAsm {
    			text = fmt.Sprintf("%-36s // %s", x86asm.GoSyntax(inst, pc, lookup), x86asm.GNUSyntax(inst, pc, nil))
    		} else {
    			text = x86asm.GoSyntax(inst, pc, lookup)
    		}
    	}
    	return text, size
    }
    
    type textReader struct {
    	code []byte
    	pc   uint64
    }
    
    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/macho/macho.go

    	FLAGS uint64
    	CS    uint64
    	FS    uint64
    	GS    uint64
    }
    
    type intName struct {
    	i uint32
    	s string
    }
    
    func stringName(i uint32, names []intName, goSyntax bool) string {
    	for _, n := range names {
    		if n.i == i {
    			if goSyntax {
    				return "macho." + n.s
    			}
    			return n.s
    		}
    	}
    	return strconv.FormatUint(uint64(i), 10)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 14 00:56:52 UTC 2021
    - 7.6K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/arch/x86/x86asm/plan9x.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package x86asm
    
    import (
    	"fmt"
    	"strings"
    )
    
    type SymLookup func(uint64) (string, uint64)
    
    // GoSyntax returns the Go assembler syntax for the instruction.
    // The syntax was originally defined by Plan 9.
    // The pc is the program counter of the instruction, used for expanding
    // PC-relative addresses into absolute ones.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 12 20:38:21 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/arch/ppc64/ppc64asm/plan9.go

    // Copyright 2015 The Go Authors.  All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package ppc64asm
    
    import (
    	"fmt"
    	"strings"
    )
    
    // GoSyntax returns the Go assembler syntax for the instruction.
    // The pc is the program counter of the first instruction, used for expanding
    // PC-relative addresses into absolute ones.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 17:16:14 UTC 2022
    - 10.9K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/arch/arm/armasm/plan9x.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package armasm
    
    import (
    	"bytes"
    	"encoding/binary"
    	"fmt"
    	"io"
    	"math"
    	"strings"
    )
    
    // GoSyntax returns the Go assembler syntax for the instruction.
    // The syntax was originally defined by Plan 9.
    // The pc is the program counter of the instruction, used for expanding
    // PC-relative addresses into absolute ones.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/arch/arm64/arm64asm/plan9x.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package arm64asm
    
    import (
    	"fmt"
    	"io"
    	"sort"
    	"strings"
    )
    
    // GoSyntax returns the Go assembler syntax for the instruction.
    // The syntax was originally defined by Plan 9.
    // The pc is the program counter of the instruction, used for
    // expanding PC-relative addresses into absolute ones.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 16 22:24:28 UTC 2022
    - 17K bytes
    - Viewed (0)
  7. src/debug/elf/elf.go

    }
    
    const Sym64Size = 24
    
    type intName struct {
    	i uint32
    	s string
    }
    
    func stringName(i uint32, names []intName, goSyntax bool) string {
    	for _, n := range names {
    		if n.i == i {
    			if goSyntax {
    				return "elf." + n.s
    			}
    			return n.s
    		}
    	}
    
    	// second pass - look for smaller to add with.
    	// assume sorted already
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 00:01:16 UTC 2024
    - 134.6K bytes
    - Viewed (0)
Back to top