- Sort Score
- Result 10 results
- Languages All
Results 221 - 230 of 1,386 for Byte (0.02 sec)
-
src/test/java/jcifs/internal/dtyp/ACETest.java
testBuffer = new byte[100]; testBuffer[0] = (byte) 0xFF; // Non-zero = Deny testBuffer[1] = (byte) 0xFF; // All flags testBuffer[2] = (byte) 0xFF; // Size low byte testBuffer[3] = (byte) 0xFF; // Size high byte testBuffer[4] = (byte) 0xFF; // Access mask all bits testBuffer[5] = (byte) 0xFF; testBuffer[6] = (byte) 0xFF; testBuffer[7] = (byte) 0xFF;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponseTest.java
if (dataSize > outputBuffer.length) { return; // Skip sizes larger than buffer } byte[] sourceData = new byte[dataSize]; for (int i = 0; i < dataSize; i++) { sourceData[i] = (byte) (i % 256); } byte[] buffer = new byte[dataSize + 50]; System.arraycopy(sourceData, 0, buffer, 10, dataSize);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java
* The header format is: * - Byte 0: Message type (0x00 for SESSION_MESSAGE) * - Byte 1: High bit of 17-bit length field * - Bytes 2-3: Lower 16 bits of length field */ private static byte[] messageHeader(int length) { byte[] h = new byte[4]; h[0] = (byte) SessionServicePacket.SESSION_MESSAGE; h[1] = (byte) ((length >> 16) & 0x01); h[2] = (byte) ((length >> 8) & 0xFF);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java
assertEquals(DACL_SECURITY_INFORMATION, desc3.securityInformation); // Verify writing doesn't affect other instances byte[] dst1 = new byte[8]; byte[] dst2 = new byte[8]; byte[] dst3 = new byte[8]; desc1.writeParametersWireFormat(dst1, 0); desc2.writeParametersWireFormat(dst2, 0); desc3.writeParametersWireFormat(dst3, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.9K bytes - Viewed (0) -
cmd/batch-expire_gen.go
err = msgp.WrapError(err, "Rules", za0001) return } } return } // UnmarshalMsg implements msgp.Unmarshaler func (z *BatchJobExpire) 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 } for zb0001 > 0 { zb0001--
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Aug 01 12:53:30 UTC 2024 - 19.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java
netShareEnum = new NetShareEnum(realConfig); // Test with offset 0 byte[] dst1 = new byte[256]; int bytesWritten1 = netShareEnum.writeParametersWireFormat(dst1, 0); // Test with offset 100 byte[] dst2 = new byte[256]; int bytesWritten2 = netShareEnum.writeParametersWireFormat(dst2, 100); // Same number of bytes should be written
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/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java
*/ public NdrBuffer deferred; /** * Constructs an NdrBuffer with the specified byte array and starting position. * * @param buf the byte array to use as the buffer * @param start the starting position in the buffer */ public NdrBuffer(final byte[] buf, final int start) { this.buf = buf; this.start = index = start; length = 0;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Test.java
trans2FindFirst2 = new Trans2FindFirst2(mockConfig, "\\test", "*.*", 0x16, 10, 1024); byte[] buffer = new byte[10]; int written = trans2FindFirst2.writeSetupWireFormat(buffer, 0); assertEquals(2, written); assertEquals((byte) Trans2FindFirst2.TRANS2_FIND_FIRST2, buffer[0]); assertEquals((byte) 0x00, buffer[1]); } @Test @DisplayName("Test writeParametersWireFormat")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FileRenameInformation2.java
bufferIndex += 4; final byte[] nameBytes = new byte[nameLen]; System.arraycopy(buffer, bufferIndex, nameBytes, 0, nameBytes.length); bufferIndex += nameLen; this.fileName = new String(nameBytes, StandardCharsets.UTF_16LE); return bufferIndex - start; } /** * {@inheritDoc} * * @see jcifs.Encodable#encode(byte[], int) */ @OverrideRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/Smb2LeaseKey.java
*/ public Smb2LeaseKey() { this.key = new byte[LEASE_KEY_SIZE]; RANDOM.nextBytes(this.key); } /** * Create a lease key from existing bytes * * @param key 16-byte array * @throws IllegalArgumentException if key is not 16 bytes */ public Smb2LeaseKey(byte[] key) { if (key == null) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 3.3K bytes - Viewed (0)