- Sort Score
- Num 10 results
- Language All
Results 401 - 410 of 1,111 for main (0.12 seconds)
-
impl/maven-core/src/test/projects/plugin-manager/project-with-plugin-classpath-ordering/sub/repo/org/apache/maven/its/mng3906/a/0.2/a-0.2.pom
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.6K bytes - Click Count (0) -
docs_src/app_testing/app_b_an_py39/test_main.py
from fastapi.testclient import TestClient from .main import app client = TestClient(app) def test_read_item(): response = client.get("/items/foo", headers={"X-Token": "coneofsilence"}) assert response.status_code == 200 assert response.json() == { "id": "foo", "title": "Foo", "description": "There goes my hero", } def test_read_item_bad_token():
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Thu Aug 15 22:31:16 GMT 2024 - 1.8K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/ExternalHttp2Example.kt
* limitations under the License. */ package okhttp3.internal.http import okhttp3.OkHttpClient import okhttp3.Protocol import okhttp3.Request object ExternalHttp2Example { @JvmStatic fun main(args: Array<String>) { val client = OkHttpClient .Builder() .protocols(listOf(Protocol.HTTP_2, Protocol.HTTP_1_1)) .build() val call = client.newCall( RequestCreated: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 1.4K bytes - Click Count (0) -
compat/maven-resolver-provider/src/site/apt/index.apt
----- 2012-09-29 ----- Maven Artifact Resolver Provider Maven Artifact Resolver Provider is a {{{/resolver/}Maven Artifact Resolver}} extension to support Maven POMs and local+remote repositories. Main component is <<<MavenRepositorySystemUtils>>> ({{{./apidocs/org/apache/maven/repository/internal/MavenRepositorySystemUtils.html}javadoc}}, {{{./xref/org/apache/maven/repository/internal/MavenRepositorySystemUtils.html}source}}).Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.3K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/cisupport/CIDetectorHelperRunner.java
*/ package org.apache.maven.cling.invoker.cisupport; import java.util.List; import org.apache.maven.api.cli.cisupport.CIInfo; public class CIDetectorHelperRunner { public static void main(String[] args) { List<CIInfo> detect = CIDetectorHelper.detectCI(); if (detect.isEmpty()) { System.out.print("NONE;"); } else {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sun Apr 13 18:50:07 GMT 2025 - 1.3K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/Maven.java
* under the License. */ package org.apache.maven; import org.apache.maven.execution.MavenExecutionRequest; import org.apache.maven.execution.MavenExecutionResult; /** * The main Maven execution entry point, which will execute a full Maven execution session. * * @see org.apache.maven.execution.MavenSession */ public interface Maven { @DeprecatedCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.3K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/PostFile.kt
println(response.body.string()) } } companion object { val MEDIA_TYPE_MARKDOWN = "text/x-markdown; charset=utf-8".toMediaType() } } fun main() { PostFile().run()Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.4K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/RequestBodyCompression.java
if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); System.out.println(response.body().string()); } } public static void main(String... args) throws Exception { new RequestBodyCompression().run(); } /** This interceptor compresses the HTTP request body. Many webservers can't handle this! */
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Jun 04 17:43:43 GMT 2025 - 3.1K bytes - Click Count (0) -
tensorflow/c/c_test.c
TF_Tensor* input; TF_Status* s = TF_NewStatus(); TF_GetInput(ctx, 0, &input, s); TF_DeleteTensor(input); TF_DeleteStatus(s); } // Exercises tensorflow's C API. int main(int argc, char** argv) { TF_InitMain(argv[0], &argc, &argv); struct TF_StringStream* s = TF_GetLocalTempDirectories(); const char* path; if (!TF_StringStreamNext(s, &path)) {
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Wed Apr 24 20:50:35 GMT 2024 - 2.8K bytes - Click Count (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/SourceRootTest.java
return null; // Not used for this test. } @Test void testDirectory() { assertEquals(Path.of("src", "main", "java"), directory()); scope = ProjectScope.TEST; assertEquals(Path.of("src", "test", "java"), directory()); moduleName = "org.foo";Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sun Oct 26 17:22:14 GMT 2025 - 2.9K bytes - Click Count (0)