Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 142 for 128 (0.02 sec)

  1. android/guava/src/com/google/common/hash/Murmur3_128HashFunction.java

      private final int seed;
    
      Murmur3_128HashFunction(int seed) {
        this.seed = seed;
      }
    
      @Override
      public int bits() {
        return 128;
      }
    
      @Override
      public Hasher newHasher() {
        return new Murmur3_128Hasher(seed);
      }
    
      @Override
      public String toString() {
        return "Hashing.murmur3_128(" + seed + ")";
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/audit/SecurityAuditLoggerTest.java

        }
    
        @Test
        @DisplayName("Test log encryption")
        void testLogEncryption() {
            logger.logEncryption(true, "AES-128-GCM", "SMB3.1.1");
    
            Map<EventType, Long> stats = logger.getStatistics();
            assertEquals(Long.valueOf(1), stats.get(EventType.ENCRYPTION_ENABLED), "Should have 1 encryption event");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java

        }
    
        @Test
        @DisplayName("Test readString with ASCII encoding")
        void testReadStringAscii() throws Exception {
            String testString = "TestString";
            byte[] buffer = new byte[128];
            byte[] stringBytes = testString.getBytes(StandardCharsets.US_ASCII);
            System.arraycopy(stringBytes, 0, buffer, 10, stringBytes.length);
            buffer[10 + stringBytes.length] = 0; // null terminator
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/hash/Murmur3_32HashFunction.java

        }
      }
    
      private static long codePointToFourUtf8Bytes(int codePoint) {
        // codePoint has at most 21 bits
        return ((0xFL << 4) | (codePoint >>> 18))
            | ((0x80L | (0x3F & (codePoint >>> 12))) << 8)
            | ((0x80L | (0x3F & (codePoint >>> 6))) << 16)
            | ((0x80L | (0x3F & codePoint)) << 24);
      }
    
      private static long charToThreeUtf8Bytes(char c) {
        return ((0x7L << 5) | (c >>> 12))
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/dcerpc/rpc.java

         */
        private rpc() {
            // Utility class
        }
    
        /**
         * UUID (Universally Unique Identifier) structure for DCE/RPC.
         * Represents a 128-bit UUID as defined by DCE/RPC specification.
         */
        public static class uuid_t extends NdrObject {
    
            /**
             * Default constructor for uuid_t.
             */
            public uuid_t() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java

        @Test
        @DisplayName("Invalid structure size should throw during decode")
        void testInvalidStructureSizeThrows() {
            Smb2SessionSetupResponse resp = newResponse();
    
            byte[] buf = new byte[128];
            int headerStart = 0;
            buildHeader(buf, headerStart, NtStatus.NT_STATUS_SUCCESS, 0x0001, 0x0L);
    
            int bodyStart = headerStart + Smb2Constants.SMB2_HEADER_LENGTH;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java

            assertEquals(4096, response.getServerData().maxRawSize);
            assertEquals(0x04030201, response.getServerData().sessKey);
            assertEquals(0x80, response.getServerData().scapabilities);
            assertEquals(-128, response.getServerData().serverTimeZone);
            assertEquals(8, response.getServerData().encryptionKeyLength);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java

        }
    
        @Test
        @DisplayName("Test readString with ASCII encoding")
        void testReadStringAscii() throws Exception {
            String testString = "TestString";
            byte[] buffer = new byte[128];
            byte[] stringBytes = testString.getBytes(StandardCharsets.US_ASCII);
            System.arraycopy(stringBytes, 0, buffer, 10, stringBytes.length);
            buffer[10 + stringBytes.length] = 0; // null terminator
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/FormBodyTest.kt

        assertThat(formEncode(124)).isEqualTo("%7C")
        assertThat(formEncode(125)).isEqualTo("%7D")
        assertThat(formEncode(126)).isEqualTo("%7E")
        assertThat(formEncode(127)).isEqualTo("%7F")
        assertThat(formEncode(128)).isEqualTo("%C2%80")
        assertThat(formEncode(255)).isEqualTo("%C3%BF")
      }
    
      @Throws(IOException::class)
      private fun formEncode(codePoint: Int): String {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.9K bytes
    - Viewed (0)
Back to top