- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 264 for 0x60 (0.02 sec)
-
src/archive/tar/strconv.go
for _, c := range s { if c >= 0x80 || c == 0x00 { return false } } return true } // toASCII converts the input to an ASCII C-style string. // This is a best effort conversion, so invalid characters are dropped. func toASCII(s string) string { if isASCII(s) { return s } b := make([]byte, 0, len(s)) for _, c := range s { if c < 0x80 && c != 0x00 { b = append(b, byte(c)) } }Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Sep 08 17:08:20 UTC 2025 - 9.1K bytes - Viewed (0) -
src/test/java/jcifs/pac/ASN1UtilTest.java
InputStream s = new ByteArrayInputStream(new byte[] { (byte) 0x82, 0x01, 0x00 }); int length = ASN1Util.readLength(s, 500, false); assertEquals(256, length); } @Test void testReadLength_Indefinite() throws IOException { // Indefinite-length InputStream s = new ByteArrayInputStream(new byte[] { (byte) 0x80 }); int length = ASN1Util.readLength(s, 100, false);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.4K 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) -
src/main/java/jcifs/smb1/netbios/SocketOutputStream.java
} off -= 4; b[off + 0] = (byte) SessionServicePacket.SESSION_MESSAGE; b[off + 1] = (byte) 0x00; b[off + 2] = (byte) (len >> 8 & 0xFF); b[off + 3] = (byte) (len & 0xFF); out.write(b, off, 4 + len); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralTest.java
// Then assertEquals(2, bytesWritten); assertEquals(SmbComTransaction.TRANS2_GET_DFS_REFERRAL, dst[0]); assertEquals((byte) 0x00, dst[1]); } @Test @DisplayName("writeSetupWireFormat should handle different buffer positions") void testWriteSetupWireFormatWithOffset() { // GivenRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java
ByteBuffer buffer = ByteBuffer.allocate(size); buffer.order(ByteOrder.LITTLE_ENDIAN); // Security descriptor header buffer.put((byte) 0x01); // Revision buffer.put((byte) 0x00); // Padding buffer.putShort((short) 0x8004); // Control flags (SE_DACL_PRESENT | SE_SELF_RELATIVE) buffer.putInt(20); // Owner offset buffer.putInt(40); // Group offset
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/test/java/jcifs/netbios/SessionRetargetResponsePacketTest.java
// Test successful reading of 6 bytes from the input stream. // The content of these bytes is not critical for this test, only that 6 bytes are read. byte[] data = { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06 }; // Sample 6 bytes ByteArrayInputStream bais = new ByteArrayInputStream(data); SessionRetargetResponsePacket packet = new SessionRetargetResponsePacket();Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.idl
unicode_string name; uint32_t sid_index; } LsarTranslatedName; typedef struct { [range(0,1000)] uint32_t count; [size_is(count)] LsarTranslatedName *names; } LsarTransNameArray; [op(0x00)] int LsarClose([in,out] policy_handle *handle); [op(0x07)] int LsarQueryInformationPolicy([in] policy_handle *handle, [in] uint16_t level, [out,switch_is(level),unique] LsarPolicyInfo *info);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 3.1K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/lsarpc.idl
unicode_string name; uint32_t sid_index; } LsarTranslatedName; typedef struct { [range(0,1000)] uint32_t count; [size_is(count)] LsarTranslatedName *names; } LsarTransNameArray; [op(0x00)] int LsarClose([in,out] policy_handle *handle); [op(0x07)] int LsarQueryInformationPolicy([in] policy_handle *handle, [in] uint16_t level, [out,switch_is(level),unique] LsarPolicyInfo *info);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 3.1K bytes - Viewed (3) -
src/test/java/jcifs/smb1/smb1/SmbComDeleteDirectoryTest.java
byte[] expected = new byte[1 + dirName.length() + 1]; expected[0] = 0x04; // buffer format System.arraycopy(dirName.getBytes(), 0, expected, 1, dirName.length()); expected[dirName.length() + 1] = 0x00; // null terminator byte[] dst = new byte[100]; int len = sdd.writeBytesWireFormat(dst, 0); assertEquals(expected.length, len); byte[] result = new byte[len];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.7K bytes - Viewed (0)