Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 361 - 370 of 2,329 for Result (0.14 seconds)

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

      public void testInvokeAll() throws Exception {
        Set<Callable<String>> tasks = Collections.singleton(() -> "invokeAll");
    
        List<Future<String>> result = executorService.invokeAll(tasks, Duration.ofDays(365));
    
        assertThat(result).hasSize(1);
        assertThat(Futures.getDone(result.get(0))).isEqualTo("invokeAll");
        assertThat(recordedTasks).isSameInstanceAs(tasks);
        assertThat(recordedTimeUnit).isEqualTo(NANOSECONDS);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeResult.java

        }
    
        /**
         * Creates an empty result (no POMs processed).
         */
        public static UpgradeResult empty() {
            return new UpgradeResult(Collections.emptySet(), Collections.emptySet(), Collections.emptySet());
        }
    
        /**
         * Merges this result with another result, combining the sets of POMs.
         * This allows proper aggregation of results from multiple strategies without double-counting.
         */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  3. src/main/java/jcifs/dcerpc/DcerpcBind.java

        private static String getResultMessage(final int result) {
            return result < 4 ? result_message[result] : "0x" + jcifs.util.Hexdump.toHexString(result, 4);
        }
    
        @Override
        public DcerpcException getResult() {
            if (this.result != 0) {
                return new DcerpcException(getResultMessage(this.result));
            }
            return null;
        }
    
        private DcerpcBinding binding;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java

            File file = new File(getRepository().getBasedir(), path);
    
            LocalArtifactResult result = new LocalArtifactResult(request);
            if (file.isFile()) {
                result.setFile(file);
                result.setAvailable(true);
            }
    
            return result;
        }
    
        @Override
        public LocalMetadataResult find(RepositorySystemSession session, LocalMetadataRequest request) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

      public final String toString() {
        Runnable state = get();
        String result;
        if (state == DONE) {
          result = "running=[DONE]";
        } else if (state instanceof Blocker) {
          result = "running=[INTERRUPTED]";
        } else if (state instanceof Thread) {
          // getName is final on Thread, no need to worry about exceptions
          result = "running=[RUNNING ON " + ((Thread) state).getName() + "]";
        } else {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jan 28 22:39:02 GMT 2026
    - 10K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuilder.java

         * @param result The interim result of the first phase of model building, must not be {@code null}.
         * @return The result of the model building, never {@code null}.
         * @throws ModelBuildingException If the effective model could not be built.
         */
        ModelBuildingResult build(ModelBuildingRequest request, ModelBuildingResult result) throws ModelBuildingException;
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb1/smb1/SmbComNegotiateTest.java

            int result = smbComNegotiate.readBytesWireFormat(buffer, bufferIndex);
            assertEquals(0, result, "readBytesWireFormat should return 0.");
        }
    
        /**
         * Test the toString method.
         * It should return a string representation of the SmbComNegotiate object.
         */
        @Test
        void testToString() {
            String result = smbComNegotiate.toString();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4K bytes
    - Click Count (0)
  8. build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/doc/SnippetsTask.groovy

            @Override
            public String toString() {
                String result = "$path[$start:$end]"
                if (language != null) {
                    result += "($language)"
                }
                if (console != null) {
                    result += console ? '// CONSOLE' : '// NOTCONSOLE'
                }
                if (test) {
                    result += '// TEST'
                    if (testEnv != null) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 20 10:08:26 GMT 2021
    - 17.8K bytes
    - Click Count (0)
  9. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt

              current.mappedTo,
            )
        } else {
          result += current
          current = if (i.hasNext()) i.next() else break
        }
      }
    
      return result
    }
    
    /** Returns a copy of [mappings] with adjacent ranges merged wherever possible. */
    internal fun mergeAdjacentRanges(mappings: List<Mapping>): List<Mapping> {
      var index = 0
      val result = mutableListOf<Mapping>()
    
      while (index < mappings.size) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 8.3K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java

        protected boolean set(@Nullable V value) {
          boolean result = sync.set(value);
          if (result) {
            executionList.execute();
          }
          return result;
        }
    
        /**
         * Subclasses should invoke this method to set the result of the computation to an error, {@code
         * throwable}. This will set the state of the future to {@link OldAbstractFuture.Sync#COMPLETED}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 13.8K bytes
    - Click Count (0)
Back to Top