Home
last modified time | relevance | path

Searched refs:dummy (Results 1 – 25 of 2249) sorted by relevance

12345678910>>...90

/external/caliper/examples/src/main/java/examples/
DIntModBenchmark.java29 int dummy = 5; in conditional() local
31 dummy += Integer.MAX_VALUE + conditionalMod(dummy, M); in conditional()
33 return dummy; in conditional()
42 int dummy = 5; in doubleRemainder() local
44 dummy += Integer.MAX_VALUE + doubleRemainderMod(dummy, M); in doubleRemainder()
46 return dummy; in doubleRemainder()
55 int dummy = 5; in rightShiftingMod() local
57 dummy += Integer.MAX_VALUE + rightShiftingMod(dummy, M); in rightShiftingMod()
59 return dummy; in rightShiftingMod()
69 int dummy = 5; in leftShiftingMod() local
[all …]
DDoubleToStringBenchmark2.java44 int dummy = 0; in toString() local
48 dummy += d.toString().length(); in toString()
53 dummy += ((Double) d).toString().length(); in toString()
56 return dummy; in toString()
60 int dummy = 0; in stringValueOf() local
64 dummy += String.valueOf(d).length(); in stringValueOf()
69 dummy += String.valueOf(d).length(); in stringValueOf()
72 return dummy; in stringValueOf()
76 int dummy = 0; in stringFormat() local
80 dummy += String.format("%f", d).length(); in stringFormat()
[all …]
DCopyArrayBenchmark.java282 int dummy = 0; in objects() local
284 dummy += System.identityHashCode(strategy.copy(objectArray)); in objects()
286 return dummy; in objects()
290 int dummy = 0; in booleans() local
292 dummy += System.identityHashCode(strategy.copy(booleanArray)); in booleans()
294 return dummy; in booleans()
298 int dummy = 0; in bytes() local
300 dummy += System.identityHashCode(strategy.copy(byteArray)); in bytes()
302 return dummy; in bytes()
306 int dummy = 0; in chars() local
[all …]
DVarargsBenchmark.java160 long dummy = 0; in oneArgument() local
164 dummy += strategy.one(data[i % dataLength]); in oneArgument()
166 return dummy; in oneArgument()
170 long dummy = 0; in twoArguments() local
174 dummy += strategy.two(data[i % dataLength], data[(i + 1) % dataLength]); in twoArguments()
176 return dummy; in twoArguments()
180 long dummy = 0; in threeArguments() local
184 dummy += strategy.three( in threeArguments()
189 return dummy; in threeArguments()
193 long dummy = 0; in fourArguments() local
[all …]
/external/guava/android/guava-tests/benchmark/com/google/common/base/
DObjectsBenchmark.java41 int dummy = 0; in hashString_2() local
43 dummy += Objects.hashCode(S0, S1); in hashString_2()
45 return dummy; in hashString_2()
50 int dummy = 0; in hashString_3() local
52 dummy += Objects.hashCode(S0, S1, S2); in hashString_3()
54 return dummy; in hashString_3()
59 int dummy = 0; in hashString_4() local
61 dummy += Objects.hashCode(S0, S1, S2, S3); in hashString_4()
63 return dummy; in hashString_4()
68 int dummy = 0; in hashString_5() local
[all …]
DJoinerBenchmark.java57 int dummy = 0; in joinerWithStringDelimiter() local
59 dummy ^= JOINER_ON_STRING.join(components).length(); in joinerWithStringDelimiter()
61 return dummy; in joinerWithStringDelimiter()
67 int dummy = 0; in joinerWithCharacterDelimiter() local
69 dummy ^= JOINER_ON_CHARACTER.join(components).length(); in joinerWithCharacterDelimiter()
71 return dummy; in joinerWithCharacterDelimiter()
80 int dummy = 0; in joinerInlined() local
91 dummy ^= sb.toString().length(); in joinerInlined()
93 return dummy; in joinerInlined()
102 int dummy = 0; in stringBuilderIsEmpty() local
[all …]
DAsciiBenchmark.java80 int dummy = 0; in asciiStringToUpperCase() local
82 dummy += Ascii.toUpperCase(string).length(); in asciiStringToUpperCase()
84 return dummy; in asciiStringToUpperCase()
91 int dummy = 0; in asciiCharSequenceToUpperCase() local
93 dummy += charSequenceToUpperCase(string).length(); in asciiCharSequenceToUpperCase()
95 return dummy; in asciiCharSequenceToUpperCase()
102 int dummy = 0; in stringToUpperCase() local
104 dummy += string.toUpperCase(Locale.US).length(); in stringToUpperCase()
106 return dummy; in stringToUpperCase()
118 boolean dummy = false; in equalsIgnoreCaseCharSequence()
[all …]
/external/guava/guava-tests/benchmark/com/google/common/base/
DObjectsBenchmark.java41 int dummy = 0; in hashString_2() local
43 dummy += Objects.hashCode(S0, S1); in hashString_2()
45 return dummy; in hashString_2()
50 int dummy = 0; in hashString_3() local
52 dummy += Objects.hashCode(S0, S1, S2); in hashString_3()
54 return dummy; in hashString_3()
59 int dummy = 0; in hashString_4() local
61 dummy += Objects.hashCode(S0, S1, S2, S3); in hashString_4()
63 return dummy; in hashString_4()
68 int dummy = 0; in hashString_5() local
[all …]
DJoinerBenchmark.java57 int dummy = 0; in joinerWithStringDelimiter() local
59 dummy ^= JOINER_ON_STRING.join(components).length(); in joinerWithStringDelimiter()
61 return dummy; in joinerWithStringDelimiter()
67 int dummy = 0; in joinerWithCharacterDelimiter() local
69 dummy ^= JOINER_ON_CHARACTER.join(components).length(); in joinerWithCharacterDelimiter()
71 return dummy; in joinerWithCharacterDelimiter()
80 int dummy = 0; in joinerInlined() local
91 dummy ^= sb.toString().length(); in joinerInlined()
93 return dummy; in joinerInlined()
102 int dummy = 0; in stringBuilderIsEmpty() local
[all …]
DAsciiBenchmark.java80 int dummy = 0; in asciiStringToUpperCase() local
82 dummy += Ascii.toUpperCase(string).length(); in asciiStringToUpperCase()
84 return dummy; in asciiStringToUpperCase()
91 int dummy = 0; in asciiCharSequenceToUpperCase() local
93 dummy += charSequenceToUpperCase(string).length(); in asciiCharSequenceToUpperCase()
95 return dummy; in asciiCharSequenceToUpperCase()
102 int dummy = 0; in stringToUpperCase() local
104 dummy += string.toUpperCase(Locale.US).length(); in stringToUpperCase()
106 return dummy; in stringToUpperCase()
118 boolean dummy = false; in equalsIgnoreCaseCharSequence()
[all …]
/external/guava/guava-tests/benchmark/com/google/common/math/
DQuantilesBenchmark.java60 double dummy = 0.0; in median() local
62 dummy += algorithm.singleQuantile(1, 2, dataset(i)); in median()
64 return dummy; in median()
69 double dummy = 0.0; in percentile90() local
71 dummy += algorithm.singleQuantile(90, 100, dataset(i)); in percentile90()
73 return dummy; in percentile90()
78 double dummy = 0.0; in percentile99() local
80 dummy += algorithm.singleQuantile(99, 100, dataset(i)); in percentile99()
82 return dummy; in percentile99()
87 double dummy = 0.0; in percentiles90And99() local
[all …]
/external/guava/android/guava-tests/benchmark/com/google/common/math/
DQuantilesBenchmark.java60 double dummy = 0.0; in median() local
62 dummy += algorithm.singleQuantile(1, 2, dataset(i)); in median()
64 return dummy; in median()
69 double dummy = 0.0; in percentile90() local
71 dummy += algorithm.singleQuantile(90, 100, dataset(i)); in percentile90()
73 return dummy; in percentile90()
78 double dummy = 0.0; in percentile99() local
80 dummy += algorithm.singleQuantile(99, 100, dataset(i)); in percentile99()
82 return dummy; in percentile99()
87 double dummy = 0.0; in percentiles90And99() local
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/scanner/
DScannerImplTest.java40 Mark dummy = new Mark("dummy", 0, 0, 0, "", 0); in testGetToken() local
42 etalonTokens.add(new StreamStartToken(dummy, dummy)); in testGetToken()
43 etalonTokens.add(new BlockMappingStartToken(dummy, dummy)); in testGetToken()
44 etalonTokens.add(new KeyToken(dummy, dummy)); in testGetToken()
45 etalonTokens.add(new ScalarToken("string", true, dummy, dummy, (char) 0)); in testGetToken()
46 etalonTokens.add(new ValueToken(dummy, dummy)); in testGetToken()
47 etalonTokens.add(new ScalarToken("abcd", true, dummy, dummy, (char) 0)); in testGetToken()
48 etalonTokens.add(new BlockEndToken(dummy, dummy)); in testGetToken()
49 etalonTokens.add(new StreamEndToken(dummy, dummy)); in testGetToken()
/external/llvm-project/clang/test/Sema/
Dbuiltin-expect-with-probability.cpp42 bool dummy; in test() local
43 dummy = __builtin_expect_with_probability(x > 0, 1, 0.9); in test()
44dummy = __builtin_expect_with_probability(x > 0, 1, 1.1); // expected-error {{probability argument… in test()
45dummy = __builtin_expect_with_probability(x > 0, 1, -1); // expected-error {{probability argument … in test()
46dummy = __builtin_expect_with_probability(x > 0, 1, p); // expected-error {{probability argument t… in test()
47dummy = __builtin_expect_with_probability(x > 0, 1, "aa"); // expected-error {{cannot initialize a… in test()
48dummy = __builtin_expect_with_probability(x > 0, 1, __builtin_nan("")); // expected-error {{probab… in test()
49dummy = __builtin_expect_with_probability(x > 0, 1, __builtin_inf()); // expected-error {{probabil… in test()
50 dummy = __builtin_expect_with_probability(x > 0, 1, -0.0); in test()
51dummy = __builtin_expect_with_probability(x > 0, 1, 1.0 + __DBL_EPSILON__); // expected-error {{pr… in test()
[all …]
Dbuiltin-expect-with-probability-avr.cpp4 bool dummy = false; in test() local
5 dummy = __builtin_expect_with_probability(x > 0, 1, 0.9); in test()
6dummy = __builtin_expect_with_probability(x > 0, 1, 1.1); // expected-error {{probability argument… in test()
7dummy = __builtin_expect_with_probability(x > 0, 1, -1); // expected-error {{probability argument … in test()
8dummy = __builtin_expect_with_probability(x > 0, 1, p); // expected-error {{probability argument t… in test()
9dummy = __builtin_expect_with_probability(x > 0, 1, "aa"); // expected-error {{cannot initialize a… in test()
10dummy = __builtin_expect_with_probability(x > 0, 1, __builtin_nan("")); // expected-error {{probab… in test()
11dummy = __builtin_expect_with_probability(x > 0, 1, __builtin_inf()); // expected-error {{probabil… in test()
12 dummy = __builtin_expect_with_probability(x > 0, 1, -0.0); in test()
13dummy = __builtin_expect_with_probability(x > 0, 1, 1.0 + __DBL_EPSILON__); // expected-error {{pr… in test()
[all …]
/external/crosvm/tests/
Dplugin_vcpu_pause.c75 uint64_t dummy = 1; in vcpu_thread_fn() local
76 write(g_next_evt, &dummy, sizeof(dummy)); in vcpu_thread_fn()
84 uint64_t dummy = 1; in vcpu_thread_fn() local
85 write(g_kill_evt, &dummy, sizeof(dummy)); in vcpu_thread_fn()
90 uint64_t dummy = 1; in vcpu_thread_fn() local
91 write(g_next_evt, &dummy, sizeof(dummy)); in vcpu_thread_fn()
107 write(g_next_evt, &dummy, sizeof(dummy)); in vcpu_thread_fn()
231 uint64_t dummy; in main() local
232 read(g_next_evt, &dummy, sizeof(dummy)); in main()
241 read(g_next_evt, &dummy, sizeof(dummy)); in main()
[all …]
/external/llvm-project/llvm/test/Transforms/MergeFunc/
Dtailcall.ll3 declare void @dummy()
6 ; CHECK: call {{.*}}@dummy
7 ; CHECK: musttail {{.*}}@dummy
9 call void @dummy()
10 musttail call void @dummy()
15 ; CHECK: call {{.*}}@dummy
16 ; CHECK: call {{.*}}@dummy
18 call void @dummy()
19 call void @dummy()
Dcall-and-invoke-with-ranges.ll4 bitcast i8 0 to i8 ; dummy to make the function large enough
5 %out = call i8 @dummy(), !range !0
12 ; CHECK-NEXT: %out = call i8 @dummy()
15 %out = call i8 @dummy()
22 ; CHECK-NEXT: %out = call i8 @dummy(), !range !1
25 %out = call i8 @dummy(), !range !1
30 %out = invoke i8 @dummy() to label %next unwind label %lpad, !range !0
42 ; CHECK-NEXT: invoke i8 @dummy
43 %out = invoke i8 @dummy() to label %next unwind label %lpad
55 ; CHECK-NEXT: invoke i8 @dummy
[all …]
/external/linux-kselftest/tools/testing/selftests/drivers/net/netdevsim/
Ddevlink.sh23 devlink dev flash $DL_HANDLE file dummy
29 devlink dev flash $DL_HANDLE file dummy
124 check_region_size dummy
125 check_region_snapshot_count dummy initial 0
129 check_region_snapshot_count dummy post-first-snapshot 1
133 check_region_snapshot_count dummy post-second-snapshot 2
137 check_region_snapshot_count dummy post-third-snapshot 3
139 devlink region del $DL_HANDLE/dummy snapshot 1
142 check_region_snapshot_count dummy post-first-delete 2
230 ip -n testns1 link add name $DUMMYDEV type dummy
[all …]
/external/crosvm/devices/src/
Dbus.rs371 let dummy = Arc::new(Mutex::new(DummyDevice)); in bus_insert() localVariable
372 assert!(bus.insert(dummy.clone(), 0x10, 0).is_err()); in bus_insert()
373 assert!(bus.insert(dummy.clone(), 0x10, 0x10).is_ok()); in bus_insert()
374 assert!(bus.insert(dummy.clone(), 0x0f, 0x10).is_err()); in bus_insert()
375 assert!(bus.insert(dummy.clone(), 0x10, 0x10).is_err()); in bus_insert()
376 assert!(bus.insert(dummy.clone(), 0x10, 0x15).is_err()); in bus_insert()
377 assert!(bus.insert(dummy.clone(), 0x12, 0x15).is_err()); in bus_insert()
378 assert!(bus.insert(dummy.clone(), 0x12, 0x01).is_err()); in bus_insert()
379 assert!(bus.insert(dummy.clone(), 0x0, 0x20).is_err()); in bus_insert()
380 assert!(bus.insert(dummy.clone(), 0x20, 0x05).is_ok()); in bus_insert()
[all …]
/external/llvm-project/flang/lib/Semantics/
Dcheck-call.cpp128 const DerivedTypeSpec &actual, const DerivedTypeSpec &dummy) { in DefersSameTypeParameters() argument
131 const ParamValue *dummyValue{dummy.FindParameter(pair.first)}; in DefersSameTypeParameters()
139 static void CheckExplicitDataArg(const characteristics::DummyDataObject &dummy, in CheckExplicitDataArg() argument
147 PadShortCharacterActual(actual, dummy.type, actualType, context, messages); in CheckExplicitDataArg()
148 ConvertIntegerActual(actual, dummy.type, actualType, messages); in CheckExplicitDataArg()
149 bool typesCompatible{dummy.type.type().IsTkCompatibleWith(actualType.type())}; in CheckExplicitDataArg()
152 } else if (dummy.type.attrs().test( in CheckExplicitDataArg()
154 } else if (!dummy.type.attrs().test( in CheckExplicitDataArg()
162 CheckConformance(messages, dummy.type.shape(), actualType.shape(), in CheckExplicitDataArg()
170 dummy.type.type().AsFortran()); in CheckExplicitDataArg()
[all …]
/external/llvm/test/Transforms/MergeFunc/
Dcall-and-invoke-with-ranges.ll4 bitcast i8 0 to i8 ; dummy to make the function large enough
5 %out = call i8 @dummy(), !range !0
12 ; CHECK-NEXT: %out = call i8 @dummy()
15 %out = call i8 @dummy()
22 ; CHECK-NEXT: %out = call i8 @dummy(), !range !1
25 %out = call i8 @dummy(), !range !1
30 %out = invoke i8 @dummy() to label %next unwind label %lpad, !range !0
42 ; CHECK-NEXT: invoke i8 @dummy
43 %out = invoke i8 @dummy() to label %next unwind label %lpad
55 ; CHECK-NEXT: invoke i8 @dummy
[all …]
/external/guava/android/guava-tests/benchmark/com/google/common/collect/
DSortedCopyBenchmark.java87 int dummy = 0; in collections() local
93 dummy += copy.get(0); in collections()
99 dummy += ImmutableList.copyOf(copy).get(0); in collections()
102 return dummy; in collections()
107 int dummy = 0; in ordering() local
110 dummy += ORDERING.sortedCopy(input).get(0); in ordering()
114 dummy += ORDERING.immutableSortedCopy(input).get(0); in ordering()
117 return dummy; in ordering()
122 int dummy = 0; in sortedSet() local
125 dummy += new TreeSet<Integer>(input).first(); in sortedSet()
[all …]
/external/guava/guava-tests/benchmark/com/google/common/collect/
DSortedCopyBenchmark.java87 int dummy = 0; in collections() local
93 dummy += copy.get(0); in collections()
99 dummy += ImmutableList.copyOf(copy).get(0); in collections()
102 return dummy; in collections()
107 int dummy = 0; in ordering() local
110 dummy += ORDERING.sortedCopy(input).get(0); in ordering()
114 dummy += ORDERING.immutableSortedCopy(input).get(0); in ordering()
117 return dummy; in ordering()
122 int dummy = 0; in sortedSet() local
125 dummy += new TreeSet<Integer>(input).first(); in sortedSet()
[all …]
/external/autotest/metadata/tests/
Ddummy.star13 'dummy/Fail',
14 …suites = ['another_suite', 'dev_drone_image_test', 'dummy', 'push_to_prod', 'skylab_staging_test'],
18 'dummy/FailServer',
23 'dummy/Pass',
24 …suites = ['dev_drone_image_test', 'dummy', 'dummyclientretries', 'push_to_prod', 'skylab_staging_t…
28 'dummy/PassServer',
33 'dummy/RepeatArgs',
38 'dummy/SynchronousOffload',
43 'dummy/SynchronousOffloadServer',

12345678910>>...90