Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 324 for listFn (0.1 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/platform/Platform.kt

      @IgnoreJRERequirement // This function is overridden to require API >= 24.
      open fun getHandshakeServerNames(sslSocket: SSLSocket): List<String> {
        val session = sslSocket.session as? ExtendedSSLSession ?: return listOf()
        return try {
          session.requestedServerNames.mapNotNull { (it as? SNIHostName)?.asciiName }
        } catch (uoe: UnsupportedOperationException) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/KotlinDeprecationErrorTest.kt

        val dispatcher: Dispatcher = client.dispatcher()
        val proxy: Proxy? = client.proxy()
        val protocols: List<Protocol> = client.protocols()
        val connectionSpecs: List<ConnectionSpec> = client.connectionSpecs()
        val interceptors: List<Interceptor> = client.interceptors()
        val networkInterceptors: List<Interceptor> = client.networkInterceptors()
        val eventListenerFactory: EventListener.Factory = client.eventListenerFactory()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbFileFilter.java

    package jcifs.smb;
    
    /**
     * Filter interface for SMB file filtering.
     *
     * This interface allows selective filtering of files
     * when listing directory contents in SMB shares.
     */
    public interface SmbFileFilter {
    
        /**
         * Tests whether the specified SMB file should be included in a file list.
         *
         * @param file the SMB file to test for inclusion
         * @return whether the given file should be included
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbFilenameFilter.java

    /**
     * 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 file
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/ListHashCodeTester.java

        }
        assertEquals(
            "A List's hashCode() should be computed from those of its elements.",
            expectedHashCode,
            getList().hashCode());
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testHashCode()} so that list tests on
       * unhashable objects can suppress it with {@code FeatureSpecificTestSuiteBuilder.suppressing()}.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2K bytes
    - Viewed (0)
  6. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackDecodeTestBase.kt

      companion object {
        /**
         * Reads all stories in the folders provided, asserts if no story found.
         */
        @JvmStatic
        protected fun createStories(interopTests: Array<String>): List<Any> {
          if (interopTests.isEmpty()) return listOf<Any>(Story.MISSING)
    
          val result = mutableListOf<Any>()
          for (interopTestName in interopTests) {
            val stories = HpackJsonUtil.readStories(interopTestName)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/InsecureAndroidTrustManager.kt

        chain: Array<out X509Certificate>,
        authType: String,
        host: String,
      ): List<Certificate> {
        if (host in insecureHosts) return listOf()
        try {
          val method =
            checkServerTrustedMethod
              ?: throw CertificateException("Failed to call checkServerTrusted")
          return method.invoke(delegate, chain, authType, host) as List<Certificate>
        } catch (e: InvocationTargetException) {
          throw e.targetException
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/net/NetServerEnum2.java

            this.maxSetupCount = (byte) 0x00;
            this.setupCount = 0;
            this.timeout = 5000;
        }
    
        @Override
        public void reset(final int key, final String lastN) {
            super.reset();
            this.lastName = lastN;
        }
    
        @Override
        protected int writeSetupWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  9. 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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  10. 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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 3.7K bytes
    - Viewed (0)
Back to top