Home
last modified time | relevance | path

Searched refs:to_idx (Results 1 – 25 of 323) sorted by relevance

12345678910>>...13

/dports/math/oink/oink-c1259fe/src/
H A Dscc.cpp52 for (int to_idx = *curedge; to_idx != -1; to_idx = *++curedge) { in tarjan() local
53 if (disabled[to_idx]) continue; in tarjan()
54 if (low[to_idx] == 0) { in tarjan()
56 st.push(to_idx); in tarjan()
61 if (low[to_idx] < min) min = low[to_idx]; in tarjan()
/dports/devel/rust-analyzer/rust-analyzer-2021-12-20/lib/arena/src/
H A Dmap.rs16 let idx = Self::to_idx(idx); in insert()
25 self.v.get(Self::to_idx(idx)).and_then(|it| it.as_ref()) in get()
31 self.v.get_mut(Self::to_idx(idx)).and_then(|it| it.as_mut()) in get_mut()
49 fn to_idx(idx: Idx<T>) -> usize { in to_idx() method
61 self.v[Self::to_idx(idx)].as_ref().unwrap() in index()
67 self.v[Self::to_idx(idx)].as_mut().unwrap() in index_mut()
/dports/lang/rust/rustc-1.58.1-src/src/tools/rust-analyzer/lib/arena/src/
H A Dmap.rs16 let idx = Self::to_idx(idx); in insert()
25 self.v.get(Self::to_idx(idx)).and_then(|it| it.as_ref()) in get()
31 self.v.get_mut(Self::to_idx(idx)).and_then(|it| it.as_mut()) in get_mut()
49 fn to_idx(idx: Idx<T>) -> usize { in to_idx() method
61 self.v[Self::to_idx(idx)].as_ref().unwrap() in index()
67 self.v[Self::to_idx(idx)].as_mut().unwrap() in index_mut()
/dports/sysutils/istio/istio-1.6.7/vendor/github.com/antlr/antlr4/runtime/Python2/src/antlr4/
H A DTokenStreamRewriter.py64 def replaceRange(self, from_idx, to_idx, text): argument
65 self.replace(self.DEFAULT_PROGRAM_NAME, from_idx, to_idx, text)
73 def replace(self, program_name, from_idx, to_idx, text): argument
74 if any((from_idx > to_idx, from_idx < 0, to_idx < 0, to_idx >= len(self.tokens.tokens))):
76 … 'replace: range invalid: {}..{}(size={})'.format(from_idx, to_idx, len(self.tokens.tokens)))
77 op = self.ReplaceOp(from_idx, to_idx, self.tokens, text)
88 def delete(self, program_name, from_idx, to_idx): argument
90 self.replace(program_name, from_idx.tokenIndex, to_idx.tokenIndex, "")
92 self.replace(program_name, from_idx, to_idx, "")
240 def __init__(self, from_idx, to_idx, tokens, text): argument
[all …]
/dports/sysutils/istio/istio-1.6.7/vendor/github.com/antlr/antlr4/runtime/Python3/src/antlr4/
H A DTokenStreamRewriter.py64 def replaceRange(self, from_idx, to_idx, text): argument
65 self.replace(self.DEFAULT_PROGRAM_NAME, from_idx, to_idx, text)
73 def replace(self, program_name, from_idx, to_idx, text): argument
74 if any((from_idx > to_idx, from_idx < 0, to_idx < 0, to_idx >= len(self.tokens.tokens))):
76 … 'replace: range invalid: {}..{}(size={})'.format(from_idx, to_idx, len(self.tokens.tokens)))
77 op = self.ReplaceOp(from_idx, to_idx, self.tokens, text)
88 def delete(self, program_name, from_idx, to_idx): argument
90 self.replace(program_name, from_idx.tokenIndex, to_idx.tokenIndex, "")
92 self.replace(program_name, from_idx, to_idx, "")
239 def __init__(self, from_idx, to_idx, tokens, text): argument
[all …]
/dports/devel/py-antlr4-python3-runtime/antlr4-python3-runtime-4.9/src/antlr4/
H A DTokenStreamRewriter.py64 def replaceRange(self, from_idx, to_idx, text): argument
65 self.replace(self.DEFAULT_PROGRAM_NAME, from_idx, to_idx, text)
73 def replace(self, program_name, from_idx, to_idx, text): argument
74 if any((from_idx > to_idx, from_idx < 0, to_idx < 0, to_idx >= len(self.tokens.tokens))):
76 … 'replace: range invalid: {}..{}(size={})'.format(from_idx, to_idx, len(self.tokens.tokens)))
77 op = self.ReplaceOp(from_idx, to_idx, self.tokens, text)
88 def delete(self, program_name, from_idx, to_idx): argument
90 self.replace(program_name, from_idx.tokenIndex, to_idx.tokenIndex, "")
92 self.replace(program_name, from_idx, to_idx, "")
239 def __init__(self, from_idx, to_idx, tokens, text): argument
[all …]
/dports/multimedia/gstreamer1-plugins-theora/gst-plugins-base-1.16.2/gst-libs/gst/audio/
H A Daudio-channel-mixer.c303 gint * from_idx, gint * to_idx, gfloat ratio) in gst_audio_channel_mixer_fill_one_other() argument
307 if (from_idx[1] != -1 && to_idx[1] != -1) { in gst_audio_channel_mixer_fill_one_other()
308 matrix[from_idx[1]][to_idx[1]] = ratio; in gst_audio_channel_mixer_fill_one_other()
312 if (from_idx[0] != -1 && to_idx[0] != -1) { in gst_audio_channel_mixer_fill_one_other()
313 matrix[from_idx[0]][to_idx[0]] = ratio; in gst_audio_channel_mixer_fill_one_other()
317 if (from_idx[2] != -1 && to_idx[2] != -1) { in gst_audio_channel_mixer_fill_one_other()
318 matrix[from_idx[2]][to_idx[2]] = ratio; in gst_audio_channel_mixer_fill_one_other()
325 matrix[from_idx[0]][to_idx[1]] = ratio; in gst_audio_channel_mixer_fill_one_other()
332 matrix[from_idx[2]][to_idx[1]] = ratio; in gst_audio_channel_mixer_fill_one_other()
339 matrix[from_idx[1]][to_idx[0]] = ratio; in gst_audio_channel_mixer_fill_one_other()
[all …]
/dports/multimedia/gstreamer1-plugins/gst-plugins-base-1.16.2/gst-libs/gst/audio/
H A Daudio-channel-mixer.c303 gint * from_idx, gint * to_idx, gfloat ratio) in gst_audio_channel_mixer_fill_one_other() argument
307 if (from_idx[1] != -1 && to_idx[1] != -1) { in gst_audio_channel_mixer_fill_one_other()
308 matrix[from_idx[1]][to_idx[1]] = ratio; in gst_audio_channel_mixer_fill_one_other()
312 if (from_idx[0] != -1 && to_idx[0] != -1) { in gst_audio_channel_mixer_fill_one_other()
313 matrix[from_idx[0]][to_idx[0]] = ratio; in gst_audio_channel_mixer_fill_one_other()
317 if (from_idx[2] != -1 && to_idx[2] != -1) { in gst_audio_channel_mixer_fill_one_other()
318 matrix[from_idx[2]][to_idx[2]] = ratio; in gst_audio_channel_mixer_fill_one_other()
325 matrix[from_idx[0]][to_idx[1]] = ratio; in gst_audio_channel_mixer_fill_one_other()
332 matrix[from_idx[2]][to_idx[1]] = ratio; in gst_audio_channel_mixer_fill_one_other()
339 matrix[from_idx[1]][to_idx[0]] = ratio; in gst_audio_channel_mixer_fill_one_other()
[all …]
/dports/audio/gstreamer1-plugins-ogg/gst-plugins-base-1.16.2/gst-libs/gst/audio/
H A Daudio-channel-mixer.c303 gint * from_idx, gint * to_idx, gfloat ratio) in gst_audio_channel_mixer_fill_one_other() argument
307 if (from_idx[1] != -1 && to_idx[1] != -1) { in gst_audio_channel_mixer_fill_one_other()
308 matrix[from_idx[1]][to_idx[1]] = ratio; in gst_audio_channel_mixer_fill_one_other()
312 if (from_idx[0] != -1 && to_idx[0] != -1) { in gst_audio_channel_mixer_fill_one_other()
313 matrix[from_idx[0]][to_idx[0]] = ratio; in gst_audio_channel_mixer_fill_one_other()
317 if (from_idx[2] != -1 && to_idx[2] != -1) { in gst_audio_channel_mixer_fill_one_other()
318 matrix[from_idx[2]][to_idx[2]] = ratio; in gst_audio_channel_mixer_fill_one_other()
325 matrix[from_idx[0]][to_idx[1]] = ratio; in gst_audio_channel_mixer_fill_one_other()
332 matrix[from_idx[2]][to_idx[1]] = ratio; in gst_audio_channel_mixer_fill_one_other()
339 matrix[from_idx[1]][to_idx[0]] = ratio; in gst_audio_channel_mixer_fill_one_other()
[all …]
/dports/audio/gstreamer1-plugins-vorbis/gst-plugins-base-1.16.2/gst-libs/gst/audio/
H A Daudio-channel-mixer.c303 gint * from_idx, gint * to_idx, gfloat ratio) in gst_audio_channel_mixer_fill_one_other() argument
307 if (from_idx[1] != -1 && to_idx[1] != -1) { in gst_audio_channel_mixer_fill_one_other()
308 matrix[from_idx[1]][to_idx[1]] = ratio; in gst_audio_channel_mixer_fill_one_other()
312 if (from_idx[0] != -1 && to_idx[0] != -1) { in gst_audio_channel_mixer_fill_one_other()
313 matrix[from_idx[0]][to_idx[0]] = ratio; in gst_audio_channel_mixer_fill_one_other()
317 if (from_idx[2] != -1 && to_idx[2] != -1) { in gst_audio_channel_mixer_fill_one_other()
318 matrix[from_idx[2]][to_idx[2]] = ratio; in gst_audio_channel_mixer_fill_one_other()
325 matrix[from_idx[0]][to_idx[1]] = ratio; in gst_audio_channel_mixer_fill_one_other()
332 matrix[from_idx[2]][to_idx[1]] = ratio; in gst_audio_channel_mixer_fill_one_other()
339 matrix[from_idx[1]][to_idx[0]] = ratio; in gst_audio_channel_mixer_fill_one_other()
[all …]
/dports/audio/gstreamer1-plugins-opus/gst-plugins-base-1.16.2/gst-libs/gst/audio/
H A Daudio-channel-mixer.c303 gint * from_idx, gint * to_idx, gfloat ratio) in gst_audio_channel_mixer_fill_one_other() argument
307 if (from_idx[1] != -1 && to_idx[1] != -1) { in gst_audio_channel_mixer_fill_one_other()
308 matrix[from_idx[1]][to_idx[1]] = ratio; in gst_audio_channel_mixer_fill_one_other()
312 if (from_idx[0] != -1 && to_idx[0] != -1) { in gst_audio_channel_mixer_fill_one_other()
313 matrix[from_idx[0]][to_idx[0]] = ratio; in gst_audio_channel_mixer_fill_one_other()
317 if (from_idx[2] != -1 && to_idx[2] != -1) { in gst_audio_channel_mixer_fill_one_other()
318 matrix[from_idx[2]][to_idx[2]] = ratio; in gst_audio_channel_mixer_fill_one_other()
325 matrix[from_idx[0]][to_idx[1]] = ratio; in gst_audio_channel_mixer_fill_one_other()
332 matrix[from_idx[2]][to_idx[1]] = ratio; in gst_audio_channel_mixer_fill_one_other()
339 matrix[from_idx[1]][to_idx[0]] = ratio; in gst_audio_channel_mixer_fill_one_other()
[all …]
/dports/audio/gstreamer1-plugins-cdparanoia/gst-plugins-base-1.16.2/gst-libs/gst/audio/
H A Daudio-channel-mixer.c303 gint * from_idx, gint * to_idx, gfloat ratio) in gst_audio_channel_mixer_fill_one_other() argument
307 if (from_idx[1] != -1 && to_idx[1] != -1) { in gst_audio_channel_mixer_fill_one_other()
308 matrix[from_idx[1]][to_idx[1]] = ratio; in gst_audio_channel_mixer_fill_one_other()
312 if (from_idx[0] != -1 && to_idx[0] != -1) { in gst_audio_channel_mixer_fill_one_other()
313 matrix[from_idx[0]][to_idx[0]] = ratio; in gst_audio_channel_mixer_fill_one_other()
317 if (from_idx[2] != -1 && to_idx[2] != -1) { in gst_audio_channel_mixer_fill_one_other()
318 matrix[from_idx[2]][to_idx[2]] = ratio; in gst_audio_channel_mixer_fill_one_other()
325 matrix[from_idx[0]][to_idx[1]] = ratio; in gst_audio_channel_mixer_fill_one_other()
332 matrix[from_idx[2]][to_idx[1]] = ratio; in gst_audio_channel_mixer_fill_one_other()
339 matrix[from_idx[1]][to_idx[0]] = ratio; in gst_audio_channel_mixer_fill_one_other()
[all …]
/dports/x11-toolkits/gstreamer1-plugins-pango/gst-plugins-base-1.16.2/gst-libs/gst/audio/
H A Daudio-channel-mixer.c303 gint * from_idx, gint * to_idx, gfloat ratio) in gst_audio_channel_mixer_fill_one_other() argument
307 if (from_idx[1] != -1 && to_idx[1] != -1) { in gst_audio_channel_mixer_fill_one_other()
308 matrix[from_idx[1]][to_idx[1]] = ratio; in gst_audio_channel_mixer_fill_one_other()
312 if (from_idx[0] != -1 && to_idx[0] != -1) { in gst_audio_channel_mixer_fill_one_other()
313 matrix[from_idx[0]][to_idx[0]] = ratio; in gst_audio_channel_mixer_fill_one_other()
317 if (from_idx[2] != -1 && to_idx[2] != -1) { in gst_audio_channel_mixer_fill_one_other()
318 matrix[from_idx[2]][to_idx[2]] = ratio; in gst_audio_channel_mixer_fill_one_other()
325 matrix[from_idx[0]][to_idx[1]] = ratio; in gst_audio_channel_mixer_fill_one_other()
332 matrix[from_idx[2]][to_idx[1]] = ratio; in gst_audio_channel_mixer_fill_one_other()
339 matrix[from_idx[1]][to_idx[0]] = ratio; in gst_audio_channel_mixer_fill_one_other()
[all …]
/dports/graphics/gstreamer1-plugins-libvisual/gst-plugins-base-1.16.2/gst-libs/gst/audio/
H A Daudio-channel-mixer.c303 gint * from_idx, gint * to_idx, gfloat ratio) in gst_audio_channel_mixer_fill_one_other() argument
307 if (from_idx[1] != -1 && to_idx[1] != -1) { in gst_audio_channel_mixer_fill_one_other()
308 matrix[from_idx[1]][to_idx[1]] = ratio; in gst_audio_channel_mixer_fill_one_other()
312 if (from_idx[0] != -1 && to_idx[0] != -1) { in gst_audio_channel_mixer_fill_one_other()
313 matrix[from_idx[0]][to_idx[0]] = ratio; in gst_audio_channel_mixer_fill_one_other()
317 if (from_idx[2] != -1 && to_idx[2] != -1) { in gst_audio_channel_mixer_fill_one_other()
318 matrix[from_idx[2]][to_idx[2]] = ratio; in gst_audio_channel_mixer_fill_one_other()
325 matrix[from_idx[0]][to_idx[1]] = ratio; in gst_audio_channel_mixer_fill_one_other()
332 matrix[from_idx[2]][to_idx[1]] = ratio; in gst_audio_channel_mixer_fill_one_other()
339 matrix[from_idx[1]][to_idx[0]] = ratio; in gst_audio_channel_mixer_fill_one_other()
[all …]
/dports/graphics/gstreamer1-plugins-gl/gst-plugins-base-1.16.2/gst-libs/gst/audio/
H A Daudio-channel-mixer.c303 gint * from_idx, gint * to_idx, gfloat ratio) in gst_audio_channel_mixer_fill_one_other() argument
307 if (from_idx[1] != -1 && to_idx[1] != -1) { in gst_audio_channel_mixer_fill_one_other()
308 matrix[from_idx[1]][to_idx[1]] = ratio; in gst_audio_channel_mixer_fill_one_other()
312 if (from_idx[0] != -1 && to_idx[0] != -1) { in gst_audio_channel_mixer_fill_one_other()
313 matrix[from_idx[0]][to_idx[0]] = ratio; in gst_audio_channel_mixer_fill_one_other()
317 if (from_idx[2] != -1 && to_idx[2] != -1) { in gst_audio_channel_mixer_fill_one_other()
318 matrix[from_idx[2]][to_idx[2]] = ratio; in gst_audio_channel_mixer_fill_one_other()
325 matrix[from_idx[0]][to_idx[1]] = ratio; in gst_audio_channel_mixer_fill_one_other()
332 matrix[from_idx[2]][to_idx[1]] = ratio; in gst_audio_channel_mixer_fill_one_other()
339 matrix[from_idx[1]][to_idx[0]] = ratio; in gst_audio_channel_mixer_fill_one_other()
[all …]
/dports/x11/gstreamer1-plugins-x/gst-plugins-base-1.16.2/gst-libs/gst/audio/
H A Daudio-channel-mixer.c303 gint * from_idx, gint * to_idx, gfloat ratio) in gst_audio_channel_mixer_fill_one_other() argument
307 if (from_idx[1] != -1 && to_idx[1] != -1) { in gst_audio_channel_mixer_fill_one_other()
308 matrix[from_idx[1]][to_idx[1]] = ratio; in gst_audio_channel_mixer_fill_one_other()
312 if (from_idx[0] != -1 && to_idx[0] != -1) { in gst_audio_channel_mixer_fill_one_other()
313 matrix[from_idx[0]][to_idx[0]] = ratio; in gst_audio_channel_mixer_fill_one_other()
317 if (from_idx[2] != -1 && to_idx[2] != -1) { in gst_audio_channel_mixer_fill_one_other()
318 matrix[from_idx[2]][to_idx[2]] = ratio; in gst_audio_channel_mixer_fill_one_other()
325 matrix[from_idx[0]][to_idx[1]] = ratio; in gst_audio_channel_mixer_fill_one_other()
332 matrix[from_idx[2]][to_idx[1]] = ratio; in gst_audio_channel_mixer_fill_one_other()
339 matrix[from_idx[1]][to_idx[0]] = ratio; in gst_audio_channel_mixer_fill_one_other()
[all …]
/dports/misc/mxnet/incubator-mxnet-1.9.0/example/gluon/lipnet/utils/
H A Dmulti.py79 def put_worker(func, from_idx, to_idx, params, out_q): argument
83 succ, fail = func(from_idx, to_idx, params)
87 def test_worker(from_idx, to_idx, params): argument
94 for idx in range(from_idx, to_idx):
H A Ddownload_data.py28 def download_mp4(from_idx, to_idx, _params): argument
34 for idx in range(from_idx, to_idx):
55 def download_align(from_idx, to_idx, _params): argument
61 for idx in range(from_idx, to_idx):
/dports/misc/py-mxnet/incubator-mxnet-1.9.0/example/gluon/lipnet/utils/
H A Dmulti.py79 def put_worker(func, from_idx, to_idx, params, out_q): argument
83 succ, fail = func(from_idx, to_idx, params)
87 def test_worker(from_idx, to_idx, params): argument
94 for idx in range(from_idx, to_idx):
H A Ddownload_data.py28 def download_mp4(from_idx, to_idx, _params): argument
34 for idx in range(from_idx, to_idx):
55 def download_align(from_idx, to_idx, _params): argument
61 for idx in range(from_idx, to_idx):
/dports/biology/ncbi-cxx-toolkit/ncbi_cxx--25_2_0/src/util/image/
H A Dimage_io_tiff.cpp260 size_t to_idx = to_idx_base + i; in ReadImage() local
266 data[3 * to_idx + 0] = TIFFGetR(pixel); in ReadImage()
267 data[3 * to_idx + 1] = TIFFGetG(pixel); in ReadImage()
268 data[3 * to_idx + 2] = TIFFGetB(pixel); in ReadImage()
275 size_t to_idx = to_idx_base + i; in ReadImage() local
281 data[4 * to_idx + 0] = TIFFGetR(pixel); in ReadImage()
282 data[4 * to_idx + 1] = TIFFGetG(pixel); in ReadImage()
283 data[4 * to_idx + 2] = TIFFGetB(pixel); in ReadImage()
284 data[4 * to_idx + 3] = (unsigned char)TIFFGetA(pixel); in ReadImage()
/dports/devel/libsigrok/libsigrok-0.5.2/src/
H A Dserial_hid_victor.c95 size_t idx, to_idx; in victor_unobfuscate() local
125 to_idx = VICTOR_DMM_PACKET_LENGTH - 1 - shuffle[idx]; in victor_unobfuscate()
126 ret_buf[to_idx] = bit_reverse(rx_buf[idx] - obfuscation[idx]); in victor_unobfuscate()
/dports/science/py-pymatgen/pymatgen-2022.0.15/pymatgen/command_line/
H A Dcritic2_caller.py548 to_idx = edge["to_idx"]
567 struct_to_idx = point_idx_to_struct_idx.get(to_idx, to_idx)
657 to_idx=int(p["attractors"][1]["cell_id"]) - 1,
855 to_idx = int(l[10]) - 1
860 to_idx=to_idx,
876 def _add_edge(self, idx, from_idx, from_lvec, to_idx, to_lvec): argument
902 "to_idx": to_idx,
/dports/math/cvc4/CVC4-1.7/src/theory/arith/
H A Dtableau.cpp158 RowIndex to_idx = basicToRowIndex(to); in substitutePlusTimesConstant() local
159 addEntry(to_idx, from, mult); // Add an entry to be cancelled out in substitutePlusTimesConstant()
162 cb.update(to_idx, from, 0, mult.sgn()); in substitutePlusTimesConstant()
165 rowPlusBufferTimesConstant(to_idx, mult, cb); in substitutePlusTimesConstant()
/dports/devel/ncnf/ncnf-3.0.1/src/
H A Dncnf_coll.c138 int to_idx, from_idx; in _ncnf_coll_join() local
161 for(to_idx = to->entries, from_idx = 0; in _ncnf_coll_join()
163 to_idx++, from_idx++) { in _ncnf_coll_join()
165 to->entry[to_idx] = from->entry[from_idx]; in _ncnf_coll_join()
167 to->entry[to_idx].object->parent = parent; in _ncnf_coll_join()

12345678910>>...13