unique_id
int64
13
189k
target
int64
0
1
code
stringlengths
20
241k
__index_level_0__
int64
0
18.9k
127,852
0
bool WindowOrientationSupported() { bool support; ExecuteScriptAndGetValue(shell()->web_contents()->GetMainFrame(), "'orientation' in window")->GetAsBoolean(&support); return support; }
11,600
158,213
0
void InstallablePaymentAppCrawler::Start( const std::vector<mojom::PaymentMethodDataPtr>& requested_method_data, FinishedCrawlingCallback callback, base::OnceClosure finished_using_resources) { callback_ = std::move(callback); finished_using_resources_ = std::move(finished_using_resources); std::set<...
11,601
37,512
0
static int mapping_level(struct kvm_vcpu *vcpu, gfn_t large_gfn) { int host_level, level, max_level; host_level = host_mapping_level(vcpu->kvm, large_gfn); if (host_level == PT_PAGE_TABLE_LEVEL) return host_level; max_level = min(kvm_x86_ops->get_lpage_level(), host_level); for (level = PT_DIRECTORY_LEVEL; l...
11,602
159,975
0
void DiskCacheBackendTest::BackendInvalidEntry9(bool eviction) { const int kSize = 0x3000; // 12 kB. SetMaxSize(kSize * 10); InitCache(); std::string first("some key"); std::string second("something else"); disk_cache::Entry* entry; ASSERT_THAT(CreateEntry(first, &entry), IsOk()); entry->Close(); AS...
11,603
37,132
0
static void nested_ept_init_mmu_context(struct kvm_vcpu *vcpu) { kvm_init_shadow_ept_mmu(vcpu, &vcpu->arch.mmu, nested_vmx_ept_caps & VMX_EPT_EXECUTE_ONLY_BIT); vcpu->arch.mmu.set_cr3 = vmx_set_cr3; vcpu->arch.mmu.get_cr3 = nested_ept_get_cr3; vcpu->arch.mmu.inject_page_fault = nested_ept_in...
11,604
162,355
0
void MojoAudioOutputStream::OnStreamError(int stream_id) { DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_); client_->OnError(); OnError(); }
11,605
175,986
0
void smp_proc_id_info(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { uint8_t* p = (uint8_t*)p_data; SMP_TRACE_DEBUG("%s", __func__); STREAM_TO_ARRAY(p_cb->tk, p, BT_OCTET16_LEN); /* reuse TK for IRK */ smp_key_distribution_by_transport(p_cb, NULL); }
11,606
81,158
0
static void common_hrtimer_arm(struct k_itimer *timr, ktime_t expires, bool absolute, bool sigev_none) { struct hrtimer *timer = &timr->it.real.timer; enum hrtimer_mode mode; mode = absolute ? HRTIMER_MODE_ABS : HRTIMER_MODE_REL; /* * Posix magic: Relative CLOCK_REALTIME timers are not affected by * ...
11,607
84,963
0
compat_copy_entry_from_user(struct compat_arpt_entry *e, void **dstptr, unsigned int *size, struct xt_table_info *newinfo, unsigned char *base) { struct xt_entry_target *t; struct arpt_entry *de; unsigned int origsize; int h; origsize = *size; de = *dstptr; memcpy(de, e, sizeof(struct arpt_entry))...
11,608
19,774
0
static long vma_needs_reservation(struct hstate *h, struct vm_area_struct *vma, unsigned long addr) { struct address_space *mapping = vma->vm_file->f_mapping; struct inode *inode = mapping->host; if (vma->vm_flags & VM_MAYSHARE) { pgoff_t idx = vma_hugecache_offset(h, vma, addr); return region_chg(&inode->i_...
11,609
86,551
0
void jpc_ns_fwdlift_colres(jpc_fix_t *a, int numrows, int numcols, int stride, int parity) { jpc_fix_t *lptr; jpc_fix_t *hptr; register jpc_fix_t *lptr2; register jpc_fix_t *hptr2; register int n; register int i; int llen; llen = (numrows + 1 - parity) >> 1; if (numrows > 1) { /* Apply the first liftin...
11,610
114,837
0
xmlThrDefSetStructuredErrorFunc(void *ctx, xmlStructuredErrorFunc handler) { xmlMutexLock(xmlThrDefMutex); xmlStructuredErrorContextThrDef = ctx; xmlStructuredErrorThrDef = handler; xmlMutexUnlock(xmlThrDefMutex); }
11,611
116,744
0
void MockRenderThread::RemoveFilter(IPC::ChannelProxy::MessageFilter* filter) { filter->OnFilterRemoved(); }
11,612
109,610
0
PassOwnPtr<LifecycleNotifier> Document::createLifecycleNotifier() { return DocumentLifecycleNotifier::create(this); }
11,613
74,460
0
static int _regulator_get_voltage(struct regulator_dev *rdev) { int sel, ret; if (rdev->desc->ops->get_voltage_sel) { sel = rdev->desc->ops->get_voltage_sel(rdev); if (sel < 0) return sel; ret = rdev->desc->ops->list_voltage(rdev, sel); } else if (rdev->desc->ops->get_voltage) { ret = rdev->desc->ops->ge...
11,614
140,787
0
error::Error GLES2DecoderImpl::HandleDrawArraysInstancedANGLE( uint32 immediate_data_size, const void* cmd_data) { const gles2::cmds::DrawArraysInstancedANGLE& c = *static_cast<const gles2::cmds::DrawArraysInstancedANGLE*>(cmd_data); if (!features().angle_instanced_arrays) { LOCAL_SET_GL_ERROR( ...
11,615
92,524
0
dequeue_runnable_load_avg(struct cfs_rq *cfs_rq, struct sched_entity *se) { cfs_rq->runnable_weight -= se->runnable_weight; sub_positive(&cfs_rq->avg.runnable_load_avg, se->avg.runnable_load_avg); sub_positive(&cfs_rq->avg.runnable_load_sum, se_runnable(se) * se->avg.runnable_load_sum); }
11,616
21,039
0
static void mem_cgroup_cancel_attach(struct cgroup_subsys *ss, struct cgroup *cgroup, struct cgroup_taskset *tset) { mem_cgroup_clear_mc(); }
11,617
108,549
0
int64 host_quota() const { return host_quota_; }
11,618
55,631
0
void sched_show_task(struct task_struct *p) { unsigned long free = 0; int ppid; unsigned long state = p->state; if (state) state = __ffs(state) + 1; printk(KERN_INFO "%-15.15s %c", p->comm, state < sizeof(stat_nam) - 1 ? stat_nam[state] : '?'); #if BITS_PER_LONG == 32 if (state == TASK_RUNNING) printk(KERN...
11,619
29,284
0
static int ip_vs_set_timeout(struct ip_vs_timeout_user *u) { IP_VS_DBG(2, "Setting timeout tcp:%d tcpfin:%d udp:%d\n", u->tcp_timeout, u->tcp_fin_timeout, u->udp_timeout); #ifdef CONFIG_IP_VS_PROTO_TCP if (u->tcp_timeout) { ip_vs_protocol_tcp.timeout_table[IP_VS_TCP_S_ESTABLISHED] = u->tcp_timeout *...
11,620
7,727
0
static void coroutine_fn v9fs_mknod(void *opaque) { int mode; gid_t gid; int32_t fid; V9fsQID qid; int err = 0; int major, minor; size_t offset = 7; V9fsString name; struct stat stbuf; V9fsFidState *fidp; V9fsPDU *pdu = opaque; v9fs_string_init(&name); err = pdu_unm...
11,621
38,858
0
circle_overabove(PG_FUNCTION_ARGS) { CIRCLE *circle1 = PG_GETARG_CIRCLE_P(0); CIRCLE *circle2 = PG_GETARG_CIRCLE_P(1); PG_RETURN_BOOL(FPge((circle1->center.y - circle1->radius), (circle2->center.y - circle2->radius))); }
11,622
92,894
0
void testRemoveBaseUriHelper(const char * expected, const char * absSourceStr, const char * absBaseStr) { UriParserStateA state; UriUriA absSource; UriUriA absBase; UriUriA dest; state.uri = &absSource; ASSERT_TRUE(uriParseUriA(&state, absSourceStr) == URI_SUCCESS); state.uri = &absBase...
11,623
51,493
0
static int vop_release(struct inode *inode, struct file *f) { struct vop_vdev *vdev = f->private_data, *vdev_tmp; struct vop_info *vi = vdev->vi; struct list_head *pos, *tmp; bool found = false; mutex_lock(&vdev->vdev_mutex); if (vdev->deleted) goto unlock; mutex_lock(&vi->vop_mutex); list_for_each_safe(pos,...
11,624
52,179
0
PHP_NAMED_FUNCTION(php_if_tmpfile) { php_stream *stream; if (zend_parse_parameters_none() == FAILURE) { return; } stream = php_stream_fopen_tmpfile(); if (stream) { php_stream_to_zval(stream, return_value); } else { RETURN_FALSE; } }
11,625
45,434
0
int ecryptfs_read_metadata(struct dentry *ecryptfs_dentry) { int rc; char *page_virt; struct inode *ecryptfs_inode = ecryptfs_dentry->d_inode; struct ecryptfs_crypt_stat *crypt_stat = &ecryptfs_inode_to_private(ecryptfs_inode)->crypt_stat; struct ecryptfs_mount_crypt_stat *mount_crypt_stat = &ecryptfs_super...
11,626
36,739
0
spnego_gss_complete_auth_token( OM_uint32 *minor_status, const gss_ctx_id_t context_handle, gss_buffer_t input_message_buffer) { OM_uint32 ret; ret = gss_complete_auth_token(minor_status, context_handle, input_message_buffer); return (ret); }
11,627
10,289
0
memory_stream_close( FT_Stream stream ) { FT_Memory memory = stream->memory; FT_FREE( stream->base ); stream->size = 0; stream->base = 0; stream->close = 0; }
11,628
150,565
0
void DataReductionProxyConfig::OnRTTOrThroughputEstimatesComputed( base::TimeDelta http_rtt) { DCHECK(thread_checker_.CalledOnValidThread()); http_rtt_ = http_rtt; }
11,629
85,983
0
static void mark_oom_victim(struct task_struct *tsk) { struct mm_struct *mm = tsk->mm; WARN_ON(oom_killer_disabled); /* OOM killer might race with memcg OOM */ if (test_and_set_tsk_thread_flag(tsk, TIF_MEMDIE)) return; /* oom_mm is bound to the signal struct life time. */ if (!cmpxchg(&tsk->signal->oom_mm, NU...
11,630
112,479
0
static void histogramMutationEventUsage(const unsigned short& listenerTypes) { HistogramSupport::histogramEnumeration("DOMAPI.PerDocumentMutationEventUsage.DOMSubtreeModified", static_cast<bool>(listenerTypes & Document::DOMSUBTREEMODIFIED_LISTENER), 2); HistogramSupport::histogramEnumeration("DOMAPI.PerDocumen...
11,631
7,563
0
static int cirrus_bitblt_cputovideo(CirrusVGAState * s) { int w; s->cirrus_blt_mode &= ~CIRRUS_BLTMODE_MEMSYSSRC; s->cirrus_srcptr = &s->cirrus_bltbuf[0]; s->cirrus_srcptr_end = &s->cirrus_bltbuf[0]; if (s->cirrus_blt_mode & CIRRUS_BLTMODE_PATTERNCOPY) { if (s->cirrus_blt_mode & CIRRUS_BLTMODE_CO...
11,632
22,005
0
raptor_rdfxml_comment_handler(void *user_data, raptor_xml_element* xml_element, const unsigned char *s) { raptor_parser* rdf_parser = (raptor_parser*)user_data; raptor_rdfxml_parser* rdf_xml_parser; raptor_rdfxml_element* element; if(rdf_parser->failed || !xml_element) return;...
11,633
150,576
0
net::BackoffEntry* DataReductionProxyConfigServiceClient::GetBackoffEntry() { DCHECK(thread_checker_.CalledOnValidThread()); return &backoff_entry_; }
11,634
163,931
0
PositionTemplate<Strategy> DownstreamIgnoringEditingBoundaries( PositionTemplate<Strategy> position) { PositionTemplate<Strategy> last_position; while (!position.IsEquivalent(last_position)) { last_position = position; position = MostForwardCaretPosition(position, kCanCrossEditingBoundary); } return...
11,635
137,787
0
HeadlessWebContentsImpl::~HeadlessWebContentsImpl() { agent_host_->RemoveObserver(this); if (render_process_host_) render_process_host_->RemoveObserver(this); if (begin_frame_control_enabled_) { ui::Compositor* compositor = browser()->PlatformGetCompositor(this); DCHECK(compositor); compositor->Se...
11,636
89,916
0
krb5_get_init_creds_keyblock(krb5_context context, krb5_creds *creds, krb5_principal client, krb5_keyblock *keyblock, krb5_deltat start_time, const char *in_tkt_service, krb5_get_init_creds_opt *options) { krb5_init_creds_context ctx; krb5_error_code ret; mem...
11,637
47,751
0
static int netlink_insert(struct sock *sk, u32 portid) { struct netlink_table *table = &nl_table[sk->sk_protocol]; int err; lock_sock(sk); err = nlk_sk(sk)->portid == portid ? 0 : -EBUSY; if (nlk_sk(sk)->bound) goto err; err = -ENOMEM; if (BITS_PER_LONG > 32 && unlikely(atomic_read(&table->hash.nelems)...
11,638
175,991
0
void smp_proc_rand(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { uint8_t* p = (uint8_t*)p_data; uint8_t reason = SMP_INVALID_PARAMETERS; SMP_TRACE_DEBUG("%s", __func__); if (smp_command_has_invalid_parameters(p_cb)) { smp_sm_event(p_cb, SMP_AUTH_CMPL_EVT, &reason); return; } /* save the SRand for comparison */...
11,639
107,484
0
static Eina_Bool _ewk_view_smart_focus_out(Ewk_View_Smart_Data* smartData) { EWK_VIEW_PRIV_GET(smartData, priv); WebCore::FocusController* focusController = priv->page->focusController(); DBG("ewkView=%p, fc=%p", smartData->self, focusController); EINA_SAFETY_ON_NULL_RETURN_VAL(focusController, false); ...
11,640
15,001
0
ProcPolyFillRectangle(ClientPtr client) { int things; GC *pGC; DrawablePtr pDraw; REQUEST(xPolyFillRectangleReq); REQUEST_AT_LEAST_SIZE(xPolyFillRectangleReq); VALIDATE_DRAWABLE_AND_GC(stuff->drawable, pDraw, DixWriteAccess); things = (client->req_len << 2) - sizeof(xPolyFillRectangleReq);...
11,641
22,133
0
asmlinkage long sys_waitpid(pid_t pid, int __user *stat_addr, int options) { return sys_wait4(pid, stat_addr, options, NULL); }
11,642
16,510
0
param_boolean_crufty( const char *name, bool default_value ) { char *tmp = param(name); if (tmp) { char c = *tmp; free(tmp); if ('t' == c || 'T' == c) { return true; } else if ('f' == c || 'F' == c) { return false; } else { return param_boolean(name, default_value); } } else { return param_bo...
11,643
79,212
0
static void StreamTcpPseudoPacketCreateDetectLogFlush(ThreadVars *tv, StreamTcpThread *stt, Packet *parent, TcpSession *ssn, PacketQueue *pq, int dir) { SCEnter(); Flow *f = parent->flow; if (parent->flags & PKT_PSEUDO_DETECTLOG_FLUSH) { SCReturn; } Packet *np = PacketPoolG...
11,644
74,084
0
static int bzImage64_cleanup(void *loader_data) { struct bzimage64_data *ldata = loader_data; if (!ldata) return 0; kfree(ldata->bootparams_buf); ldata->bootparams_buf = NULL; return 0; }
11,645
125,604
0
void RenderViewHostImpl::ExecuteMediaPlayerActionAtLocation( const gfx::Point& location, const WebKit::WebMediaPlayerAction& action) { Send(new ViewMsg_MediaPlayerActionAt(GetRoutingID(), location, action)); }
11,646
11,678
0
device_partition_table_create (Device *device, const char *scheme, char **options, DBusGMethodInvocation *context) { daemon_local_check_auth (device->priv->daemon, device, ...
11,647
1,287
0
void Splash::setScreen(SplashScreen *screen) { state->setScreen(screen); }
11,648
12,432
0
static HashTable* spl_object_storage_debug_info(zval *obj, int *is_temp TSRMLS_DC) /* {{{ */ { spl_SplObjectStorage *intern = (spl_SplObjectStorage*)zend_object_store_get_object(obj TSRMLS_CC); spl_SplObjectStorageElement *element; HashTable *props; HashPosition pos; zval *tmp, *storage; char md5str[33]; int nam...
11,649
108,824
0
RVHObserver(RenderViewHostObserverArray* parent, RenderViewHost* rvh) : RenderViewHostObserver(rvh), parent_(parent) { }
11,650
113,468
0
internal::IBusClient* InputMethodIBus::ibus_client() const { return ibus_client_.get(); }
11,651
153,496
0
void TabStrip::UpdateContrastRatioValues() { if (!controller_) return; const SkColor inactive_bg = GetTabBackgroundColor(TAB_INACTIVE); const auto get_alpha = [inactive_bg](SkColor target, float contrast) { return color_utils::GetBlendValueWithMinimumContrast(inactive_bg, target, ...
11,652
186,653
1
void WebGL2RenderingContextBase::texImage3D( GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, MaybeShared<DOMArrayBufferView> pixels, GLuint src_offset) { if (isContextLost()) retur...
11,653
70,558
0
static int l2tp_ip_recv(struct sk_buff *skb) { struct net *net = dev_net(skb->dev); struct sock *sk; u32 session_id; u32 tunnel_id; unsigned char *ptr, *optr; struct l2tp_session *session; struct l2tp_tunnel *tunnel = NULL; int length; if (!pskb_may_pull(skb, 4)) goto discard; /* Point to L2TP header */ ...
11,654
31,464
0
static inline int pfkey_sockaddr_len(sa_family_t family) { switch (family) { case AF_INET: return sizeof(struct sockaddr_in); #if IS_ENABLED(CONFIG_IPV6) case AF_INET6: return sizeof(struct sockaddr_in6); #endif } return 0; }
11,655
94,235
0
static bool safe_recv(void *buf, size_t len) { if (len == 0) { return true; } off_t offset = 0; do { ssize_t nr = read(sock, ((char*)buf) + offset, len - offset); if (nr == -1) { if (errno != EINTR) { fprintf(stderr, "Failed to read: %s\n", strerror(er...
11,656
145,988
0
EventCounter() : key_events_(0), mouse_events_(0) {}
11,657
86,326
0
static int alloc_fresh_gigantic_page(struct hstate *h, nodemask_t *nodes_allowed) { struct page *page = NULL; int nr_nodes, node; for_each_node_mask_to_alloc(h, nr_nodes, node, nodes_allowed) { page = alloc_fresh_gigantic_page_node(h, node); if (page) return 1; } return 0; }
11,658
81,025
0
static void vmx_complete_nested_posted_interrupt(struct kvm_vcpu *vcpu) { struct vcpu_vmx *vmx = to_vmx(vcpu); int max_irr; void *vapic_page; u16 status; if (!vmx->nested.pi_desc || !vmx->nested.pi_pending) return; vmx->nested.pi_pending = false; if (!pi_test_and_clear_on(vmx->nested.pi_desc)) return; ma...
11,659
88,846
0
static void show_floppy(void) { int i; pr_info("\n"); pr_info("floppy driver state\n"); pr_info("-------------------\n"); pr_info("now=%lu last interrupt=%lu diff=%lu last called handler=%ps\n", jiffies, interruptjiffies, jiffies - interruptjiffies, lasthandler); pr_info("timeout_message=%s\n", timeout_mess...
11,660
114,933
0
void TestingAutomationProvider::GetOmniboxInfo(Browser* browser, DictionaryValue* args, IPC::Message* reply_message) { scoped_ptr<DictionaryValue> return_value(new DictionaryValue); LocationBar* loc_bar = browser->window(...
11,661
184,663
1
void NavigationController::GoToIndex(int index) { if (index < 0 || index >= static_cast<int>(entries_.size())) { NOTREACHED(); return; } if (transient_entry_index_ != -1) { if (index == transient_entry_index_) { // Nothing to do when navigating to the transient. return; } if (index > transient_entry_index_) { // Remov...
11,662
23,095
0
static inline int nfs4_lock_type(struct file_lock *fl, int block) { if ((fl->fl_type & (F_RDLCK|F_WRLCK|F_UNLCK)) == F_RDLCK) return block ? NFS4_READW_LT : NFS4_READ_LT; return block ? NFS4_WRITEW_LT : NFS4_WRITE_LT; }
11,663
126,683
0
std::string GetTabStripStateString(const TabStripModel& model) { std::string actual; for (int i = 0; i < model.count(); ++i) { if (i > 0) actual += " "; actual += base::IntToString(GetID(model.GetWebContentsAt(i))); if (model.IsAppTab(i)) actual += "a"; if (model.IsT...
11,664
14,523
0
static void pcnet_poll(PCNetState *s) { if (CSR_RXON(s)) { pcnet_rdte_poll(s); } if (CSR_TDMD(s) || (CSR_TXON(s) && !CSR_DPOLL(s) && pcnet_tdte_poll(s))) { /* prevent recursion */ if (s->tx_busy) return; pcnet_transmit(s); } }
11,665
125,687
0
void RenderViewHostImpl::OnShowWidget(int route_id, const gfx::Rect& initial_pos) { if (!is_swapped_out_) delegate_->ShowCreatedWidget(route_id, initial_pos); Send(new ViewMsg_Move_ACK(route_id)); }
11,666
53,402
0
iperf_json_finish(struct iperf_test *test) { char *str; /* Include server output */ if (test->json_server_output) { cJSON_AddItemToObject(test->json_top, "server_output_json", test->json_server_output); } if (test->server_output_text) { cJSON_AddStringToObject(test->json_top, "server_output_text"...
11,667
65,049
0
static int check_stack_boundary(struct bpf_verifier_env *env, int regno, int access_size, bool zero_size_allowed, struct bpf_call_arg_meta *meta) { struct bpf_verifier_state *state = &env->cur_state; struct bpf_reg_state *regs = state->regs; int off, i; if (regs[regno].type != PTR_TO_STACK) { if (zero_si...
11,668
93,269
0
static ssize_t tun_chr_read_iter(struct kiocb *iocb, struct iov_iter *to) { struct file *file = iocb->ki_filp; struct tun_file *tfile = file->private_data; struct tun_struct *tun = __tun_get(tfile); ssize_t len = iov_iter_count(to), ret; if (!tun) return -EBADFD; ret = tun_do_read(tun, tfile, to, file->f_flags...
11,669
3,096
0
static int icccomponents(i_ctx_t * i_ctx_p, ref *space, int *n) { int code = 0; ref *tempref, ICCdict; code = array_get(imemory, space, 1, &ICCdict); if (code < 0) return code; code = dict_find_string(&ICCdict, "N", &tempref); if (code < 0) return code; if (code == 0) ...
11,670
64,420
0
gc_step_ratio_set(mrb_state *mrb, mrb_value obj) { mrb_int ratio; mrb_get_args(mrb, "i", &ratio); mrb->gc.step_ratio = ratio; return mrb_nil_value(); }
11,671
139,059
0
void AudioOutputAuthorizationHandler::OverridePermissionsForTesting( bool override_value) { DCHECK_CURRENTLY_ON(BrowserThread::IO); permission_checker_.reset(new MediaDevicesPermissionChecker(override_value)); }
11,672
173,467
0
bool omx_vdec::omx_cmd_queue::insert_entry(unsigned long p1, unsigned long p2, unsigned long id) { bool ret = true; if (m_size < OMX_CORE_CONTROL_CMDQ_SIZE) { m_q[m_write].id = id; m_q[m_write].param1 = p1; m_q[m_write].param2 = p2; m_write++; m_size ++; if (m_write ...
11,673
32,041
0
static void host_stop(struct ci13xxx *ci) { struct usb_hcd *hcd = ci->hcd; usb_remove_hcd(hcd); usb_put_hcd(hcd); }
11,674
13,675
0
vmnc_handle_wmvj_rectangle (GstVMncDec * dec, struct RfbRectangle *rect, const guint8 * data, int len, gboolean decode) { /* VM state info, not interesting for playback */ if (len < 2) { GST_LOG_OBJECT (dec, "VM state data too short"); return ERROR_INSUFFICIENT_DATA; } return 2; }
11,675
41,898
0
static int nested_svm_exit_handled_msr(struct vcpu_svm *svm) { u32 offset, msr, value; int write, mask; if (!(svm->nested.intercept & (1ULL << INTERCEPT_MSR_PROT))) return NESTED_EXIT_HOST; msr = svm->vcpu.arch.regs[VCPU_REGS_RCX]; offset = svm_msrpm_offset(msr); write = svm->vmcb->control.exit_info_1 & 1...
11,676
123,812
0
LocalFileSystem::LocalFileSystem(PassOwnPtr<FileSystemClient> client) : m_client(client) { }
11,677
33,069
0
static void sctp_sock_migrate(struct sock *oldsk, struct sock *newsk, struct sctp_association *assoc, sctp_socket_type_t type) { struct sctp_sock *oldsp = sctp_sk(oldsk); struct sctp_sock *newsp = sctp_sk(newsk); struct sctp_bind_bucket *pp; /* hash list port iterator */ struct sctp_endpoint *newe...
11,678
44,311
0
static void build_sk_flow_key(struct flowi4 *fl4, const struct sock *sk) { const struct inet_sock *inet = inet_sk(sk); const struct ip_options_rcu *inet_opt; __be32 daddr = inet->inet_daddr; rcu_read_lock(); inet_opt = rcu_dereference(inet->inet_opt); if (inet_opt && inet_opt->opt.srr) daddr = inet_opt->opt.fa...
11,679
171,063
0
void FrameworkListener::registerCmd(FrameworkCommand *cmd) { mCommands->push_back(cmd); }
11,680
119,505
0
TestDidCreateFrameWebFrameClient() : m_frameCount(0), m_parent(0) { }
11,681
126,489
0
void TabStripGtk::DestroyDraggedTab(TabGtk* tab) { StopAnimation(); std::vector<TabData>::iterator it = tab_data_.begin(); for (; it != tab_data_.end(); ++it) { if (it->tab == tab) { if (!model_->closing_all()) NOTREACHED() << "Leaving in an inconsistent state!"; tab_data_.erase(it); ...
11,682
174,981
0
CameraDeviceClientBase::CameraDeviceClientBase( const sp<CameraService>& cameraService, const sp<ICameraDeviceCallbacks>& remoteCallback, const String16& clientPackageName, int cameraId, int cameraFacing, int clientPid, uid_t clientUid, int servicePid) : BasicClient(cameraService, remoteCallback->asBinder(), c...
11,683
126,607
0
virtual ~TabAnimation() {}
11,684
82,342
0
NO_INLINE JsVar *jspeArrowFunction(JsVar *funcVar, JsVar *a) { assert(!a || jsvIsName(a)); JSP_ASSERT_MATCH(LEX_ARROW_FUNCTION); funcVar = jspeAddNamedFunctionParameter(funcVar, a); bool expressionOnly = lex->tk!='{'; jspeFunctionDefinitionInternal(funcVar, expressionOnly); if (execInfo.thisVar) { jsvO...
11,685
101,153
0
GatherUsageTaskBase( UsageTracker* tracker, QuotaClient* client) : QuotaTask(tracker), client_(client), tracker_(tracker), callback_factory_(ALLOW_THIS_IN_INITIALIZER_LIST(this)) { DCHECK(tracker_); DCHECK(client_); client_tracker_ = tracker_->GetClientTracker(cli...
11,686
167,232
0
void ConfirmInfoBar::Layout() { InfoBarView::Layout(); int x = StartX(); Labels labels; labels.push_back(label_); labels.push_back(link_); AssignWidths(&labels, std::max(0, EndX() - x - NonLabelWidth())); ChromeLayoutProvider* layout_provider = ChromeLayoutProvider::Get(); label_->SetPosition(gfx::Po...
11,687
147,945
0
void V8TestObject::Uint8ArrayMethodMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { RUNTIME_CALL_TIMER_SCOPE_DISABLED_BY_DEFAULT(info.GetIsolate(), "Blink_TestObject_uint8ArrayMethod"); test_object_v8_internal::Uint8ArrayMethodMethod(info); }
11,688
52,001
0
dissect_DEVMODE_fields(tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep _U_, guint32 *pdata) { guint32 fields; proto_item *hidden_item; static const int * hf_fields[] = { &hf_devmode_fields_orientation, &hf_devmode_fields_papersize, &hf_devmode_fields_pa...
11,689
168,516
0
ReadableStreamBytesConsumer::ReadableStreamBytesConsumer( ScriptState* script_state, ScriptValue stream_reader) : reader_(script_state->GetIsolate(), stream_reader.V8Value()), script_state_(script_state) { reader_.SetPhantom(); }
11,690
86,456
0
void mremap_userfaultfd_prep(struct vm_area_struct *vma, struct vm_userfaultfd_ctx *vm_ctx) { struct userfaultfd_ctx *ctx; ctx = vma->vm_userfaultfd_ctx.ctx; if (ctx && (ctx->features & UFFD_FEATURE_EVENT_REMAP)) { vm_ctx->ctx = ctx; userfaultfd_ctx_get(ctx); } }
11,691
146,672
0
void PageInfoBubbleView::OnPermissionChanged( const PageInfoUI::PermissionInfo& permission) { presenter_->OnSitePermissionChanged(permission.type, permission.setting); Layout(); SizeToContents(); }
11,692
118,888
0
RenderViewHostDelegateView* WebContentsImpl::GetDelegateView() { return render_view_host_delegate_view_; }
11,693
67,430
0
static int generic_readlink(struct dentry *dentry, char __user *buffer, int buflen) { DEFINE_DELAYED_CALL(done); struct inode *inode = d_inode(dentry); const char *link = inode->i_link; int res; if (!link) { link = inode->i_op->get_link(dentry, inode, &done); if (IS_ERR(link)) return PTR_ERR(link); ...
11,694
118,450
0
void RenderFrameImpl::OnStop() { FOR_EACH_OBSERVER(RenderFrameObserver, observers_, OnStop()); }
11,695
113,394
0
size_t WebProcessProxy::frameCountInPage(WebPageProxy* page) const { size_t result = 0; for (HashMap<uint64_t, RefPtr<WebFrameProxy> >::const_iterator iter = m_frameMap.begin(); iter != m_frameMap.end(); ++iter) { if (iter->value->page() == page) ++result; } return result; }
11,696
142,095
0
HRESULT CreateCredential(ICredentialProviderCredential** credential) { return CComCreator<CComObject<CTestCredentialForBase>>::CreateInstance( nullptr, IID_ICredentialProviderCredential, reinterpret_cast<void**>(credential)); }
11,697
78,665
0
static int rtecp_change_reference_data(sc_card_t *card, unsigned int type, int ref_qualifier, const u8 *old, size_t oldlen, const u8 *newref, size_t newlen, int *tries_left) { sc_apdu_t apdu; u8 rsf_length[2], *buf, *buf_end, *p; size_t val_length, buf_length, max_transmit_length; int transmits_num, r; asser...
11,698
31,949
0
int perf_event_overflow(struct perf_event *event, struct perf_sample_data *data, struct pt_regs *regs) { return __perf_event_overflow(event, 1, data, regs); }
11,699