Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,502 for casting (0.15 sec)

  1. subprojects/core-api/src/main/java/org/gradle/api/plugins/ExtensionContainer.java

        /**
         * Looks for the extension of a given type (useful to avoid casting). If none found null is returned.
         *
         * @param type extension type
         * @return extension or null
         */
        @Nullable
        <T> T findByType(Class<T> type);
    
        /**
         * Looks for the extension of a given type (useful to avoid casting). If none found null is returned.
         *
         * @param type extension type
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 05 16:56:20 UTC 2019
    - 9.1K bytes
    - Viewed (0)
  2. platforms/core-runtime/stdlib-java-extensions/src/test/groovy/org/gradle/internal/CastTest.groovy

     * limitations under the License.
     */
    
    package org.gradle.internal
    
    import spock.lang.Specification
    
    import static Cast.cast
    
    class CastTest extends Specification {
    
        def "casting"() {
            given:
            def arg = "1"
    
            when:
            cast(Integer, arg)
    
            then:
            def e = thrown(ClassCastException)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  3. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/TransformersTest.groovy

    package org.gradle.internal
    
    import org.gradle.api.Action
    import spock.lang.Specification
    
    import static org.gradle.internal.Transformers.*
    
    class TransformersTest extends Specification {
    
        def "casting"() {
            given:
            def arg = "1"
    
            when:
            cast(Integer).transform(arg)
    
            then:
            def e = thrown(ClassCastException)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/transforms/get_arithmetic_count.cc

    See the License for the specific language governing permissions and
    limitations under the License.
    ==============================================================================*/
    
    #include <vector>
    
    #include "llvm/Support/Casting.h"
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    #include "mlir/IR/Attributes.h"  // from @llvm-project
    #include "mlir/IR/Block.h"  // from @llvm-project
    #include "mlir/IR/Builders.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Oct 07 21:08:41 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/experimental/tac/common/utils.cc

    limitations under the License.
    ==============================================================================*/
    
    #include "tensorflow/compiler/mlir/lite/experimental/tac/common/utils.h"
    
    #include "llvm/Support/Casting.h"
    #include "mlir/IR/OpDefinition.h"  // from @llvm-project
    #include "tensorflow/compiler/mlir/lite/experimental/tac/common/targets.h"
    #include "tensorflow/compiler/mlir/lite/ir/tfl_ops.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 06 05:37:07 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/einsum.h

    #define TENSORFLOW_COMPILER_MLIR_TENSORFLOW_TRANSFORMS_EINSUM_H_
    
    #include <cstdint>
    #include <initializer_list>
    
    #include "llvm/ADT/ArrayRef.h"
    #include "llvm/Support/Casting.h"
    #include "mlir/IR/Attributes.h"  // from @llvm-project
    #include "mlir/IR/BuiltinTypes.h"  // from @llvm-project
    #include "mlir/IR/Location.h"  // from @llvm-project
    #include "mlir/IR/MLIRContext.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Dec 12 02:01:03 UTC 2020
    - 2.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_avg_pool.h

    // opposed to being extracted into a separate tfl.pad).
    StringAttr GetAvgPoolOpPadAttr(Builder& builder, mhlo::CompositeOp op);
    
    // Get dense attr for a matrix that corrects the over counting of divisors when
    // casting an average pool with ceil mode on in terms of average pool with it
    // off.
    DenseFPElementsAttr GetCorrectionMatrix(Builder& builder, mhlo::CompositeOp op);
    
    }  // namespace odml
    }  // namespace mlir
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 23:16:05 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/experimental/tac/transforms/device_transform_nnapi.cc

    ==============================================================================*/
    
    #include <memory>
    #include <utility>
    
    #include "llvm/ADT/ArrayRef.h"
    #include "llvm/ADT/SmallVector.h"
    #include "llvm/Support/Casting.h"
    #include "llvm/Support/raw_ostream.h"
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    #include "mlir/IR/Attributes.h"  // from @llvm-project
    #include "mlir/IR/Builders.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 07 18:43:51 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/replicate_tensor_list_init_ops_pass.cc

    limitations under the License.
    ==============================================================================*/
    
    #include <memory>
    #include <vector>
    
    #include "llvm/Support/Casting.h"
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    #include "mlir/IR/Builders.h"  // from @llvm-project
    #include "mlir/IR/BuiltinTypes.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Jan 22 17:28:34 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/analysis/resource_dataflow.h

    #define TENSORFLOW_COMPILER_MLIR_TENSORFLOW_ANALYSIS_RESOURCE_DATAFLOW_H_
    
    #include <algorithm>
    #include <vector>
    
    #include "llvm/ADT/BitVector.h"
    #include "llvm/ADT/STLExtras.h"
    #include "llvm/Support/Casting.h"
    #include "llvm/Support/Debug.h"
    #include "mlir/Analysis/DataFlow/DeadCodeAnalysis.h"  // from @llvm-project
    #include "mlir/Analysis/DataFlow/SparseAnalysis.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top