Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 460 for Exists (0.09 sec)

  1. src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java

            // but we can test that the class exists and basic functionality
            try {
                // Use reflection to verify ProcessDestroyer class exists
                final Class<?> destroyerClass = Class.forName("org.codelibs.fess.thumbnail.impl.CommandGenerator$ProcessDestroyer");
                assertNotNull("ProcessDestroyer class should exist", destroyerClass);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbFileTest.java

                // Act & Assert
                assertTrue(smbFile.exists());
            }
    
            @Test
            void testExistsReturnsFalseWhenNotFound() throws SmbException, CIFSException {
                // Arrange
                doReturn(false).when(smbFile).exists();
    
                // Act & Assert
                assertFalse(smbFile.exists());
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/SmbResourceTest.java

            }
    
            @Test
            @DisplayName("exists should indicate resource existence")
            void testExists() throws CIFSException {
                // Given
                when(mockResource.exists()).thenReturn(true);
    
                // When
                boolean exists = mockResource.exists();
    
                // Then
                assertTrue(exists, "Resource should exist");
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  4. cmd/object-api-errors.go

    }
    
    // ObjectAlreadyExists object already exists.
    type ObjectAlreadyExists GenericError
    
    func (e ObjectAlreadyExists) Error() string {
    	return "Object: " + e.Bucket + "/" + e.Object + " already exists"
    }
    
    // ObjectExistsAsDirectory object already exists as a directory.
    type ObjectExistsAsDirectory GenericError
    
    func (e ObjectExistsAsDirectory) Error() string {
    	return "Object exists on : " + e.Bucket + " as directory " + e.Object
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 09 02:05:14 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  5. tests/lru_test.go

    	lc.Add("key1", nil)
    
    	value, exists := lc.Get("key1")
    	if value != nil || !exists {
    		t.Fatalf("unexpected value or existence flag for key1: value=%v, exists=%v", value, exists)
    	}
    
    	// Adding an entry with the same key but different value
    	newVal := "val1"
    	lc.Add("key1", &newVal)
    
    	value, exists = lc.Get("key1")
    	if value != &newVal || !exists {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/entity/SearchRenderData.java

        }
    
        /**
         * Sets whether a next page exists.
         *
         * @param existNextPage true if a next page exists
         */
        public void setExistNextPage(final boolean existNextPage) {
            this.existNextPage = existNextPage;
        }
    
        /**
         * Sets whether a previous page exists.
         *
         * @param existPrevPage true if a previous page exists
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/FilesTest.java

      }
    
      public void testTouch() throws IOException {
        File temp = createTempFile();
        assertTrue(temp.exists());
        assertTrue(temp.delete());
        assertFalse(temp.exists());
        Files.touch(temp);
        assertTrue(temp.exists());
        Files.touch(temp);
        assertTrue(temp.exists());
    
        assertThrows(
            IOException.class,
            () ->
                Files.touch(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/NtStatus.java

        /** There are currently no logon servers available to service the logon request */
        int NT_STATUS_NO_LOGON_SERVERS = 0xC000005e;
        /** The specified user already exists */
        int NT_STATUS_USER_EXISTS = 0xC0000063;
        /** The specified user does not exist */
        int NT_STATUS_NO_SUCH_USER = 0xC0000064;
        /** The specified network password is not correct */
        int NT_STATUS_WRONG_PASSWORD = 0xC000006a;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  9. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java

         * @param url The URL to check.
         * @return true if the URL exists in the queue, false otherwise.
         */
        @Override
        protected boolean exists(final String sessionId, final String url) {
            final boolean ret = super.exists(sessionId, url);
            if (!ret) {
                final QueueHolder queueHolder = getQueueHolder(sessionId);
                final Queue<OpenSearchUrlQueue> waitingQueue = queueHolder.waitingQueue;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 17K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/curl/io/ContentCacheTest.java

                // Expected - file no longer exists
            }
        }
    
        @Test
        public void testFileBasedCacheCloseNonExistentFile() {
            tempFile = new File(Curl.tmpDir, "non-existent-file.tmp");
            assertFalse(tempFile.exists());
    
            ContentCache cache = new ContentCache(tempFile);
    
            // Should throw IOException when file doesn't exist
            try {
                cache.close();
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 10.3K bytes
    - Viewed (0)
Back to top