Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 2,781 for value0 (0.48 sec)

  1. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

        checkNotNull(value2);
        checkArgument(!Objects.equals(value1, value2), "Duplicate value provided.");
        distinctValues.replaceValues(type, ImmutableList.of(value1, value2));
        setDefault(type, value1);
        return this;
      }
    
      /**
       * Tests that {@code cls} properly checks null on all constructor and method parameters that
       * aren't annotated nullable (according to the rules of {@link NullPointerTester}). In details:
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/job/ExecJobTest.java

            System.setProperty("custom.prop.one", "value1");
            System.setProperty("custom.prop.two", "value2");
            System.setProperty("other.property", "value3");
    
            // Test with regex pattern
            execJob.testAddFessCustomSystemProperties(cmdList, "custom\\.prop\\..*");
    
            assertEquals(2, cmdList.size());
            assertTrue(cmdList.contains("-Dcustom.prop.one=value1"));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableMap.java

        }
    
        static final class DuplicateKey {
          private final Object key;
          private final Object value1;
          private final Object value2;
    
          DuplicateKey(Object key, Object value1, Object value2) {
            this.key = key;
            this.value1 = value1;
            this.value2 = value2;
          }
    
          IllegalArgumentException exception() {
            return new IllegalArgumentException(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 41.2K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/query/BooleanQueryCommandTest.java

            BooleanQuery.Builder boolQueryBuilder = new BooleanQuery.Builder();
            TermQuery termQuery1 = new TermQuery(new Term("field1", "value1"));
            TermQuery termQuery2 = new TermQuery(new Term("field2", "value2"));
            TermQuery termQuery3 = new TermQuery(new Term("field3", "value3"));
    
            boolQueryBuilder.add(termQuery1, BooleanClause.Occur.MUST);
            boolQueryBuilder.add(termQuery2, BooleanClause.Occur.SHOULD);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        private @Nullable V value;
        boolean loading = false;
    
        public DummyValueReference() {
          this.loading = true;
        }
    
        public DummyValueReference(V value) {
          this.value = value;
        }
    
        public static <K, V> DummyValueReference<K, V> create(V value) {
          return new DummyValueReference<>(value);
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 110.5K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

      /**
       * Sets two distinct values for {@code type}. These values can be used for both null pointer
       * testing and equals testing.
       *
       * @since 17.0
       */
      protected final <T> void setDistinctValues(Class<T> type, T value1, T value2) {
        tester.setDistinctValues(type, value1, value2);
      }
    
      /** Specifies that classes that satisfy the given predicate aren't tested for sanity. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  7. clause/expression.go

    	builder.AddVar(builder, like.Value)
    }
    
    func (like Like) NegationBuild(builder Builder) {
    	builder.WriteQuoted(like.Column)
    	builder.WriteString(" NOT LIKE ")
    	builder.AddVar(builder, like.Value)
    }
    
    func eqNil(value interface{}) bool {
    	if valuer, ok := value.(driver.Valuer); ok && !eqNilReflect(valuer) {
    		value, _ = valuer.Value()
    	}
    
    	return value == nil || eqNilReflect(value)
    }
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Oct 10 06:45:48 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/entity/SearchRequestParamsTest.java

            request.setParameterValues("test", new String[] { "value1", "value2", "value1" });
            String[] result = SearchRequestParams.getParamValueArray(request, "test");
            assertEquals(2, result.length);
            assertEquals("value1", result[0]);
            assertEquals("value2", result[1]);
        }
    
        public void test_getParamValueArray_withNullParam() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.2K bytes
    - Viewed (0)
  9. statement.go

    						// optimize reflect value length
    						valueLen := reflectValue.Len()
    						values := make([]interface{}, valueLen)
    						for i := 0; i < valueLen; i++ {
    							values[i] = reflectValue.Index(i).Interface()
    						}
    
    						if len(values) > 0 {
    							conds = append(conds, clause.IN{Column: clause.Column{Table: curTable, Name: clause.PrimaryKey}, Values: values})
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  10. utils/utils.go

    			return true
    		}
    	}
    	return false
    }
    
    func ToStringKey(values ...interface{}) string {
    	results := make([]string, len(values))
    
    	for idx, value := range values {
    		if valuer, ok := value.(driver.Valuer); ok {
    			value, _ = valuer.Value()
    		}
    
    		switch v := value.(type) {
    		case string:
    			results[idx] = v
    		case []byte:
    			results[idx] = string(v)
    		case uint:
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Aug 22 11:03:42 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top