- Sort Score
- Num 10 results
- Language All
Results 601 - 610 of 834 for BOOL (0.13 seconds)
-
schema/serializer.go
func RegisterSerializer(name string, serializer SerializerInterface) { serializerMap.Store(strings.ToLower(name), serializer) } // GetSerializer get serializer func GetSerializer(name string) (serializer SerializerInterface, ok bool) { v, ok := serializerMap.Load(strings.ToLower(name)) if ok { serializer, ok = v.(SerializerInterface) } return serializer, ok } func init() { RegisterSerializer("json", JSONSerializer{})
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sun Oct 26 12:29:44 GMT 2025 - 5.1K bytes - Click Count (0) -
internal/bucket/encryption/bucket-sse-config_test.go
MasterKeyID: "arn:aws:kms:my-minio-key", }, }, }, } testCases := []struct { inputXML string keyID string expectedErr error shouldPass bool expectedConfig *BucketSSEConfig }{ // 1. Valid XML SSE-S3 {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Aug 16 18:28:30 GMT 2022 - 6.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/config/cbean/cq/bs/BsPathMappingCQ.java
} public void bool(BoolCall<PathMappingCQ> boolLambda) { bool(boolLambda, null); } public void bool(BoolCall<PathMappingCQ> boolLambda, ConditionOptionCall<BoolQueryBuilder> opLambda) { PathMappingCQ mustQuery = new PathMappingCQ(); PathMappingCQ shouldQuery = new PathMappingCQ(); PathMappingCQ mustNotQuery = new PathMappingCQ();Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 72.1K bytes - Click Count (1) -
cmd/peer-rest-server.go
// Use buffered channel to take care of burst sends or slow w.Write() ch := make(chan event.Event, globalAPIConfig.getRequestsPoolCapacity()) err := globalHTTPListen.Subscribe(mask, ch, ctx.Done(), func(ev event.Event) bool { if ev.S3.Bucket.Name != "" && values.Get(peerRESTListenBucket) != "" { if ev.S3.Bucket.Name != values.Get(peerRESTListenBucket) { return false } }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 53.6K bytes - Click Count (0) -
src/bytes/example_test.go
fmt.Println(bytes.ContainsRune([]byte(""), '@')) // Output: // true // false // true // true // false } func ExampleContainsFunc() { f := func(r rune) bool { return r >= 'a' && r <= 'z' } fmt.Println(bytes.ContainsFunc([]byte("HELLO"), f)) fmt.Println(bytes.ContainsFunc([]byte("World"), f)) // Output: // false // true } func ExampleCount() {
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Mon May 12 16:07:54 GMT 2025 - 16.5K bytes - Click Count (0) -
internal/event/target/kafka_scram_client_contrib.go
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 3.2K bytes - Click Count (0) -
internal/jwt/parser.go
func (c *MapClaims) Delete(key string) { if c == nil { return } delete(c.MapClaims, key) } // Lookup returns the value and if the key is found. func (c *MapClaims) Lookup(key string) (value string, ok bool) { if c == nil { return "", false } var vinterface any vinterface, ok = c.MapClaims[key] if ok { value, ok = vinterface.(string) } return value, ok }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 14.1K bytes - Click Count (0) -
cmd/http-stats.go
stats.RLock() defer stats.RUnlock() val, ok := stats.apiStats[api] if ok { return val } return 0 } // Load returns the recorded stats. func (stats *HTTPAPIStats) Load(toLower bool) map[string]int { if stats == nil { return map[string]int{} } stats.RLock() defer stats.RUnlock() apiStats := make(map[string]int, len(stats.apiStats)) for k, v := range stats.apiStats {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Sep 24 17:13:00 GMT 2024 - 11.4K bytes - Click Count (0) -
cmd/signature-v2.go
if !compareSignatureV2(gotSignature, expectedSignature) { return ErrSignatureDoesNotMatch } r.Form.Del(xhttp.Expires) return ErrNone } func getReqAccessKeyV2(r *http.Request) (auth.Credentials, bool, APIErrorCode) { if accessKey := r.Form.Get(xhttp.AmzAccessKeyID); accessKey != "" { return checkKeyValid(r, accessKey) } // below is V2 Signed Auth header format, splitting on `space` (after the `AWS` string).Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 12.2K bytes - Click Count (0) -
docs/debugging/xattr/main.go
import ( "encoding/binary" "errors" "flag" "fmt" "log" "os" "github.com/olekukonko/tablewriter" "github.com/pkg/xattr" ) var ( path, name string value uint64 set, list bool ) func getxattr(path, name string) (uint64, error) { buf, err := xattr.LGet(path, name) if err != nil { return 0, err } return binary.LittleEndian.Uint64(buf[:8]), nil }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Dec 29 23:52:41 GMT 2023 - 3.2K bytes - Click Count (0)