Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for quitting (0.06 sec)

  1. cmd/global-heal.go

    			bytes:   sz,
    			skipped: true,
    		}
    	}
    
    	// Collect updates to tracker from concurrent healEntry calls
    	results := make(chan healEntryResult, 1000)
    	quitting := make(chan struct{})
    	defer func() {
    		close(results)
    		<-quitting
    	}()
    
    	go func() {
    		for res := range results {
    			if res.entryDone {
    				tracker.setObject(res.name)
    				if time.Since(tracker.getLastUpdate()) > time.Minute {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  2. cmd/admin-heal-ops.go

    	h.mutex.Lock()
    	defer h.mutex.Unlock()
    
    	h.healedItemsMap[healType]++
    	h.lastHealActivity = UTCNow()
    }
    
    // isQuitting - determines if the heal sequence is quitting (due to an
    // external signal)
    func (h *healSequence) isQuitting() bool {
    	select {
    	case <-h.ctx.Done():
    		return true
    	default:
    		return false
    	}
    }
    
    // check if the heal sequence has ended
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/additional-status-codes.md

    # Additional Status Codes
    
    By default, **FastAPI** will return the responses using a `JSONResponse`, putting the content you return from your *path operation* inside of that `JSONResponse`.
    
    It will use the default status code or the one you set in your *path operation*.
    
    ## Additional status codes
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 16:12:23 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/events.md

    We create an async function `lifespan()` with `yield` like this:
    
    {* ../../docs_src/events/tutorial003.py hl[16,19] *}
    
    Here we are simulating the expensive *startup* operation of loading the model by putting the (fake) model function in the dictionary with machine learning models before the `yield`. This code will be executed **before** the application **starts taking requests**, during the *startup*.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 10:36:22 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt

        }
    
        throw unknownHostException
      }
    
      private fun getCacheOnlyResponse(request: Request): Response? {
        if (client.cache != null) {
          try {
            // Use the cache without hitting the network first
            // 504 code indicates that the Cache is stale
            val onlyIfCached =
              CacheControl.Builder()
                .onlyIfCached()
                .build()
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Oct 31 09:27:31 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  6. .github/CODEOWNERS

    testing/performance/                    @gradle/bt-support
    testing/smoke-test/                     @gradle/bt-support
    testing/soak/                           @gradle/bt-support
    
    # Cross-cutting architecture checks and decisions
    .github/CODEOWNERS                          @gradle/bt-architecture-council
    architecture/                               @gradle/bt-architecture-council
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 24 14:46:27 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

        public EntryComparator(@Nullable Comparator<? super K> keyComparator) {
          this.keyComparator = keyComparator;
        }
    
        @Override
        @SuppressWarnings("unchecked") // no less safe than putting it in the map!
        public int compare(Entry<K, V> a, Entry<K, V> b) {
          return (keyComparator == null)
              ? ((Comparable) a.getKey()).compareTo(b.getKey())
              : keyComparator.compare(a.getKey(), b.getKey());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  8. .bazelrc

    # Default build options. These are applied first and unconditionally.
    
    # For projects which use TensorFlow as part of a Bazel build process, putting
    # nothing in a bazelrc will default to a monolithic build. The following line
    # opts in to modular op registration support by default.
    build --define framework_shared_object=true
    build --define tsl_protobuf_header_only=true
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Oct 28 22:02:31 UTC 2024
    - 51.3K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/Helpers.java

        public EntryComparator(@Nullable Comparator<? super K> keyComparator) {
          this.keyComparator = keyComparator;
        }
    
        @Override
        @SuppressWarnings("unchecked") // no less safe than putting it in the map!
        public int compare(Entry<K, V> a, Entry<K, V> b) {
          return (keyComparator == null)
              ? ((Comparable) a.getKey()).compareTo(b.getKey())
              : keyComparator.compare(a.getKey(), b.getKey());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  10. CONTRIBUTING.md

        (by default) transferred to the TensorFlow team. This means that the benefit
        of the contribution must be compared against the cost of maintaining the
        feature.
    *   Full new features (e.g., a new op implementing a cutting-edge algorithm)
        typically will live in
        [tensorflow/addons](https://github.com/tensorflow/addons) to get some
        airtime before a decision is made regarding whether they are to be migrated
        to the core.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 23 06:20:12 UTC 2024
    - 15.9K bytes
    - Viewed (0)
Back to top