- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 314 for source (0.32 sec)
-
android/guava-tests/test/com/google/common/io/CharSourceTest.java
assertEquals(STRING.length(), source.copyTo(sink)); assertTrue(source.wasStreamOpened() && source.wasStreamClosed()); assertTrue(sink.wasStreamOpened() && sink.wasStreamClosed()); assertEquals(STRING, sink.getString()); } public void testRead_toString() throws IOException { assertEquals(STRING, source.read()); assertTrue(source.wasStreamOpened() && source.wasStreamClosed()); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 12K bytes - Viewed (0) -
guava-gwt/pom.xml
<fileset dir="${project.build.directory}/failureaccess-sources"> <include name="**/InternalFutureFailureAccess.java" /> </fileset> </copy> <!-- Any manually written supersource should take priority over the original guava source, so we set overwrite=true. --> <copy toDir="${project.build.directory}/guava-gwt-sources" overwrite="true">
XML - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Apr 11 15:00:55 GMT 2024 - 19.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/MultiInputStreamTest.java
List<ByteSource> sources = Lists.newArrayList(); int start = 0; for (Integer span : spans) { sources.add(newByteSource(start, span)); start += span; } ByteSource joined = ByteSource.concat(sources); assertTrue(newByteSource(0, start).contentEquals(joined)); } public void testReadSingleByte() throws Exception { ByteSource source = newByteSource(0, 10);
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 4.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/MultiInputStreamTest.java
List<ByteSource> sources = Lists.newArrayList(); int start = 0; for (Integer span : spans) { sources.add(newByteSource(start, span)); start += span; } ByteSource joined = ByteSource.concat(sources); assertTrue(newByteSource(0, start).contentEquals(joined)); } public void testReadSingleByte() throws Exception { ByteSource source = newByteSource(0, 10);
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 4.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutAllMultimapTester.java
public void testPutAllWithNullValue() { Multimap<K, V> source = getSubjectGenerator().create(Helpers.mapEntry(k0(), null)); assertTrue(multimap().putAll(source)); assertTrue(multimap().containsEntry(k0(), null)); } @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_KEYS}) public void testPutAllWithNullKey() { Multimap<K, V> source = getSubjectGenerator().create(Helpers.mapEntry(null, v0()));
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 09 20:10:38 GMT 2018 - 4.1K bytes - Viewed (0) -
android/guava/src/com/google/common/eventbus/DeadEvent.java
public class DeadEvent { private final Object source; private final Object event; /** * Creates a new DeadEvent. * * @param source object broadcasting the DeadEvent (generally the {@link EventBus}). * @param event the event that could not be delivered. */ public DeadEvent(Object source, Object event) { this.source = checkNotNull(source); this.event = checkNotNull(event); } /**
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Apr 22 13:05:46 GMT 2021 - 2.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/MathBenchmarking.java
static double randomDouble(int maxExponent) { double result = RANDOM_SOURCE.nextDouble(); result = Math.scalb(result, RANDOM_SOURCE.nextInt(maxExponent + 1)); return RANDOM_SOURCE.nextBoolean() ? result : -result; } /** Returns a random integer between zero and {@code MAX_EXPONENT}. */ static int randomExponent() { return RANDOM_SOURCE.nextInt(MAX_EXPONENT + 1); } static double randomPositiveDouble() {
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 4.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java
assertTrue(Arrays.equals(data, source.read())); out.reset(); } public void testReset() throws Exception { byte[] data = newPreFilledByteArray(100); FileBackedOutputStream out = new FileBackedOutputStream(Integer.MAX_VALUE); ByteSource source = out.asByteSource(); out.write(data); assertTrue(Arrays.equals(data, source.read())); out.reset();
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 5.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/features/ConflictingRequirementsException.java
private Set<Feature<?>> conflicts; private Object source; public ConflictingRequirementsException( String message, Set<Feature<?>> conflicts, Object source) { super(message); this.conflicts = conflicts; this.source = source; } public Set<Feature<?>> getConflicts() { return conflicts; } public Object getSource() { return source; } @Override
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 1.4K bytes - Viewed (0) -
android/guava-tests/pom.xml
<executions> <execution> <id>add-benchmark-sources</id> <phase>generate-test-sources</phase> <goals><goal>add-test-source</goal></goals> <configuration> <sources> <source>benchmark</source> </sources> </configuration> </execution> </executions> </plugin>
XML - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Aug 07 19:01:53 GMT 2023 - 3.9K bytes - Viewed (0)