OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:ByteStreams
(Results
1 - 8
of
8
) sorted by null
/external/guava/guava/src/com/google/common/io/
ByteStreams.java
48
public final class
ByteStreams
{
51
private
ByteStreams
() {}
LittleEndianDataInputStream.java
66
ByteStreams
.readFully(this, b);
71
ByteStreams
.readFully(this, b, off, len);
/external/guava/guava-tests/test/com/google/common/io/
ByteStreamsTest.java
19
import static com.google.common.io.
ByteStreams
.copy;
20
import static com.google.common.io.
ByteStreams
.newInputStreamSupplier;
43
* Unit test for {@link
ByteStreams
}.
127
ByteStreams
.toByteArray(
ByteStreams
.newInputStreamSupplier(range))));
129
byte[] subRange =
ByteStreams
.toByteArray(
130
ByteStreams
.newInputStreamSupplier(range, 100, 50));
152
assertTrue(
ByteStreams
.equal(
ByteStreams
.newInputStreamSupplier(tenK),
170
assertEquals(expect,
ByteStreams
.equal
[
all
...]
MultiInputStreamTest.java
66
byte[] result =
ByteStreams
.toByteArray(
67
ByteStreams
.join(checker, checker, checker));
78
InputSupplier<InputStream> joined =
ByteStreams
.join(suppliers);
79
assertTrue(
ByteStreams
.equal(newByteSupplier(0, start), joined));
85
InputSupplier<InputStream> joined =
ByteStreams
.join(supplier, supplier);
86
assertEquals(20,
ByteStreams
.length(joined));
113
ByteStreams
.skipFully(multi, 20);
FileBackedOutputStreamTest.java
89
assertTrue(
ByteStreams
.equal(
90
ByteStreams
.newInputStreamSupplier(data, 0, chunk1), supplier));
105
assertTrue(Arrays.equals(data,
ByteStreams
.toByteArray(supplier)));
135
assertTrue(Arrays.equals(data,
ByteStreams
.toByteArray(supplier)));
146
assertTrue(Arrays.equals(data,
ByteStreams
.toByteArray(supplier)));
156
assertTrue(Arrays.equals(data,
ByteStreams
.toByteArray(supplier)));
159
assertTrue(Arrays.equals(new byte[0],
ByteStreams
.toByteArray(supplier)));
162
assertTrue(Arrays.equals(data,
ByteStreams
.toByteArray(supplier)));
/sdk/lint/cli/src/com/android/tools/lint/
Reporter.java
24
import com.google.common.io.
ByteStreams
;
249
ByteStreams
.copy(input, output);
/prebuilts/tools/common/guava-tools/
guava-10.0.1.jar
/prebuilt/common/tradefed/
tradefed-prebuilt.jar
Completed in 1913 milliseconds