Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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)
  2. 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 (1)
  3. src/archive/tar/tar_test.go

    						if err := tw.WriteHeader(file.hdr); err != nil {
    							b.Errorf("unexpected WriteHeader error: %v", err)
    						}
    						if _, err := tw.Write(file.body); err != nil {
    							b.Errorf("unexpected Write error: %v", err)
    						}
    					}
    					if err := tw.Close(); err != nil {
    						b.Errorf("unexpected Close error: %v", err)
    					}
    				}
    			})
    		}
    	})
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/test/issue27340/a.go

    package issue27340
    
    // We use the #pragma to avoid a compiler warning about incompatible
    // pointer types, because we generate code passing a struct ptr rather
    // than using the typedef. This warning is expected and does not break
    // a normal build.
    // We can only disable -Wincompatible-pointer-types starting with GCC 5.
    
    // #if __GNU_MAJOR__ >= 5
    //
    // #pragma GCC diagnostic ignored "-Wincompatible-pointer-types"
    //
    Go
    - Registered: Tue Mar 26 11:13:08 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 1.2K bytes
    - Viewed (0)
  5. 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)
  6. .github/ISSUE_TEMPLATE/03-gopls.yml

      - type: textarea
        id: actual-behavior
        attributes:
          label: "What did you see happen?"
        validations:
          required: true
      - type: textarea
        id: expected-behavior
        attributes:
          label: "What did you expect to see?"
        validations:
          required: true
      - type: textarea
        id: editor-and-settings
        attributes:
          label: "Editor and settings"
    Others
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Jan 04 23:31:17 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  7. 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)
  8. .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)
  9. 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)
Back to top