Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 328 of 328 for getIdx (0.1 sec)

  1. cmd/notification.go

    				offlineDisks = append(offlineDisks, madmin.Disk{
    					Endpoint:  ep.String(),
    					State:     string(madmin.ItemOffline),
    					PoolIndex: ep.PoolIdx,
    					SetIndex:  ep.SetIdx,
    					DiskIndex: ep.DiskIdx,
    				})
    			}
    		}
    	}
    	return offlineDisks
    }
    
    // StorageInfo returns disk information across all peers
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 46.2K bytes
    - Viewed (0)
  2. docs/zh/docs/tutorial/sql-databases.md

    ```
    
    然后我们应该声明*路径操作函数*和不带 的依赖关系`async def`,只需使用普通的`def`,如下:
    
    ```Python hl_lines="2"
    @app.get("/users/{user_id}", response_model=schemas.User)
    def read_user(user_id: int, db: Session = Depends(get_db)):
        db_user = crud.get_user(db, user_id=user_id)
        ...
    ```
    
    /// info
    
    如果您需要异步连接到关系数据库,请参阅[Async SQL (Relational) Databases](https://fastapi.tiangolo.com/zh/advanced/async-sql-databases/)
    
    ///
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  3. cmd/server_test.go

    	// fetch the content from response body.
    	getContent, err := io.ReadAll(response.Body)
    	c.Assert(err, nil)
    
    	// Get etag of the response content.
    	getMD5 := getMD5Hash(getContent)
    
    	// Compare putContent and getContent.
    	c.Assert(putMD5, getMD5)
    }
    
    // TestGetPartialObjectMisAligned - tests get object partially miss-aligned.
    // create a large buffer of miss-aligned data and upload it.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 116.3K bytes
    - Viewed (0)
  4. cmd/xl-storage_test.go

    func newLocalXLStorageWithDiskIdx(path string, diskIdx int) (*xlStorage, error) {
    	u := url.URL{Path: path}
    	return newXLStorage(Endpoint{
    		URL:     &u,
    		IsLocal: true,
    		PoolIdx: 0,
    		SetIdx:  0,
    		DiskIdx: diskIdx,
    	}, true)
    }
    
    // creates a temp dir and sets up xlStorage layer.
    // returns xlStorage layer, temp dir path to be used for the purpose of tests.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  5. test-site/activator-launch-1.3.2.jar

    DependencyResolver, org.apache.ivy.plugins.resolver.DependencyResolver, org.apache.ivy.core.module.descriptor.ModuleDescriptor, org.apache.ivy.core.report.MetadataArtifactDown, boolean); public final org.apache.ivy.core.module.id.ModuleRevisionId getId(); public final java.util.Date getPublicationDate(); public final org.apache.ivy.core.module.descriptor.ModuleDescriptor getDescriptor(); public final org.apache.ivy.plugins.resolver.DependencyResolver getResolver(); public final org.apache.ivy.pl...
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Mon Apr 20 08:41:37 UTC 2015
    - 1.2M bytes
    - Viewed (0)
  6. cmd/test-utils_test.go

    func StartTestTLSServer(t TestErrHandler, instanceType string, cert, key []byte) TestServer {
    	// Fetch TLS key and pem files from test-data/ directory.
    	//	dir, _ := os.Getwd()
    	//	testDataDir := filepath.Join(filepath.Dir(dir), "test-data")
    	//
    	//	pemFile := filepath.Join(testDataDir, "server.pem")
    	//	keyFile := filepath.Join(testDataDir, "server.key")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
  7. docs/en/docs/release-notes.md

    * Make sure the `*` in short features in the docs is consistent (after `.`) in all languages. PR [#1424](https://github.com/tiangolo/fastapi/pull/1424).
    * Update order of execution for `get_db` in SQLAlchemy tutorial. PR [#1293](https://github.com/tiangolo/fastapi/pull/1293) by [@bcb](https://github.com/bcb).
    * Fix typos in Async docs. PR [#1423](https://github.com/tiangolo/fastapi/pull/1423).
    
    ## 0.54.2
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Nov 01 11:25:57 UTC 2024
    - 460.3K bytes
    - Viewed (0)
  8. api/go1.txt

    pkg os, func Getgid() int
    pkg os, func Getgroups() ([]int, error)
    pkg os, func Getpagesize() int
    pkg os, func Getpid() int
    pkg os, func Getppid() int
    pkg os, func Getuid() int
    pkg os, func Getwd() (string, error)
    pkg os, func Hostname() (string, error)
    pkg os, func IsExist(error) bool
    pkg os, func IsNotExist(error) bool
    pkg os, func IsPathSeparator(uint8) bool
    pkg os, func IsPermission(error) bool
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top