Home
last modified time | relevance | path

Searched refs:NUM_STRINGS (Results 1 – 25 of 57) sorted by relevance

123

/dports/graphics/p5-Cairo/Cairo-1.109/examples/png/
H A Dtext-rotate.pl11 NUM_STRINGS => 3, constant
30 for (my $i = 0; $i < NUM_STRINGS; $i++) {
31 my $angle = $i * 0.5 * M_PI / (NUM_STRINGS - 1);
50 for (my $i = 0; $i < NUM_STRINGS; $i++) {
51 my $angle = $i * 0.5 * M_PI / (NUM_STRINGS - 1);
74 for (my $i = 0; $i < NUM_STRINGS; $i++) {
75 my $angle = $i * 0.5 * M_PI / (NUM_STRINGS - 1);
/dports/astro/oskar/OSKAR-2.8.0/oskar/utility/test/
H A DTest_string_to_array.cpp15 #define NUM_STRINGS 5 macro
131 char *list[NUM_STRINGS]; in TEST()
133 size_t filled = oskar_string_to_array_s(line, NUM_STRINGS, list); in TEST()
140 char *list[NUM_STRINGS]; in TEST()
142 size_t filled = oskar_string_to_array_s(line, NUM_STRINGS, list); in TEST()
149 char *list[NUM_STRINGS]; in TEST()
151 size_t filled = oskar_string_to_array_s(line, NUM_STRINGS, list); in TEST()
166 char *list[NUM_STRINGS]; in TEST()
168 size_t filled = oskar_string_to_array_s(line, NUM_STRINGS, list); in TEST()
175 char *list[NUM_STRINGS]; in TEST()
[all …]
/dports/devel/allegro/allegro-4.4.3.1/addons/allegrogl/examp/
H A Dextext.c14 #define NUM_STRINGS 3 macro
52 } coord[NUM_STRINGS]; in main()
116 for (i = 0; i < NUM_STRINGS; i++) { in main()
154 for (i = 0; i < NUM_STRINGS; i++) { in main()
159 for (i = 0; i < NUM_STRINGS; i++) { in main()
161 float angle2 = angle + i * M_PI * 2 / NUM_STRINGS; in main()
/dports/www/firefox-esr/firefox-91.8.0/js/src/jsapi-tests/
H A DtestSharedImmutableStringsCache.cpp18 const int NUM_STRINGS = 4; variable
19 const char16_t* const STRINGS[NUM_STRINGS] = {u"uno", u"dos", u"tres",
32 auto str = STRINGS[cacheAndIndex->index % NUM_STRINGS]; in getString()
/dports/www/firefox/firefox-99.0/js/src/jsapi-tests/
H A DtestSharedImmutableStringsCache.cpp18 const int NUM_STRINGS = 4; variable
19 const char16_t* const STRINGS[NUM_STRINGS] = {u"uno", u"dos", u"tres",
32 auto str = STRINGS[cacheAndIndex->index % NUM_STRINGS]; in getString()
/dports/mail/thunderbird/thunderbird-91.8.0/js/src/jsapi-tests/
H A DtestSharedImmutableStringsCache.cpp18 const int NUM_STRINGS = 4; variable
19 const char16_t* const STRINGS[NUM_STRINGS] = {u"uno", u"dos", u"tres",
32 auto str = STRINGS[cacheAndIndex->index % NUM_STRINGS]; in getString()
/dports/www/firefox-legacy/firefox-52.8.0esr/js/src/jsapi-tests/
H A DtestSharedImmutableStringsCache.cpp17 const int NUM_STRINGS = 4; variable
18 const char16_t *const STRINGS[NUM_STRINGS] = {
40 auto str = STRINGS[cacheAndIndex->index % NUM_STRINGS]; in getString()
/dports/lang/spidermonkey60/firefox-60.9.0/js/src/jsapi-tests/
H A DtestSharedImmutableStringsCache.cpp18 const int NUM_STRINGS = 4; variable
19 const char16_t* const STRINGS[NUM_STRINGS] = {u"uno", u"dos", u"tres",
32 auto str = STRINGS[cacheAndIndex->index % NUM_STRINGS]; in getString()
/dports/lang/spidermonkey78/firefox-78.9.0/js/src/jsapi-tests/
H A DtestSharedImmutableStringsCache.cpp18 const int NUM_STRINGS = 4; variable
19 const char16_t* const STRINGS[NUM_STRINGS] = {u"uno", u"dos", u"tres",
32 auto str = STRINGS[cacheAndIndex->index % NUM_STRINGS]; in getString()
/dports/devel/avro-c/avro-c-1.11.0/tests/
H A Dperformance.c122 static const unsigned int NUM_STRINGS = in test_nested_record_datum() local
143 strings[i % NUM_STRINGS], NULL); in test_nested_record_datum()
206 static const unsigned int NUM_STRINGS = in test_nested_record_value_by_index() local
238 avro_wrapped_buffer_new_string(&wbuf, strings[i % NUM_STRINGS]); in test_nested_record_value_by_index()
310 static const unsigned int NUM_STRINGS = in test_nested_record_value_by_name() local
342 avro_wrapped_buffer_new_string(&wbuf, strings[i % NUM_STRINGS]); in test_nested_record_value_by_name()
532 static const unsigned int NUM_STRINGS = in populate_complex_record() local
544 avro_wrapped_buffer_new_string(&wbuf, strings[i % NUM_STRINGS]); in populate_complex_record()
/dports/sysutils/fluent-bit/fluent-bit-1.8.11/lib/avro/tests/
H A Dperformance.c122 static const unsigned int NUM_STRINGS = in test_nested_record_datum() local
143 strings[i % NUM_STRINGS], NULL); in test_nested_record_datum()
206 static const unsigned int NUM_STRINGS = in test_nested_record_value_by_index() local
238 avro_wrapped_buffer_new_string(&wbuf, strings[i % NUM_STRINGS]); in test_nested_record_value_by_index()
310 static const unsigned int NUM_STRINGS = in test_nested_record_value_by_name() local
342 avro_wrapped_buffer_new_string(&wbuf, strings[i % NUM_STRINGS]); in test_nested_record_value_by_name()
532 static const unsigned int NUM_STRINGS = in populate_complex_record() local
544 avro_wrapped_buffer_new_string(&wbuf, strings[i % NUM_STRINGS]); in populate_complex_record()
/dports/devel/ncurses/ncurses-6.3/include/
H A Dterm_entry.h59 #define NUM_STRINGS(tp) (tp)->num_Strings macro
64 #define NUM_STRINGS(tp) STRCOUNT
72 #define for_each_string(n,tp) for(n = 0; n < NUM_STRINGS(tp); n++)
77 #define for_each_ext_string(n,tp) for(n = STRCOUNT; (int) n < (int) NUM_STRINGS(tp); n++)
/dports/editors/le/le-1.16.6/src/
H A Dkeynames.cc350 #define NUM_STRINGS(tp) ((tp)->num_Strings) in MakeCodeNameTableExt() macro
359 if(NUM_STRINGS(tp)<=STRCOUNT) in MakeCodeNameTableExt()
361 CodeNameTableExt=(CodeName*)malloc(sizeof(CodeName)*(NUM_STRINGS(tp)-STRCOUNT)); in MakeCodeNameTableExt()
365 for(int n=STRCOUNT; n<NUM_STRINGS(tp); n++) in MakeCodeNameTableExt()
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/test/jdk/java/util/List/
H A DListFactories.java59 static final int NUM_STRINGS = 20; // should be larger than the largest fixed-arg overload field in ListFactories
62 String[] sa = new String[NUM_STRINGS];
63 for (int i = 0; i < NUM_STRINGS; i++) {
134 a(List.of(stringArray).subList(5, NUM_STRINGS), in sublists()
135 asList(Arrays.copyOfRange(stringArray, 5, NUM_STRINGS))) in sublists()
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/test/jdk/java/util/List/
H A DListFactories.java59 static final int NUM_STRINGS = 20; // should be larger than the largest fixed-arg overload field in ListFactories
62 String[] sa = new String[NUM_STRINGS];
63 for (int i = 0; i < NUM_STRINGS; i++) {
134 a(List.of(stringArray).subList(5, NUM_STRINGS), in sublists()
135 asList(Arrays.copyOfRange(stringArray, 5, NUM_STRINGS))) in sublists()
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/test/jdk/java/util/List/
H A DListFactories.java59 static final int NUM_STRINGS = 20; // should be larger than the largest fixed-arg overload field in ListFactories
62 String[] sa = new String[NUM_STRINGS];
63 for (int i = 0; i < NUM_STRINGS; i++) {
134 a(List.of(stringArray).subList(5, NUM_STRINGS), in sublists()
135 asList(Arrays.copyOfRange(stringArray, 5, NUM_STRINGS))) in sublists()
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/test/jdk/java/util/List/
H A DListFactories.java59 static final int NUM_STRINGS = 20; // should be larger than the largest fixed-arg overload field in ListFactories
62 String[] sa = new String[NUM_STRINGS];
63 for (int i = 0; i < NUM_STRINGS; i++) {
134 a(List.of(stringArray).subList(5, NUM_STRINGS), in sublists()
135 asList(Arrays.copyOfRange(stringArray, 5, NUM_STRINGS))) in sublists()
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/test/jdk/java/util/List/
H A DListFactories.java59 static final int NUM_STRINGS = 20; // should be larger than the largest fixed-arg overload field in ListFactories
62 String[] sa = new String[NUM_STRINGS];
63 for (int i = 0; i < NUM_STRINGS; i++) {
134 a(List.of(stringArray).subList(5, NUM_STRINGS), in sublists()
135 asList(Arrays.copyOfRange(stringArray, 5, NUM_STRINGS))) in sublists()
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/test/jdk/java/util/List/
H A DListFactories.java60 static final int NUM_STRINGS = 20; // should be larger than the largest fixed-arg overload field in ListFactories
63 String[] sa = new String[NUM_STRINGS];
64 for (int i = 0; i < NUM_STRINGS; i++) {
135 a(List.of(stringArray).subList(5, NUM_STRINGS), in sublists()
136 asList(Arrays.copyOfRange(stringArray, 5, NUM_STRINGS))) in sublists()
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/test/jdk/java/util/List/
H A DListFactories.java59 static final int NUM_STRINGS = 20; // should be larger than the largest fixed-arg overload field in ListFactories
62 String[] sa = new String[NUM_STRINGS];
63 for (int i = 0; i < NUM_STRINGS; i++) {
134 a(List.of(stringArray).subList(5, NUM_STRINGS), in sublists()
135 asList(Arrays.copyOfRange(stringArray, 5, NUM_STRINGS))) in sublists()
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/test/jdk/java/util/List/
H A DListFactories.java60 static final int NUM_STRINGS = 20; // should be larger than the largest fixed-arg overload field in ListFactories
63 String[] sa = new String[NUM_STRINGS];
64 for (int i = 0; i < NUM_STRINGS; i++) {
135 a(List.of(stringArray).subList(5, NUM_STRINGS), in sublists()
136 asList(Arrays.copyOfRange(stringArray, 5, NUM_STRINGS))) in sublists()
/dports/irc/ezbounce/ezbounce-1.99.15/include/
H A Ddcc_offer.h39 NUM_STRINGS enumerator
43 util::managed_table<std::string, NUM_STRINGS> data;
/dports/devel/onetbb/oneTBB-2021.4.0/src/tbb/
H A Dprofiling.cpp53 __TBB_ASSERT(idx < NUM_STRINGS, "string handle out of valid range"); in ITT_get_string_handle()
54 return idx < NUM_STRINGS ? strings_for_itt[idx].itt_str_handle : NULL; in ITT_get_string_handle()
67 for ( std::uintptr_t i = 0; i < NUM_STRINGS; ++i ) { in ITT_init_strings()
/dports/cad/ngspice_rework/ngspice-35/src/frontend/
H A Dsvg.c35 #define NUM_STRINGS 3 macro
39 char *strings[NUM_STRINGS];
148 while (i < NUM_STRINGS && vb) { in SVG_Init()
341 for (i = 0; i < NUM_STRINGS; i++) in SVG_Close()
/dports/devel/texlab/texlab-3.3.0/cargo-crates/lexical-sort-0.3.1/benches/
H A Dcomparing.rs54 static NUM_STRINGS: [&str; 100] = [ const
196 bench_all_functions(&mut group, &NUM_STRINGS); in compare_numbers()

123