- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for _new_ (0.06 sec)
-
test/typeparam/list2.go
i++ } } func TestExtending() { l1 := _New[int]() l2 := _New[int]() l1.PushBack(1) l1.PushBack(2) l1.PushBack(3) l2.PushBack(4) l2.PushBack(5) l3 := _New[int]() l3.PushBackList(l1) checkList(l3, []interface{}{1, 2, 3}) l3.PushBackList(l2) checkList(l3, []interface{}{1, 2, 3, 4, 5}) l3 = _New[int]() l3.PushFrontList(l2)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 15.3K 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/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) -
src/go/types/builtins.go
var args []*operand // not valid for _Make, _New, _Offsetof, _Trace var nargs int switch id { default: // check all arguments args = check.exprList(argList) nargs = len(args) for _, a := range args { if a.mode == invalid { return } } // first argument is always in x if nargs > 0 { *x = *args[0] } case _Make, _New, _Offsetof, _Trace: // arguments require special handling
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 27.2K bytes - Viewed (0) -
src/cmd/compile/internal/types2/builtins.go
var args []*operand // not valid for _Make, _New, _Offsetof, _Trace var nargs int switch id { default: // check all arguments args = check.exprList(argList) nargs = len(args) for _, a := range args { if a.mode == invalid { return } } // first argument is always in x if nargs > 0 { *x = *args[0] } case _Make, _New, _Offsetof, _Trace: // arguments require special handling
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 27.1K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/model/NamedObjectInstantiator.java
// publicMethod("load", RETURN_OBJECT_FROM_STRING, methodVisitor -> new MethodVisitorScope(methodVisitor) {{ // Call return new <implClass>(param1) _NEW(implementationType); _DUP(); _ALOAD(1); _INVOKESPECIAL(implementationType, CONSTRUCTOR_NAME, RETURN_VOID_FROM_STRING); _ARETURN(); }});
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 06 21:54:37 UTC 2024 - 11.8K bytes - Viewed (0) -
platforms/core-runtime/base-asm/src/main/java/org/gradle/model/internal/asm/MethodVisitorScope.java
} public void _ACONST_NULL() { super.visitInsn(ACONST_NULL); } public void _LDC(Object value) { super.visitLdcInsn(value); } public void _NEW(Type type) { super.visitTypeInsn(NEW, type.getInternalName()); } public void _CHECKCAST(Type type) { _CHECKCAST(type.getInternalName()); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 02 15:31:29 UTC 2024 - 12.4K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/AMD64.rules
(Select1 (AddTupleFirst64 _ tuple)) => (Select1 tuple) // Atomic compare and swap. (AtomicCompareAndSwap32 ptr old new_ mem) => (CMPXCHGLlock ptr old new_ mem) (AtomicCompareAndSwap64 ptr old new_ mem) => (CMPXCHGQlock ptr old new_ mem) // Atomic memory updates. (AtomicAnd8 ptr val mem) => (ANDBlock ptr val mem) (AtomicAnd32 ptr val mem) => (ANDLlock ptr val mem)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 12 19:38:41 UTC 2024 - 93.9K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/AsmBackedClassGenerator.java
if (extensible) { // GENERATE new MixInExtensibleDynamicObject(this, getClass().getSuperClass(), super.getAsDynamicObject(), this.services()) _NEW(EXTENSIBLE_DYNAMIC_OBJECT_HELPER_TYPE); _DUP(); _ALOAD(0); _ALOAD(0); _INVOKEVIRTUAL(generatedType, "getClass", RETURN_CLASS);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 15:40:00 UTC 2024 - 100.6K bytes - Viewed (0)