- Sort Score
- Result 10 results
- Languages All
Results 231 - 240 of 943 for bufLen (0.1 sec)
-
guava/src/com/google/common/io/ByteStreams.java
* then sequentially accessing it could result in other processes dying. This is solvable * via madvise(2), but that obviously doesn't exist in java. * <li>Ordinary copy. Kernel copies bytes into a kernel buffer, from a kernel buffer into a * userspace buffer (byte[] or ByteBuffer), then copies them from that buffer into the * destination channel. * </ol>
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 31.1K bytes - Viewed (0) -
src/main/java/jcifs/util/transport/Response.java
/** * Verifies the signature of this response. * * @param buffer the buffer containing the signature data * @param i the starting index in the buffer * @param size the size of the signature data * @return whether signature verification is successful */ boolean verifySignature(byte[] buffer, int i, int size); /** * Checks if signature verification failed. *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java
} @Test @DisplayName("Test constructor with buffer decodes correctly") void testConstructorWithBuffer() throws IOException { // Create test buffer with notification data byte[] buffer = createValidNotificationBuffer("testfile.txt", FileNotifyInformation.FILE_ACTION_ADDED); FileNotifyInformationImpl info = new FileNotifyInformationImpl(buffer, 0, buffer.length); assertNotNull(info);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/LockingAndXRange.java
final int lLow = SMBUtil.readInt4(buffer, bufferIndex + 16); this.lengthInBytes = lHigh << 32 | lLow; return 20; } this.pid = SMBUtil.readInt2(buffer, bufferIndex); this.byteOffset = SMBUtil.readInt4(buffer, bufferIndex + 2); this.lengthInBytes = SMBUtil.readInt4(buffer, bufferIndex + 6); return 10; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
guava/src/com/google/common/base/Java8Compatibility.java
import com.google.common.annotations.J2ktIncompatible; import java.nio.Buffer; /** * Wrappers around {@link Buffer} methods that are covariantly overridden in Java 9+. See * https://github.com/google/guava/issues/3990 */ @J2ktIncompatible @GwtIncompatible final class Java8Compatibility { static void clear(Buffer b) { b.clear(); } static void flip(Buffer b) { b.flip(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 1.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java
int desiredAccess = (buffer[24] & 0xFF) | ((buffer[25] & 0xFF) << 8) | ((buffer[26] & 0xFF) << 16) | ((buffer[27] & 0xFF) << 24); assertEquals(0x00120089, desiredAccess); // Check default share access (READ | WRITE) at offset 32 int shareAccess = (buffer[32] & 0xFF) | ((buffer[33] & 0xFF) << 8) | ((buffer[34] & 0xFF) << 16) | ((buffer[35] & 0xFF) << 24);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 18.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/FileUtil.java
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 8.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponseTest.java
// Arrange byte[] buffer = new byte[100]; SMBUtil.writeInt2(0, buffer, 0); SMBUtil.writeInt2(0, buffer, 2); SMBUtil.writeInt2(0, buffer, 4); // Act & Assert assertEquals(0, response.readSetupWireFormat(buffer, 0, 100)); assertEquals(6, response.readParametersWireFormat(buffer, 0, 100));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
guava/src/com/google/common/escape/CharEscaper.java
int slen = s.length(); // Get a destination buffer and setup some loop variables. char[] dest = Platform.charBufferFromThreadLocal(); int destSize = dest.length; int destIndex = 0; int lastEscape = 0; // Loop through the rest of the string, replacing when needed into the // destination buffer, which gets grown as needed as well. for (; index < slen; index++) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 15:45:16 UTC 2025 - 6.7K bytes - Viewed (0)