Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for truncateName (0.08 sec)

  1. .teamcity/src/main/kotlin/model/FunctionalTestBucketProvider.kt

    ) : BuildTypeBucket {
        constructor(subproject: GradleSubproject, parallelizationMethod: ParallelizationMethod) : this(listOf(subproject), parallelizationMethod)
    
        val name = truncateName(subprojects.joinToString(","))
    
        private fun truncateName(str: String) =
            // Can't exceed Linux file name limit 255 char on TeamCity
            if (str.length > 200) {
                str.substring(0, 200) + "..."
            } else {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Jun 12 09:50:29 UTC 2024
    - 9K bytes
    - Viewed (0)
  2. cmd/admin-handlers-users.go

    	}
    
    	if createReq.Expiration != nil && !createReq.Expiration.IsZero() {
    		// truncate expiration at the second.
    		truncateTime := createReq.Expiration.Truncate(time.Second)
    		createReq.Expiration = &truncateTime
    	}
    
    	// service account access key cannot have space characters beginning and end of the string.
    	if hasSpaceBE(createReq.AccessKey) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 03 23:11:02 UTC 2024
    - 85.1K bytes
    - Viewed (0)
Back to top