- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 2,845 for pointerT (0.14 sec)
-
test/gcgort.go
case a.name == "": return errors.New("modifier without name") case a.t == nil: return errors.New(a.name + " missing t") case a.pointerT == nil: return errors.New(a.name + " missing pointerT") case a.arrayT == nil: return errors.New(a.name + " missing arrayT") case a.sliceT == nil: return errors.New(a.name + " missing sliceT") case a.mapT == nil: return errors.New(a.name + " missing mapT")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 08 21:15:48 UTC 2018 - 34.5K bytes - Viewed (0) -
src/internal/weak/pointer.go
// will not compare equal. // If a weak pointer is created from an object that becomes reachable again due // to a finalizer, that weak pointer will not compare equal with weak pointers // created before it became unreachable. type Pointer[T any] struct { u unsafe.Pointer } // Make creates a weak pointer from a strong pointer to some value of type T. func Make[T any](ptr *T) Pointer[T] {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 22:13:25 UTC 2024 - 3.1K bytes - Viewed (0) -
src/cmd/compile/internal/types2/pointer.go
package types2 // A Pointer represents a pointer type. type Pointer struct { base Type // element type } // NewPointer returns a new pointer type for the given element (base) type. func NewPointer(elem Type) *Pointer { return &Pointer{base: elem} } // Elem returns the element type for the given pointer p. func (p *Pointer) Elem() Type { return p.base } func (p *Pointer) Underlying() Type { return p }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 01 22:17:50 UTC 2021 - 635 bytes - Viewed (0) -
src/go/types/pointer.go
// Elem returns the element type for the given pointer p. func (p *Pointer) Elem() Type { return p.base } func (p *Pointer) Underlying() Type { return p }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 761 bytes - Viewed (0) -
test/interface/pointer.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 28 14:28:33 UTC 2023 - 758 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest-printers.h
} if (count > 0) { *os << ' '; } *os << '}'; } // Used to print a pointer that is neither a char pointer nor a member // pointer, when the user doesn't define PrintTo() for it. (A member // variable pointer or member function pointer doesn't really point to // a location in the address space. Their representation is
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 30.9K bytes - Viewed (0) -
pkg/ptr/pointer.go
// See the License for the specific language governing permissions and // limitations under the License. package ptr import ( "fmt" ) // Of returns a pointer to the input. In most cases, callers should just do &t. However, in some cases // Go cannot take a pointer. For example, `ptr.Of(f())`. func Of[T any](t T) *T { return &t } // OrEmpty returns *t if its non-nil, or else an empty T func OrEmpty[T any](t *T) T {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 07 14:56:54 UTC 2024 - 1.8K bytes - Viewed (0) -
testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest-printers.h
} if (count > 0) { *os << ' '; } *os << '}'; } // Used to print a pointer that is neither a char pointer nor a member // pointer, when the user doesn't define PrintTo() for it. (A member // variable pointer or member function pointer doesn't really point to // a location in the address space. Their representation is
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 30.9K bytes - Viewed (0) -
src/go/internal/gccgoimporter/testdata/pointer.gox
v1; package pointer; pkgpath pointer;
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 17 23:03:13 UTC 2015 - 83 bytes - Viewed (0) -
src/go/internal/gccgoimporter/testdata/pointer.go
package pointer
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 17 23:03:13 UTC 2015 - 36 bytes - Viewed (0)