Search Options

Results per page
Sort
Preferred Languages
Advance

Results 491 - 500 of 697 for dice (0.08 sec)

  1. tests/hooks_test.go

    		t.Fatalf("should returns error %v when creating product, but got nil", err)
    	}
    
    	product2 := Product2{Name: "Nice", Price: 100}
    
    	if err := DB.Create(&product2).Error; err != nil {
    		t.Fatalf("Failed to create product, got error: %v", err)
    	}
    
    	var result Product2
    	if err := DB.First(&result, "name = ?", "Nice").Error; err != nil {
    		t.Fatalf("Failed to query product, got error: %v", err)
    	}
    
    	var resultClone Product2
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 17 03:59:06 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/templates.md

    ```
    
    ### Template Context Values
    
    In the HTML that contains:
    
    {% raw %}
    
    ```jinja
    Item ID: {{ id }}
    ```
    
    {% endraw %}
    
    ...it will show the `id` taken from the "context" `dict` you passed:
    
    ```Python
    {"id": id}
    ```
    
    For example, with an ID of `42`, this would render:
    
    ```html
    Item ID: 42
    ```
    
    ### Template `url_for` Arguments
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. docs_src/security/tutorial005_py39.py

        user = get_user(fake_db, username)
        if not user:
            return False
        if not verify_password(password, user.hashed_password):
            return False
        return user
    
    
    def create_access_token(data: dict, expires_delta: Union[timedelta, None] = None):
        to_encode = data.copy()
        if expires_delta:
            expire = datetime.now(timezone.utc) + expires_delta
        else:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. build-logic-commons/basics/src/main/kotlin/gradlebuild.minify.gradle.kts

            "it.unimi.dsi.fastutil.objects.ReferenceOpenHashSet",
        )
    )
    plugins.withId("java-base") {
        dependencies {
            attributesSchema {
                attribute(minified)
            }
            // It would be nice if we could be more selective about which variants to apply this to.
            // TODO https://github.com/gradle/gradle/issues/11831#issuecomment-580686994
            artifactTypes.getByName("jar") {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/opensearch/extension/kuromoji/index/analysis/KuromojiTokenizerFactory.java

    import java.util.Set;
    
    import org.apache.lucene.analysis.Tokenizer;
    import org.apache.lucene.analysis.ja.JapaneseTokenizer;
    import org.apache.lucene.analysis.ja.JapaneseTokenizer.Mode;
    import org.apache.lucene.analysis.ja.dict.UserDictionary;
    import org.apache.lucene.analysis.util.CSVUtil;
    import org.opensearch.OpenSearchException;
    import org.opensearch.common.settings.Settings;
    import org.opensearch.env.Environment;
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. docs_src/security/tutorial004_an.py

        user = get_user(fake_db, username)
        if not user:
            return False
        if not verify_password(password, user.hashed_password):
            return False
        return user
    
    
    def create_access_token(data: dict, expires_delta: Union[timedelta, None] = None):
        to_encode = data.copy()
        if expires_delta:
            expire = datetime.now(timezone.utc) + expires_delta
        else:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. docs/pt/docs/tutorial/middleware.md

    * Você pode então modificar ainda mais o `response` antes de retorná-lo.
    
    ```Python hl_lines="8-9  11  14"
    {!../../docs_src/middleware/tutorial001.py!}
    ```
    
    /// tip | "Dica"
    
    Tenha em mente que cabeçalhos proprietários personalizados podem ser adicionados <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers" class="external-link" target="_blank">usando o prefixo 'X-'</a>.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. docs/pt/docs/advanced/using-request-directly.md

    {!../../docs_src/using_request_directly/tutorial001.py!}
    ```
    
    Ao declarar o parâmetro com o tipo sendo um `Request` em sua *função de operação de rota*, o **FastAPI** saberá como passar o `Request` neste parâmetro.
    
    /// tip | "Dica"
    
    Note que neste caso, nós estamos declarando o parâmetro da rota ao lado do parâmetro da requisição.
    
    Assim, o parâmetro da rota será extraído, validado, convertido para o tipo especificado e anotado com OpenAPI.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/util/ResourceUtil.java

            return getPath("WEB-INF/", "view", names);
        }
    
        public static Path getDictionaryPath(final String... names) {
            return getPath("WEB-INF/", "dict", names);
        }
    
        public static Path getThumbnailPath(final String... names) {
            return getPath("WEB-INF/", "thumbnails", names);
        }
    
        public static Path getSitePath(final String... names) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 08:52:32 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  10. docs/em/docs/features.md

    ### 📏
    
    ⚫️ ✔️ 🤔 **🔢** 🌐, ⏮️ 📦 📳 🌐. 🌐 🔢 💪 👌-🎧 ⚫️❔ 👆 💪 &amp; 🔬 🛠️ 👆 💪.
    
    ✋️ 🔢, ⚫️ 🌐 **"👷"**.
    
    ### 🔬
    
    * 🔬 🌅 (⚖️ 🌐 ❓) 🐍 **💽 🆎**, 🔌:
        * 🎻 🎚 (`dict`).
        * 🎻 🎻 (`list`) ⚖ 🏬 🆎.
        * 🎻 (`str`) 🏑, 🔬 🕙 &amp; 👟 📐.
        * 🔢 (`int`, `float`) ⏮️ 🕙 &amp; 👟 💲, ♒️.
    
    * 🔬 🌅 😍 🆎, 💖:
        * 📛.
        * 📧.
        * 🆔.
        * ...&amp; 🎏.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top