- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 53 for Natchev (0.16 sec)
-
internal/s3select/sql/stringfuncs.go
return strings.HasSuffix(text, string(s)), nil } return string(s) == text, nil } // matcher - Finds `pat` in `text`, and returns the part remainder of // `text`, after the match. If leadingPercent is false, `pat` must be // the prefix of `text`, otherwise it must be a substring. func matcher(text, pat string, leadingPercent bool) (res string, match bool) { if !leadingPercent { res = strings.TrimPrefix(text, pat)
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 4.2K bytes - Viewed (0) -
cmd/signature-v2_test.go
}, expected: ErrSignatureDoesNotMatch, }, // (6) Should not error signature matches with extra query params. { queryParams: map[string]string{ "response-content-disposition": "attachment; filename=\"4K%2d4M.txt\"", }, expected: ErrNone, }, // (7) Should not error signature matches with no special query params. { queryParams: map[string]string{}, expected: ErrNone,
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Oct 14 10:08:40 GMT 2022 - 8K bytes - Viewed (0) -
internal/hash/checksum.go
} if len(c.Encoded) == 0 || c.Type.Trailing() { return c.Type.Is(ChecksumNone) || c.Type.Trailing() } raw := c.Raw return c.Type.RawByteLen() == len(raw) } // Matches returns whether given content matches c. func (c Checksum) Matches(content []byte) error { if len(c.Encoded) == 0 { return nil } hasher := c.Type.Hasher() _, err := hasher.Write(content) if err != nil { return err }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 11.9K bytes - Viewed (0) -
internal/hash/errors.go
type ChecksumMismatch struct { Want string Got string } func (e ChecksumMismatch) Error() string { return "Bad checksum: Want " + e.Want + " does not match calculated " + e.Got } // IsChecksumMismatch matches if 'err' is hash.ChecksumMismatch func IsChecksumMismatch(err error) bool { var herr ChecksumMismatch return errors.As(err, &herr)
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon May 15 21:08:54 GMT 2023 - 2.4K bytes - Viewed (0) -
internal/mountinfo/mountinfo_linux.go
ppath := strings.TrimSuffix(path, "/") + "/" if strings.HasPrefix(mpath, ppath) { // At this point if the mount point has a common prefix two conditions can happen. // - mount.Path matches exact with `path` means we can proceed no error here. // - mount.Path doesn't match (means cross-device mount), should error out. if mount.Path != path { crossMounts = append(crossMounts, mount) } }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun Jan 02 17:15:06 GMT 2022 - 4.7K bytes - Viewed (0) -
internal/event/target/kafka.go
func (target *KafkaTarget) SendFromStore(key store.Key) error { if err := target.init(); err != nil { return err } // If batch is enabled, the event will be batched in memory // and will be committed once the batch is full. if target.batch != nil { return target.addToBatch(key) } eventData, eErr := target.store.Get(key.Name) if eErr != nil {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Feb 20 08:16:35 GMT 2024 - 13K bytes - Viewed (0) -
internal/config/identity/openid/openid.go
Scopes = "scopes" RedirectURI = "redirect_uri" RedirectURIDynamic = "redirect_uri_dynamic" Vendor = "vendor" // Vendor specific ENV only enabled if the Vendor matches == "vendor" KeyCloakRealm = "keycloak_realm" KeyCloakAdminURL = "keycloak_admin_url" // Removed params JwksURL = "jwks_url" ClaimPrefix = "claim_prefix" )
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Nov 16 04:42:31 GMT 2023 - 16.5K bytes - Viewed (0) -
cmd/xl-storage-disk-id-check.go
} for { select { case <-ctx.Done(): return case <-t.C: if !monitor() { return } } } } // checkID will check if the disk ID matches the provided ID. func (p *xlStorageDiskIDCheck) checkID(wantID string) (err error) { if wantID == "" { return nil } id, err := p.storage.GetDiskID() if err != nil { return err }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun Apr 28 17:53:50 GMT 2024 - 33K bytes - Viewed (0) -
cmd/erasure-server-pool.go
} opts.setBucketMeta(ctx) ri := logger.GetReqInfo(ctx) hadoop := ri != nil && strings.Contains(ri.UserAgent, `Hadoop `) && strings.Contains(ri.UserAgent, "scala/") matches := func() bool { if prefix == "" { return false } // List of standard files supported by s3a // that involves a List() on a directory // where directory is actually an object on
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri May 03 20:08:20 GMT 2024 - 80.5K bytes - Viewed (0) -
cmd/object_api_suite_test.go
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Feb 22 06:26:06 GMT 2024 - 32.3K bytes - Viewed (0)