Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 150 for EXISTS (0.06 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

            final File outputFile = new File(nonExistentParent, "output.txt");
    
            try {
                assertFalse(nonExistentParent.exists());
                assertFalse(outputFile.exists());
    
                generator.setCommandList(Collections.singletonList("echo test"));
                // This should handle parent directory creation
                generator.generate("test_id", outputFile);
    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/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)
  4. 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)
  5. 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)
  6. cmd/xl-storage_test.go

    	if err = xlStorage.MakeVol(t.Context(), "exists-legacy"); err != nil {
    		t.Fatalf("Unable to create a volume \"exists-legacy\", %s", err)
    	}
    
    	if err = xlStorage.AppendFile(t.Context(), "exists-legacy", "as-file/xl.json", []byte(legacyJSON)); err != nil {
    		t.Fatalf("Unable to create a file \"as-file\", %s", err)
    	}
    
    	fi, err := xlStorage.ReadVersion(t.Context(), "", "exists-legacy", "as-file", "", ReadOptions{})
    	if err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 66K bytes
    - Viewed (0)
  7. dbflute.xml

    	<target name="mydbflute.check">
    		<condition property="mydbflute.exists">
    			<available file="${mydbflute.dir}" type="dir" />
    		</condition>
    	</target>
    
    	<target name="download.dbflute" depends="mydbflute.check" unless="mydbflute.exists">
    		<mkdir dir="${mydbflute.dir}" />
    		<get dest="${target.dir}/mydbflute.zip">
    			<url url="${mydbflute.url}" />
    		</get>
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Sep 04 05:20:20 UTC 2025
    - 999 bytes
    - Viewed (0)
  8. cmd/tier.go

    func (config *TierConfigMgr) Edit(ctx context.Context, tierName string, creds madmin.TierCreds) error {
    	config.Lock()
    	defer config.Unlock()
    
    	// check if tier by this name exists
    	tierType, exists := config.isTierNameInUse(tierName)
    	if !exists {
    		return errTierNotFound
    	}
    
    	cfg := config.Tiers[tierName]
    	switch tierType {
    	case madmin.S3:
    		if creds.AWSRole {
    			cfg.S3.AWSRole = true
    		}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

            emptyDir.mkdirs();
            assertTrue(emptyDir.exists());
    
            // Simulate the behavior of postVisitDirectory - delete empty directories
            if (emptyDir.isDirectory() && emptyDir.list().length == 0) {
                emptyDir.delete();
            }
    
            assertFalse(emptyDir.exists());
        }
    
        // Test FilePurgeVisitor postVisitDirectoryWithException
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/NtStatus.java

        /** The object name is invalid */
        int NT_STATUS_OBJECT_NAME_INVALID = 0xC0000033;
        /** The object was not found */
        int NT_STATUS_OBJECT_NAME_NOT_FOUND = 0xC0000034;
        /** The object name already exists */
        int NT_STATUS_OBJECT_NAME_COLLISION = 0xC0000035;
        /** The port is disconnected */
        int NT_STATUS_PORT_DISCONNECTED = 0xC0000037;
        /** The object path is invalid */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 14.9K bytes
    - Viewed (0)
Back to top