Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 3,482 for patch (0.03 sec)

  1. src/main/java/org/codelibs/fess/suggest/concurrent/Deferred.java

                }
            }
            if (executeCallbacks.size() > 0) {
                try {
                    executeCallbacks.stream().forEach(callback -> callback.accept(response));
                } catch (final Exception ignore) {}
            }
            latch.countDown();
        }
    
        public void reject(final Throwable t) {
            final ArrayList<Consumer<Throwable>> executeCallbacks;
            synchronized (Deferred.this) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/io/FileUtil.java

            }
        }
    
        /**
         * デフォルトエンコーディングでファイルからテキストを読み込みます。
         *
         * @param path
         *            ファイルのパス。{@literal null}や空文字列であってはいけません
         * @return 読み込んだテキスト
         */
        public static String readText(final String path) {
            assertArgumentNotEmpty("path", path);
            return readText(path, Charset.defaultCharset().name());
        }
    
        /**
         * デフォルトエンコーディングでファイルからテキストを読み込みます。
         *
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 9K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

        )
        server.enqueue(MockResponse(body = "ABC"))
        val latch = CountDownLatch(1)
        val responses: BlockingQueue<String?> = SynchronousQueue()
        val authenticator =
          okhttp3.Authenticator { route: Route?, response: Response? ->
            responses.offer(response!!.body.string())
            try {
              latch.await()
            } catch (e: InterruptedException) {
              throw AssertionError()
            }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/io/DefaultModelReader.java

            return read(input.toPath(), options);
        }
    
        @Override
        public Model read(Path path, Map<String, ?> options) throws IOException {
            Objects.requireNonNull(path, "path cannot be null");
    
            try (InputStream in = Files.newInputStream(path)) {
                Model model = read(in, path, options);
    
                model.setPomPath(path);
    
                return model;
            }
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/suggest/concurrent/DeferredTest.java

                try {
                    Thread.sleep(1000);
                } catch (InterruptedException ignore) {}
                deferred.resolve(new SuggestResponse("", 0, Collections.emptyList(), 0, null));
            });
            th.start();
    
            final CountDownLatch latch = new CountDownLatch(1);
            deferred.promise().then(response -> latch.countDown());
            assertTrue(latch.await(10, TimeUnit.SECONDS));
        }
    
        @Test
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/esreq/AdminEsreqAction.java

            }
    
            final String path;
            if (values[1].startsWith("/")) {
                path = values[1];
            } else {
                path = "/" + values[1];
            }
    
            final CurlHelper curlHelper = ComponentUtil.getCurlHelper();
            switch (values[0].toUpperCase(Locale.ROOT)) {
            case "GET":
                return curlHelper.get(path);
            case "POST":
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  7. docs/batch-jobs/README.md

    ## Batch Jobs via Commandline
    [mc](http://github.com/minio/mc) provides 'mc batch' command to create, start and manage submitted jobs.
    
    ```
    NAME:
      mc batch - manage batch jobs
    
    USAGE:
      mc batch COMMAND [COMMAND FLAGS | -h] [ARGUMENTS...]
    
    COMMANDS:
      generate  generate a new batch job definition
      start     start a new batch job
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 06 06:00:43 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java

                        itemList.add(item);
                    }
                }
                kuromojiItemList = itemList;
            } catch (final IOException e) {
                throw new DictionaryException("Failed to parse " + path, e);
            }
        }
    
        public String getSimpleName() {
            return new File(path).getName();
        }
    
        public synchronized void update(final InputStream in) throws IOException {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  9. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenMetadata.java

            this.timestamp = timestamp;
        }
    
        @Override
        public String getType() {
            return MAVEN_METADATA_XML;
        }
    
        @Deprecated
        @Override
        public File getFile() {
            return path != null ? path.toFile() : null;
        }
    
        @Override
        public Path getPath() {
            return path;
        }
    
        public void merge(File existing, File result) throws RepositoryException {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java

                        itemList.add(item);
                    }
                }
                mappingItemList = itemList;
            } catch (final IOException e) {
                throw new DictionaryException("Failed to parse " + path, e);
            }
        }
    
        public String getSimpleName() {
            return new File(path).getName();
        }
    
        public synchronized void update(final InputStream in) throws IOException {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top