Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 191 for crashed (0.05 sec)

  1. guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

     * @author mike nonemacher
     */
    
    @NullUnmarked
    public class PopulatedCachesTest extends TestCase {
      // we use integers as keys; make sure the range covers some values that ARE cached by
      // Integer.valueOf(int), and some that are not cached. (127 is the highest cached value.)
      static final int WARMUP_MIN = 120;
      static final int WARMUP_MAX = 135;
      static final int WARMUP_SIZE = WARMUP_MAX - WARMUP_MIN;
    
      public void testSize_populated() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/cache/CacheMetadata.java

    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Nullable;
    
    /**
     * Interface defining metadata for cache behavior and lifecycle management.
     * Implementations can specify how long cached data should be retained.
     *
     * @since 4.0.0
     */
    @Experimental
    public interface CacheMetadata {
    
        /**
         * Returns the cache retention that should be applied to the associated data.
         *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java

            directoryLeaseManager.requestDirectoryLease(directoryPath, DirectoryLeaseState.DIRECTORY_READ_HANDLE,
                    DirectoryCacheScope.IMMEDIATE_CHILDREN);
    
            // No cached listing initially
            assertNull(directoryLeaseManager.getCachedDirectoryListing(directoryPath));
    
            // Setup mock files
            when(mockFile1.getName()).thenReturn("file1.txt");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/TestContainerGenerator.java

      /**
       * Creates a new container containing the given elements. TODO: would be nice to figure out how to
       * use E... or E[] as a parameter type, but this doesn't seem to work because Java creates an
       * array of the erased type.
       */
      T create(Object... elements);
    
      /**
       * Helper method to create an array of the appropriate type used by this generator. The returned
       * array will contain only nulls.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/CacheControlTest.kt

            .onlyIfCached()
            .noTransform()
            .immutable()
            .build()
        assertThat(cacheControl.toString()).isEqualTo(
          "no-cache, no-store, max-age=1, max-stale=2, min-fresh=3, only-if-cached, no-transform, immutable",
        )
        assertThat(cacheControl.noCache).isTrue()
        assertThat(cacheControl.noStore).isTrue()
        assertThat(cacheControl.maxAgeSeconds).isEqualTo(1)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  6. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt

        }
      }
    
      // TODO GET preferred order - with tests to confirm this
      // 1. successful fresh cached GET response
      // 2. unsuccessful (404, 500) fresh cached GET response
      // 3. successful network response
      // 4. successful stale cached GET response
      // 5. unsuccessful response
      @Test
      fun usesCache() {
        val cache = Cache(cacheFs, "cache".toPath(), (100 * 1024).toLong())
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

            out.write(b[i]);
          }
        } else {
          out.write(b, off, len);
        }
        out.flush(); // for coverage
      }
    
      // TODO(chrisn): only works if we ensure we have crossed file threshold
    
      public void testWriteErrorAfterClose() throws Exception {
        byte[] data = newPreFilledByteArray(100);
        FileBackedOutputStream out = new FileBackedOutputStream(50);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java

            SmbPipeInputStream in1 = handle.getInput();
            SmbPipeInputStream in2 = handle.getInput();
            SmbPipeOutputStream out1 = handle.getOutput();
            SmbPipeOutputStream out2 = handle.getOutput();
    
            // Assert: same instances are returned subsequently
            assertSame(in1, in2, "Input stream should be cached");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/CrawlerStatsHelperTest.java

        public void test_urlQueueKeyObject() {
            TestUrlQueue urlQueue = new TestUrlQueue("queue_123", "http://example.com/test");
            crawlerStatsHelper.begin(urlQueue);
            crawlerStatsHelper.record(urlQueue, "crawled");
            crawlerStatsHelper.done(urlQueue);
    
            String[] values = localLogMsg.get().split("\t");
            assertEquals(4, values.length);
            assertEquals("url:http://example.com/test", values[0]);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 15K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/UserAgentHelper.java

            // Default constructor
        }
    
        /** The HTTP header name for User-Agent */
        protected static final String USER_AGENT = "user-agent";
    
        /** The request attribute key for storing cached user agent type */
        protected static final String USER_AGENT_TYPE = "ViewHelper.UserAgent";
    
        /**
         * Determines the user agent type from the current HTTP request.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.5K bytes
    - Viewed (0)
Back to top