- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 868 for 0bytes (0.03 sec)
-
src/main/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequest.java
} @Override public int size() { // Context header: 16 bytes // Name: 4 bytes ("RqLs") // Padding: 4 bytes (to align data to 8-byte boundary) // Data: 32 bytes (lease V1 structure) return 16 + 4 + 4 + 32; } @Override public int encode(byte[] dst, int dstIndex) { int start = dstIndex; // Write context headerRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 4.6K bytes - Viewed (0) -
src/main/java/jcifs/spnego/SpnegoToken.java
* @param mechanismListMIC the mechanism list MIC bytes */ public void setMechanismListMIC(final byte[] mechanismListMIC) { this.mechanismListMIC = mechanismListMIC; } /** * Encodes this SPNEGO token to a byte array * @return the encoded token bytes */ public abstract byte[] toByteArray(); /** * Parses the provided token bytes to populate this SPNEGO tokenRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.6K bytes - Viewed (0) -
cmd/background-newdisks-heal-ops_gen_test.go
import ( "bytes" "testing" "github.com/tinylib/msgp/msgp" ) func TestMarshalUnmarshalhealingTracker(t *testing.T) { v := healingTracker{} bts, err := v.MarshalMsg(nil) if err != nil { t.Fatal(err) } left, err := v.UnmarshalMsg(bts) if err != nil { t.Fatal(err) } if len(left) > 0 { t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 2.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2LogoffRequestTest.java
int written = req.writeBytesWireFormat(buf, offset); // Assert: should write exactly 4 bytes assertEquals(4, written, "Should report 4 bytes written"); // StructureSize (2 bytes, LE) == 4 assertEquals(4, SMBUtil.readInt2(buf, offset)); // Reserved (2 bytes, LE) == 0 assertEquals(0, SMBUtil.readInt2(buf, offset + 2)); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K 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/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java
* @param i the starting index in the array * @param l the number of bytes to write */ public void writeOctetArray(final byte[] b, final int i, final int l) { System.arraycopy(b, i, buf, index, l); advance(l); } /** * Reads an octet array from the buffer. * * @param b the byte array to read intoRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.4K 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) -
src/test/java/jcifs/ntlmssp/av/AvFlagsTest.java
byte[] negativeBytes = new byte[] { (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF }; // Represents -1 AvFlags negativeAvFlags = new AvFlags(negativeBytes); assertNotNull(negativeAvFlags, "AvFlags object should not be null for negative bytes"); assertEquals(-1, negativeAvFlags.getFlags(), "Flags should be -1 for all FF bytes"); } /** * Test constructor with integer flags. */ @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.4K bytes - Viewed (0) -
src/main/java/jcifs/util/Encdec.java
dst[di] = (byte) (s & 0xFF); di++; dst[di] = (byte) (s >> 8 & 0xFF); return 2; } /** * Encodes a 32-bit unsigned integer in little-endian byte order. * * @param i the integer value to encode * @param dst the destination byte array * @param di the starting index in the destination array * @return the number of bytes written (4)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 17.4K bytes - Viewed (0) -
cmd/erasure-object_test.go
bucket string versioned bool object string content []byte }{ {"bucket1", false, "object1", []byte("aaaaaaaaaaaaaaaa")}, {"bucket2", false, "object2", bytes.Repeat([]byte{'a'}, smallFileThreshold*2)}, {"bucket3", true, "version1", []byte("aaaaaaaaaaaaaaaa")}, {"bucket4", true, "version2", bytes.Repeat([]byte{'a'}, smallFileThreshold*2)}, } for i, testCase := range testCases {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 38.3K bytes - Viewed (0)