idx
int64
func
string
target
int64
450,833
int st21nfca_hci_se_io(struct nfc_hci_dev *hdev, u32 se_idx, u8 *apdu, size_t apdu_length, se_io_cb_t cb, void *cb_context) { struct st21nfca_hci_info *info = nfc_hci_get_clientdata(hdev); pr_debug("se_io %x\n", se_idx); switch (se_idx) { case ST21NFCA_ESE_HOST_ID: info->se_info.cb = cb; info->se_info.c...
0
226,399
void fiin_box_del(GF_Box *s) { FDItemInformationBox *ptr = (FDItemInformationBox *)s; if (ptr == NULL) return; if (ptr->partition_entries) gf_list_del(ptr->partition_entries); gf_free(ptr);
0
312,459
qf_set_properties(qf_info_T *qi, dict_T *what, int action, char_u *title) { dictitem_T *di; int retval = FAIL; int qf_idx; int newlist = FALSE; qf_list_T *qfl; if (action == ' ' || qf_stack_empty(qi)) newlist = TRUE; qf_idx = qf_setprop_get_qfidx(qi, what, action, &newlist); if (qf...
0
359,636
DEFUN (show_ip_community_list, show_ip_community_list_cmd, "show ip community-list", SHOW_STR IP_STR "List community-list\n") { struct community_list *list; struct community_list_master *cm; cm = community_list_master_lookup (bgp_clist, COMMUNITY_LIST_MASTER); if (! cm) r...
0
252,297
mz_uint mz_zip_reader_get_num_files(mz_zip_archive *pZip) { return pZip ? pZip->m_total_files : 0; }
0
214,339
int kvmppc_rtas_hcall(struct kvm_vcpu *vcpu) { struct rtas_token_definition *d; struct rtas_args args; rtas_arg_t *orig_rets; gpa_t args_phys; int rc; /* * r4 contains the guest physical address of the RTAS args * Mask off the top 4 bits since this is a guest real address */ args_phys = kvmppc_get_gpr(vcp...
1
254,879
Value DocumentSourceGroup::expandId(const Value& val) { // _id doesn't get wrapped in a document if (_idFieldNames.empty()) return val; // _id is a single-field document containing val if (_idFieldNames.size() == 1) return Value(DOC(_idFieldNames[0] << val)); // _id is a multi-fiel...
0
338,102
void WasmBinaryBuilder::visitThrow(Throw* curr) { BYN_TRACE("zz node: Throw\n"); auto index = getU32LEB(); if (index >= wasm.tags.size()) { throwError("bad tag index"); } auto* tag = wasm.tags[index].get(); curr->tag = tag->name; size_t num = tag->sig.params.size(); curr->operands.resize(num); for...
0
275,995
void uECC_point_mult(uECC_word_t *result, const uECC_word_t *point, const uECC_word_t *scalar, uECC_Curve curve) { uECC_word_t tmp1[uECC_MAX_WORDS]; uECC_word_t tmp2[uECC_MAX_WORDS]; uECC_word_t *p2[2] = {tmp1, tmp2}; uECC_word_t carry = reg...
0
294,608
d_lite_yday(VALUE self) { get_d1(self); return INT2FIX(m_yday(dat)); }
0
441,827
SProcXkbGetKbdByName(ClientPtr client) { REQUEST(xkbGetKbdByNameReq); swaps(&stuff->length); REQUEST_AT_LEAST_SIZE(xkbGetKbdByNameReq); swaps(&stuff->deviceSpec); swaps(&stuff->want); swaps(&stuff->need); return ProcXkbGetKbdByName(client); }
0
253,630
smb2_dump_detail(void *buf, struct TCP_Server_Info *server) { #ifdef CONFIG_CIFS_DEBUG2 struct smb2_hdr *shdr = (struct smb2_hdr *)buf; cifs_server_dbg(VFS, "Cmd: %d Err: 0x%x Flags: 0x%x Mid: %llu Pid: %d\n", shdr->Command, shdr->Status, shdr->Flags, shdr->MessageId, shdr->Id.SyncId.ProcessId); cifs_server_d...
0
225,596
GF_Box *leva_box_new() { ISOM_DECL_BOX_ALLOC(GF_LevelAssignmentBox, GF_ISOM_BOX_TYPE_LEVA); return (GF_Box *)tmp;
0
226,076
GF_Err fdpa_box_read(GF_Box *s, GF_BitStream *bs) { u32 i; GF_FDpacketBox *ptr = (GF_FDpacketBox *)s; ISOM_DECREASE_SIZE(ptr, 3); ptr->info.sender_current_time_present = gf_bs_read_int(bs, 1); ptr->info.expected_residual_time_present = gf_bs_read_int(bs, 1); ptr->info.session_close_bit = gf_bs_read_int(bs, 1); ...
0
242,986
int mbedtls_ssl_write_record( mbedtls_ssl_context *ssl, uint8_t force_flush ) { int ret, done = 0; size_t len = ssl->out_msglen; uint8_t flush = force_flush; MBEDTLS_SSL_DEBUG_MSG( 2, ( "=> write record" ) ); #if defined(MBEDTLS_ZLIB_SUPPORT) if( ssl->transform_out != NULL && ssl->session_...
0
512,325
Item *get_copy(THD *thd) { return get_item_copy<Item_cache_datetime>(thd, this); }
0
225,444
static int vidioc_querybuf(struct file *file, void *fh, struct v4l2_buffer *b) { enum v4l2_buf_type type; int index; struct v4l2_loopback_device *dev; struct v4l2_loopback_opener *opener; MARK(); type = b->type; index = b->index; dev = v4l2loopback_getdevice(file); opener = fh_to_opener(fh); if ((b->type !...
0
294,572
jd_to_nth_kday(VALUE jd, double sg, VALUE *nth, int *rjd, int *ry, int *rm, int *rn, int *rk) { decode_jd(jd, nth, rjd); c_jd_to_nth_kday(*rjd, sg, ry, rm, rn, rk); }
0
512,949
Item_type_holder(THD *thd, Item *item) :Item(thd, item), Type_handler_hybrid_field_type(item->real_type_handler()), enum_set_typelib(0) { DBUG_ASSERT(item->is_fixed()); maybe_null= item->maybe_null; }
0
281,056
void xfrm_policy_hash_rebuild(struct net *net) { schedule_work(&net->xfrm.policy_hthresh.work); }
0
405,327
decode_session4(struct sk_buff *skb, struct flowi *fl, bool reverse) { const struct iphdr *iph = ip_hdr(skb); int ihl = iph->ihl; u8 *xprth = skb_network_header(skb) + ihl * 4; struct flowi4 *fl4 = &fl->u.ip4; int oif = 0; if (skb_dst(skb) && skb_dst(skb)->dev) oif = skb_dst(skb)->dev->ifindex; memset(fl4, 0...
0
512,392
bool Item_func_interval::fix_length_and_dec() { uint rows= row->cols(); use_decimal_comparison= ((row->element_index(0)->result_type() == DECIMAL_RESULT) || (row->element_index(0)->result_type() == INT_RESULT)); if (rows > 8) ...
0
313,784
nv_put_opt(cmdarg_T *cap, int fix_indent) { int regname = 0; void *reg1 = NULL, *reg2 = NULL; int empty = FALSE; int was_visual = FALSE; int dir; int flags = 0; int keep_registers = FALSE; if (cap->oap->op_type != OP_NOP) { #ifdef FEAT_DIFF // "dp" is ":diffput" if (cap->oap...
0
229,175
static void do_flush_queued_data(VirtIOSerialPort *port, VirtQueue *vq, VirtIODevice *vdev) { VirtIOSerialPortClass *vsc; assert(port); assert(virtio_queue_ready(vq)); vsc = VIRTIO_SERIAL_PORT_GET_CLASS(port); while (!port->throttled) { unsigned int i; ...
0
267,972
static void get_strings_range(RBinFile *bf, RList *list, int min, int raw, ut64 from, ut64 to, RBinSection *section) { r_return_if_fail (bf && bf->buf); RBinPlugin *plugin = r_bin_file_cur_plugin (bf); if (!raw && (!plugin || !plugin->info)) { return; } if (!min) { min = plugin? plugin->minstrlen: 4; } /* ...
0
262,016
ProtoRequestTypeText(ProtoRequestType t) { switch (t) { case PROTO_REQUEST_UNKNOWN: return "UNKNOWN"; case PROTO_REQUEST_SESSION_REQ: return "SESSION"; case PROTO_REQUEST_CONN: return "CONNECT"; case PROTO_REQUEST_ADDALIAS: return "ADDALIAS"; case PROTO_REQUEST_REMOVEALIAS: ...
0
300,746
static int tipc_set_sk_state(struct sock *sk, int state) { int oldsk_state = sk->sk_state; int res = -EINVAL; switch (state) { case TIPC_OPEN: res = 0; break; case TIPC_LISTEN: case TIPC_CONNECTING: if (oldsk_state == TIPC_OPEN) res = 0; break; case TIPC_ESTABLISHED: if (oldsk_state == TIPC_CONNECT...
0
463,075
static uint64_t sungem_mmio_rxdma_read(void *opaque, hwaddr addr, unsigned size) { SunGEMState *s = opaque; uint32_t val; if (!(addr <= 0x28) && !(addr >= 0x100 && addr <= 0x120)) { qemu_log_mask(LOG_GUEST_ERROR, "Read from unknown RXDMA register 0x%"HWADDR_PRIx"\n", ...
0
299,898
readconf_handle_option(uschar *buffer, optionlist *oltop, int last, void *data_block, uschar *unknown_txt) { int ptr = 0; int offset = 0; int n, count, type, value; int issecure = 0; uid_t uid; gid_t gid; BOOL boolvalue = TRUE; BOOL freesptr = TRUE; BOOL extra_condition = FALSE; optionlist *ol, *ol2; struct passwd *p...
0
452,253
static xmlDocPtr php_xsl_apply_stylesheet(zval *id, xsl_object *intern, xsltStylesheetPtr style, zval *docp TSRMLS_DC) /* {{{ */ { xmlDocPtr newdocp = NULL; xmlDocPtr doc = NULL; xmlNodePtr node = NULL; xsltTransformContextPtr ctxt; php_libxml_node_object *object; char **params = NULL; int clone; zval *doXInclu...
0
248,321
static cfg_value_t *cfg_opt_getval(cfg_opt_t *opt, unsigned int index) { cfg_value_t *val = NULL; if (index != 0 && !is_set(CFGF_LIST, opt->flags) && !is_set(CFGF_MULTI, opt->flags)) { errno = EINVAL; return NULL; } if (opt->simple_value.ptr) val = (cfg_value_t *)opt->simple_value.ptr; else { if (is_set(...
0
445,879
save_as_archive_dialog_response_cb (GtkDialog *dialog, int response, gpointer user_data) { FrWindow *window = user_data; GFile *file; const char *mime_type; const char *password; gboolean encrypt_header; int volume_size; GSettings *settings; if ((response == GTK_RESP...
0
450,369
static void zrle_write_u16(VncState *vs, uint16_t value) { vnc_write(vs, (uint8_t *)&value, 2); }
0
473,948
cp949_is_mbc_ambiguous(OnigCaseFoldType flag, const UChar** pp, const UChar* end, OnigEncoding enc) { return onigenc_mbn_is_mbc_ambiguous(enc, flag, pp, end); }
0
254,034
static ssize_t attr_show_buffers(struct device *cd, struct device_attribute *attr, char *buf) { struct v4l2_loopback_device *dev = v4l2loopback_cd2dev(cd); return sprintf(buf, "%d\n", dev->used_buffers); }
0
312,429
ex_make(exarg_T *eap) { char_u *fname; char_u *cmd; char_u *enc = NULL; win_T *wp = NULL; qf_info_T *qi = &ql_info; int res; char_u *au_name = NULL; int_u save_qfid; char_u *errorformat = p_efm; int newlist = TRUE; // Redirect ":grep" to ":vimgrep" if 'grepprg' is "interna...
0
369,296
static inline void io_req_complete_state(struct io_kiocb *req, s32 res, u32 cflags) { req->result = res; req->cflags = cflags; req->flags |= REQ_F_COMPLETE_INLINE; }
0
412,137
dnsc_parse_certs(struct dnsc_env *env, struct config_file *cfg) { struct config_strlist *head, *head2; size_t signed_cert_id; size_t rotated_cert_id; char *nm; env->signed_certs_count = 0U; env->rotated_certs_count = 0U; for (head = cfg->dnscrypt_provider_cert; head; head = head->next) { env->signed_certs_cou...
0
247,516
int read_image_tga( gdIOCtx *ctx, oTga *tga ) { int pixel_block_size = (tga->bits / 8); int image_block_size; int* decompression_buffer = NULL; unsigned char* conversion_buffer = NULL; int buffer_caret = 0; int bitmap_caret = 0; int i = 0; int encoded_pixels; int rle_size; if(overflow2(tga->width, tga->heigh...
0
390,612
ProcXkbGetDeviceInfo(ClientPtr client) { DeviceIntPtr dev; xkbGetDeviceInfoReply rep; int status,nDeviceLedFBs; unsigned length,nameLen; CARD16 ledClass,ledID; unsigned wanted,supported; char * str; REQUEST(xkbGetDeviceInfoReq); REQUEST_SIZE_MATCH(xkbGetDeviceInfoReq); if (!(client->xkbClientFlag...
0
336,615
SPICE_GNUC_VISIBLE void spice_server_set_uuid(SpiceServer *s, const uint8_t uuid[16]) { memcpy(s->config->spice_uuid, uuid, sizeof(s->config->spice_uuid)); s->config->spice_uuid_is_set = TRUE; }
0
225,079
PQprotocolVersion(const PGconn *conn) { if (!conn) return 0; if (conn->status == CONNECTION_BAD) return 0; return PG_PROTOCOL_MAJOR(conn->pversion); }
0
413,656
static void core_anal_color_curr_node(RCore *core, RAnalBlock *bbi) { bool color_current = r_config_get_i (core->config, "graph.gv.current"); char *pal_curr = palColorFor ("graph.current"); bool current = r_anal_block_contains (bbi, core->offset); if (current && color_current) { r_cons_printf ("\t\"0x%08"PFMT64x...
0
252,314
bool operator()(long long *a, long long *b) { return *a > *b; }
0
455,279
posix_readline_initialize (on_or_off) int on_or_off; { static char kseq[2] = { CTRL ('I'), 0 }; /* TAB */ if (on_or_off) rl_variable_bind ("comment-begin", "#"); #if defined (VI_MODE) if (on_or_off) { vi_tab_binding = rl_function_of_keyseq (kseq, vi_insertion_keymap, (int *)NULL); rl_bi...
0
445,983
fr_window_get_password_for_second_archive (FrWindow *window) { g_return_val_if_fail (window != NULL, NULL); return window->priv->second_password; }
0
459,134
struct sk_buff *tcf_qevent_handle(struct tcf_qevent *qe, struct Qdisc *sch, struct sk_buff *skb, struct sk_buff **to_free, int *ret) { struct tcf_result cl_res; struct tcf_proto *fl; if (!qe->info.block_index) return skb; fl = rcu_dereference_bh(qe->filter_chain); switch (tcf_classify(skb, NULL, fl, &cl...
0
197,593
njs_function_frame_save(njs_vm_t *vm, njs_frame_t *frame, u_char *pc) { size_t value_count, n; njs_value_t *start, *end, *p, **new, *value, **local; njs_function_t *function; njs_native_frame_t *active, *native; *frame = *vm->active_frame; frame->previous_active_frame...
1
259,605
void HierarchicalBitmapRequester::PrepareForDecoding(void) { #if ACCUSOFT_CODE UBYTE i; BuildCommon(); if (m_ppDecodingMCU == NULL) { m_ppDecodingMCU = (struct Line **)m_pEnviron->AllocMem(sizeof(struct Line *) * m_ucCount*8); memset(m_ppDecodingMCU,0,sizeof(struct Line *) * m_ucCount * 8); } if (...
0
366,326
struct vfsmount *lookup_mnt(const struct path *path) { struct mount *child_mnt; struct vfsmount *m; unsigned seq; rcu_read_lock(); do { seq = read_seqbegin(&mount_lock); child_mnt = __lookup_mnt(path->mnt, path->dentry); m = child_mnt ? &child_mnt->mnt : NULL; } while (!legitimize_mnt(m, seq)); rcu_read_u...
0
238,382
njs_function_property_prototype_set(njs_vm_t *vm, njs_lvlhsh_t *hash, njs_value_t *prototype) { njs_int_t ret; njs_object_prop_t *prop; njs_lvlhsh_query_t lhq; const njs_value_t proto_string = njs_string("prototype"); prop = njs_object_prop_alloc(vm, &proto_string, prototype, 0);...
0
255,935
Status ShapeRefiner::InferShapesForFunction( const FunctionDef* function_def, AttrSlice attributes, ExtendedInferenceContext* outer_context) { const Graph* graph; auto it = functions_.find(function_def); if (it != functions_.end()) { graph = it->second.get(); } else { InstantiationResult result;...
0
233,940
bool DocumentSourceUnionWith::usedDisk() { if (_pipeline) { _stats.planSummaryStats.usedDisk = _stats.planSummaryStats.usedDisk || _pipeline->usedDisk(); } return _stats.planSummaryStats.usedDisk; }
0
364,780
set_buflocal_tfu_callback(buf_T *buf UNUSED) { free_callback(&buf->b_tfu_cb); if (tfu_cb.cb_name != NULL && *tfu_cb.cb_name != NUL) copy_callback(&buf->b_tfu_cb, &tfu_cb); }
0
217,567
static char *TracePSClippath(const unsigned char *blob,size_t length, const size_t magick_unused(columns),const size_t magick_unused(rows)) { char *path, *message; MagickBooleanType in_subpath; PointInfo first[3], last[3], point[3]; ssize_t i, x; ssize_t knot_count, ...
0
424,944
static int iwl_trans_pcie_rxq_dma_data(struct iwl_trans *trans, int queue, struct iwl_trans_rxq_dma_data *data) { struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); if (queue >= trans->num_rx_queues || !trans_pcie->rxq) return -EINVAL; data->fr_bd_cb = trans_pcie->rxq[queue].bd_dma; ...
0
259,281
static int mov_parse_auxiliary_info(MOVContext *c, MOVStreamContext *sc, AVIOContext *pb, MOVEncryptionIndex *encryption_index) { AVEncryptionInfo **sample, **encrypted_samples; int64_t prev_pos; size_t sample_count, sample_info_size, i; int ret = 0; unsigned int alloc_size = 0; if (encryption_...
0
220,027
explicit SparseTensorsMap(const string& name) : name_(name), counter_(0) {}
0
224,568
Status UnknownShape(shape_inference::InferenceContext* c) { for (int i = 0; i < c->num_outputs(); ++i) { c->set_output(i, c->UnknownShape()); } return Status::OK(); }
0
413,602
static int core_anal_graph_construct_edges(RCore *core, RAnalFunction *fcn, int opts, PJ *pj, Sdb *DB) { RAnalBlock *bbi; RListIter *iter; int is_keva = opts & R_CORE_ANAL_KEYVALUE; int is_star = opts & R_CORE_ANAL_STAR; int is_json = opts & R_CORE_ANAL_JSON; int is_html = r_cons_context ()->is_html; char *pal_j...
0
236,205
GF_Err diST_box_size(GF_Box *s) { GF_DIMSScriptTypesBox *p = (GF_DIMSScriptTypesBox *)s; s->size += p->content_script_types ? (strlen(p->content_script_types)+1) : 1; return GF_OK; }
0
225,772
GF_Err leva_box_read(GF_Box *s, GF_BitStream *bs) { u32 i; GF_LevelAssignmentBox *ptr = (GF_LevelAssignmentBox*)s; ISOM_DECREASE_SIZE(ptr, 1) ptr->level_count = gf_bs_read_u8(bs); //each level is at least 5 bytes if (ptr->size / 5 < ptr->level_count) return GF_ISOM_INVALID_FILE; GF_SAFE_ALLOC_N(ptr->levels,...
0
432,188
void *address_space_map(AddressSpace *as, hwaddr addr, hwaddr *plen, bool is_write, MemTxAttrs attrs) { hwaddr len = *plen; hwaddr l, xlat; MemoryRegion *mr; void *ptr; FlatView *fv; struct uc_struct ...
0
222,554
string Canonicalize(const string& funcname, AttrSlice attrs, const FunctionLibraryRuntime::InstantiateOptions& options) { absl::InlinedVector<AttrKeyAndValue, 8> entries; entries.reserve(attrs.size() + static_cast<int>(!options.target.empty()) + options.input_devices.size()); ...
0
353,149
static void clipColor(int rIn, int gIn, int bIn, unsigned char *rOut, unsigned char *gOut, unsigned char *bOut) { int lum, rgbMin, rgbMax; lum = getLum(rIn, gIn, bIn); rgbMin = rgbMax = rIn; if (gIn < rgbMin) { rgbMin = gIn; } else if (gIn > rgbMax) { rgbMax = gIn; } if (bIn < rgbMin) { ...
0
331,757
QPainterState *QPaintEngineEx::createState(QPainterState *orig) const { if (!orig) return new QPainterState; return new QPainterState(orig); }
0
246,448
static void wasm_custom_name_free(RBinWasmCustomNameEntry *cust) { if (cust) { switch (cust->type) { case R_BIN_WASM_NAMETYPE_Module: R_FREE (cust->mod_name); break; case R_BIN_WASM_NAMETYPE_Function: if (cust->func) { r_id_storage_free (cust->func->names); R_FREE (cust->func); } break; ...
0
225,446
static inline void set_queued(struct v4l2l_buffer *buffer) { buffer->buffer.flags &= ~V4L2_BUF_FLAG_DONE; buffer->buffer.flags |= V4L2_BUF_FLAG_QUEUED; }
0
409,410
parse_builtin_tcap(char_u *term) { struct builtin_term *p; char_u name[2]; int term_8bit; p = find_builtin_term(term); term_8bit = term_is_8bit(term); // Do not parse if builtin term not found if (p->bt_string == NULL) return; for (++p; p->bt_entry != (int)KS_NAME && p...
0
452,251
static char **php_xsl_xslt_make_params(HashTable *parht, int xpath_params TSRMLS_DC) { int parsize; zval **value; char *xpath_expr, *string_key = NULL; ulong num_key; char **params = NULL; int i = 0; parsize = (2 * zend_hash_num_elements(parht) + 1) * sizeof(char *); params = (char **)safe_emalloc((2 * zend_h...
0
455,354
wdequote_pathname (pathname) char *pathname; { mbstate_t ps; size_t len, n; wchar_t *wpathname; int i, j; wchar_t *orig_wpathname; if (mbsmbchar (pathname) == 0) { udequote_pathname (pathname); return; } len = strlen (pathname); /* Convert the strings into wide characters. */...
0
452,992
static bool nft_dup_netdev_offload_action(const struct nft_expr *expr) { return true; }
0
90,889
void DidGetUsage(int64 usage) { DCHECK(original_message_loop()->BelongsToCurrentThread()); DCHECK(!pending_origins_.empty()); DCHECK(client_tracker_); DCHECK_GE(usage, 0); if (usage < 0) usage = 0; const GURL& origin = pending_origins_.front(); std::string host = net::GetHostOrSpec...
0
359,570
DEFUN (no_neighbor_disable_connected_check, no_neighbor_disable_connected_check_cmd, NO_NEIGHBOR_CMD2 "disable-connected-check", NO_STR NEIGHBOR_STR NEIGHBOR_ADDR_STR2 "one-hop away EBGP peer using loopback address\n") { return peer_flag_unset_vty (vty, argv[0], PEER_FLAG_DIS...
0
512,610
longlong val_int() { return longlong_from_string_with_check(&str_value); }
0
332,393
do_pending_operator(cmdarg_T *cap, int old_col, int gui_yank) { oparg_T *oap = cap->oap; pos_T old_cursor; int empty_region_error; int restart_edit_save; #ifdef FEAT_LINEBREAK int lbr_saved = curwin->w_p_lbr; #endif // The visual area is remembered for redo static redo_VIsual_T redo_VI...
0
522,344
int GmfCloseMesh(int64_t MshIdx) { int i, res = 1; GmfMshSct *msh = (GmfMshSct *)MshIdx; RecBlk(msh, msh->buf, 0); // In write down the "End" kw in write mode if(msh->mod == GmfWrite) { if(msh->typ & Asc) fprintf(msh->hdl, "\n%s\n", GmfKwdFmt[ GmfEnd ][0]); else GmfSetK...
0
309,867
skip_delay(const char *s) { if (s[0] == '$' && s[1] == '<') { s += 2; while (isdigit(UChar(*s)) || *s == '/') ++s; if (*s == '>') ++s; } return s; }
0
309,904
termattrs(void) { return NCURSES_SP_NAME(termattrs) (CURRENT_SCREEN); }
0
225,664
GF_Box *edts_box_new() { ISOM_DECL_BOX_ALLOC(GF_EditBox, GF_ISOM_BOX_TYPE_EDTS); return (GF_Box *) tmp; }
0
195,056
inline void BiasAndClamp(float clamp_min, float clamp_max, int bias_size, const float* bias_data, int array_size, float* array_data) { // Note: see b/132215220: in May 2019 we thought it would be OK to replace // this with the Eigen one-liner: // return (array.c...
1
398,542
static void free_loc_table_list(RzBinDwarfLocList *loc_list) { RzListIter *iter; RzBinDwarfLocRange *range; rz_list_foreach (loc_list->list, iter, range) { free(range->expression->data); free(range->expression); free(range); } rz_list_free(loc_list->list); free(loc_list); }
0
244,294
GF_Err strk_box_write(GF_Box *s, GF_BitStream *bs) { return gf_isom_box_write_header(s, bs); }
0
101,688
static WebProcessProxy::WebPageProxyMap& globalPageMap() { ASSERT(isMainThread()); DEFINE_STATIC_LOCAL(WebProcessProxy::WebPageProxyMap, pageMap, ()); return pageMap; }
0
254,898
shared_ptr<Sorter<Value, Value>::Iterator> DocumentSourceGroup::spill() { _usedDisk = true; vector<const GroupsMap::value_type*> ptrs; // using pointers to speed sorting ptrs.reserve(_groups->size()); for (GroupsMap::const_iterator it = _groups->begin(), end = _groups->end(); it != end; ++it) { ...
0
424,908
static int iwl_pcie_load_section(struct iwl_trans *trans, u8 section_num, const struct fw_desc *section) { u8 *v_addr; dma_addr_t p_addr; u32 offset, chunk_sz = min_t(u32, FH_MEM_TB_MAX_LENGTH, section->len); int ret = 0; IWL_DEBUG_FW(trans, "[%d] uCode section being loaded...\n", section_num); v_...
0
343,232
void dorest(const char *name) { char *endptr; restartat = (off_t) strtoull(name, &endptr, 10); if (*endptr != 0 || restartat < (off_t) 0) { restartat = 0; addreply(554, MSG_REST_NOT_NUMERIC "\n" MSG_REST_RESET); } else { if (type == 1 && restartat != 0) { #ifdef STRICT_REST ...
0
421,388
static void in(int d) { if (minify < 1) while (d-- > 0) putchar('\t'); }
0
424,926
void iwl_pcie_synchronize_irqs(struct iwl_trans *trans) { struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); if (trans_pcie->msix_enabled) { int i; for (i = 0; i < trans_pcie->alloc_vecs; i++) synchronize_irq(trans_pcie->msix_entries[i].vector); } else { synchronize_irq(trans_pcie->pci_d...
0
216,861
EC_GROUP *EC_GROUP_new_from_ecparameters(const ECPARAMETERS *params) { int ok = 0, tmp; EC_GROUP *ret = NULL, *dup = NULL; BIGNUM *p = NULL, *a = NULL, *b = NULL; EC_POINT *point = NULL; long field_bits; int curve_name = NID_undef; BN_CTX *ctx = NULL; if (!params->fieldID || !params->fi...
1
197,185
static int adts_decode_extradata(AVFormatContext *s, ADTSContext *adts, const uint8_t *buf, int size) { GetBitContext gb; PutBitContext pb; MPEG4AudioConfig m4ac; int off; init_get_bits(&gb, buf, size * 8); off = avpriv_mpeg4audio_get_config2(&m4ac, buf, size, 1, s); if (off < 0) re...
1
301,424
static NTSTATUS vfswrap_fset_nt_acl(vfs_handle_struct *handle, files_struct *fsp, uint32 security_info_sent, const struct security_descriptor *psd) { NTSTATUS result; START_PROFILE(fset_nt_acl); result = set_nt_acl(fsp, security_info_sent, psd); END_PROFILE(fset_nt_acl); return result; }
0
374,043
static RBinInfo *info(RBinFile *bf) { SymbolsMetadata sm = parseMetadata (bf->buf, 0x40); RBinInfo *ret = R_NEW0 (RBinInfo); if (!ret) { return NULL; } ret->file = strdup (bf->file); ret->bclass = strdup ("symbols"); ret->os = strdup ("unknown"); ret->arch = sm.arch ? strdup (sm.arch) : NULL; ret->bits = sm....
0
400,405
edit( int cmdchar, int startln, // if set, insert at start of line long count) { int c = 0; char_u *ptr; int lastc = 0; int mincol; static linenr_T o_lnum = 0; int i; int did_backspace = TRUE; // previous char was backspace int line_is_white = FALSE; // line i...
0
411,790
on_name_acquired (GDBusConnection *connection, const gchar *name, gpointer user_data) { g_bus_watch_name (G_BUS_TYPE_SESSION, "org.gnome.SessionManager", G_BUS_NAME_WATCHER_FLAGS_NONE, name_appeared_handler, NU...
0
336,511
void reds_unregister_channel(RedsState *reds, RedChannel *channel) { reds->channels.remove(red::shared_ptr<RedChannel>(channel)); }
0
226,304
GF_Err gitn_box_read(GF_Box *s, GF_BitStream *bs) { u32 i; GF_Err e; GroupIdToNameBox *ptr = (GroupIdToNameBox *)s; ISOM_DECREASE_SIZE(ptr, 2); ptr->nb_entries = gf_bs_read_u16(bs); if (ptr->size / 4 < ptr->nb_entries) return GF_ISOM_INVALID_FILE; GF_SAFE_ALLOC_N(ptr->entries, ptr->nb_entries, GroupIdNameEn...
0
404,736
static inline unsigned last_fd(struct fdtable *fdt) { return fdt->max_fds - 1; }
0
310,199
reset_scroll_region(NCURSES_SP_DCL0) /* Set the scroll-region to a known state (the default) */ { if (change_scroll_region) { NCURSES_PUTP2("change_scroll_region", TIPARM_2(change_scroll_region, 0, screen_lines(SP_PARM) - 1)); } }
0
234,212
init_dwarf_regnames_iamcu (void) { dwarf_regnames = dwarf_regnames_iamcu; dwarf_regnames_count = ARRAY_SIZE (dwarf_regnames_iamcu); dwarf_regnames_lookup_func = regname_internal_by_table_only; }
0