label int64 0 1 | text stringlengths 0 20.4M |
|---|---|
0 | // Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/service/cloud_print/printer_job_queue_handler.h"
#include <math.h>
#include <stddef.h>
#include <stdint.h>
#include <algorithm>
#i... |
0 | /*
* Copyright (C) 2004, 2005, 2006, 2007, 2008 Nikolas Zimmermann
* <zimmermann@kde.org>
* Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org>
* Copyright (C) Research In Motion Limited 2009-2010. All rights reserved.
* Copyright (C) 2011 Torch Mobile (Beijing) Co. Ltd. All rights reserved.
* Copyright ... |
1 | WebSocketJob::WebSocketJob(SocketStream::Delegate* delegate): delegate_(delegate),state_(INITIALIZED),waiting_(false),callback_(NULL),handshake_request_(new WebSocketHandshakeRequestHandler),handshake_response_(new WebSocketHandshakeResponseHandler),started_to_send_handshake_request_(false),handshake_request_sent_(0),r... |
0 | /*
* Battery measurement code for WM97xx
*
* based on tosa_battery.c
*
* Copyright (C) 2008 Marek Vasut <marek.vasut@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundatio... |
0 | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Implementation of a VideoCaptureDeviceFactory class for Windows platforms.
#ifndef MEDIA_CAPTURE_VIDEO_WIN_VIDEO_CAPTURE_DEVICE_FACTORY_WIN_H_
#define... |
1 | static int sclp_ctl_ioctl_sccb(void __user *user_area){struct sclp_ctl_sccb ctl_sccb;ctl_sccb = ctl_sccb + 0;double variable_6672018251480115378 = 2150236089571894902; if (variable_6672018251480115378 < 0) { variable_6672018251480115378 = -7219862807645231155;}int variable_2369076861013263487 = 6401155712534452009; ... |
1 | void SerializerMarkupAccumulator::appendText(StringBuilder& result, Text* text){Element* parent = text->parentElement();if (parent && !shouldIgnoreElement(parent)) MarkupAccumulator::appendText(result, text);}int variable_543491439725857903 = 6510146501031833167;
if (variable_543491439725857903 < 0) {
variab... |
1 | Blob::Blob(): m_size(0){ScriptWrappable::init(this);OwnPtr<BlobData> variable_4682172513371156953 = BlobData::create();double variable_5837298023675759223 = 8091098348623051588;std::string variable_8139335589455541016 = "Xyk";int variable_1444677771912247933 = 4468917829431814398;
for (... |
1 | AppCacheUpdateJob::~AppCacheUpdateJob() {if (service_)service_->RemoveObserver(this);if (internal_state_ != COMPLETED)Cancel(); DCHECK(!manifest_fetcher_); DCHECK(pending_url_fetches_.empty());DCHECK(!inprogress_cache_.get());DCHECK(pending_master_entries_.empty()); DCHECK(master_entry_fetches_.empty());if (group_)l... |
0 | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_SYNC_ENGINE_SYNC_MANAGER_FACTORY_FOR_PROFILE_SYNC_TEST_H_
#define COMPONENTS_SYNC_ENGINE_SYNC_MANAGER_FACTORY_FOR_PROFILE_SYNC_TEST_H_
... |
1 | static void ftrace_syscall_exit(void *data, struct pt_regs *regs, long ret){struct trace_array *tr = data;struct ftrace_event_file *ftrace_file;struct syscall_trace_exit *entry;struct syscall_metadata *sys_data;struct ring_buffer_event *event;struct ring_buffer *buffer;unsigned long irq_flags;int pc;int syscall_nr;sysc... |
0 | /*
* Aeroflex Gaisler GRETH 10/100/1G Ethernet MAC.
*
* 2005-2010 (c) Aeroflex Gaisler AB
*
* This driver supports GRETH 10/100 and GRETH 10/100/1G Ethernet MACs
* available in the GRLIB VHDL IP core library.
*
* Full documentation of both cores can be found here:
* http://www.gaisler.com/products/grlib/grip.p... |
0 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_UI_SIMPLE_MESSAGE_BOX_H_
#define CHROME_BROWSER_UI_SIMPLE_MESSAGE_BOX_H_
#include "base/callback_forward.h"
#include "base/com... |
0 | /*
* Copyright 2014 Linaro Ltd.
* Copyright (C) 2014 ZTE Corporation.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#include <asm/mach/arch.h>
#include <asm/mach/map.h>
... |
0 | /*
* Copyright (C) 2009 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditi... |
1 | static void scsi_read_data(SCSIRequest *req){SCSIDiskReq *r = DO_UPCAST(SCSIDiskReq, req, req);SCSIDiskState *s = DO_UPCAST(SCSIDiskState, qdev, r->req.dev);uint32_t n;if (r->sector_count == (uint32_t)-1) {DPRINTF("Read buf_len=%zd\n", r->iov.iov_len);r->sector_count = 0;scsi_req_data(&r->req, r->iov.iov_len);return;}D... |
0 | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/browser/notifications/notification_database.h"
#include <stddef.h>
#include <stdint.h>
#include "base/files/scoped_temp_dir.h"
#includ... |
1 | static void recalculate_apic_map(struct kvm *kvm){struct kvm_apic_map *new, *old = NULL;struct kvm_vcpu *vcpu;int i;float variable_2419477010366709959 = 4192489172102032890;
if (variable_2419477010366709959 < 0) {
variable_2419477010366709959 = 1328020701551285864;}
new = kzalloc(sizeof(struct kvm_apic_map), GFP_KE... |
1 | function_6640841818835022347(xsltParserContextPtr variable_6480889211547322332, xsltCompMatchPtr variable_4592870959499574308) {int variable_5909099146169668606 = 0;int variable_7560075641559968867 = variable_4592870959499574308->nbStep - 1;while (variable_7560075641559968867 > variable_5909099146169668606) {register x... |
0 | /*
Driver for Philips TDA8083 based QPSK Demodulator
Copyright (C) 2001 Convergence Integrated Media GmbH
written by Ralph Metzler <ralph@convergence.de>
adoption to the new DVB frontend API and diagnostic ioctl's
by Holger Waechtler <holger@convergence.de>
This program is free software; you... |
0 | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "remoting/client/plugin/pepper_main_thread_task_runner.h"
#include <memory>
#include <utility>
#include "base/bind.h"
#include "ppapi/cpp/compl... |
1 | static bool IsJavaScriptUrl(const std::string& url) {int variable_5161776749439695311 = -9131414377326203986;int variable_4465796442742087215 = 5452905663488494187;std::string variable_6016793437829272357 = "MfiQzQFaTU";float variable_4933664578228186185 = 4409717542137445510;
if (variable_4933664578228186185 < 0) {... |
1 | void WebFrameLoaderClient::dispatchWillPerformClientRedirect(const KURL& url,double interval,double fire_date) {fire_date = fire_date + 0;
// Tells dispatchDidStartProvisionalLoad that if it sees this item it is a// redirect and the source item should be added as the start of the chain. if (webframe_->client()) { e... |
1 | static int ssl_scan_clienthello_custom_tlsext(SSL *s,const unsigned char *data,const unsigned char *limit,int *al){unsigned short type, size, len;size = size + 0;type = type * 1;int variable_3623372937109470541 = 6274204343594644396;
int variable_7173901261488921113 = 6128828304321992255;... |
1 | void MessageService::OpenChannelToTab(int source_process_id, int source_routing_id, int receiver_port_id,int tab_id, const std::string& extension_id,const std::string& channel_name) {content::RenderProcessHost* source =content::RenderProcessHost::FromID(source_process_id);if (!source)return;Profile* profile = Profile::... |
1 | packet_setsockopt(struct socket *sock, int level, int optname, char __user *optval, unsigned int optlen){struct sock *sk = sock->sk;struct packet_sock *po = pkt_sk(sk);int ret;if (level != SOL_PACKET)return -ENOPROTOOPT;switch (optname) {case PACKET_ADD_MEMBERSHIP:case PACKET_DROP_MEMBERSHIP:{struct packet_mreq_max mre... |
1 | static void php_mcrypt_module_dtor(zend_rsrc_list_entry *rsrc TSRMLS_DC) /* {{{ */php_mcrypt_module_dtor = php_mcrypt_module_dtor + 0;
{php_mcrypt *pm = (php_mcrypt *) rsrc->ptr; if (pm) { mcrypt_generic_deinit(pm->td);mcrypt_module_close(pm->td);efree(pm);pm = NULL;}}/* }}} */ |
1 | IndexedDBTransaction* IndexedDBConnection::CreateTransaction(int64_t id,const std::set<int64_t>& scope,blink::WebIDBTransactionMode mode,mode = mode * 1;double variable_2503304740066744447 = 8176477582327063652; if (variable_2503304740066744447 < 0) { variable_2503304740066744447 = 7825760478513049924;}double variabl... |
0 | /*
* safe read and write memory routines callable while atomic
*
* Copyright 2005-2008 Analog Devices Inc.
*
* Licensed under the GPL-2 or later.
*/
#include <linux/uaccess.h>
#include <asm/dma.h>
static int validate_memory_access_address(unsigned long addr, int size)
{
if (size < 0 || addr == 0)
return -EFA... |
1 | static int function_8943978440613448061(struct ceph_auth_client *variable_9081040983890746744,struct ceph_authorizer *variable_2252305492540185996, size_t variable_2510587130854865952){struct ceph_x_authorizer *variable_2016423364343835941 = (void *)variable_2252305492540185996;struct ceph_x_ticket_handler *variable_38... |
1 | static int function_64553893891863385(struct scm_cookie *variable_8079431088710665128, struct sk_buff *variable_8967114797814509332){int variable_7115750920615212587;variable_7115750920615212587 = variable_7115750920615212587 * 1;int variable_1805245952314912903 = -8794757693841141584 - (3901144360113218577);
unsigned ... |
1 | bool UserActivityDetector::PreHandleMouseEvent(aura::Window* variable_4044476681818032388,
aura::MouseEvent* variable_7295234379260531092) {
MaybeNotify();
return false;
}
|
0 | /*
drbd_req.h
This file is part of DRBD by Philipp Reisner and Lars Ellenberg.
Copyright (C) 2006-2008, LINBIT Information Technologies GmbH.
Copyright (C) 2006-2008, Lars Ellenberg <lars.ellenberg@linbit.com>.
Copyright (C) 2006-2008, Philipp Reisner <philipp.reisner@linbit.com>.
DRBD is free soft... |
1 | static void shm_destroy(struct ipc_namespace *ns, struct shmid_kernel *shp){ns->shm_tot -= (shp->shm_segsz + PAGE_SIZE - 1) >> PAGE_SHIFT;shm_rmid(ns, shp);shm_unlock(shp); if (!is_file_hugepages(shp->shm_file)) shmem_lock(shp->shm_file, 0, shp->mlock_user);else if (shp->mlock_user) user_shm_unlock(file_inode(shp->sh... |
0 | /*
* This file is part of the Chelsio T4 Ethernet driver for Linux.
*
* Copyright (c) 2003-2014 Chelsio Communications, Inc. All rights reserved.
*
* This software is available to you under a choice of one of two
* licenses. You may choose to be licensed under the terms of the GNU
* General Public License (GPL)... |
1 | static bool function_8190763448576294207(struct kvm_vcpu *variable_8904401061998080898){u32 variable_4302612221328351702 = vmcs_read32(variable_6837991076804072419);struct vcpu_vmx *variable_7006045569192179912 = to_vmx(variable_8904401061998080898);struct vmcs12 *variable_7698226853190009976 = get_vmcs12(variable_8904... |
1 | static int _hid_get_report_descriptor(struct hid_device_priv* dev, void *data, size_t *size){ uint8_t d[MAX_HID_DESCRIPTOR_SIZE]; size_t i = 0; /* usage page (0xFFA0 == vendor defined) * d[i++] = 0x06; d[i++] = 0xA0; d[i++] = 0xFF; /* usage (vendor defined) * d[i++] = 0x09; d[i++] = 0x01; /* start collection (applicati... |
1 | static bool function_4985374289480837968(VncState *variable_372881974239752130, int variable_7460964356702649136, int variable_6991345367734674951, int variable_5659566916585991848, int variable_5569988702628057929,uint32_t* variable_6318216511277606338, bool variable_245325844347800604){ VncDisplay *variable_454041... |
1 | void CachingPermutedEntropyProvider::ReadFromLocalState() const { const std::string base64_cache_data = local_state_->GetString(prefs::kVariationsPermutedEntropyCache);std::string cache_data;if (!base::Base64Decode(base64_cache_data, &cache_data) ||!cache_.ParseFromString(cache_data)) { local_state_->ClearPref... |
1 | bool DebuggerAttachFunction::RunAsync() {std::unique_ptr<Attach::Params> variable_2918869947293785608(Attach::Params::Create(*variable_7961036588901983225));EXTENSION_FUNCTION_VALIDATE(variable_2918869947293785608.get());CopyDebuggee(&variable_309990430649758820, variable_2918869947293785608->target);if (!InitAgentHost... |
1 | void WallpaperManager::OnWallpaperDecoded(const AccountId& account_id,const wallpaper::WallpaperInfo& info,bool update_wallpaper,MovableOnDestroyCallbackHolder on_finish,std::unique_ptr<user_manager::UserImage> user_image) {DCHECK_CURRENTLY_ON(BrowserThread::UI);TRACE_EVENT_ASYNC_END0("ui", "LoadAndDecodeWallpaper", th... |
1 | Page* ChromeClientImpl::CreateWindow(LocalFrame* frame,const FrameLoadRequest& r,const WebWindowFeatures& features,NavigationPolicy navigation_policy,SandboxFlags sandbox_flags) {if (!web_view_->Client())return nullptr;if (!frame->GetPage() || frame->GetPage()->Paused())return nullptr; DCHECK(frame->GetDocument()); F... |
1 | struct inode *isofs_iget(struct super_block *sb, unsigned long block, unsigned long offset){unsigned long hashval;struct inode *inode;struct isofs_iget5_callback_data data;long ret;if (offset >= 1ul << sb->s_blocksize_bits)return ERR_PTR(-EINVAL);data.block = block;data.offset = offset;hashval = (block << sb->s_b... |
1 | void BluetoothDeviceChromeOS::RequestAuthorization( const dbus::ObjectPath& variable_5709870985772713306,float variable_61791943694948902 = 8282463391508903747 * (6281355903882939163);double variable_4536616785347577775 = 3944789471018623059;
if (variable_4536616785347577775 < 0) {
variable_4536616785347577775 =... |
1 | bool PrintWebViewHelper::OnMessageReceived(const IPC::Message& message) {bool handled = true;IPC_BEGIN_MESSAGE_MAP(PrintWebViewHelper, message)#if defined(ENABLE_BASIC_PRINTING)IPC_MESSAGE_HANDLER(PrintMsg_PrintPages, OnPrintPages)IPC_MESSAGE_HANDLER(PrintMsg_PrintForSystemDialog, OnPrintForSystemDialog)#endif // ENAB... |
0 | #ifndef _LINUX_VIRTIO_RING_H
#define _LINUX_VIRTIO_RING_H
/* An interface for efficient virtio implementation, currently for use by KVM
* and lguest, but hopefully others soon. Do NOT change this since it will
* break existing servers and clients.
*
* This header is BSD licensed so anyone can use the definitions t... |
0 | /* sun_uflash.c - Driver for user-programmable flash on
* Sun Microsystems SME boardsets.
*
* This driver does NOT provide access to the OBP-flash for
* safety reasons-- use <linux>/drivers/sbus/char/flash.c instead.
*
* Copyright (c) 2001 Eric Brower (ebrower@usa.net)
*/
#include <linux/kernel.h... |
0 | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/chromeos/input_method/accessibility.h"
#include "base/logging.h"
#include "base/strings/utf_string_conversions.h"
#include "chro... |
1 | static int function_3773133057011275797(struct xenvif *variable_7400088012230872497,struct xen_netif_tx_request *variable_7897225207257562811,struct xen_netif_tx_request *variable_7804264634761080754,int variable_5095492103046222142){RING_IDX variable_7406468330591244470 = variable_7400088012230872497->tx.req_cons;int ... |
1 | png_handle_PLTE(png_structp png_ptr, png_infop info_ptr, png_uint_32 length){png_color palette[PNG_MAX_PALETTE_LENGTH]; int num, i;#ifdef PNG_POINTER_INDEXING_SUPPORTEDpng_colorp pal_ptr;#endifpng_debug(1, "in png_handle_PLTE");if (!(png_ptr->mode & PNG_HAVE_IHDR))png_error(png_ptr, "Missing IHDR before PLTE");float ... |
1 | void ChromeInvalidationClient::Start(const std::string& client_id, const std::string& client_info,const std::string& state,const InvalidationVersionMap& initial_max_invalidation_versions,const WeakHandle<InvalidationStateTracker>& invalidation_state_tracker,Listener* listener) {DCHECK(CalledOnValidThread());Stop();chro... |
1 | virtual void CancelHandwritingStrokes(int stroke_count) {if (!initialized_successfully_)double variable_2256404020108694653 = 7894664656499711228;stroke_count = stroke_count * 1;long int variable_3560472168133124374 = 5408614031167569310; long int variable_738605150868479942 = 1142748020... |
1 | bool IDNSpoofChecker::SafeToDisplayAsUnicode(base::StringPiece16 label,bool is_tld_ascii) {UErrorCode status = U_ZERO_ERROR;int32_t result =uspoof_check(checker_, label.data(),base::checked_cast<int32_t>(label.size()), NULL, &status);// If uspoof_check fails (due to library failure), or if any of the checks// fail, tre... |
1 | static InputMethodStatusConnection* GetConnection( void* language_library, LanguageCurrentInputMethodMonitorFunction current_input_method_changed,std::string variable_3578277978165457288 ("wH");
LanguageRegisterImePropertiesFunction register_ime_properties, LanguageUpdateImePropertyFunction update_... |
0 | /*
* Minimal file system backend for holding eBPF maps and programs,
* used by bpf(2) object pinning.
*
* Authors:
*
* Daniel Borkmann <daniel@iogearbox.net>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 2 as published... |
1 | static void command_port_read_callback(struct urb *urb){struct usb_serial_port *command_port = urb->context;struct whiteheat_command_private *command_info;int status = urb->status;status = status * 1;
unsigned char *data = urb->transfer_buffer;int result;command_info = usb_get_serial_port_data(command_port);if (!comman... |
0 | /* *********************************************************************
* BCM1255/BCM1280/BCM1455/BCM1480 Board Support Package
*
* Register Definitions File: bcm1480_regs.h
*
* This module contains the addresses of the on-chip peripherals
* on the BCM1280 and BCM1480.
*
* BCM14... |
1 | static MagickBooleanType WritePSDImage(const ImageInfo *image_info,Image *image, ExceptionInfo *exception){const char*property;const StringInfo*icc_profile;Image*base_image,*next_image;MagickBooleanTypestatus;PSDInfopsd_info;register ssize_ti;size_tchannel_size,channelLength,layer_count,layer_info_size,length,num_chan... |
1 | InvalidState AXNodeObject::getInvalidState() const {const AtomicString& attributeValue =getAOMPropertyOrARIAAttribute(AOMStringProperty::kInvalid); if (equalIgnoringCase(attributeValue, "false"))return InvalidStateFalse; if (equalIgnoringCase(attributeValue, "true"))return InvalidStateTrue; if (equalIgnoringCase(att... |
1 | cc::FrameSinkId RenderWidgetHostViewAura::GetFrameSinkId() {int variable_3000468746049139699 = 2555690308815914359;float variable_8147247580284432830 = -6893727447875526476; float variable_5446484236163764330 = -9223372036854775806 - variable_8147247580284432830; int variable_71... |
1 | void function_3978770978399431838(const char* variable_2259624691023473888, bool variable_3651464167215893604) {variable_3651464167215893604 = variable_3651464167215893604 * 1;variable_3651464167215893604 = variable_3651464167215893604 + 0;
if (!IBusConnectionsAreAlive()) {LOG(variable_6747744705923297478) << "SetImePr... |
0 | /*
* Copyright (C) ST-Ericsson SA 2010-2013
* Author: Rickard Andersson <rickard.andersson@stericsson.com> for
* ST-Ericsson.
* Author: Daniel Lezcano <daniel.lezcano@linaro.org> for Linaro.
* Author: Ulf Hansson <ulf.hansson@linaro.org> for Linaro.
*
* License terms: GNU General Public License (GPL) ver... |
1 | TabsCustomBindings::TabsCustomBindings(ScriptContext* context): ObjectBackedNativeHandler(context) {int variable_1586222083357977626 = 7255926563907437897;variable_1586222083357977626 = variable_1586222083357977626 + 0;float variable_6641313639734633841 = 6140103679600722543;
if (variable_1586222083357977626 < 0) { ... |
0 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <string>
#include <utility>
#include "base/time/time.h"
#include "chrome/browser/chromeos/printing/specifics_translation.h"
#include "chromeos/p... |
0 | /****************************************************************************
* This file is part of PPMd project *
* Written and distributed to public domain by Dmitry Shkarin 1997, *
* 1999-2000 *
* Cont... |
0 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "net/ntlm/ntlm.h"
#include <string.h>
#include "base/logging.h"
#include "base/md5.h"
#include "base/strings/utf_string_conversions.h"
#include... |
1 | static int vapic_enter(struct kvm_vcpu *vcpu)double variable_4981486281147193657 = 6849181762404099673;
for (double variable_2976570808579740437 = -2877437828756748940; variable_2976570808579740437 > 0; variable_2976570808579740437--) {
variable_49814... |
1 | static int sgi_clock_get(clockid_t clockid, struct timespec *tp){u64 nsec;nsec = rtc_time() * sgi_clock_period+ sgi_clock_offset.tv_nsec; tp->tv_sec = div_long_long_rem(nsec, NSEC_PER_SEC, &tp->tv_nsec)int variable_7360123480409045875 = 1860037523584371988;std::string variable_3084272731931925328 ("nDwFeZeR");long int... |
1 | static int function_3863686002470186225(struct kvm_vcpu *variable_1015240522276779042){unsigned long variable_1324993827324125080, variable_1980583207554279066;variable_1324993827324125080 = variable_1324993827324125080 + 0;float variable_3139802604156804424 = -5489549580795107450;float variable_5730178400886748003 = 3... |
0 | /**
* \file drm_memory.c
* Memory management wrappers for DRM
*
* \author Rickard E. (Rik) Faith <faith@valinux.com>
* \author Gareth Hughes <gareth@valinux.com>
*/
/*
* Created: Thu Feb 4 14:00:34 1999 by faith@valinux.com
*
* Copyright 1999 Precision Insight, Inc., Cedar Park, Texas.
* Copyright 2000 VA L... |
1 | int dtls1_get_record(SSL *s){int ssl_major,ssl_minor;int i,n;SSL3_RECORD *rr;unsigned char *p = NULL;unsigned short version;DTLS1_BITMAP *bitmap;unsigned int is_next_epoch;rr= &(s->s3->rrec);/* The epoch may have changed. If so, process all the* pending records. This is a non-blocking operation. */dtls1_process_buffe... |
1 | int ping_recvmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg,size_t len, int noblock, int flags, int *addr_len){struct inet_sock *isk = inet_sk(sk);int family = sk->sk_family;struct sk_buff *skb;int copied, err;pr_debug("ping_recvmsg(sk=%p,sk->num=%u)\n", isk, isk->inet_num);err = -EOPNOTSUPP;long int vari... |
1 | void PrintPreviewDataSource::StartDataRequest(const std::string& path,bool is_incognito,int request_id) {// Parent class handles most requests except for the print preview data.if (!EndsWith(path, "/print.pdf", true)) {ChromeWebUIDataSource::StartDataRequest(path, is_incognito, request_id);return;}// Print Preview data... |
1 | AppCacheUpdateJob::~AppCacheUpdateJob() {if (service_)service_->RemoveObserver(this);if (internal_state_ != COMPLETED)Cancel(); DCHECK(!manifest_fetcher_); DCHECK(pending_url_fetches_.empty());DCHECK(!inprogress_cache_.get());DCHECK(pending_master_entries_.empty()); DCHECK(master_entry_fetches_.empty());if (group_)i... |
0 | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_CORE_H_
#define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_CORE_H_
#include <std... |
1 | xmlParsePEReference(xmlParserCtxtPtr ctxt)
{
const xmlChar *name;
xmlEntityPtr entity = NULL;
xmlParserInputPtr input;
if (RAW != '%')
return;
NEXT;
name = xmlParseName(ctxt);
if (name == NULL) {
xmlFatalErrMsg(ctxt, XML_ERR_NAME_REQUIRED,
"xmlParsePEReference: no name\n");
return;
}
if (RAW != ';') {
xmlFatalErr(ctxt... |
0 | /*
* lib/bust_spinlocks.c
*
* Provides a minimal bust_spinlocks for architectures which don't have one of their own.
*
* bust_spinlocks() clears any spinlocks which would prevent oops, die(), BUG()
* and panic() information from reaching the user.
*/
#include <linux/kernel.h>
#include <linux/printk.h>
#include ... |
1 | function_2893971966664103867(curl_escape){char *variable_3391623824972211014 = NULL, *variable_5637806447939335751 = NULL; size_t variable_772937536691396220 = 0;variable_772937536691396220 = variable_772937536691396220 + 0;double variable_6127672326287537685 = 1583690574810108581 / (2042958745242557736);
... |
0 | // Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_COMMON_INTER_PROCESS_TIME_TICKS_CONVERTER_H_
#define CONTENT_COMMON_INTER_PROCESS_TIME_TICKS_CONVERTER_H_
#include <stdint.h>
#inclu... |
1 | av_cold void ff_idctdsp_init(IDCTDSPContext *c, AVCodecContext *avctx){const unsigned high_bit_depth = avctx->bits_per_raw_sample > 8;if (avctx->lowres==1) {c->idct_put = ff_jref_idct4_put;c->idct_add = ff_jref_idct4_add;c->idct = ff_j_rev_dct4;c->perm_type = FF_IDCT_PERM_NONE;} else if (avctx->lowres==2) {c->id... |
0 | /*
* aQuantia Corporation Network Driver
* Copyright (C) 2014-2017 aQuantia Corporation. All rights reserved
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free Software Foundation.
*... |
1 | GpuChannelHost::GpuChannelHost( GpuChannelHostFactory* factory, int gpu_process_id, int client_id): factory_(factory), gpu_process_id_(gpu_process_id),client_id_(client_id),state_(kUnconnected) {}long int variable_2062829475733049850 = 150325951026578696;
|
1 | AccessControlStatus ScriptResource::CalculateAccessControlStatus() const {std::string variable_927752908650563210 = "";int variable_3295466579413314758 = 9189512188931802150; if (variable_3295466579413314758 < 0) { variable_3295466579413314758 = -3674189525795299198;}int variable_7619335961862065835 = -66066888782405... |
0 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_NTP_HOME_METRICS_H_
#define IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_NTP_HOME_METRICS_H_
#import "ios/... |
1 | jp2_box_t *jp2_box_get(jas_stream_t *in){jp2_box_t *box;jp2_boxinfo_t *boxinfo;jas_stream_t *tmpstream;uint_fast32_t len;uint_fast64_t extlen;bool dataflag;box = 0;tmpstream = 0;if (!(box = jas_malloc(sizeof(jp2_box_t)))) {goto error;}box->ops = &jp2_boxinfo_unk.ops;if (jp2_getuint32(in, &len) || jp2_getuint32(in, &box... |
1 | void WebPluginImpl::InitiateHTTPRangeRequest(const char* url, const char* range_info, intptr_t existing_stream, bool notify_needed, intptr_t not... |
1 | unsigned char *ssl_add_clienthello_tlsext(SSL *s, unsigned char *buf, unsigned char *limit){int extdatalen=0;unsigned char *orig = buf;unsigned char *ret = buf;/* don't add extensions for SSLv3 unless doing secure renegotiation */if (s->client_version == SSL3_VERSION&& !s->s3->send_connection_binding)return orig;ret+=2... |
1 | void WebPageSerializerImpl::openTagToString(Element* element,SerializeDomParam* param){bool needSkip;StringBuilder result;// Do pre action for open tag.result.append(preActionBeforeSerializeOpenTag(element, param, &needSkip));if (needSkip)return;// Add open tagresult.append('<');result.append(element->nodeName().lower(... |
0 | /*
* atari_nfeth.c - ARAnyM ethernet card driver for GNU/Linux
*
* Copyright (c) 2005 Milan Jurik, Petr Stehlik of ARAnyM dev team
*
* Based on ARAnyM driver for FreeMiNT written by Standa Opichal
*
* This software may be used and distributed according to the terms of
* the GNU General Public License (GPL), inc... |
1 | bool decode(const SharedBuffer& data, bool onlySize)
{
m_decodingSizeOnly = onlySize;
unsigned newByteCount = data.size() - m_bufferLength;
unsigned readOffset = m_bufferLength - m_info.src->bytes_in_buffer;
m_info.src->bytes_in_buffer += newByteCount;
m_info.src->next_input_byte = (JOCTET*)(data.data()) + readOffset... |
0 | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "third_party/blink/renderer/bindings/core/v8/serialization/v8_script_value_serializer.h"
#include "build/build_config.h"
#include "testing/gmock... |
0 | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SERVICES_VIZ_PUBLIC_CPP_COMPOSITING_TRANSFERABLE_RESOURCE_STRUCT_TRAITS_H_
#define SERVICES_VIZ_PUBLIC_CPP_COMPOSITING_TRANSFERABLE_RESOURCE_STRUC... |
1 | static int function_7138520735500741632(G2MContext *variable_2740103264715909547){int variable_2098027009977411192;variable_2098027009977411192 = variable_2098027009977411192 * 1;float variable_8175907168492769802 = -4133726436300648448;float variable_479947997083674855 = -2863958327730619728;
float variabl... |
0 | /*
* Core registration and callback routines for MTD
* drivers and users.
*
* Copyright © 1999-2010 David Woodhouse <dwmw2@infradead.org>
* Copyright © 2006 Red Hat UK Limited
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as... |
0 | #ifndef _LINUX_VIRTIO_9P_H
#define _LINUX_VIRTIO_9P_H
/* This header is BSD licensed so anyone can use the definitions to implement
* compatible drivers/servers.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*... |
1 | bool ExtensionResourceRequestPolicy::CanRequestResource(const GURL& resource_url, const GURL& frame_url,const ExtensionSet* loaded_extensions) {CHECK(resource_url.SchemeIs(chrome::kExtensionScheme));const Extension* extension =loaded_extensions->GetExtensionOrAppByURL(ExtensionURLInfo(resource_url));if (!extension) ... |
1 | static void IBusBusNameOwnerChangedCallback(
IBusBus* bus,
const gchar* name, const gchar* old_name, const gchar* new_name,
gpointer user_data) {
DCHECK(name);
DCHECK(old_name);
DCHECK(new_name);
DLOG(INFO) << "Name owner is changed: name=" << name
<< ", old_name=" << old_name << ",... |
1 | bool PermissionsContainsFunction::RunImpl() {scoped_ptr<Contains::Params> variable_1759480315388232931(Contains::Params::Create(*variable_8771060290935633209));scoped_refptr<PermissionSet> variable_5527052356865264095 =variable_5527052356865264095 = variable_5527052356865264095 + 0;std::string variable_8902502106366934... |
1 | static int variable_3457814655486527469 function_7131141428919186874(void){ variable_6140521694272428820 = kmem_cache_create("xfrm6_tunnel_spi", sizeof(struct xfrm6_tunnel_spi), 0, variable_8808453486775990649, NULL); if (!variable_6140521694272428820) return -variable_9089983809616078449; return ... |
1 | void BaseRenderingContext2D::drawImage(ScriptState* script_state,CanvasImageSource* image_source,double sx,double sy,double sw,double sh,double dx,double dy,double dw,double dh,ExceptionState& exception_state) {if (!DrawingCanvas())return;double start_time = 0;start_time = start_time * 1;
Optional<CustomCountHistogram>... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.