- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 168 for ison (0.12 sec)
-
guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java
@SuppressWarnings("unused") public void failsToCheckNull(String s) {} } private static class NoPublicStaticMethods { @SuppressWarnings("unused") // To test non-public factory isn't used. static String notPublic() { return ""; } } @interface MyAnnotation {}
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Nov 16 15:12:31 GMT 2023 - 36.3K bytes - Viewed (0) -
android/guava/src/com/google/common/io/ByteStreams.java
left = limit; } @Override 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 {
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/math/IntMath.java
/* * The reason we require both arguments to be >= 0 is because otherwise, what do you return on * gcd(0, Integer.MIN_VALUE)? BigInteger.gcd would return positive 2^31, but positive 2^31 isn't * an int. */ checkNonNegative("a", a); checkNonNegative("b", b); if (a == 0) { // 0 % b == 0, so b divides a, but the converse doesn't hold.
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 07 17:50:39 GMT 2024 - 23.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ViewHelper.java
final Date created = DocumentUtil.getValue(doc, fessConfig.getIndexFieldCreated(), Date.class); if (created != null) { final SimpleDateFormat sdf = new SimpleDateFormat(CoreLibConstants.DATE_FORMAT_ISO_8601_EXTEND); createdStr = sdf.format(created); } else { createdStr = ComponentUtil.getMessageManager().getMessage(locale, "labels.search_unknown"); }
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 40.1K bytes - Viewed (2) -
guava-tests/test/com/google/common/collect/OrderingTest.java
} public void testExplicitMax_b297601553() { Ordering<Integer> c = Ordering.explicit(1, 2, 3); // TODO(b/297601553): this should probably throw an CCE since 0 isn't explicitly listed assertEquals(0, (int) c.max(asList(0))); try { c.max(asList(0, 1)); fail(); } catch (IncomparableValueException expected) { assertEquals(0, expected.value); }
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) -
android/guava/src/com/google/common/util/concurrent/MoreExecutors.java
} catch (InvocationTargetException e) { // If ApiProxy throws an exception, we're not in a proper AppEngine environment. return false; } catch (IllegalAccessException e) { // If the method isn't accessible, we're not on a supported version of AppEngine; return false; } catch (NoSuchMethodException e) { // If the method doesn't exist, we're not on a supported version of AppEngine; return false;
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 41.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/OrderingTest.java
} public void testExplicitMax_b297601553() { Ordering<Integer> c = Ordering.explicit(1, 2, 3); // TODO(b/297601553): this should probably throw an CCE since 0 isn't explicitly listed assertEquals(0, (int) c.max(asList(0))); try { c.max(asList(0, 1)); fail(); } catch (IncomparableValueException expected) { assertEquals(0, expected.value); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 42.5K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java
if (candidateModel == null) { return null; } candidateSource = ModelSource.fromPath(candidateModel.getPomFile()); } // // TODO jvz Why isn't all this checking the job of the duty of the workspace resolver, we know that we // have a model that is suitable, yet more checks are done here and the one for the version is problematic
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri May 03 08:48:38 GMT 2024 - 61.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java
// Step 4 is not cancelled, because it caught the cancellation. assertWithMessage("step4.statusFuture().isCancelled()") .that(step4.statusFuture().isCancelled()) .isFalse(); // Its closeable isn't closed yet. assertStillOpen(closeable4); // Resume step 4 and complete. step4Waiter.awaitReturned(); assertThat(getFinalValue(step4)).isEqualTo("value 4");
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 17:15:24 GMT 2024 - 75.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/IterablesTest.java
assertEquals("bar", Iterables.getLast(iterable, "qux")); } /** * {@link ArrayList} extension that forbids the use of {@link Collection#iterator} for tests that * need to prove that it isn't called. */ private static class DiesOnIteratorArrayList extends ArrayList<String> { /** @throws UnsupportedOperationException all the time */ @Override public Iterator<String> iterator() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 47.5K bytes - Viewed (0)