- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 77 for newlines (0.09 sec)
-
api/maven-api-core/src/main/java/org/apache/maven/api/services/MessageBuilder.java
@Nonnull default MessageBuilder a(Object value) { return append(String.valueOf(value)); } /** * Append newline to the message buffer. * * @return the current builder */ @Nonnull default MessageBuilder newline() { return append(System.lineSeparator()); } /** * Append formatted content to the buffer.
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Sat Nov 02 09:29:52 UTC 2024 - 7.6K bytes - Viewed (0) -
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) -
buildscripts/verify-healing.sh
return 1 fi for ((i = 0; i < 20; i++)); do test -f ${WORK_DIR}/$1/1/.minio.sys/format.json v1=$? nextInES=$(($1 + 1)) && [ $nextInES -gt 3 ] && nextInES=1 foundFiles1=$(find ${WORK_DIR}/$1/1/ | grep -v .minio.sys | grep xl.meta | wc -l) foundFiles2=$(find ${WORK_DIR}/$nextInES/1/ | grep -v .minio.sys | grep xl.meta | wc -l) test $foundFiles1 -eq $foundFiles2 v2=$? [ $v1 == 0 -a $v2 == 0 ] && return 0
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Jul 12 20:51:54 UTC 2024 - 4K bytes - Viewed (0) -
src/bufio/scan_test.go
} } // Test that the line splitter handles a final line without a newline. func TestScanLineNoNewline(t *testing.T) { const text = "abcdefghijklmn\nopqrstuvwxyz" lines := []string{ "abcdefghijklmn", "opqrstuvwxyz", } testNoNewline(text, lines, t) } // Test that the line splitter handles a final line with a carriage return but no newline. func TestScanLineReturnButNoNewline(t *testing.T) {
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Sep 22 16:22:42 UTC 2023 - 14.3K bytes - Viewed (0) -
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) -
.golangci.yml
text: 'dot-imports:' - path: (.+)\.go$ text: should have a package comment - path: (.+)\.go$ text: error strings should not be capitalized or end with punctuation or a newline paths: - third_party$ - builtin$ - examples$ issues: max-issues-per-linter: 100 max-same-issues: 100 formatters: enable: - gofumpt - goimports exclusions:
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 1.2K bytes - Viewed (0) -
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) -
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) -
docs/debugging/hash-set/main.go
var ( file, object, deploymentID, prefix string setCount, shards int verbose bool ) func main() { flag.StringVar(&file, "file", "", "Read all objects from file, newline separated") flag.StringVar(&prefix, "prefix", "", "Add prefix to all objects") flag.StringVar(&object, "object", "", "Select an object")
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Sep 19 18:05:16 UTC 2022 - 3.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java
* @param kinds The initial kind array. * @param newKinds The new kind array to add. * @return The concatenated kind array. */ protected static Kind[] concatKinds(final Kind[] kinds, final Kind... newKinds) { if (kinds == null) { return newKinds; } if (newKinds == null) { return kinds; }
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 25.1K bytes - Viewed (0)