- Sort Score
- Num 10 results
- Language All
Results 4821 - 4830 of 7,132 for String (0.06 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt
val response2 = call2.execute() val call3 = client.newCall(Request(server.url("/"))) val response3 = call3.execute() assertThat(response1.body.string()).isEqualTo("ABC") assertThat(response2.body.string()).isEqualTo("DEF") assertThat(response3.body.string()).isEqualTo("GHI") // Settings connection. assertThat(server.takeRequest().exchangeIndex).isEqualTo(0) // Reuse settings connection.
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 67.5K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/ElasticsearchJavaBasePlugin.java
sourceSets.all(sourceSet -> disableTransitiveDependenciesForSourceSet(project, sourceSet)); } private static void disableTransitiveDependenciesForSourceSet(Project project, SourceSet sourceSet) { List<String> sourceSetConfigurationNames = List.of( sourceSet.getApiConfigurationName(), sourceSet.getImplementationConfigurationName(), sourceSet.getImplementationConfigurationName(),
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Sep 27 16:04:42 GMT 2021 - 8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/ThreadDumpUtil.java
} /** * Writes thread dump information to the specified file. * * @param file the file path to write the thread dump to */ public static void writeThreadDump(final String file) { try (final Writer writer = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(file), Constants.CHARSET_UTF_8))) { processThreadDump(s -> { try {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 3.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/opensearch/config/exentity/JobLogTest.java
jobLog.setId("second-id"); assertEquals("second-id", jobLog.getId()); } @Test public void test_setId_withUuidFormat() { final JobLog jobLog = new JobLog(); final String uuidNoHyphens = "a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6"; jobLog.setId(uuidNoHyphens); assertEquals(uuidNoHyphens, jobLog.getId()); } @Test public void test_versionNo() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 11:55:54 GMT 2026 - 3.7K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/internal/duplex/MockSocketHandler.kt
*/ class MockSocketHandler : SocketHandler { private val actions = LinkedBlockingQueue<Action>() private val results = LinkedBlockingQueue<FutureTask<Void>>() fun receiveRequest(expected: String) = apply { actions += { stream -> val actual = stream.source.readUtf8(expected.utf8Size()) if (actual != expected) throw AssertionError("$actual != $expected") } }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Jul 31 04:18:40 GMT 2025 - 3.3K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/AbstractListTester.java
fail("mismatch at index " + i + ": " + reportContext(expectedList)); } } } /** * Used to delay string formatting until actually required, as it otherwise shows up in the test * execution profile when running an extremely large numbers of tests. */ private String reportContext(List<E> expected) { return Platform.format( "expected collection %s; actual collection %s", expected, this.collection);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.9K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/WriterUtil.java
* @param encoding the encoding (must not be {@literal null} or empty) * @return a {@link Writer} to output to the stream */ public static Writer create(final OutputStream os, final String encoding) { assertArgumentNotNull("os", os); assertArgumentNotEmpty("encoding", encoding); try { return new OutputStreamWriter(os, encoding); } catch (final IOException e) {
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 3K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NameQueryRequestTest.java
} @Test void testToString() { // Test the toString method's output format NameQueryRequest request = new NameQueryRequest(mockConfig, mockName); String expectedStringPrefix = "NameQueryRequest["; String actualString = request.toString(); assertTrue(actualString.startsWith(expectedStringPrefix)); assertTrue(actualString.endsWith("]"));Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.8K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderException.java
* exception is thrown so this information is merely meant to assist the user. * * @return The identifier of the POM or an empty string if not known, never {@code null}. */ public String getModelId() { if (result == null) { return ""; } else if (result.getEffectiveModel() != null) { return result.getEffectiveModel().getId();Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Sep 25 21:57:56 GMT 2025 - 2.9K bytes - Click Count (0) -
cmd/metacache-marker.go
start := strings.LastIndex(s, "[") o.Marker = s[:start] end := strings.LastIndex(s, "]") tag := strings.Trim(s[start:end], "[]") tags := strings.SplitSeq(tag, ",") for tag := range tags { kv := strings.Split(tag, ":") if len(kv) < 2 { continue } switch kv[0] { case "minio_cache": if kv[1] != markerTagVersion { continue } case "id": o.ID = kv[1] case "return": o.ID = mustGetUUID()
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 2.5K bytes - Click Count (0)