Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 525 for context_a (0.06 seconds)

  1. tests/test_dependency_contextmanager.py

    
    async def context_a(state: dict = Depends(get_state)):
        state["context_a"] = "started a"
        try:
            yield state
        finally:
            state["context_a"] = "finished a"
    
    
    async def context_b(state: dict = Depends(context_a)):
        state["context_b"] = "started b"
        try:
            yield state
        finally:
            state["context_b"] = f"finished b with a: {state['context_a']}"
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  2. src/main/resources/fess_indices/fess.json

              ]
            }
          }
        }
      },
      "mappings": {
        "_source": {
          "excludes": [
            "content_ar",
            "content_bg",
            "content_bn",
            "content_ca",
            "content_ckb-iq",
            "content_cs",
            "content_da",
            "content_de",
            "content_el",
            "content_en",
            "content_en-ie",
            "content_es",
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 07:52:55 GMT 2026
    - 40K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/helper/LanguageHelperTest.java

            assertEquals("aaa;ctx._source.title_ja=ctx._source.title;ctx._source.content_ja=ctx._source.content",
                    languageHelper.createScript(doc, "aaa").getIdOrCode());
        }
    
        @Test
        public void test_getReindexScriptSource() {
            assertEquals(
                    "if(ctx._source.lang!=null){ctx._source['title_'+ctx._source.lang]=ctx._source.title;ctx._source['content_'+ctx._source.lang]=ctx._source.content}",
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java

                contexts[2] = new TestCreateContextResponse("CONTEXT3".getBytes(StandardCharsets.UTF_8));
    
                // Decode each context
                for (int i = 0; i < contexts.length; i++) {
                    contexts[i].decode(buffer, i * 100, 50);
                }
    
                // Verify each context
                for (int i = 0; i < contexts.length; i++) {
                    assertNotNull(contexts[i].getName());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 16.2K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/query/QueryCommandTemplateMethodTest.java

            FessConfig fessConfig = ComponentUtil.getFessConfig();
            QueryContext context1 = new QueryContext("test", true);
            QueryContext context2 = new QueryContext("test", true);
    
            // Using template method
            QueryBuilder result1 = queryCommand.convertWithFieldCheck(fessConfig, context1, "title", "test", 1.0f,
                    (field, boost) -> QueryBuilders.matchQuery(field, "test").boost(boost),
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  6. tensorflow/c/eager/c_api_experimental.h

                                                         bool use_tfrt);
    
    // Returns the context_id from the EagerContext which is used by the
    // EagerService to maintain consistency between client and worker. The
    // context_id is initialized with a dummy value and is later set when the worker
    // is initialized (either locally or remotely). The context_id can change during
    // the process lifetime although this should cause the worker to be
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Click Count (1)
  7. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

                    testEncryptionKey, testDecryptionKey);
    
            // When/Then - Multiple closes should be safe
            assertDoesNotThrow(() -> {
                context.close();
                context.close();
                context.close();
            });
    
            assertTrue(context.isClosed());
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 44.1K bytes
    - Click Count (0)
  8. tensorflow/c/eager/immediate_execution_context.h

      virtual bool UsesTFRT() = 0;
    
      // List attributes of available devices
      virtual void ListDevices(std::vector<DeviceAttributes>* devices) = 0;
    
      // Add `devices` into context's device manager. Context's device manager
      // will take ownership and maintain devices' lifetime.
      virtual absl::Status AddDevices(
          std::vector<std::unique_ptr<Device>> devices) = 0;
    
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 12 05:11:17 GMT 2024
    - 12.3K bytes
    - Click Count (0)
  9. src/test/java/jcifs/pac/kerberos/KerberosTokenTest.java

                    new DERTaggedObject(true, 1, new ASN1Integer(14)), // msg-type
            });
    
            // Create CONTEXT tagged object instead of APPLICATION
            DERTaggedObject contextTag = new DERTaggedObject(false, 14, apReqSequence);
    
            // Build inner content with OID and magic bytes
            ByteArrayOutputStream innerContent = new ByteArrayOutputStream();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  10. docs/fr/docs/advanced/templates.md

    ```jinja hl_lines="7"
    {!../../docs_src/templates/templates/item.html!}
    ```
    
    ### Valeurs de contexte du template { #template-context-values }
    
    Dans le HTML qui contient :
    
    {% raw %}
    
    ```jinja
    Item ID: {{ id }}
    ```
    
    {% endraw %}
    
    ... il affichera l’`id` récupéré à partir du `dict` « context » que vous avez passé :
    
    ```Python
    {"id": id}
    ```
    
    Par exemple, avec un ID de `42`, cela rendrait :
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 3.7K bytes
    - Click Count (0)
Back to Top