- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 70 for newSink (0.05 sec)
-
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) -
misc/cgo/gmp/gmp.go
*/ // An Int represents a signed multi-precision integer. // The zero value for an Int represents the value 0. type Int struct { i C.mpz_t init bool } // NewInt returns a new Int initialized to x. func NewInt(x int64) *Int { return new(Int).SetInt64(x) } // Int promises that the zero value is a 0, but in gmp // the zero value is a crash. To bridge the gap, the
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 9.5K 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) -
misc/cgo/gmp/fib.go
// Keep the fibbers in dedicated operating system // threads, so that this program tests coordination // between pthreads and not just goroutines. runtime.LockOSThread() i := big.NewInt(n) if n == 0 { c <- i } for { j := <-c out <- j.String() i.Add(i, j) c <- i } } func main() { c := make(chan *big.Int) out := make(chan string) go fibber(c, out, 0)
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Apr 10 22:32:35 UTC 2023 - 919 bytes - Viewed (0) -
src/archive/tar/reader.go
// version 1.0. The format of the sparse map consists of a series of // newline-terminated numeric fields. The first field is the number of entries // and is always present. Following this are the entries, consisting of two // fields (offset, length). This function must stop reading at the end // boundary of the block containing the last newline. // // Note that the GNU manual says that numeric values should be encoded in octal
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Mar 08 01:59:14 UTC 2024 - 26.8K bytes - Viewed (0) -
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) -
src/cmd/asm/internal/lex/lex_test.go
}, { "#define A() A()\nA()", "recursive macro invocation", }, { "#define A a\n#define A a\n", "redefinition of macro", }, { "#define A a", "no newline after macro definition", }, } func TestBadLex(t *testing.T) { for _, test := range badLexTests { input := NewInput(test.error) input.Push(NewTokenizer(test.error, strings.NewReader(test.input), nil))
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Aug 29 07:48:38 UTC 2023 - 5.8K bytes - Viewed (0)