Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 92 for COMPLETED (0.08 seconds)

  1. samples/guide/src/main/java/okhttp3/recipes/kt/UploadProgress.kt

                if (!completed) {
                  completed = true
                  progressListener.update(totalBytesWritten, contentLength(), completed)
                }
              }
            }
    
          val bufferedSink = forwardingSink.buffer()
          delegate.writeTo(bufferedSink)
          bufferedSink.flush()
        }
      }
    
      fun interface ProgressListener {
        fun update(
          bytesWritten: Long,
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Aug 30 17:01:12 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  2. cmd/bucket-replication-utils.go

    	if len(ri.Targets) == 0 {
    		return replication.StatusType("")
    	}
    	completed := 0
    	for _, v := range ri.Targets {
    		switch v.ReplicationStatus {
    		case replication.Failed:
    			return replication.Failed
    		case replication.Completed:
    			completed++
    		}
    	}
    	if completed == len(ri.Targets) {
    		return replication.Completed
    	}
    	return replication.Pending
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 26.1K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

        assertSame(defaultThread.getThreadGroup(), thread.getThreadGroup());
        assertSame(defaultThread.getUncaughtExceptionHandler(), thread.getUncaughtExceptionHandler());
    
        assertFalse(completed);
        thread.start();
        thread.join();
        assertTrue(completed);
    
        // Creating a new thread from the same ThreadFactory will have the same
        // pool ID but a thread ID of 2.
        Thread thread2 = threadFactory.newThread(monitoredRunnable);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:07:52 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

        assertSame(defaultThread.getThreadGroup(), thread.getThreadGroup());
        assertSame(defaultThread.getUncaughtExceptionHandler(), thread.getUncaughtExceptionHandler());
    
        assertFalse(completed);
        thread.start();
        thread.join();
        assertTrue(completed);
    
        // Creating a new thread from the same ThreadFactory will have the same
        // pool ID but a thread ID of 2.
        Thread thread2 = threadFactory.newThread(monitoredRunnable);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:07:52 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  5. tests/test_dependency_contextmanager.py

        state["/async"] = "asyncgen started"
        yield state["/async"]
        state["/async"] = "asyncgen completed"
    
    
    def generator_state(state: dict[str, str] = Depends(get_state)):
        state["/sync"] = "generator started"
        yield state["/sync"]
        state["/sync"] = "generator completed"
    
    
    async def asyncgen_state_try(state: dict[str, str] = Depends(get_state)):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  6. samples/guide/src/main/java/okhttp3/recipes/UploadProgress.java

              super.close();
              if (!completed) {
                completed = true;
                progressListener.update(totalBytesWritten, contentLength(), completed);
              }
            }
          };
        }
      }
    
      interface ProgressListener {
        void update(long bytesWritten, long contentLength, boolean done);
      }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Aug 30 17:01:12 GMT 2025
    - 4.2K bytes
    - Click Count (1)
  7. cmd/bucket-stats.go

    }
    
    // BucketReplicationStats represents inline replication statistics
    // such as pending, failed and completed bytes in total for a bucket
    type BucketReplicationStats struct {
    	Stats map[string]*BucketReplicationStat `json:",omitempty"`
    	// Completed size in bytes
    	ReplicatedSize int64 `json:"completedReplicationSize"`
    	// Total Replica size in bytes
    	ReplicaSize int64 `json:"replicaSize"`
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/Exchange.kt

            throw complete(e)!!
          }
        }
    
        /** If [e] is non-null, this will return a non-null value. */
        private fun complete(e: IOException?): IOException? {
          if (completed) return e
          completed = true
          return bodyComplete(
            bytesRead = bytesReceived,
            isSocket = isSocket,
            requestDone = true,
            e = e,
          )
        }
      }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Nov 05 18:28:35 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  9. docs/recipes.md

                    if (!completed) {
                      completed = true
                      progressListener.update(totalBytesWritten, contentLength(), completed)
                    }
                  }
                }
    
                val bufferedSink = forwardingSink.buffer()
                delegate.writeTo(bufferedSink)
                bufferedSink.flush()
              }
            }
    
            fun interface ProgressListener {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Aug 30 17:01:12 GMT 2025
    - 47.8K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/StrategyOrchestrator.java

                context.success("Strategy completed successfully");
                context.indent();
                context.info("Processed: " + result.processedPoms().size() + " POMs");
                context.success("Modified: " + result.modifiedPoms().size() + " POMs");
                context.unindent();
            } else {
                context.info("Strategy completed (no changes needed)");
                context.indent();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 7K bytes
    - Click Count (0)
Back to Top