Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 449 for 15000 (0.01 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/HeadersJvmTest.kt

            .build()
        assertThat(headers["Test-Instant"]).isEqualTo("Thu, 01 Jan 1970 00:00:00 GMT")
        assertThat(headers.getInstant("Test-Instant")).isEqualTo(expected)
      }
    
      @Test fun setDate() {
        val expected = Date(1000)
        val headers =
          Headers
            .Builder()
            .add("testDate", Date(0L))
            .set("testDate", expected)
            .build()
        assertThat(headers["testDate"]).isEqualTo("Thu, 01 Jan 1970 00:00:01 GMT")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:51:25 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/SimpleCircuitBreakerTest.java

            String str = stats.toString();
    
            assertNotNull(str);
            assertTrue(str.contains("test"));
            assertTrue(str.contains("CLOSED"));
            assertTrue(str.contains("100.00%"));
        }
    
        @Test
        @DisplayName("Test mixed success and failure pattern")
        void testMixedPattern() throws Exception {
            // Success
            circuitBreaker.call(() -> "success");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  3. 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
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/witness/WitnessClientTest.java

            notification.addNewIPAddress(InetAddress.getByName("192.168.1.101"));
    
            client.processNotification(notification);
    
            // Verify notification was delivered
            assertTrue(listener.waitForNotification(1000));
            assertNotNull(listener.getLastNotification());
            assertEquals(WitnessEventType.CLIENT_MOVE, listener.getLastNotification().getEventType());
    
            client.close();
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  5. 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 {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 54.6K bytes
    - Viewed (1)
  6. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

       * response is ready.
       */
      @Test
      fun dispatchBlocksWaitingForEnqueue() {
        Thread {
          try {
            Thread.sleep(1000)
          } catch (ignored: InterruptedException) {
          }
          server.enqueue(MockResponse().setBody("enqueued in the background"))
        }.start()
        val connection = server.url("/").toUrl().openConnection()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 03 13:16:34 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/PopularWordHelperTest.java

                public void init() {
                    fessConfig = new FessConfig.SimpleImpl() {
                        @Override
                        public Integer getSuggestPopularWordCacheSizeAsInteger() {
                            return 1000;
                        }
    
                        @Override
                        public Integer getSuggestPopularWordCacheExpireAsInteger() {
                            return 10;
                        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 11K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java

            assertEquals("  word  ", item3.toLineString());
        }
    
        public void test_longStrings() {
            // Test with long strings
            StringBuilder longString = new StringBuilder();
            for (int i = 0; i < 1000; i++) {
                longString.append("word");
            }
            String longInput = longString.toString();
    
            StopwordsItem item = new StopwordsItem(1, longInput);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/multichannel/ChannelInfo.java

         */
        public long getThroughput() {
            long duration = System.currentTimeMillis() - establishedTime;
            if (duration == 0)
                return 0;
            return (bytesSent.get() + bytesReceived.get()) * 1000 / duration;
        }
    
        /**
         * Get number of pending operations
         *
         * @return number of pending operations
         */
        public long getRequestsPending() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java

        public void testNoConcurrentModificationException() throws Exception {
            // Given
            SmbSessionImpl session = new SmbSessionImpl(mockContext, "testhost", "testdomain", mockTransport);
    
            int iterations = 1000;
            ExecutorService executor = Executors.newFixedThreadPool(2);
            CountDownLatch endLatch = new CountDownLatch(2);
            AtomicInteger successCount = new AtomicInteger(0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11K bytes
    - Viewed (0)
Back to top