Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 952 for DLiteral (0.27 sec)

  1. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/dom/operations/overlay/OverlayRoutedDataContainers.kt

    
    internal
    class OverlayRoutedValueDataContainer<DValue, DValueFactory : DValue, DLiteral : DValue>(
        private val overlayOriginContainer: OverlayOriginContainer,
        private val underlay: ValueDataContainer<DValue, DValueFactory, DLiteral>,
        private val overlay: ValueDataContainer<DValue, DValueFactory, DLiteral>
    ) : ValueDataContainer<DValue, DValueFactory, DLiteral> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:10 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/dom/data/DocumentDataContainers.kt

        fun data(node: DeclarativeDocument.DocumentNode.ErrorNode): DError
    }
    
    
    typealias NodeData<DNode> = NodeDataContainer<DNode, DNode, DNode, DNode>
    
    
    interface ValueDataContainer<DValue, DValueFactory : DValue, DLiteral : DValue> {
        fun data(value: DeclarativeDocument.ValueNode): DValue = when (value) {
            is DeclarativeDocument.ValueNode.ValueFactoryNode -> data(value)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:09 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. test/literal.go

    // run
    
    // Copyright 2009 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test literal syntax for basic types.
    
    package main
    
    var nbad int
    
    func assert(cond bool, msg string) {
    	if !cond {
    		if nbad == 0 {
    			print("BUG")
    		}
    		nbad++
    		print(" ", msg)
    	}
    }
    
    func equal(a, b float32) bool {
    	return a == b
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 12 18:17:49 UTC 2013
    - 5K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/syntax/scanner_test.go

    	{_Literal, "0B1", 0, 0},
    	{_Literal, "0b01100110", 0, 0},
    	{_Literal, "0b_0110_0110", 0, 0},
    	{_Literal, "0.", 0, 0},
    	{_Literal, "0.e0", 0, 0},
    	{_Literal, "0.e-1", 0, 0},
    	{_Literal, "0.e+123", 0, 0},
    	{_Literal, ".0", 0, 0},
    	{_Literal, ".0E00", 0, 0},
    	{_Literal, ".0E-0123", 0, 0},
    	{_Literal, ".0E+12345678901234567890", 0, 0},
    	{_Literal, ".45e1", 0, 0},
    	{_Literal, "3.14159265", 0, 0},
    	{_Literal, "1e0", 0, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 14 16:11:21 UTC 2022
    - 21.9K bytes
    - Viewed (0)
  5. platforms/core-runtime/files/src/test/groovy/org/gradle/api/internal/file/pattern/RegExpPatternStepTest.java

        }
    
        @Test public void testLiteralMatches() {
            RegExpPatternStep step = new RegExpPatternStep("literal", true);
            assertTrue(step.matches("literal"));
            assertFalse(step.matches("Literal"));
            assertFalse(step.matches("literally"));
            assertFalse(step.matches("aliteral"));
        }
    
        @Test public void testSingleCharWildcard() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:55:52 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/syntax/parser.go

    			// determine if '{' belongs to a composite literal or a block statement
    			complit_ok := false
    			switch t.(type) {
    			case *Name, *SelectorExpr:
    				if p.xnest >= 0 {
    					// x is possibly a composite literal type
    					complit_ok = true
    				}
    			case *IndexExpr:
    				if p.xnest >= 0 && !isValue(t) {
    					// x is possibly a composite literal type
    					complit_ok = true
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/syntax/scanner.go

    	blank     bool // line is blank up to col
    	tok       token
    	lit       string   // valid if tok is _Name, _Literal, or _Semi ("semicolon", "newline", or "EOF"); may be malformed if bad is true
    	bad       bool     // valid if tok is _Literal, true if a syntax error occurred, lit may be malformed
    	kind      LitKind  // valid if tok is _Literal
    	op        Operator // valid if tok is _Operator, _Star, _AssignOp, or _IncOp
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 28 18:17:41 UTC 2022
    - 17.1K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/syntax/tokens.go

    type Token uint
    
    type token = Token
    
    //go:generate stringer -type token -linecomment tokens.go
    
    const (
    	_    token = iota
    	_EOF       // EOF
    
    	// names and literals
    	_Name    // name
    	_Literal // literal
    
    	// operators and operations
    	// _Operator is excluding '*' (_Star)
    	_Operator // op
    	_AssignOp // op=
    	_IncOp    // opop
    	_Assign   // =
    	_Define   // :=
    	_Arrow    // <-
    	_Star     // *
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 14:52:38 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/typecheck/expr.go

    	base.AssertfAt(t != nil, n.Pos(), "missing type in composite literal")
    
    	switch t.Kind() {
    	default:
    		base.Errorf("invalid composite literal type %v", t)
    		n.SetType(nil)
    
    	case types.TARRAY:
    		typecheckarraylit(t.Elem(), t.NumElem(), n.List, "array literal")
    		n.SetOp(ir.OARRAYLIT)
    
    	case types.TSLICE:
    		length := typecheckarraylit(t.Elem(), -1, n.List, "slice literal")
    		n.SetOp(ir.OSLICELIT)
    		n.Len = length
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/walk/complit.go

    		return false
    	}
    	if !isSimpleName(n.X) {
    		// not a special composite literal assignment
    		return false
    	}
    	x := n.X.(*ir.Name)
    	if !types.Identical(n.X.Type(), n.Y.Type()) {
    		// not a special composite literal assignment
    		return false
    	}
    	if x.Addrtaken() {
    		// If x is address-taken, the RHS may (implicitly) uses LHS.
    		// Not safe to do a special composite literal assignment
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:03:54 UTC 2023
    - 19.5K bytes
    - Viewed (0)
Back to top