Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 49 of 49 for expected (0.21 sec)

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

    		p.errorf("%s: expected immediate constant; found %s", op, obj.Dconv(prog, addr))
    	}
    	return addr.Offset
    }
    
    // getRegister checks that addr represents a register and returns its value.
    func (p *Parser) getRegister(prog *obj.Prog, op obj.As, addr *obj.Addr) int16 {
    	if addr.Type != obj.TYPE_REG || addr.Offset != 0 || addr.Name != 0 || addr.Index != 0 {
    		p.errorf("%s: expected register; found %s", op, obj.Dconv(prog, addr))
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 25.3K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/lex/lex_test.go

    	for _, test := range lexTests {
    		input := NewInput(test.name)
    		input.Push(NewTokenizer(test.name, strings.NewReader(test.input), nil))
    		result := drain(input)
    		if result != test.output {
    			t.Errorf("%s: got %q expected %q", test.name, result, test.output)
    		}
    	}
    }
    
    // lines joins the arguments together as complete lines.
    func lines(a ...string) string {
    	return strings.Join(a, "\n") + "\n"
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  3. lib/time/mkzip.go

    		if d.IsDir() {
    			return nil
    		}
    		data, err := os.ReadFile(path)
    		if err != nil {
    			log.Fatal(err)
    		}
    		if strings.HasSuffix(path, ".zip") {
    			log.Fatalf("unexpected file during walk: %s", path)
    		}
    		name := filepath.ToSlash(path)
    		w, err := zw.CreateRaw(&zip.FileHeader{
    			Name:               name,
    			Method:             zip.Store,
    			CompressedSize64:   uint64(len(data)),
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Mar 04 17:32:07 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  4. doc/go_spec.html

    Functions:
    	append cap clear close complex copy delete imag len
    	make max min new panic print println real recover
    </pre>
    
    <h3 id="Exported_identifiers">Exported identifiers</h3>
    
    <p>
    An identifier may be <i>exported</i> to permit access to it from another package.
    An identifier is exported if both:
    </p>
    <ol>
    	<li>the first character of the identifier's name is a Unicode uppercase
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  5. .github/ISSUE_TEMPLATE/00-bug.yml

        validations:
          required: true
    
      - type: textarea
        id: expected-behavior
        attributes:
          label: "What did you expect to see?"
          description: Why is the current output incorrect, and any additional context we may need to understand the issue.
        validations:
    Others
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Jan 04 23:31:17 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/endtoend_test.go

    		m := fileLineRE.FindStringSubmatch(line)
    		if m == nil {
    			t.Errorf("unexpected error: %v", line)
    			continue
    		}
    		fileline := m[1]
    		if errors[fileline] != "" && errors[fileline] != line {
    			t.Errorf("multiple errors on %s:\n\t%s\n\t%s", fileline, errors[fileline], line)
    			continue
    		}
    		errors[fileline] = line
    	}
    
    	// Reconstruct expected errors by independently "parsing" the input.
    	data, err := os.ReadFile(input)
    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)
  7. src/cmd/asm/internal/asm/testdata/amd64error.s

    	// TODO(quasilyte): improve error message (#21860).
    	VPGATHERQQ X2, (BP)(X20*2), X3  // ERROR "invalid instruction"
    	VPGATHERQQ Y2, (BP)(Y20*2), Y3  // ERROR "invalid instruction"
    	// YzrMulti4 expects exactly 4 registers referenced by REG_LIST.
    	// TODO(quasilyte): improve error message (#21860).
    	V4FMADDPS (AX), [Z0-Z4], K1, Z7  // ERROR "invalid instruction"
    	V4FMADDPS (AX), [Z0-Z0], K1, Z7  // ERROR "invalid instruction"
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jun 14 00:03:57 GMT 2023
    - 8.9K bytes
    - Viewed (0)
  8. src/builtin/builtin.go

    // implied by the type argument.
    func clear[T ~[]Type | ~map[Type]Type1](t T)
    
    // The close built-in function closes a channel, which must be either
    // bidirectional or send-only. It should be executed only by the sender,
    // never the receiver, and has the effect of shutting down the channel after
    // the last sent value is received. After the last value has been received
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  9. api/go1.1.txt

    pkg regexp/syntax, const ErrMissingRepeatArgument = "missing argument to repetition operator"
    pkg regexp/syntax, const ErrTrailingBackslash = "trailing backslash at end of expression"
    pkg regexp/syntax, const ErrUnexpectedParen = "unexpected )"
    pkg regexp/syntax, const ErrUnexpectedParen ErrorCode
    pkg regexp/syntax, const FoldCase = 1
    pkg regexp/syntax, const InstAlt = 0
    pkg regexp/syntax, const InstAltMatch = 1
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Viewed (0)
Back to top