Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 892 for value_b (0.04 sec)

  1. 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)
  2. src/test/java/org/codelibs/core/collection/ArrayUtilTest.java

         */
        @Test
        public void testSetArrayValue() throws Exception {
            final Object o = Array.newInstance(int.class, 3);
            Array.set(o, 0, Integer.valueOf(1));
            Array.set(o, 1, Integer.valueOf(2));
            Array.set(o, 2, Integer.valueOf(3));
            final int[] num = (int[]) o;
            assertArrayEquals(new int[] { 1, 2, 3 }, num);
        }
    
        /**
         * @throws Exception
         */
        @Test
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/score/ScoreUpdaterTest.java

            List<Integer> executionOrder = PriorityTrackingBooster.getExecutionOrder();
            assertEquals(3, executionOrder.size());
            assertEquals(Integer.valueOf(3), executionOrder.get(0));
            assertEquals(Integer.valueOf(2), executionOrder.get(1));
            assertEquals(Integer.valueOf(1), executionOrder.get(2));
        }
    
        // Test addScoreBooster with same priorities
        public void test_addScoreBooster_samePriority() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/DoublesTest.java

        assertThat(Doubles.indexOf(new double[] {4.0, 3.0, 2.0}, new double[] {2.0, 3.0, 4.0}))
            .isEqualTo(-1);
    
        for (double value : NUMBERS) {
          assertWithMessage("" + value)
              .that(Doubles.indexOf(new double[] {5.0, value, value, 5.0}, new double[] {value, value}))
              .isEqualTo(1);
        }
        assertThat(Doubles.indexOf(new double[] {5.0, NaN, NaN, 5.0}, new double[] {NaN, NaN}))
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.9K bytes
    - Viewed (0)
  5. guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

        assertEquals(Integer.valueOf(0), ArbitraryInstances.get(int.class));
        assertEquals(Integer.valueOf(0), ArbitraryInstances.get(Integer.class));
        assertEquals(Long.valueOf(0), ArbitraryInstances.get(long.class));
        assertEquals(Long.valueOf(0), ArbitraryInstances.get(Long.class));
        assertEquals(Float.valueOf(0), ArbitraryInstances.get(float.class));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/convert/LongConversionUtil.java

            case java.util.Date d -> pattern != null ? Long.valueOf(new SimpleDateFormat(pattern).format(d)) : d.getTime();
            case Boolean b -> b ? 1L : 0L;
            default -> toLong(o.toString());
            };
        }
    
        private static Long toLong(final String s) {
            if (StringUtil.isEmpty(s)) {
                return null;
            }
            return Long.valueOf(DecimalFormatUtil.normalize(s));
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Defaults.java

            return (T) Character.valueOf('\0');
          } else if (type == byte.class) {
            return (T) Byte.valueOf((byte) 0);
          } else if (type == short.class) {
            return (T) Short.valueOf((short) 0);
          } else if (type == int.class) {
            return (T) Integer.valueOf(0);
          } else if (type == long.class) {
            return (T) Long.valueOf(0L);
          } else if (type == float.class) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/MoreObjects.java

          } else if (value instanceof OptionalInt) {
            return !((OptionalInt) value).isPresent();
          } else if (value instanceof OptionalLong) {
            return !((OptionalLong) value).isPresent();
          } else if (value instanceof OptionalDouble) {
            return !((OptionalDouble) value).isPresent();
          } else if (value instanceof Optional) {
            return !((Optional) value).isPresent();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/dict/stopwords/ApiAdminDictStopwordsAction.java

                throwValidationErrorApi(messages -> messages.addErrorsCrudFailedToUpdateCrudTable(GLOBAL, String.valueOf(body.id)));
                return null;
            }).orElseGet(() -> {
                throwValidationErrorApi(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, String.valueOf(body.id)));
                return null;
            });
            stopwordsService.store(body.dictId, entity);
            return asJson(
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

        assertThat(Floats.indexOf(new float[] {4.0f, 3.0f, 2.0f}, new float[] {2.0f, 3.0f, 4.0f}))
            .isEqualTo(-1);
    
        for (float value : NUMBERS) {
          assertWithMessage("" + value)
              .that(Floats.indexOf(new float[] {5f, value, value, 5f}, new float[] {value, value}))
              .isEqualTo(1);
        }
        assertThat(Floats.indexOf(new float[] {5f, NaN, NaN, 5f}, new float[] {NaN, NaN}))
            .isEqualTo(-1);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.4K bytes
    - Viewed (0)
Back to top