- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for New (0.13 sec)
-
guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/testers/Platform.java
} // TODO: Consolidate different copies in one single place. static String format(String template, Object... args) { // start substituting the arguments into the '%s' placeholders StringBuilder builder = new StringBuilder(template.length() + 16 * args.length); int templateStart = 0; int i = 0; while (i < args.length) { int placeholderStart = template.indexOf("%s", templateStart);
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Oct 04 15:31:40 GMT 2023 - 2.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/Platform.java
ByteArrayOutputStream bytes = new ByteArrayOutputStream(); try { ObjectOutputStream out = new ObjectOutputStream(bytes); out.writeObject(object); ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(bytes.toByteArray())); return (T) requireNonNull(in.readObject()); } catch (IOException | ClassNotFoundException e) { throw new RuntimeException(e); } }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Aug 23 12:13:11 GMT 2023 - 1.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/Platform.java
ByteArrayOutputStream bytes = new ByteArrayOutputStream(); try { ObjectOutputStream out = new ObjectOutputStream(bytes); out.writeObject(object); ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(bytes.toByteArray())); return (T) requireNonNull(in.readObject()); } catch (IOException | ClassNotFoundException e) { throw new RuntimeException(e); } }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Aug 23 12:13:11 GMT 2023 - 1.7K bytes - Viewed (0) -
guava/src/com/google/common/base/Platform.java
return patternCompiler.compile(pattern); } static boolean patternCompilerIsPcreLike() { return patternCompiler.isPcreLike(); } private static PatternCompiler loadPatternCompiler() { return new JdkPatternCompiler(); } private static void logPatternCompilerError(ServiceConfigurationError e) { logger.log(Level.WARNING, "Error loading regex compiler, falling back to next option", e); }
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Jun 26 17:58:45 GMT 2023 - 3.3K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/escape/super/com/google/common/escape/Platform.java
* limitations under the License. */ package com.google.common.escape; /** @author Jesse Wilson */ final class Platform { private static final char[] CHAR_BUFFER = new char[1024]; static char[] charBufferFromThreadLocal() { // ThreadLocal is not available to GWT, so we always reuse the same // instance. It is always safe to return the same instance because
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 1.1K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/base/super/com/google/common/base/Platform.java
private interface Number { double toPrecision(int precision); } static CommonPattern compilePattern(String pattern) { throw new UnsupportedOperationException(); } static boolean patternCompilerIsPcreLike() { throw new UnsupportedOperationException(); } private Platform() {}
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Jun 26 17:58:45 GMT 2023 - 2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Platform.java
return CompactHashSet.create(); } /** * Returns a new array of the given length with the same type as a reference array. * * @param reference any array of the desired type * @param length the length of the new array */ /* * The new array contains nulls, even if the old array did not. If we wanted to be accurate, we
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 4.9K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Platform.java
* in Guava, at least for now). */ return new JdkPatternCompiler(); } private static final class JdkPatternCompiler implements PatternCompiler { @Override public CommonPattern compile(String pattern) { return new JdkPattern(Pattern.compile(pattern)); } @Override public boolean isPcreLike() { return true;
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 15 22:32:14 GMT 2024 - 3.8K bytes - Viewed (0) -
guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/Platform.java
} // TODO: Consolidate different copies in one single place. static String format(String template, Object... args) { // start substituting the arguments into the '%s' placeholders StringBuilder builder = new StringBuilder(template.length() + 16 * args.length); int templateStart = 0; int i = 0; while (i < args.length) { int placeholderStart = template.indexOf("%s", templateStart);
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 2.1K bytes - Viewed (0) -
android/guava/src/com/google/common/escape/Platform.java
* A thread-local destination buffer to keep us from creating new buffers. The starting size is * 1024 characters. If we grow past this we don't put it back in the threadlocal, we just keep * going and grow as needed. */ private static final ThreadLocal<char[]> DEST_TL = new ThreadLocal<char[]>() { @Override protected char[] initialValue() { return new char[1024]; } };
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Dec 15 19:31:54 GMT 2023 - 1.6K bytes - Viewed (0)