Home
last modified time | relevance | path

Searched refs:node_bytes (Results 1 – 25 of 33) sorted by relevance

12

/dports/devel/brz/breezy-3.2.0/breezy/tests/
H A Dtest_chunk_writer.py36 node_bytes = self.check_chunk(bytes_list, 4096)
37 self.assertEqual(b"", node_bytes)
64 node_bytes = self.check_chunk(bytes_list, 4096)
65 self.assertEqual(b"foo bar baz quux\n", node_bytes)
89 node_bytes = self.check_chunk(bytes_list, 4096)
92 self.assertEqualDiff(expected_bytes, node_bytes)
108 node_bytes = self.check_chunk(bytes_list, 4096)
111 self.assertEqualDiff(expected_bytes, node_bytes)
/dports/net/py-maxminddb/MaxMind-DB-Reader-python-2.0.3/maxminddb/
H A Dreader.py196 node_bytes = b"\x00" + self._buffer[offset : offset + 3]
199 node_bytes = bytearray(self._buffer[offset : offset + 4])
201 node_bytes[0] = 0x0F & node_bytes[0]
203 middle = (0xF0 & node_bytes.pop()) >> 4
204 node_bytes.insert(0, middle)
207 node_bytes = self._buffer[offset : offset + 4]
210 return struct.unpack(b"!I", node_bytes)[0]
/dports/graphics/embree/embree-3.13.2/kernels/bvh/
H A Dbvh_builder_sah_spatial.cpp115 const size_t node_bytes = pinfo.size()*sizeof(typename BVH::AABBNode)/(4*N); in build() local
117 bvh->alloc.init_estimate(node_bytes+leaf_bytes); in build()
118 …loc.fixSingleThreadThreshold(N,DEFAULT_SINGLE_THREAD_THRESHOLD,pinfo.size(),node_bytes+leaf_bytes); in build()
135 const size_t node_bytes = pinfo.size()*sizeof(typename BVH::AABBNode)/(4*N); in build() local
137 bvh->alloc.init_estimate(node_bytes+leaf_bytes); in build()
138 …loc.fixSingleThreadThreshold(N,DEFAULT_SINGLE_THREAD_THRESHOLD,pinfo.size(),node_bytes+leaf_bytes); in build()
H A Dbvh_builder_sah_mb.cpp149 const size_t node_bytes = pinfo.size()*sizeof(AABBNodeMB)/(4*N);
151 bvh->alloc.init_estimate(node_bytes+leaf_bytes);
162 …loc.fixSingleThreadThreshold(N,DEFAULT_SINGLE_THREAD_THRESHOLD,pinfo.size(),node_bytes+leaf_bytes);
184 const size_t node_bytes = pinfo.num_time_segments*sizeof(AABBNodeMB)/(4*N); in buildMultiSegment() local
186 bvh->alloc.init_estimate(node_bytes+leaf_bytes); in buildMultiSegment()
198 …loc.fixSingleThreadThreshold(N,DEFAULT_SINGLE_THREAD_THRESHOLD,pinfo.size(),node_bytes+leaf_bytes); in buildMultiSegment()
576 const size_t node_bytes = pinfo.size()*sizeof(AABBNodeMB)/(4*N);
579 bvh->alloc.init_estimate(node_bytes+leaf_bytes);
590 …loc.fixSingleThreadThreshold(N,DEFAULT_SINGLE_THREAD_THRESHOLD,pinfo.size(),node_bytes+leaf_bytes);
619 const size_t node_bytes = pinfo.num_time_segments*sizeof(AABBNodeMB)/(4*N); in buildMultiSegment() local
[all …]
H A Dbvh_builder_sah.cpp149 const size_t node_bytes = numPrimitives*sizeof(typename BVH::AABBNodeMB)/(4*N); in build() local
151 bvh->alloc.init_estimate(node_bytes+leaf_bytes); in build()
152 …oc.fixSingleThreadThreshold(N,DEFAULT_SINGLE_THREAD_THRESHOLD,numPrimitives,node_bytes+leaf_bytes); in build()
253 const size_t node_bytes = numPrimitives*sizeof(typename BVH::QuantizedNode)/(4*N); in build() local
255 bvh->alloc.init_estimate(node_bytes+leaf_bytes); in build()
256 …oc.fixSingleThreadThreshold(N,DEFAULT_SINGLE_THREAD_THRESHOLD,numPrimitives,node_bytes+leaf_bytes); in build()
405 const size_t node_bytes = numPrimitives*sizeof(typename BVH::AABBNodeMB)/(4*N); in build() local
408 bvh->alloc.init_estimate(node_bytes+leaf_bytes); in build()
409 …oc.fixSingleThreadThreshold(N,DEFAULT_SINGLE_THREAD_THRESHOLD,numPrimitives,node_bytes+leaf_bytes); in build()
H A Dbvh_builder_hair_mb.cpp49 const size_t node_bytes = pinfo.num_time_segments*sizeof(typename BVH::AABBNodeMB)/(4*N); in build() local
51 bvh->alloc.init_estimate(node_bytes+leaf_bytes); in build()
H A Dbvh_builder_hair.cpp53 const size_t node_bytes = pinfo.size()*sizeof(typename BVH::OBBNode)/(4*N); in build() local
55 bvh->alloc.init_estimate(node_bytes+leaf_bytes); in build()
H A Dbvh_builder_twolevel.cpp61 const size_t node_bytes = 2*numLeafBlocks*sizeof(typename BVH::AABBNode)/N; in build() local
63 bvh->alloc.init_estimate(node_bytes+leaf_bytes); in build()
/dports/devel/mercurial/mercurial-6.0/rust/hg-core/src/operations/
H A Dcat.rs99 for (file_path, node_bytes) in found { in cat()
102 let file_node = Node::from_hex_for_repo(node_bytes)?; in cat()
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/hotspot/share/utilities/
H A DtableStatistics.cpp94 …ics& rate_stats, NumberSeq summary, size_t literal_bytes, size_t bucket_bytes, size_t node_bytes) : in TableStatistics() argument
112 _entry_bytes = _number_of_entries * node_bytes; in TableStatistics()
H A DtableStatistics.hpp85 …tics& rate_stats, NumberSeq summary, size_t literal_bytes, size_t bucket_bytes, size_t node_bytes);
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/hotspot/share/utilities/
H A DtableStatistics.cpp94 …ics& rate_stats, NumberSeq summary, size_t literal_bytes, size_t bucket_bytes, size_t node_bytes) : in TableStatistics() argument
112 _entry_bytes = _number_of_entries * node_bytes; in TableStatistics()
H A DtableStatistics.hpp85 …tics& rate_stats, NumberSeq summary, size_t literal_bytes, size_t bucket_bytes, size_t node_bytes);
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/hotspot/share/utilities/
H A DtableStatistics.cpp94 …ics& rate_stats, NumberSeq summary, size_t literal_bytes, size_t bucket_bytes, size_t node_bytes) : in TableStatistics() argument
112 _entry_bytes = _number_of_entries * node_bytes; in TableStatistics()
H A DtableStatistics.hpp85 …tics& rate_stats, NumberSeq summary, size_t literal_bytes, size_t bucket_bytes, size_t node_bytes);
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/hotspot/share/utilities/
H A DtableStatistics.cpp94 …ics& rate_stats, NumberSeq summary, size_t literal_bytes, size_t bucket_bytes, size_t node_bytes) : in TableStatistics() argument
112 _entry_bytes = _number_of_entries * node_bytes; in TableStatistics()
H A DtableStatistics.hpp85 …tics& rate_stats, NumberSeq summary, size_t literal_bytes, size_t bucket_bytes, size_t node_bytes);
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/hotspot/share/utilities/
H A DtableStatistics.cpp94 …ics& rate_stats, NumberSeq summary, size_t literal_bytes, size_t bucket_bytes, size_t node_bytes) : in TableStatistics() argument
112 _entry_bytes = _number_of_entries * node_bytes; in TableStatistics()
H A DtableStatistics.hpp85 …tics& rate_stats, NumberSeq summary, size_t literal_bytes, size_t bucket_bytes, size_t node_bytes);
/dports/devel/brz/breezy-3.2.0/breezy/bzr/tests/
H A Dtest_btree_index.py169 node_bytes = zlib.decompress(node_content)
176 self.assertEqual(expected_node, node_bytes)
193 node_bytes = zlib.decompress(node_content)
208 self.assertEqual(expected_node, node_bytes)
1218 node_bytes = (b"type=leaf\n"
1224 node = btree_index._LeafNode(node_bytes, 1, 0)
1236 node_bytes = (b"type=leaf\n"
1243 node = btree_index._LeafNode(node_bytes, 2, 2)
1256 node_bytes = (b"type=internal\n"
1264 node = btree_index._InternalNode(node_bytes)
[all …]
/dports/devel/mercurial/mercurial-6.0/mercurial/dirstateutils/
H A Dv2.py93 node_bytes = slice_with_len(data, node_start, NODE_SIZE)
108 ) = NODE.unpack(node_bytes)
/dports/devel/mercurial/mercurial-6.0/rust/hg-cpython/src/
H A Drevlog.rs127 let node_bytes = tup.get_item(py, 7).extract(py)?; localVariable
128 let node = node_from_py_object(py, &node_bytes)?;
/dports/graphics/libosmesa-gallium/mesa-21.3.6/src/mesa/drivers/dri/i965/
H A Dbrw_bufmgr.c355 const uint64_t node_bytes = 64ull * bucket->size; in bucket_vma_free() local
361 uint64_t start = (address / node_bytes) * node_bytes; in bucket_vma_free()
/dports/lang/clover/mesa-21.3.6/src/mesa/drivers/dri/i965/
H A Dbrw_bufmgr.c355 const uint64_t node_bytes = 64ull * bucket->size; in bucket_vma_free() local
361 uint64_t start = (address / node_bytes) * node_bytes; in bucket_vma_free()
/dports/graphics/libosmesa/mesa-21.3.6/src/mesa/drivers/dri/i965/
H A Dbrw_bufmgr.c355 const uint64_t node_bytes = 64ull * bucket->size; in bucket_vma_free() local
361 uint64_t start = (address / node_bytes) * node_bytes; in bucket_vma_free()

12