Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for loop (0.14 sec)

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

                    // Remove the waiter, one way or another we are done parking this thread.
                    removeWaiter(node);
                    break long_wait_loop; // jump down to the busy wait loop
                  }
                }
              }
              oldHead = waiters; // re-read and loop.
            } while (oldHead != Waiter.TOMBSTONE);
          }
          // re-read value, if we get here then we must have observed a TOMBSTONE while trying to add a
    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/src/com/google/common/collect/Iterators.java

       * iterable}. The iterator's {@code hasNext()} method returns {@code true} until {@code iterable}
       * is empty.
       *
       * <p><b>Warning:</b> Typical uses of the resulting iterator may produce an infinite loop. You
       * should use an explicit {@code break} or be certain that you will eventually remove all the
       * elements.
       */
      public static <T extends @Nullable Object> Iterator<T> cycle(Iterable<T> iterable) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
  3. cmd/erasure-object.go

    		}
    
    		written, err := erasure.Decode(ctx, writer, readers, partOffset, partLength, partSize, prefer)
    		// Note: we should not be defer'ing the following closeBitrotReaders() call as
    		// we are inside a for loop i.e if we use defer, we would accumulate a lot of open files by the time
    		// we return from this function.
    		closeBitrotReaders(readers)
    		if err != nil {
    			// If we have successfully written all the content that was asked
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  4. android/guava/src/com/google/common/collect/Sets.java

       *   <li>{@code ImmutableList.of(2, "C")}
       * </ul>
       *
       * <p>The result is guaranteed to be in the "traditional", lexicographical order for Cartesian
       * products that you would get from nesting for loops:
       *
       * <pre>{@code
       * for (B b0 : sets.get(0)) {
       *   for (B b1 : sets.get(1)) {
       *     ...
       *     ImmutableList<B> tuple = ImmutableList.of(b0, b1, ...);
       *     // operate on tuple
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  5. .bazelrc

    # WARNING: THESE OPTIONS WONT WORK IF YOU DO NOT HAVE PROPER AUTHENTICATION AND PERMISSIONS
    
    # Use --config=tf_public_cache to try and use the TensorFlow public build cache
    # to build TensorFlow. Look at ci/official/envs to find which types of jobs
    # push to the cache.  For macOS, use --config=tf_public_macos_cache
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu May 02 19:34:20 GMT 2024
    - 52.8K bytes
    - Viewed (2)
  6. cmd/xl-storage.go

    	if pathName == "." || pathName == ".." || pathName == slashSeparator {
    		return errFileAccessDenied
    	}
    
    	// Check each path segment length is > 255 on all Unix
    	// platforms, look for this value as NAME_MAX in
    	// /usr/include/linux/limits.h
    	var count int64
    	for _, p := range pathName {
    		switch p {
    		case '/':
    			count = 0 // Reset
    		case '\\':
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  7. cmd/erasure-server-pool.go

    			return z.serverPools[poolIdx].CopyObject(ctx, srcBucket, srcObject, dstBucket, dstObject, srcInfo, srcOpts, dstOpts)
    		}
    		// Destination is versioned, source is not destination version,
    		// as a special case look for if the source object is not legacy
    		// from older format, for older format we will rewrite them as
    		// newer using PutObject() - this is an optimization to save space
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  8. cmd/batch-handlers.go

    	}
    
    	for id, job := range m.metrics {
    		metrics.Jobs[id] = job.metric()
    	}
    	return metrics
    }
    
    // keep job metrics for some time after the job is completed
    // in-case some one wants to look at the older results.
    func (m *batchJobMetrics) purgeJobMetrics() {
    	t := time.NewTicker(6 * time.Hour)
    	defer t.Stop()
    
    	for {
    		select {
    		case <-GlobalContext.Done():
    			return
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  9. cmd/iam-store.go

    			return nil, time.Time{}, err
    		}
    
    		mp, ok = c.iamUserPolicyMap.Load(name)
    		if !ok {
    			// Since user "name" could be a parent user of an STS account, we look up
    			// mappings for those too.
    			mp, ok = c.iamSTSPolicyMap.Load(name)
    			if !ok {
    				// Attempt to load parent user mapping for STS accounts
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  10. cmd/iam.go

    }
    
    // DeletePolicy - deletes a canned policy from backend. `notifyPeers` is true
    // whenever this is called via the API. It is false when called via a
    // notification from another peer. This is to avoid infinite loops.
    func (sys *IAMSys) DeletePolicy(ctx context.Context, policyName string, notifyPeers bool) error {
    	if !sys.Initialized() {
    		return errServerNotInitialized
    	}
    
    	for _, v := range policy.DefaultPolicies {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
Back to top