Home
last modified time | relevance | path

Searched refs:mc (Results 1 – 25 of 371) sorted by relevance

12345678910>>...15

/third_party/ejdb/src/bindings/ejdb2_flutter/ios/Classes/
DSwiftEjdb2FlutterPlugin.swift125 func execute(_ mc: DbMethodCall, _ block: @escaping (_: DbMethodCall) throws -> Void) {
128 try block(mc)
130 mc.errorOnMainThread("@ejdb IWRC:\(error.code)", error.message)
132 mc.errorOnMainThread("@ejdb", "\(error)")
149 let mc = DbMethodCall(dbe: dbe, args: args, result: result) in handle() variable
153 execute(mc, get) in handle()
156 execute(mc, put) in handle()
159 execute(mc, patch) in handle()
162 execute(mc, del) in handle()
165 execute(mc, info) in handle()
[all …]
/third_party/ejdb/src/bindings/ejdb2_flutter/android/src/main/java/com/softmotions/ejdb2/
DEjdb2FlutterPlugin.java128 private static void executeFirst(DbMethodCall mc) throws Exception { in executeFirst() argument
129 executeListImpl(mc, 1L); in executeFirst()
132 private static void executeList(DbMethodCall mc) throws Exception { in executeList() argument
133 executeListImpl(mc, null); in executeList()
136 private static void executeListImpl(DbMethodCall mc, Long limit) throws Exception { in executeListImpl() argument
137 prepareQuery(mc, (q, hook) -> { in executeListImpl()
147 mc.successOnMainThread(res); in executeListImpl()
151 private static void executeScalarInt(DbMethodCall mc) throws Exception { in executeScalarInt() argument
152 prepareQuery(mc, (q, hook) -> { in executeScalarInt()
154 mc.successOnMainThread(res); in executeScalarInt()
[all …]
/third_party/boost/libs/math/example/
Dnaive_monte_carlo_example.cpp62 naive_monte_carlo<double, decltype(g)> mc(g, bounds, 0.001); in main() local
64 auto task = mc.integrate(); in main()
70 display_progress(mc.progress(), in main()
71 mc.current_error_estimate(), in main()
72 mc.current_estimate(), in main()
73 mc.estimated_time_to_completion()); in main()
77 mc.cancel(); in main()
82 display_progress(mc.progress(), in main()
83 mc.current_error_estimate(), in main()
84 mc.current_estimate(), in main()
[all …]
/third_party/boost/tools/build/src/tools/
Dmc.jam24 type.register MC : mc ;
28 feature mc-input-encoding : ansi unicode : free ;
29 feature mc-output-encoding : unicode ansi : free ;
30 feature mc-set-customer-bit : no yes : free ;
32 flags mc.compile MCFLAGS <mc-input-encoding>ansi : -a ;
33 flags mc.compile MCFLAGS <mc-input-encoding>unicode : -u ;
34 flags mc.compile MCFLAGS <mc-output-encoding>ansi : -A ;
35 flags mc.compile MCFLAGS <mc-output-encoding>unicode : -U ;
36 flags mc.compile MCFLAGS <mc-set-customer-bit>no : ;
37 flags mc.compile MCFLAGS <mc-set-customer-bit>yes : -c ;
[all …]
Dclang-win.jam27 generators.override clang-win.compile.mc : mc.compile ;
62 # <mc-compiler>mc.exe
140 local mc-compiler = [ get-option "mc-compiler" : $(addr) : $(options) ] ;
154 mc-compiler ?= "\"$(sdk-path)\\mc.exe\"" ;
161 mc-compiler ?= mc.exe ;
166 .notice "$(addr):" "using mc-compiler '$(mc-compiler)'" ;
178 toolset.flags clang-win.compile .MC $(cond) : $(mc-compiler) ;
/third_party/gettext/gettext-tools/tests/
Dmsgcmp-47 cat <<\EOF > mc-test4.pot
45 cat <<\EOF > mc-test4.po1
89 ${MSGCMP} --use-fuzzy mc-test4.po1 mc-test4.pot > mc-test4.out11 2>&1 || Exit 1
90 if grep -v '^==' mc-test4.out11 | grep -v 'warning:' > /dev/null; then
97 ${MSGCMP} mc-test4.po1 mc-test4.pot > mc-test4.out12 2>&1
99 grep -v '^==' mc-test4.out12 | grep -v 'warning:' > /dev/null || Exit 1
101 cat <<\EOF > mc-test4.po2
147 ${MSGCMP} mc-test4.po2 mc-test4.pot > mc-test4.out2 2>&1 || Exit 1
148 if grep -v '^==' mc-test4.out2 | grep -v 'warning:' > /dev/null; then
Dmsgcmp-36 cat <<EOF > mc-test3.in1
13 cat <<EOF > mc-test3.in2
21mc-test3.in1 mc-test3.in2 2>&1 | grep -v '^==' | sed -e 's|[^ ]*\\msgcmp\.exe|msgcmp|' -e 's|^msgc…
23 cat <<EOF > mc-test3.ok
24 mc-test3.in2:1: this message is used but not defined...
25 mc-test3.in1:3: ...but this definition is similar
26 mc-test3.in1:4: warning: this message is not used
31 ${DIFF} mc-test3.ok mc-test3.out
Dmsgcmp-26 cat <<EOF > mc-test2.in1
13 cat <<EOF > mc-test2.in2
21mc-test2.in1 mc-test2.in2 2>&1 | grep -v '^==' | sed -e 's|[^ ]*\\msgcmp\.exe|msgcmp|' -e 's|^msgc…
23 cat <<EOF > mc-test2.ok
24 mc-test2.in2:1: this message is used but not defined...
25 mc-test2.in1:3: ...but this definition is similar
26 mc-test2.in1:4: warning: this message is not used
31 ${DIFF} mc-test2.ok mc-test2.out
Dmsgcmp-16 cat <<EOF > mc-test1.in1
12 cat <<EOF > mc-test1.in2
19 ${MSGCMP} mc-test1.in1 mc-test1.in2 > /dev/null 2>&1
/third_party/python/Lib/idlelib/idle_test/
Dtest_multicall.py16 cls.mc = multicall.MultiCallCreator(Text)
20 del cls.mc
28 mc = self.mc
29 self.assertIs(multicall._multicall_dict[Text], mc)
30 self.assertTrue(issubclass(mc, Text))
32 self.assertIs(mc, mc2)
35 mctext = self.mc(self.root)
41 mc = self.mc
42 self.assertIs(mc.yview, Text.yview)
43 mctext = self.mc(self.root)
/third_party/gstreamer/gstplugins_bad/ext/opencv/
Dmotioncells_wrapper.cpp62 MotionCells *mc; variable
68 mc = new MotionCells (); in motion_cells_init()
71 tmpmc.mc = mc; in motion_cells_init()
96 return motioncellsvector.at (idx).mc->performDetectionMotionCells (p_image, in perform_detection_motion_cells()
113 motioncellsvector.at (idx).mc->setPrevFrame (p_prevFrame); in setPrevFrame()
122 return motioncellsvector.at (idx).mc->getMotionCellsIdx (); in getMotionCellsIdx()
133 return motioncellsvector.at (idx).mc->getMotionCellsIdxCount (); in getMotionCellsIdxCnt()
144 return motioncellsvector.at (idx).mc->getChangedDataFile (); in getChangedDataFile()
168 return motioncellsvector.at (idx).mc->getDatafileInitFailed (); in getInitDataFileFailed()
179 return motioncellsvector.at (idx).mc->getDatafileSaveFailed (); in getSaveDataFileFailed()
[all …]
/third_party/boost/libs/math/test/
Dnaive_monte_carlo_test.cpp40 naive_monte_carlo<Real, decltype(g)> mc(g, bounds, error_goal, in test_pi_multithreaded() local
42 auto task = mc.integrate(); in test_pi_multithreaded()
45 std::cout << "Error in estimation of pi too high, function calls: " << mc.calls() << "\n"; in test_pi_multithreaded()
46 std::cout << "Final error estimate : " << mc.current_error_estimate() << "\n"; in test_pi_multithreaded()
68 naive_monte_carlo<Real, decltype(g)> mc(g, bounds, error_goal, in test_pi() local
70 auto task = mc.integrate(); in test_pi()
74 std::cout << "Error in estimation of pi too high, function calls: " << mc.calls() << "\n"; in test_pi()
75 std::cout << "Final error estimate : " << mc.current_error_estimate() << "\n"; in test_pi()
92 naive_monte_carlo<Real, decltype(g)> mc(g, bounds, (Real) 0.0001, in test_constant() local
95 auto task = mc.integrate(); in test_constant()
[all …]
/third_party/pulseaudio/src/tests/
Dlfe-filter-test.c86 pa_memchunk mc; in lfe_filter_rewind_test() local
101 mc.memblock = generate_data_block(lft, i * ONE_BLOCK_SAMPLES * fz); in lfe_filter_rewind_test()
102 mc.length = pa_memblock_get_length(mc.memblock); in lfe_filter_rewind_test()
103 mc.index = 0; in lfe_filter_rewind_test()
104 pa_lfe_filter_process(lft->lf, &mc); in lfe_filter_rewind_test()
105 save_data_block(lft, outptr + i * ONE_BLOCK_SAMPLES * fz, mc.memblock); in lfe_filter_rewind_test()
106 pa_memblock_unref(mc.memblock); in lfe_filter_rewind_test()
111 mc.memblock = generate_data_block(lft, pos); in lfe_filter_rewind_test()
112 mc.length = pa_memblock_get_length(mc.memblock); in lfe_filter_rewind_test()
113 mc.index = 0; in lfe_filter_rewind_test()
[all …]
/third_party/node/test/parallel/
Dtest-eventtarget-memoryleakwarning.js55 const mc = new MessageChannel(); constant
56 setMaxListeners(2, mc.port1);
57 mc.port1.addEventListener('foo', () => {});
58 mc.port1.addEventListener('foo', () => {});
59 mc.port1.addEventListener('foo', () => {});
65 const mc = new MessageChannel(); constant
66 mc.port1.addEventListener('foo', () => {});
67 mc.port1.addEventListener('foo', () => {});
68 mc.port1.addEventListener('foo', () => {});
Dtest-perf-hooks-histogram.js40 const mc = new MessageChannel(); constant
41 mc.port1.onmessage = common.mustCall(({ data }) => {
53 mc.port1.close();
55 mc.port2.postMessage(h);
61 const mc = new MessageChannel(); constant
62 mc.port1.onmessage = common.mustCall(({ data }) => {
67 mc.port1.close();
69 setTimeout(() => mc.port2.postMessage(e), 100);
Dtest-blocklist-clone.js20 const mc = new MessageChannel(); constant
22 mc.port1.onmessage = common.mustCall(({ data }) => {
31 mc.port1.close();
34 mc.port2.postMessage(blocklist);
/third_party/ffmpeg/libavcodec/
Dvp9_mc_template.c58 mc_luma_dir(td, mc[3][b->filter][0], td->dst[0], ls_y, in FN()
61 mc_luma_dir(td, mc[3][b->filter][0], in FN()
69 mc_chroma_dir(td, mc[3 + s->ss_h][b->filter][0], in FN()
76 mc_chroma_dir(td, mc[3 + s->ss_h][b->filter][0], in FN()
90 mc_chroma_dir(td, mc[3 + s->ss_h][b->filter][0], in FN()
99 mc_luma_dir(td, mc[3][b->filter][1], td->dst[0], ls_y, in FN()
102 mc_luma_dir(td, mc[3][b->filter][1], in FN()
110 mc_chroma_dir(td, mc[3 + s->ss_h][b->filter][1], in FN()
117 mc_chroma_dir(td, mc[3 + s->ss_h][b->filter][1], in FN()
131 mc_chroma_dir(td, mc[3 + s->ss_h][b->filter][1], in FN()
[all …]
/third_party/alsa-lib/src/topology/
Dctl.c741 struct snd_soc_tplg_mixer_control *mc; in tplg_parse_control_mixer() local
754 mc = elem->mixer_ctrl; in tplg_parse_control_mixer()
755 snd_strlcpy(mc->hdr.name, elem->id, SNDRV_CTL_ELEM_ID_NAME_MAXLEN); in tplg_parse_control_mixer()
756 mc->hdr.type = SND_SOC_TPLG_TYPE_MIXER; in tplg_parse_control_mixer()
757 mc->size = elem->size; in tplg_parse_control_mixer()
762 mc->channel[j].reg = -1; in tplg_parse_control_mixer()
779 if (mc->num_channels >= SND_SOC_TPLG_MAX_CHAN) { in tplg_parse_control_mixer()
785 mc->channel); in tplg_parse_control_mixer()
789 mc->num_channels = tplg->channel_idx; in tplg_parse_control_mixer()
797 mc->max = ival; in tplg_parse_control_mixer()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/number/
DScale.java34 final MathContext mc; field in Scale
40 private Scale(int magnitude, BigDecimal arbitrary, MathContext mc) { in Scale() argument
57 this.mc = mc; in Scale()
61 this.reciprocal = BigDecimal.ONE.divide(arbitrary, mc); in Scale()
161 public Scale withMathContext(MathContext mc) { in withMathContext() argument
163 if (this.mc.equals(mc)) { in withMathContext()
166 return new Scale(magnitude, arbitrary, mc); in withMathContext()
190 quantity.roundToMagnitude(quantity.getMagnitude() - mc.getPrecision(), mc); in applyReciprocalTo() local
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
DScale.java33 final MathContext mc; field in Scale
39 private Scale(int magnitude, BigDecimal arbitrary, MathContext mc) { in Scale() argument
56 this.mc = mc; in Scale()
60 this.reciprocal = BigDecimal.ONE.divide(arbitrary, mc); in Scale()
165 public Scale withMathContext(MathContext mc) { in withMathContext() argument
167 if (this.mc.equals(mc)) { in withMathContext()
170 return new Scale(magnitude, arbitrary, mc); in withMathContext()
194 quantity.roundToMagnitude(quantity.getMagnitude() - mc.getPrecision(), mc); in applyReciprocalTo() local
/third_party/python/Modules/
D_operator.c1487 methodcallerobject *mc; in methodcaller_new() local
1505 mc = PyObject_GC_New(methodcallerobject, (PyTypeObject *)state->methodcaller_type); in methodcaller_new()
1506 if (mc == NULL) { in methodcaller_new()
1513 mc->name = name; in methodcaller_new()
1516 mc->kwds = kwds; in methodcaller_new()
1518 mc->args = PyTuple_GetSlice(args, 1, PyTuple_GET_SIZE(args)); in methodcaller_new()
1519 if (mc->args == NULL) { in methodcaller_new()
1520 Py_DECREF(mc); in methodcaller_new()
1524 PyObject_GC_Track(mc); in methodcaller_new()
1525 return (PyObject *)mc; in methodcaller_new()
[all …]
/third_party/boost/libs/geometry/index/test/rtree/exceptions/
Dtest_throwing.hpp57 static void set_max_calls(size_t mc) { get_max_calls_ref() = mc; } in set_max_calls()
60 …atic size_t & get_max_calls_ref() { static size_t mc = (std::numeric_limits<size_t>::max)(); retur… in get_max_calls_ref() local
97 static void set_max_calls(size_t mc) { get_max_calls_ref() = mc; } in set_max_calls()
100 …atic size_t & get_max_calls_ref() { static size_t mc = (std::numeric_limits<size_t>::max)(); retur… in get_max_calls_ref() local
/third_party/curl/docs/examples/
Dmulti-single.c69 CURLMcode mc = curl_multi_perform(multi_handle, &still_running); in main() local
71 if(!mc) in main()
73 mc = curl_multi_poll(multi_handle, NULL, 0, 1000, NULL); in main()
75 if(mc) { in main()
76 fprintf(stderr, "curl_multi_poll() failed, code %d.\n", (int)mc); in main()
/third_party/boost/libs/numeric/ublas/doc/samples/
Dmatrix_column.cpp21 matrix_column<matrix<double> > mc (m, j); in main() local
22 for (unsigned i = 0; i < mc.size (); ++ i) in main()
23 mc (i) = 3 * i + j; in main()
24 std::cout << mc << std::endl; in main()
/third_party/protobuf/objectivec/DevTools/
Dpddm_tests.py204 mc = pddm.MacroCollection(f)
224 result = mc.Expand(input_str)
235 mc = pddm.MacroCollection(f)
237 self.assertEqual(mc.Expand('bar(xYz)'), 'xYz- -xYz-xyz-XYz-XYZ')
238 self.assertEqual(mc.Expand('bar(MnoP)'), 'MnoP- -mnoP-mnop-MnoP-MNOP')
240 self.assertEqual(mc.Expand('bar()'), '-----')
249 mc = pddm.MacroCollection(f)
269 result = mc.Expand(input_str)
288 mc = pddm.MacroCollection(f)
301 self.assertEqual(mc.Expand('StartIt()'), expected)
[all …]

12345678910>>...15