- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 33 for upperCased (0.06 sec)
-
src/test/java/jcifs/smb1/smb1/SmbTreeTest.java
// Verify session.send was called verify(session).send(request, response); assertEquals(123, request.tid); // For A: service with DFS, path should be modified (share name is uppercased) assertEquals("\\testHost\\TESTSHARE\\testPath", request.path); assertEquals(ServerMessageBlock.FLAGS2_RESOLVE_PATHS_IN_DFS, request.flags2 & ServerMessageBlock.FLAGS2_RESOLVE_PATHS_IN_DFS); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.2K bytes - Viewed (0) -
guava/src/com/google/common/io/BaseEncoding.java
return false; } Alphabet upperCase() { if (!hasLowerCase()) { return this; } checkState(!hasUpperCase(), "Cannot call upperCase() on a mixed-case alphabet"); char[] upperCased = new char[chars.length]; for (int i = 0; i < chars.length; i++) { upperCased[i] = Ascii.toUpperCase(chars[i]); } Alphabet upperCase = new Alphabet(name + ".upperCase()", upperCased);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Oct 06 14:51:47 UTC 2025 - 41.7K bytes - Viewed (0) -
src/test/java/jcifs/netbios/UniAddressTest.java
when(mockInetAddress.getHostName()).thenReturn(".hostname"); UniAddress uniAddress = new UniAddress(mockInetAddress); // Dot at position 0, which is NOT > 1, so whole string is uppercased assertEquals(".HOSTNAME", uniAddress.firstCalledName()); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt
} private fun uppercase(original: RequestBody?): RequestBody = object : RequestBody() { override fun contentType(): MediaType? = original!!.contentType() override fun contentLength(): Long = original!!.contentLength() override fun writeTo(sink: BufferedSink) { val uppercase = uppercase(sink) val bufferedSink = uppercase.buffer() original!!.writeTo(bufferedSink)Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 16:11:23 UTC 2025 - 28.2K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Ascii.java
/** A bit mask which selects the bit encoding ASCII character case. */ private static final char CASE_MASK = 0x20; /** * Returns a copy of the input string in which all {@linkplain #isUpperCase(char) uppercase ASCII * characters} have been converted to lowercase. All other characters are copied without * modification. */ public static String toLowerCase(String string) { int length = string.length();Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 21.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/BaseEncodingTest.java
assertFailsToDecode(base64(), "?", "Invalid input length 1"); } public void testBase64CannotUpperCase() { assertThrows(IllegalStateException.class, () -> base64().upperCase()); } public void testBase64CannotLowerCase() { assertThrows(IllegalStateException.class, () -> base64().lowerCase()); } public void testBase64CannotIgnoreCase() {
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/dcerpc/UUIDTest.java
assertArrayEquals(NODE, uuid.node, "node array should match"); } @Test @DisplayName("Constructor with valid uppercase UUID string should parse correctly") void testConstructorWithString() { // Act UUID uuid = new UUID(VALID_UUID_STRING); // Assert
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java
notifyChange = new NtTransNotifyChange(mockConfig, fid, completionFilter, watchTree); String result = notifyChange.toString(); assertNotNull(result); // Hexdump uses uppercase letters // Note: completionFilter is displayed with 4 hex chars, not 8 assertTrue(result.contains("fid=0xFFFF")); assertTrue(result.contains("filter=0xFFFF")); // Only 4 hex chars are shownRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/dtyp/ACETest.java
ace.sid = new SID("S-1-5-21-1234567890-123456789-123456789-1000"); String result = ace.toString(); assertTrue(result.startsWith("Allow ")); // Hexdump.toHexString produces uppercase hex assertTrue(result.toLowerCase().contains("0x001200a9")); // ACE.toString() outputs "Direct " with 4 spaces assertTrue(result.contains("Direct"));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java
@Test @DisplayName("createContext: rejects NetBIOS/short host names") void createContext_rejectsShortNetbiosHost() { Kerb5Authenticator auth = new Kerb5Authenticator((Subject) null); // Using an uppercase short name (no dot) must throw an unsupported operation SmbUnsupportedOperationException ex =Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0)