Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 441 - 450 of 674 for 1900 (0.02 seconds)

  1. src/test/java/org/codelibs/fess/exception/ScriptEngineExceptionTest.java

        }
    
        @Test
        public void test_withLongMessage() {
            // Test with a very long message
            StringBuilder longMessage = new StringBuilder();
            for (int i = 0; i < 1000; i++) {
                longMessage.append("Error message part ").append(i).append(" ");
            }
            String message = longMessage.toString();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  2. internal/config/scanner/scanner.go

    	}
    
    	switch speed := env.Get(EnvSpeed, kvs.GetWithDefault(Speed, DefaultKVS)); speed {
    	case "fastest":
    		cfg.Delay, cfg.MaxWait, cfg.Cycle = 0, 0, time.Second
    	case "fast":
    		cfg.Delay, cfg.MaxWait, cfg.Cycle = 1, 100*time.Millisecond, time.Minute
    	case "default":
    		cfg.Delay, cfg.MaxWait, cfg.Cycle = 2, time.Second, time.Minute
    	case "slow":
    		cfg.Delay, cfg.MaxWait, cfg.Cycle = 10, 15*time.Second, time.Minute
    	case "slowest":
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri May 24 23:05:23 GMT 2024
    - 5.5K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/helper/IndexingHelperTest.java

        @Test
        public void test_setDefaultRowSize() {
            indexingHelper.setDefaultRowSize(50);
            assertEquals(50, indexingHelper.defaultRowSize);
    
            indexingHelper.setDefaultRowSize(1000);
            assertEquals(1000, indexingHelper.defaultRowSize);
        }
    
        @Test
        public void test_setRequestInterval() {
            indexingHelper.setRequestInterval(1000L);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 29.7K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

                manager.stopAsync().awaitStopped();
              }
            };
        stoppingThread.start();
        // this should be super fast since the only non-stopped service is a NoOpService
        stoppingThread.join(1000);
        assertFalse("stopAsync has deadlocked!.", stoppingThread.isAlive());
        failLeave.countDown(); // release the background thread
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 25.6K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/util/SMBUtil.java

         * @param dstIndex the starting index in the destination array
         */
        public static void writeUTime(final long t, final byte[] dst, final int dstIndex) {
            writeInt4(t / 1000, dst, dstIndex);
        }
    
        /**
         * SMB1 protocol header template with magic number 0xFF 'SMB'
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8K bytes
    - Click Count (0)
  6. src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java

            }
    
            @Test
            @DisplayName("Should maintain value consistency after multiple constructions")
            void testValueConsistency() {
                // Given: Same input value
                int inputValue = 1000;
                int expectedMasked = inputValue & 0xFF; // 232
    
                // When: Creating multiple NdrShort instances
                NdrShort ndrShort1 = new NdrShort(inputValue);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/hash/Fingerprint2011.java

    /**
     * Implementation of Geoff Pike's fingerprint2011 hash function. See {@link Hashing#fingerprint2011}
     * for information on the behaviour of the algorithm.
     *
     * <p>On Intel Core2 2.66, on 1000 bytes, fingerprint2011 takes 0.9 microseconds compared to
     * fingerprint at 4.0 microseconds and md5 at 4.5 microseconds.
     *
     * <p>Note to maintainers: This implementation relies on signed arithmetic being bit-wise equivalent
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/util/concurrent/UninterruptibleFutureTest.java

      @Override
      protected void setUp() {
        ExecutorService executor = newSingleThreadExecutor();
        tearDownStack.addTearDown(executor::shutdownNow);
        sleeper = new SleepingRunnable(1000);
        delayedFuture = executor.submit(sleeper, true);
    
        tearDownStack.addTearDown(() -> Thread.interrupted());
      }
    
      @Override
      protected void tearDown() {
        tearDownStack.runTearDown();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java

            @DisplayName("Should handle complete read-write cycle")
            void testCompleteReadWriteCycle() throws SMBProtocolDecodingException {
                // Given
                byte[] writeBuffer = new byte[100];
                byte[] readBuffer = new byte[100];
    
                // Prepare valid read buffer
                SMBUtil.writeInt2(4, readBuffer, 10);
                SMBUtil.writeInt2(0, readBuffer, 12);
    
                // When
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                writeJsonResponse(HttpServletResponse.SC_BAD_REQUEST, escapeJsonKeyValue(MESSAGE_FIELD, "Scroll Search is not available."));
                return;
            }
    
            final StringBuilder buf = new StringBuilder(1000);
            request.setAttribute(Constants.SEARCH_LOG_ACCESS_TYPE, Constants.SEARCH_LOG_ACCESS_TYPE_JSON);
            final JsonRequestParams params = new JsonRequestParams(request, fessConfig);
            try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 27 13:56:32 GMT 2026
    - 55.4K bytes
    - Click Count (1)
Back to Top