Search Options

Results per page
Sort
Preferred Languages
Advance

Results 421 - 430 of 1,836 for result (0.12 sec)

  1. guava-tests/test/com/google/common/util/concurrent/FakeTimeLimiterTest.java

        super.setUp();
        timeLimiter = new FakeTimeLimiter();
      }
    
      public void testCallWithTimeout_propagatesReturnValue() throws Exception {
        String result =
            timeLimiter.callWithTimeout(Callables.returning(RETURN_VALUE), DELAY_MS, MILLISECONDS);
    
        assertThat(result).isEqualTo(RETURN_VALUE);
      }
    
      public void testCallWithTimeout_wrapsCheckedException() throws Exception {
        Exception exception = new SampleCheckedException();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/BaseMavenParser.java

            ArrayList<O> result = new ArrayList<>();
            // CLI args
            result.add(parseMavenCliOptions(context.parserRequest.args()));
            // maven.config; if exists
            Path mavenConfig = context.rootDirectory != null ? context.rootDirectory.resolve(".mvn/maven.config") : null;
            if (mavenConfig != null && Files.isRegularFile(mavenConfig)) {
                result.add(parseMavenConfigOptions(mavenConfig));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/graph/GraphBuilder.java

    import org.apache.maven.execution.ProjectDependencyGraph;
    import org.apache.maven.model.building.Result;
    
    /**
     * Builds the {@link ProjectDependencyGraph inter-dependencies graph} between projects in the reactor.
     *
     * @since 3.0-alpha
     */
    public interface GraphBuilder {
        String HINT = "graphBuilder";
    
        Result<? extends ProjectDependencyGraph> build(MavenSession session);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilJvm.kt

        // Shared segments cannot be compacted so we'll get a long chain of short segments.
        val result = Buffer()
        while (!buffer.exhausted()) {
          val box = Buffer()
          box.write(buffer, 1)
          result.write(box.copy(), 1)
        }
        return result
      }
    
      tailrec fun File.isDescendentOf(directory: File): Boolean {
        val parentFile = parentFile ?: return false
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuilder.java

                        .build());
    
                return new DefaultSettingsBuildingResult(
                        new Settings(result.getEffectiveSettings()), convert(result.getProblems()));
            } catch (SettingsBuilderException e) {
                throw new SettingsBuildingException(convert(e.getProblems()));
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/Headers.kt

      /** Returns an immutable case-insensitive set of header names. */
      fun names(): Set<String> {
        val result = TreeSet(String.CASE_INSENSITIVE_ORDER)
        for (i in 0 until size) {
          result.add(name(i))
        }
        return Collections.unmodifiableSet(result)
      }
    
      /** Returns an immutable list of the header values for `name`. */
      fun values(name: String): List<String> = commonValues(name)
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/ByteStreams.java

        if (bufs.isEmpty()) {
          return new byte[0];
        }
        byte[] result = bufs.remove();
        if (result.length == totalLen) {
          return result;
        }
        int remaining = totalLen - result.length;
        result = Arrays.copyOf(result, totalLen);
        while (remaining > 0) {
          byte[] buf = bufs.remove();
          int bytesToCopy = min(remaining, buf.length);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/SetsFilterSortedSetTest.java

      @Override
      SortedSet<Integer> createUnfiltered(Iterable<Integer> contents) {
        final TreeSet<Integer> result = Sets.newTreeSet(contents);
        // we have to make the result not Navigable
        return new ForwardingSortedSet<Integer>() {
          @Override
          protected SortedSet<Integer> delegate() {
            return result;
          }
        };
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 16 21:55:55 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  9. android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

          if (aspect2 != other.aspect2) {
            return false;
          }
          return true;
        }
    
        @Override
        public int hashCode() {
          int result = 17;
          result = 37 * result + aspect1;
          result = 37 * result + aspect2;
          return result;
        }
      }
    
      /** Test class with invalid hashCode method. */
      private static class InvalidHashCodeObject {
        private int aspect1;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/pathmap/ApiAdminPathmapAction.java

                    new ApiResult.ApiConfigsResponse<EditBody>().settings(list.stream().map(this::createEditBody).collect(Collectors.toList()))
                            .total(pager.getAllRecordCount()).status(ApiResult.Status.OK).result());
        }
    
        // GET /api/admin/pathmap/setting/{id}
        @Execute
        public JsonResponse<ApiResult> get$setting(final String id) {
            return asJson(
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top