Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 5,067 for rreturn (0.04 sec)

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

          if (c.isEmpty()) {
            return defaultValue;
          } else if (iterable instanceof List) {
            return getLastInNonemptyList((List<? extends T>) iterable);
          } else if (iterable instanceof SortedSet) {
            return ((SortedSet<? extends T>) iterable).last();
          }
        }
    
        return Iterators.getLast(iterable.iterator(), defaultValue);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 43.3K bytes
    - Viewed (0)
  2. cmd/object-handlers-common.go

    	// use mtime < t+1s instead of mtime <= t to check for unmodified.
    	return !objTime.Before(givenTime.Add(1 * time.Second))
    }
    
    // canonicalizeETag returns ETag with leading and trailing double-quotes removed,
    // if any present
    func canonicalizeETag(etag string) string {
    	return etagRegex.ReplaceAllString(etag, "$1")
    }
    
    // isETagEqual return true if the canonical representations of two ETag strings
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jul 23 12:36:06 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/ValueGraphBuilder.java

        super(directed);
      }
    
      /** Returns a {@link ValueGraphBuilder} for building directed graphs. */
      public static ValueGraphBuilder<Object, Object> directed() {
        return new ValueGraphBuilder<>(true);
      }
    
      /** Returns a {@link ValueGraphBuilder} for building undirected graphs. */
      public static ValueGraphBuilder<Object, Object> undirected() {
        return new ValueGraphBuilder<>(false);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Iterators.java

          return result;
        }
        return new UnmodifiableIterator<T>() {
          @Override
          public boolean hasNext() {
            return iterator.hasNext();
          }
    
          @Override
          @ParametricNullness
          public T next() {
            return iterator.next();
          }
        };
      }
    
      /**
       * Simply returns its argument.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 50.5K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

        Monitor monitor = this.monitor;
        monitor.enter();
        try {
          return q.peek();
        } finally {
          monitor.leave();
        }
      }
    
      /**
       * Returns the comparator used to order the elements in this queue, or {@code null} if this queue
       * uses the {@linkplain Comparable natural ordering} of its elements.
       *
       * @return the comparator used to order the elements in this queue, or {@code null} if this queue
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/lang/ClassUtil.java

            if (StringUtil.isEmpty(s1) && StringUtil.isEmpty(s2)) {
                return null;
            }
            if (!StringUtil.isEmpty(s1) && StringUtil.isEmpty(s2)) {
                return s1;
            }
            if (StringUtil.isEmpty(s1) && !StringUtil.isEmpty(s2)) {
                return s2;
            }
            return s1 + '.' + s2;
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/AbstractExecutionThreadService.java

       * to the string returned by {@link #serviceName}
       */
      protected Executor executor() {
        return command -> newThread(serviceName(), command).start();
      }
    
      @Override
      public String toString() {
        return serviceName() + " [" + state() + "]";
      }
    
      @Override
      public final boolean isRunning() {
        return delegate.isRunning();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/CharMatcher.java

        switch (totalCharacters) {
          case 0:
            return none();
          case 1:
            return is((char) table.nextSetBit(0));
          case 2:
            char c1 = (char) table.nextSetBit(0);
            char c2 = (char) table.nextSetBit(c1 + 1);
            return isEither(c1, c2);
          default:
            return isSmall(totalCharacters, table.length())
                ? SmallCharMatcher.from(table, description)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 53.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Predicates.java

          if (obj instanceof InPredicate) {
            InPredicate<?> that = (InPredicate<?>) obj;
            return target.equals(that.target);
          }
          return false;
        }
    
        @Override
        public int hashCode() {
          return target.hashCode();
        }
    
        @Override
        public String toString() {
          return "Predicates.in(" + target + ")";
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/base/FessLoginAction.java

            super();
        }
    
        /**
         * Returns the appropriate HTML response for login handling.
         * If a user is already authenticated, redirects to the appropriate admin interface.
         * Otherwise, displays the login page.
         *
         * @return HTML response for login page or redirect to admin interface
         */
        protected HtmlResponse getHtmlResponse() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.6K bytes
    - Viewed (0)
Back to top