Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 112 for formatting (0.07 seconds)

  1. src/archive/tar/strconv_test.go

    		got := make([]byte, len(v.want))
    		f.formatNumeric(got, v.in)
    		ok := (f.err == nil)
    		if ok != v.ok {
    			if v.ok {
    				t.Errorf("formatNumeric(%d): got formatting failure, want success", v.in)
    			} else {
    				t.Errorf("formatNumeric(%d): got formatting success, want failure", v.in)
    			}
    		}
    		if string(got) != v.want {
    			t.Errorf("formatNumeric(%d): got %q, want %q", v.in, got, v.want)
    		}
    	}
    }
    
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Sep 11 17:52:43 GMT 2025
    - 15K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/FrameLogTest.kt

        assertThat(frameLog(false, 0, 8, TYPE_GOAWAY, FLAG_NONE))
          .isEqualTo(">> 0x00000000     8 GOAWAY        ")
      }
    
      /** Window update frames have special formatting.  */
      @Test
      fun windowUpdateFrames() {
        assertThat(frameLogWindowUpdate(false, 0, 4, Int.MAX_VALUE.toLong()))
          .isEqualTo(">> 0x00000000     4 WINDOW_UPDATE 2147483647")
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 5.9K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeStrategy.java

    /**
     * Abstract base class for upgrade strategies that provides common functionality
     * and reduces code duplication across strategy implementations.
     *
     * <p>Strategies work with domtrip Documents for perfect formatting preservation.
     * Subclasses can create domtrip Editors from Documents as needed:
     * <pre>
     * Editor editor = new Editor(document);
     * // ... perform domtrip operations ...
     * // Document is automatically updated
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/Log.java

     * convenience, to enable developers to pass things like <code>java.lang.StringBuffer</code> directly into the logger,
     * rather than formatting first by calling <code>toString()</code>.
     *
     * @since 4.0.0
     */
    @Experimental
    @Provider
    public interface Log {
        /**
         * {@return true if the <b>debug</b> error level is enabled}
         */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Sep 28 09:03:24 GMT 2024
    - 5.4K bytes
    - Click Count (0)
  5. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/logging/Log.java

     * convenience, to enable developers to pass things like <code>java.lang.StringBuffer</code> directly into the logger,
     * rather than formatting first by calling <code>toString()</code>.
     *
     *
     * @deprecated Use SLF4J directly
     */
    @Deprecated
    public interface Log {
        /**
         * @return true if the <b>debug</b> error level is enabled
         */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.6K bytes
    - Click Count (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/StrategyOrchestrator.java

    /**
     * domtrip-based orchestrator for executing different upgrade strategies.
     *
     * <p>This class provides the same functionality as StrategyOrchestrator but works
     * with domtrip-based strategies for superior formatting preservation.
     *
     * <p>Determines which strategies to apply based on options and executes them in priority order.
     * The DI container automatically sorts the injected strategies by their @Priority annotations.
     */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 7K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategy.java

            Element modulesElement = root.child(MODULES).orElse(null);
            if (modulesElement != null) {
                // domtrip makes this much simpler - just change the element name
                // The formatting and structure are preserved automatically
                modulesElement.name(SUBPROJECTS);
                context.detail("Converted <modules> to <subprojects>");
    
                // Convert all module children to subproject
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  8. scripts/translate.py

    """
    
    app = typer.Typer()
    
    
    @lru_cache
    def get_langs() -> dict[str, str]:
        return yaml.safe_load(Path("docs/language_names.yml").read_text(encoding="utf-8"))
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 19:05:53 GMT 2025
    - 34.1K bytes
    - Click Count (0)
  9. docs/en/docs/advanced/custom-response.md

    {"message": "Hello World"}
    ```
    
    ...this response will return:
    
    ```json
    {
      "message": "Hello World"
    }
    ```
    
    Of course, you will probably find much better ways to take advantage of this than formatting JSON. 😉
    
    ## Default response class { #default-response-class }
    
    When creating a **FastAPI** class instance or an `APIRouter` you can specify which response class to use by default.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  10. ci/official/utilities/code_check_full.bats

    # only on affected targets, usually. There are targets in //tensorflow/lite that
    # don't pass --nobuild, so they're on their own.
    #
    # Although buildifier checks for formatting as well, "bazel build nobuild"
    # checks for cross-file issues like bad includes or missing BUILD definitions.
    #
    # We can't test on the windows toolchains because they're using a legacy
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Fri Dec 19 18:47:57 GMT 2025
    - 13.5K bytes
    - Click Count (0)
Back to Top