Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 99 for exit_1 (0.16 sec)

  1. src/cmd/internal/browser/browser.go

    }
    
    // appearsSuccessful reports whether the command appears to have run successfully.
    // If the command runs longer than the timeout, it's deemed successful.
    // If the command runs within the timeout, it's deemed successful if it exited cleanly.
    func appearsSuccessful(cmd *exec.Cmd, timeout time.Duration) bool {
    	errc := make(chan error, 1)
    	go func() {
    		errc <- cmd.Wait()
    	}()
    
    	select {
    	case <-time.After(timeout):
    		return true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 17:49:12 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  2. src/cmd/go/internal/base/tool.go

    // If the tool cannot be found, Tool exits the process.
    func Tool(toolName string) string {
    	toolPath, err := ToolPath(toolName)
    	if err != nil && len(cfg.BuildToolexec) == 0 {
    		// Give a nice message if there is no tool with that name.
    		fmt.Fprintf(os.Stderr, "go: no such tool %q\n", toolName)
    		SetExitStatus(2)
    		Exit()
    	}
    	return toolPath
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 19:04:09 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  3. pkg/util/flock/flock_unix.go

    func Acquire(path string) error {
    	fd, err := unix.Open(path, unix.O_CREAT|unix.O_RDWR|unix.O_CLOEXEC, 0600)
    	if err != nil {
    		return err
    	}
    
    	// We don't need to close the fd since we should hold
    	// it until the process exits.
    
    	return unix.Flock(fd, unix.LOCK_EX)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  4. src/cmd/link/internal/ld/outbuf_mmap.go

    		// area.
    		if err != syscall.ENOTSUP && err != syscall.EPERM && err != errNoFallocate {
    			return err
    		}
    	}
    	err = out.f.Truncate(int64(filesize))
    	if err != nil {
    		Exitf("resize output file failed: %v", err)
    	}
    	out.buf, err = syscall.Mmap(int(out.f.Fd()), 0, int(filesize), syscall.PROT_READ|syscall.PROT_WRITE, syscall.MAP_SHARED|syscall.MAP_FILE)
    	if err != nil {
    		return err
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 11:20:31 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. src/cmd/link/internal/riscv64/obj.go

    		ld.HEADR = ld.ELFRESERVE
    		if *ld.FlagRound == -1 {
    			*ld.FlagRound = 0x10000
    		}
    		if *ld.FlagTextAddr == -1 {
    			*ld.FlagTextAddr = ld.Rnd(0x10000, *ld.FlagRound) + int64(ld.HEADR)
    		}
    	default:
    		ld.Exitf("unknown -H option: %v", ctxt.HeadType)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 03 17:46:04 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  6. src/cmd/link/internal/ld/config.go

    			}
    		}
    	}
    
    	switch ctxt.LinkMode {
    	case LinkInternal:
    		if extNeeded {
    			Exitf("internal linking requested %sbut external linking required: %s", via, extReason)
    		}
    	case LinkExternal:
    		switch {
    		case buildcfg.GOARCH == "ppc64" && buildcfg.GOOS == "linux":
    			Exitf("external linking not supported for %s/ppc64", buildcfg.GOOS)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:14:11 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/test_fuzz_mutate_fail.txt

    [!fuzz] skip
    
    # Check that if a worker does not call F.Fuzz or calls F.Fail first,
    # 'go test' exits non-zero and no crasher is recorded.
    
    [short] skip
    env GOCACHE=$WORK/cache
    
    ! go test -fuzz=FuzzReturn
    ! exists testdata
    
    ! go test -fuzz=FuzzSkip
    ! exists testdata
    
    ! go test -fuzz=FuzzFail
    ! exists testdata
    
    ! go test -fuzz=FuzzPanic
    ! exists testdata
    
    ! go test -fuzz=FuzzNilPanic
    ! exists testdata
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 16 16:53:11 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  8. releasenotes/notes/exit-if-sds-socket-not-found.yaml

    Adam Sayah <******@****.***> 1689115366 -0700
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jul 11 22:42:46 UTC 2023
    - 313 bytes
    - Viewed (0)
  9. hack/verify-gofmt.sh

            -o -wholename '*/third_party/*' \
            -o -wholename '*/vendor/*' \
            -o -wholename '*/testdata/*' \
            -o -wholename '*/bindata.go' \
          \) -prune \
        \) -name '*.go'
    }
    
    # gofmt exits with non-zero exit code if it finds a problem unrelated to
    # formatting (e.g., a file does not parse correctly). Without "|| true" this
    # would have led to no useful error message from gofmt, because the script would
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:31 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/util/wait/error.go

    var ErrWaitTimeout = ErrorInterrupted(errors.New("timed out waiting for the condition"))
    
    // Interrupted returns true if the error indicates a Poll, ExponentialBackoff, or
    // Until loop exited for any reason besides the condition returning true or an
    // error. A loop is considered interrupted if the calling context is cancelled,
    // the context reaches its deadline, or a backoff reaches its maximum allowed
    // steps.
    //
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 19:14:11 UTC 2023
    - 3K bytes
    - Viewed (0)
Back to top