- Sort Score
- Result 10 results
- Languages All
Results 451 - 460 of 1,577 for inst (0.1 sec)
-
src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationTest.java
String filename = "a\\test\\path.txt"; int informationLevel = 0x0102; Trans2QueryPathInformation trans = new Trans2QueryPathInformation(filename, informationLevel); // Expected size: 2 (info level) + 4 (reserved) + filename length + 1 (null terminator) byte[] dst = new byte[2 + 4 + filename.length() + 1]; // When int bytesWritten = trans.writeParametersWireFormat(dst, 0);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2CancelRequest.java
*/ @Override public int size() { return size8(Smb2Constants.SMB2_HEADER_LENGTH + 4); } /** * {@inheritDoc} * * @see jcifs.internal.smb2.ServerMessageBlock2#writeBytesWireFormat(byte[], int) */ @Override protected int writeBytesWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SSPContextTest.java
private String nbName; private ASN1ObjectIdentifier[] supportedMechs; private int flags; private boolean integrity; private boolean disposed; DummySSPContext(byte[] signingKey, boolean established, String nbName, ASN1ObjectIdentifier[] supportedMechs, int flags, boolean integrity) { this.signingKey = signingKey;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.2K bytes - Viewed (0) -
src/main/java/jcifs/SmbConstants.java
int CAP_RAW_MODE = 0x0001; /** * Multiplex mode is supported capability. */ int CAP_MPX_MODE = 0x0002; /** * Unicode strings are supported capability. */ int CAP_UNICODE = 0x0004; /** * Large files are supported capability. */ int CAP_LARGE_FILES = 0x0008; /** * NT SMBs are supported capability. */ int CAP_NT_SMBS = 0x0010;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:49:49 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequestTest.java
void testLeaseStateAccessors() { int newState = Smb2LeaseState.SMB2_LEASE_FULL; leaseContext.setLeaseState(newState); assertEquals(newState, leaseContext.getLeaseState()); } @Test @DisplayName("Should set and get lease flags") void testLeaseFlagsAccessors() { int newFlags = 0x12345678; leaseContext.setLeaseFlags(newFlags);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/CopyUtilTest.java
*/ @Test public void testIsToOs() throws Exception { final int result = copy(is, os); assertThat(result, is(srcBytes.length)); assertThat(os.toByteArray(), is(srcBytes)); } /** * @throws Exception */ @Test public void testReaderToWriter() throws Exception { final int result = copy(reader, writer); assertThat(result, is(srcString.length()));Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 4.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbPipeHandleInternal.java
*/ int recv(byte[] buf, int off, int length) throws IOException; /** * Send data to the pipe * * @param buf buffer containing data to send * @param off offset in the buffer * @param length length of data to send * @throws IOException if an I/O error occurs */ void send(byte[] buf, int off, int length) throws IOException; /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComQueryInformation.java
path = filename; command = SMB_COM_QUERY_INFORMATION; } @Override int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override int writeBytesWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; dst[dstIndex] = (byte) 0x04; dstIndex++; dstIndex += writeString(path, dst, dstIndex);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java
} @Override public int size() { return testSize; } @Override protected int writeHeaderWireFormat(byte[] dst, int dstIndex) { return 64; // Simulate header writing } @Override public int encode(byte[] dst, int dstIndex) { // We need to override the parent ServerMessageBlock2's encodeRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeHandleInternal.java
*/ boolean hasCapability(int cap) throws CIFSException; /** * Gets the send buffer size of the underlying SMB connection * @return the send buffer size of the underlying connection * @throws CIFSException if an error occurs retrieving the buffer size */ int getSendBufferSize() throws CIFSException; /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3K bytes - Viewed (0)