- Sort Score
- Num 10 results
- Language All
Results 221 - 230 of 408 for Char (0.02 seconds)
-
src/test/java/jcifs/internal/smb1/net/TestSmbComTransactionResponseReader.java
assertTrue(value == 255, "Comparison should work correctly"); } /** * Encode a string as 16-bit little-endian Unicode */ private byte[] encodeUnicode(String s) { char[] chars = s.toCharArray(); byte[] out = new byte[chars.length * 2]; for (int i = 0; i < chars.length; i++) { out[2 * i] = (byte) (chars[i] & 0xFF);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/job/JsonIndexExportFormatter.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Feb 07 10:31:36 GMT 2026 - 4.3K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java
this.messageBuilderFactory = messageBuilderFactory; this.terminalWidth = terminalWidth; } private static String chars(char c, int count) { return String.valueOf(c).repeat(Math.max(0, count)); } private void infoLine(char c) { infoMain(chars(c, lineLength)); } private void infoMain(String msg) { logger.info(builder().strong(msg).toString()); }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Nov 08 08:49:11 GMT 2024 - 17.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/DocumentUtilTest.java
assertEquals("http://example.com/path/[id]/page", result); } @Test public void test_encodeUrl_percentSign() { // CharUtil.isUrlChar treats % as valid URL char, so it passes through unchanged String result = DocumentUtil.encodeUrl("http://example.com/100%25/done"); assertEquals("http://example.com/100%25/done", result); } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 12 01:46:45 GMT 2026 - 13.6K bytes - Click Count (0) -
android/guava/src/com/google/common/io/ByteSink.java
public long writeFrom(InputStream input) throws IOException { checkNotNull(input); try (OutputStream out = openStream()) { return ByteStreams.copy(input, out); } } /** * A char sink that encodes written characters with a charset and writes resulting bytes to this * byte sink. */ private final class AsCharSink extends CharSink { private final Charset charset;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 4.9K bytes - Click Count (0) -
.teamcity/.mvn/wrapper/MavenWrapperDownloader.java
if (System.getenv("MVNW_USERNAME") != null && System.getenv("MVNW_PASSWORD") != null) { String username = System.getenv("MVNW_USERNAME"); char[] password = System.getenv("MVNW_PASSWORD").toCharArray(); Authenticator.setDefault(new Authenticator() { @Override protected PasswordAuthentication getPasswordAuthentication() {
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Feb 26 01:48:39 GMT 2020 - 4.8K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/ForbiddenApisPrecommitPlugin.java
if (ForbiddenApisPlugin.FORBIDDEN_APIS_TASK_NAME.equals(t.getName())) { sourceSetName = "main"; } else { // parse out the sourceSetName char[] chars = t.getName().substring(ForbiddenApisPlugin.FORBIDDEN_APIS_TASK_NAME.length()).toCharArray(); chars[0] = Character.toLowerCase(chars[0]); sourceSetName = new String(chars); }
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 5.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/hash/AbstractByteHasherTest.java
hasher.putLong(0x0807060504030201L); hasher.assertBytes(new byte[] {1, 2, 3, 4, 5, 6, 7, 8}); } public void testChar() { TestHasher hasher = new TestHasher(); hasher.putChar((char) 0x0201); hasher.assertBytes(new byte[] {1, 2}); } public void testString() { Random random = new Random(); for (int i = 0; i < 100; i++) { byte[] bytes = new byte[64];
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 21:52:12 GMT 2025 - 3.9K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/transfer/ConsoleMavenTransferListenerTest.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 5.6K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilJvm.kt
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 4.3K bytes - Click Count (0)