- Sort Score
- Result 10 results
- Languages All
Results 1421 - 1430 of 1,682 for GoString (0.06 sec)
-
okhttp/src/test/java/okhttp3/CookiesTest.kt
val cookie = HttpCookie("c", "cookie") cookie.domain = redirectSourceUrl.host cookie.path = "/" val portList = redirectSource.port.toString() cookie.portlist = portList cookieManager.cookieStore.add(redirectSourceUrl.toUri(), cookie) client = client.newBuilder() .cookieJar(JavaNetCookieJar(cookieManager)) .build()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 13K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/ResponseBodyJvmTest.kt
val builder = StringBuilder() val buf = CharArray(10) var read: Int while (reader.read(buf).also { read = it } != -1) { builder.appendRange(buf, 0, read) } return builder.toString() } }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon May 13 13:42:37 UTC 2024 - 13K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/eventbus/EventBusTest.java
catcher.getEvents()); } } public void testToString() throws Exception { EventBus eventBus = new EventBus("a b ; - \" < > / \\ €"); assertEquals("EventBus{a b ; - \" < > / \\ €}", eventBus.toString()); } /** * Tests that bridge methods are not subscribed to events. In Java 8, annotations are included on * the bridge method in addition to the original method, which causes both the original and bridge
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 15:16:45 UTC 2024 - 11.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt
} catch (_: IOException) { false } internal fun Socket.peerName(): String { val address = remoteSocketAddress return if (address is InetSocketAddress) address.hostName else address.toString() } /** * Returns true if new reads and writes should be attempted on this. * * Unfortunately Java's networking APIs don't offer a good health check, so we go on our own by
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon May 13 13:42:37 UTC 2024 - 10.7K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/AbstractStringBasedModelInterpolator.java
public Object getValue(String expression) { if ("basedir".equals(expression)) { return projectDir.toAbsolutePath().toString(); } else if (expression.startsWith("basedir.")) { Path basedir = projectDir.toAbsolutePath(); return new ObjectBasedValueSource(basedir)
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 10.6K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/relocation/UserPropertiesArtifactRelocationSource.java
this.predicate = artifactPredicate(source); this.global = global; this.source = source; this.target = target; } @Override public String toString() { return source + (global ? " >> " : " > ") + target; } } private static class Relocations { private final List<Relocation> relocations;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 9.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/user/bsbhv/BsGroupBhv.java
try { final RESULT result = entityType.newInstance(); result.setGidNumber(DfTypeUtil.toLong(source.get("gidNumber"))); result.setName(DfTypeUtil.toString(source.get("name"))); return updateEntity(source, result); } catch (InstantiationException | IllegalAccessException e) { final String msg = "Cannot create a new instance: " + entityType.getName();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 8.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/AbstractTableReadTest.java
+ Objects.hashCode("foo", 3, 'c'); assertEquals(expected, table.hashCode()); } public void testToStringSize1() { table = create("foo", 1, 'a'); assertEquals("{foo={1=a}}", table.toString()); } public void testRow() { table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); assertEquals(ImmutableMap.of(1, 'a', 3, 'c'), table.row("foo")); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 6.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/Helpers.java
} public static void assertEqualIgnoringOrder(Iterable<?> expected, Iterable<?> actual) { List<?> exp = copyToList(expected); List<?> act = copyToList(actual); String actString = act.toString(); // Of course we could take pains to give the complete description of the // problem on any failure. // Yeah it's n^2. for (Object object : exp) { if (!act.remove(object)) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 17.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java
this.value = value; } @Override public int compareTo(IntegerDiv10 o) { return value / 10 - o.value / 10; } @Override public String toString() { return Integer.toString(value); } } public void testCopyOfDuplicateInconsistentWithEquals() { IntegerDiv10 three = new IntegerDiv10(3); IntegerDiv10 eleven = new IntegerDiv10(11);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 22.7K bytes - Viewed (0)