- Sort Score
- Result 10 results
- Languages All
Results 1521 - 1530 of 2,317 for method (0.15 sec)
-
src/test/java/org/codelibs/fess/exception/CommandExecutionExceptionTest.java
StackTraceElement[] stackTrace = exception.getStackTrace(); assertNotNull(stackTrace); assertTrue(stackTrace.length > 0); // First element should be from this test method StackTraceElement firstElement = stackTrace[0]; assertEquals(this.getClass().getName(), firstElement.getClassName()); assertEquals("test_stackTracePresent", firstElement.getMethodName()); }Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2ExchangeCodec.kt
) fun http2HeadersList(request: Request): List<Header> { val headers = request.headers val result = ArrayList<Header>(headers.size + 4) result.add(Header(TARGET_METHOD, request.method)) result.add(Header(TARGET_PATH, RequestLine.requestPath(request.url))) val host = request.header("Host") if (host != null) { result.add(Header(TARGET_AUTHORITY, host)) // Optional. }Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Jul 29 21:11:09 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/JobExecutorTest.java
super.setUp(); // Create a concrete implementation for testing jobExecutor = new TestJobExecutor(); } public void test_execute() { // Test execute method String scriptType = "test"; String script = "test script"; Object result = jobExecutor.execute(scriptType, script); assertEquals("Executed: test test script", result);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableTable.java
: new SparseImmutableTable<R, C, V>(cellList, rowSpace, columnSpace); } /** * @throws IllegalArgumentException if {@code existingValue} is not null. */ /* * We could have declared this method 'static' but the additional compile-time checks achieved by * referencing the type variables seem worthwhile. */ final void checkNoDuplicate(R rowKey, C columnKey, @Nullable V existingValue, V newValue) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Apr 08 13:05:15 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/jcifs/RuntimeCIFSExceptionTest.java
// Then assertNotNull(exception.getStackTrace()); assertTrue(exception.getStackTrace().length > 0); // Should contain this test method in stack trace boolean foundTestMethod = false; for (StackTraceElement element : exception.getStackTrace()) { if (element.getMethodName().contains("testStackTracePreservation")) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java
// Remaining bytes (if any) stay zero-padded } return nonce; } /** * Generate a secure random nonce for initial session setup. * This method can be used when enhanced randomness is required, * such as during initial key exchange or session establishment. * * @return randomized nonce appropriate for the dialect */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 35.5K bytes - Viewed (0) -
docs/contribute/concurrency.md
#### Blocking APIs Blocking APIs are convenient because you get top-to-bottom procedural code without indirection. Network calls work like regular method calls: ask for data and it is returned. If the request fails, you get a stacktrace right where the call was made.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 16:35:36 UTC 2022 - 7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/FessBoot.java
// main // ============ /** * Main method to start the Fess application. * Sets up system properties, configures Tomcat, and starts the server. * * @param args command line arguments (not used) */Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 11.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/entity/FessUserTest.java
assertArrayEquals(permissions, user.getPermissions()); assertFalse(user.isEditable()); assertFalse(user.refresh()); } // Helper method to assert array equality private void assertArrayEquals(String[] expected, String[] actual) { if (expected == null && actual == null) { return; }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/ArrayMapTest.java
assertThat(i.next().getKey(), is(nullValue())); assertThat(i.next().getKey(), is("1")); assertThat(i.next().getKey(), is("2")); } /** * Test method for {@link org.seasar.util.collection.ArrayIterator#remove()} * . */ @Test public void testArrayIteratorRemoveException() { exception.expect(ClIllegalStateException.class);
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 10.7K bytes - Viewed (0)