- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 665 for 16 (0.01 sec)
-
src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java
i += 8; SMBUtil.writeInt4(attrs, body, i); // FileAttributes i += 4; i += 4; // Reserved2 System.arraycopy(fileId, 0, body, i, 16); // FileId i += 16; SMBUtil.writeInt4(0, body, i); // CreateContextsOffset i += 4; SMBUtil.writeInt4(0, body, i); // CreateContextsLength i += 4; assert i == body.length;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Request.java
dstIndex += 4; SMBUtil.writeInt8(0, dst, dstIndex); // Reserved (8 bytes) dstIndex += 8; System.arraycopy(createGuid.toBytes(), 0, dst, dstIndex, 16); // CreateGuid (16 bytes) dstIndex += 16; return dstIndex - start; }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 5.2K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Fingerprint2011.java
long a = load64(bytes, offset) + (length + load64(bytes, offset + length - 16)) * K0; long b = rotateRight(a + z, 52); long c = rotateRight(a, 37); a += load64(bytes, offset + 8); c += rotateRight(a, 7); a += load64(bytes, offset + 16); long vf = a + z; long vs = b + rotateRight(a, 31) + c; a = load64(bytes, offset + 16) + load64(bytes, offset + length - 32); z = load64(bytes, offset + length - 8);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 6.5K bytes - Viewed (0) -
cmd/erasure-sets_test.go
} // TestHashedLayer - tests the hashed layer which will be returned // consistently for a given object name. func TestHashedLayer(t *testing.T) { // Test distribution with 16 sets. var objs [16]*erasureObjects for i := range objs { objs[i] = &erasureObjects{} } sets := &erasureSets{sets: objs[:], distributionAlgo: "CRCMOD"} testCases := []struct { objectName string expectedObj *erasureObjects }{
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 6.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponseTest.java
dst[dstIndex++] = (byte) (val >> 8); dst[dstIndex++] = (byte) (val >> 16); dst[dstIndex++] = (byte) (val >> 24); } private void writeInt8(long val, byte[] dst, int dstIndex) { dst[dstIndex++] = (byte) val; dst[dstIndex++] = (byte) (val >> 8); dst[dstIndex++] = (byte) (val >> 16); dst[dstIndex++] = (byte) (val >> 24); dst[dstIndex++] = (byte) (val >> 32);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/io/Smb2ReadRequest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 7.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java
void setUp() { mockConfig = mock(Configuration.class); mockContext = mock(CIFSContext.class); when(mockContext.getConfig()).thenReturn(mockConfig); testFileId = new byte[16]; for (int i = 0; i < 16; i++) { testFileId[i] = (byte) i; } } @Test @DisplayName("Test constructor with Configuration only") void testConstructorWithConfigOnly() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.9K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NodeStatusResponseTest.java
InetAddress inetAddr = InetAddress.getByName("192.168.1.100"); byte[] addrBytes = inetAddr.getAddress(); mockQueryAddress.address = ((addrBytes[0] & 0xFF) << 24) | ((addrBytes[1] & 0xFF) << 16) | ((addrBytes[2] & 0xFF) << 8) | (addrBytes[3] & 0xFF); // Create NodeStatusResponse instance response = new NodeStatusResponse(mockConfig, mockQueryAddress); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileOutputStreamTest.java
when(mockTreeHandle.getSendBufferSize()).thenReturn(65536); when(mockFileHandle.isValid()).thenReturn(false, true); // First false to trigger ensureOpen, then true when(mockFileHandle.getFileId()).thenReturn(new byte[16]); when(mockFileHandle.acquire()).thenReturn(mockFileHandle); // Mock for ensureOpen to reopen file when(mockFile.openUnshared(anyInt(), anyInt(), anyInt(), anyInt(), anyInt())).thenReturn(mockFileHandle);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/util/SMBUtilTest.java
for (int i = 8; i < 16; i++) { assertEquals((byte) 0xFF, dst[i]); } // Test with zero SMBUtil.writeInt8(0L, dst, 16); for (int i = 16; i < 24; i++) { assertEquals((byte) 0x00, dst[i]); } } @Test void testReadTime() { byte[] src = new byte[16]; // Test with zero time
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.1K bytes - Viewed (0)