Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 50 for flag (0.2 sec)

  1. src/cmd/api/api_test.go

    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"flag"
    	"fmt"
    	"go/build"
    	"internal/testenv"
    	"os"
    	"path/filepath"
    	"sort"
    	"strings"
    	"sync"
    	"testing"
    )
    
    var flagCheck = flag.Bool("check", false, "run API checks")
    
    func TestMain(m *testing.M) {
    	flag.Parse()
    	for _, c := range contexts {
    		c.Compiler = build.Default.Compiler
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jan 04 17:31:12 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  2. src/cmd/cgo/doc.go

    	import "C"
    
    The default pkg-config tool may be changed by setting the PKG_CONFIG environment variable.
    
    For security reasons, only a limited set of flags are allowed, notably -D, -U, -I, and -l.
    To allow additional flags, set CGO_CFLAGS_ALLOW to a regular expression
    matching the new flags. To disallow flags that would otherwise be allowed,
    set CGO_CFLAGS_DISALLOW to a regular expression matching arguments
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  3. api/go1.5.txt

    pkg encoding/json, method (Delim) String() string
    pkg encoding/json, type Delim int32
    pkg encoding/json, type Token interface {}
    pkg encoding/json, type UnmarshalTypeError struct, Offset int64
    pkg flag, func UnquoteUsage(*Flag) (string, string)
    pkg go/ast, type EmptyStmt struct, Implicit bool
    pkg go/build, type Package struct, PkgTargetRoot string
    pkg go/constant, const Bool = 1
    pkg go/constant, const Bool Kind
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jul 30 21:14:09 GMT 2015
    - 46.6K bytes
    - Viewed (0)
  4. src/archive/zip/reader_test.go

    		}
    		defer z.Close()
    
    		for _, f := range z.File {
    			// Make file a directory
    			f.Name += "/"
    
    			t.Run(f.Name, func(t *testing.T) {
    				t.Logf("CompressedSize64: %d, Flags: %#x", f.CompressedSize64, f.Flags)
    
    				rd, err := f.Open()
    				if err != nil {
    					t.Fatal(err)
    				}
    				defer rd.Close()
    
    				n, got := io.Copy(io.Discard, rd)
    				if n != 0 || got != ErrFormat {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/flags/flags.go

    	fmt.Fprintf(os.Stderr, "usage: asm [options] file.s ...\n")
    	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")
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 22 19:18:23 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  6. api/go1.3.txt

    pkg syscall (freebsd-386), type Termios struct, Cc [20]uint8
    pkg syscall (freebsd-386), type Termios struct, Cflag uint32
    pkg syscall (freebsd-386), type Termios struct, Iflag uint32
    pkg syscall (freebsd-386), type Termios struct, Ispeed uint32
    pkg syscall (freebsd-386), type Termios struct, Lflag uint32
    pkg syscall (freebsd-386), type Termios struct, Oflag uint32
    pkg syscall (freebsd-386), type Termios struct, Ospeed uint32
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Jun 02 02:45:00 GMT 2014
    - 117K bytes
    - Viewed (0)
  7. src/cmd/cgo/ast.go

    package main
    
    import (
    	"fmt"
    	"go/ast"
    	"go/format"
    	"go/parser"
    	"go/scanner"
    	"go/token"
    	"os"
    	"strings"
    )
    
    func parse(name string, src []byte, flags parser.Mode) *ast.File {
    	ast1, err := parser.ParseFile(fset, name, src, flags)
    	if err != nil {
    		if list, ok := err.(scanner.ErrorList); ok {
    			// If err is a scanner.ErrorList, its String will print just
    			// the first error and then (+n more errors).
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jun 07 16:54:27 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  8. api/go1.13.txt

    pkg syscall (netbsd-arm64-cgo), type Termios struct, Cflag uint32
    pkg syscall (netbsd-arm64-cgo), type Termios struct, Iflag uint32
    pkg syscall (netbsd-arm64-cgo), type Termios struct, Ispeed int32
    pkg syscall (netbsd-arm64-cgo), type Termios struct, Lflag uint32
    pkg syscall (netbsd-arm64-cgo), type Termios struct, Oflag uint32
    pkg syscall (netbsd-arm64-cgo), type Termios struct, Ospeed int32
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Aug 08 18:44:16 GMT 2019
    - 452.6K bytes
    - Viewed (0)
  9. misc/wasm/wasm_exec.js

    			link(path, link, callback) { callback(enosys()); },
    			lstat(path, callback) { callback(enosys()); },
    			mkdir(path, perm, callback) { callback(enosys()); },
    			open(path, flags, mode, callback) { callback(enosys()); },
    			read(fd, buffer, offset, length, position, callback) { callback(enosys()); },
    			readdir(path, callback) { callback(enosys()); },
    			readlink(path, callback) { callback(enosys()); },
    JavaScript
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon May 22 17:47:47 GMT 2023
    - 16.3K bytes
    - Viewed (1)
  10. src/archive/tar/writer.go

    		}
    
    		// Write the extended header file.
    		var name string
    		var flag byte
    		if isGlobal {
    			name = realName
    			if name == "" {
    				name = "GlobalHead.0.0"
    			}
    			flag = TypeXGlobalHeader
    		} else {
    			dir, file := path.Split(realName)
    			name = path.Join(dir, "PaxHeaders.0", file)
    			flag = TypeXHeader
    		}
    		data := buf.String()
    		if len(data) > maxSpecialFileSize {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 19.6K bytes
    - Viewed (0)
Back to top