idx
int64
func
string
target
int64
346,847
int main(int argc, char **argv) { MYSQL mysql; option_string *eptr; MY_INIT(argv[0]); if (load_defaults("my",load_default_groups,&argc,&argv)) { my_end(0); exit(1); } defaults_argv=argv; if (get_options(&argc,&argv)) { free_defaults(defaults_argv); my_end(0); exit(1); } /* S...
1
49,285
long qemu_maxrampagesize(void) { long pagesize = 0; Object *memdev_root = object_resolve_path("/objects", NULL); object_child_foreach(memdev_root, find_max_backend_pagesize, &pagesize); return pagesize; }
0
397,244
static void ehci_trace_usbsts(uint32_t mask, int state) { /* interrupts */ if (mask & USBSTS_INT) { trace_usb_ehci_usbsts("INT", state); } if (mask & USBSTS_ERRINT) { trace_usb_ehci_usbsts("ERRINT", state); } if (mask & USBSTS_PCD) { trace_usb_ehci_usbsts("PCD", state); ...
0
269,299
void remove_remote_root() { int reply; reply= get_response((const char *) "\n\nNormally, root should only be " "allowed to connect from\n'localhost'. " "This ensures that someone cannot guess at" "\nthe root password from the network.\n\n" "Disallow ro...
0
377,755
int tcf_action_destroy(struct list_head *actions, int bind) { struct tc_action *a, *tmp; int ret = 0; list_for_each_entry_safe(a, tmp, actions, list) { ret = tcf_hash_release(a, bind); if (ret == ACT_P_DELETED) module_put(a->ops->owner); else if (ret < 0) return ret; list_del(&a->list); kfree(a); }...
0
121,473
static void skb_recv_done(struct virtqueue *rvq) { struct virtnet_info *vi = rvq->vdev->priv; struct receive_queue *rq = &vi->rq[vq2rxq(rvq)]; /* Schedule NAPI, Suppress further interrupts if successful. */ if (napi_schedule_prep(&rq->napi)) { virtqueue_disable_cb(rvq); __napi_schedule(&rq->napi); } }
0
65,637
static int coolkey_select_file(sc_card_t *card, const sc_path_t *in_path, sc_file_t **file_out) { int r; struct sc_file *file = NULL; coolkey_private_data_t * priv = COOLKEY_DATA(card); unsigned long object_id; assert(card != NULL && in_path != NULL); SC_FUNC_CALLED(card->ctx, SC_LOG_DEBUG_VERBOSE); if (in_pa...
0
206,956
JsVar *jsvGetArrayItem(const JsVar *arr, JsVarInt index) { return jsvSkipNameAndUnLock(jsvGetArrayIndex(arr,index)); }
0
460,422
static void hidinput_cleanup_hidinput(struct hid_device *hid, struct hid_input *hidinput) { struct hid_report *report; int i, k; list_del(&hidinput->list); input_free_device(hidinput->input); kfree(hidinput->name); for (k = HID_INPUT_REPORT; k <= HID_OUTPUT_REPORT; k++) { if (k == HID_OUTPUT_REPORT && hi...
0
427,412
static void libopenjpeg_error_callback(const char *msg, void * /*client_data*/) { error(errSyntaxError, -1, "{0:s}", msg); }
0
131,396
pixOctreeQuantNumColors(PIX *pixs, l_int32 maxcolors, l_int32 subsample) { l_int32 w, h, minside, bpp, wpls, wpld, i, j, actualcolors; l_int32 rval, gval, bval, nbase, nextra, maxlevel, ncubes, val; l_int32 *lut1, *lut2; l_uint32 index; l_uint32 *lines, *...
0
433,503
int validate_sp(unsigned long sp, struct task_struct *p, unsigned long nbytes) { unsigned long stack_page = (unsigned long)task_stack_page(p); if (sp < THREAD_SIZE) return 0; if (sp >= stack_page && sp <= stack_page + THREAD_SIZE - nbytes) return 1; return valid_irq_stack(sp, p, nbytes); }
0
18,440
static int dissect_h245_INTEGER ( tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) { offset = dissect_per_integer ( tvb , offset , actx , tree , hf_index , NULL ) ; return offset ; }
0
390,432
void SSL_CTX::setFailNoCert() { method_->setFailNoCert(); }
0
129,875
int am_has_header(request_rec *r, const char *h, const char *v) { return (am_get_header_attr(r, h, v, NULL) != NULL); }
0
199,401
ScreenRecorder::ScreenRecorder( MessageLoop* capture_loop, MessageLoop* encode_loop, base::MessageLoopProxy* network_loop, Capturer* capturer, Encoder* encoder) : capture_loop_(capture_loop), encode_loop_(encode_loop), network_loop_(network_loop), capturer_(capturer), enc...
0
152,409
*/ void skb_condense(struct sk_buff *skb) { if (skb->data_len) { if (skb->data_len > skb->end - skb->tail || skb_cloned(skb)) return; /* Nice, we can free page frag(s) right now */ __pskb_pull_tail(skb, skb->data_len); } /* At this point, skb->truesize might be over estimated, * because skb had a ...
0
478,155
T cubic_atXYZ_c(const float fx, const float fy, const float fz, const int c, const T& out_value) const { return cimg::type<T>::cut(cubic_atXYZ(fx,fy,fz,c,out_value)); }
0
186,752
void red_channel_client_pipe_add_empty_msg(RedChannelClient *rcc, int msg_type) { EmptyMsgPipeItem *item = spice_new(EmptyMsgPipeItem, 1); red_channel_pipe_item_init(rcc->channel, &item->base, PIPE_ITEM_TYPE_EMPTY_MSG); item->msg = msg_type; red_channel_client_pipe_add(rcc, &item->base); red_channe...
0
130,022
GF_Err void_box_read(GF_Box *s, GF_BitStream *bs) { if (s->size) return GF_ISOM_INVALID_FILE; return GF_OK;
0
218,674
bool ShellDelegateImpl::IsForceMaximizeOnFirstRun() const { return false; }
0
463,561
static int io_sqpoll_wait_sq(struct io_ring_ctx *ctx) { int ret = 0; DEFINE_WAIT(wait); do { if (!io_sqring_full(ctx)) break; prepare_to_wait(&ctx->sqo_sq_wait, &wait, TASK_INTERRUPTIBLE); if (unlikely(ctx->sqo_dead)) { ret = -EOWNERDEAD; goto out; } if (!io_sqring_full(ctx)) break; sch...
0
399,157
static void add_fifo_list (pathname) char *pathname; { if (nfifo >= fifo_list_size - 1) { fifo_list_size += FIFO_INCR; fifo_list = (struct temp_fifo *)xrealloc (fifo_list, fifo_list_size * sizeof (struct temp_fifo)); } fifo_list[nfifo].file = savestring (pathname); nfifo++;
0
379,687
static int ZEND_FASTCALL ZEND_FETCH_DIM_IS_SPEC_CV_TMP_HANDLER(ZEND_OPCODE_HANDLER_ARGS) { zend_op *opline = EX(opline); zend_free_op free_op2; zval *dim = _get_zval_ptr_tmp(&opline->op2, EX(Ts), &free_op2 TSRMLS_CC); zval **container = _get_zval_ptr_ptr_cv(&opline->op1, EX(Ts), BP_VAR_IS TSRMLS_CC); if (IS_CV =...
0
56,860
void Vertex(double *args) { SetTransferMatrix(1,0,0,1,args[0],args[1]); BezierCircle(args[2],"f"); }
0
232,420
SWFShape_addBitmapFillStyle(SWFShape shape, SWFBitmap bitmap, byte flags) { SWFFillStyle fill; if ( bitmap ) { SWFCharacter_addDependency((SWFCharacter)shape, (SWFCharacter)bitmap); } fill = newSWFBitmapFillStyle(bitmap, flags); if(addFillStyle(shape, fill) < 0) { destroySWFFil...
0
51,649
flatpak_repo_set_homepage (OstreeRepo *repo, const char *homepage, GError **error) { g_autoptr(GKeyFile) config = NULL; config = ostree_repo_copy_config (repo); if (homepage) g_key_file_set_string (config, "flatpak", "homepage", homepage); else ...
0
313,531
void BluetoothAdapter::RemoveDiscoverySession( BluetoothDiscoverySession* discovery_session, const base::Closure& callback, DiscoverySessionErrorCallback error_callback) { size_t erased = discovery_sessions_.erase(discovery_session); DCHECK_EQ(1u, erased); std::unique_ptr<StartOrStopDiscoveryCallback...
0
236,375
XcursorLibraryShape (const char *library) { int low, high; int mid; int c; low = 0; high = NUM_STANDARD_NAMES - 1; while (low < high - 1) { mid = (low + high) >> 1; c = strcmp (library, STANDARD_NAME (mid)); if (c == 0) return (mid << 1); if (c > 0) low = mid; else high ...
0
514,666
void StreamResource::EmitRead(ssize_t nread, const uv_buf_t& buf) { DebugSealHandleScope seal_handle_scope; if (nread > 0) bytes_read_ += static_cast<uint64_t>(nread); listener_->OnStreamRead(nread, buf); }
0
329,609
static void verdex_init(ram_addr_t ram_size, int vga_ram_size, const char *boot_device, const char *kernel_filename, const char *kernel_cmdline, const char *initrd_filename, const char *cpu_model) { struct pxa2xx_state_s *cpu; int index; uint32_t verd...
0
519,747
void prepare_frm_header(THD *thd, uint reclength, uchar *fileinfo, HA_CREATE_INFO *create_info, uint keys, KEY *key_info) { ulong key_comment_total_bytes= 0; uint i; DBUG_ENTER("prepare_frm_header"); /* Fix this when we have new .frm files; Current limit is 4G rows (TODO) */ if (crea...
0
200,288
CMS_ContentInfo *CMS_encrypt(STACK_OF(X509) *certs, BIO *data, const EVP_CIPHER *cipher, unsigned int flags) { CMS_ContentInfo *cms; int i; X509 *recip; cms = CMS_EnvelopedData_create(cipher); if (!cms) goto merr; for (i = 0; i < sk_X509_num(certs); i++) { recip = sk_X509_value(certs, i); if (!CMS_ad...
0
318,491
static inline void RENAME(yuvPlanartouyvy)(const uint8_t *ysrc, const uint8_t *usrc, const uint8_t *vsrc, uint8_t *dst, long width, long height, long lumStride, long chromStride, long dstStride, long vertLumPerChroma) { long y...
0
112,681
static struct timing_generator *dce112_timing_generator_create( struct dc_context *ctx, uint32_t instance, const struct dce110_timing_generator_offsets *offsets) { struct dce110_timing_generator *tg110 = kzalloc(sizeof(struct dce110_timing_generator), GFP_KERNEL); if (!tg110) return NULL; dce110_timing_g...
0
179,626
void SoftVorbis::initPorts() { OMX_PARAM_PORTDEFINITIONTYPE def; InitOMXParams(&def); def.nPortIndex = 0; def.eDir = OMX_DirInput; def.nBufferCountMin = kNumBuffers; def.nBufferCountActual = def.nBufferCountMin; def.nBufferSize = 8192; def.bEnabled = OMX_TRUE; def.bPopulated = OMX_FALS...
0
474,695
process (GeglOperation *operation, GeglOperationContext *context, const gchar *output_pad, const GeglRectangle *result, gint level) { GeglProperties *o = GEGL_PROPERTIES (operation); if (!o->user_data) return FALSE; /* overriding the ...
0
62,298
last_search_pattern(void) { return spats[RE_SEARCH].pat; }
0
121,874
static ut64 binobj_a2b(RBinObject *bo, ut64 addr) { return addr + (bo ? bo->baddr_shift : 0); }
0
8,065
static int jpc_pi_nextpcrl(register jpc_pi_t *pi) { int rlvlno; jpc_pirlvl_t *pirlvl; jpc_pchg_t *pchg; int prchind; int prcvind; int *prclyrno; int compno; jpc_picomp_t *picomp; int xstep; int ystep; uint_fast32_t trx0; uint_fast32_t try0; uint_fast32_t r; uint_fast32_t rpx; uint_fast32_t rpy; pchg = ...
1
189,460
ZEND_API void *zend_object_store_get_object_by_handle(zend_object_handle handle TSRMLS_DC) { return EG(objects_store).object_buckets[handle].bucket.obj.object; }
0
244,317
static vm_fault_t hugetlb_vm_op_fault(struct vm_fault *vmf) { BUG(); return 0; }
0
112,881
static int unix_accept(struct socket *sock, struct socket *newsock, int flags) { struct sock *sk = sock->sk; struct sock *tsk; struct sk_buff *skb; int err; err = -EOPNOTSUPP; if (sock->type != SOCK_STREAM && sock->type != SOCK_SEQPACKET) goto out; err = -EINVAL; if (sk->sk_state != TCP_LISTEN) goto out; ...
0
402,034
e1000e_start_recv(E1000ECore *core) { int i; trace_e1000e_rx_start_recv(); for (i = 0; i <= core->max_queue_num; i++) { qemu_flush_queued_packets(qemu_get_subqueue(core->owner_nic, i)); } }
0
399,043
bash_servicename_completion_function (text, state) const char *text; int state; { #if defined (__WIN32__) || defined (__OPENNT) || !defined (HAVE_GETSERVENT) return ((char *)NULL); #else static char *sname = (char *)NULL; static struct servent *srvent; static int snamelen, firstc; char *value; cha...
0
353,105
rsvg_new_use (void) { RsvgNodeUse *use; use = g_new (RsvgNodeUse, 1); _rsvg_node_init (&use->super); use->super.draw = rsvg_node_use_draw; use->super.set_atts = rsvg_node_use_set_atts; use->x = _rsvg_css_parse_length ("0"); use->y = _rsvg_css_parse_length ("0"); use->w = _rsvg_css_parse_...
1
454,153
TEST(FieldPath, NoOptimizationForRootFieldPathWithDottedPath) { intrusive_ptr<ExpressionContextForTest> expCtx(new ExpressionContextForTest()); intrusive_ptr<ExpressionFieldPath> expression = ExpressionFieldPath::parse(expCtx, "$$ROOT.x.y", expCtx->variablesParseState); // An attempt to optimize re...
0
46,241
GF_Err sdtp_Read(GF_Box *s, GF_BitStream *bs) { GF_SampleDependencyTypeBox *ptr = (GF_SampleDependencyTypeBox*)s; /*out-of-order sdtp, assume no padding at the end*/ if (!ptr->sampleCount) ptr->sampleCount = (u32) ptr->size; else if (ptr->sampleCount > (u32) ptr->size) return GF_ISOM_INVALID_FILE; ptr->sample_in...
0
380,843
void XMLRPC_Free(void* mem) { my_free(mem); }
0
371,681
extract_archive_thread (GSimpleAsyncResult *result, GObject *object, GCancellable *cancellable) { ExtractData *extract_data; LoadData *load_data; GHashTable *checked_folders; struct archive *a; struct archive_entry *entry; int r; extr...
0
446,850
_dbus_read_socket (DBusSocket fd, DBusString *buffer, int count) { return _dbus_read (fd.fd, buffer, count); }
0
326,644
static uint32_t nvdimm_get_max_xfer_label_size(void) { uint32_t max_get_size, max_set_size, dsm_memory_size = 4096; /* * the max data ACPI can read one time which is transferred by * the response of 'Get Namespace Label Data' function. */ max_get_size = dsm_memory_size - sizeof(Nvdim...
0
189,962
void TabHelper::CreateApplicationShortcuts() { DCHECK(CanCreateApplicationShortcuts()); if (pending_web_app_action_ != NONE) return; GetApplicationInfo(CREATE_SHORTCUT); }
0
173,061
SynchronizeVisualPropertiesMessageFilter() : content::BrowserMessageFilter(kMessageClassesToFilter, arraysize(kMessageClassesToFilter)), screen_space_rect_run_loop_(std::make_unique<base::RunLoop>()), screen_space_rect_received_(false) {}
0
389,283
NCR_ModifyMaxpoll(NCR_Instance inst, int new_maxpoll) { if (new_maxpoll < MIN_POLL || new_maxpoll > MAX_POLL) return; inst->maxpoll = new_maxpoll; LOG(LOGS_INFO, LOGF_NtpCore, "Source %s new maxpoll %d", UTI_IPToString(&inst->remote_addr.ip_addr), new_maxpoll); if (inst->minpoll > inst->maxpoll) NCR_Mod...
0
191,458
dissect_rpcap_filterbpf_insn (tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *parent_tree, gint offset) { proto_tree *tree, *code_tree; proto_item *ti, *code_ti; guint8 inst_class; ti = proto_tree_add_item (parent_tree, hf_filterbpf_insn, tvb, offset, 8, ENC_NA); tree = proto...
0
45,643
static inline ut16 r_read_at_be16(const void *src, size_t offset) { const ut8 *s = (const ut8*)src + offset; return r_read_be16 (s); }
0
151,609
static void clear_exception(struct pstore *ps, uint32_t index) { struct disk_exception *de = get_exception(ps, index); /* clear it */ de->old_chunk = 0; de->new_chunk = 0; }
0
206,217
void SyncManager::SyncInternal::OnServerConnectionEvent( const ServerConnectionEvent& event) { DCHECK(thread_checker_.CalledOnValidThread()); allstatus_.HandleServerConnectionEvent(event); if (event.connection_code == browser_sync::HttpResponse::SERVER_CONNECTION_OK) { ObserverList<SyncManager::Obs...
0
284,523
static void cmdproc_thread_cleanup(void *arg) { struct tcmu_device *dev = arg; struct tcmur_handler *rhandler = tcmu_get_runner_handler(dev); rhandler->close(dev); }
0
350,397
int cancel_extop( Operation *op, SlapReply *rs ) { Operation *o; int rc; int opid; BerElementBuffer berbuf; BerElement *ber = (BerElement *)&berbuf; assert( ber_bvcmp( &slap_EXOP_CANCEL, &op->ore_reqoid ) == 0 ); if ( op->ore_reqdata == NULL ) { rs->sr_text = "no message ID supplied"; return LDAP_PROTOCOL_...
1
475,621
START_TEST(virgl_test_transfer_read_unbound_res) { int ret; struct virgl_box box; ret = virgl_renderer_transfer_read_iov(1, 1, 0, 1, 1, &box, 0, NULL, 0); ck_assert_int_eq(ret, EINVAL); }
0
208,836
void IndexedDBDatabase::SetIndexKeys( IndexedDBTransaction* transaction, int64_t object_store_id, std::unique_ptr<IndexedDBKey> primary_key, const std::vector<IndexedDBIndexKeys>& index_keys) { DCHECK(transaction); IDB_TRACE1("IndexedDBDatabase::SetIndexKeys", "txn.id", transaction->id()); DCHECK_...
0
296,608
ia64_patch (u64 insn_addr, u64 mask, u64 val) { u64 m0, m1, v0, v1, b0, b1, *b = (u64 *) (insn_addr & -16); # define insn_mask ((1UL << 41) - 1) unsigned long shift; b0 = b[0]; b1 = b[1]; shift = 5 + 41 * (insn_addr % 16); /* 5 bits of template, then 3 x 41-bit instructions */ if (shift >= 64) { m1 = mask << (s...
0
356,402
static void try_to_follow_renames(struct tree_desc *t1, struct tree_desc *t2, const char *base, struct diff_options *opt) { struct diff_options diff_opts; struct diff_queue_struct *q = &diff_queued_diff; struct diff_filepair *choice; const char *paths[1]; int i; /* Remove the file creation entry from the diff qu...
0
451,159
void clearInline() override { memset(inline_headers_, 0, inlineHeadersSize()); }
0
520,018
inline ulong query_start_sec_part() { query_start_sec_part_used=1; return start_time_sec_part; }
0
763
static void dissect_q931_IEs ( tvbuff_t * tvb , packet_info * pinfo , proto_tree * root_tree , proto_tree * q931_tree , gboolean is_over_ip , int offset , int initial_codeset ) { proto_item * ti ; proto_tree * ie_tree = NULL ; guint8 info_element ; guint8 dummy ; guint16 info_element_len ; int codeset , locked_co...
1
341,082
static AVRational update_sar(int old_w, int old_h, AVRational sar, int new_w, int new_h) { // attempt to keep aspect during typical resolution switches if (!sar.num) sar = (AVRational){1, 1}; sar = av_mul_q(sar, (AVRational){new_h * old_w, new_w * old_h}); return sar; }
1
483,764
void topology_normalize_cpu_scale(void) { u64 capacity; u64 capacity_scale; int cpu; if (!raw_capacity) return; capacity_scale = 1; for_each_possible_cpu(cpu) { capacity = raw_capacity[cpu] * per_cpu(freq_factor, cpu); capacity_scale = max(capacity, capacity_scale); } pr_debug("cpu_capacity: capacity_s...
0
120,137
static int mpeg4_update_thread_context(AVCodecContext *dst, const AVCodecContext *src) { Mpeg4DecContext *s = dst->priv_data; const Mpeg4DecContext *s1 = src->priv_data; int init = s->m.context_initialized; int ret = ff_mpeg_update_thread_context(dst, src); i...
0
130,079
static GFINLINE void flac_dmx_update_cts(GF_FLACDmxCtx *ctx, u32 nb_samp) { if (ctx->timescale) { u64 inc = nb_samp; inc *= ctx->timescale; inc /= ctx->sample_rate; ctx->cts += inc; } else { ctx->cts += nb_samp; } }
0
254,493
ofputil_protocols_to_version_bitmap(enum ofputil_protocol protocols) { uint32_t bitmap = 0; for (; protocols; protocols = zero_rightmost_1bit(protocols)) { enum ofputil_protocol protocol = rightmost_1bit(protocols); bitmap |= 1u << ofputil_protocol_to_ofp_version(protocol); } return b...
0
310,674
virtual void TearDown() { adapter_ = NULL; DBusThreadManager::Shutdown(); }
0
58,837
size_t HTTP2Codec::generateTrailers(folly::IOBufQueue& writeBuf, StreamID stream, const HTTPHeaders& trailers) { VLOG(4) << "generating TRAILERS for stream=" << stream; std::vector<compress::Header> allHeaders; CodecUtil::appendHeaders(traile...
0
239,990
pax_dump_header_0 (struct tar_sparse_file *file) { off_t block_ordinal = current_block_ordinal (); union block *blk; size_t i; char nbuf[UINTMAX_STRSIZE_BOUND]; struct sp_array *map = file->stat_info->sparse_map; char *save_file_name = NULL; /* Store the real file size */ xheader_store ("GNU.sparse.siz...
0
476,170
bool InstanceKlass::is_record() const { return _record_components != NULL && is_final() && java_super() == vmClasses::Record_klass(); }
0
208,707
_crypt_extended(const char *key, const char *setting) { static int initialized = 0; static struct php_crypt_extended_data data; if (!initialized) { _crypt_extended_init(); initialized = 1; data.initialized = 0; } return _crypt_extended_r(key, setting, &data); }
0
196,941
void GpuCommandBufferStub::PollWork() { TRACE_EVENT0("gpu", "GpuCommandBufferStub::PollWork"); delayed_work_scheduled_ = false; FastSetActiveURL(active_url_, active_url_hash_); if (decoder_.get() && !MakeCurrent()) return; if (scheduler_.get()) scheduler_->PollUnscheduleFences(); ScheduleDelayedWork...
0
252,318
void ExtensionTabUtil::ForEachTab( const base::Callback<void(WebContents*)>& callback) { for (TabContentsIterator iterator; !iterator.done(); ++iterator) callback.Run(*iterator); }
0
317,116
void V8DOMWindow::eventAttrSetterCustom(v8::Local<v8::String> name, v8::Local<v8::Value> value, const v8::AccessorInfo& info) { v8::Handle<v8::Object> holder = info.This()->FindInstanceInPrototypeChain(V8DOMWindow::GetTemplate(info.GetIsolate(), worldTypeInMainThread(info.GetIsolate()))); if (holder.IsEmpty()) ...
0
310,781
static void stroke_config(private_stroke_socket_t *this, stroke_msg_t *msg, FILE *out) { this->cred->cachecrl(this->cred, msg->config.cachecrl); }
0
42,565
static int __init crypto_user_init(void) { struct netlink_kernel_cfg cfg = { .input = crypto_netlink_rcv, }; crypto_nlsk = netlink_kernel_create(&init_net, NETLINK_CRYPTO, &cfg); if (!crypto_nlsk) return -ENOMEM; return 0; }
0
438,904
static int ieee80211_set_csa_beacon(struct ieee80211_sub_if_data *sdata, struct cfg80211_csa_settings *params, u32 *changed) { struct ieee80211_csa_settings csa = {}; int err; switch (sdata->vif.type) { case NL80211_IFTYPE_AP: sdata->u.ap.next_beacon = cfg80211_beacon_dup(&params->beacon_after...
0
200,446
void AutofillExternalDelegate::OnPopupShown() { manager_->DidShowSuggestions(has_autofill_suggestions_, query_form_, query_field_); if (should_show_scan_credit_card_) { AutofillMetrics::LogScanCreditCardPromptMetric( AutofillMetrics::SCAN_CARD_ITEM_SHOWN); } }
0
128,870
TfLiteStatus EvalFloat(const TfLiteTensor* input, const TfLiteTensor* input_weights, const TfLiteTensor* recurrent_weights, const TfLiteTensor* bias, const TfLiteSequenceRNNParams* params, TfLiteTensor* hi...
0
200,005
bool FrameLoader::isLoadingMainFrame() const { Page* page = m_frame->page(); return page && m_frame == page->mainFrame(); }
0
475,147
static bool check_iov_bounds(struct vrend_resource *res, const struct vrend_transfer_info *info, const struct iovec *iov, int num_iovs) { GLuint transfer_size; GLuint iovsize = vrend_get_iovec_size(iov, num_iovs); GLuint valid_stride, valid_layer_stride...
0
274,738
void Monitor::health_tick_stop() { dout(15) << __func__ << dendl; if (health_tick_event) { timer.cancel_event(health_tick_event); health_tick_event = NULL; } }
0
449,327
SCK_AcceptConnection(int sock_fd, IPSockAddr *remote_addr) { union sockaddr_all saddr; socklen_t saddr_len = sizeof (saddr); int conn_fd; conn_fd = accept(sock_fd, &saddr.sa, &saddr_len); if (conn_fd < 0) { DEBUG_LOG("accept() failed : %s", strerror(errno)); return INVALID_SOCK_FD; } if (!UTI_Fd...
0
394,707
static size_t php_bz2iop_read(php_stream *stream, char *buf, size_t count TSRMLS_DC) { struct php_bz2_stream_data_t *self = (struct php_bz2_stream_data_t *) stream->abstract; int bz2_ret; bz2_ret = BZ2_bzread(self->bz_file, buf, count); if (bz2_ret < 0) { stream->eof = 1; return -1; } if (bz2_ret == 0) { ...
0
285,492
status_t CameraClient::checkPidAndHardware() const { status_t result = checkPid(); if (result != NO_ERROR) return result; if (mHardware == 0) { ALOGE("attempt to use a camera after disconnect() (pid %d)", getCallingPid()); return INVALID_OPERATION; } return NO_ERROR; }
0
508,063
int test_exp(BIO *bp, BN_CTX *ctx) { BIGNUM *a, *b, *d, *e, *one; int i; a = BN_new(); b = BN_new(); d = BN_new(); e = BN_new(); one = BN_new(); BN_one(one); for (i = 0; i < num2; i++) { BN_bntest_rand(a, 20 + i * 5, 0, 0); BN_bntest_rand(b, 2 + i, 0, 0); i...
0
451,576
static BROTLI_INLINE uint32_t BrotliGetAvailableBits( const BrotliBitReader* br) { return (BROTLI_64_BITS ? 64 : 32) - br->bit_pos_; }
0
316,467
copy_buckets_for_remove_bucket(const struct ofgroup *ofgroup, struct ofgroup *new_ofgroup, uint32_t command_bucket_id) { const struct ofputil_bucket *skip = NULL; if (command_bucket_id == OFPG15_BUCKET_ALL) { return 0; } if (command...
0
402,765
ModuleExport size_t RegisterMIFFImage(void) { char version[MagickPathExtent]; MagickInfo *entry; *version='\0'; #if defined(MagickImageCoderSignatureText) (void) CopyMagickString(version,MagickLibVersionText,MagickPathExtent); #if defined(ZLIB_VERSION) (void) ConcatenateMagickString(version," with Z...
0
159,156
static int add_file_info(struct augeas *aug, const char *node, struct lens *lens, const char *lens_name, const char *filename, bool force_reload) { struct tree *file, *tree; char *tmp = NULL; int r; char *path = NULL; int result = -1; if (lens =...
0
353,738
static int aes_gcm_ctrl(EVP_CIPHER_CTX *c, int type, int arg, void *ptr) { EVP_AES_GCM_CTX *gctx = c->cipher_data; switch (type) { case EVP_CTRL_INIT: gctx->key_set = 0; gctx->iv_set = 0; gctx->ivlen = c->cipher->iv_len; gctx->iv = c->iv; gctx->taglen = -1; gc...
1
292,078
AP_DECLARE(void) ap_clear_auth_internal(void) { auth_internal_per_conf_hooks = 0; auth_internal_per_conf_providers = 0; }
0
377,560
static int ide_drive_pio_post_load(void *opaque, int version_id) { IDEState *s = opaque; if (s->end_transfer_fn_idx >= ARRAY_SIZE(transfer_end_table)) { return -EINVAL; } s->end_transfer_func = transfer_end_table[s->end_transfer_fn_idx]; s->data_ptr = s->io_buffer + s->cur_io_buffer_offset;...
0