Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 391 - 400 of 659 for skip1 (0.03 seconds)

  1. docs/zh/docs/tutorial/dependencies/index.md

    大功告成。
    
    **2 行**。
    
    它的形式和结构与所有*路径操作函数*相同。
    
    你可以把它当作没有“装饰器”(没有 `@app.get("/some-path")`)的*路径操作函数*。
    
    而且它可以返回任何你想要的内容。
    
    本例中的依赖项预期接收:
    
    * 类型为 `str` 的可选查询参数 `q`
    * 类型为 `int` 的可选查询参数 `skip`,默认值 `0`
    * 类型为 `int` 的可选查询参数 `limit`,默认值 `100`
    
    然后它只需返回一个包含这些值的 `dict`。
    
    /// info | 信息
    
    FastAPI 在 0.95.0 版本中新增了对 `Annotated` 的支持(并开始推荐使用)。
    
    如果你的版本较旧,尝试使用 `Annotated` 会报错。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  2. tests/associations_test.go

    	Name                   string `gorm:"uniqueIndex:uniq_user_id_name;size:256"`
    }
    
    func TestAssociationEmptyPrimaryKey(t *testing.T) {
    	if DB.Dialector.Name() != "mysql" {
    		t.Skip()
    	}
    	DB.Migrator().DropTable(&AssociationEmptyUser{}, &AssociationEmptyPet{})
    	DB.AutoMigrate(&AssociationEmptyUser{}, &AssociationEmptyPet{})
    
    	id := uint(100)
    	user := AssociationEmptyUser{
    		ID:   id,
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Fri Sep 12 04:33:27 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  3. cmd/admin-handlers_test.go

    		sort.Slice(got, byResourceUID{got}.Less)
    		// printEntries(exp)
    		// printEntries(got)
    		for i, e := range exp {
    			if !e.Timestamp.Equal(got[i].Timestamp) {
    				return i, false
    			}
    			// Skip checking elapsed since it's time sensitive.
    			// if e.Elapsed != got[i].Elapsed {
    			// 	return false
    			// }
    			if e.Resource != got[i].Resource {
    				return i, false
    			}
    			if e.Type != got[i].Type {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 13.9K bytes
    - Click Count (1)
  4. docs/en/docs/virtual-environments.md

    /// info
    
    If you already know about virtual environments, how to create them and use them, you might want to skip this section. 🤓
    
    ///
    
    /// tip
    
    A **virtual environment** is different than an **environment variable**.
    
    An **environment variable** is a variable in the system that can be used by programs.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 22.1K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

          for (Invokable<?, ?> factory : getFactoriesToTest()) {
            try {
              testEqualsUsing(factory);
            } catch (FactoryMethodReturnsNullException e) {
              // If the factory returns null, we just skip it.
            }
          }
          return this;
        }
    
        /**
         * Runs serialization test on the return values of the static methods.
         *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 32.5K bytes
    - Click Count (0)
  6. cmd/metacache-entries.go

    	}
    	eVers, eErr := e.xlmeta()
    	oVers, oErr := other.xlmeta()
    	if eErr != nil || oErr != nil {
    		return nil, false
    	}
    
    	// check both fileInfo's have same number of versions, if not skip
    	// the `other` entry.
    	if len(eVers.versions) != len(oVers.versions) {
    		eTime := eVers.latestModtime()
    		oTime := oVers.latestModtime()
    		if !eTime.Equal(oTime) {
    			if eTime.After(oTime) {
    				return e, false
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Aug 08 15:29:58 GMT 2024
    - 24.1K bytes
    - Click Count (0)
  7. fastapi/param_functions.py

        from typing import Annotated
    
        from fastapi import Depends, FastAPI
    
        app = FastAPI()
    
    
        async def common_parameters(q: str | None = None, skip: int = 0, limit: int = 100):
            return {"q": q, "skip": skip, "limit": limit}
    
    
        @app.get("/items/")
        async def read_items(commons: Annotated[dict, Depends(common_parameters)]):
            return commons
        ```
        """
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 68K bytes
    - Click Count (0)
  8. src/main/java/jcifs/util/transport/Transport.java

         * @throws IOException if an I/O error occurs
         */
        protected abstract void doRecv(Response response) throws IOException;
    
        /**
         * Skip a response with the given key
         *
         * @param key the key of the response to skip
         * @throws IOException if an I/O error occurs
         */
        protected abstract void doSkip(Long key) throws IOException;
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 27.8K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

            SMBUtil.writeInt2(PreauthIntegrityNegotiateContext.NEGO_CTX_PREAUTH_TYPE, buffer, ctxOffset);
            SMBUtil.writeInt2(38, buffer, ctxOffset + 2); // Data length
            ctxOffset += 8; // Skip reserved
    
            // Hash algorithm count and salt length
            SMBUtil.writeInt2(1, buffer, ctxOffset);
            SMBUtil.writeInt2(32, buffer, ctxOffset + 2);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 32.5K bytes
    - Click Count (0)
  10. cmd/global-heal.go

    				return
    			}
    			if entry.isDir() {
    				// ignore healing entry.name's with `/` suffix.
    				return
    			}
    
    			// We might land at .metacache, .trash, .multipart
    			// no need to heal them skip, only when bucket
    			// is '.minio.sys'
    			if bucket == minioMetaBucket {
    				if wildcard.Match("buckets/*/.metacache/*", entry.name) {
    					return
    				}
    				if wildcard.Match("tmp/.trash/*", entry.name) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Apr 04 13:49:12 GMT 2025
    - 16.2K bytes
    - Click Count (0)
Back to Top