Home
last modified time | relevance | path

Searched refs:randomString (Results 1 – 13 of 13) sorted by relevance

/external/protobuf/java/core/src/test/java/com/google/protobuf/
DUtf8Test.java47 assertEncoding(randomString(0x80)); in testEncode()
48 assertEncoding(randomString(0x90)); in testEncode()
49 assertEncoding(randomString(0x800)); in testEncode()
50 assertEncoding(randomString(0x10000)); in testEncode()
51 assertEncoding(randomString(0x10ffff)); in testEncode()
55 assertEncoding_insufficientSpace(randomString(0x80)); in testEncode_insufficientSpace()
56 assertEncoding_insufficientSpace(randomString(0x90)); in testEncode_insufficientSpace()
57 assertEncoding_insufficientSpace(randomString(0x800)); in testEncode_insufficientSpace()
58 assertEncoding_insufficientSpace(randomString(0x10000)); in testEncode_insufficientSpace()
59 assertEncoding_insufficientSpace(randomString(0x10ffff)); in testEncode_insufficientSpace()
[all …]
DUtf8Utils.java122 strings[i] = randomString(rnd, charCount, maxCodePoint); in randomStrings()
134 static String randomString(Random rnd, int charCount, MaxCodePoint maxCodePoint) { in randomString() method in Utf8Utils
/external/cldr/tools/java/org/unicode/cldr/draft/
DGapStringTest.java26 String randomString; in TestCorrectness() local
41 randomString = getRandomString(RANDOM_STRING_LENGTH); in TestCorrectness()
42 b.insert(randomPos, randomString); in TestCorrectness()
43 a.insert(randomPos, randomString); in TestCorrectness()
53 randomString = getRandomString(RANDOM_STRING_LENGTH); in TestCorrectness()
54 b.append(randomString); in TestCorrectness()
55 a.append(randomString); in TestCorrectness()
/external/smali/smalidea/src/test/java/org/jf/smalidea/
DSmaliLexerTest.java169 String randomString = randomString(1000); in testRandomText() local
171 printTokens(randomString, 0); in testRandomText()
176 private String randomString(int length) { in randomString() method in SmaliLexerTest
/external/slf4j/slf4j-migrator/src/test/java/org/slf4j/migrator/helper/
DRandomHelper.java38 private String randomString(int len) { in randomString() method in RandomHelper
60 buf.append(randomString(currentNodeLength)); in buildRandomFileName()
64 buf.append(randomString(currentNodeLength)); in buildRandomFileName()
/external/grpc-grpc-java/benchmarks/src/jmh/java/io/grpc/benchmarks/netty/
DHandlerRegistryBenchmark.java69 String serviceName = randomString(); in setup()
72 String methodName = randomString(); in setup()
104 private String randomString() { in randomString() method in HandlerRegistryBenchmark
/external/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/
DBenchmark.java203 result.addHeader(randomString(12), randomString(20)); in newResponse()
209 private String randomString(int length) { in randomString() method in Benchmark
/external/connectedappssdk/tests/robotests/src/test/java/com/google/android/enterprise/connectedapps/internal/
DParcelCallSenderTest.java18 import static com.google.android.enterprise.connectedapps.StringUtilities.randomString;
72 private static final String LARGE_STRING = randomString(1500000); // 3Mb
/external/connectedappssdk/tests/instrumented/src/main/java/com/google/android/enterprise/connectedapps/instrumented/tests/
DMessageSizeTest.java18 import static com.google.android.enterprise.connectedapps.StringUtilities.randomString;
43 private static final String LARGE_STRING = randomString(1500000); // 3Mb
/external/connectedappssdk/tests/robotests/src/test/java/com/google/android/enterprise/connectedapps/robotests/
DMessageSizeTest.java19 import static com.google.android.enterprise.connectedapps.StringUtilities.randomString;
49 private static final String LARGE_STRING = randomString(1500000); // 3Mb
/external/connectedappssdk/tests/shared/src/main/java/com/google/android/enterprise/connectedapps/
DStringUtilities.java26 public static String randomString(int length) { in randomString() method in StringUtilities
/external/protobuf/php/tests/
Dencode_decode_test.php171 $randomString = str_repeat("+", $length);
173 $randomString[$i] = rand(0, 255);
175 return $randomString;
/external/mockito/lib/
Dbyte-buddy-1.8.15.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/maven/ META- ...