Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 153 for resMap (1.43 sec)

  1. docs/en/docs/tutorial/path-params.md

    In that case, the URL would be: `/files//home/johndoe/myfile.txt`, with a double slash (`//`) between `files` and `home`.
    
    ///
    
    ## Recap { #recap }
    
    With **FastAPI**, by using short, intuitive and standard Python type declarations, you get:
    
    * Editor support: error checks, autocompletion, etc.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:29:01 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbFileInputStream.java

                            try {
                                final Smb2ReadResponse resp = th.send(request, RequestParam.NO_RETRY);
                                n = resp.getDataLength();
                            } catch (final SmbException e) {
                                if (e.getNtStatus() == 0xC0000011) { // NT_STATUS_END_OF_FILE
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbPipeHandleImplTest.java

            when(fileHandle.getTree()).thenReturn(tree);
    
            // Mock response and send behavior
            Smb2IoctlResponse resp = mock(Smb2IoctlResponse.class);
            when(resp.getOutputLength()).thenReturn(42);
            when(tree.send(any(Smb2IoctlRequest.class), any())).thenReturn(resp);
    
            byte[] out = new byte[10];
            int read = target.sendrecv(new byte[] { 9, 8, 7 }, 0, 3, out, 1024);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  4. cmd/xl-storage.go

    				}
    			}
    		}
    		if osErrToFileErr(err) == errFileNotFound {
    			resp = checkPartFileNotFound
    		}
    		return
    	}
    	if st.Mode().IsDir() {
    		resp = checkPartFileNotFound
    		return
    	}
    	// Check if shard is truncated.
    	if st.Size() < expectedSize {
    		resp = checkPartFileCorrupt
    		return
    	}
    	return checkPartSuccess
    }
    
    // CheckParts check if path has necessary parts available.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jun 13 11:33:47 UTC 2025
    - 91.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbSessionImplTest.java

            SmbSessionImpl session = newSession();
    
            // Make session look connected via setSessionSetup
            Smb2SessionSetupResponse resp = mock(Smb2SessionSetupResponse.class);
            when(resp.getSessionId()).thenReturn(42L);
            session.setSessionSetup(resp);
    
            when(transport.isDisconnected()).thenReturn(false);
            when(transport.isFailed()).thenReturn(false);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  6. cmd/perf-tests.go

    		result.Error = err.Error()
    		return
    	}
    	client := &http.Client{
    		Transport: globalRemoteTargetTransport,
    	}
    	resp, err := client.Do(req)
    	if err != nil {
    		result.Error = err.Error()
    		return
    	}
    	defer xhttp.DrainBody(resp.Body)
    	err = gob.NewDecoder(resp.Body).Decode(&result)
    	// endpoint have been overwritten
    	result.Endpoint = rp.String()
    	if err != nil {
    		result.Error = err.Error()
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  7. cmd/prepare-storage.go

    	if err != nil {
    		return err
    	}
    	// Indicate that the liveness check for a peer call
    	req.Header.Set(xhttp.MinIOPeerCall, "true")
    
    	resp, err := httpClient.Do(req)
    	if err != nil {
    		return err
    	}
    	xhttp.DrainBody(resp.Body)
    
    	return nil
    }
    
    // connect to list of endpoints and load all Erasure disk formats, validate the formats are correct
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 11.1K bytes
    - Viewed (1)
  8. src/main/java/jcifs/smb/SmbRandomAccessFile.java

                        request.setReadLength(r);
                        request.setRemainingBytes(len - off);
                        try {
                            final Smb2ReadResponse resp = th.send(request, RequestParam.NO_RETRY);
                            n = resp.getDataLength();
                        } catch (final SmbException e) {
                            if (e.getNtStatus() != 0xC0000011) {
                                throw e;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java

            // Given
            byte[] buffer = new byte[512];
            int offset = 10;
    
            // When
            Smb2ReadResponse resp = new Smb2ReadResponse(mockConfig, buffer, offset);
    
            // Then
            assertNotNull(resp);
            assertTrue(resp instanceof ServerMessageBlock2Response);
            assertTrue(resp instanceof ServerMessageBlock2);
        }
    
        @Test
        @DisplayName("Should return correct OVERHEAD constant value")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/security/oauth2-jwt.md

    You can learn how to use them and how they are integrated into **FastAPI** later in the **Advanced User Guide**.
    
    ## Recap { #recap }
    
    With what you have seen up to now, you can set up a secure **FastAPI** application using standards like OAuth2 and JWT.
    
    In almost any framework handling the security becomes a rather complex subject quite quickly.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 10.5K bytes
    - Viewed (0)
Back to top