idx
int64
func
string
target
int64
318,573
int bdrv_pwrite(BlockDriverState *bs, int64_t offset, const void *buf, int bytes) { QEMUIOVector qiov; struct iovec iov = { .iov_base = (void *) buf, .iov_len = bytes, }; if (bytes < 0) { return -EINVAL; } qemu_iovec_init_external(&qiov...
0
83,322
php_apache_sapi_flush(void *server_context) { php_struct *ctx; request_rec *r; TSRMLS_FETCH(); ctx = server_context; /* If we haven't registered a server_context yet, * then don't bother flushing. */ if (!server_context) { return; } r = ctx->r; sapi_send_headers(TSRMLS_C); r->status = SG(sapi_headers...
0
254,140
void AXLayoutObject::setSelection(const AXRange& selection) { if (!getLayoutObject() || !selection.isValid()) return; AXObject* anchorObject = selection.anchorObject ? selection.anchorObject.get() : this; AXObject* focusObject = selection.focusObject ? selection.focusObject.get() : this; if (!...
0
345,747
PHP_HASH_API void PHP_HAVAL224Final(unsigned char *digest, PHP_HAVAL_CTX * context) { unsigned char bits[10]; unsigned int index, padLen; /* Version, Passes, and Digest Length */ bits[0] = (PHP_HASH_HAVAL_VERSION & 0x07) | ((context->passes & 0x07) << 3) | ((context->output & 0x03) << 6); bits[1] = (conte...
1
392,389
xmlBufAttrSerializeTxtContent(xmlBufPtr buf, xmlDocPtr doc, xmlAttrPtr attr, const xmlChar * string) { xmlChar *base, *cur; if (string == NULL) return; base = cur = (xmlChar *) string; while (*cur != 0) { if (*cur == '\n') { if (base != cur) ...
0
3,185
static void get_over(struct SYMBOL *s) { struct VOICE_S *p_voice, *p_voice2, *p_voice3; int range, voice, voice2, voice3; static char tx_wrong_dur[] = "Wrong duration in voice overlay"; static char txt_no_note[] = "No note in voice overlay"; /* treat the end of overlay */ p_voice = curvoice; if (p_voice->ignore) ...
1
192,017
static void clear_leases(const uint8_t *chaddr, uint32_t yiaddr) { unsigned i; for (i = 0; i < server_config.max_leases; i++) { if ((chaddr && memcmp(g_leases[i].lease_mac, chaddr, 6) == 0) || (yiaddr && g_leases[i].lease_nip == yiaddr) ) { memset(&g_leases[i], 0, sizeof(g_leases[i])); } } }
0
217,094
void OneClickSigninHelper::LogConfirmHistogramValue(int action) { UMA_HISTOGRAM_ENUMERATION("Signin.OneClickConfirmation", action, one_click_signin::HISTOGRAM_CONFIRM_MAX); }
0
127,897
irc_server_get_prefix_modes (struct t_irc_server *server) { return (server && server->prefix_modes) ? server->prefix_modes : irc_server_prefix_modes_default; }
0
230,758
encode_REG_MOVE(const struct ofpact_reg_move *move, enum ofp_version ofp_version, struct ofpbuf *out) { /* For OpenFlow 1.3, the choice of ONFACT_RAW13_COPY_FIELD versus * NXAST_RAW_REG_MOVE is somewhat difficult. Neither one is guaranteed to * be supported by every OpenFlow 1.3 implement...
0
336,163
static bool blit_region_is_unsafe(struct CirrusVGAState *s, int32_t pitch, int32_t addr) { if (pitch < 0) { int64_t min = addr + ((int64_t)s->cirrus_blt_height-1) * pitch; int32_t max = addr + s->cirrus_blt_width; if (min < 0 ...
1
228,411
ewk_frame_scroll_set(Evas_Object* ewkFrame, int x, int y) { EWK_FRAME_SD_GET_OR_RETURN(ewkFrame, smartData, false); EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->frame, false); EINA_SAFETY_ON_NULL_RETURN_VAL(smartData->frame->view(), false); smartData->frame->view()->setScrollPosition(WebCore::IntPoint(x, y...
0
158,011
static void pci_basic(gconstpointer data) { QVirtioPCIDevice *dev; QPCIBus *bus; QVirtQueuePCI *tx, *rx; QGuestAllocator *alloc; void (*func) (QVirtioDevice *dev, QGuestAllocator *alloc, QVirtQueue *rvq, QVirtQueue *tvq, ...
0
467,205
std::string RGWFormPost::get_current_content_type() const { try { const auto& field = current_data_part->fields.at("Content-Type"); return field.val; } catch (std::out_of_range&) { /* NOP */; } return std::string(); }
0
435,434
int proppatch_principalname(xmlNodePtr prop, unsigned set, struct proppatch_ctx *pctx, struct propstat propstat[], void *rock __attribute__((unused))) { struct mailbox *mailbox = pctx->mailbox; struct mailbox *calhomeset = NULL; ...
0
320,698
static void handle_arg_log_filename(const char *arg) { qemu_set_log_filename(arg); }
1
309,933
RelayTruncatePlatformFile(base::PlatformFile file, int64 length, base::FileUtilProxy::StatusCallback* callback) : RelayWithStatusCallback(callback), file_(file), length_(length) { }
0
242,962
void PrintJobWorker::SetNewOwner(PrintJobWorkerOwner* new_owner) { DCHECK(page_number_ == PageNumber::npos()); owner_ = new_owner; }
0
301,281
static void muscle_load_single_acl(sc_file_t* file, int operation, unsigned short acl) { int key; /* Everybody by default.... */ sc_file_add_acl_entry(file, operation, SC_AC_NONE, 0); if(acl == 0xFFFF) { sc_file_add_acl_entry(file, operation, SC_AC_NEVER, 0); return; } for(key = 0; key < 16; key++) { if(acl...
0
60,832
CModule::EModRet CModule::OnPrivNotice(CNick& Nick, CString& sMessage) { return CONTINUE; }
0
171,177
bool ParamTraits<base::TimeDelta>::Read(const Message* m, PickleIterator* iter, param_type* r) { int64 value; bool ret = ParamTraits<int64>::Read(m, iter, &value); if (ret) *r = base::TimeDelta::FromInternalValue(value); return...
0
487,783
static void ext4_mb_show_ac(struct ext4_allocation_context *ac) { struct super_block *sb = ac->ac_sb; if (EXT4_SB(sb)->s_mount_flags & EXT4_MF_FS_ABORTED) return; mb_debug(sb, "Can't allocate:" " Allocation context details:"); mb_debug(sb, "status %u flags 0x%x", ac->ac_status, ac->ac_flags); mb_debug(sb...
0
520,034
wait_for_commit *suspend_subsequent_commits() { wait_for_commit *suspended= wait_for_commit_ptr; wait_for_commit_ptr= NULL; return suspended; }
0
123,731
check_compat_entry_size_and_hooks(struct compat_ip6t_entry *e, struct xt_table_info *newinfo, unsigned int *size, const unsigned char *base, const unsigned char *limit) { struct xt_entry_match *ematch; struct xt_entry_target *t; struct xt_target *target; unsigned int entry_offset; unsigned ...
0
369,941
static int inet6_netconf_fill_devconf(struct sk_buff *skb, int ifindex, struct ipv6_devconf *devconf, u32 portid, u32 seq, int event, unsigned int flags, int type) { struct nlmsghdr *nlh; struct netconfmsg *ncm; nlh = nlmsg_put(skb, portid, seq, event, sizeof(struct netconfmsg), fl...
0
81,835
MagickExport MagickBooleanType LevelImage(Image *image,const double black_point, const double white_point,const double gamma,ExceptionInfo *exception) { #define LevelImageTag "Level/Image" CacheView *image_view; MagickBooleanType status; MagickOffsetType progress; register ssize_t i; s...
0
413,223
int ldb_sqlite3_init(const char *version) { LDB_MODULE_CHECK_VERSION(version); return ldb_register_backend("sqlite3", lsqlite3_connect, false); }
0
484,980
static Image *ReadGROUP4Image(const ImageInfo *image_info, ExceptionInfo *exception) { char filename[MagickPathExtent]; FILE *file; Image *image; ImageInfo *read_info; int c, unique_file; MagickBooleanType status; size_t length; ssize_t offset, strip_offs...
0
225,607
void AXLayoutObject::detach() { AXNodeObject::detach(); detachRemoteSVGRoot(); #if DCHECK_IS_ON() if (m_layoutObject) m_layoutObject->setHasAXObject(false); #endif m_layoutObject = 0; }
0
261,662
TEST_P(Http2CodecImplTest, SmallMetadataVecTest) { allow_metadata_ = true; initialize(); // Generates a valid stream_id by sending a request header. TestHeaderMapImpl request_headers; HttpTestUtility::addDefaultHeaders(request_headers); EXPECT_CALL(request_decoder_, decodeHeaders_(_, true)); request_enco...
0
444,676
TEST_F(HttpConnectionManagerImplTest, RouteShouldUseNormalizedHost) { setup(false, ""); // Enable port removal strip_matching_port_ = true; const std::string original_host = "host:443"; const std::string normalized_host = "host"; EXPECT_CALL(*codec_, dispatch(_)).WillOnce(Invoke([&](Buffer::Instance&) -> H...
0
146,673
static void copy_vmcs12_to_shadow(struct vcpu_vmx *vmx) { const unsigned long *fields[] = { shadow_read_write_fields, shadow_read_only_fields }; const int max_fields[] = { max_shadow_read_write_fields, max_shadow_read_only_fields }; int i, q; unsigned long field; u64 field_value = 0; struct vmcs *shadow...
0
128,066
mono_thread_get_undeniable_exception (void) { MonoInternalThread *thread = mono_thread_internal_current (); if (thread && thread->abort_exc && !is_running_protected_wrapper ()) { /* * FIXME: Clear the abort exception and return an AppDomainUnloaded * exception if the thread no longer references a dying appd...
0
142,121
static int del_dac(struct task_struct *child, int slot) { if (slot == 1) { if ((dbcr_dac(child) & (DBCR_DAC1R | DBCR_DAC1W)) == 0) return -ENOENT; child->thread.debug.dac1 = 0; dbcr_dac(child) &= ~(DBCR_DAC1R | DBCR_DAC1W); #ifdef CONFIG_PPC_ADV_DEBUG_DAC_RANGE if (child->thread.debug.dbcr2 & DBCR2_DAC12MO...
0
110,612
static int ast_write_header(AVFormatContext *s) { ASTMuxContext *ast = s->priv_data; AVIOContext *pb = s->pb; AVCodecContext *enc; unsigned int codec_tag; if (s->nb_streams == 1) { enc = s->streams[0]->codec; } else { av_log(s, AV_LOG_ERROR, "only one stream is support...
0
68,199
struct regmap *regulator_get_regmap(struct regulator *regulator) { struct regmap *map = regulator->rdev->regmap; return map ? map : ERR_PTR(-EOPNOTSUPP); }
0
135,447
static int sock_bindtodevice(struct sock *sk, char __user *optval, int optlen) { int ret = -ENOPROTOOPT; #ifdef CONFIG_NETDEVICES struct net *net = sock_net(sk); char devname[IFNAMSIZ]; int index; /* Sorry... */ ret = -EPERM; if (!capable(CAP_NET_RAW)) goto out; ret = -EINVAL; if (optlen < 0) goto out; ...
0
315,208
gfx::Rect OverlayWindowViews::CalculateAndUpdateWindowBounds() { gfx::Rect work_area = display::Screen::GetScreen() ->GetDisplayNearestWindow( controller_->GetInitiatorWebContents()->GetTopLevelNativeWindow()) .work_area(); max_size_ = gfx::Size(work_area.width() / 2, work_a...
0
79,873
static int em_imul_3op(struct x86_emulate_ctxt *ctxt) { ctxt->dst.val = ctxt->src2.val; return fastop(ctxt, em_imul); }
0
78,862
R_API int r_anal_var_count_all(RAnalFunction *fcn) { r_return_val_if_fail (fcn, 0); return r_pvector_len (&fcn->vars); }
0
91,402
//! Load gzipped image file, using external tool 'gunzip' \newinstance. static CImg<T> get_load_gzip_external(const char *const filename) { return CImg<T>().load_gzip_external(filename);
0
372,803
parse_auto_key_locate (char *options) { char *tok; while ((tok = optsep (&options))) { struct akl *akl, *check, *last = NULL; int dupe = 0; if (tok[0] == '\0') continue; akl = xmalloc_clear (sizeof (*akl)); if (ascii_strcasecmp (tok, "nodefault") == 0) akl->type = AKL_NODEFAU...
0
256,738
static inline void set_num_731 ( unsigned char * p , uint32_t value ) { archive_le32enc ( p , value ) ; }
0
523,096
const char *end() const { return str + length + is_quoted(); }
0
135,088
const Model* ModelBuilder::BuildModel( std::initializer_list<ModelBuilder::Tensor> inputs, std::initializer_list<ModelBuilder::Tensor> outputs, size_t num_subgraph_inputs) { // Model schema requires an empty buffer at idx 0. size_t buffer_size = 1 + ModelBuilder::nbr_of_metadata_buffers_; flatbuffers:...
0
350,869
static void set_error_response(h2_stream *stream, int http_status) { if (!h2_stream_is_ready(stream)) { stream->rtmp->http_status = http_status; } }
1
31,548
static int rtrs_post_rdma_write_sg(struct rtrs_clt_con *con, struct rtrs_clt_io_req *req, struct rtrs_rbuf *rbuf, bool fr_en, u32 size, u32 imm, struct ib_send_wr *wr, struct ib_send_wr *tail) { struct rtrs_clt_path *clt_path = to_clt_path(con->c.path); struct ib_sge *sge = req->sge; enum...
0
45,060
error_t webSocketFormatErrorResponse(WebSocket *webSocket, uint_t statusCode, const char_t *message) { uint_t i; size_t length; char_t *p; WebSocketFrameContext *txContext; //HTML response template static const char_t template[] = "<!doctype html>\r\n" "<html>\r\n" "<head><title>...
0
189,943
void BookmarksAPI::Shutdown() { ExtensionSystem::Get(profile_)->event_router()->UnregisterObserver(this); }
0
474,378
*LUKS2_keyslot_handler(struct crypt_device *cd, int keyslot) { struct luks2_hdr *hdr; json_object *jobj1, *jobj2; if (keyslot < 0) return NULL; if (!(hdr = crypt_get_hdr(cd, CRYPT_LUKS2))) return NULL; if (!(jobj1 = LUKS2_get_keyslot_jobj(hdr, keyslot))) return NULL; if (!json_object_object_get_ex(jobj1...
0
518,530
Field_longlong(uint32 len_arg,bool maybe_null_arg, const LEX_CSTRING *field_name_arg, bool unsigned_arg) :Field_int((uchar*) 0, len_arg, maybe_null_arg ? (uchar*) "": 0,0, NONE, field_name_arg, 0, unsigned_arg) {}
0
470,510
read_name_from_file (struct cpio_file_stat *file_hdr, int fd, uintmax_t len) { if (len == 0) { error (0, 0, _("malformed header: file name of zero length")); } else { cpio_realloc_c_name (file_hdr, len); tape_buffered_read (file_hdr->c_name, fd, len); if (file_hdr->c_name[len-1] ...
0
176,072
CheckUserAuthorization(void) { #ifdef USE_PAM static struct pam_conv conv = { misc_conv, NULL }; pam_handle_t *pamh = NULL; struct passwd *pw; int retval; if (getuid() != geteuid()) { pw = getpwuid(getuid()); if (pw == NULL) FatalError("getpwuid() failed for uid %d\n", getuid()); re...
0
381,555
HttpTransact::HandleResponse(State* s) { DebugTxn("http_trans", "[HttpTransact::HandleResponse]"); DebugTxn("http_seq", "[HttpTransact::HandleResponse] Response received"); s->source = SOURCE_HTTP_ORIGIN_SERVER; s->response_received_time = ink_cluster_time(); ink_assert(s->response_received_time >= s->reques...
0
1,116
IN_PROC_BROWSER_TEST_F ( HttpsEngagementPageLoadMetricsBrowserTest , ClosedWhileHidden_Http ) { StartHttpServer ( ) ; base : : TimeDelta upper_bound = NavigateInForegroundAndCloseInBackgroundWithTiming ( http_test_server_ -> GetURL ( "/simple.html" ) ) ; histogram_tester_ . ExpectTotalCount ( internal : : kHttpEngag...
1
373,917
bool moreJSObjs() const { return nextjsobj != 0; }
0
514,327
static void test_message_parser_trailing_dashes(void) { static const char input_msg[] = "Content-Type: multipart/mixed; boundary=\"a--\"\n" "\n" "--a--\n" "Content-Type: multipart/mixed; boundary=\"a----\"\n" "\n" "--a----\n" "Content-Type: text/plain\n" "\n" "body\n" "--a------\n" "Content-Type: text/html\n" "\n" "bod...
0
280,526
static int _hid_get_string_descriptor(struct hid_device_priv* dev, int _index,
0
513,825
napi_status napi_get_all_property_names(napi_env env, napi_value object, napi_key_collection_mode key_mode, napi_key_filter key_filter, napi_key_conversion key_...
0
169,911
void RenderProcessHostImpl::UnregisterAecDumpConsumerOnUIThread(int id) { DCHECK_CURRENTLY_ON(BrowserThread::UI); for (std::vector<int>::iterator it = aec_dump_consumers_.begin(); it != aec_dump_consumers_.end(); ++it) { if (*it == id) { aec_dump_consumers_.erase(it); break; } } }
0
263,650
static int acm_wb_alloc(struct acm *acm) { int i, wbn; struct acm_wb *wb; wbn = 0; i = 0; for (;;) { wb = &acm->wb[wbn]; if (!wb->use) { wb->use = 1; return wbn; } wbn = (wbn + 1) % ACM_NW; if (++i >= ACM_NW) return -1; } }
0
173,257
bool ContainerNode::getUpperLeftCorner(FloatPoint& point) const { if (!layoutObject()) return false; LayoutObject* o = layoutObject(); if (!o->isInline() || o->isReplaced()) { point = o->localToAbsolute(FloatPoint(), UseTransforms); return true; } while (o) { Layout...
0
513,853
static UINT cliprdr_server_monitor_ready(CliprdrServerContext* context, const CLIPRDR_MONITOR_READY* monitorReady) { wStream* s; CliprdrServerPrivate* cliprdr = (CliprdrServerPrivate*)context->handle; if (monitorReady->msgType != CB_MONITOR_READY) WLog_WARN(TAG, "[%s] call...
0
129,110
cockpit_web_response_get_state (CockpitWebResponse *self) { g_return_val_if_fail (COCKPIT_IS_WEB_RESPONSE (self), 0); if (self->done) return COCKPIT_WEB_RESPONSE_SENT; else if (self->complete) return COCKPIT_WEB_RESPONSE_COMPLETE; else if (self->count == 0) return COCKPIT_WEB_RESPONSE_READY; else...
0
343,065
void vmstate_save_state(QEMUFile *f, const VMStateDescription *vmsd, void *opaque) { VMStateField *field = vmsd->fields; if (vmsd->pre_save) { vmsd->pre_save(opaque); while (field->name) { if (!field->field_exists || field->field_exists(opaque, ...
1
99,555
static int vidioc_s_std(struct file *file, void *fh, v4l2_std_id *_std) { v4l2_std_id req_std = 0, supported_std = 0; const v4l2_std_id all_std = V4L2_STD_ALL, no_std = 0; if (_std) { req_std = *_std; *_std = all_std; } /* we support everything in V4L2_STD_ALL, but not more... */ supported_std = (all_std & ...
0
471,081
cleanhostname(char *host) { if (*host == '[' && host[strlen(host) - 1] == ']') { host[strlen(host) - 1] = '\0'; return (host + 1); } else return host; }
0
131,258
void sqlite3VdbeRewind(Vdbe *p){ #if defined(SQLITE_DEBUG) || defined(VDBE_PROFILE) int i; #endif assert( p!=0 ); assert( p->magic==VDBE_MAGIC_INIT || p->magic==VDBE_MAGIC_RESET ); /* There should be at least one opcode. */ assert( p->nOp>0 ); /* Set the magic to VDBE_MAGIC_RUN sooner rather than later....
0
127,944
process_brushcache(STREAM s, uint16 flags) { UNUSED(flags); BRUSHDATA brush_data; uint8 cache_idx, colour_code, width, height, size, type; uint8 *comp_brush; int index; int Bpp; in_uint8(s, cache_idx); in_uint8(s, colour_code); in_uint8(s, width); in_uint8(s, height); in_uint8(s, type); /* type, 0x8x = cach...
0
70,301
static void vfio_bar_quirk_teardown(VFIOPCIDevice *vdev, int nr) { VFIOBAR *bar = &vdev->bars[nr]; while (!QLIST_EMPTY(&bar->quirks)) { VFIOQuirk *quirk = QLIST_FIRST(&bar->quirks); memory_region_del_subregion(&bar->region.mem, &quirk->mem); object_unparent(OBJECT(&quirk->mem)); ...
0
217,590
void GLES2Implementation::ResizeCHROMIUM(GLuint width, GLuint height, float scale_factor, GLenum color_space, GLboolean alpha) { GPU_CLIENT_SINGLE_THREAD_...
0
431,471
Status AuthorizationManagerImpl::_fetchUserV2(OperationContext* opCtx, const UserName& userName, std::unique_ptr<User>* acquiredUser) { BSONObj userObj; Status status = getUserDescription(opCtx, userName, &userObj); ...
0
378,301
static int selinux_inode_setsecurity(struct inode *inode, const char *name, const void *value, size_t size, int flags) { struct inode_security_struct *isec = inode->i_security; u32 newsid; int rc; if (strcmp(name, XATTR_SELINUX_SUFFIX)) return -EOPNOTSUPP; if (!value || !size) return -EACCES; rc =...
0
383,858
PHP_METHOD(Phar, extractTo) { char *error = NULL; php_stream *fp; php_stream_statbuf ssb; phar_entry_info *entry; char *pathto, *filename, *actual; int pathto_len, filename_len; int ret, i; int nelems; zval *zval_files = NULL; zend_bool overwrite = 0; PHAR_ARCHIVE_OBJECT(); if (zend_parse_parameters(ZEND_...
0
500,391
QPDFAcroFormDocumentHelper::getFormFields() { analyze(); std::vector<QPDFFormFieldObjectHelper> result; for (std::map<QPDFObjGen, std::vector<QPDFAnnotationObjectHelper> >::iterator iter = this->m->field_to_annotations.begin(); iter != this->m->field_to_annotations.end(); ...
0
274,999
cockpit_auth_steal_authorization (GHashTable *headers, GIOStream *connection, gchar **ret_type, gchar **ret_conversation) { char *type = NULL; gchar *ret = NULL; gchar *line; gpointer key; g_assert (headers ...
0
345,958
bool asn1_check_enumerated(struct asn1_data *data, int v) { uint8_t b; if (!asn1_start_tag(data, ASN1_ENUMERATED)) return false; asn1_read_uint8(data, &b); asn1_end_tag(data); if (v != b) data->has_error = false; return !data->has_error; }
1
509,560
static int tls_construct_cke_gost(SSL *s, unsigned char **p, int *len, int *al) { #ifndef OPENSSL_NO_GOST /* GOST key exchange message creation */ EVP_PKEY_CTX *pkey_ctx = NULL; X509 *peer_cert; size_t msglen; unsigned int md_len; unsigned char shared_ukm[32], tmp[256]; EVP_MD_CTX *ukm_hash ...
0
380,203
static int ZEND_FASTCALL ZEND_FETCH_FUNC_ARG_SPEC_TMP_HANDLER(ZEND_OPCODE_HANDLER_ARGS) { return zend_fetch_var_address_helper_SPEC_TMP(ARG_SHOULD_BE_SENT_BY_REF(EX(fbc), EX(opline)->extended_value)?BP_VAR_W:BP_VAR_R, ZEND_OPCODE_HANDLER_ARGS_PASSTHRU); }
0
284,753
bool RenderFrameImpl::IsEncryptedMediaEnabled() const { return GetRendererPreferences().enable_encrypted_media; }
0
467,192
RGWOp *RGWHandler_REST_Bucket_SWIFT::op_options() { return new RGWOptionsCORS_ObjStore_SWIFT; }
0
356,820
static inline struct nlattr *nla_nest_start(struct sk_buff *skb, int attrtype) { struct nlattr *start = (struct nlattr *)skb_tail_pointer(skb); if (nla_put(skb, attrtype, 0, NULL) < 0) return NULL; return start; }
0
375,179
_equalWindowDef(const WindowDef *a, const WindowDef *b) { COMPARE_STRING_FIELD(name); COMPARE_STRING_FIELD(refname); COMPARE_NODE_FIELD(partitionClause); COMPARE_NODE_FIELD(orderClause); COMPARE_SCALAR_FIELD(frameOptions); COMPARE_NODE_FIELD(startOffset); COMPARE_NODE_FIELD(endOffset); COMPARE_LOCATION_FIELD(lo...
0
328,478
static void xenfb_guest_copy(struct XenFB *xenfb, int x, int y, int w, int h) { DisplaySurface *surface = qemu_console_surface(xenfb->c.con); int line, oops = 0; int bpp = surface_bits_per_pixel(surface); int linesize = surface_stride(surface); uint8_t *data = surface_data(surface); if ...
0
492,444
IntVal(int32_t val) : val(val) {}
0
446,500
virDomainHostdevSubsysSCSIHostDefParseXML(xmlNodePtr sourcenode, virDomainHostdevSubsysSCSIPtr scsisrc) { bool got_address = false, got_adapter = false; xmlNodePtr cur; virDomainHostdevSubsysSCSIHostPtr scsihostsrc = &scsisrc->u.host; g_autofree char *bus = NULL...
0
476,150
void InstanceKlass::call_class_initializer(TRAPS) { if (ReplayCompiles && (ReplaySuppressInitializers == 1 || (ReplaySuppressInitializers >= 2 && class_loader() != NULL))) { // Hide the existence of the initializer for the purpose of replaying the compile return; } methodHandle h_method(THRE...
0
77,718
load_inst(UnpicklerObject *self) { PyObject *cls = NULL; PyObject *args = NULL; PyObject *obj = NULL; PyObject *module_name; PyObject *class_name; Py_ssize_t len; Py_ssize_t i; char *s; if ((i = marker(self)) < 0) return -1; if ((len = _Unpickler_Readline(self, &s)) < 0)...
0
202,776
void RenderThread::OnSetNextPageID(int32 next_page_id) { RenderView::SetNextPageID(next_page_id); }
0
346,999
radix__arch_get_unmapped_area_topdown(struct file *filp, const unsigned long addr0, const unsigned long len, const unsigned long pgoff, const unsigned long flags) { struct vm_area_struct *vma; struct mm_struct *mm = current->mm; unsigned long addr = addr0; struct vm_unmapped_area...
1
66,251
static int pvc_create(struct net *net, struct socket *sock, int protocol, int kern) { if (net != &init_net) return -EAFNOSUPPORT; sock->ops = &pvc_proto_ops; return vcc_create(net, sock, protocol, PF_ATMPVC); }
0
254,294
EXPORTED int mboxlist_alluser(user_cb *proc, void *rock) { struct alluser_rock urock; int r = 0; urock.prev = NULL; urock.proc = proc; urock.rock = rock; r = mboxlist_allmbox(NULL, alluser_cb, &urock, /*flags*/0); free(urock.prev); return r; }
0
308,802
int VideoRendererBase::NumFrames_Locked() const { lock_.AssertAcquired(); int outstanding_frames = (current_frame_ ? 1 : 0) + (last_available_frame_ ? 1 : 0) + (current_frame_ && (current_frame_ == last_available_frame_) ? -1 : 0); return ready_frames_.size() + outstanding_frames; }
0
200,626
void PeopleHandler::OnAccountUpdated(const AccountInfo& info) { FireWebUIListener("stored-accounts-updated", *GetStoredAccountsList()); }
0
129,390
static QString currentUser(void) { struct passwd *current = getpwuid(getuid()); QString fullname(current->pw_gecos); if (fullname.find(',') != -1) /* Remove everything from and including first comma */ fullname.resize(fullname.find(',')); QString username(current->pw_name); return fullname + " (" + ...
0
338,302
static int do_sendv_recvv(int sockfd, struct iovec *iov, int len, int offset, int do_sendv) { int ret, diff, iovlen; struct iovec *last_iov; /* last_iov is inclusive, so count from one. */ iovlen = 1; last_iov = iov; len += offset; while (last_iov->iov...
1
268,713
NOEXPORT const unsigned char *SSL_SESSION_get_id(const SSL_SESSION *s, unsigned int *len) { if(len) *len=s->session_id_length; return (const unsigned char *)s->session_id; }
0
254,218
void BrowserPolicyConnector::RegisterForUserPolicy( const std::string& oauth_token) { if (user_data_store_.get()) user_data_store_->SetOAuthToken(oauth_token); }
0
84,842
bool Dispatcher::operator==( const Dispatcher &x ) const { return ( params == x.params ) && ( parsed_params == x.parsed_params ) && ( parsed == x.parsed ) && ( dispatch_chars == x.dispatch_chars ) && ( OSC_string == x.OSC_string ) && ( terminal_to_host == x.terminal_to_host ); }
0
360,095
nautilus_file_constructor (GType type, guint n_construct_properties, GObjectConstructParam *construct_params) { GObject *object; NautilusFile *file; object = (* G_OBJECT_CLASS (nautilus_file_parent_class)->constructor) (type, n_construct_properties, ...
0