Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 1,014 for iter (0.07 seconds)

  1. src/test/java/org/codelibs/fess/dict/synonym/SynonymItemTest.java

            String[] originalInputs = { "a", "b", "c" };
            SynonymItem item = new SynonymItem(1, originalInputs, new String[] { "x" });
    
            String[] returnedInputs = item.getInputs();
    
            // Modifying returned array should not affect original
            returnedInputs[0] = "modified";
    
            // Get again and verify not modified
            String[] inputs2 = item.getInputs();
            assertEquals("a", inputs2[0]);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 8K bytes
    - Click Count (1)
  2. docs_src/body_fields/tutorial001_py310.py

    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: str | None = Field(
            default=None, title="The description of the item", max_length=300
        )
        price: float = Field(gt=0, description="The price must be greater than zero")
        tax: float | None = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Item = Body(embed=True)):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri May 13 23:38:22 GMT 2022
    - 523 bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/suggest/entity/SuggestItemTest.java

            assertArrayEquals(languages, item.getLanguages());
            assertEquals(1, item.getKinds().length);
            assertEquals(SuggestItem.Kind.QUERY, item.getKinds()[0]);
            assertEquals(50L, item.getQueryFreq());
            assertEquals(100L, item.getDocFreq());
            assertEquals(1.5f, item.getUserBoost(), 0.001f);
            assertNotNull(item.getTimestamp());
            assertNotNull(item.getId());
        }
    
        @Test
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Sep 01 13:33:03 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  4. tests/test_custom_schema_fields.py

    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
    
        description: Annotated[str | None, WithJsonSchema({"type": ["string", "null"]})] = (
            None
        )
    
        model_config = {
            "json_schema_extra": {
                "x-something-internal": {"level": 4},
            }
        }
    
    
    @app.get("/foo", response_model=Item)
    def foo():
        return {"name": "Foo item"}
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 1.3K bytes
    - Click Count (0)
  5. docs/ko/docs/tutorial/stream-json-lines.md

    sequenceDiagram
        participant App
        participant Client
    
        App->>App: Produce Item 1
        App->>Client: Send Item 1
        App->>App: Produce Item 2
        Client->>Client: Process Item 1
        App->>Client: Send Item 2
        App->>App: Produce Item 3
        Client->>Client: Process Item 2
        App->>Client: Send Item 3
        Client->>Client: Process Item 3
        Note over App: Keeps producing...
        Note over Client: Keeps consuming...
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:56:39 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/suggest/entity/SuggestItemSerializer.java

            final SuggestItem item = new SuggestItem();
            item.setText(text);
            item.setReadings(readings.toArray(new String[readings.size()][]));
            item.setFields(fields.toArray(new String[fields.size()]));
            item.setDocFreq(docFreq);
            item.setQueryFreq(queryFreq);
            item.setUserBoost(userBoost);
            item.setTags(tags.toArray(new String[tags.size()]));
    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)
  7. tests/test_dependency_duplicates.py

    client = TestClient(app)
    
    
    class Item(BaseModel):
        data: str
    
    
    def duplicate_dependency(item: Item):
        return item
    
    
    def dependency(item2: Item):
        return item2
    
    
    def sub_duplicate_dependency(
        item: Item, sub_item: Item = Depends(duplicate_dependency)
    ):
        return [item, sub_item]
    
    
    @app.post("/with-duplicates")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideItem.java

        }
    
        /**
         * Checks if the item has been updated.
         *
         * @return true if the item has been updated, false otherwise.
         */
        public boolean isUpdated() {
            return newInput != null && newOutput != null;
        }
    
        /**
         * Checks if the item has been marked for deletion.
         *
         * @return true if the item is marked for deletion, false otherwise.
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  9. tests/test_tutorial/test_body_nested_models/test_tutorial006.py

        )
        assert response.status_code == 200, response.text
        assert response.json() == {
            "item_id": 123,
            "item": {
                "name": "Foo",
                "description": "A very nice Item",
                "price": 35.4,
                "tax": 3.2,
                "tags": IsList("foo", "bar", check_order=False),
                "images": [
                    {"url": "http://example.com/image.png", "name": "example image"}
                ],
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  10. docs/metrics/prometheus/list.md

    | `minio_cluster_ilm_transitioned_bytes`    | Total bytes transitioned to a tier.              |
    | `minio_cluster_ilm_transitioned_objects`  | Total number of objects transitioned to a tier.  |
    | `minio_cluster_ilm_transitioned_versions` | Total number of versions transitioned to a tier. |
    
    ## Cluster KMS Metrics
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 43.4K bytes
    - Click Count (0)
Back to Top