Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 871 - 880 of 1,636 for dama (0.35 seconds)

  1. src/test/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponseTest.java

        }
    
        @Test
        @DisplayName("Test successful decode with valid resume key")
        void testDecodeValidResumeKey() throws SMBProtocolDecodingException {
            // Prepare test data - 24 bytes for resume key + 4 bytes for context length
            byte[] buffer = new byte[28];
    
            // Fill resume key with test pattern
            for (int i = 0; i < 24; i++) {
                buffer[i] = (byte) (i + 1);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  2. docs/en/docs/tutorial/dependencies/classes-as-dependencies.md

    * An optional `q` query parameter that is a `str`.
    * A `skip` query parameter that is an `int`, with a default of `0`.
    * A `limit` query parameter that is an `int`, with a default of `100`.
    
    In both cases the data will be converted, validated, documented on the OpenAPI schema, etc.
    
    ## Use it { #use-it }
    
    Now you can declare your dependency using this class.
    
    {* ../../docs_src/dependencies/tutorial002_an_py310.py hl[19] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 18:32:12 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  3. docs/en/docs/advanced/advanced-dependencies.md

    For example, if you had a database session in a dependency with `yield`, the `StreamingResponse` would not be able to use that session while streaming data because the session would have already been closed in the exit code after `yield`.
    
    This behavior was reverted in 0.118.0, to make the exit code after `yield` be executed after the response is sent.
    
    /// info
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 9K bytes
    - Click Count (0)
  4. schema/schema.go

    	callbackTypeAfterDelete  callbackType = "AfterDelete"
    	callbackTypeAfterFind    callbackType = "AfterFind"
    )
    
    // ErrUnsupportedDataType unsupported data type
    var ErrUnsupportedDataType = errors.New("unsupported data type")
    
    type Schema struct {
    	Name                      string
    	ModelType                 reflect.Type
    	Table                     string
    	PrioritizedPrimaryField   *Field
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:35:55 GMT 2026
    - 13.3K bytes
    - Click Count (0)
  5. tests/delete_test.go

    	if len(results) != 2 {
    		t.Errorf("failed to return delete data, got %v", results)
    	}
    
    	var count int64
    	DB.Model(&User{}).Where("name IN ?", []string{users[0].Name, users[1].Name, users[2].Name}).Count(&count)
    	if count != 1 {
    		t.Errorf("failed to delete data, current count %v", count)
    	}
    }
    
    func TestDeleteReturning(t *testing.T) {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Jul 21 02:46:58 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  6. docs/en/docs/tutorial/security/oauth2-jwt.md

    Many packages that simplify it a lot have to make many compromises with the data model, database, and available features. And some of these packages that simplify things too much actually have security flaws underneath.
    
    ---
    
    **FastAPI** doesn't make any compromise with any database, data model or tool.
    
    It gives you all the flexibility to choose the ones that fit your project the best.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopy.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.smb2.ioctl;
    
    import jcifs.Encodable;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 SRV_COPYCHUNK_COPY data structure. This structure is used to perform server-side
     * copy operations with multiple chunk specifications.
     *
     * @author mbechler
     *
     */
    public class SrvCopychunkCopy implements Encodable {
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  8. docs/ru/docs/tutorial/request-forms-and-files.md

    Вы можете объявить несколько параметров `File` и `Form` в операции пути, но вы не можете также объявить поля `Body`, которые вы ожидаете получить в виде JSON, так как запрос будет иметь тело, закодированное с помощью `multipart/form-data` вместо `application/json`.
    
    Это не ограничение **FastAPI**, это часть протокола HTTP.
    
    ///
    
    ## Резюме { #recap }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 2.2K bytes
    - Click Count (0)
  9. tests/test_json_type.py

    def cookie_json_list(items: Annotated[Json[list[str]], Cookie()]) -> list[str]:
        return items
    
    
    client = TestClient(app)
    
    
    def test_form_json_list():
        response = client.post(
            "/form-json-list", data={"items": json.dumps(["abc", "def"])}
        )
        assert response.status_code == 200, response.text
        assert response.json() == ["abc", "def"]
    
    
    def test_query_json_list():
        response = client.get(
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 05 18:41:43 GMT 2026
    - 1.7K bytes
    - Click Count (0)
  10. scripts/tests/test_translation_fixer/test_html_links/test_html_links_number_mismatch.py

    from pathlib import Path
    
    import pytest
    from typer.testing import CliRunner
    
    from scripts.translation_fixer import cli
    
    data_path = Path("scripts/tests/test_translation_fixer/test_html_links/data").absolute()
    
    
    @pytest.mark.parametrize(
        "copy_test_files",
        [(f"{data_path}/en_doc.md", f"{data_path}/translated_doc_number_gt.md")],
        indirect=True,
    )
    def test_gt(runner: CliRunner, root_dir: Path, copy_test_files):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 22:43:44 GMT 2026
    - 1.8K bytes
    - Click Count (0)
Back to Top