- Sort Score
- Result 10 results
- Languages All
Results 211 - 220 of 729 for BOOL (0.03 sec)
-
internal/config/lambda/target/webhook.go
func (target *WebhookTarget) IsActive() (bool, error) { if err := target.init(); err != nil { return false, err } return target.isActive() } // errNotConnected - indicates that the target connection is not active. var errNotConnected = errors.New("not connected to target server/service") func (target *WebhookTarget) isActive() (bool, error) {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Mon Jul 08 21:39:49 UTC 2024 - 6.7K bytes - Viewed (0) -
cmd/batch-job-common-types_gen.go
if dc.IsNil() { err = dc.ReadNil() if err != nil { err = msgp.WrapError(err, "Disable") return } z.Disable = nil } else { if z.Disable == nil { z.Disable = new(bool) } *z.Disable, err = dc.ReadBool() if err != nil { err = msgp.WrapError(err, "Disable") return } } case "Batch": if dc.IsNil() { err = dc.ReadNil()
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 21.9K bytes - Viewed (0) -
internal/event/config_test.go
package event import ( "encoding/xml" "reflect" "strings" "testing" ) func TestValidateFilterRuleValue(t *testing.T) { testCases := []struct { value string expectErr bool }{ {"foo/.", true}, {"../foo", true},
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Apr 09 14:28:39 UTC 2025 - 28.9K bytes - Viewed (0) -
cmd/bucket-lifecycle-handlers_test.go
accessKey string secretKey string // Sent body body []byte // Expected response expectedRespStatus int lifecycleResponse []byte errorResponse APIErrorResponse shouldPass bool }{ // GET empty credentials { method: http.MethodGet, bucketName: bucketName, accessKey: "", secretKey: "", expectedRespStatus: http.StatusForbidden,
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Mon Jun 10 15:50:49 UTC 2024 - 11.3K bytes - Viewed (0) -
internal/s3select/sql/statement.go
} func (e *SelectStatement) isPassingWhereClause(input Record) (bool, error) { if e.selectAST.Where == nil { return true, nil } value, err := e.selectAST.Where.evalNode(input, e.tableAlias) if err != nil { return false, err } b, ok := value.ToBool() if !ok { err = fmt.Errorf("WHERE expression did not return bool") return false, err } return b, nil }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 9K bytes - Viewed (0) -
docs_src/query_params/tutorial004_py39.py
from typing import Union from fastapi import FastAPI app = FastAPI() @app.get("/users/{user_id}/items/{item_id}") async def read_user_item( user_id: int, item_id: str, q: Union[str, None] = None, short: bool = False ): item = {"item_id": item_id, "owner_id": user_id} if q: item.update({"q": q}) if not short: item.update(
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 468 bytes - Viewed (0) -
cmd/admin-heal-ops.go
healLocalDisks map[Endpoint]bool healStatus map[string]healingTracker // Indexed by disk ID } // newHealState - initialize global heal state management func newHealState(ctx context.Context, cleanup bool) *allHealState { hstate := &allHealState{ healSeqMap: make(map[string]*healSequence), healLocalDisks: make(map[Endpoint]bool), healStatus: make(map[string]healingTracker), }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 25.4K bytes - Viewed (0) -
logger/sql.go
"strings" "time" "unicode" "gorm.io/gorm/utils" ) const ( tmFmtWithMS = "2006-01-02 15:04:05.999" tmFmtZero = "0000-00-00 00:00:00" nullStr = "NULL" ) func isPrintable(s string) bool { for _, r := range s { if !unicode.IsPrint(r) { return false } } return true } // A list of Go types that should be converted to SQL primitives
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Thu Mar 21 08:00:02 UTC 2024 - 5K bytes - Viewed (0) -
cmd/signals.go
// Custom exit function exit := func(success bool) { if globalLoggerOutput != nil { globalLoggerOutput.Close() } // If global profiler is set stop before we exit. globalProfilerMu.Lock() defer globalProfilerMu.Unlock() for _, p := range globalProfiler { p.Stop() } if success { os.Exit(0) } os.Exit(1) } stopProcess := func() bool {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Sep 04 17:02:39 UTC 2024 - 3.2K bytes - Viewed (0) -
callbacks/helper_test.go
package callbacks import ( "reflect" "testing" "gorm.io/gorm" "gorm.io/gorm/clause" ) func TestLoadOrStoreVisitMap(t *testing.T) { var vm visitMap var loaded bool type testM struct { Name string } t1 := testM{Name: "t1"} t2 := testM{Name: "t2"} t3 := testM{Name: "t3"} vm = make(visitMap) if loaded = loadOrStoreVisitMap(&vm, reflect.ValueOf(&t1)); loaded {
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Tue Mar 05 02:22:57 UTC 2024 - 3.4K bytes - Viewed (0)