Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for directly (0.17 sec)

  1. src/cmd/cgo/doc.go

    When the cgo directives are parsed, any occurrence of the string ${SRCDIR}
    will be replaced by the absolute path to the directory containing the source
    file. This allows pre-compiled static libraries to be included in the package
    directory and linked properly.
    For example if package foo is in the directory /go/src/foo:
    
    	// #cgo LDFLAGS: -L${SRCDIR}/libs -lfoo
    
    Will be expanded to:
    
    	// #cgo LDFLAGS: -L/go/src/foo/libs -lfoo
    
    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/tar/common.go

    // and an error is returned explaining why.
    //
    // As a by-product of checking the fields, this function returns paxHdrs, which
    // contain all fields that could not be directly encoded.
    // A value receiver ensures that this method does not mutate the source Header.
    func (h Header) allowedFormats() (format Format, paxHdrs map[string]string, err error) {
    	format = FormatUSTAR | FormatPAX | FormatGNU
    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)
  3. doc/go1.17_spec.html

    import . "lib/math"         Sin
    </pre>
    
    <p>
    An import declaration declares a dependency relation between
    the importing and imported package.
    It is illegal for a package to import itself, directly or indirectly,
    or to directly import a package without
    referring to any of its exported identifiers. To import a package solely for
    its side-effects (initialization), use the <a href="#Blank_identifier">blank</a>
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  4. doc/asm.html

    To see what instructions are defined for a given machine, say ARM,
    look in the source for the <code>obj</code> support library for
    that architecture, located in the directory <code>src/cmd/internal/obj/arm</code>.
    In that directory is a file <code>a.out.go</code>; it contains
    a long list of constants starting with <code>A</code>, like this:
    </p>
    
    <pre>
    const (
    	AAND = obj.ABaseARM + obj.A_ARCHSPECIFIC + iota
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  5. src/archive/zip/writer.go

    		b.uint64(records)                // total number of entries in the central directory on this disk
    		b.uint64(records)                // total number of entries in the central directory
    		b.uint64(size)                   // size of the central directory
    		b.uint64(offset)                 // offset of start of central directory with respect to the starting disk number
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 04 14:28:57 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  6. src/archive/zip/reader_test.go

    	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())
    			t.Logf("%q (Open error: %v)", dirEntry.Name(), err)
    		}
    		t.FailNow()
    	}
    	info, err := dirEntries[0].Info()
    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)
  7. src/cmd/api/api_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	fis, err := td.Readdir(0)
    	if err != nil {
    		t.Fatal(err)
    	}
    	for _, fi := range fis {
    		if !fi.IsDir() {
    			continue
    		}
    
    		// TODO(gri) remove extra pkg directory eventually
    		goldenFile := filepath.Join("testdata", "src", "pkg", fi.Name(), "golden.txt")
    		w := NewWalker(nil, "testdata/src/pkg")
    		pkg, _ := w.import_(fi.Name())
    		w.export(pkg)
    
    		if *updateGolden {
    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)
  8. doc/go_spec.html

    import . "lib/math"         Sin
    </pre>
    
    <p>
    An import declaration declares a dependency relation between
    the importing and imported package.
    It is illegal for a package to import itself, directly or indirectly,
    or to directly import a package without
    referring to any of its exported identifiers. To import a package solely for
    its side-effects (initialization), use the <a href="#Blank_identifier">blank</a>
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  9. lib/time/mkzip.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build ignore
    
    // Mkzip writes a zoneinfo.zip with the content of the current directory
    // and its subdirectories, with no compression, suitable for package time.
    //
    // Usage:
    //
    //	go run ../../mkzip.go ../../zoneinfo.zip
    //
    // We use this program instead of 'zip -0 -r ../../zoneinfo.zip *' to get
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Mar 04 17:32:07 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  10. src/README.vendor

    The module requirements of std and cmd do not influence version
    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.
    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)
Back to top