Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for directories (0.26 sec)

  1. src/cmd/asm/internal/lex/input.go

    	peek            bool
    	peekToken       ScanToken
    	peekText        string
    }
    
    // NewInput returns an Input from the given path.
    func NewInput(name string) *Input {
    	return &Input{
    		// include directories: look in source dir, then -I directories.
    		includes:        append([]string{filepath.Dir(name)}, flags.I...),
    		beginningOfLine: true,
    		macros:          predefine(flags.D),
    	}
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  2. src/cmd/cgo/doc.go

    not be compiled separately, but, if these header files are changed,
    the package (including its non-Go source files) will be recompiled.
    Note that changes to files in other directories do not cause the package
    to be recompiled, so all non-Go source code for the package should be
    stored in the package directory, not in subdirectories.
    The default C and C++ compilers may be changed by the CC and CXX
    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. src/archive/zip/reader_test.go

    		t.Errorf("Error opening %q with fs.FS API: %v", "test.txt", err)
    	}
    	dirEntries, err := fs.ReadDir(r, ".")
    	if err != nil {
    		t.Fatalf("Error reading the root directory: %v", err)
    	}
    	if len(dirEntries) != 1 || dirEntries[0].Name() != "test.txt" {
    		t.Errorf("Unexpected directory entries")
    		for _, dirEntry := range dirEntries {
    			_, err := r.Open(dirEntry.Name())
    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)
  4. src/README.vendor

    selection in other modules. They are only considered when running
    module commands like 'go get' and 'go mod vendor' from a directory
    in GOROOT/src.
    
    Maintaining vendor directories
    ==============================
    
    Before updating vendor directories, ensure that module mode is enabled.
    Make sure that GO111MODULE is not set in the environment, or that it is
    set to 'on' or 'auto', and if you use a go.work file, set GOWORK=off.
    
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 02 02:20:05 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  5. src/Make.dist

    # Run go tool dist to install a command.
    # The -v causes dist to print the name of each directory as it runs.
    # The -vv causes dist to print each build command as it runs.
    # go tool dist clean cleans all directories, not just this one,
    # but it's as close as we can get.
    
    # Default target (first).
    install:
    	go tool dist install -v
    
    verbose:
    	go tool dist install -vv
    
    clean:
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 08 20:26:47 GMT 2012
    - 553 bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/cgotest/overlaydir.go

    		perm := info.Mode() & os.ModePerm
    		if info.Mode()&os.ModeSymlink != 0 {
    			info, err = os.Stat(srcPath)
    			if err != nil {
    				return err
    			}
    			perm = info.Mode() & os.ModePerm
    		}
    
    		// Always copy directories (don't symlink them).
    		// If we add a file in the overlay, we don't want to add it in the original.
    		if info.IsDir() {
    			return os.MkdirAll(dstPath, perm|0200)
    		}
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon May 22 20:56:09 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  7. src/archive/zip/reader.go

    		// The ZIP specification (APPNOTE.TXT) specifies that directories, which
    		// are technically zero-byte files, must not have any associated file
    		// data. We previously tried failing here if f.CompressedSize64 != 0,
    		// but it turns out that a number of implementations (namely, the Java
    		// jar tool) don't properly set the storage method on directories
    		// resulting in a file with compressed size > 0 but uncompressed size ==
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  8. src/archive/tar/common.go

    	// Check for header-only types.
    	var whyOnlyPAX, whyOnlyGNU string
    	switch h.Typeflag {
    	case TypeReg, TypeChar, TypeBlock, TypeFifo, TypeGNUSparse:
    		// Exclude TypeLink and TypeSymlink, since they may reference directories.
    		if strings.HasSuffix(h.Name, "/") {
    			return FormatUnknown, nil, headerError{"filename may not have trailing slash"}
    		}
    	case TypeXHeader, TypeGNULongName, TypeGNULongLink:
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
  9. misc/go_android_exec/main.go

    	}
    
    	return importPath, isStd, modPath, modDir, nil
    }
    
    // adbCopyTree copies testdata, go.mod, go.sum files from subdir
    // and from parent directories all the way up to the root of subdir.
    // go.mod and go.sum files are needed for the go tool modules queries,
    // and the testdata directories for tests.  It is common for tests to
    // reach out into testdata from parent packages.
    func adbCopyTree(deviceCwd, subdir string) error {
    	dir := ""
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/swig/testdata/callback/main.swigcxx

       Use of this source code is governed by a BSD-style
       license that can be found in the LICENSE file.  */
    
    /* An example of writing a C++ virtual function in Go.  */
    
    %module(directors="1") callback
    
    %{
    #include <string>
    #include "main.h"
    %}
    
    %include "std_string.i"
    
    %feature("director");
    
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:07 GMT 2023
    - 366 bytes
    - Viewed (0)
Back to top