- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for Comparable (0.79 sec)
-
api/next/62483.txt
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Mon Apr 22 18:14:07 GMT 2024 - 162 bytes - Viewed (0) -
src/builtin/builtin.go
type any = interface{} // comparable is an interface that is implemented by all comparable types // (booleans, numbers, strings, pointers, channels, arrays of comparable types, // structs whose fields are all comparable types). // The comparable interface may only be used as a type parameter constraint, // not as the type of a variable. type comparable interface{ comparable }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Apr 11 20:22:45 GMT 2024 - 12.7K bytes - Viewed (0) -
doc/next/6-stdlib/2-unique.md
### New unique package The new [unique](/pkg/unique) package provides facilities for canonicalizing values (like "interning" or "hash-consing"). Any value of comparable type may be canonicalized with the new `Make[T]` function, which produces a reference to a canonical copy of the value in the form of a `Handle[T]`. Two `Handle[T]` are equal if and only if the values used to produce the handles are equal, allowing programs to deduplicate values and reduce
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Wed Apr 24 13:37:36 GMT 2024 - 579 bytes - Viewed (0) -
doc/go_spec.html
[]byte // does not implement comparable (slices cannot be compared) interface{} // does not implement comparable (see above) interface{ ~int | ~string } // type parameter only: implements comparable (int, string types are strictly comparable) interface{ comparable } // type parameter only: implements comparable (comparable implements itself)
HTML - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu May 02 22:43:51 GMT 2024 - 279.6K bytes - Viewed (0) -
doc/go1.17_spec.html
</li> <li> Struct values are comparable if all their fields are comparable. Two struct values are equal if their corresponding non-<a href="#Blank_identifier">blank</a> fields are equal. </li> <li> Array values are comparable if values of the array element type are comparable. Two array values are equal if their corresponding elements are equal. </li> </ul>
HTML - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu Apr 11 20:22:45 GMT 2024 - 211.6K bytes - Viewed (0) -
api/go1.21.txt
pkg maps, func Clone[$0 interface{ ~map[$1]$2 }, $1 comparable, $2 interface{}]($0) $0 #57436 pkg maps, func Copy[$0 interface{ ~map[$2]$3 }, $1 interface{ ~map[$2]$3 }, $2 comparable, $3 interface{}]($0, $1) #57436 pkg maps, func DeleteFunc[$0 interface{ ~map[$1]$2 }, $1 comparable, $2 interface{}]($0, func($1, $2) bool) #57436 pkg maps, func Equal[$0 interface{ ~map[$2]$3 }, $1 interface{ ~map[$2]$3 }, $2 comparable, $3 comparable]($0, $1) bool #57436
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Mon Aug 07 09:39:17 GMT 2023 - 25.6K bytes - Viewed (0) -
api/go1.22.txt
pkg archive/tar, method (*Writer) AddFS(fs.FS) error #58000 pkg archive/zip, method (*Writer) AddFS(fs.FS) error #54898 pkg cmp, func Or[$0 comparable](...$0) $0 #60204 pkg crypto/x509, func OIDFromInts([]uint64) (OID, error) #60665 pkg crypto/x509, method (*CertPool) AddCertWithConstraint(*Certificate, func([]*Certificate) error) #57178 pkg crypto/x509, method (OID) Equal(OID) bool #60665 pkg crypto/x509, method (OID) EqualASN1OID(asn1.ObjectIdentifier) bool #60665
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Wed Jan 24 20:54:27 GMT 2024 - 7.7K bytes - Viewed (0) -
api/go1.20.txt
pkg os/exec, type Cmd struct, WaitDelay time.Duration #50436 pkg os/exec, var ErrWaitDelay error #50436 pkg path/filepath, func IsLocal(string) bool #56219 pkg path/filepath, var SkipAll error #47209 pkg reflect, method (Value) Comparable() bool #46746 pkg reflect, method (Value) Equal(Value) bool #46746 pkg reflect, method (Value) Grow(int) #48000 pkg reflect, method (Value) SetZero() #52376 pkg regexp/syntax, const ErrLarge ErrorCode #56041
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Fri Feb 17 21:23:32 GMT 2023 - 602.6K bytes - Viewed (0)