Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 2,871 for value (0.04 sec)

  1. callbacks/helper_test.go

    				Columns: []clause.Column{{Name: "age"}},
    				Values:  [][]interface{}{{18}},
    			},
    		},
    		{
    			name: "Test convert float value",
    			input: map[string]interface{}{
    				"score": 99.5,
    			},
    			expect: clause.Values{
    				Columns: []clause.Column{{Name: "score"}},
    				Values:  [][]interface{}{{99.5}},
    			},
    		},
    		{
    			name: "Test convert bool value",
    			input: map[string]interface{}{
    				"active": true,
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Mar 05 02:22:57 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractorTest.java

            list.add("a-value");
            Object value = new ValueHolder(list);
    
            assertNull(ReflectionValueExtractor.evaluate("h.value[", value));
            assertNull(ReflectionValueExtractor.evaluate("h.value[]", value));
            assertNull(ReflectionValueExtractor.evaluate("h.value[a]", value));
            assertNull(ReflectionValueExtractor.evaluate("h.value[0", value));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  3. internal/config/config.go

    	}
    	return newCfgKVS
    }
    
    // Set sets a value, if not sets a default value.
    func (kvs *KVS) Set(key, value string) {
    	for i, kv := range *kvs {
    		if kv.Key == key {
    			(*kvs)[i] = KV{
    				Key:   key,
    				Value: value,
    			}
    			return
    		}
    	}
    	*kvs = append(*kvs, KV{
    		Key:   key,
    		Value: value,
    	})
    }
    
    // Get - returns the value of a key, if not found returns empty.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/cache/CacheReferencesTest.java

      }
    
      // A simple type whose .toString() will return the same value each time, but without maintaining
      // a strong reference to that value.
      static class Key {
        private final int value;
        private WeakReference<String> toString;
    
        Key(int value) {
          this.value = value;
        }
    
        @Override
        public synchronized String toString() {
          String s;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/log/allcommon/EsAbstractConditionQuery.java

            if (value == null || (value instanceof String && ((String) value).isEmpty())) {
                String msg = "Cannot register null or empty query: name=" + name + " value=" + value;
                throw new InvalidQueryRegisteredException(msg);
            }
        }
    
        protected void checkEsInvalidQueryCollection(String name, Collection<?> values) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/collect/MultisetIteratorBenchmark.java

        while (sizeRemaining > 0) {
          // The JVM will return interned values for small ints.
          Integer value = random.nextInt(1000) + 128;
          int count = min(random.nextInt(10) + 1, sizeRemaining);
          sizeRemaining -= count;
          hashMultiset.add(value, count);
          linkedHashMultiset.add(value, count);
          treeMultiset.add(value, count);
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. guava-tests/benchmark/com/google/common/collect/MultisetIteratorBenchmark.java

        while (sizeRemaining > 0) {
          // The JVM will return interned values for small ints.
          Integer value = random.nextInt(1000) + 128;
          int count = min(random.nextInt(10) + 1, sizeRemaining);
          sizeRemaining -= count;
          hashMultiset.add(value, count);
          linkedHashMultiset.add(value, count);
          treeMultiset.add(value, count);
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. tests/scanner_valuer_test.go

    }
    
    type StringsSlice []string
    
    func (l StringsSlice) Value() (driver.Value, error) {
    	bytes, err := json.Marshal(l)
    	return string(bytes), err
    }
    
    func (l *StringsSlice) Scan(input interface{}) error {
    	switch value := input.(type) {
    	case string:
    		return json.Unmarshal([]byte(value), l)
    	case []byte:
    		return json.Unmarshal(value, l)
    	default:
    		return errors.New("not supported")
    	}
    }
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 07 07:02:07 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  9. src/main/config/eclipse/formatter/java.xml

    <setting id="org.eclipse.jdt.core.formatter.disabling_tag" value="@formatter:off"/>
    <setting id="org.eclipse.jdt.core.formatter.continuation_indentation" value="2"/>
    <setting id="org.eclipse.jdt.core.formatter.alignment_for_enum_constants" value="0"/>
    <setting id="org.eclipse.jdt.core.formatter.blank_lines_before_imports" value="1"/>
    <setting id="org.eclipse.jdt.core.formatter.blank_lines_after_package" value="1"/>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Sep 17 06:39:42 UTC 2017
    - 30.5K bytes
    - Viewed (0)
  10. 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"},
    			},
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:00:47 UTC 2024
    - 15.9K bytes
    - Viewed (0)
Back to top