idx
int64
func
string
target
int64
195,040
Status BuildXlaCompilationCache(DeviceBase* device, FunctionLibraryRuntime* flr, const XlaPlatformInfo& platform_info, XlaCompilationCache** cache) { if (platform_info.xla_device_metadata()) { *cache = new XlaCompilationCache( platform_info.x...
1
197,466
void RestoreTensor(OpKernelContext* context, checkpoint::TensorSliceReader::OpenTableFunction open_func, int preferred_shard, bool restore_slice, int restore_index) { const Tensor& file_pattern_t = context->input(0); { const int64_t size = file_pattern_t.NumElements(); ...
1
231,746
TEST_F(QuicUnencryptedServerTransportTest, TestEncryptedDataBeforeCFIN) { getFakeHandshakeLayer()->allowZeroRttKeys(); // This should trigger derivation of keys. recvClientHello(); StreamId streamId = 4; recvEncryptedStream(streamId, *IOBuf::copyBuffer("hello")); auto stream = server->getNonConstConn().st...
0
197,128
gen_assignment(codegen_scope *s, node *tree, node *rhs, int sp, int val) { int idx; int type = nint(tree->car); switch (type) { case NODE_GVAR: case NODE_ARG: case NODE_LVAR: case NODE_IVAR: case NODE_CVAR: case NODE_CONST: case NODE_NIL: case NODE_MASGN: if (rhs) { codegen(s, rhs, VAL)...
1
474,095
setup_tree(Node* node, regex_t* reg, int state, ScanEnv* env) { int type; int r = 0; restart: type = NTYPE(node); switch (type) { case NT_LIST: { Node* prev = NULL_NODE; do { r = setup_tree(NCAR(node), reg, state, env); if (IS_NOT_NULL(prev) && r == 0) { r = next_setup(prev, NCAR(node), ...
0
275,962
unsigned uECC_curve_num_bits(uECC_Curve curve) { return curve->num_bytes * 8; }
0
404,735
struct file *fget_many(unsigned int fd, unsigned int refs) { return __fget(fd, FMODE_PATH, refs); }
0
221,666
bool Socket::writeString(const char *line) //throw(std::exception) { int l = strlen(line); return writeToSocket(line, l, 0, timeout); }
0
450,398
static void zrle_write_u32(VncState *vs, uint32_t value) { vnc_write(vs, (uint8_t *)&value, 4); }
0
338,160
bool WasmBinaryBuilder::maybeVisitArrayInit(Expression*& out, uint32_t code) { if (code == BinaryConsts::ArrayInitStatic) { auto heapType = getIndexedHeapType(); auto size = getU32LEB(); std::vector<Expression*> values(size); for (size_t i = 0; i < size; i++) { values[size - i - 1] = popNonVoidE...
0
312,460
mark_quickfix_ctx(qf_info_T *qi, int copyID) { int i; int abort = FALSE; typval_T *ctx; callback_T *cb; for (i = 0; i < LISTCOUNT && !abort; ++i) { ctx = qi->qf_lists[i].qf_ctx; if (ctx != NULL && ctx->v_type != VAR_NUMBER && ctx->v_type != VAR_STRING && ctx->v_type != VAR_FLOAT) abo...
0
247,669
TEST_P(SslSocketTest, Ipv6San) { const std::string client_ctx_yaml = R"EOF( common_tls_context: validation_context: trusted_ca: filename: "{{ test_rundir }}/test/config/integration/certs/upstreamcacert.pem" match_typed_subject_alt_names: - san_type: IP_ADDRESS matcher: ...
0
328,908
R_API void r_bin_java_print_synthetic_attr_summary(RBinJavaAttrInfo *attr) { if (attr == NULL) { eprintf ("Attempting to print an invalid RBinJavaAttrInfo *Synthetic.\n"); return; } printf ("Synthetic Attribute Information:\n"); printf (" Attribute Offset: 0x%08"PFMT64x "\n", attr->file_offset); printf (" At...
0
487,666
asmlinkage long sys_setpgid(pid_t pid, pid_t pgid) { struct task_struct *p; struct task_struct *group_leader = current->group_leader; int err = -EINVAL; if (!pid) pid = group_leader->pid; if (!pgid) pgid = pid; if (pgid < 0) return -EINVAL; /* From this point forward we keep holding onto the tasklist loc...
0
309,870
reset_color_pair(NCURSES_SP_DCL0) { #ifdef USE_TERM_DRIVER return CallDriver(SP_PARM, td_rescol); #else bool result = FALSE; (void) SP_PARM; if (orig_pair != 0) { (void) NCURSES_PUTP2("orig_pair", orig_pair); result = TRUE; } return result; #endif }
0
225,915
GF_Err fdsa_on_child_box(GF_Box *s, GF_Box *a, Bool is_rem) { GF_HintSample *ptr = (GF_HintSample *)s; switch(a->type) { case GF_ISOM_BOX_TYPE_FDPA: BOX_FIELD_LIST_ASSIGN(packetTable) return GF_OK; case GF_ISOM_BOX_TYPE_EXTR: BOX_FIELD_ASSIGN(extra_data, GF_ExtraDataBox) break; } return GF_OK;
0
509,568
int ha_maria::repair(THD *thd, HA_CHECK *param, bool do_optimize) { int error= 0; ulonglong local_testflag= param->testflag; bool optimize_done= !do_optimize, statistics_done= 0, full_repair_done= 0; const char *old_proc_info= thd->proc_info; char fixed_name[FN_REFLEN]; MARIA_SHARE *share= file->s; ha_row...
0
401,586
static void crng_backtrack_protect(__u8 tmp[CHACHA_BLOCK_SIZE], int used) { struct crng_state *crng = NULL; #ifdef CONFIG_NUMA if (crng_node_pool) crng = crng_node_pool[numa_node_id()]; if (crng == NULL) #endif crng = &primary_crng; _crng_backtrack_protect(crng, tmp, used); }
0
513,358
do_select(JOIN *join, Procedure *procedure) { int rc= 0; enum_nested_loop_state error= NESTED_LOOP_OK; DBUG_ENTER("do_select"); if (join->pushdown_query) { /* Select fields are in the temporary table */ join->fields= &join->tmp_fields_list1; /* Setup HAVING to work with fields in temporary table ...
0
369,180
static inline void __io_queue_sqe(struct io_kiocb *req) __must_hold(&req->ctx->uring_lock) { struct io_kiocb *linked_timeout; int ret; ret = io_issue_sqe(req, IO_URING_F_NONBLOCK|IO_URING_F_COMPLETE_DEFER); if (req->flags & REQ_F_COMPLETE_INLINE) { io_req_add_compl_list(req); return; } /* * We async punt...
0
225,417
static int vidioc_streamoff(struct file *file, void *fh, enum v4l2_buf_type type) { struct v4l2_loopback_device *dev; MARK(); dprintk("%d\n", type); dev = v4l2loopback_getdevice(file); switch (type) { case V4L2_BUF_TYPE_VIDEO_OUTPUT: if (dev->ready_for_capture > 0) dev->ready_for_capture--; return...
0
238,438
static const char *kernel_type_name(const struct btf* btf, u32 id) { return btf_name_by_offset(btf, btf_type_by_id(btf, id)->name_off); }
0
513,028
int Arg_comparator::compare_e_time() { THD *thd= current_thd; longlong val1= (*a)->val_time_packed(thd); longlong val2= (*b)->val_time_packed(thd); if ((*a)->null_value || (*b)->null_value) return MY_TEST((*a)->null_value && (*b)->null_value); return MY_TEST(val1 == val2); }
0
283,749
static void zynq_slcr_reset_hold(Object *obj) { ZynqSLCRState *s = ZYNQ_SLCR(obj); /* will disable all output clocks */ zynq_slcr_compute_clocks(s); zynq_slcr_propagate_clocks(s); }
0
437,404
vhost_user_set_features(struct virtio_net **pdev, struct VhostUserMsg *msg, int main_fd __rte_unused) { struct virtio_net *dev = *pdev; uint64_t features = msg->payload.u64; uint64_t vhost_features = 0; struct rte_vdpa_device *vdpa_dev; int did = -1; rte_vhost_driver_get_features(dev->ifname, &vhost_features)...
0
432,169
void address_space_destroy(AddressSpace *as) { MemoryRegion *root = as->root; /* Flush out anything from MemoryListeners listening in on this */ memory_region_transaction_begin(); as->root = NULL; memory_region_transaction_commit(root); QTAILQ_REMOVE(&as->uc->address_spaces, as, address_spaces_...
0
246,449
static RBinWasmCustomNameEntry *parse_custom_name_entry(RBinWasmObj *bin, ut64 bound) { RBuffer *b = bin->buf; RBinWasmCustomNameEntry *cust = R_NEW0 (RBinWasmCustomNameEntry); if (!cust) { return NULL; } cust->type = R_BIN_WASM_NAMETYPE_None; size_t start = r_buf_tell (b); if (!consume_u7_r (b, bound, &cust-...
0
245,714
process_client_headers (struct conn_s *connptr, orderedmap hashofheaders) { static const char *skipheaders[] = { "host", "keep-alive", "proxy-connection", "te", "trailers", "upgrade" }; int i; ...
0
389,710
typval_compare( typval_T *tv1, // first operand typval_T *tv2, // second operand exprtype_T type, // operator int ic) // ignore case { varnumber_T n1, n2; int res = 0; int type_is = type == EXPR_IS || type == EXPR_ISNOT; if (type_is && tv1->v_type != tv2->v_type) { // For ...
0
269,507
static Image *ReadTIFFImage(const ImageInfo *image_info, ExceptionInfo *exception) { #define ThrowTIFFException(severity,message) \ { \ if (pixel_info != (MemoryInfo *) NULL) \ pixel_info=RelinquishVirtualMemory(pixel_info); \ if (quantum_info != (QuantumInfo *) NULL) \ quantum_info=DestroyQuantumInfo(qua...
0
210,271
sug_filltree(spellinfo_T *spin, slang_T *slang) { char_u *byts; idx_T *idxs; int depth; idx_T arridx[MAXWLEN]; int curi[MAXWLEN]; char_u tword[MAXWLEN]; char_u tsalword[MAXWLEN]; int c; idx_T n; unsigned words_done = 0; int wordcount[MAXWLEN]; // We use si_foldroot f...
1
250,686
std::string HttpFile::getMd5() const { return implPtr_->getMd5(); }
0
245,692
njs_array_length_set(njs_vm_t *vm, njs_value_t *value, njs_object_prop_t *prev, njs_value_t *setval) { double num, idx; int64_t prev_length; uint32_t i, length; njs_int_t ret; njs_array_t *array, *keys; array = njs_object_proto_lookup(njs_object(value), NJS_ARRAY, nj...
0
291,764
static void destroy_con(struct rtrs_clt_con *con) { struct rtrs_clt_path *clt_path = to_clt_path(con->c.path); clt_path->s.con[con->c.cid] = NULL; mutex_destroy(&con->con_mutex); kfree(con); }
0
259,222
static int avif_add_stream(MOVContext *c, int item_id) { MOVStreamContext *sc; AVStream *st; int item_index = -1; for (int i = 0; i < c->avif_info_size; i++) if (c->avif_info[i].item_id == item_id) { item_index = i; break; } if (item_index < 0) return ...
0
424,531
static UINT video_control_on_close(IWTSVirtualChannelCallback* pChannelCallback) { free(pChannelCallback); return CHANNEL_RC_OK; }
0
244,301
GF_Err sbgp_box_read(GF_Box *s, GF_BitStream *bs) { u32 i; GF_SampleGroupBox *ptr = (GF_SampleGroupBox *)s; ISOM_DECREASE_SIZE(ptr, 8); ptr->grouping_type = gf_bs_read_u32(bs); if (ptr->version==1) { ISOM_DECREASE_SIZE(ptr, 4); ptr->grouping_type_parameter = gf_bs_read_u32(bs); } ptr->entry_count = gf_bs_r...
0
221,508
flatpak_run_add_app_info_args (FlatpakBwrap *bwrap, GFile *app_files, GFile *original_app_files, GBytes *app_deploy_data, const char *app_extens...
0
291,794
static int rtrs_post_send_rdma(struct rtrs_clt_con *con, struct rtrs_clt_io_req *req, struct rtrs_rbuf *rbuf, u32 off, u32 imm, struct ib_send_wr *wr) { struct rtrs_clt_path *clt_path = to_clt_path(con->c.path); enum ib_send_flags flags; struct ib_sge sge; if (!req->sg_size) { rtrs_wrn(con->c.path, ...
0
473,912
euckr_is_code_ctype(OnigCodePoint code, unsigned int ctype, OnigEncoding enc) { return onigenc_mb2_is_code_ctype(enc, code, ctype); }
0
226,398
void def_parent_full_box_del(GF_Box *s) { if (s) gf_free(s); }
0
279,916
set_old_sub(char_u *val) { vim_free(old_sub); old_sub = val; }
0
462,440
addSess(ptcplstn_t *pLstn, int sock, prop_t *peerName, prop_t *peerIP) { DEFiRet; ptcpsess_t *pSess = NULL; ptcpsrv_t *pSrv = pLstn->pSrv; CHKmalloc(pSess = malloc(sizeof(ptcpsess_t))); CHKmalloc(pSess->pMsg = malloc(iMaxLine)); pSess->pLstn = pLstn; pSess->sock = sock; pSess->bSuppOctetFram = pLstn->bSuppOcte...
0
332,385
op_insert(oparg_T *oap, long count1) { long ins_len, pre_textlen = 0; char_u *firstline, *ins_text; colnr_T ind_pre_col = 0, ind_post_col; int ind_pre_vcol = 0, ind_post_vcol = 0; struct block_def bd; int i; pos_T t1; pos_T start_insert; // offset when cursor was moved in ins...
0
195,289
void Compute(OpKernelContext* context) override { const Tensor& indices = context->input(0); const Tensor& values = context->input(1); const Tensor& shape = context->input(2); const Tensor& weights = context->input(3); bool use_weights = weights.NumElements() > 0; OP_REQUIRES(context, TensorS...
1
391,667
static void defer_open_done(struct tevent_req *req) { struct defer_open_state *state = tevent_req_callback_data( req, struct defer_open_state); NTSTATUS status; bool ret; status = dbwrap_record_watch_recv(req, talloc_tos(), NULL); TALLOC_FREE(req); if (!NT_STATUS_IS_OK(status)) { DEBUG(5, ("dbwrap_record_wat...
0
261,893
njs_string_decode_uri(njs_vm_t *vm, njs_value_t *args, njs_uint_t nargs, njs_index_t component) { u_char *dst; int64_t size, length; uint32_t cp; njs_int_t ret; njs_chb_t chain; njs_uint_t i, n; njs_bool_t ...
0
459,003
HTTP_Clone(struct http *to, const struct http * const fm) { HTTP_Dup(to, fm); to->vsl = fm->vsl; to->ws = fm->ws; }
0
256,138
void Compute(OpKernelContext* ctx) override { const Tensor& a = ctx->input(0); const Tensor& b = ctx->input(1); OP_REQUIRES(ctx, TensorShapeUtils::IsMatrix(a.shape()), errors::InvalidArgument("a is not a matrix")); OP_REQUIRES(ctx, TensorShapeUtils::IsMatrix(b.shape()), ...
0
247,677
TEST_P(SslSocketTest, GetUriWithLocalUriSan) { const std::string client_ctx_yaml = R"EOF( common_tls_context: tls_certificates: certificate_chain: filename: "{{ test_rundir }}/test/extensions/transport_sockets/tls/test_data/no_san_cert.pem" private_key: filename: "{{ test_rundir }}/t...
0
343,255
void dofeat(void) { # define FEAT "Extensions supported:" CRLF \ " UTF8" CRLF \ " EPRT" CRLF " IDLE" CRLF " MDTM" CRLF " SIZE" CRLF " MFMT" CRLF \ " REST STREAM" CRLF \ " MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;" CRLF \ " MLSD" CRLF \ " PRET" # ifdef WITH_TLS # d...
0
263,503
static int sco_sock_getsockopt(struct socket *sock, int level, int optname, char __user *optval, int __user *optlen) { struct sock *sk = sock->sk; int len, err = 0; struct bt_voice voice; u32 phys; int pkt_status; BT_DBG("sk %p", sk); if (level == SOL_SCO) return sco_sock_getsockopt_old(sock, optna...
0
204,438
WandPrivate void CLINoImageOperator(MagickCLI *cli_wand, const char *option,const char *arg1n,const char *arg2n) { const char /* percent escaped versions of the args */ *arg1, *arg2; #define _image_info (cli_wand->wand.image_info) #define _images (cli_wand->wand.images) #define _exception ...
1
308,202
fastrpc_map_dma_buf(struct dma_buf_attachment *attachment, enum dma_data_direction dir) { struct fastrpc_dma_buf_attachment *a = attachment->priv; struct sg_table *table; table = &a->sgt; if (!dma_map_sg(attachment->dev, table->sgl, table->nents, dir)) return ERR_PTR(-ENOMEM); return table; }
0
369,128
__must_hold(&req->ctx->timeout_lock) { struct io_timeout_data *io = req->async_data; if (hrtimer_try_to_cancel(&io->timer) != -1) { if (status) req_set_fail(req); atomic_set(&req->ctx->cq_timeouts, atomic_read(&req->ctx->cq_timeouts) + 1); list_del_init(&req->timeout.list); io_fill_cqe_req(req, status...
0
238,569
static int check_stack_access_for_ptr_arithmetic( struct bpf_verifier_env *env, int regno, const struct bpf_reg_state *reg, int off) { if (!tnum_is_const(reg->var_off)) { char tn_buf[48]; tnum_strn(tn_buf, sizeof(tn_buf), reg->var_off); verbose(env, "R%d variable stack access prohibited for !roo...
0
225,894
GF_Box *moov_box_new() { ISOM_DECL_BOX_ALLOC(GF_MovieBox, GF_ISOM_BOX_TYPE_MOOV); tmp->trackList = gf_list_new(); if (!tmp->trackList) { gf_free(tmp); return NULL; } return (GF_Box *)tmp; }
0
226,257
GF_Err sdp_box_size(GF_Box *s) { GF_SDPBox *ptr = (GF_SDPBox *)s; //don't count the NULL char!!! if (ptr->sdpText) ptr->size += strlen(ptr->sdpText); return GF_OK; }
0
473,996
left_adjust_char_head(const UChar* start, const UChar* s, const UChar* end, OnigEncoding enc ARG_UNUSED) { const UChar *p; if (s <= start) return (UChar* )s; p = s; while (!utf8_islead(*p) && p > start) p--; return (UChar* )p; }
0
274,738
gchar *utf8_strncpy(gchar *dst, const gchar *src, gsize byte_len) { /* -1 for '\0' in buffer */ glong char_len = g_utf8_strlen(src, byte_len - 1); return g_utf8_strncpy(dst, src, char_len); }
0
318,766
drill_parse_header_is_metric(gerb_file_t *fd, drill_state_t *state, gerbv_image_t *image, ssize_t file_line) { gerbv_drill_stats_t *stats = image->drill_stats; char c, op[3]; dprintf(" %s(): entering\n", __FUNCTION__); /* METRIC is not an actual M code but a command that is only * acceptabl...
0
459,215
static void tcf_proto_mark_delete(struct tcf_proto *tp) { spin_lock(&tp->lock); tp->deleting = true; spin_unlock(&tp->lock); }
0
313,547
int rose_rt_ioctl(unsigned int cmd, void __user *arg) { struct rose_route_struct rose_route; struct net_device *dev; int err; switch (cmd) { case SIOCADDRT: if (copy_from_user(&rose_route, arg, sizeof(struct rose_route_struct))) return -EFAULT; if ((dev = rose_ax25_dev_find(rose_route.device)) == NULL) ...
0
489,137
static sctp_disposition_t sctp_sf_do_unexpected_init( const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) { sctp_disposition_t retval; struct sctp_chunk *chunk = arg; struct sctp_chunk *repl; struct sctp_association *new_asoc; str...
0
384,779
getwhitecols(char_u *p) { return skipwhite(p) - p; }
0
225,620
GF_Box *stsh_box_new() { ISOM_DECL_BOX_ALLOC(GF_ShadowSyncBox, GF_ISOM_BOX_TYPE_STSH); tmp->entries = gf_list_new(); if (!tmp->entries) { gf_free(tmp); return NULL; } return (GF_Box *)tmp; }
0
379,322
parse_cmd_address(exarg_T *eap, char **errormsg, int silent) { int address_count = 1; linenr_T lnum; int need_check_cursor = FALSE; int ret = FAIL; // Repeat for all ',' or ';' separated addresses. for (;;) { eap->line1 = eap->line2; eap->line2 = default_address(eap); eap->cmd = skipw...
0
336,552
RedCharDeviceVDIPort::RedCharDeviceVDIPort(RedsState *reds): RedCharDevice(reds, nullptr, REDS_TOKENS_TO_SEND, REDS_NUM_INTERNAL_AGENT_MESSAGES) { priv->read_state = VDI_PORT_READ_STATE_READ_HEADER; priv->receive_pos = (uint8_t *)&priv->vdi_chunk_header; priv->receive_len = sizeof(priv->vdi_chunk_header...
0
498,081
static void print_header(void) { char *logo = NULL, *logo_link = NULL; html("<table id='header'>\n"); html("<tr>\n"); if (ctx.repo && ctx.repo->logo && *ctx.repo->logo) logo = ctx.repo->logo; else logo = ctx.cfg.logo; if (ctx.repo && ctx.repo->logo_link && *ctx.repo->logo_link) logo_link = ctx.repo->logo_...
0
437,407
translate_ring_addresses(struct virtio_net *dev, int vq_index) { struct vhost_virtqueue *vq = dev->virtqueue[vq_index]; struct vhost_vring_addr *addr = &vq->ring_addrs; uint64_t len, expected_len; if (vq_is_packed(dev)) { len = sizeof(struct vring_packed_desc) * vq->size; vq->desc_packed = (struct vring_packed...
0
483,489
static int __init efisubsys_init(void) { int error; if (!efi_enabled(EFI_BOOT)) return 0; /* * Since we process only one efi_runtime_service() at a time, an * ordered workqueue (which creates only one execution context) * should suffice all our needs. */ efi_rts_wq = alloc_ordered_workqueue("efi_rts_wq"...
0
96,946
bool decode(ArgumentDecoder* decoder, RetainPtr<CFDateRef>& result) { double absoluteTime; if (!decoder->decodeDouble(absoluteTime)) return false; result.adoptCF(CFDateCreate(0, absoluteTime)); return true; }
0
513,314
pick_table_access_method(JOIN_TAB *tab) { switch (tab->type) { case JT_REF: tab->read_first_record= join_read_always_key; tab->read_record.read_record= join_read_next_same; break; case JT_REF_OR_NULL: tab->read_first_record= join_read_always_key_or_null; tab->read_record.read_record= join_...
0
301,443
static int vfswrap_fstat(vfs_handle_struct *handle, files_struct *fsp, SMB_STRUCT_STAT *sbuf) { int result; START_PROFILE(syscall_fstat); result = sys_fstat(fsp->fh->fd, sbuf, lp_fake_dir_create_times(SNUM(handle->conn))); END_PROFILE(syscall_fstat); return result; }
0
301,412
static ssize_t vfswrap_sendfile(vfs_handle_struct *handle, int tofd, files_struct *fromfsp, const DATA_BLOB *hdr, off_t offset, size_t n) { ssize_t result; START_PROFILE_BYTES(syscall_sendfile, n); result = sys_sendfile(tofd, fromfsp->fh->fd, hdr, offset, n); END_PROFILE(syscall_sendfile); return result; }
0
242,268
PamData(BareosSocket* UA_sock, const std::string& passwd) : UA_sock_(UA_sock), passwd_(passwd) { }
0
270,920
::tensorflow::Status MakeSplits( const Tensor& indices_in, const OpInputList& params_nested_splits_in, SPLITS_TYPE num_params_dense_values, std::vector<std::vector<SPLITS_TYPE>>* out_splits, std::vector<std::pair<SPLITS_TYPE, SPLITS_TYPE>>* value_slices, SPLITS_TYPE* num_values) { *n...
0
503,855
SCM_DEFINE (scm_close_fdes, "close-fdes", 1, 0, 0, (SCM fd), "A simple wrapper for the @code{close} system call.\n" "Close file descriptor @var{fd}, which must be an integer.\n" "Unlike close (@pxref{Ports and File Descriptors, close}),\n" "the file descriptor will be closed even if a p...
0
261,423
static int decode_sao_offset_sign(thread_context* tctx) { logtrace(LogSlice,"# sao_offset_sign\n"); int value = decode_CABAC_bypass(&tctx->cabac_decoder); logtrace(LogSymbols,"$1 sao_offset_sign=%d\n",value); return value; }
0
244,014
GF_Err trex_box_size(GF_Box *s) { GF_TrackExtendsBox *ptr = (GF_TrackExtendsBox *)s; ptr->size += 20; return GF_OK; }
0
225,475
string SwapNodeNamesSwitchControlErrorMsg(absl::string_view node_name) { return absl::Substitute( "can't swap node name '$0' as it will become a Switch control dependency", node_name); }
0
225,441
static int vidioc_g_fmt_cap(struct file *file, void *priv, struct v4l2_format *fmt) { struct v4l2_loopback_device *dev; MARK(); dev = v4l2loopback_getdevice(file); if (!dev->ready_for_capture) return -EINVAL; fmt->fmt.pix = dev->pix_format; MARK(); return 0; }
0
383,304
gdImageLine (gdImagePtr im, int x1, int y1, int x2, int y2, int color) { int dx, dy, incr1, incr2, d, x, y, xend, yend, xdirflag, ydirflag; int wid; int w, wstart; int thick = im->thick; /* 2.0.10: Nick Atty: clip to edges of drawing rectangle, return if no points need to be drawn */ if (!clip_1d(&x1,&y1,&x2,&y2...
0
398,525
RZ_API void rz_bin_dwarf_debug_abbrev_free(RzBinDwarfDebugAbbrev *da) { size_t i; if (!da) { return; } for (i = 0; i < da->count; i++) { RZ_FREE(da->decls[i].defs); } RZ_FREE(da->decls); free(da); }
0
247,682
void setExpectedClientCertUri(const std::string& expected_client_cert_uri) { expected_client_cert_uri_ = {expected_client_cert_uri}; }
0
401,511
static inline void timers_update_migration(void) { }
0
508,315
open_and_process_table(THD *thd, TABLE_LIST *tables, uint *counter, uint flags, Prelocking_strategy *prelocking_strategy, bool has_prelocking_list, Open_table_context *ot_ctx) { bool error= FALSE; bool safe_to_ignore_table= FALSE; LEX *lex= thd->lex; DBUG_ENTER("ope...
0
261,214
int wm_SemInit(wm_Sem *s) { *s = xSemaphoreCreateBinary(); xSemaphoreGive(*s); return 0; }
0
195,626
static size_t send_control_msg(VirtIOSerial *vser, void *buf, size_t len) { VirtQueueElement elem; VirtQueue *vq; vq = vser->c_ivq; if (!virtio_queue_ready(vq)) { return 0; } if (!virtqueue_pop(vq, &elem)) { return 0; } memcpy(elem.in_sg[0].iov_base, buf, len); vir...
1
384,908
vim_FullName( char_u *fname, char_u *buf, int len, int force) // force expansion even when already absolute { int retval = OK; int url; *buf = NUL; if (fname == NULL) return FAIL; url = path_with_url(fname); if (!url) retval = mch_FullName(fname, buf, len, force); ...
0
244,172
void tfdt_box_del(GF_Box *s) { gf_free(s); }
0
211,136
static RzDyldRebaseInfos *get_rebase_infos(RzDyldCache *cache) { RzDyldRebaseInfos *result = RZ_NEW0(RzDyldRebaseInfos); if (!result) { return NULL; } if (!cache->hdr->slideInfoOffset || !cache->hdr->slideInfoSize) { ut32 total_slide_infos = 0; ut32 n_slide_infos[MAX_N_HDR]; ut32 i; for (i = 0; i < cach...
1
224,572
Status QuantizeV2Shape(InferenceContext* c) { int axis = -1; Status s = c->GetAttr("axis", &axis); if (!s.ok() && s.code() != error::NOT_FOUND) { return s; } if (axis < -1) { return errors::InvalidArgument("axis should be at least -1, got ", axis); } const int minmax_rank = (axis == -1) ? 0 : 1; ...
0
343,269
char *skip_telnet_controls(const char *str) { if (str == NULL) { return NULL; } while (*str != 0 && (unsigned char) *str >= 240U) { str++; } return (char *) str; }
0
259,613
bool HierarchicalBitmapRequester::isNextMCULineReady(void) const { #if ACCUSOFT_CODE // MCUs can only be written if the smallest scale, which is written first, // is ready. return m_pSmallestScale->isNextMCULineReady(); #else return false; #endif }
0
256,459
JANET_CORE_FN(cfun_array_remove, "(array/remove arr at &opt n)", "Remove up to `n` elements starting at index `at` in array `arr`. `at` can index from " "the end of the array with a negative index, and `n` must be a non-negative integer. " "By default, `n` is 1. "...
0
282,988
LJ_NOINLINE void lj_err_callerv(lua_State *L, ErrMsg em, ...) { const char *msg; va_list argp; va_start(argp, em); msg = lj_str_pushvf(L, err2msg(em), argp); va_end(argp); lj_err_callermsg(L, msg); }
0
338,080
uint32_t WasmBinaryWriter::getFunctionIndex(Name name) const { auto it = indexes.functionIndexes.find(name); assert(it != indexes.functionIndexes.end()); return it->second; }
0
201,913
set_fflags_platform(struct archive_write_disk *a, int fd, const char *name, mode_t mode, unsigned long set, unsigned long clear) { int ret; int myfd = fd; int newflags, oldflags; /* * Linux has no define for the flags that are only settable by * the root user. This code may seem a little complex, but ...
1
234,772
static int chunk_profiles_filter(u64 chunk_type, struct btrfs_balance_args *bargs) { chunk_type = chunk_to_extended(chunk_type) & BTRFS_EXTENDED_PROFILE_MASK; if (bargs->profiles & chunk_type) return 0; return 1; }
0