Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 312 for linking (2.43 sec)

  1. src/cmd/go/internal/web/bootstrap.go

    //go:build cmd_go_bootstrap
    
    // This code is compiled only into the bootstrap 'go' binary.
    // These stubs avoid importing packages with large dependency
    // trees that potentially require C linking,
    // like the use of "net/http" in vcs.go.
    
    package web
    
    import (
    	"errors"
    	urlpkg "net/url"
    )
    
    func get(security SecurityMode, url *urlpkg.URL) (*Response, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 25 13:00:34 UTC 2022
    - 691 bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/link_syso_deps.txt

    # Test that syso in deps is available to cgo.
    
    [!compiler:gc] skip 'requires syso support'
    [!cgo] skip
    [short] skip 'invokes system C compiler'
    
    # External linking is not supported on linux/ppc64.
    # See: https://github.com/golang/go/issues/8912
    [GOOS:linux] [GOARCH:ppc64] skip
    
    cc -c -o syso/x.syso syso/x.c
    cc -c -o syso2/x.syso syso2/x.c
    go build m/cgo
    
    -- go.mod --
    module m
    
    go 1.18
    -- cgo/x.go --
    package cgo
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 742 bytes
    - Viewed (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/testing/Flaky.kt

     */
    package okhttp3.testing
    
    @Target(AnnotationTarget.CLASS, AnnotationTarget.FUNCTION)
    @Retention(AnnotationRetention.RUNTIME)
    /**
     * Annotation marking a test as flaky, and requires extra logging and linking against
     * a known github issue.  This does not ignore the failure.
     */
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 902 bytes
    - Viewed (0)
  4. src/cmd/go/scriptconds_test.go

    	add("msan", sysCondition("-msan", platform.MSanSupported, true))
    	add("mustlinkext", script.Condition("platform always requires external linking", mustLinkExt))
    	add("net", script.PrefixCondition("can connect to external network host <suffix>", hasNet))
    	add("pielinkext", script.Condition("platform requires external linking for PIE", pieLinkExt))
    	add("race", sysCondition("-race", platform.RaceDetectorSupported, true))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  5. src/runtime/rt0_linux_mipsx.s

    	// sequence of string pointers followed by a NULL, and auxv.
    	// There is no TLS base pointer.
    	MOVW	0(R29), R4 // argc
    	ADD	$4, R29, R5 // argv
    	JMP	main(SB)
    
    TEXT main(SB),NOSPLIT|NOFRAME,$0
    	// In external linking, libc jumps to main with argc in R4, argv in R5
    	MOVW	$runtime·rt0_go(SB), R1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Nov 06 10:24:44 UTC 2021
    - 797 bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/version.txt

    # Repeat the test with -buildmode=pie and default linking.
    [!buildmode:pie] stop
    [pielinkext] [!cgo] stop
    go build -buildmode=pie -o external.exe rsc.io/fortune
    go version external.exe
    stdout '^external.exe: .+'
    go version -m external.exe
    stdout -buildmode=pie
    stdout '^\tpath\trsc.io/fortune'
    stdout '^\tmod\trsc.io/fortune\tv1.0.0'
    
    # Also test PIE with internal linking.
    [pielinkext] stop
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 05 14:52:04 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. src/runtime/cgo_ppc64x.go

    //go:build ppc64 || ppc64le
    
    package runtime
    
    // crosscall_ppc64 calls into the runtime to set up the registers the
    // Go runtime expects and so the symbol it calls needs to be exported
    // for external linking to work.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:54:15 UTC 2022
    - 418 bytes
    - Viewed (0)
  8. src/container/ring/ring.go

    // r must not be empty.
    //
    // If r and s point to the same ring, linking
    // them removes the elements between r and s from the ring.
    // The removed elements form a subring and the result is a
    // reference to that subring (if no elements were removed,
    // the result is still the original value for r.Next(),
    // and not nil).
    //
    // If r and s point to different rings, linking
    // them creates a single ring with the elements of s inserted
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 01 18:18:07 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/test_ppc64_linker_funcs.txt

    # Tests that the linker implements the PPC64 ELFv2 ABI
    # register save and restore functions as defined in
    # section 2.3.3.1 of the PPC64 ELFv2 ABI when linking
    # external objects most likely compiled with gcc's
    # -Os option.
    #
    # Verifies golang.org/issue/52366 for linux/ppc64le
    [!GOOS:linux] skip
    [!compiler:gc] skip
    [!cgo] skip
    [!GOARCH:ppc64le] skip
    
    go build -ldflags='-linkmode=internal'
    exec ./abitest
    stdout success
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 20:54:08 UTC 2024
    - 1K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/build_pie_race.txt

    [!GOOS:darwin] stop 'not testing -buildmode=pie -race on platform that does not support it'
    
    go build -buildmode=pie -race bytes
    ! stderr .
    
    [short] stop 'not linking a binary in -short mode'
    
    go build -buildmode=pie -race main.go
    ! stderr .
    exec ./main
    stdout 'Hello, 世界'
    
    -- go.mod --
    module m
    
    go 1.21
    -- main.go --
    package main
    
    import "fmt"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 19:13:34 UTC 2023
    - 672 bytes
    - Viewed (0)
Back to top