- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 127 for Scharf (0.14 sec)
-
android/guava/src/com/google/common/io/AppendableWriter.java
*/ AppendableWriter(Appendable target) { this.target = checkNotNull(target); } /* * Abstract methods from Writer */ @Override public void write(char[] cbuf, int off, int len) throws IOException { checkNotClosed(); // It turns out that creating a new String is usually as fast, or faster // than wrapping cbuf in a light-weight CharSequence.
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 28 20:13:02 GMT 2023 - 3.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/BenchmarkHelpers.java
+ "\u0ce6\u0d66\u0e50\u0ed0\u0f20\u1040\u1090\u17e0\u1810\u1946" + "\u19d0\u1b50\u1bb0\u1c40\u1c50\ua620\ua8d0\ua900\uaa50\uff10"; for (char base : zeros.toCharArray()) { for (int offset = 0; offset < 10; offset++) { sb.append((char) (base + offset)); } } ALL_DIGITS = sb.toString(); } /** Sample CharMatcher instances for benchmarking. */ public enum SampleMatcherConfig {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/SourceSinkFactory.java
public abstract void tearDown() throws IOException; /** Factory for byte or char sources. */ public interface SourceFactory<S, T> extends SourceSinkFactory<S, T> { /** Creates a new source containing some or all of the given data. */ S createSource(T data) throws IOException; } /** Factory for byte or char sinks. */ public interface SinkFactory<S, T> extends SourceSinkFactory<S, T> {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 3K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocScanner.java
public void mark() { markPos = pos; } public void next() { next(1); } public void next(int n) { pos += n; } public boolean lookingAt(char c) { return input.charAt(pos) == c; } public boolean lookingAt(CharSequence prefix) { int i = 0; int cpos = pos; while (i < prefix.length() && cpos < input.length()) {
Java - Registered: Wed Apr 17 11:36:08 GMT 2024 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 4.3K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/artifact/repository/layout/FlatRepositoryLayout.java
/** * FlatRepositoryLayout */ @Named("flat") @Singleton @Deprecated public class FlatRepositoryLayout implements ArtifactRepositoryLayout { private static final char ARTIFACT_SEPARATOR = '-'; private static final char GROUP_SEPARATOR = '.'; public String getId() { return "flat"; } public String pathOf(Artifact artifact) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Feb 28 07:40:37 GMT 2024 - 2.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/escape/CharEscaperBuilderTest.java
* limitations under the License. */ package com.google.common.escape; import junit.framework.TestCase; public class CharEscaperBuilderTest extends TestCase { public void testAddEscapes() { char[] cs = {'a', 'b', 'c'}; CharEscaperBuilder builder = new CharEscaperBuilder().addEscapes(cs, "Z"); Escaper escaper = builder.toEscaper(); assertEquals("ZZZdef", escaper.escape("abcdef")); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 975 bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/TestCharSource.java
*/ package com.google.common.io; import static com.google.common.base.Charsets.UTF_8; import java.io.IOException; import java.io.InputStreamReader; import java.io.Reader; /** * A char source for testing that has configurable options. * * @author Colin Decker */ public class TestCharSource extends CharSource implements TestStreamSupplier { private final TestByteSource byteSource;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Apr 21 02:27:51 GMT 2017 - 1.4K 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();
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 28 20:13:02 GMT 2023 - 2.4K bytes - Viewed (2) -
guava-tests/test/com/google/common/io/AppendableWriterTest.java
StringBuilder result = new StringBuilder(); @Override public Appendable append(CharSequence csq) { result.append(csq); return this; } @Override public Appendable append(char c) { result.append(c); return this; } @Override public Appendable append(CharSequence csq, int start, int end) { result.append(csq, start, end); return this; }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 3.2K bytes - Viewed (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];
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 3.8K bytes - Viewed (0)