Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 691 for nfail (0.04 sec)

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

          assertTrue(observed.contains(striped.get(new Object())));
        }
    
        try {
          striped.getAt(-1);
          fail();
        } catch (RuntimeException expected) {
        }
    
        try {
          striped.getAt(striped.size());
          fail();
        } catch (RuntimeException expected) {
        }
      }
    
      public void testMaxSize() {
        for (Striped<?> striped :
            ImmutableList.of(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 26 12:58:35 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/JdkFutureAdapters.java

       * executor promptly, or else the returned {@code ListenableFuture} may fail to work. The task's
       * execution consists of blocking until the input future is {@linkplain Future#isDone() done}, so
       * each call to this method may claim and hold a thread for an arbitrary length of time. Use of
       * bounded executors or other executors that may fail to execute a task promptly may result in
       * deadlocks.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/StripedTest.java

          assertTrue(observed.contains(striped.get(new Object())));
        }
    
        try {
          striped.getAt(-1);
          fail();
        } catch (RuntimeException expected) {
        }
    
        try {
          striped.getAt(striped.size());
          fail();
        } catch (RuntimeException expected) {
        }
      }
    
      public void testMaxSize() {
        for (Striped<?> striped :
            ImmutableList.of(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 26 12:58:35 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java

         * and will cause {@link #build} to fail.
         */
        @CanIgnoreReturnValue
        public <T extends B> Builder<B> put(Class<T> key, T value) {
          mapBuilder.put(key, value);
          return this;
        }
    
        /**
         * Associates all of {@code map's} keys and values in the built map. Duplicate keys are not
         * allowed, and will cause {@link #build} to fail.
         *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 10 21:56:03 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  5. android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt

    import org.junit.jupiter.api.Assertions.assertNotNull
    import org.junit.jupiter.api.Assertions.assertNull
    import org.junit.jupiter.api.Assertions.assertTrue
    import org.junit.jupiter.api.Assertions.fail
    import org.junit.jupiter.api.Assumptions.assumeTrue
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Disabled
    import org.junit.jupiter.api.Tag
    import org.junit.jupiter.api.Test
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 27K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

            }
            assertTrue(desc, isTimed(method));
            break;
          case 3:
            assertTrue(desc, isGuarded(method));
            assertTrue(desc, isTimed(method));
            break;
          default:
            fail(desc);
        }
    
        if (method.getReturnType() == void.class) {
          assertFalse(desc, isBoolean(method));
        } else {
          assertTrue(desc, isBoolean(method));
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/WebPlatformToAsciiTest.kt

          } catch (e: Throwable) {
            failure = e
          }
    
          if (entry.input in knownFailures) {
            if (failure == null) failures += AssertionError("known failure didn't fail: $entry")
          } else {
            if (failure != null) failures += failure
          }
        }
    
        if (failures.isNotEmpty()) {
          for (failure in failures) {
            println(failure)
          }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/LongAddables.java

    final class LongAddables {
      private static final Supplier<LongAddable> SUPPLIER;
    
      static {
        Supplier<LongAddable> supplier;
        try {
          // trigger static initialization of the LongAdder class, which may fail
          LongAdder unused = new LongAdder();
          supplier =
              new Supplier<LongAddable>() {
                @Override
                public LongAddable get() {
                  return new LongAdder();
                }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 04 17:27:14 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilderResult.java

         * {@link BuilderProblem.Severity#WARNING} and below are reported here. Problems with a higher severity level cause
         * the settings builder to fail with a {@link SettingsBuilderException}.
         *
         * @return the problems that were encountered during the settings building, can be empty but never {@code null}
         */
        @Nonnull
        List<BuilderProblem> getProblems();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Feb 28 23:54:53 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainsBuilderResult.java

         * {@link BuilderProblem.Severity#WARNING} and below are reported here. Problems with a higher severity level cause
         * the settings builder to fail with a {@link ToolchainsBuilderException}.
         *
         * @return the problems that were encountered during the settings building, can be empty but never {@code null}
         */
        @Nonnull
        List<BuilderProblem> getProblems();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Feb 28 23:54:53 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top