- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of about 10,000 for a$ (0.06 sec)
-
test/typeparam/issue48094.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 import "unsafe" func F[T any]() uintptr { var t T return unsafe.Sizeof(t) } func G[T any]() uintptr { var t T return unsafe.Alignof(t) } //func H[T any]() uintptr { // type S struct { // a T // b T // } // var s S // return unsafe.Offsetof(s.b)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 31 17:21:38 UTC 2021 - 429 bytes - Viewed (0) -
test/typeparam/issue49524.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]() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 11 20:34:56 UTC 2021 - 191 bytes - Viewed (0) -
test/typeparam/issue51836.dir/a.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 a type T[K any] struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 22 21:38:10 UTC 2022 - 196 bytes - Viewed (0) -
test/typeparam/issue50121b.dir/a.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 a 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(42)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 03 03:13:33 UTC 2022 - 379 bytes - Viewed (0) -
src/cmd/cgo/internal/testcarchive/testdata/libgo8/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 main import "C" import ( "os" "runtime" "sync/atomic" ) var started int32 // Start a goroutine that loops forever. func init() { runtime.GOMAXPROCS(1) go func() { for { atomic.StoreInt32(&started, 1) } }() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 529 bytes - Viewed (0) -
test/typeparam/issue48337b.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 Container[T any] struct { X T } func NewContainer[T any](x T) *Container[T] { return &Container[T]{x} } type MetaContainer struct { C *Container[Value] } type Value struct{} func NewMetaContainer() *MetaContainer {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 14 23:07:15 UTC 2021 - 508 bytes - Viewed (0) -
test/typeparam/issue48337a.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" "sync" ) type WrapperWithLock[T any] interface { PrintWithLock() } func NewWrapperWithLock[T any](value T) WrapperWithLock[T] { return &wrapperWithLock[T]{ Object: value, } } type wrapperWithLock[T any] struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 17 19:50:04 UTC 2021 - 551 bytes - Viewed (0) -
test/fixedbugs/issue52590.dir/a.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 a import "unsafe" func Append() { _ = append(appendArgs()) } func Delete() { delete(deleteArgs()) } func Print() { print(ints()) } func Println() { println(ints()) } func Complex() { _ = complex(float64s()) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 28 18:02:40 UTC 2022 - 933 bytes - Viewed (0) -
test/fixedbugs/issue42284.dir/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 a type I interface{ M() } type T int func (T) M() {} // ERROR "can inline T.M" func E() I { // ERROR "can inline E" return T(0) // ERROR "T\(0\) escapes to heap" } func F(i I) I { // ERROR "can inline F" "leaking param: i to result ~r0 level=0" i = nil return i
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 20 18:09:45 UTC 2023 - 750 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/buildCache/cacheable-bundle-task/kotlin/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)