Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 270 for expressions (0.11 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/ProfileActivationFilePathInterpolator.java

            if (basedir != null) {
                interpolator.addValueSource(new AbstractValueSource(false) {
                    @Override
                    public Object getValue(String expression) {
                        if ("basedir".equals(expression) || "project.basedir".equals(expression)) {
                            return basedir.getAbsolutePath();
                        }
                        return null;
                    }
                });
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. clause/group_by_test.go

    				Columns: []clause.Column{{Name: "role"}},
    				Having:  []clause.Expression{clause.Eq{"role", "admin"}},
    			}},
    			"SELECT * FROM `users` GROUP BY `role` HAVING `role` = ?",
    			[]interface{}{"admin"},
    		},
    		{
    			[]clause.Interface{clause.Select{}, clause.From{}, clause.GroupBy{
    				Columns: []clause.Column{{Name: "role"}},
    				Having:  []clause.Expression{clause.Eq{"role", "admin"}},
    			}, clause.GroupBy{
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/PathTranslatingPostProcessor.java

            this.projectDir = projectDir;
            this.pathTranslator = pathTranslator;
        }
    
        public Object execute(String expression, Object value) {
            expression = ValueSourceUtils.trimPrefix(expression, expressionPrefixes, true);
    
            if (projectDir != null && value != null && unprefixedPathKeys.contains(expression)) {
                return pathTranslator.alignToBaseDirectory(String.valueOf(value), projectDir);
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. soft_delete.go

    		if c, ok := stmt.Clauses["WHERE"]; ok {
    			if where, ok := c.Expression.(clause.Where); ok && len(where.Exprs) >= 1 {
    				for _, expr := range where.Exprs {
    					if orCond, ok := expr.(clause.OrConditions); ok && len(orCond.Exprs) == 1 {
    						where.Exprs = []clause.Expression{clause.And(where.Exprs...)}
    						c.Expression = where
    						stmt.Clauses["WHERE"] = c
    						break
    					}
    				}
    			}
    		}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Feb 01 06:40:55 UTC 2023
    - 4.5K bytes
    - Viewed (1)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/PathTranslatingPostProcessor.java

            this.pathTranslator = pathTranslator;
        }
    
        @Override
        public Object execute(String expression, Object value) {
            if (value != null) {
                expression = ValueSourceUtils.trimPrefix(expression, expressionPrefixes, true);
    
                if (unprefixedPathKeys.contains(expression)) {
                    return pathTranslator.alignToBaseDirectory(String.valueOf(value), projectDir);
                }
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. clause/benchmarks_test.go

    		clauses := []clause.Interface{
    			clause.Select{},
    			clause.From{},
    			clause.Where{Exprs: []clause.Expression{
    				clause.Eq{Column: clause.PrimaryColumn, Value: "1"},
    				clause.Gt{Column: "age", Value: 18},
    				clause.Or(clause.Neq{Column: "name", Value: "jinzhu"}),
    			}},
    			clause.Where{Exprs: []clause.Expression{
    				clause.Or(clause.Gt{Column: "score", Value: 100}, clause.Like{Column: "name", Value: "%linus%"}),
    			}},
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Oct 07 12:14:14 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/Challenge.kt

      @JvmName("-deprecated_scheme")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "scheme"),
        level = DeprecationLevel.ERROR,
      )
      fun scheme(): String = scheme
    
      @JvmName("-deprecated_authParams")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "authParams"),
        level = DeprecationLevel.ERROR,
      )
      fun authParams(): Map<String?, String> = authParams
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. CHANGELOG/CHANGELOG-1.26.md

    ## Changelog since v1.26.8
    
    ## Changes by Kind
    
    ### API Change
    
    - Fixed a bug where CEL expressions in CRD validation rules would incorrectly compute a high estimated cost for functions that return strings, lists or maps.
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Thu Mar 14 16:24:51 UTC 2024
    - 425.7K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/BuildTimestampValueSource.java

            super(false);
            this.startTime = startTime;
            this.format = format;
        }
    
        public Object getValue(String expression) {
            if ("build.timestamp".equals(expression) || "maven.build.timestamp".equals(expression)) {
                if (formattedDate == null && startTime != null) {
                    formattedDate = new SimpleDateFormat(format).format(startTime);
                }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/BuildTimestampValueSource.java

            super(false);
            this.startTime = startTime;
            this.properties = properties;
        }
    
        @Override
        public Object getValue(String expression) {
            if ("build.timestamp".equals(expression) || "maven.build.timestamp".equals(expression)) {
                return new MavenBuildTimestamp(startTime, properties).formattedTimestamp();
            }
            return null;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top