Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 482 for Value (0.17 sec)

  1. tests/default_value_test.go

    	DB.Migrator().DropTable(&Harumph{})
    
    	if err := DB.AutoMigrate(&Harumph{}); err != nil {
    		t.Fatalf("Failed to migrate with default value, got error: %v", err)
    	}
    
    	harumph := Harumph{Email: "******@****.***"}
    	if err := DB.Create(&harumph).Error; err != nil {
    		t.Fatalf("Failed to create data with default value, got error: %v", err)
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Apr 08 03:29:55 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  2. migrator/migrator.go

    // RunWithValue run migration with statement value
    func (m Migrator) RunWithValue(value interface{}, fc func(*gorm.Statement) error) error {
    	stmt := &gorm.Statement{DB: m.DB}
    	if m.DB.Statement != nil {
    		stmt.Table = m.DB.Statement.Table
    		stmt.TableExpr = m.DB.Statement.TableExpr
    	}
    
    	if table, ok := value.(string); ok {
    		stmt.Table = table
    	} else if err := stmt.ParseWithSpecialTableName(value, stmt.Table); err != nil {
    		return err
    	}
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Fri Apr 26 07:15:49 GMT 2024
    - 29K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/AtomicLongMap.java

        return result;
      }
    
      /**
       * Returns the value associated with {@code key}, or zero if there is no value associated with
       * {@code key}.
       */
      public long get(K key) {
        AtomicLong atomic = map.get(key);
        return atomic == null ? 0L : atomic.get();
      }
    
      /**
       * Increments by one the value currently associated with {@code key}, and returns the new value.
       */
      @CanIgnoreReturnValue
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  4. .idea/kotlinTestDataPluginTestDataPaths.xml

            <option value="$PROJECT_DIR$/compiler/testData" />
            <option value="$PROJECT_DIR$/compiler/fir/analysis-tests/testData" />
            <option value="$PROJECT_DIR$/compiler/tests-spec/testData" />
            <option value="$PROJECT_DIR$/js/js.translator/testData" />
            <option value="$PROJECT_DIR$/compiler/fir/raw-fir/psi2fir/testData" />
            <option value="$PROJECT_DIR$/plugins/allopen/testData" />
    XML
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 08:18:44 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  5. clause/where_test.go

    			}},
    			"SELECT * FROM `users` WHERE `users`.`id` = ? OR `name` <> ? AND `age` > ?",
    			[]interface{}{"1", "jinzhu", 18},
    		},
    		{
    			[]clause.Interface{clause.Select{}, clause.From{}, clause.Where{
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Thu Apr 25 12:22:53 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  6. internal/config/api/api.go

    			Value: "5m",
    		},
    		config.KV{
    			Key:           apiDisableODirect,
    			Value:         "",
    			HiddenIfEmpty: true,
    		},
    		config.KV{
    			Key:   apiODirect,
    			Value: config.EnableOn,
    		},
    		config.KV{
    			Key:   apiGzipObjects,
    			Value: config.EnableOff,
    		},
    		config.KV{
    			Key:   apiRootAccess,
    			Value: config.EnableOn,
    		},
    		config.KV{
    			Key:   apiSyncEvents,
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Mar 28 01:08:07 GMT 2024
    - 11.1K bytes
    - Viewed (1)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirAnnotationValueConverter.kt

            val constantValue = when {
                value == null -> KtConstantValue.KtNullConstantValue(expression)
                type == null -> KtConstantValueFactory.createConstantValue(value, psi as? KtElement)
                type.isBoolean -> KtConstantValue.KtBooleanConstantValue(value as Boolean, expression)
                type.isChar -> KtConstantValue.KtCharConstantValue((value as? Char) ?: (value as Number).toInt().toChar(), expression)
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 07:15:56 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  8. schema/field.go

    	switch {
    	case len(field.StructField.Index) == 1 && fieldIndex > 0:
    		field.ReflectValueOf = func(ctx context.Context, value reflect.Value) reflect.Value {
    			return reflect.Indirect(value).Field(fieldIndex)
    		}
    	default:
    		field.ReflectValueOf = func(ctx context.Context, v reflect.Value) reflect.Value {
    			v = reflect.Indirect(v)
    			for idx, fieldIdx := range field.StructField.Index {
    				if fieldIdx >= 0 {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 32K bytes
    - Viewed (1)
  9. guava/src/com/google/common/base/Suppliers.java

      private Suppliers() {}
    
      /**
       * Returns a new supplier which is the composition of the provided function and supplier. In other
       * words, the new supplier's value will be computed by retrieving the value from {@code supplier},
       * and then applying {@code function} to that value. Note that the resulting supplier will not
       * call {@code supplier} or invoke {@code function} until it is called.
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java

        /**
         * Get the value for the key 'search_engine.password'. <br>
         * The value is, e.g.  <br>
         * @return The value of found property. (NotNull: if not found, exception but basically no way)
         */
        String getSearchEnginePassword();
    
        /**
         * Get the value for the key 'search_engine.password' as {@link Integer}. <br>
         * The value is, e.g.  <br>
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Apr 11 02:34:53 GMT 2024
    - 459.2K bytes
    - Viewed (4)
Back to top