Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
kotlinx.coroutines
/
1f74a2d65b878ab8fdd22c6dace953bde3cd0216
/
core
/
kotlinx-coroutines-io
/
src
/
ByteBufferChannel.kt
1f74a2d
Updated copyright to short template and year 2018 across all files
by Roman Elizarov
· 6 years ago
e1fa197
Restructure packages, get rid of src/main/kotlin/kotlinx/coroutines/experimental folder layout
by Vsevolod Tolstopyatov
· 6 years ago
[Renamed from core/kotlinx-coroutines-io/src/main/kotlin/kotlinx/coroutines/experimental/io/ByteBufferChannel.kt]
9faa039
IO: fix joining and continuous writing byte array interference
by Sergey Mashkov
· 6 years ago
e15eae8
IO: fix continuous writing session interfered with joining
by Sergey Mashkov
· 6 years ago
7c99a99
IO: reduce java.lang.Integer allocations
by Sergey Mashkov
· 6 years ago
a432a82
Fix broken readInt reading through the ring buffer edge
by Sergey Mashkov
· 6 years ago
7831716
IO: introduce non-flushing joinTo
by Sergey Mashkov
· 6 years ago
d7d9e2f
IO: eliminate kotlin.Pair allocations
by Sergey Mashkov
· 6 years ago
8fbdff4
IO: add close cause property to byte channel
by Sergey Mashkov
· 7 years ago
d1842c6
IO: fix joining sequence, avoid infinite joinTo suspension
by Sergey Mashkov
· 7 years ago
40f3fe5
IO: don't suspend inside of writing block during joining
by Sergey Mashkov
· 7 years ago
ec2af2f
IO: don't resume writers if they are waiting for joining completion
by Sergey Mashkov
· 7 years ago
4d01f7e
IO: make reusable cancellable continuation implement DispatchedTask
by Sergey Mashkov
· 7 years ago
09b621e
IO: optimize byte buffer memory allocations
by Sergey Mashkov
· 7 years ago
39a8854
IO: minor performance improvements
by Sergey Mashkov
· 7 years ago
dfae5e2
IO: add writeWhile function
by Sergey Mashkov
· 7 years ago
9ef4e0c
IO: fix accidentally used tryResumeWithException
by Sergey Mashkov
· 7 years ago
4df720f
IO: introduce simple ByteReadChannel.discard implementation
by Sergey Mashkov
· 7 years ago
a26b790
IO: propagate channel cancellation to controller coroutine
by Sergey Mashkov
· 7 years ago
eee3aaf
IO: add ByteReadChannel.cancel
by Sergey Mashkov
· 7 years ago
350d144
IO: make channel.read(lambda) return faster if already closed
by Sergey Mashkov
· 7 years ago
8af8937
IO: fix joining with different write byte orders
by Sergey Mashkov
· 7 years ago
e676408
IO: fix infinite writeSuspend loop caused by auto-resuming flush
by Sergey Mashkov
· 7 years ago
e86eb08
IO: add adapters to Java IO/NIO channels and streams (except async NIO)
by Sergey Mashkov
· 7 years ago
060f36a
IO: fix too expensive joinTo fast-path
by Sergey Mashkov
· 7 years ago
98c8739
IO: make buffer release guaranteed for cases
by Sergey Mashkov
· 7 years ago
7549dad
Revert "IO: make buffer release guaranteed if channel closed with error"
by Sergey Mashkov
· 7 years ago
4ea3cb3
IO: make buffer release guaranteed if channel closed with error
by Sergey Mashkov
· 7 years ago
18b28a2
IO: make byte channel detect closed state earlier
by Sergey Mashkov
· 7 years ago
47d92ba
IO: fix race in closeWaitJob of JoiningState
by Sergey Mashkov
· 7 years ago
d42bdad
IO: fix accidentally missed it
by Sergey Mashkov
· 7 years ago
7bf4fa9
IO: fix race in ByteBufferChannel.write(lambda)
by Sergey Mashkov
· 7 years ago
2874d16
IO: optimize delegation (part 2)
by Sergey Mashkov
· 7 years ago
4fe8eec
IO: optimize delegation
by Sergey Mashkov
· 7 years ago
9e9929d
IO: fix joining of already closed but not empty channel
by Sergey Mashkov
· 7 years ago
f75ec15
IO: eliminate state machines, workaround ACC_FINAL missing flag
by Sergey Mashkov
· 7 years ago
324611b
IO: faster delegation in joined channels
by Sergey Mashkov
· 7 years ago
373d590
IO: fixed awaitClose and copyDirect
by Sergey Mashkov
· 7 years ago
33d5d13
Fix delegated flush
by Sergey Mashkov
· 7 years ago
8e9138c
IO: fix race in joined flush once again
by Sergey Mashkov
· 7 years ago
62deb43
IO: add linearizability test
by Sergey Mashkov
· 7 years ago
fd85fb9
IO: reimplement joinTo to eliminate a lot of races
by Sergey Mashkov
· 7 years ago
2fdb5aa
IO: fix joined close/flush
by Sergey Mashkov
· 7 years ago
d489d3f
IO: joinTo should wait for completion
by Sergey Mashkov
· 7 years ago
625c1fe
IO: fixed joined channel flush
by Sergey Mashkov
· 7 years ago
ca8762b
IO: fixed joined ByteChannel close
by Sergey Mashkov
· 7 years ago
c51ecd3
IO: introduce ByteChannel.joinTo
by Sergey Mashkov
· 7 years ago
88951ac
IO: introduce ByteChannel.copyDirect
by Sergey Mashkov
· 7 years ago
bab9f79
IO: fix writeByte BufferOverflowException
by Sergey Mashkov
· 7 years ago
32c90b1
IO: fix race in readSuspend
by Sergey Mashkov
· 7 years ago
c143ea6
IO: workaround one more state machine
by Sergey Mashkov
· 7 years ago
d0cb0b1
IO: eliminate state machines in writeN for primitive types
by Sergey Mashkov
· 7 years ago
fde1a64
IO: rewrite if/else/return code to identical
by Sergey Mashkov
· 7 years ago
4eccfba
IO: eliminate tail suspend calls in when blocks
by Sergey Mashkov
· 7 years ago
0f7e922
IO: eliminate byte-by-byte ByteBuffer copying
by Sergey Mashkov
· 7 years ago
c4694cc
Extract kotlinx-io
by Sergey Mashkov
· 7 years ago
f774f37
Extract kotlinx-io
by Sergey Mashkov
· 7 years ago
6d05993
Extract kotlinx-io
by Sergey Mashkov
· 7 years ago
ad68c06
IO: eliminate race in close
by Sergey Mashkov
· 7 years ago
ccf8dde
IO: fix verifying pool usage
by Sergey Mashkov
· 7 years ago
754a19b
IO: fix writing byte packet
by Sergey Mashkov
· 7 years ago
7510117
IO: add BufferView internal, add ByteChannel read and write with lambda
by Sergey Mashkov
· 7 years ago
57906eb
IO: add Packet.writePacket optimizations, add object pool verifier
by Sergey Mashkov
· 7 years ago
339ccf3
Public ClosedWriteChannelException and message for it
by Roman Elizarov
· 7 years ago
8e13241
IO: eliminate unnecessary resume at close+flush
by Sergey Mashkov
· 7 years ago
e4d3ce7
IO: fix byte channel readX operations return -1 during close+flush
by Sergey Mashkov
· 7 years ago
aae062d
IO: add bytes counter to byte channel
by Sergey Mashkov
· 7 years ago
8a30b45
IO: add read until delimiter tests to cover more corner-cases
by Sergey Mashkov
· 7 years ago
2c3a0dc
IO: add byte channel readRemaining test
by Sergey Mashkov
· 7 years ago
4cd0014
IO: improve lookAhead functionality
by Sergey Mashkov
· 7 years ago
7d2be42
IO: rename ByteReadPacket.readLazy to readAvailable for parity with BC
by Sergey Mashkov
· 7 years ago
96d7a88
IO: Moved to core directory, documented its unstable status
by Roman Elizarov
· 7 years ago
[Renamed (98%) from integration/kotlinx-coroutines-io/src/main/kotlin/kotlinx/coroutines/experimental/io/ByteBufferChannel.kt]
5606133
IO: optimize byte channel writePacket suspend tail-calls
by Sergey Mashkov
· 7 years ago
974cbb3
IO: fix byte packet write buffer leak
by Sergey Mashkov
· 7 years ago
24b040f
IO: fix byte channel close with error buffer leak
by Sergey Mashkov
· 7 years ago
a9a936d
IO: fix CR-only line endings processing + tests
by Sergey Mashkov
· 7 years ago
b87d636
IO: Fix byte channel corner cases + add tests
by Sergey Mashkov
· 7 years ago
469cad3
IO: Ongoing documentation, API & naming review
by Roman Elizarov
· 7 years ago
fccac1d
IO: Implement ByteOrder with typealias
by Roman Elizarov
· 7 years ago
8376203
IO: Review of ObjectPool and ReadWriteBufferState
by Roman Elizarov
· 7 years ago
a10b692
IO: byte packet read/write from/to byte channel
by Sergey Mashkov
· 7 years ago
0b12ffc
IO: byte packet readLine support + bugfixes
by Sergey Mashkov
· 7 years ago
6ca9a27
IO: byte packet initial implementation
by Sergey Mashkov
· 7 years ago
569b542
IO: byte channel to support predefined content buffer (for read only)
by Sergey Mashkov
· 7 years ago
2cb1d5b
IO: byte channel cleanup
by Sergey Mashkov
· 7 years ago
86fe591
IO: read unsigned integer numbers
by Sergey Mashkov
· 7 years ago
86f7061
IO: initial implementation
by Sergey Mashkov
· 7 years ago