- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 509 for exists (0.03 sec)
-
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 56K bytes - Viewed (0) -
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()); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.8K bytes - Viewed (0) -
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"); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 35K bytes - Viewed (0) -
helm/minio/templates/_helper_create_bucket.txt
# Ensure bucket exists, purging if asked to createBucket() { BUCKET=$1 POLICY=$2 PURGE=$3 VERSIONING=$4 OBJECTLOCKING=$5 # Purge the bucket, if set & exists # Since PURGE is user input, check explicitly for `true` if [ $PURGE = true ]; then if checkBucketExists $BUCKET; then echo "Purging bucket '$BUCKET'." set +e # don't exit if this fails ${MC} rm -r --force myminio/$BUCKETRegistered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Thu Aug 07 09:47:02 UTC 2025 - 3.5K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java
assertFalse(cos.done); assertFalse(cos.isInMemory()); File file = cos.getFile(); assertTrue(cos.done); assertTrue(file.exists()); cos.close(); assertTrue(cos.done); assertTrue(file.exists()); } @Test public void inFileWithoutGet() throws IOException { ContentOutputStream cos = new ContentOutputStream(10, Curl.tmpDir);
Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Wed Nov 12 14:01:04 UTC 2025 - 9.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt
assertThat(filesystem.exists(getCleanFile("g1", 0))).isFalse() assertThat(filesystem.exists(getCleanFile("g1", 1))).isFalse() assertThat(filesystem.exists(getCleanFile("g2", 0))).isFalse() assertThat(filesystem.exists(getCleanFile("g2", 1))).isFalse() assertThat(filesystem.exists(cacheDir / "otherFile0")).isFalse() assertThat(filesystem.exists(cacheDir / "dir1")).isFalse() }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Nov 01 12:18:11 UTC 2025 - 59.4K bytes - Viewed (0) -
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) -
tests/lru_test.go
lc.Add("key1", nil) value, exists := lc.Get("key1") if value != nil || !exists { t.Fatalf("unexpected value or existence flag for key1: value=%v, exists=%v", value, exists) } // Adding an entry with the same key but different value newVal := "val1" lc.Add("key1", &newVal) value, exists = lc.Get("key1") if value != &newVal || !exists {
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Mon Sep 08 09:19:22 UTC 2025 - 10.4K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java
* @param url The URL to check. * @return true if the URL exists in the queue, false otherwise. */ @Override protected boolean exists(final String sessionId, final String url) { final boolean ret = super.exists(sessionId, url); if (!ret) { final QueueHolder queueHolder = getQueueHolder(sessionId); final Queue<OpenSearchUrlQueue> waitingQueue = queueHolder.waitingQueue;Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 20 08:40:57 UTC 2025 - 16.9K bytes - Viewed (1) -
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)