Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 181 - 190 of 421 for listFn (0.08 seconds)

  1. 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:
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jan 30 23:28:59 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  2. 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
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  3. 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,
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Dec 30 23:28:56 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  4. .teamcity/src/main/kotlin/util/UpdateWrapper.kt

            param("env.DEFAULT_BRANCH", "%teamcity.build.branch%")
            param("env.TRIGGERED_BY", "%teamcity.build.triggeredBy%")
        }
    
        if (!vcsBranch.isMaster) {
            listOf(FINAL_RELEASE_BUILD_CONFIGURATION_ID, RELEASE_CANDIDATE_BUILD_CONFIGURATION_ID).forEach {
                triggers {
                    finishBuildTrigger {
                        buildType =
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Jul 24 03:08:48 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  5. 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()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Oct 08 03:50:05 GMT 2025
    - 7.3K bytes
    - Click Count (2)
  6. 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()
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat May 10 11:15:14 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  7. cmd/s3-zip-handlers.go

    	zipPath, _, err := splitZipExtensionPath(prefix)
    	if err != nil {
    		// Return empty listing
    		return ListObjectsV2Info{}, nil
    	}
    
    	zipObjInfo, err := objectAPI.GetObjectInfo(ctx, bucket, zipPath, ObjectOptions{})
    	if err != nil {
    		// Return empty listing
    		return ListObjectsV2Info{}, nil
    	}
    
    	zipInfo := zipObjInfo.ArchiveInfo(h)
    	if len(zipInfo) == 0 {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  8. 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()
      }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Jul 31 04:18:40 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  9. 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()
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Jun 18 12:28:21 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  10. 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 =
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Jun 18 12:28:21 GMT 2025
    - 3.6K bytes
    - Click Count (0)
Back to Top