- Sort Score
- Result 10 results
- Languages All
Results 211 - 220 of 558 for isInvalid (0.1 sec)
-
src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java
new SmbTreeConnectionTrace(ctx).getConnectedShare(); })); } @ParameterizedTest(name = "Invalid usage causes NPE: {0}") @MethodSource("npePublicGetters") void getters_withoutTree_throwNPE(String name, org.junit.jupiter.api.function.Executable call) { // Each call is invalid without a held tree and should throw NPE assertThrows(NullPointerException.class, call); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 26.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java
} @Test @DisplayName("Test readBytesWireFormat with invalid structure size throws exception") void testReadBytesWireFormatInvalidStructureSize() { response = new Smb2QueryInfoResponse(mockConfig, (byte) 1, (byte) 2); byte[] buffer = new byte[1024]; int bufferIndex = 0; // Set structure size to 10 (invalid, should be 9) SMBUtil.writeInt2(10, buffer, bufferIndex);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.5K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/CurlRequestTest.java
CurlRequest request = new CurlRequest(Method.GET, "https://example.com"); request.encoding("INVALID-ENCODING"); try { request.param("key", "value"); fail("Expected CurlException for invalid encoding"); } catch (CurlException e) { assertTrue(e.getMessage().contains("Invalid encoding")); } } @Test public void testFluentChaining() {
Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Mon Nov 24 03:10:07 UTC 2025 - 20.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/searchlist/AdminSearchlistAction.java
if (logger.isDebugEnabled()) { logger.debug("Invalid query: {}", form.q, e); } throwValidationError(e.getMessageCode(), this::asListHtml); } catch (final ResultOffsetExceededException e) { if (logger.isDebugEnabled()) { logger.debug("Invalid offset: {}", form.offset, e); }
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 20 13:56:35 UTC 2025 - 22.7K bytes - Viewed (1) -
android/guava/src/com/google/common/collect/Range.java
* * <ul> * <li>{@code [a..a]} : a singleton range * <li>{@code [a..a); (a..a]} : {@linkplain #isEmpty empty} ranges; also valid * <li>{@code (a..a)} : <b>invalid</b>; an exception will be thrown * </ul> * * <h3>Warnings</h3> * * <ul> * <li>Use immutable value types only, if at all possible. If you must use a mutable type, <b>do
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 28K bytes - Viewed (0) -
src/main/java/jcifs/netbios/SessionRequestPacket.java
final int start = bufferIndex; if (in.read(buffer, bufferIndex, this.length) != this.length) { throw new IOException("invalid session request wire format"); } bufferIndex += this.calledName.readWireFormat(buffer, bufferIndex); bufferIndex += this.callingName.readWireFormat(buffer, bufferIndex); return bufferIndex - start;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFilenameFilterTest.java
boolean result = filter.accept(mockDir, name); assertEquals(expected, result, "Filter should evaluate .txt suffix correctly"); verifyNoInteractions(mockDir); } /** * Invalid/null inputs: ensure filters can handle null name and dir. */ @ParameterizedTest @DisplayName("null and empty names are handled explicitly") @NullAndEmptySource @ValueSource(strings = { " \t\n" })Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponse.java
public int decode(final byte[] buffer, int bufferIndex, final int len) throws SMBProtocolDecodingException { final int start = bufferIndex; if (len < 24) { throw new SMBProtocolDecodingException("Invalid resume key"); } this.resumeKey = new byte[24]; System.arraycopy(buffer, bufferIndex, this.resumeKey, 0, 24); bufferIndex += 24;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.2K bytes - Viewed (3) -
src/main/java/jcifs/smb1/dcerpc/DcerpcError.java
* Cannot perform operation fault code */ int DCERPC_FAULT_CANT_PERFORM = 0x000006D8; /** * NDR encoding error fault code */ int DCERPC_FAULT_NDR = 0x000006F7; /** * Invalid tag fault code */ int DCERPC_FAULT_INVALID_TAG = 0x1C000006; /** * Context mismatch fault code */ int DCERPC_FAULT_CONTEXT_MISMATCH = 0x1C00001A; /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.6K bytes - Viewed (0)