Home
last modified time | relevance | path

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

123456789

/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/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.cc441 if (hb_glyph[i].cluster != hb_glyph[i-1].cluster) in helper_cairo_line_from_buffer()
474 unsigned int cluster = 0; in helper_cairo_line_from_buffer() local
476 l->clusters[cluster].num_glyphs++; in helper_cairo_line_from_buffer()
479 if (hb_glyph[i].cluster != hb_glyph[i+1].cluster) { in helper_cairo_line_from_buffer()
480 g_assert (hb_glyph[i].cluster > hb_glyph[i+1].cluster); in helper_cairo_line_from_buffer()
482 end = start + hb_glyph[i].cluster - hb_glyph[i+1].cluster; in helper_cairo_line_from_buffer()
484 end = g_utf8_offset_to_pointer (start, hb_glyph[i].cluster - hb_glyph[i+1].cluster); in helper_cairo_line_from_buffer()
485 l->clusters[cluster].num_bytes = end - start; in helper_cairo_line_from_buffer()
487 cluster++; in helper_cairo_line_from_buffer()
489 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 …]
Dwebmdec.h25 const void *cluster; member
/external/harfbuzz_ng/src/
Dhb-buffer.cc216 unsigned int cluster) in add() argument
227 glyph->cluster = cluster; in add()
436 if (cluster_start <= info[i].cluster && info[i].cluster < cluster_end) in set_masks()
489 last_cluster = info[0].cluster; in reverse_clusters()
491 if (last_cluster != info[i].cluster) { in reverse_clusters()
494 last_cluster = info[i].cluster; in reverse_clusters()
511 unsigned int cluster = info[start].cluster; in merge_clusters() local
514 cluster = MIN (cluster, info[i].cluster); in merge_clusters()
517 while (end < len && info[end - 1].cluster == info[end].cluster) in merge_clusters()
521 while (idx < start && info[start - 1].cluster == info[start].cluster) in merge_clusters()
[all …]
Dhb-coretext.cc644 unsigned int cluster = buffer->info[i].cluster; in _hb_coretext_shape() local
645 log_clusters[chars_len++] = cluster; in _hb_coretext_shape()
647 log_clusters[chars_len++] = cluster; /* Surrogates. */ in _hb_coretext_shape()
897 info->cluster = log_clusters[j]; in _hb_coretext_shape()
955 info->cluster = log_clusters[string_indices[j]]; in _hb_coretext_shape()
1047 unsigned int cluster = info[count - 1].cluster; in _hb_coretext_shape() local
1050 cluster = MIN (cluster, info[i - 1].cluster); in _hb_coretext_shape()
1051 info[i - 1].cluster = cluster; in _hb_coretext_shape()
1056 unsigned int cluster = info[0].cluster; in _hb_coretext_shape() local
1059 cluster = MIN (cluster, info[i].cluster); in _hb_coretext_shape()
[all …]
Dsample.py47 cluster = info.cluster variable
52 print("gid%d=%d@%d,%d+%d" % (gid, cluster, x_advance, x_offset, y_offset))
Dhb-graphite2.cc212 unsigned int cluster; member
303 clusters[0].cluster = buffer->info[0].cluster; in _hb_graphite2_shape()
321 c->cluster = buffer->info[c->base_char].cluster; in _hb_graphite2_shape()
341 info->cluster = clusters[i].cluster; in _hb_graphite2_shape()
Dhb-buffer-deserialize-text.hh389 { if (!parse_uint (tok, p, &info.cluster )) return false; } in _hb_buffer_deserialize_glyphs_text()
433 { if (!parse_uint (tok, p, &info.cluster )) return false; } in _hb_buffer_deserialize_glyphs_text()
510 { if (!parse_uint (tok, p, &info.cluster )) return false; } in _hb_buffer_deserialize_glyphs_text()
Dhb-buffer-deserialize-text.rl62 action parse_cluster { if (!parse_uint (tok, p, &info.cluster )) return false; }
75 cluster = '=' (unum >tok %parse_cluster);
81 cluster?
Dhb-buffer-deserialize-json.rl63 action parse_cluster { if (!parse_uint (tok, p, &info.cluster )) return false; }
82 cluster = "\"cl\"" colon (unum >tok %parse_cluster);
88 element = glyph | cluster | xoffset | yoffset | xadvance | yadvance;
Dhb-buffer.h47 uint32_t cluster; member
233 unsigned int cluster);
Dhb-buffer-deserialize-json.hh533 { if (!parse_uint (tok, p, &info.cluster )) return false; } in _hb_buffer_deserialize_glyphs_json()
565 { if (!parse_uint (tok, p, &info.cluster )) return false; } in _hb_buffer_deserialize_glyphs_json()
/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/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/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/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/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()
DRELEASE.TXT15 * Changed cluster count type from size_t to long
17 * Allowed seeking beyond end of cluster cache
Dmkvmuxer.cpp2264 Cluster* const cluster = cluster_list_[i]; in ~Segment() local
2265 delete cluster; in ~Segment()
2531 const Cluster* const cluster = cluster_list_[cluster_list_size_ - 1]; in AddCuePoint() local
2532 if (!cluster) in AddCuePoint()
2540 cue->set_block_number(cluster->blocks_added()); in AddCuePoint()
2541 cue->set_cluster_pos(cluster->position_for_cues()); in AddCuePoint()
2667 Cluster* const cluster = cluster_list_[cluster_list_size_ - 1]; in AddGenericFrame() local
2668 if (!cluster) in AddGenericFrame()
2685 if (!cluster->AddFrame(frame)) in AddGenericFrame()
3007 Cluster*& cluster = cluster_list_[cluster_list_size_]; in MakeNewCluster() local
[all …]
/external/kernel-headers/original/uapi/linux/
Dtipc.h64 unsigned int cluster, in tipc_addr() argument
67 return (zone << 24) | (cluster << 12) | node; in tipc_addr()

123456789