Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,789 for value3 (0.05 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/test/java/org/codelibs/curl/CurlRequestTest.java

        }
    
        @Test
        public void testParamMethod() {
            CurlRequest request = new CurlRequest(Method.GET, "https://example.com");
    
            CurlRequest result = request.param("key1", "value1").param("key2", "value2");
    
            assertSame(request, result); // Fluent API
        }
    
        @Test
        public void testParamWithNullValue() {
            CurlRequest request = new CurlRequest(Method.GET, "https://example.com");
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/HeadersJvmTest.kt

            .add("\tkey\t:\tvalue\t") // '\t' also counts as whitespace
            .add("ping:  pong  ") // Value whitespace is trimmed.
            .add("kit:kat") // Space after colon is not required.
            .build()
        assertThat(headers.values("foo")).containsExactly("bar", "baz", "bak")
        assertThat(headers.values("key")).containsExactly("value")
        assertThat(headers.values("ping")).containsExactly("pong")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:51:25 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

        builder.put("key", "value");
        assertThat(builder.build().entries()).containsExactly(Maps.immutableEntry("key", "value"));
      }
    
      public void testBuilderWithExpectedKeysPositive() {
        ImmutableSetMultimap.Builder<String, String> builder =
            ImmutableSetMultimap.builderWithExpectedKeys(1);
        builder.put("key", "value");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/timer/MonitorTargetTest.java

            double[] values = {};
            Supplier<Object> supplier = () -> values;
    
            monitorTarget.append(buf, "emptyArrayKey", supplier);
            assertEquals("\"emptyArrayKey\":[]", buf.toString());
        }
    
        // Test append method with String value
        public void test_append_stringValue() {
            StringBuilder buf = new StringBuilder();
            Supplier<Object> supplier = () -> "test string";
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/entity/RequestParameter.java

        private final String name;
    
        /** The array of values associated with this parameter. */
        private final String[] values;
    
        /**
         * Constructs a new RequestParameter with the specified name and values.
         *
         * @param name the name of the parameter, must not be null
         * @param values the array of values for this parameter, can be null or empty
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/query/BoostQueryCommandTest.java

            BooleanQuery.Builder boolBuilder = new BooleanQuery.Builder();
            boolBuilder.add(new TermQuery(new Term("field1", "value1")), BooleanClause.Occur.MUST);
            boolBuilder.add(new TermQuery(new Term("field2", "value2")), BooleanClause.Occur.SHOULD);
            BooleanQuery boolQuery = boolBuilder.build();
            BoostQuery boostQuery = new BoostQuery(boolQuery, 2.0f);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/stream/StreamUtilTest.java

    public class StreamUtilTest extends TestCase {
    
        public void test_ofValues() {
            String[] values = { "value1", "value2" };
            StreamUtil.stream(values[0], values[1]).of(s -> {
                Object[] array = s.toArray();
                for (int i = 0; i < 2; i++) {
                    assertEquals(values[i], array[i]);
                }
            });
        }
    
        public void test_ofNull() {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.7K bytes
    - Viewed (0)
Back to top