- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 41 for vararg (0.04 sec)
-
buildSrc/src/main/kotlin/Osgi.kt
import org.gradle.kotlin.dsl.dependencies import org.gradle.kotlin.dsl.findByType import org.gradle.kotlin.dsl.get import org.gradle.kotlin.dsl.getByName import org.gradle.kotlin.dsl.named fun Project.applyOsgi(vararg bndProperties: String) { plugins.withId("org.jetbrains.kotlin.jvm") { applyOsgi("jar", "osgiApi", bndProperties) } } private fun Project.applyOsgi( jarTaskName: String,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Aug 01 08:06:31 UTC 2025 - 5.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/CompressionInterceptor.kt
* a specific "Accept-Encoding: identity" or similar. * * See https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Accept-Encoding */ open class CompressionInterceptor( vararg val algorithms: DecompressionAlgorithm, ) : Interceptor { internal val acceptEncoding = algorithms .map { it.encoding }.joinToString(separator = ", ")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Aug 01 06:04:22 UTC 2025 - 3.2K bytes - Viewed (1) -
src/test/java/jcifs/smb/SmbTreeInternalTest.java
verify(tree).send((Request<CommonServerMessageBlockResponse>) isNull()); } @Test @DisplayName("send with explicit null varargs propagates exception from implementation") void send_nullVarargsArray_throws() throws Exception { // Arrange: passing explicit null vararg array is edge scenario when(tree.send(eq(request), isNull())).thenThrow(new CIFSException("null params")); // Act + Assert
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt
return if (includeDefaultPort || port != defaultPort(scheme)) { "$host:$port" } else { host } } /** Returns a [Locale.US] formatted [String]. */ internal fun format( format: String, vararg args: Any, ): String = String.format(Locale.US, format, *args) /** * will also strip BOM from the source */ @Throws(IOException::class) internal fun BufferedSource.readBomAsCharset(default: Charset): Charset =
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 10.2K bytes - Viewed (1) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/HttpUpgradesTest.kt
.post("Hello".toRequestBody()) .build() } assertThat(e).hasMessage("expected a null request body with 'Connection: upgrade'") } private fun enableTls(vararg protocols: Protocol) { client = client .newBuilder() .protocols(protocols.toList()) .sslSocketFactory( handshakeCertificates.sslSocketFactory(),
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 7.1K bytes - Viewed (0) -
okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt
newHeadersToRedact += headersToRedact newHeadersToRedact += name headersToRedact = newHeadersToRedact } fun redactQueryParams(vararg name: String) { val newQueryParamsNameToRedact = TreeSet(String.CASE_INSENSITIVE_ORDER) newQueryParamsNameToRedact += queryParamsNameToRedact newQueryParamsNameToRedact.addAll(name)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Aug 21 14:27:04 UTC 2025 - 11.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java
.createTestSuite()); suite.addTest( NavigableSetTestSuiteBuilder.using(new ImmutableSortedSetExplicitComparator()) .named(ImmutableSortedSetTest.class.getName() + ", explicit comparator, vararg") .withFeatures( CollectionSize.ANY, CollectionFeature.KNOWN_ORDER, CollectionFeature.SERIALIZABLE, CollectionFeature.ALLOWS_NULL_QUERIES)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 46.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt
call.execute() }.also { expected -> assertThat(expected.message).isEqualTo("write body fail!") } } private fun executeSynchronously( path: String, vararg headers: String?, ): RecordedResponse { val builder = Request.Builder() builder.url(server.url(path)) var i = 0 val size = headers.size while (i < size) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 146.6K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Preconditions.java
* them, even though they usually won't be needed. If you have such arguments, use the conventional * if/throw idiom instead. * * <p>Depending on your message arguments, memory may be allocated for boxing and varargs array * creation. However, the methods of this class have a large number of overloads that prevent such * allocations in many common cases. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 10 22:11:00 UTC 2025 - 53K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
verify(treeConnection).getTreeId(); } @Test @DisplayName("send(Request, varargs) delegates with null response") void sendWithRequestVarargsDelegates() throws Exception { // Verifies Request<T> overload forwards to the varargs form with a null response @SuppressWarnings("unchecked") Request<CommonServerMessageBlockResponse> req = mock(Request.class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0)