Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 5,774 for rain (0.04 sec)

  1. 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)
  2. 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)
  3. src/cmd/link/internal/ld/testdata/issue10978/main.go

    // license that can be found in the LICENSE file.
    
    package main
    
    func undefined()
    
    func defined1() int {
    	// To check multiple errors for a single symbol,
    	// reference undefined more than once.
    	undefined()
    	undefined()
    	return 0
    }
    
    func defined2() {
    	undefined()
    	undefined()
    }
    
    func init() {
    	_ = defined1()
    	defined2()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 05 16:49:07 UTC 2018
    - 478 bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/cmd/cgo/internal/testplugin/testdata/issue18584/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 "plugin"
    
    func main() {
    	p, err := plugin.Open("plugin.so")
    	if err != nil {
    		panic(err)
    	}
    
    	sym, err := p.Lookup("G")
    	if err != nil {
    		panic(err)
    	}
    	g := sym.(func() bool)
    	if !g() {
    		panic("expected types to match, Issue #18584")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 424 bytes
    - Viewed (0)
  9. src/cmd/link/internal/ld/testdata/httptest/main/main.go

    // nothing special about net/http here, this is just a convenient way
    // to pull in a lot of code.
    
    package main
    
    import (
    	"net/http"
    	"net/http/httptest"
    )
    
    type statusHandler int
    
    func (h *statusHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
    	w.WriteHeader(int(*h))
    }
    
    func main() {
    	status := statusHandler(http.StatusNotFound)
    	s := httptest.NewServer(&status)
    	defer s.Close()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 20 15:46:11 UTC 2019
    - 464 bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/testplugin/testdata/issue22295.pkg/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.
    
    //go:build ignore
    
    package main
    
    import (
    	"log"
    	"plugin"
    )
    
    func main() {
    	p, err := plugin.Open("issue.22295.so")
    	if err != nil {
    		log.Fatal(err)
    	}
    	f, err := p.Lookup("F")
    	if err != nil {
    		log.Fatal(err)
    	}
    	const want = 2503
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 486 bytes
    - Viewed (0)
Back to top