Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for bigint (0.39 sec)

  1. guava-tests/test/com/google/common/util/concurrent/UninterruptibleFutureTest.java

       */
      public void testRegularFutureInterrupted() throws ExecutionException {
    
        /*
         * Here's the order of events that we want.
         *
         * 1. The client thread begins to block on a get() call to a future.
         * 2. The client thread is interrupted sometime before the result would be
         *   available.
         * 3. We expect the client's get() to throw an InterruptedException.
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 9.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/ListenableFuture.java

       *
       * <p>Memory consistency effects: Actions in a thread prior to adding a listener <a
       * href="https://docs.oracle.com/javase/specs/jls/se7/html/jls-17.html#jls-17.4.5">
       * <i>happen-before</i></a> its execution begins, perhaps in another thread.
       *
       * <p>Guava implementations of {@code ListenableFuture} promptly release references to listeners
       * after executing them.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:13:41 GMT 2023
    - 8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/net/InternetDomainName.java

         * parts other than the last may begin with a digit (for example, "3com.com"). It's important to
         * disallow an initial digit in the last part; it's the only thing that stops an IPv4 numeric
         * address like 127.0.0.1 from looking like a valid domain name.
         */
    
        if (isFinalPart && DIGIT_MATCHER.matches(part.charAt(0))) {
          return false;
        }
    
        return true;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 05 20:47:23 GMT 2024
    - 28K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

       *
       * <ol>
       *   <li>execution will not stop until the task queue is empty.
       *   <li>tasks will begin execution with the thread marked as not interrupted - any interruption
       *       applies only to the task that was running at the point of interruption.
       *   <li>if the thread was interrupted before the SequentialExecutor's worker begins execution,
       *       the interrupt will be restored to the thread after it completes so that its {@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/net/InetAddresses.java

          throw new NumberFormatException();
        }
        int octet = 0;
        for (int i = start; i < end; i++) {
          octet *= 10;
          int digit = Character.digit(ipString.charAt(i), 10);
          if (digit < 0) {
            throw new NumberFormatException();
          }
          octet += digit;
        }
        if (octet > 255) {
          throw new NumberFormatException();
        }
        return (byte) octet;
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
  6. guava/src/com/google/common/base/CharMatcher.java

        return Digit.INSTANCE;
      }
    
      /**
       * Determines whether a character is a BMP digit according to {@linkplain Character#isDigit(char)
       * Java's definition}. If you only care to match ASCII digits, you can use {@code inRange('0',
       * '9')}.
       *
       * @deprecated Many digits are supplementary characters; see the class documentation.
       * @since 19.0 (since 1.0 as constant {@code JAVA_DIGIT})
       */
      @Deprecated
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java

        @Override
        protected void implCloseChannel() {
          throw new RuntimeException("I bet you didn't think Thread.interrupt could throw");
        }
    
        void doBegin() {
          super.begin();
        }
      }
    
      /**
       * Because Thread.interrupt() can invoke arbitrary code, it can be slow (e.g. perform IO). To
       * protect ourselves from that we want to make sure that tasks don't spin too much waiting for the
    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)
  8. guava-tests/test/com/google/common/base/CharMatcherTest.java

        doTestNoMatches(forPredicate(Predicates.equalTo('c')), "abe");
        doTestNoMatches(inRange('A', 'Z').and(inRange('F', 'K').negate()), "F1a");
        doTestNoMatches(CharMatcher.digit(), "\tAz()");
        doTestNoMatches(CharMatcher.javaDigit(), "\tAz()");
        doTestNoMatches(CharMatcher.digit().and(CharMatcher.ascii()), "\tAz()");
        doTestNoMatches(CharMatcher.singleWidth(), "\u05bf\u3000");
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 30.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/base/CharMatcherTest.java

        doTestNoMatches(forPredicate(Predicates.equalTo('c')), "abe");
        doTestNoMatches(inRange('A', 'Z').and(inRange('F', 'K').negate()), "F1a");
        doTestNoMatches(CharMatcher.digit(), "\tAz()");
        doTestNoMatches(CharMatcher.javaDigit(), "\tAz()");
        doTestNoMatches(CharMatcher.digit().and(CharMatcher.ascii()), "\tAz()");
        doTestNoMatches(CharMatcher.singleWidth(), "\u05bf\u3000");
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 30.1K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/UninterruptibleFutureTest.java

       */
      public void testRegularFutureInterrupted() throws ExecutionException {
    
        /*
         * Here's the order of events that we want.
         *
         * 1. The client thread begins to block on a get() call to a future.
         * 2. The client thread is interrupted sometime before the result would be
         *   available.
         * 3. We expect the client's get() to throw an InterruptedException.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 9.1K bytes
    - Viewed (0)
Back to top