Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 15 for Remaining (0.05 seconds)

  1. src/test/java/org/codelibs/fess/timer/LogNotificationTargetTest.java

            // Buffer should still contain the event since disabled check should return early
            List<LogNotificationEvent> remaining = ComponentUtil.getLogNotificationHelper().drainAll();
            assertEquals(1, remaining.size());
            assertEquals("should remain", remaining.get(0).getMessage());
        }
    
        @Test
        public void test_expired_enabled_drainsBuffer() {
            // Enable log notification
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 4.7K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/io/ByteStreams.java

          return result;
        }
        int remaining = totalLen - result.length;
        result = Arrays.copyOf(result, totalLen);
        while (remaining > 0) {
          byte[] buf = bufs.remove();
          int bytesToCopy = min(remaining, buf.length);
          int resultOffset = totalLen - remaining;
          System.arraycopy(buf, 0, result, resultOffset, bytesToCopy);
          remaining -= bytesToCopy;
        }
        return result;
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 31.1K bytes
    - Click Count (0)
  3. scripts/people.py

            return self
    
        def __exit__(self, exc_type, exc_val, exc_tb) -> None:
            pass
    
        def update_request_info(self, cost: int, remaining: int, reset_at: str) -> None:
            self.last_query_cost = cost
            self.remaining_points = remaining
            self.reset_at = datetime.fromisoformat(reset_at.replace("Z", "+00:00"))
    
    
    rate_limiter = RateLimiter()
    
    
    discussions_query = """
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 23 13:51:24 GMT 2026
    - 15K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/job/LogNotificationJob.java

            bulkDelete.execute().actionGet(fessConfig.getIndexSearchTimeout());
    
            // Delete any remaining events beyond the search size limit (discard overflow)
            try {
                client.deleteByQuery(indexName, QueryBuilders.termQuery("hostname", hostname));
            } catch (final Exception e) {
                logger.debug("Failed to delete remaining log notifications.", e);
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 9.4K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/helper/LogNotificationHelperTest.java

                    }
                });
            }
    
            startLatch.countDown();
            assertTrue(doneLatch.await(30, TimeUnit.SECONDS));
            executor.shutdown();
    
            // Drain remaining
            totalDrained.addAndGet(helper.drainAll().size());
    
            // Total drained should be <= total offered (some may be dropped at capacity)
            int totalOffered = numThreads * eventsPerThread;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/helper/CoordinatorHelper.java

         *
         * @param operationName the operation name used as the lock document ID.
         * @param data optional data to store with the operation document.
         * @param remainingRetries the number of remaining retry attempts for stale lock cleanup.
         * @return {@code true} if the lock was acquired.
         */
        protected boolean tryStartOperation(final String operationName, final String data, final int remainingRetries) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 33.3K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java

          cache.getUnchecked(10).incrementAndGet();
          ticker.advance(1, MILLISECONDS);
        }
    
        assertThat(applyCount.get()).isEqualTo(evictionCount.get() + 1);
        int remaining = cache.getUnchecked(10).get();
        assertThat(totalSum.get() + remaining).isEqualTo(100);
      }
    
      public void testRemovalScheduler_expireAfterWrite() {
        FakeTicker ticker = new FakeTicker();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 16:38:16 GMT 2026
    - 19.1K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/script/groovy/GroovyEngine.java

     * static state, so this is acceptable.</p>
     *
     * <p>Resource Management: Each cached entry's GroovyClassLoader is closed on
     * eviction via RemovalListener. All remaining entries are cleaned up via close() (@PreDestroy).</p>
     */
    public class GroovyEngine extends AbstractScriptEngine {
        private static final Logger logger = LogManager.getLogger(GroovyEngine.class);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 11.9K bytes
    - Click Count (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

      }
    
      private static final class UnknownElementException extends RuntimeException {
        private UnknownElementException(Collection<?> expected, Object actual) {
          super("Returned value '" + actual + "' not found. Remaining elements: " + expected);
        }
    
        @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 20.8K bytes
    - Click Count (0)
  10. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

      }
    
      private static final class UnknownElementException extends RuntimeException {
        private UnknownElementException(Collection<?> expected, Object actual) {
          super("Returned value '" + actual + "' not found. Remaining elements: " + expected);
        }
    
        @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 21.4K bytes
    - Click Count (0)
Back to Top