Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for AnyType (0.17 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/tf_device_ops.td

    ```
      }];
    
      let arguments = (ins
        Variadic<AnyType>:$replicated_inputs,
        Variadic<AnyType>:$packed_inputs,
    
        ConfinedAttr<I32Attr, [IntMinValue<2>]>:$n,
        OptionalAttr<DictionaryAttr>:$devices
      );
    
      let results = (outs
        Variadic<AnyType>:$replicated_outputs
      );
    
      let regions = (region SizedRegion<1>:$body);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 23 23:53:20 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/issues_test.go

    }
    
    func TestIssue50646(t *testing.T) {
    	anyType := Universe.Lookup("any").Type().Underlying()
    	comparableType := Universe.Lookup("comparable").Type()
    
    	if !Comparable(anyType) {
    		t.Error("any is not a comparable type")
    	}
    	if !Comparable(comparableType) {
    		t.Error("comparable is not a comparable type")
    	}
    
    	if Implements(anyType, comparableType.Underlying().(*Interface)) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  3. src/go/types/issues_test.go

    }
    
    func TestIssue50646(t *testing.T) {
    	anyType := Universe.Lookup("any").Type().Underlying()
    	comparableType := Universe.Lookup("comparable").Type()
    
    	if !Comparable(anyType) {
    		t.Error("any is not a comparable type")
    	}
    	if !Comparable(comparableType) {
    		t.Error("comparable is not a comparable type")
    	}
    
    	if Implements(anyType, comparableType.Underlying().(*Interface)) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/compile.go

    	}
    	found := false
    	returnTypes := expressionAccessor.ReturnTypes()
    	for _, returnType := range returnTypes {
    		if ast.OutputType() == returnType || cel.AnyType == returnType {
    			found = true
    			break
    		}
    	}
    	if !found {
    		var reason string
    		if len(returnTypes) == 1 {
    			reason = fmt.Sprintf("must evaluate to %v", returnTypes[0].String())
    		} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/printf.go

    	{'O', sharpNumFlag, argInt | argPointer},
    	{'p', "-#", argPointer},
    	{'q', " -+.0#", argRune | argInt | argString},
    	{'s', " -+.0", argString},
    	{'t', "-", argBool},
    	{'T', "-", anyType},
    	{'U', "-#", argRune | argInt},
    	{'v', allFlags, anyType},
    	{'w', allFlags, argError},
    	{'x', sharpNumFlag, argRune | argInt | argString | argPointer | argFloat | argComplex},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirPsiTypeProvider.kt

                firClassNode.resolvedSuperTypes.singleOrNull()?.let { return it }
            }
    
            return if (type.nullability.isNullable) session.builtinTypes.nullableAnyType.type
            else session.builtinTypes.anyType.type
        }
    
        private fun ConeKotlinType.hasRecursiveTypeArgument(
            visited: MutableSet<ConeKotlinType> = mutableSetOf(),
        ): Boolean {
            if (typeArguments.isEmpty()) 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)
  7. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10TypeProvider.kt

            get() = withValidityAssertion { analysisContext.builtIns.nothingType.toKtType(analysisContext) }
    
        override val any: KaType
            get() = withValidityAssertion { analysisContext.builtIns.anyType.toKtType(analysisContext) }
    
        override val throwable: KaType
            get() = withValidityAssertion { analysisContext.builtIns.throwable.defaultType.toKtType(analysisContext) }
    
        override val nullableAny: KaType
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/typechecking.go

    	return results
    }
    
    type celExpression string
    
    func (c celExpression) GetExpression() string {
    	return string(c)
    }
    
    func (c celExpression) ReturnTypes() []*cel.Type {
    	return []*cel.Type{cel.AnyType}
    }
    func generateUniqueTypeName(kind string) string {
    	return fmt.Sprintf("%s%d", kind, time.Now().Nanosecond())
    }
    
    func (c *TypeChecker) declType(gvk schema.GroupVersionKind) (*apiservercel.DeclType, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  9. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/base/Kt1DescUtils.kt

        }
    
        val hasClassSupertype = supertypes.any { (it.constructor.declarationDescriptor as? ClassDescriptor)?.kind == ClassKind.CLASS }
        return if (hasClassSupertype) supertypes else listOf(builtIns.anyType) + supertypes
    }
    
    
    internal fun CallableMemberDescriptor.getSymbolPointerSignature(): String {
        return DescriptorRenderer.FQ_NAMES_IN_TYPES.render(this)
    }
    
    internal fun createKtInitializerValue(
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/rangefunc/rewrite.go

    	var nopos syntax.Pos
    	pkg := types2.NewPackage("runtime", "runtime")
    	anyType := types2.Universe.Lookup("any").Type()
    	intType := types2.Universe.Lookup("int").Type()
    
    	// func deferrangefunc() unsafe.Pointer
    	obj := types2.NewFunc(nopos, pkg, "deferrangefunc", types2.NewSignatureType(nil, nil, nil, nil, types2.NewTuple(types2.NewParam(nopos, pkg, "extra", anyType)), false))
    	pkg.Scope().Insert(obj)
    
    	// func panicrangestate()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 41.6K bytes
    - Viewed (0)
Back to top