Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 371 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. 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)
  5. 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)
  6. 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)
  7. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprintChecker.kt

                }
                is ConfigurationCacheFingerprint.InputFileSystemEntry -> input.run {
                    val newType = fileSystemEntryType(file)
                    if (newType != fileType) {
                        val prefix = "the file system entry '${displayNameOf(file)}'"
                        return when {
                            newType == FileType.Missing -> return "$prefix has been removed"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  8. src/go/types/assignments.go

    			}
    			check.error(x, code, msg)
    			x.mode = invalid
    			return
    		}
    		if val != nil {
    			x.val = val
    			check.updateExprVal(x.expr, val)
    		}
    		if newType != x.typ {
    			x.typ = newType
    			check.updateExprType(x.expr, newType, false)
    		}
    	}
    	// x.typ is typed
    
    	// A generic (non-instantiated) function value cannot be assigned to a variable.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/assignments.go

    			}
    			check.error(x, code, msg)
    			x.mode = invalid
    			return
    		}
    		if val != nil {
    			x.val = val
    			check.updateExprVal(x.expr, val)
    		}
    		if newType != x.typ {
    			x.typ = newType
    			check.updateExprType(x.expr, newType, false)
    		}
    	}
    	// x.typ is typed
    
    	// A generic (non-instantiated) function value cannot be assigned to a variable.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 23 21:21:43 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirPsiTypeProvider.kt

                val type = (projection as? ConeKotlinTypeProjection)?.type ?: continue
                // E.g., Comparable<Test>
                val newType = substituteOrNull(type) ?: continue
                // Visit new type: e.g., Test, as a type argument, is substituted with Comparable<Test>, again.
                if (newType.hasRecursiveTypeArgument(visited)) return true
            }
            return false
        }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 20:26:34 UTC 2024
    - 18.4K bytes
    - Viewed (0)
Back to top