Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 814 for cdone (0.03 sec)

  1. mockwebserver/src/test/java/mockwebserver3/CustomDispatcherTest.kt

        // First response is still waiting.
        assertThat(firstResponseCode.get()).isEqualTo(0)
        // Second response is done.
        assertThat(secondResponseCode.get()).isEqualTo(200)
        latch.countDown()
        startsFirst.join()
        // And now it's done!
        assertThat(firstResponseCode.get()).isEqualTo(200)
        // (Still done).
        assertThat(secondResponseCode.get()).isEqualTo(200)
      }
    
      private fun buildRequestThread(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

       * done.
       */
      public static final class DeferredCloser {
        @RetainedWith private final CloseableList list;
    
        DeferredCloser(CloseableList list) {
          this.list = list;
        }
    
        /**
         * Captures an object to be closed when a {@link ClosingFuture} pipeline is done.
         *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 08 19:36:35 UTC 2024
    - 98.5K bytes
    - Viewed (0)
  3. buildscripts/verify-healing.sh

    		test $foundFiles1 -eq $foundFiles2
    		v2=$?
    		[ $v1 == 0 -a $v2 == 0 ] && return 0
    		sleep 10
    	done
    	return 1
    }
    
    function purge() {
    	rm -rf "$1"
    }
    
    function fail() {
    	for i in $(seq 1 3); do
    		echo "server$i log:"
    		cat "${WORK_DIR}/dist-minio-server$i.log"
    	done
    	pkill -9 minio
    	echo "FAILED"
    	purge "$WORK_DIR"
    	exit 1
    }
    
    function __init__() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/Platform.java

     *
     * <p>This class is emulated in GWT.
     *
     * @author Hayward Chan
     */
    @GwtCompatible
    final class Platform {
      static <T> T[] clone(T[] array) {
        return array.clone();
      }
    
      // Class.cast is not supported in GWT.  This method is a no-op in GWT.
      static void checkCast(Class<?> clazz, Object obj) {
        Object unused = clazz.cast(obj);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Aug 04 01:39:13 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  5. internal/ringbuffer/ring_buffer_test.go

    	done := make(chan error)
    	go func() {
    		defer close(done)
    		_, err := rb.Write([]byte("hello"))
    		if err != nil {
    			t.Errorf("got error: %q; expected none", err)
    		}
    		rb.CloseWriter()
    		_, err = rb.Write([]byte("world"))
    		done <- err
    		err = rb.WriteByte(0)
    		done <- err
    		_, err = rb.TryWrite([]byte("world"))
    		done <- err
    		err = rb.TryWriteByte(0)
    		done <- err
    	}()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/JdkFutureAdapters.java

          // When a listener is first added, we run a task that will wait for the delegate to finish,
          // and when it is done will run the listeners.
          if (hasListeners.compareAndSet(false, true)) {
            if (delegate.isDone()) {
              // If the delegate is already done, run the execution list immediately on the current
              // thread.
              executionList.execute();
              return;
            }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  7. cmd/bucket-replication.go

    	for i := 0; i < resyncParallelRoutines; i++ {
    		wg.Add(1)
    		workers[i] = make(chan ReplicateObjectInfo, 100)
    		i := i
    		go func(ctx context.Context, idx int) {
    			defer wg.Done()
    			for roi := range workers[idx] {
    				select {
    				case <-ctx.Done():
    					return
    				case <-s.resyncCancelCh:
    				default:
    				}
    				traceFn := s.trace(tgt.ResetID, fmt.Sprintf("%s/%s (%s)", opts.bucket, roi.Name, roi.VersionID))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
  8. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/Parameter.java

            this.since = since;
        }
    
        /**
         * Creates a shallow copy of this parameter.
         */
        @Override
        public Parameter clone() {
            try {
                return (Parameter) super.clone();
            } catch (CloneNotSupportedException e) {
                throw new UnsupportedOperationException(e);
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  9. cmd/batch-handlers.go

    	}
    
    	switch ri.Version {
    	case batchReplVersionV1:
    	default:
    		return fmt.Errorf("unexpected batch %s meta version: %d", ri.JobType, ri.Version)
    	}
    
    	return nil
    }
    
    func (ri *batchJobInfo) clone() *batchJobInfo {
    	ri.mu.RLock()
    	defer ri.mu.RUnlock()
    
    	return &batchJobInfo{
    		Version:          ri.Version,
    		JobID:            ri.JobID,
    		JobType:          ri.JobType,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  10. docs/bucket/replication/sio-error.sh

    	args1+=("http://localhost:$((9000 + i))/tmp/xl/1/$i ")
    	args2+=("http://localhost:$((9100 + i))/tmp/xl/2/$i ")
    done
    
    for i in $(seq 1 $NODES); do
    	./minio server --address "127.0.0.1:$((9000 + i))" ${args1[@]} & # | tee /tmp/minio/node.$i &
    	./minio server --address "127.0.0.1:$((9100 + i))" ${args2[@]} & # | tee /tmp/minio/node.$i &
    done
    
    sleep 10
    
    ./mc alias set myminio1 http://localhost:9001 minioadmin minioadmin
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat May 18 18:19:01 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top