/dports/math/singular/Singular-Release-4-2-1/ppcc/adlib/ |
H A D | test5.cc | 15 Map<Str *, Int> *to_i = new Map<Str *, Int>(); in Main() local 22 to_i->add(s, i); in Main() 25 Check(to_i->count() == n && to_s->count() == n, "map sizes"); in Main() 26 to_i->union_in_place(to_i); in Main() 27 Check(to_i->count() == n, "map union"); in Main() 28 to_i->intersect_in_place(to_i); in Main() 29 Check(to_i->count() == n, "map intersection"); in Main() 30 Map<Str *, Int> *aux = to_i->diff_with(to_i); in Main() 32 Check(to_i->keys()->len() == to_i->values()->len(), "keys & values"); in Main() 38 if (!s || to_i->get(s, -1) == -1) in Main() [all …]
|
/dports/databases/elixir-calecto/calecto-0.16.0/lib/calecto/ |
H A D | time.ex | 26 from_parts(to_i(hour), to_i(min), to_i(sec)) 34 do: from_parts(to_i(hour), to_i(min), to_i(sec)) 36 do: from_parts(to_i(hour), to_i(min), 0) 38 do: from_parts(to_i(hour), to_i(min), to_i(sec)) 40 do: from_parts(to_i(hour), to_i(min), 0) 42 do: from_parts(to_i(hour), to_i(min), to_i(sec)) 44 do: from_parts(to_i(hour), to_i(min), to_i(sec), to_i(usec))
|
H A D | naive_date_time.ex | 27 from_parts(to_i(year), to_i(month), to_i(day), 28 to_i(hour), to_i(min), to_i(sec), usec(rest)) 38 from_parts(to_i(year), to_i(month), to_i(day), 39 to_i(hour), to_i(min), to_i(sec), to_i(usec)) 42 from_parts(to_i(year), to_i(month), to_i(day), 43 to_i(hour), to_i(min), to_i(sec), to_i(usec))
|
H A D | date_time_utc.ex | 27 from_parts(to_i(year), to_i(month), to_i(day), 28 to_i(hour), to_i(min), to_i(sec), usec(rest)) 37 from_erl({{to_i(year), to_i(month), to_i(day)}, 38 {to_i(hour), to_i(min), to_i(sec), to_i(usec)}}) 41 from_erl({{to_i(year), to_i(month), to_i(day)}, 42 {to_i(hour), to_i(min), to_i(sec), to_i(usec)}})
|
H A D | date_time.ex | 29 Calendar.DateTime.from_erl({{to_i(year), to_i(month), to_i(day)}, 30 {to_i(hour), to_i(min), to_i(sec)}}, timezone, to_i(usec)) 34 Calendar.DateTime.from_erl({{to_i(year), to_i(month), to_i(day)}, 35 {to_i(hour), to_i(min), to_i(sec)}}, timezone, to_i(usec))
|
H A D | date.ex | 24 do: from_parts(to_i(year), to_i(month), to_i(day)) 28 do: from_parts(to_i(year), to_i(month), to_i(day)) 30 do: from_parts(to_i(year), to_i(month), to_i(day))
|
/dports/databases/elixir-ecto/ecto-2.2.10/lib/ecto/ |
H A D | date_time.ex | 144 do: from_parts(to_i(year), to_i(month), to_i(day)) 147 do: from_parts(to_i(year), to_i(month), to_i(day)) 155 do: from_parts(to_i(year), to_i(month), to_i(day)) 157 do: from_parts(to_i(year), to_i(month), to_i(day)) 159 do: from_parts(to_i(year), to_i(month), to_i(day)) 298 do: from_parts(to_i(hour), to_i(min), to_i(sec), to_i(usec)) 462 from_parts(to_i(year), to_i(month), to_i(day), 468 from_parts(to_i(year), to_i(month), to_i(day), 484 from_parts(to_i(year), to_i(month), to_i(day), 490 from_parts(to_i(year), to_i(month), to_i(day), [all …]
|
/dports/devel/distcc/distcc-3.3.5/src/ |
H A D | strip.c | 68 int from_i, to_i; in dcc_strip_local_args() local 81 for (from_i = to_i = 0; from[from_i]; from_i++) { in dcc_strip_local_args() 128 to[to_i++] = from[from_i]; in dcc_strip_local_args() 133 to[to_i] = NULL; in dcc_strip_local_args() 153 int from_i, to_i; in dcc_strip_dasho() local 166 for (from_i = to_i = 0; from[from_i]; ) { in dcc_strip_dasho() 176 to[to_i++] = from[from_i++]; in dcc_strip_dasho() 181 to[to_i] = NULL; in dcc_strip_dasho()
|
/dports/security/vaultwarden/vaultwarden-1.23.1/cargo-crates/parse-zoneinfo-0.3.0/src/ |
H A D | transitions.rs | 405 let mut to_i = 0; in optimise() localVariable 408 if to_i > 1 { in optimise() 410 let to = transitions.rest[to_i - 1].0; in optimise() 411 if from + transitions.rest[to_i - 1].1.total_offset() in optimise() 412 <= to + transitions.rest[to_i - 2].1.total_offset() in optimise() 414 transitions.rest[to_i - 1].1 = transitions.rest[from_i].1.clone(); in optimise() 420 if to_i == 0 || transitions.rest[to_i - 1].1 != transitions.rest[from_i].1 { in optimise() 421 transitions.rest[to_i] = transitions.rest[from_i].clone(); in optimise() 422 to_i += 1; in optimise() 428 transitions.rest.truncate(to_i); in optimise()
|
/dports/devel/tokei/tokei-12.1.2/cargo-crates/parse-zoneinfo-0.3.0/src/ |
H A D | transitions.rs | 405 let mut to_i = 0; in optimise() localVariable 408 if to_i > 1 { in optimise() 410 let to = transitions.rest[to_i - 1].0; in optimise() 411 if from + transitions.rest[to_i - 1].1.total_offset() in optimise() 412 <= to + transitions.rest[to_i - 2].1.total_offset() in optimise() 414 transitions.rest[to_i - 1].1 = transitions.rest[from_i].1.clone(); in optimise() 420 if to_i == 0 || transitions.rest[to_i - 1].1 != transitions.rest[from_i].1 { in optimise() 421 transitions.rest[to_i] = transitions.rest[from_i].clone(); in optimise() 422 to_i += 1; in optimise() 428 transitions.rest.truncate(to_i); in optimise()
|
/dports/devel/grcov/grcov-0.8.2/cargo-crates/parse-zoneinfo-0.3.0/src/ |
H A D | transitions.rs | 405 let mut to_i = 0; in optimise() localVariable 408 if to_i > 1 { in optimise() 410 let to = transitions.rest[to_i - 1].0; in optimise() 411 if from + transitions.rest[to_i - 1].1.total_offset() in optimise() 412 <= to + transitions.rest[to_i - 2].1.total_offset() in optimise() 414 transitions.rest[to_i - 1].1 = transitions.rest[from_i].1.clone(); in optimise() 420 if to_i == 0 || transitions.rest[to_i - 1].1 != transitions.rest[from_i].1 { in optimise() 421 transitions.rest[to_i] = transitions.rest[from_i].clone(); in optimise() 422 to_i += 1; in optimise() 428 transitions.rest.truncate(to_i); in optimise()
|
/dports/sysutils/onefetch/onefetch-2.10.2/cargo-crates/parse-zoneinfo-0.3.0/src/ |
H A D | transitions.rs | 405 let mut to_i = 0; in optimise() localVariable 408 if to_i > 1 { in optimise() 410 let to = transitions.rest[to_i - 1].0; in optimise() 411 if from + transitions.rest[to_i - 1].1.total_offset() in optimise() 412 <= to + transitions.rest[to_i - 2].1.total_offset() in optimise() 414 transitions.rest[to_i - 1].1 = transitions.rest[from_i].1.clone(); in optimise() 420 if to_i == 0 || transitions.rest[to_i - 1].1 != transitions.rest[from_i].1 { in optimise() 421 transitions.rest[to_i] = transitions.rest[from_i].clone(); in optimise() 422 to_i += 1; in optimise() 428 transitions.rest.truncate(to_i); in optimise()
|
/dports/www/zola/zola-0.15.2/cargo-crates/parse-zoneinfo-0.3.0/src/ |
H A D | transitions.rs | 405 let mut to_i = 0; in optimise() localVariable 408 if to_i > 1 { in optimise() 410 let to = transitions.rest[to_i - 1].0; in optimise() 411 if from + transitions.rest[to_i - 1].1.total_offset() in optimise() 412 <= to + transitions.rest[to_i - 2].1.total_offset() in optimise() 414 transitions.rest[to_i - 1].1 = transitions.rest[from_i].1.clone(); in optimise() 420 if to_i == 0 || transitions.rest[to_i - 1].1 != transitions.rest[from_i].1 { in optimise() 421 transitions.rest[to_i] = transitions.rest[from_i].clone(); in optimise() 422 to_i += 1; in optimise() 428 transitions.rest.truncate(to_i); in optimise()
|
/dports/textproc/angle-grinder/angle-grinder-0.18.0/cargo-crates/parse-zoneinfo-0.3.0/src/ |
H A D | transitions.rs | 405 let mut to_i = 0; in optimise() localVariable 408 if to_i > 1 { in optimise() 410 let to = transitions.rest[to_i - 1].0; in optimise() 411 if from + transitions.rest[to_i - 1].1.total_offset() in optimise() 412 <= to + transitions.rest[to_i - 2].1.total_offset() in optimise() 414 transitions.rest[to_i - 1].1 = transitions.rest[from_i].1.clone(); in optimise() 420 if to_i == 0 || transitions.rest[to_i - 1].1 != transitions.rest[from_i].1 { in optimise() 421 transitions.rest[to_i] = transitions.rest[from_i].clone(); in optimise() 422 to_i += 1; in optimise() 428 transitions.rest.truncate(to_i); in optimise()
|
/dports/sysutils/flowgger/flowgger-0.2.10/cargo-crates/parse-zoneinfo-0.2.1/src/ |
H A D | transitions.rs | 405 let mut to_i = 0; in optimise() localVariable 408 if to_i > 1 { in optimise() 410 let to = transitions.rest[to_i - 1].0; in optimise() 411 if from + transitions.rest[to_i - 1].1.total_offset() in optimise() 412 <= to + transitions.rest[to_i - 2].1.total_offset() in optimise() 414 transitions.rest[to_i - 1].1 = transitions.rest[from_i].1.clone(); in optimise() 420 if to_i == 0 || transitions.rest[to_i - 1].1 != transitions.rest[from_i].1 { in optimise() 421 transitions.rest[to_i] = transitions.rest[from_i].clone(); in optimise() 422 to_i += 1; in optimise() 428 transitions.rest.truncate(to_i); in optimise()
|
/dports/biology/ncbi-cxx-toolkit/ncbi_cxx--25_2_0/src/app/read_blast_result/ |
H A D | read_trna.cpp | 55 int from_i=0, to_i=0; in ReadTRNA2() local 73 case 8: to_i = atoi(token); break; in ReadTRNA2() 84 reverse=to_i<from_i; in ReadTRNA2() 85 if(reverse) {int t=to_i; to_i=from_i;from_i=t; } in ReadTRNA2() 103 ext_rna.exons[1].from=to_i+1; in ReadTRNA2()
|
/dports/cad/nvc/nvc-r1.5.3/test/regress/ |
H A D | alias9.vhd | 6 function to_i(x : bit) return integer is function 15 function to_i(x : character) return integer is function 26 alias bit_to_i is to_i [bit return integer]; alias 27 alias char_to_i is to_i [character return integer]; alias
|
/dports/games/freeminer/freeminer-0.4.10.4/src/ |
H A D | inventorymanager.cpp | 170 to_i = stoi(ts); in IMoveAction() 238 to_list, to_i, try_take_count, player); in apply() 271 to_list, to_i, try_take_count, player); in apply() 282 to_inv.p, to_list, to_i, src_item, player); in apply() 316 <<" i="<<to_i in apply() 353 list_to->deleteItem(to_i); in apply() 354 list_to->addItem(to_i, to_stack_was); in apply() 367 <<" i="<<to_i in apply() 418 to_list, to_i, count, player); in apply() 445 to_list, to_i, count, player); in apply() [all …]
|
/dports/games/minetest/minetest-5.4.1/src/ |
H A D | inventorymanager.cpp | 153 to_i = stoi(ts); in IMoveAction() 161 std::swap(from_i, to_i); in swapDirections() 282 s16 old_to_i = to_i; in apply() 302 to_i = dest_i; in apply() 312 to_i = dest_i; in apply() 318 to_i = old_to_i; in apply() 325 if ((u16)to_i > list_to->getSize()) { in apply() 327 << "to_i=" << to_i in apply() 454 <<" i="<<to_i in apply() 504 list_to->deleteItem(to_i); in apply() [all …]
|
/dports/math/highs/HiGHS-cfe064e/check/ |
H A D | TestRanging.cpp | 116 int to_i; in testRanging() local 119 to_i = numCol; in testRanging() 122 to_i = from_i + 1; in testRanging() 124 for (int i = from_i; i < to_i; i++) { in testRanging() 215 to_i = numCol; in testRanging() 218 to_i = from_i + 1; in testRanging() 220 for (int i = from_i; i < to_i; i++) { in testRanging() 352 to_i = numRow; in testRanging() 355 to_i = from_i + 1; in testRanging() 357 for (int i = from_i; i < to_i; i++) { in testRanging()
|
/dports/audio/klystrack/klystrack-1.7.6-make-fix-12-gfe6e746/src/ |
H A D | theme.c | 127 int from_i, to_i; in load_colors() local 141 for (to_i = 0 ; to_i < NUM_COLORS ; ++to_i) in load_colors() 143 if (strcasecmp(names[to_i], name) == 0) in load_colors() 145 colors[to_i] = color; in load_colors() 150 if (to_i >= NUM_COLORS) warning("Unknown color name '%s'", name); in load_colors() 154 colors[to_i] = colors[from_i]; in load_colors()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/tint/src/src/writer/spirv/ |
H A D | builder.cc | 509 auto func_id = func_op.to_i(); in GenerateFunction() 619 auto var_id = result.to_i(); in GenerateFunctionVariable() 685 auto var_id = result.to_i(); in GenerateGlobalVariable() 925 auto result_id = result.to_i(); in GenerateMemberAccessor() 1062 auto result_id = result.to_i(); in GenerateLoadIfNeeded() 1070 auto result_id = result.to_i(); in GenerateUnaryOpExpression() 1109 auto id = result.to_i(); in GenerateGLSLstd450Import() 1341 return result.to_i(); in GenerateTypeConstructorExpression() 1484 auto block_id = block.to_i(); in GenerateShortCircuitBinaryExpression() 1952 return sampled_image.to_i(); in GenerateSampledImage() [all …]
|
/dports/biology/sra-tools/sra-tools-2.11.0/ncbi-vdb/libs/kdb/ |
H A D | rowset-it.c_old | 119 int to_i; 137 to_i = LEAF_DATA_SZ_BT; 142 to_i = -1; 146 for ( i = from_i; i != to_i; i += step ) 169 int to_i; 189 to_i = len; 193 to_i = -1; 196 for ( i = from_i; i != to_i; i += step )
|
/dports/biology/ncbi-vdb/ncbi-vdb-2.11.0/libs/kdb/ |
H A D | rowset-it.c_old | 119 int to_i; 137 to_i = LEAF_DATA_SZ_BT; 142 to_i = -1; 146 for ( i = from_i; i != to_i; i += step ) 169 int to_i; 189 to_i = len; 193 to_i = -1; 196 for ( i = from_i; i != to_i; i += step )
|
/dports/games/minetest/minetest-5.4.1/src/script/cpp_api/ |
H A D | s_inventory.cpp | 46 lua_pushinteger(L, ma.to_i + 1); // to_index in detached_inventory_AllowMove() 73 lua_pushinteger(L, ma.to_i + 1); // index in detached_inventory_AllowPut() 130 lua_pushinteger(L, ma.to_i + 1); // to_index in detached_inventory_OnMove() 154 lua_pushinteger(L, ma.to_i + 1); // index in detached_inventory_OnPut()
|