- Sort Score
- Num 10 results
- Language All
Results 501 - 510 of 1,160 for isInvalid (0.05 seconds)
-
src/main/java/jcifs/pac/PacUnicodeString.java
throw new PACDecodingException("Non-empty string"); } final int expected = this.length / 2; if (string.length() != expected) { throw new PACDecodingException("Invalid string length, expected " + expected + ", have " + string.length()); } return string; }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.9K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt
assertThat(client.processNextFrame()).isFalse() client.listener.assertClosing(1000, "Bye!") } @Test fun protocolErrorBeforeCloseSendsFailure() { server.sink.write("0a00".decodeHex()).emit() // Invalid non-final ping frame. client.processNextFrame() // Detects error, send close, close connection. taskFaker.runTasks() client.webSocket!!.finishReader() assertThat(client.closed).isTrue()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Jul 31 04:18:40 GMT 2025 - 18.7K bytes - Click Count (0) -
cmd/object-api-utils_test.go
{"ideas-are-more-powerful-than-guns", true}, {"testbucket", true}, {"1bucket", true}, {"bucket1", true}, {"a.b", true}, {"ab.a.bc", true}, // cases for which test should fail. // passing invalid bucket names. {"------", false}, {"my..bucket", false}, {"192.168.1.1", false}, {"$this-is-not-valid-too", false}, {"contains-$-dollar", false}, {"contains-^-caret", false},Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 24.1K bytes - Click Count (0) -
src/main/java/jcifs/smb/SID.java
private static final Logger log = LoggerFactory.getLogger(SID.class); static final String[] SID_TYPE_NAMES = { "0", "User", "Domain group", "Domain", "Local group", "Builtin group", "Deleted", "Invalid", "Unknown" }; /** * Flag indicating that SIDs should be resolved to names. */ public static final int SID_FLAG_RESOLVE_SIDS = 0x0001; /** * Well known SID: EVERYONE */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 16K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java
assertEquals(3, notifications.get(2).getAction()); assertEquals("file3", notifications.get(2).getFileName()); } @DisplayName("Should throw exception for invalid structure size") @ParameterizedTest @ValueSource(ints = { 0, 1, 2, 4, 8, 10, 16, 32, 255 }) void testInvalidStructureSize(int structureSize) { // Given byte[] buffer = new byte[256];Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 18.8K bytes - Click Count (0) -
fastapi/utils.py
return not (current_status_code < 200 or current_status_code in {204, 205, 304}) def get_path_param_names(path: str) -> set[str]: return set(re.findall("{(.*?)}", path)) _invalid_args_message = ( "Invalid args for response field! Hint: " "check that {type_} is a valid Pydantic field type. " "If you are using a return type annotation that is not a valid Pydantic "
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 11 18:41:21 GMT 2026 - 4.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/AccessTokenHelper.java
} if (values.length == 1 && !BEARER.equals(values[0])) { return values[0]; } throw new InvalidAccessTokenException("invalid_request", "Invalid format: " + token); } final String name = ComponentUtil.getFessConfig().getApiAccessTokenRequestParameter(); if (StringUtil.isNotBlank(name)) { return request.getParameter(name); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 2.6K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainsBuilder.java
* @throws ToolchainsBuilderException if the project cannot be created * @throws IllegalArgumentException if an argument is {@code null} or invalid * @see #build(ToolchainsBuilderRequest) */ @Nonnull default ToolchainsBuilderResult build( @Nonnull Session session, @Nonnull Source installationToolchainsFile,Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Aug 22 14:47:43 GMT 2024 - 2.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/validation/CustomSizeValidator.java
max = Integer.parseInt(fessConfig.get(maxKey)); } message = constraintAnnotation.message(); validateParameters(); } @Override public boolean isValid(final CharSequence value, final ConstraintValidatorContext context) { if (value == null) { return true; }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 3K bytes - Click Count (0) -
src/main/java/jcifs/smb1/netbios/SessionRequestPacket.java
final int start = bufferIndex; if (in.read(buffer, bufferIndex, length) != length) { throw new IOException("invalid session request wire format"); } bufferIndex += calledName.readWireFormat(buffer, bufferIndex); bufferIndex += callingName.readWireFormat(buffer, bufferIndex); return bufferIndex - start; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.4K bytes - Click Count (0)