Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 75 for upperCased (0.18 seconds)

  1. src/test/java/jcifs/smb1/UniAddressTest.java

            UniAddress ua = new UniAddress(addr);
            // Act
            String called = ua.firstCalledName();
            // Assert
            assertEquals(expectedPrefix, called, "firstCalledName should return uppercase prefix or SMBSERVER_NAME");
        }
    
        @Test
        void nextCalledNameWithNbtAddressReturnsDelegateValue() {
            // Arrange
            NbtAddress nbtMock = mock(NbtAddress.class);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java

            assertEquals(16384, SMBUtil.readInt2(dst, descrEnd + 2));
    
            // Verify serverTypes
            assertEquals(serverTypes, SMBUtil.readInt4(dst, descrEnd + 4));
    
            // Verify domain (should be uppercase)
            int domainStart = descrEnd + 8;
            String writtenDomain = readNullTerminatedString(dst, domainStart);
            assertEquals(domain.toUpperCase(), writtenDomain);
        }
    
        @Test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 19.7K bytes
    - Click Count (0)
  3. internal/s3select/sql/funceval.go

    		return nullif(argVals[0], argVals[1])
    
    	case sqlFnCharLength, sqlFnCharacterLength:
    		return charlen(argVals[0])
    
    	case sqlFnLower:
    		return lowerCase(argVals[0])
    
    	case sqlFnUpper:
    		return upperCase(argVals[0])
    
    	case sqlFnUTCNow:
    		return handleUTCNow()
    
    	case sqlFnToString, sqlFnToTimestamp:
    		// TODO: implement
    		fallthrough
    
    	default:
    		return nil, errNotImplemented
    	}
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java

        }
    
        @Nested
        @DisplayName("Domain and Host Fixup Tests")
        class FixupTests {
    
            @Test
            @DisplayName("Should fixup domain for uppercase NetBIOS name")
            void testFixupDomainWithNetBIOSName() {
                // Setup with uppercase server name
                setupReferralWithServer("SERVER");
    
                referralData.fixupDomain("example.com");
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 30.6K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeTest.kt

     *
     * This test includes tests from [Guava's](https://code.google.com/p/guava-libraries/)
     * MediaTypeTest.
     */
    open class MediaTypeTest {
      open fun MediaType.charsetName(): String? = parameter("charset")?.uppercase()
    
      protected open fun parse(string: String): MediaType = string.toMediaTypeOrNull()!!
    
      protected open fun assertInvalid(
        string: String,
        exceptionMessage: String?,
      ) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 7.5K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/core/lang/StringUtil.java

                return text.substring(prefix.length());
            }
            return text;
        }
    
        /**
         * Decapitalizes a string according to JavaBeans conventions.
         * Note: If the first two characters are uppercase, the string will not be decapitalized.
         * <p>
         * Usage example:
         * </p>
         *
         * <pre>
         * StringUtil.decapitalize("UserId")  = "userId"
         * StringUtil.decapitalize("ABC")     = "ABC"
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 21.5K bytes
    - Click Count (0)
  7. okhttp/src/jvmTest/resources/web-platform-test-urltestdata.txt

    \#\u03B2  s:http h:example.org p:/foo/bar f:#\u03B2
    data:text/html,test#test  s:data p:text/html,test f:#test
    
    # Based on http://trac.webkit.org/browser/trunk/LayoutTests/fast/url/file.html
    
    # Basic canonicalization, uppercase should be converted to lowercase
    file:c:\\foo\\bar.html file:///tmp/mock/path s:file p:/c:/foo/bar.html
    
    # Spaces should fail
    \s\sFile:c|////foo\\bar.html  s:file p:/c:////foo/bar.html
    
    # This should fail
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 14.3K bytes
    - Click Count (0)
  8. build-logic/build-init-samples/src/main/kotlin/gradlebuild/samples/SamplesGenerator.kt

            val subprojectName = settings.subprojects.first()
            val languageName = descriptor.language.getName().substring(0, 1).uppercase() + descriptor.language.getName().substring(1)
            val extraCompileJava = if (descriptor.language != Language.JAVA) """
         > Task :$subprojectName:compileJava NO-SOURCE
    
            """.trimIndent() else ""
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Sun Dec 15 07:49:41 GMT 2024
    - 13.5K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java

            assertTrue(result.contains("nextEntry="));
            assertTrue(result.contains("action="));
            assertTrue(result.contains("file=" + fileName));
            // Hexdump.toHexString produces 4-character padded uppercase hex
            String expectedHex = String.format("%04X", action);
            assertTrue(result.contains("0x" + expectedHex));
        }
    
        @Test
        @DisplayName("Test toString with empty object")
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  10. src/test/java/jcifs/netbios/SessionRequestPacketTest.java

            private final String name;
            private final int type;
            private final String scope;
    
            TestNetbiosName(String name, int type, String scope) {
                // Ensure names are uppercase and limited to 15 characters
                this.name = name != null && name.length() > 15 ? name.substring(0, 15).toUpperCase() : (name != null ? name.toUpperCase() : "");
                this.type = type;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
Back to Top