Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for bytesPerLine (0.09 sec)

  1. subprojects/core/src/testFixtures/groovy/org/gradle/util/BinaryDiffUtils.groovy

    package org.gradle.util
    
    import com.google.common.base.Splitter
    
    class BinaryDiffUtils {
        public static List<String> toHexStrings(byte[] bytes, int bytesPerLine = 16) {
            def sw = new StringWriter()
            bytes.encodeHex().writeTo(sw)
            return Splitter.fixedLength(bytesPerLine * 2).split(sw.toString()).collect { line ->
                Splitter.fixedLength(2).split(line).join(" ")
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Oct 14 11:47:34 UTC 2016
    - 2.4K bytes
    - Viewed (0)
  2. test/heapsampling.go

    		for s := range size {
    			// Allocations of size size[s] should be on line firstLine + s.
    			ln := firstLine + s
    			objectsPerLine[ln] = append(objectsPerLine[ln], a[ln].objects)
    			bytesPerLine[ln] = append(bytesPerLine[ln], a[ln].bytes)
    			objectCount += a[ln].objects
    		}
    		totalCount = append(totalCount, objectCount)
    	}
    	for i, w := range size {
    		ln := firstLine + i
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 27 21:36:06 UTC 2022
    - 9.7K bytes
    - Viewed (0)
Back to top