Search Options

Results per page
Sort
Preferred Languages
Advance

Results 861 - 870 of 1,523 for byteEq (0.15 sec)

  1. src/bytes/export_test.go

    // Copyright 2009 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package bytes
    
    // Export func for testing
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Apr 24 00:56:36 UTC 2019
    - 244 bytes
    - Viewed (0)
  2. docs_src/request_files/tutorial001_an_py39.py

    from typing import Annotated
    
    from fastapi import FastAPI, File, UploadFile
    
    app = FastAPI()
    
    
    @app.post("/files/")
    async def create_file(file: Annotated[bytes, File()]):
        return {"file_size": len(file)}
    
    
    @app.post("/uploadfile/")
    async def create_upload_file(file: UploadFile):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 322 bytes
    - Viewed (0)
  3. docs_src/request_files/tutorial001_02.py

    from typing import Union
    
    from fastapi import FastAPI, File, UploadFile
    
    app = FastAPI()
    
    
    @app.post("/files/")
    async def create_file(file: Union[bytes, None] = File(default=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 May 14 11:59:59 UTC 2022
    - 508 bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/com/SmbComReadAndX.java

        }
    
    
        @Override
        protected int writeBytesWireFormat ( byte[] dst, int dstIndex ) {
            return 0;
        }
    
    
        @Override
        protected int readParameterWordsWireFormat ( byte[] buffer, int bufferIndex ) {
            return 0;
        }
    
    
        @Override
        protected int readBytesWireFormat ( 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
    - 4.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponse.java

        }
    
        int writeSetupWireFormat( byte[] dst, int dstIndex ) {
            return 0;
        }
        int writeParametersWireFormat( byte[] dst, int dstIndex ) {
            return 0;
        }
        int writeDataWireFormat( byte[] dst, int dstIndex ) {
            return 0;
        }
        int readSetupWireFormat( byte[] buffer, int bufferIndex, int len ) {
            return 0;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 5.1K bytes
    - Viewed (0)
  6. docs/de/docs/tutorial/extra-data-types.md

            * Bei Responses wird das `set` in eine `list`e umgewandelt.
            * Das generierte Schema zeigt an, dass die `set`-Werte eindeutig sind (unter Verwendung von JSON Schemas `uniqueItems`).
    * `bytes`:
        * Standard-Python-`bytes`.
        * In Requests und Responses werden sie als `str` behandelt.
        * Das generierte Schema wird anzeigen, dass es sich um einen `str` mit `binary` „Format“ handelt.
    * `Decimal`:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotification.java

        private byte oplockLevel;
        private byte[] fileId;
    
    
        /**
         * @param config
         */
        public Smb2OplockBreakNotification ( Configuration config ) {
            super(config);
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#writeBytesWireFormat(byte[], int)
         */
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/com/SmbComNegotiate.java

        public boolean isSigningEnforced () {
            return this.signingEnforced;
        }
    
    
        @Override
        protected int writeParameterWordsWireFormat ( byte[] dst, int dstIndex ) {
            return 0;
        }
    
    
        @Override
        protected int writeBytesWireFormat ( byte[] dst, int dstIndex ) {
            ByteArrayOutputStream bos = new ByteArrayOutputStream();
    
            for ( String dialect : this.dialects ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.3K bytes
    - Viewed (0)
  9. fastapi/_compat.py

            return is_pv1_scalar_sequence_field(field)
    
        def is_bytes_field(field: ModelField) -> bool:
            return lenient_issubclass(field.type_, bytes)
    
        def is_bytes_sequence_field(field: ModelField) -> bool:
            return field.shape in sequence_shapes and lenient_issubclass(field.type_, bytes)  # type: ignore[attr-defined]
    
        def copy_field_info(*, field_info: FieldInfo, annotation: Any) -> FieldInfo:
            return copy(field_info)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 09:36:32 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequest.java

            this.fileId = fileId;
        }
    
    
        /**
         * 
         * @param config
         * @param controlCode
         * @param fileId
         * @param outputBuffer
         */
        public Smb2IoctlRequest ( Configuration config, int controlCode, byte[] fileId, byte[] outputBuffer ) {
            super(config, SMB2_IOCTL);
            this.controlCode = controlCode;
            this.fileId = fileId;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 07:13:17 UTC 2018
    - 7.8K bytes
    - Viewed (0)
Back to top