- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 614 for repeat (0.04 seconds)
-
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/docker/ShellRetry.java
static String loop(String name, String command) { return loop(name, command, 4, "exit"); } static String loop(String name, String command, int indentSize, String exitKeyword) { String indent = " ".repeat(indentSize); // bash understands the `{1..10}` syntax, but other shells don't e.g. the default in Alpine Linux. // We therefore use an explicit sequence.
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Fri Sep 10 13:10:22 GMT 2021 - 1.9K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt
import kotlin.test.assertFailsWith import okhttp3.FailingCall import okhttp3.Headers import okhttp3.Headers.Companion.headersOf import okhttp3.Protocol import okhttp3.Request import okhttp3.Response import okhttp3.TestUtil.repeat import okhttp3.internal.concurrent.TaskFaker import okhttp3.internal.connection.BufferedSocket import okhttp3.internal.ws.WebSocketExtensions.Companion.parse import okio.BufferedSink import okio.BufferedSource
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Jul 31 04:18:40 GMT 2025 - 18.7K bytes - Click Count (0) -
src/test/java/jcifs/util/InputValidatorTest.java
} @Test @DisplayName("Test username length validation") void testUsernameLengthValidation() { String longUsername = "a".repeat(InputValidator.MAX_USERNAME_LENGTH + 1); assertThrows(IllegalArgumentException.class, () -> InputValidator.validateUsername(longUsername)); } @ParameterizedTest @DisplayName("Test valid domains")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 11.9K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/MultipartReaderTest.kt
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed May 28 02:11:14 GMT 2025 - 15.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbUnsupportedOperationExceptionTest.java
class SmbUnsupportedOperationExceptionTest { // Provides a variety of messages including edge cases static Stream<String> messages() { return Stream.of("custom message", "", " ", "αβγ", "x".repeat(1000), null); } @Test @DisplayName("Default constructor sets the expected message and no cause") void defaultConstructor_setsExpectedMessage_andNoCause() { // Arrange & ActCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.2K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskRunnerTest.kt
"FINE: Q10000 starting : task", "FINE: Q10000 finished run in 0 µs: task", ) } /** Schedule with a delay of 200 but repeat with a delay of 50. The repeat wins. */ @Test fun executeRepeatedEarlierReplacesScheduledLater() { val task = object : Task("task") { val schedules = mutableListOf(200.µs)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 23K bytes - Click Count (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/nullaway/NullawayStatusService.kt
} } } private fun projectS(num: Int) = if (num == 1) "project" else "projects" private inline fun printResult(block: NullawayStatusService.() -> Unit) { val delimiter = "=".repeat(72) println(delimiter) block() println(delimiter) } companion object { val SERVICE_NAME = NullawayStatusService::class.qualifiedName!! }Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Aug 20 13:18:23 GMT 2025 - 3.8K bytes - Click Count (0) -
okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt
val cache = Cache(cacheFs, "cache".toPath(), (100 * 1024).toLong()) val cachedClient = bootstrapClient.newBuilder().cache(cache).build() val cachedDns = buildLocalhost(cachedClient, false) repeat(2) { server.enqueue( dnsResponse( "0000818000010003000000000567726170680866616365626f6f6b03636f6d0000010001c00c000500010" +
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 11.9K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/idn/PunycodeTest.kt
* overflow and return null. */ @Test fun overflowEncodingOversizedLabel() { val a1000 = "a".repeat(1000) val a1000MaxCodePoint = a1000 + "\udbff\udfff" testEncodeDecode( a1000MaxCodePoint, "xn--$a1000-nc89312g", ) assertNull( Punycode.encode(a1000MaxCodePoint.repeat(2)), ) } @Test fun invalidPunycode() { assertNull(Punycode.decode("xn--ls8h=")) }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 5.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java
@DisplayName("Test writeBytesWireFormat with very long file names") public void testWriteBytesWireFormatLongFileNames() { // Given String longOldFileName = "a".repeat(255); // Max filename length String longNewFileName = "b".repeat(255); byte[] dst = new byte[1024]; smbComRename = new SmbComRename(config, longOldFileName, longNewFileName); int dstIndex = 0; // WhenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.5K bytes - Click Count (0)