Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 164 for Unexpected (0.19 sec)

  1. src/cmd/compile/internal/syntax/testdata/issue52391.go

    package p
    
    type _ interface {
    	int
    	(int)
    	(*int)
    	*([]byte)
    	~(int)
    	(int) | (string)
    	(int) | ~(string)
    	(/* ERROR unexpected ~ */ ~int)
    	(int /* ERROR unexpected \| */ | /* ERROR unexpected name string */ string /* ERROR unexpected \) */ )
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 405 bytes
    - Viewed (0)
  2. src/crypto/internal/hpke/hpke_test.go

    			expectedEncap := mustDecodeHex(t, setup["enc"])
    			if !bytes.Equal(encap, expectedEncap) {
    				t.Errorf("unexpected encapsulated key, got: %x, want %x", encap, expectedEncap)
    			}
    			expectedSharedSecret := mustDecodeHex(t, setup["shared_secret"])
    			if !bytes.Equal(context.sharedSecret, expectedSharedSecret) {
    				t.Errorf("unexpected shared secret, got: %x, want %x", context.sharedSecret, expectedSharedSecret)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:33:33 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. src/crypto/tls/bogo_shim_test.go

    				log.Fatalf("unexpected protocol negotiated: want %q, got %q", *expectALPN, cs.NegotiatedProtocol)
    			}
    
    			if *expectECHAccepted && !cs.ECHAccepted {
    				log.Fatal("expected ECH to be accepted, but connection state shows it was not")
    			} else if i == 0 && *onInitialExpectECHAccepted && !cs.ECHAccepted {
    				log.Fatal("expected ECH to be accepted, but connection state shows it was not")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:25:39 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/syntax/testdata/issue49205.go

    // test case from issue
    
    type _ interface{
    	m /* ERROR unexpected name int in interface type; possibly missing semicolon or newline or } */ int
    }
    
    // other cases where the fix for this issue affects the error message
    
    const (
    	x int = 10 /* ERROR unexpected literal "foo" in grouped declaration; possibly missing semicolon or newline or \) */ "foo"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 952 bytes
    - Viewed (0)
  5. src/cmd/go/internal/work/security_test.go

    	if err := checkCompilerFlags("TEST", "test", []string{"-disallow"}); err != nil {
    		t.Fatalf("unexpected error for -disallow with CGO_TEST_ALLOW=-disallow: %v", err)
    	}
    	os.Unsetenv("CGO_TEST_ALLOW")
    
    	if err := checkCompilerFlags("TEST", "test", []string{"-Wall"}); err != nil {
    		t.Fatalf("unexpected error for -Wall: %v", err)
    	}
    	os.Setenv("CGO_TEST_DISALLOW", "-Wall")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:47:34 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. src/crypto/ecdh/ecdh_test.go

    				if err != nil {
    					t.Fatalf("failed to generate test key: %s", err)
    				}
    				expected := "crypto/ecdh: private key and public key curves do not match"
    				_, err = priv.ECDH(pub.PublicKey())
    				if err.Error() != expected {
    					t.Fatalf("unexpected error: want %q, got %q", expected, err)
    				}
    			})
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 18:23:49 UTC 2024
    - 18K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/syntax/testdata/issue65790.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package p
    
    import (
    	"fmt"
    )
    
    func f() {
    	int status // ERROR syntax error: unexpected name status at end of statement
    	fmt.Println(status)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 302 bytes
    - Viewed (0)
  8. doc/next/6-stdlib/99-minor/runtime/debug/42888.md

    The [SetCrashOutput] function allows the user to specify an alternate
    file to which the runtime should write its fatal crash report.
    It may be used to construct an automated reporting mechanism for all
    unexpected crashes, not just those in goroutines that explicitly use
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 20:49:22 UTC 2024
    - 282 bytes
    - Viewed (0)
  9. src/cmd/compile/internal/syntax/testdata/issue20789.go

    // license that can be found in the LICENSE file.
    
    // Make sure this doesn't crash the compiler.
    // Line 9 must end in EOF for this test (no newline).
    
    package e
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 326 bytes
    - Viewed (0)
  10. src/cmd/go/internal/modfetch/codehost/vcs.go

    			if err != nil {
    				return nil, vcsErrorf("unexpected revno from bzr log: %q", line)
    			}
    			revno = i
    		case "timestamp":
    			j := strings.Index(val, " ")
    			if j < 0 {
    				return nil, vcsErrorf("unexpected timestamp from bzr log: %q", line)
    			}
    			t, err := time.Parse("2006-01-02 15:04:05 -0700", val[j+1:])
    			if err != nil {
    				return nil, vcsErrorf("unexpected timestamp from bzr log: %q", line)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:50:24 UTC 2024
    - 17.3K bytes
    - Viewed (0)
Back to top