- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 75 for TrimPrefix (0.07 seconds)
-
internal/logger/target/loggertypes/targettype_string.go
// Code generated by "stringer -type=TargetType -trimprefix=Target types.go"; DO NOT EDIT. package loggertypes 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[TargetConsole-1] _ = x[TargetHTTP-2] _ = x[TargetKafka-3] } const _TargetType_name = "ConsoleHTTPKafka"
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Jul 18 21:56:31 GMT 2025 - 709 bytes - Click Count (0) -
internal/logger/target/loggertypes/types.go
package loggertypes // TargetType indicates type of the target e.g. console, http, kafka type TargetType uint8 //go:generate stringer -type=TargetType -trimprefix=Target $GOFILE // Constants for target types const ( _ TargetType = iota TargetConsole TargetHTTP TargetKafka ) // TargetStats contains statistics for a target. type TargetStats struct {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Jul 18 21:56:31 GMT 2025 - 1.4K bytes - Click Count (0) -
cmd/bucket-lifecycle-audit.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "strconv" "github.com/minio/minio/internal/bucket/lifecycle" ) //go:generate stringer -type lcEventSrc -trimprefix lcEventSrc_ $GOFILE type lcEventSrc uint8 //nolint:staticcheck,revive // Underscores are used here to indicate where common prefix ends and the enumeration name begins const ( lcEventSrc_None lcEventSrc = iota
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 2.6K bytes - Click Count (0) -
cmd/stserrorcode_string.go
// Code generated by "stringer -type=STSErrorCode -trimprefix=Err sts-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[ErrSTSNone-0] _ = x[ErrSTSAccessDenied-1] _ = x[ErrSTSMissingParameter-2] _ = x[ErrSTSInvalidParameterValue-3]
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Feb 05 00:29:41 GMT 2025 - 1.5K bytes - Click Count (0) -
cmd/storagemetric_string.go
// Code generated by "stringer -type=storageMetric -trimprefix=storageMetric xl-storage-disk-id-check.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[storageMetricMakeVolBulk-0] _ = x[storageMetricMakeVol-1] _ = x[storageMetricListVols-2]
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Aug 12 08:38:15 GMT 2024 - 2.2K bytes - Click Count (0) -
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/untar.go
return formatUnknown } for _, f := range magicHeaders { if bytes.Equal(f.header, z[:len(f.header)]) { return f.f } } return formatUnknown } //go:generate stringer -type=format -trimprefix=format $GOFILE type format int const ( formatUnknown format = iota formatGzip formatZstd formatLZ4 formatS2 formatBZ2 ) var magicHeaders = []struct { header []byte f formatCreated: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 6K bytes - Click Count (2) -
cmd/sts-errors.go
Message string `xml:"Message"` } `xml:"Error"` RequestID string `xml:"RequestId"` } // STSErrorCode type of error status. type STSErrorCode int //go:generate stringer -type=STSErrorCode -trimprefix=Err $GOFILE // Error codes, non exhaustive list - http://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithSAML.html const ( ErrSTSNone STSErrorCode = iota ErrSTSAccessDenied ErrSTSMissingParameter
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Feb 05 00:29:41 GMT 2025 - 6K bytes - Click Count (1) -
internal/grid/msg.go
"time" "github.com/tinylib/msgp/msgp" "github.com/zeebo/xxh3" ) // Op is operation type. // //go:generate msgp -unexported -file=$GOFILE //go:generate stringer -type=Op -output=msg_string.go -trimprefix=Op $GOFILE // Op is operation type messages. type Op uint8 // HandlerID is the ID for the handler of a specific type. type HandlerID uint8 const ( // OpConnect is a connect request.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Jul 25 21:07:21 GMT 2024 - 7.6K bytes - Click Count (0) -
src/bytes/bytes_test.go
{"TrimRight", []byte{'a'}, "ab", []byte{}}, {"TrimRight", []byte{'a', 'b'}, "ab", []byte{}}, {"TrimRight", []byte("☺"), "☺", []byte{}}, {"TrimPrefix", nil, "", nil}, {"TrimPrefix", []byte{}, "", []byte{}}, {"TrimPrefix", []byte{'a'}, "a", []byte{}}, {"TrimPrefix", []byte("☺"), "☺", []byte{}}, {"TrimSuffix", nil, "", nil}, {"TrimSuffix", []byte{}, "", []byte{}}, {"TrimSuffix", []byte{'a'}, "a", []byte{}},Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed Mar 11 03:07:05 GMT 2026 - 62.9K bytes - Click Count (0)