/aosp_15_r20/external/tensorflow/tensorflow/python/kernel_tests/sparse_ops/ |
H A D | sparse_cross_op_test.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 33 def _sparse_tensor(self, data, batch_size=-1): 54 shape = [batch_size if batch_size != -1 else len(data), max_col_count] 81 self._sparse_tensor([['batch1-FC1-F1'], 82 ['batch2-FC1-F1', 'batch2-FC1-F2']]), 83 self._sparse_tensor([['batch1-FC2-F1'], 84 ['batch2-FC2-F1', 'batch2-FC2-F2']]) 86 expected_out = self._sparse_tensor([['batch1-FC1-F1_X_batch1-FC2-F1'], [ 87 'batch2-FC1-F1_X_batch2-FC2-F1', 'batch2-FC1-F1_X_batch2-FC2-F2', 88 'batch2-FC1-F2_X_batch2-FC2-F1', 'batch2-FC1-F2_X_batch2-FC2-F2' [all …]
|
/aosp_15_r20/external/tensorflow/tensorflow/compiler/jit/ |
H A D | encapsulate_subgraphs_pass_test.cc | 7 http://www.apache.org/licenses/LICENSE-2.0 58 FunctionDef* fdef = library->add_function(); in AddGraphDefToFunctionLibrary() 84 if (!compare(elt_a.first, elt_a.second, iter->second)) { in EqualProtoMap() 89 value_to_string(iter->second), "'"); in EqualProtoMap() 275 if (!EqualFunctionDef(expected_function, *it->second, diff)) return false; in EqualFunctionDefLibrary() 283 actual_index.begin()->second->signature().name(), "'"); in EqualFunctionDefLibrary() 301 c->set_output(0, c->UnknownShape()); in __anon4e24c0570b02() 308 c->set_output(0, c->Vector(2)); in __anon4e24c0570c02() 317 TF_RETURN_IF_ERROR(c->Merge(c->UnknownShape(), c->input(0), &o)); in __anon4e24c0570d02() 318 c->set_output(0, o); in __anon4e24c0570d02() [all …]
|
/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/asm/internal/asm/testdata/ |
D | ppc64.s | 2 // Use of this source code is governed by a BSD-style 18 MOVD $-1, R4 // 3880ffff 21 MOVD $-32767, R5 // 38a08001 22 MOVD $-32768, R6 // 38c08000 25 MOVW $-1, R4 // 3880ffff 28 MOVW $-32767, R5 // 38a08001 29 MOVW $-32768, R6 // 38c08000 35 MOVD $-2147483647, R5 // 3ca0800060a50001 or 0603800038a00001 37 MOVD $-8589934590, R5 // 3ca00000e8a50000 or 0602000038a00002 42 MOVWZ $-2147483648, R5 // 3ca08000 [all …]
|
D | armerror.s | 2 // Use of this source code is governed by a BSD-style 9 MOVF (F0), F1 // ERROR "illegal base register" 10 MOVD (F0), F1 // ERROR "illegal base register" 16 MOVM.IA (F1), [R0-R4] // ERROR "illegal base register" 17 MOVM.DA (F1), [R0-R4] // ERROR "illegal base register" 18 MOVM.IB (F1), [R0-R4] // ERROR "illegal base register" 19 MOVM.DB (F1), [R0-R4] // ERROR "illegal base register" 20 MOVM.IA [R0-R4], (F1) // ERROR "illegal base register" 21 MOVM.DA [R0-R4], (F1) // ERROR "illegal base register" 22 MOVM.IB [R0-R4], (F1) // ERROR "illegal base register" [all …]
|
/aosp_15_r20/external/crosvm/cros_async/src/ |
H A D | lib.rs | 2 // Use of this source code is governed by a BSD-style license that can be 7 //! This crate is meant to be used with the `futures-rs` crate that provides further combinators 12 //! # Running top-level futures. 22 //! the `select_all` function from futures-rs, but built to be run inside an FD based executor and 31 //! inspired by the `join_all` function from futures-rs, but built to be run inside an FD based 36 //! # Implementing new FD-based futures. 148 pub(crate) fn new() -> Self { in new() 188 pub async fn select2<F1: Future + Unpin, F2: Future + Unpin>( in select2() argument 189 f1: F1, in select2() 191 ) -> (SelectResult<F1>, SelectResult<F2>) { in select2() argument [all …]
|
/aosp_15_r20/external/llvm/test/Transforms/JumpThreading/ |
H A D | basic.ll | 1 ; RUN: opt -jump-threading -S < %s | FileCheck %s 3 declare i32 @f1() 8 ; CHECK-LABEL: @test1( 10 br i1 %cond, label %T1, label %F1 13 %v1 = call i32 @f1() 16 F1: 21 %A = phi i1 [true, %T1], [false, %F1] 22 %B = phi i32 [%v1, %T1], [%v2, %F1] 38 ;; cond is known false on Entry -> F1 edge! 40 ; CHECK-LABEL: @test2( [all …]
|
/aosp_15_r20/external/apache-commons-lang/src/test/java/org/apache/commons/lang3/math/ |
H A D | FractionTest.java | 10 * http://www.apache.org/licenses/LICENSE-2.0 46 f = Fraction.getFraction(-50, 75); in testAbs() 56 f = Fraction.getFraction(Integer.MAX_VALUE, -1); in testAbs() 61 … assertThrows(ArithmeticException.class, () -> Fraction.getFraction(Integer.MIN_VALUE, 1).abs()); in testAbs() 67 Fraction f1; in testAdd() local 70 f1 = Fraction.getFraction(3, 5); in testAdd() 72 f = f1.add(f2); in testAdd() 76 f1 = Fraction.getFraction(3, 5); in testAdd() 78 f = f1.add(f2); in testAdd() 82 f1 = Fraction.getFraction(3, 5); in testAdd() [all …]
|
/aosp_15_r20/external/llvm/test/Transforms/InstCombine/ |
H A D | fast-math.ll | 1 ; RUN: opt < %s -instcombine -S | FileCheck %s 3 ; testing-case "float fold(float a) { return 1.2f * a * 2.3f; }" 9 ; CHECK-LABEL: @fold( 13 ; Same testing-case as the one used in fold() except that the operators have 16 ; CHECK-LABEL: @notfold( 24 ; CHECK-LABEL: @fold2( 31 ; C * f1 + f1 = (C+1) * f1 32 define double @fold3(double %f1) { 33 %t1 = fmul fast double 2.000000e+00, %f1 34 %t2 = fadd fast double %f1, %t1 [all …]
|
/aosp_15_r20/external/toybox/tests/ |
H A D | gzip.test | 3 [ -f testing.sh ] && . testing.sh 10 echo -n "foo " > f1 12 testing "with input files" "gzip f1 f2 && 13 test -f f1.gz && test -f f2.gz && 14 ! test -f f1 && ! test -f f2 && 15 zcat f1.gz f2.gz" "foo bar\n" "" "" 16 rm -f f1 f2 f1.gz f2.gz 20 test -f f.gz && zcat f.gz" "hello world\n" "" "" 21 rm -f f.gz 23 # -c Output to stdout [all …]
|
H A D | gunzip.test | 3 [ -f testing.sh ] && . testing.sh 10 echo -n "foo " | gzip > f1.gz 12 testing "with input files" "gunzip f1.gz f2.gz && 13 ! test -f f1.gz && ! test -f f2.gz && 14 test -f f1 && test -f f2 && 15 cat f1 f2" "foo bar\n" "" "" 16 rm -f f1 f2 f1.gz f2.gz 21 test -f f.gz && cat f" "hello world\n" "" "" 22 rm -f f f.gz 25 echo "1f8b08040000000000ff04000000ffff4bcbcfe70200a865327e04000000" | xxd -r -p > f1.gz [all …]
|
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.mod/ |
H A D | swap.pass.cpp | 1 //===----------------------------------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 41 ~A() { --count; } in ~A() 49 int operator()() const { return -1; } in operator ()() 50 int operator()(int, int) const { return -2; } in operator ()() 51 int operator()(int, int, int) const { return -3; } in operator ()() 68 std::function<int(int)> f1 = A(1); in main() local 72 RTTI_ASSERT(f1.target<A>()->id() == 1); in main() 73 RTTI_ASSERT(f2.target<A>()->id() == 2); in main() [all …]
|
/aosp_15_r20/external/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.mod/ |
H A D | swap.pass.cpp | 1 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===// 38 ~A() { --count; } in ~A() 46 int operator()() const { return -1; } in operator ()() 47 int operator()(int, int) const { return -2; } in operator ()() 48 int operator()(int, int, int) const { return -3; } in operator ()() 64 std::function<int(int)> f1 = A(1); in main() local 68 assert(f1.target<A>()->id() == 1); in main() 69 assert(f2.target<A>()->id() == 2); in main() 70 f1.swap(f2); in main() [all …]
|
/aosp_15_r20/external/pigweed/pw_watch/py/ |
H A D | watch_test.py | 8 # https://www.apache.org/licenses/LICENSE-2.0 34 def make_tree(self, *directories: str) -> None: 42 self._root, 'f1' 52 self.make_tree('f1', 'f2') 54 (self._root / 'f1', True), 68 exclude_list = ['f1'] 70 'f1/f1', 71 'f1/f2', 72 'f2/f1', 88 exclude_list = ['f1/f2'] [all …]
|
/aosp_15_r20/external/webrtc/common_audio/third_party/ooura/fft_size_128/ |
H A D | ooura_fft_mips.cc | 4 * Use of this source code is governed by a BSD-style license 275 float f0, f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14; in cft1st_128_mips() local 285 "lwc1 %[f1], 4(%[a]) \n\t" in cft1st_128_mips() 296 "add.s %[f6], %[f1], %[f3] \n\t" in cft1st_128_mips() 297 "sub.s %[f1], %[f1], %[f3] \n\t" in cft1st_128_mips() 302 "sub.s %[f2], %[f1], %[f4] \n\t" in cft1st_128_mips() 303 "add.s %[f1], %[f1], %[f4] \n\t" in cft1st_128_mips() 311 "swc1 %[f1], 12(%[a]) \n\t" in cft1st_128_mips() 318 "lwc1 %[f1], 36(%[a]) \n\t" in cft1st_128_mips() 327 "add.s %[f6], %[f1], %[f3] \n\t" in cft1st_128_mips() [all …]
|
/aosp_15_r20/external/python/cpython2/Tools/pybench/ |
D | Calls.py | 11 global f,f1,g,h 17 def f1(x): function 30 f1(i) 31 f1(i) 32 f1(i) 33 f1(i) 42 f1(i) 43 f1(i) 44 f1(i) 45 f1(i) [all …]
|
/aosp_15_r20/external/tcpdump/tests/ |
H A D | evb.out | 2 port-role Designated, CIST root-id 8000.08:00:27:0d:f1:3c, CIST ext-pathcost 0 3 CIST regional-root-id 8000.08:00:27:0d:f1:3c, CIST port-id 8003, 4 message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s 6 digest ac36177f50283cd4b83821d8ab26de62, CIST int-root-pathcost 0, 7 CIST bridge-id 8000.08:00:27:0d:f1:3c, CIST remaining-hops 20 9 port-role Designated, CIST root-id 8000.08:00:27:0d:f1:3c, CIST ext-pathcost 0 10 CIST regional-root-id 8000.08:00:27:0d:f1:3c, CIST port-id 8003, 11 message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s 13 digest ac36177f50283cd4b83821d8ab26de62, CIST int-root-pathcost 0, 14 CIST bridge-id 8000.08:00:27:0d:f1:3c, CIST remaining-hops 20 [all …]
|
/aosp_15_r20/external/grpc-grpc/test/core/transport/ |
H A D | call_filters_test.cc | 7 // http://www.apache.org/licenses/LICENSE-2.0 136 Filter1 f1; in TEST() local 137 d.AddFilter(&f1); in TEST() 143 EXPECT_EQ(d.filter_constructor[0].channel_data, &f1); in TEST() 159 Filter1 f1; in TEST() local 160 d.AddFilter(&f1); in TEST() 166 EXPECT_EQ(d.filter_constructor[0].channel_data, &f1); in TEST() 190 Filter1 f1; in TEST() local 192 d.AddFilter(&f1); in TEST() 195 // Padding added after 1-byte element to align pointer. in TEST() [all …]
|
/aosp_15_r20/external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/ |
H A D | btf_dedup_split.c | 1 // SPDX-License-Identifier: GPL-2.0 16 btf__set_pointer_size(btf1, 8); /* enforce 64-bit arch */ in test_split_simple() 21 btf__add_field(btf1, "f1", 1, 0, 0); /* int f1; */ in test_split_simple() 29 "\t'f1' type_id=1 bits_offset=0"); in test_split_simple() 33 int f1;\n\ in test_split_simple() 44 ASSERT_NEQ(str_off, -ENOENT, "str_int_missing"); in test_split_simple() 50 ASSERT_STREQ(btf__str_by_offset(btf2, t->name_off), "int", "int_name"); in test_split_simple() 53 btf__add_field(btf2, "f1", 6, 0, 0); /* struct s1 f1; */ in test_split_simple() 63 btf__add_field(btf2, "f1", 5, 0, 0); /* int f1; */ in test_split_simple() 71 "\t'f1' type_id=1 bits_offset=0", in test_split_simple() [all …]
|
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/thread/test/sync/futures/when_all/ |
D | one_pass.cpp | 1 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===// 51 { // invalid future copy-constructible in main() 52 boost::future<int> f1; in main() local 53 BOOST_TEST(! f1.valid()); in main() 54 boost::future<boost::csbl::tuple<boost::future<int> > > all = boost::when_all(boost::move(f1)); in main() 55 BOOST_TEST(! f1.valid()); in main() 63 { // is_ready future copy-constructible in main() 64 boost::future<int> f1 = boost::make_ready_future(123); in main() local 65 BOOST_TEST(f1.valid()); in main() [all …]
|
/aosp_15_r20/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
H A D | FileTest.java | 9 * http://www.apache.org/licenses/LICENSE-2.0 39 + System.getProperty("java.vm.version").replace('.', '-'); 57 if (File.separatorChar == path.charAt(path.length() - 1)) { in addTrailingSlash() 72 …ew File(addTrailingSlash(System.getProperty("java.io.tmpdir")) + "harmony-test-" + getClass().getS… in setUp() 107 // Regression test for HARMONY-382 in test_ConstructorLjava_io_FileLjava_lang_String3() 115 // Regression test for HARMONY-21 in test_ConstructorLjava_io_FileLjava_lang_String4() 153 // Regression for HARMONY-46 in test_ConstructorLjava_io_FileLjava_lang_String6() 154 File f1 = new File("a"); in test_ConstructorLjava_io_FileLjava_lang_String6() local 156 assertEquals("Trailing slash file name is incorrect", f1, f2); in test_ConstructorLjava_io_FileLjava_lang_String6() 204 // Regression test for HARMONY-382 in test_ConstructorLjava_lang_StringLjava_lang_String() [all …]
|
/aosp_15_r20/external/python/cpython2/Lib/test/ |
D | test_collections.py | 74 self.assertRaises(ValueError, namedtuple, 'abc%', 'efg ghi') # type has non-alpha char 78 … self.assertRaises(ValueError, namedtuple, 'abc', 'efg g%hi') # field with non-alpha char 96 "Docstrings are omitted with -O2 and above") 103 … [('efg', 'g%hi'), ('efg', '_1')], # field with non-alpha char 144 # verify that fieldspec can be a non-string sequence 158 self.assertEqual(max(*p), 22) # star-able 195 repr(b) # make sure repr() doesn't blow-up 199 b2 = b._replace(**dict([(names[1], 999),(names[-5], 42)])) 202 b2_expected[-5] = 42 211 for protocol in -1, 0, 1, 2: [all …]
|
/aosp_15_r20/external/skia/tests/sksl/runtime/ |
H A D | RecursiveComparison_Types.wgsl | 9 f1: f32, 12 fn test_same_types_bbffffff(eq: bool, f1: f32, v2: f32, f3: f32, f4: f32, f5: f32, f6: f32) -> bool… 16 a[0].f1 = f1; 18 a[1].f1 = f4; 21 b[0].f1 = f1 * one; 23 b[1].f1 = f4 * one; 27 …_skTemp0 = (((a[0].f1 == b[0].f1) && all(a[0].v2 == b[0].v2)) && ((a[1].f1 == b[1].f1) && all(a[1]… 29 …_skTemp0 = (((a[0].f1 != b[0].f1) || any(a[0].v2 != b[0].v2)) || ((a[1].f1 != b[1].f1) || any(a[1]… 34 fn test_diff_types_bbffffff(eq: bool, f1: f32, v2: f32, f3: f32, f4: f32, f5: f32, f6: f32) -> bool… 38 a[0].f1 = f1; [all …]
|
/aosp_15_r20/external/mesa3d/src/amd/vpelib/src/core/inc/ |
H A D | reg_helper.h | 47 struct vpe_priv *vpe_priv = CTX_BASE->vpe_priv; \ 49 struct config_writer *config_writer = &vpe_priv->config_writer; \ 53 #define REG_OFFSET(reg_name) CTX->regs->reg_name.id // Register offset in DWORD 54 #define REG_DEFAULT(reg_name) CTX->regs->reg_name.default_value 55 #define REG_IS_WRITTEN(reg_name) CTX->regs->reg_name.isWritten 56 #define REG_LAST_WRITTEN_VAL(reg_name) CTX->regs->reg_name.lastWritten_value 60 #define REG_FIELD_VALUE(field, value) ((uint32_t)((value) << CTX->shift->field) & CTX->mask->field) 61 #define REG_FIELD_SHIFT(field) CTX->shift->field 62 #define REG_FIELD_MASK(field) CTX->mask->field 88 #define REG_SET_2(reg_name, init_val, f1, v1, f2, v2) \ argument [all …]
|
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/thread/test/sync/futures/when_any/ |
D | variadic_pass.cpp | 1 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===// 55 { // invalid future copy-constructible in main() 56 boost::future<int> f1; in main() local 58 BOOST_TEST(! f1.valid()); in main() 60 …<boost::future<int>,boost::future<int> > > all = boost::when_any(boost::move(f1), boost::move(f2)); in main() 61 BOOST_TEST(! f1.valid()); in main() 72 { // is_ready future copy-constructible in main() 73 boost::future<int> f1 = boost::make_ready_future(123); in main() local 75 BOOST_TEST(f1.valid()); in main() [all …]
|
/aosp_15_r20/external/angle/third_party/glslang/src/Test/baseResults/ |
H A D | 400.vert.out | 2 ERROR: 0:3: 'vertex-shader `double` type input' : not supported for this version or the enabled ext… 3 ERROR: 0:4: 'vertex-shader `double` type input' : not supported for this version or the enabled ext… 4 ERROR: 0:5: 'vertex-shader `double` type input' : not supported for this version or the enabled ext… 28 0:10 Function Definition: foo1(d1;f1; ( global void) 36 0:13 Function Definition: foo2(d1;f1; ( global void) 44 0:16 Function Definition: foo3(d1;f1; ( global void) 48 0:17 Function Definition: foo3(f1;d1; ( global void) 52 0:19 Function Definition: ftd(i1;f1;d1; ( global void) 57 0:20 Function Definition: ftd(u1;f1;d1; ( global void) 62 0:21 Function Definition: ftd(f1;d1;d1; ( global void) [all …]
|