Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for twoargs2 (0.55 sec)

  1. 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)
  2. 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)
  3. src/go/types/instantiate_test.go

    func TestInstantiateEquality(t *testing.T) {
    	emptySignature := NewSignatureType(nil, nil, nil, nil, nil, false)
    	tests := []struct {
    		src       string
    		name1     string
    		targs1    []Type
    		name2     string
    		targs2    []Type
    		wantEqual bool
    	}{
    		{
    			"package basictype; type T[P any] int",
    			"T", []Type{Typ[Int]},
    			"T", []Type{Typ[Int]},
    			true,
    		},
    		{
    			"package differenttypeargs; type T[P any] int",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 5.9K 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/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)
  6. src/go/types/infer.go

    		}
    	}
    
    	// Make sure we have a "full" list of type arguments, some of which may
    	// be nil (unknown). Make a copy so as to not clobber the incoming slice.
    	if len(targs) < n {
    		targs2 := make([]Type, n)
    		copy(targs2, targs)
    		targs = targs2
    	}
    	// len(targs) == n
    
    	// Continue with the type arguments we have. Avoid matching generic
    	// parameters that already have type arguments against function arguments:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 13:54:20 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/infer.go

    		}
    	}
    
    	// Make sure we have a "full" list of type arguments, some of which may
    	// be nil (unknown). Make a copy so as to not clobber the incoming slice.
    	if len(targs) < n {
    		targs2 := make([]Type, n)
    		copy(targs2, targs)
    		targs = targs2
    	}
    	// len(targs) == n
    
    	// Continue with the type arguments we have. Avoid matching generic
    	// parameters that already have type arguments against function arguments:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 13:54:20 UTC 2024
    - 26.4K bytes
    - Viewed (0)
Back to top