Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of about 10,000 for a$ (0.14 sec)

  1. test/typeparam/issue50121.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 (
    	"math/rand"
    )
    
    type Integer interface {
    	~int | ~int8 | ~int16 | ~int32 | ~int64 |
    	~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64 | ~uintptr
    }
    
    type Builder[T Integer] struct{}
    
    func (r Builder[T]) New() T {
    	return T(rand.Int())
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 03 03:13:33 UTC 2022
    - 495 bytes
    - Viewed (0)
  2. test/fixedbugs/issue49016.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 Node interface {
    	Position()
    }
    
    type noder struct{}
    
    func (noder) Position() {}
    
    type Scope map[int][]Node
    
    func (s Scope) M1() Scope {
    	if x, ok := s[0]; ok {
    		return x[0].(struct {
    			noder
    			Scope
    		}).Scope
    	}
    	return nil
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 20 17:26:58 UTC 2021
    - 543 bytes
    - Viewed (0)
  3. test/typeparam/geninline.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 IVal[T comparable] interface {
    	check(want T)
    }
    
    type Val[T comparable] struct {
    	val T
    }
    
    //go:noinline
    func (l *Val[T]) check(want T) {
    	if l.val != want {
    		panic("hi")
    	}
    }
    
    func Test1() {
    	var l Val[int]
    	if l.val != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 15 16:57:36 UTC 2021
    - 799 bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/buildCache/cacheable-bundle-task/groovy/scripts/a.js

    console.log('a');...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 18 bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/buildCache/cacheable-bundle/groovy/scripts/a.js

    console.log('a');...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 18 bytes
    - Viewed (0)
  6. test/typeparam/issue50552.dir/a.go

    package a
    
    type Builder[T any] struct{}
    
    func (r Builder[T]) New() T {
    	var v T
    	return v
    }
    
    func (r Builder[T]) New2() T {
    	return r.New()
    }
    
    func BuildInt() int {
    	return Builder[int]{}.New()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 11 21:51:51 UTC 2022
    - 196 bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/test/issue41761a/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 issue41761a
    
    /*
       typedef struct S41761 S41761;
    */
    import "C"
    
    type T struct {
    	X *C.S41761
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 263 bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/test/issue23555a/a.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 issue23555
    
    // #include <stdlib.h>
    import "C"
    
    func X() {
    	C.free(C.malloc(10))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 250 bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/testshared/testdata/iface_a/a.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 iface_a
    
    import "testshared/iface_i"
    
    //go:noinline
    func F() interface{} {
    	return (*iface_i.T)(nil)
    }
    
    //go:noinline
    func G() iface_i.I {
    	return (*iface_i.T)(nil)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 335 bytes
    - Viewed (0)
  10. src/cmd/go/internal/modindex/testdata/ignore_non_source/a.syso

    Michael Matloob <******@****.***> 1664988840 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 05 18:59:21 UTC 2022
    - 26 bytes
    - Viewed (0)
Back to top