Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,220 for done (0.13 sec)

  1. cmd/erasure.go

    	if maxProcs < len(disks) {
    		disks = disks[:maxProcs]
    	}
    
    	// Start one scanner per disk
    	var wg sync.WaitGroup
    	wg.Add(len(disks))
    
    	for i := range disks {
    		go func(i int) {
    			defer wg.Done()
    			disk := disks[i]
    
    			for bucket := range bucketCh {
    				select {
    				case <-ctx.Done():
    					return
    				default:
    				}
    
    				// Load cache for bucket
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 16K bytes
    - Viewed (1)
  2. src/cmd/cgo/internal/test/issue1435.go

    // #include <unistd.h>
    // #include <sys/types.h>
    //
    // pthread_t *t = NULL;
    // pthread_mutex_t mu;
    // int nts = 0;
    // int all_done = 0;
    //
    // static void *aFn(void *vargp) {
    //   int done = 0;
    //   while (!done) {
    //     usleep(100);
    //     pthread_mutex_lock(&mu);
    //     done = all_done;
    //     pthread_mutex_unlock(&mu);
    //   }
    //   return NULL;
    // }
    //
    // void trial(int argc) {
    //   int i;
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Jul 28 21:31:41 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  3. internal/grid/muxserver.go

    	for {
    		// Process outgoing message.
    		var payload []byte
    		var ok bool
    		select {
    		case payload, ok = <-toSend:
    		case <-ctx.Done():
    			return
    		}
    		select {
    		case <-ctx.Done():
    			return
    		case <-outBlock:
    		}
    		msg := message{
    			MuxID: m.ID,
    			Op:    OpMuxServerMsg,
    			Flags: c.baseFlags,
    		}
    		if !ok {
    			hErr := handlerErr.Load()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  4. internal/logger/target/kafka/kafka_scram_client_contrib.go

    func (x *XDGSCRAMClient) Step(challenge string) (response string, err error) {
    	response, err = x.ClientConversation.Step(challenge)
    	return
    }
    
    // Done returns true if the conversation is completed or has errored.
    func (x *XDGSCRAMClient) Done() bool {
    	return x.ClientConversation.Done()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Nov 09 04:04:01 GMT 2023
    - 3.3K bytes
    - Viewed (1)
  5. src/main/java/org/codelibs/fess/helper/DataIndexHelper.java

                    if (!dataCrawlingThreadList.get(i).isRunning() && Constants.RUNNING.equals(dataCrawlingThreadStatusList.get(i))) {
                        dataCrawlingThreadStatusList.set(i, Constants.DONE);
                    }
                    if (!Constants.DONE.equals(dataCrawlingThreadStatusList.get(i))) {
                        finishedAll = false;
                    }
                }
            }
            dataCrawlingThreadList.clear();
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 12K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/MacHashFunction.java

          checkNotDone();
          checkNotNull(bytes);
          mac.update(bytes);
        }
    
        private void checkNotDone() {
          checkState(!done, "Cannot re-use a Hasher after calling hash() on it");
        }
    
        @Override
        public HashCode hash() {
          checkNotDone();
          done = true;
          return HashCode.fromBytesNoCopy(mac.doFinal());
        }
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 15 22:31:55 GMT 2022
    - 3.6K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/testing/GcFinalization.java

        do {
          System.runFinalization();
          if (predicate.isDone()) {
            return;
          }
          CountDownLatch done = new CountDownLatch(1);
          createUnreachableLatchFinalizer(done);
          await(done);
          if (predicate.isDone()) {
            return;
          }
        } while (System.nanoTime() - deadline < 0);
        throw formatRuntimeException(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  8. cmd/bucket-replication.go

    	}
    	go func() {
    		<-p.ctx.Done()
    		for i := 0; i < LargeWorkerCount; i++ {
    			xioutil.SafeClose(p.lrgworkers[i])
    		}
    	}()
    }
    
    // AddLargeWorker adds a replication worker to the static pool for large uploads.
    func (p *ReplicationPool) AddLargeWorker(input <-chan ReplicationWorkerOperation) {
    	for {
    		select {
    		case <-p.ctx.Done():
    			return
    		case oi, ok := <-input:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  9. android/guava/src/com/google/common/util/concurrent/ListenableFutureTask.java

    /**
     * A {@link FutureTask} that also implements the {@link ListenableFuture} interface. Unlike {@code
     * FutureTask}, {@code ListenableFutureTask} does not provide an overrideable {@link
     * FutureTask#done() done()} method. For similar functionality, call {@link #addListener}.
     *
     * <p>Few users should use this class. It is intended primarily for those who are implementing an
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

        public volatile boolean done = false;
    
        public void run() {
          try {
            delay(LONG_DELAY_MS);
            done = true;
          } catch (InterruptedException ok) {
          }
        }
      }
    
      public static class TrackedNoOpRunnable implements Runnable {
        public volatile boolean done = false;
    
        public void run() {
          done = true;
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.2K bytes
    - Viewed (0)
Back to top