Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 157 for Failure (0.12 sec)

  1. 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)
  2. src/cmd/go/internal/script/engine.go

    			// Command prefix ! means negate the expectations about this command:
    			// go command should fail, match should not be found, etc.
    			// Prefix ? means allow either success or failure.
    			switch want := expectedStatus(arg); want {
    			case failure, successOrFailure:
    				if cmd.want != "" {
    					return errors.New("duplicated '!' or '?' token")
    				}
    				cmd.want = want
    				return nil
    			}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 27 01:16:19 UTC 2023
    - 22.2K bytes
    - Viewed (0)
  3. src/regexp/all_test.go

    	if re == nil {
    		return
    	}
    	m := re.MatchString(test.text)
    	if m != (len(test.matches) > 0) {
    		t.Errorf("MatchString failure on %s: %t should be %t", test, m, len(test.matches) > 0)
    	}
    	// now try bytes
    	m = re.Match([]byte(test.text))
    	if m != (len(test.matches) > 0) {
    		t.Errorf("Match failure on %s: %t should be %t", test, m, len(test.matches) > 0)
    	}
    }
    
    func TestMatch(t *testing.T) {
    	for _, test := range findTests {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:36:03 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. src/go/doc/testdata/testing.go

    	// implicit in runtime.Goexit was not guaranteed to complete
    	// before the test exited. If a test deferred an important cleanup
    	// function (like removing temporary files), there was no guarantee
    	// it would run on a test failure. Because we send on c.signal during
    	// a top-of-stack deferred function now, we know that the send
    	// only happens after any other stacked defers have completed.
    	runtime.Goexit()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Oct 02 02:28:27 UTC 2022
    - 11.8K bytes
    - Viewed (0)
  7. 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)
  8. src/runtime/mpallocbits.go

    // starts as well as the index of the first free page it finds in its search.
    //
    // See find for an explanation of the searchIdx parameter.
    //
    // Returns a ^uint(0) index on failure and the new searchIdx should be ignored.
    //
    // findSmallN assumes npages <= 64, where any such contiguous run of pages
    // crosses at most one aligned 64-bit boundary in the bits.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 15:13:43 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  9. src/runtime/sys_linux_arm.s

    	RET
    
    TEXT runtime·munmap(SB),NOSPLIT,$0
    	MOVW	addr+0(FP), R0
    	MOVW	n+4(FP), R1
    	MOVW	$SYS_munmap, R7
    	SWI	$0
    	MOVW	$0xfffff001, R6
    	CMP 	R6, R0
    	MOVW.HI	$0, R8  // crash on syscall failure
    	MOVW.HI	R8, (R8)
    	RET
    
    TEXT runtime·madvise(SB),NOSPLIT,$0
    	MOVW	addr+0(FP), R0
    	MOVW	n+4(FP), R1
    	MOVW	flags+8(FP), R2
    	MOVW	$SYS_madvise, R7
    	SWI	$0
    	MOVW	R0, ret+12(FP)
    	RET
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 24 18:53:44 UTC 2023
    - 13.5K bytes
    - Viewed (0)
  10. src/internal/trace/trace_test.go

    		// Run some extra validation.
    		if !t.Failed() && extra != nil {
    			extra(t, tb, errBuf.Bytes(), stress)
    		}
    
    		// Dump some more information on failure.
    		if t.Failed() && onBuilder {
    			// Dump directly to the test log on the builder, since this
    			// data is critical for debugging and this is the only way
    			// we can currently make sure it's retained.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 18.5K bytes
    - Viewed (0)
Back to top