- Sort Score
- Num 10 results
- Language All
Results 641 - 650 of 1,146 for tudo (0.02 seconds)
-
android/guava-tests/test/com/google/common/io/ResourcesTest.java
URL resource = getClass().getResource("testdata/i18n.txt"); assertThat(Resources.toByteArray(resource)).isEqualTo(I18N.getBytes(UTF_8)); } public void testReadLines() throws IOException { // TODO(chrisn): Check in a better resource URL resource = getClass().getResource("testdata/i18n.txt"); assertEquals(ImmutableList.of(I18N), Resources.readLines(resource, UTF_8)); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 6.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/RegularImmutableTable.java
ImmutableList<Cell<R, C, V>> cellList, ImmutableSet<R> rowSpace, ImmutableSet<C> columnSpace) { // use a dense table if more than half of the cells have values // TODO(gak): tune this condition based on empirical evidence return (cellList.size() > (((long) rowSpace.size() * columnSpace.size()) / 2)) ? new DenseImmutableTable<R, C, V>(cellList, rowSpace, columnSpace)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 7K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/Futures.java
// // Future versions of the JMM may revise safe construction semantics in such a way that we can // safely publish these objects and we won't need this whole discussion. // TODO(user,lukes): consider adding volatile to all these fields since in current known JVMs // that should resolve the issue. This comes at the cost of adding more write barriers to the // implementations.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 64.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/SynchronizedTableTest.java
public void clear() { assertTrue(Thread.holdsLock(mutex)); delegate.clear(); } @Override public Collection<V> values() { assertTrue(Thread.holdsLock(mutex)); /* TODO: verify that the Collection is also synchronized? */ return delegate.values(); } @Override public Set<Cell<R, C, V>> cellSet() { assertTrue(Thread.holdsLock(mutex));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 16 17:42:14 GMT 2025 - 4.7K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/SampleElements.java
* A container class for the five sample elements we need for testing. * * @author Kevin Bourrillion */ @GwtCompatible @NullMarked public class SampleElements<E extends @Nullable Object> implements Iterable<E> { // TODO: rename e3, e4 => missing1, missing2 private final E e0; private final E e1; private final E e2; private final E e3; private final E e4; public SampleElements(E e0, E e1, E e2, E e3, E e4) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jul 17 15:26:41 GMT 2025 - 4.2K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListListIteratorTester.java
IndexOutOfBoundsException.class, () -> getList().listIterator(getNumElements() + 1)); } public void testListIterator_atSize() { assertNotNull(getList().listIterator(getNumElements())); // TODO: run the iterator through ListIteratorTester } /** * Returns the {@link Method} instance for {@link #testListIterator_fullyModifiable()} so that
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 5K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/ForbiddenApisPrecommitPlugin.java
t.setTargetCompatibility(BuildParams.getRuntimeJavaVersion().getMajorVersion()); if (BuildParams.getRuntimeJavaVersion().compareTo(JavaVersion.VERSION_14) > 0) { // TODO: forbidden apis does not yet support java 15, rethink using runtime version t.setTargetCompatibility(JavaVersion.VERSION_14.getMajorVersion()); }Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 5.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/PredicatesTest.java
@J2ktIncompatible @GwtIncompatible // SerializableTester public void testIsEqualToNull_serialization() { checkSerialization(Predicates.equalTo(null)); } /** * Tests for Predicates.instanceOf(x). TODO: Fix the comment style after fixing annotation * stripper to remove comments properly. Currently, all tests before the comments are removed as * well. */ @GwtIncompatible // Predicates.instanceOf
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 32.2K bytes - Click Count (0) -
build-logic/dependency-modules/src/main/kotlin/gradlebuild.dependency-modules.gradle.kts
applyRule<DependencyRemovalByNameRule>( "io.github.littleproxy:littleproxy", setOf("barchart-udt-bundle", "guava", "commons-cli", "netty-all") ) // TODO: Gradle profiler should use the bundled tooling API. // This should actually be handled by conflict resolution, though it doesn't seem to work. // See https://github.com/gradle/gradle/issues/12002.
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Mar 26 09:04:32 GMT 2026 - 9.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java
if (singleByte) { for (int i = off; i < off + len; i++) { out.write(b[i]); } } else { out.write(b, off, len); } out.flush(); // for coverage } // TODO(chrisn): only works if we ensure we have crossed file threshold public void testWriteErrorAfterClose() throws Exception { byte[] data = newPreFilledByteArray(100);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 04:04:26 GMT 2026 - 8K bytes - Click Count (0)