- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 1,082 for Bits (0.02 sec)
-
android/guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java
// From RFC 3720, Section 12.1, the polynomial generator is 0x11EDC6F41. // We calculate the constant below by: // 1. Omitting the most significant bit (because it's always 1). => 0x1EDC6F41 // 2. Flipping the bits of the constant so we can process a byte at a time. => 0x82F63B78 private static final int CRC32C_GENERATOR = 0x1EDC6F41; // 0x11EDC6F41 private static final int CRC32C_GENERATOR_FLIPPED = Integer.reverse(CRC32C_GENERATOR);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 6.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java
import java.net.UnknownHostException; import jcifs.smb1.util.LogStream; import jcifs.smb1.util.transport.TransportException; /** * This InputStream can read bytes from a file on an SMB file server. Offsets are 64 bits. */ public class SmbFileInputStream extends InputStream { private long fp; private final int readSize; private int openFlags; private final int access; private byte[] tmp = new byte[1];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 9.4K bytes - Viewed (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
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.3K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Fingerprint2011.java
@Override public HashCode hashBytes(byte[] input, int off, int len) { checkPositionIndexes(off, off + len, input.length); return HashCode.fromLong(fingerprint(input, off, len)); } @Override public int bits() { return 64; } @Override public String toString() { return "Hashing.fingerprint2011()"; } // End of public functions. @VisibleForTesting
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 6.5K bytes - Viewed (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);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
cmd/os_unix.go
} // Forked from Golang but chooses to avoid performing lookup // // osMkdirAll creates a directory named path, // along with any necessary parents, and returns nil, // or else returns an error. // The permission bits perm (before umask) are used for all // directories that MkdirAll creates. // If path is already a directory, MkdirAll does nothing // and returns nil. func osMkdirAll(dirPath string, perm os.FileMode, baseDir string) error {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 9.3K bytes - Viewed (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)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 7K bytes - Viewed (0) -
src/cmd/asm/internal/asm/parse.go
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Feb 14 15:13:11 UTC 2025 - 37.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java
@Override public HashCode hashBytes(byte[] input, int off, int len) { return HashCode.fromBytes(Arrays.copyOfRange(input, off, off + len)); } @Override public int bits() { throw new UnsupportedOperationException(); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 8.5K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java
} @Test void testPtypeAndFlagsValues() { // Verify specific flag values are correctly set assertEquals(0, msrpcShareGetInfo.getPtype()); // Check individual flag bits int flags = msrpcShareGetInfo.getFlags(); assertTrue((flags & DcerpcConstants.DCERPC_FIRST_FRAG) != 0); assertTrue((flags & DcerpcConstants.DCERPC_LAST_FRAG) != 0); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.3K bytes - Viewed (0)