- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 489 for ok (0.02 sec)
-
tests/prepared_stmt_test.go
} tx2.Commit() // Attempt to convert the connection pool of tx to the *gorm.PreparedStmtDB type. // If the conversion is successful, ok will be true and conn will be the converted object; // otherwise, ok will be false and conn will be nil. conn, ok := tx.ConnPool.(*gorm.PreparedStmtDB) // Get the number of statement keys stored in the PreparedStmtDB. lens := len(conn.Stmts.Keys())
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Fri Apr 25 08:22:26 UTC 2025 - 8K bytes - Viewed (0) -
cmd/event-notification.go
if config == nil { return } region := globalSite.Region() config.SetRegion(region) if err := config.Validate(region, globalEventNotifier.targetList); err != nil { if _, ok := err.(*event.ErrARNNotFound); !ok { internalLogIf(GlobalContext, err) } } evnot.AddRulesMap(bucket, config.ToRulesMap()) } // Targets returns all the registered targets func (evnot *EventNotifier) Targets() []event.Target {Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Jun 21 22:22:24 UTC 2024 - 7.7K bytes - Viewed (0) -
schema/schema_helper_test.go
f.TagSettings = schema.ParseTagSetting(f.Tag.Get("gorm"), ";") } else { f.TagSettings = map[string]string{} } } parsedField, ok := s.FieldsByDBName[f.DBName] if !ok { parsedField, ok = s.FieldsByName[f.Name] } if !ok { t.Errorf("schema %v failed to look up field with name %v", s, f.Name) } else {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Aug 28 02:57:17 UTC 2025 - 7.5K bytes - Viewed (0) -
schema/schema.go
if fc, ok := fieldValue.(CreateClausesInterface); ok { field.Schema.CreateClauses = append(field.Schema.CreateClauses, fc.CreateClauses(field)...) } if fc, ok := fieldValue.(QueryClausesInterface); ok { field.Schema.QueryClauses = append(field.Schema.QueryClauses, fc.QueryClauses(field)...) } if fc, ok := fieldValue.(UpdateClausesInterface); ok {Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Tue Aug 19 06:35:49 UTC 2025 - 12.9K bytes - Viewed (0) -
docs/metrics/healthcheck/README.md
MinIO server exposes three un-authenticated, healthcheck endpoints liveness probe and a cluster probe at `/minio/health/live` and `/minio/health/cluster` respectively. ## Liveness probe This probe always responds with '200 OK'. Only fails if 'etcd' is configured and unreachable. When liveness probe fails, Kubernetes like platforms restart the container. ``` livenessProbe: httpGet: path: /minio/health/live port: 9000 scheme: HTTP
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Jul 06 16:18:38 UTC 2023 - 2.5K bytes - Viewed (0) -
cmd/warm-backend.go
if err != nil { if _, ok := err.(BackendDown); ok { return err } return tierPermErr{ Op: tierPut, Err: err, } } r, err := w.Get(ctx, probeObject, "", WarmBackendGetOpts{}) xhttp.DrainBody(r) if err != nil { if _, ok := err.(BackendDown); ok { return err } switch { case isErrBucketNotFound(err):Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Oct 31 22:10:24 UTC 2024 - 4K bytes - Viewed (0) -
cmd/jwt.go
} claims := xjwt.NewMapClaims() if err := xjwt.ParseWithClaims(token, claims, func(claims *xjwt.MapClaims) ([]byte, error) { if claims.AccessKey != globalActiveCred.AccessKey { u, ok := globalIAMSys.GetUser(req.Context(), claims.AccessKey) if !ok { // Credentials will be invalid but for disabled // return a different error in such a scenario. if u.Credentials.Status == auth.AccountOff { return nil, errAccessKeyDisabled
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 4.5K bytes - Viewed (0) -
src/cmd/asm/internal/asm/parse.go
// including forms involving multiple registers such as R1:R2. func (p *Parser) register(name string, prefix rune) (r1, r2 int16, scale int8, ok bool) { // R1 or R(1) R1:R2 R1,R2 R1+R2, or R1*scale. r1, ok = p.registerReference(name) if !ok { return } if prefix != 0 && prefix != '*' { // *AX is OK. p.errorf("prefix %c not allowed for register: %c%s", prefix, prefix, name) } c := p.peek()
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Feb 14 15:13:11 UTC 2025 - 37.3K bytes - Viewed (0) -
src/archive/tar/stat_unix.go
sys, ok := fi.Sys().(*syscall.Stat_t) if !ok { return nil } h.Uid = int(sys.Uid) h.Gid = int(sys.Gid) if doNameLookups { // Best effort at populating Uname and Gname. // The os/user functions may fail for any number of reasons // (not implemented on that platform, cgo not enabled, etc). if u, ok := userMap.Load(h.Uid); ok { h.Uname = u.(string)
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Mar 15 16:01:50 UTC 2024 - 3.2K bytes - Viewed (0) -
src/packaging/common/scripts/preinst
# Create fess group if not existing if ! getent group "$FESS_GROUP" > /dev/null 2>&1 ; then echo -n "Creating $FESS_GROUP group..." addgroup --quiet --system "$FESS_GROUP" echo " OK" fi # Create fess user if not existing if ! id $FESS_USER > /dev/null 2>&1 ; then echo -n "Creating $FESS_USER user..." adduser --quiet \ --system \Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Dec 01 09:48:15 UTC 2016 - 2.3K bytes - Viewed (0)