Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 217 for exists (0.03 sec)

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

            }
    
            assertTrue(sourceFile.exists(), "Source file should exist");
            assertFalse(targetFile.exists(), "Target file should not exist initially");
    
            // Copy file
            sourceFile.copyTo(targetFile);
    
            assertTrue(sourceFile.exists(), "Source file should still exist after copy");
            assertTrue(targetFile.exists(), "Target file should exist after copy");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  2. 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)
  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. 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)
  5. 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)
  6. cmd/xl-storage_test.go

    		{
    			volume: "i-dont-exist",
    			path:   "",
    			err:    errVolumeNotFound,
    		},
    		// TestXLStorage case - 2.
    		// Validate bad condition file does not exist.
    		{
    			volume: "exists",
    			path:   "as-file-not-found",
    			err:    errFileNotFound,
    		},
    		// TestXLStorage case - 3.
    		// Validate bad condition file exists as prefix/directory and
    		// we are attempting to read it.
    		{
    			volume: "exists",
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 66K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/tomcat/webresources/FessWebResourceRootTest.java

            // Verify constructor exists with Context parameter
            try {
                FessWebResourceRoot.class.getConstructor(Context.class);
                assertTrue("Constructor with Context parameter exists", true);
            } catch (final NoSuchMethodException e) {
                fail("Constructor with Context parameter should exist");
            }
        }
    
        public void test_methodsExist() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/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
    - 14.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbFileDirectoryLeasingExtension.java

                            boolean exists = parentCache.hasChild(smbFile.getName());
                            log.debug("Using cached existence check for: {}", smbFile.getPath());
                            return exists;
                        }
                    }
                }
    
                // Fall back to regular existence check
                return smbFile.exists();
            } catch (CIFSException e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  10. cmd/admin-heal-ops.go

    // argument returns if a heal sequence actually exists.
    func (ahs *allHealState) getHealSequence(path string) (h *healSequence, exists bool) {
    	ahs.RLock()
    	defer ahs.RUnlock()
    	h, exists = ahs.healSeqMap[path]
    	return h, exists
    }
    
    func (ahs *allHealState) stopHealSequence(path string) ([]byte, APIError) {
    	var hsp madmin.HealStopSuccess
    	he, exists := ahs.getHealSequence(path)
    	if !exists {
    		hsp = madmin.HealStopSuccess{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 25.4K bytes
    - Viewed (0)
Back to top