Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 276 for resume (0.17 sec)

  1. okhttp-coroutines/src/main/kotlin/okhttp3/JvmCallExtensions.kt

    import kotlinx.coroutines.ExperimentalCoroutinesApi
    import kotlinx.coroutines.suspendCancellableCoroutine
    import okhttp3.internal.closeQuietly
    import okio.IOException
    
    @ExperimentalCoroutinesApi // resume with a resource cleanup.
    suspend fun Call.executeAsync(): Response =
      suspendCancellableCoroutine { continuation ->
        continuation.invokeOnCancellation {
          this.cancel()
        }
        this.enqueue(
    Plain Text
    - Registered: Fri Apr 12 11:42:09 GMT 2024
    - Last Modified: Fri Apr 05 11:25:23 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  2. okhttp-coroutines/src/main/kotlin/okhttp3/coroutines/ExecuteAsync.kt

    import kotlinx.coroutines.suspendCancellableCoroutine
    import okhttp3.Call
    import okhttp3.Callback
    import okhttp3.Response
    import okhttp3.internal.closeQuietly
    import okio.IOException
    
    @ExperimentalCoroutinesApi // resume with a resource cleanup.
    suspend fun Call.executeAsync(): Response =
      suspendCancellableCoroutine { continuation ->
        continuation.invokeOnCancellation {
          this.cancel()
        }
        this.enqueue(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 18 01:24:38 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java

                this.projectActivation.overwriteInactiveProjects(excludedProjects);
            }
    
            return this;
        }
    
        @Override
        public MavenExecutionRequest setResume(boolean resume) {
            this.resume = resume;
    
            return this;
        }
    
        @Override
        public MavenExecutionRequest setResumeFrom(String project) {
            this.resumeFrom = project;
    
            return this;
        }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 31K bytes
    - Viewed (0)
  4. cmd/global-heal.go

    		if tracker.isHealed(bucket) {
    			continue
    		}
    		var forwardTo string
    		// If we resume to the same bucket, forward to last known item.
    		if b := tracker.getBucket(); b != "" {
    			if b == bucket {
    				forwardTo = tracker.getObject()
    			} else {
    				// Reset to where last bucket ended if resuming.
    				tracker.resume()
    			}
    		}
    		tracker.setObject("")
    		tracker.setBucket(bucket)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 15K bytes
    - Viewed (1)
  5. cmd/background-newdisks-heal-ops.go

    	h.mu.RLock()
    	defer h.mu.RUnlock()
    	for _, v := range h.HealedBuckets {
    		if v == bucket {
    			return true
    		}
    	}
    	return false
    }
    
    // resume will reset progress to the numbers at the start of the bucket.
    func (h *healingTracker) resume() {
    	h.mu.Lock()
    	defer h.mu.Unlock()
    
    	h.ItemsHealed = h.ResumeItemsHealed
    	h.ItemsFailed = h.ResumeItemsFailed
    	h.BytesDone = h.ResumeBytesDone
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  6. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

          return yieldUntil(strategy, condition)
        }
      }
    
      private enum class ResumePriority {
        /** Resumes as soon as the condition is satisfied. */
        BeforeOtherTasks,
    
        /** Resumes after the already-enqueued tasks. */
        AfterEnqueuedTasks,
    
        /** Resumes after all other tasks, including tasks enqueued while yielding. */
        AfterOtherTasks,
      }
    
    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)
  7. cmd/erasure-server-pool-decom.go

    		if pool.Decommission == nil {
    			continue
    		}
    		if pool.Decommission.Complete || pool.Decommission.Canceled {
    			// Do not resume decommission upon startup for
    			// - decommission complete
    			// - decommission canceled
    			continue
    		} // In all other situations we need to resume
    		newPools = append(newPools, pool)
    	}
    	return newPools
    }
    
    func (p *poolMeta) DecommissionComplete(idx int) bool {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 41.3K bytes
    - Viewed (1)
  8. cmd/metacache-set.go

    	Prefix string
    
    	// FilterPrefix will return only results with this prefix when scanning.
    	// Should never contain a slash.
    	// Prefix should still be set.
    	FilterPrefix string
    
    	// Marker to resume listing.
    	// The response will be the first entry >= this object name.
    	Marker string
    
    	// Limit the number of results.
    	Limit int
    
    	// The number of disks to ask.
    	AskDisks string
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 19:52:52 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/ReactorReader.java

        }
    
        /**
         * Copy packaged and attached artifacts from this project to the
         * project local repository.
         * This allows a subsequent build to resume while still being able
         * to locate attached artifacts.
         *
         * @param project the project to copy artifacts from
         */
        private void installIntoProjectLocalRepository(MavenProject project) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

        // Pause in step 2.
        step2Waiter.awaitStarted();
    
        // Everything should still be open.
        assertStillOpen(closeable1, closeable2, closeable3, closeable4);
    
        // Cancel step 3, resume step 2, and pause in step 4.
        assertWithMessage("step3.cancel()").that(step3.cancel(false)).isTrue();
        step2Waiter.awaitReturned();
        step4Waiter.awaitStarted();
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 75.3K bytes
    - Viewed (0)
Back to top