- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 89 for isNotEmpty (0.08 sec)
-
native-image-tests/src/main/kotlin/okhttp3/RunTests.kt
* Uses the test list in native-image-tests/src/main/resources/testlist.txt. */ fun main(vararg args: String) { System.setProperty("junit.jupiter.extensions.autodetection.enabled", "true") val inputFile = if (args.isNotEmpty()) File(args[0]) else null val selectors = testSelectors(inputFile) val summaryListener = SummaryGeneratingListener() val treeListener = treeListener() val jupiterTestEngine = buildTestEngine()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.3K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/RecordingConnectionListener.kt
) .isCloseTo(elapsedMs.toDouble(), 100.0) } return result } fun recordedEventTypes() = eventSequence.map { it.name } fun clearAllEvents() { while (eventSequence.isNotEmpty()) { takeEvent() } } private fun logEvent(e: ConnectionEvent) { if (e.connection != null) { assertThat(Thread.holdsLock(e.connection), "Called with lock $${e.connection}")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Cache.kt
responseHeaders = responseHeadersBuilder.build() if (url.isHttps) { val blank = source.readUtf8LineStrict() if (blank.isNotEmpty()) { throw IOException("expected \"\" but was \"$blank\"") } val cipherSuiteString = source.readUtf8LineStrict() val cipherSuite = CipherSuite.forJavaName(cipherSuiteString)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 26.8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-HeadersCommon.kt
} } return null } internal fun Headers.Builder.commonBuild(): Headers = Headers(namesAndValues.toTypedArray()) internal fun headersCheckName(name: String) { require(name.isNotEmpty()) { "name is empty" } for (i in name.indices) { val c = name[i] require(c in '\u0021'..'\u007e') { "Unexpected char 0x${c.charCode()} at $i in header name: $name" } } }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java
assertThat(network.edgesConnecting(predecessor, node)).isNotEmpty(); } for (N successor : sanityCheckSet(network.successors(node))) { assertThat(network.predecessors(successor)).contains(node); assertThat(network.edgesConnecting(node, successor)).isNotEmpty(); } for (E incidentEdge : sanityCheckSet(network.incidentEdges(node))) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jan 22 17:29:38 UTC 2024 - 32.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/ws/WebSocketRecorder.kt
cls: Class<out IOException?>?, vararg messages: String, ) { val event = nextEvent() as Failure assertThat(event.response).isNull() assertThat(event.t.javaClass).isEqualTo(cls) if (messages.isNotEmpty()) { assertThat(messages).contains(event.t.message) } } fun assertFailure() { nextEvent() as Failure } fun assertFailure( code: Int, body: String?,
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 6.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java
} public static PathInfo convertToItem(final String id) { final String value = decodeId(id); final String[] values = split(value, "/").get(stream -> stream.filter(StringUtil::isNotEmpty).toArray(n -> new String[n])); if (values.length == 0) { // invalid? return new PathInfo(StringUtil.EMPTY, StringUtil.EMPTY); } if (values.length == 1) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 19.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CertificateChainCleanerTest.kt
val result = mutableListOf<HeldCertificate>() for (i in 1..length) { result.add( 0, HeldCertificate.Builder() .signedBy(if (result.isNotEmpty()) result[0] else null) .certificateAuthority(length - i) .serialNumber(i.toLong()) .build(), ) } return result }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 9.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/ClassPathTest.java
URL url = makeJarUrlWithName("To test unescaped spaces in jar file name.jar"); URLClassLoader classloader = new URLClassLoader(new URL[] {url}, null); assertThat(ClassPath.from(classloader).getTopLevelClasses()).isNotEmpty(); } @AndroidIncompatible // ClassPath is documented as not supporting Android public void testScan_classPathCycle() throws IOException {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 22:09:38 UTC 2024 - 25K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt
} try { bytesRemainingInChunk = source.readHexadecimalUnsignedLong() val extensions = source.readUtf8LineStrict().trim() if (bytesRemainingInChunk < 0L || extensions.isNotEmpty() && !extensions.startsWith(";")) { throw ProtocolException( "expected chunk size and optional extensions" + " but was \"$bytesRemainingInChunk$extensions\"", ) }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 16.2K bytes - Viewed (0)