- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 66 for cark (0.2 sec)
-
android/guava/src/com/google/common/io/ByteStreams.java
public int available() throws IOException { return (int) Math.min(in.available(), left); } // it's okay to mark even if mark isn't supported, as reset won't work @Override public synchronized void mark(int readLimit) { in.mark(readLimit); mark = left; } @Override public int read() throws IOException { if (left == 0) { return -1; }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Jan 17 18:59:58 GMT 2024 - 29.7K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java
* protect ourselves from this, we park ourselves and tell our interrupter that we did so. */ if (state == PARKED || compareAndSet(state, PARKED)) { // Interrupting Cow Says: // ______ // < Park > // ------ // \ ^__^ // \ (oo)\_______
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Sep 29 21:34:48 GMT 2023 - 9.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/ByteStreamsTest.java
assertEquals(big[1], small[3]); } public void testLimit_mark() throws Exception { byte[] big = newPreFilledByteArray(5); InputStream bin = new ByteArrayInputStream(big); InputStream lin = ByteStreams.limit(bin, 2); int read = lin.read(); assertEquals(big[0], read); lin.mark(2); read = lin.read(); assertEquals(big[1], read); read = lin.read();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 21.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/RenderDataUtil.java
if (value instanceof Entity) { data.register(key, BeanUtil.copyBeanToNewMap(value)); } else { if ((value instanceof final Collection<?> coll) && !coll.isEmpty()) { // care performance for List that the most frequent pattern final Object first = coll instanceof List<?> ? ((List<?>) coll).get(0) : coll.iterator().next(); if (first instanceof Entity) {
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 1.7K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Charsets.java
public static final Charset UTF_16LE = Charset.forName("UTF-16LE"); /** * UTF-16: sixteen-bit UCS Transformation Format, byte order identified by an optional byte-order * mark. * * <p><b>Java 7+ users:</b> this constant should be treated as deprecated; use {@link * java.nio.charset.StandardCharsets#UTF_16} instead. * */ @J2ktIncompatible
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 3.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/PreconditionsTest.java
} public void testCheckElementIndex_badSize() { try { Preconditions.checkElementIndex(1, -1); fail(); } catch (IllegalArgumentException expected) { // don't care what the message text is, as this is an invalid usage of // the Preconditions class, unlike all the other exceptions it throws } } public void testCheckElementIndex_negative() { try {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 19.8K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/BuilderCommon.java
final MavenSession currentSession, final MavenProject mavenProject, Throwable t, final long buildStartTime) { // record the error and mark the project as failed long buildEndTime = System.currentTimeMillis(); buildContext.getResult().addException(t);
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 10.2K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoExecutor.java
* all other executions until finished. * We also lock on a given project to forbid a forked lifecycle to be executed concurrently with the project. * TODO: ideally, the builder should take care of the ordering in a smarter way * TODO: and concurrency issues fixed with MNG-7157 */ private class ProjectLock implements AutoCloseable { final Lock acquiredAggregatorLock;
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Feb 28 23:31:09 GMT 2024 - 20.7K bytes - Viewed (0) -
android/guava/src/com/google/common/base/CharMatcher.java
return Ascii.INSTANCE; } /** * Determines whether a character is a BMP digit according to <a * href="http://unicode.org/cldr/utility/list-unicodeset.jsp?a=%5Cp%7Bdigit%7D">Unicode</a>. If * you only care to match ASCII digits, you can use {@code inRange('0', '9')}. * * @deprecated Many digits are supplementary characters; see the class documentation. * @since 19.0 (since 1.0 as constant {@code DIGIT}) */
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 53.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/OrderingTest.java
for (int i = 0; i < 50; i++) { list.add(new Object()); } Ordering<Object> arbitrary = Ordering.arbitrary(); Collections.sort(list, arbitrary); // Now we don't care what order it's put the list in, only that // comparing any pair of elements gives the answer we expect. Helpers.testComparator(arbitrary, list); assertEquals("Ordering.arbitrary()", arbitrary.toString());
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 42.5K bytes - Viewed (0)