Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,109 for newtype (0.23 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/universe.go

    			CheckSize(typ)
    		}
    		return typ
    	}
    
    	for _, s := range &basicTypes {
    		Types[s.etype] = defBasic(s.etype, BuiltinPkg, s.name)
    	}
    
    	for _, s := range &typedefs {
    		sameas := s.sameas32
    		if PtrSize == 8 {
    			sameas = s.sameas64
    		}
    		SimType[s.etype] = sameas
    
    		Types[s.etype] = defBasic(s.etype, BuiltinPkg, s.name)
    	}
    
    	// We create separate byte and rune types for better error messages
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 26 21:56:49 UTC 2023
    - 4K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. subprojects/core/src/main/java/org/gradle/internal/classpath/transforms/InstrumentingBackwardsCompatibilityVisitor.java

                super(ASM_LEVEL, methodVisitor);
            }
    
            @Override
            public void visitTypeInsn(int opcode, String type) {
                String newType = fixInternalNameForBackwardCompatibility(type);
                super.visitTypeInsn(opcode, newType);
            }
    
            @Override
            public void visitFieldInsn(int opcode, String owner, String name, String descriptor) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 12 08:17:26 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  10. 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)
Back to top