Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for subexpressions (0.35 sec)

  1. src/regexp/regexp.go

    }
    
    // SubexpIndex returns the index of the first subexpression with the given name,
    // or -1 if there is no subexpression with that name.
    //
    // Note that multiple subexpressions can be written using the same name, as in
    // (?P<bob>a+)(?P<bob>b+), which declares two subexpressions named "bob".
    // In this case, SubexpIndex returns the index of the leftmost such subexpression
    // in the regular expression.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:50:01 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/go/cfg/cfg.go

    //
    // The blocks of the CFG contain all the function's non-control
    // statements.  The CFG does not contain control statements such as If,
    // Switch, Select, and Branch, but does contain their subexpressions;
    // also, each block records the control statement (Block.Stmt) that
    // gave rise to it and its relationship (Block.Kind) to that statement.
    //
    // For example, this source code:
    //
    //	if x := f(); x != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  3. src/regexp/syntax/regexp.go

    	}
    	(*flags)[start] = f
    	(*flags)[last] |= flagOff // maybe start==last
    }
    
    // calcFlags calculates the flags to print around each subexpression in re,
    // storing that information in (*flags)[sub] for each affected subexpression.
    // The first time an entry needs to be written to *flags, calcFlags allocates the map.
    // calcFlags also calculates the flags that must be active or can't be active
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:51 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/mod/modfile/read.go

    	case ' ', '(', ')', '[', ']', '{', '}', ',':
    		return false
    	default:
    		return !unicode.IsSpace(r) && unicode.IsPrint(r)
    	}
    }
    
    // Comment assignment.
    // We build two lists of all subexpressions, preorder and postorder.
    // The preorder list is ordered by start location, with outer expressions first.
    // The postorder list is ordered by end location, with outer expressions last.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  5. src/regexp/exec_test.go

    		//     u	standard unspecified behavior -- errors not counted
    		//     v	REG_CLASS_ESCAPE	\ special inside [...]
    		//     w	REG_NOSUB		no subexpression match array
    		//     x	REG_LENIENT		let some errors slide
    		//     y	REG_LEFT		regexec() implicit ^...
    		//     z	REG_NULL		NULL subexpressions ok
    		//     $	                        expand C \c escapes in fields 2 and 3
    		//     /	                        field 2 is a regsubcomp() expression
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:36:03 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/walk/assign.go

    	for i, lorig := range nl {
    		l, r := lorig, nr[i]
    
    		// Do not generate 'x = x' during return. See issue 4014.
    		if op == ir.ORETURN && ir.SameSafeExpr(l, r) {
    			continue
    		}
    
    		// Save subexpressions needed on left side.
    		// Drill through non-dereferences.
    		for {
    			// If an expression has init statements, they must be evaluated
    			// before any of its saved sub-operands (#45706).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:09:06 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  7. src/regexp/syntax/parse.go

    		strflags = iflags
    	}
    	sub = out
    
    	// Round 2: Factor out common simple prefixes,
    	// just the first piece of each concatenation.
    	// This will be good enough a lot of the time.
    	//
    	// Complex subexpressions (e.g. involving quantifiers)
    	// are not safe to factor because that collapses their
    	// distinct paths through the automaton, which affects
    	// correctness in some cases.
    	start = 0
    	out = sub[:0]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 13:59:01 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/_gen/generic.rules

    //  - an additional conditional can be provided after the match pattern with "&&".
    // on the generated side
    //  - the type of the top-level expression is the same as the one on the left-hand side.
    //  - the type of any subexpressions must be specified explicitly (or
    //    be specified in the op's type field).
    //  - auxint will be 0 if not specified.
    //  - aux will be nil if not specified.
    
    // blocks are specified using the following format:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 22:21:05 UTC 2024
    - 135.3K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/compile.go

    	{"insert resched checks", "lower"},
    	{"insert resched checks", "tighten"},
    
    	// prove relies on common-subexpression elimination for maximum benefits.
    	{"generic cse", "prove"},
    	// deadcode after prove to eliminate all new dead blocks.
    	{"prove", "generic deadcode"},
    	// common-subexpression before dead-store elim, so that we recognize
    	// when two address expressions are the same.
    	{"generic cse", "dse"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:55:18 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  10. internal/s3select/sql/parser.go

    // or a function call.
    type PrimaryTerm struct {
    	Value         *LitValue   `parser:"  @@"`
    	JPathExpr     *JSONPath   `parser:"| @@"`
    	ListExpr      *ListExpr   `parser:"| @@"`
    	SubExpression *Expression `parser:"| \"(\" @@ \")\""`
    	// Include function expressions here.
    	FuncCall *FuncExpr `parser:"| @@"`
    }
    
    // FuncExpr represents a function call
    type FuncExpr struct {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 12.9K bytes
    - Viewed (0)
Back to top