Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for _New (0.34 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. tests/upsert_test.go

    	} else if len(langs3) != 3 {
    		t.Errorf("should only find only 3 languages, but got %+v", langs3)
    	}
    
    	for idx, lang := range langs {
    		lang.Name = lang.Name + "_new"
    		langs[idx] = lang
    	}
    
    	if err := DB.Clauses(clause.OnConflict{
    		Columns:   []clause.Column{{Name: "code"}},
    		DoUpdates: clause.AssignmentColumns([]string{"name"}),
    	}).Create(&langs).Error; err != nil {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Sep 05 07:39:19 UTC 2022
    - 11.4K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. platforms/documentation/docs/src/docs/userguide/dep-man/04-modeling-features/cross_project_publications.adoc

    ====
    
    [NOTE]
    ====
    Choosing the right attributes to set is the hardest thing in this process, because they carry the semantics of the variant.
    Therefore, before adding _new attributes_, you should always ask yourself if there isn't an attribute which carries the semantics you need.
    If there isn't, then you may add a new attribute.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 07 01:37:51 UTC 2023
    - 18K bytes
    - Viewed (0)
Back to top