Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for translation (0.31 sec)

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

      // test without that cast to verify that using the raw Comparable works outside J2KT.
      @J2ktIncompatible // J2KT's translation of raw Comparable is not a supertype of Int translation
      public void testCreation_expectedSize() {
        MinMaxPriorityQueue<Integer> queue = MinMaxPriorityQueue.expectedSize(8).create();
        assertEquals(8, queue.capacity());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 36.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/BaseEncoding.java

    import java.io.Writer;
    import java.util.Arrays;
    import java.util.Objects;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A binary encoding scheme for reversibly translating between byte sequences and printable ASCII
     * strings. This class includes several constants for encoding schemes specified by <a
     * href="http://tools.ietf.org/html/rfc4648">RFC 4648</a>. For example, the expression:
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Mar 15 16:33:32 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/net/InetAddresses.java

     * were never supposed to be seen on the wire. That assumption was dropped, some say mistakenly, in
     * later RFCs with the apparent aim of making IPv4-to-IPv6 transition simpler.
     *
     * <p>Technically one <i>can</i> create a 128bit IPv6 address with the wire format of a "mapped"
     * address, as shown above, and transmit it in an IPv6 packet header. However, Java's InetAddress
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
  4. guava/src/com/google/common/base/Functions.java

       * future, when this class requires Java 8, this method will be deprecated. See {@link Function}
       * for more important information about the Java 8+ transition.
       */
      public static Function<Object, String> toStringFunction() {
        return ToStringFunction.INSTANCE;
      }
    
      // enum singleton pattern
      private enum ToStringFunction implements Function<Object, String> {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

      // test without that cast to verify that using the raw Comparable works outside J2KT.
      @J2ktIncompatible // J2KT's translation of raw Comparable is not a supertype of Int translation
      public void testCreation_expectedSize() {
        MinMaxPriorityQueue<Integer> queue = MinMaxPriorityQueue.expectedSize(8).create();
        assertEquals(8, queue.capacity());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 36.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    public final class InterruptibleTaskTest extends TestCase {
    
      // Regression test for a deadlock where a task could be stuck busy waiting for the task to
      // transition to DONE
      public void testInterruptThrows() throws Exception {
        final CountDownLatch isInterruptibleRegistered = new CountDownLatch(1);
        InterruptibleTask<@Nullable Void> task =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Functions.java

       * future, when this class requires Java 8, this method will be deprecated. See {@link Function}
       * for more important information about the Java 8+ transition.
       */
      public static Function<Object, String> toStringFunction() {
        return ToStringFunction.INSTANCE;
      }
    
      // enum singleton pattern
      private enum ToStringFunction implements Function<Object, String> {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

      /** Constructor for use by subclasses. */
      protected AbstractScheduledService() {}
    
      /**
       * Run one iteration of the scheduled task. If any invocation of this method throws an exception,
       * the service will transition to the {@link Service.State#FAILED} state and this method will no
       * longer be called.
       */
      protected abstract void runOneIteration() throws Exception;
    
      /**
       * Start the service.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 25.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

         * correctly installed
         *
         * <p>{@link #transitioned}: is set by {@link #transitionService} to indicate that some
         * transition has been performed.
         *
         * <p>Together, they allow us to enforce that all services have their listeners installed prior
         * to any service performing a transition, then we can fail in the ServiceManager constructor
         * rather than in a Service.Listener callback.
         */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 30.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    public final class InterruptibleTaskTest extends TestCase {
    
      // Regression test for a deadlock where a task could be stuck busy waiting for the task to
      // transition to DONE
      public void testInterruptThrows() throws Exception {
        final CountDownLatch isInterruptibleRegistered = new CountDownLatch(1);
        InterruptibleTask<@Nullable Void> task =
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.6K bytes
    - Viewed (0)
Back to top