- Sort Score
- Num 10 results
- Language All
Results 71 - 80 of 174 for Waiver (0.23 seconds)
-
tests/gorm_test.go
package tests_test import ( "testing" "gorm.io/driver/mysql" "gorm.io/gorm" ) func TestOpen(t *testing.T) { dsn := "gorm:gorm@tcp(localhost:9910)/gorm?loc=Asia%2FHongKong" // invalid loc _, err := gorm.Open(mysql.Open(dsn), &gorm.Config{}) if err == nil { t.Fatalf("should returns error but got nil") } } func TestReturningWithNullToZeroValues(t *testing.T) { dialect := DB.Dialector.Name() switch dialect {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Thu Jun 01 07:22:21 GMT 2023 - 3.3K bytes - Click Count (0) -
docs/fr/docs/tutorial/dependencies/classes-as-dependencies.md
... comme dans : {* ../../docs_src/dependencies/tutorial003_an_py310.py hl[19] *} Mais il est recommandé de déclarer le type ; ainsi, votre éditeur saura ce qui sera passé comme paramètre `commons`, et pourra vous aider avec l'autocomplétion, les vérifications de type, etc. : <img src="/img/tutorial/dependencies/image02.png"> ## Raccourci { #shortcut }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 14 08:12:41 GMT 2026 - 7.5K bytes - Click Count (0) -
cmd/metacache-server-pool.go
// No space or similar, don't persist the listing. o.pool = 0 o.Create = false o.ID = "" o.Transient = true return entries, errDiskFull } o.set = z.serverPools[o.pool].getHashedSetIndex(o.ID) saver := z.serverPools[o.pool].sets[o.set] // Disconnect from call above, but cancel on exit. listCtx, cancel := context.WithCancel(GlobalContext) saveCh := make(chan metaCacheEntry, metacacheBlockSize)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 12.9K bytes - Click Count (0) -
docs/pt/docs/tutorial/debugging.md
Então, a seção: ```Python uvicorn.run(app, host="0.0.0.0", port=8000) ``` vai executar. --- Isso não acontecerá se você importar esse módulo (arquivo). Então, se você tiver outro arquivo `importer.py` com: ```Python from myapp import app # Mais um pouco de código ``` nesse caso, a variável `__name__` criada automaticamente dentro de `myapp.py` não terá o valor `"__main__"`.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 2.6K bytes - Click Count (0) -
ci/official/containers/ml_build/Dockerfile
# TF does not support python3.13. RUN ln -sf /usr/bin/python3.12 /usr/bin/python3 RUN ln -sf /usr/bin/python3.12 /usr/bin/python RUN ln -sf /usr/lib/python3.12 /usr/lib/tf_python # Link the compat driver to the location if available. RUN if [ -e "/usr/local/cuda/compat/libcuda.so.1" ]; then ln -s /usr/local/cuda/compat/libcuda.so.1 /usr/lib/x86_64-linux-gnu/libcuda.so.1; fi # Install various tools.
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Fri Mar 20 15:35:12 GMT 2026 - 4.5K bytes - Click Count (0) -
cmd/ftp-server.go
} ftpServer, err := ftp.NewServer(&ftp.Options{ Name: name, WelcomeMessage: fmt.Sprintf("Welcome to '%s' FTP Server Version='%s' License='%s'", MinioStoreName, MinioLicense, Version), Driver: NewFTPDriver(), Port: port, Perm: ftp.NewSimplePerm("nobody", "nobody"), TLS: tls, KeyFile: tlsPrivateKey, CertFile: tlsPublicCert,
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 5.2K bytes - Click Count (0) -
tests/table_test.go
package tests_test import ( "regexp" "sync" "testing" "gorm.io/driver/gaussdb" "gorm.io/driver/postgres" "gorm.io/gorm" "gorm.io/gorm/schema" "gorm.io/gorm/utils/tests" . "gorm.io/gorm/utils/tests" ) type UserWithTable struct { gorm.Model Name string } func (UserWithTable) TableName() string { return "gorm.user" } func TestTable(t *testing.T) {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Mon Jul 21 02:46:58 GMT 2025 - 12.7K bytes - Click Count (0) -
go.mod
github.com/fatih/color v1.18.0 github.com/felixge/fgprof v0.9.5 github.com/fraugster/parquet-go v0.12.0 github.com/go-ldap/ldap/v3 v3.4.11 github.com/go-openapi/loads v0.22.0 github.com/go-sql-driver/mysql v1.9.2 github.com/gobwas/ws v1.4.0 github.com/golang-jwt/jwt/v4 v4.5.2 github.com/gomodule/redigo v1.9.2 github.com/google/uuid v1.6.0 github.com/inconshreveable/mousetrap v1.1.0
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Oct 10 18:57:03 GMT 2025 - 12.2K bytes - Click Count (0) -
docs/pt/docs/advanced/advanced-dependencies.md
Se você tiver esse caso específico usando SQLModel (ou SQLAlchemy), você poderia fechar explicitamente a sessão depois que não precisar mais dela: {* ../../docs_src/dependencies/tutorial014_an_py310.py ln[24:28] hl[28] *} Dessa forma a sessão liberaria a conexão com o banco de dados, para que outras requisições pudessem usá-la.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 9.9K bytes - Click Count (0) -
tests/connpool_test.go
package tests_test import ( "context" "database/sql" "os" "reflect" "testing" "gorm.io/driver/mysql" "gorm.io/gorm" . "gorm.io/gorm/utils/tests" ) type wrapperTx struct { *sql.Tx conn *wrapperConnPool } func (c *wrapperTx) PrepareContext(ctx context.Context, query string) (*sql.Stmt, error) { c.conn.got = append(c.conn.got, query) return c.Tx.PrepareContext(ctx, query) }
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sun May 25 07:40:40 GMT 2025 - 5.5K bytes - Click Count (0)