- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 72 for existants (0.08 seconds)
-
cmd/xl-storage_test.go
} } } func TestXLStorageIsDirEmpty(t *testing.T) { tmp := t.TempDir() // Should give false on non-existent directory. dir1 := slashpath.Join(tmp, "non-existent-directory") if isDirEmpty(dir1, true) { t.Error("expected false for non-existent directory, got true") } // Should give false for not-a-directory. dir2 := slashpath.Join(tmp, "file")
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 66K bytes - Click Count (0) -
src/test/java/jcifs/smb/PreauthIntegrityServiceTest.java
// Should not throw exception lenientService.updatePreauthHash("non-existent", "test".getBytes()); // With enforcement enabled, should throw exception assertThrows(CIFSException.class, () -> { preauthService.updatePreauthHash("non-existent", "test".getBytes()); }); } @Test @DisplayName("Test context invalidation")Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 11.1K bytes - Click Count (0) -
src/main/java/org/codelibs/core/beans/util/BeanMap.java
package org.codelibs.core.beans.util; import java.util.LinkedHashMap; import org.codelibs.core.exception.IllegalKeyOfBeanMapException; /** * A map with String keys that throws an exception when accessing (get) a non-existent key. * * @author higa */ public class BeanMap extends LinkedHashMap<String, Object> { private static final long serialVersionUID = 1; /** * Creates a new {@link BeanMap}. */
Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Sat Jul 05 00:11:05 GMT 2025 - 1.2K bytes - Click Count (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsBuildingRequest.java
/** * Gets the global settings file. * * @return The global settings file or {@code null} if none. */ File getGlobalSettingsFile(); /** * Sets the global settings file. A non-existent settings file is equivalent to empty settings. If both user * settings and global settings are given, the user settings take precedence. *Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 6K bytes - Click Count (0) -
tests/test_security_oauth2_authorization_code_bearer_description.py
assert response.status_code == 401, response.text assert response.json() == {"detail": "Not authenticated"} def test_incorrect_token(): response = client.get("/items", headers={"Authorization": "Non-existent testtoken"}) assert response.status_code == 401, response.text assert response.json() == {"detail": "Not authenticated"} def test_token():Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 2.4K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CWD.java
/** * Changes current cwd, if the new path is existing directory. * * @throws NullPointerException if {@code seg} is {@code null}. * @throws IllegalArgumentException if {@code seg} leads to non-existent directory. */ public void change(String seg) { Path newCwd = resolve(seg); if (Files.isDirectory(newCwd)) { this.directory = newCwd; } else {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Mar 24 14:09:05 GMT 2025 - 2.4K bytes - Click Count (0) -
tests/test_security_oauth2_authorization_code_bearer.py
assert response.status_code == 401, response.text assert response.json() == {"detail": "Not authenticated"} def test_incorrect_token(): response = client.get("/items", headers={"Authorization": "Non-existent testtoken"}) assert response.status_code == 401, response.text assert response.json() == {"detail": "Not authenticated"} def test_token():Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 2.3K bytes - Click Count (0) -
cmd/os-readdir_test.go
"fmt" "os" "path" "path/filepath" "runtime" "sort" "testing" ) // Test to check for different input arguments. func TestReadDirFail(t *testing.T) { // Check non existent directory. if _, err := readDir("/tmp/non-existent-directory"); err != errFileNotFound { t.Fatalf("expected = %s, got: %s", errFileNotFound, err) } file := path.Join(os.TempDir(), "issue")
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue May 27 15:19:03 GMT 2025 - 7.5K bytes - Click Count (0) -
src/test/java/jcifs/util/SecureKeyManagerTest.java
assertTrue(laterAge >= 200, "Age should increase after delay"); } @Test public void testKeyAgeNonExistent() { assertEquals(-1, keyManager.getKeyAge("non-existent"), "Non-existent key should return -1 for age"); } @Test public void testConfigureKeyRotation() { // Test that configuration doesn't throw keyManager.configureKeyRotation(60000);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 14.2K bytes - Click Count (0) -
docs/fr/docs/history-design-future.md
Par exemple, il était clair que l'idéal était de se baser sur les annotations de type Python standard. De plus, la meilleure approche était d'utiliser des normes déjà existantes. Ainsi, avant même de commencer à coder **FastAPI**, j'ai passé plusieurs mois à étudier les spécifications d'OpenAPI, JSON Schema, OAuth2, etc. Comprendre leurs relations, leurs similarités et leurs différences.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Oct 11 17:48:49 GMT 2025 - 4.9K bytes - Click Count (0)