Search Options

Results per page
Sort
Preferred Languages
Advance

Results 511 - 520 of 4,444 for returned (0.07 sec)

  1. guava/src/com/google/common/collect/TopKSelector.java

        }
      }
    
      /**
       * Returns the top {@code k} elements offered to this {@code TopKSelector}, or all elements if
       * fewer than {@code k} have been offered, in the order specified by the factory used to create
       * this {@code TopKSelector}.
       *
       * <p>The returned list is an unmodifiable copy and will not be affected by further changes to
       * this {@code TopKSelector}. This method returns in O(k log k) time.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  2. cmd/namespace-lock.go

    type LockContext struct {
    	ctx    context.Context
    	cancel context.CancelFunc
    }
    
    // Context returns lock context
    func (l LockContext) Context() context.Context {
    	return l.ctx
    }
    
    // Cancel function calls cancel() function
    func (l LockContext) Cancel() {
    	if l.cancel != nil {
    		l.cancel()
    	}
    }
    
    // newNSLock - return a new name space lock map.
    func newNSLock(isDistErasure bool) *nsLockMap {
    	nsMutex := nsLockMap{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

          latch.countDown();
        }
    
        boolean awaitClosed() {
          return awaitUninterruptibly(latch, 10, SECONDS);
        }
    
        boolean stillOpen() {
          return !awaitUninterruptibly(latch, 1, SECONDS);
        }
    
        @Override
        public String toString() {
          return name;
        }
      }
    
      static final class Waiter {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 75.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableSortedMultiset.java

      }
    
      /**
       * Returns the empty immutable sorted multiset.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
      @SuppressWarnings("unchecked")
      public static <E> ImmutableSortedMultiset<E> of() {
        return (ImmutableSortedMultiset) RegularImmutableSortedMultiset.NATURAL_EMPTY_MULTISET;
      }
    
      /** Returns an immutable sorted multiset containing a single element. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 29.5K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/path-params.md

    {* ../../docs_src/path_params/tutorial005.py hl[20] *}
    
    /// tip
    
    You could also access the value `"lenet"` with `ModelName.lenet.value`.
    
    ///
    
    #### Return *enumeration members* { #return-enumeration-members }
    
    You can return *enum members* from your *path operation*, even nested in a JSON body (e.g. a `dict`).
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:29:01 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

          ListenableFuture<? extends O> output = function.apply(input);
          checkNotNull(
              output,
              "AsyncFunction.apply returned null instead of a Future. "
                  + "Did you mean to return immediateFuture(null)? %s",
              function);
          return output;
        }
    
        @Override
        void setResult(ListenableFuture<? extends O> result) {
          setFuture(result);
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 20 18:03:37 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableRangeMap.java

        return CollectCollectors.toImmutableRangeMap(keyFunction, valueFunction);
      }
    
      /**
       * Returns an empty immutable range map.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
      @SuppressWarnings("unchecked")
      public static <K extends Comparable<?>, V> ImmutableRangeMap<K, V> of() {
        return (ImmutableRangeMap<K, V>) EMPTY;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  8. src/archive/tar/common.go

    func (fi headerFileInfo) ModTime() time.Time { return fi.h.ModTime }
    func (fi headerFileInfo) Sys() any           { return fi.h }
    
    // Name returns the base name of the file.
    func (fi headerFileInfo) Name() string {
    	if fi.IsDir() {
    		return path.Base(path.Clean(fi.h.Name))
    	}
    	return path.Base(fi.h.Name)
    }
    
    // Mode returns the permission and mode bits for the headerFileInfo.
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Sep 13 21:03:27 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

          ListenableFuture<? extends O> output = function.apply(input);
          checkNotNull(
              output,
              "AsyncFunction.apply returned null instead of a Future. "
                  + "Did you mean to return immediateFuture(null)? %s",
              function);
          return output;
        }
    
        @Override
        void setResult(ListenableFuture<? extends O> result) {
          setFuture(result);
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 20 18:03:37 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/collection/CollectionsUtil.java

         *
         * @param <E> the element type of {@link HashSet}
         * @param c the collection of elements to be placed in the set
         * @return a new instance of {@link HashSet}
         * @see HashSet#HashSet()
         */
        public static <E> HashSet<E> newHashSet(final Collection<? extends E> c) {
            return new HashSet<>(c);
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 49.9K bytes
    - Viewed (0)
Back to top