Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 59 for locale (0.41 sec)

  1. guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

    import java.util.Currency;
    import java.util.HashMap;
    import java.util.HashSet;
    import java.util.LinkedHashMap;
    import java.util.LinkedHashSet;
    import java.util.LinkedList;
    import java.util.List;
    import java.util.Locale;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.NavigableMap;
    import java.util.NavigableSet;
    import java.util.Optional;
    import java.util.OptionalDouble;
    import java.util.OptionalInt;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 18.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Ascii.java

       *   <li>it does not consider word boundaries
       *   <li>if truncating for display to users, there are other considerations that must be taken
       *       into account
       *   <li>the appropriate truncation indicator may be locale-dependent
       *   <li>it is safe to use non-ASCII characters in the truncation indicator
       * </ul>
       *
       * @throws IllegalArgumentException if {@code maxLength} is less than the length of {@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jul 19 15:43:07 GMT 2021
    - 21.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

          }
          remainingNanos = endNanos - System.nanoTime();
        }
    
        String futureToString = toString();
        final String unitString = unit.toString().toLowerCase(Locale.ROOT);
        String message = "Waited " + timeout + " " + unit.toString().toLowerCase(Locale.ROOT);
        // Only report scheduling delay if larger than our spin threshold - otherwise it's just noise
        if (remainingNanos + SPIN_THRESHOLD_NANOS < 0) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

    import java.lang.reflect.Method;
    import java.util.ArrayDeque;
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.HashMap;
    import java.util.LinkedHashSet;
    import java.util.List;
    import java.util.Locale;
    import java.util.Map;
    import java.util.Queue;
    import java.util.Set;
    
    /**
     * Utilities for collecting and validating tester requirements from annotations.
     *
     * @author George van den Driessche
     */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 21 15:08:35 GMT 2022
    - 12.1K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/GcFinalization.java

    import com.google.common.annotations.J2ktIncompatible;
    import com.google.errorprone.annotations.DoNotMock;
    import com.google.j2objc.annotations.J2ObjCIncompatible;
    import java.lang.ref.WeakReference;
    import java.util.Locale;
    import java.util.concurrent.CancellationException;
    import java.util.concurrent.CountDownLatch;
    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.Future;
    import java.util.concurrent.TimeoutException;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/net/InetAddresses.java

    import java.net.Inet4Address;
    import java.net.Inet6Address;
    import java.net.InetAddress;
    import java.net.UnknownHostException;
    import java.nio.ByteBuffer;
    import java.util.Arrays;
    import java.util.Locale;
    import javax.annotation.CheckForNull;
    
    /**
     * Static utility methods pertaining to {@link InetAddress} instances.
     *
     * <p><b>Important note:</b> Unlike {@code InetAddress.getByName()}, the methods of this class never
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
  7. android/guava/src/com/google/common/eventbus/EventBus.java

    import com.google.common.base.MoreObjects;
    import com.google.common.util.concurrent.MoreExecutors;
    import java.lang.reflect.Method;
    import java.util.Iterator;
    import java.util.Locale;
    import java.util.concurrent.Executor;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    
    /**
     * Dispatches events to listeners, and provides ways for listeners to register themselves.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Aug 25 16:37:57 GMT 2021
    - 12.8K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/Platform.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.Locale;
    
    /**
     * Methods factored out so that they can be emulated differently in GWT.
     *
     * <p>This class is emulated in GWT.
     *
     * @author Hayward Chan
     */
    @GwtCompatible
    final class Platform {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Aug 04 01:39:13 GMT 2022
    - 1.3K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

    import com.google.j2objc.annotations.J2ObjCIncompatible;
    import java.io.IOException;
    import java.io.Serializable;
    import java.util.LinkedHashSet;
    import java.util.List;
    import java.util.Locale;
    import java.util.TreeMap;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    import junit.framework.AssertionFailedError;
    import junit.framework.TestCase;
    import org.junit.Test;
    
    /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 12 19:22:18 GMT 2023
    - 17.5K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/base/AsciiBenchmark.java

        }
        return dummy;
      }
    
      @Benchmark
      int stringToUpperCase(int reps) {
        String string = noWorkToDo ? testString.toUpperCase(Locale.US) : testString;
    
        int dummy = 0;
        for (int i = 0; i < reps; i++) {
          dummy += string.toUpperCase(Locale.US).length();
        }
        return dummy;
      }
    
      @Benchmark
      boolean equalsIgnoreCaseCharSequence(int reps) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.8K bytes
    - Viewed (0)
Back to top