- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 273 for dst2 (0.03 sec)
-
src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeTest.java
byte[] dst1 = new byte[10]; byte[] dst2 = new byte[10]; // Act int result1 = transWaitNamedPipe.writeSetupWireFormat(dst1, 0); int result2 = transWaitNamedPipe.writeSetupWireFormat(dst2, 0); // Assert assertEquals(result1, result2); assertArrayEquals(dst1, dst2); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.8K bytes - Viewed (0) -
cmd/metacache-bucket.go
b.mu.RLock() defer b.mu.RUnlock() dst := make(map[string]metacache, len(b.caches)) maps.Copy(dst, b.caches) // Copy indexes dst2 := make(map[string][]string, len(b.cachesRoot)) for k, v := range b.cachesRoot { tmp := make([]string, len(v)) copy(tmp, v) dst2[k] = tmp } return dst, dst2 } // deleteAll will delete all on disk data for ALL caches.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 6.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationTest.java
byte[] dst = new byte[2]; // When int bytesWritten = trans.writeSetupWireFormat(dst, 0); // Then assertEquals(2, bytesWritten, "Should write 2 bytes."); assertEquals(SmbComTransaction.TRANS2_QUERY_PATH_INFORMATION, dst[0], "The first byte should be the subCommand."); assertEquals((byte) 0x00, dst[1], "The second byte should be 0."); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NetServerEnum2Test.java
currentIndex += 2; // Verify serverTypes assertEquals(testServerTypes, (dst[currentIndex] & 0xFF) | ((dst[currentIndex + 1] & 0xFF) << 8) | ((dst[currentIndex + 2] & 0xFF) << 16) | ((dst[currentIndex + 3] & 0xFF) << 24)); currentIndex += 4; // Verify domain
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2SetFileInformationTest.java
byte[] dst = new byte[6]; // When int result = trans2SetFileInformation.writeParametersWireFormat(dst, 0); // Then assertEquals(6, result); assertEquals(fid, (dst[1] << 8) | (dst[0] & 0xFF)); assertEquals(Trans2SetFileInformation.SMB_FILE_BASIC_INFO, (dst[3] << 8) | (dst[2] & 0xFF)); assertEquals(0, (dst[5] << 8) | (dst[4] & 0xFF)); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComWriteAndX.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/util/SMBUtil.java
* @param val the value to write * @param dst the destination byte array * @param dstIndex the starting index in the destination array */ public static void writeInt4(long val, final byte[] dst, int dstIndex) { dst[dstIndex] = (byte) val; dstIndex++; dst[dstIndex] = (byte) (val >>= 8); dst[++dstIndex] = (byte) (val >>= 8); dst[++dstIndex] = (byte) (val >> 8); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2.java
protected int writeSetupWireFormat(final byte[] dst, int dstIndex) { dst[dstIndex] = getSubCommand(); dstIndex++; dst[dstIndex++] = (byte) 0x00; return 2; } @Override protected int writeParametersWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; SMBUtil.writeInt2(this.searchAttributes, dst, dstIndex); dstIndex += 2;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.3K bytes - Viewed (0) -
src/main/java/jcifs/netbios/SessionServicePacket.java
dst[dstIndex] = (byte) (val >> 8 & 0xFF); dstIndex++; dst[dstIndex] = (byte) (val & 0xFF); } static void writeInt4(final int val, final byte[] dst, int dstIndex) { dst[dstIndex] = (byte) (val >> 24 & 0xFF); dstIndex++; dst[dstIndex++] = (byte) (val >> 16 & 0xFF); dst[dstIndex++] = (byte) (val >> 8 & 0xFF);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/TransTransactNamedPipe.java
setupCount = 2; name = "\\PIPE\\"; } @Override int writeSetupWireFormat(final byte[] dst, int dstIndex) { dst[dstIndex] = subCommand; dstIndex++; dst[dstIndex++] = (byte) 0x00; writeInt2(pipeFid, dst, dstIndex); dstIndex += 2; return 4; } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2.8K bytes - Viewed (0)