unique_id
int64
13
189k
target
int64
0
1
code
stringlengths
20
241k
__index_level_0__
int64
0
18.9k
121,634
0
PassRefPtr<Range> BackwardsCharacterIterator::range() const { RefPtr<Range> r = m_textIterator.range(); if (!m_textIterator.atEnd()) { if (m_textIterator.length() <= 1) ASSERT(m_runOffset == 0); else { Node* n = r->startContainer(); ASSERT(n == r->endContainer...
15,800
15,045
0
PHP_FUNCTION(dom_document_get_elements_by_tag_name) { zval *id; xmlDocPtr docp; int name_len; dom_object *intern, *namednode; char *name; xmlChar *local; if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Os", &id, dom_document_class_entry, &name, &name_len) == FAILURE) { return; } DOM...
15,801
92,915
0
bitmap_decompress1(uint8 * output, int width, int height, uint8 * input, int size) { uint8 *end = input + size; uint8 *prevline = NULL, *line = NULL; int opcode, count, offset, isfillormix, x = width; int lastopcode = -1, insertmix = False, bicolour = False; uint8 code; uint8 colour1 = 0, colour2 = 0; uint8 mixm...
15,802
157,292
0
bool WebMediaPlayerImpl::Paused() const { DCHECK(main_task_runner_->BelongsToCurrentThread()); #if defined(OS_ANDROID) // WMPI_CAST if (IsRemote()) return cast_impl_.IsPaused(); #endif return pipeline_controller_.GetPlaybackRate() == 0.0f; }
15,803
1,073
0
void GfxDeviceGrayColorSpace::getRGBLine(Guchar *in, unsigned int *out, int length) { int i; for (i = 0; i < length; i++) out[i] = (in[i] << 16) | (in[i] << 8) | (in[i] << 0); }
15,804
160,463
0
void RenderFrameHostImpl::OnDidStopLoading() { TRACE_EVENT1("navigation", "RenderFrameHostImpl::OnDidStopLoading", "frame_tree_node", frame_tree_node_->frame_tree_node_id()); if (!is_loading_) { LOG(WARNING) << "OnDidStopLoading was called twice."; return; } is_loading_ = false; navig...
15,805
148,231
0
BrowserPpapiHost* BrowserPpapiHost::CreateExternalPluginProcess( IPC::Sender* sender, ppapi::PpapiPermissions permissions, base::ProcessHandle plugin_child_process, IPC::ChannelProxy* channel, int render_process_id, int render_view_id, const base::FilePath& profile_directory) { BrowserPpap...
15,806
66,148
0
static inline int is_digit(char ch) { return (ch >= '0') && (ch <= '9'); }
15,807
105,608
0
WebDriverCommand::~WebDriverCommand() {}
15,808
3,207
0
ztypenames(i_ctx_t *i_ctx_p) { os_ptr op = osp; static const char *const tnames[] = { REF_TYPE_NAME_STRINGS }; int i; check_ostack(t_next_index); for (i = 0; i < t_next_index; i++) { ref *const rtnp = op + 1 + i; if (i >= countof(tnames) || tnames[i] == 0) make_null(rtn...
15,809
118,964
0
void WebContentsImpl::NotifyNavigationStateChanged(unsigned changed_flags) { if (delegate_) delegate_->NavigationStateChanged(this, changed_flags); }
15,810
174,801
0
virtual status_t setConsumerUsageBits(uint32_t usage) { Parcel data, reply; data.writeInterfaceToken(IGraphicBufferConsumer::getInterfaceDescriptor()); data.writeInt32(usage); status_t result = remote()->transact(SET_CONSUMER_USAGE_BITS, data, &reply); if (result != NO_ERROR) { return result; } r...
15,811
155,502
0
int64_t DataReductionProxySettings::GetDataReductionLastUpdateTime() { DCHECK(thread_checker_.CalledOnValidThread()); DCHECK(data_reduction_proxy_service_->compression_stats()); return data_reduction_proxy_service_->compression_stats()->GetLastUpdateTime(); }
15,812
67,124
0
i2flac24_array (const int *src, int32_t *dest, int count) { while (--count >= 0) dest [count] = src [count] >> 8 ; } /* i2flac24_array */
15,813
169,405
0
~SynchronizeVisualPropertiesMessageFilter() {}
15,814
154,555
0
error::Error GLES2DecoderPassthroughImpl::DoBeginRasterCHROMIUM( GLuint texture_id, GLuint sk_color, GLuint msaa_sample_count, GLboolean can_use_lcd_text, GLint color_type) { NOTIMPLEMENTED(); return error::kNoError; }
15,815
38,213
0
futex_wake_op(u32 __user *uaddr1, unsigned int flags, u32 __user *uaddr2, int nr_wake, int nr_wake2, int op) { union futex_key key1 = FUTEX_KEY_INIT, key2 = FUTEX_KEY_INIT; struct futex_hash_bucket *hb1, *hb2; struct futex_q *this, *next; int ret, op_ret; retry: ret = get_futex_key(uaddr1, flags & FLAGS_SH...
15,816
125,057
0
static int synthesizedBaselineFromContentBox(const RenderBox* box, LineDirectionMode direction) { return direction == HorizontalLine ? box->borderTop() + box->paddingTop() + box->contentHeight() : box->borderRight() + box->paddingRight() + box->contentWidth(); }
15,817
151,494
0
void WorkerFetchContext::DispatchDidReceiveEncodedData( unsigned long identifier, int encoded_data_length) { probe::didReceiveEncodedDataLength(global_scope_, identifier, encoded_data_length); }
15,818
116,562
0
TestInterstitialPage(TabContents* tab, bool new_navigation, const GURL& url, InterstitialState* state, bool* deleted) : InterstitialPageImpl( tab, new_navigation, url, new TestInterstitialPageDele...
15,819
108,391
0
static int ScaleChannel(int channel, int volume) { return static_cast<int>((static_cast<Fixed>(channel) * volume) >> 16); }
15,820
125,555
0
FeedToFileResourceMapUmaStats::~FeedToFileResourceMapUmaStats() { }
15,821
19,241
0
netlink_lock_table(void) { /* read_lock() synchronizes us to netlink_table_grab */ read_lock(&nl_table_lock); atomic_inc(&nl_table_users); read_unlock(&nl_table_lock); }
15,822
172,569
0
int32_t SoftAAC2::outputDelayRingBufferSamplesAvailable() { return mOutputDelayRingBufferFilled; }
15,823
126,321
0
FindBar* BrowserWindowGtk::CreateFindBar() { return new FindBarGtk(this); }
15,824
52,388
0
static inline bool unconditional(const struct ipt_entry *e) { static const struct ipt_ip uncond; return e->target_offset == sizeof(struct ipt_entry) && memcmp(&e->ip, &uncond, sizeof(uncond)) == 0; #undef FWINV }
15,825
71,193
0
static struct kvm_memslots *kvm_alloc_memslots(void) { int i; struct kvm_memslots *slots; slots = kvm_kvzalloc(sizeof(struct kvm_memslots)); if (!slots) return NULL; /* * Init kvm generation close to the maximum to easily test the * code of handling generation number wrap-around. */ slots->generation = ...
15,826
29,604
0
void ip_send_check(struct iphdr *iph) { iph->check = 0; iph->check = ip_fast_csum((unsigned char *)iph, iph->ihl); }
15,827
31,125
0
void fb_append_extra_logo(const struct linux_logo *logo, unsigned int n) { if (!n || fb_logo_ex_num == FB_LOGO_EX_NUM_MAX) return; fb_logo_ex[fb_logo_ex_num].logo = logo; fb_logo_ex[fb_logo_ex_num].n = n; fb_logo_ex_num++; }
15,828
49,794
0
static uint8_t arcmsr_hbaD_abort_allcmd(struct AdapterControlBlock *pACB) { struct MessageUnit_D *reg = pACB->pmuD; writel(ARCMSR_INBOUND_MESG0_ABORT_CMD, reg->inbound_msgaddr0); if (!arcmsr_hbaD_wait_msgint_ready(pACB)) { pr_notice("arcmsr%d: wait 'abort all outstanding " "command' timeout\n", pACB->host->hos...
15,829
59,483
0
xmlParseEndTag2(xmlParserCtxtPtr ctxt, const xmlChar *prefix, const xmlChar *URI, int line, int nsNr, int tlen) { const xmlChar *name; size_t curLength; GROW; if ((RAW != '<') || (NXT(1) != '/')) { xmlFatalErr(ctxt, XML_ERR_LTSLASH_REQUIRED, NULL); return; } SKIP(2); curL...
15,830
85,251
0
void alloc_nid_failed(struct f2fs_sb_info *sbi, nid_t nid) { struct f2fs_nm_info *nm_i = NM_I(sbi); struct free_nid *i; bool need_free = false; if (!nid) return; spin_lock(&nm_i->nid_list_lock); i = __lookup_free_nid_list(nm_i, nid); f2fs_bug_on(sbi, !i); if (!available_free_memory(sbi, FREE_NIDS)) { __r...
15,831
97,200
0
void WebFrameLoaderClient::dispatchDidReceiveTitle(const String& title) { if (webframe_->client()) { webframe_->client()->didReceiveTitle( webframe_, webkit_glue::StringToWebString(title)); } }
15,832
48,787
0
int dev_forward_skb(struct net_device *dev, struct sk_buff *skb) { return __dev_forward_skb(dev, skb) ?: netif_rx_internal(skb); }
15,833
164,860
0
void SetFilterCallback(const FilterCallback& callback) { callback_ = callback; }
15,834
70
0
static timelib_sll timelib_get_nr(char **ptr, int max_length) { char *begin, *end, *str; timelib_sll tmp_nr = TIMELIB_UNSET; int len = 0; while ((**ptr < '0') || (**ptr > '9')) { if (**ptr == '\0') { return TIMELIB_UNSET; } ++*ptr; } begin = *ptr; while ((**ptr >= '0') && (**ptr <= '9') && len < max_le...
15,835
82,597
0
int espruino_snprintf( char * s, size_t n, const char * fmt, ... ) { espruino_snprintf_data d; d.outPtr = s; d.idx = 0; d.len = n; va_list argp; va_start(argp, fmt); vcbprintf(espruino_snprintf_cb,&d, fmt, argp); va_end(argp); if (d.idx < d.len) d.outPtr[d.idx] = 0; else d.outPtr[d.len-1] = 0; ...
15,836
19,807
0
int _nfs4_call_sync_session(struct rpc_clnt *clnt, struct nfs_server *server, struct rpc_message *msg, struct nfs4_sequence_args *args, struct nfs4_sequence_res *res, int cache_reply) { nfs41_init_sequence(args, res, cache_reply); return nfs4_call_sync_sequence(clnt, server, msg, ar...
15,837
58,135
0
static inline void check_class_changed(struct rq *rq, struct task_struct *p, const struct sched_class *prev_class, int oldprio) { if (prev_class != p->sched_class) { if (prev_class->switched_from) prev_class->switched_from(rq, p); p->sched_class->switched_to(rq, p); } else if (oldprio != ...
15,838
170,028
0
xsltFreeGlobalVariables(xsltTransformContextPtr ctxt) { xmlHashFree(ctxt->globalVars, (xmlHashDeallocator) xsltFreeStackElem); }
15,839
154,455
0
GLES2DecoderPassthroughImpl::GetFramebufferManager() { return nullptr; }
15,840
143,712
0
void RenderWidgetHostImpl::SetTouchEventEmulationEnabled( bool enabled, ui::GestureProviderConfigType config_type) { if (enabled) { if (!touch_emulator_) { touch_emulator_.reset(new TouchEmulator( this, view_.get() ? content::GetScaleFactorForView(view_.get()) : 1.0f)); } tou...
15,841
25,957
0
__find_swevent_head(struct swevent_hlist *hlist, u64 type, u32 event_id) { u64 hash = swevent_hash(type, event_id); return &hlist->heads[hash]; }
15,842
113,432
0
IBusBus* InputMethodIBus::GetBus() { static IBusBus* ibus = NULL; if (!ibus) { ibus = ibus_client_->GetConnection(); DCHECK(ibus); } return ibus; }
15,843
129,312
0
void GLES2DecoderImpl::DoSampleCoverage(GLclampf value, GLboolean invert) { state_.sample_coverage_value = std::min(1.0f, std::max(0.0f, value)); state_.sample_coverage_invert = (invert != 0); glSampleCoverage(state_.sample_coverage_value, invert); }
15,844
26,369
0
static void update_rq_clock_task(struct rq *rq, s64 delta) { s64 irq_delta; irq_delta = irq_time_read(cpu_of(rq)) - rq->prev_irq_time; /* * Since irq_time is only updated on {soft,}irq_exit, we might run into * this case when a previous update_rq_clock() happened inside a * {soft,}irq region. * * When th...
15,845
6,097
0
e1000e_vm_state_change(void *opaque, int running, RunState state) { E1000ECore *core = opaque; if (running) { trace_e1000e_vm_state_running(); e1000e_intrmgr_resume(core); e1000e_autoneg_resume(core); } else { trace_e1000e_vm_state_stopped(); e1000e_autoneg_pause(cor...
15,846
150,033
0
void LayerTreeHostImpl::SetDebugState( const LayerTreeDebugState& new_debug_state) { if (LayerTreeDebugState::Equal(debug_state_, new_debug_state)) return; debug_state_ = new_debug_state; UpdateTileManagerMemoryPolicy(ActualManagedMemoryPolicy()); SetFullViewportDamage(); }
15,847
48,644
0
static void h2_session_ev_mpm_stopping(h2_session *session, int arg, const char *msg) { switch (session->state) { case H2_SESSION_ST_DONE: /* nop */ break; default: h2_session_shutdown_notice(session); break; } }
15,848
3,734
0
_dbus_exit (int code) { _exit (code); }
15,849
121,331
0
void WebURLLoaderImpl::didChangePriority(WebURLRequest::Priority new_priority) { context_->DidChangePriority(new_priority); }
15,850
21,547
0
void emergency_restart(void) { kmsg_dump(KMSG_DUMP_EMERG); machine_emergency_restart(); }
15,851
130,545
0
void DisplayItemList::replay(GraphicsContext& context) { TRACE_EVENT0("blink,benchmark", "DisplayItemList::replay"); ASSERT(m_newDisplayItems.isEmpty()); for (DisplayItem& displayItem : m_currentDisplayItems) displayItem.replay(context); }
15,852
128,062
0
void AwContents::ShowGeolocationPrompt(const GURL& requesting_frame, base::Callback<void(bool)> callback) { DCHECK_CURRENTLY_ON(BrowserThread::UI); GURL origin = requesting_frame.GetOrigin(); bool show_prompt = pending_geolocation_prompts_.empty(); pending_geolocation_pro...
15,853
80,702
0
GF_Err ctts_dump(GF_Box *a, FILE * trace) { GF_CompositionOffsetBox *p; u32 i, nb_samples; p = (GF_CompositionOffsetBox *)a; gf_isom_box_dump_start(a, "CompositionOffsetBox", trace); fprintf(trace, "EntryCount=\"%d\">\n", p->nb_entries); nb_samples = 0; for (i=0; i<p->nb_entries; i++) { fprintf(trace, "<Compo...
15,854
163,876
0
void DevToolsWindow::OnLoadCompleted() { WebContents* inspected_web_contents = GetInspectedWebContents(); if (inspected_web_contents) { SessionTabHelper* session_tab_helper = SessionTabHelper::FromWebContents(inspected_web_contents); if (session_tab_helper) { base::Value tabId(session_tab_help...
15,855
36,797
0
krb5_gss_verify_mic_iov(OM_uint32 *minor_status, gss_ctx_id_t context_handle, gss_qop_t *qop_state, gss_iov_buffer_desc *iov, int iov_count) { OM_uint32 major_status; major_status = kg_unseal_iov(minor_status, conte...
15,856
182,486
1
SQLWCHAR* _multi_string_alloc_and_expand( LPCSTR in ) { SQLWCHAR *chr; int len = 0; if ( !in ) { return in; } while ( in[ len ] != 0 || in[ len + 1 ] != 0 ) { len ++; } chr = malloc(sizeof( SQLWCHAR ) * ( len + 2 )); len = 0; while ( in[ len ] != 0 || in[ len + 1 ] != 0 ) { chr[ len ] = in[ len ]; len ++; }...
15,857
1,335
0
static int nfs_close(struct device_d *dev, FILE *file) { struct file_priv *priv = file->priv; nfs_do_close(priv); return 0; }
15,858
57,700
0
int kvm_arch_prepare_memory_region(struct kvm *kvm, struct kvm_memory_slot *memslot, const struct kvm_userspace_memory_region *mem, enum kvm_mr_change change) { return 0; }
15,859
138,446
0
void Document::setEncodingData(const DocumentEncodingData& newData) { if (m_titleElement && encoding() != newData.encoding() && !ElementTraversal::firstWithin(*m_titleElement) && encoding() == Latin1Encoding() && m_titleElement->textContent().containsOnlyLatin1()) { CString ...
15,860
149,273
0
void CrostiniUpgrader::OnCancel(CrostiniResult result) { for (auto& observer : upgrader_observers_) { observer.OnCanceled(); } }
15,861
44,941
0
xfs_attr3_leaf_to_shortform( struct xfs_buf *bp, struct xfs_da_args *args, int forkoff) { struct xfs_attr_leafblock *leaf; struct xfs_attr3_icleaf_hdr ichdr; struct xfs_attr_leaf_entry *entry; struct xfs_attr_leaf_name_local *name_loc; struct xfs_da_args nargs; struct xfs_inode *dp = args->dp; char *tmpb...
15,862
160,244
0
std::string RequestString(const std::string& url, const std::string& mode, const std::string& credentials) const { return base::StringPrintf("url:%s, mode:%s, credentials:%s\n", url.c_str(), mode.c_str(), credentials.c_str()); ...
15,863
104,325
0
void UTF8PartsToUTF16Parts(const std::string& text_utf8, const url_parse::Parsed& parts_utf8, url_parse::Parsed* parts) { if (IsStringASCII(text_utf8)) { *parts = parts_utf8; return; } parts->scheme = UTF8ComponentToUTF16Component(text_utf8, par...
15,864
168,508
0
BytesConsumer::Result ReadableStreamBytesConsumer::EndRead(size_t read_size) { DCHECK(pending_buffer_); DCHECK_LE(pending_offset_ + read_size, pending_buffer_->length()); pending_offset_ += read_size; if (pending_offset_ >= pending_buffer_->length()) { pending_buffer_ = nullptr; pending_offset_ = 0; }...
15,865
103,055
0
virtual void TabMoved( TabContentsWrapper* contents, int from_index, int to_index) { State* s = new State(contents, to_index, MOVE); s->src_index = from_index; states_.push_back(s); }
15,866
115,524
0
bool CommandTokenizer::hasNext() const { return !m_next.empty(); }
15,867
154,831
0
error::Error GLES2DecoderPassthroughImpl::DoUniform1i(GLint location, GLint x) { api()->glUniform1iFn(location, x); return error::kNoError; }
15,868
149,879
0
LayerTreeHost::~LayerTreeHost() { CHECK(!inside_main_frame_); TRACE_EVENT0("cc", "LayerTreeHostInProcess::~LayerTreeHostInProcess"); mutator_host_->SetMutatorHostClient(nullptr); RegisterViewportLayers(nullptr, nullptr, nullptr, nullptr); if (root_layer_) { root_layer_->SetLayerTreeHost(nullptr); ...
15,869
161,925
0
bool PrintRenderFrameHelper::PrintPreviewContext::IsRendering() const { return state_ == RENDERING || state_ == DONE; }
15,870
8,670
0
static const MPTSASConfigPage *mptsas_find_config_page(int type, int number) { const MPTSASConfigPage *page; int i; for (i = 0; i < ARRAY_SIZE(mptsas_config_pages); i++) { page = &mptsas_config_pages[i]; if (page->type == type && page->number == number) { return page; } ...
15,871
161,716
0
FakePlatformSensorProvider::FakePlatformSensorProvider() { ON_CALL(*this, DoCreateSensorInternal(_, _, _)) .WillByDefault(Invoke( [](mojom::SensorType, scoped_refptr<PlatformSensor> sensor, const PlatformSensorProvider::CreateSensorCallback& callback) { callback.Run(std::move(...
15,872
108,487
0
void DidGetModifiedSince(QuotaManager* manager, const GetOriginsCallback& callback, StorageType type, bool success) { if (!manager) { callback.Run(std::set<GURL>(), type); return; } manager->DidDatabaseWork(succes...
15,873
94,320
0
static void __exit_signal(struct task_struct *tsk) { struct signal_struct *sig = tsk->signal; struct sighand_struct *sighand; BUG_ON(!sig); BUG_ON(!atomic_read(&sig->count)); sighand = rcu_dereference(tsk->sighand); spin_lock(&sighand->siglock); posix_cpu_timers_exit(tsk); if (atomic_dec_and_test(&sig->count...
15,874
69,999
0
void bytesToHuman(char *s, unsigned long long n) { double d; if (n < 1024) { /* Bytes */ sprintf(s,"%lluB",n); return; } else if (n < (1024*1024)) { d = (double)n/(1024); sprintf(s,"%.2fK",d); } else if (n < (1024LL*1024*1024)) { d = (double)n/(1024*1024)...
15,875
17,775
0
ProcDbeGetVersion(ClientPtr client) { /* REQUEST(xDbeGetVersionReq); */ xDbeGetVersionReply rep = { .type = X_Reply, .sequenceNumber = client->sequence, .length = 0, .majorVersion = DBE_MAJOR_VERSION, .minorVersion = DBE_MINOR_VERSION }; REQUEST_SIZE_MATCH(xDbeGe...
15,876
37,529
0
static void mmu_page_remove_parent_pte(struct kvm_mmu_page *sp, u64 *parent_pte) { pte_list_remove(parent_pte, &sp->parent_ptes); }
15,877
169,643
0
int32_t WriteEntireBuffer(PP_Instance instance, pp::FileIO* file_io, int32_t offset, const std::string& data, CallbackType callback_type) { TestCompletionCallback callback(instance, callback_type); int32_t write_...
15,878
106,497
0
void WebPageProxy::didReceiveEvent(uint32_t opaqueType, bool handled) { WebEvent::Type type = static_cast<WebEvent::Type>(opaqueType); switch (type) { case WebEvent::NoType: case WebEvent::MouseMove: break; case WebEvent::MouseDown: case WebEvent::MouseUp: case WebEvent::Wheel: ...
15,879
81,318
0
rb_simple_write(struct file *filp, const char __user *ubuf, size_t cnt, loff_t *ppos) { struct trace_array *tr = filp->private_data; struct ring_buffer *buffer = tr->trace_buffer.buffer; unsigned long val; int ret; ret = kstrtoul_from_user(ubuf, cnt, 10, &val); if (ret) return ret; if (buffer) { mutex_lo...
15,880
4,400
0
PHP_METHOD(Phar, getStub) { size_t len; char *buf; php_stream *fp; php_stream_filter *filter = NULL; phar_entry_info *stub; PHAR_ARCHIVE_OBJECT(); if (zend_parse_parameters_none() == FAILURE) { return; } if (phar_obj->arc.archive->is_tar || phar_obj->arc.archive->is_zip) { if (SUCCESS == zend_hash_fin...
15,881
111,986
0
void SyncTest::EnableNotificationsImpl() { ASSERT_TRUE(ServerSupportsNotificationControl()); std::string path = "chromiumsync/enablenotifications"; ui_test_utils::NavigateToURL(browser(), sync_server_.GetURL(path)); ASSERT_EQ("Notifications enabled", UTF16ToASCII(browser()->GetSelectedWebContents()-...
15,882
77,440
0
decode_legacy_async_masks(const ovs_be32 masks[2], enum ofputil_async_msg_type oam, enum ofp_version version, struct ofputil_async_cfg *dst) { for (int i = 0; i < 2; i++) { bool master = i == 0; const struct ofp14_async_pr...
15,883
75,122
0
reset_persons(bool keep_existing) { unsigned int id; point3_t origin; person_t* person; int i, j; origin = map_origin(); for (i = 0; i < s_num_persons; ++i) { person = s_persons[i]; id = person->id; if (!keep_existing) person->num_commands = 0; if (person->is_persistent || keep_existing) { ...
15,884
134,258
0
base::string16 OmniboxViewViews::GetSelectedText() const { return views::Textfield::GetSelectedText(); }
15,885
45,587
0
static struct crypto_instance *crypto_rfc4309_alloc(struct rtattr **tb) { struct crypto_attr_type *algt; struct crypto_instance *inst; struct crypto_aead_spawn *spawn; struct crypto_alg *alg; const char *ccm_name; int err; algt = crypto_get_attr_type(tb); if (IS_ERR(algt)) return ERR_CAST(algt); if ((algt-...
15,886
12,081
0
int EC_POINT_is_at_infinity(const EC_GROUP *group, const EC_POINT *point) { if (group->meth->is_at_infinity == 0) { ECerr(EC_F_EC_POINT_IS_AT_INFINITY, ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED); return 0; } if (group->meth != point->meth) { ECerr(EC_F_EC_POINT_IS_AT_INFINITY, ...
15,887
160,255
0
std::string NavigateAndExtractInnerText(const GURL& url) { return ExtractInnerText(Navigate(url)); }
15,888
4,045
0
void CMYKGrayEncoder::reset() { str->reset(); bufPtr = bufEnd = buf; eof = gFalse; }
15,889
101,770
0
void Browser::Print() { if (switches::IsPrintPreviewEnabled()) GetSelectedTabContentsWrapper()->print_view_manager()->PrintPreviewNow(); else GetSelectedTabContentsWrapper()->print_view_manager()->PrintNow(); }
15,890
106,186
0
JSValue jsTestObjWithScriptExecutionContextAndScriptStateWithSpacesAttribute(ExecState* exec, JSValue slotBase, const Identifier&) { JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(slotBase)); ScriptExecutionContext* scriptContext = jsCast<JSDOMGlobalObject*>(exec->lexicalGlobalObject())->scriptExecutionCon...
15,891
77,585
0
ofputil_encode_packet_in_private(const struct ofputil_packet_in_private *pin, enum ofputil_protocol protocol, enum nx_packet_in_format packet_in_format) { enum ofp_version version = ofputil_protocol_to_ofp_version(protocol); struct ofpbuf *msg; ...
15,892
20,848
0
static int kvm_vm_ioctl_reinject(struct kvm *kvm, struct kvm_reinject_control *control) { if (!kvm->arch.vpit) return -ENXIO; mutex_lock(&kvm->arch.vpit->pit_state.lock); kvm->arch.vpit->pit_state.pit_timer.reinject = control->pit_reinject; mutex_unlock(&kvm->arch.vpit->pit_state.lock); return 0; }
15,893
84,064
0
void error_callback(const char *msg, void *client_data) { FILE *stream = (FILE*)client_data; fprintf(stream, "[ERROR] %s", msg); }
15,894
89,753
0
void preproc_build_firejail_dir(void) { struct stat s; if (stat(RUN_FIREJAIL_BASEDIR, &s)) { create_empty_dir_as_root(RUN_FIREJAIL_BASEDIR, 0755); } if (stat(RUN_FIREJAIL_DIR, &s)) { create_empty_dir_as_root(RUN_FIREJAIL_DIR, 0755); } if (stat(RUN_FIREJAIL_NETWORK_DIR, &s)) { create_empty_dir_as_root(RUN...
15,895
58,960
0
static int l2cap_sock_accept(struct socket *sock, struct socket *newsock, int flags) { DECLARE_WAITQUEUE(wait, current); struct sock *sk = sock->sk, *nsk; long timeo; int err = 0; lock_sock_nested(sk, SINGLE_DEPTH_NESTING); if (sk->sk_state != BT_LISTEN) { err = -EBADFD; goto done; } timeo = sock_rcvtime...
15,896
165,551
0
void ContentSecurityPolicy::ReportValueForEmptyDirective(const String& name, const String& value) { LogToConsole("The Content Security Policy directive '" + name + "' should be empty, but was delivered with a value of '" + value + ...
15,897
174,229
0
status_t Camera3Device::getStreamInfo(int id, uint32_t *width, uint32_t *height, uint32_t *format, android_dataspace *dataSpace) { ATRACE_CALL(); Mutex::Autolock il(mInterfaceLock); Mutex::Autolock l(mLock); switch (mStatus) { case STATUS_ERROR: CLOGE("Device has encountered a serious error"); r...
15,898
126,180
0
void Browser::DidNavigateMainFramePostCommit(WebContents* web_contents) { if (web_contents == chrome::GetActiveWebContents(this)) UpdateBookmarkBarState(BOOKMARK_BAR_STATE_CHANGE_TAB_STATE); }
15,899