- Sort Score
- Num 10 results
- Language All
Results 931 - 940 of 1,290 for inrange (0.05 seconds)
-
internal/kms/stub.go
func (s StubKMS) ListKeys(ctx context.Context, req *ListRequest) ([]madmin.KMSKeyInfo, string, error) { matches := []madmin.KMSKeyInfo{} if req.Prefix == "" { req.Prefix = "*" } for _, keyName := range s.KeyNames { if wildcard.MatchAsPatternPrefix(req.Prefix, keyName) { matches = append(matches, madmin.KMSKeyInfo{Name: keyName, CreatedAt: StubCreatedAt, CreatedBy: StubCreatedBy}) } } return matches, "", nil
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Aug 18 06:43:03 GMT 2024 - 3.6K bytes - Click Count (0) -
internal/ringbuffer/ring_buffer_test.go
time.Sleep(time.Duration(readRng.Intn(maxSleep))) } } }() // Writer { buf := make([]byte, 1024) writeRng := rand.New(rand.NewSource(2)) for range 2500 { writeRng.Read(buf) // Write n, err := rb.Write(buf[:writeRng.Intn(len(buf))]) if err != nil { t.Fatalf("write failed: %v", err) } wroteBytes += n wrote.Write(buf[:n])
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 26.7K bytes - Click Count (0) -
internal/bucket/lifecycle/rule_test.go
<Days>365</Days> </DelMarkerExpiration> <Status>Enabled</Status> </Rule>`, expectedErr: errInvalidRuleDelMarkerExpiration, }, } for i, tc := range invalidTestCases { t.Run(fmt.Sprintf("Test %d", i+1), func(t *testing.T) { var rule Rule err := xml.Unmarshal([]byte(tc.inputXML), &rule) if err != nil { t.Fatal(err) }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed May 01 01:11:10 GMT 2024 - 4.9K bytes - Click Count (0) -
cmd/metrics-v3-cluster-erasure-set.go
result, _ := c.esetHealthResult.Get() m.Set(erasureSetOverallWriteQuorum, float64(result.WriteQuorum)) m.Set(erasureSetOverallHealth, b2f(result.Healthy)) for _, h := range result.ESHealth { poolLV := strconv.Itoa(h.PoolID) setLV := strconv.Itoa(h.SetID) labels := []string{poolIDL, poolLV, setIDL, setLV} m.Set(erasureSetReadQuorum, float64(h.ReadQuorum), labels...)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue May 14 07:25:56 GMT 2024 - 4.4K bytes - Click Count (0) -
cmd/user-provider-utils.go
roleArn := claims[roleArnClaim] s := globalServerConfig.Clone() configs, err := globalIAMSys.OpenIDConfig.GetConfigList(s) if err != nil { return "", false } for _, cfg := range configs { if cfg.RoleARN == roleArn { return cfg.Name, true } } return "", false } func getOpenIDInfoFromClaims(claims map[string]any) madmin.OpenIDSpecificAccessKeyInfo {
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) -
internal/grid/stream.go
func (s *Stream) Results(next func(b []byte) error) (err error) { done := false defer func() { if s.cancel != nil { s.cancel(err) } if !done { // Drain channel. for range s.responses { } } }() doneCh := s.ctx.Done() for { select { case <-doneCh: if err := context.Cause(s.ctx); !errors.Is(err, errStreamEOF) { return err }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Jun 07 15:51:52 GMT 2024 - 3.1K bytes - Click Count (0) -
internal/bpool/bpool.go
c: make(chan []byte, maxSize), w: width, wcap: capwidth, } } // Populate - populates and pre-warms the byte pool, this function is non-blocking. func (bp *BytePoolCap) Populate() { for _, buf := range reedsolomon.AllocAligned(cap(bp.c), bp.wcap) { bp.Put(buf[:bp.w]) } } // Get gets a []byte from the BytePool, or creates a new one if none are // available in the pool. func (bp *BytePoolCap) Get() (b []byte) {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 3K bytes - Click Count (0) -
src/main/java/jcifs/util/InputValidator.java
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 13.5K bytes - Click Count (0) -
cmd/sts-handlers.go
return auth.Credentials{}, ErrAccessDenied } return user, ErrNone } func parseForm(r *http.Request) error { if err := r.ParseForm(); err != nil { return err } for k, v := range r.PostForm { if _, ok := r.Form[k]; !ok { r.Form[k] = v } } return nil } // getTokenSigningKey returns secret key used to sign JWT session tokens func getTokenSigningKey() (string, error) {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 36.6K bytes - Click Count (0) -
src/archive/zip/reader.go
// Return the readDirectoryHeader error if we read // the wrong number of directory entries. return err } if zipinsecurepath.Value() == "0" { for _, f := range r.File { if f.Name == "" { // Zip permits an empty file name field. continue } // The zip specification states that names must use forward slashes,
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Mar 11 22:19:38 GMT 2025 - 28.4K bytes - Click Count (0)