Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for newpass (0.17 sec)

  1. src/cmd/api/testdata/src/pkg/p4/golden.txt

    pkg p4, func NewPair[$0 interface{ M }, $1 interface{ ~int }]($0, $1) Pair[$0, $1]
    pkg p4, method (Pair[$0, $1]) Second() $1
    pkg p4, method (Pair[$0, $1]) First() $0
    pkg p4, type Pair[$0 interface{ M }, $1 interface{ ~int }] struct
    pkg p4, func Clone[$0 interface{ ~[]$1 }, $1 interface{}]($0) $0
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Jan 26 19:39:32 GMT 2024
    - 329 bytes
    - Viewed (0)
  2. src/cmd/api/testdata/src/pkg/p4/p4.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package p4
    
    type Pair[T1 interface{ M() }, T2 ~int] struct {
    	f1 T1
    	f2 T2
    }
    
    func NewPair[T1 interface{ M() }, T2 ~int](v1 T1, v2 T2) Pair[T1, T2] {
    	return Pair[T1, T2]{f1: v1, f2: v2}
    }
    
    func (p Pair[X1, _]) First() X1 {
    	return p.f1
    }
    
    func (p Pair[_, X2]) Second() X2 {
    	return p.f2
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Dec 02 16:29:41 GMT 2022
    - 552 bytes
    - Viewed (0)
  3. api/go1.11.txt

    pkg runtime/trace, func IsEnabled() bool
    pkg runtime/trace, func Log(context.Context, string, string)
    pkg runtime/trace, func Logf(context.Context, string, string, ...interface{})
    pkg runtime/trace, func NewTask(context.Context, string) (context.Context, *Task)
    pkg runtime/trace, func StartRegion(context.Context, string) *Region
    pkg runtime/trace, func WithRegion(context.Context, string, func())
    pkg runtime/trace, method (*Region) End()
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Aug 22 03:48:56 GMT 2018
    - 25K bytes
    - Viewed (2)
Back to top