Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1081 - 1090 of 1,523 for byte1 (0.04 sec)

  1. docs_src/request_files/tutorial001_02_an_py39.py

    from typing import Annotated, Union
    
    from fastapi import FastAPI, File, UploadFile
    
    app = FastAPI()
    
    
    @app.post("/files/")
    async def create_file(file: Annotated[Union[bytes, None], File()] = None):
        if not file:
            return {"message": "No file sent"}
        else:
            return {"file_size": len(file)}
    
    
    @app.post("/uploadfile/")
    async def create_upload_file(file: Union[UploadFile, None] = None):
        if not file:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 524 bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/WebSocketListener.kt

      open fun onMessage(
        webSocket: WebSocket,
        text: String,
      ) {
      }
    
      /** Invoked when a binary (type `0x2`) message has been received. */
      open fun onMessage(
        webSocket: WebSocket,
        bytes: ByteString,
      ) {
      }
    
      /**
       * Invoked when the remote peer has indicated that no more incoming messages will be transmitted.
       */
      open fun onClosing(
        webSocket: WebSocket,
        code: Int,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. docs/de/docs/tutorial/request-forms-and-files.md

    ```
    
    ////
    
    Die Datei- und Formularfelder werden als Formulardaten hochgeladen, und Sie erhalten diese Dateien und Formularfelder.
    
    Und Sie können einige der Dateien als `bytes` und einige als `UploadFile` deklarieren.
    
    /// warning | "Achtung"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. internal/disk/stat_freebsd.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package disk
    
    import (
    	"errors"
    	"fmt"
    	"syscall"
    )
    
    // GetInfo returns total and free bytes available in a directory, e.g. `/`.
    func GetInfo(path string, _ bool) (info Info, err error) {
    	s := syscall.Statfs_t{}
    	err = syscall.Statfs(path, &s)
    	if err != nil {
    		return Info{}, err
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Feb 26 19:34:50 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbFileHandleImpl.java

    class SmbFileHandleImpl implements SmbFileHandle {
    
        private static final Logger log = LoggerFactory.getLogger(SmbFileHandleImpl.class);
    
        private final Configuration cfg;
        private final int fid;
        private final byte[] fileId;
        private boolean open = true;
        private final long tree_num; // for checking whether the tree changed
        private SmbTreeHandleImpl tree;
    
        private final AtomicLong usageCount = new AtomicLong(1);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.6K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt

            "java.lang.String" to "String",
            "java.lang.Character" to "Char",
            "char" to "Char",
            "java.lang.Boolean" to "Boolean",
            "boolean" to "Boolean",
            "java.lang.Byte" to "Byte",
            "byte" to "Byte",
            "java.lang.Short" to "Short",
            "short" to "Short",
            "java.lang.Integer" to "Int",
            "int" to "Int",
            "java.lang.Long" to "Long",
            "long" to "Long",
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Jul 04 08:05:22 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/TestLocking.java

        int numComplete = 0;
        long ltime = 0L;
    
        public void run()
        {
            try {
                SmbFile f = new SmbFile(url);
                SmbFile d = new SmbFile(f.getParent());
                byte[] buf = new byte[1024];
    
                for (int ii = 0; ii < numIter; ii++) {
    
                    synchronized (this) {
                        ltime = System.currentTimeMillis();
                        wait();
                    }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 3.4K bytes
    - Viewed (0)
  8. internal/disk/stat_solaris.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    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
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Feb 26 19:34:50 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/MultiInputStreamTest.java

                  @Override
                  public void close() throws IOException {
                    super.close();
                    counter[0]--;
                  }
                };
              }
            };
        byte[] result = ByteSource.concat(checker, checker, checker).read();
        assertEquals(150, result.length);
      }
    
      private void joinHelper(Integer... spans) throws Exception {
        List<ByteSource> sources = Lists.newArrayList();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/dtyp/SecurityDescriptor.java

         * 
         */
        public SecurityDescriptor () {}
    
    
        /**
         * @param buffer
         * @param bufferIndex
         * @param len
         * @throws IOException
         */
        public SecurityDescriptor ( byte[] buffer, int bufferIndex, int len ) throws IOException {
            this.decode(buffer, bufferIndex, len);
        }
    
    
        /**
         * @return the type
         */
        public final int getType () {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.4K bytes
    - Viewed (0)
Back to top