Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 645 for Execute (0.06 seconds)

  1. docs/recipes.md

          private val client = OkHttpClient()
    
          fun run() {
            val request = Request.Builder()
                .url("https://publicobject.com/helloworld.txt")
                .build()
    
            client.newCall(request).execute().use { response ->
              if (!response.isSuccessful) throw IOException("Unexpected code $response")
    
              for ((name, value) in response.headers) {
                println("$name: $value")
              }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Aug 30 17:01:12 GMT 2025
    - 47.8K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/ServerTruncatesRequestTest.kt

        val callB = client.newCall(Request(server.url("/")))
        callB.execute().use { response ->
          assertThat(response.body.string()).isEqualTo("abc")
        }
      }
    
      private fun makeSimpleCall() {
        server.enqueue(MockResponse(body = "healthy"))
        val callB = client.newCall(Request(server.url("/")))
        callB.execute().use { response ->
          assertThat(response.body.string()).isEqualTo("healthy")
        }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  3. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/HelpTest.java

            int result = help.execute(context);
    
            assertEquals(0, result, "Help goal should return 0 (success)");
        }
    
        @Test
        void testHelpExecuteDoesNotThrow() throws Exception {
            UpgradeContext context = createMockContext();
    
            // Should not throw any exceptions
            assertDoesNotThrow(() -> help.execute(context));
        }
    
        @Test
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Aug 29 12:46:51 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  4. docs/ru/docs/advanced/settings.md

        rect rgba(0, 255, 0, .1)
            code ->> function: say_hi(name="Rick")
            function ->> execute: execute function code
            execute ->> code: return the result
        end
    
        rect rgba(0, 255, 0, .1)
            code ->> function: say_hi(name="Rick", salutation="Mr.")
            function ->> execute: execute function code
            execute ->> code: return the result
        end
    
        rect rgba(0, 255, 255, .1)
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 18.3K bytes
    - Click Count (0)
  5. SECURITY.md

    programs that TensorFlow executes. TensorFlow programs are encoded as
    computation
    [**graphs**](https://developers.google.com/machine-learning/glossary/#graph).
    Since models are practically programs that TensorFlow executes, using untrusted
    models or graphs is equivalent to running untrusted code.
    
    If you need to run untrusted models, execute them inside a
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Wed Oct 16 16:10:43 GMT 2024
    - 9.6K bytes
    - Click Count (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleDocumentationExtension.java

        }
    
        public void releaseNotes(Action<? super ReleaseNotes> action) {
            action.execute(releaseNotes);
        }
    
        public UserManual getUserManual() {
            return userManual;
        }
    
        public void userManual(Action<? super UserManual> action) {
            action.execute(userManual);
        }
    
        public DslReference getDslReference() {
            return dslReference;
        }
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Aug 20 14:11:17 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

          }
        }
      }
    
      /**
       * Returns an immediately-executable task for the calling thread to execute, sleeping as necessary
       * until one is ready. If there are no ready queues, or if other threads have everything under
       * control this will return null. If there is more than a single task ready to execute immediately
       * this will start another thread to handle that work.
       */
      fun awaitTaskToRun(): Task? {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Aug 30 11:30:11 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  8. compat/maven-embedder/src/test/java/org/apache/maven/cli/event/ExecutionEventLoggerTest.java

            when(session.getTopLevelProject()).thenReturn(rootProject);
            when(session.getTopDirectory()).thenReturn(basedir.toPath());
            when(event.getSession()).thenReturn(session);
    
            // execute
            executionEventLogger.projectStarted(event);
    
            // verify
            InOrder inOrder = inOrder(logger);
            inOrder.verify(logger).info("");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Dec 01 19:41:22 GMT 2024
    - 12.3K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoExecutor.java

        }
    
        public void execute(final MavenSession session, final List<MojoExecution> mojoExecutions)
                throws LifecycleExecutionException {
    
            final DependencyContext dependencyContext = newDependencyContext(session, mojoExecutions);
    
            final PhaseRecorder phaseRecorder = new PhaseRecorder(session.getCurrentProject());
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jun 12 14:55:55 GMT 2025
    - 21K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/util/concurrent/ListenableFutureTask.java

       * Callable}.
       *
       * @param callable the callable task
       * @since 10.0
       */
      public static <V extends @Nullable Object> ListenableFutureTask<V> create(Callable<V> callable) {
        return new ListenableFutureTask<>(callable);
      }
    
      /**
       * Creates a {@code ListenableFutureTask} that will upon running, execute the given {@code
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 4.2K bytes
    - Click Count (0)
Back to Top