- Sort Score
- Num 10 results
- Language All
Results 141 - 150 of 946 for dsbyte (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/jcifs/smb1/smb1/SmbRandomAccessFileTest.java
byte[] testData = new byte[] { 10, 20, 30, 40, 50 }; System.arraycopy(testData, 0, response.b, response.off, testData.length); return null; } }).when(smbFile).send(any(SmbComReadAndX.class), any(SmbComReadAndXResponse.class)); smbRandomAccessFile.readFully(buffer); assertArrayEquals(new byte[] { 10, 20, 30, 40, 50 }, buffer);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
// Test initial encryption byte[] plaintext1 = "Before rotation".getBytes(); byte[] encrypted1 = context.encryptMessage(plaintext1, 1L); byte[] decrypted1 = context.decryptMessage(encrypted1); assertArrayEquals(plaintext1, decrypted1); // When - Rotate keys byte[] newEncKey = new byte[16]; byte[] newDecKey = new byte[16]; new SecureRandom().nextBytes(newEncKey);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 44.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java
long previousSessionId = 0x123456789ABCDEF0L; byte[] token = { (byte) 0x11, (byte) 0x22, (byte) 0x33, (byte) 0x44, (byte) 0x55, (byte) 0x66, (byte) 0x77, (byte) 0x88 }; Smb2SessionSetupRequest req = new Smb2SessionSetupRequest(mockContext, securityMode, capabilities, previousSessionId, token); req.setSessionBinding(true); byte[] buffer = new byte[512]; // When req.encode(buffer, 0);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 21.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDesc.java
this.maxDataCount = 65536; this.maxSetupCount = (byte) 0x00; } @Override public int getPadding() { return 4; } @Override protected int writeSetupWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override protected int writeParametersWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex;Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.4K bytes - Click Count (0) -
internal/s3select/sql/value_test.go
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 12.4K bytes - Click Count (0) -
src/test/java/jcifs/util/HexdumpTest.java
} @Test @DisplayName("Should handle special byte values correctly") void testSpecialByteValues() { // Test boundary values byte[] data = { (byte) 0x00, // min value (byte) 0xFF, // max value (-1 as signed byte) (byte) 0x7F, // max positive (byte) 0x80 // min negative }; String result = Hexdump.toHexString(data);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.1K bytes - Click Count (0) -
src/bytes/bytes.go
a := make([][]byte, len(spans)) for i, span := range spans { a[i] = s[span.start:span.end:span.end] } return a } // Join concatenates the elements of s to create a new byte slice. The separator // sep is placed between elements in the resulting slice. func Join(s [][]byte, sep []byte) []byte { if len(s) == 0 { return []byte{} } if len(s) == 1 {
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Sep 16 16:42:15 GMT 2025 - 35.5K bytes - Click Count (0) -
src/main/java/jcifs/smb/compression/CompressionService.java
* * @param data the data to compress * @param algorithm the compression algorithm to use * @return the compressed data * @throws CIFSException if compression fails */ byte[] compress(byte[] data, int algorithm) throws CIFSException; /** * Compresses data using the specified algorithm with offset and length. * * @param data the data bufferCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 5.2K bytes - Click Count (0) -
src/main/java/jcifs/ntlmssp/Type3Message.java
* Represents an NTLMSSP Type-3 message. */ public class Type3Message extends NtlmMessage { private byte[] lmResponse; private byte[] ntResponse; private String domain; private String user; private String workstation; private byte[] masterKey = null; private byte[] sessionKey = null; private byte[] mic = null; private boolean micRequired; /**Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 32.7K bytes - Click Count (0)