Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for Appendable (0.07 sec)

  1. android/guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java

          }
        },
        NEW {
          @Override
          long copy(Readable from, Appendable to) throws IOException {
            return CharStreams.copy(from, to);
          }
        };
    
        abstract long copy(Readable from, Appendable to) throws IOException;
      }
    
      enum TargetSupplier {
        STRING_WRITER {
          @Override
          Appendable get(int sz) {
            return new StringWriter(sz);
          }
        },
        STRING_BUILDER {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 23 18:59:54 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java

          }
        },
        NEW {
          @Override
          long copy(Readable from, Appendable to) throws IOException {
            return CharStreams.copy(from, to);
          }
        };
    
        abstract long copy(Readable from, Appendable to) throws IOException;
      }
    
      enum TargetSupplier {
        STRING_WRITER {
          @Override
          Appendable get(int sz) {
            return new StringWriter(sz);
          }
        },
        STRING_BUILDER {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 23 18:59:54 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/AppendableWriterTest.java

      private static class SpyAppendable implements Appendable, Flushable, Closeable {
        boolean flushed;
        boolean closed;
        StringBuilder result = new StringBuilder();
    
        @Override
        public Appendable append(CharSequence csq) {
          result.append(csq);
          return this;
        }
    
        @Override
        public Appendable append(char c) {
          result.append(c);
          return this;
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  4. build-logic/documentation/src/test/groovy/gradlebuild/docs/XmlSpecification.groovy

            nodes.each { node ->
                format(node, builder, 0, prettyPrint, prettyPrint)
            }
            return builder.toString()
        }
    
        def format(Node node, Appendable target, int depth, boolean prettyPrint, boolean indentSelf) {
            if (node instanceof Element) {
                Element element = (Element) node
    
                if (indentSelf && depth > 0) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.1K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/MessageBuilder.java

    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     * Message builder that supports configurable styling.
     *
     * @since 4.0.0
     * @see MessageBuilderFactory
     */
    public interface MessageBuilder extends Appendable {
    
        /**
         * Append message content in trace style.
         * By default, bold magenta
         *
         * @param message the message to append
         * @return the current builder
         */
        @Nonnull
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Nov 02 09:29:52 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/dependencies/sub-dependencies.md

    You can create dependencies that have **sub-dependencies**.
    
    They can be as **deep** as you need them to be.
    
    **FastAPI** will take care of solving them.
    
    ## First dependency "dependable"
    
    You could create a first dependency ("dependable") like:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="8-9"
    {!> ../../docs_src/dependencies/tutorial005_an_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  7. docs/de/docs/tutorial/dependencies/sub-dependencies.md

    Diese können so **tief** verschachtelt sein, wie nötig.
    
    **FastAPI** kümmert sich darum, sie aufzulösen.
    
    ## Erste Abhängigkeit, „Dependable“
    
    Sie könnten eine erste Abhängigkeit („Dependable“) wie folgt erstellen:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="8-9"
    {!> ../../docs_src/dependencies/tutorial005_an_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. docs/en/docs/reference/security/index.md

    # Security Tools
    
    When you need to declare dependencies with OAuth2 scopes you use `Security()`.
    
    But you still need to define what is the dependable, the callable that you pass as a parameter to `Depends()` or `Security()`.
    
    There are multiple tools that you can use to create those dependables, and they get integrated into OpenAPI so they are shown in the automatic docs UI, they can be used by automatically generated clients and SDKs, etc.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/dependencies/index.md

    ## First Steps
    
    Let's see a very simple example. It will be so simple that it is not very useful, for now.
    
    But this way we can focus on how the **Dependency Injection** system works.
    
    ### Create a dependency, or "dependable"
    
    Let's first focus on the dependency.
    
    It is just a function that can take all the same parameters that a *path operation function* can take:
    
    {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[8:9] *}
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 11:18:17 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  10. docs/de/docs/tutorial/background-tasks.md

    **FastAPI** weiß, was jeweils zu tun ist und wie dasselbe Objekt wiederverwendet werden kann, sodass alle Hintergrundtasks zusammengeführt und anschließend im Hintergrund ausgeführt werden:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.4K bytes
    - Viewed (0)
Back to top