Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 431 - 440 of 764 for 1020 (0.02 seconds)

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

     *
     * @author mike nonemacher
     */
    @NullUnmarked
    public class CacheEvictionTest extends TestCase {
      static final int MAX_SIZE = 100;
    
      public void testEviction_setMaxSegmentSize() {
        IdentityLoader<Object> loader = identityLoader();
        for (int i = 1; i < 1000; i++) {
          LoadingCache<Object, Object> cache = CacheBuilder.newBuilder().maximumSize(i).build(loader);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 15K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java

          service.firstBarrier.await();
          assertEquals(i, service.numIterations.get());
          service.secondBarrier.await();
        }
        Thread.sleep(1000);
        assertThrows(
            IllegalStateException.class, () -> service.stopAsync().awaitTerminated(100, SECONDS));
        assertEquals(State.FAILED, service.state());
      }
    
      private static class TestFailingCustomScheduledService extends AbstractScheduledService {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 22.8K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java

          service.firstBarrier.await();
          assertEquals(i, service.numIterations.get());
          service.secondBarrier.await();
        }
        Thread.sleep(1000);
        assertThrows(
            IllegalStateException.class, () -> service.stopAsync().awaitTerminated(100, SECONDS));
        assertEquals(State.FAILED, service.state());
      }
    
      private static class TestFailingCustomScheduledService extends AbstractScheduledService {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 22.8K bytes
    - Click Count (0)
  4. internal/s3select/jstream/README.md

    -h | display help dialog
    
    ## Benchmarks
    
    Obligatory benchmarks performed on files with arrays of objects, where the decoded objects are to be extracted.
    
    Two file sizes are used -- regular (1.6mb, 1000 objects) and large (128mb, 100000 objects)
    
    input size | lib | MB/s | Allocated
    --- | --- | --- | ---
    regular | standard | 97 | 3.6MB
    regular | jstream | 175 | 2.1MB
    large | standard | 92 | 305MB
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Sep 23 19:35:41 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  5. src/bytes/buffer_test.go

    		check(t, "TestBasicOperations (7)", &buf, testString[0:26])
    
    		buf.Truncate(20)
    		check(t, "TestBasicOperations (8)", &buf, testString[0:20])
    
    		empty(t, "TestBasicOperations (9)", &buf, testString[0:20], make([]byte, 5))
    		empty(t, "TestBasicOperations (10)", &buf, "", make([]byte, 100))
    
    		buf.WriteByte(testString[1])
    		c, err := buf.ReadByte()
    		if want := testString[1]; err != nil || c != want {
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Nov 14 19:01:17 GMT 2025
    - 19.4K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/score/ScoreBooster.java

        protected int priority = 1;
    
        /**
         * The request timeout.
         */
        protected String requestTimeout = "1m";
    
        /**
         * The request cache size.
         */
        protected int requestCacheSize = 1000;
    
        /**
         * The script language.
         */
        protected String scriptLang = "painless";
    
        /**
         * The script code.
         */
        protected String scriptCode = null;
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/exception/JobProcessingExceptionTest.java

        }
    
        @Test
        public void test_constructor_withLongMessage() {
            // Test constructor with a very long message
            final StringBuilder longMessage = new StringBuilder();
            for (int i = 0; i < 1000; i++) {
                longMessage.append("Long message part ").append(i).append(" ");
            }
            final String message = longMessage.toString();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketProtocol.kt

              i++
              keyIndex++
            }
          }
        } while (cursor.next() != -1)
      }
    
      fun closeCodeExceptionMessage(code: Int): String? =
        if (code < 1000 || code >= 5000) {
          "Code must be in range [1000,5000): $code"
        } else if (code in 1004..1006 || code in 1015..2999) {
          "Code $code is reserved and may not be used."
        } else {
          null
        }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/exception/UnsupportedSearchExceptionTest.java

        }
    
        @Test
        public void test_constructor_withLongMessage() {
            // Test with long message
            StringBuilder sb = new StringBuilder();
            for (int i = 0; i < 1000; i++) {
                sb.append("a");
            }
            String message = sb.toString();
            UnsupportedSearchException exception = new UnsupportedSearchException(message);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/helper/LogNotificationHelper.java

            int maxBufferSize;
            try {
                maxBufferSize = ComponentUtil.getFessConfig().getLogNotificationBufferSizeAsInteger();
            } catch (final Exception e) {
                maxBufferSize = 1000;
            }
            queue.offer(event);
            if (size.incrementAndGet() > maxBufferSize) {
                if (queue.poll() != null) {
                    size.decrementAndGet();
                }
            }
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 5.3K bytes
    - Click Count (0)
Back to Top