Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 347 for Println (0.46 sec)

  1. maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/ThreadOutputMuxer.java

                return getThreadBoundPrintStream();
            }
    
            @Override
            public void println() {
                final PrintStream currentStream = getOutputStreamForCurrentThread();
                synchronized (currentStream) {
                    currentStream.println();
                    currentStream.notifyAll();
                }
            }
    
            @Override
            public void print(char c) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 12.8K bytes
    - Viewed (0)
  2. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/TestDohMain.kt

      for (dns in dnsProviders) {
        println("Testing ${dns.url}")
        for (host in names) {
          print("$host: ")
          System.out.flush()
          try {
            val results = dns.lookup(host)
            println(results)
          } catch (uhe: UnknownHostException) {
            var e: Throwable? = uhe
            while (e != null) {
              println(e)
              e = e.cause
            }
          }
        }
    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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

            ArrayMap<String, String> m = new ArrayMap<String, String>();
            m.put("1", "d");
            m.put("2", "d");
            System.out.println("remove before:" + m);
            m.remove("2");
            System.out.println("remove after:" + m);
            assertThat(m.containsKey("2"), is(not(true)));
            assertThat(m.containsKey("1"), is(true));
            assertThat(m.get("1"), is("d"));
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBrokenInternalLinks.java

        private void writeHeader(PrintWriter fw) {
            fw.println("# Valid links are:");
            fw.println("# * Inside the same file: <<(#)section-name(,text)>>");
            fw.println("# * To a different file: <<other-file(.adoc)#section-name,text>> - Note that the # and section are mandatory, otherwise the link is invalid in the single page output");
            fw.println("#");
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Apr 05 07:57:56 GMT 2023
    - 8.6K bytes
    - Viewed (0)
  9. src/bytes/example_test.go

    	fmt.Println(bytes.ContainsAny([]byte("I like seafood."), "去是伟大的."))
    	fmt.Println(bytes.ContainsAny([]byte("I like seafood."), ""))
    	fmt.Println(bytes.ContainsAny([]byte(""), ""))
    	// Output:
    	// true
    	// true
    	// false
    	// false
    }
    
    func ExampleContainsRune() {
    	fmt.Println(bytes.ContainsRune([]byte("I like seafood."), 'f'))
    	fmt.Println(bytes.ContainsRune([]byte("I like seafood."), 'ö'))
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Mar 04 15:54:40 GMT 2024
    - 15K bytes
    - Viewed (1)
  10. 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)
Back to top