Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 128 for Failure (0.15 sec)

  1. src/net/lookup_test.go

    		cname, srvs, err := LookupSRV(tt.service, tt.proto, tt.name)
    		if err != nil {
    			testenv.SkipFlakyNet(t)
    			if attempts < len(backoffDuration) {
    				dur := backoffDuration[attempts]
    				t.Logf("backoff %v after failure %v\n", dur, err)
    				time.Sleep(dur)
    				attempts++
    				i--
    				continue
    			}
    			t.Fatal(err)
    		}
    		if len(srvs) == 0 {
    			t.Error("got no record")
    		}
    		if !hasSuffixFold(cname, tt.cname) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  2. src/internal/bisect/bisect.go

    // See [golang.org/x/tools/cmd/bisect] for details about using the tool.
    //
    // To be a bisect target, allowing bisect to help determine which of a set of independent
    // changes provokes a failure, a program needs to:
    //
    //  1. Define a way to accept a change pattern on its command line or in its environment.
    //     The most common mechanism is a command-line flag.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 17:28:43 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  3. 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)
  4. src/go/types/conversions.go

    // is tricky because we'd have to run updateExprType on the argument first.
    // (go.dev/issue/21982.)
    
    // convertibleTo reports whether T(x) is valid. In the failure case, *cause
    // may be set to the cause for the failure.
    // The check parameter may be nil if convertibleTo is invoked through an
    // exported API call, i.e., when all methods have been type-checked.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:51:00 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  5. src/internal/trace/testdata/testprog/cpu-profile.go

    					leaf = line.Function.Name
    				}
    			}
    			// runtime.sigprof synthesizes call stacks when "normal traceback is
    			// impossible or has failed", using particular placeholder functions
    			// to represent common failure cases. Look for those functions in
    			// the leaf position as a sign that the call stack and its
    			// symbolization are more complex than this test can handle.
    			//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  6. src/net/cgo_unix.go

    		return nil, errors.New("res_ninit failure: " + err.Error())
    	}
    	defer _C_res_nclose(state)
    
    	// Some res_nsearch implementations (like macOS) do not set errno.
    	// They set h_errno, which is not per-thread and useless to us.
    	// res_nsearch returns the size of the DNS response packet.
    	// But if the DNS response packet contains failure-like response codes,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  7. src/internal/coverage/cfile/emit.go

    		return
    	}
    	ml, err := prepareForMetaEmit()
    	if err != nil {
    		fmt.Fprintf(os.Stderr, "error: coverage meta-data prep failed: %v\n", err)
    		if os.Getenv("GOCOVERDEBUG") != "" {
    			panic("meta-data write failure")
    		}
    	}
    	if len(ml) == 0 {
    		fmt.Fprintf(os.Stderr, "program not built with -cover\n")
    		return
    	}
    
    	goCoverDir = os.Getenv("GOCOVERDIR")
    	if goCoverDir == "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  8. src/testing/example.go

    // recovered is the result of invoking recover after running the test, in case it panicked.
    //
    // If stdout doesn't match the expected output or if recovered is non-nil, it'll print the cause of failure to stdout.
    // If the test is chatty/verbose, it'll print a success message to stdout.
    // If recovered is non-nil, it'll panic with that value.
    // If the test panicked with nil, or invoked runtime.Goexit, it'll be
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. 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)
  10. src/cmd/test2json/main.go

    //
    // When a benchmark runs, it typically produces a single line of output
    // giving timing results. That line is reported in an event with Action == "output"
    // and no Test field. If a benchmark logs output or reports a failure
    // (for example, by using b.Log or b.Error), that extra output is reported
    // as a sequence of events with Test set to the benchmark name, terminated
    // by a final event with Action == "bench" or "fail".
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 5.1K bytes
    - Viewed (0)
Back to top