Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 1,540 for edata (0.02 sec)

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

    `UploadFile` tem os seguintes métodos `assíncronos`. Todos eles chamam os métodos de arquivo correspondentes por baixo dos panos (usando o `SpooledTemporaryFile` interno).
    
    * `write(data)`: Escreve `data` (`str` ou `bytes`) no arquivo.
    * `read(size)`: Lê `size` (`int`) bytes/caracteres do arquivo.
    * `seek(offset)`: Vai para o byte na posição `offset` (`int`) no arquivo.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 30 19:52:32 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  2. docs_src/request_form_models/tutorial001_an.py

    from typing_extensions import Annotated
    
    app = FastAPI()
    
    
    class FormData(BaseModel):
        username: str
        password: str
    
    
    @app.post("/login/")
    async def login(data: Annotated[FormData, Form()]):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Sep 05 15:16:50 UTC 2024
    - 278 bytes
    - Viewed (0)
  3. cmd/xl-storage-format-v2.go

    		return nil, nil, err
    	}
    	data = buf
    	if data.validate() != nil {
    		data.repair()
    	}
    
    	return meta, data, nil
    }
    
    type xlMetaV2ShallowVersion struct {
    	header xlMetaV2VersionHeader
    	meta   []byte
    }
    
    //msgp:ignore xlMetaV2 xlMetaV2ShallowVersion
    
    type xlMetaV2 struct {
    	versions []xlMetaV2ShallowVersion
    
    	// data will contain raw data if any.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
  4. cmd/xl-storage-format-v1.go

    		version == xlMetaVersion100) &&
    		format == xlMetaFormat)
    }
    
    // Verifies if the backend format metadata is sane by validating
    // the ErasureInfo, i.e. data and parity blocks.
    func isXLMetaErasureInfoValid(data, parity int) bool {
    	return ((data >= parity) && (data > 0) && (parity >= 0))
    }
    
    //msgp:clearomitted
    
    //go:generate msgp -file=$GOFILE -unexported
    
    // A xlMetaV1Object represents `xl.meta` metadata header.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/accesstoken/AdminAccesstokenAction.java

            accessTokenPager.clear();
            return asHtml(path_AdminAccesstoken_AdminAccesstokenJsp).renderWith(data -> {
                searchPaging(data, form);
            });
        }
    
        protected void searchPaging(final RenderData data, final SearchForm form) {
            RenderDataUtil.register(data, "accessTokenItems", accessTokenService.getAccessTokenList(accessTokenPager)); // page navi
    
            // restore from pager
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/sql-databases.md

    And in the code, we get a `dict` with all the data sent by the client, **only the data sent by the client**, excluding any values that would be there just for being the default values. To do it we use `exclude_unset=True`. This is the main trick. 🪄
    
    Then we use `hero_db.sqlmodel_update(hero_data)` to update the `hero_db` with the data from `hero_data`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  7. docs/en/docs/benchmarks.md

        * If you didn't use FastAPI and used Starlette directly (or another tool, like Sanic, Flask, Responder, etc) you would have to implement all the data validation and serialization yourself. So, your final application would...
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. docs_src/websockets/tutorial003_py39.py

        await manager.connect(websocket)
        try:
            while True:
                data = await websocket.receive_text()
                await manager.send_personal_message(f"You wrote: {data}", websocket)
                await manager.broadcast(f"Client #{client_id} says: {data}")
        except WebSocketDisconnect:
            manager.disconnect(websocket)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  9. istioctl/pkg/writer/envoy/configdump/secret_test.go

    			if err != nil {
    				t.Errorf("error opening test data file: %v", err)
    			}
    			defer configDumpFile.Close()
    			configDump, err := io.ReadAll(configDumpFile)
    			if err != nil {
    				t.Errorf("error reading test data file: %v", err)
    			}
    
    			outFile, err := os.Open(fmt.Sprintf("testdata/secret/%s/output", tc.sds))
    			if err != nil {
    				t.Errorf("error opening test data output file: %v", err)
    			}
    			defer outFile.Close()
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Oct 28 19:52:53 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/NtlmContext.java

            byte[] seqBytes = new byte[4];
            SMBUtil.writeInt4(seqNum, seqBytes, 0);
    
            MessageDigest mac = Crypto.getHMACT64(sk);
            mac.update(seqBytes); // sequence
            mac.update(data); // data
            byte[] dgst = mac.digest();
            byte[] trunc = new byte[8];
            System.arraycopy(dgst, 0, trunc, 0, 8);
    
            if ( log.isDebugEnabled() ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 15.7K bytes
    - Viewed (0)
Back to top