- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 182 for 128 (1.95 sec)
-
guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java
assertEquals(HASH_FN.newHasher().putUnencodedChars(s).hash(), HASH_FN.hashUnencodedChars(s)); } } public void testUtf8() { char[] charsA = new char[128]; char[] charsB = new char[128]; for (int i = 0; i < charsA.length; i++) { if (i < 100) { charsA[i] = 'a'; charsB[i] = 'a'; } else { // Both two-byte characters, but must be different
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 6.3K bytes - Viewed (0) -
internal/bucket/replication/tag.go
func (tag Tag) IsEmpty() bool { return tag.Key == "" } // Validate checks this tag. func (tag Tag) Validate() error { if len(tag.Key) == 0 || utf8.RuneCountInString(tag.Key) > 128 { return errInvalidTagKey } if utf8.RuneCountInString(tag.Value) > 256 { return errInvalidTagValue } return nil
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 1.6K bytes - Viewed (0) -
src/test/java/jcifs/util/CryptoTest.java
// When MessageDigest md4 = Crypto.getMD4(); byte[] hash = md4.digest(data); // Then assertNotNull(hash); assertEquals(16, hash.length); // MD4 produces 128-bit hash } @Test @DisplayName("Should calculate MD5 hash correctly") void testMD5Hash() { // Given String input = "Hello World"; byte[] data = input.getBytes();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/Fingerprint2011Test.java
assertEquals(HASH_FN.newHasher().putUnencodedChars(s).hash(), HASH_FN.hashUnencodedChars(s)); } } public void testUtf8() { char[] charsA = new char[128]; char[] charsB = new char[128]; for (int i = 0; i < charsA.length; i++) { if (i < 100) { charsA[i] = 'a'; charsB[i] = 'a'; } else { // Both two-byte characters, but must be different
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 7.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java
SMBUtil.writeInt4(0, buffer, bufferIndex + 19); // dataCount (4 bytes) SMBUtil.writeInt4(200, buffer, bufferIndex + 23); // dataOffset (4 bytes) SMBUtil.writeInt4(128, buffer, bufferIndex + 27); // dataDisplacement (4 bytes) SMBUtil.writeInt4(0, buffer, bufferIndex + 31); // setupCount (1 byte) + 1 reserved byte
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/BenchmarkHelpers.java
+ "\u2006\u2007\u2008\u2009\u200a"; private static final String ASCII_CHARACTERS; static { int spaceInAscii = 32; int sevenBitAsciiMax = 128; StringBuilder sb = new StringBuilder(sevenBitAsciiMax - spaceInAscii); for (int ch = spaceInAscii; ch < sevenBitAsciiMax; ch++) { sb.append((char) ch); } ASCII_CHARACTERS = sb.toString(); }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 3.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/BenchmarkHelpers.java
+ "\u2006\u2007\u2008\u2009\u200a"; private static final String ASCII_CHARACTERS; static { int spaceInAscii = 32; int sevenBitAsciiMax = 128; StringBuilder sb = new StringBuilder(sevenBitAsciiMax - spaceInAscii); for (int ch = spaceInAscii; ch < sevenBitAsciiMax; ch++) { sb.append((char) ch); } ASCII_CHARACTERS = sb.toString(); }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 3.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java
// Set excessive negotiate context count (should be limited to 100) SMBUtil.writeInt2(1000, buffer, 6); // Set negotiate context offset to valid value SMBUtil.writeInt4(128, buffer, 60); SMBProtocolDecodingException exception = assertThrows(SMBProtocolDecodingException.class, () -> { response.readBytesWireFormat(buffer, 0); });
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java
} @Test @DisplayName("Should allow size override") void testSizeOverride() { testRequest.setEncodedSize(128); assertEquals(128, testRequest.size()); } @Test @DisplayName("Should throw exception on null buffer") void testEncodeWithNullBuffer() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0)