Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 248 for mexpr (0.11 sec)

  1. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/analysis/FunctionCallResolver.kt

    import org.gradle.declarative.dsl.schema.SchemaMemberFunction
    import org.gradle.internal.declarativedsl.analysis.FunctionCallResolver.FunctionResolutionAndBinding
    import org.gradle.internal.declarativedsl.language.Expr
    import org.gradle.internal.declarativedsl.language.FunctionArgument
    import org.gradle.internal.declarativedsl.language.FunctionCall
    import org.gradle.internal.declarativedsl.language.PropertyAccess
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 14:27:23 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/walk/complit.go

    		// Make direct reference to the static data. See issue 12841.
    		vstat := readonlystaticname(n.Type())
    		fixedlit(inInitFunction, initKindStatic, n, vstat, init)
    		return typecheck.Expr(vstat)
    	}
    	var_ := typecheck.TempAt(base.Pos, ir.CurFunc, n.Type())
    	anylit(n, var_, init)
    	return var_
    }
    
    // initContext is the context in which static data is populated.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:03:54 UTC 2023
    - 19.5K bytes
    - Viewed (0)
  3. src/regexp/regexp.go

    // that Perl, Python, and other implementations use, although this
    // package implements it without the expense of backtracking.
    // For POSIX leftmost-longest matching, see [CompilePOSIX].
    func Compile(expr string) (*Regexp, error) {
    	return compile(expr, syntax.Perl, false)
    }
    
    // CompilePOSIX is like [Compile] but restricts the regular expression
    // to POSIX ERE (egrep) syntax and changes the match semantics to
    // leftmost-longest.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:50:01 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/cel/environment/environment_test.go

    							t.Errorf("expected invalid expression to result in error")
    						}
    					}
    				})
    			}
    		})
    	}
    }
    
    func isValid(env *cel.Env, expr string, activation any) (bool, error) {
    	ast, issues := env.Compile(expr)
    	if len(issues.Errors()) > 0 {
    		return false, issues.Err()
    	}
    	prog, err := env.Program(ast)
    	if err != nil {
    		return false, err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 10K bytes
    - Viewed (0)
  5. maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4Test.java

            String expr = "/path/to/someproject-${baseVersion}";
    
            MavenProject project = createDefaultProject();
    
            ExpressionEvaluator ee = createExpressionEvaluator(project, new Properties());
    
            Object value = ee.evaluate(expr);
    
            assertEquals(expr, value);
        }
    
        @Test
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  6. src/go/doc/reader.go

    type methodSet map[string]*Func
    
    // recvString returns a string representation of recv of the form "T", "*T",
    // "T[A, ...]", "*T[A, ...]" or "BADRECV" (if not a proper receiver type).
    func recvString(recv ast.Expr) string {
    	switch t := recv.(type) {
    	case *ast.Ident:
    		return t.Name
    	case *ast.StarExpr:
    		return "*" + recvString(t.X)
    	case *ast.IndexExpr:
    		// Generic type with one parameter.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation.go

    	return hasSelectExp(ast.Expr(), "claims", "email")
    }
    
    func anyUsesEmailVerifiedClaim(results []authenticationcel.CompilationResult) bool {
    	for _, result := range results {
    		if usesEmailVerifiedClaim(result.AST) {
    			return true
    		}
    	}
    	return false
    }
    
    func usesEmailVerifiedClaim(ast *celgo.Ast) bool {
    	return hasSelectExp(ast.Expr(), "claims", "email_verified")
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 31.3K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/cgocall/cgocall.go

    	}
    	setGoVersion(tc, pkg)
    
    	// It's tempting to record the new types in the
    	// existing pass.TypesInfo, but we don't own it.
    	altInfo := &types.Info{
    		Types: make(map[ast.Expr]types.TypeAndValue),
    	}
    	tc.Check(pkg.Path(), fset, cgoFiles, altInfo)
    
    	return cgoFiles, altInfo, nil
    }
    
    // cgoBaseType tries to look through type conversions involving
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/asmdecl/asmdecl.go

    func asmCheckVar(badf func(string, ...interface{}), fn *asmFunc, line, expr string, off int, v *asmVar, archDef *asmArch) {
    	m := asmOpcode.FindStringSubmatch(line)
    	if m == nil {
    		if !strings.HasPrefix(strings.TrimSpace(line), "//") {
    			badf("cannot find assembly opcode")
    		}
    		return
    	}
    
    	addr := strings.HasPrefix(expr, "$")
    
    	// Determine operand sizes from instruction.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/printf.go

    }
    
    // stringConstantExpr returns expression's string constant value.
    //
    // ("", false) is returned if expression isn't a string
    // constant.
    func stringConstantExpr(pass *analysis.Pass, expr ast.Expr) (string, bool) {
    	lit := pass.TypesInfo.Types[expr].Value
    	if lit != nil && lit.Kind() == constant.String {
    		return constant.StringVal(lit), true
    	}
    	return "", false
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 32.5K bytes
    - Viewed (0)
Back to top