Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for div_b (0.04 sec)

  1. src/cmd/compile/internal/test/testdata/divbyzero_test.go

    			}
    		}
    	}()
    	f()
    	return false
    }
    
    //go:noinline
    func div_a(i uint, s []int) int {
    	return s[i%uint(len(s))]
    }
    
    //go:noinline
    func div_b(i uint, j uint) uint {
    	return i / j
    }
    
    //go:noinline
    func div_c(i int) int {
    	return 7 / (i - i)
    }
    
    func TestDivByZero(t *testing.T) {
    	if got := checkDivByZero(func() { div_b(7, 0) }); !got {
    		t.Errorf("expected div by zero for b(7, 0), got no error\n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 23 06:40:04 UTC 2020
    - 1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/common/python/testing_test.py

        self.create_tempfile(file_path='dir_a/w.txt', content='abcd')
    
        self.path_b = self.create_tempdir('dir_b').full_path
        self.create_tempfile(file_path='dir_b/x.txt', content='1234')
        self.create_tempfile(file_path='dir_b/y.txt', content='56')
        self.create_tempfile(file_path='dir_b/z.txt', content='78')
    
      def test_get_dir_size(self):
        self.assertEqual(testing.get_dir_size(self.path_a), 4)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 21 08:51:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/asm/testdata/amd64.s

    TEXT	foo(SB), DUPOK|NOSPLIT, $0
    
    // LTYPE1 nonrem	{ outcode($1, &$2); }
    	NEGQ	R11
    	NEGQ	4(R11)
    	NEGQ	foo+4(SB)
    
    // LTYPE2 rimnon	{ outcode($1, &$2); }
    	INT	$4
    	DIVB	R11
    	DIVB	4(R11)
    	DIVB	foo+4(SB)
    
    // LTYPE3 rimrem	{ outcode($1, &$2); }
    	SUBQ $4, DI
    	SUBQ R11, DI
    	SUBQ 4(R11), DI
    	SUBQ foo+4(SB), DI
    	SUBQ $4, 8(R12)
    	SUBQ R11, 8(R12)
    	SUBQ R11, foo+4(SB)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 18:57:21 UTC 2019
    - 3.3K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/testdata/386.s

    #include "../../../../../runtime/textflag.h"
    
    TEXT foo(SB), DUPOK|NOSPLIT, $0
    
    // LTYPE1 nonrem	{ outcode(int($1), &$2); }
    	SETCC	AX
    	SETCC	foo+4(SB)
    
    // LTYPE2 rimnon	{ outcode(int($1), &$2); }
    	DIVB	AX
    	DIVB	foo+4(SB)
    	PUSHL	$foo+4(SB)
    	POPL		AX
    
    // LTYPE3 rimrem	{ outcode(int($1), &$2); }
    	SUBB	$1, AX
    	SUBB	$1, foo+4(SB)
    	SUBB	BX, AX
    	SUBB	BX, foo+4(SB)
    
    // LTYPE4 remrim	{ outcode(int($1), &$2); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 18:57:21 UTC 2019
    - 2K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/x86/anames.go

    	"CVTSS2SQ",
    	"CVTTPD2PL",
    	"CVTTPS2PL",
    	"CVTTSD2SL",
    	"CVTTSD2SQ",
    	"CVTTSS2SL",
    	"CVTTSS2SQ",
    	"CWD",
    	"CWDE",
    	"DAA",
    	"DAS",
    	"DECB",
    	"DECL",
    	"DECQ",
    	"DECW",
    	"DIVB",
    	"DIVL",
    	"DIVPD",
    	"DIVPS",
    	"DIVQ",
    	"DIVSD",
    	"DIVSS",
    	"DIVW",
    	"DPPD",
    	"DPPS",
    	"EMMS",
    	"ENTER",
    	"EXTRACTPS",
    	"F2XM1",
    	"FABS",
    	"FADDD",
    	"FADDDP",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 18:32:50 UTC 2023
    - 19.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

        if (output_type.getRank() != 4)
          return op.emitOpError()
                 << "requires output to be a 4D tensor, but got " << output_type;
    
        auto static_dims = [](int64_t dim_a, int64_t dim_b) {
          return dim_a != ShapedType::kDynamic && dim_b != ShapedType::kDynamic;
        };
    
        auto output_shape = output_type.getShape();
    
        // output batch = input batch / (block_size * block_size).
        int64_t input_batch = input_shape[0];
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/testdata/amd64enc.s

    	DIVQ DX                                 // 48f7f2
    	DIVQ R11                                // 49f7f3
    	DIVB (BX)                               // f633
    	DIVB (R11)                              // 41f633
    	DIVB DL                                 // f6f2
    	DIVB R11                                // 41f6f3
    	DIVPD (BX), X2                          // 660f5e13
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 08 21:38:44 UTC 2021
    - 581.9K bytes
    - Viewed (0)
Back to top