Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 107 for COMPLETED (0.14 sec)

  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,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  2. 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);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/rdma/RdmaWorkRequest.java

            return memoryRegion;
        }
    
        /**
         * Check if request is completed
         *
         * @return true if completed, false otherwise
         */
        public boolean isCompleted() {
            return completed;
        }
    
        /**
         * Mark request as completed
         */
        public void markCompleted() {
            this.completed = true;
        }
    
        /**
         * Mark request as failed with error
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  4. 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
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 26K bytes
    - Viewed (0)
  5. 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"`
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

          assertTrue(queue.offer("blocksPutCallsUntilRemoved"));
          this.completed = new Completion(countdownInMillis);
          scheduleEnableWrites(this.queue, countdownInMillis);
        }
    
        /** Perform a {@code put} and assert that operation completed in the expected timeframe. */
        void putSuccessfully() {
          putUninterruptibly(queue, "");
          completed.assertCompletionExpected();
          assertEquals("", queue.peek());
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 31.7K bytes
    - Viewed (0)
  7. 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);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  8. docs/recipes.md

                    if (!completed) {
                      completed = true
                      progressListener.update(totalBytesWritten, contentLength(), completed)
                    }
                  }
                }
    
                val bufferedSink = forwardingSink.buffer()
                delegate.writeTo(bufferedSink)
                bufferedSink.flush()
              }
            }
    
            fun interface ProgressListener {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 47.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SpnegoContext.java

            if (!this.completed) {
                throw new CIFSException("Context is not established");
            }
            this.mechContext.verifyMIC(data, mic);
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.smb.SSPContext#isMICAvailable()
         */
        @Override
        public boolean isMICAvailable() {
            if (!this.completed) {
                return false;
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  10. 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);
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 4.2K bytes
    - Viewed (1)
Back to top