Search Options

Results per page
Sort
Preferred Languages
Advance

Results 581 - 590 of 1,575 for dama (0.07 sec)

  1. compat/maven-embedder/src/main/java/org/apache/maven/cli/event/DefaultEventSpyContext.java

    /**
     * DefaultEventSpyContext
     */
    public class DefaultEventSpyContext implements EventSpy.Context {
    
        private final Map<String, Object> data = new HashMap<>();
    
        public Map<String, Object> getData() {
            return data;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  2. tests/test_param_in_path_and_dependency.py

    def test_read_users():
        response = client.get("/users/42")
        assert response.status_code == 200, response.text
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        data = response.json()
        assert data == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/users/{user_id}": {
                    "get": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  3. cmd/metrics-v3-replication.go

    		"Average replication data transfer rate in bytes/sec")
    	replicationCurrentActiveWorkersMD = NewGaugeMD(replicationCurrentActiveWorkers,
    		"Total number of active replication workers")
    	replicationCurrentDataTransferRateMD = NewGaugeMD(replicationCurrentDataTransferRate,
    		"Current replication data transfer rate in bytes/sec")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_body/test_tutorial001.py

            "name": "Foo",
            "description": None,
            "price": 50.5,
            "tax": None,
        }
    
    
    def test_wrong_headers(client: TestClient):
        data = '{"name": "Foo", "price": 50.5}'
        response = client.post(
            "/items/", content=data, headers={"Content-Type": "text/plain"}
        )
        assert response.status_code == 422, response.text
        assert response.json() == IsDict(
            {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_body/test_tutorial001_py310.py

            "description": None,
            "price": 50.5,
            "tax": None,
        }
    
    
    @needs_py310
    def test_wrong_headers(client: TestClient):
        data = '{"name": "Foo", "price": 50.5}'
        response = client.post(
            "/items/", content=data, headers={"Content-Type": "text/plain"}
        )
        assert response.status_code == 422, response.text
        assert response.json() == IsDict(
            {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 15K bytes
    - Viewed (1)
  6. src/main/java/jcifs/pac/PacCredentialType.java

    public class PacCredentialType {
    
        private static final int MINIMAL_BUFFER_SIZE = 32;
    
        private byte[] credentialType;
    
    
        public PacCredentialType ( byte[] data ) throws PACDecodingException {
            this.credentialType = data;
            if ( !isCredentialTypeCorrect() ) {
                throw new PACDecodingException("Invalid PAC credential type");
            }
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.4K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_security/test_tutorial003_an.py

    client = TestClient(app)
    
    
    def test_login():
        response = client.post("/token", data={"username": "johndoe", "password": "secret"})
        assert response.status_code == 200, response.text
        assert response.json() == {"access_token": "johndoe", "token_type": "bearer"}
    
    
    def test_login_incorrect_password():
        response = client.post(
            "/token", data={"username": "johndoe", "password": "incorrect"}
        )
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 8K bytes
    - Viewed (0)
  8. src/main/assemblies/common-bin.xml

    			<directory>${project.basedir}/plugins</directory>
    			<outputDirectory>fess-${project.version}/es/plugins</outputDirectory>
    		</fileSet>
    		<!-- es/data -->
    		<fileSet>
    			<directory>src/main/assemblies/files</directory>
    			<outputDirectory>fess-${project.version}/es/data</outputDirectory>
    			<excludes>
    				<exclude>*</exclude>
    			</excludes>
    			<filtered>false</filtered>
    		</fileSet>
    	</fileSets>
    	<files>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Mar 17 02:29:43 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/body-multiple-params.md

    It will perform the validation of the compound data, and will document it like that for the OpenAPI schema and automatic docs.
    
    ## Singular values in body
    
    The same way there is a `Query` and `Path` to define extra data for query and path parameters, **FastAPI** provides an equivalent `Body`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  10. cmd/erasure-multipart.go

    	var buffer []byte
    	switch size := data.Size(); {
    	case size == 0:
    		buffer = make([]byte, 1) // Allocate at least a byte to reach EOF
    	case size == -1:
    		if size := data.ActualSize(); size > 0 && size < fi.Erasure.BlockSize {
    			// Account for padding and forced compression overhead and encryption.
    			buffer = make([]byte, data.ActualSize()+256+32+32, data.ActualSize()*2+512)
    		} else {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 44.7K bytes
    - Viewed (0)
Back to top