Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 31 for getTask (0.07 sec)

  1. android/guava/src/com/google/common/collect/Iterables.java

      public static <T extends @Nullable Object> T getLast(Iterable<T> iterable) {
        // TODO(kevinb): Support a concurrently modified collection?
        if (iterable instanceof List) {
          List<T> list = (List<T>) iterable;
          if (list.isEmpty()) {
            throw new NoSuchElementException();
          }
          return getLastInNonemptyList(list);
        }
    
        return Iterators.getLast(iterable.iterator());
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 42.8K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java

                        if (isPlexusBean(bean)) {
                            Binding<?> b = new BindingToBeanEntry<>(valueType)
                                    .toBeanEntry(bean)
                                    .prioritize(bean.getRank());
                            String name = bean.getKey() instanceof com.google.inject.name.Named n ? n.value() : "";
                            map.compute(name, (n, ob) -> ob == null || ob.getPriority() < b.getPriority() ? b : ob);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  3. cmd/erasure-healing_test.go

    	setDisks := func(newDisks ...StorageAPI) {
    		objLayer.(*erasureServerPools).serverPools[0].erasureDisksMu.Lock()
    		copy(disks, newDisks)
    		objLayer.(*erasureServerPools).serverPools[0].erasureDisksMu.Unlock()
    	}
    	getDisk := func(n int) StorageAPI {
    		objLayer.(*erasureServerPools).serverPools[0].erasureDisksMu.Lock()
    		disk := disks[n]
    		objLayer.(*erasureServerPools).serverPools[0].erasureDisksMu.Unlock()
    		return disk
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/FluentIterable.java

       *
       * @throws NullPointerException if the last element is null; if this is a possibility, use {@link
       *     Iterables#getLast} instead.
       */
      @SuppressWarnings("nullness") // Unsafe, but we can't do much about it now.
      public final Optional<@NonNull E> last() {
        // Iterables#getLast was inlined here so we don't have to throw/catch a NSEE
    
        // TODO(kevinb): Support a concurrently modified collection?
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 24 13:42:31 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/collection/SLinkedList.java

                throw new NoSuchElementException();
            }
            return getFirstEntry().element;
        }
    
        /**
         * 最後の要素を返します。
         *
         * @return 最後の要素
         */
        public E getLast() {
            if (isEmpty()) {
                throw new NoSuchElementException();
            }
            return getLastEntry().element;
        }
    
        /**
         * 最初のエントリを返します。
         *
         * @return 最初のエントリ
         */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Iterators.java

       * @return the last element of {@code iterator}
       * @since 3.0
       */
      @ParametricNullness
      public static <T extends @Nullable Object> T getLast(
          Iterator<? extends T> iterator, @ParametricNullness T defaultValue) {
        return iterator.hasNext() ? getLast(iterator) : defaultValue;
      }
    
      /**
       * Calls {@code next()} on {@code iterator}, either {@code numberToAdvance} times or until {@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableRangeSet.java

        private final boolean positiveBoundedAbove;
    
        private final int size;
    
        ComplementRanges() {
          this.positiveBoundedBelow = ranges.get(0).hasLowerBound();
          this.positiveBoundedAbove = Iterables.getLast(ranges).hasUpperBound();
    
          int size = ranges.size() - 1;
          if (positiveBoundedBelow) {
            size++;
          }
          if (positiveBoundedAbove) {
            size++;
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 27K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Synchronized.java

        @Override
        public E getFirst() {
          synchronized (mutex) {
            return delegate().getFirst();
          }
        }
    
        @Override
        public E getLast() {
          synchronized (mutex) {
            return delegate().getLast();
          }
        }
    
        @Override
        @CheckForNull
        public E peekFirst() {
          synchronized (mutex) {
            return delegate().peekFirst();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Synchronized.java

        @Override
        public E getFirst() {
          synchronized (mutex) {
            return delegate().getFirst();
          }
        }
    
        @Override
        public E getLast() {
          synchronized (mutex) {
            return delegate().getLast();
          }
        }
    
        @Override
        @CheckForNull
        public E peekFirst() {
          synchronized (mutex) {
            return delegate().peekFirst();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 57.2K bytes
    - Viewed (0)
  10. okhttp/api/okhttp.api

    }
    
    public final class okhttp3/CertificatePinner$Pin {
    	public fun <init> (Ljava/lang/String;Ljava/lang/String;)V
    	public fun equals (Ljava/lang/Object;)Z
    	public final fun getHash ()Lokio/ByteString;
    	public final fun getHashAlgorithm ()Ljava/lang/String;
    	public final fun getPattern ()Ljava/lang/String;
    	public fun hashCode ()I
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 70.2K bytes
    - Viewed (0)
Back to top