Search Options

Results per page
Sort
Preferred Languages
Advance

Results 461 - 470 of 1,007 for iter (1.15 sec)

  1. android/guava-testlib/test/com/google/common/testing/RelationshipTesterTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.testing;
    
    import com.google.common.testing.RelationshipTester.Item;
    import com.google.common.testing.RelationshipTester.ItemReporter;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@link RelationshipTester}.
     *
     * @author Ben Yu
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  2. internal/store/batch.go

    	Log           logger
    }
    
    // Add adds the item to the batch
    func (b *Batch[I]) Add(item I) error {
    	b.Lock()
    	defer b.Unlock()
    
    	if b.isFull() {
    		if b.store == nil {
    			return ErrBatchFull
    		}
    		// commit batch to store
    		if err := b.commit(); err != nil {
    			return err
    		}
    	}
    
    	b.items = append(b.items, item)
    	return nil
    }
    
    // Len returns the no of items in the batch
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. ci/devinfra/docker/windows/Dockerfile

      $zulu_root = \"c:\\openjdk\"; \
      (New-Object Net.WebClient).DownloadFile($zulu_url, $zulu_zip); \
      [System.IO.Compression.ZipFile]::ExtractToDirectory($zulu_zip, \"c:\\temp\"); \
      Move-Item $zulu_extracted_path -Destination $zulu_root; \
      Remove-Item $zulu_zip; \
      $env:PATH = [Environment]::GetEnvironmentVariable(\"PATH\", \"Machine\") + \";${zulu_root}\\bin\"; \
      [Environment]::SetEnvironmentVariable(\"PATH\", $env:PATH, \"Machine\"); \
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Fri Jan 17 16:35:57 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  4. docs/de/docs/tutorial/query-params.md

        }
      ]
    }
    ```
    
    Da `needy` ein erforderlicher Parameter ist, müssen Sie ihn in der URL setzen:
    
    ```
    http://127.0.0.1:8000/items/foo-item?needy=sooooneedy
    ```
    
    ... Das funktioniert:
    
    ```JSON
    {
        "item_id": "foo-item",
        "needy": "sooooneedy"
    }
    ```
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 5K bytes
    - Viewed (0)
  5. scripts/sponsors.py

                  avatarUrl
                  url
                }
              }
              tier {
                name
                monthlyPriceInDollars
              }
            }
          }
        }
      }
    }
    """
    
    
    class SponsorEntity(BaseModel):
        login: str
        avatarUrl: str
        url: str
    
    
    class Tier(BaseModel):
        name: str
        monthlyPriceInDollars: float
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 12:34:01 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  6. docs_src/pydantic_v1_in_v2/tutorial003_an_py310.py

    from pydantic.v1 import BaseModel
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        size: float
    
    
    class ItemV2(BaseModelV2):
        name: str
        description: str | None = None
        size: float
    
    
    app = FastAPI()
    
    
    @app.post("/items/", response_model=ItemV2)
    async def create_item(item: Item):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 16:45:54 UTC 2025
    - 407 bytes
    - Viewed (0)
  7. docs/tr/docs/index.md

        return {"item_id": item_id, "q": q}
    
    
    @app.put("/items/{item_id}")
    def update_item(item_id: int, item: Item):
        return {"item_name": item.name, "item_id": item_id}
    ```
    
    Sunucu otomatik olarak yeniden başlamış olmalı (çünkü yukarıda `uvicorn` komutuyla birlikte `--reload` parametresini kullandık).
    
    ### Etkileşimli API Dokümantasyonundaki Değişimi Görelim
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/XmlUtilTest.java

            // Test parsing field with list
            String xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" + "<doc>\n" + "  <field name=\"tags\">\n" + "    <list>\n"
                    + "      <item>tag1</item>\n" + "      <item>tag2</item>\n" + "      <item>tag3</item>\n" + "    </list>\n" + "  </field>\n"
                    + "</doc>";
    
            AccessResultDataImpl<?> accessResultData = new AccessResultDataImpl<>();
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  9. docs_src/websockets/tutorial002_py39.py

    html = """
    <!DOCTYPE html>
    <html>
        <head>
            <title>Chat</title>
        </head>
        <body>
            <h1>WebSocket Chat</h1>
            <form action="" onsubmit="sendMessage(event)">
                <label>Item ID: <input type="text" id="itemId" autocomplete="off" value="foo"/></label>
                <label>Token: <input type="text" id="token" autocomplete="off" value="some-key-token"/></label>
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  10. docs_src/pydantic_v1_in_v2/tutorial003_an_py39.py

    from pydantic.v1 import BaseModel
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        size: float
    
    
    class ItemV2(BaseModelV2):
        name: str
        description: Union[str, None] = None
        size: float
    
    
    app = FastAPI()
    
    
    @app.post("/items/", response_model=ItemV2)
    async def create_item(item: Item):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 445 bytes
    - Viewed (0)
Back to top