Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 92 for Status (0.17 sec)

  1. android/guava/src/com/google/common/base/Verify.java

     *
     * <pre>{@code
     * Bill bill = remoteService.getLastUnpaidBill();
     *
     * // In case bug 12345 happens again we'd rather just die
     * Verify.verify(bill.status() == Status.UNPAID,
     *     "Unexpected bill status: %s", bill.status());
     * }</pre>
     *
     * <h3>Comparison to alternatives</h3>
     *
     * <p><b>Note:</b> In some cases the differences explained below can be subtle. When it's unclear
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon May 17 14:07:47 GMT 2021
    - 18.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        assertThat(testFuture3.toString())
            .matches(
                "[^\\[]+\\[status=PENDING, setFuture=\\[[^\\[]+\\[status=PENDING,"
                    + " info=\\[cause=\\[Someday...]]]]]");
        testFuture2.set("result string");
        assertThat(testFuture3.toString())
            .matches("[^\\[]+\\[status=SUCCESS, result=\\[java.lang.String@\\w+\\]\\]");
      }
    
      public void testToString_cancelled() throws Exception {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 46.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/UncaughtExceptionHandlers.java

       *   ...
       * </pre>
       *
       * <p>The returned handler logs any exception at severity {@code SEVERE} and then shuts down the
       * process with an exit status of 1, indicating abnormal termination.
       */
      public static UncaughtExceptionHandler systemExit() {
        return new Exiter(Runtime.getRuntime());
      }
    
      @VisibleForTesting
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  4. guava/module.json

    {
      "formatVersion": "1.1",
      "component": {
        "group": "${pom.groupId}",
        "module": "${pom.artifactId}",
        "version": "${pom.version}",
        "attributes": {
          "org.gradle.status": "${module.status}"
        }
      },
      "createdBy": {
        "maven": {
          "version": "${maven.version}",
          "buildId": "${maven.build.version}"
        }
      },
      "variants": [
        {
          "name": "${variant.jvmEnvironmentVariantName}ApiElements",
    Json
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Oct 17 18:11:49 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/AbstractIterator.java

     * interface easier to implement for certain types of data sources.
     *
     * <p>{@code Iterator} requires its implementations to support querying the end-of-data status
     * without changing the iterator's state, using the {@link #hasNext} method. But many data sources,
     * such as {@link java.io.Reader#read()}, do not expose this information; the only way to discover
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Mar 18 02:04:10 GMT 2022
    - 6.4K bytes
    - Viewed (0)
  6. android/pom.xml

        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <test.add.opens></test.add.opens>
        <test.add.args></test.add.args>
        <module.status>integration</module.status>
        <variant.jvmEnvironment>android</variant.jvmEnvironment>
        <variant.jvmEnvironmentVariantName>android</variant.jvmEnvironmentVariantName>
        <otherVariant.version>HEAD-jre-SNAPSHOT</otherVariant.version>
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Mar 12 20:26:18 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Queues.java

       * with a different behavior in case it is interrupted while waiting. In that case, the operation
       * will continue as usual, and in the end the thread's interruption status will be set (no {@code
       * InterruptedException} is thrown).
       *
       * @param q the blocking queue to be drained
       * @param buffer where to add the transferred elements
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 16K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

        long elapsedMillis = stopwatch.elapsed(MILLISECONDS);
        assertTrue(elapsedMillis < timelimitMillis);
      }
    
      /**
       * Await an interrupt, then clear the interrupt status. Similar to {@code
       * assertTrue(Thread.interrupted())} except that this version tolerates late interrupts.
       */
      private static void assertInterrupted() {
        try {
          /*
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 31.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/QueuesTest.java

        Stopwatch timer = Stopwatch.createStarted();
        Queues.drainUninterruptibly(q, newArrayList(), 1, 10, MILLISECONDS);
        assertThat(timer.elapsed(MILLISECONDS)).isAtLeast(10L);
        // wait for interrupted status and clear it
        while (!Thread.interrupted()) {
          Thread.yield();
        }
      }
    
      private static class Producer implements Callable<@Nullable Void> {
        final BlockingQueue<Object> q;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/AbstractIterator.java

     * interface easier to implement for certain types of data sources.
     *
     * <p>{@code Iterator} requires its implementations to support querying the end-of-data status
     * without changing the iterator's state, using the {@link #hasNext} method. But many data sources,
     * such as {@link java.io.Reader#read()}, do not expose this information; the only way to discover
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Mar 18 02:04:10 GMT 2022
    - 6.4K bytes
    - Viewed (0)
Back to top