- Sort Score
- Result 10 results
- Languages All
Results 231 - 240 of 583 for reading5 (0.04 sec)
-
src/main/java/jcifs/SmbConstants.java
*/ int TYPE_COMM = 0x40; /* open flags */ /** * Open for reading only. */ int O_RDONLY = 0x01; /** * Open for writing only. */ int O_WRONLY = 0x02; /** * Open for reading and writing. */ int O_RDWR = 0x03; /** * Open in append mode. */ int O_APPEND = 0x04;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:49:49 UTC 2025 - 12.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComWriteAndXResponse.java
int writeBytesWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) { count = readInt2(buffer, bufferIndex) & 0xFFFFL; return 8; } @Override int readBytesWireFormat(final byte[] buffer, final int bufferIndex) { return 0; } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2LogoffResponseTest.java
// Assert: message is meaningful assertEquals("Structure size is not 4", ex.getMessage()); } @Test @DisplayName("Null buffer leads to NullPointerException from readInt2") void nullBuffer_throwsNPE() { // Arrange Smb2LogoffResponse resp = newResponse(); // Act & Assert
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.7K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/av/AvFlags.java
public AvFlags(final int flags) { this(encode(flags)); } /** * Gets the flags as an integer value * @return flags */ public int getFlags() { return SMBUtil.readInt4(this.getRaw(), 0); } private static byte[] encode(final int flags) { final byte[] raw = new byte[4]; SMBUtil.writeInt4(flags, raw, 0); return raw; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.7K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java
channel = new RandomAccessFile(touchfile, "rw").getChannel(); lock = channel.lock(); if (touchfile.canRead()) { getLogger().debug("Reading resolution-state from: " + touchfile); props.load(Channels.newInputStream(channel)); } props.setProperty(key, Long.toString(System.currentTimeMillis()));
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Tue Apr 22 22:13:51 UTC 2025 - 12.1K bytes - Viewed (0) -
docs/debugging/xattr/main.go
if err := setxattr(path, name, value); err != nil { log.Fatalln(fmt.Errorf("setting attribute %s failed with: %v", name, err)) } } else { if name == "" { log.Fatalln("you must specify an attribute name for reading") } var names []string if name == "." { attrs, err := listxattr(path) if err != nil { log.Fatalln(fmt.Errorf("listing attributes failed with: %v", err)) } names = append(names, attrs...)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Dec 29 23:52:41 UTC 2023 - 3.2K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvTimestampTest.java
assertEquals(expectedTimestamp, avTimestamp.getTimestamp()); } /** * Test getTimestamp method with a negative timestamp (though timestamps are usually positive). * This tests the underlying SMBUtil.readInt8 behavior. */ @Test public void testGetTimestampNegative() { long expectedTimestamp = -1L; // Represents all bits set to 1 for an 8-byte long byte[] rawBytes = new byte[8];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2LogoffRequestTest.java
assertEquals(4, written, "Should report 4 bytes written"); // StructureSize (2 bytes, LE) == 4 assertEquals(4, SMBUtil.readInt2(buf, offset)); // Reserved (2 bytes, LE) == 0 assertEquals(0, SMBUtil.readInt2(buf, offset + 2)); } @Test @DisplayName("writeBytesWireFormat throws when buffer too small") void writeBytesWireFormat_throwsIfInsufficientSpace() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
docs/debugging/inspect/decrypt-v2.go
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Feb 17 17:09:42 UTC 2025 - 2.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NtTransQuerySecurityDescResponse.java
return 0; } @Override int readParametersWireFormat(final byte[] buffer, final int bufferIndex, final int len) { length = readInt4(buffer, bufferIndex); return 4; } @Override int readDataWireFormat(final byte[] buffer, int bufferIndex, final int len) { final int start = bufferIndex; if (errorCode != 0) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2.3K bytes - Viewed (0)