Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 312 for EXPRESSION (0.09 seconds)

  1. tests/chainable_api_test.go

    	}
    
    	// Where
    	tx = tx.Where("age = ?", 20)
    	c, ok := tx.Statement.Clauses["WHERE"]
    	if !ok {
    		t.Fatalf("WHERE clause expected")
    	}
    	if where, ok := c.Expression.(clause.Where); !ok || len(where.Exprs) == 0 {
    		t.Fatalf("WHERE expressions expected, got %v", c.Expression)
    	}
    
    	// Order
    	tx = tx.Order("name DESC")
    	if _, ok := tx.Statement.Clauses["ORDER BY"]; !ok {
    		t.Fatalf("ORDER BY clause expected")
    	}
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Jan 31 08:39:40 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  2. clause/update.go

    	}
    }
    
    // MergeClause merge update clause
    func (update Update) MergeClause(clause *Clause) {
    	if v, ok := clause.Expression.(Update); ok {
    		if update.Modifier == "" {
    			update.Modifier = v.Modifier
    		}
    		if update.Table.Name == "" {
    			update.Table = v.Table
    		}
    	}
    	clause.Expression = update
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Mar 09 09:07:00 GMT 2020
    - 737 bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/script/groovy/GroovyEngineTest.java

         */
        @Test
        public void test_evaluate_implicitReturn() {
            final Map<String, Object> params = new HashMap<>();
            params.put("x", 5);
            // In Groovy, the last expression is implicitly returned
            assertEquals(10, groovyEngine.evaluate("x * 2", params));
        }
    
        // ===== Audit Log Tests =====
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 06:03:38 GMT 2026
    - 29.1K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/math/IntMath.java

       * a signed int. The implementation is branch-free, and benchmarks suggest it is measurably (if
       * narrowly) faster than the straightforward ternary expression.
       */
      @VisibleForTesting
      static int lessThanBranchFree(int x, int y) {
        // The double negation is optimized away by normal Java, but is necessary for GWT
        // to make sure bit twiddling works as expected.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 26.1K bytes
    - Click Count (0)
  5. guava/src/com/google/common/base/Ascii.java

       * return {@code false}.
       */
      public static boolean isLowerCase(char c) {
        // Note: This was benchmarked against the alternate expression "(char)(c - 'a') < 26" (Nov '13)
        // and found to perform at least as well, or better.
        return (c >= 'a') && (c <= 'z');
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 21.7K bytes
    - Click Count (0)
  6. api/maven-api-settings/src/main/mdo/settings.mdo

              <name>mirrorOf</name>
              <required>true</required>
              <version>1.0.0+</version>
              <type>String</type>
              <description>
                <![CDATA[
                A repository id or an expression matching one or many repository ids to mirror, e.g.,
                <code>central</code> or <code>*,!repo1</code>.
                <code>*</code>, <code>external:*</code> and <code>external:http:*</code> (since Maven 3.8.0) have
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun May 18 09:15:56 GMT 2025
    - 33.8K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb/SmbFile.java

         * the names and the server does not have to return all directory
         * entries.
         * <p>
         * The wildcard expression may consist of two special meta
         * characters in addition to the normal filename characters. The '*'
         * character matches any number of characters in part of a name. If
         * the expression begins with one or more '?'s then exactly that
         * many characters will be matched whereas if it ends with '?'s
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 103.2K bytes
    - Click Count (0)
  8. callbacks/helper.go

    		}
    	}
    	return
    }
    
    func hasReturning(tx *gorm.DB, supportReturning bool) (bool, gorm.ScanMode) {
    	if supportReturning {
    		if c, ok := tx.Statement.Clauses["RETURNING"]; ok {
    			returning, _ := c.Expression.(clause.Returning)
    			if len(returning.Columns) == 0 || (len(returning.Columns) == 1 && returning.Columns[0].Name == "*") {
    				return true, 0
    			}
    			return true, gorm.ScanUpdate
    		}
    	}
    	return false, 0
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Thu Apr 14 12:32:57 GMT 2022
    - 3.7K bytes
    - Click Count (0)
  9. docs/ru/docs/advanced/openapi-callbacks.md

    ### Выражение пути для обратного вызова { #the-callback-path-expression }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 12.4K bytes
    - Click Count (0)
  10. callbacks/update.go

    					stmt.AddClause(clause.Where{Exprs: []clause.Expression{clause.IN{Column: column, Values: values}}})
    				}
    			}
    		case reflect.Struct:
    			for _, field := range stmt.Schema.PrimaryFields {
    				if value, isZero := field.ValueOf(stmt.Context, stmt.ReflectValue); !isZero {
    					stmt.AddClause(clause.Where{Exprs: []clause.Expression{clause.Eq{Column: field.DBName, Value: value}}})
    				}
    			}
    		}
    	}
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sun May 25 07:40:40 GMT 2025
    - 9.6K bytes
    - Click Count (0)
Back to Top