unique_id
int64
13
189k
target
int64
0
1
code
stringlengths
20
241k
__index_level_0__
int64
0
18.9k
146,674
0
void PageInfoBubbleView::OnWidgetDestroying(views::Widget* widget) { g_shown_bubble_type = BUBBLE_NONE; g_page_info_bubble = nullptr; presenter_->OnUIClosing(); }
17,600
51,737
0
dissect_80211n_mac_phy(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, int data_len, guint32 *n_mac_flags, guint32 *ampdu_id, struct ieee_802_11_phdr *phdr) { proto_tree *ftree; proto_item *ti; ptvcursor_t *csr; guint8 mcs; guint8 ness; guint16 ext_frequency; ...
17,601
73,537
0
MagickExport MagickBooleanType ProfileImage(Image *image,const char *name, const void *datum,const size_t length, const MagickBooleanType magick_unused(clone)) { #define ProfileImageTag "Profile/Image" #define ThrowProfileException(severity,tag,context) \ { \ if (source_profile != (cmsHPROFILE) NULL) \ (void...
17,602
168,918
0
std::string DevToolsAgentHostImpl::GetDescription() { return std::string(); }
17,603
80,941
0
static inline void evmcs_write32(unsigned long field, u32 value) {}
17,604
120,629
0
void Element::setAttributeNS(const AtomicString& namespaceURI, const AtomicString& qualifiedName, const AtomicString& value, ExceptionCode& ec) { QualifiedName parsedName = anyName; if (!parseAttributeName(parsedName, namespaceURI, qualifiedName, ec)) return; setAttribute(parsedName, value); }
17,605
72,596
0
ring_buffer_dropped_events_cpu(struct ring_buffer *buffer, int cpu) { struct ring_buffer_per_cpu *cpu_buffer; unsigned long ret; if (!cpumask_test_cpu(cpu, buffer->cpumask)) return 0; cpu_buffer = buffer->buffers[cpu]; ret = local_read(&cpu_buffer->dropped_events); return ret; }
17,606
121,891
0
ChromeNetworkDataSavingMetricsTest() {}
17,607
124,819
0
void RenderBox::clearOverrideLogicalContentHeight() { if (m_rareData) m_rareData->m_overrideLogicalContentHeight = -1; }
17,608
148,759
0
void InterstitialPageImpl::CreateNewFullscreenWidget(int32_t render_process_id, int32_t route_id) { NOTREACHED() << "InterstitialPage does not support showing full screen popups."; }
17,609
78,153
0
static int asepcos_build_pin_apdu(sc_card_t *card, sc_apdu_t *apdu, struct sc_pin_cmd_data *data, u8 *buf, size_t buf_len, unsigned int cmd, int is_puk) { int r, fileid; u8 *p = buf; sc_cardctl_asepcos_akn2fileid_t st; switch (cmd) { case SC_PIN_CMD_VERIFY: st.akn = data->pin_reference; r = asepcos_akn_to_...
17,610
149,003
0
static int balance_quick(MemPage *pParent, MemPage *pPage, u8 *pSpace){ BtShared *const pBt = pPage->pBt; /* B-Tree Database */ MemPage *pNew; /* Newly allocated page */ int rc; /* Return Code */ Pgno pgnoNew; /* Page number of pNew */...
17,611
41,186
0
static void tcp_ratehalving_spur_to_response(struct sock *sk) { tcp_enter_cwr(sk, 0); }
17,612
71,372
0
static int network_packetsize(size_t received, void *payload) { struct network_packetsize_payload *npp = (struct network_packetsize_payload*)payload; /* Accumulate bytes */ npp->stats->received_bytes += received; /* Fire notification if the threshold is reached */ if ((npp->stats->received_bytes - npp->last_fire...
17,613
99,261
0
ContextMenuMessageDispatcher( int render_process_id, const ViewHostMsg_ContextMenu& context_menu_message) : render_process_id_(render_process_id), context_menu_message_(context_menu_message) { }
17,614
150,385
0
explicit ScopedSetBoundsLocally(ClientControlledShellSurface* shell_surface) : state_(shell_surface->client_controlled_state_) { state_->set_bounds_locally(true); }
17,615
58,714
0
static void io_destroy(struct kioctx *ioctx) { struct mm_struct *mm = current->mm; int was_dead; /* delete the entry from the list is someone else hasn't already */ spin_lock(&mm->ioctx_lock); was_dead = ioctx->dead; ioctx->dead = 1; hlist_del_rcu(&ioctx->list); spin_unlock(&mm->ioctx_lock); dprintk("aio_rel...
17,616
155,072
0
static jboolean JNI_SendTabToSelfAndroidBridge_IsFeatureAvailable( JNIEnv* env, const JavaParamRef<jobject>& j_web_contents) { content::WebContents* web_contents = content::WebContents::FromJavaWebContents(j_web_contents); return ShouldOfferFeature(web_contents); }
17,617
181,950
1
Init_ossl_cipher(void) { #if 0 mOSSL = rb_define_module("OpenSSL"); eOSSLError = rb_define_class_under(mOSSL, "OpenSSLError", rb_eStandardError); #endif /* Document-class: OpenSSL::Cipher * * Provides symmetric algorithms for encryption and decryption. The * algorithms that are available dep...
17,618
156,417
0
void PageHandler::ScreencastFrameEncoded( std::unique_ptr<Page::ScreencastFrameMetadata> page_metadata, const std::string& data) { if (data.empty()) { --frames_in_flight_; return; // Encode failed. } frontend_->ScreencastFrame(data, std::move(page_metadata), session_id_); }
17,619
24,439
0
static void proc_skip_char(char **buf, size_t *size, const char v) { while (*size) { if (**buf != v) break; (*size)--; (*buf)++; } }
17,620
3,290
0
stack_param_list_write(stack_param_list * plist, ref_stack_t * pstack, const ref * pwanted, gs_ref_memory_t *imem) { plist->u.w.write = stack_param_write; ref_param_write_init((iparam_list *) plist, pwanted, imem); plist->enumerate = stack_param_enumerate; plist->pstack = pstack; ...
17,621
36,534
0
static unsigned int snd_disconnect_poll(struct file * file, poll_table * wait) { return POLLERR | POLLNVAL; }
17,622
121,240
0
int HTMLInputElement::selectionStartForBinding(ExceptionCode& ec) const { if (!canHaveSelection()) { ec = INVALID_STATE_ERR; return 0; } return HTMLTextFormControlElement::selectionStart(); }
17,623
19,318
0
static int unix_release_sock(struct sock *sk, int embrion) { struct unix_sock *u = unix_sk(sk); struct path path; struct sock *skpair; struct sk_buff *skb; int state; unix_remove_socket(sk); /* Clear state */ unix_state_lock(sk); sock_orphan(sk); sk->sk_shutdown = SHUTDOWN_MASK; path = u->path; u->pa...
17,624
73,060
0
BGD_DECLARE(void) gdImageCopyRotated (gdImagePtr dst, gdImagePtr src, double dstX, double dstY, int srcX, int srcY, int srcWidth, int srcHeight, int angle) { double dx, dy; double radius = sqrt (srcWidth * srcWidth + srcHeight * srcHeight); double aCos = cos (angle * .0174...
17,625
111,907
0
void ProfileSyncService::OnClearServerDataFailed() { clear_server_data_timer_.Stop(); if (clear_server_data_state_ != CLEAR_SUCCEEDED && clear_server_data_state_ != CLEAR_FAILED) { clear_server_data_state_ = CLEAR_FAILED; NotifyObservers(); } }
17,626
32,350
0
void drop_collected_mounts(struct vfsmount *mnt) { LIST_HEAD(umount_list); down_write(&namespace_sem); br_write_lock(&vfsmount_lock); umount_tree(real_mount(mnt), 0, &umount_list); br_write_unlock(&vfsmount_lock); up_write(&namespace_sem); release_mounts(&umount_list); }
17,627
2,171
0
void red_channel_push(RedChannel *channel) { RingItem *link; RingItem *next; RedChannelClient *rcc; if (!channel) { return; } RING_FOREACH_SAFE(link, next, &channel->clients) { rcc = SPICE_CONTAINEROF(link, RedChannelClient, channel_link); red_channel_client_push(rcc); ...
17,628
8,952
0
void net_tx_pkt_build_vheader(struct NetTxPkt *pkt, bool tso_enable, bool csum_enable, uint32_t gso_size) { struct tcp_hdr l4hdr; assert(pkt); /* csum has to be enabled if tso is. */ assert(csum_enable || !tso_enable); pkt->virt_hdr.gso_type = net_tx_pkt_get_gso_type(pkt, tso_enable); swi...
17,629
108,966
0
void RenderViewImpl::OnSelectPopupMenuItems( bool canceled, const std::vector<int>& selected_indices) { if (!external_popup_menu_.get()) return; external_popup_menu_->DidSelectItems(canceled, selected_indices); external_popup_menu_.reset(); }
17,630
145,668
0
GuestViewBase* ExtensionViewGuest::Create(WebContents* owner_web_contents) { return new ExtensionViewGuest(owner_web_contents); }
17,631
68,536
0
gst_asf_demux_descramble_buffer (GstASFDemux * demux, AsfStream * stream, GstBuffer ** p_buffer) { GstBuffer *descrambled_buffer; GstBuffer *scrambled_buffer; GstBuffer *sub_buffer; guint offset; guint off; guint row; guint col; guint idx; /* descrambled_buffer is initialised in the first iterati...
17,632
148,827
0
bool GetInputText(std::string* input_text) { return ExecuteScriptAndExtractString(interstitial_->GetMainFrame(), "get_input_text()", input_text); }
17,633
82,951
0
static int bin_dwarf(RCore *core, int mode) { RBinDwarfRow *row; RListIter *iter; RList *list = NULL; if (!r_config_get_i (core->config, "bin.dbginfo")) { return false; } RBinFile *binfile = r_core_bin_cur (core); RBinPlugin * plugin = r_bin_file_cur_plugin (binfile); if (!binfile) { return false; } if (p...
17,634
128,128
0
views::View* TrayCast::CreateDefaultView(user::LoginStatus status) { CHECK(default_ == nullptr); default_ = new tray::CastDuplexView(this, cast_config_delegate_, status != user::LOGGED_IN_LOCKED); UpdatePrimaryView(); return default_; }
17,635
126,735
0
void BrowserView::DestroyBrowser() { GetWidget()->RemoveObserver(this); frame_->CloseNow(); }
17,636
127,906
0
bool DocumentThreadableLoader::isAllowedRedirect(const KURL& url) const { if (m_options.crossOriginRequestPolicy == AllowCrossOriginRequests) return true; return m_sameOriginRequest && getSecurityOrigin()->canRequest(url); }
17,637
71,735
0
static void SVGProcessingInstructions(void *context,const xmlChar *target, const xmlChar *data) { SVGInfo *svg_info; /* A processing instruction has been parsed. */ (void) LogMagickEvent(CoderEvent,GetMagickModule(), " SAX.processingInstruction(%s, %s)",target,data); svg_info=(SVGInfo *) conte...
17,638
28,400
0
void fib6_clean_all_ro(struct net *net, int (*func)(struct rt6_info *, void *arg), int prune, void *arg) { struct fib6_table *table; struct hlist_head *head; unsigned int h; rcu_read_lock(); for (h = 0; h < FIB6_TABLE_HASHSZ; h++) { head = &net->ipv6.fib_table_hash[h]; hlist_for_each_entry_rcu(table, he...
17,639
122,132
0
static IntPoint computeOffsetFromAbsolute(RenderLayer* layer) { TransformState transformState(TransformState::ApplyTransformDirection, FloatPoint()); layer->renderer()->mapLocalToContainer(0, transformState, ApplyContainerFlip); transformState.flatten(); return roundedIntPoint(transformState.lastPlanarP...
17,640
151,257
0
String ScheduledNavigationReasonToProtocol(ScheduledNavigation::Reason reason) { using ReasonEnum = protocol::Page::FrameScheduledNavigationNotification::ReasonEnum; switch (reason) { case ScheduledNavigation::Reason::kFormSubmissionGet: return ReasonEnum::FormSubmissionGet; case ScheduledNaviga...
17,641
46,428
0
static ssize_t ubifs_write_iter(struct kiocb *iocb, struct iov_iter *from) { int err = update_mctime(file_inode(iocb->ki_filp)); if (err) return err; return generic_file_write_iter(iocb, from); }
17,642
101,237
0
bool SyncerProtoUtil::PostAndProcessHeaders(ServerConnectionManager* scm, sessions::SyncSession* session, const ClientToServerMessage& msg, ClientToServerResponse* response) { ServerCon...
17,643
95,059
0
gdImagePtr gdImageRotateBicubicFixed(gdImagePtr src, const float degrees, const int bgColor) { const float _angle = (float)((- degrees / 180.0f) * M_PI); const int src_w = gdImageSX(src); const int src_h = gdImageSY(src); const unsigned int new_width = abs((int)(src_w*cos(_angle))) + abs((int)(src_h*sin(_angle) + 0...
17,644
117,601
0
void MigrateBrowserPrefs(PrefService* user_prefs, PrefService* local_state) { int current_version = local_state->GetInteger(prefs::kMultipleProfilePrefMigration); if ((current_version & WINDOWS_PREFS) == 0) { local_state->RegisterIntegerPref(prefs::kDevToolsSplitLocation, -1); if (local_state->HasPre...
17,645
167,009
0
NavigationControllerImpl::GetDefaultSessionStorageNamespace() { return GetSessionStorageNamespace(nullptr); }
17,646
148,227
0
void IndexedDBCursor::PrefetchContinue( int number_to_fetch, scoped_refptr<IndexedDBCallbacks> callbacks) { IDB_TRACE("IndexedDBCursor::PrefetchContinue"); if (closed_) { callbacks->OnError(CreateCursorClosedError()); return; } transaction_->ScheduleTask( task_type_, BindWeakOperat...
17,647
84,589
0
form_write_from_file(FILE * f, char *boundary, char *name, char *filename, char *file) { FILE *fd; struct stat st; int c; char *type; fprintf(f, "--%s\r\n", boundary); fprintf(f, "Content-Disposition: form-data; name=\"%s\"; filename=\"%s\"\r\n", name, mybasename(filename)); ...
17,648
36,139
0
kadm5_chpass_principal_3(void *server_handle, krb5_principal principal, krb5_boolean keepold, int n_ks_tuple, krb5_key_salt_tuple *ks_tuple, char *password) { krb5_int32 now; kadm5_policy_ent_rec pol; osa_prin...
17,649
66,224
0
int mailimf_quoted_string_parse(const char * message, size_t length, size_t * indx, char ** result) { size_t cur_token; MMAPString * gstr; char ch; char * str; int r; int res; cur_token = * indx; r = mailimf_cfws_parse(message, length, &cur_token); if ((r != MAILIMF_NO_ERROR) && (r != MAILIMF_ER...
17,650
132,409
0
bool IsInputViewEnabled() { if (base::CommandLine::ForCurrentProcess()->HasSwitch( switches::kEnableInputView)) return true; if (base::CommandLine::ForCurrentProcess()->HasSwitch( switches::kDisableInputView)) return false; return true; }
17,651
175,096
0
void SoundChannel::setVolume_l(float leftVolume, float rightVolume) { mLeftVolume = leftVolume; mRightVolume = rightVolume; if (mAudioTrack != NULL) mAudioTrack->setVolume(leftVolume, rightVolume); }
17,652
66,018
0
static int nsv_probe(AVProbeData *p) { int i; int score; int vsize, asize, auxcount; score = 0; av_log(NULL, AV_LOG_TRACE, "nsv_probe(), buf_size %d\n", p->buf_size); /* check file header */ /* streamed files might not have any header */ if (p->buf[0] == 'N' && p->buf[1] == 'S' && ...
17,653
176,738
0
status_t Parcel::readByteVector(std::vector<uint8_t>* val) const { return readByteVectorInternal(this, val); }
17,654
62,566
0
frf15_print(netdissect_options *ndo, const u_char *p, u_int length) { uint16_t sequence_num, flags; if (length < 2) goto trunc; ND_TCHECK2(*p, 2); flags = p[0]&MFR_BEC_MASK; sequence_num = (p[0]&0x1e)<<7 | p[1]; ND_PRINT((ndo, "FRF.15, seq 0x%03x, Flags [%s],%s Fragmentati...
17,655
131,548
0
static void overloadedMethodG2Method(const v8::FunctionCallbackInfo<v8::Value>& info) { if (UNLIKELY(info.Length() < 1)) { throwTypeError(ExceptionMessages::failedToExecute("overloadedMethodG", "TestObjectPython", ExceptionMessages::notEnoughArguments(1, info.Length())), info.GetIsolate()); return; ...
17,656
16,473
0
is_myproxy_file( const char *name ) { int cluster, proc; int rc = sscanf( name, "mpp.%d.%d", &cluster, &proc ); if ( rc != 2 ) { return FALSE; } return proc_exists( cluster, proc ); }
17,657
182,292
1
static int msg_cache_check(const char *id, struct BodyCache *bcache, void *data) { struct Context *ctx = (struct Context *) data; if (!ctx) return -1; struct PopData *pop_data = (struct PopData *) ctx->data; if (!pop_data) return -1; #ifdef USE_HCACHE /* keep hcache file if hcache == bcache */ if (strcmp(HC_FNAME "." ...
17,658
22,508
0
asmlinkage void __sched notrace preempt_schedule(void) { struct thread_info *ti = current_thread_info(); /* * If there is a non-zero preempt_count or interrupts are disabled, * we do not want to preempt the current task. Just return.. */ if (likely(ti->preempt_count || irqs_disabled())) return; do { add...
17,659
16,176
0
int GahpClient::ec2_vm_start( const char * service_url, const char * publickeyfile, const char * privatekeyfile, const char * ami_id, const char * keypair, const char * user_data, const char * user_data_file, const char * instance_type, const char...
17,660
1,178
0
int getDataSize() { return h * line; }
17,661
161,216
0
static bool SniffForInvalidOfficeDocs(const char* content, size_t size, const GURL& url, std::string* result) { if (!TruncateSize(kBytesRequiredForOfficeMagic, &size)) return false; std::string off...
17,662
65,492
0
static bool is_session_dead(struct nfsd4_session *ses) { return ses->se_flags & NFS4_SESSION_DEAD; }
17,663
23,320
0
static int decode_open_downgrade(struct xdr_stream *xdr, struct nfs_closeres *res) { int status; status = decode_op_hdr(xdr, OP_OPEN_DOWNGRADE); if (status != -EIO) nfs_increment_open_seqid(status, res->seqid); if (!status) status = decode_stateid(xdr, &res->stateid); return status; }
17,664
158,411
0
size_t GetAndResetProcessedTouchEventCount() { size_t count = processed_touch_event_count_; processed_touch_event_count_ = 0; return count; }
17,665
58,693
0
static ssize_t snd_compr_read(struct file *f, char __user *buf, size_t count, loff_t *offset) { return -ENXIO; }
17,666
15,669
0
static void IRQ_check(OpenPICState *opp, IRQQueue *q) { int irq = -1; int next = -1; int priority = -1; for (;;) { irq = find_next_bit(q->queue, opp->max_irq, irq + 1); if (irq == opp->max_irq) { break; } DPRINTF("IRQ_check: irq %d set ivpr_pr=%d pr=%d\n", ...
17,667
186,120
1
FrameImpl::FrameImpl(std::unique_ptr<content::WebContents> web_contents, chromium::web::FrameObserverPtr observer) : web_contents_(std::move(web_contents)), observer_(std::move(observer)) { Observe(web_contents.get()); }
17,668
95
0
int ssl3_renegotiate(SSL *s) { if (s->handshake_func == NULL) return(1); if (s->s3->flags & SSL3_FLAGS_NO_RENEGOTIATE_CIPHERS) return(0); s->s3->renegotiate=1; return(1); }
17,669
71,139
0
int readlink_malloc(const char *p, char **ret) { return readlinkat_malloc(AT_FDCWD, p, ret); }
17,670
15,182
0
PHP_RSHUTDOWN_FUNCTION(gd) { #if HAVE_GD_FONTCACHESHUTDOWN gdFontCacheShutdown(); #else gdFreeFontCache(); #endif return SUCCESS; }
17,671
40,149
0
static inline int ieee802154_match_sock(u8 *hw_addr, u16 pan_id, u16 short_addr, struct dgram_sock *ro) { if (!ro->bound) return 1; if (ro->src_addr.addr_type == IEEE802154_ADDR_LONG && !memcmp(ro->src_addr.hwaddr, hw_addr, IEEE802154_ADDR_LEN)) return 1; if (ro->src_addr.addr_type == IEEE802154_ADDR_SH...
17,672
144,744
0
SiteFeatureUsage LocalSiteCharacteristicsDataImpl::UsesAudioInBackground() const { return GetFeatureUsage( site_characteristics_.uses_audio_in_background(), GetSiteCharacteristicsDatabaseParams().audio_usage_observation_window); }
17,673
55,826
0
static int show_tid_smap(struct seq_file *m, void *v) { return show_smap(m, v, 0); }
17,674
115,382
0
uint64_t InjectedBundlePage::didExceedDatabaseQuota(WKBundlePageRef page, WKSecurityOriginRef origin, WKStringRef databaseName, WKStringRef databaseDisplayName, uint64_t currentQuotaBytes, uint64_t currentOriginUsageBytes, uint64_t currentDatabaseUsageBytes, uint64_t expectedUsageBytes, const void* clientInfo) { re...
17,675
51,345
0
static void spl_filesystem_file_free_line(spl_filesystem_object *intern TSRMLS_DC) /* {{{ */ { if (intern->u.file.current_line) { efree(intern->u.file.current_line); intern->u.file.current_line = NULL; } if (intern->u.file.current_zval) { zval_ptr_dtor(&intern->u.file.current_zval); intern->u.file.current_zv...
17,676
46,476
0
gss_krb5int_free_lucid_sec_context( OM_uint32 *minor_status, const gss_OID desired_mech, const gss_OID desired_object, gss_buffer_t value) { OM_uint32 retval; krb5_error_code kret = 0; int version; void *kctx; /* Assume failure */ ret...
17,677
167,511
0
bool WebMediaPlayerImpl::CopyVideoTextureToPlatformTexture( gpu::gles2::GLES2Interface* gl, unsigned int target, unsigned int texture, unsigned internal_format, unsigned format, unsigned type, int level, bool premultiply_alpha, bool flip_y, int already_uploaded_id, VideoFrame...
17,678
25,942
0
static bool low_pfn(unsigned long pfn) { return pfn < max_low_pfn; }
17,679
10,849
0
void DeviceServiceAction::setService(const KServiceAction& service) { DeviceAction::setIconName(service.icon()); DeviceAction::setLabel(service.text()); m_service = service; }
17,680
177,131
0
void SoftAVC::onQueueFilled(OMX_U32 portIndex) { IV_STATUS_T status; WORD32 timeDelay, timeTaken; UNUSED(portIndex); if (mCodecCtx == NULL) { if (OMX_ErrorNone != initEncoder()) { ALOGE("Failed to initialize encoder"); notify(OMX_EventError, OMX_ErrorUndefined, 0 /* arg2 */, NULL...
17,681
134,827
0
explicit CompositingRenderWidgetHostViewBrowserTest() : compositing_mode_(GetParam()) {}
17,682
1,607
0
aspath_str2aspath (const char *str) { enum as_token token = as_token_unknown; u_short as_type; u_long asno = 0; struct aspath *aspath; int needtype; aspath = aspath_new (); /* We start default type as AS_SEQUENCE. */ as_type = AS_SEQUENCE; needtype = 1; while ((str = aspath_gettoken (str, &token,...
17,683
30,010
0
void br_multicast_disable_port(struct net_bridge_port *port) { struct net_bridge *br = port->br; struct net_bridge_port_group *pg; struct hlist_node *n; spin_lock(&br->multicast_lock); hlist_for_each_entry_safe(pg, n, &port->mglist, mglist) br_multicast_del_pg(br, pg); if (!hlist_unhashed(&port->rlist)) hli...
17,684
170,159
0
bool PasswordAutofillAgent::PreviewSuggestion( const blink::WebFormControlElement& control_element, const blink::WebString& username, const blink::WebString& password) { const blink::WebInputElement* element = toWebInputElement(&control_element); if (!element) return false; blink::WebInputElement...
17,685
188,228
1
OMX_ERRORTYPE SoftG711::internalSetParameter( OMX_INDEXTYPE index, const OMX_PTR params) { switch (index) { case OMX_IndexParamAudioPcm: { OMX_AUDIO_PARAM_PCMMODETYPE *pcmParams = (OMX_AUDIO_PARAM_PCMMODETYPE *)params; if (pcmParams->nPortIndex != 0 && pcmParams-...
17,686
91,314
0
static void redo_bmc_reg(struct work_struct *work) { struct ipmi_smi *intf = container_of(work, struct ipmi_smi, bmc_reg_work); if (!intf->in_shutdown) bmc_get_device_id(intf, NULL, NULL, NULL, NULL); kref_put(&intf->refcount, intf_free); }
17,687
120,744
0
void BaseMultipleFieldsDateAndTimeInputType::stepAttributeChanged() { updateInnerTextValue(); }
17,688
115,966
0
Eina_Bool ewk_frame_text_search(const Evas_Object* ewkFrame, const char* text, Eina_Bool caseSensitive, Eina_Bool forward, Eina_Bool wrap) { EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, smartData, false); EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->frame, false); EINA_SAFETY_ON_NULL_RETURN_VAL(text, false); retu...
17,689
144,711
0
WebContentsImpl::WebContentsTreeNode::WebContentsTreeNode() : outer_web_contents_(nullptr), outer_contents_frame_tree_node_id_( FrameTreeNode::kFrameTreeNodeInvalidId) { }
17,690
91,173
0
static int stringnicmp(const char *p,const char *q,size_t n) { register ssize_t i, j; if (p == q) return(0); if (p == (char *) NULL) return(-1); if (q == (char *) NULL) return(1); while ((*p != '\0') && (*q != '\0')) { if ((*p == '\0') || (*q == '\0')) break; i=(*p); i...
17,691
56,653
0
static int ext4_check_descriptors(struct super_block *sb, ext4_group_t *first_not_zeroed) { struct ext4_sb_info *sbi = EXT4_SB(sb); ext4_fsblk_t first_block = le32_to_cpu(sbi->s_es->s_first_data_block); ext4_fsblk_t last_block; ext4_fsblk_t block_bitmap; ext4_fsblk_t inode_bitmap; ext4_fsblk_t inode_table; ...
17,692
39,243
0
void php_gd_error_method(int type, const char *format, va_list args) { TSRMLS_FETCH(); php_verror(NULL, "", type, format, args TSRMLS_CC); }
17,693
87,976
0
static int pcd_probe(struct pcd_unit *cd, int ms, char *id) { if (ms == -1) { for (cd->drive = 0; cd->drive <= 1; cd->drive++) if (!pcd_reset(cd) && !pcd_identify(cd, id)) return 0; } else { cd->drive = ms; if (!pcd_reset(cd) && !pcd_identify(cd, id)) return 0; } return -1; }
17,694
73,147
0
buf_free(buf_t *buf) { if (!buf) return; buf_clear(buf); buf->magic = 0xdeadbeef; tor_free(buf); }
17,695
124,828
0
LayoutUnit RenderBox::computeContentAndScrollbarLogicalHeightUsing(const Length& height, LayoutUnit intrinsicContentHeight) const { if (height.isIntrinsic()) { if (intrinsicContentHeight == -1) return -1; // Intrinsic height isn't available. return computeIntrinsicLogicalContentHeightUsi...
17,696
61,029
0
create_task_done (GObject *source_object, GAsyncResult *res, gpointer user_data) { CreateJob *job; job = user_data; if (job->done_callback) { job->done_callback (job->created_file, !job_aborted ((CommonJob *) job), ...
17,697
22,320
0
void __wake_up_sync_key(wait_queue_head_t *q, unsigned int mode, int nr_exclusive, void *key) { unsigned long flags; int wake_flags = WF_SYNC; if (unlikely(!q)) return; if (unlikely(!nr_exclusive)) wake_flags = 0; spin_lock_irqsave(&q->lock, flags); __wake_up_common(q, mode, nr_exclusive, wake_flags, ke...
17,698
54,015
0
static void ims_pcu_irq(struct urb *urb) { struct ims_pcu *pcu = urb->context; int retval, status; status = urb->status; switch (status) { case 0: /* success */ break; case -ECONNRESET: case -ENOENT: case -ESHUTDOWN: /* this urb is terminated, clean up */ dev_dbg(pcu->dev, "%s - urb shutting down with...
17,699