Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1381 - 1390 of 2,388 for Long (0.02 seconds)

  1. android/guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java

      @BeforeExperiment
      void setUp() {
        // random integers will be generated in this range, then raised to the
        // power of (1/concentration) and floor()ed
        max = Ints.checkedCast((long) Math.pow(distinctKeys, concentration));
    
        cache =
            CacheBuilder.newBuilder()
                .concurrencyLevel(segments)
                .maximumSize(maximumSize)
                .build(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/llm/LlmException.java

    /**
     * Exception thrown when an error occurs during LLM operations.
     *
     * @author FessProject
     */
    public class LlmException extends FessSystemException {
    
        private static final long serialVersionUID = 1L;
    
        /** Error code for rate limit (HTTP 429). */
        public static final String ERROR_RATE_LIMIT = "rate_limit";
    
        /** Error code for authentication failure (HTTP 401/403). */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 07 01:53:06 GMT 2026
    - 3.5K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/relatedcontent/AdminRelatedcontentAction.java

        //                                                                        ============
    
        private static OptionalEntity<RelatedContent> getEntity(final CreateForm form, final String username, final long currentTime) {
            switch (form.crudMode) {
            case CrudMode.CREATE:
                return OptionalEntity.of(new RelatedContent()).map(entity -> {
                    entity.setCreatedBy(username);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 15.5K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/exception/InvalidQueryExceptionTest.java

            // Verify that exception is serializable
            assertTrue(exception instanceof java.io.Serializable);
        }
    
        @Test
        public void test_longMessage() {
            // Setup - test with a very long message
            final StringBuilder longMessageBuilder = new StringBuilder();
            for (int i = 0; i < 1000; i++) {
                longMessageBuilder.append("Query segment ").append(i).append("; ");
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 15.9K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/helper/SearchLogHelperTest.java

            helper.init();
    
            assertNotNull(helper.userInfoCache);
            assertNotNull(helper.searchLogLogger);
        }
    
        @Test
        public void test_setUserCheckInterval() {
            long interval = 5 * 60 * 1000L; // 5 minutes
            searchLogHelper.setUserCheckInterval(interval);
            assertEquals(interval, searchLogHelper.userCheckInterval);
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 16.6K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/io/SourceSinkFactories.java

          public void tearDown() throws IOException {
            factory.tearDown();
          }
        };
      }
    
      public static ByteSourceFactory asSlicedByteSourceFactory(
          ByteSourceFactory factory, long off, long len) {
        checkNotNull(factory);
        return new ByteSourceFactory() {
          @Override
          public ByteSource createSource(byte[] bytes) throws IOException {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jul 16 17:42:14 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/cache/CacheLoader.java

        }
    
        @Override
        public V load(K key) {
          return computingFunction.apply(checkNotNull(key));
        }
    
        @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
      }
    
      /**
       * Returns a {@code CacheLoader} which wraps {@code loader}, executing calls to {@link
       * CacheLoader#reload} using {@code executor}.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jan 28 22:39:02 GMT 2026
    - 9.7K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/ImmutableMultiset.java

          }
          return ImmutableMultiset.copyOf(multiset);
        }
    
        @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
      }
    
      @GwtIncompatible @J2ktIncompatible   private static final long serialVersionUID = 0xcafebabe;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerThread.java

                // system shutdown
                return false;
            }
    
            boolean isContinue = false;
            if (tcCount < crawlerContext.maxThreadCheckCount) {
                final long maxAccessCount = crawlerContext.getMaxAccessCount();
                if (maxAccessCount > 0 && crawlerContext.getAccessCount() >= maxAccessCount) {
                    return false;
                }
                isContinue = true;
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Wed Dec 31 09:07:38 GMT 2025
    - 20.3K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/LinkedListMultimap.java

            keyTail.nextSibling = node;
            node.previousSibling = keyTail;
            keyList.tail = node;
          }
        } else { // non-empty list, insert before nextSibling
          /*
           * requireNonNull is safe as long as callers pass a nextSibling that (a) has the same key and
           * (b) is present in the multimap. (And they do, except maybe in case of concurrent
           * modification, in which case all bets are off.)
           */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 27K bytes
    - Click Count (0)
Back to Top