Home
last modified time | relevance | path

Searched refs:partition (Results 1 – 25 of 378) sorted by relevance

12345678910>>...16

/third_party/boost/libs/hana/test/_include/auto/
Dpartition.hpp28 hana::partition(MAKE_TUPLE(), undefined{}), in __anon895c4f130102()
32 hana::partition(MAKE_TUPLE(ct_eq<0>{}), pred), in __anon895c4f130102()
37 hana::partition(MAKE_TUPLE(ct_eq<0>{}, ct_eq<1>{}), pred), in __anon895c4f130102()
42 hana::partition(MAKE_TUPLE(ct_eq<-1>{}), pred), in __anon895c4f130102()
47 hana::partition(MAKE_TUPLE(ct_eq<-1>{}, ct_eq<0>{}, ct_eq<2>{}), pred), in __anon895c4f130102()
52 … hana::partition(MAKE_TUPLE(ct_eq<0>{}, ct_eq<-3>{}, ct_eq<2>{}, ct_eq<-5>{}, ct_eq<6>{}), pred), in __anon895c4f130102()
57 …hana::partition(MAKE_TUPLE(ct_eq<-1>{}, ct_eq<2>{}, ct_eq<-3>{}, ct_eq<0>{}, ct_eq<-3>{}, ct_eq<4>… in __anon895c4f130102()
64 hana::partition.by(pred, MAKE_TUPLE(ct_eq<-1>{}, ct_eq<0>{}, ct_eq<2>{})), in __anon895c4f130102()
65 hana::partition(MAKE_TUPLE(ct_eq<-1>{}, ct_eq<0>{}, ct_eq<2>{}), pred) in __anon895c4f130102()
69 hana::partition.by(pred)(MAKE_TUPLE(ct_eq<-1>{}, ct_eq<0>{}, ct_eq<2>{})), in __anon895c4f130102()
[all …]
/third_party/boost/boost/range/algorithm/
Dpartition.hpp31 partition(ForwardRange& rng, UnaryPredicate pred) in partition() function
34 return std::partition(boost::begin(rng),boost::end(rng),pred); in partition()
40 partition(const ForwardRange& rng, UnaryPredicate pred) in partition() function
43 return std::partition(boost::begin(rng),boost::end(rng),pred); in partition()
52 partition(ForwardRange& rng, UnaryPredicate pred) in partition() function
56 pack(std::partition(boost::begin(rng), boost::end(rng), pred), rng); in partition()
63 partition(const ForwardRange& rng, UnaryPredicate pred) in partition() function
67 pack(std::partition(boost::begin(rng), boost::end(rng), pred), rng); in partition()
71 using range::partition;
/third_party/boost/libs/range/doc/reference/algorithm/
Dpartition.qbk6 [section:partition partition]
16 partition(ForwardRange& rng, UnaryPredicate pred);
23 partition(const ForwardRange& rng, UnaryPredicate pred);
31 partition(ForwardRange& rng, UnaryPredicate pred);
39 partition(const ForwardRange& rng, UnaryPredicate pred);
44 `partition` orders the elements in `rng` based on `pred`, such that the elements that satisfy `pred…
49 Defined in the header file `boost/range/algorithm/partition.hpp`
53 …rd_range__ Concept. For C++ versions prior to C++11 the underlying std::partition requires Bidirec…
/third_party/gstreamer/gstplugins_bad/gst/mxf/
Dmxfmux.c263 mxf_partition_pack_reset (&mux->partition); in gst_mxf_mux_reset()
1111 mxf_partition_pack_reset (&mux->partition); in gst_mxf_mux_init_partition_pack()
1112 mux->partition.type = MXF_PARTITION_PACK_HEADER; in gst_mxf_mux_init_partition_pack()
1113 mux->partition.closed = mux->partition.complete = FALSE; in gst_mxf_mux_init_partition_pack()
1114 mux->partition.major_version = 0x0001; in gst_mxf_mux_init_partition_pack()
1115 mux->partition.minor_version = 0x0002; in gst_mxf_mux_init_partition_pack()
1116 mux->partition.kag_size = 1; in gst_mxf_mux_init_partition_pack()
1117 mux->partition.this_partition = 0; in gst_mxf_mux_init_partition_pack()
1118 mux->partition.prev_partition = 0; in gst_mxf_mux_init_partition_pack()
1119 mux->partition.footer_partition = 0; in gst_mxf_mux_init_partition_pack()
[all …]
Dmxfdemux.c164 gst_mxf_demux_partition_free (GstMXFDemuxPartition * partition) in gst_mxf_demux_partition_free() argument
166 mxf_partition_pack_reset (&partition->partition); in gst_mxf_demux_partition_free()
167 mxf_primer_pack_reset (&partition->primer); in gst_mxf_demux_partition_free()
169 g_free (partition); in gst_mxf_demux_partition_free()
398 if (a->partition.this_partition < b->partition.this_partition) in gst_mxf_demux_partition_compare()
400 else if (a->partition.this_partition > b->partition.this_partition) in gst_mxf_demux_partition_compare()
411 GstMXFDemuxPartition * partition) in gst_mxf_demux_partition_postcheck() argument
417 if (partition->single_track || !partition->partition.body_sid) in gst_mxf_demux_partition_postcheck()
424 if (cand->body_sid != partition->partition.body_sid) in gst_mxf_demux_partition_postcheck()
431 partition->partition.this_partition); in gst_mxf_demux_partition_postcheck()
[all …]
/third_party/NuttX/fs/mount/
Dfs_mount.c155 mtd_partition *partition = NULL; in mount() local
232 partition = (mtd_partition *)((struct drv_data *)device->data)->priv; in mount()
233 partition->mountpoint_name = (char *)zalloc(strlen(target) + 1); in mount()
234 if (partition->mountpoint_name == NULL) in mount()
239 (void)strncpy_s(partition->mountpoint_name, strlen(target) + 1, target, strlen(target)); in mount()
240 partition->mountpoint_name[strlen(target)] = '\0'; in mount()
273 if (fsmap->is_mtd_support && (device != NULL) && (partition != NULL)) in mount()
275 free(partition->mountpoint_name); in mount()
276 partition->mountpoint_name = NULL; in mount()
/third_party/gptfdisk/
DNEWS5 when changing a partition's name with sgdisk (-c/--change-name).
8 points. This support affects the default partition size when using 'n' in
9 gdisk; it affects the default partition size in cgdisk; and it's activated
32 - Fixed bug that caused cgdisk to report incorrect partition attributes.
42 - Fixed double byte swap operation on writes of partition name data on
44 reading partition label data fixed in 1.0.7. (Thanks to Erik Larsson for
48 partition names, so as to correct disks already affected by the preceding
62 - Fixed bug that caused spurious warnings about the partition table
63 header claiming an invalid size of partition entries when reading
73 - Fixed double byte swap operation on partition label data on big-endian
[all …]
/third_party/boost/libs/geometry/test/algorithms/detail/
Dpartition.cpp160 bg::partition in test_boxes()
239 bg::partition in test_points()
382 typedef bg::detail::partition::visit_no_policy box_visitor_type; in test_many_points()
387 bg::partition in test_many_points()
390 bg::detail::partition::include_all_policy, in test_many_points()
391 bg::detail::partition::include_all_policy in test_many_points()
490 typedef bg::detail::partition::visit_no_policy partition_box_visitor_type; in test_many_boxes()
495 bg::partition in test_many_boxes()
498 bg::detail::partition::include_all_policy, in test_many_boxes()
499 bg::detail::partition::include_all_policy in test_many_boxes()
[all …]
/third_party/mindspore/mindspore/ccsrc/ps/
Dworker.cc420 lookup_partitioner_ = [this](auto &&send, auto &&partition, auto &&attrs) { in Initialize() argument
421 LookupIdPartitioner(send, partition, attrs); in Initialize()
423 worker_init_embedding_partitioner_ = [this](auto &&send, auto &&partition, auto &&attrs) { in Initialize() argument
424 WorkerInitEmbeddingPartitioner(send, partition, attrs); in Initialize()
426 round_robin_partitioner_ = [this](auto &&send, auto &&partition, auto &&attrs) { in Initialize() argument
427 RoundRobinPartitioner(send, partition, attrs); in Initialize()
429 sparse_partitioner_ = [this](auto &&send, auto &&partition, auto &&attrs) { in Initialize() argument
430 SparsePartitioner(send, partition, attrs); in Initialize()
432 update_embedding_partitioner_ = [this](auto &&send, auto &&partition, auto &&attrs) { in Initialize() argument
433 UpdateEmbeddingPartitioner(send, partition, attrs); in Initialize()
[all …]
Dworker.h57 …const EmbeddingTableLookup &send, PartitionEmbeddingMessages *partition, const std::map<int64_t, i…
59 …std::function<void(const KVMessage &send, PartitionKVMessages *partition, const std::map<int64_t, …
111 void LookupIdPartitioner(const EmbeddingTableLookup &send, PartitionEmbeddingMessages *partition,
114 void SparsePartitioner(const KVMessage &send, PartitionKVMessages *partition,
116 void RoundRobinPartitioner(const KVMessage &send, PartitionKVMessages *partition,
118 …InitEmbeddingPartitioner(const KVMessage &send, std::vector<std::pair<bool, KVMessage>> *partition,
120 void UpdateEmbeddingPartitioner(const KVMessage &send, PartitionKVMessages *partition,
122 void BroadcastPartitioner(const KVMessage &send, PartitionKVMessages *partition,
/third_party/boost/libs/mpl/doc/src/refmanual/
Dpartition.rst1 .. Algorithms/Transformation Algorithms//partition |85
3 partition title
17 struct partition
28 ``partition`` is a synonym for |stable_partition|.
38 #include <boost/mpl/partition.hpp>
72 typedef partition<s,pred,in1,in2>::type r;
99 typedef partition<
/third_party/boost/libs/range/test/algorithm_test/
Dpartition.cpp45 iter_t result = boost::partition(cont, UnaryPredicate()); in test_iter()
47 boost::partition(cont2, UnaryPredicate()); in test_iter()
49 boost::partition( in test_iter()
71 result_t result = boost::partition<return_type>(cont, policy.pred()); in operator ()()
75 boost::partition<return_type>( in operator ()()
89 return std::partition(cont.begin(), cont.end(), UnaryPredicate()); in reference()
/third_party/toybox/toys/pending/
Dfdisk.c51 struct partition { struct
57 struct partition *part; argument
91 static struct partition* part_offset(char *secbuf, int i) in part_offset()
93 return (struct partition*)(secbuf + 0x1be + i*(sizeof(struct partition))); in part_offset()
102 static void set_hsc(struct partition *p, sector_t start, sector_t end) in set_hsc()
186 static int is_partition_clear(struct partition* p) in is_partition_clear()
192 for (i = 0; i < sizeof(struct partition); i++) res |= (unsigned char)ptr[i]; in is_partition_clear()
208 struct partition *px; in check_order()
239 struct partition *p, *q; in read_ebr()
248 memset(q, 0, sizeof(struct partition)); //clear_partition in read_ebr()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/astc-encoder/Source/
Dastc_partition_tables.cpp213 int partition; in select_partition() local
215 partition = 0; in select_partition()
217 partition = 1; in select_partition()
219 partition = 2; in select_partition()
221 partition = 3; in select_partition()
222 return partition; in select_partition()
251 int partition = pt->partition_of_texel[i]; in generate_one_partition_table() local
252 counts[partition]++; in generate_one_partition_table()
/third_party/boost/libs/compute/test/
Dtest_partition.cpp46 bc::vector<float>::iterator iter = bc::partition(vector.begin(), in BOOST_AUTO_TEST_CASE()
71 bc::partition(vector.begin(), vector.end(), bc::signbit_<float>(), queue); in BOOST_AUTO_TEST_CASE()
74 bc::partition(vector.begin(), vector.end(), bc::signbit_<float>(), queue); in BOOST_AUTO_TEST_CASE()
78 bc::partition(vector.begin(), vector.end(), bc::signbit_<float>(), queue); in BOOST_AUTO_TEST_CASE()
/third_party/ltp/testcases/kdump/sample/
Drunkdump.EXTRA_LKDTM.SLES58 # Dump vmcore on an EXT3 partition.
61 # Dump vmcore on an EXT3 partition with a LABEL.
64 # Dump vmcore on an EXT3 partition with a partition UID.
67 # Dump vmcore on a RAW partition.
Drunkdump.BASIC_LKDTM.SLES58 # Dump vmcore on an EXT3 partition.
61 # Dump vmcore on an EXT3 partition with a LABEL.
64 # Dump vmcore on an EXT3 partition with a partition UID.
67 # Dump vmcore on a RAW partition.
Drunkdump.EXTRA_LKDTM.RHEL58 # Dump vmcore on an EXT3 partition.
61 # Dump vmcore on an EXT3 partition with a LABEL.
64 # Dump vmcore on an EXT3 partition with a partition UID.
67 # Dump vmcore on a RAW partition.
Drunkdump.CRASHER.RHEL58 # Dump vmcore on an EXT3 partition.
61 # Dump vmcore on an EXT3 partition with a LABEL.
64 # Dump vmcore on an EXT3 partition with a partition UID.
67 # Dump vmcore on a RAW partition.
Drunkdump.BASIC_LKDTM.RHEL58 # Dump vmcore on an EXT3 partition.
61 # Dump vmcore on an EXT3 partition with a LABEL.
64 # Dump vmcore on an EXT3 partition with a partition UID.
67 # Dump vmcore on a RAW partition.
Drunkdump.CRASHER.SLES58 # Dump vmcore on an EXT3 partition.
61 # Dump vmcore on an EXT3 partition with a LABEL.
64 # Dump vmcore on an EXT3 partition with a partition UID.
67 # Dump vmcore on a RAW partition.
/third_party/benchmark/tools/gbench/
Dreport.py179 def extract_field(partition, field_name): argument
181 lhs = [x[field_name] for x in partition[0]]
182 rhs = [x[field_name] for x in partition[1]]
250 for partition in partitions:
251 benchmark_name = partition[0][0]['name']
252 time_unit = partition[0][0]['time_unit']
256 for i in range(min(len(partition[0]), len(partition[1]))):
257 bn = partition[0][i]
258 other_bench = partition[1][i]
270 timings_cpu = extract_field(partition, 'cpu_time')
[all …]
/third_party/ltp/testcases/kernel/fs/ftest/
Dftest02.c91 static char *partition; variable
445 sprintf(mount_buffer, "/bin/umount %s", partition); in cleanup()
450 partition, mntpoint); in cleanup()
452 if (umount(partition)) in cleanup()
455 partition, mntpoint); in cleanup()
459 partition); in cleanup()
462 } else if (umount(partition)) in cleanup()
464 partition, mntpoint); in cleanup()
Dftest06.c96 static char *partition; variable
460 sprintf(mount_buffer, "/bin/umount %s", partition); in cleanup()
463 partition, mntpoint); in cleanup()
464 if (umount(partition)) { in cleanup()
467 partition, mntpoint); in cleanup()
471 partition); in cleanup()
475 if (umount(partition)) { in cleanup()
477 partition, mntpoint); in cleanup()
/third_party/boost/libs/hana/example/
Dpartition.cpp21 hana::partition(hana::tuple_c<int, 1, 2, 3, 4, 5, 6, 7>, [](auto x) { in __anon4e780fa00102()
32 …hana::partition(hana::tuple_t<void, int, float, char, double>, hana::trait<std::is_floating_point>)
43 hana::partition.by(hana::trait<std::is_floating_point>,

12345678910>>...16