- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for _New (0.02 sec)
-
test/typeparam/orderedmap.go
left, right *node[K, V] } // _New returns a new map. It takes a comparison function that compares two // keys and returns < 0 if the first is less, == 0 if they are equal, // > 0 if the first is greater. func _New[K, V any](compare func(K, K) int) *_Map[K, V] { return &_Map[K, V]{compare: compare} } // _NewOrdered returns a new map whose key is an ordered type. // This is like _New, but does not require providing a compare function.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 01 19:45:34 UTC 2022 - 7.1K bytes - Viewed (0) -
test/typeparam/graph.go
Edges() []_Edge } // _EdgeC is the constraints on an edge in a graph, given the _Node type. type _EdgeC[_Node any] interface { comparable Nodes() (a, b _Node) } // _New creates a new _Graph from a collection of Nodes. func _New[_Node _NodeC[_Edge], _Edge _EdgeC[_Node]](nodes []_Node) *_Graph[_Node, _Edge] { return &_Graph[_Node, _Edge]{nodes: nodes} } // nodePath holds the path to a node during ShortestPath.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 5.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/admin/RoleTests.java
final String keyProp = NAME_PREFIX + id; requestBody.put(KEY_PROPERTY, keyProp); return requestBody; } private static final String NEW_SUFFIX = "_new"; @Override protected Map<String, Object> getUpdateMap() { final Map<String, Object> requestBody = new HashMap<>(); requestBody.put(KEY_PROPERTY, NAME_PREFIX + NEW_SUFFIX);
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.7K bytes - Viewed (0) -
src/cmd/compile/internal/types2/universe.go
type builtinId int const ( // universe scope _Append builtinId = iota _Cap _Clear _Close _Complex _Copy _Delete _Imag _Len _Make _Max _Min _New _Panic _Print _Println _Real _Recover // package unsafe _Add _Alignof _Offsetof _Sizeof _Slice _SliceData _String _StringData // testing support
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 9.1K bytes - Viewed (0) -
src/go/types/universe.go
type builtinId int const ( // universe scope _Append builtinId = iota _Cap _Clear _Close _Complex _Copy _Delete _Imag _Len _Make _Max _Min _New _Panic _Print _Println _Real _Recover // package unsafe _Add _Alignof _Offsetof _Sizeof _Slice _SliceData _String _StringData // testing support
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 9.3K bytes - Viewed (0)