Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of about 10,000 for a$ (0.19 sec)

  1. test/typeparam/mdempsky/7.dir/a.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 a
    
    type I[T any] interface{ M() T }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 07 11:12:24 UTC 2021
    - 218 bytes
    - Viewed (0)
  2. test/fixedbugs/bug335.dir/a.go

    // Copyright 2011 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 a
    
    type T interface{}
    
    func f() T { return nil }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 234 bytes
    - Viewed (0)
  3. test/fixedbugs/issue14331.dir/a.go

    // Copyright 2016 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 a
    
    var S struct {
    	Str string `tag`
    }
    
    func F() string {
    	v := S
    	return v.Str
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 249 bytes
    - Viewed (0)
  4. test/fixedbugs/issue31637.dir/a.go

    // Copyright 2019 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 a
    
    type dO struct {
    	x int
    }
    
    type EDO struct{}
    
    func (EDO) Apply(*dO) {}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 24 19:55:13 UTC 2019
    - 253 bytes
    - Viewed (0)
  5. test/fixedbugs/issue58339.dir/a.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 a
    
    func Assert(msgAndArgs ...any) {
    }
    
    func Run() int {
    	Assert("%v")
    	return 0
    }
    
    func Run2() int {
    	return Run()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 09 15:21:37 UTC 2023
    - 285 bytes
    - Viewed (0)
  6. test/fixedbugs/issue30659.dir/a.go

    // Copyright 2019 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 a
    
    type I interface {
    	I2
    }
    type I2 interface {
    	M()
    }
    type S struct{}
    
    func (*S) M() {}
    
    func New() I {
    	return &S{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 00:04:59 UTC 2019
    - 288 bytes
    - Viewed (0)
  7. test/fixedbugs/issue45503.dir/a.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 a
    
    type S struct{}
    
    func (s *S) M() {
    	s.m((*S).N)
    }
    
    func (s *S) N() {}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 14 04:02:01 UTC 2021
    - 269 bytes
    - Viewed (0)
  8. test/fixedbugs/issue48088.dir/a.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 a
    
    type T1 struct {
    	*T2
    }
    
    type T2 struct {
    }
    
    func (t2 *T2) M() {
    }
    
    func F() {
    	f(T1.M)
    }
    
    func f(f func(T1)) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 01 02:16:30 UTC 2021
    - 285 bytes
    - Viewed (0)
  9. test/typeparam/issue48454.dir/a.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 a
    
    import "sync"
    
    type Val[T any] struct {
    	mu  sync.RWMutex
    	val T
    }
    
    func (v *Val[T]) Has() {
    	v.mu.RLock()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 24 18:21:14 UTC 2021
    - 280 bytes
    - Viewed (0)
  10. test/typeparam/factimp.dir/a.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 a
    
    func Fact[T interface{ int | int64 | float64 }](n T) T {
    	if n == 1 {
    		return 1
    	}
    	return n * Fact(n-1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 28 21:40:40 UTC 2021
    - 279 bytes
    - Viewed (0)
Back to top