Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,413 for Empty (0.02 sec)

  1. src/test/java/jcifs/EmptyIteratorTest.java

        }
    
        @Test
        @DisplayName("EmptyIterator should follow Iterator contract for empty collections")
        void testIteratorContract() {
            // Given - typical Iterator usage pattern
    
            // When & Then - verify empty collection behavior
            assertFalse(emptyIterator.hasNext(), "Empty iterator should have no next element");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  2. src/bytes/buffer_test.go

    }
    
    // Empty buf through repeated reads into fub.
    // The initial contents of buf corresponds to the string s.
    func empty(t *testing.T, testname string, buf *Buffer, s string, fub []byte) {
    	check(t, testname+" (empty 1)", buf, s)
    
    	for {
    		n, err := buf.Read(fub)
    		if n == 0 {
    			break
    		}
    		if err != nil {
    			t.Errorf(testname+" (empty 2): err should always be nil, found err == %s", err)
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon May 19 16:13:04 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  3. src/main/resources/CLMessages.properties

    ECL0001={0} not found
    ECL0008=argument[{0}] is null.
    ECL0009=argument[{0}] is illegal. because {1}.
    ECL0010=argument[{0}] is null or empty string.
    ECL0011=argument[{0}] is null or empty array.
    ECL0012=argument[{0}] is null or empty collection.
    ECL0013=argument[{0}] is null or empty map.
    ECL0014=argument[{0}] which is null the index of array is negative integer.
    ECL0015=argument[{0}] which is null the index of array exceed the size of array[{1}].
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Mar 07 01:58:02 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/util/StringUtilTest.java

            assertEquals("a,b,c,d,e,f", result);
        }
    
        @Test
        @DisplayName("Should handle empty array")
        void testJoinEmptyArray() {
            CharSequence[] empty = new CharSequence[0];
            String result = StringUtil.join(",", empty);
            assertEquals("", result);
        }
    
        @Test
        @DisplayName("Should handle null in middle of multiple elements")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 9K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/FileTypeHelperTest.java

            fileTypeHelper.add("", "empty");
            assertEquals("empty", fileTypeHelper.get(""));
        }
    
        public void test_add_withNullFiletype() {
            fileTypeHelper.add("test/null", null);
            assertEquals("others", fileTypeHelper.get("test/null"));
        }
    
        public void test_add_withEmptyFiletype() {
            fileTypeHelper.add("test/empty", "");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionToArrayTester.java

        assertEquals(Object[].class, array.getClass());
      }
    
      public void testToArray_emptyArray() {
        E[] empty = getSubjectGenerator().createArray(0);
        E[] array = collection.toArray(empty);
        assertEquals(
            "toArray(emptyT[]) should return an array of type T", empty.getClass(), array.getClass());
        assertEquals("toArray(emptyT[]).length:", getNumElements(), array.length);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/AbstractSequentialIteratorTest.java

            .inOrder();
      }
    
      @SuppressWarnings("DoNotCall")
      public void testEmpty() {
        Iterator<Object> empty = new EmptyAbstractSequentialIterator<>();
        assertFalse(empty.hasNext());
        assertThrows(NoSuchElementException.class, empty::next);
        assertThrows(UnsupportedOperationException.class, empty::remove);
      }
    
      public void testBroken() {
        Iterator<Object> broken = new BrokenAbstractSequentialIterator();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/lang/StringUtil.java

        /**
         * A system line separator.
         */
        public static final String RETURN_STRING = System.getProperty("line.separator");
    
        /**
         * An empty string <code>""</code>.
         */
        public static final String EMPTY = "";
    
        /**
         * An empty array of strings.
         */
        public static final String[] EMPTY_STRINGS = new String[0];
    
        static Object javaLangAccess = null;
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/ntlmssp/av/AvPairsTest.java

        }
    
        /**
         * Test contains method with empty list
         */
        @Test
        @DisplayName("Contains should return false for empty list")
        void testContainsEmptyList() {
            List<AvPair> emptyList = new ArrayList<>();
            assertFalse(AvPairs.contains(emptyList, AvPair.MsvAvFlags), "Should return false for empty list");
        }
    
        /**
         * Test contains method with existing type
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  10. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/InvokerRequest.java

         */
        @Nonnull
        default Optional<InputStream> stdIn() {
            return Optional.ofNullable(parserRequest().stdIn());
        }
    
        /**
         * Returns the output stream for the Maven execution, if running in embedded mode.
         *
         * @return an {@link Optional} containing the output stream, or empty if not applicable
         */
        @Nonnull
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 6.7K bytes
    - Viewed (0)
Back to top