Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VKCOM/kphp
/ functions
Functions
17,654 in github.com/VKCOM/kphp
⨍
Functions
17,654
◇
Types & classes
5,411
↓ 1 callers
Function
gCallMethod
* @kphp-generic T * @param class-string<T> $c */
tests/phpt/by_name/103_by_name_private_1.php:24
↓ 1 callers
Function
gCallMethod
* @kphp-generic T * @param class-string<T> $c */
tests/phpt/by_name/102_get_unresolved.php:26
↓ 1 callers
Function
gCtor
* @kphp-generic T * @param class-string<T> $c */
tests/phpt/by_name/103_by_name_private_1.php:18
↓ 1 callers
Function
gCtor
* @kphp-generic T * @param class-string<T> $c */
tests/phpt/by_name/102_get_unresolved.php:20
↓ 1 callers
Function
gGetConst
* @kphp-generic T * @param class-string<T> $c */
tests/phpt/by_name/102_get_unresolved.php:32
↓ 1 callers
Function
gGetConst
* @kphp-generic T * @param class-string<T> $c */
tests/phpt/by_name/103_by_name_private_2.php:17
↓ 1 callers
Function
gGetField
* @kphp-generic T * @param class-string<T> $c */
tests/phpt/by_name/103_by_name_private_1.php:30
↓ 1 callers
Function
gGetField
* @kphp-generic T * @param class-string<T> $c */
tests/phpt/by_name/102_get_unresolved.php:38
↓ 1 callers
Function
gcd
($a, $b = 60)
tests/phpt/dl/666_test.php:3
↓ 1 callers
Function
gen_anonymous_scope_name
compiler/name-gen.cpp:18
↓ 1 callers
Function
gen_array_fetch
vkext/vkext-rpc-tl-serialization.cpp:3853
↓ 1 callers
Function
gen_array_store
vkext/vkext-rpc-tl-serialization.cpp:3822
↓ 1 callers
Function
gen_case_calling_methods_on_derived_class
compiler/pipes/generate-virtual-methods.cpp:274
↓ 1 callers
Function
gen_case_on_hash
compiler/pipes/generate-virtual-methods.cpp:269
↓ 1 callers
Function
gen_field_excl_store
vkext/vkext-rpc-tl-serialization.cpp:4107
↓ 1 callers
Function
gen_function_fetch
vkext/vkext-rpc-tl-serialization.cpp:4523
↓ 1 callers
Function
gen_function_store
vkext/vkext-rpc-tl-serialization.cpp:4306
↓ 1 callers
Function
gen_int
($n)
tests/phpt/dl/948_hashmap.php:45
↓ 1 callers
Function
gen_php_code
common/tl2php/gen-php-code.cpp:773
↓ 1 callers
Function
gen_php_tests
common/tl2php/gen-php-tests.cpp:238
↓ 1 callers
Function
gen_random
($n)
tests/benchmarks/BenchmarkBasic.php:17
↓ 1 callers
Function
gen_rpc_function_classes
common/tl2php/gen-php-code.cpp:661
↓ 1 callers
Function
gen_rpc_type_classes
common/tl2php/gen-php-code.cpp:723
↓ 1 callers
Function
gen_tests_for_classes
common/tl2php/gen-php-tests.cpp:178
↓ 1 callers
Function
gen_uni_arg
vkext/vkext-rpc-tl-serialization.cpp:3640
↓ 1 callers
Function
generate_body_of_empty_virtual_method
when there are no implementations of an interface, we could generate an empty body for a method that is just { return defaultT(); } of a return type i
compiler/pipes/generate-virtual-methods.cpp:354
↓ 1 callers
Function
generate_body_of_virtual_method
* generated AST for virtual methods will be like this: * * function virtual_function($param1, ...) { * switch ($this->get_virt_hash()) { * cas
compiler/pipes/generate-virtual-methods.cpp:402
↓ 1 callers
Function
generate_call_of_self_method
compiler/pipes/generate-virtual-methods.cpp:37
↓ 1 callers
Function
generate_cartesian_comparison
(elements, cmp_op)
tests/phpt/dl/457_eq2_gen.py:42
↓ 1 callers
Function
generate_compare_test
()
tests/phpt/dl/457_eq2_gen.py:64
↓ 1 callers
Function
generate_comparison_with_mixed
(elements, cmp_op)
tests/phpt/dl/457_eq2_gen.py:30
↓ 1 callers
Function
generate_constructor_for_lambda_class
this function creates the __construct() method in a lambda class function($x) use ($a) implicitly created a class Lambda$xxx { public $a; }, and here
compiler/lambda-utils.cpp:246
↓ 1 callers
Function
generate_critical_error_call
compiler/pipes/generate-virtual-methods.cpp:54
↓ 1 callers
Function
generate_default_value_of_type
we can't express "return default of ReturnT", something like 'return {}' in C++ code that's why, we accept most common cases — "return 0" for int, "re
compiler/pipes/generate-virtual-methods.cpp:314
↓ 1 callers
Function
generate_header
()
tests/phpt/dl/457_eq2_gen.py:3
↓ 1 callers
Function
generate_instance_cast_to_call
compiler/pipes/generate-virtual-methods.cpp:26
↓ 1 callers
Method
generate_instantiated_name
compiler/data/generics-mixins.cpp:259
↓ 1 callers
Function
generate_interface_from_typed_callable
having a typed callable, like "callable(int):void', we generate an interface, with the only method __invoke(int $arg1): void {} at the moment, it has
compiler/lambda-utils.cpp:322
↓ 1 callers
Function
generate_invoke_method_for_lambda_class
this function creates the __invoke() method in a lambda class, that calls a lambda function function($x) use ($a) was turned into lambda$xxx($a, $x) t
compiler/lambda-utils.cpp:202
↓ 1 callers
Function
generate_lambda_class_construct_call_replacing_op_lambda
this function creates the __construct() invocation in a place where a lambda was used $f = function($x) use($a) { ... }; at first was converted to $f
compiler/lambda-utils.cpp:306
↓ 1 callers
Function
generate_lambda_class_wrapping_lambda_function
this function creates a lambda class with fields from uses_list, with __invoke() re-calling f_lambda and with __construct() initing fields
compiler/lambda-utils.cpp:270
↓ 1 callers
Method
generate_random
runtime/math_functions.cpp:101
↓ 1 callers
Method
generate_rules
(self)
compiler/rewrite-rules/impl/rules_generator.py:100
↓ 1 callers
Function
generate_temporary_name
runtime-light/server/http/multipart/details/parts-processing.cpp:57
↓ 1 callers
Function
generic_event_loop
server/php-engine.cpp:1444
↓ 1 callers
Function
geoComputeGeoNum
($longitude_degrees, $latitude_degrees)
tests/phpt/dl/952_cfg.php:92
↓ 1 callers
Method
get
@return string */
tests/phpt/interfaces/signature_compatibility/iface_return_orfalse.php:11
↓ 1 callers
Function
get2Instances
* @return shape(a:\Classes\A, b:\Classes\B, n:int, s:string) */
tests/phpt/shapes/003_instances_in_shape.php:19
↓ 1 callers
Function
get2Instances
* @return tuple(int, string, \Classes\A, \Classes\B) */
tests/phpt/tup/003_instances_in_tuple.php:20
↓ 1 callers
Function
getA
@return Classes\A */
tests/phpt/cl/139_class_inside_fork.php:9
↓ 1 callers
Function
getA0
this all now works even without return typehints
tests/phpt/cl/198_assumptions_nohint_concurrent.php:7
↓ 1 callers
Function
getA1
@return A */
tests/phpt/phpdocs/026_mix_assum_and_subkey.php:19
↓ 1 callers
Function
getA1
()
tests/phpt/phpdocs/030_hint_but_always_throw.php:26
↓ 1 callers
Function
getA1
* @return A[] */
tests/phpt/cl/171_multidim_assumptions.php:25
↓ 1 callers
Function
getA1
these functions are processed in parallel by different threads, but they have interdependencies also this test checks how it works with multithreading
tests/phpt/cl/198_assumptions_nohint_concurrent.php:12
↓ 1 callers
Function
getA1
()
tests/phpt/cl/199_assumptions_nohint_recurse_error.php:8
↓ 1 callers
Function
getA10
()
tests/phpt/cl/198_assumptions_nohint_concurrent.php:21
↓ 1 callers
Function
getA11
()
tests/phpt/cl/198_assumptions_nohint_concurrent.php:22
↓ 1 callers
Function
getA13
()
tests/phpt/cl/198_assumptions_nohint_concurrent.php:24
↓ 1 callers
Function
getA14
()
tests/phpt/cl/198_assumptions_nohint_concurrent.php:25
↓ 1 callers
Function
getA15
()
tests/phpt/cl/198_assumptions_nohint_concurrent.php:26
↓ 1 callers
Function
getA16
()
tests/phpt/cl/198_assumptions_nohint_concurrent.php:27
↓ 1 callers
Function
getA17
()
tests/phpt/cl/198_assumptions_nohint_concurrent.php:28
↓ 1 callers
Function
getA18
()
tests/phpt/cl/198_assumptions_nohint_concurrent.php:29
↓ 1 callers
Function
getA19
()
tests/phpt/cl/198_assumptions_nohint_concurrent.php:30
↓ 1 callers
Function
getA2
@return tuple(int, ?A) */
tests/phpt/phpdocs/026_mix_assum_and_subkey.php:21
↓ 1 callers
Function
getA2
()
tests/phpt/phpdocs/030_hint_but_always_throw.php:31
↓ 1 callers
Function
getA2
* @return A[][] */
tests/phpt/cl/171_multidim_assumptions.php:42
↓ 1 callers
Function
getA2
()
tests/phpt/cl/198_assumptions_nohint_concurrent.php:13
↓ 1 callers
Function
getA3
()
tests/phpt/cl/198_assumptions_nohint_concurrent.php:14
↓ 1 callers
Function
getA4
()
tests/phpt/cl/198_assumptions_nohint_concurrent.php:15
↓ 1 callers
Function
getA6
()
tests/phpt/cl/198_assumptions_nohint_concurrent.php:17
↓ 1 callers
Function
getA7
()
tests/phpt/cl/198_assumptions_nohint_concurrent.php:18
↓ 1 callers
Function
getA8
()
tests/phpt/cl/198_assumptions_nohint_concurrent.php:19
↓ 1 callers
Function
getA9
()
tests/phpt/cl/198_assumptions_nohint_concurrent.php:20
↓ 1 callers
Function
getAArr
@return Classes\A [] */
tests/phpt/cl/139_class_inside_fork.php:17
↓ 1 callers
Function
getAArr
@return A [] */
tests/phpt/cl/108_list_phpdoc.php:12
↓ 1 callers
Function
getAArr
* @return A[] */
tests/phpt/cl/103_return_phpdoc.php:23
↓ 1 callers
Function
getAArrOrFalse
* @return A[] | false */ * @param bool $returnFalse * @return A[]|false */
tests/phpt/cl/103_return_phpdoc.php:111
↓ 1 callers
Function
getAll
* @return shape(items:mixed[][], desc:string, count:int) */
tests/phpt/shapes/002_shape_return.php:8
↓ 1 callers
Function
getAll
* @return tuple(int, string, mixed[][]) */
tests/phpt/shapes/005_nested_tuple.php:8
↓ 1 callers
Function
getAll
* @return tuple(int, string, mixed[][]) */
tests/phpt/tup/005_assign_to_list.php:9
↓ 1 callers
Function
getAll
* @return tuple(int, string, mixed[][]) */
tests/phpt/tup/002_tuple_return.php:8
↓ 1 callers
Function
getAllAndA
* @return tuple(int, string, mixed[][], \Classes\A) */
tests/phpt/tup/005_assign_to_list.php:23
↓ 1 callers
Function
getAllIdeas
()
tests/phpt/cl/156_recursive_assumptions_fail.php:10
↓ 1 callers
Method
getAmount
()
tests/phpt/json/37_json_float_read.php:11
↓ 1 callers
Function
getArr
@return A[] */
tests/phpt/phpdocs/030_hint_but_always_throw.php:37
↓ 1 callers
Function
getArr
()
tests/phpt/stacktrace/04_stacktrace.php:29
↓ 1 callers
Function
getArr
()
tests/phpt/stacktrace/05_stacktrace.php:16
↓ 1 callers
Function
getArrOfT
* @return shape(a:\Classes\A, str:string, ints:int[])[] */
tests/phpt/shapes/009_array_of_shapes.php:17
↓ 1 callers
Function
getArrOfT
* @return tuple(string, int[], \Classes\A)[] */
tests/phpt/tup/009_array_of_tuples.php:18
↓ 1 callers
Function
getArrOrNull
@return ?A[] */
tests/phpt/phpdocs/026_mix_assum_and_subkey.php:34
↓ 1 callers
Method
getArray
()
tests/phpt/cl/191_toString_magic_method_string_builder.php:13
↓ 1 callers
Function
getB
()
tests/phpt/cl/194_assumptions_not_split.php:14
↓ 1 callers
Method
getB
@return DataB[] */
tests/phpt/interfaces/signature_compatibility/multi_level_doc_inherit.php:39
↓ 1 callers
Method
getBar
()
tests/phpt/generics/028_constexpr_services_cont.php:22
↓ 1 callers
Function
getBits
()
tests/phpt/dl/1004_op_set.php:4
↓ 1 callers
Function
getBoolNoHint
()
tests/phpt/generics/017_templates_primitives.php:84
↓ 1 callers
Function
getButtons
()
tests/phpt/phpdocs/024_ok_untyped_array_assum.php:10
↓ 1 callers
Function
getCallableReturnString
()
tests/phpt/lambdas/023_deduce_typed_callable.php:229
← previous
next →
6,101–6,200 of 17,654, ranked by callers