unique_id
int64
13
189k
target
int64
0
1
code
stringlengths
20
241k
__index_level_0__
int64
0
18.9k
41,258
0
static int scsi_disk_initfn(SCSIDevice *dev) { DriveInfo *dinfo; uint8_t scsi_type; if (!dev->conf.bs) { scsi_type = TYPE_DISK; /* will die in scsi_initfn() */ } else { dinfo = drive_get_by_blockdev(dev->conf.bs); scsi_type = dinfo->media_cd ? TYPE_ROM : TYPE_DISK; } r...
6,100
63,731
0
static inline int get_free_page(struct xen_blkif_ring *ring, struct page **page) { unsigned long flags; spin_lock_irqsave(&ring->free_pages_lock, flags); if (list_empty(&ring->free_pages)) { BUG_ON(ring->free_pages_num != 0); spin_unlock_irqrestore(&ring->free_pages_lock, flags); return gnttab_alloc_pages(1, ...
6,101
15,006
0
ProcPolyText(ClientPtr client) { int err; REQUEST(xPolyTextReq); DrawablePtr pDraw; GC *pGC; REQUEST_AT_LEAST_SIZE(xPolyTextReq); VALIDATE_DRAWABLE_AND_GC(stuff->drawable, pDraw, DixWriteAccess); err = PolyText(client, pDraw, pGC, (...
6,102
170,889
0
status_t OMXNodeInstance::emptyBuffer( OMX::buffer_id buffer, OMX_U32 rangeOffset, OMX_U32 rangeLength, OMX_U32 flags, OMX_TICKS timestamp, int fenceFd) { Mutex::Autolock autoLock(mLock); if (getGraphicBufferSource() != NULL) { android_errorWriteLog(0x534e4554, "29422020"); return IN...
6,103
184,735
1
bool GesturePoint::IsInSecondClickTimeWindow() const { double duration = last_touch_time_ - last_tap_time_; return duration < kMaximumSecondsBetweenDoubleClick; }
6,104
118,458
0
void RenderFrameImpl::PepperDidReceiveMouseEvent( PepperPluginInstanceImpl* instance) { render_view_->set_pepper_last_mouse_event_target(instance); }
6,105
113,152
0
internal::LauncherView* Launcher::GetLauncherViewForTest() { return launcher_view_; }
6,106
46,402
0
static int write_pipe_buf(struct pipe_inode_info *pipe, struct pipe_buffer *buf, struct splice_desc *sd) { int ret; void *data; loff_t tmp = sd->pos; data = kmap(buf->page); ret = __kernel_write(sd->u.file, data + buf->offset, sd->len, &tmp); kunmap(buf->page); return ret; }
6,107
64,032
0
static int decode_entropy_coded_image(WebPContext *s, enum ImageRole role, int w, int h) { ImageContext *img; HuffReader *hg; int i, j, ret, x, y, width; img = &s->image[role]; img->role = role; if (!img->frame) { img->frame = av_frame_alloc(...
6,108
120,526
0
Attribute* UniqueElementData::getAttributeItem(const QualifiedName& name) { for (unsigned i = 0; i < length(); ++i) { if (m_attributeVector.at(i).name().matches(name)) return &m_attributeVector.at(i); } return 0; }
6,109
2,844
0
nm_setting_vpn_new (void) { return (NMSetting *) g_object_new (NM_TYPE_SETTING_VPN, NULL); }
6,110
58,386
0
static int __init user_debug_setup(char *str) { get_option(&str, &user_debug); return 1; }
6,111
168,609
0
IndexedDBTransaction* IndexedDBDatabase::CreateTransaction( int64_t transaction_id, IndexedDBConnection* connection, const std::vector<int64_t>& object_store_ids, blink::WebIDBTransactionMode mode) { IDB_TRACE1("IndexedDBDatabase::CreateTransaction", "txn.id", transaction_id); DCHECK(connections_.co...
6,112
24,909
0
static int slab_mem_going_offline_callback(void *arg) { struct kmem_cache *s; down_read(&slub_lock); list_for_each_entry(s, &slab_caches, list) kmem_cache_shrink(s); up_read(&slub_lock); return 0; }
6,113
166,595
0
const char* WebGL2RenderingContextBase::ValidateGetBufferSubData( const char* function_name, GLenum target, GLintptr source_byte_offset, DOMArrayBufferView* destination_array_buffer_view, GLuint destination_offset, GLuint length, WebGLBuffer** out_source_buffer, void** out_destination_da...
6,114
53,852
0
acpi_os_map_memory(acpi_physical_address phys, acpi_size size) { return (void *)acpi_os_map_iomem(phys, size); }
6,115
91,281
0
static void ipmi_poll(struct ipmi_smi *intf) { if (intf->handlers->poll) intf->handlers->poll(intf->send_info); /* In case something came in */ handle_new_recv_msgs(intf); }
6,116
154,086
0
void GLES2DecoderImpl::DoUniform3iv(GLint fake_location, GLsizei count, const volatile GLint* value) { GLenum type = 0; GLint real_location = -1; if (!PrepForSetUniformByLocation(fake_location, "glUniform3iv...
6,117
122,907
0
RendererURLRequestContextSelector(BrowserContext* browser_context, int render_child_id) : request_context_(browser_context->GetRequestContextForRenderProcess( render_child_id)), media_request_context_( browser_context->GetMedia...
6,118
71,427
0
MagickExport void *CopyMagickMemory(void *destination,const void *source, const size_t size) { register const unsigned char *p; register unsigned char *q; assert(destination != (void *) NULL); assert(source != (const void *) NULL); p=(const unsigned char *) source; q=(unsigned char *) destinatio...
6,119
3,894
0
BufStream::BufStream(Stream *strA, int bufSizeA): FilterStream(strA) { bufSize = bufSizeA; buf = (int *)gmallocn(bufSize, sizeof(int)); }
6,120
93,773
0
virDomainCoreDump(virDomainPtr domain, const char *to, unsigned int flags) { virConnectPtr conn; VIR_DOMAIN_DEBUG(domain, "to=%s, flags=%x", to, flags); virResetLastError(); virCheckDomainReturn(domain, -1); conn = domain->conn; virCheckReadOnlyGoto(conn->flags, error); virCheckNonNullAr...
6,121
183,089
1
int x86_emulate_insn(struct x86_emulate_ctxt *ctxt) { const struct x86_emulate_ops *ops = ctxt->ops; int rc = X86EMUL_CONTINUE; int saved_dst_type = ctxt->dst.type; ctxt->mem_read.pos = 0; /* LOCK prefix is allowed only with some instructions */ if (ctxt->lock_prefix && (!(ctxt->d & Lock) || ctxt->dst.type != OP_MEM)...
6,122
68,429
0
static void task_ctx_sched_out(struct perf_cpu_context *cpuctx, struct perf_event_context *ctx) { if (!cpuctx->task_ctx) return; if (WARN_ON_ONCE(ctx != cpuctx->task_ctx)) return; ctx_sched_out(ctx, cpuctx, EVENT_ALL); }
6,123
6,968
0
pcf_read_TOC( FT_Stream stream, PCF_Face face ) { FT_Error error; PCF_Toc toc = &face->toc; PCF_Table tables; FT_Memory memory = FT_FACE( face )->memory; FT_UInt n; if ( FT_STREAM_SEEK ( 0 ) || FT_STREAM_READ_FIELDS ( pcf_toc_...
6,124
167,006
0
NavigationControllerImpl::CreateNavigationRequest( FrameTreeNode* frame_tree_node, const NavigationEntryImpl& entry, FrameNavigationEntry* frame_entry, ReloadType reload_type, bool is_same_document_history_load, bool is_history_navigation_in_new_child, const scoped_refptr<network::ResourceRe...
6,125
81,644
0
delete_file(struct mg_connection *conn, const char *path) { struct de de; memset(&de.file, 0, sizeof(de.file)); if (!mg_stat(conn, path, &de.file)) { /* mg_stat returns 0 if the file does not exist */ mg_send_http_error(conn, 404, "Error: Cannot delete file\nFile %s not ...
6,126
131,091
0
static void treatNullAsNullStringStringAttrAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info) { TestObject* imp = V8TestObject::toNative(info.Holder()); v8SetReturnValueString(info, imp->treatNullAsNullStringStringAttr(), info.GetIsolate()); }
6,127
93,254
0
static long __tun_chr_ioctl(struct file *file, unsigned int cmd, unsigned long arg, int ifreq_len) { struct tun_file *tfile = file->private_data; struct tun_struct *tun; void __user* argp = (void __user*)arg; struct ifreq ifr; kuid_t owner; kgid_t group; int sndbuf; int vnet_hdr_sz; unsigned int ifindex...
6,128
52,615
0
static void __exit ppp_cleanup(void) { /* should never happen */ if (atomic_read(&ppp_unit_count) || atomic_read(&channel_count)) pr_err("PPP: removing module but units remain!\n"); unregister_chrdev(PPP_MAJOR, "ppp"); device_destroy(ppp_class, MKDEV(PPP_MAJOR, 0)); class_destroy(ppp_class); unregister_pernet_d...
6,129
183,051
1
GC_INNER void * GC_generic_malloc_ignore_off_page(size_t lb, int k) { void *result; size_t lg; size_t lb_rounded; word n_blocks; GC_bool init; DCL_LOCK_STATE; if (SMALL_OBJ(lb)) return(GC_generic_malloc((word)lb, k)); lg = ROUNDED_UP_GRANULES(lb); lb_rounded = GRANULES_TO...
6,130
73,890
0
static int error_type_set(void *data, u64 val) { int rc; u32 available_error_type = 0; u32 tval, vendor; /* * Vendor defined types have 0x80000000 bit set, and * are not enumerated by ACPI_EINJ_GET_ERROR_TYPE */ vendor = val & ACPI5_VENDOR_BIT; tval = val & 0x7fffffff; /* Only one error type can be speci...
6,131
150,573
0
DataReductionProxyConfig::~DataReductionProxyConfig() { network_connection_tracker_->RemoveNetworkConnectionObserver(this); }
6,132
125,020
0
LayoutUnit RenderFlexibleBox::flowAwarePaddingStart() const { if (isHorizontalFlow()) return isLeftToRightFlow() ? paddingLeft() : paddingRight(); return isLeftToRightFlow() ? paddingTop() : paddingBottom(); }
6,133
106,410
0
void BlobURLRequestJob::DidRead(int result) { if (result < 0) { NotifyFailure(net::ERR_FAILED); return; } SetStatus(net::URLRequestStatus()); // Clear the IO_PENDING status AdvanceBytesRead(result); if (!read_buf_remaining_bytes_) { int bytes_read = ReadCompleted(); NotifyReadComplete(bytes...
6,134
128,701
0
std::string TemplateURLRef::GetPostParamsString() const { switch (type_) { case INDEXED: case SEARCH: return owner_->search_url_post_params(); case SUGGEST: return owner_->suggestions_url_post_params(); case INSTANT: return owner_->instant_url_post_params(); case NEW...
6,135
84,152
0
gplotDestroy(GPLOT **pgplot) { GPLOT *gplot; PROCNAME("gplotDestroy"); if (pgplot == NULL) { L_WARNING("ptr address is null!\n", procName); return; } if ((gplot = *pgplot) == NULL) return; LEPT_FREE(gplot->rootname); LEPT_FREE(gplot->cmdname); sarrayDestroy(&gpl...
6,136
110,022
0
int HTMLSelectElement::lastSelectableListIndex() const { return nextValidIndex(-1, SkipForwards, INT_MAX); }
6,137
73,950
0
rtadv_prefix_free (struct rtadv_prefix *rtadv_prefix) { XFREE (MTYPE_RTADV_PREFIX, rtadv_prefix); }
6,138
23,849
0
static int tun_chr_open(struct inode *inode, struct file * file) { struct tun_file *tfile; DBG1(KERN_INFO, "tunX: tun_chr_open\n"); tfile = kmalloc(sizeof(*tfile), GFP_KERNEL); if (!tfile) return -ENOMEM; atomic_set(&tfile->count, 0); tfile->tun = NULL; tfile->net = get_net(current->nsproxy->net_ns); file->...
6,139
62,356
0
handle_mlppp(netdissect_options *ndo, const u_char *p, int length) { if (!ndo->ndo_eflag) ND_PRINT((ndo, "MLPPP, ")); ND_PRINT((ndo, "seq 0x%03x, Flags [%s], length %u", (EXTRACT_16BITS(p))&0x0fff, /* only support 12-Bit sequence space for now */ bittok2str(ppp_ml_fla...
6,140
64,698
0
add_code_range_to_buf(BBuf** pbuf, OnigCodePoint from, OnigCodePoint to) { int r, inc_n, pos; int low, high, bound, x; OnigCodePoint n, *data; BBuf* bbuf; if (from > to) { n = from; from = to; to = n; } if (IS_NULL(*pbuf)) { r = new_code_range(pbuf); if (r) return r; bbuf = *pbuf; n ...
6,141
10,985
0
PHP_FUNCTION(xml_parser_get_option) { xml_parser *parser; zval *pind; long opt; if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rl", &pind, &opt) == FAILURE) { return; } ZEND_FETCH_RESOURCE(parser,xml_parser *, &pind, -1, "XML Parser", le_xml_parser); switch (opt) { case PHP_XML_OPTION_CASE_FOLDING...
6,142
160,131
0
void BackendIO::EndEnumeration(std::unique_ptr<Rankings::Iterator> iterator) { operation_ = OP_END_ENUMERATION; scoped_iterator_ = std::move(iterator); }
6,143
95,584
0
void Con_StopLimboMode_f( void ) { chat_limbo = qfalse; }
6,144
49,309
0
static void tcp_v6_send_response(const struct sock *sk, struct sk_buff *skb, u32 seq, u32 ack, u32 win, u32 tsval, u32 tsecr, int oif, struct tcp_md5sig_key *key, int rst, u8 tclass, __be32 label) { const struct tcphdr *th = tcp_hdr(skb); struct tcphdr *t1; struct sk_buff *buff; struct flowi6 fl6; s...
6,145
12,622
0
DEFUN (show_ip_bgp_vpnv4_rd, show_ip_bgp_vpnv4_rd_cmd, "show ip bgp vpnv4 rd ASN:nn_or_IP-address:nn", SHOW_STR IP_STR BGP_STR "Display VPNv4 NLRI specific information\n" "Display information for a route distinguisher\n" "VPN Route Distinguisher\n") { int ret; ...
6,146
66,932
0
static void handle_p_frame_png(PNGDecContext *s, AVFrame *p) { int i, j; uint8_t *pd = p->data[0]; uint8_t *pd_last = s->last_picture.f->data[0]; int ls = FFMIN(av_image_get_linesize(p->format, s->width, 0), s->width * s->bpp); ff_thread_await_progress(&s->last_picture, INT_MAX, 0); for (j...
6,147
165,638
0
bool DirectoryExists(const std::wstring& path) { DWORD file_attributes = ::GetFileAttributes(path.c_str()); if (file_attributes == INVALID_FILE_ATTRIBUTES) return false; return (file_attributes & FILE_ATTRIBUTE_DIRECTORY) != 0; }
6,148
60,486
0
R_API int r_flag_rename(RFlag *f, RFlagItem *item, const char *name) { if (!f || !item || !name || !*name) { return false; } #if 0 ut64 off = item->offset; int size = item->size; r_flag_unset (f, item); r_flag_set (f, name, off, size); return true; #else ht_delete (f->ht_name, item->name); if (!set_name (ite...
6,149
70,366
0
static int jpc_pi_nextrpcl(register jpc_pi_t *pi) { int rlvlno; jpc_pirlvl_t *pirlvl; jpc_pchg_t *pchg; int prchind; int prcvind; int *prclyrno; int compno; jpc_picomp_t *picomp; int xstep; int ystep; uint_fast32_t r; uint_fast32_t rpx; uint_fast32_t rpy; uint_fast32_t trx0; uint_fast32_t try0; pchg = ...
6,150
13,497
0
js_Regexp *js_toregexp(js_State *J, int idx) { js_Value *v = stackidx(J, idx); if (v->type == JS_TOBJECT && v->u.object->type == JS_CREGEXP) return &v->u.object->u.r; js_typeerror(J, "not a regexp"); }
6,151
75,655
0
static int write_metadata_block (WavpackContext *wpc) { char *block_buff, *block_ptr; WavpackHeader *wphdr; if (wpc->metacount) { int metacount = wpc->metacount, block_size = sizeof (WavpackHeader); WavpackMetadata *wpmdp = wpc->metadata; while (metacount--) { block_siz...
6,152
114,874
0
void TestingAutomationProvider::EnablePlugin(Browser* browser, DictionaryValue* args, IPC::Message* reply_message) { FilePath::StringType path; AutomationJSONReply reply(this, reply_message); if (!args->GetString("path", &pa...
6,153
94,602
0
static inline int dentry_cmp(const struct dentry *dentry, const unsigned char *ct, unsigned tcount) { const unsigned char *cs; /* * Be careful about RCU walk racing with rename: * use ACCESS_ONCE to fetch the name pointer. * * NOTE! Even if a rename will mean that the length * was not loaded atomically, we ...
6,154
143,478
0
CompositorDependencies() : frame_sink_id_allocator(kDefaultClientId) { DCHECK_CURRENTLY_ON(BrowserThread::UI); bool enable_viz = base::FeatureList::IsEnabled(features::kVizDisplayCompositor); if (!enable_viz) { frame_sink_manager_impl = std::make_unique<viz::FrameSinkManagerImpl>( ...
6,155
87,860
0
ext_ensure_tag_table(regex_t* reg) { int r; RegexExt* ext; CalloutTagTable* t; ext = onig_get_regex_ext(reg); CHECK_NULL_RETURN_MEMERR(ext); if (IS_NULL(ext->tag_table)) { r = callout_tag_table_new(&t); if (r != ONIG_NORMAL) return r; ext->tag_table = t; } return ONIG_NORMAL; }
6,156
38,028
0
unsigned long regs_get_register(struct pt_regs *regs, unsigned int offset) { if (offset >= NUM_GPRS) return 0; return regs->gprs[offset]; }
6,157
76,117
0
check_notify_script_secure(notify_script_t **script_p, magic_t magic) { int flags; notify_script_t *script = *script_p; if (!script) return 0; flags = check_script_secure(script, magic); /* Mark not to run if needs inhibiting */ if ((flags & (SC_INHIBIT | SC_NOTFOUND)) || !(flags & SC_EXECUTABLE)) fre...
6,158
63,327
0
acpi_ns_get_node(struct acpi_namespace_node *prefix_node, const char *pathname, u32 flags, struct acpi_namespace_node **return_node) { acpi_status status; ACPI_FUNCTION_TRACE_PTR(ns_get_node, ACPI_CAST_PTR(char, pathname)); status = acpi_ut_acquire_mutex(ACPI_MTX_NAMESPACE); if (ACPI_FAILURE(status)) { re...
6,159
67,000
0
void avcodec_string(char *buf, int buf_size, AVCodecContext *enc, int encode) { const char *codec_type; const char *codec_name; const char *profile = NULL; int64_t bitrate; int new_line = 0; AVRational display_aspect_ratio; const char *separator = enc->dump_separator ? (const char *)enc->dum...
6,160
142,133
0
const BookmarkNode* GetNode(const std::string& name) { return model_->GetMostRecentlyAddedUserNodeForURL(GURL(base_path() + name)); }
6,161
26,425
0
static long pmcraid_chr_ioctl( struct file *filep, unsigned int cmd, unsigned long arg ) { struct pmcraid_instance *pinstance = NULL; struct pmcraid_ioctl_header *hdr = NULL; int retval = -ENOTTY; hdr = kmalloc(GFP_KERNEL, sizeof(struct pmcraid_ioctl_header)); if (!hdr) { pmcraid_err("faile to allocate memo...
6,162
182,806
1
static void toggle_fpga_eeprom_bus(bool cpu_own) { qrio_gpio_direction_output(GPIO_A, PROM_SEL_L, !cpu_own); }
6,163
165,430
0
SetGetURLLoaderFactoryForBrowserProcessCallbackForTesting( const CreateNetworkFactoryCallback& url_loader_factory_callback) { DCHECK(!BrowserThread::IsThreadInitialized(BrowserThread::UI) || BrowserThread::CurrentlyOn(BrowserThread::UI)); DCHECK(url_loader_factory_callback.is_null() || ...
6,164
29,988
0
static struct net_bridge_mdb_entry *__br_mdb_ip_get( struct net_bridge_mdb_htable *mdb, struct br_ip *dst, int hash) { struct net_bridge_mdb_entry *mp; hlist_for_each_entry_rcu(mp, &mdb->mhash[hash], hlist[mdb->ver]) { if (br_ip_equal(&mp->addr, dst)) return mp; } return NULL; }
6,165
46,272
0
void check_disk_size_change(struct gendisk *disk, struct block_device *bdev) { loff_t disk_size, bdev_size; disk_size = (loff_t)get_capacity(disk) << 9; bdev_size = i_size_read(bdev->bd_inode); if (disk_size != bdev_size) { char name[BDEVNAME_SIZE]; disk_name(disk, 0, name); printk(KERN_INFO "%s: d...
6,166
126,711
0
UnloadController::~UnloadController() { browser_->tab_strip_model()->RemoveObserver(this); }
6,167
172,676
0
status_t MediaPlayer::reset_l() { mLoop = false; if (mCurrentState == MEDIA_PLAYER_IDLE) return NO_ERROR; mPrepareSync = false; if (mPlayer != 0) { status_t ret = mPlayer->reset(); if (ret != NO_ERROR) { ALOGE("reset() failed with return code (%d)", ret); mCurrentState = MEDIA_PLAYER...
6,168
140,857
0
bool GLES2DecoderImpl::SimulateFixedAttribs( const char* function_name, GLuint max_vertex_accessed, bool* simulated, GLsizei primcount) { DCHECK(simulated); *simulated = false; if (gfx::GetGLImplementation() == gfx::kGLImplementationEGLGLES2) return true; if (!state_.vertex_attrib_manager->HaveFixe...
6,169
132,011
0
ui::Clipboard* ClipboardMessageFilter::GetClipboard() { static ui::Clipboard* clipboard = ui::Clipboard::GetForCurrentThread(); return clipboard; }
6,170
82,773
0
static void __generic_push(RAnalOp *op, int sz) { ESIL_A ("sp,_ram,+,"); // calc pointer SRAM(sp) if (sz > 1) { ESIL_A ("-%d,+,", sz - 1); // dec SP by 'sz' } ESIL_A ("=[%d],", sz); // store value in stack ESIL_A ("-%d,sp,+=,", sz); // decrement stack pointer }
6,171
17,298
0
_tls_add_certificates (SSL_CTX * ctx) { int count = 0; #ifdef HAVE_WINCRYPT_H PCCERT_CONTEXT pCertCtx; X509 *cert = NULL; HCERTSTORE hStore = CertOpenSystemStore (0, L"CA"); for (pCertCtx = CertEnumCertificatesInStore (hStore, NULL); pCertCtx != NULL; pCertCtx = CertEnumCertificatesInStore (hStore, pCertCtx...
6,172
51,137
0
int __audit_signal_info(int sig, struct task_struct *t) { struct audit_aux_data_pids *axp; struct task_struct *tsk = current; struct audit_context *ctx = tsk->audit_context; kuid_t uid = current_uid(), t_uid = task_uid(t); if (audit_pid && t->tgid == audit_pid) { if (sig == SIGTERM || sig == SIGHUP || sig == SI...
6,173
37,722
0
static int pit_ioport_read(struct kvm_io_device *this, gpa_t addr, int len, void *data) { struct kvm_pit *pit = dev_to_pit(this); struct kvm_kpit_state *pit_state = &pit->pit_state; struct kvm *kvm = pit->kvm; int ret, count; struct kvm_kpit_channel_state *s; if (!pit_in_range(addr)) return -EOPNOTSUPP; ...
6,174
37,498
0
void kvm_set_spte_hva(struct kvm *kvm, unsigned long hva, pte_t pte) { kvm_handle_hva(kvm, hva, (unsigned long)&pte, kvm_set_pte_rmapp); }
6,175
109,841
0
void Document::statePopped(PassRefPtr<SerializedScriptValue> stateObject) { if (!frame()) return; if (m_readyState == Complete) enqueuePopstateEvent(stateObject); else m_pendingStateObject = stateObject; }
6,176
47,688
0
static inline struct sock *icmpv6_sk(struct net *net) { return net->ipv6.icmp_sk[smp_processor_id()]; }
6,177
50,414
0
static void __free_event(struct perf_event *event) { if (!event->parent) { if (event->attr.sample_type & PERF_SAMPLE_CALLCHAIN) put_callchain_buffers(); } if (event->destroy) event->destroy(event); if (event->ctx) put_ctx(event->ctx); if (event->pmu) module_put(event->pmu->module); call_rcu(&event-...
6,178
83,420
0
ServiceStartInteractive(DWORD dwArgc, LPTSTR *lpszArgv) { HANDLE pipe, io_event = NULL; OVERLAPPED overlapped; DWORD error = NO_ERROR; list_item_t *threads = NULL; PHANDLE handles = NULL; DWORD handle_count; service = RegisterServiceCtrlHandlerEx(interactive_service.name, ServiceCtrlInterac...
6,179
23,027
0
static int decode_op_hdr(struct xdr_stream *xdr, enum nfs_opnum4 expected) { __be32 *p; uint32_t opnum; int32_t nfserr; READ_BUF(8); READ32(opnum); if (opnum != expected) { dprintk("nfs: Server returned operation" " %d but we issued a request for %d\n", opnum, expected); return -EIO; } READ32(nfserr...
6,180
70,433
0
static int jpc_dec_process_qcc(jpc_dec_t *dec, jpc_ms_t *ms) { jpc_qcc_t *qcc = &ms->parms.qcc; jpc_dec_tile_t *tile; if (JAS_CAST(int, qcc->compno) >= dec->numcomps) { jas_eprintf("invalid component number in QCC marker segment\n"); return -1; } switch (dec->state) { case JPC_MH: jpc_dec_cp_setfromqcc(dec...
6,181
64,836
0
static void my_term_source_fn(j_decompress_ptr cinfo) { }
6,182
149,008
0
static void blobGrowBuffer(Blob *pBlob, int nMin, int *pRc){ if( *pRc==SQLITE_OK && nMin>pBlob->nAlloc ){ int nAlloc = nMin; char *a = (char *)sqlite3_realloc(pBlob->a, nAlloc); if( a ){ pBlob->nAlloc = nAlloc; pBlob->a = a; }else{ *pRc = SQLITE_NOMEM; } } }
6,183
80,983
0
static int nested_vmx_check_nmi_controls(struct vmcs12 *vmcs12) { if (!nested_cpu_has_nmi_exiting(vmcs12) && nested_cpu_has_virtual_nmis(vmcs12)) return -EINVAL; if (!nested_cpu_has_virtual_nmis(vmcs12) && nested_cpu_has(vmcs12, CPU_BASED_VIRTUAL_NMI_PENDING)) return -EINVAL; return 0; }
6,184
106,590
0
WebProcessProxy* WebPageProxy::process() const { return m_context->process(); }
6,185
125,902
0
void FramerVisitorCapturingAcks::OnAckFrame(const QuicAckFrame& frame) { frame_ = frame; }
6,186
96,026
0
void FS_Flush( fileHandle_t f ) { fflush(fsh[f].handleFiles.file.o); }
6,187
179,122
1
static void vapic_exit(struct kvm_vcpu *vcpu) { struct kvm_lapic *apic = vcpu->arch.apic; int idx; if (!apic || !apic->vapic_addr) return; idx = srcu_read_lock(&vcpu->kvm->srcu); kvm_release_page_dirty(apic->vapic_page); mark_page_dirty(vcpu->kvm, apic->vapic_addr >> PAGE_SHIFT); srcu_read_unlock(&vcpu->kvm->s...
6,188
103,126
0
bool Browser::IsPopup(const TabContents* source) const { return !!(type() & TYPE_POPUP); }
6,189
159,149
0
const GURL& DownloadItemImpl::GetURL() const { return request_info_.url_chain.empty() ? GURL::EmptyGURL() : request_info_.url_chain.back(); }
6,190
155,709
0
void UpdateControllerRole(unsigned int controller_index, device::ControllerRole role) { auto controller_data = GetCurrentControllerData(controller_index); controller_data.role = role; UpdateControllerAndWait(controller_index, controller_data); }
6,191
143,563
0
void OomInterventionTabHelper::DeclineInterventionWithReload() { web_contents()->GetController().Reload(content::ReloadType::NORMAL, true); DeclineIntervention(); }
6,192
122,463
0
bool HTMLTextAreaElement::valueMissing() const { return willValidate() && valueMissing(value()); }
6,193
152,309
0
void FillNavigationParamsRequest( const CommonNavigationParams& common_params, const CommitNavigationParams& commit_params, blink::WebNavigationParams* navigation_params) { navigation_params->url = !commit_params.original_url.is_empty() ? commit_params.original_url ...
6,194
68,094
0
static char *dex_method_signature(RBinDexObj *bin, int method_idx) { ut32 proto_id, params_off, type_id, list_size; char *r, *return_type = NULL, *signature = NULL, *buff = NULL; ut8 *bufptr; ut16 type_idx; int pos = 0, i, size = 1; if (method_idx < 0 || method_idx >= bin->header.method_size) { return NULL; ...
6,195
130,821
0
static void locationAttributeGetterCallback(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) { TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); TestObjectV8Internal::locationAttributeGetter(info); TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); }
6,196
5,653
0
makedirs (char const *name) { char *filename = xstrdup (name); char *f; char *flim = replace_slashes (filename); if (flim) { /* Create any missing directories, replacing NULs by '/'s. Ignore errors. We may have to keep going even after an EEXIST, since the path may contain ".."s; and when there ...
6,197
96,631
0
MagickExport void DestroyBlob(Image *image) { BlobInfo *magick_restrict blob_info; MagickBooleanType destroy; assert(image != (Image *) NULL); assert(image->signature == MagickCoreSignature); if (image->debug != MagickFalse) (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename...
6,198
103,376
0
Capturer* Capturer::Create() { return new CapturerMac(); }
6,199