- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 2,317 for method (0.04 sec)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/builder/RequestDataBuilder.java
} /** * Sets the HTTP method for the request. * * @param method the HTTP method (GET, POST, HEAD) * @return this RequestDataContext for method chaining */ public RequestDataContext method(final String method) { if (Constants.GET_METHOD.equalsIgnoreCase(method)) { return get(); }Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessListedClassificationProviderTest.java
} } // Helper method to invoke protected method using reflection private ClassificationMeta invokeMethod(Object obj, String methodName, String param) { try { java.lang.reflect.Method method = obj.getClass().getDeclaredMethod(methodName, String.class); method.setAccessible(true); return (ClassificationMeta) method.invoke(obj, param); } catch (Exception e) {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2ResponseTest.java
} @Test void testIsEndOfSearch() { // Test the isEndOfSearch method // By default, it should be false assertFalse(response.isEndOfSearch()); } @Test void testGetNumEntries() { // Test the getNumEntries method // By default, it should be 0 assertEquals(0, response.getNumEntries()); } @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationTest.java
assertEquals(40, trans.maxDataCount, "The maxDataCount should be 40."); assertEquals((byte) 0x00, trans.maxSetupCount, "The maxSetupCount should be 0."); } /** * Tests the writeSetupWireFormat method. */ @Test void testWriteSetupWireFormat() { // Given Trans2QueryPathInformation trans = new Trans2QueryPathInformation("test.txt", 0x0101); byte[] dst = new byte[2];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/ByteSinkTester.java
for (Method method : testMethods) { suite.addTest(new ByteSinkTester(factory, bytes, name, desc, method)); } return suite; } private ByteSink sink; ByteSinkTester( ByteSinkFactory factory, byte[] data, String suiteName, String caseDesc, Method method) { super(factory, data, suiteName, caseDesc, method); } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 4K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/ByteSinkTester.java
for (Method method : testMethods) { suite.addTest(new ByteSinkTester(factory, bytes, name, desc, method)); } return suite; } private ByteSink sink; ByteSinkTester( ByteSinkFactory factory, byte[] data, String suiteName, String caseDesc, Method method) { super(factory, data, suiteName, caseDesc, method); } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 4K bytes - Viewed (0) -
api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ExtensibleEnumProvider.java
* <p> * This method is called by Maven during initialization to collect all custom enum values * that should be registered. The returned collection should contain all the enum values * that this provider wants to contribute. * <p> * The values returned by this method should be created using the appropriate factory methodsRegistered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Apr 03 13:33:59 UTC 2025 - 2.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
class FreshValueGenerator { private static final ImmutableMap<Class<?>, Method> GENERATORS; static { ImmutableMap.Builder<Class<?>, Method> builder = ImmutableMap.builder(); for (Method method : FreshValueGenerator.class.getDeclaredMethods()) { if (method.isAnnotationPresent(Generates.class)) { builder.put(method.getReturnType(), method); } } GENERATORS = builder.buildOrThrow(); }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 28.1K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/Invokable.java
final Method method; MethodInvokable(Method method) { super(method); this.method = method; } @Override final @Nullable Object invokeInternal(@Nullable Object receiver, @Nullable Object[] args) throws InvocationTargetException, IllegalAccessException { return method.invoke(receiver, args); } @OverrideRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 18.4K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/CurlRequestTest.java
String url = "https://example.com"; // Test that CurlRequest can be created with all HTTP methods for (Method method : Method.values()) { CurlRequest request = new CurlRequest(method, url); assertEquals(method, request.method()); } }
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Thu Jul 31 01:01:12 UTC 2025 - 8.8K bytes - Viewed (0)