Home
last modified time | relevance | path

Searched refs:cluster (Results 1 – 25 of 231) sorted by relevance

12345678910

/external/ImageMagick/MagickCore/
Dsegment.c257 *cluster, in Classify() local
292 cluster=(Cluster *) NULL; in Classify()
310 cluster->next=(Cluster *) AcquireMagickMemory( in Classify()
311 sizeof(*cluster->next)); in Classify()
312 cluster=cluster->next; in Classify()
316 cluster=(Cluster *) AcquireMagickMemory(sizeof(*cluster)); in Classify()
317 head=cluster; in Classify()
319 if (cluster == (Cluster *) NULL) in Classify()
325 cluster->count=0; in Classify()
326 cluster->red=red; in Classify()
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/ec2containerservice/
Dlayer1.py97 def delete_cluster(self, cluster): argument
109 params = {'cluster': cluster, }
115 def deregister_container_instance(self, container_instance, cluster=None, argument
145 if cluster is not None:
146 params['cluster'] = cluster
193 def describe_container_instances(self, container_instances, cluster=None): argument
214 if cluster is not None:
215 params['cluster'] = cluster
237 def describe_tasks(self, tasks, cluster=None): argument
255 if cluster is not None:
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/clustering/
DKMeansPlusPlusClusterer.java92 public List<Cluster<T>> cluster(final Collection<T> points, in cluster() method in KMeansPlusPlusClusterer
103 for (final Cluster<T> cluster : clusters) { in cluster()
105 if (cluster.getPoints().isEmpty()) { in cluster()
121 newCenter = cluster.getCenter().centroidOf(cluster.getPoints()); in cluster()
122 if (!newCenter.equals(cluster.getCenter())) { in cluster()
147 Cluster<T> cluster = getNearestCluster(clusters, p); in assignPointsToClusters() local
148 cluster.addPoint(p); in assignPointsToClusters()
210 for (final Cluster<T> cluster : clusters) { in getPointFromLargestVarianceCluster()
211 if (!cluster.getPoints().isEmpty()) { in getPointFromLargestVarianceCluster()
214 final T center = cluster.getCenter(); in getPointFromLargestVarianceCluster()
[all …]
/external/harfbuzz_ng/src/
Dhb-buffer.cc254 unsigned int cluster) in add() argument
265 glyph->cluster = cluster; in add()
476 if (cluster_start <= info[i].cluster && info[i].cluster < cluster_end) in set_masks()
529 last_cluster = info[0].cluster; in reverse_clusters()
531 if (last_cluster != info[i].cluster) { in reverse_clusters()
534 last_cluster = info[i].cluster; in reverse_clusters()
547 unsigned int cluster = info[start].cluster; in merge_clusters_impl() local
550 cluster = MIN (cluster, info[i].cluster); in merge_clusters_impl()
553 while (end < len && info[end - 1].cluster == info[end].cluster) in merge_clusters_impl()
557 while (idx < start && info[start - 1].cluster == info[start].cluster) in merge_clusters_impl()
[all …]
Dhb-graphite2.cc218 unsigned int cluster; member
313 clusters[0].cluster = buffer->info[0].cluster; in _hb_graphite2_shape()
338 c->cluster = buffer->info[c->base_char].cluster; in _hb_graphite2_shape()
368 info->cluster = clusters[i].cluster; in _hb_graphite2_shape()
386 if (info->cluster != currclus) { in _hb_graphite2_shape()
389 currclus = info->cluster; in _hb_graphite2_shape()
405 if (info->cluster != currclus) in _hb_graphite2_shape()
409 currclus = info->cluster; in _hb_graphite2_shape()
Dhb-coretext.cc707 unsigned int cluster = buffer->info[i].cluster; in _hb_coretext_shape() local
708 log_clusters[chars_len++] = cluster; in _hb_coretext_shape()
710 log_clusters[chars_len++] = cluster; /* Surrogates. */ in _hb_coretext_shape()
973 info->cluster = log_clusters[j]; in _hb_coretext_shape()
1032 info->cluster = log_clusters[string_indices[j]]; in _hb_coretext_shape()
1146 unsigned int cluster = info[count - 1].cluster; in _hb_coretext_shape() local
1149 cluster = MIN (cluster, info[i - 1].cluster); in _hb_coretext_shape()
1150 info[i - 1].cluster = cluster; in _hb_coretext_shape()
1155 unsigned int cluster = info[0].cluster; in _hb_coretext_shape() local
1158 cluster = MIN (cluster, info[i].cluster); in _hb_coretext_shape()
[all …]
Dsample.py53 cluster = info.cluster variable
58 print("gid%d=%d@%d,%d+%d" % (gid, cluster, x_advance, x_offset, y_offset))
Dhb-ot-shape.cc254 info.cluster = buffer->cur().cluster; in hb_insert_dotted_circle()
480 unsigned int cluster = info[i].cluster; in hb_ot_hide_default_ignorables() local
481 if (i + 1 < count && cluster == info[i + 1].cluster) in hb_ot_hide_default_ignorables()
487 if (cluster < info[j - 1].cluster) in hb_ot_hide_default_ignorables()
489 unsigned int old_cluster = info[j - 1].cluster; in hb_ot_hide_default_ignorables()
490 for (unsigned k = j; k && info[k - 1].cluster == old_cluster; k--) in hb_ot_hide_default_ignorables()
491 info[k - 1].cluster = cluster; in hb_ot_hide_default_ignorables()
/external/iptables/extensions/
Dlibxt_cluster.man4 This match requires that all the nodes see the same packets. Thus, the cluster
7 \fB\-\-cluster\-total\-nodes\fP \fInum\fP
8 Set number of total nodes in cluster.
10 [\fB!\fP] \fB\-\-cluster\-local\-node\fP \fInum\fP
13 [\fB!\fP] \fB\-\-cluster\-local\-nodemask\fP \fImask\fP
15 of \fB\-\-cluster\-local\-node\fP.
17 \fB\-\-cluster\-hash\-seed\fP \fIvalue\fP
22 iptables \-A PREROUTING \-t mangle \-i eth1 \-m cluster
23 \-\-cluster\-total\-nodes 2 \-\-cluster\-local\-node 1
24 \-\-cluster\-hash\-seed 0xdeadbeef
[all …]
Dlibipt_CLUSTERIP.man1 This module allows you to configure a simple cluster of nodes that share
4 cluster.
18 Number of total nodes within this cluster.
21 Local node number within this cluster.
/external/harfbuzz_ng/util/
Dhelper-cairo.cc465 if (hb_glyph[i].cluster != hb_glyph[i-1].cluster) in helper_cairo_line_from_buffer()
498 unsigned int cluster = 0; in helper_cairo_line_from_buffer() local
500 l->clusters[cluster].num_glyphs++; in helper_cairo_line_from_buffer()
503 if (hb_glyph[i].cluster != hb_glyph[i+1].cluster) { in helper_cairo_line_from_buffer()
504 g_assert (hb_glyph[i].cluster > hb_glyph[i+1].cluster); in helper_cairo_line_from_buffer()
506 end = start + hb_glyph[i].cluster - hb_glyph[i+1].cluster; in helper_cairo_line_from_buffer()
508 end = g_utf8_offset_to_pointer (start, hb_glyph[i].cluster - hb_glyph[i+1].cluster); in helper_cairo_line_from_buffer()
509 l->clusters[cluster].num_bytes = end - start; in helper_cairo_line_from_buffer()
511 cluster++; in helper_cairo_line_from_buffer()
513 l->clusters[cluster].num_glyphs++; in helper_cairo_line_from_buffer()
[all …]
/external/libvpx/libvpx/
Dwebmdec.cc38 webm_ctx->cluster = NULL; in reset()
50 const mkvparser::Cluster *const cluster = segment->GetFirst(); in get_first_cluster() local
51 webm_ctx->cluster = cluster; in get_first_cluster()
134 const mkvparser::Cluster* cluster = in webm_read_frame() local
135 reinterpret_cast<const mkvparser::Cluster*>(webm_ctx->cluster); in webm_read_frame()
145 status = cluster->GetFirst(block_entry); in webm_read_frame()
148 cluster = segment->GetNext(cluster); in webm_read_frame()
149 if (cluster == NULL || cluster->EOS()) { in webm_read_frame()
154 status = cluster->GetFirst(block_entry); in webm_read_frame()
160 status = cluster->GetNext(block_entry, block_entry); in webm_read_frame()
[all …]
/external/autotest/client/site_tests/firmware_TouchMTB/geometry/
Dtwo_farthest_clusters.py72 return [minicircle(cluster).radius
73 for cluster in get_two_farthest_clusters(points) if cluster]
/external/fio/engines/
Drbd.c20 rados_t cluster; member
114 r = rados_create(&rbd->cluster, o->client_name); in _fio_rbd_connect()
120 r = rados_conf_read_file(rbd->cluster, NULL); in _fio_rbd_connect()
126 r = rados_connect(rbd->cluster); in _fio_rbd_connect()
132 r = rados_ioctx_create(rbd->cluster, o->pool_name, &rbd->io_ctx); in _fio_rbd_connect()
149 rados_shutdown(rbd->cluster); in _fio_rbd_connect()
150 rbd->cluster = NULL; in _fio_rbd_connect()
171 if (rbd->cluster) { in _fio_rbd_disconnect()
172 rados_shutdown(rbd->cluster); in _fio_rbd_disconnect()
173 rbd->cluster = NULL; in _fio_rbd_disconnect()
/external/pdfium/xfa/src/fxbarcode/pdf417/
DBC_PDF417.cpp507 int32_t cluster = y % 3; in encodeLowLevel() local
512 if (cluster == 0) { in encodeLowLevel()
515 } else if (cluster == 1) { in encodeLowLevel()
522 int32_t pattern = CODEWORD_TABLE[cluster][left]; in encodeLowLevel()
525 pattern = CODEWORD_TABLE[cluster][fullCodewords.GetAt(idx)]; in encodeLowLevel()
532 pattern = CODEWORD_TABLE[cluster][right]; in encodeLowLevel()
/external/webrtc/webrtc/modules/remote_bitrate_estimator/
Dremote_bitrate_estimator_abs_send_time.cc90 Cluster* cluster) { in AddCluster() argument
91 cluster->send_mean_ms /= static_cast<float>(cluster->count); in AddCluster()
92 cluster->recv_mean_ms /= static_cast<float>(cluster->count); in AddCluster()
93 cluster->mean_size /= cluster->count; in AddCluster()
94 clusters->push_back(*cluster); in AddCluster()
/external/e2fsprogs/e2fsck/
Dpass1b.c57 blk64_t cluster; member
93 static int check_if_fs_cluster(e2fsck_t ctx, blk64_t cluster);
119 static void add_dupe(e2fsck_t ctx, ext2_ino_t ino, blk64_t cluster, in add_dupe() argument
128 n = dict_lookup(&clstr_dict, INT_TO_VOIDPTR(cluster)); in add_dupe()
136 dict_alloc_insert(&clstr_dict, INT_TO_VOIDPTR(cluster), db); in add_dupe()
164 cluster_el->cluster = cluster; in add_dupe()
488 INT_TO_VOIDPTR(s->cluster)); in pass1d()
494 if (check_if_fs_cluster(ctx, s->cluster)) { in pass1d()
917 static int check_if_fs_cluster(e2fsck_t ctx, blk64_t cluster) in check_if_fs_cluster() argument
928 if (cluster >= EXT2FS_B2C(fs, first_block) && in check_if_fs_cluster()
[all …]
/external/iptables/tests/
Doptions-most.rules12cluster --cluster-local-nodemask 0x00000001 --cluster-total-nodes 2 --cluster-hash-seed 0x00000001…
14 -A INPUT -p tcp -m cluster --cluster-local-nodemask 0x00000001 --cluster-total-nodes 2 --cluster-ha…
15 -A INPUT -p tcp -m cluster --cluster-local-nodemask 0x00000001 --cluster-total-nodes 2 --cluster-ha…
/external/tcpdump/tests/
Dmsnlb.out1 MS NLB heartbeat, host priority: 2, cluster IP: 192.168.100.80, host IP: 192.168.100.82
2 MS NLB heartbeat, host priority: 1, cluster IP: 192.168.100.80, host IP: 192.168.100.81
/external/libgdx/extensions/gdx-bullet/jni/swig-src/softbody/com/badlogic/gdx/physics/bullet/softbody/
DbtSoftClusterCollisionShape.java72 public btSoftClusterCollisionShape(btSoftBody.Cluster cluster) { in btSoftClusterCollisionShape() argument
73 …this(SoftbodyJNI.new_btSoftClusterCollisionShape(btSoftBody.Cluster.getCPtr(cluster), cluster), tr… in btSoftClusterCollisionShape()
/external/harfbuzz_ng/test/shaping/tests/
Dcluster.tests1 fonts/sha1sum/6466d38c62e73a39202435a4f73bf5d6acbb73c0.ttf:--cluster-level=2:U+0078,U+030A,U+0058,U…
2 fonts/sha1sum/43ef465752be9af900745f72fe29cb853a1401a5.ttf:--cluster-level=1:U+05D4,U+05B7,U+05E9,U…
/external/eigen/unsupported/Eigen/src/MatrixFunctions/
DMatrixFunction.h296 … (typename ListOfClusters::const_iterator cluster = m_clusters.begin(); cluster != m_clusters.end(… in computeClusterSize() local
298 if (std::find(cluster->begin(), cluster->end(), diag(i)) != cluster->end()) { in computeClusterSize()
325 Index cluster = m_eivalToCluster[i]; in constructPermutation() local
326 m_permutation[i] = indexNextEntry[cluster]; in constructPermutation()
327 ++indexNextEntry[cluster]; in constructPermutation()
/external/harfbuzz_ng/test/api/
Dtest-buffer.c205 unsigned int cluster; in test_buffer_contents() local
206 cluster = 1+i; in test_buffer_contents()
209 cluster++; in test_buffer_contents()
211 cluster += 3; in test_buffer_contents()
214 g_assert_cmphex (glyphs[i].cluster, ==, cluster); in test_buffer_contents()
239 glyphs[2].cluster = glyphs[1].cluster; in test_buffer_contents()
702 g_assert (glyphs[j].cluster == test->offset); in test_buffer_utf8_validity()
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletSoftBody/
DbtSoftBody.h834 static btVector3 clusterCom(const Cluster* cluster);
835 btVector3 clusterCom(int cluster) const;
837 static btVector3 clusterVelocity(const Cluster* cluster,const btVector3& rpos);
839 static void clusterVImpulse(Cluster* cluster,const btVector3& rpos,const btVector3& impulse);
840 static void clusterDImpulse(Cluster* cluster,const btVector3& rpos,const btVector3& impulse);
841 static void clusterImpulse(Cluster* cluster,const btVector3& rpos,const Impulse& impulse);
842 static void clusterVAImpulse(Cluster* cluster,const btVector3& impulse);
843 static void clusterDAImpulse(Cluster* cluster,const btVector3& impulse);
844 static void clusterAImpulse(Cluster* cluster,const Impulse& impulse);
845 static void clusterDCImpulse(Cluster* cluster,const btVector3& impulse);
/external/libvpx/libvpx/third_party/libwebm/
Dmkvmuxerutil.cpp531 Cluster* cluster) { in WriteFrame() argument
532 if (!writer || !frame || !frame->IsValid() || !cluster || in WriteFrame()
533 !cluster->timecode_scale()) in WriteFrame()
540 const int64 relative_timecode = cluster->GetRelativeTimecode( in WriteFrame()
541 frame->timestamp() / cluster->timecode_scale()); in WriteFrame()
548 cluster->timecode_scale()); in WriteFrame()

12345678910