Debian Codegraph @

lib/progress.c

raw symbols SCIP
1 /*
2 Copyright (C) 2022 Sutou Kouhei <[email protected]>
3
4 This library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Lesser General Public
6 License as published by the Free Software Foundation; either
7 version 2.1 of the License, or (at your option) any later version.
8
9 This library is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 Lesser General Public License for more details.
13
14 You should have received a copy of the GNU Lesser General Public
15 License along with this library; if not, write to the Free Software
16 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17 */
18
19 #include "grn_progress.h"cxx . . $ `<file>/lib/grn_progress.h`/
20
21 grn_progress_typecxx . . $ grn_progress_type#
22 grn_progress_get_typecxx . . $ grn_progress_get_type(d61db92b322e68f8).(grn_ctxcxx . . $ grn_ctx# *ctx, grn_progresscxx . . $ grn_progress# *progress)
23 {
24 return progress->typecxx . . $ _grn_progress#type.;
25 }
26
27 grn_progress_index_phasecxx . . $ grn_progress_index_phase#
28 grn_progress_index_get_phasecxx . . $ grn_progress_index_get_phase(238e0e40c52734c9).(grn_ctxcxx . . $ grn_ctx# *ctx, grn_progresscxx . . $ grn_progress# *progress)
29 {
30 if (progress->typecxx . . $ _grn_progress#type. != GRN_PROGRESS_INDEXcxx . . $ GRN_PROGRESS_INDEX.) {
31 return 0;
32 }
33 return progress->valuecxx . . $ _grn_progress#value..indexcxx . . $ _grn_progress#$anonymous_type_0#index..phasecxx . . $ _grn_progress#$anonymous_type_0#$anonymous_type_1#phase.;
34 }
35
36 uint32_tcxx . . $ uint32_t#
37 grn_progress_index_get_n_target_recordscxx . . $ grn_progress_index_get_n_target_records(35fe5430731f69d0).(grn_ctxcxx . . $ grn_ctx# *ctx, grn_progresscxx . . $ grn_progress# *progress)
38 {
39 if (progress->typecxx . . $ _grn_progress#type. != GRN_PROGRESS_INDEXcxx . . $ GRN_PROGRESS_INDEX.) {
40 return 0;
41 }
42 return progress->valuecxx . . $ _grn_progress#value..indexcxx . . $ _grn_progress#$anonymous_type_0#index..n_target_recordscxx . . $ _grn_progress#$anonymous_type_0#$anonymous_type_1#n_target_records.;
43 }
44
45 uint32_tcxx . . $ uint32_t#
46 grn_progress_index_get_n_processed_recordscxx . . $ grn_progress_index_get_n_processed_records(35fe5430731f69d0).(grn_ctxcxx . . $ grn_ctx# *ctx, grn_progresscxx . . $ grn_progress# *progress)
47 {
48 if (progress->typecxx . . $ _grn_progress#type. != GRN_PROGRESS_INDEXcxx . . $ GRN_PROGRESS_INDEX.) {
49 return 0;
50 }
51 return progress->valuecxx . . $ _grn_progress#value..indexcxx . . $ _grn_progress#$anonymous_type_0#index..n_processed_recordscxx . . $ _grn_progress#$anonymous_type_0#$anonymous_type_1#n_processed_records.;
52 }
53
54 uint32_tcxx . . $ uint32_t#
55 grn_progress_index_get_n_target_termscxx . . $ grn_progress_index_get_n_target_terms(35fe5430731f69d0).(grn_ctxcxx . . $ grn_ctx# *ctx, grn_progresscxx . . $ grn_progress# *progress)
56 {
57 if (progress->typecxx . . $ _grn_progress#type. != GRN_PROGRESS_INDEXcxx . . $ GRN_PROGRESS_INDEX.) {
58 return 0;
59 }
60 return progress->valuecxx . . $ _grn_progress#value..indexcxx . . $ _grn_progress#$anonymous_type_0#index..n_target_termscxx . . $ _grn_progress#$anonymous_type_0#$anonymous_type_1#n_target_terms.;
61 }
62
63 uint32_tcxx . . $ uint32_t#
64 grn_progress_index_get_n_processed_termscxx . . $ grn_progress_index_get_n_processed_terms(35fe5430731f69d0).(grn_ctxcxx . . $ grn_ctx# *ctx, grn_progresscxx . . $ grn_progress# *progress)
65 {
66 if (progress->typecxx . . $ _grn_progress#type. != GRN_PROGRESS_INDEXcxx . . $ GRN_PROGRESS_INDEX.) {
67 return 0;
68 }
69 return progress->valuecxx . . $ _grn_progress#value..indexcxx . . $ _grn_progress#$anonymous_type_0#index..n_processed_termscxx . . $ _grn_progress#$anonymous_type_0#$anonymous_type_1#n_processed_terms.;
70 }
71
72 uint32_tcxx . . $ uint32_t#
73 grn_progress_language_model_inferencer_get_n_processed_recordscxx . . $ grn_progress_language_model_inferencer_get_n_processed_records(35fe5430731f69d0).(grn_ctxcxx . . $ grn_ctx# *ctx, grn_progresscxx . . $ grn_progress# *progress)
74 {
75 if (progress->typecxx . . $ _grn_progress#type. != GRN_PROGRESS_LANGUAGE_MODEL_INFERENCERcxx . . $ GRN_PROGRESS_LANGUAGE_MODEL_INFERENCER.) {
76 return 0;
77 }
78 return progress->valuecxx . . $ _grn_progress#value..language_model_inferencercxx . . $ _grn_progress#$anonymous_type_0#language_model_inferencer..n_processed_recordscxx . . $ _grn_progress#$anonymous_type_0#$anonymous_type_2#n_processed_records.;
79 }