Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 1,247 for exiting (0.13 seconds)

  1. docs/en/docs/advanced/events.md

        await do_stuff()
    ```
    
    When you create a context manager or an async context manager like above, what it does is that, before entering the `with` block, it will execute the code before the `yield`, and after exiting the `with` block, it will execute the code after the `yield`.
    
    In our code example above, we don't use it directly, but we pass it to FastAPI for it to use it.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/graph/MutableValueGraph.java

      @CanIgnoreReturnValue
      boolean addNode(N node);
    
      /**
       * Adds an edge connecting {@code nodeU} to {@code nodeV} if one is not already present, and sets
       * a value for that edge to {@code value} (overwriting the existing value, if any).
       *
       * <p>If the graph is directed, the resultant edge will be directed; otherwise, it will be
       * undirected.
       *
       * <p>Values do not have to be unique. However, values must be non-null.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/suggest/entity/SuggestItemSerializerTest.java

                    SuggestItem.Kind.DOCUMENT);
    
            Map<String, Object> existing = new HashMap<>();
            existing.put(FieldNames.DOC_FREQ, 5L);
            existing.put(FieldNames.QUERY_FREQ, 3L);
            existing.put(FieldNames.TIMESTAMP, System.currentTimeMillis());
    
            Map<String, Object> updated = SuggestItemSerializer.toUpdatedSource(item, existing);
    
            assertNotNull(updated);
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/webconfig/AdminWebconfigAction.java

                    });
                    form.crudMode = CrudMode.CREATE;
                });
            });
        }
    
        /**
         * Displays the form for editing an existing web crawler configuration.
         *
         * @param form the edit form containing web config ID
         * @return HTML response for the web config edit form
         */
        @Execute
        @Secured({ ROLE })
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:54:13 GMT 2026
    - 22.2K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/escape/EscapersTest.java

        builder.addEscape(' ', "_");
        Escaper first = builder.build();
        // Modify one of the existing mappings before creating a new escaper.
        builder.addEscape(' ', "-");
        builder.addEscape('!', "$");
        Escaper second = builder.build();
        // This should have no effect on existing escapers.
        builder.addEscape(' ', "*");
    
        // Test both escapers after modifying the builder.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/searchlist/AdminSearchlistAction.java

                form.doc = fessConfig.convertToEditableDoc(entity);
            });
            currentForm = form;
            return asEditHtml();
        }
    
        /**
         * Displays the form for editing an existing document.
         *
         * @param form the edit form containing document ID
         * @return HTML response for the document edit form
         */
        @Execute
        @Secured({ ROLE })
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:38:39 GMT 2026
    - 25.5K bytes
    - Click Count (1)
  7. src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java

        public void test_update() throws Exception {
            writeTestFile("a,b => c\nd,e => f\n");
    
            // Get existing item
            OptionalEntity<CharMappingItem> existing = charMappingFile.get(1L);
            assertTrue(existing.isPresent());
    
            // Update the item
            CharMappingItem updateItem = existing.get();
            updateItem.setNewInputs(new String[] { "m", "n" });
            updateItem.setNewOutput("o");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18.9K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/escape/EscapersTest.java

        builder.addEscape(' ', "_");
        Escaper first = builder.build();
        // Modify one of the existing mappings before creating a new escaper.
        builder.addEscape(' ', "-");
        builder.addEscape('!', "$");
        Escaper second = builder.build();
        // This should have no effect on existing escapers.
        builder.addEscape(' ', "*");
    
        // Test both escapers after modifying the builder.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/entity/QueryContextTest.java

            // Should not throw exception
        }
    
        // Test addFieldLog with existing field
        @Test
        public void test_addFieldLog_existingField() {
            Map<String, List<String>> fieldLogMap = new HashMap<>();
            List<String> existingList = new ArrayList<>();
            existingList.add("existing");
            fieldLogMap.put("field", existingList);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17.6K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/suggest/entity/SuggestItemSerializer.java

            return item;
        }
    
        /**
         * Creates an updated source map by merging the item with existing source.
         *
         * @param item The SuggestItem with new data
         * @param existingSource The existing source map from OpenSearch
         * @return A merged source map
         */
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 13.5K bytes
    - Click Count (0)
Back to Top