Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 69 for Failure (0.15 sec)

  1. src/crypto/tls/handshake_client.go

    	if err != nil {
    		return err
    	}
    	if session != nil {
    		defer func() {
    			// If we got a handshake failure when resuming a session, throw away
    			// the session ticket. See RFC 5077, Section 3.2.
    			//
    			// RFC 8446 makes no mention of dropping tickets on failure, but it
    			// does require servers to abort on invalid binders, so we need to
    			// delete tickets to recover from a corrupted PSK.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 38.6K bytes
    - Viewed (0)
  2. src/net/netip/netip.go

    	ip, err := ParseAddr(s)
    	if err != nil {
    		panic(err)
    	}
    	return ip
    }
    
    type parseAddrError struct {
    	in  string // the string given to ParseAddr
    	msg string // an explanation of the parse failure
    	at  string // optionally, the unparsed portion of in at which the error occurred.
    }
    
    func (err parseAddrError) Error() string {
    	q := strconv.Quote
    	if err.at != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 43.2K bytes
    - Viewed (0)
  3. src/go/types/issues_test.go

    		mast := mustParse(fset, main)
    		conf := Config{Importer: importHelper{pkg: bpkg}}
    		_, err := conf.Check(mast.Name.Name, fset, []*ast.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)
  4. src/go/types/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.9K bytes
    - Viewed (0)
  5. src/runtime/race.go

    				// take an outermost wrapper over nothing.
    				continue
    			}
    
    			name := sf.name()
    			file, line := u.fileLine(uf)
    			if line == 0 {
    				// Failure to symbolize
    				continue
    			}
    			ctx.fn = &bytes(name)[0] // assume NUL-terminated
    			ctx.line = uintptr(line)
    			ctx.file = &bytes(file)[0] // assume NUL-terminated
    			ctx.off = pc - fi.entry()
    			ctx.res = 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/staticinit/sched.go

    			// both words are zero and so there no work to do, so report success.
    			// If val is non-nil, we have no concrete type to record,
    			// and we won't be able to statically initialize its value, so report failure.
    			return val.Op() == ir.ONIL
    		}
    
    		if val.Type().HasShape() {
    			// See comment in cmd/compile/internal/walk/convert.go:walkConvInterface
    			return false
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 17:16:14 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/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.1K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_amd64.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)
  9. src/net/url/url.go

    func (u *URL) IsAbs() bool {
    	return u.Scheme != ""
    }
    
    // Parse parses a [URL] in the context of the receiver. The provided URL
    // may be relative or absolute. Parse returns nil, err on parse
    // failure, otherwise its return value is the same as [URL.ResolveReference].
    func (u *URL) Parse(ref string) (*URL, error) {
    	refURL, err := Parse(ref)
    	if err != nil {
    		return nil, err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 36.1K bytes
    - Viewed (0)
  10. src/runtime/metrics_test.go

    			t.Skipf("creating and observing contention on runtime-internal semaphores requires GOMAXPROCS >= %d", workers)
    		}
    
    		var sem uint32 = 1
    		var tries atomic.Int32
    		tries.Store(10_000_000) // prefer controlled failure to timeout
    		var sawContention atomic.Int32
    		var need int32 = 1
    		fn := func() bool {
    			if sawContention.Load() >= need {
    				return false
    			}
    			if tries.Add(-1) < 0 {
    				return false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 45K bytes
    - Viewed (0)
Back to top