- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 146 for Argument (0.97 sec)
-
src/test/java/jcifs/smb1/dcerpc/ndr/NdrHyperTest.java
* and extreme {@code long} values.</li> * <li>encode/decode methods interact correctly with a mocked * {@link NdrBuffer} so that the correct method is called with * the correct argument.</li> * <li>passing {@code null} throws {@link NullPointerException}. * </ul> * * The buffer is created with enough capacity for a 64‑bit value. */ @ExtendWith(MockitoExtension.class)Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/WinErrorTest.java
Arguments.of(WinError.ERROR_BAD_PIPE, "The pipe state is invalid."), Arguments.of(WinError.ERROR_PIPE_BUSY, "All pipe instances are busy."), Arguments.of(WinError.ERROR_NO_DATA, "The pipe is being closed."), Arguments.of(WinError.ERROR_PIPE_NOT_CONNECTED, "No process is on the other end of the pipe."),
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComOpenAndX.java
package jcifs.smb1.smb1; import java.util.Date; import jcifs.smb1.Config; import jcifs.smb1.util.Hexdump; class SmbComOpenAndX extends AndXServerMessageBlock { // flags (not the same as flags constructor argument) private static final int FLAGS_RETURN_ADDITIONAL_INFO = 0x01; private static final int FLAGS_REQUEST_OPLOCK = 0x02; private static final int FLAGS_REQUEST_BATCH_OPLOCK = 0x04;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/ClassIterator.java
* ... * } * </pre> * <p> * By default, the {@link Object} class is also included in the iteration. If you do not want to include {@link Object}, * specify {@literal false} for the second argument of {@link #iterable(Class, boolean)} or {@link #ClassIterator(Class, boolean)}. * </p> * * @author koichik */ public class ClassIterator implements Iterator<Class<?>> { /** The class */Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 3.9K bytes - Viewed (0) -
src/main/java/jcifs/Config.java
SingletonContext.registerSmbURLHandler(); } /** * Retrieve an <code>int</code>. If the key does not exist or * cannot be converted to an <code>int</code>, the provided default * argument will be returned. * * @param props the properties to search in * @param key the property key to look up * @param def the default value to return if key is not found or cannot be parsed
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java
* SMB server addressed by the URL parameter. See {@link jcifs.smb1.smb1.SmbFile} * for a detailed description and examples of the smb URL syntax. If the * second argument is <code>true</code>, then bytes will be written to the * end of the file rather than the beginning. * * @param url An smb URL string representing the file to write toRegistered: 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/internal/smb1/com/SmbComOpenAndX.java
* the network with enhanced capabilities compared to the basic Open command. */ public class SmbComOpenAndX extends AndXServerMessageBlock { // flags (not the same as flags constructor argument) static final int FLAGS_RETURN_ADDITIONAL_INFO = 0x01; static final int FLAGS_REQUEST_OPLOCK = 0x02; static final int FLAGS_REQUEST_BATCH_OPLOCK = 0x04; // Access Mode Encoding for desiredAccessRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbShareInfoTest.java
/** * Test of constructor, of class SmbShareInfo. */ @Test void testConstructor() { // Test no-argument constructor SmbShareInfo instance = new SmbShareInfo(); assertNotNull(instance); // Test constructor with arguments String netName = "SHARE"; int type = 1; String remark = "remark"; instance = new SmbShareInfo(netName, type, remark);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/RequestTest.java
// Test case for setRequestCredits method int credits = 5; mockRequest.setRequestCredits(credits); // Verify that setRequestCredits was called with the correct argument verify(mockRequest, times(1)).setRequestCredits(credits); } @Test void testIsCancelTrue() { // Test case for isCancel method when it returns trueRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.6K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/LsaPolicyHandleTest.java
// Assert assertNotNull(handle); verify(mockDcerpcHandle, times(1)).sendrecv(any(MsrpcLsarOpenPolicy2.class)); // Further verification could involve capturing the MsrpcLsarOpenPolicy2 argument and checking its server field. } @Test void constructor_shouldThrowSmbExceptionOnRpcError() throws IOException { // Arrange String server = "testServer"; int access = 123;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0)