Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 72 for onValue (0.12 sec)

  1. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/parameters/FailsafeStreamedValueListener.java

            this.delegate = delegate;
        }
    
        @Override
        public void onValue(Object value) {
            if (failure != null) {
                // Stop handling further values after a failure
                return;
            }
    
            if (delegate != null) {
                try {
                    delegate.onValue(value);
                } catch (Throwable e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 19 08:15:25 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/StreamedValueListener.java

     *
     * @since 8.6
     */
    @Incubating
    public interface StreamedValueListener {
        /**
         * Handles the next value.
         *
         * @since 8.6
         */
        void onValue(Object value);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 19 08:15:25 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiStreamingBuildActionIntegrationTest.groovy

        }
    
        private static class TestStreamedValueListener implements StreamedValueListener {
            def models = new CopyOnWriteArrayList<Object>()
            @Override
            void onValue(Object value) {
                models += value
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/parameters/ConsumerOperationParameters.java

            return streamedValueListener;
        }
    
        /**
         * @since 8.6
         */
        public void onStreamedValue(Object model) {
            streamedValueListener.onValue(model);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 19 19:46:37 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  5. subprojects/core/src/testFixtures/groovy/org/gradle/api/tasks/TasksWithInputsAndOutputs.groovy

                    @Input
                    final Property<Integer> inValue = project.objects.property(Integer)
                    @OutputFile
                    final RegularFileProperty outFile = project.objects.fileProperty()
                    @TaskAction
                    def go() {
                        outFile.get().asFile.text = (inValue.get() + 10) as String
                    }
                }
            """
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 07 18:43:39 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheTaskWiringIntegrationTest.groovy

                    inFile = file("in.txt")
                    outFile = layout.buildDirectory.file("out.txt")
                }
                task transformer(type: InputTask) {
                    inValue = producer.outFile.map { f -> f.asFile.text as Integer }.map { i -> i + 2 }
                    outFile = file("out.txt")
                }
            """
            def input = file("in.txt")
            def output = file("out.txt")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/quantization/quantization_context.h

        std::unordered_map<int, RequantizeState> rescale_states_;
    
        // Maps of indexes to the propagation state vector from the ops operands,
        // results and arguments.
        llvm::DenseMap<OpValue, int> operand_states_;
        llvm::DenseMap<OpValue, int> result_states_;
      };
    
      func::FuncOp func_;
    
      DeviceTarget target_spec_;
    
      StatesManager states_manager_;
    };
    
    }  // namespace quant
    }  // namespace mlir
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 08 01:38:03 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskDependencyInferenceIntegrationTest.groovy

                    output = file("b.txt")
                    content = "0"
                }
                tasks.register("c", InputTask) {
                    inValue = a.output.map { it.asFile.text as Integer }.map { [it, it+3] }
                    inValue.add(b.output.map { it.asFile.text as Integer })
                    outFile = file("out.txt")
                }
            """
    
            when:
            run("c")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 04 14:20:49 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  9. src/go/types/operand.go

    	"go/constant"
    	"go/token"
    	. "internal/types/errors"
    )
    
    // An operandMode specifies the (addressing) mode of an operand.
    type operandMode byte
    
    const (
    	invalid   operandMode = iota // operand is invalid
    	novalue                      // operand represents no value (result of a function call w/o result)
    	builtin                      // operand is a built-in function
    	typexpr                      // operand is a type
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 21:17:10 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/operand.go

    	"fmt"
    	"go/constant"
    	. "internal/types/errors"
    )
    
    // An operandMode specifies the (addressing) mode of an operand.
    type operandMode byte
    
    const (
    	invalid   operandMode = iota // operand is invalid
    	novalue                      // operand represents no value (result of a function call w/o result)
    	builtin                      // operand is a built-in function
    	typexpr                      // operand is a type
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 21:17:10 UTC 2024
    - 11K bytes
    - Viewed (0)
Back to top