Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 95 for invoke (0.22 sec)

  1. .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)
  2. 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)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

        }
    
      private fun loomThreadFactory(): ThreadFactory {
        val ofVirtual = Thread::class.java.getMethod("ofVirtual").invoke(null)
    
        return Class.forName("java.lang.Thread\$Builder")
          .getMethod("factory")
          .invoke(ofVirtual) as ThreadFactory
      }
    
      private fun isLoom(): Boolean {
        return getPlatformSystemProperty() == LOOM_PROPERTY
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  4. 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)
  5. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/NullabilityChangesTest.kt

                        fun foo(bar: String) {}
                    }
                    operator fun Source.invoke(arg: String) {}
                """,
                v2 = """
                    class Source(some: String?) {
                        fun foo(bar: String?) {}
                    }
                    operator fun Source.invoke(arg: String?) {}
                """
            ) {
                assertHasNoError()
                assertHasWarnings(
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 9.1K bytes
    - Viewed (0)
  6. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/InsecureAndroidTrustManager.kt

        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
        }
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  7. docs/sts/keycloak.md

      -d "grant_type=client_credentials" \
      "http://localhost:8080/auth/realms/{realm}/protocol/openid-connect/token"
    ```
    
    The result will be a JSON document. To invoke the API you need to extract the value of the access_token property. You can then invoke the API by including the value in the Authorization header of requests to the API.
    
    The following example shows how to get the details of the user with `{userid}` from `{realm}` realm:
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 8.1K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/LoomTest.kt

            .build()
      }
    
      private fun newVirtualThreadPerTaskExecutor(): ExecutorService {
        return Executors::class.java.getMethod("newVirtualThreadPerTaskExecutor").invoke(null) as ExecutorService
      }
    
      @Test
      fun testRequest() {
        server.enqueue(MockResponse())
    
        val request = Request(server.url("/"))
    
        client.newCall(request).execute().use {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2K bytes
    - Viewed (0)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt

            // Event occurred before start, for an example an early cancel.
            0L
          } else {
            TimeUnit.NANOSECONDS.toMillis(System.nanoTime() - startNs)
          }
    
        logger.invoke("[$timeMs ms] $message")
      }
    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)
  10. okhttp/src/main/kotlin/okhttp3/Interceptor.kt

         * interceptors.
         *
         * ```kotlin
         * val interceptor = Interceptor { chain: Interceptor.Chain ->
         *     chain.proceed(chain.request())
         * }
         * ```
         */
        inline operator fun invoke(crossinline block: (chain: Chain) -> Response): Interceptor = Interceptor { block(it) }
      }
    
      interface Chain {
        fun request(): Request
    
        @Throws(IOException::class)
        fun proceed(request: Request): Response
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.5K bytes
    - Viewed (0)
Back to top