Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 55 for Status (0.13 sec)

  1. src/cmd/compile/internal/inline/inlheur/scoring.go

    // the original hairiness estimate to form the score. "Status" shows
    // whether anything changed with the site -- did the adjustment bump
    // it down just below the threshold ("PROMOTED") or instead bump it
    // above the threshold ("DEMOTED"); this will be blank ("---") if no
    // threshold was crossed as a result of the heuristics. Note that
    // "Status" also shows whether PGO was involved. "Callee" is the name
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:42:52 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modload/query.go

    //
    // NOTE: NoMatchingVersionError MUST NOT implement Is(fs.ErrNotExist).
    //
    // If the module came from a proxy, that proxy had to return a successful status
    // code for the versions it knows about, and thus did not have the opportunity
    // to return a non-400 status code to suppress fallback.
    type NoMatchingVersionError struct {
    	query, current string
    }
    
    func (e *NoMatchingVersionError) Error() string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 11 22:29:11 UTC 2023
    - 44.7K bytes
    - Viewed (0)
  3. src/cmd/go/internal/vcs/vcs.go

    	RemoteRepo  func(v *Cmd, rootDir string) (remoteRepo string, err error)
    	ResolveRepo func(v *Cmd, rootDir, remoteRepo string) (realRepo string, err error)
    	Status      func(v *Cmd, rootDir string) (Status, error)
    }
    
    // Status is the current state of a local repository.
    type Status struct {
    	Revision    string    // Optional.
    	CommitTime  time.Time // Optional.
    	Uncommitted bool      // Required.
    }
    
    var (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:30:18 UTC 2024
    - 46.2K bytes
    - Viewed (0)
  4. src/cmd/go/internal/web/api.go

    	}
    
    	return fmt.Sprintf("reading %s: %v", e.URL, e.Status)
    }
    
    func (e *HTTPError) Is(target error) bool {
    	return target == fs.ErrNotExist && (e.StatusCode == 404 || e.StatusCode == 410)
    }
    
    func (e *HTTPError) Unwrap() error {
    	return e.Err
    }
    
    // GetBytes returns the body of the requested resource, or an error if the
    // response status was not http.StatusOK.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 25 13:00:34 UTC 2022
    - 6.9K bytes
    - Viewed (0)
  5. src/cmd/go/internal/vcweb/vcweb_test.go

    	}
    	srv := httptest.NewServer(s)
    	defer srv.Close()
    
    	resp, err := http.Get(srv.URL + "/help")
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer resp.Body.Close()
    
    	if resp.StatusCode != 200 {
    		t.Fatal(resp.Status)
    	}
    	body, err := io.ReadAll(resp.Body)
    	if err != nil {
    		t.Fatal(err)
    	}
    	t.Logf("%s", body)
    }
    
    func TestOverview(t *testing.T) {
    	s, err := vcweb.NewServer(os.DevNull, t.TempDir(), log.Default())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 25 13:00:34 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  6. src/cmd/go/go_test.go

    	tg.t.Helper()
    	if status := tg.doRun(args); status != nil {
    		wd, _ := os.Getwd()
    		tg.t.Logf("go %v failed unexpectedly in %s: %v", args, wd, status)
    		tg.t.FailNow()
    	}
    }
    
    // runFail runs the test go command, and expects it to fail.
    func (tg *testgoData) runFail(args ...string) {
    	tg.t.Helper()
    	if status := tg.doRun(args); status == nil {
    		tg.t.Fatal("testgo succeeded unexpectedly")
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/elf_test.go

    	//
    	// Interestingly, binutils version of strip will (unfortunately)
    	// print error messages if there is a problem but will not return
    	// a non-zero exit status (?why?), so we consider any output a
    	// failure here.
    	stripExecs := []string{}
    	ecmd := testenv.Command(t, testenv.GoToolPath(t), "env", "CC")
    	if out, err := ecmd.CombinedOutput(); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 13:44:07 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  8. src/cmd/go/internal/run/run.go

    available.
    
    By default, 'go run' compiles the binary without generating the information
    used by debuggers, to reduce build time. To include debugger information in
    the binary, use 'go build'.
    
    The exit status of Run is not the exit status of the compiled binary.
    
    For more about build flags, see 'go help build'.
    For more about specifying packages, see 'go help packages'.
    
    See also: go build.
    	`,
    }
    
    func init() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 19:09:38 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/test/issue1435.go

    //   for (i = 0; i < nts; i++) {
    //     pthread_join(t[i], NULL);
    //   }
    //   pthread_mutex_destroy(&mu);
    //   free(t);
    // }
    import "C"
    
    // compareStatus is used to confirm the contents of the thread
    // specific status files match expectations.
    func compareStatus(filter, expect string) error {
    	expected := filter + expect
    	pid := syscall.Getpid()
    	fs, err := os.ReadDir(fmt.Sprintf("/proc/%d/task", pid))
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jul 28 21:31:41 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  10. src/cmd/go/internal/test/test.go

    tests found in the current directory and then runs the resulting
    test binary. In this mode, caching (discussed below) is disabled.
    After the package test finishes, go test prints a summary line
    showing the test status ('ok' or 'FAIL'), package name, and elapsed
    time.
    
    The second, called package list mode, occurs when go test is invoked
    with explicit package arguments (for example 'go test math', 'go
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
Back to top