- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 957 for nBytes (0.04 sec)
-
src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java
// Create message with 5 bytes of data byte[] data = new byte[] { 10, 20, 30, 40, 50 }; InputStream in = new ByteArrayInputStream(concat(messageHeader(5), data)); SocketInputStream sis = new SocketInputStream(in); // Skip 3 bytes assertEquals(3, sis.skip(3)); // Read remaining 2 bytes byte[] remaining = new byte[2];
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
*/ public void setLength(final int length) { deferred.length = length; } /** * Advances the buffer index by the specified number of bytes. * * @param n the number of bytes to advance */ public void advance(final int n) { index += n; if (index - start > deferred.length) { deferred.length = index - start; }
Registered: 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) { throw new IllegalArgumentException("Lease key cannot be 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
// Test with zero byte[] zeroBytes = new byte[] { 0x00, 0x00, 0x00, 0x00 }; AvFlags zeroAvFlags = new AvFlags(zeroBytes); assertNotNull(zeroAvFlags, "AvFlags object should not be null for zero bytes"); assertEquals(0, zeroAvFlags.getFlags(), "Flags should be 0 for zero bytes");
Registered: 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
}; } /** * Encodes a String as UTF-8 bytes. * * @param str the String to encode * @param dst the destination byte array * @param di the starting index in the destination array * @param dlim the maximum index in the destination array * @return the number of bytes written */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 17.4K bytes - Viewed (0) -
doc/README.md
# Release Notes The `initial` and `next` subdirectories of this directory are for release notes. ## For developers Release notes should be added to `next` by editing existing files or creating new files. **Do not add RELNOTE=yes comments in CLs.** Instead, add a file to the CL (or ask the author to do so). At the end of the development cycle, the files will be merged by being concatenated in sorted order by pathname. Files in the directory matching the
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Jul 22 17:55:04 UTC 2024 - 3.1K bytes - Viewed (0) -
.github/workflows/check-markdown-links.yml
Registered: Wed Sep 10 11:36:15 UTC 2025 - Last Modified: Tue Aug 26 16:21:48 UTC 2025 - 920 bytes - Viewed (0) -
cmd/erasure-object_test.go
} gr.Close() if !bytes.Equal(output.Bytes(), smallData) { t.Fatalf("Corrupted data is found") } // Test: Upload a file bigger than the small file threshold // under the same bucket & key name and try to read it again. output.Reset() bigData := bytes.Repeat([]byte{'b'}, smallFileThreshold*numberOfDisks/2)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 38.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2SetFileInformationTest.java
} @Test void testWriteDataWireFormat() { // Given // writeInt8 writes 8 bytes but needs to access dst[dstIndex+7] // Total bytes written: 8+8+8+8+2+6=40 // But writeInt8 at position 34 needs to access position 34+7=41 // So we need at least 42 bytes in the array byte[] dst = new byte[42]; // When
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.3K bytes - Viewed (0) -
docs/uk/docs/tutorial/request-files.md
/// Файли будуть завантажені у вигляді "форматованих даних форми". Якщо Ви оголосите тип параметра функції обробника маршруту як `bytes`, **FastAPI** прочитає файл за Вас, і Ви отримаєте його вміст у вигляді `bytes`. Однак майте на увазі, що весь вміст буде збережено в пам'яті. Це працюватиме добре для малих файлів. Але в деяких випадках Вам може знадобитися `UploadFile`.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sat Feb 22 22:01:44 UTC 2025 - 11.2K bytes - Viewed (0)