Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 191 - 200 of 472 for Generic (0.07 seconds)

  1. guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java

    import java.lang.reflect.Method;
    import java.util.ConcurrentModificationException;
    import java.util.Iterator;
    import java.util.List;
    import org.jspecify.annotations.Nullable;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests addAll operations on a collection. Can't be invoked directly;
     * please see {@link com.google.common.collect.testing.CollectionTestSuiteBuilder}.
     *
     * @author Chris Povirk
     * @author Kevin Bourrillion
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  2. src/main/java/jcifs/ntlmssp/Type1Message.java

         */
        public Type1Message(final byte[] material) throws IOException {
            parse(material);
        }
    
        /**
         * Returns the default flags for a generic Type-1 message in the
         * current environment.
         *
         * @param tc
         *            context to use
         * @return An <code>int</code> containing the default flags.
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java

        assertEquals(1, map.size());
        assertEquals(ImmutableList.of(1), map.getInstance(type));
      }
    
      public void testGenericArrayType() {
        @SuppressWarnings("unchecked") // Trying to test generic array
        ImmutableList<Integer>[] array =
            (ImmutableList<Integer>[]) new ImmutableList<?>[] {ImmutableList.of(1)};
        TypeToken<ImmutableList<Integer>[]> type = new TypeToken<ImmutableList<Integer>[]>() {};
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/MapPutAllTester.java

    import java.util.List;
    import java.util.Map;
    import java.util.Map.Entry;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code putAll} operations on a map. Can't be invoked directly;
     * please see {@link com.google.common.collect.testing.MapTestSuiteBuilder}.
     *
     * @author Chris Povirk
     * @author Kevin Bourrillion
     */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/SortedSetMultimap.java

       *
       * <p><b>Note:</b> The returned map's values are guaranteed to be of type {@link SortedSet}. To
       * obtain this map with the more specific generic type {@code Map<K, SortedSet<V>>}, call {@link
       * Multimaps#asMap(SortedSetMultimap)} instead. <b>However</b>, the returned map <i>itself</i> is
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 5.2K bytes
    - Click Count (0)
  6. fastapi/sse.py

            str | None,
            Doc(
                """
                Optional event type name.
    
                Maps to `addEventListener(event, ...)` on the browser. When omitted,
                the browser dispatches on the generic `message` event.
                """
            ),
        ] = None
        id: Annotated[
            str | None,
            AfterValidator(_check_id_no_null),
            Doc(
                """
                Optional event ID.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 09:21:52 GMT 2026
    - 6.2K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java

        assertEquals(1, map.size());
        assertEquals(ImmutableList.of(1), map.getInstance(type));
      }
    
      public void testGenericArrayType() {
        @SuppressWarnings("unchecked") // Trying to test generic array
        ImmutableList<Integer>[] array =
            (ImmutableList<Integer>[]) new ImmutableList<?>[] {ImmutableList.of(1)};
        TypeToken<ImmutableList<Integer>[]> type = new TypeToken<ImmutableList<Integer>[]>() {};
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb1/ntlmssp/Type1Message.java

                    + jcifs.smb1.util.Hexdump.toHexString(getFlags(), 8) + "]";
        }
    
        /**
         * Returns the default flags for a generic Type-1 message in the
         * current environment.
         *
         * @return An <code>int</code> containing the default flags.
         */
        public static int getDefaultFlags() {
            return DEFAULT_FLAGS;
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  9. fastapi/exceptions.py

    
    RequestErrorModel: type[BaseModel] = create_model("Request")
    WebSocketErrorModel: type[BaseModel] = create_model("WebSocket")
    
    
    class FastAPIError(RuntimeError):
        """
        A generic, FastAPI-specific error.
        """
    
    
    class DependencyScopeError(FastAPIError):
        """
        A dependency declared that it depends on another dependency with an invalid
        (narrower) scope.
        """
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 18:41:21 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveTester.java

    import com.google.common.collect.testing.features.CollectionSize;
    import java.util.ConcurrentModificationException;
    import java.util.Iterator;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code remove} operations on a collection. Can't be invoked
     * directly; please see {@link com.google.common.collect.testing.CollectionTestSuiteBuilder}.
     *
     * @author George van den Driessche
     */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Feb 11 21:04:02 GMT 2025
    - 5.6K bytes
    - Click Count (0)
Back to Top