Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for Extern (0.1 sec)

  1. src/runtime/extern.go

    Rhys Hiltner <******@****.***> 1717000870 +0000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/test/test.go

    // this example is in issue 1635
    void scatter() {
    	void *p = scatter;
    	printf("scatter = %p\n", p);
    }
    
    // Adding this explicit extern declaration makes this a test for
    // https://gcc.gnu.org/PR68072 aka https://golang.org/issue/13344 .
    // It used to cause a cgo error when building with GCC 6.
    extern int hola;
    
    // this example is in issue 3253
    int hola = 0;
    int testHola() { return hola; }
    
    // issue 3250
    #ifdef WIN32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 48.5K bytes
    - Viewed (0)
  3. src/cmd/go/go_test.go

    	tg := testgo(t)
    	defer tg.cleanup()
    	tg.parallel()
    	tg.tempFile("main.go", `package main
    		var extern string
    		func main() {
    			println(extern)
    		}`)
    	tg.run("run", "-ldflags", `-X "main.extern=hello world"`, tg.path("main.go"))
    	tg.grepStderr("^hello world", `ldflags -X "main.extern=hello world"' failed`)
    }
    
    func TestLdFlagsLongArgumentsIssue42295(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  4. src/cmd/cgo/doc.go

    	//export MyFunction2
    	func MyFunction2(arg1, arg2 int, arg3 string) (int64, *C.char) {...}
    
    They will be available in the C code as:
    
    	extern GoInt64 MyFunction(int arg1, int arg2, GoString arg3);
    	extern struct MyFunction2_return MyFunction2(int arg1, int arg2, GoString arg3);
    
    found in the _cgo_export.h generated header, after any preambles
    copied from the cgo input files. Functions with multiple
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 17:12:16 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  5. src/runtime/runtime2.go

    	goSigStack    gsignalStack      // Go-allocated signal handling stack
    	sigmask       sigset            // storage for saved signal mask
    	tls           [tlsSlots]uintptr // thread-local storage (for x86 extern register)
    	mstartfn      func()
    	curg          *g       // current running goroutine
    	caughtsig     guintptr // goroutine running during fatal signal
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/go.mod

    	github.com/go-openapi/swag v0.22.4 // indirect
    	github.com/go-task/slim-sprig/v3 v3.0.0 // indirect
    	github.com/google/pprof v0.0.0-20240525223248-4bfdf5a9a2af // indirect
    	github.com/josharian/intern v1.0.0 // indirect
    	github.com/json-iterator/go v1.1.12 // indirect
    	github.com/kr/pretty v0.3.1 // indirect
    	github.com/mailru/easyjson v0.7.7 // indirect
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 14:02:04 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/descriptor/UrlRepositoryDescriptor.java

                for (String source : metadataSources) {
                    cacheHasher.putString(source);
                }
                additionalInputs.accept(cacheHasher);
                return REPOSITORY_ID_INTERNER.intern(cacheHasher.hash().toString());
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 00:21:07 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  8. staging/src/k8s.io/cli-runtime/go.mod

    	github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7 // indirect
    	github.com/imdario/mergo v0.3.6 // indirect
    	github.com/inconshreveable/mousetrap v1.1.0 // indirect
    	github.com/josharian/intern v1.0.0 // indirect
    	github.com/json-iterator/go v1.1.12 // indirect
    	github.com/mailru/easyjson v0.7.7 // indirect
    	github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 14:02:04 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/go.sum

    github.com/ianlancetaylor/demangle v0.0.0-20240312041847-bd984b5ce465/go.mod h1:gx7rwoVhcfuVKG5uya9Hs3Sxj7EIvldVofAWIUtGouw=
    github.com/josharian/intern v1.0.0 h1:vlS4z54oSdjm0bgjRigI+G1HpF+tI+9rE5LLzOg8HmY=
    github.com/josharian/intern v1.0.0/go.mod h1:5DoeVV0s6jJacbCEi61lwdGj/aVlrQvzHFFd8Hwg//Y=
    github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM=
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 14:02:04 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/go.mod

    	github.com/imdario/mergo v0.3.6 // indirect
    	github.com/inconshreveable/mousetrap v1.1.0 // indirect
    	github.com/jonboulle/clockwork v0.2.2 // indirect
    	github.com/josharian/intern v1.0.0 // indirect
    	github.com/json-iterator/go v1.1.12 // indirect
    	github.com/mailru/easyjson v0.7.7 // indirect
    	github.com/moby/spdystream v0.2.0 // indirect
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 21:47:11 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top