- Sort Score
- Result 10 results
- Languages All
Results 261 - 270 of 1,385 for 1byte (0.02 sec)
-
src/test/java/jcifs/smb/MIENameTest.java
class MIENameTest { // Helper to build a valid buffer according to the expected layout. private static byte[] buildBuffer(byte[] oidDer, byte[] nameBytes) { byte[] tokId = new byte[] { 0x04, 0x01 }; int oidLen = oidDer.length; int nameLen = nameBytes.length; byte[] buf = new byte[2 + 2 + oidLen + 4 + nameLen]; int i = 0; // TOK_ID buf[i++] = tokId[0];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/smb1/trans/TransTransactNamedPipeResponse.java
return 0; } @Override protected int writeParametersWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override protected int writeDataWireFormat(final byte[] dst, final int dstIndex) { return 0; } @OverrideRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java
byte[] fileId = new byte[16]; for (int i = 0; i < fileId.length; i++) fileId[i] = (byte) (i + 1); byte[] header = buildSmb2Header(); byte[] body = buildCreateBodyNoContexts((byte) 0x7, (byte) 0x2, 0x11223344, 1111L, 2222L, 3333L, 4444L, 123456789L, 987654321L, 0xA5A5A5A5, fileId); byte[] packet = buildPacket(header, body, null, null);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K 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/smb2/info/Smb2SetInfoRequestTest.java
request = new Smb2SetInfoRequest(mockConfig); // Set all fields byte[] newFileId = new byte[16]; for (int i = 0; i < 16; i++) { newFileId[i] = (byte) (0xFF - i); } request.setFileId(newFileId); request.setInfoType((byte) 0x02); request.setFileInfoClass((byte) 0x08); request.setAdditionalInformation(0xABCDEF00);
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/main/java/jcifs/internal/smb1/com/SmbComQueryInformation.java
} @Override protected int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override protected int writeBytesWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; dst[dstIndex] = (byte) 0x04; dstIndex++; dstIndex += writeString(this.path, dst, dstIndex);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.2K bytes - Viewed (0) -
src/test/java/jcifs/util/SecureCredentialStorageTest.java
public void testDifferentEncryptionsProduceDifferentCiphertexts() throws Exception { char[] plaintext = "SamePassword".toCharArray(); // Encrypt twice byte[] encrypted1 = storage.encryptCredentials(plaintext.clone()); byte[] encrypted2 = storage.encryptCredentials(plaintext.clone()); // Should produce different ciphertexts due to random IV
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvPairsTest.java
void testDecodeAvChannelBindings() throws CIFSException { byte[] data = new byte[] { (byte) 0xAA, (byte) 0xBB }; byte[] avPairData = createAvPairData(AvPair.MsvAvChannelBindings, data); byte[] eolData = createEolData(); byte[] fullData = new byte[avPairData.length + eolData.length]; System.arraycopy(avPairData, 0, fullData, 0, avPairData.length);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb3KeyDerivation.java
private static final byte[] SIGNCONTEXT_300 = toCBytes("SmbSign"); private static final byte[] SIGNLABEL_300 = toCBytes("SMB2AESCMAC"); private static final byte[] SIGNLABEL_311 = toCBytes("SMBSigningKey"); private static final byte[] APPCONTEXT_300 = toCBytes("SmbRpc"); private static final byte[] APPLABEL_300 = toCBytes("SMB2APP"); private static final byte[] APPLABEL_311 = toCBytes("SMBAppKey");Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.5K bytes - Viewed (0) -
src/main/java/jcifs/netbios/Name.java
} int writeWireFormat(final byte[] dst, final int dstIndex) { // write 0x20 in first byte dst[dstIndex] = 0x20; final byte tmp[] = Strings.getOEMBytes(this.name, this.config); int i; for (i = 0; i < tmp.length; i++) { dst[dstIndex + 2 * i + 1] = (byte) (((tmp[i] & 0xF0) >> 4) + 0x41); dst[dstIndex + 2 * i + 2] = (byte) ((tmp[i] & 0x0F) + 0x41); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8K bytes - Viewed (0)