HomeSort by relevance Sort by last modified time
    Searched defs:sink (Results 51 - 75 of 639) sorted by null

1 23 4 5 6 7 8 91011>>

  /prebuilts/go/linux-x86/src/math/big/
decimal_test.go 111 var sink string var
118 sink = d.String()
130 sink = x.String()
  /prebuilts/go/linux-x86/test/fixedbugs/
issue16948.go 21 var sink *T var
33 sink = p // force p (in caller) heap allocated
issue12588.go 67 var sink *uint64 var
79 sink = h(&b1) // ERROR "main &b1 does not escape"
81 sink = h2(&b1) // ERROR "main &b1 does not escape"
84 println("*sink=", *sink) // Verify that sink addresses x1
86 sink = k(b3)
87 println("*sink=", *sink) // Verify that sink addresses x
    [all...]
issue19168.go 16 func sink(e interface{}) func
35 sink(&resHeap)
issue22881.go 44 sink, m[0] = sink, *p
49 m[0], sink = <-(*p)
54 m[0], sink = (*p).(int)
59 m[0], sink = (*p)[0]
72 var sink bool var
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/optional/optional.object/
special_member_gen.pass.cpp 70 template <class ...Args> static void sink(Args&&...) {} function
74 DoTestsMetafunction() { sink(SpecialMemberTest<TestTypes>{}...); }
95 sink(
  /external/guava/guava-tests/test/com/google/common/hash/
AbstractStreamingHasherTest.java 44 Sink sink = new Sink(4); // byte order insignificant here local
46 sink.putByte((byte) 1);
47 sink.putBytes(new byte[] { 2, 3, 4, 5, 6 });
48 sink.putByte((byte) 7);
49 sink.putBytes(new byte[] {});
50 sink.putBytes(new byte[] { 8 });
51 sink.hash();
52 sink.assertInvariants(8)
57 Sink sink = new Sink(4); local
65 Sink sink = new Sink(4); local
73 Sink sink = new Sink(8); local
81 Sink sink = new Sink(4); local
104 Sink sink = new Sink(4); local
112 Sink sink = new Sink(8); local
120 Sink sink = new Sink(4); local
    [all...]
  /external/okhttp/okio/okio/src/test/java/okio/
InflaterSourceTest.java 98 Sink sink = Okio.sink(new DeflaterOutputStream(result.outputStream())); local
99 sink.write(new Buffer().write(source), source.size());
100 sink.close();
OkioTest.java 38 BufferedSink sink = Okio.buffer(Okio.sink(file)); local
39 sink.writeUtf8("Hello, java.io file!");
40 sink.close();
52 BufferedSink sink = Okio.buffer(Okio.appendingSink(file)); local
53 sink.writeUtf8("Hello, ");
54 sink.close();
58 sink = Okio.buffer(Okio.appendingSink(file));
59 sink.writeUtf8("java.io file!");
60 sink.close()
91 Sink sink = Okio.sink(out); local
104 Buffer sink = new Buffer(); local
    [all...]
  /external/compiler-rt/test/asan/TestCases/
coverage-pc-buffer.cc 11 static volatile int sink; variable
12 __attribute__((noinline)) void bar() { sink = 2; }
13 __attribute__((noinline)) void foo() { sink = 1; }
  /external/compiler-rt/test/sanitizer_common/TestCases/Posix/
sanitizer_set_death_callback_test.cc 16 volatile char *sink; variable
26 sink = new char[100]; // trigger lsan report.
35 sink = new char[100];
36 delete[] sink;
37 global = sink[0]; // use-after-free: trigger asan/tsan report.
39 sink = 0;
  /external/compiler-rt/test/tsan/
atomic_norace.cc 9 volatile T sink; local
22 sink = __atomic_load_n(p, __ATOMIC_SEQ_CST);
27 sink = __atomic_load_n(p, __ATOMIC_SEQ_CST);
29 sink = *p;
atomic_race.cc 9 volatile T sink; local
19 sink = *p;
22 sink = __atomic_load_n(p, __ATOMIC_SEQ_CST);
29 sink = *p;
memcmp_race.cc 11 static volatile int sink; local
12 sink = memcmp(data0+5, data1, size);
stack_sync_reuse.cc 22 long sink; variable
52 sink = __atomic_load_n(&s, __ATOMIC_ACQUIRE);
62 if (sink != 0)
  /external/okhttp/okio/okio/src/main/java/okio/
AsyncTimeout.java 31 * <p>Use {@link #sink} and {@link #source} to apply this timeout to a stream.
145 * Returns a new sink that delegates to {@code sink}, using this to implement
147 * {@code sink}'s current operation.
149 public final Sink sink(final Sink sink) { method in class:AsyncTimeout
150 return new Sink() {
155 sink.write(source, byteCount)
    [all...]
DeflaterSink.java 24 * A sink that uses <a href="http://tools.ietf.org/html/rfc1951">DEFLATE</a> to
37 public final class DeflaterSink implements Sink {
38 private final BufferedSink sink; field in class:DeflaterSink
42 public DeflaterSink(Sink sink, Deflater deflater) {
43 this(Okio.buffer(sink), deflater);
51 DeflaterSink(BufferedSink sink, Deflater deflater) {
52 if (sink == null) throw new IllegalArgumentException("source == null");
54 this.sink = sink;
    [all...]
  /libcore/ojluni/src/main/java/java/nio/channels/
Pipe.java 36 * Pipe.SinkChannel sink} channel and a readable {@link Pipe.SourceChannel source}
37 * channel. Once some bytes are written to the sink channel they can be read
43 * buffer up to a certain number of bytes between the sink and source channels,
111 * <p> Pipe-sink channels only support writing, so this method returns
135 * Returns this pipe's sink channel.
137 * @return This pipe's sink channel
139 public abstract SinkChannel sink(); method in class:Pipe
  /prebuilts/go/darwin-x86/src/cmd/compile/internal/ssa/testdata/
hist.go 31 var sink int var
61 sink = dx + dy //gdb-opt=(dx,dy)
63 hist := make([]int, 7) //gdb-opt=(dx/O,dy/O) // TODO sink is missing if this code is in 'test' instead of 'main'
  /prebuilts/go/darwin-x86/test/fixedbugs/
issue12588.go 67 var sink *uint64 var
79 sink = h(&b1) // ERROR "main &b1 does not escape"
81 sink = h2(&b1) // ERROR "main &b1 does not escape"
84 println("*sink=", *sink) // Verify that sink addresses x1
86 sink = k(b3)
87 println("*sink=", *sink) // Verify that sink addresses x
    [all...]
issue19168.go 16 func sink(e interface{}) func
35 sink(&resHeap)
issue22881.go 44 sink, m[0] = sink, *p
49 m[0], sink = <-(*p)
54 m[0], sink = (*p).(int)
59 m[0], sink = (*p)[0]
72 var sink bool var
  /prebuilts/go/linux-x86/src/cmd/compile/internal/ssa/testdata/
hist.go 31 var sink int var
61 sink = dx + dy //gdb-opt=(dx,dy)
63 hist := make([]int, 7) //gdb-opt=(dx/O,dy/O) // TODO sink is missing if this code is in 'test' instead of 'main'
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
PipeTest.java 42 * @tests java.nio.channels.Pipe#sink()
46 SinkChannel sink = pipe.sink(); local
47 assertTrue(sink.isBlocking());
  /external/guava/guava-tests/test/com/google/common/io/
ByteSinkTest.java 39 private TestByteSink sink; field in class:ByteSinkTest
43 sink = new TestByteSink();
47 OutputStream out = sink.openBufferedStream();
48 assertTrue(sink.wasStreamOpened());
49 assertFalse(sink.wasStreamClosed());
54 assertTrue(sink.wasStreamClosed());
55 assertArrayEquals(new byte[] {1, 2, 3, 4}, sink.getBytes());
59 assertArrayEquals(new byte[0], sink.getBytes());
60 sink.write(bytes);
62 assertTrue(sink.wasStreamOpened() && sink.wasStreamClosed())
    [all...]

Completed in 353 milliseconds

1 23 4 5 6 7 8 91011>>