Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for _New (0.13 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top