Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 5,774 for rain (0.04 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top