- Sort Score
- Result 10 results
- Languages All
Results 2481 - 2490 of 3,796 for get (0.03 sec)
-
okhttp-android/src/main/kotlin/okhttp3/android/AndroidAsyncDns.kt
import okhttp3.ExperimentalOkHttpApi /** * DNS implementation based on android.net.DnsResolver, which submits a request for * A or AAAA records, and returns the addresses or exception. * * Two instances must be used to get all results for an address. * * @param network network to use, if not selects the default network. */ @RequiresApi(Build.VERSION_CODES.Q) @ExperimentalOkHttpApi class AndroidAsyncDns(
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 01 10:07:48 UTC 2024 - 2.8K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/TestLogHandlerTest.java
} }); } public void test() throws Exception { assertTrue(handler.getStoredLogRecords().isEmpty()); ExampleClassUnderTest.foo(); LogRecord record = handler.getStoredLogRecords().get(0); assertEquals(Level.INFO, record.getLevel()); assertEquals("message", record.getMessage()); assertSame(EXCEPTION, record.getThrown()); } public void testConcurrentModification() throws Exception {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 2.8K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/collect/StreamsBenchmark.java
}; abstract Object operate(Stream<?> stream); } @Param private Operation operation; Collection<Object> collection; @BeforeExperiment void setUp() { collection = source.supplier.get(); for (int i = 0; i < size; i++) { collection.add(new Object()); } } @Benchmark int runOperation(int reps) { int result = 0; for (int i = 0; i < reps; i++) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 20:24:49 UTC 2024 - 2.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SecurityBlob.java
SecurityBlob () {} SecurityBlob ( byte[] b ) { set(b); } void set ( byte[] b ) { this.b = b == null ? new byte[0] : b; } byte[] get () { return this.b; } int length () { if ( this.b == null ) return 0; return this.b.length; } /* * (non-Javadoc) *
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 2.5K bytes - Viewed (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/lifecycle/Execution.java
/** * Method addGoal. * * @param string a string object. */ public void addGoal(String string) { getGoals().add(string); } // -- void addGoal( String ) /** * Get configuration to pass to the goals. * * @return Object */ public Object getConfiguration() { return this.configuration; } // -- Object getConfiguration() /**
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.7K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/building/FileToRawModelMergerTest.java
String entity = baseName.substring(baseName.indexOf('_') + 1); try { Type returnType = m.getParameterTypes()[0] .getMethod("get" + entity) .getGenericReturnType(); if (returnType instanceof ParameterizedType) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.7K bytes - Viewed (0) -
tests/test_tutorial/test_response_model/test_tutorial003_01_py310.py
"username": "foo", "email": "******@****.***", "full_name": "Grave Dohl", } @needs_py310 def test_openapi_schema(client: TestClient): response = client.get("/openapi.json") assert response.status_code == 200, response.text assert response.json() == { "openapi": "3.1.0", "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": {
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Aug 04 20:47:07 UTC 2023 - 5.8K bytes - Viewed (0) -
tests/test_tutorial/test_request_files/test_tutorial001_03_an_py39.py
assert response.status_code == 200, response.text assert response.json() == {"filename": "test.txt"} @needs_py39 def test_openapi_schema(client: TestClient): response = client.get("/openapi.json") assert response.status_code == 200, response.text assert response.json() == { "openapi": "3.1.0", "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": {
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 6.2K bytes - Viewed (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/AbstractBuildScanInfoCollectingService.kt
if (shouldInclude(taskPath)) { action(taskPath, event.result) } } protected open fun shouldInclude(taskPath: String): Boolean = parameters.monitoredTaskPaths.get().contains(taskPath) abstract fun action(taskPath: String, taskResult: TaskOperationResult)
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Aug 11 07:01:27 UTC 2022 - 2.3K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java
LocalRepository localRepo = new LocalRepository(localRepoDir, "simple"); RepositorySystemSession session = new MavenSessionBuilderSupplier(repositorySystem) .get() .withLocalRepositories(localRepo) .build(); projectBuildingRequest.setRepositorySession(session); DefaultSessionFactory defaultSessionFactory =
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 12.1K bytes - Viewed (0)