- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 38 for trimPrefix (0.06 seconds)
-
src/main/java/org/codelibs/core/beans/util/CopyOptions.java
protected String toBeanDestPropertyName(final String srcPropertyName) { return trimPrefix(srcPropertyName.replace(mapDelimiter, beanDelimiter)); } /** * Trims the prefix. * * @param propertyName * The property name * @return The result after trimming */ protected String trimPrefix(final String propertyName) { if (prefix == null) {
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Jul 05 00:11:05 GMT 2025 - 17.5K bytes - Click Count (0) -
cmd/erasure-server-pool-rebalance.go
} rs.Bytes += uint64(onDiskSz) rs.Bucket = bucket rs.Object = fi.Name } type rstats []*rebalanceStats //go:generate stringer -type=rebalStatus -trimprefix=rebal $GOFILE type rebalStatus uint8 const ( rebalNone rebalStatus = iota rebalStarted rebalCompleted rebalStopped rebalFailed ) type rebalanceInfo struct {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 28.7K bytes - Click Count (0) -
cmd/apierrorcode_string.go
// Code generated by "stringer -type=APIErrorCode -trimprefix=Err api-errors.go"; DO NOT EDIT. package cmd import "strconv" func _() { // An "invalid array index" compiler error signifies that the constant values have changed. // Re-run the stringer command to generate them again. var x [1]struct{} _ = x[ErrNone-0] _ = x[ErrAccessDenied-1] _ = x[ErrBadDigest-2] _ = x[ErrEntityTooSmall-3] _ = x[ErrEntityTooLarge-4]
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 16 07:34:24 GMT 2025 - 21.6K bytes - Click Count (0) -
src/main/java/org/codelibs/core/lang/StringUtil.java
* * @param text * The text * @param prefix * The prefix to remove * @return The resulting string */ public static final String trimPrefix(final String text, final String prefix) { if (text == null) { return null; } if (prefix == null) { return text; } if (text.startsWith(prefix)) {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Feb 12 12:10:45 GMT 2026 - 21.5K bytes - Click Count (0) -
internal/grid/handlers.go
"github.com/minio/minio/internal/hash/sha256" xioutil "github.com/minio/minio/internal/ioutil" "github.com/tinylib/msgp/msgp" ) //go:generate stringer -type=HandlerID -output=handlers_string.go -trimprefix=Handler msg.go $GOFILE // HandlerID is a handler identifier. // It is used to determine request routing on the server. // Handlers can be registered with a static subroute.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 27.7K bytes - Click Count (0) -
cmd/auth-handler.go
return r.Header.Get(xhttp.AmzContentSha256) == unsignedPayloadTrailer && r.Method == http.MethodPut } // Authorization type. // //go:generate stringer -type=authType -trimprefix=authType $GOFILE type authType int // List of all supported auth types. const ( authTypeUnknown authType = iota authTypeAnonymous authTypePresigned authTypePresignedV2 authTypePostPolicy
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 25.4K bytes - Click Count (0) -
src/bytes/bytes.go
func TrimFunc(s []byte, f func(r rune) bool) []byte { return TrimRightFunc(TrimLeftFunc(s, f), f) } // TrimPrefix returns s without the provided leading prefix string. // If s doesn't start with prefix, s is returned unchanged. func TrimPrefix(s, prefix []byte) []byte { if HasPrefix(s, prefix) { return s[len(prefix):] } return s }
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Mar 12 17:56:55 GMT 2026 - 36.3K bytes - Click Count (0) -
cmd/erasure-healing.go
"github.com/minio/minio/internal/grid" "github.com/minio/minio/internal/logger" "github.com/minio/pkg/v3/sync/errgroup" "github.com/puzpuzpuz/xsync/v3" ) //go:generate stringer -type=healingMetric -trimprefix=healingMetric $GOFILE type healingMetric uint8 const ( healingMetricBucket healingMetric = iota healingMetricObject healingMetricCheckAbandonedParts )
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 34.7K bytes - Click Count (0) -
cmd/metacache-entries.go
func (e metaCacheEntry) isInDir(dir, separator string) bool { if len(dir) == 0 { // Root idx := strings.Index(e.name, separator) return idx == -1 || idx == len(e.name)-len(separator) } ext := strings.TrimPrefix(e.name, dir) if len(ext) != len(e.name) { idx := strings.Index(ext, separator) // If separator is not found or is last entry, ok. return idx == -1 || idx == len(ext)-len(separator) } return false }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Aug 08 15:29:58 GMT 2024 - 24.1K bytes - Click Count (0) -
cmd/xl-storage-disk-id-check.go
"github.com/minio/minio/internal/grid" xioutil "github.com/minio/minio/internal/ioutil" "github.com/minio/minio/internal/logger" ) //go:generate stringer -type=storageMetric -trimprefix=storageMetric $GOFILE type storageMetric uint8 const ( storageMetricMakeVolBulk storageMetric = iota storageMetricMakeVol storageMetricListVols storageMetricStatVol storageMetricDeleteVol
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Apr 25 05:41:04 GMT 2025 - 34.5K bytes - Click Count (0)