Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for parseLong (0.06 seconds)

  1. guava-tests/test/com/google/common/collect/SpecialRandom.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static java.lang.Long.parseLong;
    
    import java.util.Random;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Utility class for being able to seed a {@link Random} value with a passed in seed from a
     * benchmark parameter.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 16:38:16 GMT 2026
    - 1.5K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/cache/CacheBuilderSpec.java

        abstract void parseLong(CacheBuilderSpec spec, long value);
    
        @Override
        public void parse(CacheBuilderSpec spec, String key, @Nullable String value) {
          if (isNullOrEmpty(value)) {
            throw new IllegalArgumentException("value of key " + key + " omitted");
          }
          try {
            parseLong(spec, Long.parseLong(value));
          } catch (NumberFormatException e) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 18.2K bytes
    - Click Count (0)
  3. guava/src/com/google/common/cache/CacheBuilderSpec.java

        abstract void parseLong(CacheBuilderSpec spec, long value);
    
        @Override
        public void parse(CacheBuilderSpec spec, String key, @Nullable String value) {
          if (isNullOrEmpty(value)) {
            throw new IllegalArgumentException("value of key " + key + " omitted");
          }
          try {
            parseLong(spec, Long.parseLong(value));
          } catch (NumberFormatException e) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 18.2K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/primitives/UnsignedInts.java

    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.base.Preconditions.checkPositionIndexes;
    import static java.lang.Long.parseLong;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.Arrays;
    import java.util.Comparator;
    
    /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 16:38:16 GMT 2026
    - 13.9K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

            assertTrue(instanceId.contains(":"), "instanceId should contain ':' separator for PID");
            final String pidPart = instanceId.substring(instanceId.lastIndexOf(':') + 1);
            assertTrue(Long.parseLong(pidPart) > 0, "PID should be a positive number");
        }
    
        @Test
        public void test_isEoled() {
            assertEquals(systemHelper.getCurrentTimeAsLong() > systemHelper.eolTime, systemHelper.isEoled());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 44.4K bytes
    - Click Count (0)
Back to Top