Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getLines (0.19 sec)

  1. misc/ios/detect.go

    	}
    }
    
    func detectMobileProvisionFiles(udids [][]byte) []string {
    	cmd := exec.Command("mdfind", "-name", ".mobileprovision")
    	lines := getLines(cmd)
    
    	var files []string
    	for _, line := range lines {
    		if len(line) == 0 {
    			continue
    		}
    		xmlLines := getLines(parseMobileProvision(string(line)))
    		matches := 0
    		for _, udid := range udids {
    			for _, xmlLine := range xmlLines {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Oct 19 23:33:30 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  2. src/bufio/bufio_test.go

    // to accumulate the text of a file.
    func readLines(b *Reader) string {
    	s := ""
    	for {
    		s1, err := b.ReadString('\n')
    		if err == io.EOF {
    			break
    		}
    		if err != nil && err != iotest.ErrTimeout {
    			panic("GetLines: " + err.Error())
    		}
    		s += s1
    	}
    	return s
    }
    
    // Call Read to accumulate the text of a file
    func reads(buf *Reader, m int) string {
    	var b [1000]byte
    	nb := 0
    	for {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  3. api/go1.txt

    pkg go/token, method (*File) Name() string
    pkg go/token, method (*File) Offset(Pos) int
    pkg go/token, method (*File) Pos(int) Pos
    pkg go/token, method (*File) Position(Pos) Position
    pkg go/token, method (*File) SetLines([]int) bool
    pkg go/token, method (*File) SetLinesForContent([]uint8)
    pkg go/token, method (*File) Size() int
    pkg go/token, method (*FileSet) AddFile(string, int, int) *File
    pkg go/token, method (*FileSet) Base() int
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (2)
Back to top