- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 252 for printint (0.25 sec)
-
src/archive/zip/example_test.go
} defer r.Close() // Iterate through the files in the archive, // printing some of their contents. for _, f := range r.File { fmt.Printf("Contents of %s:\n", f.Name) rc, err := f.Open() if err != nil { log.Fatal(err) } _, err = io.CopyN(os.Stdout, rc, 68) if err != nil { log.Fatal(err) } rc.Close() fmt.Println() } // Output: // Contents of README:
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Jan 27 00:22:03 GMT 2016 - 2K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/TestDohMain.kt
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 3.2K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/CacheResponse.kt
if (!it.isSuccessful) throw IOException("Unexpected code $it") println("Response 2 response: $it") println("Response 2 cache response: ${it.cacheResponse}") println("Response 2 network response: ${it.networkResponse}") return@use it.body.string() } println("Response 2 equals Response 1? " + (response1Body == response2Body)) } } fun main() {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2K bytes - Viewed (2) -
src/test/java/org/codelibs/core/message/MessageFormatterTest.java
final String s = MessageFormatter.getMessage("EMSG0000"); System.out.println(s); assertThat(s, is("[EMSG0000]test")); } /** * @throws Exception */ @Test public void testGetMessageWithArgs() throws Exception { final String s = MessageFormatter.getMessage("EMSG0001", "hoge"); System.out.println(s); assertThat(s, is("[EMSG0001]hogeが見つかりません")); } /**
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 3.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/TestTls13Request.kt
"https://api.twitter.com/robots.txt", "https://connect.squareup.com/robots.txt", ) println("TLS1.3+TLS1.2") testClient(urls, buildClient(ConnectionSpec.RESTRICTED_TLS)) println("\nTLS1.3 only") testClient(urls, buildClient(TLS_13)) println("\nTLS1.3 then fallback") testClient(urls, buildClient(TLS_13, TLS_12))
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 3K bytes - Viewed (0) -
istioctl/pkg/writer/compare/sds/writer_test.go
for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { w := &bytes.Buffer{} mockWriter := NewSDSWriter(w, tt.format) err := mockWriter.PrintSecretItems(tt.items) if err != nil { t.Errorf("error printing secret items: %v", err) } checkOutput(t, w.String(), tt.expected, tt.unexpected) }) } } func TestSDSWriterSecretDiff(t *testing.T) { tests := []struct { name string format Format
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri May 29 20:42:01 GMT 2020 - 4.9K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/project/inheritance/t12scm/ProjectInheritanceTest.java
System.out.println("\n\n"); System.out.println("Parent SCM URL is: " + project0.getScm().getUrl()); System.out.println("Child SCM URL is: " + project1.getScm().getUrl()); System.out.println(); System.out.println("Parent SCM connection is: " + project0.getScm().getConnection()); System.out.println("Child SCM connection is: " + project1.getScm().getConnection());
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 5.5K bytes - Viewed (0) -
analysis/analysis-api-fir/analysis-api-fir-generator/src/org/jetbrains/kotlin/analysis/api/fir/generator/Main.kt
import java.io.File private val COPYRIGHT = File("license/COPYRIGHT_HEADER.txt").readText() internal fun SmartPrinter.printCopyright() { println(COPYRIGHT) println() } internal fun SmartPrinter.printGeneratedMessage() { println(GeneratorsFileUtil.GENERATED_MESSAGE) println() } fun main() { val rootPath = Paths.get("analysis/analysis-api-fir/src").toAbsolutePath()
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Thu Nov 16 14:27:49 GMT 2023 - 1.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/SystemUtilTest.java
public void test() throws Exception { System.out.println(SystemUtil.FILE_ENCODING); System.out.println(SystemUtil.LINE_SEPARATOR); System.out.println(SystemUtil.PATH_SEPARATOR); System.out.println(SystemUtil.OS_NAME); System.out.println(SystemUtil.JAVA_IO_TMPDIR); System.out.println(SystemUtil.USER_DIR); System.out.println(SystemUtil.USER_HOME); }
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 1.2K bytes - Viewed (0) -
analysis/analysis-api-fir/analysis-api-fir-generator/src/org/jetbrains/kotlin/analysis/api/fir/generator/ArgumentsConverterGenerator.kt
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Wed Oct 25 13:04:15 GMT 2023 - 3.8K bytes - Viewed (0)