Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 77 for LITERAL (0.13 sec)

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

                    property(a, literal(1))
                        literal(1)
                    element(addingNested, [literal(1)], content.size = 1)
                        literal(1)
                        property(a, literal(2))
                            literal(2)
                    property(b, literal(5))
                        literal(5)
                    element(addingNested, [literal(1)], content.size = 1)
                        literal(1)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:10 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  2. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/dom/DomTest.kt

                    property(a, literal(1)[16..16])[12..16]
                    property(b, valueFactory(f, literal(x)[28..30], valueFactory(z.f, literal(y)[37..39])[35..40])[26..41])[22..41]
                    property(c, literal(true)[51..54])[47..54]
                    element(nested)[60..89]
                        property(x, literal(y)[81..83])[77..83]
                    element(factory, literal(1)[103..103])[95..104]
    
                """.trimIndent(),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:09 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/syntax/testdata/issue49205.go

    }
    
    // other cases where the fix for this issue affects the error message
    
    const (
    	x int = 10 /* ERROR unexpected literal "foo" in grouped declaration; possibly missing semicolon or newline or \) */ "foo"
    )
    
    var _ = []int{1, 2, 3 /* ERROR unexpected name int in composite literal; possibly missing comma or } */ int }
    
    type _ struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 952 bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/expr.go

    The check performed by f may fail in which case x.mode == invalid, and
    related error messages will have been issued by f.
    
    If a hint argument is present, it is the composite literal element type
    of an outer composite literal; it is used to type-check composite literal
    elements that have no explicit type specification in the source
    (e.g.: []T{{...}, {...}}, the hint is the type T in this case).
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
  5. src/net/ipsock.go

    // IPv4 is preferred, unless addr contains an IPv6 literal.
    func (addrs addrList) forResolve(network, addr string) Addr {
    	var want6 bool
    	switch network {
    	case "ip":
    		// IPv6 literal (addr does NOT contain a port)
    		want6 = bytealg.CountString(addr, ':') > 0
    	case "tcp", "udp":
    		// IPv6 literal. (addr contains a port, so look for '[')
    		want6 = bytealg.CountString(addr, '[') > 0
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  6. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/dom/fromLanguageTree/LanguageTreeToDom.kt

            }
            source(blockElement.failingResult)
        } else blockElement.sourceData
    
        return DefaultErrorNode(sourceData, errors)
    }
    
    
    private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:09 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  7. src/go/types/expr.go

    					check.funcBody(decl, "<function literal>", sig, e.Body, iota)
    				}).describef(e, "func literal")
    			}
    			x.mode = value
    			x.typ = sig
    		} else {
    			check.errorf(e, InvalidSyntaxTree, "invalid function literal %v", e)
    			goto Error
    		}
    
    	case *ast.CompositeLit:
    		var typ, base Type
    
    		switch {
    		case e.Type != nil:
    			// composite literal type present - use it
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  8. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/annotations/KtAnnotationValue.kt

    }
    
    public typealias KtEnumEntryAnnotationValue = KaEnumEntryAnnotationValue
    
    /**
     * Some constant value (which may be used as initializer of `const val`) used as annotation argument. It may be String literal, number literal or some simple expression.
     * E.g: `@A(1 +2, "a" + "b")` -- both arguments here are [KaConstantAnnotationValue]
     * @see [KaConstantValue]
     */
    public class KaConstantAnnotationValue @KaAnalysisApiInternals constructor(
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  9. platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/GUtil.java

            }
            if (value instanceof CharSequence) {
                final String literal = value.toString();
                T match = findEnumValue(enumType, literal);
                if (match != null) {
                    return match;
                }
    
                final String alternativeLiteral = toWords(literal, '_');
                match = findEnumValue(enumType, alternativeLiteral);
                if (match != null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/tests/composite-lowering.mlir

    // CHECK-LABEL: avg_pool2d_7
    // CHECK: %cst = arith.constant dense<[0, 2, 3, 1]> : tensor<4xi32>
    // CHECK{LITERAL}: %0 = "tfl.transpose"(%arg0, %cst) : (tensor<1x1x1x8xf32>, tensor<4xi32>) -> tensor<1x1x8x1xf32>
    // CHECK{LITERAL}: %cst_0 = arith.constant dense<[[0, 0], [0, 0], [1, 2], [0, 0]]> : tensor<4x2xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 18:45:51 UTC 2024
    - 32.6K bytes
    - Viewed (0)
Back to top