Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for trimTrailingWhitespace (0.1 seconds)

  1. cmd/streaming-signature-v4.go

    	}
    	// Parse s3 specific chunk extension and fetch the values.
    	hexChunkSize, hexChunkSignature := parseS3ChunkExtension(buf)
    	return hexChunkSize, hexChunkSignature, nil
    }
    
    // trimTrailingWhitespace - trim trailing white space.
    func trimTrailingWhitespace(b []byte) []byte {
    	for len(b) > 0 && isASCIISpace(b[len(b)-1]) {
    		b = b[:len(b)-1]
    	}
    	return b
    }
    
    // isASCIISpace - is ascii space?
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 18.2K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/groovy/elasticsearch.formatting.gradle

              removeUnusedImports()
              importOrderFile rootProject.file('build-tools-internal/elastic.importorder')
              eclipse().configFile rootProject.file('build-tools-internal/formatterConfig.xml')
              trimTrailingWhitespace()
    
              // Sometimes Spotless will report a "misbehaving rule which can't make up its
              // mind" and will recommend enabling the `paddedCell()` setting. If you
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Sep 09 18:53:35 GMT 2021
    - 9.1K bytes
    - Click Count (0)
Back to Top