idx
int64
func
string
target
int64
262,578
Filter::UpstreamRequest::~UpstreamRequest() { if (span_ != nullptr) { Tracing::HttpTracerUtility::finalizeUpstreamSpan(*span_, upstream_headers_.get(), upstream_trailers_.get(), stream_info_, Tracing::EgressC...
0
49,841
char_idx2byte(char_u *str, size_t str_len, varnumber_T idx) { varnumber_T nchar = idx; size_t nbyte = 0; if (nchar >= 0) { while (nchar > 0 && nbyte < str_len) { nbyte += mb_ptr2len(str + nbyte); --nchar; } } else { nbyte = str_len; while (nchar < 0 && nbyte > 0) { --nb...
0
322,402
static void av_always_inline filter_mb_edgecv( uint8_t *pix, int stride, int16_t bS[4], unsigned int qp, H264Context *h ) { const unsigned int index_a = qp + h->slice_alpha_c0_offset; const int alpha = alpha_table[index_a]; const int beta = beta_table[qp + h->slice_beta_offset]; if (alpha ==0 || be...
0
390,662
PHP_FUNCTION(log10) { double num; if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &num) == FAILURE) { return; } RETURN_DOUBLE(log10(num)); }
0
169,859
static int local_chown(FsContext *fs_ctx, V9fsPath *fs_path, FsCred *credp) { char *dirpath = g_path_get_dirname(fs_path->data); char *name = g_path_get_basename(fs_path->data); int ret = -1; int dirfd; dirfd = local_opendir_nofollow(fs_ctx, dirpath); if (dirfd == -1) { goto out; } ...
0
95,058
CLASS ~DCRaw() { free(ifname); free(ifname_display); }
0
419,225
server_client_detach(struct client *c, enum msgtype msgtype) { struct session *s = c->session; if (s == NULL || (c->flags & CLIENT_DETACHING)) return; c->flags |= CLIENT_DETACHING; notify_client("client-detached", c); proc_send(c->peer, msgtype, -1, s->name, strlen(s->name) + 1); }
0
449,653
HttpStateData::closeServer() { debugs(11,5, HERE << "closing HTTP server " << serverConnection << " this " << this); if (Comm::IsConnOpen(serverConnection)) { fwd->unregister(serverConnection); comm_remove_close_handler(serverConnection->fd, closeHandler); closeHandler = NULL; s...
0
407,155
rotate_backups(const char *fname) { #ifdef __VMS # define SEP "_" # define AVS ";*" /* All-version suffix. */ # define AVSL (sizeof (AVS) - 1) #else # define SEP "." # define AVSL 0 #endif int maxlen = strlen (fname) + sizeof (SEP) + numdigit (opt.backups) + AVSL; char *from = alloca (maxlen)...
0
471,110
parse_absolute_time(const char *s, uint64_t *tp) { struct tm tm; time_t tt; char buf[32], *fmt; *tp = 0; /* * POSIX strptime says "The application shall ensure that there * is white-space or other non-alphanumeric characters between * any two conversion specifications" so arrange things this way. */ swi...
0
522,571
void ha_close_connection(THD* thd) { plugin_foreach_with_mask(thd, closecon_handlerton, MYSQL_STORAGE_ENGINE_PLUGIN, PLUGIN_IS_DELETED|PLUGIN_IS_READY, 0); }
0
316,698
bool HTMLCanvasElement::IsWebGL2Enabled() const { Document& document = GetDocument(); LocalFrame* frame = document.GetFrame(); if (!frame) return false; Settings* settings = frame->GetSettings(); return settings && settings->GetWebGL2Enabled(); }
0
377,197
static void coroutine_fn bdrv_aio_discard_co_entry(void *opaque) { BlockDriverAIOCBCoroutine *acb = opaque; BlockDriverState *bs = acb->common.bs; acb->req.error = bdrv_co_discard(bs, acb->req.sector, acb->req.nb_sectors); acb->bh = qemu_bh_new(bdrv_co_em_bh, acb); qemu_bh_schedule(acb->bh); }
0
143,042
static int nl80211_set_cqm_rssi(struct genl_info *info, s32 threshold, u32 hysteresis) { struct cfg80211_registered_device *rdev = info->user_ptr[0]; struct wireless_dev *wdev; struct net_device *dev = info->user_ptr[1]; if (threshold > 0) return -EINVAL; wdev = dev->ieee80211_ptr; if (!rdev->ops->set_c...
0
298,026
static void gdImageVLine(gdImagePtr im, int x, int y1, int y2, int col) { if (im->thick > 1) { int thickhalf = im->thick >> 1; gdImageFilledRectangle(im, x - thickhalf, y1, x + im->thick - thickhalf - 1, y2, col); } else { if (y2 < y1) { int t = y1; y1 = y2; y2 = t; } for (;y1...
0
119,068
static void CL_OldGame(void) { if(cl_oldGameSet) { // change back to previous fs_game cl_oldGameSet = qfalse; Cvar_Set2("fs_game", cl_oldGame, qtrue); FS_ConditionalRestart(clc.checksumFeed, qfalse); } }
0
477,003
void isis_notif_reject_adjacency(const struct isis_circuit *circuit, const char *reason, const char *raw_pdu, size_t raw_pdu_len) { const char *xpath = "/frr-isisd:rejected-adjacency"; struct list *arguments = yang_data_list_new(); char xpath_arg[XPATH_MAXLEN]; struct yang_data *data; struct isis_area *a...
0
417,942
int RGWSetRequestPayment::verify_permission() { return verify_bucket_owner_or_policy(s, rgw::IAM::s3PutBucketRequestPayment); }
0
203,840
void RenderThreadImpl::CreateView(mojom::CreateViewParamsPtr params) { CompositorDependencies* compositor_deps = this; is_scroll_animator_enabled_ = params->web_preferences.enable_scroll_animator; RenderViewImpl::Create(compositor_deps, std::move(params), RenderWidget::ShowCallback()); }
0
301,970
is_wc_option(optnam) const char *optnam; { int k = 0; while (wc_options[k].wc_name) { if (strcmp(wc_options[k].wc_name, optnam) == 0) return TRUE; k++; } return FALSE; }
0
121,574
static struct mount *next_mnt(struct mount *p, struct mount *root) { struct list_head *next = p->mnt_mounts.next; if (next == &p->mnt_mounts) { while (1) { if (p == root) return NULL; next = p->mnt_child.next; if (next != &p->mnt_parent->mnt_mounts) break; p = p->mnt_parent; } } return list_...
0
246,997
void ChromeContentBrowserClient::AddNewCertificate( net::URLRequest* request, net::X509Certificate* cert, int render_process_id, int render_view_id) { new SSLAddCertHandler(request, cert, render_process_id, render_view_id); }
0
406,568
table_map not_null_tables() const { return (*ref)->not_null_tables(); }
0
243,452
bt_status_t btif_dm_cancel_bond(const bt_bdaddr_t *bd_addr) { bdstr_t bdstr; BTIF_TRACE_EVENT("%s: bd_addr=%s", __FUNCTION__, bdaddr_to_string(bd_addr, bdstr, sizeof(bdstr))); /* TODO: ** 1. Restore scan modes ** 2. special handling for HID devices */ if (pairing_cb.state == BT_BOND_STATE_BONDING...
0
10,052
xmlParseAttValueComplex(xmlParserCtxtPtr ctxt, int *attlen, int normalize) { xmlChar limit = 0; xmlChar *buf = NULL; xmlChar *rep = NULL; int len = 0; int buf_size = 0; int c, l, in_space = 0; xmlChar *current = NULL; xmlEntityPtr ent; if (NXT(0) == '"') { ctxt->instate = XML_PARSE...
1
39,829
fetch_var_cell_from_buf(buf_t *buf, var_cell_t **out, int linkproto) { char hdr[VAR_CELL_MAX_HEADER_SIZE]; var_cell_t *result; uint8_t command; uint16_t length; const int wide_circ_ids = linkproto >= MIN_LINK_PROTO_FOR_WIDE_CIRC_IDS; const int circ_id_len = get_circ_id_size(wide_circ_ids); const unsigned ...
0
480,130
strendswith(const char *str, const char *suffix) { size_t slen = strlen(str); size_t suffixlen = strlen(suffix); size_t offset; if (slen == 0 || suffixlen == 0 || suffixlen > slen) return false; offset = slen - suffixlen; return strneq(&str[offset], suffix, suffixlen); }
0
508,455
int SSL_CTX_set_default_verify_paths(SSL_CTX *ctx) { return (X509_STORE_set_default_paths(ctx->cert_store)); }
0
59,465
static void gf_hevc_vvc_parse_sei(char *buffer, u32 nal_size, HEVCState *hevc, VVCState *vvc) { u32 ptype, psize, hdr; u64 start; GF_BitStream *bs; hdr = buffer[0]; if (((hdr & 0x7e) >> 1) != GF_HEVC_NALU_SEI_PREFIX) return; bs = gf_bs_new(buffer, nal_size, GF_BITSTREAM_READ); gf_bs_enable_emulation_byte_remov...
0
142,819
virConnectDomainEventDeregisterAny(virConnectPtr conn, int callbackID) { VIR_DEBUG("conn=%p, callbackID=%d", conn, callbackID); virResetLastError(); virCheckConnectReturn(conn, -1); virCheckNonNegativeArgGoto(callbackID, error); if (conn->driver && conn->driver-...
0
153,623
msg_home_replace_hl(char_u *fname) { msg_home_replace_attr(fname, HL_ATTR(HLF_D)); }
0
106,934
void *bpf_internal_load_pointer_neg_helper(const struct sk_buff *skb, int k, unsigned int size) { u8 *ptr = NULL; if (k >= SKF_NET_OFF) ptr = skb_network_header(skb) + k - SKF_NET_OFF; else if (k >= SKF_LL_OFF) ptr = skb_mac_header(skb) + k - SKF_LL_OFF; if (ptr >= skb->head && ptr + size <= skb_tail_pointer(...
0
329,015
static float get_band_cost_ZERO_mips(struct AACEncContext *s, PutBitContext *pb, const float *in, const float *scaled, int size, int scale_idx, int cb, const float lambda, const float uplim, ...
1
409,290
static void digit_gen(diy_fp_t Mp, diy_fp_t delta, char* buffer, int* len, int* K) { uint32_t div, p1; uint64_t p2; int d,kappa; diy_fp_t one; one.f = ((uint64_t) 1) << -Mp.e; one.e = Mp.e; p1 = Mp.f >> -one.e; p2 = Mp.f & (one.f - 1); *len = 0; kappa = 3; div = TEN2; while (kappa > 0) { d = p1 / div; if (...
0
458,259
opj_jp2_t* opj_jp2_create(OPJ_BOOL p_is_decoder) { opj_jp2_t *jp2 = (opj_jp2_t*)opj_calloc(1, sizeof(opj_jp2_t)); if (jp2) { /* create the J2K codec */ if (! p_is_decoder) { jp2->j2k = opj_j2k_create_compress(); } else { jp2->j2k = opj_j2k_create_decompress(); ...
0
195,578
static MagickBooleanType ClonePixelCacheOnDisk( CacheInfo *magick_restrict cache_info,CacheInfo *magick_restrict clone_info, ExceptionInfo *exception) { MagickSizeType extent; size_t quantum; ssize_t count; struct stat file_stats; unsigned char *buffer; /* Clone pixel cache ...
0
168,540
static TCGv_i64 gen_addq_msw(TCGv_i64 a, TCGv b) { TCGv_i64 tmp64 = tcg_temp_new_i64(); tcg_gen_extu_i32_i64(tmp64, b); dead_tmp(b); tcg_gen_shli_i64(tmp64, tmp64, 32); tcg_gen_add_i64(a, tmp64, a); tcg_temp_free_i64(tmp64); return a; }
1
521,151
Item_func_regex::fix_length_and_dec() { if (Item_bool_func::fix_length_and_dec() || agg_arg_charsets_for_comparison(cmp_collation, args, 2)) return TRUE; re.init(cmp_collation.collation, 0); re.fix_owner(this, args[0], args[1]); return FALSE; }
0
498,998
static const char *reg_name_for_access(RzAnalysisOp *op, RzAnalysisVarAccessType type) { if (type == RZ_ANALYSIS_VAR_ACCESS_TYPE_WRITE) { if (op->dst && op->dst->reg) { return op->dst->reg->name; } } else { if (op->src[0] && op->src[0]->reg) { return op->src[0]->reg->name; } } return NULL; }
0
7,951
static int pop_fetch_message (CONTEXT* ctx, MESSAGE* msg, int msgno) { int ret; void *uidl; char buf[LONG_STRING]; char path[_POSIX_PATH_MAX]; progress_t progressbar; POP_DATA *pop_data = (POP_DATA *)ctx->data; POP_CACHE *cache; HEADER *h = ctx->hdrs[msgno]; unsigned short bcache = 1; /* see if we ...
1
52,966
static inline void print_stream_params(AVIOContext *pb, FFServerStream *stream) { int i, stream_no; const char *type = "unknown"; char parameters[64]; LayeredAVStream *st; AVCodec *codec; stream_no = stream->nb_streams; avio_printf(pb, "<table><tr><th>Stream<th>" "type<...
0
376,672
void HInferRepresentation::InferBasedOnUses(HValue* value) { Representation r = value->representation(); if (r.IsSpecialization() || value->HasNoUses()) return; ASSERT(value->CheckFlag(HValue::kFlexibleRepresentation)); Representation new_rep = TryChange(value); if (!new_rep.IsNone()) { if (!value->repres...
0
333,527
static int gif_image_write_header(ByteIOContext *pb, int width, int height, uint32_t *palette) { int i; unsigned int v; put_tag(pb, "GIF"); put_tag(pb, "89a"); put_le16(pb, width); put_le16(pb, height); put_byte(pb, 0xf7); /* flags: global clut...
0
7,246
static struct key *construct_key_and_link(struct keyring_search_context *ctx, const char *callout_info, size_t callout_len, void *aux, struct key *dest_keyring, unsigned long flags) { struct key_user *user; struct key *key; int ret; kenter(""); if (ctx->index_key.type == &key_t...
1
379,046
PHPAPI void php_info_print_box_end(void) /* {{{ */ { if (!sapi_module.phpinfo_as_text) { php_info_print("</td></tr>\n"); } php_info_print_table_end();
0
122,923
inline void getrs(char &TRANS, int &N, float *lapA, int *IPIV, float *lapB, int &INFO) { int one = 1; sgetrs_(&TRANS,&N,&one,lapA,&N,IPIV,lapB,&N,&INFO);
0
189,936
void RenderViewHostImpl::DragTargetDragOver( const gfx::Point& client_pt, const gfx::Point& screen_pt, WebDragOperationsMask operations_allowed, int key_modifiers) { Send(new DragMsg_TargetDragOver(GetRoutingID(), client_pt, screen_pt, operations_allowed, key_modifier...
0
257,777
static VALUE join_der ( VALUE enumerable ) { VALUE str = rb_str_new ( 0 , 0 ) ; rb_block_call ( enumerable , rb_intern ( "each" ) , 0 , 0 , join_der_i , str ) ; return str ; }
0
17,290
static int dissect_usb_video_frame ( proto_tree * tree , tvbuff_t * tvb , int offset , guint8 subtype ) { static const int * capability_bits [ ] = { & hf_usb_vid_frame_stills_supported , & hf_usb_vid_frame_fixed_frame_rate , NULL } ; proto_item * desc_item ; guint8 bFrameIntervalType ; guint8 frame_index ; guint...
0
309,261
DownloadProtectionService::RegisterClientDownloadRequestCallback( const ClientDownloadRequestCallback& callback) { DCHECK_CURRENTLY_ON(BrowserThread::UI); return client_download_request_callbacks_.Add(callback); }
0
22,060
extern int main ( int argc , char * argv [ ] ) { # if ! UCONFIG_NO_IDNA char * filename = NULL ; # endif const char * srcDir = NULL , * destDir = NULL , * icuUniDataDir = NULL ; const char * bundleName = NULL , * inputFileName = NULL ; char * basename = NULL ; int32_t sprepOptions = 0 ; UErrorCode errorCode = U_Z...
0
249,496
void FS_Restart( int checksumFeed ) { const char *lastGameDir; FS_Shutdown( qfalse ); fs_checksumFeed = checksumFeed; FS_ClearPakReferences( 0 ); FS_Startup(com_basegame->string); #ifndef STANDALONE FS_CheckPak0( ); #endif if ( FS_ReadFile( "default.cfg", NULL ) <= 0 ) { if ( lastValidBase[0] ) { FS_P...
0
389,525
loop_info( sockaddr_u *srcadr, endpt *inter, struct req_pkt *inpkt ) { struct info_loop *li; l_fp ltmp; li = (struct info_loop *)prepare_pkt(srcadr, inter, inpkt, sizeof(struct info_loop)); DTOLFP(last_offset, &ltmp); HTONL_FP(&ltmp, &li->last_offset); DTOLFP(drift_comp * 1e6, &ltmp); HTONL_FP(&ltmp, ...
0
90,896
TfLiteRegistration* Register_MATRIX_DIAG() { static TfLiteRegistration r = {nullptr, nullptr, matrix_diag::Prepare, matrix_diag::Eval}; return &r; }
0
165,751
LayoutUnit RenderBox::computeReplacedLogicalHeight() const { return computeReplacedLogicalHeightRespectingMinMaxHeight(computeReplacedLogicalHeightUsing(style()->logicalHeight())); }
0
162,184
in_any_exception_block (MonoMethodHeader *header, guint offset) { int i; MonoExceptionClause *clause; for (i = 0; i < header->num_clauses; ++i) { clause = &header->clauses [i]; if (MONO_OFFSET_IN_HANDLER (clause, offset)) return TRUE; if (MONO_OFFSET_IN_FILTER (clause, offset)) return TRUE; } return F...
0
126,496
uint64_t ahotDefault() { return RuntimeOption::RepoAuthoritative ? 4 << 20 : 0; }
0
61,276
static int perf_event_period(struct perf_event *event, u64 __user *arg) { u64 value; if (!is_sampling_event(event)) return -EINVAL; if (copy_from_user(&value, arg, sizeof(value))) return -EFAULT; if (!value) return -EINVAL; if (event->attr.freq && value > sysctl_perf_event_sample_rate) return -EINVAL; ...
0
219,989
void ID3::Iterator::getstring(String8 *id, bool otherdata) const { id->setTo(""); const uint8_t *frameData = mFrameData; if (frameData == NULL) { return; } uint8_t encoding = *frameData; if (mParent.mVersion == ID3_V1 || mParent.mVersion == ID3_V1_1) { if (mOffset == 126 || mOffset == 127) { char tmp[16]...
0
519,235
Field_bit::Field_bit(uchar *ptr_arg, uint32 len_arg, uchar *null_ptr_arg, uchar null_bit_arg, uchar *bit_ptr_arg, uchar bit_ofs_arg, enum utype unireg_check_arg, const LEX_CSTRING *field_name_arg) : Field(ptr_arg, len_arg, null_ptr_arg, null_bit_arg, ...
0
345,979
void recv_additional_file_list(int f) { struct file_list *flist; int ndx = read_ndx(f); if (ndx == NDX_FLIST_EOF) { flist_eof = 1; if (DEBUG_GTE(FLIST, 3)) rprintf(FINFO, "[%s] flist_eof=1\n", who_am_i()); change_local_filter_dir(NULL, 0, 0); } else { ndx = NDX_FLIST_OFFSET - ndx; if (ndx < 0 || ndx >=...
1
388,046
stop_all_conversations (GdmSession *self) { stop_all_other_conversations (self, NULL, TRUE); }
0
439,845
ipmi_sdr_read_sensor_value(struct ipmi_intf *intf, struct sdr_record_common_sensor *sensor, uint8_t sdr_record_type, int precision) { static struct sensor_reading sr; if (!sensor) return NULL; /* Initialize to reading valid value of zero */ memset(&sr, 0, sizeof(sr)); switch (sdr_record_type) { unsign...
0
224,097
void WebGLRenderingContextBase::DestroyContext() { if (!GetDrawingBuffer()) return; extensions_util_.reset(); WTF::RepeatingClosure null_closure; WTF::RepeatingFunction<void(const char*, int32_t)> null_function; GetDrawingBuffer()->ContextProvider()->SetLostContextCallback( std::move(null_closure)...
0
365,228
rb_str_resize(str, len) VALUE str; long len; { if (len < 0) { rb_raise(rb_eArgError, "negative string size (or size too big)"); } rb_str_modify(str); if (len != RSTRING(str)->len) { if (RSTRING(str)->len < len || RSTRING(str)->len - len > 1024) { REALLOC_N(RSTRING(str)->ptr, char, len+1)...
0
47,400
GF_ESD *gf_isom_get_esd(GF_ISOFile *movie, u32 trackNumber, u32 StreamDescriptionIndex) { GF_ESD *esd; GF_Err e; e = GetESD(movie->moov, gf_isom_get_track_id(movie, trackNumber), StreamDescriptionIndex, &esd); if (e && (e!= GF_ISOM_INVALID_MEDIA)) { movie->LastError = e; if (esd) gf_odf_desc_del((GF_Descriptor ...
0
422,959
static void tcp_push(struct sock *sk, int flags, int mss_now, int nonagle, int size_goal) { struct tcp_sock *tp = tcp_sk(sk); struct sk_buff *skb; if (!tcp_send_head(sk)) return; skb = tcp_write_queue_tail(sk); if (!(flags & MSG_MORE) || forced_push(tp)) tcp_mark_push(tp, skb); tcp_mark_urg(tp, flag...
0
16,428
static inline int mpeg2_fast_decode_block_intra ( MpegEncContext * s , int16_t * block , int n ) { int level , dc , diff , j , run ; int component ; RLTable * rl ; uint8_t * scantable = s -> intra_scantable . permutated ; const uint16_t * quant_matrix ; const int qscale = s -> qscale ; if ( n < 4 ) { quant_matr...
0
356,112
static int shmem_link(struct dentry *old_dentry, struct inode *dir, struct dentry *dentry) { struct inode *inode = old_dentry->d_inode; int ret; /* * No ordinary (disk based) filesystem counts links as inodes; * but each new link needs a new dentry, pinning lowmem, and * tmpfs dentries cannot be pruned until ...
0
62,817
void rds_for_each_conn_info(struct socket *sock, unsigned int len, struct rds_info_iterator *iter, struct rds_info_lengths *lens, int (*visitor)(struct rds_connection *, void *), u64 *buffer, size_t item_len) { struct hlist_head *head; struct rds_connection *conn; size_t i; rcu_read_lock()...
0
354,871
static void dccp_mib_exit(void) { free_percpu(dccp_statistics[0]); free_percpu(dccp_statistics[1]); dccp_statistics[0] = dccp_statistics[1] = NULL; }
0
261,808
int cil_resolve_genfscon(struct cil_tree_node *current, void *extra_args) { struct cil_genfscon *genfscon = current->data; struct cil_symtab_datum *context_datum = NULL; int rc = SEPOL_ERR; if (genfscon->context_str != NULL) { rc = cil_resolve_name(current, genfscon->context_str, CIL_SYM_CONTEXTS, extra_args, &c...
0
522,105
void Item_func::count_decimal_length(Item **item, uint nitems) { int max_int_part= 0; decimals= 0; unsigned_flag= 1; for (uint i=0 ; i < nitems ; i++) { set_if_bigger(decimals, item[i]->decimals); set_if_bigger(max_int_part, item[i]->decimal_int_part()); set_if_smaller(unsigned_flag, item[i]->unsi...
0
394,743
xmlXPtrEndPointFunction(xmlXPathParserContextPtr ctxt, int nargs) { xmlXPathObjectPtr tmp, obj, point; xmlLocationSetPtr newset = NULL; xmlLocationSetPtr oldset = NULL; CHECK_ARITY(1); if ((ctxt->value == NULL) || ((ctxt->value->type != XPATH_LOCATIONSET) && (ctxt->value->type != XPATH_NODESET))...
0
471,411
void serverLog(int level, const char *fmt, ...) { va_list ap; char msg[LOG_MAX_LEN]; if ((level&0xff) < server.verbosity) return; va_start(ap, fmt); vsnprintf(msg, sizeof(msg), fmt, ap); va_end(ap); serverLogRaw(level,msg); }
0
153,815
void IniSection::initValue (const string&key,const string&val,const string&comment,int rb) { string k = ip->changeCase (key); IniEntry e; IniEntryIdxIterator exi; if (!ip->repeatNames () && (exi = ivalues.find (k)) != ivalues.end ()) { IniIterator ei = exi->second; // update existing value ...
0
172,322
InspectorOverlayChromeClient(ChromeClient& client, InspectorOverlay* overlay) : m_client(client) , m_overlay(overlay) { }
0
340,035
int64_t ff_gen_search(AVFormatContext *s, int stream_index, int64_t target_ts, int64_t pos_min, int64_t pos_max, int64_t pos_limit, int64_t ts_min, int64_t ts_max, int flags, int64_t *ts_ret, int64_t (*read_timestamp)(struct AVFormatContext *, int , i...
0
135,439
void ecdsa_sign_legacy(ecdsa_signature_t *signature, const ecc_int256_t *hash, const ecc_int256_t *secret) { ecc_int256_t hash_r, k, krecip, tmp; ecc_25519_work_t kG; uint8_t V[32], K[32]; // Reduce hash (instead of clearing 3 bits) ecc_25519_gf_reduce(&hash_r, hash); // Generate k generate_k_prepare(V,...
0
422,324
e_ews_connection_move_items (EEwsConnection *cnc, gint pri, const gchar *folder_id, gboolean docopy, const GSList *ids, GCancellable *cancellable, ...
0
125,481
static unsigned postProcessScanlines(unsigned char* out, unsigned char* in, unsigned w, unsigned h, const LodePNGInfo* info_png) { /* This function converts the filtered-padded-interlaced data into pure 2D image buffer with the PNG's colortype. Steps: *) if no Adam7: 1) unfi...
0
488,412
static int ip6_mc_add_src(struct inet6_dev *idev, const struct in6_addr *pmca, int sfmode, int sfcount, const struct in6_addr *psfsrc, int delta) { struct ifmcaddr6 *pmc; int isexclude; int i, err; if (!idev) return -ENODEV; for_each_mc_mclock(idev, pmc) { if (ipv6_addr_equal(pmca, &pmc->mca_addr))...
0
292,169
static pyc_object *get_none_object(void) { pyc_object *ret = R_NEW0 (pyc_object); if (!ret) { return NULL; } ret->type = TYPE_NONE; ret->data = strdup ("None"); if (!ret->data) { R_FREE (ret); } return ret; }
0
472,446
static int selinux_task_getsid(struct task_struct *p) { return avc_has_perm(&selinux_state, current_sid(), task_sid_obj(p), SECCLASS_PROCESS, PROCESS__GETSESSION, NULL); }
0
269,505
ofpact_init(struct ofpact *ofpact, enum ofpact_type type, size_t len) { memset(ofpact, 0, len); ofpact->type = type; ofpact->raw = -1; ofpact->len = len; }
0
374,075
int kvm_set_msr_common(struct kvm_vcpu *vcpu, u32 msr, u64 data) { bool pr = false; switch (msr) { case MSR_EFER: return set_efer(vcpu, data); case MSR_K7_HWCR: data &= ~(u64)0x40; /* ignore flush filter disable */ data &= ~(u64)0x100; /* ignore ignne emulation enable */ data &= ~(u64)0x8; /* ignore TLB ca...
0
42,765
static void ccp_process_data(struct ccp_data *src, struct ccp_data *dst, struct ccp_op *op) { op->init = 0; if (dst) { if (op->dst.u.dma.address == dst->dm_wa.dma.address) ccp_empty_queue_buf(dst); else ccp_update_sg_workarea(&dst->sg_wa, op->dst.u.dma.length); } }
0
397,231
gst_mpegts_section_send_event (GstMpegtsSection * section, GstElement * element) { GstEvent *event; g_return_val_if_fail (section != NULL, FALSE); g_return_val_if_fail (element != NULL, FALSE); event = _mpegts_section_get_event (section); if (!gst_element_send_event (element, event)) { gst_event_unref ...
0
481,272
_lou_defaultTableResolver(const char *tableList, const char *base) { char *searchPath; char **tableFiles; char *subTable; char *tableList_copy; char *cp; int last; int k; /* Set up search path */ searchPath = _lou_getTablePath(); /* Count number of subtables in table list */ k = 0; for (cp = (char *)table...
0
78,030
u_save_line(undoline_T *ul, linenr_T lnum) { char_u *line = ml_get(lnum); if (curbuf->b_ml.ml_line_len == 0) { ul->ul_len = 1; ul->ul_line = vim_strsave((char_u *)""); } else { // This uses the length in the memline, thus text properties are // included. ul->ul_len = curbuf->b_ml.ml_line_l...
0
339,667
static int configure_video_filters(FilterGraph *fg) { InputStream *ist = fg->inputs[0]->ist; OutputStream *ost = fg->outputs[0]->ost; AVFilterContext *in_filter, *out_filter, *filter; AVCodecContext *codec = ost->st->codec; AVBufferSinkParams *buffersink_params = av_buffersink_params_alloc();...
1
88,394
bool CZNC::AddListener(CListener* pListener) { if (!pListener->GetRealListener()) { // Listener doesn't actually listen delete pListener; return false; } // We don't check if there is an identical listener already listening // since one can't listen on e.g. the same port multipl...
0
238,756
explicit LastMuteMetadata(content::WebContents* contents) {}
0
282,220
InlineBox* RenderBox::createInlineBox() { return new (renderArena()) InlineBox(this); }
0
88,325
**/ explicit CImg(const CImgDisplay &disp):_width(0),_height(0),_depth(0),_spectrum(0),_is_shared(false),_data(0) { disp.snapshot(*this);
0
398,110
ip_has_invalid_namespace_p(self) VALUE self; { struct tcltkip *ptr = get_ip(self); if (ptr == (struct tcltkip *)NULL || ptr->ip == (Tcl_Interp *)NULL) { /* deleted IP */ return Qtrue; } #if TCL_NAMESPACE_DEBUG if (rbtk_invalid_namespace(ptr)) { return Qtrue; } else { ...
0
521,439
void JOIN::clear() { clear_tables(this); copy_fields(&tmp_table_param); if (sum_funcs) { Item_sum *func, **func_ptr= sum_funcs; while ((func= *(func_ptr++))) func->clear(); } }
0
9,394
ReleaseAccelerator(ui::KeyboardCode keycode, bool shift_pressed, bool ctrl_pressed, bool alt_pressed) : ui::Accelerator(keycode, shift_pressed, ctrl_pressed, alt_pressed) { set_type(ui::ET_KEY_RELEASED); }
1
408,860
objects_dump(fz_context *ctx, pdf_document *doc, pdf_write_state *opts) { int i; for (i=0; i < pdf_xref_len(ctx, doc); i++) { fprintf(stderr, "Object %d use=%x offset=%d\n", i, opts->use_list[i], (int)opts->ofs_list[i]); } }
0
340,058
static void mem_info(Monitor *mon) { CPUState *env; int l1, l2, prot, last_prot; uint32_t pgd, pde, pte, start, end; env = mon_get_cpu(); if (!env) return; if (!(env->cr[0] & CR0_PG_MASK)) { monitor_printf(mon, "PG disabled\n"); return; } pgd = env...
1