- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 41 for CheckReturnValue (0.1 seconds)
-
guava-tests/test/com/google/common/graph/ImmutableNetworkTest.java
} /** * Tests that the ImmutableNetwork.Builder doesn't change when the creating NetworkBuilder * changes. */ @Test @SuppressWarnings("CheckReturnValue") public void immutableNetworkBuilder_copiesNetworkBuilder() { NetworkBuilder<String, Object> networkBuilder = NetworkBuilder.directed() .allowsSelfLoops(true)
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 30 17:09:51 GMT 2025 - 5.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/MultiInputStreamTest.java
assertEquals(10, in.available()); int total = 0; while (in.read() != -1) { total++; } assertEquals(0, in.available()); assertEquals(20, total); } @SuppressWarnings("CheckReturnValue") // these calls to skip always return 0 public void testSkip() throws Exception { MultiInputStream multi = new MultiInputStream( Collections.singleton(
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 18:44:53 GMT 2025 - 4.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/SynchronizedDequeTest.java
assertTrue(Thread.holdsLock(mutex)); return delegate.descendingIterator(); } private static final long serialVersionUID = 0; } @SuppressWarnings("CheckReturnValue") public void testHoldsLockOnAllOperations() { create().element(); create().offer("foo"); create().peek(); create().poll(); create().remove(); create().add("foo");
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Jul 16 17:42:14 GMT 2025 - 7.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/graph/ImmutableValueGraphTest.java
} /** * Tests that the ImmutableValueGraph.Builder doesn't change when the creating ValueGraphBuilder * changes. */ @Test @SuppressWarnings("CheckReturnValue") public void immutableValueGraphBuilder_copiesGraphBuilder() { ValueGraphBuilder<String, Object> graphBuilder = ValueGraphBuilder.directed() .allowsSelfLoops(true)
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 30 17:09:51 GMT 2025 - 6.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/SynchronizedQueueTest.java
assertTrue(Thread.holdsLock(mutex)); return delegate.toArray(array); } private static final long serialVersionUID = 0; } @SuppressWarnings("CheckReturnValue") public void testHoldsLockOnAllOperations() { create().element(); create().offer("foo"); create().peek(); create().poll(); create().remove(); create().add("foo");
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Jul 16 17:42:14 GMT 2025 - 4.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/SourceSinkFactories.java
Java8Compatibility.clear(buffer); } return builder.toString(); } } private static class UrlByteSourceFactory extends FileByteSourceFactory { @SuppressWarnings("CheckReturnValue") // only using super.createSource to create a file @Override public ByteSource createSource(byte[] bytes) throws IOException { super.createSource(bytes);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Jul 16 17:42:14 GMT 2025 - 17.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/SynchronizedDequeTest.java
assertTrue(Thread.holdsLock(mutex)); return delegate.descendingIterator(); } private static final long serialVersionUID = 0; } @SuppressWarnings("CheckReturnValue") public void testHoldsLockOnAllOperations() { create().element(); create().offer("foo"); create().peek(); create().poll(); create().remove(); create().add("foo");
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Jul 16 17:42:14 GMT 2025 - 7.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/graph/TraverserTest.java
assertEqualCharNodes(Iterables.limit(result, 2), "db"); assertThat(graph.requestedNodes).containsExactly('a', 'a', 'a', 'b', 'b', 'c', 'd', 'd'); } @Test @SuppressWarnings("CheckReturnValue") public void forTree_acceptsDirectedGraph() throws Exception { MutableGraph<String> graph = GraphBuilder.directed().build(); graph.putEdge("a", "b"); Traverser.forTree(graph); // Does not throw
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 30 17:09:51 GMT 2025 - 47.4K bytes - Click Count (2) -
android/guava/src/com/google/common/base/Converter.java
import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import com.google.errorprone.annotations.CheckReturnValue; import com.google.errorprone.annotations.ForOverride; import com.google.errorprone.annotations.InlineMe; import com.google.errorprone.annotations.concurrent.LazyInit; import com.google.j2objc.annotations.RetainedWith;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Jun 18 21:43:06 GMT 2025 - 22.8K bytes - Click Count (0) -
android/guava/src/com/google/common/io/ByteSource.java
return Optional.of((long) length); } @Override public byte[] read() { return Arrays.copyOfRange(bytes, offset, offset + length); } @SuppressWarnings("CheckReturnValue") // it doesn't matter what processBytes returns here @Override @ParametricNullness public <T extends @Nullable Object> T read(ByteProcessor<T> processor) throws IOException {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 08 18:35:13 GMT 2025 - 25.7K bytes - Click Count (0)