Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 46 for newlines (0.04 sec)

  1. CHANGELOG/CHANGELOG-1.12.md

    - Kubectl now handles newlines for `command`, `args`, `env`, and `annotations` in `kubectl describe` wrapping. ([#66841](https://github.com/kubernetes/kubernetes/pull/66841), [@smarterclayton](https://github.com/smarterclayton))
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Thu Feb 06 06:04:15 UTC 2020
    - 293.8K bytes
    - Viewed (0)
  2. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidLog.kt

          val length = logMessage.length
          while (i < length) {
            var newline = logMessage.indexOf('\n', i)
            newline = if (newline != -1) newline else length
            do {
              val end = minOf(newline, i + MAX_LOG_LENGTH)
              Log.println(logLevel, tag, logMessage.substring(i, end))
              i = end
            } while (i < newline)
            i++
          }
        }
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 22 20:03:31 UTC 2025
    - 4K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixListGenerator.kt

          with(sink) {
            writeInt(totalRuleBytes)
            for (domain in sortedRules) {
              write(domain).writeByte(NEWLINE)
            }
            writeInt(totalExceptionRuleBytes)
            for (domain in sortedExceptionRules) {
              write(domain).writeByte(NEWLINE)
            }
          }
        }
      }
    
      private suspend fun writeOutputFile(importResults: ImportResults) =
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Aug 06 05:33:11 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/dict/synonym/SynonymItem.java

         * Gets the original input words.
         *
         * @return The original input words.
         */
        public String[] getInputs() {
            return inputs;
        }
    
        /**
         * Gets the input words as a newline-separated string.
         *
         * @return The input words as a string.
         */
        public String getInputsValue() {
            if (inputs == null) {
                return StringUtil.EMPTY;
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/escape/ArrayBasedCharEscaperTest.java

      private static final ImmutableMap<Character, String> NO_REPLACEMENTS = ImmutableMap.of();
      private static final ImmutableMap<Character, String> SIMPLE_REPLACEMENTS =
          ImmutableMap.of(
              '\n', "<newline>",
              '\t', "<tab>",
              '&', "<and>");
    
      public void testSafeRange() throws IOException {
        // Basic escaping of unsafe chars (wrap them in {,}'s)
        CharEscaper wrappingEscaper =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Feb 18 15:41:04 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  6. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/SimpleIdnaMappingTable.kt

      while (!exhausted()) {
        if (buffer[0] != ' '.code.toByte()) return
        skip(1L)
      }
    }
    
    private fun BufferedSource.skipRestOfLine() {
      when (val newline = indexOf('\n'.code.toByte())) {
        -1L -> skip(buffer.size) // Exhaust this source.
        else -> skip(newline + 1)
      }
    }
    
    /**
     * Reads lines from `IdnaMappingTable.txt`.
     *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/timer/MonitorTargetTest.java

            StringBuilder buf = new StringBuilder();
            Supplier<Object> supplier = () -> "test \"quotes\" and \n newline";
    
            monitorTarget.append(buf, "specialKey", supplier);
            assertEquals("\"specialKey\":\"test \\\"quotes\\\" and \\n newline\"", buf.toString());
        }
    
        // Test append method with String containing backslash
        public void test_append_stringWithBackslash() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/exception/LdapConfigurationExceptionTest.java

            assertEquals(message, exception.getMessage());
        }
    
        public void test_newlineCharactersInMessage() {
            // Test with newline characters in message
            String message = "LDAP error:\n- Connection failed\n- Invalid credentials\n- Timeout";
            LdapConfigurationException exception = new LdapConfigurationException(message);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java

            assertSame(inputs, item.getNewInputs());
            assertEquals("result", item.getNewOutput());
        }
    
        public void test_constructor_withNewlineInOutput() {
            // Test newline replacement in output
            String[] inputs = { "input" };
            CharMappingItem item = new CharMappingItem(1L, inputs, "line1\nline2");
    
            assertEquals("line1 line2", item.getOutput());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/job/JobExecutorTest.java

        }
    
        public void test_execute_specialCharacters() {
            // Test scripts with special characters
            Object result = jobExecutor.execute("test", "script with\nnewline");
            assertEquals("Executed: test script with\nnewline", result);
    
            result = jobExecutor.execute("test", "script with\ttab");
            assertEquals("Executed: test script with\ttab", result);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.1K bytes
    - Viewed (0)
Back to top