Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for trimPrefix (0.15 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/PathTranslatingPostProcessor.java

            this.projectDir = projectDir;
            this.pathTranslator = pathTranslator;
        }
    
        public Object execute(String expression, Object value) {
            expression = ValueSourceUtils.trimPrefix(expression, expressionPrefixes, true);
    
            if (projectDir != null && value != null && unprefixedPathKeys.contains(expression)) {
                return pathTranslator.alignToBaseDirectory(String.valueOf(value), projectDir);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/PathTranslatingPostProcessor.java

            this.pathTranslator = pathTranslator;
        }
    
        @Override
        public Object execute(String expression, Object value) {
            if (value != null) {
                expression = ValueSourceUtils.trimPrefix(expression, expressionPrefixes, true);
    
                if (unprefixedPathKeys.contains(expression)) {
                    return pathTranslator.alignToBaseDirectory(String.valueOf(value), projectDir);
                }
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. cmd/iam.go

    	case usersPrefix:
    		accessKey := path.Dir(strings.TrimPrefix(event.keyPath, iamConfigUsersPrefix))
    		err = sys.store.UserNotificationHandler(ctx, accessKey, regUser)
    	case stsPrefix:
    		accessKey := path.Dir(strings.TrimPrefix(event.keyPath, iamConfigSTSPrefix))
    		err = sys.store.UserNotificationHandler(ctx, accessKey, stsUser)
    	case svcPrefix:
    		accessKey := path.Dir(strings.TrimPrefix(event.keyPath, iamConfigServiceAccountsPrefix))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/arch/arm.go

    func ParseARMCondition(cond string) (uint8, bool) {
    	return parseARMCondition(cond, armLS, armSCOND)
    }
    
    func parseARMCondition(cond string, ls, scond map[string]uint8) (uint8, bool) {
    	cond = strings.TrimPrefix(cond, ".")
    	if cond == "" {
    		return arm.C_SCOND_NONE, true
    	}
    	names := strings.Split(cond, ".")
    	bits := uint8(0)
    	for _, name := range names {
    		if b, present := ls[name]; present {
    			bits |= b
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 23 15:18:14 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  5. cmd/erasure-metadata.go

    		case equals(k, VersionPurgeStatusKey):
    			d.VersionPurgeStatusInternal = v
    			d.PurgeTargets = versionPurgeStatusesMap(v)
    		case strings.HasPrefix(k, ReservedMetadataPrefixLower+ReplicationReset):
    			arn := strings.TrimPrefix(k, fmt.Sprintf("%s-", ReservedMetadataPrefixLower+ReplicationReset))
    			if d.ResetStatusesMap == nil {
    				d.ResetStatusesMap = make(map[string]string, 1)
    			}
    			d.ResetStatusesMap[arn] = v
    		}
    	}
    	return d
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  6. 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
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:56:26 UTC 2024
    - 34.5K bytes
    - Viewed (0)
Back to top