- Sort Score
- Num 10 results
- Language All
Results 241 - 250 of 837 for mybool (0.04 seconds)
-
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},
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 28.9K bytes - Click Count (0) -
tests/test_path.py
def test_path_bool_1(): response = client.get("/path/bool/1") assert response.status_code == 200 assert response.json() is True def test_path_bool_0(): response = client.get("/path/bool/0") assert response.status_code == 200 assert response.json() is False def test_path_bool_true(): response = client.get("/path/bool/true") assert response.status_code == 200
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 20.5K bytes - Click Count (2) -
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) {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Jul 08 21:39:49 GMT 2024 - 6.7K bytes - Click Count (0) -
api/go1.26.txt
pkg crypto/tls, const SecP384r1MLKEM1024 = 4589 #71206 pkg crypto/tls, const SecP384r1MLKEM1024 CurveID #71206 pkg crypto/tls, type ClientHelloInfo struct, HelloRetryRequest bool #74425 pkg crypto/tls, type ConnectionState struct, HelloRetryRequest bool #74425 pkg crypto/tls, type QUICEvent struct, Err error #75108 pkg crypto/x509, func OIDFromASN1OID(asn1.ObjectIdentifier) (OID, error) #75325
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Dec 11 19:57:52 GMT 2025 - 11.5K bytes - Click Count (0) -
cmd/user-provider-utils.go
// if validate is true, an error is returned if the user does not exist. func getUserWithProvider(ctx context.Context, userProvider, user string, validate bool) (string, error) { switch userProvider { case madmin.BuiltinProvider: if validate { if _, ok := globalIAMSys.GetUser(ctx, user); !ok { return "", errNoSuchUser } } return user, nil
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 4.1K bytes - Click Count (0) -
api/go1.25.txt
pkg go/types, const RecvVar = 3 #70250 pkg go/types, const RecvVar VarKind #70250 pkg go/types, const ResultVar = 5 #70250 pkg go/types, const ResultVar VarKind #70250 pkg go/types, func LookupSelection(Type, bool, *Package, string) (Selection, bool) #70737 pkg go/types, method (*Var) Kind() VarKind #70250 pkg go/types, method (*Var) SetKind(VarKind) #70250 pkg go/types, method (VarKind) String() string #70250 pkg go/types, type VarKind uint8 #70250
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Mon Jun 02 16:09:57 GMT 2025 - 6.8K bytes - Click Count (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 {
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Tue Mar 05 02:22:57 GMT 2024 - 3.4K bytes - Click Count (0) -
tests/joins_test.go
} else if len(users2) != len(users) { t.Fatalf("Failed to load join users, got: %v, expect: %v", len(users2), len(users)) } sort.Slice(users2, func(i, j int) bool { return users2[i].ID > users2[j].ID }) sort.Slice(users, func(i, j int) bool { return users[i].ID > users[j].ID }) for idx, user := range users { CheckUser(t, user, users2[idx]) } } func TestJoinConds(t *testing.T) {
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sun May 25 07:40:40 GMT 2025 - 15K bytes - Click Count (0) -
cmd/object-api-errors.go
} func isErrPreconditionFailed(err error) bool { _, ok := err.(PreConditionFailed) return ok } // isErrMethodNotAllowed - Check if error type is MethodNotAllowed. func isErrMethodNotAllowed(err error) bool { var methodNotAllowed MethodNotAllowed return errors.As(err, &methodNotAllowed) } func isErrInvalidRange(err error) bool { if errors.Is(err, errInvalidRange) { return true }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 09 02:05:14 GMT 2024 - 22.1K bytes - Click Count (0) -
internal/hash/checksum.go
func (c ChecksumType) FullObjectRequested() bool { return c&(ChecksumFullObject) == ChecksumFullObject || c.Is(ChecksumCRC64NVME) } // IsMultipartComposite returns true if the checksum is multipart and full object was not requested. func (c ChecksumType) IsMultipartComposite() bool { return c.Is(ChecksumMultipart) && !c.FullObjectRequested() }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 22 14:15:21 GMT 2025 - 18.3K bytes - Click Count (0)