Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 138 for uppercase (0.05 sec)

  1. src/main/java/org/codelibs/core/lang/StringUtil.java

            if (chars.length >= 2 && Character.isUpperCase(chars[0]) && Character.isUpperCase(chars[1])) {
                return name;
            }
            chars[0] = Character.toLowerCase(chars[0]);
            return new String(chars);
        }
    
        /**
         * Capitalizes a string according to JavaBeans conventions.
         * Note: If the first two characters are uppercase, the string will not be capitalized.
         * <p>
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  2. 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
    	}
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/netbios/SessionRequestPacketTest.java

            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;
                this.scope = scope;
            }
    
            @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (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");
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/netbios/UniAddressTest.java

                when(mockInetAddress.getHostName()).thenReturn("h.ostname");
                UniAddress uniAddress = new UniAddress(mockInetAddress);
                // Dot at position 1, which is NOT > 1, so it doesn't substring, just uppercase
                assertEquals("H.OSTNAME", uniAddress.firstCalledName());
            }
        }
    
        @Nested
        @DisplayName("nextCalledName method tests")
        class NextCalledNameTests {
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  6. 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?,
      ) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/suggest/analysis/SuggestAnalyzerTest.java

                            testToken.setReading(convertToJapaneseReading(testToken.getTerm()));
                        } else {
                            // Default: uppercase for reading
                            testToken.setReading(testToken.getTerm().toUpperCase());
                        }
                    }
                }
    
                return tokens;
            }
    
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  8. 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
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  9. 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 ""
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Sun Dec 15 07:49:41 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  10. 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")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
Back to top