Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 755 for pets (0.58 sec)

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

    package com.google.common.collect.testing;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.Set;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Creates sets, containing sample elements, to be tested.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @NullMarked
    public interface TestSetGenerator<E extends @Nullable Object> extends TestCollectionGenerator<E> {
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/TreeMultimapExplicitTest.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.collect.Maps.immutableEntry;
    import static com.google.common.collect.Sets.newHashSet;
    import static com.google.common.truth.Truth.assertThat;
    import static java.util.Arrays.asList;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/TestStringSortedSetGenerator.java

    import static java.util.Collections.sort;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.List;
    import java.util.SortedSet;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Create string sets for testing collections that are sorted by natural ordering.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @NullMarked
    public abstract class TestStringSortedSetGenerator extends TestStringSetGenerator
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Feb 11 19:03:19 UTC 2025
    - 2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbEndOfFileExceptionTest.java

    /**
     * Tests for SmbEndOfFileException focusing on message, status, and throwability.
     */
    @ExtendWith(MockitoExtension.class)
    class SmbEndOfFileExceptionTest {
    
        /**
         * Verifies the no-arg constructor sets the expected message, status, and no cause.
         */
        @Test
        void defaultConstructorSetsMessageAndStatus() {
            // Arrange & Act
            SmbEndOfFileException ex = new SmbEndOfFileException();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/net/NetServerEnum2Response.java

         * @param config
         *            the configuration to use
         */
        public NetServerEnum2Response(final Configuration config) {
            super(config);
        }
    
        /**
         * Gets the last server name from the enumeration
         * @return the lastName
         */
        public final String getLastName() {
            return this.lastName;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java

        void testSizeWithEmptyPath() {
            request = new Smb2CreateRequest(mockConfig, "");
    
            int expectedSize = Smb2Constants.SMB2_HEADER_LENGTH + 56;
            expectedSize += 8; // size8(1) - empty name gets 1 byte
            expectedSize = ((expectedSize + 7) / 8) * 8; // size8(size)
    
            assertEquals(expectedSize, request.size());
        }
    
        @Test
        @DisplayName("Test createResponse")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Multimaps.java

       *
       * <p>Note: the multimap assumes complete ownership over of {@code map} and the sets returned by
       * {@code factory}. Those objects should not be manually updated and they should not use soft,
       * weak, or phantom references.
       *
       * @param map place to store the mapping from each key to its corresponding values
       * @param factory supplier of new, empty sets that will each hold all values for a given key
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 86.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Multimaps.java

       *
       * <p>Note: the multimap assumes complete ownership over of {@code map} and the sets returned by
       * {@code factory}. Those objects should not be manually updated and they should not use soft,
       * weak, or phantom references.
       *
       * @param map place to store the mapping from each key to its corresponding values
       * @param factory supplier of new, empty sets that will each hold all values for a given key
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 86.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

       * of their natural ordering.
       */
      public static <E extends Comparable<?>> Builder<E> reverseOrder() {
        return new Builder<>(Collections.reverseOrder());
      }
    
      /**
       * Returns a builder that creates immutable sorted sets whose elements are ordered by their
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/msrpc/LsaPolicyHandleTest.java

            // Act & Assert
            SmbException thrown = assertThrows(SmbException.class, () -> {
                new LsaPolicyHandle(mockDcerpcHandle, server, access);
            });
    
            // The error code gets mapped to NT_STATUS_UNSUCCESSFUL because it's not a valid NT status code
            assertEquals(0xC0000001, thrown.getNtStatus()); // NT_STATUS_UNSUCCESSFUL
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
Back to top