Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for return_values (0.25 sec)

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

        String result =
            timeLimiter.callWithTimeout(
                Callables.returning(RETURN_VALUE), DELAY_MS, TimeUnit.MILLISECONDS);
    
        assertThat(result).isEqualTo(RETURN_VALUE);
      }
    
      public void testCallWithTimeout_wrapsCheckedException() throws Exception {
        Exception exception = new SampleCheckedException();
        ExecutionException e =
            assertThrows(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/FakeTimeLimiterTest.java

        String result =
            timeLimiter.callWithTimeout(
                Callables.returning(RETURN_VALUE), DELAY_MS, TimeUnit.MILLISECONDS);
    
        assertThat(result).isEqualTo(RETURN_VALUE);
      }
    
      public void testCallWithTimeout_wrapsCheckedException() throws Exception {
        Exception exception = new SampleCheckedException();
        ExecutionException e =
            assertThrows(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-custom-operation.pbtxt

    library {
      function {
        signature {
          name: "foo"
          input_arg {
            name: "arg"
            type: DT_INT32
          }
          output_arg {
            name: "return_value"
            type: DT_INT32
          }
        }
        ret {
          key: "return_value"
          value: "arg"
        }
      }
    }
    versions {
      producer: 62
      min_consumer: 12
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/transport/NetworkOperationBackOffAndRetry.java

        public T withBackoffAndRetry(Callable<T> operation) {
            int backoff = initialBackOff;
            int retries = 0;
            T returnValue = null;
            while (retries < maxDeployAttempts) {
                retries++;
                Throwable failure;
                try {
                    returnValue = operation.call();
                    if (retries > 1) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 07 04:09:56 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/passes/unwrap_xla_call_module_op.cc

      IRMapping new_op_mapper;
      for (Operation& op : function_body.getOps()) {
        if (llvm::isa<func::ReturnOp>(op)) {
          for (auto [call_result, return_value] :
               llvm::zip_equal(call_op.getResults(), op.getOperands())) {
            Value new_result = new_op_mapper.lookup(return_value);
    
            call_result.replaceAllUsesWith(new_result);
          }
          continue;
        }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 07:39:40 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/configurationcache/ConfigurationCacheBuildOperations.kt

                .details(LoadDetails)
    
            override fun call(context: BuildOperationContext): T =
                block().let { (opResult, returnValue) ->
                    context.setResult(opResult)
                    returnValue
                }
        })
    
    
    internal
    fun BuildOperationRunner.withStoreOperation(@Suppress("UNUSED_PARAMETER") cacheKey: String, block: () -> StoreResult) =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 10:09:37 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

        private final @Nullable Object[] passedArgs;
        private final @Nullable Object returnValue;
        private final AtomicInteger called = new AtomicInteger();
    
        InteractionTester(Class<T> interfaceType, Method method) {
          this.interfaceType = interfaceType;
          this.method = method;
          this.passedArgs = getParameterValues(method);
          this.returnValue = new FreshValueGenerator().generateFresh(method.getReturnType());
        }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 08 17:31:55 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/CollectionFuture.java

          values.add(null);
        }
    
        this.values = values;
      }
    
      @Override
      final void collectOneValue(int index, @ParametricNullness V returnValue) {
        List<@Nullable Present<V>> localValues = values;
        if (localValues != null) {
          localValues.set(index, new Present<>(returnValue));
        }
      }
    
      @Override
      final void handleAllCompleted() {
        List<@Nullable Present<V>> localValues = values;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

        private final @Nullable Object[] passedArgs;
        private final @Nullable Object returnValue;
        private final AtomicInteger called = new AtomicInteger();
    
        InteractionTester(Class<T> interfaceType, Method method) {
          this.interfaceType = interfaceType;
          this.method = method;
          this.passedArgs = getParameterValues(method);
          this.returnValue = new FreshValueGenerator().generateFresh(method.getReturnType());
        }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 08 17:31:55 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  10. platforms/software/platform-base/src/test/groovy/org/gradle/platform/base/internal/registry/ComponentBinariesModelRuleExtractorTest.groovy

            "noComponentSpec"        | "A method annotated with @ComponentBinaries must have one parameter extending VariantComponentSpec. Found no parameter extending VariantComponentSpec."       | "no component spec parameter"
            "returnValue"            | "A method annotated with @ComponentBinaries must have void return type."                                                                                      | "non void method"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 5.8K bytes
    - Viewed (0)
Back to top