- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 349 for listFn (0.05 sec)
-
src/main/java/jcifs/smb1/smb1/SmbFilenameFilter.java
package jcifs.smb1.smb1; /** * Filter interface for SMB filename filtering. * This interface allows selective filtering of filenames * when listing directory contents in SMB shares. */ public interface SmbFilenameFilter { /** * Tests whether the specified filename should be included in a file list. * * @param dir the directory containing the file * @param name the name of the fileRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.4K bytes - Viewed (0) -
android-test/src/test/kotlin/okhttp/android/test/ShadowDnsResolver.kt
@Implements(DnsResolver::class) class ShadowDnsResolver { var responder: (Request) -> Unit = { it.callback.onAnswer(listOf(), 0) } data class Request( val network: Network?, val domain: String, val nsType: Int, val flags: Int, val callback: DnsResolver.Callback<List<InetAddress>>, ) @Implementation fun query( network: Network?, domain: String, nsType: Int,Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Dec 30 23:28:56 UTC 2024 - 1.7K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RouteSelector.kt
} /** Prepares the proxy servers to try. */ private fun resetNextProxy( url: HttpUrl, proxy: Proxy?, ) { fun selectProxies(): List<Proxy> { // If the user specifies a proxy, try that and only that. if (proxy != null) return listOf(proxy) // If the URI lacks a host (as in "http://</"), don't call the ProxySelector. val uri = url.toUri()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Oct 08 03:50:05 UTC 2025 - 7.3K bytes - Viewed (2) -
api/maven-api-di/src/main/java/org/apache/maven/api/di/Typed.java
@Target({FIELD, METHOD, TYPE}) @Retention(RUNTIME) @Documented public @interface Typed { /** * Specifies the types that should be considered for dependency injection. * <p> * When specified, only the listed types will be available for injection, * even if the class implements or extends other types. If empty, the * default behavior is to make all supertypes available for injection. * <p> * Example:Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Jan 30 23:28:59 UTC 2025 - 2.5K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt
logFile = File("/tmp/key.log"), tlsVersions = tlsVersions, launch = launch, ) val client = OkHttpClient .Builder() .connectionSpecs(listOf(connectionSpec)) .eventListenerFactory(eventListenerFactory) .build() fun run() { // Launch wireshark in the background val process = eventListenerFactory.launchWireShark()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat May 10 11:15:14 UTC 2025 - 10.9K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/internal/MockWebServerSocket.kt
} val handshake: Handshake? get() = (javaNetSocket as? SSLSocket)?.session?.handshake() val handshakeServerNames: List<String> get() = (javaNetSocket as? SSLSocket) ?.let { Platform.Companion.get().getHandshakeServerNames(it) } ?: listOf() fun shutdownInput() { javaNetSocket.shutdownInput() } fun shutdownOutput() { javaNetSocket.shutdownOutput() }Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 3.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/OpenJSSETest.kt
.isInstanceOf<SSLSocketImpl>() } } @Test fun testSupportedProtocols() { val factory = SSLSocketFactoryImpl() val s = factory.createSocket() as SSLSocketImpl assertEquals(listOf("TLSv1.3", "TLSv1.2"), s.enabledProtocols.toList()) } @Test @Disabled fun testMozilla() { assumeNetwork() val request = Request.Builder().url("https://mozilla.org/robots.txt").build()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 3.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/SocksProxyTest.kt
} @Test fun proxySelector() { server.enqueue(MockResponse.Builder().body("abc").build()) val proxySelector: ProxySelector = object : ProxySelector() { override fun select(uri: URI) = listOf(socksProxy.proxy()) override fun connectFailed( uri: URI, socketAddress: SocketAddress, e: IOException, ) = error("unexpected call") } val client =
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 3.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Handshake.kt
@get:JvmName("cipherSuite") val cipherSuite: CipherSuite, /** Returns a possibly-empty list of certificates that identify this peer. */ @get:JvmName("localCertificates") val localCertificates: List<Certificate>, // Delayed provider of peerCertificates, to allow lazy cleaning. peerCertificatesFn: () -> List<Certificate>, ) { /** Returns a possibly-empty list of certificates that identify the remote peer. */ @get:JvmName("peerCertificates")Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Apr 05 09:48:10 UTC 2025 - 6.6K bytes - Viewed (1) -
src/main/java/jcifs/smb/SmbNamedPipe.java
* parameter. The pipeType parameter should be at least one of * the <code>PIPE_TYPE</code> flags combined with the bitwise OR * operator <code>|</code>. See the examples listed above. * * @param url the SMB URL for the named pipe * @param pipeType the type of the pipe * @param unshared * whether to use an exclusive connection for this pipeRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.2K bytes - Viewed (0)