- Sort Score
- Result 10 results
- Languages All
Results 1281 - 1290 of 3,796 for get (0.06 sec)
-
compat/maven-compat/src/main/java/org/apache/maven/project/validation/ModelValidationResult.java
messages = new ArrayList<>(); } public int getMessageCount() { return messages.size(); } public String getMessage(int i) { return messages.get(i); } public List<String> getMessages() { return Collections.unmodifiableList(messages); } public void addMessage(String message) { messages.add(message); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectPlan.kt
Platform.get().getSelectedProtocol(sslSocket) } else { null } socket = sslSocket source = sslSocket.source().buffer() sink = sslSocket.sink().buffer() protocol = if (maybeProtocol != null) Protocol.get(maybeProtocol) else Protocol.HTTP_1_1 success = true } finally { Platform.get().afterHandshake(sslSocket) if (!success) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 18.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/SocketChannelTest.kt
server.enqueue(MockResponse(body = "abc")) @Suppress("HttpUrlsUsage") val url = if (socketMode is TlsInstance) { "https://$hostname:${server.port}/get" } else { "http://$hostname:${server.port}/get" } val request = Request.Builder() .url(url) .build() val promise = CompletableFuture<Response>()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 8K bytes - Viewed (0) -
mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockResponse.kt
private var trailersBuilder = Headers.Builder() @set:JvmName("headers") var headers: Headers get() = headersBuilder.build() set(value) { this.headersBuilder = value.newBuilder() } @set:JvmName("trailers") var trailers: Headers get() = trailersBuilder.build() set(value) { this.trailersBuilder = value.newBuilder() } private var body: Buffer? = null
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 7.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractListeningExecutorServiceTest.java
assertEquals("foo", callableFuture.get()); TestRunnable runnable2 = new TestRunnable(); ListenableFuture<Integer> runnableFuture2 = e.submit(runnable2, 3); assertThat(runnableFuture2).isInstanceOf(TrustedListenableFutureTask.class); assertTrue(runnableFuture2.isDone()); assertTrue(runnable2.run); assertEquals((Integer) 3, runnableFuture2.get()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/TransposedTableTest.java
original.put(1, "foo", 'a'); assertEquals((Character) 'a', transpose.get("foo", 1)); } public void testPutTransposeModifiesOriginal() { Table<Integer, String, Character> original = HashBasedTable.create(); Table<String, Integer, Character> transpose = transpose(original); transpose.put("foo", 1, 'a'); assertEquals((Character) 'a', original.get(1, "foo")); } public void testTransposedViews() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 2.8K bytes - Viewed (0) -
misc/go_android_exec/exitcode_test.go
func TestExitCodeFilter(t *testing.T) { // Write text to the filter one character at a time. var out strings.Builder f, exitStr := newExitCodeFilter(&out) // Embed a "fake" exit code in the middle to check that we don't get caught on it. pre := "abc" + exitStr + "123def" text := pre + exitStr + `1` for i := 0; i < len(text); i++ { _, err := f.Write([]byte{text[i]}) if err != nil { t.Fatal(err) } }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed May 03 14:54:58 UTC 2023 - 2.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/KuromojiService.java
} public OptionalEntity<KuromojiItem> getKuromojiItem(final String dictId, final long id) { return getKuromojiFile(dictId).map(file -> file.get(id).get()); } public void store(final String dictId, final KuromojiItem kuromojiItem) { getKuromojiFile(dictId).ifPresent(file -> { if (kuromojiItem.getId() == 0) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/TestTls13Request.kt
.connectionSpecs(listOf(*specs)) .build() } private fun sendRequest( client: OkHttpClient, url: String, ) { System.out.printf("%-40s ", url) System.out.flush() println(Platform.get()) val request = Request.Builder() .url(url) .build() try { client.newCall(request).execute().use { response -> val handshake = response.handshake println(
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapKeySetTester.java
int key0Count = multimap().get(k0()).size(); assertEquals(key0Count > 0, multimap().keySet().remove(k0())); assertEquals(getNumElements() - key0Count, multimap().size()); assertGet(k0()); } @CollectionSize.Require(absent = ZERO) @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE) public void testKeySetIteratorRemove() { int key0Count = multimap().get(k0()).size();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 3K bytes - Viewed (0)