Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 887 for Callable (0.03 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/ReflectionFreeAssertThrows.java

    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /** Replacements for JUnit's {@code assertThrows} that work under GWT/J2CL. */
    @GwtCompatible
    @NullMarked
    final class ReflectionFreeAssertThrows {
      interface ThrowingRunnable {
        void run() throws Throwable;
      }
    
      interface ThrowingSupplier {
        @Nullable Object get() throws Throwable;
      }
    
      @CanIgnoreReturnValue
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/IteratorTester.java

    package com.google.common.collect.testing;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.Collections;
    import java.util.Iterator;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A utility for testing an Iterator implementation by comparing its behavior to that of a "known
     * good" reference implementation. In order to accomplish this, it's important to test a great
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  3. tests/migrate_test.go

    		case "bonus":
    			// allow to change non-nullable to nullable
    			if nullable, _ := columnType.Nullable(); !nullable {
    				t.Fatalf("bonus's nullable should be true, bug got %t", nullable)
    			}
    		case "stock":
    			// do not allow to change nullable to non-nullable
    			if nullable, _ := columnType.Nullable(); !nullable {
    				t.Fatalf("stock's nullable should be true, bug got %t", nullable)
    			}
    		}
    	}
    }
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Aug 20 04:51:17 UTC 2025
    - 65.2K bytes
    - Viewed (0)
  4. PULL_REQUESTS_ETIQUETTE.md

    # MinIO Pull Request Guidelines
    
    These guidelines ensure high-quality commits in MinIO’s GitHub repositories, maintaining 
    a clear, valuable commit history for our open-source projects. They apply to all contributors, 
    fostering efficient reviews and robust code.
    
    ## Why Pull Requests?
    
    Pull Requests (PRs) drive quality in MinIO’s codebase by:
    - Enabling peer review without pair programming.
    - Documenting changes for future reference.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun May 25 16:32:03 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java

      public void testPutAllNullForbidden() {
        assertThrows(NullPointerException.class, () -> multimap().putAll(null, singletonList(v3())));
      }
    
      @SuppressWarnings("EmptyList") // ImmutableList doesn't support nullable element types
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPutAllEmptyCollectionOnAbsentKey() {
        assertFalse(multimap().putAll(k3(), Collections.<V>emptyList()));
        expectUnchanged();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/util/OptionalUtil.java

     */
    public class OptionalUtil {
    
        /**
         * Default constructor.
         */
        private OptionalUtil() {
            // Default constructor
        }
    
        /**
         * Creates an OptionalEntity from a nullable entity.
         *
         * @param <T> the type of the entity
         * @param entity the entity (can be null)
         * @return the OptionalEntity
         */
        public static <T> OptionalEntity<T> ofNullable(final T entity) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  7. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSet.java

    import java.util.Collections;
    import java.util.Iterator;
    import java.util.List;
    import java.util.Set;
    import java.util.stream.Collector;
    import jsinterop.annotations.JsMethod;
    import org.jspecify.annotations.Nullable;
    
    /**
     * GWT emulated version of {@link com.google.common.collect.ImmutableSet}. For the unsorted sets,
     * they are thin wrapper around {@link java.util.Collections#emptySet()}, {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  8. api/maven-api-annotations/src/main/java/org/apache/maven/api/annotations/Nonnull.java

     * <p>
     * Annotated fields must not be null after construction has completed.
     * <p>
     * When this annotation is applied to a method it applies to the method return value.
     *
     * @see Nullable
     * @since 4.0.0
     */
    @Experimental
    @Documented
    @Retention(RetentionPolicy.CLASS)
    @Target({ElementType.FIELD, ElementType.PARAMETER, ElementType.METHOD})
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Dec 10 21:43:27 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/TreeMultimapExplicitTest.java

        TreeMultimap<@Nullable String, @Nullable Integer> multimap = createPopulate();
        assertThat(multimap.entries())
            .containsExactly(
                Maps.<@Nullable String, Integer>immutableEntry(null, 7),
                Maps.<@Nullable String, Integer>immutableEntry(null, 3),
                Maps.<@Nullable String, Integer>immutableEntry(null, 1),
                Maps.<String, @Nullable Integer>immutableEntry("tree", null),
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/CollectionFuture.java

      static final class ListFuture<V extends @Nullable Object>
          extends CollectionFuture<V, List<@Nullable V>> {
        ListFuture(
            ImmutableCollection<? extends ListenableFuture<? extends V>> futures,
            boolean allMustSucceed) {
          super(futures, allMustSucceed);
          init();
        }
    
        @Override
        public List<@Nullable V> combine(List<@Nullable Present<V>> values) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.9K bytes
    - Viewed (0)
Back to top