Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 159 for typeName (0.16 sec)

  1. src/cmd/compile/internal/types2/alias.go

    // rhs must not be nil.
    func NewAlias(obj *TypeName, rhs Type) *Alias {
    	alias := (*Checker)(nil).newAlias(obj, rhs)
    	// Ensure that alias.actual is set (#65455).
    	alias.cleanup()
    	return alias
    }
    
    // Obj returns the type name for the declaration defining the alias type a.
    // For instantiated types, this is same as the type name of the origin type.
    func (a *Alias) Obj() *TypeName { return a.orig.obj }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/object_test.go

    )
    
    func TestIsAlias(t *testing.T) {
    	check := func(obj *TypeName, want bool) {
    		if got := obj.IsAlias(); got != want {
    			t.Errorf("%v: got IsAlias = %v; want %v", obj, got, want)
    		}
    	}
    
    	// predeclared types
    	check(Unsafe.Scope().Lookup("Pointer").(*TypeName), false)
    	for _, name := range Universe.Names() {
    		if obj, _ := Universe.Lookup(name).(*TypeName); obj != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 14:10:44 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/rewrite_util.h

    #include "mlir/Support/LLVM.h"  // from @llvm-project
    
    namespace mlir {
    namespace TF {
    
    // Returns int, float or complex DenseElementsAttr with scalar shape with the
    // given element type and the integer value.
    template <typename T>
    DenseElementsAttr GetScalarOfType(Type ty, T raw_value) {
      RankedTensorType scalar_ty = RankedTensorType::get({}, ty);
      if (auto float_ty = mlir::dyn_cast<FloatType>(ty)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 19:47:48 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. src/go/types/alias.go

    // rhs must not be nil.
    func NewAlias(obj *TypeName, rhs Type) *Alias {
    	alias := (*Checker)(nil).newAlias(obj, rhs)
    	// Ensure that alias.actual is set (#65455).
    	alias.cleanup()
    	return alias
    }
    
    // Obj returns the type name for the declaration defining the alias type a.
    // For instantiated types, this is same as the type name of the origin type.
    func (a *Alias) Obj() *TypeName { return a.orig.obj }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/internal/typesinternal/toonew.go

    		symVersion := sym.Version.String()
    		if !versions.Before(version, symVersion) {
    			continue // allowed
    		}
    
    		var obj types.Object
    		switch sym.Kind {
    		case stdlib.Field:
    			typename, name := sym.SplitField()
    			if t := pkg.Scope().Lookup(typename); t != nil && disallowed[t] == "" {
    				obj, _, _ = types.LookupFieldOrMethod(t.Type(), false, pkg, name)
    			}
    
    		case stdlib.Method:
    			ptr, recvname, name := sym.SplitMethod()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/hub/MethodInvocationSerializer.java

            }
    
            private Class<?> readType() throws ClassNotFoundException, IOException {
                String typeName = decoder.readString();
                Class<?> paramType = PRIMITIVE_TYPES.get(typeName);
                if (paramType == null) {
                    paramType = Class.forName(typeName, false, classLoader);
                }
                return paramType;
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  7. testing/internal-performance-testing/src/templates/root-project/checkstyle.xml

                <property name="format" value="^[a-z]+(\\.[a-z][a-z0-9_]*)*\$"/>
            </module>
            <module name="ParameterName"/>
            <module name="StaticVariableName"/>
            <module name="TypeName">
                <property name="format" value="^[A-Z][a-zA-Z0-9_]*\$"/>
            </module>
        </module>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 856 bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/codeQuality/codeQuality/groovy/config/checkstyle/suppressions.xml

    <?xml version="1.0"?>
    
    <!DOCTYPE suppressions PUBLIC
        "-//Puppy Crawl//DTD Suppressions 1.1//EN"
        "http://www.puppycrawl.com/dtds/suppressions_1_1.dtd">
    
    <suppressions>
        <suppress checks="TypeName"
              files="bad_name.java"/>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 256 bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/reduce.h

    LogicalResult MatchReduceToArgMinMaxType2(mhlo::ReduceOp reduce_op,
                                              bool is_argmax);
    
    // Base class for converting mhlo::ReduceOp to TF/TFL ArgMax/ArgMin ops.
    template <typename Reduce, typename ArgReduce, typename BooleanReduce,
              bool is_argmax>
    class ConvertReduceOpToArgMinMax : public OpConversionPattern<mhlo::ReduceOp> {
     public:
      using OpConversionPattern::OpConversionPattern;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/internal/stdlib/stdlib.go

    // components. It must be called only on Field symbols.
    //
    // Example: "File.Package" -> ("File", "Package")
    func (sym *Symbol) SplitField() (typename, name string) {
    	if sym.Kind != Field {
    		panic("not a field")
    	}
    	typename, name, _ = strings.Cut(sym.Name, ".")
    	return
    }
    
    // SplitMethod splits the method symbol name into pointer, receiver,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top