Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 147 for myprint (0.18 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 Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Dec 11 23:57:34 UTC 2024
    - 44K bytes
    - Viewed (0)
  2. 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 Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Aug 05 15:41:37 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  3. docs/debugging/xl-meta/main.go

    					b = bytes.TrimFunc(b, func(r rune) bool {
    						return r == '{' || r == '}' || r == '\n' || r == '\r'
    					})
    				}
    
    				toPrint = append(toPrint, fmt.Sprintf("%s%s", b0, string(b)))
    			}
    		}
    		sort.Strings(toPrint)
    		fmt.Printf("{\n%s\n}\n", strings.Join(toPrint, ",\n"))
    		if c.Bool("combine") {
    			for partName, data := range foundData {
    				if verid := partDataToVerID[partName]; verid != [2]string{} {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 40.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/http/NetworkExplorer.java

                        out.print(name);
                        out.print("\"><b>");
                        out.print(name);
                        out.print("</b></a>");
                    } else {
                        out.print(";\" HREF=\"");
                        out.print(path);
                        out.print(name);
                        out.print("\"><b>");
                        out.print(name);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  5. ci/official/utilities/cleanup_summary.sh

    Try the links below:
    EOF
      # Find any "Streaming build results to" lines,
      # de-duplicate,
      # and print the last word from each
      awk '/Streaming build results to/ {print $NF}' "$TFCI_OUTPUT_DIR/script.log" | uniq
    }
    
    # Print out any ResultStore URLs for Bazel invocations' results.
    # Each failed target there will have its own representation, making failures
    # easier to find and read.
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Thu Jan 09 18:37:25 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  6. logger/logger.go

    	newlogger := *l
    	newlogger.LogLevel = level
    	return &newlogger
    }
    
    // Info print info
    func (l *logger) Info(ctx context.Context, msg string, data ...interface{}) {
    	if l.LogLevel >= Info {
    		l.Printf(l.infoStr+msg, append([]interface{}{utils.FileWithLineNum()}, data...)...)
    	}
    }
    
    // Warn print warn messages
    func (l *logger) Warn(ctx context.Context, msg string, data ...interface{}) {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun Jan 12 10:19:28 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  7. tests/create_test.go

    	}
    
    	if _, ok := records[0]["@id"]; ok && fmt.Sprint(res2["id"]) != fmt.Sprint(records[0]["@id"]) {
    		t.Errorf("failed to create data from map with table, @id != id, got %v, expect %v", res2["id"], records[0]["@id"])
    	}
    
    	if _, ok := records[1]["id"]; ok && fmt.Sprint(res3["id"]) != fmt.Sprint(records[1]["@id"]) {
    		t.Errorf("failed to create data from map with table, @id != id")
    	}
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jul 21 09:55:20 UTC 2025
    - 26.8K bytes
    - Viewed (0)
  8. docs/select/README.md

        if 'Records' in event:
            records = event['Records']['Payload'].decode('utf-8')
            print(records)
        elif 'Stats' in event:
            statsDetails = event['Stats']['Details']
            print("Stats details bytesScanned: ")
            print(statsDetails['BytesScanned'])
            print("Stats details bytesProcessed: ")
            print(statsDetails['BytesProcessed'])
    ```
    
    ## 4. Run the Program
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/TestLocking.java

                        if (r < 0.333) {
                            f.exists();
                            //                      System.out.print('e');
                        } else if (r < 0.667) {
                            d.listFiles();
                            //                      System.out.print('l');
                        } else if (r < 1.0) {
                            final InputStream in = f.getInputStream();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/util/LogStreamTest.java

            LogStream.setInstance(testStream);
            LogStream logStream = LogStream.getInstance();
    
            // Test various PrintStream methods
            logStream.print("test");
            logStream.print(123);
            logStream.print(true);
            logStream.println();
            logStream.println("line");
            logStream.printf("formatted %d%n", 42);
            logStream.flush();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.3K bytes
    - Viewed (0)
Back to top