Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 3,055 for Done (0.14 sec)

  1. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

        // the listener.
        executeListener(listener, executor);
      }
    
      /**
       * Sets the result of this {@code Future} unless this {@code Future} has already been cancelled or
       * set (including {@linkplain #setFuture set asynchronously}). When a call to this method returns,
       * the {@code Future} is guaranteed to be {@linkplain #isDone done} <b>only if</b> the call was
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

          for (; ; ) {
            boolean done = true;
            for (int i = 0; i < aa.length(); i++) {
              double v = aa.get(i);
              assertTrue(v >= 0);
              if (v != 0) {
                done = false;
                if (aa.compareAndSet(i, v, v - 1.0)) {
                  ++counts;
                }
              }
            }
            if (done) {
              break;
            }
          }
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 10K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/Futures.java

       * expect, but there are some subtleties. First, we do guarantee that, if the output future at
       * index n is done, the output future at index n-1 is also done. (But as usual with futures, some
       * listeners for future n may complete before some for future n-1.) However, it is possible, if
       * one input completes with result X and another later with result Y, for Y to come before X in
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  4. cni/pkg/nodeagent/ztunnelserver.go

    	req := updateRequest{
    		Update: data,
    		Fd:     fd,
    		Resp:   ret,
    	}
    	select {
    	case z.Updates <- req:
    	case <-ctx.Done():
    		return nil, ctx.Err()
    	}
    
    	select {
    	case r := <-ret:
    		return r.resp, r.err
    	case <-ctx.Done():
    		return nil, ctx.Err()
    	}
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  5. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java

        String SELF_COMBINATION_REMOVE = "remove";
    
        /**
         * In case of complex XML structures, combining can be done based on id.
         */
        String ID_COMBINATION_MODE_ATTRIBUTE = "combine.id";
    
        /**
         * In case of complex XML structures, combining can be done based on keys.
         * This is a comma separated list of attribute names.
         */
        String KEYS_COMBINATION_MODE_ATTRIBUTE = "combine.keys";
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Nov 27 23:11:34 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  6. bin/update_proxy.sh

    until curl --output /dev/null --silent --head --fail "$ISTIO_ENVOY_RELEASE_URL"; do
        printf '.'
        sleep $SLEEP_TIME
    done
    printf '\n'
    
    printf "Verifying %s is available\n" "$ISTIO_ENVOY_ARM_RELEASE_URL"
    until curl --output /dev/null --silent --head --fail "$ISTIO_ENVOY_ARM_RELEASE_URL"; do
        printf '.'
        sleep $SLEEP_TIME
    done
    printf '\n'
    
    # Update the dependency in istio.deps
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Aug 28 07:59:44 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  7. internal/logger/target/kafka/kafka.go

    	h.store = queueStore
    	h.storeCtxCancel = cancel
    	store.StreamItems(h.store, h, ctx.Done(), h.kconfig.LogOnce)
    	return
    }
    
    func (h *Target) startKafkaLogger() {
    	h.logChMu.RLock()
    	logCh := h.logCh
    	if logCh != nil {
    		// We are not allowed to add when logCh is nil
    		h.wg.Add(1)
    		defer h.wg.Done()
    
    	}
    	h.logChMu.RUnlock()
    
    	if logCh == nil {
    		return
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 10.1K bytes
    - Viewed (1)
  8. doc/go_mem.html

    </p>
    
    <pre>
    var a string
    var done bool
    
    func setup() {
    	a = "hello, world"
    	done = true
    }
    
    func doprint() {
    	if !done {
    		once.Do(setup)
    	}
    	print(a)
    }
    
    func twoprint() {
    	go doprint()
    	go doprint()
    }
    </pre>
    
    <p>
    but there is no guarantee that, in <code>doprint</code>, observing the write to <code>done</code>
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Mar 04 15:54:42 GMT 2024
    - 26.6K bytes
    - Viewed (0)
  9. cni/pkg/nodeagent/cni-watcher.go

    	if err != nil {
    		return fmt.Errorf("failed to create CNI listener: %v", err)
    	}
    	go func() {
    		err := s.cniListenServer.Serve(unixListener)
    
    		select {
    		case <-s.ctx.Done():
    			// ctx done, we should silently go away
    			return
    		default:
    			// If the cniListener exits, at least we should record an error log
    			log.Errorf("CNI listener server exiting unexpectedly: %v", err)
    		}
    	}()
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Feb 08 18:52:24 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/graph/TraverserTest.java

        assertEqualCharNodes(Iterables.limit(result, 2), "ab");
        assertThat(graph.requestedNodes).containsExactly('a', 'a', 'b');
    
        // Iterate again to see if calculation is done again
        assertEqualCharNodes(Iterables.limit(result, 2), "ab");
        assertThat(graph.requestedNodes).containsExactly('a', 'a', 'a', 'b', 'b');
      }
    
      @Test
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 47.5K bytes
    - Viewed (0)
Back to top