Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2251 - 2260 of 3,973 for objTest (0.09 sec)

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

    import java.util.Collection;
    import java.util.Iterator;
    import java.util.List;
    import java.util.Map.Entry;
    import org.junit.Ignore;
    
    /**
     * Tests for {@link Multimap#remove(Object, Object)}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/MutableNetwork.java

       * also be non-null.
       *
       * <p>If {@code nodeU} and {@code nodeV} are not already present in this graph, this method will
       * silently {@link #addNode(Object) add} {@code nodeU} and {@code nodeV} to the graph.
       *
       * <p>If {@code edge} already connects {@code nodeU} to {@code nodeV} (in the specified order if
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 4.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/reflect/SubtypeTester.java

        return sub;
      }
    
      /**
       * Call this in a {@link TestSubtype} public method asserting that subtype relationship does not
       * hold.
       */
      final <X> @Nullable X notSubtype(@SuppressWarnings("unused") Object sub) {
        Type returnType = method.getGenericReturnType();
        Type paramType = getOnlyParameterType();
        TestSubtype spec = method.getAnnotation(TestSubtype.class);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/BiMap.java

     *
     * @author Kevin Bourrillion
     * @since 2.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public interface BiMap<K extends @Nullable Object, V extends @Nullable Object> extends Map<K, V> {
      // Modification Operations
    
      /**
       * {@inheritDoc}
       *
       * @throws IllegalArgumentException if the given value is already bound to a different key in this
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/MultimapRemoveEntryTester.java

    import java.util.Collection;
    import java.util.Iterator;
    import java.util.List;
    import java.util.Map.Entry;
    import org.junit.Ignore;
    
    /**
     * Tests for {@link Multimap#remove(Object, Object)}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/CollectionIteratorTester.java

    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @ElementTypesAreNonnullByDefault
    public class CollectionIteratorTester<E extends @Nullable Object>
        extends AbstractCollectionTester<E> {
      public void testIterator() {
        List<E> iteratorElements = new ArrayList<>();
        for (E element : collection) { // uses iterator()
          iteratorElements.add(element);
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6K bytes
    - Viewed (0)
  7. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/Platform.java

        return Arrays.copyOf(empty, length);
      }
    
      /** Equivalent to Arrays.copyOfRange(source, from, to, arrayOfType.getClass()). */
      static <T> T[] copy(Object[] source, int from, int to, T[] arrayOfType) {
        T[] result = newArray(arrayOfType, to - from);
        System.arraycopy(source, from, result, 0, to - from);
        return result;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:52:51 UTC 2024
    - 5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/cache/ReflectionFreeAssertThrows.java

    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    final class ReflectionFreeAssertThrows {
      interface ThrowingRunnable {
        void run() throws Throwable;
      }
    
      interface ThrowingSupplier {
        @Nullable Object get() throws Throwable;
      }
    
      @CanIgnoreReturnValue
      static <T extends Throwable> T assertThrows(
          Class<T> expectedThrowable, ThrowingSupplier supplier) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbComSessionSetupAndX.java

        private byte[] lmHash, ntHash, blob = null;
        private int sessionKey, capabilities;
        private String accountName, primaryDomain;
    
        SmbSession session;
        Object cred;
    
        SmbComSessionSetupAndX( SmbSession session, ServerMessageBlock andx, Object cred ) throws SmbException {
            super( andx );
            command = SMB_COM_SESSION_SETUP_ANDX;
            this.session = session;
            this.cred = cred;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 7.3K bytes
    - Viewed (0)
  10. fastapi/datastructures.py

        async def create_upload_file(file: UploadFile):
            return {"filename": file.filename}
        ```
        """
    
        file: Annotated[
            BinaryIO,
            Doc("The standard Python file object (non-async)."),
        ]
        filename: Annotated[Optional[str], Doc("The original file name.")]
        size: Annotated[Optional[int], Doc("The size of the file in bytes.")]
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Apr 02 02:48:51 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top