Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 91 for type$val (0.22 sec)

  1. src/go/types/operand.go

    // the operand, the operand's type, a value for constants, and an id
    // for built-in functions.
    // The zero value of operand is a ready to use invalid operand.
    type operand struct {
    	mode operandMode
    	expr ast.Expr
    	typ  Type
    	val  constant.Value
    	id   builtinId
    }
    
    // Pos returns the position of the expression corresponding to x.
    // If x is invalid the position is nopos.
    func (x *operand) Pos() token.Pos {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 21:17:10 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/operand.go

    // for built-in functions.
    // The zero value of operand is a ready to use invalid operand.
    type operand struct {
    	mode operandMode
    	expr syntax.Expr
    	typ  Type
    	val  constant.Value
    	id   builtinId
    }
    
    // Pos returns the position of the expression corresponding to x.
    // If x is invalid the position is nopos.
    func (x *operand) Pos() syntax.Pos {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 21:17:10 UTC 2024
    - 11K bytes
    - Viewed (0)
  3. platforms/core-configuration/dependency-management-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/dm/LocalFileDependencyBackedArtifactSetCodec.kt

                // TODO - simplify extracting the mappings
                // TODO - deduplicate this data, as the mapping is project scoped and almost always the same across all projects of a given type
                val artifactType = value.requestAttributes.getAttribute(ARTIFACT_TYPE_ATTRIBUTE)
                writeBoolean(artifactType != null)
                val mappings = mutableMapOf<ImmutableAttributes, MappingSpec>()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 18:56:44 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/NamedDomainObjectContainerExtensions.kt

                ?: throw IllegalArgumentException("Container '$delegate' is not polymorphic.")
    }
    
    
    /**
     * Provides a property delegate that creates elements of the default collection type.
     */
    val <T : Any> NamedDomainObjectContainer<T>.creating
        get() = NamedDomainObjectContainerCreatingDelegateProvider.of(this)
    
    
    /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 19 22:09:44 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/index.go

    // If the result val >= 0, index is valid and val is its constant int value.
    func (check *Checker) index(index syntax.Expr, max int64) (typ Type, val int64) {
    	typ = Typ[Invalid]
    	val = -1
    
    	var x operand
    	check.expr(nil, &x, index)
    	if !check.isValidIndex(&x, InvalidIndex, "index", false) {
    		return
    	}
    
    	if x.mode != constant_ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 15 16:16:58 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  6. src/go/types/index.go

    // If the result val >= 0, index is valid and val is its constant int value.
    func (check *Checker) index(index ast.Expr, max int64) (typ Type, val int64) {
    	typ = Typ[Invalid]
    	val = -1
    
    	var x operand
    	check.expr(nil, &x, index)
    	if !check.isValidIndex(&x, InvalidIndex, "index", false) {
    		return
    	}
    
    	if x.mode != constant_ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:17:05 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionTypeProvider.kt

            val firCall = infixCallExpression.getOrBuildFirSafe<FirFunctionCall>(firResolveSession) ?: return null
    
            // There is only one parameter for infix functions; get its type
            val argumentsToParameters = firCall.argumentsToSubstitutedValueParameters(substituteWithErrorTypes = false) ?: return null
            return argumentsToParameters.values.singleOrNull()?.substitutedType?.asKtType()
        }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 24.4K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

      fun mediaType() {
        val mediaType: MediaType = "".toMediaType()
        val defaultCharset: Charset? = mediaType.charset()
        val charset: Charset? = mediaType.charset(Charsets.UTF_8)
        val type: String = mediaType.type
        val subtype: String = mediaType.subtype
        val parse: MediaType? = "".toMediaTypeOrNull()
      }
    
      @Test
      fun mockResponse() {
        var mockResponse: MockResponse = MockResponse()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  9. src/encoding/xml/marshal.go

    				return err
    			}
    		}
    		return nil
    	}
    
    	if val.Type() == attrType {
    		start.Attr = append(start.Attr, val.Interface().(Attr))
    		return nil
    	}
    
    	s, b, err := p.marshalSimple(val.Type(), val)
    	if err != nil {
    		return err
    	}
    	if b != nil {
    		s = string(b)
    	}
    	start.Attr = append(start.Attr, Attr{name, s})
    	return nil
    }
    
    // defaultStart returns the default start element to use,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 18:46:41 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/sccp.go

    const (
    	top      int8 = iota // undefined
    	constant             // constant
    	bottom               // not a constant
    )
    
    type lattice struct {
    	tag int8   // lattice type
    	val *Value // constant value
    }
    
    type worklist struct {
    	f            *Func               // the target function to be optimized out
    	edges        []Edge              // propagate constant facts through edges
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:54:50 UTC 2024
    - 17.6K bytes
    - Viewed (0)
Back to top