Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for exports (0.16 sec)

  1. doc/next/7-ports.md

    ## Ports {#ports}
    
    ### Darwin {#darwin}
    
    <!-- go.dev/issue/64207 -->
    As [announced](go1.22#darwin) in the Go 1.22 release notes,
    Go 1.23 requires macOS 11 Big Sur or later;
    support for previous versions has been discontinued.
    
    ### Wasm {#wasm}
    
    <!-- go.dev/issue/63718 -->
    The `go_wasip1_wasm_exec` script in `GOROOT/misc/wasm` has dropped support
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 17:09:10 GMT 2024
    - 385 bytes
    - Viewed (0)
  2. src/cmd/api/api_test.go

    			required:  []string{"A", "B", "C"},
    			exception: []string{"B"},
    			ok:        true,
    			out:       "",
    		},
    
    		// Test that a feature required on a subset of ports is implicitly satisfied
    		// by the same feature being implemented on all ports. That is, it shouldn't
    		// say "pkg syscall (darwin-amd64), type RawSockaddrInet6 struct" is missing.
    		// See https://go.dev/issue/4303.
    		{
    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)
  3. src/cmd/cgo/doc.go

    of memory. Because C.malloc cannot fail, it has no two-result form
    that returns errno.
    
    # C references to Go
    
    Go functions can be exported for use by C code in the following way:
    
    	//export MyFunction
    	func MyFunction(arg1, arg2 int, arg3 string) int64 {...}
    
    	//export MyFunction2
    	func MyFunction2(arg1, arg2 int, arg3 string) (int64, *C.char) {...}
    
    They will be available in the C code as:
    
    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)
  4. doc/go1.17_spec.html

    Functions:
    	append cap close complex copy delete imag len
    	make new panic print println real recover
    </pre>
    
    
    <h3 id="Exported_identifiers">Exported identifiers</h3>
    
    <p>
    An identifier may be <i>exported</i> to permit access to it from another package.
    An identifier is exported if both:
    </p>
    <ol>
    	<li>the first character of the identifier's name is a Unicode upper case
    	letter (Unicode class "Lu"); and</li>
    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)
  5. doc/go_spec.html

    Functions:
    	append cap clear close complex copy delete imag len
    	make max min new panic print println real recover
    </pre>
    
    <h3 id="Exported_identifiers">Exported identifiers</h3>
    
    <p>
    An identifier may be <i>exported</i> to permit access to it from another package.
    An identifier is exported if both:
    </p>
    <ol>
    	<li>the first character of the identifier's name is a Unicode uppercase
    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)
  6. doc/initial/7-ports.md

    ## Ports {#ports}...
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Jan 22 18:07:49 GMT 2024
    - 19 bytes
    - Viewed (0)
  7. src/cmd/api/main_test.go

    			for k, v := range pkg.ImportMap {
    				importMap[pkg.Dir][k] = v
    			}
    		}
    
    		sort.Strings(stdPackages)
    		imports = listImports{
    			stdPackages: stdPackages,
    			importMap:   importMap,
    			importDir:   importDir,
    		}
    		imports, _ = listCache.LoadOrStore(name, imports)
    	}
    
    	li := imports.(listImports)
    	w.stdPackages = li.stdPackages
    	w.importDir = li.importDir
    	w.importMap = li.importMap
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  8. src/buildall.bash

    targets="$(linux_targets) $(non_linux_targets)"
    
    failed=false
    for target in $targets
    do
    	echo ""
    	echo "### Building $target"
    	export GOOS=$(echo $target | sed 's/-.*//')
    	export GOARCH=$(echo $target | sed 's/.*-//')
    	unset GOARM
    	if [ "$GOARCH" = "arm5" ]; then
    		export GOARCH=arm
    		export GOARM=5
    	fi
    
    	# Build and vet everything.
    	# cmd/go/internal/work/exec.go enables the same vet flags during go test of std cmd
    Shell Script
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 23 17:45:23 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  9. src/archive/tar/reader.go

    // then writeTo uses Seek to skip past holes defined in Header.SparseHoles,
    // assuming that skipped regions are filled with NULs.
    // This always writes the last byte to ensure w is the right size.
    //
    // TODO(dsnet): Re-export this when adding sparse file support.
    // See https://golang.org/issue/22735
    func (tr *Reader) writeTo(w io.Writer) (int64, error) {
    	if tr.err != nil {
    		return 0, tr.err
    	}
    	n, err := tr.curr.WriteTo(w)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
Back to top