- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 216 for printer (0.9 sec)
-
src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java
int ctxOffsetFromHeader = 256; // arbitrary aligned location beyond header byte[] baseBody = buildCreateBodyWithContext(fileId, ctxOffsetFromHeader); // Build actual context bytes matching the pointers inside baseBody byte[] ctx = new byte[0x40]; int ci = 0; SMBUtil.writeInt4(0, ctx, ci); // Next = 0 ci += 4; SMBUtil.writeInt2(0x10, ctx, ci); // NameOffsetRegistered: 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/smb1/util/Hexdump.java
ci += 16; c[ci++] = '|'; NL.getChars(0, NL_LENGTH, c, ci); ci += NL_LENGTH; } while (si < length); ps.println(c); } /** * This is an alternative to the <code>java.lang.Integer.toHexString</code> * method. It is an efficient relative that also will pad the left side soRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.8K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NodeStatusResponseTest.java
// Prepare test data with minimal valid resource record byte[] src = new byte[100]; int srcIndex = 10; // Set up a minimal resource record response // Name pointer (0xC00C) src[srcIndex] = (byte) 0xC0; src[srcIndex + 1] = 0x0C; // Record type (NBSTAT = 0x0021) src[srcIndex + 2] = 0x00; src[srcIndex + 3] = 0x21;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/rpcTest.java
when(mockNdrBuffer.dec_ndr_short()).thenReturn((int) (short) 0, (int) (short) 0); when(mockNdrBuffer.dec_ndr_long()).thenReturn(0); // Null referent pointer // When: Decoding the unicode string unicodeString.decode(mockNdrBuffer); // Then: Verify the decoding sequence and values verify(mockNdrBuffer).align(4);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileInputStreamTest.java
when(mockTree.send(any(Request.class), any(RequestParam.class))).thenAnswer(inv -> (CommonServerMessageBlockResponse) smb2Resp); byte[] buf = new byte[16]; // Skip advances internal file pointer; next read should use this offset in.skip(2); // Act int n = in.readDirect(buf, 0, 5); // Assert
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java
} if (tmp == null) { throw new IOException("Bad file descriptor"); } ensureOpen(); if (LogStream.level >= 4) { SmbFile.log.println("write: fid=" + file.fid + ",off=" + off + ",len=" + len); } int w; do { w = len > writeSize ? writeSize : len; if (useNTSmbs) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java
bufferIndex++; if (wordCount != 0) { int n = readParameterWordsWireFormat(buffer, bufferIndex); if ((n != wordCount * 2) && (LogStream.level >= 5)) { log.println("wordCount * 2=" + wordCount * 2 + " but readParameterWordsWireFormat returned " + n); } bufferIndex += wordCount * 2; } byteCount = readInt2(buffer, bufferIndex);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.7K bytes - Viewed (0) -
README.md
} // Resource traversal for processing multiple files ResourceTraversalUtil.forEach("META-INF", (resource, is) -> { // Process each resource in the META-INF directory System.out.println("Processing: " + resource); }); ``` ### Text Processing and JSON ```java import org.codelibs.core.text.*; // JSON utilities with proper escaping
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sun Aug 31 02:56:02 UTC 2025 - 12.7K bytes - Viewed (0) -
LICENSE
the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. Copyright [yyyy] [name of copyright owner] Licensed under the Apache License, Version 2.0 (the "License");Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Fri Apr 18 13:54:00 UTC 2025 - 11.1K bytes - Viewed (0) -
LICENSE
the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. Copyright {yyyy} {name of copyright owner} Licensed under the Apache License, Version 2.0 (the "License");Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Jun 14 07:45:22 UTC 2018 - 11.1K bytes - Viewed (0)