Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for twoArgs (0.13 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/core/rule/describe/MethodModelRuleDescriptorTest.groovy

            sb.toString() == ModelType.of(getClass()).displayName + "#" + desc
    
            where:
            method        | desc
            "noArgs"      | 'noArgs()'
            "oneArg"      | 'oneArg(String)'
            "twoArgs"     | 'twoArgs(String, String)'
            "genericArgs" | 'genericArgs(List<String>, Map<Integer, List<String>>)'
        }
    
        def "inner classes are described"() {
            when:
            def sb = new StringBuilder()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratorDecoratedTest.groovy

            tester.lastMethod == "oneAction"
            tester.lastArgs.size() == 1
            tester.lastArgs.first() instanceof Action
    
            when:
            tester.twoArgs("1") { assert it == "subject" }
    
            then:
            tester.lastMethod == "twoArgs"
            tester.lastArgs.size() == 2
            tester.lastArgs.first() == "1"
            tester.lastArgs.last() instanceof Action
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 22K bytes
    - Viewed (0)
  3. src/text/template/exec_test.go

    	{"bug16c", "{{1.1|printf}}", "", tVal, false},
    	{"bug16d", "{{'x'|printf}}", "", tVal, false},
    	{"bug16e", "{{0i|printf}}", "", tVal, false},
    	{"bug16f", "{{true|twoArgs \"xxx\"}}", "", tVal, false},
    	{"bug16g", "{{\"aaa\" |twoArgs \"bbb\"}}", "twoArgs=bbbaaa", tVal, true},
    	{"bug16h", "{{1|oneArg}}", "", tVal, false},
    	{"bug16i", "{{\"aaa\"|oneArg}}", "oneArg=aaa", tVal, true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 60.1K bytes
    - Viewed (0)
  4. src/html/template/exec_test.go

    	{"bug16c", "{{1.1|printf}}", "", tVal, false},
    	{"bug16d", "{{'x'|printf}}", "", tVal, false},
    	{"bug16e", "{{0i|printf}}", "", tVal, false},
    	{"bug16f", "{{true|twoArgs \"xxx\"}}", "", tVal, false},
    	{"bug16g", "{{\"aaa\" |twoArgs \"bbb\"}}", "twoArgs=bbbaaa", tVal, true},
    	{"bug16h", "{{1|oneArg}}", "", tVal, false},
    	{"bug16i", "{{\"aaa\"|oneArg}}", "oneArg=aaa", tVal, true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  5. src/crypto/internal/edwards25519/field/fe_alias_test.go

    			},
    		},
    		{name: "Multiply", twoArgsF: (*Element).Multiply},
    		{name: "Add", twoArgsF: (*Element).Add},
    		{name: "Subtract", twoArgsF: (*Element).Subtract},
    		{
    			name: "SqrtRatio",
    			twoArgsF: func(v, x, y *Element) *Element {
    				r, _ := v.SqrtRatio(x, y)
    				return r
    			},
    		},
    		{
    			name: "Select0",
    			twoArgsF: func(v, x, y *Element) *Element {
    				return v.Select(x, y, 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 17:26:17 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  6. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

      public void testTwoArgNormalNormal() throws Exception {
        Method method = TwoArg.class.getMethod("normalNormal", String.class, Integer.class);
        for (TwoArg.Action first : TwoArg.Action.values()) {
          for (TwoArg.Action second : TwoArg.Action.values()) {
            TwoArg bar = new TwoArg(first, second);
            if (first.equals(TwoArg.Action.THROW_A_NPE) && second.equals(TwoArg.Action.THROW_A_NPE)) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 47.7K bytes
    - Viewed (0)
  7. internal/bucket/lifecycle/filter_test.go

    		},
    		{
    			filter:   twoTags,
    			userTags: "",
    			want:     false,
    		},
    		{
    			filter:   twoTags,
    			userTags: "FOO=1",
    			want:     false,
    		},
    		{
    			filter:   twoTags,
    			userTags: "BAR=2",
    			want:     false,
    		},
    		{
    			filter:   twoTags,
    			userTags: "FOO=2&BAR=2",
    			want:     false,
    		},
    		{
    			filter:   twoTags,
    			userTags: "F=1&B=2",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Feb 27 00:01:20 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/test/test.go

    					runtime.Gosched()
    				}
    				i++
    
    			}
    		}()
    		time.Sleep(time.Millisecond)
    	}
    }
    
    // issue 28540
    
    func twoargsF() {
    	var v struct{ p *byte }
    	C.twoargs1(C.twoargs2(), C.twoargs3(unsafe.Pointer(&v)))
    }
    
    // issue 28545
    
    func issue28545G(p **C.char) {
    	C.issue28545F(p, -1, (0))
    	C.issue28545F(p, 2+3, complex(1, 1))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 48.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/reflect/TypeResolver.java

            Type[] toArgs = toParameterizedType.getActualTypeArguments();
            checkArgument(
                fromArgs.length == toArgs.length,
                "%s not compatible with %s",
                fromParameterizedType,
                toParameterizedType);
            for (int i = 0; i < fromArgs.length; i++) {
              populateTypeMappings(mappings, fromArgs[i], toArgs[i]);
            }
          }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 24.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/reflect/TypeResolver.java

            Type[] toArgs = toParameterizedType.getActualTypeArguments();
            checkArgument(
                fromArgs.length == toArgs.length,
                "%s not compatible with %s",
                fromParameterizedType,
                toParameterizedType);
            for (int i = 0; i < fromArgs.length; i++) {
              populateTypeMappings(mappings, fromArgs[i], toArgs[i]);
            }
          }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 24.2K bytes
    - Viewed (0)
Back to top