- Sort Score
- Result 10 results
- Languages All
Results 1981 - 1990 of 4,816 for newE (0.03 sec)
-
samples/guide/src/main/java/okhttp3/guide/GetExample.java
import java.io.IOException; import okhttp3.OkHttpClient; import okhttp3.Request; import okhttp3.Response; public class GetExample { final OkHttpClient client = new OkHttpClient(); String run(String url) throws IOException { Request request = new Request.Builder() .url(url) .build(); try (Response response = client.newCall(request).execute()) { return response.body().string(); }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Fri Apr 05 03:30:42 UTC 2024 - 1.3K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/WebSocketEcho.java
import okhttp3.WebSocketListener; import okio.ByteString; public final class WebSocketEcho extends WebSocketListener { private void run() { OkHttpClient client = new OkHttpClient.Builder() .readTimeout(0, TimeUnit.MILLISECONDS) .build(); Request request = new Request.Builder() .url("ws://echo.websocket.org") .build(); client.newWebSocket(request, this);
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Apr 04 11:40:21 UTC 2024 - 1.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java
*/ protected abstract Collection<E> actualContents(); /** * Replaces the existing container under test with a new container created by the subject * generator. * * @see #resetContainer(Object) resetContainer(C) * @return the new container instance. */ @CanIgnoreReturnValue protected C resetContainer() { return resetContainer(getSubjectGenerator().createTestSubject());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 8.8K bytes - Viewed (0) -
compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/VersionRangeTest.java
assertTrue(range.containsVersion(new DefaultArtifactVersion("1.1-SNAPSHOT"))); assertTrue(range.containsVersion(new DefaultArtifactVersion("1.2-SNAPSHOT"))); range = VersionRange.createFromVersionSpec("[1.0-SNAPSHOT,1.2]"); assertTrue(range.containsVersion(new DefaultArtifactVersion("1.0-SNAPSHOT"))); assertTrue(range.containsVersion(new DefaultArtifactVersion("1.1-SNAPSHOT"))); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 44.3K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/ExtensibleEnums.java
static Language language(String id) { return new DefaultLanguage(id); } static PathScope pathScope(String id, ProjectScope projectScope, DependencyScope... dependencyScopes) { return new DefaultPathScope(id, projectScope, dependencyScopes); } static ProjectScope projectScope(String id) { return new DefaultProjectScope(id); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Wed Jul 10 20:52:34 UTC 2024 - 3.2K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/UpgradePropertiesRulePostProcess.java
String formattedLeft = CollectionUtils.join("\n", keptAccessors.keySet()); throw new RuntimeException("The following accessors were upgraded, but didn't match any removed/changed method:\n\n" + formattedLeft); } // Find accessors that were removed but shouldn't be Map<AccessorKey, ReplacedAccessor> removedAccessors = new HashMap<>(oldAccessorsOfUpgradedProperties); removedAccessors.entrySet().removeIf(e -> {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Mon Aug 19 15:30:48 UTC 2024 - 3.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/dataconfig/ApiAdminDataconfigAction.java
throwValidationErrorApi(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, id)); }); return asJson(new ApiResponse().status(Status.OK).result()); } protected EditBody createEditBody(final DataConfig entity) { final EditBody body = new EditBody(); copyBeanToBean(entity, body, copyOp -> { copyOp.excludeNull();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 7K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java
assertEquals(HASH_FN.newHasher().putUnencodedChars(s).hash(), HASH_FN.hashUnencodedChars(s)); } } public void testUtf8() { char[] charsA = new char[128]; char[] charsB = new char[128]; for (int i = 0; i < charsA.length; i++) { if (i < 100) { charsA[i] = 'a'; charsB[i] = 'a'; } else {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 6.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/Interners.java
public <E> Interner<E> build() { if (!strong) { mapMaker.weakKeys(); } return new InternerImpl<>(mapMaker); } } /** Returns a fresh {@link InternerBuilder} instance. */ public static InternerBuilder newBuilder() { return new InternerBuilder(); } /** * Returns a new thread-safe interner which retains a strong reference to each instance it has
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Mar 13 14:30:51 UTC 2023 - 5.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/api/BaseApiManager.java
response.setContentType(buf.toString()); writeHeaders(response); try (PrintWriter out = new PrintWriter(new OutputStreamWriter(response.getOutputStream(), enc))) { out.print(text); } catch (final IOException e) { throw new IORuntimeException(e); } } protected abstract void writeHeaders(final HttpServletResponse response);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 4.3K bytes - Viewed (0)