Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 364 for line1 (0.02 sec)

  1. guava-tests/test/com/google/common/io/SourceSinkTester.java

              .put("empty", "")
              .put("1 char", "0")
              .put("1 word", "hello")
              .put("2 words", "hello world")
              .put("\\n line break", "hello\nworld")
              .put("\\r line break", "hello\rworld")
              .put("\\r\\n line break", "hello\r\nworld")
              .put("\\n at EOF", "hello\nworld\n")
              .put("\\r at EOF", "hello\nworld\r")
              .put("lorem ipsum", LOREM_IPSUM)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/io/LineIteratorTest.java

         */
        @Test
        public void testForEach() throws Exception {
            final StringReader reader = new StringReader("aaa\nbbb\nccc\n");
            for (final String line : LineIterator.iterable(reader)) {
                System.out.println(line);
            }
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  3. utils/utils.go

    	dir := filepath.Dir(file)
    	dir = filepath.Dir(dir)
    
    	s := filepath.Dir(dir)
    	if filepath.Base(s) != "gorm.io" {
    		s = dir
    	}
    	return filepath.ToSlash(s) + "/"
    }
    
    // FileWithLineNum return the file name and line number of the current file
    func FileWithLineNum() string {
    	pcs := [13]uintptr{}
    	// the third caller usually from gorm internal
    	len := runtime.Callers(3, pcs[:])
    	frames := runtime.CallersFrames(pcs[:len])
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Aug 22 11:03:42 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/CharSourceTester.java

                new LineProcessor<List<String>>() {
                  final List<String> list = new ArrayList<>();
    
                  @Override
                  public boolean processLine(String line) throws IOException {
                    list.add(line);
                    return true;
                  }
    
                  @Override
                  public List<String> getResult() {
                    return list;
                  }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  5. compat/maven-builder-support/src/main/java/org/apache/maven/building/Problem.java

         */
        String getSource();
    
        /**
         * Gets the one-based index of the line containing the problem. The line number should refer to some text file that
         * is given by {@link #getSource()}.
         *
         * @return The one-based index of the line containing the problem or a non-positive value if unknown.
         */
        int getLineNumber();
    
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 15 18:51:29 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java

    import org.opensearch.monitor.process.ProcessProbe;
    
    import jakarta.annotation.Resource;
    
    /**
     * Executable class for generating thumbnails for indexed documents.
     * This class provides a command-line interface for thumbnail generation tasks.
     */
    public class ThumbnailGenerator {
    
        private static final Logger logger = LogManager.getLogger(ThumbnailGenerator.class);
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

            }
            return hash;
        }
    
        /**
         * Appends line numbers to each line of content with a given prefix.
         * Useful for debugging and displaying content with line references.
         *
         * @param prefix the prefix to add before each line number
         * @param content the content to add line numbers to
         * @return the content with line numbers prepended, or empty string if content is blank
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/BuilderProblem.java

         */
        @Nonnull
        String getSource();
    
        /**
         * Gets the one-based index of the line containing the problem. The line number should refer to some text file that
         * is given by {@link #getSource()}.
         *
         * @return the one-based index of the line containing the problem or a non-positive value if unknown
         */
        int getLineNumber();
    
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RequestLine.kt

     * limitations under the License.
     */
    package okhttp3.internal.http
    
    import java.net.Proxy
    import okhttp3.HttpUrl
    import okhttp3.Request
    
    object RequestLine {
      /**
       * Returns the request status line, like "GET / HTTP/1.1". This is exposed to the application by
       * [HttpURLConnection.getHeaderFields], so it needs to be set even if the transport is
       * HTTP/2.
       */
      fun get(
        request: Request,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jun 17 00:47:36 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  10. okhttp-testing-support/src/main/kotlin/okhttp3/okio/LoggingFilesystem.kt

    import okio.ForwardingFileSystem
    import okio.Path
    import okio.Sink
    import okio.Source
    
    class LoggingFilesystem(
      fileSystem: FileSystem,
    ) : ForwardingFileSystem(fileSystem) {
      fun log(line: String) {
        println(line)
      }
    
      override fun appendingSink(
        file: Path,
        mustExist: Boolean,
      ): Sink {
        log("appendingSink($file)")
    
        return super.appendingSink(file, mustExist)
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.7K bytes
    - Viewed (0)
Back to top