Search Options

Results per page
Sort
Preferred Languages
Advance

Results 501 - 510 of 1,046 for executeop (0.1 sec)

  1. samples/simple-client/src/main/java/okhttp3/sample/OkHttpContributors.java

        // Create request for remote resource.
        Request request = new Request.Builder()
            .url(ENDPOINT)
            .build();
    
        // Execute the request and retrieve the response.
        try (Response response = client.newCall(request).execute()) {
          // Deserialize HTTP response to concrete type.
          ResponseBody body = response.body();
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/OpenJSSETest.kt

      }
    
      @Test
      fun testTlsv13Works() {
        enableTls()
    
        server.enqueue(MockResponse(body = "abc"))
    
        val request = Request(server.url("/"))
    
        val response = client.newCall(request).execute()
    
        response.use {
          assertEquals(200, response.code)
          assertEquals(TlsVersion.TLS_1_3, response.handshake?.tlsVersion)
          assertEquals(Protocol.HTTP_2, response.protocol)
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  3. build-logic/documentation/src/test/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepositoryTest.groovy

            repository.put('class1', value1)
            repository.put('class2', value2)
            Action action = Mock()
    
            when:
            repository.each(action)
    
            then:
            1 * action.execute(value1)
            1 * action.execute(value2)
            0 * action._
        }
    
        def canPersistMetaData() {
            TestDomainObject value = new TestDomainObject('a')
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Apr 06 02:21:33 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api_internal.h

    // TODO(b/154564140): Move this to its own header. This requires splitting
    // c_api_experimental.h
    struct TFE_ContextOptions {
      TF_SessionOptions session_options;
      // true if async execution is enabled.
      bool async = false;
      TFE_ContextDevicePlacementPolicy device_placement_policy{
          TFE_DEVICE_PLACEMENT_SILENT};
      // If true, use TFRT backend
      bool use_tfrt = false;
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Jan 18 19:26:34 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  5. samples/guide/src/main/java/okhttp3/recipes/CacheResponse.java

        Request request = new Request.Builder()
            .url("http://publicobject.com/helloworld.txt")
            .build();
    
        String response1Body;
        try (Response response1 = client.newCall(request).execute()) {
          if (!response1.isSuccessful()) throw new IOException("Unexpected code " + response1);
    
          response1Body = response1.body().string();
          System.out.println("Response 1 response:          " + response1);
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun May 22 01:29:42 UTC 2016
    - 2.4K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/artifact/deployer/ArtifactDeployerTest.java

    import java.nio.file.Files;
    
    import org.apache.maven.artifact.AbstractArtifactComponentTestCase;
    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.artifact.repository.ArtifactRepository;
    import org.apache.maven.execution.MavenSession;
    import org.apache.maven.session.scope.internal.SessionScope;
    import org.junit.jupiter.api.Test;
    
    import static org.codehaus.plexus.testing.PlexusExtension.getBasedir;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  7. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/BuildScanInfoCollectingServices.kt

     * which collects necessary information for build scan.
     */
    fun <T : AbstractBuildScanInfoCollectingService> Project.registerBuildScanInfoCollectingService(
        /* the implementation class to collect information from task execution result */
        klass: Class<T>,
        /* which tasks we need to monitor? For example, cache-miss-monitor monitors `AbstractCompile` tasks */
        taskFilter: (Task) -> Boolean,
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Apr 24 03:34:53 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/DefaultEncryptInvoker.java

                header.add(asb.toAttributedString());
            }
        }
    
        public DefaultEncryptInvoker(ProtoLookup protoLookup) {
            super(protoLookup);
        }
    
        @Override
        protected int execute(LocalContext context) throws Exception {
            return doExecute(context);
        }
    
        @Override
        protected LocalContext createContext(EncryptInvokerRequest invokerRequest) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPackagingRegistry.java

                        }
                        execs.addAll(existing.getExecutions());
                        deps.addAll(existing.getDependencies());
                    }
    
                    PluginExecution execution = PluginExecution.newBuilder()
                            .id(getExecutionId(existing, goal))
                            .priority(i - mojos.size())
                            .phase(phase)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/plugin/internal/DefaultPluginManager.java

    import org.apache.maven.artifact.resolver.ArtifactResolutionException;
    import org.apache.maven.artifact.versioning.InvalidVersionSpecificationException;
    import org.apache.maven.execution.MavenSession;
    import org.apache.maven.model.Plugin;
    import org.apache.maven.plugin.InvalidPluginDescriptorException;
    import org.apache.maven.plugin.InvalidPluginException;
    import org.apache.maven.plugin.LegacySupport;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10K bytes
    - Viewed (0)
Back to top