- Sort Score
- Result 10 results
- Languages All
Results 251 - 260 of 1,930 for SMethod (0.04 sec)
-
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/LinkRendererTest.groovy
} def rendersLinkToApiMethod() { def method = method('someMethod', 'org.gradle.SomeClass') when: def link = renderer.link(method, listener) then: format(link) == '<apilink class="org.gradle.SomeClass" method="someMethod()"/>' _ * model.isKnownType('org.gradle.SomeClass') >> true } def method(String name, String className) {Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 4.9K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Optional.java
* * <p><b>Comparison to {@code java.util.Optional}:</b> this method is similar to Java 8's {@code * Optional.orElseGet}, except when {@code supplier} returns {@code null}. In this case this * method throws an exception, whereas the Java 8+ method returns the {@code null} to the caller. * * @throws NullPointerException if this optional's value is absent and the supplier returns {@codeRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Jun 04 13:03:16 UTC 2025 - 15.4K bytes - Viewed (0) -
android/guava/src/com/google/common/base/NullnessCasts.java
* without having to add {@code @SuppressWarnings}, the code can call this method. * * <p>Why <i>not</i> just add {@code SuppressWarnings}? The problem is that this method is * typically useful for {@code return} statements. That leaves the code with two options: Either * add the suppression to the whole method (which turns off checking for a large section of code),Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Aug 13 20:49:47 UTC 2025 - 3.3K bytes - Viewed (0) -
guava/src/com/google/common/base/NullnessCasts.java
* without having to add {@code @SuppressWarnings}, the code can call this method. * * <p>Why <i>not</i> just add {@code SuppressWarnings}? The problem is that this method is * typically useful for {@code return} statements. That leaves the code with two options: Either * add the suppression to the whole method (which turns off checking for a large section of code),Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Aug 13 20:49:47 UTC 2025 - 3.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequestTest.java
} @Test @DisplayName("Test setFlags method") void testSetFlags() { setupMockConfig(); Smb2IoctlRequest request = new Smb2IoctlRequest(mockConfig, TEST_CONTROL_CODE); request.setFlags(Smb2IoctlRequest.SMB2_O_IOCTL_IS_FSCTL); assertNotNull(request); } @Test @DisplayName("Test setMaxInputResponse method") void testSetMaxInputResponse() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/BiMapInverseTester.java
@GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0; } /** * Returns {@link Method} instances for the tests that assume that the inverse will be the same * after serialization. */ @J2ktIncompatible @GwtIncompatible // reflection public static List<Method> getInverseSameAfterSerializingMethods() { return Collections.singletonList(getMethod("testInverseSerialization")); }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 3.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionCreationTester.java
import com.google.common.collect.testing.features.CollectionFeature; import com.google.common.collect.testing.features.CollectionSize; import java.lang.reflect.Method; import org.junit.Ignore; /** * A generic JUnit test which tests creation (typically through a constructor or static factory * method) of a collection. Can't be invoked directly; please see {@link * com.google.common.collect.testing.CollectionTestSuiteBuilder}. * * @author Chris Povirk
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/https/HandlerTest.java
void testProtectedMethodAccess() throws Exception { // Given Handler testHandler = new Handler(); // When Method method = Handler.class.getDeclaredMethod("getDefaultPort"); // Then assertTrue(Modifier.isProtected(method.getModifiers())); method.setAccessible(true);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.2K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/Types.java
private static final ImmutableMap<String, Method> typeVariableMethods; static { ImmutableMap.Builder<String, Method> builder = ImmutableMap.builder(); for (Method method : TypeVariableImpl.class.getMethods()) { if (method.getDeclaringClass().equals(TypeVariableImpl.class)) { try { method.setAccessible(true); } catch (AccessControlException e) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Oct 31 19:34:24 UTC 2025 - 24.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/CommonServerMessageBlockTest.java
@Mock private SMBSigningDigest digest; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); } @Test @DisplayName("Test decode method with valid buffer") void testDecodeWithValidBuffer() throws SMBProtocolDecodingException { // Given byte[] buffer = new byte[256]; int bufferIndex = 0; int expectedLength = 100;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.7K bytes - Viewed (0)