Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for BytePtrToString (0.34 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/syscall.go

    		s = s[:i]
    	}
    	return string(s)
    }
    
    // BytePtrToString takes a pointer to a sequence of text and returns the corresponding string.
    // If the pointer is nil, it returns the empty string. It assumes that the text sequence is terminated
    // at a zero byte; if the zero byte is not present, the program may crash.
    func BytePtrToString(p *byte) string {
    	if p == nil {
    		return ""
    	}
    	if *p == 0 {
    		return ""
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/plan9/syscall.go

    		s = s[:i]
    	}
    	return string(s)
    }
    
    // BytePtrToString takes a pointer to a sequence of text and returns the corresponding string.
    // If the pointer is nil, it returns the empty string. It assumes that the text sequence is terminated
    // at a zero byte; if the zero byte is not present, the program may crash.
    func BytePtrToString(p *byte) string {
    	if p == nil {
    		return ""
    	}
    	if *p == 0 {
    		return ""
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/windows/syscall.go

    		s = s[:i]
    	}
    	return string(s)
    }
    
    // BytePtrToString takes a pointer to a sequence of text and returns the corresponding string.
    // If the pointer is nil, it returns the empty string. It assumes that the text sequence is terminated
    // at a zero byte; if the zero byte is not present, the program may crash.
    func BytePtrToString(p *byte) string {
    	if p == nil {
    		return ""
    	}
    	if *p == 0 {
    		return ""
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 3.2K bytes
    - Viewed (0)
Back to top