Search Options

Results per page
Sort
Preferred Languages
Advance

Results 741 - 750 of 1,413 for Empty (0.02 sec)

  1. src/test/java/jcifs/smb/SmbFileTest.java

                // Mock that it exists and is a directory
                doReturn(true).when(smbFile).exists();
                doReturn(true).when(smbFile).isDirectory();
    
                // Mock listFiles to return empty array (directory is empty)
                doReturn(new SmbFile[0]).when(smbFile).listFiles();
    
                when(mockTreeHandle.isSMB2()).thenReturn(false);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/MapClearTester.java

    public class MapClearTester<K, V> extends AbstractMapTester<K, V> {
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testClear() {
        getMap().clear();
        assertTrue("After clear(), a map should be empty.", getMap().isEmpty());
        assertEquals(0, getMap().size());
        assertFalse(getMap().entrySet().iterator().hasNext());
      }
    
      @MapFeature.Require({FAILS_FAST_ON_CONCURRENT_MODIFICATION, SUPPORTS_REMOVE})
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. cmd/api-errors_test.go

    		errCode, ok := errorCodes[errAPI]
    		if !ok {
    			t.Fatal(errAPI, "error code is not defined in the API error code table")
    		}
    		if errCode.Code == "" {
    			t.Fatal(errAPI, "error code has an empty XML code")
    		}
    		if errCode.HTTPStatusCode == 0 {
    			t.Fatal(errAPI, "error code has a zero HTTP status code")
    		}
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/RegularImmutableMultiset.java

     */
    @GwtCompatible
    @SuppressWarnings("serial") // uses writeReplace(), not default serialization
    final class RegularImmutableMultiset<E> extends ImmutableMultiset<E> {
      static final RegularImmutableMultiset<Object> EMPTY =
          new RegularImmutableMultiset<>(ObjectCountHashMap.create());
    
      final transient ObjectCountHashMap<E> contents;
      private final transient int size;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4K bytes
    - Viewed (0)
  5. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ModelParser.java

        /**
         * Locates the pom in the given directory.
         *
         * @param dir the directory to locate the pom for, never {@code null}
         * @return a {@code Source} pointing to the located pom or an empty {@code Optional} if none was found by this parser
         */
        @Nonnull
        Optional<Source> locate(@Nonnull Path dir);
    
        /**
         * Parse the model obtained previously by a previous call to {@link #locate(Path)}.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Sep 10 17:18:47 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/job/CrawlJobTest.java

            // Test with null
            result = crawlJob.webConfigIds(null);
            assertNull(crawlJob.webConfigIds);
            assertSame(crawlJob, result);
    
            // Test with empty array
            result = crawlJob.webConfigIds(new String[0]);
            assertEquals(0, crawlJob.webConfigIds.length);
            assertSame(crawlJob, result);
        }
    
        // Test fileConfigIds setter
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 25K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

      }
    
      public static void assertEmpty(Iterable<?> iterable) {
        if (!isEmpty(iterable)) {
          fail("Not true that " + iterable + " is empty");
        }
      }
    
      public static void assertEmpty(Map<?, ?> map) {
        if (!map.isEmpty()) {
          fail("Not true that " + map + " is empty");
        }
      }
    
      public static void assertEqualInOrder(Iterable<?> expected, Iterable<?> actual) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  8. tests/preload_test.go

    		t.Errorf("failed to marshal users, got error %v", err)
    	} else if !regexp.MustCompile(`"Team":\[\],"Languages":\[\],"Friends":\[\]`).MatchString(string(r)) {
    		t.Errorf("json marshal is not empty slice, got %v", string(r))
    	}
    
    	var results []User
    	DB.Preload("Team").Preload("Languages").Preload("Friends").Find(&results, "name = ?", user.Name)
    
    	if r, err := json.Marshal(&results); err != nil {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Jun 12 10:00:47 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java

         *
         * @param uri the URI to preprocess
         * @return the preprocessed URI
         * @throws CrawlerSystemException if the URI is empty
         */
        protected String preprocessUri(final String uri) {
            if (StringUtil.isEmpty(uri)) {
                throw new CrawlerSystemException("The uri is empty.");
            }
    
            return uri;
        }
    
        /**
         * Returns the character set for the given SMB file.
         *
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 22.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/service/FileAuthenticationService.java

         *
         * @param id the unique identifier of the file authentication configuration
         * @return an OptionalEntity containing the file authentication if found, empty otherwise
         */
        public OptionalEntity<FileAuthentication> getFileAuthentication(final String id) {
            return fileAuthenticationBhv.selectByPK(id);
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.7K bytes
    - Viewed (0)
Back to top