Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 291 - 300 of 1,848 for result (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  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. 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)
  3. tensorflow/c/eager/c_api_unified_experimental_test.cc

        results[idx] = *static_cast<float*>(TF_TensorData(f_t));
        TF_DeleteTensor(f_t);
      }
      ASSERT_EQ(results[0], 5.0);
      ASSERT_EQ(results[1], 6.0);
    
      for (int idx = 0; idx < 2; ++idx) {
        TF_AbstractTensor* result = TF_OutputListGet(func_outputs, idx);
        TF_DeleteAbstractTensor(result);
      }
      TF_DeleteOutputList(func_outputs);
      TF_DeleteExecutionContext(eager_execution_ctx);
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 12 05:11:17 GMT 2024
    - 39.1K 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. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java

                // Fill rest of buffer with garbage
                for (int i = 2; i < buffer.length; i++) {
                    buffer[i] = (byte) 0xFF;
                }
    
                // Should only read the structure size (2 bytes) and not go beyond
                int result = echoResponse.readBytesWireFormat(buffer, bufferIndex);
                assertEquals(0, result);
            }
        }
    
        @Nested
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.1K bytes
    - Click Count (0)
Back to Top