- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 132 for champs (0.08 sec)
-
guava-tests/test/com/google/common/xml/XmlEscapersTest.java
assertEquals(s, xmlEscaper.escape(s)); // Test ASCII control characters. for (char ch = 0; ch < 0x20; ch++) { if (ch == '\t' || ch == '\n' || ch == '\r') { // Only these whitespace chars are permitted in XML, if (shouldEscapeWhitespaceChars) { assertEscaping(xmlEscaper, "&#x" + Integer.toHexString(ch).toUpperCase() + ";", ch); } else { assertUnescaped(xmlEscaper, ch);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 05 22:03:28 UTC 2025 - 4.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java
assertTrue(n > 0); assertEquals((byte) 0xFF, buf[1]); assertNull(block.andx, "andx should be cleared when batching prevented"); } @Test @DisplayName("writeAndXWireFormat chains non-AndX SMB and propagates header fields") void testWriteAndXWireFormatChainsPlainSMB() { DummyPlainSMB next = new DummyPlainSMB(); DummyAndXBlock block = new DummyAndXBlock(next);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/HashTestUtils.java
HashFunction hashFunction, Random random) { int size = random.nextInt(8) + 1; char[] chars = new char[size]; for (int i = 0; i < chars.length; i++) { chars[i] = random.nextBoolean() ? randomLowSurrogate(random) : randomHighSurrogate(random); } String string = new String(chars); assertEquals( hashFunction.hashUnencodedChars(string),Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:19:59 UTC 2025 - 25.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt
verifyHostname(hostname, it) } } /** * This is like [toLowerCase] except that it does nothing if this contains any non-ASCII * characters. We want to avoid lower casing special chars like U+212A (Kelvin symbol) because * they can return ASCII characters that match real hostnames. */ private fun String.asciiToLowercase(): String = when {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 7.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmUtilTest.java
when(cifsContext.getConfig()).thenReturn(configuration); when(configuration.getOemEncoding()).thenReturn("Cp850"); String password14 = "ABCDEFGHIJKLMN"; // 14 chars String password15 = "ABCDEFGHIJKLMNO"; // 15 chars, same first 14 byte[] challenge = hex("0102030405060708"); // Act byte[] r14 = NtlmUtil.getPreNTLMResponse(cifsContext, password14, challenge);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12K bytes - Viewed (1) -
android/guava/src/com/google/common/primitives/package-info.java
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Jan 03 15:30:05 UTC 2025 - 2K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/BaseEncodingTest.java
assertFailsToDecode(base64(), "Wf2!", "Unrecognized character: !"); // This sentence just isn't base64() encoded. assertFailsToDecode(base64(), "let's not talk of love or chains!"); // A 4n+1 length string is never legal base64(). assertFailsToDecode(base64(), "12345", "Invalid input length 5"); // These have a combination of invalid length, unrecognized characters and wrong padding.
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileRenameInformation2Test.java
@Test @DisplayName("Test size calculation with short filename") void testSizeWithShortFilename() { FileRenameInformation2 info = new FileRenameInformation2("test.txt", false); // 20 bytes fixed + 2 * 8 chars = 20 + 16 = 36 assertEquals(36, info.size()); } @Test @DisplayName("Test size calculation with long filename") void testSizeWithLongFilename() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
android/guava/src/com/google/common/net/PercentEscaper.java
*/ public PercentEscaper(String safeChars, boolean plusForSpace) { // TODO(dbeaumont): Switch to static factory methods for creation now that class is final. // TODO(dbeaumont): Support escapers where alphanumeric chars are not safe. checkNotNull(safeChars); // eager for GWT. // Avoid any misunderstandings about the behavior of this escaper if (safeChars.matches(".*[0-9A-Za-z].*")) { throw new IllegalArgumentException(
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 28 01:26:26 UTC 2024 - 8.6K bytes - Viewed (0) -
src/test/java/jcifs/util/StringsTest.java
} @ParameterizedTest @DisplayName("getBytes should handle various string inputs") @NullAndEmptySource @ValueSource(strings = { "Simple ASCII", "Special chars: !@#$%^&*()", "Unicode: ñöt ascii ℃", "Mixed: ASCII + 中文 + Русский", "Emojis: 🎉🌟💻", "Very long string with multiple words and various characters 1234567890" }) void testGetBytesWithVariousInputs(String input) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0)