Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 132 for Failure (0.12 sec)

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

    	lineNum  int // current line number.
    	env      []string
    }
    
    // run runs the generators in the current file.
    func (g *Generator) run() (ok bool) {
    	// Processing below here calls g.errorf on failure, which does panic(stop).
    	// If we encounter an error, we abort the package.
    	defer func() {
    		e := recover()
    		if e != nil {
    			ok = false
    			if e != stop {
    				panic(e)
    			}
    			base.SetExitStatus(1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 29 19:39:24 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  3. src/os/file_unix.go

    			}
    		} else if err := syscall.SetNonblock(fd, true); err == nil {
    			f.nonblock = true
    			clearNonBlock = true
    		} else {
    			pollable = false
    		}
    	}
    
    	// An error here indicates a failure to register
    	// with the netpoll system. That can happen for
    	// a file descriptor that is not supported by
    	// epoll/kqueue; for example, disk files on
    	// Linux systems. We assume that any real error
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:52:34 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_ppc.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: Mon Jan 22 19:00:13 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  5. src/net/http/client.go

    	// RoundTrip should not attempt to interpret the response. In
    	// particular, RoundTrip must return err == nil if it obtained
    	// a response, regardless of the response's HTTP status code.
    	// A non-nil err should be reserved for failure to obtain a
    	// response. Similarly, RoundTrip should not attempt to
    	// handle higher-level protocol details such as redirects,
    	// authentication, or cookies.
    	//
    	// RoundTrip should not modify the request, except for
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 06:06:11 UTC 2024
    - 33.7K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/operand.go

    	}
    }
    
    // assignableTo reports whether x is assignable to a variable of type T. If the
    // result is false and a non-nil cause is provided, it may be set to a more
    // detailed explanation of the failure (result != ""). The returned error code
    // is only valid if the (first) result is false. The check parameter may be nil
    // if assignableTo 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: Thu May 23 21:17:10 UTC 2024
    - 11K bytes
    - Viewed (0)
  7. src/text/template/parse/parse_test.go

    		}
    	}
    }
    
    func TestErrorContextWithTreeCopy(t *testing.T) {
    	tree, err := New("root").Parse("{{if true}}{{end}}", "", "", make(map[string]*Tree), nil)
    	if err != nil {
    		t.Fatalf("unexpected tree parse failure: %v", err)
    	}
    	treeCopy := tree.Copy()
    	wantLocation, wantContext := tree.ErrorContext(tree.Root.Nodes[0])
    	gotLocation, gotContext := treeCopy.ErrorContext(treeCopy.Root.Nodes[0])
    	if wantLocation != gotLocation {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 24K bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/testcshared/cshared_test.go

    		argv = append(argv, "-ldflags", "-extldflags=-Wl,--export-all-symbols")
    	}
    	argv = append(argv, "-o", objfile, srcfile)
    	out, err := exec.Command("go", argv...).CombinedOutput()
    	if err != nil {
    		t.Fatalf("build failure: %s\n%s\n", err, string(out))
    	}
    
    	f, err := pe.Open(objfile)
    	if err != nil {
    		t.Fatalf("pe.Open failed: %v", err)
    	}
    	defer f.Close()
    	section := f.Section(".edata")
    	if section == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 13:19:50 UTC 2023
    - 21K bytes
    - Viewed (0)
  9. src/syscall/exec_linux_test.go

    				if testenv.SyscallIsNotSupported(err) {
    					// May be inside a container that disallows CLONE_NEWUSER.
    					t.Skipf("skipping: CLONE_NEWUSER appears to be unsupported")
    				}
    				t.Fatalf("unexpected command failure; output:\n%s", out)
    			}
    
    			sout := strings.TrimSpace(string(out))
    			want := "root"
    			if sout != want {
    				t.Fatalf("whoami = %q; want %q", out, want)
    			}
    		})
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 07:45:37 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  10. src/cmd/go/internal/work/shell.go

    var cgoTypeSigRe = lazyregexp.New(`\b_C2?(type|func|var|macro)_\B`)
    
    // run runs the command given by cmdline in the directory dir.
    // If the command fails, run prints information about the failure
    // and returns a non-nil error.
    func (sh *Shell) run(dir string, desc string, env []string, cmdargs ...any) error {
    	out, err := sh.runOut(dir, env, cmdargs...)
    	if desc == "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 19.8K bytes
    - Viewed (0)
Back to top