- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 2,425 for Method (0.59 sec)
-
src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java
lenient().when(mockBufferCache.getBuffer()).thenReturn(new byte[8192]); } /** * Helper method to create a DcerpcPipeHandle with injected mocks * Uses mock to avoid constructor issues while allowing real method calls */ private DcerpcPipeHandle createMockedDcerpcPipeHandle() throws Exception { // Create a mock without calling the constructor
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedCompositeBeanHelper.java
} /** * Build method cache for a class. */ private Map<String, MethodInfo> buildMethodCache(Class<?> beanType) { Map<String, MethodInfo> methodMap = new HashMap<>(); for (Method method : beanType.getMethods()) { if (!Modifier.isStatic(method.getModifiers()) && method.getParameterCount() == 1) { Type[] paramTypes = method.getGenericParameterTypes();Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Nov 12 14:59:46 UTC 2025 - 12.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/eventbus/PackageSanityTests.java
* limitations under the License. */ package com.google.common.eventbus; import com.google.common.testing.AbstractPackageSanityTests; import java.lang.reflect.Method; import org.jspecify.annotations.NullUnmarked; import org.jspecify.annotations.Nullable; /** * Basic sanity tests for the entire package. * * @author Ben Yu */ @NullUnmarked
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacGroupTest.java
} /** * Test method for {@link jcifs.pac.PacGroup#getId()}. */ @Test void testGetId() { // Test the getId method assertEquals(mockSid, pacGroup.getId(), "getId() should return the correct SID."); } /** * Test method for {@link jcifs.pac.PacGroup#getAttributes()}. */ @Test void testGetAttributes() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.5K bytes - Viewed (0) -
android/guava/src/com/google/common/io/Closer.java
* types your try block can throw when calling an overload of this method so as to avoid losing * the original exception type. * * <p>This method always throws, and as such should be called as {@code throw closer.rethrow(e);} * to ensure the compiler knows that it will throw. * * @return this method does not return; it always throws * @throws IOException when the given throwable is an IOExceptionRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 10.3K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/KotlinModifiersBreakingChangeRule.groovy
if (isNewOrRemoved(member) || !(member instanceof JApiMethod)) { return null } JApiMethod method = (JApiMethod) member def metadata = KotlinMetadataQueries.INSTANCE def oldMethod = method.oldMethod.get() def newMethod = method.newMethod.get() def oldIsOperator = metadata.isKotlinOperatorFunction(oldMethod)Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Thu Oct 06 19:15:15 UTC 2022 - 2.4K bytes - Viewed (0) -
mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/PushPromise.kt
import okhttp3.Headers class PushPromise( @get:JvmName("method") val method: String, @get:JvmName("path") val path: String, @get:JvmName("headers") val headers: Headers, @get:JvmName("response") val response: MockResponse, ) { @JvmName("-deprecated_method") @Deprecated( message = "moved to val", replaceWith = ReplaceWith(expression = "method"), level = DeprecationLevel.ERROR, )
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java
*/ @CanIgnoreReturnValue public B suppressing(Method... methods) { return suppressing(asList(methods)); } @CanIgnoreReturnValue public B suppressing(Collection<Method> methods) { suppressedTests.addAll(methods); return self(); } public Set<Method> getSuppressedTests() { return suppressedTests; }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 10.4K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy
public enum $TEST_INTERFACE_SIMPLE_NAME { field; void method() { } } """ : apiElement.startsWith('annotation') ? """ public @interface $TEST_INTERFACE_SIMPLE_NAME { String method(); } """ : apiElement == 'interface' ? """Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Fri Jun 06 17:52:09 UTC 2025 - 16K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractExecutionThreadService.java
protected AbstractExecutionThreadService() {} /** * Start the service. This method is invoked on the execution thread. * * <p>By default this method does nothing. */ protected void startUp() throws Exception {} /** * Run the service. This method is invoked on the execution thread. Implementations must respond
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 7.2K bytes - Viewed (0)