- Sort Score
- Num 10 results
- Language All
Results 211 - 220 of 740 for invoker (0.23 seconds)
-
src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java
method.setAccessible(true); return (int) method.invoke(response); } private void setNumEntries(NetShareEnumResponse response, int value) throws Exception { Method method = getSuperclassMethod(response.getClass(), "setNumEntries", int.class); method.setAccessible(true); method.invoke(response, value); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java
setTreeIdMethod.setAccessible(true); setTreeIdMethod.invoke(response, -1); assertFalse(response.isValidTid()); // Test valid TID setTreeIdMethod.invoke(response, 100); assertTrue(response.isValidTid()); // Test zero TID (valid) setTreeIdMethod.invoke(response, 0); assertTrue(response.isValidTid()); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 19.3K bytes - Click Count (0) -
src/packaging/common/scripts/prerm
if command -v systemctl >/dev/null; then systemctl --no-reload stop fess.service > /dev/null 2>&1 || true elif [ -x /etc/init.d/fess ]; then if command -v invoke-rc.d >/dev/null; then invoke-rc.d fess stop || true else /etc/init.d/fess stop || true fi # older suse linux distributions do not ship with systemd # but do not have an /etc/init.d/ directory
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Jan 29 07:34:32 GMT 2018 - 1.7K bytes - Click Count (0) -
scripts/tests/test_translation_fixer/test_html_links/test_html_links_number_mismatch.py
@pytest.mark.parametrize( "copy_test_files", [(f"{data_path}/en_doc.md", f"{data_path}/translated_doc_number_gt.md")], indirect=True, ) def test_gt(runner: CliRunner, root_dir: Path, copy_test_files): result = runner.invoke( cli, ["fix-pages", "docs/lang/docs/doc.md"], ) assert result.exit_code == 1, result.output fixed_content = (root_dir / "docs" / "lang" / "docs" / "doc.md").read_text("utf-8")
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Jan 10 22:43:44 GMT 2026 - 1.8K bytes - Click Count (0) -
scripts/tests/test_translation_fixer/test_markdown_links/test_mkd_links_number_mismatch.py
@pytest.mark.parametrize( "copy_test_files", [(f"{data_path}/en_doc.md", f"{data_path}/translated_doc_number_gt.md")], indirect=True, ) def test_gt(runner: CliRunner, root_dir: Path, copy_test_files): result = runner.invoke( cli, ["fix-pages", "docs/lang/docs/doc.md"], ) assert result.exit_code == 1, result.output fixed_content = (root_dir / "docs" / "lang" / "docs" / "doc.md").read_text("utf-8")
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Jan 10 22:43:44 GMT 2026 - 1.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exec/ThumbnailGeneratorTest.java
processMethod.setAccessible(true); try { Integer result = (Integer) processMethod.invoke(null, options); assertNotNull(result); assertEquals(1, result.intValue()); } catch (Exception e) { // Expected behavior when components are not fully initialized
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.2K bytes - Click Count (0) -
scripts/tests/test_translation_fixer/test_code_blocks/test_code_blocks_number_mismatch.py
@pytest.mark.parametrize( "copy_test_files", [(f"{data_path}/en_doc.md", f"{data_path}/translated_doc_number_gt.md")], indirect=True, ) def test_gt(runner: CliRunner, root_dir: Path, copy_test_files): result = runner.invoke( cli, ["fix-pages", "docs/lang/docs/doc.md"], ) assert result.exit_code == 1, result.output fixed_content = (root_dir / "docs" / "lang" / "docs" / "doc.md").read_text("utf-8")
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Jan 10 22:43:44 GMT 2026 - 1.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java
// When & Then - test various sizes for 8-byte alignment assertEquals(8, size8Method.invoke(request, 1)); assertEquals(8, size8Method.invoke(request, 8)); assertEquals(16, size8Method.invoke(request, 9)); assertEquals(72, size8Method.invoke(request, 68)); // SMB2_HEADER_LENGTH + 4 = 68 } @Test @DisplayName("Should maintain consistent command type")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.1K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Dispatcher.kt
/** * The maximum number of requests to execute concurrently. Above this requests queue in memory, * waiting for the running calls to complete. * * If more than [maxRequests] requests are in flight when this is invoked, those requests will * remain in flight. */ @get:Synchronized var maxRequests = 64 set(maxRequests) { require(maxRequests >= 1) { "max < 1: $maxRequests" } synchronized(this) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Oct 07 14:16:22 GMT 2025 - 9.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/InvokableTest.java
Prepender prepender = delegate.invoke(null, "a", 1); assertThat(prepender.prefix).isEqualTo("a"); assertEquals(1, prepender.times); } public void testConstructor_returning() throws Exception { Invokable<?, Prepender> delegate = Prepender.constructor(String.class, int.class).returning(Prepender.class); Prepender prepender = delegate.invoke(null, "a", 1);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 31.1K bytes - Click Count (0)