- Sort Score
- Result 10 results
- Languages All
Results 441 - 450 of 580 for adding (1.19 sec)
-
src/test/java/jcifs/netbios/NameTest.java
// Test that non-space characters in padding are preserved in length calculation byte[] src = new byte[100]; src[0] = 0x20; // Encode "AB" followed by non-space padding src[1] = 'E'; src[2] = 'B'; // A src[3] = 'E'; src[4] = 'C'; // B // Use 'X' (0x58) instead of space for padding for (int i = 5; i < 31; i += 2) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java
void testReadParameterWordsWithValidOffset() { byte[] buffer = new byte[] { 0x00, 0x00, // padding 0x78, 0x56, 0x34, 0x12, // little-endian 0x12345678 0x00, 0x00 // padding }; int readLen = response.readParameterWordsWireFormat(buffer, 2);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java
DirectoryLeaseContext context = new DirectoryLeaseContext(key, 0, DirectoryCacheScope.IMMEDIATE_CHILDREN); // Context header: 16 bytes // Name: 4 bytes ("DLse") // Padding: 4 bytes // Standard lease data: 32 bytes // Directory-specific data: 20 bytes assertEquals(76, context.size()); } @Test public void testEncode() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 10.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java
int decodedBytes = decoded.decode(buffer, 0, 36); // Verify encoding/decoding assertEquals(40, encodedBytes); // encode writes 40 bytes (includes padding) assertEquals(36, decodedBytes); // decode reads 36 bytes (no padding) assertEquals(original.getCreateTime(), decoded.getCreateTime()); assertEquals(original.getLastAccessTime(), decoded.getLastAccessTime());
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 4.6K bytes - Viewed (0) -
docs/en/docs/css/termynal.css
font-family: var(--md-code-font-family), 'Roboto Mono', 'Fira Mono', Consolas, Menlo, Monaco, 'Courier New', Courier, monospace; border-radius: 4px; padding: 75px 45px 35px; position: relative; -webkit-box-sizing: border-box; box-sizing: border-box; /* Custom line-height */ line-height: 1.2; } [data-termynal]:before { content: '';
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Nov 23 09:27:40 UTC 2025 - 2.2K bytes - Viewed (0) -
.github/SUPPORT.md
Unlike many projects on GitHub, the Go project does not use its bug tracker for general discussion or asking questions. We only use our bug tracker for tracking bugs and tracking proposals going through the [Proposal Process](https://go.dev/s/proposal-process). For asking questions, see: * [The golang-nuts mailing list](https://groups.google.com/d/forum/golang-nuts) * [The Go Forum](https://forum.golangbridge.org/), a web-based forum
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Wed Mar 29 22:00:27 UTC 2023 - 692 bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Request.java
public boolean isPersistent() { return (flags & Smb2HandleCapabilities.SMB2_DHANDLE_FLAG_PERSISTENT) != 0; } @Override public int size() { // Context header (16) + name length (4) + padding to 8-byte alignment (4) + data (32) return 16 + 4 + 4 + STRUCTURE_SIZE; } @Override public int encode(byte[] dst, int dstIndex) { int start = dstIndex;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java
assertEquals(1, transaction.pad(3)); // Need 1 byte to align to 4 } @Test @DisplayName("Test getPadding method") void testGetPadding() { int padding = transaction.getPadding(); assertTrue(padding >= 0); } @Test @DisplayName("Test write operations") void testWriteOperations() { byte[] dst = new byte[1024];
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AtomicLongMapTest.java
String key = "key"; long addend = random.nextInt(MAX_ADDEND); for (int i = 0; i < ITERATIONS; i++) { long before = map.get(key); long result = map.addAndGet(key, addend); long after = map.get(key); assertEquals(before + addend, after); assertEquals(after, result); addend = after; } assertEquals(1, map.size());
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 17.5K bytes - Viewed (0)