Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 546 for 1500 (0.02 sec)

  1. 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)
  2. 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)
  3. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java

            byte[] dst = new byte[100];
            int result = response.writeDataWireFormat(dst, 30);
            assertEquals(0, result);
        }
    
        @Test
        void testReadSetupWireFormat() {
            // Test that readSetupWireFormat returns 0
            byte[] buffer = new byte[100];
            int result = response.readSetupWireFormat(buffer, 10, 50);
            assertEquals(0, result);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java

                // When
                fileFsFullSizeInfo.decode(buffer.array(), 0, 32);
                double percentFree = (fileFsFullSizeInfo.getFree() * 100.0) / fileFsFullSizeInfo.getCapacity();
                double percentUsed =
                        ((fileFsFullSizeInfo.getCapacity() - fileFsFullSizeInfo.getFree()) * 100.0) / fileFsFullSizeInfo.getCapacity();
    
                // Then
                assertEquals(25.0, percentFree, 0.001);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/exception/JobProcessingExceptionTest.java

        }
    
        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();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7K bytes
    - Viewed (0)
  6. 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
        }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  7. 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;
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/UserAgentHelperTest.java

        }
    
        public void test_getUserAgentType_Opera() {
            getMockRequest().addHeader("user-agent", "Opera/9.80 (X11; U; Linux x86_64) Presto/2.9.181 Version/12.00");
            assertEquals(UserAgentType.OPERA, userAgentHelper.getUserAgentType());
        }
    
        public void test_getUserAgentType_OTHER() {
            getMockRequest().addHeader("user-agent", "Dummy");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

        }
    
        @Test
        @DisplayName("Large message is read correctly")
        void largeMessageIsReadCorrectly() throws IOException {
            // Create a message with 1000 bytes
            int size = 1000;
            byte[] data = new byte[size];
            for (int i = 0; i < size; i++) {
                data[i] = (byte) (i % 256);
            }
    
            byte[] fullData = concat(messageHeader(size), data);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  10. cmd/server_test.go

    		expectedStrings []string
    	}{
    		{getListObjectsV1URL(s.endPoint, bucketName, "", "1000", ""), []string{"<Key>foo bar 1</Key>", "<Key>foo bar 2</Key>"}},
    		{getListObjectsV1URL(s.endPoint, bucketName, "", "1000", "url"), []string{"<Key>foo+bar+1</Key>", "<Key>foo+bar+2</Key>"}},
    		{
    			getListObjectsV2URL(s.endPoint, bucketName, "", "1000", "", "", ""),
    			[]string{
    				"<Key>foo bar 1</Key>",
    				"<Key>foo bar 2</Key>",
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 118.1K bytes
    - Viewed (0)
Back to top