- Sort Score
- Num 10 results
- Language All
Results 91 - 100 of 246 for bits (0.02 seconds)
-
android/guava/src/com/google/common/hash/FarmHashFingerprint64.java
/** * Implementation of FarmHash Fingerprint64, an open-source fingerprinting algorithm for strings. * * <p>Its speed is comparable to CityHash64, and its quality of hashing is at least as good. * * <p>Note to maintainers: This implementation relies on signed arithmetic being bit-wise equivalent * to unsigned arithmetic in all cases except: * * <ul> * <li>comparisons (signed values can be negative)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 7.6K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Utf8.java
// Three-byte form. if (index + 1 >= end) { return false; } int byte2 = bytes[index++]; if (byte2 > (byte) 0xBF // Overlong? 5 most significant bits must not all be zero. || (byte1 == (byte) 0xE0 && byte2 < (byte) 0xA0) // Check for illegal surrogate codepoints. || (byte1 == (byte) 0xED && byte2 >= (byte) 0xA0)Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 7K bytes - Click Count (0) -
guava/src/com/google/common/base/Utf8.java
// Three-byte form. if (index + 1 >= end) { return false; } int byte2 = bytes[index++]; if (byte2 > (byte) 0xBF // Overlong? 5 most significant bits must not all be zero. || (byte1 == (byte) 0xE0 && byte2 < (byte) 0xA0) // Check for illegal surrogate codepoints. || (byte1 == (byte) 0xED && byte2 >= (byte) 0xA0)Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java
assertEquals(48, SMBUtil.readInt2(buffer, 0)); // Structure size assertEquals(1, SMBUtil.readInt2(buffer, 2)); // Lock count // Verify lock sequence (bits 4-7 are sequence number, bits 0-27 are index) int lockSequence = SMBUtil.readInt4(buffer, 4); assertEquals(0, lockSequence); // Default values // Verify file ID
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 25.3K bytes - Click Count (0) -
cmd/xl-storage-format-v1_gen.go
func (z *ObjectPartInfo) UnmarshalMsg(bts []byte) (o []byte, err error) { var field []byte _ = field var zb0001 uint32 zb0001, bts, err = msgp.ReadMapHeaderBytes(bts) if err != nil { err = msgp.WrapError(err) return } var zb0001Mask uint8 /* 3 bits */ _ = zb0001Mask for zb0001 > 0 { zb0001-- field, bts, err = msgp.ReadMapKeyZC(bts) if err != nil { err = msgp.WrapError(err)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 41.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java
assertTrue(str.contains(specialRemark)); } @Test @DisplayName("Test type masking with 0xFFFF") void testTypeMasking() { // Test that only lower 16 bits are considered for type determination int typeWithUpperBits = 0xFFFF0001; // Should be treated as type 1 (printer) SmbShareInfo info = new SmbShareInfo(TEST_NET_NAME, typeWithUpperBits, TEST_REMARK);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java
// Test various boundary values long[] testValues = { 0L, // Zero 1L, // One -1L, // Negative one 0x00000000FFFFFFFFL, // 32-bit max as long 0xFFFFFFFF00000000L, // High 32 bits set 0x7FFFFFFFFFFFFFFFL, // Long.MAX_VALUE 0x8000000000000000L, // Long.MIN_VALUE 0x0101010101010101L, // Repeating patternCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbFileInputStreamTest.java
jcifs.internal.smb1.com.SmbComReadAndX req = cap.getValue(); assertEquals(0x12345 & 0xFFFF, req.getMaxCount(), "maxCount should contain lower 16 bits"); assertEquals(0x12345, req.getMinCount(), "minCount should remain original full value"); } @Test @DisplayName("Named pipe request uses fixed 1024 hints")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java
request.writeBytesWireFormat(buffer, 0); // Then int readFilter = SMBUtil.readInt4(buffer, 24); assertEquals(allFilters, readFilter); assertEquals(0xFFF, readFilter); // All 12 bits set } @Test @DisplayName("Should handle different buffer sizes from configuration") void testDifferentBufferSizes() { // Given Configuration config = mock(Configuration.class);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java
Arguments.of(ALL_SECURITY_INFORMATION, "All security information"), Arguments.of(0x00000000, "No security information"), Arguments.of(0xFFFFFFFF, "All bits set")); } @Test @DisplayName("Test writeParametersWireFormat buffer boundary") void testWriteParametersWireFormatBufferBoundary() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.9K bytes - Click Count (0)