- Sort Score
- Result 10 results
- Languages All
Results 1491 - 1500 of 3,243 for code (0.1 sec)
-
src/arena/arena_test.go
// Copyright 2022 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build goexperiment.arenas package arena_test import ( "arena" "testing" ) type T1 struct { n int } type T2 [1 << 20]byte // 1MiB func TestSmoke(t *testing.T) { a := arena.NewArena() defer a.Free() tt := arena.New[T1](a) tt.n = 1
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Oct 12 20:23:36 UTC 2022 - 742 bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java
super(config, command, subcommand); } // Expose errorCode setter for testing - access protected field directly public void setTestErrorCode(int code) { this.errorCode = code; } @Override protected int writeSetupWireFormat(byte[] dst, int dstIndex) { return setupWireFormatReturn; } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ConnectionReuseTest.kt
client = client .newBuilder() .connectionPool(ConnectionPool(0, 5, TimeUnit.SECONDS)) .build() server.enqueue( MockResponse( code = 301, headers = headersOf("Location", "/b"), body = "a", ), ) server.enqueue(MockResponse(body = "b")) val request = Request(server.url("/"))Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 12.2K bytes - Viewed (1) -
.github/ISSUE_TEMPLATE/flaking-test.yaml
id: jobs attributes: label: Which jobs are flaking? description: | Please only use this template for submitting reports about flaky tests or jobs (pass or fail with no underlying change in code) in Kubernetes CI. Links to go.k8s.io/triage and/or links to specific failures in spyglass are appreciated.Registered: Fri Sep 05 09:05:11 UTC 2025 - Last Modified: Tue Oct 05 16:55:38 UTC 2021 - 1.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/ExternalHttp2Example.kt
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.4K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/PostFile.kt
body = file.asRequestBody(MEDIA_TYPE_MARKDOWN), ) client.newCall(request).execute().use { response -> if (!response.isSuccessful) throw IOException("Unexpected code $response") println(response.body.string()) } } companion object { val MEDIA_TYPE_MARKDOWN = "text/x-markdown; charset=utf-8".toMediaType() } } fun main() { PostFile().run()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/IgnoreJRERequirement.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 02 18:21:28 UTC 2025 - 1.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableCollectionTest.java
* limitations under the License. */ package com.google.common.collect; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Tests for {@code ImmutableCollection}. * * @author Louis Wasserman */ @NullUnmarked public class ImmutableCollectionTest extends TestCase { public void testCapacityExpansion() {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 1.5K bytes - Viewed (0) -
docs/en/docs/tutorial/security/first-steps.md
Let's use the tools provided by **FastAPI** to handle security. ## How it looks { #how-it-looks } Let's first just use the code and see how it works, and then we'll come back to understand what's happening. ## Create `main.py` { #create-main-py } Copy the example in a file `main.py`: {* ../../docs_src/security/tutorial001_an_py39.py *} ## Run it { #run-it }Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 8.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/escape/testing/package-info.java
* See the License for the specific language governing permissions and * limitations under the License. */ /** * Testing utilities for use in tests of {@code com.google.common.escape}. * * <p>This package is a part of the open-source <a href="https://github.com/google/guava">Guava</a> * library. */ @CheckReturnValue package com.google.common.escape.testing;Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jun 15 21:41:47 UTC 2023 - 920 bytes - Viewed (0)