Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for Garg (0.2 sec)

  1. src/bootstrap.bash

    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"
    cd "$targ"
    echo
    echo "#### Cleaning $targ"
    chmod -R +w .
    rm -f .gitignore
    if [ -e .git ]; then
    	git clean -f -d
    fi
    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. misc/wasm/wasm_exec.js

    				if (offset % 8 !== 0) {
    					offset += 8 - (offset % 8);
    				}
    				return ptr;
    			};
    
    			const argc = this.argv.length;
    
    			const argvPtrs = [];
    			this.argv.forEach((arg) => {
    				argvPtrs.push(strPtr(arg));
    			});
    			argvPtrs.push(0);
    
    			const keys = Object.keys(this.env).sort();
    			keys.forEach((key) => {
    				argvPtrs.push(strPtr(`${key}=${this.env[key]}`));
    			});
    			argvPtrs.push(0);
    JavaScript
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon May 22 17:47:47 GMT 2023
    - 16.3K bytes
    - Viewed (1)
  3. src/cmd/cgo/doc.go

    	<remote>, so that C code can refer to it by that name. This
    	mechanism makes it possible for C code to call back into Go or
    	to share Go's data.
    
    //go:cgo_ldflag "<arg>"
    
    	In external linking mode, invoke the host linker (usually gcc)
    	with "<arg>" as a command-line argument following the .o files.
    	Note that the arguments are for "gcc", not "ld".
    
    	Example:
    	//go:cgo_ldflag "-lpthread"
    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)
  4. src/cmd/buildid/buildid.go

    	os.Exit(2)
    }
    
    var wflag = flag.Bool("w", false, "write build ID")
    
    func main() {
    	log.SetPrefix("buildid: ")
    	log.SetFlags(0)
    	flag.Usage = usage
    	flag.Parse()
    	if flag.NArg() != 1 {
    		usage()
    	}
    
    	file := flag.Arg(0)
    	id, err := buildid.ReadFile(file)
    	if err != nil {
    		log.Fatal(err)
    	}
    	if !*wflag {
    		fmt.Printf("%s\n", id)
    		return
    	}
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Jun 06 14:30:53 GMT 2022
    - 1.5K bytes
    - Viewed (0)
  5. src/cmd/cgo/gcc.go

    			fmt.Fprintf(&sb, "var _cgo%d %s = %s; ", i,
    				gofmtLine(ptype), gofmtPos(arg, origArg.Pos()))
    			continue
    		}
    
    		// Check for &a[i].
    		if p.checkIndex(&sb, &sbCheck, arg, i) {
    			continue
    		}
    
    		// Check for &x.
    		if p.checkAddr(&sb, &sbCheck, arg, i) {
    			continue
    		}
    
    		// Check for a[:].
    		if p.checkSlice(&sb, &sbCheck, arg, i) {
    			continue
    		}
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  6. api/go1.txt

    pkg flag, func Int64(string, int64, string) *int64
    pkg flag, func Int64Var(*int64, string, int64, string)
    pkg flag, func IntVar(*int, string, int, string)
    pkg flag, func Lookup(string) *Flag
    pkg flag, func NArg() int
    pkg flag, func NFlag() int
    pkg flag, func NewFlagSet(string, ErrorHandling) *FlagSet
    pkg flag, func Parse()
    pkg flag, func Parsed() bool
    pkg flag, func PrintDefaults()
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (1)
  7. src/cmd/asm/internal/flags/flags.go

    	fmt.Fprintf(os.Stderr, "Flags:\n")
    	flag.PrintDefaults()
    	os.Exit(2)
    }
    
    func Parse() {
    	objabi.Flagparse(Usage)
    	if flag.NArg() == 0 {
    		flag.Usage()
    	}
    
    	// Flag refinement.
    	if *OutputFile == "" {
    		if flag.NArg() != 1 {
    			flag.Usage()
    		}
    		input := filepath.Base(flag.Arg(0))
    		input = strings.TrimSuffix(input, ".s")
    		*OutputFile = fmt.Sprintf("%s.o", input)
    	}
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Aug 22 19:18:23 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/lex/input.go

    			case scanner.Ident:
    				if !acceptArg {
    					in.Error("bad syntax in definition for macro:", name)
    				}
    				arg := in.Stack.Text()
    				if i := lookup(args, arg); i >= 0 {
    					in.Error("duplicate argument", arg, "in definition for macro:", name)
    				}
    				args = append(args, arg)
    				acceptArg = false
    			default:
    				in.Error("bad definition for macro:", name)
    			}
    		}
    	}
    	var tokens []Token
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/parse.go

    			// Otherwise ignored.
    			continue
    		}
    		return tok
    	}
    }
    
    // line consumes a single assembly line from p.lex of the form
    //
    //	{label:} WORD[.cond] [ arg {, arg} ] (';' | '\n')
    //
    // It adds any labels to p.pendingLabels and returns the word, cond,
    // operand list, and true. If there is an error or EOF, it returns
    // ok=false.
    //
    // line may reuse the memory from scratch.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/asm/asm.go

    	// currently isn't supported for asm functions.
    	if nameAddr.Sym.ABI() == obj.ABIInternal && flag&obj.NOSPLIT == 0 {
    		p.errorf("TEXT %q: ABIInternal requires NOSPLIT", name)
    	}
    
    	// Next operand is the frame and arg size.
    	// Bizarre syntax: $frameSize-argSize is two words, not subtraction.
    	// Both frameSize and argSize must be simple integers; only frameSize
    	// can be negative.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 25.3K bytes
    - Viewed (0)
Back to top