Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 529 for illegally (1.01 sec)

  1. test/fixedbugs/bug324.dir/prog.go

    	var px p.Exported
    	px = p.X
    	
    	// this assignment is correctly illegal:
    	//	px.private undefined (cannot refer to unexported field or method private)
    	// px.private()
    
    	// this assignment is correctly illegal:
    	//	*Implementation does not implement p.Exported (missing p.private method)
    	// px = new(Implementation)
    
    	// this assignment is correctly illegal:
    	//	p.Exported does not implement Exported (missing private method)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Oct 07 16:37:05 UTC 2012
    - 1.2K bytes
    - Viewed (0)
  2. test/fixedbugs/issue4405.go

    // license that can be found in the LICENSE file.
    
    package p
    
    const (
    	_ = iota
    	_ // ERROR "illegal character|invalid character"
    	_  // ERROR "illegal character|invalid character"
    	_  // ERROR "illegal character|invalid character"
    	_  // ERROR "illegal character|invalid character"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 413 bytes
    - Viewed (0)
  3. src/go/types/token_test.go

    	token.SHR_ASSIGN:     token.SHR,
    	token.AND_NOT_ASSIGN: token.AND_NOT,
    }
    
    func TestZeroTok(t *testing.T) {
    	// zero value for token.Token must be token.ILLEGAL
    	var zero token.Token
    	if token.ILLEGAL != zero {
    		t.Errorf("%s == %d; want 0", token.ILLEGAL, zero)
    	}
    }
    
    func TestAssignOp(t *testing.T) {
    	// there are fewer than 256 tokens
    	for i := 0; i < 256; i++ {
    		tok := token.Token(i)
    		got := assignOp(tok)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 08 03:40:04 UTC 2015
    - 1.2K bytes
    - Viewed (0)
  4. src/go/scanner/scanner_test.go

    	pos int
    	lit string
    	err string
    }{
    	{"\a", token.ILLEGAL, 0, "", "illegal character U+0007"},
    	{`#`, token.ILLEGAL, 0, "", "illegal character U+0023 '#'"},
    	{`…`, token.ILLEGAL, 0, "", "illegal character U+2026 '…'"},
    	{"..", token.PERIOD, 0, "", ""}, // two periods, not invalid token (issue #28112)
    	{`' '`, token.CHAR, 0, `' '`, ""},
    	{`''`, token.CHAR, 0, `''`, "illegal rune literal"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 15:38:31 UTC 2023
    - 34.6K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/core/ModelPathValidationTest.groovy

            e.message =~ "contains illegal"
    
            when:
            ModelPath.validateName("aü")
    
            then:
            e = thrown(ModelPath.InvalidNameException)
            e.message =~ "contains illegal"
    
            when:
            ModelPath.validateName("abü")
    
            then:
            e = thrown(ModelPath.InvalidNameException)
            e.message =~ "contains illegal"
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/stablehlo/tests/bridge/verify-quant-legalization.mlir

      // expected-error@+1 {{'func.return' op is illegal as it is a UQ op or contains uq/qint types}}
      func.return %arg0: tensor<1x!tf_type.qint8>
    }
    
    // -----
    
    func.func @illegal_cast(%arg0: tensor<1x!tf_type.qint8>) -> tensor<1xi8> {
      // expected-error@+1 {{'tf.Cast' op is illegal as it is a UQ op or contains uq/qint types}}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 18 18:54:14 UTC 2023
    - 3K bytes
    - Viewed (0)
  7. test/fixedbugs/bug127.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    func main() {
    	var x int64 = 0;
    	println(x != nil);	// ERROR "illegal|incompatible|nil"
    	println(0 != nil);	// ERROR "illegal|incompatible|nil"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 04:49:30 UTC 2012
    - 334 bytes
    - Viewed (0)
  8. test/fixedbugs/bug087.go

    const s string = "foo";
    
    func main() {
    	i := len(s);  // should be legal to take len() of a constant
    	_ = i;
    }
    
    /*
    uetli:~/Source/go1/test/bugs gri$ 6g bug087.go
    bug087.go:6: illegal combination of literals LEN 9
    bug087.go:6: illegal combination of literals LEN 9
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 18 21:15:42 UTC 2012
    - 453 bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/testdata/riscv64error.s

    	MOVHU	X5, (X6)			// ERROR "unsupported unsigned store"
    	MOVWU	X5, (X6)			// ERROR "unsupported unsigned store"
    	MOVF	F0, F1, F2			// ERROR "illegal MOV instruction"
    	MOVD	F0, F1, F2			// ERROR "illegal MOV instruction"
    	MOV	X10, X11, X12			// ERROR "illegal MOV instruction"
    	MOVW	X10, X11, X12			// ERROR "illegal MOV instruction"
    	RORI	$64, X5, X6			// ERROR "immediate out of range 0 to 63"
    	SLLI	$64, X5, X6			// ERROR "immediate out of range 0 to 63"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 07 03:32:27 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/aot/codegen_test.cc

      ExpectErrorContains(ValidateCppIdent(" ", ""), "illegal leading char");
      ExpectErrorContains(ValidateCppIdent("0", ""), "illegal leading char");
      ExpectErrorContains(ValidateCppIdent(".", ""), "illegal leading char");
      ExpectErrorContains(ValidateCppIdent(":", ""), "illegal leading char");
      ExpectErrorContains(ValidateCppIdent("a.", ""), "illegal char");
      ExpectErrorContains(ValidateCppIdent("a:", ""), "illegal char");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 01 02:13:40 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top