query
stringlengths
17
469
positive
stringlengths
60
2.01k
language
stringclasses
9 values
function_name
stringlengths
0
158
file
stringlengths
5
215
repo
stringlengths
7
53
source
stringclasses
1 value
callers
listlengths
0
20
callees
listlengths
0
20
query: private function queryInternal($method,$mode,$params=array()) method of CDbCommand
passage: ##mand. query ' ) ; $ errorinfo = $ e instanceof pdoexception? $ e - > errorinfo : null ; $ message = $ e - > getmessage ( ) ; yii : : log ( yii : : t ( ' yii ', ' cdbcommand : : { method } ( ) failed : { error }. the sql statement executed was : { sql }. ', array ( ' { method } ' = > $ method, ' { error } ' =...
php
queryInternal
framework/yiilite.php
yiisoft/yii
stack-cqs-index
[ "CDbCommand", "query", "queryAll", "queryColumn", "queryRow", "queryScalar" ]
[ "CDbDataReader", "CDbException", "app", "array_merge", "beginProfile", "call_user_func_array", "closeCursor", "endProfile", "execute", "get", "getCode", "getComponent", "getMessage", "getText", "implode", "isset", "log", "prepare", "serialize", "set" ]
query: std::unordered_map<monitoring::EventId, std::shared_ptr<DataWriter>> KatranMonitor::createWriters() method of KatranMonitor
passage: std::unordered_map<monitoring::EventId, std::shared_ptr<DataWriter>> KatranMonitor::createWriters() { std::unordered_map<EventId, std::shared_ptr<DataWriter>> dataWriters; for (auto event : config_.events) { if (config_.storage == PcapStorageFormat::FILE) { std::string fname; folly::toAppen...
cpp
createWriters
katran/lib/KatranMonitor.cpp
facebookincubator/katran
stack-cqs-index
[ "KatranMonitor", "katran", "restartMonitor" ]
[ "LOG", "VLOG", "end", "find", "get", "insert", "make_shared", "move", "setWriterDestination", "static_cast", "toAppend" ]
query: void FileTokenizer::skipWhitespace() method of FileTokenizer
passage: void FileTokenizer::skipWhitespace() { while (true) { if (isWhitespace(currentLine,linePos)) { do { linePos++; } while (isWhitespace(currentLine,linePos)); } else if (isComment(currentLine,linePos)) { linePos = currentLine.size(); } else if (isBlockComment(currentLine,linePos)) { linePos...
cpp
skipWhitespace
tools/armips.cpp
n64decomp/sm64
stack-cqs-index
[ "Lexer", "NextToken", "Parse", "Parser", "TokenStreamTest", "TomlZiplineApiReader", "advanceToken", "checkForCloseTag", "doesLineIncludeConstant", "findNsisTags", "findRubyTags", "getContentObject", "init", "nextToken", "parse2", "parseArray", "parseAttributeNode", "parseExpr", "...
[ "Js", "_", "__commonJS", "addToken", "advanceChar", "code", "consume", "createToken", "getNext", "getPeek", "getcFromInputFile", "isBlockComment", "isBlockCommentEnd", "isComment", "isInputAtEnd", "isSpace", "isWhitespace", "next", "panic", "peek" ]
query: Clear cache when needed (called when project files change) function clearProjectDirectoryCache() function clearProjectDirectoryCache
passage: function clearProjectDirectoryCache() { projectDirectoryCache.clear(); }
javascript
clearProjectDirectoryCache
server/projects.js
siteboon/claudecodeui
stack-cqs-index
[ "debouncedUpdate", "setupProjectsWatcher" ]
[ "clear" ]
query: fn test_default_tuple() function test_default_tuple
passage: fn test_default_tuple() { assert_de_tokens( &DefaultTupleStruct(1, 2, 3), &[ Token::TupleStruct { name: "DefaultTupleStruct", len: 3, }, Token::I32(1), Token::I32(2), Token::I32(3), Token...
rust
test_default_tuple
test_suite/tests/test_annotations.rs
serde-rs/serde
stack-cqs-index
[]
[ "DefaultTupleStruct", "I32", "assert_de_tokens" ]
query: ReadMultiBuffer implements buf.Reader. func (c *Connection) ReadMultiBuffer() (buf.MultiBuffer, error) method of Connection
passage: func (c *Connection) ReadMultiBuffer() (buf.MultiBuffer, error) { return c.reader.ReadMultiBuffer() }
go
ReadMultiBuffer
common/net/cnc/connection.go
XTLS/Xray-core
stack-cqs-index
[ "BenchmarkPipeReadWrite", "CopyRawConnIfExist", "Dial", "Process", "Read", "ReadAtMost", "ReadFrom", "ReadMultiBuffer", "ReadMultiBufferTimeout", "ReadPacket", "TestAuthenticationReaderWriter", "TestAuthenticationReaderWriterPacket", "TestBlackHoleHTTPResponse", "TestBlackholeHTTPResponse"...
[ "Add", "Adjust", "Advance", "Background", "Base", "Byte", "Bytes", "Clear", "Current", "DecodeUDPPacket", "Destination", "Detach", "Done", "Extend", "Feed", "IPAddress", "InboundFromContext", "Is", "IsEmpty", "IsFull" ]
query: </editor-fold> public BallPulseFooter(Context context) constructor of BallPulseFooter
passage: public BallPulseFooter(Context context) { this(context, null); }
java
BallPulseFooter
refresh-footer-ball/src/main/java/com/scwang/smart/refresh/footer/BallPulseFooter.java
scwang90/SmartRefreshLayout
stack-cqs-index
[ "AssignCodeExampleActivity", "RefreshStylesFragment", "onCreate", "onStateChanged", "onViewCreated" ]
[ "AccelerateDecelerateInterpolator", "Paint", "compositeColors", "currentTimeMillis", "dispatchDraw", "dp2px", "drawCircle", "getColor", "getHeight", "getInt", "getInterpolation", "getWidth", "hasValue", "invalidate", "min", "obtainStyledAttributes", "recycle", "restore", "save", ...
query: @Test public void testDigitSeparationReverseOrderNegativeNumbers() method of DigitSeparationTest
passage: @Test public void testDigitSeparationReverseOrderNegativeNumbers() { DigitSeparation digitSeparation = new DigitSeparation(); List<Long> result = digitSeparation.digitSeparationReverseOrder(-123); assertEquals(List.of(3L, 2L, 1L), result); }
java
testDigitSeparationReverseOrderNegativeNumbers
src/test/java/com/thealgorithms/greedyalgorithms/DigitSeparationTest.java
TheAlgorithms/Java
stack-cqs-index
[]
[ "DigitSeparation", "assertEquals", "digitSeparationReverseOrder", "of" ]
query: public function __construct( protected ConnectionResolverInterface $database, ConfigRepository $configRepository, ) constructor of RelationDirective
passage: public function __construct( protected ConnectionResolverInterface $database, ConfigRepository $configRepository, ) { $this->lighthouseConfig = $configRepository->get('lighthouse'); }
php
__construct
src/Schema/Directives/RelationDirective.php
nuwave/lighthouse
stack-cqs-index
[ "0.3.0", "AMQPArray", "AMQPBasicCancelException", "AMQPChannel", "AMQPConnection", "AMQPConnectionBlockedException", "AMQPProtocolException", "AMQPSSLConnection", "AMQPSocketConnection", "AMQPStreamConnection", "AMQPTimeoutException", "ANullSrcFilter", "APCuIterator", "APICallTypeNotRecogn...
[ "AMQPNotImplementedException", "AMQPOutOfBoundsException", "AMQPRuntimeException", "AMQPWriter", "APC", "AccessInterceptorScopeLocalizerGenerator", "AccessInterceptorValueHolderGenerator", "Action", "Address", "Adminer", "AdminlteAssetsResource", "AdvanceMp4Player", "AdvanceWmaPlayer", "Af...
query: -------------------------------------------------------------------- protected $_create_database = 'CREATE DATABASE %s'; property _create_database
passage: protected $_create_database = 'CREATE DATABASE %s';
php
_create_database
system/database/DB_forge.php
alextselegidis/easyappointments
stack-cqs-index
[]
[]
query: Inner implements hasInnerError.Inner() func (err *Error) Inner() error method of Error
passage: func (err *Error) Inner() error { if err.inner == nil { return nil } return err.inner }
go
Inner
common/errors/errors.go
v2fly/v2ray-core
stack-cqs-index
[ "Cause", "FieldExclusionTest", "HighlightCodeBlock", "Inner", "Middle", "Nested", "Optional2", "RenderCodeblock", "TestAnonymousClass3a", "TestCls", "TestRankAndAlphaPattern", "ValOutersWithGenerics", "WithByInAnonymousClass", "WithInAnonymousClass", "__init__", "annonymous", "check"...
[ "Enum", "Get", "HTML", "Include", "Inner", "Linear", "Object", "Overview", "Peek", "Run", "Runnable", "Sprintf", "TestCls", "Thread", "Use RenderString", "__init__", "any?", "apply", "assert", "attr_accessor" ]
query: int main() function main
passage: int main() { MathOperations math; cout << "Sum (2 numbers): " << math.add(5, 10) << endl; cout << "Sum (3 numbers): " << math.add(5, 10, 15) << endl; return 0; }
cpp
main
oop/cpp/polymorphism/README.md
ashishps1/awesome-low-level-design
stack-cqs-index
[ "11.1 接口是什么", "13) Use Standard libc Macros When Exiting", "13.10.3 用 pprof 调试", "14-Dec-2024", "14.1.1 什么是协程", "14.1.4 如何用命令行指定使用的核心数量", "14.10.2 卸载 (Teardown):通过信号通道关闭服务器", "14.12 链式协程", "14.2.11 通道的方向", "14.2.2 通信操作符 <-", "14.2.3 通道阻塞", "14.2.6 协程中用通道输出结果", "14.2.7 信号量模式", "14.2.9 用带缓冲通...
[ "\"$CORE_BIN\"", "\"$ECAPTURE_BINARY\"", "\"$GO_CLIENT\"", "\"$METEOR\"", "\"$SCRIPT_DIR/build-docker.sh\"", "\"$SCRIPT_DIR/setup-db.sh\"", "\"$_wasmpackinit\"", "\"${CROSS[@]}\"", "\"${CROSS_ENGINE}\"", "\"${CROSS_UTIL}\"", "\"${CROSS}\"", "\"${INSTALL_PATH}/bin/protoc\"", "\"${NETBIRD_BIN}...
query: static insertMusicSheetBetween( platform: string, id: string, afterPlatform: string | null, afterId: string | null, beforePlatform: string | null, beforeId: string | null, ): boolean method of LocalMusicSheetDB
passage: static insertmusicsheetbetween ( platform : string, id : string, afterplatform : string | null, afterid : string | null, beforeplatform : string | null, beforeid : string | null, ) : boolean { try { let newsortindex : number ; if (! afterplatform & &! afterid ) { / / const firststmt = database. prepare ( " sel...
typescript
insertMusicSheetBetween
src/shared/database/preload-backup.ts
maotoumao/MusicFreeDesktop
stack-cqs-index
[]
[ "abs", "error", "get", "prepare", "rebalanceSortIndexes", "updateMusicSheetSort" ]
query: def test_engine_basic(model function test_engine_basic
passage: ##m _ requests + max _ tokens - 1 # run steps for step in range ( num _ steps ) : engine. step ( ) for req _ id, output in enumerate ( outputs ) : print ( f " prompt { req _ id } : { requests [ req _ id ]. inputs [ 0 ] } " ) print ( f " output { req _ id } : { engine. tokenizer. decode ( output ) } \ n " )
python
test_engine_basic
tests/python/serve/test_serve_sync_engine.py
mlc-ai/mlc-llm
stack-cqs-index
[]
[ "EngineConfig", "SyncMLCEngine", "add_request", "create_requests", "decode", "enumerate", "int", "len", "print", "range", "seed", "step", "unpack" ]
query: """Validate file extension.""" def validate_file_extension(value) function validate_file_extension
passage: def validate_file_extension(value): """Validate file extension.""" ext = os.path.splitext(value.name)[1] valid_extensions = ['.jpg', '.jpeg', '.png', '.gif', '.pdf'] if not ext.lower() in valid_extensions: raise ValidationError('Unsupported file extension.')
python
validate_file_extension
skills/django-security/SKILL.md
affaan-m/everything-claude-code
stack-cqs-index
[]
[]
query: @Override public String toString() method of SimpleCodeInfo
passage: @Override public String toString() { return code; }
java
toString
jadx-core/src/main/java/jadx/api/impl/SimpleCodeInfo.java
skylot/jadx
stack-cqs-index
[ "3.0.1", "6.0.1", "Actions", "Added", "Alternatives to `actionCreator.toString()`", "Chainable expressions", "Changed", "Classes & Constructors", "Color objects", "Contributing Documentation and Code Changes", "Draft 3", "Features", "Frequently Asked Questions", "Goals for Gson", "Intern...
[ "$", "$9", "A", "AbstractListener", "AddListener", "AnsiElement", "ArgumentMatcher", "ArgumentTransformer", "AssertionError", "Assisted", "AutocompleteTags", "BI", "Box", "BufferedReader", "ByteArrayOutputStream", "CharArrayWriter", "ClassLoader", "CollectorMetrics", "Compression...
query: def validate_dispatcher method of OptionParser
passage: def validate_dispatcher # Check for missing Dispatcher if !options.dispatcher.url print_error "Missing '--dispatcher-url' option." exit 1 end end
ruby
validate_dispatcher
ui/cli/rpc/client/remote/option_parser.rb
Arachni/arachni
stack-cqs-index
[]
[ "dispatcher", "exit", "print_error", "url" ]
query: """Check if logger is enabled.""" def enabled(self) -> bool method of Logger
passage: def enabled(self) -> bool: """Check if logger is enabled.""" # Avoid formatting the log line if it will not be emitted. return enabled
python
enabled
tests/test_web_log.py
aio-libs/aiohttp
stack-cqs-index
[ "ActionPolicy", "ActiveRecordQueryTrace", "Agent", "ApiAuthenticationController", "App", "AppServiceProvider", "Application", "ApplicationSWT", "ApplicationSystemTestCase", "AssetSync", "Attack", "AuthProviderServiceImpl", "AwtTrayMenuController", "BackgroundService", "Backup", "Basic ...
[ "AtomicBoolean", "Boolean", "ConcurrentStatsCounter", "Dependent Queries", "Err", "NSTrackingArea", "String", "The `enabled` Meta-Argument", "_createForOfIteratorHelper", "access", "addCron", "addTrackingArea", "alloc", "any", "apply", "asProperty", "as_ref", "as_trace", "assert"...
query: fn not_congestion_controlled( #[values(false, true)] overestimate_avoidance: bool, #[values(false, true)] choose_a0_point_fix: bool, ) function not_congestion_controlled
passage: fn not _ congestion _ controlled ( # [ values ( false, true ) ] overestimate _ avoidance : bool, # [ values ( false, true ) ] choose _ a0 _ point _ fix : bool, ) { let mut test _ sender = testsender : : new ( overestimate _ avoidance, choose _ a0 _ point _ fix ) ; let time _ between _ packets = duration : : fr...
rust
not_congestion_controlled
quiche/src/recovery/gcongestion/bbr/bandwidth_sampler.rs
cloudflare/quiche
stack-cqs-index
[]
[ "ack_packet", "advance_time", "assert_eq", "from_kbits_per_second", "from_millis", "remove_obsolete_packets", "send_packet" ]
query: def stock_zh_a_gbjg_em(symbol function stock_zh_a_gbjg_em
passage: , " sortcolumns " : " end _ date ", " source " : " hsf10 ", " client " : " pc ", " v " : " 047483522105257925 ", } r = requests. get ( url, params = params ) data _ json = r. json ( ) temp _ df = pd. dataframe ( data _ json [ " result " ] [ " data " ] ) temp _ df. rename ( columns = { " end _ date " : " 日 ", "...
python
stock_zh_a_gbjg_em
akshare/stock_fundamental/stock_gbjg_em.py
akfamily/akshare
stack-cqs-index
[]
[ "DataFrame", "get", "json", "rename", "to_datetime", "to_numeric" ]
query: public function get($model, string $key, $value, array $attributes) method of SelfCastingCasterWithStaticDocblockReturn
passage: public function get($model, string $key, $value, array $attributes) { return new static(); }
php
get
tests/Console/ModelsCommand/LaravelCustomCasts/Casts/SelfCastingCasterWithStaticDocblockReturn.php
barryvdh/laravel-ide-helper
stack-cqs-index
[ "$", "$6", "$7", "$A", "$CompileProvider", "$D", "$DurableObject", "$F", "$FilterProvider", "$HttpProvider", "$I", "$R", "$Resolve", "$RootScopeProvider", "$RouteProvider", "$S", "$SceDelegateProvider", "$StateRefActiveDirective", "$TemplateFactory", "$TemplateRequestProvider" ...
[ "$", "$constructor", "$i", "$mount", "$r", "$t", "A", "AImpl", "APODDumperPlugin", "AQLQuery", "ASN1Error", "AbsoluteUnixPath", "AbstractModule", "AccessDeniedException", "AccessMode", "Add", "AddCookie", "AddInt32", "Address", "Ae" ]
query: Freezes the contents of the array, as well as all array elements. The def __nanoc_freeze_recursively method of ArrayExtensions
passage: def __nanoc_freeze_recursively return if frozen? freeze each do |value| if value.respond_to?(:__nanoc_freeze_recursively) value.__nanoc_freeze_recursively else value.freeze end end end
ruby
__nanoc_freeze_recursively
nanoc-core/lib/nanoc/core/core_ext/array.rb
nanoc/nanoc
stack-cqs-index
[ "ArrayExtensions", "Configuration", "Core", "CoreExt", "HashExtensions", "LazyValue", "Nanoc", "Site", "__nanoc_freeze_recursively", "freeze", "value" ]
[ "__nanoc_freeze_recursively", "each", "each_pair", "freeze", "frozen?", "respond_to?" ]
query: Returning a Result from main makes it print a Debug representation of the error, but with Snafu fn main() function main
passage: fn main() { if let Err(e) = run() { eprintln!("{}", e); process::exit(1); } }
rust
main
sources/settings-migrations/archived/v1.20.5/public-control-container-v0-7-13/src/main.rs
bottlerocket-os/bottlerocket
stack-cqs-index
[ "11.1 接口是什么", "13) Use Standard libc Macros When Exiting", "13.10.3 用 pprof 调试", "14-Dec-2024", "14.1.1 什么是协程", "14.1.4 如何用命令行指定使用的核心数量", "14.10.2 卸载 (Teardown):通过信号通道关闭服务器", "14.12 链式协程", "14.2.11 通道的方向", "14.2.2 通信操作符 <-", "14.2.3 通道阻塞", "14.2.6 协程中用通道输出结果", "14.2.7 信号量模式", "14.2.9 用带缓冲通...
[ "\"$CORE_BIN\"", "\"$ECAPTURE_BINARY\"", "\"$GO_CLIENT\"", "\"$METEOR\"", "\"$SCRIPT_DIR/build-docker.sh\"", "\"$SCRIPT_DIR/setup-db.sh\"", "\"$_wasmpackinit\"", "\"${CROSS[@]}\"", "\"${CROSS_ENGINE}\"", "\"${CROSS_UTIL}\"", "\"${CROSS}\"", "\"${INSTALL_PATH}/bin/protoc\"", "\"${NETBIRD_BIN}...
query: def test_time_zone_options_no_parms method of FormOptionsHelperTest
passage: def test_time_zone_options_no_parms opts = time_zone_options_for_select assert_dom_equal "<option value=\"A\">A</option>\n" + "<option value=\"B\">B</option>\n" + "<option value=\"C\">C</option>\n" + "<option value=\"D\">D</option>\n" + ...
ruby
test_time_zone_options_no_parms
vendor/rails/actionpack/test/template/form_options_helper_test.rb
insoshi/insoshi
stack-cqs-index
[]
[ "assert_dom_equal", "uses_mocha" ]
query: pub fn truncate(&mut self, len: usize) method of RustVec
passage: pub fn truncate(&mut self, len: usize) { self.as_mut_vec().truncate(len); }
rust
truncate
src/rust_vec.rs
dtolnay/cxx
stack-cqs-index
[ "API", "AccountsHelper", "AcroForm", "Action", "Actions", "ActiveScaffold", "ActiveStorageExtensions", "ActivitiesHelper", "Activity", "Adapters", "AddHostToProxiedImages", "AdminContextFactory", "AdminTablesSeeder", "Agent", "AgentObserver", "AggregationBuilderTest", "Allocation", ...
[ "Cleanup", "CloseHandle", "CreateFile", "CreateFileW", "DNSHeader", "DNSRecord", "DWORD", "Date", "DateTime", "Defined in lib/html.php", "Dml", "Err", "Exception", "Exec", "FileOutputStream", "FileTxnIterator", "GetLastError", "Helper", "IOException", "IdLexer" ]
query: #[Delete(' method of FirewallRuleController
passage: #[Delete('{firewallRule}', name: 'api.projects.servers.firewall-rules.delete', middleware: 'ability:write')] public function delete(Project $project, Server $server, FirewallRule $firewallRule): Response { $this->authorize('delete', [$firewallRule, $server]); $this->validateRoute($proj...
php
delete
app/Http/Controllers/API/FirewallRuleController.php
vitodeploy/vito
stack-cqs-index
[ "$", "$I", "$ZodRegistry", "$availableProps", "$dispose", "$e", "$handlePointerMove", "$handlePointerUp", "$n", "$t", "$u", "$variableValuesByInstanceSelector", "--immutable", "0.2.0", "18.3 映射", "2. Storage", "3. Update Retrieval Calls (Critical)", "8.2 测试键值对是否存在及删除元素", "@forceD...
[ "$i", "A", "AQLQuery", "Add", "AddUint64", "AfterCrudActionEvent", "AfterEntityDeletedEvent", "Any", "Argument", "AuthUser", "AuthWorkspace", "Authenticate", "AuthorizationException", "AuxNonconcurrentDB", "BackupDir", "BadRequestException", "BadRequestHttpException", "Base", "Be...
query: WITH_LOCK(lock) constructor WITH_LOCK
passage: WITH_LOCK(lock) { task.cancel_sync(); }
cpp
WITH_LOCK
tests/tst-async.cc
cloudius-systems/osv
stack-cqs-index
[ "allocate", "biodone", "dentry_children_remove", "dentry_move", "drele", "evacuate", "linear_map", "map_jvm", "multiplex_bio_done", "procfs_maps", "pthread_barrier_destroy", "register_exit_notifier", "run_exit_notifiers", "set_jvm", "shrinker", "split", "sysfs_linear_maps", "tcp_se...
[ "BOOST_REQUIRE", "CLR", "ISSET", "LIST_INSERT_HEAD", "LIST_REMOVE", "SET", "TRACEPOINT", "VFS_SYNC", "VFS_UNMOUNT", "_callback", "_cleanup", "_cpu_up", "_release_memory", "_request_memory", "abort", "action", "activate", "add", "add_arc_read_mapping", "add_buf_wait" ]
query: func TestSend_MarkdownShortButHTMLLong_MultipleCalls(t *testing.T) function TestSend_MarkdownShortButHTMLLong_MultipleCalls
passage: func TestSend_MarkdownShortButHTMLLong_MultipleCalls(t *testing.T) { caller := &stubCaller{ callFn: func(ctx context.Context, url string, data *ta.RequestData) (*ta.Response, error) { return successResponse(t), nil }, } ch := newTestChannel(t, caller) // Create markdown whose length is <= 4000 but ...
go
TestSend_MarkdownShortButHTMLLong_MultipleCalls
pkg/channels/telegram/telegram_test.go
sipeed/picoclaw
stack-cqs-index
[]
[ "Background", "Greater", "LessOrEqual", "NoError", "Repeat", "Send", "len", "markdownToTelegramHTML", "newTestChannel", "successResponse" ]
query: int DatabaseManager::set_version() method of DatabaseManager
passage: int DatabaseManager::set_version() { char* error_message = nullptr; std::string query = QString("PRAGMA user_version = %1;").arg(DATABASE_VERSION).toStdString(); int error_code = sqlite3_exec(global_db, query.c_str(), null_callback, nullptr, &error_message); return handle_error("set_version", ...
cpp
set_version
pdf_viewer/database.cpp
ahrm/sioyek
stack-cqs-index
[ "Base", "Cluster", "IncludeRequestsAutoloader", "Mongo", "SdamFlow", "Test", "Topology", "build_tcp_packet", "client_hello", "compose_ipv4_packet", "create_https_cert_and_privkey", "ensure_schema_compatibility", "get_metadata_for_syslog_ng", "get_scope_and_schema_url", "make_ip", "make...
[ "QString", "RuntimeException", "Some", "arg", "c_str", "debug", "define_singleton_method", "handle_error", "id", "implode", "in_array", "is_string", "notify", "read", "sprintf", "sqlite3_exec", "toStdString", "write" ]
query: fn bindgen_test_layout_malloc_type() function bindgen_test_layout_malloc_type
passage: ! ( " offset of field : ", stringify! ( malloc _ type ), " : : ", stringify! ( ks _ shortdesc ) ) ) ; assert _ eq! ( unsafe { : : std : : ptr : : addr _ of! ( ( * ptr ). ks _ mti ) as usize - ptr as usize }, 24usize, concat! ( " offset of field : ", stringify! ( malloc _ type ), " : : ", stringify! ( ks _ mti ...
rust
bindgen_test_layout_malloc_type
crates/shadowsocks-service/src/local/redir/sys/unix/pfvar_bindgen_freebsd.rs
shadowsocks/shadowsocks-rust
stack-cqs-index
[]
[ "as_ptr", "assert_eq", "uninit" ]
query: def _schedule(self) -> SchedulerOutputs method of Scheduler
passage: groups. append ( seq _ group ) self. waiting. pop ( 0 ) continue # if the sequence group cannot be allocated, stop. can _ allocate = self. block _ manager. can _ allocate ( seq _ group ) if can _ allocate = = allocstatus. later : break elif can _ allocate = = allocstatus. never : logger. warning ( f " input pr...
python
_schedule
ChatTTS/model/velocity/scheduler.py
2noise/ChatTTS
stack-cqs-index
[ "CoYield", "Crawler", "LocalRedisLikeClient", "Operation", "OperationQueue", "RateLimiter", "Schedule", "Scheduler", "_addOperations", "_on_gateway_event_sync", "_operationFinished", "_schedule", "addBarrierBlock", "dequantize_group_gemm", "done", "group_gemm", "observeValue", "pub...
[ "CoStkOverflowHook", "InsertToTCBRdyList", "RemoveFromTCBRdyList", "Schedule", "SchedulerOutputs", "SwitchContext", "_allocate", "_append_slot", "_cooperative_fetch", "_fetchCachedIsReady", "_firstPriorityOperation", "_incrementExecutingOperations", "_lock", "_open_spider", "_preempt", ...
query: get filterCount(): number method of Filter
passage: get filterCount(): number { return this.settings.filterCount as number; }
typescript
filterCount
src/layer/filter.ts
BrainJS/brain.js
stack-cqs-index
[]
[ "count", "filters" ]
query: New creates a new backend for Inmem remote state. func New(enc encryption.StateEncryption) backend.Backend function New
passage: func New(enc encryption.StateEncryption) backend.Backend { // Set the schema s := &schema.Backend{ Schema: map[string]*schema.Schema{ "lock_id": &schema.Schema{ Type: schema.TypeString, Optional: true, Description: "initializes the state in a locked configuration", }, }, } b...
go
New
internal/backend/remote-state/inmem/backend.go
opentofu/opentofu
stack-cqs-index
[ "1.0.0-rc.2 (21 Feb 2017)", "6. **Echo Config and Constructors**", "AGGREGATE", "API", "APIClientForFrpc", "AS2", "About", "Abs", "AbstractAddition", "Accept", "Acos", "Acquire", "Action", "ActivateChannel", "Add", "AddAllGroup", "AddBaseMenu", "AddCategory", "AddClient", "AddC...
[ "ACLType", "ARC", "Abs", "AbsPathify", "Accept", "AccessiblePrompterEnabled", "Action", "Add", "AddConfig", "AddProtocolAddress", "AddRegexp", "AddServer", "AddUser", "AddWithWeight", "AdditionalProperties", "Addr", "AddrFrom4", "AddrFromSlice", "Address", "AfterFunc" ]
query: on<Prop extends keyof HandlerFuncs>(type: Prop, handler: HandlerFuncs[Prop]) method of Emitter
passage: on<Prop extends keyof HandlerFuncs>(type: Prop, handler: HandlerFuncs[Prop]) { addToHash(this.handlers, type, handler) }
typescript
on
packages/core/src/common/Emitter.ts
fullcalendar/fullcalendar
stack-cqs-index
[ "$", "$CompileProvider", "$D", "$LocationProvider", "$bind", "$f", "$makebutton", "$n", "$navigateTo", "$p", "$propertyChangedCallback", "$q", "$s", "$u", "2. Client Operations", "2.23.0", "A", "A2", "ACCESS_TOKEN_SPLITTER", "AI" ]
[ "$", "$A", "$_Cn", "$_Dt", "$e", "$forceUpdate", "$off", "$t", "A", "Ae", "Array", "B", "Bc", "Boolean", "Context", "Ct", "D", "De", "DoraemonCacheManager", "Dt" ]
query: @Test public void shouldVerifyStringVarargs() method of UsingVarargsTest
passage: @Test public void shouldVerifyStringVarargs() { mock.withStringVarargs(1); mock.withStringVarargs(2, "1", "2", "3"); mock.withStringVarargs(3, "1", "2", "3", "4"); verify(mock).withStringVarargs(1); verify(mock).withStringVarargs(2, "1", "2", "3"); try { ...
java
shouldVerifyStringVarargs
mockito-core/src/test/java/org/mockitousage/basicapi/UsingVarargsTest.java
mockito/mockito
stack-cqs-index
[]
[ "fail", "verify", "withStringVarargs" ]
query: public function currentWordPosition(): array method of DOMWordsIterator
passage: public function currentWordPosition(): array { return [$this->current, $this->offset, $this->words]; }
php
currentWordPosition
system/src/DOMWordsIterator.php
getgrav/grav
stack-cqs-index
[ "Truncator", "truncateWords" ]
[]
query: PlanNextStep does nothing for the JSON view as it is a hook for user-facing func (v *OperationJSON) PlanNextStep(planPath string, genConfigPath string) method of OperationJSON
passage: func (v *OperationJSON) PlanNextStep(planPath string, genConfigPath string) { }
go
PlanNextStep
internal/command/views/operation.go
opentofu/opentofu
stack-cqs-index
[ "PlanNextStep", "TestOperation_planNextStep", "TestOperation_planNextStepInAutomation", "opPlan" ]
[ "PlanNextStep", "Print", "Sprintf", "TrimSpace", "WordWrap", "outputColumns", "outputHorizRule" ]
query: public function setDbCriteria($criteria) method of CActiveRecord
passage: public function setDbCriteria($criteria) { $this->_c=$criteria; }
php
setDbCriteria
framework/db/ar/CActiveRecord.php
yiisoft/yii
stack-cqs-index
[ "CActiveDataProvider", "calculateTotalItemCount", "fetchData" ]
[]
query: def data_page method of List
passage: def data_page filtered_data[offset, limit] end
ruby
data_page
lib/stripe_mock/data/list.rb
stripe-ruby-mock/stripe-ruby-mock
stack-cqs-index
[]
[]
query: Stroke the outline with the given color. pub fn stroke<C>(self, color: C) -> Self where C: IntoLinSrgba<ColorScalar>, method of DrawingRect
passage: pub fn stroke<C>(self, color: C) -> Self where C: IntoLinSrgba<ColorScalar>, { self.map_ty(|ty| ty.stroke(color)) }
rust
stroke
nannou/src/draw/primitive/rect.rs
nannou-org/nannou
stack-cqs-index
[ "$n", "$s", "$y", "AIRGoogleMapPolyline", "Aa", "AcroForm", "Ai", "Annotations", "AppearanceGenerator", "At", "Ba", "BatchCanvasRectRenderer", "Be", "Border", "Canvas", "CanvasGraphics", "CanvasWatcher", "Cd", "Content", "ContentView" ]
[ "BasicStroke", "Some", "_setStrokeAttributes", "addContent", "addPath", "add_content", "append", "block_given?", "consumePath", "createColorStyle", "createGraphics", "createProperty", "default", "defaultIfNull", "dispose", "drawPath", "drawRect", "endPath", "getClippedPathBoundin...
query: def __init__( self, *, api_key constructor of OpenAIProvider
passage: ##nai | none = openai _ client else : self. _ client = none self. _ stored _ api _ key = api _ key self. _ stored _ base _ url = base _ url self. _ stored _ websocket _ base _ url = websocket _ base _ url self. _ stored _ organization = organization self. _ stored _ project = project if use _ responses is not ...
python
__init__
src/agents/models/openai_provider.py
openai/openai-agents-python
stack-cqs-index
[ "1. `__init__()`", "A", "A1z26", "A2AAgent", "A2aAgentExecutor", "ACEAccuracy", "ACEBenchmark", "ACEProcessAccuracy", "ACM", "ACNode", "ACRecordTemp", "ACStrategy", "ADDModel", "ADE20KDataset", "AES", "AES_CBC", "AFF", "AFNB", "AGNNConv", "AGTypeError" ]
[ "A2AChatFormatter", "A2AClient", "A2aAgentExecutorConfig", "A2aRemoteAgentConfig", "ACM", "ACNode", "ADDModel", "ADEPTError", "ADXR", "AES", "AES128", "AESCipher", "AES_KEY", "AES_set_decrypt_key", "AES_set_encrypt_key", "AFF", "AFNB", "AGNNConv", "AHB2Wishbone", "AHBFlash" ]
query: @Override public void add(Long couponId) method of UmsMemberCouponServiceImpl
passage: @ override public void add ( long couponid ) { umsmember currentmember = memberservice. getcurrentmember ( ) ; / / 信 , smscoupon coupon = couponmapper. selectbyprimarykey ( couponid ) ; if ( coupon = = null ) { asserts. fail ( " 不 " ) ; } if ( coupon. getcount ( ) < = 0 ) { asserts. fail ( " " ) ; } date now =...
java
add
mall-portal/src/main/java/com/macro/mall/portal/service/impl/UmsMemberCouponServiceImpl.java
macrozheng/mall
stack-cqs-index
[ "$", "$E", "$I", "$M", "$Q", "$ZodCheckEndsWith", "$ZodCheckIncludes", "$ZodCheckStartsWith", "$ZodCheckStringFormat", "$ZodDiscriminatedUnion", "$ZodObject", "$ZodRecord", "$a", "$advancedStyleDeclarations", "$animatableDefinedProperties", "$b", "$computedResourceRequests", "$cons...
[ "$", "$9", "$mount", "$on", "$once", "$optional", "$t", "A", "ASSERT", "ASSERT_NE", "AXS", "AccessInfo", "Action", "Add", "AddConfig", "AddInt64", "AddPage", "AdditionCalculatorAction", "Addr", "AddrTools_parseIp" ]
query: def config method of Setup
passage: def config db = RSpec.current_example.metadata.fetch(:database, :postgresql) Apartment::Test.config['connections'][db.to_s].symbolize_keys end
ruby
config
spec/support/setup.rb
influitive/apartment
stack-cqs-index
[ "$LocationDecorator", "$O", "$ZodCatch", "$ZodRecord", "$_", "$ionicTemplateCache", "$x", "3. **Start Docker**", "3.1 Upgrade Guide", "3.1 升級指南", "3.1 升级指南", "3.5 Routes", "4. Route Conventions", "A", "AASM", "AIRGoogleMap", "ALSTM", "AM", "API", "APP" ]
[ "$derived", "@title files: 'config.json'", "AliasRedirects", "ArgumentParser", "Assets", "BaseEmbedderConfig", "BaseLlmConfig", "Builder", "CliRunner", "Client", "ClusterModuleZookeeperConfig", "Common Configuration Parameters", "ComponentResources", "Config", "Config Objects", "Config...
query: public function __construct( private readonly ResultToStringConverter $resultConverter, private readonly ExceptionPresenter $exceptionPresenter, $indentation = 0, private $newlineBefore = false, priva constructor of PrettySetupPrinter
passage: public function __construct( private readonly ResultToStringConverter $resultConverter, private readonly ExceptionPresenter $exceptionPresenter, $indentation = 0, private $newlineBefore = false, private $newlineAfter = false, ) { $this->indentText = str_repea...
php
__construct
src/Behat/Behat/Output/Node/Printer/Pretty/PrettySetupPrinter.php
Behat/Behat
stack-cqs-index
[ "0.3.0", "AMQPArray", "AMQPBasicCancelException", "AMQPChannel", "AMQPConnection", "AMQPConnectionBlockedException", "AMQPProtocolException", "AMQPSSLConnection", "AMQPSocketConnection", "AMQPStreamConnection", "AMQPTimeoutException", "ANullSrcFilter", "APCuIterator", "APICallTypeNotRecogn...
[ "AMQPNotImplementedException", "AMQPOutOfBoundsException", "AMQPRuntimeException", "AMQPWriter", "APC", "AccessInterceptorScopeLocalizerGenerator", "AccessInterceptorValueHolderGenerator", "Action", "Address", "Adminer", "AdminlteAssetsResource", "AdvanceMp4Player", "AdvanceWmaPlayer", "Af...
query: public function __invoke(?Error $error, \Closure $next): ?array method of AlwaysReportingErrorHandler
passage: public function __invoke(?Error $error, \Closure $next): ?array { if ($error === null) { return $next(null); } $this->exceptionHandler->report( $error->getPrevious() ?? $error, ); return $next($error); }
php
__invoke
src/Execution/AlwaysReportingErrorHandler.php
nuwave/lighthouse
stack-cqs-index
[ "AbstractErrorRendererTest", "AccessInterceptorScopeLocalizerFunctionalTest", "AccessInterceptorValueHolderFunctionalTest", "AnyParamCoreMiddlewareTest", "AssetUtilsTrait", "AuthorizationServerMiddlewareTest", "AutoloaderTest", "Automatic Validation", "Caller", "Changed", "ClosureValidationRule"...
[ "AccountConfigurationResource", "AdminAccountDetailResource", "Agent", "AiAssistantResult", "AiRequestContext", "AlterTable", "AnalyticsDomainEventAggregateId", "AnalyticsDomainEventBody", "AnalyticsDomainEventId", "AnalyticsDomainEventName", "Application", "ApplicationBooted", "ArgvInput", ...
query: std::string CallableTrait::debugString(char mode) const method of CallableTrait
passage: std::string CallableTrait::debugString(char mode) const { auto s = args[0]->debugString(mode); return fmt::format("CallableTrait[{},{}]", startswith(s, "Tuple") ? s.substr(5) : s, args[1]->debugString(mode)); }
cpp
debugString
codon/parser/ast/types/traits.cpp
exaloop/codon
stack-cqs-index
[ "SignatureParser", "__wbg___wbindgen_debug_string_5398f5bb970e0daa", "__wbg_get_imports", "__wbindgen_debug_string", "canWrapExpr", "consume", "consumeObjectType", "consumeType", "cythonizeFunction", "debugString", "dump", "getRealizationTypes", "populateStaticVarTypesLoop", "prepareVTable...
[ "back", "call", "charAt", "debugString", "emplace_back", "empty", "escape", "exec", "format", "getClass", "getIntStatic", "getName", "getPartialFunc", "getPartialMask", "getRetType", "getType", "insert", "isArray", "isGeneric", "isValue" ]
query: def add_annotation_type(name, image_path, rgb) method of EditViewSWT
passage: def add_annotation_type(name, image_path, rgb) rgb = Swt::Graphics::RGB.new(rgb[0], rgb[1], rgb[2]) @mate_text.addAnnotationType(name, image_path, rgb) end
ruby
add_annotation_type
plugins/edit_view_swt/lib/edit_view_swt.rb
danlucraft/redcar
stack-cqs-index
[ "AddAnnotations", "Annotation", "EditView", "Error", "MateExample", "Redcar", "SyntaxCheck", "add_annotation_type", "annotate", "run" ]
[ "addAnnotationType", "add_annotation_type", "expand_path", "icons_directory" ]
query: def initialize(options, log_destination = $stderr) method of Base
passage: def initialize(options, log_destination = $stderr) @dest = log_destination @show_timing = options[:debug] || options[:show_timing] end
ruby
initialize
lib/brakeman/logger.rb
presidentbeef/brakeman
stack-cqs-index
[ "$s", "13. Host-Worker Protocol", "A", "A2AServerRegistry", "A5Cipher", "A5KeyStreamGenerator", "A5KeyStreamGeneratorTest", "API", "ATNConfig", "ATNConfigSet", "AVSDeployer", "AWSFirehoseReceiverModuleProvider", "AbstractAdapter", "AbstractClassMetadataFactory", "AbstractDeadLetterQueueW...
[ "$", "ARRAY_SIZE", "AbstractModule", "Adam", "Add", "AddCaller", "AddThreadSelectorEventLoop", "AddToUsizeField", "AnnotationReader", "AnoymousAction", "Args", "ArrayAdapter", "ArrayLoader", "As", "Assert", "AssetsBundle", "AsyncAnthropic", "AsyncClient", "AsyncHttpxClientWrapper...
query: def set_tmp_dir(self, tmp_path) method of TrlTestCase
passage: def set_tmp_dir(self, tmp_path): self.tmp_dir = str(tmp_path)
python
set_tmp_dir
tests/testing_utils.py
huggingface/trl
stack-cqs-index
[ "keepalived_main" ]
[ "getenv", "str" ]
query: protected function buildModel($sourcePath,$options) method of ApiCommand
passage: protected function buildModel($sourcePath,$options) { $files=CFileHelper::findFiles($sourcePath,$options); $model=new ApiModel; $model->build($files); return $model; }
php
buildModel
build/commands/ApiCommand.php
yiisoft/yii
stack-cqs-index
[ "ApiCommand", "ModelLexer", "analyze", "run" ]
[ "ApiModel", "Index", "Model", "addColumn", "addIndex", "addInterface", "addRelationship", "addTrait", "array_map", "before", "build", "buildColumn", "columnNameFromRelationship", "config", "current", "disablePrimaryKey", "disableTimestamps", "empty", "enableSoftDeletes", "enabl...
query: fn on_internal( &mut self, w: &mut W, invocation_parser: Option<&InvocationParser>, internal_exec: &InternalExecution, input_invocation: Option<&VerbInvocation>, trigger_type: TriggerType, app_state: method of PreviewState
passage: ##g ( input _ invocation, internal _ exec, 1 ) ; self. mut _ preview ( ). move _ selection ( - count, true ) ; ok ( cmdresult : : keep ) } internal : : line _ down _ no _ cycle = > { let count = get _ arg ( input _ invocation, internal _ exec, 1 ) ; self. mut _ preview ( ). move _ selection ( count, false ) ; ...
rust
on_internal
src/preview/preview_state.rs
Canop/broot
stack-cqs-index
[ "PanelState", "execute_verb", "on_command", "on_input_internal", "on_internal" ]
[ "DisplayError", "HandleInApp", "Message", "Ok", "Pages", "Some", "and_then", "as_ref", "clone", "collect", "components", "count", "debug", "default_location", "delete", "delete_all", "determine_path", "displayed_tree", "displayed_tree_mut", "error" ]
query: private _getOrCreateScopeForPath(path: (string | number)[]): Scope method of Atom
passage: private _getOrCreateScopeForPath(path: (string | number)[]): Scope { let curScope = this._rootScope for (const pathEl of path) { curScope = curScope.getOrCreateChild(pathEl) } return curScope }
typescript
_getOrCreateScopeForPath
packages/dataverse/src/Atom.ts
theatre-js/theatre
stack-cqs-index
[ "Atom", "onPathValueChange" ]
[ "getOrCreateChild" ]
query: Deprecated: The entire proto file grpc/reflection/v1alpha/reflection.proto is marked as deprecated. func (x *ServerReflectionRequest) GetHost() string method of ServerReflectionRequest
passage: func (x *ServerReflectionRequest) GetHost() string { if x != nil { return x.Host } return "" }
go
GetHost
reflection/grpc_reflection_v1alpha/reflection.pb.go
grpc/grpc-go
stack-cqs-index
[ "CUSBEndpoint", "Command", "CompletionRoutine", "Configure", "ConfigureHID", "DisablePort", "EnumeratePorts", "FromProto", "GetDescriptor", "GetFromDescriptor", "GetLanguageID", "GetSubdomainFull", "HandlePortStatusChange", "Host", "HostList", "InitTerminalControlInfo", "Initialize",...
[ "Contains", "Get", "GetDb", "GetHostById", "GetIntNoErr", "GetIntNoErrByStr", "GetMapKeys", "Index", "Load", "NewReader", "Parse", "ReadRequest", "ServeJSON", "append", "make", "readRequest" ]
query: fn bytes() function bytes
passage: fn bytes() { let mut reqs = Vec::new(); let sizes = [10, 100, 1000, 10000, 100_000]; for size in &sizes { let expect_hdrs = Some(vec![ Header::new(b":status", b"200"), Header::new(b"content-length", size.to_string().as_bytes()), ...
rust
bytes
tools/http3_test/tests/httpbin_tests.rs
cloudflare/quiche
stack-cqs-index
[ "ABogus", "AFM", "Actions", "Addressable", "Admin", "AflUnicornEngine", "Agent", "AifcWriter", "Asm", "AssetBundleManager", "AsymmetricDecryptor", "AsymmetricEncryptor", "AsymmetricJWTSigner", "AsyncReadPacket", "AsyncSocket", "AttachmentController", "Auth", "AuthorizationHandler",...
[ "Add", "Base64", "Binary", "BodyReadError", "ByteArray", "ByteArrayOutputStream", "Debug", "Err", "Error", "Errorf", "Failure", "Field25519", "FileIOUtils", "Incomplete", "Ok", "Pointer", "RequestError", "Size", "Slice", "Some" ]
query: def test_base_types method of RBS::TypeParsingTest
passage: of types : : bases : : class, type assert _ equal " class ", type. location. source end parser. parse _ type ( " any " ). yield _ self do | type | assert _ instance _ of types : : alias, type assert _ equal " any ", type. location. source end end
ruby
test_base_types
test/rbs/type_parsing_test.rb
ruby/rbs
stack-cqs-index
[]
[ "assert_equal", "assert_instance_of", "location", "parse_type", "source", "yield_self" ]
query: Good for: Handling errors for specific operations async function getProfileWithFallback(userId) function getProfileWithFallback
passage: async function getProfileWithFallback(userId) { const user = await fetchUser(userId) // Only this operation has fallback behavior const posts = await fetchPosts(userId).catch(() => []) // This will still throw if it fails const friends = await fetchFriends(userId) ...
javascript
getProfileWithFallback
docs/concepts/async-await.mdx
leonardomso/33-js-concepts
stack-cqs-index
[]
[]
query: evaluateBinaryExpression(e,t) method evaluateBinaryExpression
passage: evaluatebinaryexpression ( e, t ) { const n = this. evaluate ( e. left, t ) ; switch ( e. operator. value ) { case " and " : return n. _ _ bool _ _ ( ). value? this. evaluate ( e. right, t ) : n ; case " or " : return n. _ _ bool _ _ ( ). value? n : this. evaluate ( e. right, t ) } const r = this. evaluate ( e...
javascript
evaluateBinaryExpression
webui/js/transformers@3.0.2.js
agent0ai/agent-zero
stack-cqs-index
[ "evaluate" ]
[ "__bool__", "concat", "evaluate", "find", "has", "includes" ]
query: def build_body(source = "") method of HTTPRequestBodyTest
passage: def build_body(source = "") HTTP::Request::Body.new(source) end
ruby
build_body
test/http/request/body_test.rb
httprb/http
stack-cqs-index
[ "EPUBMaker", "HTTPRequestBodyTest", "IDGXMLMaker", "ReVIEW", "TEXTMaker", "WEBMaker", "_M.do_request", "from_http_request", "generate_html_files", "generate_idgxml_files", "generate_text_files", "produce", "test_chunked_encoding_header_preserved", "test_each_return_value_when_body_is_a_str...
[ "Ok", "add_item", "app_error", "as_str", "build_binary_body", "build_chap", "build_form_body", "build_graphql_body", "build_multipart_body", "build_part", "build_text_body", "chapters", "cleanup_graphimg", "contains_key", "dirname", "each", "error!", "file?", "find", "into" ]
query: private void addSyncConfigToCache(String configName, ESSyncConfig config) method of ESAdapter
passage: private void addsyncconfigtocache ( string configname, essyncconfig config ) { properties envproperties = this. envproperties ; schemaitem schemaitem = sqlparser. parse ( config. getesmapping ( ). getsql ( ) ) ; config. getesmapping ( ). setschemaitem ( schemaitem ) ; druiddatasource datasource = datasourcecon...
java
addSyncConfigToCache
client-adapter/escore/src/main/java/com/alibaba/otter/canal/client/adapter/es/core/ESAdapter.java
alibaba/canal
stack-cqs-index
[ "ClickHouseAdapter", "ESAdapter", "HbaseAdapter", "KuduAdapter", "PhoenixAdapter", "RdbAdapter", "TablestoreAdapter", "addConfig", "updateConfig" ]
[ "DefaultCredentials", "DefaultTableStoreWriter", "RuntimeException", "compile", "computeIfAbsent", "create", "equalsIgnoreCase", "find", "forEach", "get", "getAliasTableItems", "getDataSourceKey", "getDatabase", "getDbMapping", "getDestination", "getEsMapping", "getGroupId", "getHb...
query: fn live(&self) -> bool method of TabsTransitionState
passage: fn live(&self) -> bool { self.current_time < self.duration }
rust
live
druid/src/widget/tabs.rs
linebender/druid
stack-cqs-index
[ "AttributeGroupResource", "AttributesRelationManager", "Built-in Components", "ChannelRelationManager", "ChannelResource", "CollectionGroupResource", "CommandsAppTest", "Config", "DiscountResource", "DisplaysOrderAddresses", "EditProduct", "HasShieldFormComponents", "ManageOrder", "ManageP...
[ "LiveRepository", "WebSocket", "`LiveRepository`", "app", "append", "container_prefix", "defineSource", "execute", "extend", "listen", "live", "map", "myFetch", "on_roles", "println", "propagateLiveCount", "proxy_exec", "proxy_hosts", "roles", "run" ]
query: @Override public int compare(String str1, String str2) method of StringComparator
passage: @Override public int compare(String str1, String str2) { return Integer.compare(str2.length(), str1.length()); }
java
compare
connector/core/src/main/java/com/alibaba/otter/canal/connector/core/filter/AviaterRegexFilter.java
alibaba/canal
stack-cqs-index
[ "$CompileProvider", "--no-slow-hash", "A", "AMQPWriter", "ASet", "AbstractDelayEvent", "AbstractOperationTreeBuilder", "AbstractRunTests", "Acronym", "AdaptiveMergeSortTest", "AdministersTest", "AdvancedMatcher", "App", "AppHelper", "ArrayIndexedComparator", "ArrayUtil", "ArtResizer"...
[ "$", "ATBL", "Ae", "After", "Atoi", "AuthType", "Before", "BigInteger", "Bool", "BufferedReader", "BytesIO", "CFRange", "CFStringCompareWithOptionsAndLocale", "CanConvert", "Check", "Column", "Comparable", "Comparator", "Compare", "Complex" ]
query: (e,t)=> function Bf
passage: (e,t)=>{if(t.startsWith(`Format:`)){e.styleFormat=t;return}if(t.startsWith(`Style:`)){e.styleLines.push(t);return}e.preEventLines.push(t)}
javascript
Bf
dist/vot-min.user.js
ilyhalight/voice-over-translation
stack-cqs-index
[ "$f", "Df", "Ds", "Ef", "Ep", "HN", "Hf", "Hg", "IN", "Ip", "Nf", "Pb", "Rf", "SS", "So", "VU", "Yf", "e", "fn", "getProjectionStyles" ]
[ "$", "$b", "$n", "$watch", "$watchGroup", "Ac", "Array", "At", "Bt", "Cc", "Cn", "D", "Df", "E", "Ec", "Ff", "H", "Il", "Jc", "Ke" ]
query: func TestDirStructSize(t *testing.T) function TestDirStructSize
passage: func TestDirStructSize(t *testing.T) { t.Logf("Dir struct has size %d bytes", unsafe.Sizeof(Dir{})) }
go
TestDirStructSize
vfs/dir_test.go
rclone/rclone
stack-cqs-index
[]
[ "Logf", "Sizeof" ]
query: fn validate_setup_setting_path(name: &str, setting_path: &str) -> Result<(), ExtensionError> method of ExtensionManager
passage: fn validate_setup_setting_path(name: &str, setting_path: &str) -> Result<(), ExtensionError> { if Self::is_allowed_setup_setting_path(name, setting_path) { return Ok(()); } Err(ExtensionError::Other(format!( "Invalid setting_path '{}' for extension '{}': only 'e...
rust
validate_setup_setting_path
src/extensions/manager.rs
nearai/ironclaw
stack-cqs-index
[ "configure" ]
[ "Err", "Ok", "Other", "format", "is_allowed_setup_setting_path" ]
query: bool ItlIwn:: iwn_attach(struct iwn_softc *sc, struct pci_attach_args *pa) method of ItlIwn
passage: _ fwmem ( sc ) )! = 0 ) { xylog ( " : could not allocate memory for firmware \ n " ) ; return false ; } / * allocate " keep warm " page. * / if ( ( error = iwn _ alloc _ kw ( sc ) )! = 0 ) { xylog ( " : could not allocate keep warm page \ n " ) ; goto fail1 ; } / * allocate ict table for 5000 series. * / if ( ...
cpp
iwn_attach
itlwm/hal_iwn/ItlIwn.cpp
OpenIntelWireless/itlwm
stack-cqs-index
[ "attach" ]
[ "DEVNAME", "DPRINTF", "IWN_READ", "IWN_WRITE", "XYLog", "addEventSource", "configRead16", "enable", "ether_sprintf", "filterInterruptEventSource", "getController", "getInterruptType", "ieee80211_ifattach", "ieee80211_media_init", "if_attach", "iwn4965_attach", "iwn5000_attach", "iw...
query: def test_caching_javascript_include_tag_when_caching_off method of AssetTagHelperTest
passage: / javascript " > < / script > \ n < script src = " / javascripts / controls. js " type = " text / javascript " > < / script > \ n < script src = " / javascripts / application. js " type = " text / javascript " > < / script > \ n < script src = " / javascripts / bank. js " type = " text / javascript " > < / scr...
ruby
test_caching_javascript_include_tag_when_caching_off
vendor/rails/actionpack/test/template/asset_tag_helper_test.rb
insoshi/insoshi
stack-cqs-index
[]
[ "assert", "assert_dom_equal", "exist?", "javascript_include_tag", "join", "perform_caching" ]
query: fn drop(&mut self, self_: Resource<RequestOptions>) -> wasmtime::Result<()> method of WasiHttpCtxView
passage: fn drop(&mut self, self_: Resource<RequestOptions>) -> wasmtime::Result<()> { latest::http::types::HostRequestOptions::drop(self, self_) }
rust
drop
crates/factor-outbound-http/src/wasi_2023_11_10.rs
spinframework/spin
stack-cqs-index
[ "APODContentProvider", "APODSQLiteOpenHelper", "AST", "AVLNode", "AccountsController", "ActionCable", "ActiveJob", "ActiveScaffold", "AdapterRequirements", "Adapters", "Add", "AddAffiliatesTable", "AddDatabaseServersTable", "AddDatabasesTables", "AddPackSupport", "AddQuestionAnswersTab...
[ "$", "$showError", "AddInt64", "Borrowed", "CFRelease", "CancelOnDrop", "CloseHandle", "CoUninitialize", "DLOG", "Debugf", "Deferred", "Delete", "DestroyAcceleratorTable", "DestroyIcon", "DestroyMenu", "DestroyWindow", "Dr", "Drop", "DropCommand", "DropTable" ]
query: def initialize(bypass: false, directory: "/test", memory_config: nil) method of MockAgentDefinition
passage: def initialize(bypass: false, directory: "/test", memory_config: nil) @bypass_permissions = bypass @directory = directory @memory_config = memory_config end
ruby
initialize
test/swarm_memory/adapters/virtual_entries_test.rb
parruda/swarm
stack-cqs-index
[ "$s", "13. Host-Worker Protocol", "A", "A2AServerRegistry", "A5Cipher", "A5KeyStreamGenerator", "A5KeyStreamGeneratorTest", "API", "ATNConfig", "ATNConfigSet", "AVSDeployer", "AWSFirehoseReceiverModuleProvider", "AbstractAdapter", "AbstractClassMetadataFactory", "AbstractDeadLetterQueueW...
[ "$", "ARRAY_SIZE", "AbstractModule", "Adam", "Add", "AddCaller", "AddThreadSelectorEventLoop", "AddToUsizeField", "AnnotationReader", "AnoymousAction", "Args", "ArrayAdapter", "ArrayLoader", "As", "Assert", "AssetsBundle", "AsyncAnthropic", "AsyncClient", "AsyncHttpxClientWrapper...
query: function ThirdPartyAgentPage() function ThirdPartyAgentPage
passage: function thirdpartyagentpage ( ) { const { iszh } = uselanguage ( ) return ( < div > < h1 classname = " text - 4xl font - bold mb - 6 " > { iszh? ' 三 方 agent ' : ' third - party agent integration ' } < / h1 > < p classname = " mb - 6 leading - relaxed text - gray - 600 dark : text - gray - 300 " > { iszh? ' pa...
typescript
ThirdPartyAgentPage
packages/website/src/pages/docs/features/third-party-agent/page.tsx
alibaba/page-agent
stack-cqs-index
[]
[ "useLanguage" ]
query: public function testValueMatchesMsgIdSpec() method of IdentificationHeaderTest
passage: public function testValueMatchesMsgIdSpec() { /* -- RFC 2822, 3.6.4. message-id = "Message-ID:" msg-id CRLF in-reply-to = "In-Reply-To:" 1*msg-id CRLF references = "References:" 1*msg-id CRLF msg-id = [CFWS] "<" i...
php
testValueMatchesMsgIdSpec
Tests/Header/IdentificationHeaderTest.php
symfony/mime
stack-cqs-index
[]
[ "IdentificationHeader", "assertEquals", "getBodyAsString" ]
query: constexpr int dblsqr(int n) function dblsqr
passage: constexpr int dblsqr(int n) { return 2 * sqr(n); // Error: Enclosing function is not consteval // and sqr(n) is not a constant }
cpp
dblsqr
Units/parser-cxx.r/properties-consteval.d/input.cc
universal-ctags/ctags
stack-cqs-index
[]
[ "sqr" ]
query: public DashboardUserAPI(Main main) constructor of DashboardUserAPI
passage: public DashboardUserAPI(Main main) { super(main, RECIPE_ID.DASHBOARD.toString()); }
java
DashboardUserAPI
src/main/java/io/supertokens/webserver/api/dashboard/DashboardUserAPI.java
supertokens/supertokens-core
stack-cqs-index
[ "Webserver", "setupRoutes" ]
[ "Gson", "JsonObject", "JsonParser", "ServletException", "UserIdNotFoundException", "add", "addProperty", "deleteUserWithEmail", "deleteUserWithUserId", "enforcePublicTenantAndGetPublicTenantStorage", "getAppIdentifier", "getAsJsonObject", "getDashboardUserByEmail", "getQueryParamOrThrowErr...
query: private function buildNameGenerator(): NameGeneratorInterface method of FeatureSet
passage: private function buildNameGenerator(): NameGeneratorInterface { if ($this->enablePecl) { return new PeclUuidNameGenerator(); } return (new NameGeneratorFactory())->getGenerator(); }
php
buildNameGenerator
src/FeatureSet.php
ramsey/uuid
stack-cqs-index
[ "FeatureSet", "__construct" ]
[ "NameGeneratorFactory", "PeclUuidNameGenerator", "getGenerator" ]
query: def record_and_check_match( prompt function record_and_check_match
passage: def record_and_check_match( prompt: Any, sampled: str, expected: Union[str, list[str], tuple[str]], separator: Callable[[str], bool] = None, options: Optional[list[str]] = None, ): """ Records and checks if a sampled response from a CompletionFn matches the expected result. Arg...
python
record_and_check_match
evals/api.py
openai/evals
stack-cqs-index
[ "Lambada", "Match", "MatchWithSolvers", "MultipleChoice", "SkillAcquisition", "_eval_non_retrieval_sample", "_eval_retrieval_sample", "eval_sample" ]
[ "isinstance", "len", "list", "record_match", "separator", "startswith" ]
query: fn from(value: TuiBindings) -> Self method of Bindings
passage: , address _ mode _ both : keybinding : : from ( value. address _ mode _ both ), toggle _ freeze : keybinding : : from ( value. toggle _ freeze ), toggle _ chart : keybinding : : from ( value. toggle _ chart ), toggle _ map : keybinding : : from ( value. toggle _ map ), toggle _ flows : keybinding : : from ( va...
rust
from
crates/trippy-tui/src/frontend/binding.rs
fujiapple852/trippy
stack-cqs-index
[ "$", "$E", "$T", "$ZodUnion", "$a", "$advancedStyleDeclarations", "$availableProps", "$availableVariables", "$breakpointOptions", "$c", "$computedStyleDeclarations", "$d", "$e", "$getSelections", "$handlePointerDown", "$handlePointerMove", "$handlePointerUp", "$i", "$loadingState...
[ "A", "Access", "AccessDenied", "Acl", "AclRestrictions", "Action", "ActiveLocks", "Adapter", "Address", "AddressBook", "AddressGroup", "AddressList", "Album", "Alt", "AmbiguousCssModuleClass", "Any", "AnyElement", "AnyhowError", "Append", "Approve" ]
query: Emit all collected warnings via LogCollector def emit_warnings(agent_name) method of ClaudeCodeAgentAdapter
passage: def emit_warnings(agent_name) return if @warnings.empty? @warnings.each do |warning| LogCollector.emit( type: "claude_code_conversion_warning", agent: agent_name, message: warning, ) end end
ruby
emit_warnings
lib/swarm_sdk/claude_code_agent_adapter.rb
parruda/swarm
stack-cqs-index
[ "ClaudeCodeAgentAdapter", "SwarmSDK", "parse" ]
[ "each", "emit", "empty?" ]
query: func (c *Command) enforceFlagGroupsForCompletion() method of Command
passage: the group are set, mark all flags in the group / / as required if! isset { for _, fname : = range strings. split ( flaglist, " " ) { _ = c. markflagrequired ( fname ) } } } / / if a flag that is mutually exclusive to others is present, we hide the other / / flags of that group so the shell completion does not ...
go
enforceFlagGroupsForCompletion
flag_groups.go
spf13/cobra
stack-cqs-index
[ "getCompletions" ]
[ "Flags", "Lookup", "MarkFlagRequired", "Split", "VisitAll", "processFlagForGroupAnnotation" ]
query: function condense( unmatched, map, filter, context, xml ) function condense
passage: function condense( unmatched, map, filter, context, xml ) { var elem, newUnmatched = [], i = 0, len = unmatched.length, mapped = map != null; for ( ; i < len; i++ ) { if ( ( elem = unmatched[ i ] ) ) { if ( !filter || filter( elem, context, xml ) )...
typescript
condense
src/static/js/vendors/jquery.ts
ether/etherpad-lite
stack-cqs-index
[ "Ene", "RichTextRun", "TestCell", "TestFont", "Usage at a glance", "condenseWhitespace", "hydrate", "matcherFromGroupMatchers", "onattribend", "refreshEvents", "setMatcher", "test_condense", "test_initialiation", "tokenizer", "upload" ]
[ "charCodeAt", "clone", "copy", "define", "expect", "filter", "find", "intersect_constraints", "isWhitespace", "iter_mut", "n", "push", "reduce", "refreshEvents", "save", "vec" ]
query: function a(t) function a
passage: function a(t){return(new Date).getTime()-t.getTime()}
javascript
a
public/assets/application-efad721948fc6d5a972961aa1c62d871.js
iobridge/thingspeak
stack-cqs-index
[ "$", "$0", "$V", "$W", "$b", "$c", "$e", "$f", "$ie", "$l", "$o", "$p", "$s", "$t", "$vocabulary_$vocabulary", "0.21.0", "3.2.4 Go 汇编中的伪寄存器", "3.4.4 函数中的局部变量", "=> 2", "A" ]
[ "$", "$$createComment", "$$postDigest", "$_Cn", "$_Dt", "$addFoldLine", "$apply", "$asArray", "$broadcast", "$c", "$char", "$clipRangeToDocument", "$destroy", "$digest", "$e", "$effect", "$eval", "$f", "$g", "$i" ]
query: public function testUtcTimeWithoutSeconds(): void method of X509Test
passage: public function testutctimewithoutseconds ( ) : void { $ test = ' - - - - - begin certificate - - - - - miigfdccbpygawibagidkchvma0gcsqgsib3dqebbquamihcmqswcqydvqqgewjvuzeqma4ga1ue cbmhqxjpem9uytetmbega1uebxmku2nvdhrzzgfsztelmcmga1uechmcu3rhcmzpzwxkifrly2hu b2xvz2llcywgsw5jlje5mdcga1uecxmwahr0cdovl2nlcnrpzmljy...
php
testUtcTimeWithoutSeconds
tests/Unit/File/X509/X509Test.php
phpseclib/phpseclib
stack-cqs-index
[]
[ "assertEquals", "load" ]
query: @BeforeEach void setUp() method of IndexQueryTest
passage: @BeforeEach void setUp() { // insert some data for query tests var fake1 = createFake("fake1"); fake1.setStringValue("string1"); var fake2 = createFake("fake2"); fake2.setStringValue("string2"); var fa...
java
setUp
application/src/test/java/run/halo/app/extension/index/SingleValueIndexTest.java
halo-dev/halo
stack-cqs-index
[ "AAOTest", "ACLTest", "AIOSMTPActionTest", "ASTBuilderTest", "AbstractBladeTestCase", "AbstractConsumerTest", "AbstractDispatcherLoopTest", "AbstractExternalTaskTestCase", "AbstractFieldFunctionalTest", "AbstractFixerTestCase", "AbstractGeneratorCommand", "AbstractHttpTest", "AbstractInjecto...
[ "A", "A5Cipher", "A5KeyStreamGenerator", "ACL", "AVLTree", "AWSStaticCredentialsProvider", "AbstractGroup", "AbstractHandler", "AbstractListAdapter", "AbstractMigrationStub", "AbstractModule", "AbstractPermissionValidatorImpl", "AbstractVIPResource", "AcceptParser", "AcceptSuggestionActi...
query: public Builder stableKey(String stableKey) method of Builder
passage: public Builder stableKey(String stableKey) { this.stableKey = stableKey; return this; }
java
stableKey
Android/dokit/src/main/java/com/didichuxing/doraemonkit/picasso/Request.java
didi/DoKit
stack-cqs-index
[ "RequestCreator", "stableKey" ]
[ "stableKey" ]
query: CamelCase returns the CamelCased name. func CamelCase(s string) string function CamelCase
passage: func CamelCase(s string) string { if s == "" { return "" } t := make([]byte, 0, 32) i := 0 if s[0] == '_' { // Need a capital letter; drop the '_'. t = append(t, 'X') i++ } // Invariant: if the next letter is lower case, it must be converted // to upper case. // That is, we process a word at a...
go
CamelCase
cmd/protoc-gen-micro/generator/generator.go
micro/go-micro
stack-cqs-index
[ "BenchmarkCamelCase", "CamelCaseSlice", "Configuration", "Custom filters", "DescName", "GenMain", "TestAllCase", "TestCamelCase", "buildServiceSpec", "defaultConstantName", "genCallGroup", "genCallInCompatibility", "genFunction", "genFunctions", "genLogicFunction", "genServerGroup", ...
[ "Capitalize", "Join", "ToLower", "Words", "[play", "append", "article", "before", "camel", "describe", "getAttribute", "getFillable", "isASCIIDigit", "isASCIILower", "keyTransform", "len", "make", "setAttribute", "snake", "string" ]
query: First returns the first Metadata entity from the query. func (mq *MetadataQuery) First(ctx context.Context) (*Metadata, error) method of MetadataQuery
passage: func (mq *MetadataQuery) First(ctx context.Context) (*Metadata, error) { nodes, err := mq.Limit(1).All(setContextOp(ctx, mq.ctx, "First")) if err != nil { return nil, err } if len(nodes) == 0 { return nil, &NotFoundError{metadata.Label} } return nodes[0], nil }
go
First
ent/metadata_query.go
cloudreve/cloudreve
stack-cqs-index
[ "Acquire", "AddBaseMenu", "AddChunk", "AddFunc", "AddMRUItem", "AddMenuAuthority", "AdminDeleteUserSubscription", "AdminInvalidateUserSubscription", "AnonymousGroup", "ApiGetStreamInfo", "ApiOverwrite", "ApiReadDirectory", "BenchmarkFirst", "BenchmarkItFirst", "BindWithProviderMethodModu...
[ "Acquire", "AddClause", "Aggregator", "All", "BuildCondition", "Context", "Error", "Execute", "FailWithMessage", "First", "Get", "Indirect", "Interface", "Issues", "Kind", "Len", "Limit", "Model", "New", "OkWithDetailed" ]
query: public static HttpRequestForOAuthProvider.Response proxyFormPOST(Main main, HttpServletRequest req, HttpServletResponse resp, AppIdentifier appIdentifier, Storage storage, String clientIdToCheck, Stri method of OAuthProxyHelper
passage: public static HttpRequestForOAuthProvider.Response proxyFormPOST(Main main, HttpServletRequest req, HttpServletResponse resp, AppIdentifier appIdentifier, Storage storage, String clientIdToCheck, String path, boolean proxyToAdmin, boolean cam...
java
proxyFormPOST
src/main/java/io/supertokens/webserver/api/oauth/OAuthProxyHelper.java
supertokens/supertokens-core
stack-cqs-index
[ "OAuthTokenAPI", "OAuthTokenIntrospectAPI", "RevokeOAuthTokenAPI", "doPost", "handle" ]
[ "ServletException", "doOAuthProxyFormPOST", "handleOAuthAPIException", "handleOAuthClientNotFoundException" ]
query: void pipe_buffer::detach_sender() method of pipe_buffer
passage: void pipe_buffer::detach_sender() { std::lock_guard<mutex> guard(mtx); if (sender) { sender = nullptr; if (receiver) poll_wake(receiver, POLLHUP); may_read.wake_all(); } }
cpp
detach_sender
libc/pipe_buffer.cc
cloudius-systems/osv
stack-cqs-index
[ "close", "pipe_writer", "shutdown_af_local", "~pipe_writer" ]
[ "poll_wake", "wake_all" ]
query: ( string: string ): Map<Instance["id"], Instance> => function parseInstanceData
passage: ( string: string ): Map<Instance["id"], Instance> => { const list = parseCompactInstanceData(string); return new Map(list.map((item) => [item.id, item])); }
typescript
parseInstanceData
packages/project-build/src/db/build.ts
webstudio-is/webstudio
stack-cqs-index
[ "action" ]
[ "map", "parseCompactInstanceData" ]
query: @java.lang.SuppressWarnings("all") @lombok.Generated public ConstructorsWithBuilderDefaults() constructor of ConstructorsWithBuilderDefaults
passage: @java.lang.SuppressWarnings("all") @lombok.Generated public ConstructorsWithBuilderDefaults() { this.y = 0; this.x = ConstructorsWithBuilderDefaults.$default$x(); }
java
ConstructorsWithBuilderDefaults
test/transform/resource/after-delombok/ConstructorsWithBuilderDefaults.java
projectlombok/lombok
stack-cqs-index
[ "ConstructorsWithBuilderDefaults", "ConstructorsWithBuilderDefaultsBuilder", "build" ]
[ "$default$x", "$default$z", "ConstructorsWithBuilderDefaults", "equals", "getQ", "getX", "getY", "getZ", "hashCode" ]
query: def test_running_filters_with_class method of FilterTest
passage: def test_running_filters_with_class assert test_process(AuditController).template.assigns["was_audited"] end
ruby
test_running_filters_with_class
vendor/rails/actionpack/test/controller/filters_test.rb
insoshi/insoshi
stack-cqs-index
[]
[ "assert", "assigns", "template", "test_process" ]
query: def get_config(app function get_config
passage: def get_config(app: Sanic, ssl: SanicSSLContext | CertSelector | SSLContext): # TODO: # - proper selection needed if service with multiple certs insted of # just taking the first if isinstance(ssl, CertSelector): ssl = cast(SanicSSLContext, ssl.sanic_select[0]) if app.config.LOCAL...
python
get_config
sanic/http/http3.py
sanic-org/sanic
stack-cqs-index
[ "AIService", "Action", "AnthropicImageProvider", "AnthropicTextProvider", "App", "AppHarness", "AppHarnessProd", "Backend", "BaseHadoopJobTask", "BaseLogging", "BaseState", "Binary", "CI_Config", "CI_Lang", "CI_Log", "CONFIG", "CharTokenizer", "ChoiceTest", "CmdlineTest", "Conf...
[ "CN", "ChatSenderMatchRuleConfig", "ChatTypeMatchRuleConfig", "ConfigDoesNotExistException", "ConfigParser", "ConfigRetrievalError", "Depends", "DoesNotExist", "EmbeddedError", "Err", "GetConfigResponse", "IMInstanceMatchRuleConfig", "InvalidConfiguration", "InvalidKey", "KeywordRuleConf...
query: def test_singleton_aref method of HashTest
passage: def test_singleton_aref Hash[a: 42, b: 43] Hash[[[:a, 1], [:b, 3]]] Hash[:a, 1, :b, 3] end
ruby
test_singleton_aref
test/stdlib/Hash_test.rb
ruby/rbs
stack-cqs-index
[]
[]
query: (p: Position): Position => method of MoveLeft
passage: (p: Position): Position => { const line = vimState.document.lineAt(p.line).text; if (p.character === 0) { return p; } if ( isLowSurrogate(line.charCodeAt(p.character)) && isHighSurrogate(line.charCodeAt(p.character - 1)) ) { p = p.getLeft(); ...
typescript
getLeftWhile
src/actions/motion.ts
VSCodeVim/Vim
stack-cqs-index
[ "MoveLeft", "execAction" ]
[ "charCodeAt", "getLeft", "isHighSurrogate", "isLowSurrogate", "lineAt" ]
query: public function __construct(?string $name = null, string $type = 'callback', ?string $rule = null, ?bool $singleton = null, ?string $mutexPool = null, ?int $mutexExpires = null, ?bool $onOneServer = n constructor of Crontab
passage: public function __construct(?string $name = null, string $type = 'callback', ?string $rule = null, ?bool $singleton = null, ?string $mutexPool = null, ?int $mutexExpires = null, ?bool $onOneServer = null, null|array|string $callback = null, ?string $memo = null, array|bool|string $enable = true) { }
php
__construct
src/ide-helper/output/Hyperf/Crontab/Annotation/Crontab.php
hyperf/hyperf
stack-cqs-index
[ "0.3.0", "AMQPArray", "AMQPBasicCancelException", "AMQPChannel", "AMQPConnection", "AMQPConnectionBlockedException", "AMQPProtocolException", "AMQPSSLConnection", "AMQPSocketConnection", "AMQPStreamConnection", "AMQPTimeoutException", "ANullSrcFilter", "APCuIterator", "APICallTypeNotRecogn...
[ "AMQPNotImplementedException", "AMQPOutOfBoundsException", "AMQPRuntimeException", "AMQPWriter", "APC", "AccessInterceptorScopeLocalizerGenerator", "AccessInterceptorValueHolderGenerator", "Action", "Address", "Adminer", "AdminlteAssetsResource", "AdvanceMp4Player", "AdvanceWmaPlayer", "Af...
query: Parse parses #tag syntax using Unicode-aware validation. func (*tagParser) Parse(_ gast.Node, block text.Reader, _ parser.Context) gast.Node method of tagParser
passage: func (*tagParser) Parse(_ gast.Node, block text.Reader, _ parser.Context) gast.Node { line, _ := block.PeekLine() // Must start with # if len(line) == 0 || line[0] != '#' { return nil } // Check if it's a heading (## or space after #) if len(line) > 1 { if line[1] == '#' { // It's a heading (##)...
go
Parse
plugin/markdown/parser/tag.go
usememos/memos
stack-cqs-index
[ "12.4.2 flag 包", "13.4 自定义包中的错误处理和 panicking", "15.7.1 字段替换:`{{.FieldName}}`", "A", "APICall", "APISecretAuth", "AboutForm", "AbsoluteURI", "AbsoluteURL", "AbstractAddition", "AbstractMetadata", "ActivateContext", "Adapt", "AddColumn", "AddContextRoot", "AddJob", "AddRemote", "AddR...
[ "Abs", "AbsolutePath", "Add", "AddBracketStringToken", "AddFilter", "AddGlobalSym", "AddMeta", "AddMsg", "AddOperator", "AddParseTree", "AddProperty", "AddSeconds", "AddSort", "AddStringToken", "AddToken", "AddressEntry", "Advance", "Alg", "Allocate", "Annotate" ]
query: The position of the mouse relative to the middle of the window in focus.. pub fn position(&self) -> Point2 method of Mouse
passage: pub fn position(&self) -> Point2 { [self.x, self.y].into() }
rust
position
nannou/src/state.rs
nannou-org/nannou
stack-cqs-index
[ "AIRGoogleMap", "AMapRouteOverlay", "API", "Abilities", "AbstractBox", "AbstractBoxParser", "AbstractDescriptorBox", "AbstractFontProcessorTest", "AbstractFrameDecorator", "ActionLinkHelpers", "ActionLinkTest", "ActiveRecord", "ActiveRecordCursor", "ActiveScaffold", "AdminPropertiesFacto...
[ "$$", "ByteInput", "ColumnPinningPosition", "Exception", "IllegalArgumentException", "Ok", "Position", "RowPinningPosition", "Some", "UnsupportedOperationException", "_association", "_getFS", "_get_position", "_index", "_lockFS", "_unlockFS", "`ColumnPinningPosition`", "`RowPinning...
query: Close closes the resources associated with input helper func (h *Helper) Close() error method of Helper
passage: func (h *Helper) Close() error { var err error if h.InputsHTTP != nil { err = h.InputsHTTP.Close() } return err }
go
Close
pkg/input/transform.go
projectdiscovery/nuclei
stack-cqs-index
[ "11.2 接口嵌套接口", "2. Update Probe Structure", "4.1 MessageBus", "A - C", "API", "APICall", "ARCSize", "Abort", "AbstractAddition", "AbstractMetadata", "Accept", "AcceptInvite", "Acquire", "AcquireConn", "Add", "AddDelDeviceAddr", "AddDevice", "AddFile", "AddFileInfoToError", "Add...
[ "AAsset_close", "ASSERT", "Abandon", "Abort", "Add", "AddInt32", "Addr", "After", "AfterFunc", "All", "Annotate", "Any", "Append", "Assert", "AtDebug", "AtWarning", "Atoi", "Attach", "Background", "Base" ]
query: public function setRouteName(string $routeName): void method of DashboardDto
passage: public function setRouteName(string $routeName): void { $this->routeName = $routeName; }
php
setRouteName
src/Dto/DashboardDto.php
EasyCorp/EasyAdminBundle
stack-cqs-index
[ "Action", "AdminContextFactory", "AdminUrlGeneratorTest", "DashboardContext", "DashboardContextTest", "LaravelLocalizationRoutes", "MenuFactoryTest", "RouteMenuItem", "__construct", "createRouteMenuItem", "forTesting", "getAdminUrlGenerator", "getDashboardDto", "handle", "linkToRoute", ...
[]
query: ------------------------------------------------------------------------------ HistoryDb::ExpandResult HistoryDb::expand(const char* line, StrBase& out) const method of HistoryDb
passage: HistoryDb::ExpandResult HistoryDb::expand(const char* line, StrBase& out) const { using_history(); char* expanded = nullptr; int32 result = history_expand((char*)line, &expanded); if (result >= 0 && expanded != nullptr) out.copy(expanded); free(expanded); return ExpandResult(r...
cpp
expand
clink/app/src/history/history_db.cpp
mridgers/clink
stack-cqs-index
[ "$", "$a", "A", "AbstractBaseIntegrationTest", "Accordion", "AnyStyle", "Api", "ApplicationHelper", "Array2DHashSet", "Attend", "Attention", "AttentionPool", "AttentionPool2d", "AttentionPoolLatent", "AttnProcessor", "AutoModelForSentenceEmbedding", "B", "BBox", "BOFTLayer", "B...
[ "Concrete", "D", "Draw", "Err", "Exception", "Expand", "Expand Tags", "ExpandResult", "FindAllStringSubmatch", "INTPAR", "IllegalStateException", "LLIST_link", "LongArray", "Normal", "Ok", "PolygonBox", "Prop", "ReplaceAll", "Router", "S" ]
query: function render() method of Listbox
passage: " > < label class = " control - label " for = " { $ prop } " > { $ label } < / label > < div class = " controls " > < select class = " { $ inputclass } " id = " { $ prop } " name = " data [ { $ prop } ] " { $ disabled } { $ popover } { $ onchange } > { $ srenderedoptions } < / select > { $ helpblock } < / div ...
php
render
Core/Frameworks/Formal/Element/Listbox.php
sabre-io/Baikal
stack-cqs-index
[ "$", "$b", "$e", "$m", "$s", "$t", "**cloneElement:**", "1.48.0", "2.26.0", "2.30.0", "<img alt=\"chi\" src=\"https://cdn.rawgit.com/go-chi/chi/master/_examples/chi.svg\" width=\"220\" />", "A", "AIME25Eval", "ANoDispatch", "AOwnProps", "API", "APIController", "APIControllerGenerat...
[ "$", "$broadcast", "$c", "$createElement", "$digest", "$emit", "$forceUpdate", "$h", "$mount", "$on", "$r", "$s", "$t", "A", "ASSERT", "Accordion", "Ad", "Ansi", "AnsiValue", "AppendToml" ]
query: function Fu(n,t,e,r) function Fu
passage: function Fu(n,t,e,r){var u=e(n[0],n[1]),i=r(t[0],t[1]);return function(n){return i(u(n))}}
javascript
Fu
explainshell/web/static/js/d3.v3.min.js
idank/explainshell
stack-cqs-index
[ "$0", "Be", "Cl", "D_", "Ep", "F", "Fn", "Gn", "Gu", "Hu", "Iu", "Ko", "Ku", "Lo", "Lu", "ND", "Pb", "Pu", "Si", "VC" ]
[ "Ar", "Au", "C", "Dt", "Fe", "Ht", "Hu", "Kt", "Ln", "Me", "Mu", "Nt", "Oi", "Qn", "Tt", "Ue", "Uu", "Vu", "Wr", "Yt" ]