/dports/misc/mxnet/incubator-mxnet-1.9.0/3rdparty/tvm/python/tvm/relay/frontend/ |
H A D | tflite_flexbuffer.py | 78 def indirect_jump(self, offset, byte_width): argument 81 if byte_width == 1: 83 elif byte_width == 4: 89 def decode_keys(self, end, size, byte_width): argument 96 offset_pos = end + i * byte_width 104 def decode_vector(self, end, size, byte_width): argument 111 value_type_pos = end + size * byte_width + i 113 value_bytes = self.buffer[end + i * byte_width : end + (i + 1) * byte_width] 127 def decode_map(self, end, byte_width, parent_byte_width): argument 133 keys_offset = mid_loc - byte_width * 3 [all …]
|
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/google/flatbuffers/python/flatbuffers/ |
H A D | flexbuffers.py | 83 def B(byte_width): argument 89 }[byte_width] 116 buf[:byte_width] = _Pack(fmt, value, byte_width) 404 assert byte_width == 1 1019 self._WriteAny(value, byte_width=byte_width) # Root value 1021 self._Write(U, byte_width, byte_width=1) # Root size 1033 return byte_width 1043 assert byte_width == 8 or relative_offset < (1 << (8 * byte_width)) 1400 if byte_width == 0: 1513 byte_width = buf[-1] [all …]
|
/dports/devel/flatbuffers/flatbuffers-2.0.0/python/flatbuffers/ |
H A D | flexbuffers.py | 83 def B(byte_width): argument 89 }[byte_width] 116 buf[:byte_width] = _Pack(fmt, value, byte_width) 404 assert byte_width == 1 1019 self._WriteAny(value, byte_width=byte_width) # Root value 1021 self._Write(U, byte_width, byte_width=1) # Root size 1033 return byte_width 1043 assert byte_width == 8 or relative_offset < (1 << (8 * byte_width)) 1400 if byte_width == 0: 1513 byte_width = buf[-1] [all …]
|
/dports/graphics/alpng/alpng-1.3_4/src/ |
H A D | alpng_drawer.c | 55 header->byte_width = data_length / header->height; in alpng_draw() 112 b->line[y][x * 4 + _rgb_r_shift_32 / 8] = data[1 + y * header->byte_width + x * 4]; in read_rgb_with_alpha8() 113 b->line[y][x * 4 + _rgb_g_shift_32 / 8] = data[2 + y * header->byte_width + x * 4]; in read_rgb_with_alpha8() 114 b->line[y][x * 4 + _rgb_b_shift_32 / 8] = data[3 + y * header->byte_width + x * 4]; in read_rgb_with_alpha8() 115 b->line[y][x * 4 + _rgb_a_shift_32 / 8] = data[4 + y * header->byte_width + x * 4]; in read_rgb_with_alpha8() 135 b->line[y][x * 4 + _rgb_r_shift_32 / 8] = data[1 + y * header->byte_width + x * 8]; in read_rgb_with_alpha16() 136 b->line[y][x * 4 + _rgb_g_shift_32 / 8] = data[3 + y * header->byte_width + x * 8]; in read_rgb_with_alpha16() 137 b->line[y][x * 4 + _rgb_b_shift_32 / 8] = data[5 + y * header->byte_width + x * 8]; in read_rgb_with_alpha16() 138 b->line[y][x * 4 + _rgb_a_shift_32 / 8] = data[7 + y * header->byte_width + x * 8]; in read_rgb_with_alpha16() 158 b->line[y][x * 4 + _rgb_r_shift_32 / 8] = data[1 + y * header->byte_width + x * 2]; in read_grayscale_with_alpha8() [all …]
|
H A D | alpng_filters.c | 95 i = y * header->byte_width; in alpng_unfilter() 101 for (x = filter_delta + 1; x < header->byte_width; x++) { in alpng_unfilter() 107 for (x = 1; x < header->byte_width; x++) { in alpng_unfilter() 108 data[i + x] += data[i + x - header->byte_width]; in alpng_unfilter() 115 data[i + x] += data[i + x - header->byte_width] / 2; in alpng_unfilter() 117 for (x = filter_delta + 1; x < header->byte_width; x++) { in alpng_unfilter() 119 b = data[i + x - header->byte_width]; in alpng_unfilter() 123 for (x = filter_delta + 1; x < header->byte_width; x++) { in alpng_unfilter() 131 data[i + x] += data[i + x - header->byte_width]; in alpng_unfilter() 135 b = data[i + x - header->byte_width]; in alpng_unfilter() [all …]
|
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/google/flatbuffers/include/flatbuffers/ |
H A D | flexbuffers.h | 137 return byte_width < 4 in ReadSizedScalar() 148 data, byte_width); in ReadInt64() 239 String(const uint8_t *data, uint8_t byte_width) : Sized(data, byte_width) {} in String() argument 270 Vector(const uint8_t *data, uint8_t byte_width) : Sized(data, byte_width) {} in Vector() argument 332 Map(const uint8_t *data, uint8_t byte_width) : Vector(data, byte_width) {} in Map() argument 740 byte_width; in Mutate() 1333 Write(byte_width, 1); in Finish() 1366 switch (byte_width) { in WriteDouble() 1377 FLATBUFFERS_ASSERT(byte_width == 8 || reloff < 1ULL << (byte_width * 8)); in WriteOffset() 1389 switch (byte_width) { in WidthB() [all …]
|
/dports/devel/flatbuffers/flatbuffers-2.0.0/include/flatbuffers/ |
H A D | flexbuffers.h | 137 return byte_width < 4 in ReadSizedScalar() 148 data, byte_width); in ReadInt64() 239 String(const uint8_t *data, uint8_t byte_width) : Sized(data, byte_width) {} in String() argument 270 Vector(const uint8_t *data, uint8_t byte_width) : Sized(data, byte_width) {} in Vector() argument 332 Map(const uint8_t *data, uint8_t byte_width) : Vector(data, byte_width) {} in Map() argument 740 byte_width; in Mutate() 1333 Write(byte_width, 1); in Finish() 1366 switch (byte_width) { in WriteDouble() 1377 FLATBUFFERS_ASSERT(byte_width == 8 || reloff < 1ULL << (byte_width * 8)); in WriteOffset() 1389 switch (byte_width) { in WidthB() [all …]
|
/dports/databases/postgis32/postgis-3.2.0/deps/flatgeobuf/include/flatbuffers/ |
H A D | flexbuffers.h | 137 return byte_width < 4 in ReadSizedScalar() 148 data, byte_width); in ReadInt64() 239 String(const uint8_t *data, uint8_t byte_width) : Sized(data, byte_width) {} in String() argument 270 Vector(const uint8_t *data, uint8_t byte_width) : Sized(data, byte_width) {} in Vector() argument 332 Map(const uint8_t *data, uint8_t byte_width) : Vector(data, byte_width) {} in Map() argument 740 byte_width; in Mutate() 1333 Write(byte_width, 1); in Finish() 1366 switch (byte_width) { in WriteDouble() 1377 FLATBUFFERS_ASSERT(byte_width == 8 || reloff < 1ULL << (byte_width * 8)); in WriteOffset() 1389 switch (byte_width) { in WidthB() [all …]
|
/dports/graphics/py-gdal/gdal-3.3.3/ogr/ogrsf_frmts/flatgeobuf/flatbuffers/ |
H A D | flexbuffers.h | 137 return byte_width < 4 in ReadSizedScalar() 148 data, byte_width); in ReadInt64() 239 String(const uint8_t *data, uint8_t byte_width) : Sized(data, byte_width) {} in String() argument 270 Vector(const uint8_t *data, uint8_t byte_width) : Sized(data, byte_width) {} in Vector() argument 332 Map(const uint8_t *data, uint8_t byte_width) : Vector(data, byte_width) {} in Map() argument 740 byte_width; in Mutate() 1319 Write(byte_width, 1); in Finish() 1352 switch (byte_width) { in WriteDouble() 1363 FLATBUFFERS_ASSERT(byte_width == 8 || reloff < 1ULL << (byte_width * 8)); in WriteOffset() 1375 switch (byte_width) { in WidthB() [all …]
|
/dports/misc/py-tflite-support/tflite-support-0.1.0a1/include/flatbuffers/ |
H A D | flexbuffers.h | 137 return byte_width < 4 in ReadSizedScalar() 138 ? (byte_width < 2 in ReadSizedScalar() 148 data, byte_width); in ReadInt64() 270 Vector(const uint8_t *data, uint8_t byte_width) : Sized(data, byte_width) {} in Vector() argument 331 Map(const uint8_t *data, uint8_t byte_width) : Vector(data, byte_width) {} in Map() argument 739 byte_width; in Mutate() 1318 Write(byte_width, 1); in Finish() 1351 switch (byte_width) { in WriteDouble() 1362 FLATBUFFERS_ASSERT(byte_width == 8 || reloff < 1ULL << (byte_width * 8)); in WriteOffset() 1374 switch (byte_width) { in WidthB() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/flatbuffers/src/include/flatbuffers/ |
H A D | flexbuffers.h | 137 return byte_width < 4 in ReadSizedScalar() 148 data, byte_width); in ReadInt64() 239 String(const uint8_t *data, uint8_t byte_width) : Sized(data, byte_width) {} in String() argument 270 Vector(const uint8_t *data, uint8_t byte_width) : Sized(data, byte_width) {} in Vector() argument 332 Map(const uint8_t *data, uint8_t byte_width) : Vector(data, byte_width) {} in Map() argument 740 byte_width; in Mutate() 1319 Write(byte_width, 1); in Finish() 1352 switch (byte_width) { in WriteDouble() 1363 FLATBUFFERS_ASSERT(byte_width == 8 || reloff < 1ULL << (byte_width * 8)); in WriteOffset() 1375 switch (byte_width) { in WidthB() [all …]
|
/dports/graphics/p5-Geo-GDAL/gdal-3.3.3/ogr/ogrsf_frmts/flatgeobuf/flatbuffers/ |
H A D | flexbuffers.h | 137 return byte_width < 4 in ReadSizedScalar() 148 data, byte_width); in ReadInt64() 239 String(const uint8_t *data, uint8_t byte_width) : Sized(data, byte_width) {} in String() argument 270 Vector(const uint8_t *data, uint8_t byte_width) : Sized(data, byte_width) {} in Vector() argument 332 Map(const uint8_t *data, uint8_t byte_width) : Vector(data, byte_width) {} in Map() argument 740 byte_width; in Mutate() 1319 Write(byte_width, 1); in Finish() 1352 switch (byte_width) { in WriteDouble() 1363 FLATBUFFERS_ASSERT(byte_width == 8 || reloff < 1ULL << (byte_width * 8)); in WriteOffset() 1375 switch (byte_width) { in WidthB() [all …]
|
/dports/graphics/gdal/gdal-3.3.3/ogr/ogrsf_frmts/flatgeobuf/flatbuffers/ |
H A D | flexbuffers.h | 137 return byte_width < 4 in ReadSizedScalar() 148 data, byte_width); in ReadInt64() 239 String(const uint8_t *data, uint8_t byte_width) : Sized(data, byte_width) {} in String() argument 270 Vector(const uint8_t *data, uint8_t byte_width) : Sized(data, byte_width) {} in Vector() argument 332 Map(const uint8_t *data, uint8_t byte_width) : Vector(data, byte_width) {} in Map() argument 740 byte_width; in Mutate() 1319 Write(byte_width, 1); in Finish() 1352 switch (byte_width) { in WriteDouble() 1363 FLATBUFFERS_ASSERT(byte_width == 8 || reloff < 1ULL << (byte_width * 8)); in WriteOffset() 1375 switch (byte_width) { in WidthB() [all …]
|
/dports/deskutils/treesheets/treesheets-1.0.2/lobster/include/flatbuffers/ |
H A D | flexbuffers.h | 135 return byte_width < 4 in ReadSizedScalar() 146 data, byte_width); in ReadInt64() 218 Sized(const uint8_t *data, uint8_t byte_width) : Object(data, byte_width) {} in Sized() argument 226 String(const uint8_t *data, uint8_t byte_width) : Sized(data, byte_width) {} in String() argument 254 Vector(const uint8_t *data, uint8_t byte_width) : Sized(data, byte_width) {} in Vector() argument 314 Map(const uint8_t *data, uint8_t byte_width) : Vector(data, byte_width) {} in Map() argument 1236 Write(byte_width, 1); in Finish() 1269 switch (byte_width) { in WriteDouble() 1280 FLATBUFFERS_ASSERT(byte_width == 8 || reloff < 1ULL << (byte_width * 8)); in WriteOffset() 1292 switch (byte_width) { in WidthB() [all …]
|
/dports/misc/mnn/MNN-1.2.0/3rd_party/flatbuffers/include/flatbuffers/ |
H A D | flexbuffers.h | 135 return byte_width < 4 in ReadSizedScalar() 146 data, byte_width); in ReadInt64() 218 Sized(const uint8_t *data, uint8_t byte_width) : Object(data, byte_width) {} in Sized() argument 226 String(const uint8_t *data, uint8_t byte_width) : Sized(data, byte_width) {} in String() argument 254 Vector(const uint8_t *data, uint8_t byte_width) : Sized(data, byte_width) {} in Vector() argument 314 Map(const uint8_t *data, uint8_t byte_width) : Vector(data, byte_width) {} in Map() argument 1247 Write(byte_width, 1); in Finish() 1280 switch (byte_width) { in WriteDouble() 1291 FLATBUFFERS_ASSERT(byte_width == 8 || reloff < 1ULL << (byte_width * 8)); in WriteOffset() 1303 switch (byte_width) { in WidthB() [all …]
|
/dports/comms/uhd/uhd-90ce6062b6b5df2eddeee723777be85108e4e7c7/host/lib/deps/flatbuffers/include/flatbuffers/ |
H A D | flexbuffers.h | 135 return byte_width < 4 in ReadSizedScalar() 146 data, byte_width); in ReadInt64() 218 Sized(const uint8_t *data, uint8_t byte_width) : Object(data, byte_width) {} in Sized() argument 226 String(const uint8_t *data, uint8_t byte_width) : Sized(data, byte_width) {} in String() argument 254 Vector(const uint8_t *data, uint8_t byte_width) : Sized(data, byte_width) {} in Vector() argument 314 Map(const uint8_t *data, uint8_t byte_width) : Vector(data, byte_width) {} in Map() argument 1247 Write(byte_width, 1); in Finish() 1280 switch (byte_width) { in WriteDouble() 1291 FLATBUFFERS_ASSERT(byte_width == 8 || reloff < 1ULL << (byte_width * 8)); in WriteOffset() 1303 switch (byte_width) { in WidthB() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/flatbuffers/src/include/flatbuffers/ |
H A D | flexbuffers.h | 135 return byte_width < 4 in ReadSizedScalar() 146 data, byte_width); in ReadInt64() 218 Sized(const uint8_t *data, uint8_t byte_width) : Object(data, byte_width) {} in Sized() argument 226 String(const uint8_t *data, uint8_t byte_width) : Sized(data, byte_width) {} in String() argument 254 Vector(const uint8_t *data, uint8_t byte_width) : Sized(data, byte_width) {} in Vector() argument 314 Map(const uint8_t *data, uint8_t byte_width) : Vector(data, byte_width) {} in Map() argument 1282 Write(byte_width, 1); in Finish() 1315 switch (byte_width) { in WriteDouble() 1326 FLATBUFFERS_ASSERT(byte_width == 8 || reloff < 1ULL << (byte_width * 8)); in WriteOffset() 1338 switch (byte_width) { in WidthB() [all …]
|
/dports/security/vault/vault-1.8.2/vendor/github.com/google/flatbuffers/include/flatbuffers/ |
H A D | flexbuffers.h | 135 return byte_width < 4 in ReadSizedScalar() 146 data, byte_width); in ReadInt64() 218 Sized(const uint8_t *data, uint8_t byte_width) : Object(data, byte_width) {} in Sized() argument 226 String(const uint8_t *data, uint8_t byte_width) : Sized(data, byte_width) {} in String() argument 254 Vector(const uint8_t *data, uint8_t byte_width) : Sized(data, byte_width) {} in Vector() argument 314 Map(const uint8_t *data, uint8_t byte_width) : Vector(data, byte_width) {} in Map() argument 1247 Write(byte_width, 1); in Finish() 1280 switch (byte_width) { in WriteDouble() 1291 FLATBUFFERS_ASSERT(byte_width == 8 || reloff < 1ULL << (byte_width * 8)); in WriteOffset() 1303 switch (byte_width) { in WidthB() [all …]
|
/dports/www/osrm-backend/osrm-backend-5.26.0/third_party/flatbuffers/include/flatbuffers/ |
H A D | flexbuffers.h | 135 return byte_width < 4 in ReadSizedScalar() 146 data, byte_width); in ReadInt64() 218 Sized(const uint8_t *data, uint8_t byte_width) : Object(data, byte_width) {} in Sized() argument 226 String(const uint8_t *data, uint8_t byte_width) : Sized(data, byte_width) {} in String() argument 254 Vector(const uint8_t *data, uint8_t byte_width) : Sized(data, byte_width) {} in Vector() argument 314 Map(const uint8_t *data, uint8_t byte_width) : Vector(data, byte_width) {} in Map() argument 1247 Write(byte_width, 1); in Finish() 1280 switch (byte_width) { in WriteDouble() 1291 FLATBUFFERS_ASSERT(byte_width == 8 || reloff < 1ULL << (byte_width * 8)); in WriteOffset() 1303 switch (byte_width) { in WidthB() [all …]
|
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/apache/arrow/rust/arrow/src/array/equal/ |
H A D | primitive.rs | 35 let byte_width = size_of::<T>(); in primitive_equal() localVariable 36 let lhs_values = &lhs.buffers()[0].as_slice()[lhs.offset() * byte_width..]; in primitive_equal() 37 let rhs_values = &rhs.buffers()[0].as_slice()[rhs.offset() * byte_width..]; in primitive_equal() 47 lhs_start * byte_width, in primitive_equal() 48 rhs_start * byte_width, in primitive_equal() 49 len * byte_width, in primitive_equal() 67 lhs_pos * byte_width, in primitive_equal() 68 rhs_pos * byte_width, in primitive_equal() 69 byte_width, // 1 * byte_width since we are comparing a single entry in primitive_equal()
|
/dports/security/py-angr/angr-9.0.5405/angr/storage/memory_mixins/ |
H A D | bvv_conversion_mixin.py | 14 data_bv = self._convert_to_ast(data, size, self.state.arch.byte_width) 22 if len(data_bv) % self.state.arch.byte_width != 0: 28 …fallback_bv = self._convert_to_ast(fallback, size, self.state.arch.byte_width) if fallback is not … 31 def _convert_to_ast(self, thing, size, byte_width): argument 41 bits = size * byte_width 43 bits = size.args[0] * byte_width
|
/dports/print/texlive-base/texlive-20150521-source/utils/ps2eps/ps2eps-1.68/src/C/ |
H A D | bbox.c | 116 unsigned int byte_width; in readppm_and_calcbb() local 187 byte_width= width / 8; in readppm_and_calcbb() 189 byte_width++; in readppm_and_calcbb() 193 byte_width= width * 3; /* we have RGB, i.e. three bytes for each pixel */ in readppm_and_calcbb() 200 image_row= malloc(byte_width); in readppm_and_calcbb() 213 if (fread(image_row, byte_width, 1, inputfile) != 1) in readppm_and_calcbb() 220 for (byte_x= 0; byte_x<byte_width; byte_x++,tmpcolumnbytep++) in readppm_and_calcbb() 257 if ( byte_x != byte_width ) in readppm_and_calcbb() 259 tmpcolumnbytep= image_row+byte_width-1; in readppm_and_calcbb() 261 for (byte_x= byte_width-1; in readppm_and_calcbb()
|
/dports/x11/xpr/xpr-1.0.5/ |
H A D | x2pmp.c | 81 fixed_width = 8 * (byte_width = header.bytes_per_line); in x2pmp() 82 one_plane_size = byte_width * height; in x2pmp() 168 unsigned char *s = buffer + (i+1) * byte_width ; in x2pmp() 178 buffer_size, (int) width, byte_width, (int) height); in x2pmp() 191 src = buffer + i * byte_width ; in x2pmp() 192 ss = scale_buf + i * scale * scale * byte_width; in x2pmp() 193 for(j = 0; j < byte_width; j++) { in x2pmp() 196 for(k = 0; k < scale; k++, dst += byte_width*scale) { in x2pmp() 204 byte_width *= scale; in x2pmp() 216 s = buffer + i * byte_width ; in x2pmp() [all …]
|
/dports/editors/lazarus-devel/lazarus-6df7e8756882f7d7f28f662011ee72f21746c580/components/aggpas/src/ |
H A D | agg_rendering_buffer_dynarow.pas | 58 constructor Construct(width ,height ,byte_width : unsigned ); 61 procedure init(width ,height ,byte_width : unsigned ); 81 constructor rendering_buffer_dynarow.Construct(width ,height ,byte_width : unsigned ); 90 m_byte_width:=byte_width; 105 procedure rendering_buffer_dynarow.init(width ,height ,byte_width : unsigned ); 133 m_byte_width:=byte_width;
|
/dports/editors/lazarus/lazarus/components/aggpas/src/ |
H A D | agg_rendering_buffer_dynarow.pas | 58 constructor Construct(width ,height ,byte_width : unsigned ); 61 procedure init(width ,height ,byte_width : unsigned ); 81 constructor rendering_buffer_dynarow.Construct(width ,height ,byte_width : unsigned ); 90 m_byte_width:=byte_width; 105 procedure rendering_buffer_dynarow.init(width ,height ,byte_width : unsigned ); 133 m_byte_width:=byte_width;
|