Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for files (0.39 sec)

  1. src/cmd/cgo/doc.go

    them as part of the Go package. Any .c, .s, .S or .sx files will be
    compiled with the C compiler. Any .cc, .cpp, or .cxx files will be
    compiled with the C++ compiler. Any .f, .F, .for or .f90 files will be
    compiled with the fortran compiler. Any .h, .hh, .hpp, or .hxx files will
    not be compiled separately, but, if these header files are changed,
    the package (including its non-Go source files) will be recompiled.
    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)
  2. src/archive/zip/reader_test.go

    	}
    	_, err = r.Open("test.txt")
    	if err != nil {
    		t.Errorf("Error reading file: %v", err)
    	}
    	if len(r.File) != 1 {
    		t.Fatalf("No entries in the file list")
    	}
    	if r.File[0].Name != "../test.txt" {
    		t.Errorf("Unexpected entry name: %s", r.File[0].Name)
    	}
    	if _, err := r.File[0].Open(); err != nil {
    		t.Errorf("Error opening file: %v", err)
    	}
    }
    
    func TestOpenReaderInsecurePath(t *testing.T) {
    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)
  3. src/bootstrap.bash

    # not necessary reviewed and submitted to master) are included in the tree.
    #
    # See also golang.org/x/build/cmd/genbootstrap, which is used
    # to generate bootstrap tgz files for builders.
    
    set -e
    
    if [ "$GOOS" = "" -o "$GOARCH" = "" ]; then
    	echo "usage: GOOS=os GOARCH=arch ./bootstrap.bash [-force]" >&2
    	exit 2
    fi
    
    forceflag=""
    if [ "$1" = "-force" ]; then
    Shell Script
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Jan 20 17:52:26 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  4. src/cmd/api/api_test.go

    		c.Compiler = build.Default.Compiler
    	}
    	build.Default.GOROOT = testenv.GOROOT(nil)
    
    	os.Exit(m.Run())
    }
    
    var (
    	updateGolden = flag.Bool("updategolden", false, "update golden files")
    )
    
    func TestGolden(t *testing.T) {
    	if *flagCheck {
    		// slow, not worth repeating in -check
    		t.Skip("skipping with -check set")
    	}
    
    	testenv.MustHaveGoBuild(t)
    
    	td, err := os.Open("testdata/src/pkg")
    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)
  5. src/cmd/cgo/ast.go

    			f.walk(n.Recv, ctxParam, visit)
    		}
    		f.walk(n.Type, ctxType, visit)
    		if n.Body != nil {
    			f.walk(n.Body, ctxStmt, visit)
    		}
    
    	case *ast.File:
    		f.walk(n.Decls, ctxDecl, visit)
    
    	case *ast.Package:
    		for _, file := range n.Files {
    			f.walk(file, ctxFile, visit)
    		}
    
    	case []ast.Decl:
    		for _, d := range n {
    			f.walk(d, context, visit)
    		}
    	case []ast.Expr:
    		for i := range n {
    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)
  6. doc/go1.17_spec.html

    A package in turn is constructed from one or more source files
    that together declare constants, types, variables and functions
    belonging to the package and which are accessible in all files
    of the same package. Those elements may be
    <a href="#Exported_identifiers">exported</a> and used in another package.
    </p>
    
    <h3 id="Source_file_organization">Source file organization</h3>
    
    <p>
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  7. doc/README.md

    ## For developers
    
    Release notes should be added to `next` by editing existing files or creating
    new files. **Do not add RELNOTE=yes comments in CLs.** Instead, add a file to
    the CL (or ask the author to do so).
    
    At the end of the development cycle, the files will be merged by being
    concatenated in sorted order by pathname. Files in the directory matching the
    glob "*stdlib/*minor" are treated specially. They should be in subdirectories
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 21:24:36 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  8. api/README

    The next/ directory contains the only files intended to be mutated.
    Each file in that directory contains a list of features that may be added
    to the next release of Go. The files in this directory only affect the
    warning output from the go api tool. Each file should be named
    nnnnn.txt, after the issue number for the accepted proposal.
    (The #nnnnn suffix must also appear at the end of each line in the file;
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 31 19:22:50 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  9. misc/ios/detect.go

    	lines := getLines(cmd)
    
    	var files []string
    	for _, line := range lines {
    		if len(line) == 0 {
    			continue
    		}
    		xmlLines := getLines(parseMobileProvision(string(line)))
    		matches := 0
    		for _, udid := range udids {
    			for _, xmlLine := range xmlLines {
    				if bytes.Contains(xmlLine, udid) {
    					matches++
    				}
    			}
    		}
    		if matches == len(udids) {
    			files = append(files, string(line))
    		}
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Oct 19 23:33:30 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  10. go.env

    # This file contains the initial defaults for go command configuration.
    # Values set by 'go env -w' and written to the user's go/env file override these.
    # The environment overrides everything else.
    
    # Use the Go module mirror and checksum database by default.
    # See https://proxy.golang.org for details.
    GOPROXY=https://proxy.golang.org,direct
    GOSUMDB=sum.golang.org
    
    # Automatically download newer toolchains as directed by go.mod files.
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Jun 06 19:18:46 GMT 2023
    - 505 bytes
    - Viewed (0)
Back to top