idx
int64
func
string
target
int64
347,054
_krb5_extract_ticket(krb5_context context, krb5_kdc_rep *rep, krb5_creds *creds, krb5_keyblock *key, krb5_const_pointer keyseed, krb5_key_usage key_usage, krb5_addresses *addrs, unsigned nonce, unsigned flags, krb5_data *request, krb5_decrypt_proc de...
1
226,922
void LayerTreeCoordinator::layerFlushTimerFired(Timer<LayerTreeCoordinator>*) { performScheduledLayerFlush(); }
0
470,114
static void svm_msr_filter_changed(struct kvm_vcpu *vcpu) { struct vcpu_svm *svm = to_svm(vcpu); u32 i; /* * Set intercept permissions for all direct access MSRs again. They * will automatically get filtered through the MSR filter, so we are * back in sync after this. */ for (i = 0; direct_access_msrs[i].i...
0
266,190
CongestionAndRttState moveCurrentCongestionAndRttState( QuicServerConnectionState& conn) { CongestionAndRttState state; state.peerAddress = conn.peerAddress; state.recordTime = Clock::now(); state.congestionController = std::move(conn.congestionController); state.srtt = conn.lossState.srtt; state.lrtt =...
0
140,090
const unsigned char* lodepng_chunk_next_const(const unsigned char* chunk) { unsigned total_chunk_length = lodepng_chunk_length(chunk) + 12; return &chunk[total_chunk_length]; }
0
367,117
static int cap_unix_may_send(struct socket *sock, struct socket *other) { return 0; }
0
323,666
static int handle_sigp_single_dst(S390CPU *dst_cpu, uint8_t order, uint64_t param, uint64_t *status_reg) { SigpInfo si = { .param = param, .status_reg = status_reg, }; /* cpu available? */ if (dst_cpu == NULL) { return SIGP_CC_NOT_OPER...
0
521,294
bool Item_func_in::fix_for_row_comparison_using_bisection(THD *thd) { if (unlikely(!(array= new (thd->mem_root) in_row(thd, arg_count-1, 0)))) return true; cmp_item_row *cmp= &((in_row*)array)->tmp; if (cmp->prepare_comparators(thd, func_name(), this, 0)) return true; fix_in_vector(); return false; }
0
143
guint16 de_mid ( tvbuff_t * tvb , proto_tree * tree , packet_info * pinfo , guint32 offset , guint len , gchar * add_string , int string_len ) { guint8 oct ; guint32 curr_offset ; guint32 value ; gboolean odd ; const gchar * digit_str ; proto_item * ti ; curr_offset = offset ; oct = tvb_get_guint8 ( tvb , curr_...
1
388,283
static int extent_same_check_offsets(struct inode *inode, u64 off, u64 *plen, u64 olen) { u64 len = *plen; u64 bs = BTRFS_I(inode)->root->fs_info->sb->s_blocksize; if (off + olen > inode->i_size || off + olen < off) return -EINVAL; /* if we extend to eof, continue to block boundary */ if (off + len ==...
0
271,766
static void parse_from_commit(struct branch *b, char *buf, unsigned long size) { if (!buf || size < 46) die("Not a valid commit: %s", sha1_to_hex(b->sha1)); if (memcmp("tree ", buf, 5) || get_sha1_hex(buf + 5, b->branch_tree.versions[1].sha1)) die("The commit %s is corrupt", sha1_to_hex(b->sha1)); hashcpy(b->b...
0
399,613
hrtimer_force_reprogram(struct hrtimer_cpu_base *cpu_base, int skip_equal) { ktime_t expires_next; if (!cpu_base->hres_active) return; expires_next = __hrtimer_get_next_event(cpu_base); if (skip_equal && expires_next == cpu_base->expires_next) return; cpu_base->expires_next = expires_next; /* * If a ha...
0
241,360
void VideoRendererBase::AttemptFlush_Locked() { lock_.AssertAcquired(); DCHECK_EQ(kFlushing, state_); ready_frames_.clear(); if (!pending_paint_ && !pending_read_) { state_ = kFlushed; current_frame_ = NULL; base::ResetAndReturn(&flush_cb_).Run(); } }
0
85,404
closeTransport(PRIVATE_ASSOCIATIONKEY ** association) { closeTransportTCP(association); }
0
446,964
static bool paged_attrs_same(const char * const *attrs_1, const char * const *attrs_2) { int i; if (attrs_1 == NULL || attrs_2 == NULL) { if (attrs_1 == NULL && attrs_2 == NULL) { return true; } return false; } for (i=0; attrs_1[i] != NULL; i++) { if (!ldb_attr_in_list(attrs_2, attrs_1[i])...
0
319,448
void qmp_block_set_io_throttle(const char *device, int64_t bps, int64_t bps_rd, int64_t bps_wr, int64_t iops, int64_t iops_rd, int64_t iops_wr, bool has_bps_max...
1
447,668
static bool net_tx_pkt_parse_headers(struct NetTxPkt *pkt) { struct iovec *l2_hdr, *l3_hdr; size_t bytes_read; size_t full_ip6hdr_len; uint16_t l3_proto; assert(pkt); l2_hdr = &pkt->vec[NET_TX_PKT_L2HDR_FRAG]; l3_hdr = &pkt->vec[NET_TX_PKT_L3HDR_FRAG]; bytes_read = iov_to_buf(pkt->raw...
0
447,985
_XimSetICValuesCheck( Xim im, INT16 len, XPointer data, XPointer arg) { Xic ic = (Xic)arg; CARD16 *buf_s = (CARD16 *)((CARD8 *)data + XIM_HEADER_SIZE); CARD8 major_opcode = *((CARD8 *)data); CARD8 minor_opcode = *((CARD8 *)data + 1); XIMID imid = buf_s[0]; ...
0
262,898
getroom( spellinfo_T *spin, size_t len, /* length needed */ int align) /* align for pointer */ { char_u *p; sblock_T *bl = spin->si_blocks; if (align && bl != NULL) /* Round size up for alignment. On some systems structures need to be * aligned to the size of a pointer (e.g., SPARC). */ ...
0
231,953
std::string ChromeContentRendererClient::GetNavigationErrorHtml( const WebURLRequest& failed_request, const WebURLError& error) { GURL failed_url = error.unreachableURL; std::string html; const Extension* extension = NULL; int resource_id; DictionaryValue error_strings; if (failed_url.is_valid() &&...
0
40,787
static void write_bin_response(conn *c, void *d, int hlen, int keylen, int dlen) { if (!c->noreply || c->cmd == PROTOCOL_BINARY_CMD_GET || c->cmd == PROTOCOL_BINARY_CMD_GETK) { add_bin_header(c, 0, hlen, keylen, dlen); if(dlen > 0) { add_iov(c, d, dlen); } conn_se...
0
108,762
static inline void schedule_debug(struct task_struct *prev) { /* * Test if we are atomic. Since do_exit() needs to call into * schedule() atomically, we ignore that path for now. * Otherwise, whine if we are scheduling when we should not be. */ if (unlikely(in_atomic_preempt_off() && !prev->exit_state)) __s...
0
418,560
snmpLookupNodeStr(mib_tree_entry *root, const char *str) { oid *name; int namelen; mib_tree_entry *e; if (root) e = root; else e = mib_tree_head; if (! snmpCreateOidFromStr(str, &name, &namelen)) return NULL; /* I wish there were some kind of sensible existing tree...
0
447,097
Guint FoFiTrueType::scanLookupList(Guint listIndex, Guint orgGID) { Guint lookupTable; Guint subTableCount; Guint subTable; Guint i; Guint gid = 0; Guint pos; if (gsubLookupList == 0) return 0; /* no lookup list */ pos = gsubLookupList+2+listIndex*2; lookupTable = getU16BE(pos,&parsedOk); /* read l...
0
192,978
_dbus_strerror (int error_number) { #ifdef DBUS_WINCE return "unknown"; #else const char *msg; switch (error_number) { case WSAEINTR: return "Interrupted function call"; case WSAEACCES: return "Permission denied"; case WSAEFAULT: return "Bad address"; case WSAEINVAL: r...
0
836
static void _LMBCSToUnicodeWithOffsets ( UConverterToUnicodeArgs * args , UErrorCode * err ) { char LMBCS [ ULMBCS_CHARSIZE_MAX ] ; UChar uniChar ; const char * saveSource ; const char * pStartLMBCS = args -> source ; const char * errSource = NULL ; int8_t savebytes = 0 ; while ( U_SUCCESS ( * err ) && args -> s...
1
473,878
void fd_install(unsigned int fd, struct file *file) { struct files_struct *files = current->files; struct fdtable *fdt; rcu_read_lock_sched(); if (unlikely(files->resize_in_progress)) { rcu_read_unlock_sched(); spin_lock(&files->file_lock); fdt = files_fdtable(files); BUG_ON(fdt->fd[fd] != NULL); rcu_as...
0
251,516
PassRefPtr<HTMLCollection> Document::forms() { return ensureCachedCollection(DocForms); }
0
81,855
static int __ip_append_data(struct sock *sk, struct sk_buff_head *queue, struct inet_cork *cork, int getfrag(void *from, char *to, int offset, int len, int odd, struct sk_buff *skb), void *from, int length, int transhdrlen, unsigned int flags) { struct inet_sock *inet = inet_sk(sk); s...
0
408,896
page_objects_sort(fz_context *ctx, page_objects *po) { int i, j; int n = po->len; /* Step 1: Make a heap */ /* Invariant: Valid heap in [0..i), unsorted elements in [i..n) */ for (i = 1; i < n; i++) { /* Now bubble backwards to maintain heap invariant */ j = i; while (j != 0) { int tmp; int k = (j-...
0
190,932
void SVGDocumentExtensions::rebuildAllElementReferencesForTarget(SVGElement* referencedElement) { ASSERT(referencedElement); HashMap<SVGElement*, OwnPtr<HashSet<SVGElement*> > >::iterator it = m_elementDependencies.find(referencedElement); if (it == m_elementDependencies.end()) return; ASSERT(it...
0
486,190
dns_enable_merge (void (*f)(const char *, const char *, const char *)) { merge_enable = 1; merge_logger = f; }
0
168,474
g_verify_token_header(gss_OID_const mech, unsigned int *body_size, unsigned char **buf_in, int tok_type, unsigned int toksize) { unsigned char *buf = *buf_in; int seqsize; gss_OID_desc toid; int ret = 0; unsigned int bytes; if (toksize-- < 1) return (G_BAD_TOK_HEADER); if (*buf++ != H...
0
234,835
MediaElementAudioSourceNode* MediaElementAudioSourceNode::Create( AudioContext* context, const MediaElementAudioSourceOptions& options, ExceptionState& exception_state) { return Create(*context, *options.mediaElement(), exception_state); }
0
116,368
ConfigHelper::buildBaseListener(const std::string& name, const std::string& address, const std::string& filter_chains) { API_NO_BOOST(envoy::config::listener::v3::Listener) listener; TestUtility::loadFromYaml(fmt::format( R"EOF( name: {} ad...
0
378,672
static bool vfswrap_strict_lock(struct vfs_handle_struct *handle, files_struct *fsp, struct lock_struct *plock) { SMB_ASSERT(plock->lock_type == READ_LOCK || plock->lock_type == WRITE_LOCK); return strict_lock_default(fsp, plock); }
0
407,959
static int setcharset(unsigned char **p, unsigned char *charset) { setcharset_state state = CURLFNM_SCHS_DEFAULT; unsigned char rangestart = 0; unsigned char lastchar = 0; bool something_found = FALSE; unsigned char c; for(;;) { c = **p; if(!c) return SETCHARSET_FAIL; switch(state) { ...
0
62,469
void LoRaMacProcess( void ) { uint8_t noTx = false; LoRaMacHandleIrqEvents( ); LoRaMacClassBProcess( ); // MAC proceeded a state and is ready to check if( MacCtx.MacFlags.Bits.MacDone == 1 ) { LoRaMacEnableRequests( LORAMAC_REQUEST_HANDLING_OFF ); LoRaMacCheckForRxAb...
0
216,848
static bool verify_vbr_checksum(struct exfat_dev* dev, void* sector, off_t sector_size) { uint32_t vbr_checksum; int i; if (exfat_pread(dev, sector, sector_size, 0) < 0) { exfat_error("failed to read boot sector"); return false; } vbr_checksum = exfat_vbr_start_checksum(sector, sector_size); for (i = 1; i...
0
25,764
static void std_conv_pixmap ( fz_context * ctx , fz_pixmap * dst , fz_pixmap * src , fz_colorspace * prf , const fz_default_colorspaces * default_cs , const fz_color_params * color_params , int copy_spots ) { float srcv [ FZ_MAX_COLORS ] ; float dstv [ FZ_MAX_COLORS ] ; int srcn , dstn ; int k , i ; size_t w = src...
0
156,991
void WebContents::GoForward() { if (!ElectronBrowserClient::Get()->CanUseCustomSiteInstance()) { electron::ElectronBrowserClient::SuppressRendererProcessRestartForOnce(); } web_contents()->GetController().GoForward(); }
0
131,915
mode_t enc_untrusted_umask(mode_t mask) { return EnsureInitializedAndDispatchSyscall(asylo::system_call::kSYS_umask, mask); }
0
86,366
rsvg_new_filter_primitive_specular_lighting (const char *element_name, RsvgNode *parent) { RsvgFilterPrimitiveSpecularLighting *filter; filter = g_new0 (RsvgFilterPrimitiveSpecularLighting, 1); filter->super.in = g_string_new ("none"); filter->super.result = g_string_new ("none"); filter->surfaceSc...
0
159,480
LibRaw_byte_buffer::~LibRaw_byte_buffer() { if(do_free) free(buf); }
0
260,192
void RemoteDevicePropertiesWidget::update(const RemoteFsDevice::Details &d, bool create, bool isConnected) { int t=d.isLocalFile() ? Type_File : Type_SshFs; setEnabled(d.isLocalFile() || !isConnected); infoLabel->setVisible(create); orig=d; name->setText(d.name); sshPort->setValue(22); conn...
0
201,836
void LoadingDataCollector::CleanupAbandonedNavigations( const NavigationID& navigation_id) { if (stats_collector_) stats_collector_->CleanupAbandonedStats(); static const base::TimeDelta max_navigation_age = base::TimeDelta::FromSeconds(config_.max_navigation_lifetime_seconds); base::TimeTicks tim...
0
52,082
static int ssl_parse_session_ticket_ext( mbedtls_ssl_context *ssl, unsigned char *buf, size_t len ) { int ret; mbedtls_ssl_session session; mbedtls_ssl_session_init( &session ); if( ssl->conf->f_ticket_parse == NULL || ...
0
64,474
static gboolean handle_store(MonoThread *thread) { mono_threads_lock (); THREAD_DEBUG (g_message ("%s: thread %p ID %"G_GSIZE_FORMAT, __func__, thread, (gsize)thread->internal_thread->tid)); if (threads_starting_up) mono_g_hash_table_remove (threads_starting_up, thread); if (shutting_down) { mono_threads_unl...
0
82,640
and_code_range_buf(BBuf* bbuf1, int not1, BBuf* bbuf2, int not2, BBuf** pbuf) { int r; OnigCodePoint i, j, n1, n2, *data1, *data2; OnigCodePoint from, to, from1, to1, from2, to2; *pbuf = (BBuf* )NULL; if (IS_NULL(bbuf1)) { if (not1 != 0 && IS_NOT_NULL(bbuf2)) /* not1 != 0 -> not2 == 0 */ return bbu...
0
330,671
static inline void RENAME(yuy2toyv12)(const uint8_t *src, uint8_t *ydst, uint8_t *udst, uint8_t *vdst, long width, long height, long lumStride, long chromStride, long srcStride) { long y; const long chromWidth= width>>1; for(y=0; y<height; y+=2) { #ifdef HAVE_MMX asm volatile( "xor %%"REG_a", %%"RE...
0
69,264
validate_cursor(void) { check_cursor_moved(curwin); if ((curwin->w_valid & (VALID_WCOL|VALID_WROW)) != (VALID_WCOL|VALID_WROW)) curs_columns(TRUE); }
0
118,088
static void ff_jref_idct2_add(uint8_t *dest, ptrdiff_t line_size, int16_t *block) { ff_j_rev_dct2 (block); add_pixels_clamped2_c(block, dest, line_size); }
0
218,225
size_t mptsas_config_sas_io_unit_1(MPTSASState *s, uint8_t **data, int address) { size_t size = MPTSAS_CONFIG_PACK_EXT(1, MPI_CONFIG_EXTPAGETYPE_SAS_IO_UNIT, 0x07, "*w*w*w*wb*b*b*b" repl(MPTSAS_NUM_PORTS, "*s12"), ...
0
231,021
AutofillDialogViews::NotificationArea::~NotificationArea() {}
0
444,600
TEST_F(HttpConnectionManagerImplTest, RequestTimeoutIsNotDisarmedOnIncompleteRequestWithHeader) { request_timeout_ = std::chrono::milliseconds(10); setup(false, ""); EXPECT_CALL(*codec_, dispatch(_)).WillOnce(Invoke([&](Buffer::Instance&) -> Http::Status { Event::MockTimer* request_timer = setUpTimer(); ...
0
335,801
static void vhost_dev_sync_region(struct vhost_dev *dev, uint64_t mfirst, uint64_t mlast, uint64_t rfirst, uint64_t rlast) { uint64_t start = MAX(mfirst, rfirst); uint64_t end = MIN(mlast, rlast); vhost_log_chunk_t *from = dev->log + ...
1
223,706
ReceiveFileWriterCallback() { }
0
240,278
void ChromotingInstance::PauseVideo(bool pause) { if (!IsConnected()) { return; } protocol::VideoControl video_control; video_control.set_enable(!pause); host_connection_->host_stub()->ControlVideo(video_control); }
0
314,035
void RenderFrameHostImpl::ForEachImmediateLocalRoot( const base::Callback<void(RenderFrameHostImpl*)>& callback) { if (!frame_tree_node_->child_count()) return; base::queue<FrameTreeNode*> queue; for (size_t index = 0; index < frame_tree_node_->child_count(); ++index) queue.push(frame_tree_node_->chi...
0
466,323
TEST_P(DownstreamProtocolIntegrationTest, TestEncodeHeadersReturnsStopAllWatermark) { // Metadata is not supported in QUICHE. EXCLUDE_DOWNSTREAM_HTTP3 config_helper_.addFilter(R"EOF( name: encode-headers-return-stop-all-filter )EOF"); config_helper_.addConfigModifier( [&](envoy::extensions::filters::netwo...
0
410,458
QUtil::srandom(unsigned int seed) { #ifdef HAVE_RANDOM ::srandom(seed); #else srand(seed); #endif }
0
184,638
void InspectorResourceAgent::didFinishXHRLoading(ThreadableLoaderClient* client, unsigned long identifier, ScriptString sourceString, const String&, const String&, unsigned) { m_pendingXHRReplayData.remove(client); }
0
316,192
void AppCacheUpdateJob::URLFetcher::Start() { request_->set_first_party_for_cookies(job_->manifest_url_); if (fetch_type_ == MANIFEST_FETCH && job_->doing_full_update_check_) request_->SetLoadFlags(request_->load_flags() | net::LOAD_BYPASS_CACHE); else if (existing_response_headers_.get()) AddConditionalH...
0
222,343
static void padstr(char *str, const char *src, int len) { int i, v; for(i = 0; i < len; i++) { if (*src) v = *src++; else v = ' '; str[i^1] = v; } }
0
172,205
bool HTMLInputElement::tooLong() const { return willValidate() && tooLong(value(), CheckDirtyFlag); }
0
299,664
static noinline int commit_cowonly_roots(struct btrfs_trans_handle *trans) { struct btrfs_fs_info *fs_info = trans->fs_info; struct list_head *dirty_bgs = &trans->transaction->dirty_bgs; struct list_head *io_bgs = &trans->transaction->io_bgs; struct list_head *next; struct extent_buffer *eb; int ret; eb = btrfs...
0
94,801
static void add_sit_entry(unsigned int segno, struct list_head *head) { struct sit_entry_set *ses; unsigned int start_segno = START_SEGNO(segno); list_for_each_entry(ses, head, set_list) { if (ses->start_segno == start_segno) { ses->entry_cnt++; adjust_sit_entry_set(ses, head); return; } } ses = gra...
0
406,529
virtual Item *replace_equal_field(uchar * arg) { return this; }
0
387,640
__libxml2_xzcompressed(xzFile f) { return xz_compressed(f); }
0
136,573
PHP_FUNCTION(imageloadfont) { char *file; int file_name, hdr_size = sizeof(gdFont) - sizeof(char *); int ind, body_size, n = 0, b, i, body_size_check; gdFontPtr font; php_stream *stream; if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p", &file, &file_name) == FAILURE) { return; } stream = php_stream_...
0
237,702
bool SendCloseTabJSONRequest( AutomationMessageSender* sender, int browser_index, int tab_index, std::string* error_msg) { DictionaryValue dict; dict.SetString("command", "CloseTab"); dict.SetInteger("windex", browser_index); dict.SetInteger("tab_index", tab_index); DictionaryValue reply_dict;...
0
35,156
R_API void r_bin_java_print_annotation_default_attr_summary(RBinJavaAttrInfo *attr) { if (attr && attr->type == R_BIN_JAVA_ATTR_TYPE_ANNOTATION_DEFAULT_ATTR) { eprintf ("Annotation Default Attribute Information:\n"); eprintf (" Attribute Offset: 0x%08"PFMT64x "\n", attr->file_offset); eprintf (" Attribute Na...
0
71,040
rtl8xxxu_bss_info_changed(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_bss_conf *bss_conf, u32 changed) { struct rtl8xxxu_priv *priv = hw->priv; struct device *dev = &priv->udev->dev; struct ieee80211_sta *sta; u32 val32; u8 val8; if (changed & BSS_CHANGED_ASSOC) { dev_dbg(dev, "Ch...
0
424,108
static int bus_append_unit_property(sd_bus_message *m, const char *field, const char *eq) { ConditionType t = _CONDITION_TYPE_INVALID; bool is_condition = false; int r; if (STR_IN_SET(field, "Description", "SourcePath", "OnFailureJobMode", "...
0
182,410
void WebPageProxy::reattachToWebProcess() { m_isValid = true; context()->relaunchProcessIfNecessary(); process()->addExistingWebPage(this, m_pageID); initializeWebPage(); m_pageClient->didRelaunchProcess(); }
0
252,112
static void JNI_SendTabToSelfAndroidBridge_GetAllGuids( JNIEnv* env, const JavaParamRef<jobject>& j_profile, const JavaParamRef<jobject>& j_guid_list_obj) { SendTabToSelfModel* model = GetModel(j_profile); if (model->IsReady()) { std::vector<std::string> all_ids = model->GetAllGuids(); for (std:...
0
332,764
test_tls_get_ipaddr(const char *addrstr, char **data, int *datalen) { struct addrinfo *res; struct addrinfo hints; memset(&hints, 0, sizeof(hints)); hints.ai_flags = AI_NUMERICHOST; g_assert(getaddrinfo(addrstr, NULL, &hints, &res) == 0); *dat...
1
441,242
void RGWDeleteBucketReplication_ObjStore_S3::update_sync_policy(rgw_sync_policy_info *policy) { policy->groups.erase(enabled_group_id); policy->groups.erase(disabled_group_id); }
0
184,262
bool omx_video::execute_flush_all(void) { unsigned long p1 = 0; // Parameter - 1 unsigned long p2 = 0; // Parameter - 2 unsigned long ident = 0; bool bRet = true; DEBUG_PRINT_LOW("execute_flush_all"); /*Generate EBD for all Buffers in the ETBq*/ pthread_mutex_lock(&m_lock); while (m_etb_q.m_size) { ...
0
94,238
static int watchdog_nmi_enable(int cpu) { struct perf_event_attr *wd_attr; struct perf_event *event = per_cpu(watchdog_ev, cpu); /* is it already setup and enabled? */ if (event && event->state > PERF_EVENT_STATE_OFF) goto out; /* it is setup but not enabled */ if (event != NULL) goto out_enable; wd_attr ...
0
43,712
void o2nm_node_put(struct o2nm_node *node) { config_item_put(&node->nd_item); }
0
519,666
static uchar *get_field_name(Field **buff, size_t *length, my_bool not_used __attribute__((unused))) { *length= (uint) strlen((*buff)->field_name); return (uchar*) (*buff)->field_name; }
0
41,293
onig_get_passed_args_num_by_callout_args(OnigCalloutArgs* args) { int num; CalloutListEntry* e; num = args->num; e = onig_reg_callout_list_at(args->regex, num); if (IS_NULL(e)) return ONIGERR_INVALID_ARGUMENT; if (e->of == ONIG_CALLOUT_OF_NAME) { return e->u.arg.passed_num; } return ONIGERR_INVALI...
0
252,439
void SavePackageNotificationObserver::Observe( int type, const content::NotificationSource& source, const content::NotificationDetails& details) { if (type == content::NOTIFICATION_SAVE_PACKAGE_SUCCESSFULLY_FINISHED) { if (automation_) { AutomationJSONReply(automation_, ...
0
152,161
archive_read_format_iso9660_bid(struct archive_read *a, int best_bid) { struct iso9660 *iso9660; ssize_t bytes_read; const unsigned char *p; int seenTerminator; /* If there's already a better bid than we can ever make, don't bother testing. */ if (best_bid > 48) return (-1); iso9660 = (struct iso9660 *)(...
0
246,113
static int ReleaseVP9FrameBuffer(void *user_priv, vpx_codec_frame_buffer_t *fb) { ExternalFrameBufferMD5Test *const md5Test = reinterpret_cast<ExternalFrameBufferMD5Test*>(user_priv); return md5Test->fb_list_.ReturnFrameBuffer(fb); }
0
435,771
static int gitmodules_cb(const char *var, const char *value, void *data) { struct repository *repo = data; return submodule_config_option(repo, var, value); }
0
62,330
static bool blk_pm_allow_request(struct request *rq) { return true; }
0
458,320
dp_packet_batch_is_full(const struct dp_packet_batch *batch) { return dp_packet_batch_size(batch) == NETDEV_MAX_BURST; }
0
369,774
static void qxl_del_memslot(PCIQXLDevice *d, uint32_t slot_id) { dprint(d, 1, "%s: slot %d\n", __FUNCTION__, slot_id); qemu_spice_del_memslot(&d->ssd, MEMSLOT_GROUP_HOST, slot_id); d->guest_slots[slot_id].active = 0; }
0
137,083
evdns_base_free(struct evdns_base *base, int fail_requests) { EVDNS_LOCK(base); evdns_base_free_and_unlock(base, fail_requests); }
0
218,980
bool WebMediaPlayerImpl::DidLoadingProgress() { DCHECK(main_task_runner_->BelongsToCurrentThread()); const bool pipeline_progress = pipeline_controller_.DidLoadingProgress(); const bool data_progress = buffered_data_source_host_.DidLoadingProgress(); return pipeline_progress || data_progress; }
0
232,655
AppListControllerDelegate::~AppListControllerDelegate() {}
0
59,035
static void adjust_subprog_starts(struct bpf_verifier_env *env, u32 off, u32 len) { int i; if (len == 1) return; /* NOTE: fake 'exit' subprog should be updated as well. */ for (i = 0; i <= env->subprog_cnt; i++) { if (env->subprog_info[i].start <= off) continue; env->subprog_info[i].start += len - 1; } }
0
61,496
static int crypto_init_blkcipher_ops_sync(struct crypto_tfm *tfm) { struct blkcipher_tfm *crt = &tfm->crt_blkcipher; struct blkcipher_alg *alg = &tfm->__crt_alg->cra_blkcipher; unsigned long align = crypto_tfm_alg_alignmask(tfm) + 1; unsigned long addr; crt->setkey = setkey; crt->encrypt = alg->encrypt; crt->de...
0
38,953
static void nfs4_proc_rename_setup(struct rpc_message *msg, struct inode *dir) { struct nfs_server *server = NFS_SERVER(dir); struct nfs_renameargs *arg = msg->rpc_argp; struct nfs_renameres *res = msg->rpc_resp; msg->rpc_proc = &nfs4_procedures[NFSPROC4_CLNT_RENAME]; arg->bitmask = server->attr_bitmask; res->se...
0
10,879
PHP_FUNCTION(snmp_set_enum_print) { long a1; if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &a1) == FAILURE) { RETURN_FALSE; } netsnmp_ds_set_boolean(NETSNMP_DS_LIBRARY_ID, NETSNMP_DS_LIB_PRINT_NUMERIC_ENUM, (int) a1); RETURN_TRUE; }
1
372,270
cmsBool CMSEXPORT cmsIsMatrixShaper(cmsHPROFILE hProfile) { switch (cmsGetColorSpace(hProfile)) { case cmsSigGrayData: return cmsIsTag(hProfile, cmsSigGrayTRCTag); case cmsSigRgbData: return (cmsIsTag(hProfile, cmsSigRedColorantTag) && cmsIsTag(hProfile, cmsSigGreenColor...
0
185,248
GBool SplashFTFont::getGlyph(int c, int xFrac, int yFrac, SplashGlyphBitmap *bitmap, int x0, int y0, SplashClip *clip, SplashClipResult *clipRes) { return SplashFont::getGlyph(c, xFrac, 0, bitmap, x0, y0, clip, clipRes); }
0
212,532
const ParsedFeaturePolicy Document::GetOwnerContainerPolicy() const { if (frame_ && frame_->Owner()) return frame_->Owner()->ContainerPolicy(); return ParsedFeaturePolicy(); }
0