- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 1,812 for SMethod (0.06 sec)
-
android/guava/src/com/google/common/util/concurrent/SneakyThrows.java
import com.google.errorprone.annotations.CanIgnoreReturnValue; /** Static utility method for unchecked throwing of any {@link Throwable}. */ @GwtCompatible final class SneakyThrows<T extends Throwable> { /** * Throws {@code t} as if it were an unchecked {@link Throwable}. * * <p>This method is useful primarily when we make a reflective call to a method with no {@code
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Dec 30 18:44:22 UTC 2024 - 2.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java
*/ @Test @DisplayName("Test deprecated getPassword() method warning") public void testDeprecatedGetPasswordWarning() { NtlmPasswordAuthenticator auth = new NtlmPasswordAuthenticator("user", "TestPass123!"); // This should log a warning about using deprecated method String password = auth.getPassword(); assertNotNull(password);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt
val headers = headersOf("User-Agent", "RequestTest") val method = "PUT" val request = Request( url = url, headers = headers, method = method, body = body, ) assertThat(request.url).isEqualTo(url) assertThat(request.headers).isEqualTo(headers) assertThat(request.method).isEqualTo(method) assertThat(request.body).isEqualTo(body)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 19K bytes - Viewed (0) -
cmd/test-utils_test.go
return signature, nil } // Returns new HTTP request object. func newTestStreamingRequest(method, urlStr string, dataLength, chunkSize int64, body io.ReadSeeker) (*http.Request, error) { if method == "" { method = http.MethodPost } req, err := http.NewRequest(method, urlStr, nil) if err != nil { return nil, err } if body == nil {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 77K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryAdapterIteratorTest.java
* * This test class verifies the basic functionality of DirFileEntryAdapterIterator. * Due to the iterator's constructor calling advance() immediately, which requires * the adapt() method to be functional, we test the behavior using simple mock * scenarios that don't require complex filter setups. */ @ExtendWith(MockitoExtension.class) class DirFileEntryAdapterIteratorTest { @Mock
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RequestData.java
return method; } /** * Sets the HTTP method for this request. * @param method the HTTP method */ public void setMethod(final Method method) { this.method = method; } /** * Sets the HTTP method for this request using a string value. * Defaults to GET if the method is not recognized. * @param method the HTTP method as a string */
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/protwords/ProtwordsItemTest.java
} public void test_getNewInput() { // Test getNewInput method ProtwordsItem item = new ProtwordsItem(1, "word"); assertNull(item.getNewInput()); item.setNewInput("newword"); assertEquals("newword", item.getNewInput()); } public void test_setNewInput() { // Test setNewInput method ProtwordsItem item = new ProtwordsItem(1, "word");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.2K bytes - Viewed (0) -
src/cmd/api/testdata/src/pkg/p4/golden.txt
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu Jul 24 16:04:17 UTC 2025 - 329 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 Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.7K bytes - Viewed (0)