Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for isMemoryMapSentinel (0.29 sec)

  1. src/cmd/vendor/github.com/google/pprof/profile/legacy_profile.go

    	}
    	return mapping, nil
    }
    
    var memoryMapSentinels = []string{
    	"--- Memory map: ---",
    	"MAPPED_LIBRARIES:",
    }
    
    // isMemoryMapSentinel returns true if the string contains one of the
    // known sentinels for memory map information.
    func isMemoryMapSentinel(line string) bool {
    	for _, s := range memoryMapSentinels {
    		if strings.Contains(line, s) {
    			return true
    		}
    	}
    	return false
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 18:58:12 UTC 2022
    - 32.8K bytes
    - Viewed (0)
Back to top