unique_id
int64
13
189k
target
int64
0
1
code
stringlengths
20
241k
__index_level_0__
int64
0
18.9k
143,206
0
Node* Document::importNode(Node* importedNode, bool deep, ExceptionState& exceptionState) { switch (importedNode->getNodeType()) { case TEXT_NODE: return createTextNode(importedNode->nodeValue()); case CDATA_SECTION_NODE: return CDATASection::create(*this, importedNode->nodeValue()); cas...
9,600
156,213
0
RendererSchedulerImpl::InputTaskRunner() { helper_.CheckOnValidThread(); return input_task_queue_; }
9,601
28,733
0
static int apic_set_eoi(struct kvm_lapic *apic) { int vector = apic_find_highest_isr(apic); trace_kvm_eoi(apic, vector); /* * Not every write EOI will has corresponding ISR, * one example is when Kernel check timer on setup_IO_APIC */ if (vector == -1) return vector; apic_clear_isr(vector, apic); apic_...
9,602
177,971
1
e1000e_ring_empty(E1000ECore *core, const E1000E_RingInfo *r) { return core->mac[r->dh] == core->mac[r->dt]; }
9,603
85,319
0
check_quotas(cupsd_client_t *con, /* I - Client connection */ cupsd_printer_t *p) /* I - Printer or class */ { char username[33], /* Username */ *name; /* Current user name */ cupsd_quota_t *q; /* Quota data */ #ifdef HAVE_MBR_UID_TO_UUID /* * Use Apple membership APIs which require that al...
9,604
168,864
0
bool PermissionsData::IsRuntimeBlockedHostUnsafe(const GURL& url) const { runtime_lock_.AssertAcquired(); return PolicyBlockedHostsUnsafe().MatchesURL(url) && !PolicyAllowedHostsUnsafe().MatchesURL(url); }
9,605
142,488
0
void ShelfLayoutManager::StopAutoHideTimer() { auto_hide_timer_.Stop(); mouse_over_shelf_when_auto_hide_timer_started_ = false; }
9,606
235
0
bgp_attr_aggregate_intern (struct bgp *bgp, u_char origin, struct aspath *aspath, struct community *community, int as_set) { struct attr attr; struct attr *new; struct attr_extra *attre; memset (&attr, 0, sizeof (struct attr)); attre = bgp_attr_extra_get (&attr); /* Origin attribute. */ at...
9,607
102,232
0
void ExtensionPrefs::ClearPageOrdinal(const std::string& extension_id) { UpdatePageOrdinalMap(GetPageOrdinal(extension_id), StringOrdinal()); UpdateExtensionPref(extension_id, kPrefPageOrdinal, NULL); }
9,608
22,674
0
static int collect_events(struct perf_event *group, int max_count, struct perf_event *ctrs[], u64 *events, unsigned int *flags) { int n = 0; struct perf_event *event; if (!is_software_event(group)) { if (n >= max_count) return -1; ctrs[n] = group; flags[n] = group->hw.event_base; events[n++] = ...
9,609
148,488
0
bool WebContentsImpl::OnMessageReceived(RenderViewHostImpl* render_view_host, const IPC::Message& message) { RenderFrameHost* main_frame = render_view_host->GetMainFrame(); if (main_frame) { WebUIImpl* web_ui = static_cast<RenderFrameHostImpl*>(main_frame)->web_ui(); ...
9,610
25,172
0
static inline void rt_free(struct rtable *rt) { call_rcu_bh(&rt->dst.rcu_head, dst_rcu_free); }
9,611
23,563
0
static int linear_map(struct dm_target *ti, struct bio *bio, union map_info *map_context) { linear_map_bio(ti, bio); return DM_MAPIO_REMAPPED; }
9,612
143,068
0
uint32_t DefaultAudioDestinationHandler::MaxChannelCount() const { return AudioDestination::MaxChannelCount(); }
9,613
26,283
0
static void free_rootdomain(struct rcu_head *rcu) { struct root_domain *rd = container_of(rcu, struct root_domain, rcu); cpupri_cleanup(&rd->cpupri); free_cpumask_var(rd->rto_mask); free_cpumask_var(rd->online); free_cpumask_var(rd->span); kfree(rd); }
9,614
73,110
0
MagickExport Image *ColorMatrixImage(const Image *image, const KernelInfo *color_matrix,ExceptionInfo *exception) { #define ColorMatrixImageTag "ColorMatrix/Image" CacheView *color_view, *image_view; double ColorMatrix[6][6] = { { 1.0, 0.0, 0.0, 0.0, 0.0, 0.0 }, { 0.0, 1.0, 0.0, 0.0...
9,615
27,013
0
static bool is_valid_NPEvent_type(NPEvent *event) { switch (event->type) { case GraphicsExpose: case FocusIn: case FocusOut: case EnterNotify: case LeaveNotify: case MotionNotify: case ButtonPress: case ButtonRelease: case KeyPress: case KeyRelease: return true; default: break; } return fa...
9,616
62,549
0
parse_field(netdissect_options *ndo, const char **pptr, int *len) { const char *s; if (*len <= 0 || !pptr || !*pptr) return NULL; if (*pptr > (const char *) ndo->ndo_snapend) return NULL; s = *pptr; while (*pptr <= (const char *) ndo->ndo_snapend && *len >= 0 && **pptr) { (*pptr)++; (*len)--; ...
9,617
52,271
0
check_match(struct xt_entry_match *m, struct xt_mtchk_param *par) { const struct ipt_ip *ip = par->entryinfo; int ret; par->match = m->u.kernel.match; par->matchinfo = m->data; ret = xt_check_match(par, m->u.match_size - sizeof(*m), ip->proto, ip->invflags & IPT_INV_PROTO); if (ret < 0) { duprintf(...
9,618
154,963
0
LRUCanvasResourceProviderCache(wtf_size_t capacity) : resource_providers_(capacity) {}
9,619
19,002
0
static void __net_exit tcp4_proc_exit_net(struct net *net) { tcp_proc_unregister(net, &tcp4_seq_afinfo); }
9,620
824
0
void SplashOutputDev::clip(GfxState *state) { SplashPath *path; path = convertPath(state, state->getPath()); splash->clipToPath(path, gFalse); delete path; }
9,621
132,501
0
UsbListInterfacesFunction::UsbListInterfacesFunction() { }
9,622
37,782
0
static int nested_svm_exit_special(struct vcpu_svm *svm) { u32 exit_code = svm->vmcb->control.exit_code; switch (exit_code) { case SVM_EXIT_INTR: case SVM_EXIT_NMI: case SVM_EXIT_EXCP_BASE + MC_VECTOR: return NESTED_EXIT_HOST; case SVM_EXIT_NPF: /* For now we are always handling NPFs when using them */ if ...
9,623
137,119
0
bool InputType::SupportsRequired() const { return SupportsValidation(); }
9,624
36,721
0
make_NegHints(OM_uint32 *minor_status, spnego_gss_cred_id_t spcred, gss_buffer_t *outbuf) { gss_buffer_desc hintNameBuf; gss_name_t hintName = GSS_C_NO_NAME; gss_name_t hintKerberosName; gss_OID hintNameType; OM_uint32 major_status; OM_uint32 minor; unsigned int tlen = 0; unsigned int hintNameSize = 0; ...
9,625
14,233
0
int php_openssl_apply_verification_policy(SSL *ssl, X509 *peer, php_stream *stream TSRMLS_DC) /* {{{ */ { zval **val = NULL; char *cnmatch = NULL; X509_NAME *name; char buf[1024]; int err; /* verification is turned off */ if (!(GET_VER_OPT("verify_peer") && zval_is_true(*val))) { return SUCCESS; } if (peer...
9,626
35,959
0
xfs_da_map_covers_blocks( int nmap, xfs_bmbt_irec_t *mapp, xfs_dablk_t bno, int count) { int i; xfs_fileoff_t off; for (i = 0, off = bno; i < nmap; i++) { if (mapp[i].br_startblock == HOLESTARTBLOCK || mapp[i].br_startblock == DELAYSTARTBLOCK) { return 0; } if (off != mapp[i].br_startoff) { ...
9,627
127,252
0
WtsConsoleSessionProcessDriver::WtsConsoleSessionProcessDriver( const base::Closure& stopped_callback, WtsConsoleMonitor* monitor, scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, scoped_refptr<base::SingleThreadTaskRunner> io_task_runner) : Stoppable(caller_task_runner, stopped_callb...
9,628
104,775
0
virtual void Observe(NotificationType type, const NotificationSource& source, const NotificationDetails& details) { if (type == NotificationType::NAV_LIST_PRUNED) { notification_count_++; details_ = *(Details<NavigationController::PrunedDetails>(details).p...
9,629
121,066
0
void PixelBufferRasterWorkerPool::CheckForCompletedUploads() { RasterTaskDeque tasks_with_completed_uploads; while (!tasks_with_pending_upload_.empty()) { internal::RasterWorkerPoolTask* task = tasks_with_pending_upload_.front().get(); if (!resource_provider()->DidSetPixelsComplete(task->resource(...
9,630
47,484
0
static int cfg_keys(struct cryp_ctx *ctx) { int i; int num_of_regs = ctx->keylen / 8; u32 swapped_key[CRYP_MAX_KEY_SIZE / 4]; int cryp_error = 0; dev_dbg(ctx->device->dev, "[%s]", __func__); if (mode_is_aes(ctx->config.algomode)) { swap_words_in_key_and_bits_in_byte((u8 *)ctx->key, (u8 *)swapped_key,...
9,631
95,258
0
void service_abort(int error) { shut_down(error); }
9,632
45,715
0
static int crypto_ecb_setkey(struct crypto_tfm *parent, const u8 *key, unsigned int keylen) { struct crypto_ecb_ctx *ctx = crypto_tfm_ctx(parent); struct crypto_cipher *child = ctx->child; int err; crypto_cipher_clear_flags(child, CRYPTO_TFM_REQ_MASK); crypto_cipher_set_flags(child, crypto_tfm_get_flags(p...
9,633
66,308
0
static void utf8cvt_emitoctet(struct iw_utf8cvt_struct *s, unsigned char c) { if(s->dp > s->dstlen-2) return; s->dst[s->dp] = (char)c; s->dp++; }
9,634
146,033
0
bool WebGL2RenderingContextBase::ValidateGetFramebufferAttachmentParameterFunc( const char* function_name, GLenum target, GLenum attachment) { if (!ValidateFramebufferTarget(target)) { SynthesizeGLError(GL_INVALID_ENUM, function_name, "invalid target"); return false; } WebGLFramebuffer* frame...
9,635
7,679
0
static int handle_mknod(FsContext *fs_ctx, V9fsPath *dir_path, const char *name, FsCred *credp) { int dirfd, ret; struct handle_data *data = (struct handle_data *)fs_ctx->private; dirfd = open_by_handle(data->mountfd, dir_path->data, O_PATH); if (dirfd < 0) { return dirfd...
9,636
32,994
0
static int sctp_getsockopt_autoclose(struct sock *sk, int len, char __user *optval, int __user *optlen) { /* Applicable to UDP-style socket only */ if (sctp_style(sk, TCP)) return -EOPNOTSUPP; if (len < sizeof(int)) return -EINVAL; len = sizeof(int); if (put_user(len, optlen)) return -EFAULT; if (copy_to_us...
9,637
17,819
0
static void nbd_send_opt_abort(QIOChannel *ioc) { /* Technically, a compliant server is supposed to reply to us; but * older servers disconnected instead. At any rate, we're allowed * to disconnect without waiting for the server reply, so we don't * even care if the request makes it to the server, le...
9,638
73,616
0
MagickExport PixelPacket *GetAuthenticPixelQueue(const Image *image) { CacheInfo *restrict cache_info; const int id = GetOpenMPThreadId(); assert(image != (const Image *) NULL); assert(image->signature == MagickSignature); assert(image->cache != (Cache) NULL); cache_info=(CacheInfo *) image->cache...
9,639
152,296
0
void RenderFrameImpl::DidUpdateCurrentHistoryItem() { render_view_->StartNavStateSyncTimerIfNecessary(this); }
9,640
137,981
0
AXObject::AXRange AXLayoutObject::selection() const { AXRange textSelection = textControlSelection(); if (textSelection.isValid()) return textSelection; if (!getLayoutObject() || !getLayoutObject()->frame()) return AXRange(); VisibleSelection selection = getLayoutObject() ->frame() ...
9,641
98,663
0
void RenderWidget::didChangeCursor(const WebCursorInfo& cursor_info) { WebCursor cursor(cursor_info); if (!current_cursor_.IsEqual(cursor)) { current_cursor_ = cursor; Send(new ViewHostMsg_SetCursor(routing_id_, cursor)); } }
9,642
152,861
0
UkmPageLoadMetricsObserver::CreateIfNeeded() { if (!ukm::UkmRecorder::Get()) { return nullptr; } return std::make_unique<UkmPageLoadMetricsObserver>( g_browser_process->network_quality_tracker()); }
9,643
24,507
0
convert_delimiter(char *path, char delim) { int i; char old_delim; if (path == NULL) return; if (delim == '/') old_delim = '\\'; else old_delim = '/'; for (i = 0; path[i] != '\0'; i++) { if (path[i] == old_delim) path[i] = delim; } }
9,644
109,547
0
void PrintWebViewHelper::didStopLoading() { PrintPages(print_web_view_->mainFrame(), WebKit::WebNode()); }
9,645
13,978
0
gsicc_manager_finalize(const gs_memory_t *memory, void * vptr) { gsicc_manager_t *icc_man = (gsicc_manager_t *)vptr; gsicc_manager_free_contents(icc_man, "gsicc_manager_finalize"); }
9,646
10,943
0
static void exif_iif_add_str(image_info_type *image_info, int section_index, char *name, char *value TSRMLS_DC) { image_info_data *info_data; image_info_data *list; if (value) { list = safe_erealloc(image_info->info_list[section_index].list, (image_info->info_list[section_index].count+1), sizeof(image_info_data...
9,647
11,520
0
int fchmod_umask(int fd, mode_t m) { mode_t u; int r; u = umask(0777); r = fchmod(fd, m & (~u)) < 0 ? -errno : 0; umask(u); return r; }
9,648
106,306
0
void SyncBackendHost::Core::DoRequestConfig( const syncable::ModelTypeBitSet& added_types, sync_api::ConfigureReason reason) { syncapi_->RequestConfig(added_types, reason); }
9,649
150,188
0
bool StartupBrowserCreator::ProcessLastOpenedProfiles( const base::CommandLine& command_line, const base::FilePath& cur_dir, chrome::startup::IsProcessStartup is_process_startup, chrome::startup::IsFirstRun is_first_run, Profile* last_used_profile, const Profiles& last_opened_profiles) { base:...
9,650
96,582
0
void mbedtls_ecp_point_free( mbedtls_ecp_point *pt ) { if( pt == NULL ) return; mbedtls_mpi_free( &( pt->X ) ); mbedtls_mpi_free( &( pt->Y ) ); mbedtls_mpi_free( &( pt->Z ) ); }
9,651
12,842
0
int ASN1_template_i2d(ASN1_VALUE **pval, unsigned char **out, const ASN1_TEMPLATE *tt) { return asn1_template_ex_i2d(pval, out, tt, -1, 0); }
9,652
24,967
0
int CIFSSMBNotify(const int xid, struct cifs_tcon *tcon, const int notify_subdirs, const __u16 netfid, __u32 filter, struct file *pfile, int multishot, const struct nls_table *nls_codepage) { int rc = 0; struct smb_com_transaction_change_notify_req *pSMB = NULL; struct smb_com_ntransaction_change_notify_...
9,653
162,363
0
void ExpectDelegateCreation() { delegate_ = new StrictMock<MockDelegate>(); mock_delegate_factory_.PrepareDelegateForCreation( base::WrapUnique(delegate_)); EXPECT_TRUE( base::CancelableSyncSocket::CreatePair(&local_, foreign_socket_.get())); EXPECT_TRUE(mem_.CreateAnonymous(kShmemSize...
9,654
34,079
0
static struct dentry *udf_fh_to_parent(struct super_block *sb, struct fid *fid, int fh_len, int fh_type) { if (fh_len != 5 || fh_type != FILEID_UDF_WITH_PARENT) return NULL; return udf_nfs_get_inode(sb, fid->udf.parent_block, fid->udf.parent_partref, fid->udf.parent_generation); }
9,655
38,251
0
static void sk_filter_release(struct sk_filter *fp) { if (atomic_dec_and_test(&fp->refcnt)) call_rcu(&fp->rcu, sk_filter_release_rcu); }
9,656
126,073
0
~AutomationProviderGetPasswordsObserver() {}
9,657
176,520
0
xmlParse3986PathAbEmpty(xmlURIPtr uri, const char **str) { const char *cur; int ret; cur = *str; while (*cur == '/') { cur++; ret = xmlParse3986Segment(&cur, 0, 1); if (ret != 0) return(ret); } if (uri != NULL) { if (uri->path != NULL) xmlFree(uri->path); if (*str != cur) { if (uri->cleanup & 2)...
9,658
178,168
1
void TIFF_MetaHandler::ProcessXMP() { this->processedXMP = true; // Make sure we only come through here once. // Set up everything for the legacy import, but don't do it yet. This lets us do a forced legacy // import if the XMP packet gets parsing errors. // ! Photoshop 6 wrote annoyingly wacky TIFF files. It buried...
9,659
103,348
0
P2PSocketDispatcherHost::~P2PSocketDispatcherHost() { DCHECK(sockets_.empty()); }
9,660
180,696
1
set_string_2_svc(sstring_arg *arg, struct svc_req *rqstp) { static generic_ret ret; char *prime_arg; gss_buffer_desc client_name, service_name; OM_uint32 minor_stat; kadm5_server_handle_t handle; const char ...
9,661
74,361
0
static VOID ParaNdis_AddDriverOKStatus(PPARANDIS_ADAPTER pContext) { pContext->bDeviceInitialized = TRUE; KeMemoryBarrier(); VirtIODeviceAddStatus(pContext->IODevice, VIRTIO_CONFIG_S_DRIVER_OK); }
9,662
78,197
0
authentic_match_card(struct sc_card *card) { struct sc_context *ctx = card->ctx; int i; sc_log_hex(ctx, "try to match card with ATR", card->atr.value, card->atr.len); i = _sc_match_atr(card, authentic_known_atrs, &card->type); if (i < 0) { sc_log(ctx, "card not matched"); return 0; } sc_log(ctx, "'%s' ca...
9,663
38,454
0
static void cma_attach_to_dev(struct rdma_id_private *id_priv, struct cma_device *cma_dev) { atomic_inc(&cma_dev->refcount); id_priv->cma_dev = cma_dev; id_priv->id.device = cma_dev->device; id_priv->id.route.addr.dev_addr.transport = rdma_node_get_transport(cma_dev->device->node_type); list_add_tail(&i...
9,664
91,633
0
bgp_attr_flags_diagnose(struct bgp_attr_parser_args *args, uint8_t desired_flags /* how RFC says it must be */ ) { uint8_t seen = 0, i; uint8_t real_flags = args->flags; const uint8_t attr_code = args->type; desired_flags &= ~BGP_ATTR_FLAG_EXTLEN; real_flags &= ~BGP_ATTR_FLAG_EXTLEN; for (i = 0; i <= 2; i++) ...
9,665
177,731
0
ProxyResolverV8WithMockBindings(MockJSBindings* mock_js_bindings) : ProxyResolverV8(mock_js_bindings, mock_js_bindings), mock_js_bindings_(mock_js_bindings) { }
9,666
92,593
0
void init_numa_balancing(unsigned long clone_flags, struct task_struct *p) { int mm_users = 0; struct mm_struct *mm = p->mm; if (mm) { mm_users = atomic_read(&mm->mm_users); if (mm_users == 1) { mm->numa_next_scan = jiffies + msecs_to_jiffies(sysctl_numa_balancing_scan_delay); mm->numa_scan_seq = 0; } ...
9,667
62,760
0
static rsRetVal validateConfig(instanceConf_t* info) { if (info->type == -1) { errmsg.LogError(0, RS_RET_INVALID_PARAMS, "you entered an invalid type"); return RS_RET_INVALID_PARAMS; } if (info->action == -1) { errmsg.LogError(0, RS_RET_INVALID_PARAMS, ...
9,668
168,501
0
String FileReaderLoader::StringResult() { DCHECK_NE(read_type_, kReadAsArrayBuffer); DCHECK_NE(read_type_, kReadByClient); if (!raw_data_ || error_code_ || is_raw_data_converted_) return string_result_; switch (read_type_) { case kReadAsArrayBuffer: return string_result_; case kReadAsBinaryS...
9,669
126,235
0
bool Browser::ShouldCloseWindow() { if (!CanCloseWithInProgressDownloads()) return false; return unload_controller_->ShouldCloseWindow(); }
9,670
129,145
0
void Framebuffer::AttachRenderbuffer( GLenum attachment, Renderbuffer* renderbuffer) { const Attachment* a = GetAttachment(attachment); if (a) a->DetachFromFramebuffer(this); if (renderbuffer) { attachments_[attachment] = scoped_refptr<Attachment>( new RenderbufferAttachment(renderbuffer)); ...
9,671
41,500
0
static int dn_setsockopt(struct socket *sock, int level, int optname, char __user *optval, unsigned int optlen) { struct sock *sk = sock->sk; int err; lock_sock(sk); err = __dn_setsockopt(sock, level, optname, optval, optlen, 0); release_sock(sk); return err; }
9,672
106,214
0
void setJSTestObjLongSequenceAttr(ExecState* exec, JSObject* thisObject, JSValue value) { JSTestObj* castedThis = jsCast<JSTestObj*>(thisObject); TestObj* impl = static_cast<TestObj*>(castedThis->impl()); impl->setLongSequenceAttr(toNativeArray<long>(exec, value)); }
9,673
51,408
0
static void dashedSet (gdImagePtr im, int x, int y, int color, int *onP, int *dashStepP, int wid, int vert) { int dashStep = *dashStepP; int on = *onP; int w, wstart; dashStep++; if (dashStep == gdDashSize) { dashStep = 0; on = !on; } if (on) { if (vert) { wstart = y - wid / 2; for (w = wstart; w < ...
9,674
28,859
0
int kvm_arch_vcpu_should_kick(struct kvm_vcpu *vcpu) { return kvm_vcpu_exiting_guest_mode(vcpu) == IN_GUEST_MODE; }
9,675
158,798
0
const std::vector<mojom::ResourceLoadInfoPtr>& resource_load_infos() const { return resource_load_infos_; }
9,676
142,476
0
void ShelfLayoutManager::ProcessGestureEventOfAutoHideShelf( ui::GestureEvent* event, aura::Window* target) { const bool is_shelf_window = IsShelfWindow(target); if (IsVisible() || in_shutdown_) { if (!is_shelf_window && !IsStatusAreaWindow(target) && visibility_state() == SHELF_AUTO_HIDE && ...
9,677
157,891
0
blink::WebString RenderViewImpl::AcceptLanguages() { return WebString::FromUTF8(renderer_preferences_.accept_languages); }
9,678
153,378
0
TabStrip::DropArrow::DropArrow(const BrowserRootView::DropIndex& index, bool point_down, views::Widget* context) : index(index), point_down(point_down) { arrow_view = new views::ImageView; arrow_view->SetImage(GetDropArrowImage(point_down)); arrow...
9,679
138,527
0
static Mutex& threadSetMutex() { AtomicallyInitializedStaticReference(Mutex, mutex, new Mutex); return mutex; }
9,680
7,128
0
t42_glyphslot_clear( FT_GlyphSlot slot ) { /* free bitmap if needed */ ft_glyphslot_free_bitmap( slot ); /* clear all public fields in the glyph slot */ FT_ZERO( &slot->metrics ); FT_ZERO( &slot->outline ); FT_ZERO( &slot->bitmap ); slot->bitmap_left = 0; slot->bitmap_top = 0...
9,681
153,626
0
void GLES2Implementation::DestroyGpuFenceCHROMIUMHelper(GLuint client_id) { if (GetIdAllocator(IdNamespaces::kGpuFences)->InUse(client_id)) { GetIdAllocator(IdNamespaces::kGpuFences)->FreeID(client_id); helper_->DestroyGpuFenceCHROMIUM(client_id); } else { SetGLError(GL_INVALID_VALUE, "glDestroyGpuFence...
9,682
60,714
0
static inline void tower_delete (struct lego_usb_tower *dev) { tower_abort_transfers (dev); /* free data structures */ usb_free_urb(dev->interrupt_in_urb); usb_free_urb(dev->interrupt_out_urb); kfree (dev->read_buffer); kfree (dev->interrupt_in_buffer); kfree (dev->interrupt_out_buffer); kfree (dev); }
9,683
125,418
0
void GDataFileSystem::OnMarkDirtyInCacheCompleteForOpenFile( const OpenFileCallback& callback, GDataFileError error, const std::string& resource_id, const std::string& md5, const FilePath& cache_file_path) { DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); if (!callback.is_null()) cal...
9,684
152,535
0
bool RenderFrameImpl::ShouldReportDetailedMessageForSource( const blink::WebString& source) { return GetContentClient()->renderer()->ShouldReportDetailedMessageForSource( source.Utf16()); }
9,685
71,044
0
void* Type_S15Fixed16_Dup(struct _cms_typehandler_struct* self, const void *Ptr, cmsUInt32Number n) { return _cmsDupMem(self ->ContextID, Ptr, n * sizeof(cmsFloat64Number)); }
9,686
13
0
static int samldb_generate_sAMAccountName(struct ldb_context *ldb, struct ldb_message *msg) { char *name; /* Format: $000000-000000000000 */ name = talloc_asprintf(msg, "$%.6X-%.6X%.6X", (unsigned int)generate_random(), (unsigned int)generate_random(), (unsigned int)generate_random()); if (name...
9,687
153,732
0
void GLES2Implementation::GetUniformBlocksCHROMIUM(GLuint program, GLsizei bufsize, GLsizei* size, void* info) { GPU_CLIENT_SINGLE_THREAD_CHECK(); if (bufsize < 0)...
9,688
162,910
0
void CoordinatorImpl::RequestGlobalMemoryDumpInternal( const QueuedRequest::Args& args, const RequestGlobalMemoryDumpInternalCallback& callback) { DCHECK_CALLED_ON_VALID_THREAD(thread_checker_); UMA_HISTOGRAM_COUNTS_1000("Memory.Experimental.Debug.GlobalDumpQueueLength", queued_...
9,689
61,396
0
static int mov_metadata_int8_no_padding(MOVContext *c, AVIOContext *pb, unsigned len, const char *key) { c->fc->event_flags |= AVFMT_EVENT_FLAG_METADATA_UPDATED; av_dict_set_int(&c->fc->metadata, key, avio_r8(pb), 0); return 0; }
9,690
30,190
0
static void ftrace_ops_no_ops(unsigned long ip, unsigned long parent_ip) { __ftrace_ops_list_func(ip, parent_ip, NULL, NULL); }
9,691
150,705
0
base::string16 PageInfoUI::PermissionActionToUIString( Profile* profile, ContentSettingsType type, ContentSetting setting, ContentSetting default_setting, content_settings::SettingSource source) { ContentSetting effective_setting = GetEffectiveSetting(profile, type, setting, default_setting)...
9,692
137,225
0
bool Textfield::GetWordLookupDataFromSelection( gfx::DecoratedText* decorated_text, gfx::Point* baseline_point) { return GetRenderText()->GetLookupDataForRange(GetRenderText()->selection(), decorated_text, baseline_point); }
9,693
34,305
0
static int btrfs_getattr(struct vfsmount *mnt, struct dentry *dentry, struct kstat *stat) { struct inode *inode = dentry->d_inode; u32 blocksize = inode->i_sb->s_blocksize; generic_fillattr(inode, stat); stat->dev = BTRFS_I(inode)->root->anon_dev; stat->blksize = PAGE_CACHE_SIZE; stat->blocks = (ALIGN(inode_...
9,694
90,455
0
static __poll_t ib_uverbs_event_poll(struct ib_uverbs_event_queue *ev_queue, struct file *filp, struct poll_table_struct *wait) { __poll_t pollflags = 0; poll_wait(filp, &ev_queue->poll_wait, wait); spin_lock_irq(&ev_queue->lock); if (!list_empty(&ev_queue->event_list)) pollflags = EPOLLIN | EPOLLRD...
9,695
131,782
0
static void testInterfaceEmptyAttributeAttributeSetter(v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) { TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder()); V8TRYCATCH_VOID(TestInterfaceEmpty*, cppValue, V8TestInterfaceEmpty::toNativeWithTypeCheck(info.GetIsolate(), js...
9,696
150,217
0
void TabletModeWindowManager::OnWindowHierarchyChanged( const HierarchyChangeParams& params) { if (params.new_parent && IsContainerWindow(params.new_parent) && !base::Contains(window_state_map_, params.target)) { if (!params.target->IsVisible()) { if (!base::Contains(added_windows_, params.target)...
9,697
145,171
0
void OnGpuProcessHostDestroyedOnUI(int host_id, const std::string& message) { DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); GpuDataManagerImpl::GetInstance()->AddLogMessage( logging::LOG_ERROR, "GpuProcessHostUIShim", message); #if defined(USE_OZONE) ui::OzonePlatform::GetInstance() ->GetGpuP...
9,698
146,219
0
void WebGL2RenderingContextBase::uniformMatrix2x4fv( const WebGLUniformLocation* location, GLboolean transpose, MaybeShared<DOMFloat32Array> value, GLuint src_offset, GLuint src_length) { if (isContextLost() || !ValidateUniformMatrixParameters( "uniformMatrix2x4fv", lo...
9,699