Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 248 for tmp2 (0.04 sec)

  1. test/inline.go

    	return x + y
    }
    
    func j(x int) int { // ERROR "can inline j"
    	switch {
    	case x > 0:
    		return x + 2
    	default:
    		return x + 1
    	}
    }
    
    func f2() int { // ERROR "can inline f2"
    	tmp1 := h
    	tmp2 := tmp1
    	return tmp2(0) // ERROR "inlining call to h"
    }
    
    var abc = errors.New("abc") // ERROR "inlining call to errors.New"
    
    var somethingWrong error
    
    // local closures can be inlined
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  2. test/newinline.go

    	return x + y
    }
    
    func j(x int) int { // ERROR "can inline j"
    	switch {
    	case x > 0:
    		return x + 2
    	default:
    		return x + 1
    	}
    }
    
    func f2() int { // ERROR "can inline f2"
    	tmp1 := h
    	tmp2 := tmp1
    	return tmp2(0) // ERROR "inlining call to h"
    }
    
    var abc = errors.New("abc") // ERROR "inlining call to errors.New"
    
    var somethingWrong error
    
    // local closures can be inlined
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 20:15:25 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  3. src/crypto/aes/asm_ppc64x.s

    loop192:
    	VPERM	IN1, IN1, MASK, KEY // vperm 3,2,2,5
    	VSLDOI	$12, ZERO, IN0, TMP // vsldoi 6,0,1,12
    	VCIPHERLAST	KEY, RCON, KEY      // vcipherlast 3,3,4
    
    	VXOR	IN0, TMP, IN0       // vxor 1,1,6
    	VSLDOI	$12, ZERO, TMP, TMP // vsldoi 6,0,6,12
    	VXOR	IN0, TMP, IN0       // vxor 1,1,6
    	VSLDOI	$12, ZERO, TMP, TMP // vsldoi 6,0,6,12
    	VXOR	IN0, TMP, IN0       // vxor 1,1,6
    
    	VSLDOI	$8, ZERO, IN1, STAGE  // vsldoi 7,0,2,8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:05:32 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  4. src/sort/sort_test.go

    	modes := []string{"copy", "reverse", "reverse1", "reverse2", "sort", "dither"}
    	var tmp1, tmp2 [1025]int
    	for _, n := range sizes {
    		for m := 1; m < 2*n; m *= 2 {
    			for dist := 0; dist < _NDist; dist++ {
    				j := 0
    				k := 1
    				data := tmp1[0:n]
    				for i := 0; i < n; i++ {
    					switch dist {
    					case _Sawtooth:
    						data[i] = i % m
    					case _Rand:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 19:41:04 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  5. src/crypto/aes/gcm_ppc64x.s

    #  else
    #define NEEDS_ESPERM
    #define P8_LXVB16X(RA,RB,VT) \
    	LXVD2X  (RA+RB), VT \
    	VPERM	VT, VT, ESPERM, VT
    
    #define P8_STXVB16X(VS,RA,RB) \
    	VPERM	VS, VS, ESPERM, TMP2; \
    	STXVD2X TMP2, (RA+RB)
    
    #  endif
    #else
    #define P8_LXVB16X(RA,RB,VT) \
    	LXVD2X  (RA+RB), VT
    
    #define P8_STXVB16X(VS,RA,RB) \
    	STXVD2X VS, (RA+RB)
    
    #endif
    
    #define MASK_PTR   R8
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/walk/order.go

    // The caller should order the right-hand side of the assignment before calling order.as2func.
    // It rewrites,
    //
    //	a, b, a = ...
    //
    // as
    //
    //	tmp1, tmp2, tmp3 = ...
    //	a, b, a = tmp1, tmp2, tmp3
    //
    // This is necessary to ensure left to right assignment order.
    func (o *orderState) as2func(n *ir.AssignListStmt) {
    	results := n.Rhs[0].Type()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 02:00:33 UTC 2024
    - 42.7K bytes
    - Viewed (0)
  7. src/go/build/build_test.go

    		{"-I/tmp -I/tmp", "/tmp2", "-I/tmp -I/tmp", true},
    		{"-I/tmp", "/tmp/[0]", "-I/tmp", true},
    		{"-I${SRCDIR}/dir", "/tmp/[0]", "-I/tmp/[0]/dir", false},
    		{"-I${SRCDIR}/dir", "/tmp/go go", "-I/tmp/go go/dir", true},
    		{"-I${SRCDIR}/dir dir", "/tmp/go", "-I/tmp/go/dir dir", true},
    	}
    	for _, test := range tests {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 15 16:24:01 UTC 2023
    - 23.9K bytes
    - Viewed (0)
  8. src/text/template/multi_test.go

    var templateFileExecTests = []execTest{
    	{"test", `{{template "tmpl1.tmpl"}}{{template "tmpl2.tmpl"}}`, "template1\n\ny\ntemplate2\n\nx\n", 0, true},
    }
    
    func TestParseFilesWithData(t *testing.T) {
    	template, err := New("root").ParseFiles("testdata/tmpl1.tmpl", "testdata/tmpl2.tmpl")
    	if err != nil {
    		t.Fatalf("error parsing files: %v", err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 08 10:48:29 UTC 2022
    - 11.7K bytes
    - Viewed (0)
  9. src/html/template/template.go

    	defer t.nameSpace.mu.Unlock()
    	t.nameSpace.escaped = true
    	tmpl = t.set[name]
    	if tmpl == nil {
    		return nil, fmt.Errorf("html/template: %q is undefined", name)
    	}
    	if tmpl.escapeErr != nil && tmpl.escapeErr != escapeOK {
    		return nil, tmpl.escapeErr
    	}
    	if tmpl.text.Tree == nil || tmpl.text.Root == nil {
    		return nil, fmt.Errorf("html/template: %q is an incomplete template", name)
    	}
    	if t.text.Lookup(name) == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 21:00:46 UTC 2024
    - 17K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/FilesTest.java

        assertTrue(Files.equal(temp2, i18nFile));
      }
    
      public void testMoveFailures() throws IOException {
        File temp1 = createTempFile();
        File temp2 = createTempFile();
    
        moveHelper(false, new UnmovableFile(temp1, false, false), temp2);
        moveHelper(
            false, new UnmovableFile(temp1, false, false), new UnmovableFile(temp2, true, false));
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 22.2K bytes
    - Viewed (0)
Back to top