Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,172 for Exists (0.17 sec)

  1. cmd/erasure-object-conditional_test.go

    		// Test Case 1: if-none-match (create only if doesn't exist)
    		// With if-none-match: *, this should only succeed if object doesn't exist.
    		// Since read quorum fails, we can't determine if object exists.
    		opts := ObjectOptions{
    			UserDefined: map[string]string{
    				xhttp.IfNoneMatch: "*",
    			},
    			CheckPrecondFn: func(oi ObjectInfo) bool {
    				// Precondition fails if object exists (ETag is not empty)
    				return oi.ETag != ""
    			},
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Oct 24 04:05:31 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  2. 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: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManagerTest.java

            updateCheckManager.touch(a, remoteRepository, null);
    
            assertFalse(updateCheckManager.isUpdateRequired(a, remoteRepository));
    
            assertFalse(file.exists(), "Expected " + file + ".exists() to return false");
            assertNotNull(
                    updateCheckManager.readLastUpdated(touchFile, updateCheckManager.getRepositoryKey(remoteRepository)));
        }
    
        @Test
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 16 13:41:14 UTC 2025
    - 9K bytes
    - Viewed (0)
  4. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/artifact/testutils/TestFileManager.java

            File file = new File(dir, filename);
    
            if (shouldExist) {
                assertTrue(file.exists(), "Expected " + file + ".exists() to return true");
            } else {
                assertFalse(file.exists(), "Expected " + file + ".exists() to return false");
            }
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/ResponseDataUtilTest.java

                    return "http://example.com/test";
                }
            };
    
            File tempFile = ResponseDataUtil.createResponseBodyFile(responseData);
    
            assertNotNull(tempFile);
            assertTrue(tempFile.exists());
    
            // Read and verify content
            try (FileInputStream fis = new FileInputStream(tempFile)) {
                byte[] buffer = new byte[1024];
                int bytesRead = fis.read(buffer);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  7. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  8. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:44:53 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  9. 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: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Nov 20 13:34:13 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  10. internal/config/identity/ldap/ldap.go

    		// the directory.
    		bindDN, err := l.LDAP.LookupUsername(conn, username)
    		if err != nil {
    			if strings.Contains(err.Error(), "User DN not found for") {
    				return nil, nil
    			}
    			return nil, fmt.Errorf("Unable to find user DN: %w", err)
    		}
    		return bindDN, nil
    	}
    
    	// Since the username parses as a valid DN, check that it exists and is
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Jul 12 01:04:53 UTC 2024
    - 12.4K bytes
    - Viewed (1)
Back to top