Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 590 for newtype (0.14 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/decompose_optionals.cc

          argument_types.push_back(arg.getType());
        }
        std::vector<Type> return_types;
        for (auto ret_op : ret->getOperands()) {
          return_types.push_back(ret_op.getType());
        }
        auto newType =
            FunctionType::get(rewriter.getContext(), argument_types, return_types);
        if (f.getFunctionType() == newType) {
          return failure();
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/net/MediaTypeTest.java

        MediaType newType = MediaType.createFontType("yams");
        assertEquals("font", newType.type());
        assertEquals("yams", newType.subtype());
      }
    
      public void testCreateImageType() {
        MediaType newType = MediaType.createImageType("yams");
        assertEquals("image", newType.type());
        assertEquals("yams", newType.subtype());
      }
    
      public void testCreateTextType() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Mar 05 13:16:00 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/net/MediaTypeTest.java

        MediaType newType = MediaType.createFontType("yams");
        assertEquals("font", newType.type());
        assertEquals("yams", newType.subtype());
      }
    
      public void testCreateImageType() {
        MediaType newType = MediaType.createImageType("yams");
        assertEquals("image", newType.type());
        assertEquals("yams", newType.subtype());
      }
    
      public void testCreateTextType() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Mar 05 13:16:00 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/serialize/DefaultClassDecoder.kt

                } else {
                    scope.exportClassLoader
                }
            } else {
                this.classLoader
            }
            val newType = Class.forName(name, false, classLoader)
            classes.putInstance(id, newType)
            return newType
        }
    
        private
        fun ReadContext.readScope(): ClassLoaderScope {
            val id = readSmallInt()
            val scope = scopes.getInstance(id)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types/type.go

    	ComparableType *Type
    
    	// Types to represent untyped string and boolean constants.
    	UntypedString = newType(TSTRING)
    	UntypedBool   = newType(TBOOL)
    
    	// Types to represent untyped numeric constants.
    	UntypedInt     = newType(TIDEAL)
    	UntypedRune    = newType(TIDEAL)
    	UntypedFloat   = newType(TIDEAL)
    	UntypedComplex = newType(TIDEAL)
    )
    
    // UntypedTypes maps from a constant.Kind to its untyped Type
    // representation.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 49.5K bytes
    - Viewed (0)
  6. src/go/types/const.go

    	newType, val, code := check.implicitTypeAndValue(x, target)
    	if code != 0 {
    		t := target
    		if !isTypeParam(target) {
    			t = safeUnderlying(target)
    		}
    		check.invalidConversion(code, x, t)
    		x.mode = invalid
    		return
    	}
    	if val != nil {
    		x.val = val
    		check.updateExprVal(x.expr, val)
    	}
    	if newType != x.typ {
    		x.typ = newType
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/const.go

    	newType, val, code := check.implicitTypeAndValue(x, target)
    	if code != 0 {
    		t := target
    		if !isTypeParam(target) {
    			t = safeUnderlying(target)
    		}
    		check.invalidConversion(code, x, t)
    		x.mode = invalid
    		return
    	}
    	if val != nil {
    		x.val = val
    		check.updateExprVal(x.expr, val)
    	}
    	if newType != x.typ {
    		x.typ = newType
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  8. src/go/types/operand.go

    				// type of an untyped value doesn't change so we
    				// don't need to do anything special.
    				newType, _, _ := check.implicitTypeAndValue(x, t.typ)
    				return newType != nil
    			}), IncompatibleAssign
    		}
    		newType, _, _ := check.implicitTypeAndValue(x, T)
    		return newType != nil, IncompatibleAssign
    	}
    	// Vu is typed
    
    	// x's type V and T have identical underlying types
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 21:17:10 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/operand.go

    				// type of an untyped value doesn't change so we
    				// don't need to do anything special.
    				newType, _, _ := check.implicitTypeAndValue(x, t.typ)
    				return newType != nil
    			}), IncompatibleAssign
    		}
    		newType, _, _ := check.implicitTypeAndValue(x, T)
    		return newType != nil, IncompatibleAssign
    	}
    	// Vu is typed
    
    	// x's type V and T have identical underlying types
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 21:17:10 UTC 2024
    - 11K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/RuleBindings.java

                    }
                }
            }
    
            public void addReference(Reference reference) {
                ModelType<?> type = reference.binding.getPredicate().getType();
                PredicateMatches predicateMatches = types.get(type);
                boolean newType = predicateMatches == null;
                if (predicateMatches == null) {
                    predicateMatches = new PredicateMatches();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 10.8K bytes
    - Viewed (0)
Back to top