- Sort Score
- Num 10 results
- Language All
Results 4001 - 4010 of 5,573 for string (0.09 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
okhttp/src/jvmTest/kotlin/okhttp3/HeadersTest.kt
val headers = mapOf("User-Agent" to " OkHttp ").toHeaders() assertThat(headers.value(0)).isEqualTo("OkHttp") } @Test fun ofMapMakesDefensiveCopy() { val namesAndValues = mutableMapOf<String, String>() namesAndValues["User-Agent"] = "OkHttp" val headers = namesAndValues.toHeaders() namesAndValues["User-Agent"] = "Chrome" assertThat(headers.value(0)).isEqualTo("OkHttp") }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 8.7K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java
new DefaultArtifactResolver(), new DefaultRequestCacheFactory(), new ArtifactManager() { private final Map<String, Path> paths = new ConcurrentHashMap<>(); @Override public Optional<Path> getPath(org.apache.maven.api.Artifact artifact) {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Dec 16 13:41:14 GMT 2025 - 11.1K bytes - Click Count (0) -
docs/extensions/fan-out/README.md
``` PutObjectFanOut(ctx context.Context, bucket string, fanOutContent io.Reader, fanOutReq minio.PutObjectFanOutRequest) ([]minio.PutObjectFanOutResponse, error)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu May 25 05:51:07 GMT 2023 - 1.4K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/InternalClusterTestPlugin.java
import org.gradle.api.tasks.SourceSet; import org.gradle.api.tasks.TaskProvider; import org.gradle.api.tasks.testing.Test; public class InternalClusterTestPlugin implements Plugin<Project> { public static final String SOURCE_SET_NAME = "internalClusterTest"; @Override public void apply(Project project) { TaskProvider<Test> internalClusterTest = GradleUtils.addTestSourceSet(project, SOURCE_SET_NAME);
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Wed Jun 02 23:12:29 GMT 2021 - 1.8K bytes - Click Count (0) -
tests/test_openapi_schema_type.py
import pytest from fastapi.openapi.models import Schema, SchemaType @pytest.mark.parametrize( "type_value", [ "array", ["string", "null"], None, ], ) def test_allowed_schema_type( type_value: SchemaType | list[SchemaType] | None, ) -> None: """Test that Schema accepts SchemaType, List[SchemaType] and None for type field.""" schema = Schema(type=type_value)
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 685 bytes - Click Count (0) -
docs_src/query_params_str_validations/tutorial007_an_py310.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Mar 26 16:56:53 GMT 2024 - 337 bytes - Click Count (0) -
tensorflow/c/c_api.h
// keep. // `value` must point to a string of length `length` bytes. TF_CAPI_EXPORT extern void TF_SetAttrString(TF_OperationDescription* desc, const char* attr_name, const void* value, size_t length); // `values` and `lengths` each must have lengths `num_values`. // `values[i]` must point to a string of length `lengths[i]` bytes.
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Oct 26 21:08:15 GMT 2023 - 82.3K bytes - Click Count (0) -
cmd/http-tracer_test.go
import ( "sync" "testing" "time" xhttp "github.com/minio/minio/internal/http" ) // Test redactLDAPPwd() func TestRedactLDAPPwd(t *testing.T) { testCases := []struct { query string expectedQuery string }{ {"", ""}, { "?Action=AssumeRoleWithLDAPIdentity&LDAPUsername=myusername&LDAPPassword=can+youreadthis%3F&Version=2011-06-15",
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 5.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/mail/CrawlerPostcardTest.java
assertEquals(1, 1); } // Test placeholder for future implementation @Test public void test_placeholder() { // This test verifies the test class can be instantiated and run String testValue = "test"; assertNotNull(testValue); assertEquals("test", testValue); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 1.6K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/internal/http/RecordingProxySelector.kt
import java.net.URI import okhttp3.internal.format class RecordingProxySelector : ProxySelector() { @JvmField val proxies = mutableListOf<Proxy>() val requestedUris = mutableListOf<URI>() val failures = mutableListOf<String>() override fun select(uri: URI): List<Proxy> { requestedUris.add(uri) return proxies } fun assertRequests(vararg expectedUris: URI?) { assertThat(requestedUris).containsExactly(*expectedUris)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat May 10 11:15:14 GMT 2025 - 1.6K bytes - Click Count (0)