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
↓ 7 callers
Function
mmap_shared
common/wrappers/memory-utils.h:29
↓ 7 callers
Function
my_assert
($value)
tests/phpt/msgpack_serialize/012_php_errors.php:7
↓ 7 callers
Function
mystrdup
common/tl/compiler/tl-parser-new.cpp:880
↓ 7 callers
Method
next
()
tests/phpt/null_coalescing/19_assignment_lhs_methodcall_error.php:12
↓ 7 callers
Function
on_net_event
server/php-engine.cpp:363
↓ 7 callers
Method
or_null_flag
compiler/inferring/type-data.h:113
↓ 7 callers
Function
parallel_unregister_thread
common/parallel/thread-id.cpp:41
↓ 7 callers
Function
parse_memory_limit
common/options.cpp:303
↓ 7 callers
Function
parse_time
runtime-light/stdlib/time/timelib-functions.h:131
↓ 7 callers
Method
pass
compiler/lexer.cpp:37
↓ 7 callers
Function
patch_rhs_casting_to_lhs_type
the main function that patches rhs to fit lhs type, see detailed comments above called when rhs is passed as @param, or when @var $v = rhs, or for "re
compiler/pipes/deduce-implicit-types-and-casts.cpp:313
↓ 7 callers
Function
phpdoc_replace_genericTs_with_reified
* When we have a generic function <T> and an instantiation T=User, replace all T's inside a type hint. * We also handle @return here, that can ref to
compiler/phpdoc.cpp:830
↓ 7 callers
Function
print_class
(class_name, base_name="")
tests/phpt/class_inheritance/print_large_hierarchy.py:2
↓ 7 callers
Function
qmem_malloc
server/php-queries.cpp:158
↓ 7 callers
Function
raise_error
(string $err)
tests/python/tests/job_workers/php/http_worker.php:183
↓ 7 callers
Method
remove
compiler/pipes/calc-bad-vars.cpp:126
↓ 7 callers
Method
reset
runtime-light/stdlib/rpc/rpc-tl-query.h:22
↓ 7 callers
Function
ret_int_or_null
(int $line, ?int $res)
tests/phpt/fork/023_op_set_in_resumable_expr.php:6
↓ 7 callers
Function
rpc_server_failure
vkext/vkext-rpc.cpp:1056
↓ 7 callers
Function
run_rpc_lease
server/php-lease.cpp:372
↓ 7 callers
Function
rwm_push_data_front
net/net-msg.cpp:234
↓ 7 callers
Method
set_memory_limit
server/job-workers/shared-memory-manager.cpp:60
↓ 7 callers
Method
set_name_and_src_name
compiler/data/class-data.cpp:35
↓ 7 callers
Method
set_option
runtime/curl.cpp:89
↓ 7 callers
Method
size
compiler/vertex-meta_op_base.h:131
↓ 7 callers
Method
store
runtime/tl/tl_builtins.h:132
↓ 7 callers
Function
store_string
common/tl/store.h:24
↓ 7 callers
Function
storedqu
common/crypto/aes256-x86_64.cpp:18
↓ 7 callers
Function
strtotime
runtime-light/stdlib/time/timelib-functions.cpp:255
↓ 7 callers
Function
tcp_check_correct
runtime/tcp.cpp:175
↓ 7 callers
Function
test6
@param UnaryMinus|Literal|UnaryPlus $x */
tests/phpt/smart_casts/05_unions.php:74
↓ 7 callers
Function
tl_store_raw_data_nopad
common/tl/parse.cpp:334
↓ 7 callers
Function
to_array
common/wrappers/to_array.h:26
↓ 7 callers
Method
to_string
compiler/inferring/key.cpp:49
↓ 7 callers
Method
traverse
compiler/type-hint.cpp:538
↓ 7 callers
Method
typed_fetch_to
runtime-light/stdlib/rpc/rpc-tl-builtins.h:135
↓ 7 callers
Method
typed_fetch_to
runtime/tl/tl_builtins.h:149
↓ 7 callers
Method
typed_store
runtime-light/stdlib/rpc/rpc-tl-builtins.h:131
↓ 7 callers
Method
typed_store
runtime/tl/tl_builtins.h:144
↓ 7 callers
Method
unlink
compiler/index.cpp:88
↓ 7 callers
Method
use_or_null
compiler/inferring/type-data.h:115
↓ 7 callers
Method
value_as_string
compiler/phpdoc.h:81
↓ 7 callers
Method
value_as_type_and_var_name
* With a phpdoc string after a @param/@return/@var like "int|false $a maybe comment" * or "$var tuple(int, string) maybe comment" or "A[] maybe comme
compiler/phpdoc.cpp:182
↓ 7 callers
Function
wait_queue_push
runtime/resumable.cpp:903
↓ 7 callers
Method
wakeup
server/php-worker.cpp:353
↓ 7 callers
Function
write_buff_char_2
vkext/vkext.cpp:205
↓ 7 callers
Method
write_full_header
($header)
tests/k2-components/proptest.php:106
↓ 6 callers
Function
_kfs_file_info_decref
common/kfs/kfs-replica.cpp:498
↓ 6 callers
Method
_move_to_artifacts
(self, artifact_name, return_code, content=None, file=None)
tests/python/lib/kphp_builder.py:59
↓ 6 callers
Function
_operation
( kind: str, kwargs: typing.Dict[str, typing.Any], expected_result: typing.Any, expected_exception: bo
tests/python/tests/tl_primitives/test_tl_primitives.py:8
↓ 6 callers
Method
_test_shared_memory_piece_copying_impl
(self, label)
tests/python/tests/job_workers/test_job_shared_immutable_message.py:98
↓ 6 callers
Function
_wymix
multiply and xor mix function, aka MUM
third-party/statshouse.h:84
↓ 6 callers
Method
access_modifier
compiler/data/function-modifiers.h:85
↓ 6 callers
Method
add
compiler/utils/trie.h:20
↓ 6 callers
Method
add_class_include
compiler/code-gen/includes.cpp:94
↓ 6 callers
Method
add_itemT
compiler/data/generics-mixins.cpp:194
↓ 6 callers
Method
add_raw_filename_include
compiler/code-gen/includes.cpp:132
↓ 6 callers
Method
add_var_signature_depends
compiler/code-gen/includes.cpp:122
↓ 6 callers
Function
are_equal_types
check if types fully equal (if type2 is any, it's equal to anything) note that false != bool here
compiler/inferring/type-data.cpp:860
↓ 6 callers
Function
assert_fork_id
(int $expected_fork_id)
tests/python/tests/coroutine/php/index.php:36
↓ 6 callers
Function
assert_lat_lon
* @param $lhs tuple(float, float) * @param $rhs tuple(float, float) */
tests/python/tests/ffi/php/syslib/uberh3_example.php:50
↓ 6 callers
Function
assert_true
(bool $value)
tests/python/tests/ffi/php/syslib/uberh3_example.php:29
↓ 6 callers
Function
backtrace
runtime-light/k2-platform/k2-api.h:430
↓ 6 callers
Function
bb_buffer_log_cur_pos
common/binlog/binlog-buffer-replay.cpp:484
↓ 6 callers
Function
bc_div_positive
runtime-common/stdlib/math/bcmath-functions.cpp:460
↓ 6 callers
Function
buffer_clear
vkext/vkext-rpc-include.h:191
↓ 6 callers
Function
buffer_read_data
vkext/vkext-rpc-include.h:375
↓ 6 callers
Function
buffer_write_int
vkext/vkext-rpc-include.h:234
↓ 6 callers
Method
calc
runtime-common/stdlib/kml/catboost.h:42
↓ 6 callers
Function
can_use_precomputed_hash_indexing_array
* If array is indexed by a constant string like in $a['somekey'], we want to precompute * the string key hash at the compile time so we don't have to
compiler/code-gen/vertex-compiler.cpp:443
↓ 6 callers
Method
capacity
runtime-light/tl/tl-core.h:65
↓ 6 callers
Function
cb
* @kphp-required * @param string[] $param * @return string */
tests/phpt/dl/002_preg_replace_callback.php:24
↓ 6 callers
Method
clear
compiler/ffi/c_parser/yy_parser_generated.cpp:238
↓ 6 callers
Method
clear
tests/cpp/runtime/inter-process-resource-test.cpp:17
↓ 6 callers
Function
clone_immutable
runtime-light/stdlib/time/date-time-immutable.h:36
↓ 6 callers
Method
cmpGt
(self, value)
tests/python/lib/testcase.py:111
↓ 6 callers
Function
compute_crc32c
common/crc32c.h:21
↓ 6 callers
Function
create_new_connections
net/net-connections.cpp:1731
↓ 6 callers
Function
cyan
(text)
tests/python/lib/colors.py:17
↓ 6 callers
Method
descriptor
runtime-light/streams/stream.h:138
↓ 6 callers
Function
does_allow_internal_rule_satisfy_usage_context
compiler/modulite-check-rules.cpp:37
↓ 6 callers
Function
dropFalse
* @kphp-generic T * @param T $data * @return not_false<T> */
tests/phpt/generics/027_generic_drop_null.php:33
↓ 6 callers
Function
drop_optional
compiler/inferring/rvalue.h:46
↓ 6 callers
Method
echo
()
tests/python/tests/composer/php/test_autoload_psr0/src_classes/Test0.php:4
↓ 6 callers
Method
echoSelfWith
@kphp-generic T */
tests/phpt/generics/023_generic_method_in_interface.php:22
↓ 6 callers
Method
estimate_memory_usage
runtime-common/core/core-types/definition/mixed.cpp:1767
↓ 6 callers
Method
expect_token
(self, kind: str)
compiler/rewrite-rules/impl/rules_parser.py:49
↓ 6 callers
Function
f
($x)
tests/phpt/dl/switch/06_diff_types.php:4
↓ 6 callers
Function
f
* @param string $x */
tests/phpt/dl/switch/10_bug.php:8
↓ 6 callers
Function
f
(CompileTimeLocation $loc = null)
tests/phpt/cl/197_compile_time_location.php:6
↓ 6 callers
Function
f$confdata_get_value
runtime/confdata-functions.cpp:90
↓ 6 callers
Function
f$is_kphp_job_workers_enabled
runtime/job-workers/job-interface.cpp:30
↓ 6 callers
Function
f$mt_rand
runtime-light/stdlib/math/random-functions.h:33
↓ 6 callers
Function
f$parse_str
runtime-common/stdlib/server/url-functions.cpp:509
↓ 6 callers
Function
f$rpc_flush
runtime/rpc.cpp:954
↓ 6 callers
Function
f$wait_queue_create
runtime/resumable.cpp:967
↓ 6 callers
Function
ffi_array_bound_check
runtime/ffi.h:479
↓ 6 callers
Function
ffi_parse_file
compiler/ffi/ffi_parser.cpp:83
↓ 6 callers
Function
ffi_type_string
compiler/data/ffi-data.cpp:463
↓ 6 callers
Function
fgetcsv_lookup_trailing_spaces
this function is imported from https://github.com/php/php-src/blob/master/ext/standard/file.c, function php_fgetcsv_lookup_trailing_spaces
runtime-common/stdlib/file/file-functions.h:15
← previous
next →
1,001–1,100 of 17,654, ranked by callers