- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 694 for nBytes (0.07 sec)
-
android/guava/src/com/google/common/primitives/Ints.java
* * @throws IllegalArgumentException if {@code bytes} has fewer than 4 elements */ public static int fromByteArray(byte[] bytes) { checkArgument(bytes.length >= BYTES, "array too small: %s < %s", bytes.length, BYTES); return fromBytes(bytes[0], bytes[1], bytes[2], bytes[3]); } /** * Returns the {@code int} value whose byte representation is the given 4 bytes, in big-endian
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 31.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java
} @Override int writeParameterWordsWireFormat(byte[] dst, int dstIndex) { System.arraycopy(paramWords, 0, dst, dstIndex, paramWords.length); return paramWords.length; } @Override int writeBytesWireFormat(byte[] dst, int dstIndex) { System.arraycopy(bytes, 0, dst, dstIndex, bytes.length); return bytes.length;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/util/StringsTest.java
// Then assertNotNull(uniBytes, "UNI bytes should not be null"); assertNotNull(asciiBytes, "ASCII bytes should not be null"); assertNotNull(oemBytes, "OEM bytes should not be null"); assertEquals(0, uniBytes.length, "UNI bytes should be empty"); assertEquals(0, asciiBytes.length, "ASCII bytes should be empty");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComWriteAndXResponse.java
*/ public SmbComWriteAndXResponse(final Configuration config) { super(config); } /** * Gets the number of bytes written. * * @return the count of bytes written */ public final long getCount() { return this.count; } @Override protected int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.3K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsRecordCodec.kt
if (type == TYPE_A || type == TYPE_AAAA) { val bytes = ByteArray(length) buf.read(bytes) result.add(InetAddress.getByAddress(bytes)) } else { buf.skip(length.toLong()) } } return result } @Throws(EOFException::class) private fun skipName(source: Buffer) { // 0 - 63 bytes var length = source.readByte().toInt()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2ResponseTest.java
// Set up the buffer with test data // sid (2 bytes) buffer[0] = 0x01; buffer[1] = 0x00; // numEntries (2 bytes) buffer[2] = 0x05; buffer[3] = 0x00; // isEndOfSearch (2 bytes, bit 0 of first byte) buffer[4] = 0x01; // end of search = true buffer[5] = 0x00; // eaErrorOffset (2 bytes) buffer[6] = 0x00; buffer[7] = 0x00;
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/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java
/* The SMB_COM_NT_CREATE_ANDX response wordCount is wrong. There's an * extra 16 bytes for some "Offline Files (CSC or Client Side Caching)" * junk. We need to bump up the wordCount here so that this method returns * the correct number of bytes for signing purposes. Otherwise we get a * signing verification failure. */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfo.java
// InterfaceIndex (4 bytes) bb.putInt(interfaceIndex); // Capability (4 bytes) bb.putInt(capability); // Reserved (4 bytes) - must be 0 bb.putInt(0); // LinkSpeed (8 bytes) - in bits per second bb.putLong((long) linkSpeed * 1000000L); // SockAddr_Storage (128 bytes) encodeSockaddr(buffer, 24); return buffer;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 9.8K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameQueryResponseTest.java
src[srcIndex] = (byte) 0xC0; src[srcIndex + 1] = 0x0C; // Pointer offset // recordType (2 bytes) src[srcIndex + 2] = 0x00; src[srcIndex + 3] = 0x20; // NB (0x0020) // recordClass (2 bytes) src[srcIndex + 4] = 0x00; src[srcIndex + 5] = 0x01; // IN (0x0001) // ttl (4 bytes) src[srcIndex + 6] = 0x00; src[srcIndex + 7] = 0x00; src[srcIndex + 8] = 0x00;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java
return read(b, 0, b.length); } /** * Reads up to len bytes from the file into the specified byte array. * * @param b the byte array to read data into * @param off the offset in the array at which to start storing bytes * @param len the maximum number of bytes to read * @return the number of bytes read, or -1 if end of file is reached * @throws SmbException if an I/O error occurs
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 14.1K bytes - Viewed (0)