Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1021 - 1030 of 2,107 for pathf (0.02 sec)

  1. docs/en/docs/tutorial/request-files.md

    * `close()`: Closes the file.
    
    As all these methods are `async` methods, you need to "await" them.
    
    For example, inside of an `async` *path operation function* you can get the contents with:
    
    ```Python
    contents = await myfile.read()
    ```
    
    If you are inside of a normal `def` *path operation function*, you can access the `UploadFile.file` directly, for example:
    
    ```Python
    contents = myfile.file.read()
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  2. internal/logger/logrotate.go

    				Message: msg,
    				Time:    time.Now().UTC(),
    				Trace:   &log.Trace{Message: msg},
    			})
    		}
    	}
    
    	path := filepath.Join(w.opts.Directory, w.opts.FileNameFunc())
    	f, err := newFile(path)
    	if err != nil {
    		return fmt.Errorf("unable to create new file at %v: %w", path, err)
    	}
    
    	w.f = f
    
    	return nil
    }
    
    // NewDir creates a new concurrency safe Writer which performs log rotation.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. fastapi/param_functions.py

            ),
        ],
    ) -> Any:
        """
        Declare a path parameter for a *path operation*.
    
        Read more about it in the
        [FastAPI docs for Path Parameters and Numeric Validations](https://fastapi.tiangolo.com/tutorial/path-params-numeric-validations/).
    
        ```python
        from typing import Annotated
    
        from fastapi import FastAPI, Path
    
        app = FastAPI()
    
    
        @app.get("/items/{item_id}")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 23 18:30:18 UTC 2024
    - 62.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/Trans2GetDfsReferral.java

     */
    
    package jcifs.smb1.smb1;
    
    class Trans2GetDfsReferral extends SmbComTransaction {
    
        private int maxReferralLevel = 3;
    
        Trans2GetDfsReferral( String filename ) {
            path = filename;
            command = SMB_COM_TRANSACTION2;
            subCommand = TRANS2_GET_DFS_REFERRAL;
            totalDataCount = 0;
            maxParameterCount = 0;
            maxDataCount = 4096;
            maxSetupCount = (byte)0x00;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.2K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/test/resources/poms/inheritance/flat-urls-parent.xml

      <description>Flat directory structure case: module = ../child-artifact-id + child directory path == child-artifact-id</description>
    
      <modules>
        <module>../inheritance</module>
      </modules>
    
      <!-- 5 urls in the pom will be inherited with path added -->
      <url>http://www.apache.org/path/to/parent/</url>
      <scm>
        <connection>scm:my-scm:http://domain.org/base</connection>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComQueryInformation.java

        }
    
    
        @Override
        protected int writeBytesWireFormat ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
            dst[ dstIndex++ ] = (byte) 0x04;
            dstIndex += writeString(this.path, dst, dstIndex);
            return dstIndex - start;
        }
    
    
        @Override
        protected int readParameterWordsWireFormat ( byte[] buffer, int bufferIndex ) {
            return 0;
        }
    
    
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/DfsReferralData.java

         * @return the share this referral points to
         */
        String getShare ();
    
    
        /**
         * @return the number of characters from the unc path that were consumed by this referral
         */
        int getPathConsumed ();
    
    
        /**
         * @return the replacement path for this referal
         */
        String getPath ();
    
    
        /**
         * @return the expiration time of this entry
         */
        long getExpiration ();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.9K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainsBuilder.java

     */
    package org.apache.maven.toolchain;
    
    import java.io.File;
    
    import org.apache.maven.toolchain.model.PersistedToolchains;
    
    /**
     * Builds the toolchains model from a previously configured filesystem path to the toolchains file.
     * <strong>Note:</strong> This is an internal component whose interface can change without prior notice.
     *
     * @deprecated use {@link org.apache.maven.toolchain.building.ToolchainsBuilder} instead
     */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/ProtocolHelper.java

                                final String entryName = entry.getName();
                                if (entryName.endsWith("/") && entryName.startsWith(path) && entryName.length() > path.length() + 1) {
                                    final String name = entryName.substring(path.length() + 1, entryName.length() - 1);
                                    if (name.indexOf('/') == -1) {
                                        subPackages.add(name);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Jun 19 01:34:15 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  10. doc/README.md

    concatenated in sorted order by pathname. Files in the directory matching the
    glob "*stdlib/*minor" are treated specially. They should be in subdirectories
    corresponding to standard library package paths, and headings for those package
    paths will be generated automatically.
    
    Files in this repo's `api/next` directory must have corresponding files in
    `doc/next/*stdlib/*minor`.
    The files should be in the subdirectory for the package with the new
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Jul 22 17:55:04 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top