Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 156 for Lbrace (0.18 sec)

  1. src/go/types/typexpr.go

    	if check.conf._Trace {
    		check.trace(e0.Pos(), "-- type %s", e0)
    		check.indent++
    		defer func() {
    			check.indent--
    			var under Type
    			if T != nil {
    				// Calling under() here may lead to endless instantiations.
    				// Test case: type T[P any] *T[P]
    				under = safeUnderlying(T)
    			}
    			if T == under {
    				check.trace(e0.Pos(), "=> %s // %s", T, goTypeName(T))
    			} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/builtins.go

    		}
    		// result is constant - no need to record signature
    
    	case _Trace:
    		// trace(x, y, z, ...) dumps the positions, expressions, and
    		// values of its arguments. The result of trace is the value
    		// of the first argument.
    		// Note: trace is only available in self-test mode.
    		// (no argument evaluated yet)
    		if nargs == 0 {
    			check.dump("%v: trace() without arguments", atPos(call))
    			x.mode = novalue
    			break
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  3. src/internal/diff/diff.go

    // the chosen matching regions. An anchored diff is usually clearer
    // than a standard diff, because the algorithm does not try to
    // reuse unrelated blank lines or closing braces.
    // The algorithm also guarantees to run in O(n log n) time
    // instead of the standard O(n²) time.
    //
    // Some systems call this approach a “patience diff,” named for
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 14:13:04 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  4. src/html/template/context.go

    type context struct {
    	state   state
    	delim   delim
    	urlPart urlPart
    	jsCtx   jsCtx
    	// jsBraceDepth contains the current depth, for each JS template literal
    	// string interpolation expression, of braces we've seen. This is used to
    	// determine if the next } will close a JS template literal string
    	// interpolation expression or not.
    	jsBraceDepth []int
    	attr         attr
    	element      element
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 16 03:29:27 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  5. src/go/types/decl.go

    			// ignored for now
    		default:
    			panic("unreachable")
    		}
    	}
    
    	if check.conf._Trace {
    		check.trace(obj.Pos(), "## cycle detected: objPath = %s->%s (len = %d)", pathString(cycle), obj.Name(), len(cycle))
    		if tparCycle {
    			check.trace(obj.Pos(), "## cycle contains: generic type in a type parameter list")
    		} else {
    			check.trace(obj.Pos(), "## cycle contains: %d values, %d type definitions", nval, ndef)
    		}
    		defer func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 31K bytes
    - Viewed (0)
  6. src/math/rand/v2/regress_test.go

    // The text in new is of the form
    //
    //	var whatever = T{
    //		...
    //	}
    //
    // Replace searches file for an exact match for the text of the first line,
    // finds the closing brace, and then substitutes new for what used to be in the file.
    // This lets us update the regressGolden table during go test -update.
    func replace(t *testing.T, file string, new []byte) {
    	first, _, _ := bytes.Cut(new, []byte("\n"))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:03:11 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  7. src/go/build/build_test.go

    	{"$", "$"},
    	{"$$", "$$"},
    	{"${", "${"},
    	{"$}", "$}"},
    	{"$FOO ${BAR}", "$FOO ${BAR}"},
    	{"Find me the $SRCDIRECTORY.", "Find me the $SRCDIRECTORY."},
    	{"$SRCDIR is missing braces", "$SRCDIR is missing braces"},
    }
    
    func TestExpandSrcDir(t *testing.T) {
    	for _, test := range expandSrcDirTests {
    		output, _ := expandSrcDir(test.input, expandSrcDirPath)
    		if output != test.expected {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 15 16:24:01 UTC 2023
    - 23.9K bytes
    - Viewed (0)
  8. src/cmd/vendor/github.com/ianlancetaylor/demangle/demangle.go

    //	                 ::= fpT
    //
    //	<braced-expression> ::= <expression>
    //	                    ::= di <field source-name> <braced-expression>
    //	                    ::= dx <index expression> <braced-expression>
    //	                    ::= dX <range begin expression> <range end expression> <braced-expression>
    func (st *state) expression() AST {
    	if len(st.str) == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 94.1K bytes
    - Viewed (0)
  9. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/pmd/PmdPluginVersionIntegrationTest.groovy

            file("src/main/java/org/gradle/Class2.java") <<
                "package org.gradle; public class Class2 { public void doit() { boolean x = true; if (x) x = false; } }" // missing braces
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 18:47:00 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/-HostnamesCommon.kt

     */
    internal fun String.toCanonicalHost(): String? {
      val host: String = this
    
      // If the input contains a :, it’s an IPv6 address.
      if (":" in host) {
        // If the input is encased in square braces "[...]", drop 'em.
        val inetAddressByteArray =
          (
            if (host.startsWith("[") && host.endsWith("]")) {
              decodeIpv6(host, 1, host.length - 1)
            } else {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.2K bytes
    - Viewed (0)
Back to top