- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 136 for Argument (0.39 sec)
-
src/test/java/jcifs/smb/CredentialsInternalTest.java
@Override public SSPContext createContext(CIFSContext tc, String targetDomain, String host, byte[] initialToken, boolean doSigning) throws SmbException { // Validate required argument and interact with the provided CIFSContext if (tc == null) { throw new NullPointerException("tc"); } // Exercise interaction with dependency for verification purposesRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/NetServerEnumIteratorTest.java
// Mock successful but empty response when(treeHandle.send(any(), any(), (RequestParam[]) any())).thenAnswer(invocation -> { // The response is the second argument Object response = invocation.getArgument(1); // Return it unchanged (which will have default values = empty results) return response; });Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportInternalTest.java
assertNull(transport.getServerEncryptionKey()); } // Happy path: session retrieval by context @Test @DisplayName("getSmbSession(ctx) returns a session and verifies argument") void getSmbSession_byContext() { when(transport.getSmbSession(any(jcifs.CIFSContext.class))).thenReturn(session); SmbSession result = transport.getSmbSession(ctx); assertSame(session, result);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.1K bytes - Viewed (0) -
src/main/java/jcifs/SmbResource.java
* @throws NullPointerException * If the <code>dest</code> argument is <code>null</code> */ void renameTo(SmbResource dest) throws CIFSException; /** * Changes the name of the file this <code>SmbResource</code> represents to the name * designated by the <code>SmbResource</code> argument. * <br> * <i>Remember: <code>SmbResource</code>s are immutable and thereforeRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 28K bytes - Viewed (1) -
src/main/java/org/codelibs/fess/taglib/FessFunctions.java
*/ public static String url(final String input) { if (input == null) { final String msg = "The argument 'input' should not be null."; throw new IllegalArgumentException(msg); } if (!input.startsWith("/")) { final String msg = "The argument 'input' should start with slash '/': " + input; throw new IllegalArgumentException(msg); }Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 25.4K bytes - Viewed (1) -
src/test/java/jcifs/smb/BufferCacheImplTest.java
for (byte value : reused) { assertEquals(0, value, "Reused buffer must be zeroed"); } } // Edge: cache size 0 means nothing is cached; release still zeroes argument @Test @DisplayName("Cache size 0: release zeroes but does not cache; getBuffer allocates new") void zeroSizedCacheDoesNotStore() { BufferCacheImpl impl = new BufferCacheImpl(0, 8);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/Config.java
return prp.getProperty(key); } /** * 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 key the property key to look up * @param def the default value to return if the property 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 - 14.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileOutputStream.java
* on an SMB server addressed by the <code>SmbFile</code> parameter. See * {@link jcifs.smb.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 file * An <code>SmbFile</code> representing the file to write to
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/jcifs/SmbResourceTest.java
@DisplayName("renameTo should throw NullPointerException for null destination") void testRenameTo_NullDestination() throws CIFSException { // Given doThrow(new NullPointerException("dest argument is null")).when(mockResource).renameTo(null); // When/Then assertThrows(NullPointerException.class, () -> mockResource.renameTo(null),Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 35K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/CurlRequestTest.java
assertNull(request.proxy()); assertNull(request.body()); } @Test public void testConstructorWithNullUrl() { // URL can be null with the two-argument constructor CurlRequest request = new CurlRequest(Method.DELETE, null); assertEquals(Method.DELETE, request.method()); assertEquals("UTF-8", request.encoding());
Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Mon Nov 24 03:10:07 UTC 2025 - 20.5K bytes - Viewed (0)