297: test_format("hello, world", 50, 0, "hello, world", __LINE__); 298: test_format("hello, world", 50, 4, " hello, world", __LINE__); 299: test_format("hello, world", 3, 0, "hello, world", __LINE__); 300:
352: int32_t x; 353: x = utrace_format(buf, 100, 0, "%s", "Hello, World."); 354: TEST_ASSERT(strcmp(buf, "Hello, World.") == 0); 355: TEST_ASSERT(x == 14);
5993: * io = IO.new(2, mode: 'w:UTF-16LE', cr_newline: true) 5994: * io.puts "Hello, World!" 5995: * 5996: * io = IO.new(2, mode: 'w', cr_newline: true, external_encoding: Encoding::UTF_16LE) 5997: * io.puts "Hello, World!" 5998: * 5999: * both of aboves print "Hello, World!" in UTF-16LE to standard error output with 6000: * converting EOL generated by <code>puts</code> to CR.
Google Home - Google Code - Discuss - Terms of Service - Help - Submit Your Code
©2010 Google - Privacy