Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for unknown (0.15 sec)

  1. src/cmd/asm/internal/asm/line_test.go

    		// Test AVX512 suffixes.
    		{"VADDPD.A X0, X1, X2", `unknown suffix "A"`},
    		{"VADDPD.A.A X0, X1, X2", `unknown suffix "A"; duplicate suffix "A"`},
    		{"VADDPD.A.A.A X0, X1, X2", `unknown suffix "A"; duplicate suffix "A"`},
    		{"VADDPD.A.B X0, X1, X2", `unknown suffix "A"; unknown suffix "B"`},
    		{"VADDPD.Z.A X0, X1, X2", `Z suffix should be the last; unknown suffix "A"`},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  2. src/cmd/asm/main.go

    	ctxt.Debugpcln = flags.DebugFlags.PCTab
    	ctxt.IsAsm = true
    	ctxt.Pkgpath = *flags.Importpath
    	switch *flags.Spectre {
    	default:
    		log.Printf("unknown setting -spectre=%s", *flags.Spectre)
    		os.Exit(2)
    	case "":
    		// nothing
    	case "index":
    		// known to compiler; ignore here so people can use
    		// the same list with -gcflags=-spectre=LIST and -asmflags=-spectrre=LIST
    	case "all", "ret":
    		ctxt.Retpoline = true
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 2.7K bytes
    - Viewed (0)
  3. src/archive/tar/format.go

    const (
    	// Deliberately hide the meaning of constants from public API.
    	_ Format = (1 << iota) / 4 // Sequence of 0, 0, 1, 2, 4, 8, etc...
    
    	// FormatUnknown indicates that the format is unknown.
    	FormatUnknown
    
    	// The format of the original Unix V7 tar tool prior to standardization.
    	formatV7
    
    	// FormatUSTAR represents the USTAR header format defined in POSIX.1-1988.
    	//
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 11.3K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/swig/testdata/callback/main.go

    package main
    
    import (
    	"fmt"
    	"os"
    )
    
    func main() {
    	if len(os.Args) != 2 {
    		fatal("usage: callback testname")
    	}
    	switch os.Args[1] {
    	default:
    		fatal("unknown test %q", os.Args[1])
    	case "Call":
    		testCall()
    	case "Callback":
    		testCallback()
    	}
    	println("OK")
    }
    
    func fatal(f string, args ...any) {
    	fmt.Fprintln(os.Stderr, fmt.Sprintf(f, args...))
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:07 GMT 2023
    - 1K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/swig/swig_test.go

    func run(t *testing.T, dir string, lto bool, args ...string) {
    	runArgs := append([]string{"run", "."}, args...)
    	cmd := exec.Command("go", runArgs...)
    	cmd.Dir = dir
    	if lto {
    		const cflags = "-flto -Wno-lto-type-mismatch -Wno-unknown-warning-option"
    		cmd.Env = append(cmd.Environ(),
    			"CGO_CFLAGS="+cflags,
    			"CGO_CXXFLAGS="+cflags,
    			"CGO_LDFLAGS="+cflags)
    	}
    	out, err := cmd.CombinedOutput()
    	if string(out) != "OK\n" {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:07 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  6. src/archive/zip/reader.go

    		// to an index into the r.fileList entry that we are
    		// building. They are used to mark duplicate entries.
    		files := make(map[string]int)
    		knownDirs := make(map[string]int)
    
    		// dirs[name] is true if name is known to be a directory,
    		// because it appears as a prefix in a path.
    		dirs := make(map[string]bool)
    
    		for _, file := range r.File {
    			isDir := len(file.Name) > 0 && file.Name[len(file.Name)-1] == '/'
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/arch/arch.go

    	instructions["BL"] = obj.ACALL
    	// MCR differs from MRC by the way fields of the word are encoded.
    	// (Details in arm.go). Here we add the instruction so parse will find
    	// it, but give it an opcode number known only to us.
    	instructions["MCR"] = aMCR
    
    	return &Arch{
    		LinkArch:       &arm.Linkarm,
    		Instructions:   instructions,
    		Register:       register,
    		RegisterPrefix: registerPrefix,
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Mar 21 06:51:28 GMT 2023
    - 21.3K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/asm/endtoend_test.go

    		if !strings.HasSuffix(s, "\n") {
    			s += "\n"
    		}
    		errBuf.WriteString(s)
    	}
    	for _, flag := range flags {
    		switch flag {
    		case "dynlink":
    			ctxt.Flag_dynlink = true
    		default:
    			t.Errorf("unknown flag %s", flag)
    		}
    	}
    	pList.Firstpc, ok = parser.Parse()
    	obj.Flushplist(ctxt, pList, nil)
    	if ok && !failed {
    		t.Errorf("asm: %s had no errors", file)
    	}
    
    	errors := map[string]string{}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Dec 07 18:42:59 GMT 2023
    - 11.6K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/parse.go

    		p.next()
    		scale = p.parseScale(p.next().String())
    	}
    	return r1, r2, scale, true
    }
    
    // registerShift parses an ARM/ARM64 shifted register reference and returns the encoded representation.
    // There is known to be a register (current token) and a shift operator (peeked token).
    func (p *Parser) registerShift(name string, prefix rune) int64 {
    	if prefix != 0 {
    		p.errorf("prefix %c not allowed for shifted register: $%s", prefix, name)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/lex/input.go

    func (in *Input) Text() string {
    	return in.text
    }
    
    // hash processes a # preprocessor directive. It reports whether it completes.
    func (in *Input) hash() bool {
    	// We have a '#'; it must be followed by a known word (define, include, etc.).
    	tok := in.Stack.Next()
    	if tok != scanner.Ident {
    		in.expectText("expected identifier after '#'")
    	}
    	if !in.enabled() {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 12.6K bytes
    - Viewed (0)
Back to top