Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 487 for Never (0.05 sec)

  1. guava/src/com/google/common/cache/CacheLoader.java

       *
       * <p>The returned object is serializable if {@code function} is serializable.
       *
       * @param function the function to be used for loading values; must never return {@code null}
       * @return a cache loader that loads values by passing each key to {@code function}
       */
      public static <K, V> CacheLoader<K, V> from(Function<K, V> function) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

         *
         * Both scenarios are bad: The output Future might never complete, or, if it does complete, it
         * might not run some of its listeners. The likely result is that the app will hang. (And of
         * course stack overflows are bad news in general. For example, we may have overflowed in the
         * middle of defining a class. If so, that class will never be loadable in this process.) The
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 20 18:03:37 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbFileInputStreamTest.java

    import static org.mockito.Mockito.atLeastOnce;
    import static org.mockito.Mockito.doAnswer;
    import static org.mockito.Mockito.doThrow;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.never;
    import static org.mockito.Mockito.times;
    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.when;
    
    import java.io.IOException;
    import java.io.InterruptedIOException;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/Task.kt

     * decide not to by returning -1L.
     *
     * Task Queues
     * -----------
     *
     * Tasks are bound to the [TaskQueue] they are scheduled in. Each queue is sequential and the tasks
     * within it never execute concurrently. It is an error to use a task in multiple queues.
     */
    abstract class Task(
      val name: String,
      val cancelable: Boolean = true,
    ) {
      // Guarded by the TaskRunner.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/SneakyThrows.java

       * Throwable}. But we <i>can</i> write {@code sneakyThrow(t);}.
       *
       * <p>We sometimes also use {@code sneakyThrow} for testing how our code responds to
       * sneaky checked exception.
       *
       * @return never; this method declares a return type of {@link Error} only so that callers can
       *     write {@code throw sneakyThrow(t);} to convince the compiler that the statement will always
       *     throw.
       */
      @CanIgnoreReturnValue
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Dec 30 18:44:22 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/SneakyThrows.java

       * Throwable}. But we <i>can</i> write {@code sneakyThrow(t);}.
       *
       * <p>We sometimes also use {@code sneakyThrow} for testing how our code responds to
       * sneaky checked exception.
       *
       * @return never; this method declares a return type of {@link Error} only so that callers can
       *     write {@code throw sneakyThrow(t);} to convince the compiler that the statement will always
       *     throw.
       */
      @CanIgnoreReturnValue
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Feb 03 21:52:39 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  7. compat/maven-builder-support/src/main/java/org/apache/maven/building/StringSource.java

        }
    
        @Override
        public String getLocation() {
            return location;
        }
    
        /**
         * Gets the content of this source.
         *
         * @return The underlying character stream, never {@code null}.
         */
        public String getContent() {
            return content;
        }
    
        @Override
        public String toString() {
            return getLocation();
        }
    
        @Override
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 15 18:51:29 UTC 2025
    - 3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableCollection.java

     *
     * <ul>
     *   <li><b>Shallow immutability.</b> Elements can never be added, removed or replaced in this
     *       collection. This is a stronger guarantee than that of {@link
     *       Collections#unmodifiableCollection}, whose contents change whenever the wrapped collection
     *       is modified.
     *   <li><b>Null-hostility.</b> This collection will never contain a null element.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/SetEqualsTester.java

        assertFalse(
            "Sets of different sizes should not be equal.",
            getSet().equals(MinimalSet.from(moreElements)));
      }
    
      public void testEquals_list() {
        assertFalse("A List should never equal a Set.", getSet().equals(copyToList(getSet())));
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/SetEqualsTester.java

        assertFalse(
            "Sets of different sizes should not be equal.",
            getSet().equals(MinimalSet.from(moreElements)));
      }
    
      public void testEquals_list() {
        assertFalse("A List should never equal a Set.", getSet().equals(copyToList(getSet())));
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top