Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 16 for printWriter (0.39 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. build-logic-settings/architecture-docs/src/main/kotlin/gradlebuild/GeneratorTask.kt

            } else {
                emptyList()
            }
    
            markdownFile.bufferedWriter().use {
                PrintWriter(it).run {
                    for (line in head) {
                        println(line)
                    }
                    graph(elements.get())
                }
            }
        }
    
        private fun PrintWriter.graph(elements: List<ArchitectureElement>) {
            println(
                """
                $markerComment
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jan 30 15:37:56 GMT 2026
    - 3.8K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/io/ResourcesTest.java

        // Check that we can find a resource if it is visible to the context class
        // loader, even if it is not visible to the loader of the Resources class.
    
        File tempFile = createTempFile();
        PrintWriter writer = new PrintWriter(tempFile, "UTF-8");
        writer.println("rud a chur ar an méar fhada");
        writer.close();
    
        // First check that we can't find it without setting the context loader.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/io/FilesTest.java

      public void testLineReading() throws IOException {
        File temp = createTempFile();
        assertThat(Files.readFirstLine(temp, UTF_8)).isNull();
        assertTrue(Files.readLines(temp, UTF_8).isEmpty());
    
        PrintWriter w = new PrintWriter(Files.newWriter(temp, UTF_8));
        w.println("hello");
        w.println("");
        w.println(" world  ");
        w.println("");
        w.close();
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 22.8K bytes
    - Click Count (0)
  4. compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesTest.java

            assertEquals("test", o2);
        }
    
        @Test
        public void testLoadSave() throws IOException {
            StringWriter sw = new StringWriter();
            PrintWriter pw = new PrintWriter(sw);
            pw.println("# ");
            pw.println("# The Main  ");
            pw.println("# ");
            pw.println("# Comment ");
            pw.println("# ");
            pw.println("");
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Mar 09 14:29:03 GMT 2026
    - 16.3K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/util/LogNotificationAppender.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.util;
    
    import java.io.PrintWriter;
    import java.io.Serializable;
    import java.io.StringWriter;
    import java.util.Set;
    
    import org.apache.logging.log4j.Level;
    import org.apache.logging.log4j.core.Appender;
    import org.apache.logging.log4j.core.Core;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 6K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/api/chat/ChatApiManager.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.api.chat;
    
    import java.io.IOException;
    import java.io.PrintWriter;
    import java.util.ArrayList;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Locale;
    import java.util.Map;
    import java.util.Set;
    
    import org.apache.logging.log4j.LogManager;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 06:06:55 GMT 2026
    - 25.8K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/filter/LoadControlFilterTest.java

            private String contentType = null;
            private final Map<String, String> headers = new HashMap<>();
            private final StringWriter stringWriter = new StringWriter();
            private final PrintWriter writer = new PrintWriter(stringWriter);
    
            @Override
            public void setStatus(int sc) {
                this.status = sc;
            }
    
            @Override
            public int getStatus() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 33.6K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                    buf.append(t.getClass().getName());
                } else {
                    buf.append(t.getMessage());
                }
                try (final StringWriter sw = new StringWriter(); final PrintWriter pw = new PrintWriter(sw)) {
                    t.printStackTrace(pw);
                    pw.flush();
                    buf.append(" [ ").append(sw.toString()).append(" ]");
                } catch (final IOException e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 27 13:56:32 GMT 2026
    - 55.4K bytes
    - Click Count (1)
  9. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

            .that(shutdownAndAwaitTermination(closingExecutor, 10, SECONDS))
            .isTrue();
        if (!failures.isEmpty()) {
          StringWriter message = new StringWriter();
          PrintWriter writer = new PrintWriter(message);
          writer.println("Expected no failures, but found:");
          for (AssertionError failure : failures) {
            failure.printStackTrace(writer);
          }
          failures.clear();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 63K bytes
    - Click Count (0)
  10. guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

        ArbitraryInstances.get(PrintStream.class).println("test");
        ArbitraryInstances.get(PrintWriter.class).println("test");
        assertThat(ArbitraryInstances.get(File.class)).isNotNull();
        assertFreshInstanceReturned(
            ByteArrayOutputStream.class, OutputStream.class,
            Writer.class, StringWriter.class,
            PrintStream.class, PrintWriter.class);
        assertEquals(ByteSource.empty(), ArbitraryInstances.get(ByteSource.class));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 22.8K bytes
    - Click Count (0)
Back to Top