Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 507 for value (0.2 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. manifests/charts/base/values.yaml

        imagePullSecrets: []
    
        # Used to locate istiod.
        istioNamespace: istio-system
    
        externalIstiod: false
        remotePilotAddress: ""
    
        # Platform where Istio is deployed. Possible values are: "openshift", "gcp".
        # An empty value means it is a vanilla Kubernetes distribution, therefore no special
        # treatment will be considered.
        platform: ""
    
    Others
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 22:00:40 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  3. build-logic/documentation/src/test/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepositoryTest.groovy

        def value
    
        TestDomainObject(String value) {
            this.value = value
        }
    
        @Override
        boolean equals(Object o) {
            return o.value == value
        }
    
        @Override
        int hashCode() {
            return value.hashCode()
        }
    
        void attach(ClassMetaDataRepository<TestDomainObject> repository) {
        }
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Sat Apr 06 02:21:33 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  4. tests/preload_test.go

    	DB.Migrator().AutoMigrate(&Preload{}, &Join{}, &Nested{}, &Value{})
    
    	value1 := Value{
    		Name: "value",
    		Nested: Nested{
    			Preloads: []*Preload{
    				{Value: "p1"}, {Value: "p2"},
    			},
    			Join: Join{Value: "j1"},
    		},
    	}
    	value2 := Value{
    		Name: "value2",
    		Nested: Nested{
    			Preloads: []*Preload{
    				{Value: "p3"}, {Value: "p4"}, {Value: "p5"},
    			},
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Thu Apr 25 12:21:03 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  5. 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)
  6. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

                newEntry(segment, entry.key, entry.hash, newNext);
            newEntry.value = entry.value;
            return newEntry;
          }
    
          @Override
          public void setValue(
              StrongKeyStrongValueSegment<K, V> segment,
              StrongKeyStrongValueEntry<K, V> entry,
              V value) {
            entry.value = value;
          }
    
          @Override
          public StrongKeyStrongValueEntry<K, V> newEntry(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

        return generateListMultimap(key, value);
      }
    
      @Generates
      static <K, V> ImmutableMultimap<K, V> generateImmutableMultimap(K key, V value) {
        return ImmutableMultimap.of(key, value);
      }
    
      @Generates
      static <K, V> ListMultimap<K, V> generateListMultimap(@Nullable K key, @Nullable V value) {
        return generateArrayListMultimap(key, value);
      }
    
      @Generates
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28.6K bytes
    - Viewed (0)
  8. migrator/migrator.go

    }
    
    // AutoMigrate auto migrate values
    func (m Migrator) AutoMigrate(values ...interface{}) error {
    	for _, value := range m.ReorderModels(values, true) {
    		queryTx, execTx := m.GetQueryAndExecTx()
    		if !queryTx.Migrator().HasTable(value) {
    			if err := execTx.Migrator().CreateTable(value); err != nil {
    				return err
    			}
    		} else {
    			if err := m.RunWithValue(value, func(stmt *gorm.Statement) error {
    
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Fri Apr 26 07:15:49 GMT 2024
    - 29K bytes
    - Viewed (0)
  9. 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)
  10. .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)
Back to top