Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 42 for newSink (0.04 sec)

  1. src/main/java/org/codelibs/fess/dict/mapping/CharMappingItem.java

         */
        public String getNewOutput() {
            return newOutput;
        }
    
        /**
         * Sets the new output character sequence for update operations.
         * Newline characters in the output are automatically replaced with spaces.
         *
         * @param newOutput the new output sequence to set
         */
        public void setNewOutput(final String newOutput) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/test/java/org/codelibs/fess/job/AggregateLogJobTest.java

            };
            ComponentUtil.register(mockSearchLogHelper, "searchLogHelper");
    
            // Execute the job
            String result = aggregateLogJob.execute();
    
            // Verify result ends with newline even with empty message
            assertNotNull(result);
            assertEquals("\n", result);
        }
    
        public void test_execute_withNullMessageException() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  7. maven-tests/mvnw

    die() {
      printf %s\\n "$1" >&2
      exit 1
    }
    
    trim() {
      # MWRAPPER-139:
      #   Trims trailing and leading whitespace, carriage returns, tabs, and linefeeds.
      #   Needed for removing poorly interpreted newline sequences when running in more
      #   exotic environments such as mingw bash on Windows.
      printf "%s" "${1}" | tr -d '[:space:]'
    }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jul 12 12:05:57 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

        public void test_unescape() throws Exception {
            // Test with escaped characters (backslash sequences)
            String content = "test\\t1\n" + // escaped tab sequence
                    "test\\n2\n" + // escaped newline sequence
                    "test3\n"; // no escape
    
            // Write content to test file
            writeTestFile(content);
    
            // Reload the file
            protwordsFile.reload(null);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Headers.kt

      override fun hashCode(): Int = commonHashCode()
    
      /**
       * Returns header names and values. The names and values are separated by `: ` and each pair is
       * followed by a newline character `\n`.
       *
       * Since OkHttp 5 this redacts these sensitive headers:
       *
       *  * `Authorization`
       *  * `Cookie`
       *  * `Proxy-Authorization`
       *  * `Set-Cookie`
       */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:51:25 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  10. gradlew

    # that process (while maintaining the separation between arguments), and wrap
    # the whole thing up as a single "set" statement.
    #
    # This will of course break if any of these variables contains a newline or
    # an unmatched quote.
    #
    
    eval "set -- $(
            printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS" |
            xargs -n1 |
            sed ' s~[^-[:alnum:]+,./:=@_]~\\&~g; ' |
            tr '\n' ' '
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 01 08:06:31 UTC 2025
    - 8.5K bytes
    - Viewed (0)
Back to top