Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 49 for newlines (0.25 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt

        count++
        readByte()
      }
      return count
    }
    
    /**
     * Returns the index of the next non-whitespace character in this. Result is undefined if input
     * contains newline characters.
     */
    internal fun String.indexOfNonWhitespace(startIndex: Int = 0): Int {
      for (i in startIndex until length) {
        val c = this[i]
        if (c != ' ' && c != '\t') {
          return i
        }
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java

        }
    
        @Test
        @DisplayName("Test with special characters in names")
        void testWithSpecialCharacters() {
            String specialName = "Share$\\Special/Name:*?";
            String specialRemark = "Remark with\nnewline\tand\rtabs";
    
            SmbShareInfo info = new SmbShareInfo(specialName, 0, specialRemark);
    
            assertEquals(specialName, info.getName());
            String str = info.toString();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/CharSource.java

        @Override
        public Optional<Long> lengthIfKnown() {
          return Optional.of((long) seq.length());
        }
    
        /**
         * Returns an iterator over the lines in the string. If the string ends in a newline, a final
         * empty string is not included, to match the behavior of BufferedReader/LineReader.readLine().
         */
        private Iterator<String> linesIterator() {
          return new AbstractIterator<String>() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/io/CharSource.java

        @Override
        public Optional<Long> lengthIfKnown() {
          return Optional.of((long) seq.length());
        }
    
        /**
         * Returns an iterator over the lines in the string. If the string ends in a newline, a final
         * empty string is not included, to match the behavior of BufferedReader/LineReader.readLine().
         */
        private Iterator<String> linesIterator() {
          return new AbstractIterator<String>() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/util/GsaConfigParser.java

         *
         * @param text the raw text containing URL patterns, one per line
         * @param web true if web protocol URLs should be included
         * @param file true if file protocol URLs should be included
         * @return a newline-separated string of filtered URL patterns
         */
        protected String parseFilterPaths(final String text, final boolean web, final boolean file) {
            return split(text, "\n")
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

                return 8;
            }).when(raf).read(any(byte[].class), anyInt(), eq(8));
            assertEquals(1.0d, raf.readDouble(), 0.0000001);
        }
    
        @Test
        @DisplayName("readLine(): reads until newline and handles CRLF")
        void readLine_reads() throws Exception {
            SmbRandomAccessFile raf = spy(newInstance("r", false, false, false));
            // Sequence: 'a','b','\r','\n','c','\n'
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt

         *
         * AES_256_WITH_MD5
         * 2
         * base64-encoded peerCertificate[0]
         * base64-encoded peerCertificate[1]
         * -1
         * TLSv1.2
         * ```
         *
         * The file is newline separated. The first two lines are the URL and the request method. Next
         * is the number of HTTP Vary request header lines, followed by those lines.
         *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  8. docs/changelogs/changelog_2x.md

        the timeouts manually.
    
     *  **OkHttp now rejects request headers that contain invalid characters.** This
        includes potential security problems (newline characters) as well as simple
        non-ASCII characters (including international characters and emoji).
    
     *  **Call canceling is more reliable.**  We had a bug where a socket being
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 26.6K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt

        cache.close()
        writeFile(getCleanFile("k1", 0), "A")
        writeFile(getCleanFile("k1", 1), "B")
        filesystem.write(journalFile) {
          writeUtf8(
            // No trailing newline.
            """
            |${DiskLruCache.MAGIC}
            |${DiskLruCache.VERSION_1}
            |100
            |2
            |
            |CLEAN k1 1 1
            """.trimMargin(),
          )
        }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 75.7K bytes
    - Viewed (0)
  10. docs/changelogs/changelog_3x.md

           <version>1.9.0</version>
         </dependency>
         ```
    
    
    ## Version 3.3.1
    
    _2016-05-28_
    
     *  Fix: The plaintext check in HttpLoggingInterceptor incorrectly classified
        newline characters as control characters. This is fixed.
     *  Fix: Don't crash reading non-ASCII characters in HTTP/2 headers or in cached
        HTTP headers.
     *  Fix: Retain the response body when an attempt to open a web socket returns a
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
Back to top