Home
last modified time | relevance | path

Searched refs:Arrays (Results 1 – 25 of 2782) sorted by relevance

12345678910>>...112

/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/
DXMLChar.java21 import java.util.Arrays;
104 Arrays.fill(CHARS, 35, 38, (byte) 49 ); // Fill 3 of value (byte) 49 in Arrays.fill()
106 Arrays.fill(CHARS, 39, 45, (byte) 49 ); // Fill 6 of value (byte) 49 in Arrays.fill()
107 Arrays.fill(CHARS, 45, 47, (byte) -71 ); // Fill 2 of value (byte) -71 in Arrays.fill()
109 Arrays.fill(CHARS, 48, 58, (byte) -71 ); // Fill 10 of value (byte) -71 in Arrays.fill()
115 Arrays.fill(CHARS, 63, 65, (byte) 49 ); // Fill 2 of value (byte) 49 in Arrays.fill()
116 Arrays.fill(CHARS, 65, 91, (byte) -3 ); // Fill 26 of value (byte) -3 in Arrays.fill()
117 Arrays.fill(CHARS, 91, 93, (byte) 33 ); // Fill 2 of value (byte) 33 in Arrays.fill()
122 Arrays.fill(CHARS, 97, 123, (byte) -3 ); // Fill 26 of value (byte) -3 in Arrays.fill()
123 Arrays.fill(CHARS, 123, 183, (byte) 33 ); // Fill 60 of value (byte) 33 in Arrays.fill()
[all …]
DXML11Char.java21 import java.util.Arrays;
91 Arrays.fill(XML11CHARS, 1, 9, (byte) 17 ); // Fill 8 of value (byte) 17 in Arrays.fill()
94 Arrays.fill(XML11CHARS, 11, 13, (byte) 17 ); // Fill 2 of value (byte) 17 in Arrays.fill()
96 Arrays.fill(XML11CHARS, 14, 32, (byte) 17 ); // Fill 18 of value (byte) 17 in Arrays.fill()
98 Arrays.fill(XML11CHARS, 33, 38, (byte) 33 ); // Fill 5 of value (byte) 33 in Arrays.fill()
100 Arrays.fill(XML11CHARS, 39, 45, (byte) 33 ); // Fill 6 of value (byte) 33 in Arrays.fill()
101 Arrays.fill(XML11CHARS, 45, 47, (byte) -87 ); // Fill 2 of value (byte) -87 in Arrays.fill()
103 Arrays.fill(XML11CHARS, 48, 58, (byte) -87 ); // Fill 10 of value (byte) -87 in Arrays.fill()
107 Arrays.fill(XML11CHARS, 61, 65, (byte) 33 ); // Fill 4 of value (byte) 33 in Arrays.fill()
108 Arrays.fill(XML11CHARS, 65, 91, (byte) -19 ); // Fill 26 of value (byte) -19 in Arrays.fill()
[all …]
/external/opencensus-java/exporters/stats/prometheus/src/test/java/io/opencensus/exporter/stats/prometheus/
DPrometheusExportUtilsTest.java54 import java.util.Arrays;
75 BucketBoundaries.create(Arrays.asList(-5.0, 0.0, 5.0));
97 DistributionData.create(4.4, 5, -3.2, 15.7, 135.22, Arrays.asList(0L, 2L, 2L, 1L));
102 VIEW_NAME_1, DESCRIPTION, MEASURE_DOUBLE, COUNT, Arrays.asList(K1, K2), CUMULATIVE);
104 View.create(VIEW_NAME_2, DESCRIPTION, MEASURE_DOUBLE, MEAN, Arrays.asList(K3), CUMULATIVE);
107 VIEW_NAME_3, DESCRIPTION, MEASURE_DOUBLE, DISTRIBUTION, Arrays.asList(K1), CUMULATIVE);
109 View.create(VIEW_NAME_4, DESCRIPTION, MEASURE_DOUBLE, COUNT, Arrays.asList(K1), INTERVAL);
116 Arrays.asList(K1, TAG_KEY_LE),
166 convertToLabelNames(Arrays.asList(K1, K2)), in getSamples()
167 Arrays.asList(V1, V2), in getSamples()
[all …]
DPrometheusStatsCollectorTest.java41 import java.util.Arrays;
56 BucketBoundaries.create(Arrays.asList(-5.0, 0.0, 5.0));
68 DistributionData.create(4.4, 5, -3.2, 15.7, 135.22, Arrays.asList(0L, 2L, 2L, 1L));
71 VIEW_NAME, DESCRIPTION, MEASURE_DOUBLE, DISTRIBUTION, Arrays.asList(K1, K2), CUMULATIVE);
78 Arrays.asList(K1, LE_TAG_KEY),
84 VIEW, ImmutableMap.of(Arrays.asList(V1, V2), DISTRIBUTION_DATA), CUMULATIVE_DATA);
88 ImmutableMap.of(Arrays.asList(V1, V2), DISTRIBUTION_DATA),
110 Arrays.asList( in testCollect()
113 Arrays.asList("k1", "k2", "le"), in testCollect()
114 Arrays.asList("v1", "v2", "-5.0"), in testCollect()
[all …]
/external/apache-xml/src/main/java/org/apache/xml/utils/
DXML11Char.java21 import java.util.Arrays;
86 Arrays.fill(XML11CHARS, 1, 9, (byte) 17 ); // Fill 8 of value (byte) 17 in Arrays.fill()
89 Arrays.fill(XML11CHARS, 11, 13, (byte) 17 ); // Fill 2 of value (byte) 17 in Arrays.fill()
91 Arrays.fill(XML11CHARS, 14, 32, (byte) 17 ); // Fill 18 of value (byte) 17 in Arrays.fill()
93 Arrays.fill(XML11CHARS, 33, 38, (byte) 33 ); // Fill 5 of value (byte) 33 in Arrays.fill()
95 Arrays.fill(XML11CHARS, 39, 45, (byte) 33 ); // Fill 6 of value (byte) 33 in Arrays.fill()
96 Arrays.fill(XML11CHARS, 45, 47, (byte) -87 ); // Fill 2 of value (byte) -87 in Arrays.fill()
98 Arrays.fill(XML11CHARS, 48, 58, (byte) -87 ); // Fill 10 of value (byte) -87 in Arrays.fill()
102 Arrays.fill(XML11CHARS, 61, 65, (byte) 33 ); // Fill 4 of value (byte) 33 in Arrays.fill()
103 Arrays.fill(XML11CHARS, 65, 91, (byte) -19 ); // Fill 26 of value (byte) -19 in Arrays.fill()
[all …]
/external/opencensus-java/contrib/grpc_metrics/src/main/java/io/opencensus/contrib/grpc/metrics/
DRpcViewConstants.java68 import java.util.Arrays;
84 Arrays.asList(
104 Arrays.asList(
112 Arrays.asList(
121 Arrays.asList(
172 Arrays.asList(RPC_STATUS, RPC_METHOD),
188 Arrays.asList(RPC_METHOD),
204 Arrays.asList(RPC_METHOD),
220 Arrays.asList(RPC_METHOD),
236 Arrays.asList(RPC_METHOD),
[all …]
/external/guava/guava-tests/test/com/google/common/primitives/
DBytesTest.java23 import java.util.Arrays;
114 assertTrue(Arrays.equals(EMPTY, Bytes.concat())); in testConcat()
115 assertTrue(Arrays.equals(EMPTY, Bytes.concat(EMPTY))); in testConcat()
116 assertTrue(Arrays.equals(EMPTY, Bytes.concat(EMPTY, EMPTY, EMPTY))); in testConcat()
117 assertTrue(Arrays.equals(ARRAY1, Bytes.concat(ARRAY1))); in testConcat()
119 assertTrue(Arrays.equals(ARRAY1, Bytes.concat(EMPTY, ARRAY1, EMPTY))); in testConcat()
121 Arrays.equals( in testConcat()
124 Arrays.equals( in testConcat()
133 Arrays.equals( in testEnsureCapacity()
153 List<Byte> none = Arrays.<Byte>asList(); in testToArray()
[all …]
DShortsTest.java25 import java.util.Arrays;
226 assertTrue(Arrays.equals(EMPTY, Shorts.concat())); in testConcat()
227 assertTrue(Arrays.equals(EMPTY, Shorts.concat(EMPTY))); in testConcat()
228 assertTrue(Arrays.equals(EMPTY, Shorts.concat(EMPTY, EMPTY, EMPTY))); in testConcat()
229 assertTrue(Arrays.equals(ARRAY1, Shorts.concat(ARRAY1))); in testConcat()
231 assertTrue(Arrays.equals(ARRAY1, Shorts.concat(EMPTY, ARRAY1, EMPTY))); in testConcat()
233 Arrays.equals( in testConcat()
236 Arrays.equals( in testConcat()
243 assertTrue(Arrays.equals(new byte[] {0x23, 0x45}, Shorts.toByteArray((short) 0x2345))); in testToByteArray()
245 Arrays.equals(new byte[] {(byte) 0xFE, (byte) 0xDC}, Shorts.toByteArray((short) 0xFEDC))); in testToByteArray()
[all …]
DLongsTest.java29 import java.util.Arrays;
176 assertTrue(Arrays.equals(EMPTY, Longs.concat())); in testConcat()
177 assertTrue(Arrays.equals(EMPTY, Longs.concat(EMPTY))); in testConcat()
178 assertTrue(Arrays.equals(EMPTY, Longs.concat(EMPTY, EMPTY, EMPTY))); in testConcat()
179 assertTrue(Arrays.equals(ARRAY1, Longs.concat(ARRAY1))); in testConcat()
181 assertTrue(Arrays.equals(ARRAY1, Longs.concat(EMPTY, ARRAY1, EMPTY))); in testConcat()
183 Arrays.equals( in testConcat()
186 Arrays.equals( in testConcat()
192 "Expected: " + Arrays.toString(expected) + ", but got: " + Arrays.toString(actual), in assertByteArrayEquals()
193 Arrays.equals(expected, actual)); in assertByteArrayEquals()
[all …]
DIntsTest.java25 import java.util.Arrays;
202 assertTrue(Arrays.equals(EMPTY, Ints.concat())); in testConcat()
203 assertTrue(Arrays.equals(EMPTY, Ints.concat(EMPTY))); in testConcat()
204 assertTrue(Arrays.equals(EMPTY, Ints.concat(EMPTY, EMPTY, EMPTY))); in testConcat()
205 assertTrue(Arrays.equals(ARRAY1, Ints.concat(ARRAY1))); in testConcat()
207 assertTrue(Arrays.equals(ARRAY1, Ints.concat(EMPTY, ARRAY1, EMPTY))); in testConcat()
209 Arrays.equals(new int[] {(int) 1, (int) 1, (int) 1}, Ints.concat(ARRAY1, ARRAY1, ARRAY1))); in testConcat()
211 Arrays.equals( in testConcat()
216 assertTrue(Arrays.equals(new byte[] {0x12, 0x13, 0x14, 0x15}, Ints.toByteArray(0x12131415))); in testToByteArray()
218 Arrays.equals( in testToByteArray()
[all …]
DCharsTest.java24 import java.util.Arrays;
204 assertTrue(Arrays.equals(EMPTY, Chars.concat())); in testConcat()
205 assertTrue(Arrays.equals(EMPTY, Chars.concat(EMPTY))); in testConcat()
206 assertTrue(Arrays.equals(EMPTY, Chars.concat(EMPTY, EMPTY, EMPTY))); in testConcat()
207 assertTrue(Arrays.equals(ARRAY1, Chars.concat(ARRAY1))); in testConcat()
209 assertTrue(Arrays.equals(ARRAY1, Chars.concat(EMPTY, ARRAY1, EMPTY))); in testConcat()
211 Arrays.equals( in testConcat()
214 Arrays.equals( in testConcat()
275 Arrays.equals( in testEnsureCapacity()
302 Arrays.asList( in testLexicographicalComparator()
[all …]
DFloatsTest.java29 import java.util.Arrays;
248 assertTrue(Arrays.equals(EMPTY, Floats.concat())); in testConcat()
249 assertTrue(Arrays.equals(EMPTY, Floats.concat(EMPTY))); in testConcat()
250 assertTrue(Arrays.equals(EMPTY, Floats.concat(EMPTY, EMPTY, EMPTY))); in testConcat()
251 assertTrue(Arrays.equals(ARRAY1, Floats.concat(ARRAY1))); in testConcat()
253 assertTrue(Arrays.equals(ARRAY1, Floats.concat(EMPTY, ARRAY1, EMPTY))); in testConcat()
255 Arrays.equals( in testConcat()
258 Arrays.equals( in testConcat()
268 Arrays.equals( in testEnsureCapacity()
296 Arrays.asList( in testLexicographicalComparator()
[all …]
/external/guava/android/guava-tests/test/com/google/common/primitives/
DBytesTest.java23 import java.util.Arrays;
114 assertTrue(Arrays.equals(EMPTY, Bytes.concat())); in testConcat()
115 assertTrue(Arrays.equals(EMPTY, Bytes.concat(EMPTY))); in testConcat()
116 assertTrue(Arrays.equals(EMPTY, Bytes.concat(EMPTY, EMPTY, EMPTY))); in testConcat()
117 assertTrue(Arrays.equals(ARRAY1, Bytes.concat(ARRAY1))); in testConcat()
119 assertTrue(Arrays.equals(ARRAY1, Bytes.concat(EMPTY, ARRAY1, EMPTY))); in testConcat()
121 Arrays.equals( in testConcat()
124 Arrays.equals( in testConcat()
133 Arrays.equals( in testEnsureCapacity()
153 List<Byte> none = Arrays.<Byte>asList(); in testToArray()
[all …]
DShortsTest.java25 import java.util.Arrays;
226 assertTrue(Arrays.equals(EMPTY, Shorts.concat())); in testConcat()
227 assertTrue(Arrays.equals(EMPTY, Shorts.concat(EMPTY))); in testConcat()
228 assertTrue(Arrays.equals(EMPTY, Shorts.concat(EMPTY, EMPTY, EMPTY))); in testConcat()
229 assertTrue(Arrays.equals(ARRAY1, Shorts.concat(ARRAY1))); in testConcat()
231 assertTrue(Arrays.equals(ARRAY1, Shorts.concat(EMPTY, ARRAY1, EMPTY))); in testConcat()
233 Arrays.equals( in testConcat()
236 Arrays.equals( in testConcat()
243 assertTrue(Arrays.equals(new byte[] {0x23, 0x45}, Shorts.toByteArray((short) 0x2345))); in testToByteArray()
245 Arrays.equals(new byte[] {(byte) 0xFE, (byte) 0xDC}, Shorts.toByteArray((short) 0xFEDC))); in testToByteArray()
[all …]
DLongsTest.java29 import java.util.Arrays;
176 assertTrue(Arrays.equals(EMPTY, Longs.concat())); in testConcat()
177 assertTrue(Arrays.equals(EMPTY, Longs.concat(EMPTY))); in testConcat()
178 assertTrue(Arrays.equals(EMPTY, Longs.concat(EMPTY, EMPTY, EMPTY))); in testConcat()
179 assertTrue(Arrays.equals(ARRAY1, Longs.concat(ARRAY1))); in testConcat()
181 assertTrue(Arrays.equals(ARRAY1, Longs.concat(EMPTY, ARRAY1, EMPTY))); in testConcat()
183 Arrays.equals( in testConcat()
186 Arrays.equals( in testConcat()
192 "Expected: " + Arrays.toString(expected) + ", but got: " + Arrays.toString(actual), in assertByteArrayEquals()
193 Arrays.equals(expected, actual)); in assertByteArrayEquals()
[all …]
DIntsTest.java25 import java.util.Arrays;
202 assertTrue(Arrays.equals(EMPTY, Ints.concat())); in testConcat()
203 assertTrue(Arrays.equals(EMPTY, Ints.concat(EMPTY))); in testConcat()
204 assertTrue(Arrays.equals(EMPTY, Ints.concat(EMPTY, EMPTY, EMPTY))); in testConcat()
205 assertTrue(Arrays.equals(ARRAY1, Ints.concat(ARRAY1))); in testConcat()
207 assertTrue(Arrays.equals(ARRAY1, Ints.concat(EMPTY, ARRAY1, EMPTY))); in testConcat()
209 Arrays.equals(new int[] {(int) 1, (int) 1, (int) 1}, Ints.concat(ARRAY1, ARRAY1, ARRAY1))); in testConcat()
211 Arrays.equals( in testConcat()
216 assertTrue(Arrays.equals(new byte[] {0x12, 0x13, 0x14, 0x15}, Ints.toByteArray(0x12131415))); in testToByteArray()
218 Arrays.equals( in testToByteArray()
[all …]
DCharsTest.java24 import java.util.Arrays;
204 assertTrue(Arrays.equals(EMPTY, Chars.concat())); in testConcat()
205 assertTrue(Arrays.equals(EMPTY, Chars.concat(EMPTY))); in testConcat()
206 assertTrue(Arrays.equals(EMPTY, Chars.concat(EMPTY, EMPTY, EMPTY))); in testConcat()
207 assertTrue(Arrays.equals(ARRAY1, Chars.concat(ARRAY1))); in testConcat()
209 assertTrue(Arrays.equals(ARRAY1, Chars.concat(EMPTY, ARRAY1, EMPTY))); in testConcat()
211 Arrays.equals( in testConcat()
214 Arrays.equals( in testConcat()
275 Arrays.equals( in testEnsureCapacity()
302 Arrays.asList( in testLexicographicalComparator()
[all …]
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/runtime/
DCommandLineSupportTest.java16 import java.util.Arrays;
52 assertEquals("", CommandLineSupport.quote(Arrays.<String> asList())); in testQuoteList1()
57 assertEquals("a", CommandLineSupport.quote(Arrays.asList("a"))); in testQuoteList2()
63 CommandLineSupport.quote(Arrays.asList("a", "b", "c"))); in testQuoteList3()
69 CommandLineSupport.quote(Arrays.asList("a", "b b", "c"))); in testQuoteList4()
74 assertEquals(Arrays.asList(), CommandLineSupport.split(null)); in testSplit1()
79 assertEquals(Arrays.asList(), CommandLineSupport.split("")); in testSplit2()
84 assertEquals(Arrays.asList("abc"), CommandLineSupport.split("abc")); in testSplit3()
89 assertEquals(Arrays.asList("aa", "bbbb", "cccccc"), in testSplit4()
95 assertEquals(Arrays.asList("a a", "b b "), in testSplit5()
[all …]
/external/guava/android/guava-tests/test/com/google/common/collect/
DMultisetsTest.java25 import java.util.Arrays;
81 Multiset<String> toRetain = HashMultiset.create(Arrays.asList("a", "b", "a")); in testRetainOccurrencesEmpty()
88 Iterable<String> toRemove = Arrays.asList("a", "b", "a"); in testRemoveOccurrencesIterableEmpty()
95 Multiset<String> toRemove = HashMultiset.create(Arrays.asList("a", "b", "a")); in testRemoveOccurrencesMultisetEmpty()
101 Multiset<String> ms1 = HashMultiset.create(Arrays.asList("a", "b", "a")); in testUnion()
102 Multiset<String> ms2 = HashMultiset.create(Arrays.asList("a", "b", "b", "c")); in testUnion()
107 Multiset<String> ms1 = HashMultiset.create(Arrays.asList("a", "b", "a")); in testUnionEqualMultisets()
108 Multiset<String> ms2 = HashMultiset.create(Arrays.asList("a", "b", "a")); in testUnionEqualMultisets()
114 Multiset<String> ms2 = HashMultiset.create(Arrays.asList("a", "b", "a")); in testUnionEmptyNonempty()
119 Multiset<String> ms1 = HashMultiset.create(Arrays.asList("a", "b", "a")); in testUnionNonemptyEmpty()
[all …]
/external/testng/src/test/java/org/testng/remote/strprotocol/
DTestResultMessageTest.java3 import java.util.Arrays;
20 { null, new Class[] { null }, Arrays.asList() }, in getP()
22 new Class[] { byte[].class }, Arrays.asList("[1]") }, in getP()
24 new Class[] { short[].class }, Arrays.asList("[1]") }, in getP()
26 new Class[] { long[].class }, Arrays.asList("[1]") }, in getP()
28 new Class[] { int[].class }, Arrays.asList("[1,2,3]") }, in getP()
31 Arrays.asList("[true,false]") }, in getP()
33 new Class[] { int[].class }, Arrays.asList("[a,b,c]") }, in getP()
36 Arrays.asList("[1.1,2.2,3.3]") }, in getP()
39 Arrays.asList("[1.1,2.2,3.3]") }, in getP()
[all …]
/external/opencensus-java/api/src/test/java/io/opencensus/metrics/export/
DTimeSeriesTest.java24 import java.util.Arrays;
54 Arrays.asList(LABEL_VALUE_1, LABEL_VALUE_2), Arrays.asList(POINT_1), TIMESTAMP_1); in testGet_TimeSeries()
71 List<LabelValue> labelValues = Arrays.asList(LABEL_VALUE_1, null); in create_WithNullLabelValue()
86 List<Point> points = Arrays.asList(POINT_1, null); in create_WithNullPoint()
96 Arrays.asList(LABEL_VALUE_1, LABEL_VALUE_2), POINT_1, TIMESTAMP_1); in testGet_WithOnePointTimeSeries()
113 List<LabelValue> labelValues = Arrays.asList(LABEL_VALUE_1, null); in createWithOnePoint_WithNullLabelValue()
131 Arrays.asList(LABEL_VALUE_1, LABEL_VALUE_2), Arrays.asList(POINT_1), TIMESTAMP_1), in testEquals()
133 Arrays.asList(LABEL_VALUE_1, LABEL_VALUE_2), Arrays.asList(POINT_1), TIMESTAMP_1)) in testEquals()
136 Arrays.asList(LABEL_VALUE_1, LABEL_VALUE_2), Arrays.asList(POINT_1), null), in testEquals()
138 Arrays.asList(LABEL_VALUE_1, LABEL_VALUE_2), Arrays.asList(POINT_1), null)) in testEquals()
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DMultisetsTest.java26 import java.util.Arrays;
83 Multiset<String> toRetain = HashMultiset.create(Arrays.asList("a", "b", "a")); in testRetainOccurrencesEmpty()
90 Iterable<String> toRemove = Arrays.asList("a", "b", "a"); in testRemoveOccurrencesIterableEmpty()
97 Multiset<String> toRemove = HashMultiset.create(Arrays.asList("a", "b", "a")); in testRemoveOccurrencesMultisetEmpty()
103 Multiset<String> ms1 = HashMultiset.create(Arrays.asList("a", "b", "a")); in testUnion()
104 Multiset<String> ms2 = HashMultiset.create(Arrays.asList("a", "b", "b", "c")); in testUnion()
109 Multiset<String> ms1 = HashMultiset.create(Arrays.asList("a", "b", "a")); in testUnionEqualMultisets()
110 Multiset<String> ms2 = HashMultiset.create(Arrays.asList("a", "b", "a")); in testUnionEqualMultisets()
116 Multiset<String> ms2 = HashMultiset.create(Arrays.asList("a", "b", "a")); in testUnionEmptyNonempty()
121 Multiset<String> ms1 = HashMultiset.create(Arrays.asList("a", "b", "a")); in testUnionNonemptyEmpty()
[all …]
/external/google-java-format/core/src/test/java/com/google/googlejavaformat/java/
DCommandLineOptionsParserTest.java26 import java.util.Arrays;
64 Arrays.asList("-lines=1:10,20:30", "-i", "Hello.java", "Goodbye.java")); in hello()
73 assertThat(CommandLineOptionsParser.parse(Arrays.asList("-")).stdin()).isTrue(); in stdin()
78 assertThat(CommandLineOptionsParser.parse(Arrays.asList("-aosp")).aosp()).isTrue(); in aosp()
83 assertThat(CommandLineOptionsParser.parse(Arrays.asList("-help")).help()).isTrue(); in help()
89 CommandLineOptionsParser.parse(Arrays.asList("-length", "1", "--length", "2")) in lengths()
98 Arrays.asList("--lines", "1:2", "-lines=4:5", "--line", "7:8", "-line=10:11")) in lines()
111 CommandLineOptionsParser.parse(Arrays.asList("-offset", "1", "--offset", "2")) in offset()
118 assertThat(CommandLineOptionsParser.parse(Arrays.asList("-i", "A.java")).inPlace()).isTrue(); in inPlace()
123 assertThat(CommandLineOptionsParser.parse(Arrays.asList("-v")).version()).isTrue(); in version()
[all …]
/external/ukey2/src/main/javatest/com/google/security/cryptauth/lib/securemessage/
DCryptoOpsTest.java21 import java.util.Arrays;
91 assertTrue(Arrays.equals(CryptoOps.deriveAes256KeyFor(aesKey1, "A").getEncoded(), in testDeriveAes256KeyFor()
94 assertFalse(Arrays.equals(CryptoOps.deriveAes256KeyFor(aesKey1, "A").getEncoded(), in testDeriveAes256KeyFor()
97 assertFalse(Arrays.equals(CryptoOps.deriveAes256KeyFor(aesKey1, "A").getEncoded(), in testDeriveAes256KeyFor()
104 byte[] expectedResult = Arrays.copyOf(HKDF_CASE1_OKM, 32); in testHkdf()
105 assertTrue(Arrays.equals(result, expectedResult)); in testHkdf()
111 byte[] expectedResult = Arrays.copyOf(HKDF_CASE1_OKM, 42); in testHkdfLongOutput()
112 assertTrue(Arrays.equals(result, expectedResult)); in testHkdfLongOutput()
118 byte[] expectedResult = Arrays.copyOf(HKDF_CASE1_OKM, 12); in testHkdfShortOutput()
119 assertTrue(Arrays.equals(result, expectedResult)); in testHkdfShortOutput()
[all …]
/external/easymock/src/org/easymock/internal/matchers/
DArrayEquals.java18 import java.util.Arrays;
35 return Arrays.equals((boolean[]) expected, (boolean[]) actual); in matches()
38 return Arrays.equals((byte[]) expected, (byte[]) actual); in matches()
41 return Arrays.equals((char[]) expected, (char[]) actual); in matches()
44 return Arrays.equals((double[]) expected, (double[]) actual); in matches()
47 return Arrays.equals((float[]) expected, (float[]) actual); in matches()
50 return Arrays.equals((int[]) expected, (int[]) actual); in matches()
53 return Arrays.equals((long[]) expected, (long[]) actual); in matches()
56 return Arrays.equals((short[]) expected, (short[]) actual); in matches()
59 return Arrays.equals((Object[]) expected, (Object[]) actual); in matches()

12345678910>>...112