Search Options

Results per page
Sort
Preferred Languages
Advance

Results 581 - 590 of 1,557 for _values (0.09 sec)

  1. android/guava-tests/test/com/google/common/primitives/IntsTest.java

          assertThat(Ints.checkedCast((long) value)).isEqualTo(value);
        }
        assertCastFails(GREATEST + 1L);
        assertCastFails(LEAST - 1L);
        assertCastFails(Long.MAX_VALUE);
        assertCastFails(Long.MIN_VALUE);
      }
    
      public void testSaturatedCast() {
        for (int value : VALUES) {
          assertThat(Ints.saturatedCast((long) value)).isEqualTo(value);
        }
        assertThat(Ints.saturatedCast(GREATEST + 1L)).isEqualTo(GREATEST);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.2K bytes
    - Viewed (0)
  2. 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)
  3. src/main/java/org/codelibs/fess/app/web/admin/dict/synonym/AdminDictSynonymAction.java

                final VaErrorHook hook) {
            if (values.length == 0) {
                return;
            }
            for (final String value : values) {
                if (value.indexOf(',') >= 0) {
                    action.throwValidationError(messages -> {
                        messages.addErrorsInvalidStrIsIncluded(propertyName, value, ",");
                    }, hook);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 23.7K bytes
    - Viewed (1)
  4. android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

              array[i] = counter.getAndIncrement();
            }
            builder.addAll(array);
          }
        },
        ;
    
        static final BuilderOp[] values = values();
    
        static BuilderOp randomOp() {
          return values[random.nextInt(values.length)];
        }
    
        abstract void doIt(ImmutableIntArray.Builder builder, AtomicInteger counter);
      }
    
      private static final Random random = new Random(42);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/net/MediaType.java

      }
    
      private static String normalizeParameterValue(String attribute, String value) {
        checkNotNull(value); // for GWT
        checkArgument(ascii().matchesAllOf(value), "parameter values must be ASCII: %s", value);
        return attribute.equals(CHARSET_ATTRIBUTE) ? Ascii.toLowerCase(value) : value;
      }
    
      /**
       * Parses a media type from its string representation.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 48K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/FilteredKeySetMultimap.java

      public Set<V> removeAll(@Nullable Object key) {
        return (Set<V>) super.removeAll(key);
      }
    
      @Override
      public Set<V> replaceValues(@ParametricNullness K key, Iterable<? extends V> values) {
        return (Set<V>) super.replaceValues(key, values);
      }
    
      @Override
      public Set<Entry<K, V>> entries() {
        return (Set<Entry<K, V>>) super.entries();
      }
    
      @Override
      Set<Entry<K, V>> createEntries() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java

        @NullAndEmptySource
        @ValueSource(strings = { "", "share1", "\\\\server\\share", "C$", "ADMIN$", "IPC$" })
        void testConstructorWithDifferentSharenames(String sharename) {
            // Test with various sharename values
            MsrpcShareGetInfo shareGetInfo = new MsrpcShareGetInfo(testServer, sharename);
            assertNotNull(shareGetInfo);
            assertEquals(sharename, shareGetInfo.sharename);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

              array[i] = counter.getAndIncrement();
            }
            builder.addAll(array);
          }
        },
        ;
    
        static final BuilderOp[] values = values();
    
        static BuilderOp randomOp() {
          return values[random.nextInt(values.length)];
        }
    
        abstract void doIt(ImmutableLongArray.Builder builder, AtomicLong counter);
      }
    
      private static final Random random = new Random(42);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/hash/HashTestUtils.java

            random.nextBytes(value);
            for (PrimitiveSink sink : sinks) {
              sink.putBytes(value);
            }
          }
        },
        PUT_BYTES_INT_INT() {
          @Override
          void performAction(Random random, Iterable<? extends PrimitiveSink> sinks) {
            byte[] value = new byte[random.nextInt(128)];
            random.nextBytes(value);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

        //    Maps.immutableEntry(three, one), Maps.immutableEntry(one, two));
        // Set<Object> keys = map.keySet();
        // assertThat(keys).containsExactly(one, three);
        // Collection<Object> values = map.values();
        // assertThat(values).containsExactly(one, two);
    
        map.clear();
    
        assertEquals(EMPTY_STATS, cache.stats());
      }
    
      public void testNoStats() {
        CacheBuilder<Object, Object> builder =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 12.4K bytes
    - Viewed (0)
Back to top