Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 403 for myprint (0.08 sec)

  1. src/cmd/cgo/doc.go

    	package main
    
    	// #include <stdio.h>
    	// #include <stdlib.h>
    	//
    	// static void myprint(char* s) {
    	//   printf("%s\n", s);
    	// }
    	import "C"
    	import "unsafe"
    
    	func main() {
    		cs := C.CString("Hello from stdio")
    		C.myprint(cs)
    		C.free(unsafe.Pointer(cs))
    	}
    
    A few special functions convert between Go and C types
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Oct 01 22:52:54 UTC 2024
    - 44K bytes
    - Viewed (0)
  2. internal/logger/console.go

    		if len(line) == 0 {
    			// No more text to print, just quit.
    			break
    		}
    
    		for {
    			// Save the attributes of the current cursor helps
    			// us save the text color of the passed error message
    			ansiSaveAttributes()
    			// Print banner with or without the log tag
    			if !tagPrinted {
    				fmt.Fprint(Output, logBanner)
    				tagPrinted = true
    			} else {
    				fmt.Fprint(Output, emptyBanner)
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. doc/go_mem.html

    	done = true
    }
    
    func doprint() {
    	if !done {
    		once.Do(setup)
    	}
    	print(a)
    }
    
    func twoprint() {
    	go doprint()
    	go doprint()
    }
    </pre>
    
    <p>
    but there is no guarantee that, in <code>doprint</code>, observing the write to <code>done</code>
    implies observing the write to <code>a</code>.  This
    version can (incorrectly) print an empty string
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Mar 04 15:54:42 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  4. istioctl/pkg/authz/listener.go

    				buf.WriteString(fmt.Sprintf("%s\t%s\t%d\n", action, name, len(policyToRule[name])))
    			}
    		}
    	}
    
    	w := new(tabwriter.Writer).Init(writer, 0, 8, 3, ' ', 0)
    	if _, err := fmt.Fprint(w, buf.String()); err != nil {
    		log.Errorf("failed to print output: %s", err)
    	}
    	_ = w.Flush()
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Sep 11 15:29:30 UTC 2023
    - 6K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/flags/flags.go

    	flag.Var(&I, "I", "include directory; can be set multiple times")
    	flag.BoolVar(&DebugV, "v", false, "print debug output")
    	flag.Var(objabi.NewDebugFlag(&DebugFlags, nil), "d", "enable debugging settings; try -d help")
    	objabi.AddVersionFlag() // -V
    	objabi.Flagcount("S", "print assembly and machine code", &PrintOut)
    }
    
    // MultiFlag allows setting a value multiple times to collect a list, as in -I=dir1 -I=dir2.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Aug 22 19:18:23 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  6. logger/sql.go

    )
    
    const (
    	tmFmtWithMS = "2006-01-02 15:04:05.999"
    	tmFmtZero   = "0000-00-00 00:00:00"
    	nullStr     = "NULL"
    )
    
    func isPrintable(s string) bool {
    	for _, r := range s {
    		if !unicode.IsPrint(r) {
    			return false
    		}
    	}
    	return true
    }
    
    // A list of Go types that should be converted to SQL primitives
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Mar 21 08:00:02 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. docs/en/docs/img/deployment/https/https08.drawio

                        <mxGeometry relative="1" as="geometry">
                            <mxPoint x="110" y="-75" as="sourcePoint"/>
                            <mxPoint x="-4.941176470588289" y="-139.99999999999955" as="targetPoint"/>
                            <Array as="points">
                                <mxPoint x="-5" y="-90"/>
                                <mxPoint x="-5" y="-90"/>
                            </Array>
                        </mxGeometry>
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu May 12 00:06:16 UTC 2022
    - 20.9K bytes
    - Viewed (0)
  8. docs/en/docs/img/deployment/https/https05.drawio

                        <mxGeometry relative="1" as="geometry">
                            <mxPoint x="110" y="-75" as="sourcePoint"/>
                            <mxPoint x="-4.941176470588289" y="-139.99999999999955" as="targetPoint"/>
                            <Array as="points">
                                <mxPoint x="-5" y="-80"/>
                                <mxPoint x="-5" y="-80"/>
                            </Array>
                        </mxGeometry>
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu May 12 00:06:16 UTC 2022
    - 15.6K bytes
    - Viewed (0)
  9. docs/en/docs/img/deployment/https/https03.drawio

                        <mxGeometry relative="1" as="geometry">
                            <mxPoint x="110" y="-75" as="sourcePoint"/>
                            <mxPoint x="-4.941176470588289" y="-139.99999999999955" as="targetPoint"/>
                            <Array as="points">
                                <mxPoint x="-5" y="-90"/>
                                <mxPoint x="-5" y="-90"/>
                            </Array>
                        </mxGeometry>
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu May 12 00:06:16 UTC 2022
    - 12.3K bytes
    - Viewed (0)
  10. docs/en/docs/img/deployment/https/https01.drawio

                        <mxGeometry relative="1" as="geometry">
                            <mxPoint x="110" y="-75" as="sourcePoint"/>
                            <mxPoint x="-4.941176470588289" y="-139.99999999999955" as="targetPoint"/>
                            <Array as="points">
                                <mxPoint x="-10" y="-120"/>
                                <mxPoint x="-10" y="-120"/>
                            </Array>
                        </mxGeometry>
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu May 12 00:06:16 UTC 2022
    - 6.2K bytes
    - Viewed (0)
Back to top