OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:plusOne
(Results
1 - 12
of
12
) sorted by null
/libcore/luni/src/test/java/libcore/java/util/function/
IntUnaryOperatorTest.java
31
IntUnaryOperator
plusOne
= x -> x + 1;
33
assertEquals(11,
plusOne
.compose(twice).applyAsInt(5));
37
IntUnaryOperator
plusOne
= x -> x + 1;
39
plusOne
.compose(null);
45
IntUnaryOperator
plusOne
= x -> x + 1;
47
assertEquals(12,
plusOne
.andThen(twice).applyAsInt(5));
51
IntUnaryOperator
plusOne
= x -> x + 1;
53
plusOne
.andThen(null);
DoubleUnaryOperatorTest.java
37
DoubleUnaryOperator
plusOne
= x -> x + 1.0d;
39
assertEquals(11.0d,
plusOne
.compose(twice).applyAsDouble(5.0d));
43
DoubleUnaryOperator
plusOne
= x -> x + 1.0d;
45
plusOne
.compose(null);
51
DoubleUnaryOperator
plusOne
= x -> x + 1.0d;
53
assertEquals(12.0d,
plusOne
.andThen(twice).applyAsDouble(5.0d));
57
DoubleUnaryOperator
plusOne
= x -> x + 1.0d;
59
plusOne
.andThen(null);
FunctionTest.java
32
Function<Double, Double>
plusOne
= x -> x + 1.0d;
34
assertEquals(11.0d,
plusOne
.compose(twice).apply(5.0d));
38
Function<Double, Double>
plusOne
= x -> x + 1.0d;
40
plusOne
.compose(null);
46
Function<Double, Double>
plusOne
= x -> x + 1.0d;
48
assertEquals(12.0d,
plusOne
.andThen(twice).apply(5.0d));
52
Function<Double, Double>
plusOne
= x -> x + 1.0d;
54
plusOne
.andThen(null);
LongUnaryOperatorTest.java
31
LongUnaryOperator
plusOne
= x -> x + 1L;
33
assertEquals(11L,
plusOne
.compose(twice).applyAsLong(5L));
37
LongUnaryOperator
plusOne
= x -> x + 1;
39
plusOne
.compose(null);
45
LongUnaryOperator
plusOne
= x -> x + 1L;
47
assertEquals(12,
plusOne
.andThen(twice).applyAsLong(5L));
51
LongUnaryOperator
plusOne
= x -> x + 1L;
53
plusOne
.andThen(null);
/external/libcxx/test/std/algorithms/alg.modifying.operations/alg.transform/
unary_transform.pass.cpp
25
TEST_CONSTEXPR int
plusOne
(int v) { return v + 1; }
34
auto it = std::transform(std::begin(ia), std::end(ia), std::begin(ib),
plusOne
);
52
OutIter(ib),
plusOne
);
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/algorithms/alg.modifying.operations/alg.transform/
unary_transform.pass.cpp
24
int
plusOne
(int v) { return v + 1; }
34
OutIter(ib),
plusOne
);
/art/test/003-omnibus-opcodes/src/
IntMath.java
191
int
plusOne
= 1;
192
int result = (((minInt +
plusOne
) -
plusOne
) / negOne) / negOne;
405
long
plusOne
= 1;
406
long result = (((minLong +
plusOne
) -
plusOne
) / negOne) / negOne;
/art/test/107-int-math2/src/
Main.java
357
int
plusOne
= 1;
358
int result = (((minInt +
plusOne
) -
plusOne
) / negOne) / negOne;
481
long
plusOne
= 1;
482
long result = (((minLong +
plusOne
) -
plusOne
) / negOne) / negOne;
[
all
...]
/external/valgrind/none/tests/amd64/
fma4.c
128
Double
plusOne
( void ) { return 1.0; }
130
Double minusOne ( void ) { return negate(
plusOne
()); }
151
special_values[2] =
plusOne
();
/external/valgrind/none/tests/arm64/
fp_and_simd.c
125
Double
plusOne
( void ) { return 1.0; }
127
Double minusOne ( void ) { return negate(
plusOne
()); }
150
special_values[2] =
plusOne
();
[
all
...]
/prebuilts/tools/common/m2/repository/net/sf/saxon/Saxon-HE/9.8.0-5/
Saxon-HE-9.8.0-5.jar
/prebuilts/tools/common/m2/repository/net/sourceforge/saxon/saxon/9.1.0.8/
saxon-9.1.0.8.jar
Completed in 303 milliseconds