- Sort Score
- Num 10 results
- Language All
Results 2011 - 2020 of 2,945 for methods (0.08 seconds)
-
guava-tests/test/com/google/common/eventbus/outside/OutsideEventBusTest.java
*/ public class OutsideEventBusTest extends TestCase { /* * If you do this test from common.eventbus.EventBusTest, it doesn't actually test the behavior. * That is, even if exactly the same method works from inside the common.eventbus package tests, * it can fail here. */ public void testAnonymous() { AtomicReference<String> holder = new AtomicReference<>();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 1.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/rank/fusion/RankFusionSearcherTest.java
import org.junit.jupiter.api.Test; /** * Tests for RankFusionSearcher abstract base class. */ public class RankFusionSearcherTest extends UnitFessTestCase { /** * Test getName() method derives name from class name. */ @Test public void test_getNameFromClassName() { final TestSearcher searcher = new TestSearcher(); assertEquals("test", searcher.getName()); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 6.5K bytes - Click Count (0) -
android/guava/src/com/google/common/io/CharSequenceReader.java
* but works with any {@link CharSequence}. * * @author Colin Decker */ // TODO(cgdecker): make this public? as a type, or a method in CharStreams? @J2ktIncompatible @GwtIncompatible final class CharSequenceReader extends Reader { private @Nullable CharSequence seq; private int pos; private int mark;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 4.5K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NbtExceptionTest.java
assertTrue(exception instanceof CIFSException, "NbtException should be an instance of CIFSException"); } /** * Test the getErrorString method with various error classes and codes to ensure all branches are covered. */ @ParameterizedTest @MethodSource("provideErrorClassAndCodeForGetErrorString")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.9K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/vagrant/VagrantBasePlugin.java
} private void callIfVagrantTask(Task task, Consumer<VagrantMachine> method) { if (task instanceof VagrantShellTask) { VagrantMachine service = task.getProject().getExtensions().getByType(VagrantMachine.class); method.accept(service); } } @OverrideCreated: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 6.1K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpAuthentication.java
import org.codelibs.core.lang.StringUtil; /** * FtpAuthentication class holds the authentication information for FTP connections. * It includes server address, port number, username, and password. * It also provides a method to check if the authentication matches a given FTP path. * * <p><b>Security Note:</b> This class stores credentials in memory. For security best practices: * <ul>
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Sun Jan 04 09:30:17 GMT 2026 - 4.7K bytes - Click Count (0) -
docs/features/interceptors.md
return chain.proceed(originalRequest); } Request compressedRequest = originalRequest.newBuilder() .header("Content-Encoding", "gzip") .method(originalRequest.method(), gzip(originalRequest.body())) .build(); return chain.proceed(compressedRequest); } private RequestBody gzip(final RequestBody body) { return new RequestBody() {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Feb 06 02:19:09 GMT 2022 - 8.1K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt
val cacheUrlOverride = cacheUrlOverride // Allow POST and QUERY caching only when there is a cacheUrlOverride return if (cacheUrlOverride != null && (HttpMethod.isCacheable(method) || method == "POST")) { newBuilder() .get() .url(cacheUrlOverride) .cacheUrlOverride(null) .build() } else { this }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Jan 11 12:06:21 GMT 2026 - 10.3K bytes - Click Count (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/AbstractMojo.java
* <strong>Note:</strong> * The logger returned by this method must not be cached in an instance field during the construction of the mojo. * This would cause the mojo to use a wrongly configured default logger when being run by Maven. The proper logger * gets injected by the Plexus container after the mojo has been constructed. Therefore, simply call this
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 7.4K bytes - Click Count (0) -
cmd/signature-v4.go
// <SignedHeaders>\n // <HashedPayload> func getCanonicalRequest(extractedSignedHeaders http.Header, payload, queryStr, urlPath, method string) string { rawQuery := strings.ReplaceAll(queryStr, "+", "%20") encodedPath := s3utils.EncodePath(urlPath) canonicalRequest := strings.Join([]string{ method, encodedPath, rawQuery, getCanonicalHeaders(extractedSignedHeaders), getSignedHeaders(extractedSignedHeaders),
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Dec 13 22:19:12 GMT 2024 - 12.4K bytes - Click Count (0)