Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 129 for is_false (0.1 seconds)

  1. scripts/notify_translations.py

        logging.debug(f"Using config: {settings.model_dump_json()}")
        g = Github(settings.github_token.get_secret_value())
        repo = g.get_repo(settings.github_repository)
        if not settings.github_event_path.is_file():
            raise RuntimeError(
                f"No github event file available at: {settings.github_event_path}"
            )
        contents = settings.github_event_path.read_text("utf-8")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 12.6K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

      }
    
      public void testTrustedGetFailure_notCompleted() {
        SettableFuture<String> future = SettableFuture.create();
        assertThat(future.isDone()).isFalse();
        assertThat(future.tryInternalFastPathGetFailure()).isNull();
      }
    
      public void testTrustedGetFailure_canceledNoCause() {
        SettableFuture<String> future = SettableFuture.create();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 45.2K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/base/PredicatesTest.java

            return super.contains(element);
          }
        }
        Collection<Integer> nums = new CollectionThatThrowsNullPointerException<>();
        Predicate<@Nullable Integer> isFalse = Predicates.in(nums);
        assertFalse(isFalse.apply(null));
      }
    
      public void testIn_handlesClassCastException() {
        class CollectionThatThrowsClassCastException<T> extends ArrayList<T> {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 32.2K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

        CAN_DECODE {
          @Override
          void assertFailsToDecode(
              BaseEncoding encoding, String cannotDecode, @Nullable String expectedMessage) {
            assertThat(encoding.canDecode(cannotDecode)).isFalse();
          }
        },
        DECODE {
          @Override
          void assertFailsToDecode(
              BaseEncoding encoding, String cannotDecode, @Nullable String expectedMessage) {
            try {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 24.7K bytes
    - Click Count (0)
  5. scripts/docs.py

        if error_paths:
            print("Non-translated pages found, removing them:")
            for error_path in error_paths:
                print(error_path)
                if error_path.is_file():
                    error_path.unlink()
                else:
                    shutil.rmtree(error_path)
            raise typer.Exit(1)
        print("No non-translated pages found ✅")
    
    
    @app.command()
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 17:46:10 GMT 2026
    - 25.4K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertThat(new TypeToken<List<? extends Number>>() {}.isSupertypeOf(fieldType)).isTrue();
        assertThat(new TypeToken<List<? extends Iterable<?>>>() {}.isSupertypeOf(fieldType)).isFalse();
      }
    
      public void testWildcardCaptured_typeVariableDeclaresTypeBound_wildcardHasExplicitUpperBound()
          throws Exception {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 89.3K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/io/Files.java

        return FilePredicate.IS_FILE;
      }
    
      private enum FilePredicate implements Predicate<File> {
        IS_DIRECTORY {
          @Override
          public boolean apply(File file) {
            return file.isDirectory();
          }
    
          @Override
          public String toString() {
            return "Files.isDirectory()";
          }
        },
    
        IS_FILE {
          @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jan 05 22:13:21 GMT 2026
    - 32.8K bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt

    import assertk.assertions.contains
    import assertk.assertions.containsExactly
    import assertk.assertions.doesNotContain
    import assertk.assertions.isEmpty
    import assertk.assertions.isEqualTo
    import assertk.assertions.isFalse
    import assertk.assertions.isIn
    import assertk.assertions.isInstanceOf
    import assertk.assertions.isNotEmpty
    import assertk.assertions.isNotNull
    import assertk.assertions.isNull
    import assertk.assertions.isSameInstanceAs
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 70.7K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java

            builder.build(CacheLoader.from(Suppliers.ofInstance(value)));
        assertThat(cache.getUnchecked(key)).isSameInstanceAs(value);
        assertThat(cache.size()).isEqualTo(0);
        assertThat(cache.asMap().containsKey(key)).isFalse();
      }
    
      public void testCacheBuilderFrom_string() {
        CacheBuilder<?, ?> fromString =
            CacheBuilder.from(
                "initialCapacity=10,maximumSize=20,concurrencyLevel=30,"
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 30 22:03:28 GMT 2025
    - 20.8K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/hash/BloomFilterTest.java

        // flip GOLDEN_PRESENT_KEY to true even if it wasn't explicitly inserted
        // (false positive).
        assertThat(bloomFilter.mightContain(GOLDEN_PRESENT_KEY)).isFalse();
        for (int i = 0; i < NUM_PUTS; i++) {
          bloomFilter.put(getNonGoldenRandomKey());
        }
        bloomFilter.put(GOLDEN_PRESENT_KEY);
    
        int numThreads = 12;
        double safetyFalsePositiveRate = 0.1;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 23K bytes
    - Click Count (0)
Back to Top