- Sort Score
- Result 10 results
- Languages All
Results 251 - 260 of 1,086 for isValid (0.05 sec)
-
src/test/java/jcifs/dcerpc/msrpc/samrTest.java
assertNull(entry.name.buffer); } @Test @DisplayName("Should throw exception for invalid conformance") void testDecodeInvalidConformance() throws NdrException { // Given: Mocked buffer data with invalid conformance samr.SamrSamEntry entry = new samr.SamrSamEntry(); when(mockNdrBuffer.dec_ndr_long()).thenReturn(1, 100); // idx, _name_bufferp
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 33.7K bytes - Viewed (0) -
docs_src/app_testing/app_b_py310/main.py
raise HTTPException(status_code=400, detail="Invalid X-Token header") if item_id not in fake_db: raise HTTPException(status_code=404, detail="Item not found") return fake_db[item_id] @app.post("/items/", response_model=Item) async def create_item(item: Item, x_token: str = Header()): if x_token != fake_secret_token: raise HTTPException(status_code=400, detail="Invalid X-Token header") if item.id in fake_db:
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Jan 09 14:44:08 UTC 2024 - 1.1K bytes - Viewed (0) -
docs_src/app_testing/app_b_py39/main.py
raise HTTPException(status_code=400, detail="Invalid X-Token header") if item_id not in fake_db: raise HTTPException(status_code=404, detail="Item not found") return fake_db[item_id] @app.post("/items/", response_model=Item) async def create_item(item: Item, x_token: str = Header()): if x_token != fake_secret_token: raise HTTPException(status_code=400, detail="Invalid X-Token header") if item.id in fake_db:
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 1.1K bytes - Viewed (0) -
internal/hash/reader_test.go
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Apr 09 14:28:39 UTC 2025 - 10.2K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java
@Test @DisplayName("Should throw DcerpcException for invalid URL format") void testConstructor_InvalidUrl() { String invalidUrl = "invalid:server"; assertThrows(DcerpcException.class, () -> new DcerpcPipeHandle(invalidUrl, mockContext, false), "Should throw DcerpcException for invalid protocol"); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmContext.java
return switch (this.state) { case 1 -> makeNegotiate(token); case 2 -> makeAuthenticate(token); default -> throw new SmbException("Invalid state"); }; } /** * Creates a Type 3 (authentication) message in response to a Type 2 (challenge) message. * @param token the Type 2 message bytes
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 17.3K bytes - Viewed (1) -
docs_src/app_testing/app_b_an_py39/main.py
@app.get("/items/{item_id}", response_model=Item) async def read_main(item_id: str, x_token: Annotated[str, Header()]): if x_token != fake_secret_token: raise HTTPException(status_code=400, detail="Invalid X-Token header") if item_id not in fake_db: raise HTTPException(status_code=404, detail="Item not found") return fake_db[item_id] @app.post("/items/", response_model=Item)
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Thu Aug 15 22:31:16 UTC 2024 - 1.1K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/plugin/internal/MavenPluginValidatorTest.java
"jar", null, new DefaultArtifactHandler("ignore")); PluginDescriptor descriptor = new PluginDescriptor(); descriptor.setGroupId("org.apache.maven.its.plugins.invalid"); descriptor.setArtifactId("maven-it-plugin"); descriptor.setVersion("0.1"); List<String> errors = new ArrayList<>(); mavenPluginValidator.validate(plugin, descriptor, errors);
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/netbios/LmhostsTest.java
// Create a temporary lmhosts file with invalid IP formats File lmhostsFile = tempDir.resolve("lmhosts_invalid").toFile(); try (FileWriter writer = new FileWriter(lmhostsFile)) { writer.write("192.168 HOST1\n"); // Invalid IP - missing 2 octets (should be skipped) writer.write("192.168.1.100 VALIDHOST\n"); writer.write("not.an.ip HOST2\n"); // Invalid IP formatRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.2K bytes - Viewed (0) -
fess-crawler/src/test/resources/org/codelibs/fess/crawler/helper/robots_malformed.txt
User-agent: GoodBot Disallow: /admin/ InvalidDirective: some-value unknown-field: test Disallow /missing-colon Disallow: # empty value (should be treated as allowing all) Allow: /public/ Crawl-delay: invalid-number Crawl-delay: -10 Crawl-delay: 5.5 Crawl-delay: Allow: # empty value # Case 3: Multiple colons in directive User-agent: MultiColonBot Disallow: http://example.com:8080/path Allow: /path:with:colons
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Fri Nov 14 12:52:01 UTC 2025 - 2.6K bytes - Viewed (0)