Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of about 10,000 for a$ (0.07 sec)

  1. src/os/testdata/dirfs/a

    Austin Clements <******@****.***> 1610059814 -0500
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 08 16:34:00 UTC 2021
    - Viewed (0)
  2. src/os/testdata/issue37161/a

    a...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Mar 01 22:26:33 UTC 2020
    - 2 bytes
    - Viewed (0)
  3. test/typeparam/sliceimp.dir/a.go

    		r[i] = f(v)
    	}
    	return r
    }
    
    // Reduce reduces a []Elem1 to a single value of type Elem2 using
    // a reduction function.
    func Reduce[Elem1, Elem2 any](s []Elem1, initializer Elem2, f func(Elem2, Elem1) Elem2) Elem2 {
    	r := initializer
    	for _, v := range s {
    		r = f(r, v)
    	}
    	return r
    }
    
    // Filter filters values from a slice using a filter function.
    func Filter[Elem any](s []Elem, f func(Elem) bool) []Elem {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 30 01:55:58 UTC 2021
    - 3.3K bytes
    - Viewed (0)
  4. test/typeparam/issue49497.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 F[T any]() A[T] {
    	var x A[T]
    	return x
    }
    
    type A[T any] struct {
    	b B[T]
    }
    
    func (a A[T]) M() C[T] {
    	return C[T]{
    		B: a.b,
    	}
    }
    
    type B[T any] struct{}
    
    type C[T any] struct {
    	B B[T]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 10 21:53:03 UTC 2021
    - 365 bytes
    - Viewed (0)
  5. test/typeparam/recoverimp.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 "fmt"
    
    func F[T any](a T) {
    	defer func() {
    		if x := recover(); x != nil {
    			fmt.Printf("panic: %v\n", x)
    		}
    	}()
    	panic(a)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 05 20:53:02 UTC 2021
    - 307 bytes
    - Viewed (0)
  6. test/typeparam/issue50481c.dir/a.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package a
    
    type A interface {
    	int | int64
    }
    
    type B interface {
    	string
    }
    
    type C interface {
    	String() string
    }
    
    type Myint int
    
    func (i Myint) String() string {
    	return "aa"
    }
    
    type T[P A, _ C, _ B] int
    
    func (v T[P, Q, R]) test() {
    	var r Q
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 21 00:39:55 UTC 2022
    - 419 bytes
    - Viewed (0)
  7. test/fixedbugs/issue10219.dir/a.go

    // Copyright 2015 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 m struct {
    	S string
    }
    
    var g = struct {
    	m
    	P string
    }{
    	m{"a"},
    	"",
    }
    
    type S struct{}
    
    func (s *S) M(p string) {
    	r := g
    	r.P = p
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 15 06:04:51 UTC 2015
    - 312 bytes
    - Viewed (0)
  8. test/fixedbugs/issue4252.dir/a.go

    // Copyright 2012 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.
    
    // A package that redeclares common builtin names.
    package a
    
    var true = 0 == 1
    var false = 0 == 0
    var nil = 1
    
    const append = 42
    
    type error bool
    type int interface{}
    
    func len(interface{}) int32 { return 42 }
    
    func Test() {
    	var array [append]int
    	if true {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 807 bytes
    - Viewed (0)
  9. src/cmd/objdump/testdata/testfilenum/a.go

    // Copyright 2020 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 p
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 16 14:40:50 UTC 2020
    - 183 bytes
    - Viewed (0)
  10. test/fixedbugs/bug488.dir/a.go

    // Copyright 2014 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
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 209 bytes
    - Viewed (0)
Back to top