- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 558 for Apply (0.02 sec)
-
guava-tests/test/com/google/common/collect/ForwardingListIteratorTest.java
new ForwardingWrapperTester() .testForwarding( ListIterator.class, new Function<ListIterator, ListIterator<?>>() { @Override public ListIterator<?> apply(ListIterator delegate) { return wrap((ListIterator<?>) delegate); } }); } private static <T> ListIterator<T> wrap(ListIterator<T> delegate) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 1.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/request/suggest/SuggestResponseTest.java
} @Test public void test_getWords() throws Exception { List<String> words = new ArrayList<>(); words.add("apple"); words.add("application"); words.add("apply"); SuggestResponse response = new SuggestResponse("test-index", 100, words, 10, new ArrayList<>()); assertNotNull(response.getWords()); assertEquals(3, response.getWords().size());Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 6.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/FilesTest.java
File asciiFile = getTestFile("ascii.txt"); File dir = asciiFile.getParentFile(); assertTrue(Files.isDirectory().apply(dir)); assertFalse(Files.isFile().apply(dir)); assertFalse(Files.isDirectory().apply(asciiFile)); assertTrue(Files.isFile().apply(asciiFile)); } /** Returns a root path for the file system. */ private static File root() { return File.listRoots()[0]; }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:44:53 UTC 2025 - 22.1K bytes - Viewed (0) -
buildSrc/src/main/kotlin/JavaModules.kt
import org.jetbrains.kotlin.gradle.tasks.KotlinJvmCompile fun Project.applyJavaModules( moduleName: String, defaultVersion: Int = 8, javaModuleVersion: Int = 9, enableValidation: Boolean = true, ) { plugins.apply("me.champeau.mrjar") configure<MultiReleaseExtension> { targetVersions(defaultVersion, javaModuleVersion) } tasks.named<JavaCompile>("compileJava9Java").configure {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Sep 21 06:22:22 UTC 2025 - 1.9K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java
AsyncFunction<? super I, ? extends O> function, @ParametricNullness I input) throws Exception { ListenableFuture<? extends O> output = function.apply(input); checkNotNull( output, "AsyncFunction.apply returned null instead of a Future. " + "Did you mean to return immediateFuture(null)? %s", function); return output; } @Override
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Feb 20 18:03:37 UTC 2025 - 10.8K bytes - Viewed (0) -
okhttp/src/commonTest/kotlin/okhttp3/CompressionInterceptorTest.kt
import org.junit.jupiter.api.extension.RegisterExtension class CompressionInterceptorTest { @RegisterExtension val clientTestRule = OkHttpClientTestRule() val source = Buffer().apply { write("Hello World".encodeUtf8()) } as Source @Test fun emptyDoesntChangeRequestOrResponse() { val empty = CompressionInterceptor() val client = clientTestRuleRegistered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Aug 01 06:04:22 UTC 2025 - 3K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/ResultDataTest.java
// ## Arrange ## final ResultData resultData = new ResultData(); final Function<Object, byte[]> serializer = new Function<Object, byte[]>() { @Override public byte[] apply(Object t) { return t.toString().getBytes(); } }; // ## Act ## resultData.setSerializer(serializer); // ## Assert ##Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 1.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Dns.kt
try { return InetAddress.getAllByName(hostname).toList() } catch (e: NullPointerException) { throw UnknownHostException("Broken system behaviour for dns lookup of $hostname").apply { initCause(e) } } } } }Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 2.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ResponseJvmTest.kt
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Jul 07 18:57:05 UTC 2025 - 2.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/authenticator/JavaNetAuthenticatorTest.kt
private var authenticator = JavaNetAuthenticator() private val fakeDns = FakeDns() private val recordingAuthenticator = RecordingAuthenticator() private val factory = TestValueFactory() .apply { dns = fakeDns } @BeforeEach fun setup() { Authenticator.setDefault(recordingAuthenticator) } @AfterEach fun tearDown() { Authenticator.setDefault(null)
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.7K bytes - Viewed (0)