Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for invoke (0.28 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/platform/Jdk8WithJettyBootPlatform.kt

              AlpnProvider(names),
            )
          putMethod.invoke(null, sslSocket, alpnProvider)
        } catch (e: InvocationTargetException) {
          throw AssertionError("failed to set ALPN", e)
        } catch (e: IllegalAccessException) {
          throw AssertionError("failed to set ALPN", e)
        }
      }
    
      override fun afterHandshake(sslSocket: SSLSocket) {
        try {
          removeMethod.invoke(null, sslSocket)
        } catch (e: IllegalAccessException) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/platform/android/AndroidSocketAdapter.kt

            // Enable session tickets.
            setUseSessionTickets.invoke(sslSocket, true)
    
            // Assume platform support on 24+
            if (hostname != null && Build.VERSION.SDK_INT <= 23) {
              // This is SSLParameters.setServerNames() in API 24+.
              setHostname.invoke(sslSocket, hostname)
            }
    
            // Enable ALPN.
            setAlpnProtocols.invoke(
              sslSocket,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirSymbolDeclarationOverridesProvider.kt

        ) = when (declaration) {
            is FirSimpleFunction -> processOverriddenFunctions(declaration.symbol) { symbol ->
                processor.invoke(symbol.fir)
                ProcessorAction.NEXT
            }
            is FirProperty -> processOverriddenProperties(declaration.symbol) { symbol ->
                processor.invoke(symbol.fir)
                ProcessorAction.NEXT
            }
            else -> ProcessorAction.STOP
        }
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Mar 22 14:22:10 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/idn/IdnStringprep.kt

    ) {
      /**
       * Returns [input] in canonical form according to these rules, or null if no such canonical form
       * exists for it.
       */
      operator fun invoke(input: String): String? = invoke(Buffer().writeUtf8(input))
    
      internal operator fun invoke(input: BufferedSource): String? {
        // 1. Map.
        val mapResult = Buffer()
        while (!input.exhausted()) {
          val codePoint = input.readUtf8CodePoint()
    Plain Text
    - Registered: Fri Mar 29 11:42:11 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/KotlinModifiersChangeTest.kt

            checkNotBinaryCompatibleKotlin(
                v1 = """
                    fun Int.invoke(some: Int) {}
                    operator fun Boolean.invoke(some: Int) {}
    
                    fun String.invoke(some: Int) {}
                    operator fun Long.invoke(some: Int) {}
    
                    fun Float.invoke(some: Int) {}
                    infix fun Byte.invoke(some: Int) {}
    
                    interface Source {
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.6K bytes
    - Viewed (0)
  6. samples/guide/src/test/kotlin/okhttp3/AllMainsTest.kt

          Class.forName(className)
            .methods.find { it.name == "main" }
        try {
          if (mainMethod != null) {
            if (mainMethod.parameters.isEmpty()) {
              mainMethod.invoke(null)
            } else {
              mainMethod.invoke(null, arrayOf<String>())
            }
          } else {
            System.err.println("No main for $className")
          }
        } catch (ite: InvocationTargetException) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  7. src/packaging/common/scripts/postinst

            systemctl daemon-reload
            systemctl restart fess.service || true
    
        elif [ -x /etc/init.d/fess ]; then
            if command -v invoke-rc.d >/dev/null; then
                invoke-rc.d fess stop || true
                invoke-rc.d fess start || true
            else
                /etc/init.d/fess restart || true
            fi
    
        # older suse linux distributions do not ship with systemd
    Plain Text
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Dec 10 01:24:02 GMT 2015
    - 3.1K bytes
    - Viewed (0)
  8. .github/ISSUE_TEMPLATE/tflite-converter-issue.md

    ```
    
    #### Option B: Paste your code here or provide a link to a custom end-to-end colab
    
    ```
    (You can paste links or attach files by dragging & dropping them below)
    - Include code to invoke the TFLite Converter Python API and the errors.
    - Provide links to your TensorFlow model and (optionally) TensorFlow Lite Model.
    ```
    
    ### 3. Failure after conversion
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Wed Jun 15 03:35:58 GMT 2022
    - 2.1K bytes
    - Viewed (0)
  9. src/packaging/common/scripts/prerm

        if command -v systemctl >/dev/null; then
            systemctl --no-reload stop fess.service > /dev/null 2>&1 || true
    
        elif [ -x /etc/init.d/fess ]; then
            if command -v invoke-rc.d >/dev/null; then
                invoke-rc.d fess stop || true
            else
                /etc/init.d/fess stop || true
            fi
    
        # older suse linux distributions do not ship with systemd
        # but do not have an /etc/init.d/ directory
    Plain Text
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Mon Jan 29 07:34:32 GMT 2018
    - 1.7K bytes
    - Viewed (1)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/FirUtils.kt

    import org.jetbrains.kotlin.util.OperatorNameConventions
    
    /**
     * Returns `true` if the symbol is for a function named `invoke`.
     */
    internal fun FirBasedSymbol<*>.isInvokeFunction() =
        (this as? FirNamedFunctionSymbol)?.fir?.name == OperatorNameConventions.INVOKE
    
    fun FirFunctionCall.getCalleeSymbol(): FirBasedSymbol<*>? =
        calleeReference.getResolvedSymbolOfNameReference()
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 07:15:56 GMT 2024
    - 6K bytes
    - Viewed (0)
Back to top