Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for exists (0.17 sec)

  1. src/bootstrap.bash

    if [ "$GOOS" = "" -o "$GOARCH" = "" ]; then
    	echo "usage: GOOS=os GOARCH=arch ./bootstrap.bash [-force]" >&2
    	exit 2
    fi
    
    forceflag=""
    if [ "$1" = "-force" ]; then
    	forceflag=-force
    	shift
    fi
    
    targ="../../go-${GOOS}-${GOARCH}-bootstrap"
    if [ -e $targ ]; then
    	echo "$targ already exists; remove before continuing"
    	exit 2
    fi
    
    unset GOROOT
    src=$(cd .. && pwd)
    echo "#### Copying to $targ"
    cp -Rp "$src" "$targ"
    Shell Script
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Jan 20 17:52:26 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/swig/swig_test.go

    func mustHaveSwigOnce(t *testing.T) {
    	swig, err := exec.LookPath("swig")
    	if err != nil {
    		t.Skipf("swig not in PATH: %s", err)
    	}
    
    	// Check that swig was installed with Go support by checking
    	// that a go directory exists inside the swiglib directory.
    	// See https://golang.org/issue/23469.
    	output, err := exec.Command(swig, "-go", "-swiglib").Output()
    	if err != nil {
    		t.Skip("swig is missing Go support")
    	}
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:07 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  3. src/archive/tar/strconv.go

    // license that can be found in the LICENSE file.
    
    package tar
    
    import (
    	"bytes"
    	"fmt"
    	"strconv"
    	"strings"
    	"time"
    )
    
    // hasNUL reports whether the NUL character exists within s.
    func hasNUL(s string) bool {
    	return strings.Contains(s, "\x00")
    }
    
    // isASCII reports whether the input is an ASCII C-style string.
    func isASCII(s string) bool {
    	for _, c := range s {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Aug 01 14:28:42 GMT 2023
    - 9K bytes
    - Viewed (0)
  4. src/cmd/cgo/doc.go

    may include command line options.
    
    The cgo tool will always invoke the C compiler with the source file's
    directory in the include path; i.e. -I${SRCDIR} is always implied. This
    means that if a header file foo/bar.h exists both in the source
    directory and also in the system include directory (or some other place
    specified by a -I flag), then "#include <foo/bar.h>" will always find the
    local version in preference to any other version.
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  5. src/archive/tar/common.go

    			paxHdrs[paxSchilyXattr+k] = v
    		}
    		whyOnlyPAX = "only PAX supports Xattrs"
    		format.mayOnlyBe(FormatPAX)
    	}
    	if len(h.PAXRecords) > 0 {
    		for k, v := range h.PAXRecords {
    			switch _, exists := paxHdrs[k]; {
    			case exists:
    				continue // Do not overwrite existing records
    			case h.Typeflag == TypeXGlobalHeader:
    				paxHdrs[k] = v // Copy all records
    			case !basicKeys[k] && !strings.HasPrefix(k, paxGNUSparse):
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
  6. doc/go1.17_spec.html

    </p>
    <p>
    For signed integers, the operations <code>+</code>,
    <code>-</code>, <code>*</code>, <code>/</code>, and <code>&lt;&lt;</code> may legally
    overflow and the resulting value exists and is deterministically defined
    by the signed integer representation, the operation, and its operands.
    Overflow does not cause a <a href="#Run_time_panics">run-time panic</a>.
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  7. src/cmd/cgo/gcc.go

    // If the command exits with a non-zero exit status, runGcc prints
    // details about what was run and exits.
    // Otherwise runGcc returns the data written to standard output and standard error.
    // Note that for some of the uses we expect useful data back
    // on standard error, but for those uses gcc must still exit 0.
    func runGcc(stdin []byte, args []string) (string, string) {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  8. src/all.bat

    LICENSE file.
    L4:
    L5:@echo off
    L6:
    L7:setlocal
    L8:
    L9:if exist make.bat goto ok
    L10:echo all.bat must be run from go\src
    L11::: cannot exit: would kill parent command interpreter
    L12:goto end
    L13::ok
    L14:
    L15:call .\make.bat --no-banner --no-local
    L16:if %GOBUILDFAIL%==1 goto end
    L17:call .\run.bat --no-rebuild --no-local
    L18:if %GOBUILDFAIL%==1 goto end
    L19:"%GOTOOLDIR%/dist" banner
    L20:
    L21::end
    L22:if x%GOBUILDEXIT%==x1 exit %GOBUILDFAIL%
    ...
    Batch File
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Apr 19 14:36:22 GMT 2023
    - 543 bytes
    - Viewed (0)
  9. src/clean.bat

    errorlevel 1 goto fail
    L13:call .\env.bat
    L14:del env.bat
    L15:echo.
    L16:
    L17:if exist %GOTOOLDIR%\dist.exe goto distok
    L18:echo cannot find %GOTOOLDIR%\dist; nothing to clean
    L19:goto fail
    L20::distok
    L21:
    L22:"%GOBIN%\go" clean -i std
    L23:"%GOBIN%\go" tool dist clean
    L24:"%GOBIN%\go" clean -i cmd
    L25:
    L26:goto end
    L27:
    L28::fail
    L29:set GOBUILDFAIL=1
    L30:
    L31::end
    L32:if x%GOBUILDEXIT%==x1 exit %GOBUILDFAIL%
    ...
    Batch File
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu May 12 16:59:17 GMT 2022
    - 600 bytes
    - Viewed (0)
  10. api/go1.13.txt

    pkg syscall (netbsd-arm64-cgo), const NOTE_EXEC = 536870912
    pkg syscall (netbsd-arm64-cgo), const NOTE_EXEC ideal-int
    pkg syscall (netbsd-arm64-cgo), const NOTE_EXIT = 2147483648
    pkg syscall (netbsd-arm64-cgo), const NOTE_EXIT ideal-int
    pkg syscall (netbsd-arm64-cgo), const NOTE_EXTEND = 4
    pkg syscall (netbsd-arm64-cgo), const NOTE_EXTEND ideal-int
    pkg syscall (netbsd-arm64-cgo), const NOTE_FORK = 1073741824
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Aug 08 18:44:16 GMT 2019
    - 452.6K bytes
    - Viewed (0)
Back to top