- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 259 for CHAR (0.02 sec)
-
src/main/java/org/codelibs/core/text/JsonUtil.java
* * @param value input * @return escaped string. */ public static String escape(final String value) { if (value == null) { return null; } char c; final int len = value.length(); final StringBuilder buf = new StringBuilder(len * 2); for (int i = 0; i < len; i++) { c = value.charAt(i); String escaped = switch (c) {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 24 01:52:43 UTC 2025 - 1.7K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/AbstractHasher.java
public Hasher putLong(long l) { for (int i = 0; i < 64; i += 8) { putByte((byte) (l >>> i)); } return this; } @Override @CanIgnoreReturnValue public Hasher putChar(char c) { putByte((byte) c); putByte((byte) (c >>> 8)); return this; } @Override @CanIgnoreReturnValue public <T extends @Nullable Object> Hasher putObject(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.5K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/SplitterBenchmark.java
import com.google.caliper.Benchmark; import com.google.caliper.Param; import com.google.common.collect.Iterables; import org.jspecify.annotations.NullUnmarked; /** * Microbenchmark for {@link Splitter#on} with char vs String with length == 1. * * @author Paul Lindner */ @NullUnmarked public class SplitterBenchmark { // overall size of string @Param({"1", "10", "100", "1000"}) int length;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 1.8K bytes - Viewed (0) -
guava/src/com/google/common/hash/AbstractByteHasher.java
public Hasher putLong(long l) { ByteBuffer scratch = scratch(); scratch.putLong(l); return update(scratch, Longs.BYTES); } @Override @CanIgnoreReturnValue public Hasher putChar(char c) { ByteBuffer scratch = scratch(); scratch.putChar(c); return update(scratch, Chars.BYTES); } private ByteBuffer scratch() { if (scratch == null) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 12:40:17 UTC 2025 - 3.9K bytes - Viewed (0) -
android/guava/src/com/google/common/io/ByteArrayDataInput.java
@Override short readShort(); @CanIgnoreReturnValue // to skip some bytes @Override int readUnsignedShort(); @CanIgnoreReturnValue // to skip some bytes @Override char readChar(); @CanIgnoreReturnValue // to skip some bytes @Override int readInt(); @CanIgnoreReturnValue // to skip some bytes @Override long readLong();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Dec 27 20:25:25 UTC 2024 - 2.7K bytes - Viewed (0) -
android/guava/src/com/google/common/io/MultiReader.java
private void advance() throws IOException { close(); if (it.hasNext()) { current = it.next().openStream(); } } @Override public int read(char[] cbuf, int off, int len) throws IOException { checkNotNull(cbuf); if (current == null) { return -1; } int result = current.read(cbuf, off, len); if (result == -1) { advance();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:37:28 UTC 2025 - 2.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java
// Should be: 4 (nextOffset) + 4 (action) + 4 (nameLength) + fileName bytes int expectedBytes = 12 + (fileName.length() * 2); // Unicode is 2 bytes per char assertEquals(expectedBytes, bytesRead); } @Test @DisplayName("Test getAction returns correct value") void testGetAction() throws SMBProtocolDecodingException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java
static String unescape(final String str) throws NumberFormatException, UnsupportedEncodingException { char ch; int i, j, state, len; char[] out; final byte[] b = new byte[1]; if (str == null) { return null; } len = str.length(); out = new char[len]; state = 0; for (i = j = 0; i < len; i++) { switch (state) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 26.7K bytes - Viewed (0) -
guava/src/com/google/common/base/MoreObjects.java
* * <p>It is strongly encouraged to use {@link #add(String, char)} instead and give value a * readable name. * * @since 18.0 (since 11.0 as {@code Objects.ToStringHelper.addValue()}). */ @CanIgnoreReturnValue public ToStringHelper addValue(char value) { return addUnconditionalHolder(String.valueOf(value)); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 16.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/DoublesTest.java
} } } @AndroidIncompatible // slow @GwtIncompatible // Doubles.tryParse public void testTryParseAllCodePoints() { // Exercise non-ASCII digit test cases and the like. char[] tmp = new char[2]; for (int i = Character.MIN_CODE_POINT; i < Character.MAX_CODE_POINT; i++) { Character.toChars(i, tmp, 0); checkTryParse(String.copyValueOf(tmp, 0, Character.charCount(i))); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 30.9K bytes - Viewed (0)