Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 460 for EXISTS (0.03 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/toolchain/java/JavaToolchainImpl.java

                if (Os.IS_WINDOWS) {
                    Path tool = bin.resolve(toolName + ".exe");
                    if (Files.exists(tool)) {
                        return tool;
                    }
                }
                Path tool = bin.resolve(toolName);
                if (Files.exists(tool)) {
                    return tool;
                }
            }
            return null;
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/tomcat/webresources/FessWebResourceRootTest.java

                    FessWebResourceRoot.class.getName());
    
            // 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");
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/curl/io/ContentCacheTest.java

            Files.write(tempFile.toPath(), "Hello, World!".getBytes());
            assertTrue(tempFile.exists());
    
            ContentCache cache = new ContentCache(tempFile);
    
            // Close should delete the file
            cache.close();
    
            assertFalse(tempFile.exists());
        }
    
        @Test
        public void testFileBasedCacheGetInputStreamAfterClose() throws IOException {
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  4. cmd/acl-handlers.go

    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL)
    		return
    	}
    
    	// Before proceeding validate if bucket exists.
    	_, err := objAPI.GetBucketInfo(ctx, bucket, BucketOptions{})
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	aclHeader := r.Header.Get(xhttp.AmzACL)
    	if aclHeader == "" {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java

                            getLogger().debug(metadata + " could not be found on repository: " + repository.getId());
    
                            // delete the local copy so the old details aren't used.
                            if (file.exists()) {
                                if (!file.delete()) {
                                    // sleep for 10ms just in case this is windows holding a file lock
                                    try {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/validation/FessActionValidatorTest.java

        }
    
        public void test_constructorExists() {
            // Verify constructor exists with expected parameters
            try {
                FessActionValidator.class.getConstructor(RequestManager.class, UserMessagesCreator.class, Class[].class);
                assertTrue("Constructor with required parameters exists", true);
            } catch (final NoSuchMethodException e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/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
    - 13.2K bytes
    - Viewed (0)
  8. cmd/bucket-policy-handlers.go

    	if s3Error := checkRequestAuthType(ctx, r, policy.PutBucketPolicyAction, bucket, ""); s3Error != ErrNone {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL)
    		return
    	}
    
    	// Check if bucket exists.
    	if _, err := objAPI.GetBucketInfo(ctx, bucket, BucketOptions{}); err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	// Error out if Content-Length is missing.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbFile.java

            }
    
            try {
                if (isDirectory()) {
                    // Ensure destination exists as directory
                    if (!dest.exists()) {
                        dest.mkdirs();
                    } else if (!dest.isDirectory()) {
                        throw new CIFSException("Destination exists but is not a directory");
                    }
                    SmbCopyUtil.copyDir(this, dest, b, bsize, w, sh, dh);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K 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