Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 4,442 for dain (0.41 sec)

  1. test/fixedbugs/issue58563.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 "test/a"
    
    func main() {
    	stop := start()
    	defer stop()
    }
    
    func start() func() {
    	return a.Start().Stop
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 01 20:26:10 UTC 2023
    - 286 bytes
    - Viewed (0)
  2. test/fixedbugs/bug191.dir/main.go

    // Copyright 2009 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"
    import . "./b"
    
    var _ T
    var _ V
    
    func main() {
    	if A != 1 || B != 2 {
    		panic("wrong vars")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 10 20:05:37 UTC 2013
    - 286 bytes
    - Viewed (0)
  3. 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)
  4. test/fixedbugs/issue14164.dir/main.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    // Verify that we can import package "a" containing an inlineable
    // function F that declares a local interface with a non-exported
    // method f.
    import _ "./a"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 01 20:29:19 UTC 2016
    - 350 bytes
    - Viewed (0)
  5. test/typeparam/issue50552.dir/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
    
    import (
    	"./a"
    	"fmt"
    )
    
    func BuildInt() int {
    	return a.BuildInt()
    }
    
    func main() {
    	if got, want := BuildInt(), 0; got != want {
    		panic(fmt.Sprintf("got %d, want %d", got, want))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 24 02:14:15 UTC 2022
    - 362 bytes
    - Viewed (0)
  6. test/fixedbugs/issue46653.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 (
    	bad "issue46653.dir/bad"
    )
    
    func main() {
    	bad.Bad()
    }
    
    func neverCalled() L {
    	m := make(map[string]L)
    	return m[""]
    }
    
    type L struct {
    	A Data
    	B Data
    }
    
    type Data struct {
    	F1 [22][]string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 09 02:18:34 UTC 2021
    - 378 bytes
    - Viewed (0)
  7. test/fixedbugs/issue47185.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 (
    	bad "issue47185.dir/bad"
    )
    
    func main() {
    	another()
    	bad.Bad()
    }
    
    func another() L {
    	m := make(map[string]L)
    	return m[""]
    }
    
    type L struct {
    	A Data
    	B Data
    }
    
    type Data struct {
    	F1 [22][]string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 19 13:27:46 UTC 2021
    - 385 bytes
    - Viewed (0)
  8. test/typeparam/issue50598.dir/main.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"fmt"
    
    	"./a1"
    	"./a2"
    )
    
    func New() int {
    	return a1.New() + a2.New()
    }
    
    func main() {
    	if got, want := New(), 0; got != want {
    		panic(fmt.Sprintf("got %d, want %d", got, want))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 24 02:14:15 UTC 2022
    - 369 bytes
    - Viewed (0)
  9. test/fixedbugs/issue65957.dir/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.
    
    package main
    
    import (
    	"./a"
    	"reflect"
    )
    
    var s = []rune{0, 1, 2, 3}
    
    func main() {
    	m := map[any]int{}
    	k := reflect.New(reflect.ArrayOf(4, reflect.TypeOf(int32(0)))).Elem().Interface()
    	m[k] = 1
    	a.F()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 28 05:32:14 UTC 2024
    - 368 bytes
    - Viewed (0)
  10. test/typeparam/valimp.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"
    	"fmt"
    )
    
    func main() {
    	var v1 a.Value[int]
    
    	a.Set(&v1, 1)
    	if got, want := a.Get(&v1), 1; got != want {
    		panic(fmt.Sprintf("Get() == %d, want %d", got, want))
    	}
    	v1.Set(2)
    	if got, want := v1.Get(), 2; got != want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 24 02:14:15 UTC 2022
    - 1.3K bytes
    - Viewed (0)
Back to top