Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 161 for Sall (0.2 sec)

  1. docs/en/docs/async.md

    When you want to call an `async def` function, you have to "await" it. So, this won't work:
    
    ```Python
    # This won't work, because get_burgers was defined with: async def
    burgers = get_burgers(2)
    ```
    
    ---
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 23K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/connection/ConnectionPoolTest.kt

        val client =
          OkHttpClient.Builder()
            .connectionPool(poolApi)
            .build()
        val call = client.newCall(Request(addressA.url)) as RealCall
        call.enterNetworkInterceptorExchange(call.request(), true, factory.newChain(call))
        c1.withLock { call.acquireConnectionNoEvents(c1) }
    
        // Running at time 50, the pool returns that nothing can be evicted until time 150.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 24 04:40:49 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

        /** Do this task's work, and then start another, such as by calling [startNextTask]. */
        fun start()
      }
    
      private object TestThreadSerialTask : SerialTask {
        override fun start() = error("unexpected call")
      }
    
      inner class RunnableSerialTask(
        private val runnable: Runnable,
      ) : SerialTask {
        override fun start() {
          taskRunner.assertThreadHoldsLock()
          require(currentTask == this)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 29 00:33:04 GMT 2024
    - 12.6K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

      private var nextQueueName = 10000
      private var coordinatorWaiting = false
      private var coordinatorWakeUpAt = 0L
    
      /**
       * When we need a new thread to run tasks, we call [Backend.execute]. A few microseconds later we
       * expect a newly-started thread to call [Runnable.run]. We shouldn't request new threads until
       * the already-requested ones are in service, otherwise we might create more threads than we need.
       *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 29 00:33:04 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Writer.kt

            type = TYPE_RST_STREAM,
            flags = FLAG_NONE,
          )
          sink.writeInt(errorCode.httpCode)
          sink.flush()
        }
      }
    
      /** The maximum size of bytes that may be sent in a single call to [data]. */
      fun maxDataLength(): Int = maxFrameSize
    
      /**
       * `source.length` may be longer than the max length of the variant's data frame. Implementations
       * must send multiple frames as necessary.
       *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

    class CacheInterceptor(internal val cache: Cache?) : Interceptor {
      @Throws(IOException::class)
      override fun intercept(chain: Interceptor.Chain): Response {
        val call = chain.call()
        val cacheCandidate = cache?.get(chain.request().requestForCache())
    
        val now = System.currentTimeMillis()
    
        val strategy = CacheStrategy.Factory(now, chain.request(), cacheCandidate).compute()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Mar 22 07:09:21 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  7. .teamcity/src/main/kotlin/common/extensions.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package common
    
    import common.KillProcessMode.KILL_ALL_GRADLE_PROCESSES
    import configurations.CompileAll
    import configurations.FunctionalTest
    import configurations.branchesFilterExcluding
    import configurations.buildScanCustomValue
    import configurations.buildScanTag
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 10:49:15 GMT 2024
    - 13K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/extensions/v1beta1/generated.proto

      // +optional
      optional string host = 1;
    
      // IngressRuleValue represents a rule to route requests for this IngressRule.
      // If unspecified, the rule defaults to a http catch-all. Whether that sends
      // just traffic matching the host to the default backend or all traffic to the
      // default backend, is left to the controller fulfilling the Ingress. Http is
      // currently the only supported IngressRuleValue.
      // +optional
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 45.6K bytes
    - Viewed (0)
  9. tensorflow/c/BUILD

            ":tf_tensor_hdrs",
            # TODO: Only include tf_tstring_hdrs. Don't expose the implementation of TF_TString to API
            # users.
            ":tf_tstring",
            "//tensorflow/core:protos_all_cc",
        ],
    )
    
    tf_cuda_library(
        name = "c_api_internal",
        hdrs = [
            "c_api.h",
            "c_api_internal.h",
            "c_api_macros.h",
            "tf_buffer.h",
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 27 18:00:18 GMT 2024
    - 30.3K bytes
    - Viewed (0)
  10. CONTRIBUTING.md

    *   As every PR requires several CPU/GPU hours of CI testing, we discourage
        submitting PRs to fix one typo, one warning,etc. We recommend fixing the
        same issue at the file level at least (e.g.: fix all typos in a file, fix
        all compiler warnings in a file, etc.)
    *   Tests should follow the
        [testing best practices](https://www.tensorflow.org/community/contribute/tests)
        guide.
    
    #### License
    
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu Mar 21 11:45:51 GMT 2024
    - 15.6K bytes
    - Viewed (0)
Back to top