- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 652 for EXISTS (0.04 seconds)
-
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 {
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Mon Sep 08 09:19:22 GMT 2025 - 10.4K bytes - Click Count (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() }
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Nov 01 12:18:11 GMT 2025 - 59.4K bytes - Click Count (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"); } @TestCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 35K bytes - Click Count (0) -
cmd/dummy-handlers.go
if s3Error := checkRequestAuthType(ctx, r, policy.GetBucketPolicyAction, bucket, ""); s3Error != ErrNone { writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL) return } // Validate if bucket exists, before proceeding further... _, err := objAPI.GetBucketInfo(ctx, bucket, BucketOptions{}) if err != nil { writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL) return }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Aug 13 15:25:16 GMT 2024 - 8.8K bytes - Click Count (0) -
cmd/object-api-errors.go
} // ObjectAlreadyExists object already exists. type ObjectAlreadyExists GenericError func (e ObjectAlreadyExists) Error() string { return "Object: " + e.Bucket + "/" + e.Object + " already exists" } // ObjectExistsAsDirectory object already exists as a directory. type ObjectExistsAsDirectory GenericError func (e ObjectExistsAsDirectory) Error() string { return "Object exists on : " + e.Bucket + " as directory " + e.Object
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 09 02:05:14 GMT 2024 - 22.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/eventbus/SubscriberRegistryTest.java
} private interface HierarchyFixtureInterface { // Exists only for hierarchy mapping; no members. } private interface HierarchyFixtureSubinterface extends HierarchyFixtureInterface { // Exists only for hierarchy mapping; no members. } private static class HierarchyFixtureParent implements HierarchyFixtureSubinterface { // Exists only for hierarchy mapping; no members. }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 5.8K bytes - Click Count (0) -
src/main/java/org/codelibs/core/beans/BeanDesc.java
*/ Map<TypeVariable<?>, Type> getTypeVariables(); /** * Returns whether the {@link PropertyDesc} exists. * * @param propertyName * The property name. Must not be {@literal null} or empty string * @return Whether the {@link PropertyDesc} exists */ boolean hasPropertyDesc(String propertyName); /** * Returns the {@link PropertyDesc}. *Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Thu Jul 24 01:52:43 GMT 2025 - 7.9K bytes - Click Count (0) -
compat/maven-model-builder/src/test/resources/poms/validation/raw-model/profile-activation-file-with-project-expressions.xml
<artifactId>aid</artifactId> <groupId>gid</groupId> <version>0.1</version> <packaging>pom</packaging> <profiles> <profile> <id>exists-project-version</id> <activation> <file> <exists>${project.version}/test.txt</exists> </file> </activation> </profile> <profile> <id>missing-project-version</id> <activation> <file>
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.5K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Transport.java
* * @return {@code true} if operation succeeded, {@code false} if source does not exist. * @throws RuntimeException If failed (and not due source not exists). */ boolean get(@Nonnull URI relativeSource, @Nonnull Path target); /** * GETs the source URI content as byte array. The source MUST BE relative from the {@link RemoteRepository#getUrl()} * root.Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Mar 23 05:29:39 GMT 2023 - 4.4K bytes - Click Count (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/FixProjectHealthTask.kt
@DisableCachingByDefault abstract class FixProjectHealthTask : DefaultTask() { private val errorLogFile = File("gradle-project-health.log") @TaskAction fun fixProjectHealth() { if (!errorLogFile.exists()) { println("Error log not found! Run the projectHealth check first and redirect output.") return } val dependencyFixes = mutableMapOf<String, MutableList<String>>()
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Mon Mar 03 06:57:08 GMT 2025 - 6.2K bytes - Click Count (1)