Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for Failure (0.1 sec)

  1. src/crypto/tls/bogo_shim_test.go

    	// NOTE: we don't immediately check the error, because the failure could be either because
    	// the runner failed for some unexpected reason, or because a test case failed, and we
    	// cannot easily differentiate these cases. We check if the JSON results file was written,
    	// which should only happen if the failure was because of a test failure, and use that
    	// to determine the failure mode.
    
    	resultsJSON, jsonErr := os.ReadFile(resultsFile)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:25:39 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  2. src/net/lookup_plan9.go

    		stringslite.HasSuffix(err.Error(), "dns: resource does not exist; negrcode 0") ||
    		stringslite.HasSuffix(err.Error(), "dns: resource does not exist; negrcode") ||
    		stringslite.HasSuffix(err.Error(), "dns failure") {
    		err = errNoSuchHost
    	}
    	return newDNSError(err, name, "")
    }
    
    // toLower returns a lower-case version of in. Restricting us to
    // ASCII is sufficient to handle the IP protocol names and allow
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:08:38 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  3. src/runtime/extern.go

    program fails due to an unrecovered panic or an unexpected runtime condition.
    By default, a failure prints a stack trace for the current goroutine,
    eliding functions internal to the run-time system, and then exits with exit code 2.
    The failure prints stack traces for all goroutines if there is no current goroutine
    or the failure is internal to the run-time.
    GOTRACEBACK=none omits the goroutine stack traces entirely.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  4. src/vendor/golang.org/x/net/nettest/conntest.go

    	t.Helper()
    	if nerr, ok := err.(net.Error); ok {
    		if !nerr.Timeout() {
    			if runtime.GOOS == "windows" && runtime.GOARCH == "arm64" && t.Name() == "TestTestConn/TCP/RacyRead" {
    				t.Logf("ignoring known failure mode on windows/arm64; see https://go.dev/issue/52893")
    			} else {
    				t.Errorf("got error: %v, want err.Timeout() = true", nerr)
    			}
    		}
    	} else {
    		t.Errorf("got %T: %v, want net.Error", err, err)
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go

    	{26, "SIGVTALRM", "virtual timer expired"},
    	{27, "SIGPROF", "profiling timer expired"},
    	{28, "SIGWINCH", "window changed"},
    	{29, "SIGIO", "I/O possible"},
    	{30, "SIGPWR", "power failure"},
    	{31, "SIGSYS", "bad system call"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_386.go

    	{26, "SIGVTALRM", "virtual timer expired"},
    	{27, "SIGPROF", "profiling timer expired"},
    	{28, "SIGWINCH", "window changed"},
    	{29, "SIGIO", "I/O possible"},
    	{30, "SIGPWR", "power failure"},
    	{31, "SIGSYS", "bad system call"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  7. src/runtime/gc_test.go

    		if cls := runtime.GCTestPointerClass(unsafe.Pointer(new)); cls != "stack" {
    			t.Fatalf("test bug: new (%#x) should be a stack pointer, not %s", new2, cls)
    		}
    		// This was a real failure.
    		return false
    	}
    	return true
    }
    
    func TestGCTestMoveStackRepeatedly(t *testing.T) {
    	// Move the stack repeatedly to make sure we're not doubling
    	// it each time.
    	for i := 0; i < 100; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 22:33:52 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  8. src/go/types/builtins.go

    			check.errorf(x, Test, "internal error: value of %s should be a boolean constant", x)
    			return
    		}
    		if !constant.BoolVal(x.val) {
    			check.errorf(call, Test, "%v failed", call)
    			// compile-time assertion failure - safe to continue
    		}
    		// result is constant - no need to record signature
    
    	case _Trace:
    		// trace(x, y, z, ...) dumps the positions, expressions, and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/issues_test.go

    		mast := mustParse(main)
    		conf := Config{Importer: importHelper{pkg: bpkg}}
    		_, err := conf.Check(mast.PkgName.Value, []*syntax.File{mast}, nil)
    		if err == nil {
    			t.Error("Expected failure, but it did not")
    		} else if got := err.Error(); !re.MatchString(got) {
    			t.Errorf("Wanted match for\n\t%s\n but got\n\t%s", want, got)
    		} else if testing.Verbose() {
    			t.Logf("Saw expected\n\t%s", err.Error())
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/unify.go

    	unificationDepthLimit = 50
    
    	// Whether to panic when unificationDepthLimit is reached.
    	// If disabled, a recursion depth overflow results in a (quiet)
    	// unification failure.
    	panicAtUnificationDepthLimit = true
    
    	// If enableCoreTypeUnification is set, unification will consider
    	// the core types, if any, of non-local (unbound) type parameters.
    	enableCoreTypeUnification = true
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.8K bytes
    - Viewed (0)
Back to top