Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 838 for ncgo (0.06 sec)

  1. src/cmd/go/testdata/script/list_load_err.txt

    go list -e -deps ./scan
    stdout m/want
    
    go list -e -deps ./multi
    stdout m/want
    
    go list -e -deps ./constraint
    stdout m/want
    
    [cgo] go list -e -test -deps ./cgotest
    [cgo] stdout m/want
    
    [cgo] go list -e -deps ./cgoflag
    [cgo] stdout m/want
    
    
    # go list -e should include files with errors in GoFiles, TestGoFiles, and
    # other lists, assuming they match constraints.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 17 21:46:33 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbTreeHandleImpl.java

                  SmbTransportImpl transport = session.getTransport() ) {
                SmbNegotiationResponse nego = transport.getNegotiateResponse();
                if ( nego instanceof SmbComNegotiateResponse ) {
                    return ( (SmbComNegotiateResponse) nego ).getServerData().serverTimeZone * 1000 * 60L;
                }
                return 0;
            }
        }
    
    
        /**
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.9K bytes
    - Viewed (1)
  3. src/runtime/crash_cgo_test.go

    			return
    		}
    
    		tot1 += d1
    		tot2 += d2
    	}
    
    	t.Errorf("cgo check too slow: got %v, expected at most %v", tot2/tries, (tot1/tries)*20)
    }
    
    func TestCgoPanicDeadlock(t *testing.T) {
    	t.Parallel()
    	// test issue 14432
    	got := runTestProg(t, "testprogcgo", "CgoPanicDeadlock")
    	want := "panic: cgo error\n\n"
    	if !strings.HasPrefix(got, want) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 16:44:47 UTC 2024
    - 22.2K bytes
    - Viewed (1)
  4. src/cmd/go/testdata/mod/rsc.io_!c!g!o_v1.0.0.txt

    rsc.io/CGO v1.0.0
    
    -- .mod --
    module rsc.io/CGO
    -- .info --
    {"Version":"v1.0.0","Name":"","Short":"","Time":"2018-08-01T18:23:45Z"}
    -- go.mod --
    module rsc.io/CGO
    -- cgo.go --
    // Copyright 2018 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package CGO
    
    // #cgo CFLAGS: -I${SRCDIR}
    import "C"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 01 19:54:32 UTC 2018
    - 399 bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/gccgo_link_ldflags.txt

    # Test that #cgo LDFLAGS are properly quoted.
    # The #cgo LDFLAGS below should pass a string with spaces to -L,
    # as though searching a directory with a space in its name.
    # It should not pass --nosuchoption to the external linker.
    
    [!cgo] skip
    
    go build
    
    [!exec:gccgo] skip
    
    # TODO: remove once gccgo on builder is updated
    [GOOS:aix] [GOARCH:ppc64] skip
    
    go build -compiler gccgo
    
    -- go.mod --
    module m
    -- cgo.go --
    package main
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 07 06:52:47 UTC 2023
    - 499 bytes
    - Viewed (0)
  6. src/runtime/cgo/handle.go

    //	void myprint(uintptr_t handle);
    //	*/
    //	import "C"
    //	import "runtime/cgo"
    //
    //	//export MyGoPrint
    //	func MyGoPrint(handle C.uintptr_t) {
    //		h := cgo.Handle(handle)
    //		val := h.Value().(string)
    //		println(val)
    //		h.Delete()
    //	}
    //
    //	func main() {
    //		val := "hello Go"
    //		C.myprint(C.uintptr_t(cgo.NewHandle(val)))
    //		// Output: hello Go
    //	}
    //
    // and on the C side:
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 16:59:11 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  7. src/runtime/tls_mips64x.s

    //
    // NOTE: mcall() assumes this clobbers only R23 (REGTMP).
    TEXT runtime·save_g(SB),NOSPLIT|NOFRAME,$0-0
    	MOVB	runtime·iscgo(SB), R23
    	BEQ	R23, nocgo
    
    	MOVV	R3, R23	// save R3
    	MOVV	g, runtime·tls_g(SB) // TLS relocation clobbers R3
    	MOVV	R23, R3	// restore R3
    
    nocgo:
    	RET
    
    TEXT runtime·load_g(SB),NOSPLIT|NOFRAME,$0-0
    	MOVV	runtime·tls_g(SB), g // TLS relocation clobbers R3
    	RET
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Nov 06 10:24:44 UTC 2021
    - 733 bytes
    - Viewed (0)
  8. src/runtime/tls_mipsx.s

    // NOTE: gogo assumes load_g only clobers g (R30) and REGTMP (R23)
    TEXT runtime·save_g(SB),NOSPLIT|NOFRAME,$0-0
    	MOVB	runtime·iscgo(SB), R23
    	BEQ	R23, nocgo
    
    	MOVW	R3, R23
    	MOVW	g, runtime·tls_g(SB) // TLS relocation clobbers R3
    	MOVW	R23, R3
    
    nocgo:
    	RET
    
    TEXT runtime·load_g(SB),NOSPLIT|NOFRAME,$0-0
    	MOVW	runtime·tls_g(SB), g // TLS relocation clobbers R3
    	RET
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 08 14:52:12 UTC 2023
    - 710 bytes
    - Viewed (0)
  9. src/runtime/tls_loong64.s

    #include "textflag.h"
    
    // If !iscgo, this is a no-op.
    //
    // NOTE: mcall() assumes this clobbers only R30 (REGTMP).
    TEXT runtime·save_g(SB),NOSPLIT|NOFRAME,$0-0
    	MOVB	runtime·iscgo(SB), R30
    	BEQ	R30, nocgo
    
    	MOVV	g, runtime·tls_g(SB)
    
    nocgo:
    	RET
    
    TEXT runtime·load_g(SB),NOSPLIT|NOFRAME,$0-0
    	MOVV	runtime·tls_g(SB), g
    	RET
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 17 20:18:25 UTC 2022
    - 589 bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/cgo_stale_precompiled.txt

    go build -x runtime/cgo
    [!short] stderr '[/\\]cgo'$GOEXE'["]? .* -importpath runtime/cgo'
    
    # https://go.dev/issue/47215: a missing $(go env CC) caused the precompiled net
    # to be stale. But as of https://go.dev/cl/452457 the precompiled libraries are
    # no longer installed anyway! Since we're requiring a C compiler in order to
    # build and use cgo libraries in the standard library, we should make sure it
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 1.2K bytes
    - Viewed (0)
Back to top