Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 55 for onValidate (0.43 sec)

  1. src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java

                try {
                    final StatsObject data = statsCache.getIfPresent(key);
                    if (data != null && data.decrement() <= 0) {
                        statsCache.invalidate(key);
                        final Long begin = data.remove(BEGIN_KEY);
                        if (begin != null) {
                            printStats(keyObj, data, begin, true);
                        }
                    }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/io/Smb2ReadRequest.java

         */
        public static int SMB2_CHANNEL_NONE = 0x0;
        /**
         * Channel type for RDMA version 1
         */
        public static int SMB2_CHANNEL_RDMA_V1 = 0x1;
        /**
         * Channel type for RDMA version 1 with invalidate
         */
        public static int SMB2_CHANNEL_RDMA_V1_INVALIDATE = 0x2;
    
        private byte[] fileId;
        private final byte[] outputBuffer;
        private final int outputBufferOffset;
        private byte padding;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-CacheControlCommon.kt

              canUseHeaderValue = false
            } else {
              headerValue = value
            }
          }
          name.equals("Pragma", ignoreCase = true) -> {
            // Might specify additional cache-control params. We invalidate just in case.
            canUseHeaderValue = false
          }
          else -> {
            continue@loop
          }
        }
    
        var pos = 0
        while (pos < value.length) {
          val tokenStart = pos
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

          public void run() {
            cache.refresh(refreshKey);
            getFinishedSignal.countDown();
          }
        }.start();
    
        computationStarted.await();
        cache.invalidate(getKey);
        cache.invalidate(refreshKey);
        assertFalse(map.containsKey(getKey));
        assertFalse(map.containsKey(refreshKey));
    
        // let computation complete
        letGetFinishSignal.countDown();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 85.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/Cache.java

       *
       * @since 12.0
       */
      void putAll(Map<? extends K, ? extends V> m);
    
      /** Discards any cached value for key {@code key}. */
      void invalidate(@CompatibleWith("K") Object key);
    
      /**
       * Discards any cached values for keys {@code keys}.
       *
       * @since 11.0
       */
      // For discussion of <? extends Object>, see getAllPresent.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt

            .build()
        val invalidate = client.newCall(request).execute()
        assertThat(invalidate.body.string()).isEqualTo("B")
        assertThat(get(url).body.string()).isEqualTo("C")
      }
    
      @Test
      fun postInvalidatesCacheWithUncacheableResponse() {
        // 1. Seed the cache.
        // 2. Invalidate it with an uncacheable response.
        // 3. Expect a cache miss.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 113.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbFileHandleImplTest.java

            when(cfg.isTraceResourceUsage()).thenReturn(false);
            stubValidTree(1L, true, true);
            SmbFileHandleImpl h = new SmbFileHandleImpl(cfg, new byte[] { 0x01, 0x02 }, tree, "//x", 0, 0, 0, 0, 0L);
            // invalidate
            h.markClosed();
    
            SmbException ex1 = assertThrows(SmbException.class, h::getFid);
            assertEquals("Descriptor is no longer valid", ex1.getMessage());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  8. cmd/storage-rest-client.go

    }
    
    func (client *storageRESTClient) GetDiskID() (string, error) {
    	if !client.IsOnlineWS() {
    		// make sure to check if the disk is offline, since the underlying
    		// value is cached we should attempt to invalidate it if such calls
    		// were attempted. This can lead to false success under certain conditions
    		// - this change attempts to avoid stale information if the underlying
    		// transport is already down.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 08 02:38:41 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

        for (LoadingCache<Object, Object> cache : caches()) {
          cache.getUnchecked(1);
          Entry<Object, Object> entry = Iterables.getOnlyElement(cache.asMap().entrySet());
    
          cache.invalidate(1);
          assertEquals(0, cache.size());
    
          entry.setValue(3);
          assertEquals(1, cache.size());
          assertEquals(3, cache.getIfPresent(1));
          checkValidState(cache);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/cache/Cache.java

       *
       * @since 12.0
       */
      void putAll(Map<? extends K, ? extends V> m);
    
      /** Discards any cached value for key {@code key}. */
      void invalidate(@CompatibleWith("K") Object key);
    
      /**
       * Discards any cached values for keys {@code keys}.
       *
       * @since 11.0
       */
      // For discussion of <? extends Object>, see getAllPresent.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top