Home
last modified time | relevance | path

Searched defs:ByteSlice (Results 1 – 25 of 329) sorted by relevance

12345678910>>...14

/dports/devel/app-builder/app-builder-3.4.2/vendor/github.com/oxtoacart/bpool/
H A Dbyteslice.go14 type ByteSlice struct { struct
15 full []byte
16 current []byte
17 head int
18 end int
22 func (b ByteSlice) ResliceTo(end int) ByteSlice {
32 func (b ByteSlice) Bytes() []byte {
37 func (b ByteSlice) BytesWithHeader() []byte {
42 func (b ByteSlice) Full() []byte {
51 PutSlice(ByteSlice) argument
[all …]
/dports/audio/gonic/gonic-0.8.4/vendor/github.com/oxtoacart/bpool/
H A Dbyteslice.go14 type ByteSlice struct { struct
15 full []byte
16 current []byte
17 head int
18 end int
22 func (b ByteSlice) ResliceTo(end int) ByteSlice {
32 func (b ByteSlice) Bytes() []byte {
37 func (b ByteSlice) BytesWithHeader() []byte {
42 func (b ByteSlice) Full() []byte {
51 PutSlice(ByteSlice) argument
[all …]
/dports/security/arti/arti-9d0ede26801cdb182daa85c3eb5f0058dc178eb6/cargo-crates/der-0.4.4/src/
H A Dencoder.rs9 /// Buffer into which DER-encoded message is written
12 /// Total number of bytes written to buffer so far
16 impl<'a> Encoder<'a> {
17 /// Create a new encoder with the given byte slice as a backing buffer.
45 /// Return an error for an invalid value with the given tag. in as_ref()
49 tag.value_error().kind().at(self.position) in as_ref()
59 pub fn finish(self) -> Result<&'a [u8]> {
69 /// Encode the provided value as an ASN.1 `BIT STRING` in from()
/dports/devel/dtool/dtool-0.11.0/cargo-crates/der-0.4.1/src/
H A Dbyte_slice.rs9 pub(crate) struct ByteSlice<'a> { struct
17 impl<'a> ByteSlice<'a> { implementation
43 impl AsRef<[u8]> for ByteSlice<'_> { implementation
49 impl Default for ByteSlice<'_> { implementation
58 impl<'a> TryFrom<&'a [u8]> for ByteSlice<'a> { implementation
66 impl<'a> From<StrSlice<'a>> for ByteSlice<'a> { implementation
/dports/lang/rust/rustc-1.58.1-src/src/test/run-make-fulldeps/issue-25581/
H A Dtest.c4 struct ByteSlice { struct
9 size_t slice_len(struct ByteSlice bs) { in slice_len() argument
/dports/net-mgmt/promscale/promscale-0.6.2/vendor/github.com/thanos-io/thanos/pkg/block/indexheader/
H A Dheader_test.go191 func compareIndexToHeader(t *testing.T, indexByteSlice index.ByteSlice, headerReader Reader) {
431 func getSymbolTable(b index.ByteSlice) (map[uint32]string, error) {
461 func readSymbols(bs index.ByteSlice, version int, off int) ([]string, map[uint32]string, error) {
/dports/www/firefox-esr/firefox-91.8.0/dom/media/mp4/
H A DBox.h38 struct ByteSlice { struct
39 const uint8_t* mBytes;
40 size_t mSize;
/dports/www/firefox/firefox-99.0/dom/media/mp4/
H A DBox.h38 struct ByteSlice { struct
39 const uint8_t* mBytes;
40 size_t mSize;
/dports/mail/thunderbird/thunderbird-91.8.0/dom/media/mp4/
H A DBox.h38 struct ByteSlice { struct
39 const uint8_t* mBytes;
40 size_t mSize;
/dports/lang/spidermonkey78/firefox-78.9.0/dom/media/mp4/
H A DBox.h38 struct ByteSlice { struct
39 const uint8_t* mBytes;
40 size_t mSize;
/dports/databases/postgresql12-plpython/postgresql-12.9/src/backend/executor/
H A Dinstrument.c74 /* Exit from a plan node */
92 INSTR_TIME_SET_ZERO(instr->starttime); in as_bytes()
/dports/net-mgmt/promscale/promscale-0.6.2/vendor/github.com/prometheus/prometheus/tsdb/encoding/
H A Dencoding.go107 func NewDecbufAt(bs ByteSlice, off int, castagnoliTable *crc32.Table) Decbuf {
134 func NewDecbufUvarintAt(bs ByteSlice, off int, castagnoliTable *crc32.Table) Decbuf {
162 func NewDecbufRaw(bs ByteSlice, length int) Decbuf {
288 type ByteSlice interface { interface
/dports/net-mgmt/thanos/thanos-0.11.0/vendor/github.com/prometheus/prometheus/tsdb/encoding/
H A Dencoding.go107 func NewDecbufAt(bs ByteSlice, off int, castagnoliTable *crc32.Table) Decbuf {
134 func NewDecbufUvarintAt(bs ByteSlice, off int, castagnoliTable *crc32.Table) Decbuf {
162 func NewDecbufRaw(bs ByteSlice, length int) Decbuf {
288 type ByteSlice interface { interface
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/common/safe_browsing/
H A Dmach_o_image_reader_mac.cc17 class ByteSlice { class
20 ByteSlice() : ByteSlice(nullptr, 0) {} in ByteSlice() function in safe_browsing::ByteSlice
23 explicit ByteSlice(const uint8_t* data, size_t size) in ByteSlice() function in safe_browsing::ByteSlice
H A Dmach_o_image_reader_mac.h19 class ByteSlice; variable
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/chrome/common/safe_browsing/
H A Dmach_o_image_reader_mac.cc17 class ByteSlice { class
20 ByteSlice() : ByteSlice(nullptr, 0) {} in ByteSlice() function in safe_browsing::ByteSlice
23 explicit ByteSlice(const uint8_t* data, size_t size) in ByteSlice() function in safe_browsing::ByteSlice
H A Dmach_o_image_reader_mac.h20 class ByteSlice; variable
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/grafana/loki/vendor/github.com/prometheus/prometheus/tsdb/encoding/
H A Dencoding.go120 func NewDecbufAt(bs ByteSlice, off int, castagnoliTable *crc32.Table) Decbuf {
147 func NewDecbufUvarintAt(bs ByteSlice, off int, castagnoliTable *crc32.Table) Decbuf {
175 func NewDecbufRaw(bs ByteSlice, length int) Decbuf {
311 type ByteSlice interface { interface
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/prometheus/prometheus/tsdb/encoding/
H A Dencoding.go120 func NewDecbufAt(bs ByteSlice, off int, castagnoliTable *crc32.Table) Decbuf {
147 func NewDecbufUvarintAt(bs ByteSlice, off int, castagnoliTable *crc32.Table) Decbuf {
175 func NewDecbufRaw(bs ByteSlice, length int) Decbuf {
311 type ByteSlice interface { interface
/dports/net-mgmt/prometheus2/prometheus-2.30.3/tsdb/encoding/
H A Dencoding.go120 func NewDecbufAt(bs ByteSlice, off int, castagnoliTable *crc32.Table) Decbuf {
147 func NewDecbufUvarintAt(bs ByteSlice, off int, castagnoliTable *crc32.Table) Decbuf {
175 func NewDecbufRaw(bs ByteSlice, length int) Decbuf {
311 type ByteSlice interface { interface
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/cortexproject/cortex/vendor/github.com/prometheus/prometheus/tsdb/encoding/
H A Dencoding.go120 func NewDecbufAt(bs ByteSlice, off int, castagnoliTable *crc32.Table) Decbuf {
147 func NewDecbufUvarintAt(bs ByteSlice, off int, castagnoliTable *crc32.Table) Decbuf {
175 func NewDecbufRaw(bs ByteSlice, length int) Decbuf {
311 type ByteSlice interface { interface
/dports/databases/prometheus-postgresql-adapter/prometheus-postgresql-adapter-0.6.0/vendor/github.com/prometheus/prometheus/vendor/github.com/prometheus/tsdb/encoding/
H A Dencoding.go97 func NewDecbufAt(bs ByteSlice, off int, castagnoliTable *crc32.Table) Decbuf {
121 func NewDecbufUvarintAt(bs ByteSlice, off int, castagnoliTable *crc32.Table) Decbuf {
241 type ByteSlice interface { interface
/dports/net-p2p/go-ethereum/go-ethereum-1.10.14/vendor/github.com/prometheus/tsdb/encoding/
H A Dencoding.go97 func NewDecbufAt(bs ByteSlice, off int, castagnoliTable *crc32.Table) Decbuf {
121 func NewDecbufUvarintAt(bs ByteSlice, off int, castagnoliTable *crc32.Table) Decbuf {
241 type ByteSlice interface { interface
/dports/net-mgmt/bosun/bosun-0.9.0-preview/vendor/github.com/prometheus/tsdb/chunks/
H A Dchunks.go265 type ByteSlice interface { interface
296 func newReader(bs []ByteSlice, cs []io.Closer, pool chunkenc.Pool) (*Reader, error) {
312 func NewReader(bs []ByteSlice, pool chunkenc.Pool) (*Reader, error) {
/dports/net-mgmt/bosun/bosun-0.9.0-preview/vendor/github.com/prometheus/prometheus/vendor/github.com/prometheus/tsdb/chunks/
H A Dchunks.go265 type ByteSlice interface { interface
296 func newReader(bs []ByteSlice, cs []io.Closer, pool chunkenc.Pool) (*Reader, error) {
312 func NewReader(bs []ByteSlice, pool chunkenc.Pool) (*Reader, error) {

12345678910>>...14