Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 4,301 for main2 (0.08 sec)

  1. src/cmd/cgo/internal/testplugin/testdata/issue52937/main.go

    // Copyright 2022 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
    
    func main()      {}
    func F[T any]()  {}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 234 bytes
    - Viewed (0)
  2. test/typeparam/recoverimp.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"
    
    func main() {
    	a.F(5.3)
    	a.F("hello")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 24 02:14:15 UTC 2022
    - 228 bytes
    - Viewed (0)
  3. test/fixedbugs/issue5910.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"
    
    func main() {
    	f := new(a.Future)
    	f.Result()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 24 02:14:15 UTC 2022
    - 236 bytes
    - Viewed (0)
  4. test/typeparam/issue49893.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 (
    	"./b"
    	"fmt"
    )
    
    func main() {
    	opt := b.Ap1[string, string]{}
    	fmt.Println(opt)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 24 02:14:15 UTC 2022
    - 266 bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/toolingApi/idea/groovy/src/main/java/org/gradle/sample/Main.java

    package org.gradle.sample;
    
    import org.gradle.tooling.*;
    import org.gradle.tooling.model.*;
    import org.gradle.tooling.model.idea.*;
    
    import java.io.File;
    
    public class Main {
        public static void main(String[] args) {
            // Configure the connector and create the connection
            GradleConnector connector = GradleConnector.newConnector();
    
            if (args.length > 0) {
                connector.useInstallation(new File(args[0]));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  6. test/fixedbugs/issue43633.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"
    
    var g = a.G()
    
    func main() {
    	if !a.F() {
    		panic("FAIL")
    	}
    	if !g() {
    		panic("FAIL")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 12 03:15:18 UTC 2021
    - 281 bytes
    - Viewed (0)
  7. test/typeparam/issue48306.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"
    
    type S struct{}
    
    func (*S) F() *S { return nil }
    
    func main() {
    	var _ a.I[*S] = &S{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 24 02:14:15 UTC 2022
    - 276 bytes
    - Viewed (0)
  8. test/fixedbugs/bug506.dir/main.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 main
    
    import (
    	"fmt"
    
    	"./a"
    )
    
    var v = a.S{}
    
    func main() {
    	want := "{{ 0}}"
    	if got := fmt.Sprint(v.F); got != want {
    		panic(got)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 18 04:57:41 UTC 2018
    - 308 bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/testcarchive/testdata/main8.c

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test preemption.
    
    #include <stdlib.h>
    
    #include "libgo8.h"
    
    int main() {
    	GoFunction8();
    
    	// That should have exited the program.
    	abort();
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 306 bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/testshared/testdata/iface/main.go

    // Copyright 2017 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/iface_a"
    import "testshared/iface_b"
    
    func main() {
    	if iface_a.F() != iface_b.F() {
    		panic("empty interfaces not equal")
    	}
    	if iface_a.G() != iface_b.G() {
    		panic("non-empty interfaces not equal")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 399 bytes
    - Viewed (0)
Back to top