- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 33 for toUpperCase (1.05 sec)
-
android/guava-tests/test/com/google/common/base/AsciiTest.java
assertEquals("foobar", Ascii.toLowerCase("fOobaR")); } public void testToUpperCase() { assertEquals(UPPER, Ascii.toUpperCase(LOWER)); assertSame(UPPER, Ascii.toUpperCase(UPPER)); assertEquals(IGNORED, Ascii.toUpperCase(IGNORED)); assertEquals("FOOBAR", Ascii.toUpperCase("FoOBAr")); } public void testCharsIgnored() { for (char c : IGNORED.toCharArray()) { String str = String.valueOf(c);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 5.4K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/AsciiBenchmark.java
} @Benchmark int asciiStringToUpperCase(int reps) { String string = noWorkToDo ? Ascii.toUpperCase(testString) : testString; int dummy = 0; for (int i = 0; i < reps; i++) { dummy += Ascii.toUpperCase(string).length(); } return dummy; } @Benchmark int asciiCharSequenceToUpperCase(int reps) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4.8K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/base/AsciiBenchmark.java
} @Benchmark int asciiStringToUpperCase(int reps) { String string = noWorkToDo ? Ascii.toUpperCase(testString) : testString; int dummy = 0; for (int i = 0; i < reps; i++) { dummy += Ascii.toUpperCase(string).length(); } return dummy; } @Benchmark int asciiCharSequenceToUpperCase(int reps) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java
this.accountName = a.getUsername(); if ( this.isUseUnicode() ) this.accountName = this.accountName.toUpperCase(); this.primaryDomain = a.getUserDomain() != null ? a.getUserDomain().toUpperCase() : "?"; } else { this.accountName = ""; this.primaryDomain = "";
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Mar 17 10:20:23 UTC 2019 - 8.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComSessionSetupAndX.java
writeString( password, lmHash, 0 ); } accountName = auth.username; if (useUnicode) accountName = accountName.toUpperCase(); primaryDomain = auth.domain.toUpperCase(); } else if (cred instanceof byte[]) { blob = (byte[])cred; } else { throw new SmbException("Unsupported credential type");
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 7.3K bytes - Viewed (0) -
guava/src/com/google/common/base/CaseFormat.java
@Override String convert(CaseFormat format, String s) { if (format == LOWER_UNDERSCORE) { return s.replace('-', '_'); } if (format == UPPER_UNDERSCORE) { return Ascii.toUpperCase(s.replace('-', '_')); } return super.convert(format, s); } }, /** C++ variable naming convention, e.g., "lower_underscore". */ LOWER_UNDERSCORE(CharMatcher.is('_'), "_") { @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 19 20:20:14 UTC 2022 - 6.3K bytes - Viewed (0) -
src/main/java/jcifs/netbios/Lmhosts.java
void populate ( Reader r, CIFSContext tc ) throws IOException { String line; BufferedReader br = new BufferedReader(r); while ( ( line = br.readLine() ) != null ) { line = line.toUpperCase().trim(); if ( line.length() == 0 ) { continue; } else if ( line.charAt(0) == '#' ) { if ( line.startsWith("#INCLUDE ") ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 6.1K bytes - Viewed (0) -
android/guava/src/com/google/common/base/CaseFormat.java
@Override String convert(CaseFormat format, String s) { if (format == LOWER_UNDERSCORE) { return s.replace('-', '_'); } if (format == UPPER_UNDERSCORE) { return Ascii.toUpperCase(s.replace('-', '_')); } return super.convert(format, s); } }, /** C++ variable naming convention, e.g., "lower_underscore". */ LOWER_UNDERSCORE(CharMatcher.is('_'), "_") { @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 19 20:20:14 UTC 2022 - 6.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NetServerEnum2.java
dstIndex += 2; writeInt4( serverTypes, dst, dstIndex ); dstIndex += 4; dstIndex += writeString( domain.toUpperCase(), dst, dstIndex, false ); if( which == 1 ) { dstIndex += writeString( lastName.toUpperCase(), dst, dstIndex, false ); } return dstIndex - start; } int writeDataWireFormat( byte[] dst, int dstIndex ) { return 0;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 3.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/net/NetServerEnum2.java
dstIndex += 2; SMBUtil.writeInt4(this.serverTypes, dst, dstIndex); dstIndex += 4; dstIndex += writeString(this.domain.toUpperCase(), dst, dstIndex, false); if ( which == 1 ) { dstIndex += writeString(this.lastName.toUpperCase(), dst, dstIndex, false); } return dstIndex - start; } @Override
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 4K bytes - Viewed (0)