- Sort Score
- Result 10 results
- Languages All
Results 651 - 660 of 1,386 for Byte (0.04 sec)
-
src/main/java/jcifs/smb1/netbios/SocketInputStream.java
private final InputStream in; private SessionServicePacket ssp; private int bip, n; private final byte[] header, tmp; SocketInputStream(final InputStream in) { this.in = in; header = new byte[4]; tmp = new byte[TMP_BUFFER_SIZE]; } @Override public synchronized int read() throws IOException { if (read(tmp, 0, 1) < 0) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.3K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/Type1MessageTest.java
} @Test @DisplayName("Should generate consistent byte representation") void testConsistentByteRepresentation() throws IOException { // Given Type1Message type1 = new Type1Message(mockContext); // When byte[] bytes1 = type1.toByteArray(); byte[] bytes2 = type1.toByteArray(); // Then assertArrayEquals(bytes1, bytes2);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.1K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Funnels.java
public final class Funnels { private Funnels() {} /** Returns a funnel that extracts the bytes from a {@code byte} array. */ public static Funnel<byte[]> byteArrayFunnel() { return ByteArrayFunnel.INSTANCE; } private enum ByteArrayFunnel implements Funnel<byte[]> { INSTANCE; @Override public void funnel(byte[] from, PrimitiveSink into) { into.putBytes(from); } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 7.2K bytes - Viewed (0) -
guava/src/com/google/common/hash/Funnels.java
public final class Funnels { private Funnels() {} /** Returns a funnel that extracts the bytes from a {@code byte} array. */ public static Funnel<byte[]> byteArrayFunnel() { return ByteArrayFunnel.INSTANCE; } private enum ByteArrayFunnel implements Funnel<byte[]> { INSTANCE; @Override public void funnel(byte[] from, PrimitiveSink into) { into.putBytes(from); } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 7.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/IoTestCase.java
} /** Returns a byte array of length size that has values 0 .. size - 1. */ static byte[] newPreFilledByteArray(int size) { return newPreFilledByteArray(0, size); } /** Returns a byte array of length size that has values offset .. offset + size - 1. */ static byte[] newPreFilledByteArray(int offset, int size) { byte[] array = new byte[size]; for (int i = 0; i < size; i++) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 5.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComDeleteDirectory.java
command = SMB_COM_DELETE_DIRECTORY; } @Override int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override int writeBytesWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; dst[dstIndex] = (byte) 0x04; dstIndex++; dstIndex += writeString(path, dst, dstIndex); return dstIndex - start;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComClose.java
return 6; } @Override protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override protected int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) { return 0; } @Override protected int readBytesWireFormat(final byte[] buffer, final int bufferIndex) { return 0; } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/MIEName.java
i++; len |= 0xff & buf[i++]; // MECH_OID if (buf.length < i + len) { throw new IllegalArgumentException(); } final byte[] bo = new byte[len]; System.arraycopy(buf, i, bo, 0, len); i += len; this.oid = ASN1ObjectIdentifier.getInstance(bo); // NAME_LEN if (buf.length < i + NAME_LEN_SIZE) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.5K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvTargetNameTest.java
assertArrayEquals(emptyString.getBytes(StandardCharsets.UTF_16LE), avTargetNameFromString.getRaw(), "Raw bytes for empty string should be empty"); byte[] emptyBytes = new byte[0]; AvTargetName avTargetNameFromBytes = new AvTargetName(emptyBytes); assertEquals(emptyString, avTargetNameFromBytes.getTargetName(),
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java
m.flags = 0x05; m.alloc_hint = 0; NdrBuffer buf = new NdrBuffer(new byte[1024], 0); m.encode(buf); // decode back buf.setIndex(0); m.decode_header(buf); assertEquals(0, m.ptype); } @Test void testDecodeHeaderInvalidVersion() { NdrBuffer buf = new NdrBuffer(new byte[10], 0); buf.enc_ndr_small(4); // bad major buf.enc_ndr_small(0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7K bytes - Viewed (0)