Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 304 for Hint (0.01 sec)

  1. android/guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

              @SuppressWarnings({"removal", "Finalize"}) // b/260137033
              @Override
              protected void finalize() {
                latch.countDown();
              }
            };
        unused = null; // Hint to the JIT that unused is unreachable
        GcFinalization.await(latch);
        assertEquals(0, latch.getCount());
      }
    
      public void testAwaitDone_future() {
        SettableFuture<@Nullable Void> future = SettableFuture.create();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Dec 08 17:02:07 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  2. guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

              @SuppressWarnings({"removal", "Finalize"}) // b/260137033
              @Override
              protected void finalize() {
                latch.countDown();
              }
            };
        unused = null; // Hint to the JIT that unused is unreachable
        GcFinalization.await(latch);
        assertEquals(0, latch.getCount());
      }
    
      public void testAwaitDone_future() {
        SettableFuture<@Nullable Void> future = SettableFuture.create();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Dec 08 17:02:07 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/InternersTest.java

        canonical = null; // Hint to the JIT that canonical is unreachable
    
        GcFinalization.awaitClear(signal);
        assertSame(not, pool.intern(not));
      }
    
      private static final class MyInt {
        private final int i;
    
        MyInt(int i) {
          this.i = i;
        }
    
        @Override
        public int hashCode() {
          return i;
        }
    
        @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Dec 08 17:02:07 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableMultimap.java

        int expectedValuesPerKey = ImmutableCollection.Builder.DEFAULT_INITIAL_CAPACITY;
    
        /**
         * Creates a new builder. The returned builder is equivalent to the builder generated by {@link
         * ImmutableMultimap#builder}.
         */
        public Builder() {}
    
        /** Creates a new builder with a hint for the number of distinct keys. */
        Builder(int expectedKeys) {
          if (expectedKeys > 0) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Dec 09 15:58:48 UTC 2025
    - 28.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableMultimap.java

        int expectedValuesPerKey = ImmutableCollection.Builder.DEFAULT_INITIAL_CAPACITY;
    
        /**
         * Creates a new builder. The returned builder is equivalent to the builder generated by {@link
         * ImmutableMultimap#builder}.
         */
        public Builder() {}
    
        /** Creates a new builder with a hint for the number of distinct keys. */
        Builder(int expectedKeys) {
          if (expectedKeys > 0) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Dec 09 15:58:48 UTC 2025
    - 27.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/InternersTest.java

        canonical = null; // Hint to the JIT that canonical is unreachable
    
        GcFinalization.awaitClear(signal);
        assertSame(not, pool.intern(not));
      }
    
      private static final class MyInt {
        private final int i;
    
        MyInt(int i) {
          this.i = i;
        }
    
        @Override
        public int hashCode() {
          return i;
        }
    
        @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Dec 08 17:02:07 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  7. fastapi/utils.py

            "5XX",
        }:
            return True
        current_status_code = int(status_code)
        return not (current_status_code < 200 or current_status_code in {204, 205, 304})
    
    
    def get_path_param_names(path: str) -> set[str]:
        return set(re.findall("{(.*?)}", path))
    
    
    _invalid_args_message = (
        "Invalid args for response field! Hint: "
        "check that {type_} is a valid Pydantic field type. "
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  8. src/main/assemblies/files/generate-thumbnail

      im_cmd=$(get_imagemagick_cmd)
      if [[ -z "${im_cmd}" ]] ; then
        echo "ImageMagick (convert or magick) does not exist."
        exit 1
      fi
      target_file=$(echo "$url" | sed -e "s#^file:/*#/#g")
      # Build format hint from MIME type for better ImageMagick compatibility
      format_hint=""
      case "${mimetype}" in
        "image/gif")  format_hint="gif:" ;;
        "image/tiff") format_hint="tiff:" ;;
        "image/png")  format_hint="png:" ;;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 04 08:02:36 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java

     * jar if it has been built, or only compile output directory if packaging hasn't happened yet.
     *
     */
    @Named(ReactorReader.HINT)
    @SessionScoped
    class ReactorReader implements MavenWorkspaceReader {
        public static final String HINT = "reactor";
    
        public static final String PROJECT_LOCAL_REPO = "project-local-repo";
    
        private static final Collection<String> COMPILE_PHASE_TYPES = new HashSet<>(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Dec 15 11:20:38 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/extra-models.md

    You can declare a response to be the `Union` of two or more types, that means, that the response would be any of them.
    
    It will be defined in OpenAPI with `anyOf`.
    
    To do that, use the standard Python type hint <a href="https://docs.python.org/3/library/typing.html#typing.Union" class="external-link" target="_blank">`typing.Union`</a>:
    
    /// note
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 6.9K bytes
    - Viewed (0)
Back to top