PageRenderTime 225ms queryTime 48ms sortTime 0ms getByIdsTime 155ms findMatchingLines 2ms

6+ results for 'format(args lang:Go' (225 ms)

Not the results you expected?
godis.go git://github.com/simonz05/godis.git | Go | 210 lines
                    
148func (ac *AsyncClient) Call(args ...interface{}) (err error) {
                    
149    _, err = ac.buf.Write(format(args...))
                    
150    ac.queued++
                    
                
unicode.go git://github.com/qur/gopy.git | Go | 208 lines
                    
196
                    
197func (u *Unicode) Format(args *Tuple) (*Unicode, error) {
                    
198	ret := C.PyUnicode_Format(c(u), c(args))
                    
                
format.go git://github.com/simonz05/godis.git | Go | 95 lines
                    
75 * Returns a byte array */
                    
76func format(args ...interface{}) []byte {
                    
77    buf := make([][]byte, len(args))
                    
                
connection.go git://github.com/simonz05/godis.git | Go | 115 lines
                    
94func (c *Conn) Write(args ...interface{}) error {
                    
95    _, e := c.c.Write(format(args...))
                    
96
                    
                
main.go https://gitlab.com/re-pe/phpApps-Go | Go | 119 lines
                    
37
                    
38func CheckFormat(args []interface{}) (format string, hasFormat bool) {
                    
39	if len(args) < 1 { return }
                    
55func Print(args ...interface{}) {
                    
56	if format, hasFormat := CheckFormat(args); hasFormat {
                    
57		fmt.Printf(format, args[1:]...)
                    
63func Log(args ...interface{}) {
                    
64	if format, hasFormat := CheckFormat(args); hasFormat {
                    
65		log.Printf(format, args[1:]...)
                    
                
string.go git://github.com/qur/gopy.git | Go | 89 lines
                    
49
                    
50func (s *String) Format(args *Tuple) (*String, error) {
                    
51	ret := C.PyString_Format(c(s), c(args))
                    
                
 

Source

Language