Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1321 - 1330 of 2,914 for math (0.04 seconds)

  1. internal/disk/stat_netbsd.go

    package disk
    
    import (
    	"errors"
    	"fmt"
    
    	"golang.org/x/sys/unix"
    )
    
    // GetInfo returns total and free bytes available in a directory, e.g. `/`.
    func GetInfo(path string, _ bool) (info Info, err error) {
    	s := unix.Statvfs_t{}
    	if err = unix.Statvfs(path, &s); err != nil {
    		return Info{}, err
    	}
    	reservedBlocks := uint64(s.Bfree) - uint64(s.Bavail)
    	info = Info{
    		Total:  uint64(s.Frsize) * (uint64(s.Blocks) - reservedBlocks),
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/app/web/thumbnail/ThumbnailAction.java

         */
        protected String getImageMimeType(final File imageFile) {
            final String path = imageFile.getAbsolutePath();
            if (path.endsWith(".png")) {
                return "image/png";
            }
            if (path.endsWith(".gif")) {
                return "image/gif";
            }
            if (path.endsWith(".jpg") || path.endsWith(".jpeg")) {
                return "image/jpeg";
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  3. docs/zh/docs/advanced/behind-a-proxy.md

    ### 提供 `root_path` { #providing-the-root-path }
    
    为此,你可以像下面这样使用命令行选项 `--root-path`:
    
    <div class="termy">
    
    ```console
    $ fastapi run main.py --forwarded-allow-ips="*" --root-path /api/v1
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    如果你使用 Hypercorn,它也有 `--root-path` 选项。
    
    /// note | 技术细节
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 15.1K bytes
    - Click Count (0)
  4. src/test/java/jcifs/util/transport/RequestTimeoutExceptionTest.java

            RequestTimeoutException exception = new RequestTimeoutException(message, cause);
            assertEquals(message, exception.getMessage(), "Message should match the provided string");
            assertEquals(cause, exception.getCause(), "Cause should match the provided throwable");
        }
    
        @Test
        void testIsInstanceOfTransportException() {
            // Verify that RequestTimeoutException is a subclass of TransportException
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilder.java

         */
        @Nonnull
        default SettingsBuilderResult build(
                @Nonnull Session session,
                @Nonnull Path installationSettingsPath,
                @Nonnull Path projectSettingsPath,
                @Nonnull Path userSettingsPath) {
            return build(
                    SettingsBuilderRequest.build(session, installationSettingsPath, projectSettingsPath, userSettingsPath));
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  6. docs/es/docs/tutorial/middleware.md

    * Toma cada **request** que llega a tu aplicación.
    * Puede entonces hacer algo a esa **request** o ejecutar cualquier código necesario.
    * Luego pasa la **request** para que sea procesada por el resto de la aplicación (por alguna *path operation*).
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  7. src/test/java/jcifs/util/InputValidatorTest.java

        void testValidSmbPaths(String path) {
            assertDoesNotThrow(() -> InputValidator.validateSmbPath(path));
        }
    
        @ParameterizedTest
        @DisplayName("Test invalid path characters")
        @ValueSource(strings = { "file:name.txt", "file<name>.txt", "file|name.txt", "file*name.txt", "file?name.txt", "file\"name.txt" })
        void testInvalidPathCharacters(String path) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  8. docs/de/docs/advanced/behind-a-proxy.md

    ### Bereitstellung des `root_path` { #providing-the-root-path }
    
    Um dies zu erreichen, können Sie die Kommandozeilenoption `--root-path` wie folgt verwenden:
    
    <div class="termy">
    
    ```console
    $ fastapi run main.py --forwarded-allow-ips="*" --root-path /api/v1
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 18K bytes
    - Click Count (0)
  9. fastapi/dependencies/utils.py

    def get_parameterless_sub_dependant(*, depends: params.Depends, path: str) -> Dependant:
        assert callable(depends.dependency), (
            "A parameter-less dependency must have a callable dependency"
        )
        own_oauth_scopes: list[str] = []
        if isinstance(depends, params.Security) and depends.scopes:
            own_oauth_scopes.extend(depends.scopes)
        return get_dependant(
            path=path,
            call=depends.dependency,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 38.7K bytes
    - Click Count (3)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

            /**
             * Constructs a complete FTP URL using the host and port from this FtpInfo
             * and the specified path.
             *
             * @param path The path to append to the URL
             * @return The complete FTP URL
             */
            public String toUrl(final String path) {
                final StringBuilder buf = new StringBuilder(100);
                buf.append("ftp://");
                buf.append(getHost());
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 40K bytes
    - Click Count (0)
Back to Top