- Sort Score
- Num 10 results
- Language All
Results 311 - 320 of 472 for charactersOf (0.06 seconds)
-
src/test/java/org/codelibs/fess/exception/ContainerNotAvailableExceptionTest.java
assertEquals(exception1.getClass(), exception2.getClass()); } @Test public void test_componentNameWithSpecialCharacters() { // Test component name with special characters String componentName = "my-component_v2.0@service"; ContainerNotAvailableException exception = new ContainerNotAvailableException(componentName, new RuntimeException());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 10.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/AbstractTableReadTest.java
assertSize(3); } public void testEquals() { table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); // We know that we have only added non-null Characters. Table<String, Integer, Character> hashCopy = HashBasedTable.create((Table<String, Integer, ? extends Character>) table); Table<String, Integer, C> reordered = create("foo", 3, 'c', "foo", 1, 'a', "bar", 1, 'b');
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 6.6K bytes - Click Count (0) -
cmd/main.go
closestCommands = append(closestCommands, commandsTree.PrefixMatch(command)...) sort.Strings(closestCommands) // Suggest other close commands - allow missed, wrongly added and // even transposed characters for _, value := range commandsTree.Walk(commandsTree.Root()) { if sort.SearchStrings(closestCommands, value) < len(closestCommands) { continue } // 2 is arbitrary and represents the max
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Jul 30 22:59:48 GMT 2024 - 6.5K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/Hashing.java
* have the bug. * * @deprecated This implementation produces incorrect hash values from the {@link * HashFunction#hashString} method if the string contains non-BMP characters. Use {@link * #murmur3_32_fixed(int)} instead. */ @Deprecated @SuppressWarnings("IdentifierName") // the best we could do for adjacent digit blocks public static HashFunction murmur3_32(int seed) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jul 17 15:26:41 GMT 2025 - 29.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/MemoryUtilTest.java
// Empty string assertEquals(56L, MemoryUtil.sizeOf("")); // Single character assertEquals(57L, MemoryUtil.sizeOf("a")); // Unicode characters assertEquals(58L, MemoryUtil.sizeOf("こん")); // Very long string StringBuilder longString = new StringBuilder(); for (int i = 0; i < 1000; i++) { longString.append("x");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/script/ScriptEngineFactoryTest.java
ScriptEngine retrieved = scriptEngineFactory.getScriptEngine("TestScriptEngine"); assertNotNull(retrieved); assertEquals(engine, retrieved); } // Test add with special characters in name @Test public void test_add_specialCharactersInName() { TestScriptEngine engine = new TestScriptEngine(); scriptEngineFactory.add("test-engine.v1", engine);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/annotation/SecuredTest.java
assertNotNull(secured); String[] roles = secured.value(); assertNotNull(roles); assertEquals(0, roles.length); } // Test with special characters in roles @Secured({ "ROLE_USER-ADMIN", "ROLE_USER.VIEWER", "ROLE_USER_EDITOR", "ROLE$SPECIAL" }) static class SpecialCharacterRolesClass { } @Test public void test_specialCharactersInRoles() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 15.6K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/Murmur3_32HashFunction.java
for (int i = 1; i < input.length(); i += 2) { int k1 = input.charAt(i - 1) | (input.charAt(i) << 16); k1 = mixK1(k1); h1 = mixH1(h1, k1); } // deal with any remaining characters if ((input.length() & 1) == 1) { int k1 = input.charAt(input.length() - 1); k1 = mixK1(k1); h1 ^= k1; } return fmix(h1, Chars.BYTES * input.length()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 11.8K bytes - Click Count (0) -
cmd/storage-rest_test.go
}{ {"foo", "myobject", testData, false, false}, {"foo", "myobject-0byte", []byte{}, false, false}, // volume not found error. {"foo-bar", "myobject", testData, true, false}, // Test some weird characters over the wire. {"foo", "newline\n", testData, false, true}, {"foo", "newline\t", testData, false, true}, {"foo", "newline \n", testData, false, true}, {"foo", "newline$$$\n", testData, false, true},Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 11.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/HashTestUtils.java
* * @author Dimitris Andreou * @author Kurt Alfred Kluever */ @NullUnmarked final class HashTestUtils { private HashTestUtils() {} /** Converts a string, which should contain only ascii-representable characters, to a byte[]. */ static byte[] ascii(String string) { byte[] bytes = new byte[string.length()]; for (int i = 0; i < string.length(); i++) { bytes[i] = (byte) string.charAt(i); } return bytes;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Oct 28 18:19:59 GMT 2025 - 25.6K bytes - Click Count (0)