Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 391 - 400 of 939 for Executes (0.05 seconds)

  1. src/test/java/jcifs/internal/fscc/FsctlPipeWaitRequestTest.java

            FsctlPipeWaitRequest request = new FsctlPipeWaitRequest(pipeName);
            byte[] nameBytes = pipeName.getBytes(StandardCharsets.UTF_16LE);
            byte[] buffer = new byte[100];
    
            // Execute
            int bytesEncoded = request.encode(buffer, 0);
    
            // Verify
            assertEquals(14 + nameBytes.length, bytesEncoded);
    
            // Check timeout (should be 0)
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  2. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.cache-miss-monitor.gradle.kts

    import java.io.Serializable
    import java.util.concurrent.atomic.AtomicBoolean
    
    /**
     * Register a build service that monitors a list of tasks and reports CACHE_MISS if they're actually executed.
     */
    if (buildCacheEnabled()) {
        registerBuildScanInfoCollectingService(CacheMissMonitorBuildService::class.java, ::isCacheMissMonitoredTask) { gradleRootProject, cacheMissInBuildLogic, cacheMissInMainBuild ->
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Apr 11 20:57:49 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  3. 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();
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/plugin/DefaultBuildPluginManager.java

            MojoWrapper(org.apache.maven.api.plugin.Mojo mojoV4) {
                this.mojoV4 = mojoV4;
            }
    
            @Override
            public void execute() throws MojoExecutionException {
                try {
                    mojoV4.execute();
                } catch (RuntimeException e) {
                    throw e;
                } catch (Exception e) {
                    throw new MojoExecutionException(e);
                }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 16:01:38 GMT 2025
    - 11.5K bytes
    - Click Count (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);
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun May 22 01:29:42 GMT 2016
    - 2.4K bytes
    - Click Count (0)
  6. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/lifecycle/Execution.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.plugin.lifecycle;
    
    /**
     * A set of goals to execute.
     *
     * @version $Revision$ $Date$
     */
    @SuppressWarnings("all")
    public class Execution implements java.io.Serializable {
    
        // --------------------------/
        // - Class/Member Variables -/
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/query/BooleanQueryCommand.java

        @Override
        protected String getQueryClassName() {
            return BooleanQuery.class.getSimpleName();
        }
    
        @Override
        public QueryBuilder execute(final QueryContext context, final Query query, final float boost) {
            if (query instanceof final BooleanQuery booleanQuery) {
                if (logger.isDebugEnabled()) {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/helper/NotificationHelper.java

            StreamUtil.split(slackWebhookUrls, "[,\\s]").of(stream -> stream.filter(StringUtil::isNotBlank).forEach(url -> {
                try (CurlResponse response = Curl.post(url).header("Content-Type", "application/json").body(body).execute()) {
                    if (response.getHttpStatusCode() == 200) {
                        if (logger.isDebugEnabled()) {
                            logger.debug("Sent {} to {}.", body, url);
                        }
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/CacheCorruptionTest.kt

            .build()
        val request = Request(server.url("/"))
        val response1: Response = client.newCall(request).execute()
        val bodySource = response1.body.source()
        assertThat(bodySource.readUtf8()).isEqualTo("ABC.1")
    
        corruptor()
    
        return client.newCall(request).execute()
      }
    
      /**
       * @param delta the offset from the current date to use. Negative values yield dates in the past;
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Jun 18 12:28:21 GMT 2025
    - 6K bytes
    - Click Count (0)
  10. samples/crawler/src/main/java/okhttp3/sample/Crawler.java

      }
    
      private void parallelDrainQueue(int threadCount) {
        ExecutorService executor = Executors.newFixedThreadPool(threadCount);
        for (int i = 0; i < threadCount; i++) {
          executor.execute(() -> {
            try {
              drainQueue();
            } catch (Throwable e) {
              e.printStackTrace();
            }
          });
        }
        executor.shutdown();
      }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Jul 23 00:58:06 GMT 2025
    - 5K bytes
    - Click Count (0)
Back to Top