Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 4,301 for main2 (0.08 sec)

  1. src/cmd/cgo/internal/testshared/testdata/issue47837/main/main.go

    // Copyright 2021 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 main
    
    import (
    	"testshared/issue47837/a"
    )
    
    func main() {
    	var vara a.ImplA
    	a.TheFuncWithArgA(&vara)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 273 bytes
    - Viewed (0)
  2. src/cmd/link/testdata/linkname/coro_asm/main.go

    // Copyright 2024 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.
    
    // Assembly reference of newcoro is not allowed.
    
    package main
    
    func main() {
    	newcoro()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 17:05:33 UTC 2024
    - 267 bytes
    - Viewed (0)
  3. test/typeparam/issue50121.dir/main.go

    // Copyright 2021 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 main
    
    import (
    	"./a"
    )
    
    //go:noinline
    func BuildInt() int {
    	return a.BuildInt()
    }
    
    func main() {
    	BuildInt()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 24 02:14:15 UTC 2022
    - 281 bytes
    - Viewed (0)
  4. test/fixedbugs/issue6513.dir/main.go

    // Copyright 2013 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 main
    
    import (
    	"./a"
    	"./b"
    )
    
    func main() {
    	var t a.T
    	var u b.U
    	_, _ = t, u
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 251 bytes
    - Viewed (0)
  5. test/fixedbugs/issue59709.dir/main.go

    // Copyright 2023 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 main
    
    import (
    	"./dcache"
    )
    
    func main() {
    	var m dcache.Module
    	m.Configure("x")
    	m.Configure("y")
    	var e error
    	m.Blurb("x", e)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 05 21:04:28 UTC 2023
    - 301 bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/samples/templates/java-application/src/main/java/org/gradle/sample/app/Main.java

    import static org.gradle.sample.utilities.StringUtils.join;
    import static org.gradle.sample.utilities.StringUtils.split;
    import static org.gradle.sample.app.MessageUtils.getMessage;
    
    public class Main {
        public static void main(String[] args) {
            LinkedList tokens;
            tokens = split(getMessage());
            System.out.println(join(tokens));
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 438 bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/testcarchive/testdata/main6.c

    // license that can be found in the LICENSE file.
    
    // Test that using the Go profiler in a C program does not crash.
    
    #include <stddef.h>
    #include <sys/time.h>
    
    #include "libgo6.h"
    
    int main(int argc, char **argv) {
    	struct timeval tvstart, tvnow;
    	int diff;
    
    	gettimeofday(&tvstart, NULL);
    
    	go_start_profile();
    
    	// Busy wait so we have something to profile.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 830 bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/testplugin/testdata/issue53989/main.go

    // from the plugin jumps in the middle of the function
    // to the function with the same name in the main
    // executable. As these two functions may be compiled
    // differently as plugin needs to be PIC, this causes
    // crash.
    
    package main
    
    import (
    	"plugin"
    
    	"testplugin/issue53989/p"
    )
    
    func main() {
    	p.Square(7) // call the function in main executable
    
    	p, err := plugin.Open("issue53989.so")
    	if err != nil {
    		panic(err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 751 bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/testplugin/testdata/unnamed1/main.go

    //go:build ignore
    
    package main
    
    // // No C code required.
    import "C"
    
    func FuncInt() int { return 1 }
    
    // Add a recursive type to check that type equality across plugins doesn't
    // crash. See https://golang.org/issues/19258
    func FuncRecursive() X { return X{} }
    
    type Y struct {
    	X *X
    }
    type X struct {
    	Y Y
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 487 bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/testplugin/testdata/method2/main.go

    // A type can be passed to a plugin and converted to interface
    // there. So its methods need to be live.
    
    package main
    
    import (
    	"plugin"
    
    	"testplugin/method2/p"
    )
    
    var t p.T
    
    type I interface{ M() }
    
    func main() {
    	pl, err := plugin.Open("method2.so")
    	if err != nil {
    		panic(err)
    	}
    
    	f, err := pl.Lookup("F")
    	if err != nil {
    		panic(err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 549 bytes
    - Viewed (0)
Back to top