text stringlengths 4 6.14k |
|---|
/**
* @file RelaxationCalculator.h
*
* This file declares the CRelaxationCalculator class.
*/
#ifndef RELAXATIONCALCULATOR_H_
#define RELAXATIONCALCULATOR_H_
/**
* The CRelaxationCalculator class is used to determine the relaxation state that conserves k/(psi*psi)
* In addition, this relaxed state may feature a... |
/*Daala video codec
Copyright (c) 2003-2010 Daala project contributors. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice, this
l... |
/**
* @file
*
* @date Oct 7, 2013
* @author: Anton Bondarev
*/
#include <errno.h>
#include <stdlib.h>
#include <string.h>
#include <kernel/thread.h>
#include <kernel/task.h>
#include <mem/sysmalloc.h>
#include <kernel/thread/sync/mutex.h>
#include <kernel/task/thread_key_table.h>
#include <kernel/task/resource/th... |
/************************************************************************
\link www.twinklingstar.cn
\author Twinkling Star
\date 2013/11/22
****************************************************************************/
#ifndef SR_FOUNDATION_SRDEQUE_H_
#define SR_FOUNDATION_SRDEQUE_H_
#include <stdio.h>
/** \addtogro... |
/******************************************************************************
This source file is part of the MoleQueue project.
Copyright 2012 Kitware, Inc.
This source code is released under the New BSD License, (the "License").
Unless required by applicable law or agreed to in writing, software
distribute... |
/*
* CCLayerPanZoom
*
* Copyright (c) 2011 Alexey Lang
* Copyright (c) 2011 Pavel Guganov
*
* http://www.cocos2d-x.org
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, i... |
/*
Copyright (C) 1998, 1999, 2001, 2002 Jérôme Lecomte
This file is part of XLW, a free-software/open-source C++ wrapper of the
Excel C API - http://xlw.sourceforge.net/
XLW is free software: you can redistribute it and/or modify it under the
terms of the XLW license. You should have received a copy of the
lic... |
/*
NSFNanoGlobals_Private.h
NanoStore
Copyright (c) 2010 Webbo, L.L.C. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted
provided that the following conditions are met:
* Redistributions of source code must... |
// Copyright (c) 2016, Mirego
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// - Redistributions of source code must retain the above copyright notice,
// this list of conditions and th... |
/* $Header: /cvsroot/wikipedia/willow/src/bin/willow/daemon.c,v 1.1 2005/05/02 19:15:21 kateturner Exp $ */
/* $NetBSD: daemon.c,v 1.9 2003/08/07 16:42:46 agc Exp $ */
/*-
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary... |
#ifndef SEASTEST_H_
#define SEASTEST_H_
#include "unitroot.h"
#ifdef __cplusplus
extern "C" {
#endif
void decompose(double *x,int N, int f,double *filter, const char *type, double *trend, int *ltrend, double *seas, int *lseas, double *random, int *lrandom);
double* genLags(double *y, int N, int maxLags, int *rows, ... |
// Copyright 2018 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_ENTERPRISE_BROWSER_CONTROLLER_CHROME_BROWSER_CLOUD_MANAGEMENT_HELPER_H_
#define COMPONENTS_ENTERPRISE_BROWSER_CONTROLLER_CHROME_BROWSER... |
#ifndef __CURVE_EDITOR_POPUP_H__
#define __CURVE_EDITOR_POPUP_H__
//////////////////////////////////////////////////////////////////////////////////////////////////
//
// file: curveEditor_popup.h
//
// Author Sergey Solokhin (Neill3d)
//
//
// GitHub page - https://github.com/Neill3d/MoPlugs_Framework
// Licensed und... |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim:set ts=2 sw=2 sts=2 et cindent: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.... |
#ifndef WALLE_CALLBACK_H_
#define WALLE_CALLBACK_H_
#include <walle/smart_ptr/smart_ptr.h>
#include <walle/sys/wallesys.h>
using namespace walle::sys;
namespace walle {
namespace net{
class Buffer;
class TcpConnection;
typedef std::shared_ptr<TcpConnection> TcpConnectionPtr;
typedef std::function<void()> TimerCallb... |
/* Copyright Joyent, Inc. and other Node contributors. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
* deal in the Software without restriction, including without limitation the
* righ... |
/* $OpenBSD: isareg.h,v 1.2 1997/11/07 08:07:03 niklas Exp $ */
/* $NetBSD: isareg.h,v 1.5 1995/04/17 12:09:13 cgd Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
* All rights reserved.
*
* This code is derived from software contributed to Berkeley by
* William Jolitz.
*
* Redistr... |
#pragma once
#include "qglviewer.h"
#include "qapplication.h"
#include "fps_kinfu_tracker.h"
#include "gl_helpers/simple_viewer.h"
namespace fps_mapper {
class KinfuTrackerViewer: public GLHelpers::SimpleViewer {
public:
EIGEN_MAKE_ALIGNED_OPERATOR_NEW;
KinfuTrackerViewer(FPSKinfuTracker* _tracker);
... |
//
// PullToRefreshViewController.h
// TableViewPull
//
// Created by Devin Doty on 10/16/09October16.
// Modified by Mannie Tagarira on February 1, 2011
// Copyright enormego 2009. All rights reserved.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and ass... |
#ifndef __BIT_DLFCN_H__
#define __BIT_DLFCN_H__
#include <features.h>
#define RTLD_LAZY (1 << 0)
#define RTLD_NOW (1 << 1)
#define RTLD_BINDING_MASK (RTLD_LAZY | RTLD_NOW)
#define RTLD_NOLOAD (1 << 2)
#define RTLD_DEEPBIND (1 << 3)
#define RTLD_GLOBAL (1 << 8)
#define RTLD_LOCAL ... |
/*
Copyright 2002-2004 John Plevyak, All Rights Reserved
*/
#include "d.h"
int scan_buffer(d_loc_t *aloc, D_State *parse_state, ShiftResult *results) {
d_loc_t loc = *aloc, last_loc = *aloc;
char *s = loc.s;
int col = loc.col, line = loc.line;
int nresults = 0, i = 0, j;
D_Shift **shift = NULL, **shift_di... |
#pragma once
#include "Actuator.h"
#include "carmodel/IServoDrive.h"
#include "meta/IServoDriveConfig.h"
#include <boost/smart_ptr.hpp>
namespace A2O {
/**
* The ServoDrive class represenst a servo drive holding a specific position.
*
* \author Stefan Glaser
*/
class ServoDrive : public Actuator, public vir... |
/*
* Copyright (c) 2011 Gerard Green
* All rights reserved
*
* Please see the file 'LICENSE' for further information
*/
#ifndef _MULTIPROCESSOR_H_INCLUDED
#define _MULTIPROCESSOR_H_INCLUDED
#include <stdint.h>
#define MP_PTR_SIG (0x5f504d5f)
/* These structures are from the Intel multiprocessor spec. */
ty... |
//
// io/nogr/input.c
//
#ifdef WITH_SDL
#include <SDL2/SDL.h>
#include <SDL2/SDL_ttf.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include "input.h"
#include "display.h"
#include "../display.h"
#include "../../controls.h"
#include "../../config.h"
#undef isprint
#define isprint(c... |
#include <pebble.h>
#include "serial.h"
static const char OPPONENT_SCORE = 'O';
static const char PLAYER_SCORE = 'P';
void add_opponent_score(list_t *serial) {
list_rpush(serial, list_node_new((void *) &OPPONENT_SCORE));
}
void add_player_score(list_t *serial) {
list_rpush(serial, list_node_new((void *) &PLAYER_... |
//
// This file is part of the µOS++ III distribution.
// Copyright (c) 2014 Liviu Ionescu.
//
// ----------------------------------------------------------------------------
#include "../cmsis/LPC13Uxx.h"
// ----------------------------------------------------------------------------
extern void
__attribute__((nor... |
/**
* PANDA 3D SOFTWARE
* Copyright (c) Carnegie Mellon University. All rights reserved.
*
* All use of this software is subject to the terms of the revised BSD
* license. You should have received a copy of this license along
* with this source code in a file named "LICENSE."
*
* @file glShaderContext_src.h
... |
// -*- Mode:ObjC; c-basic-offset:4; tab-width:8; indent-tabs-mode:nil -*-
/*
* ItemShelf for iOS
* Copyright (C) 2008-2011, ItemShelf Development Team, All rights reserved.
* For conditions of distribution and use, see LICENSE file.
*/
#import "Common.h"
/**
URL query parameter
*/
@interface URLQuery : NSObje... |
/**
* Copyright (c) 2014, Mattijs Korpershoek
* 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 o... |
/*
* Copyright (c) 2016 CartoDB. All rights reserved.
* Copying and using this code is allowed only according
* to license terms, as given in https://cartodb.com/terms/
*/
#ifndef _CARTO_PACKAGEMANAGERROUTINGSERVICE_H_
#define _CARTO_PACKAGEMANAGERROUTINGSERVICE_H_
#if defined(_CARTO_ROUTING_SUPPORT) && defined(_... |
/*
module : or.c
version : 1.9
date : 07/23/20
*/
#ifndef OR_C
#define OR_C
/**
or : X Y -> Z
Z is the union of sets X and Y, logical disjunction for truth values.
*/
void do_or(void)
{
BINARY;
stack[-2] |= stack[-1];
do_pop();
}
#endif
|
/*********************************************************************/
/* Copyright 2009, 2010 The University of Texas at Austin. */
/* All rights reserved. */
/* */
/* Redistribution and use in sou... |
// 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.
#ifndef COMPONENTS_VARIATIONS_VARIATIONS_SEED_STORE_H_
#define COMPONENTS_VARIATIONS_VARIATIONS_SEED_STORE_H_
#include <string>
#include "base/compiler_... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE78_OS_Command_Injection__char_console_w32_execvp_11.c
Label Definition File: CWE78_OS_Command_Injection.strings.label.xml
Template File: sources-sink-11.tmpl.c
*/
/*
* @description
* CWE: 78 OS Command Injection
* BadSource: console Read input from the console... |
/*
* Copyright (c) 2011,2015 Apple Inc. All rights reserved.
*
* corecrypto Internal Use License Agreement
*
* IMPORTANT: This Apple corecrypto software is supplied to you by Apple Inc. ("Apple")
* in consideration of your agreement to the following terms, and your download or use
* of this Apple software con... |
#include<stdio.h> //for printf
#include<stdlib.h> //for exit()
#include"gnuplot_i.h"
#include"TCP_API.h"
#include"signal_processing2.h"
#define Port 7538
#define fmin 1000000 //low frequency of pass_band filter
#define fmax 6000000 //high frequency of pass_band filter
//#define Ymax 1 //maximum boundary of the y axis... |
/*=========================================================================
Program: Visualization Toolkit
Module: vtkTreeMapLayout.h
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software i... |
#ifndef ALIANALYSISTASKEMCALOCCUPANCY_H
#define ALIANALYSISTASKEMCALOCCUPANCY_H
#include "AliAnalysisTaskEmcalLight.h"
#include <TString.h>
class THistManager;
/**
* @class AliAnalysisTaskEmcalOccupancy
* @brief Task monitoring the occupancy on cluster and cell level
*/
class AliAnalysisTaskEmcalOccupancy : publi... |
//this is a file in the VAc dynamic model software package
//Copyright: Rong Chen and Kedar Dave, June 2002
//VERSION 1.0
//This routine provides a 'full-position' PID algorithm
//original author: Francisco Reyes-De Leon, Chemical Engineering Department, Lehigh University
//modified by Rong Chen
//Note: the controller... |
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by hsp3debug.rc
//
#define IDC_TAB1 1007
#define IDC_LIST1 1008
#define IDC_EDIT1 1009
#define IDC_BUTTON1 1010
#define IDC_SORT ... |
// 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.
#ifndef COMPONENTS_SYNC_ENGINE_MODEL_TYPE_CONFIGURER_H_
#define COMPONENTS_SYNC_ENGINE_MODEL_TYPE_CONFIGURER_H_
#include <memory>
#include "base/callbac... |
//
// RBSettingsViewController.h
// RPC Builder
//
#import "RBBaseViewController.h"
@interface RBSettingsViewController : RBBaseViewController
@end
|
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE122_Heap_Based_Buffer_Overflow__c_CWE805_int64_t_memmove_11.c
Label Definition File: CWE122_Heap_Based_Buffer_Overflow__c_CWE805.label.xml
Template File: sources-sink-11.tmpl.c
*/
/*
* @description
* CWE: 122 Heap Based Buffer Overflow
* BadSource: Allocate u... |
/*
* service.h
*
* Created on: 2015-1-11
* Author: qianqians
*/
#ifndef _service_h
#define _service_h
#include <boost/shared_ptr.hpp>
#include "../interface/rpcchannel.h"
namespace Fossilizid{
namespace juggle{
class service{
public:
/*
* initialise service
*/
virtual void init() = 0;
/*
* driv... |
/* Examples/cauchy_01.c
Jerasure - A C/C++ Library for a Variety of Reed-Solomon and RAID-6 Erasure Coding Techniques
Revision 1.2A
May 24, 2011
James S. Plank
Department of Electrical Engineering and Computer Science
University of Tennessee
Knoxville, TN 37996
plank@cs.utk.edu
Copyright (c) 2011, James S. Plank
Al... |
/* Copyright 2014. The Regents of the University of California.
* All rights reserved. Use of this source code is governed by
* a BSD-style license which can be found in the LICENSE file.
*
* Authors:
* 2012, 2014 Martin Uecker <uecker@eecs.berkeley.edu>
*/
#include <stdio.h>
#include <stdlib.h>
#include <ass... |
// Copyright (c) 2014 Baidu.com, Inc. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// Author: qinzuoyan01@baidu.com (Qin Zuoyan)
/*
LZ4 - Fast LZ compression algorithm
Header File
Copyright (C) 2011-2012, Yann Collet.
BSD 2-... |
#include "virtual-machine.h"
r3x_cpu_t* MyCPU;
void Start(r3x_cpu_t* CPU) {
MyCPU = CPU;
return;
}
uint32_t myfunc(void) {
printf("getting argument 1 (STRING): %s\n", (char*)GetLinearAddress(MyCPU, GetArgument(MyCPU, 1,1)));
printf("returning 666\n");
return 666;
}
|
/*
* Copyright (c) 2016 CartoDB. All rights reserved.
* Copying and using this code is allowed only according
* to license terms, as given in https://cartodb.com/terms/
*/
#ifndef _CARTO_CLUSTERELEMENTBUILDER_H_
#define _CARTO_CLUSTERELEMENTBUILDER_H_
#include "core/MapPos.h"
#include <vector>
#include <memory>
... |
#include <stdint.h>
#include <time.h>
#include <lib.h>
#include <shell.h>
extern char bss;
extern char endOfBinary;
static int var1 = 0;
static int var2 = 0;
void * memset(void * destiny, int32_t c, uint64_t length);
int main() {
//Clean BSS
memset(&bss, 0, &endOfBinary - &bss);
shell();
... |
//
// ENGPhotoSubmitterServiceSettingTableViewProtocol.h
//
// Created by ISHITOYA Kentaro on 12/01/02.
//
#import <Foundation/Foundation.h>
#import "ENGPhotoSubmitterProtocol.h"
#define PHOTOSUBMITTER_DEFAULT_ALBUM_NAME @"photoSubmitter"
#define SV_SECTION_ACCOUNT 0
#define SV_ROW_ACCOUNT_NAME 0
#define SV_ROW_ACC... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE78_OS_Command_Injection__wchar_t_connect_socket_system_31.c
Label Definition File: CWE78_OS_Command_Injection.one_string.label.xml
Template File: sources-sink-31.tmpl.c
*/
/*
* @description
* CWE: 78 OS Command Injection
* BadSource: connect_socket Read data u... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE78_OS_Command_Injection__char_connect_socket_execlp_54c.c
Label Definition File: CWE78_OS_Command_Injection.strings.label.xml
Template File: sources-sink-54c.tmpl.c
*/
/*
* @description
* CWE: 78 OS Command Injection
* BadSource: connect_socket Read data using... |
//
// SDLChoiceSetManager.h
// SmartDeviceLink
//
// Created by Joel Fischer on 5/21/18.
// Copyright © 2018 smartdevicelink. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "SDLInteractionMode.h"
@class SDLChoiceCell;
@class SDLChoiceSet;
@class SDLFileManager;
@class SDLKeyboardProperties;
@... |
//
// PhoneFinder.h
// PhoneFinder
//
// Created by John Brewer on 4/28/14.
// Copyright (c) 2014 Jera Design LLC. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <CoreLocation/CoreLocation.h>
#import "PhoneFinderDelegate.h"
#import "CVFRomoHandlerDelegate.h"
@interface PhoneFinder : NSObject<CL... |
/*
* Copyright (c) 2010 The VP8 project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing... |
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <ABI42_0_0React/components/safeareaview/SafeAreaViewShadowNode.h>
#include <ABI42_0_0React/core/ConcreteComp... |
/*
*
* National Security Research Institute
*
* FELICS - Fair Evaluation of Lightweight Cryptographic Systems
*
* Copyright (C) 2015 National Security Research Institute
*
* Written in 2015 by Ilwoong Jeong <iw98jeong@nsr.re.kr>
*
* This file is part of FELICS.
*
* FELICS is free software; you can redistrib... |
#pragma once
#ifndef PENCILTESTPOPUP_H
#define PENCILTESTPOPUP_H
#include "toonzqt/dvdialog.h"
#include "toonzqt/lineedit.h"
#include <QFrame>
// forward decl.
class QCamera;
class QCameraImageCapture;
class QComboBox;
class QLineEdit;
class QSlider;
class QCheckBox;
class QPushButton;
class QVideoFrame;
class QTi... |
/* /////////////////////////////////////////////////////////////////////////
* File: src/backends/ber/ber.WindowsDebugger.c
*
* Purpose: Implementation of ber.WindowsDebugger
*
* Created: 4th February 2006
* Updated: 23rd December 2010
*
* Home: http://www.pantheios.org/
*
* Copyrigh... |
#include "drmaa2-list.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <assert.h>
void drmaa2_list_free (drmaa2_list * listref) {
drmaa2_list l = *listref;
if (l == NULL)
return;
drmaa2_list_item head = (drmaa2_list_item)l->head;
drmaa2_list_item tmp;
while (head !=... |
/*=========================================================================
Program: Visualization Toolkit
Module: vtkGeoFileImageSource.h
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
T... |
//
// VPLASIHTTPResponse.h
// VPLHTTPClient
//
// Created by Christian Niles on 5/24/11.
// Copyright 2011 Vulpine Labs LLC. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "VPLHTTPResponseBase.h"
@class ASIHTTPRequest;
@interface VPLASIHTTPResponse : VPLHTTPResponseBase {
@private
ASIHTTPReq... |
/* ntservice.h
*
* Copyright (c) 2006 Germán Méndez Bravo (Kronuz) <kronuz@users.sf.net>
* All rights reserved.
*
*/
#ifndef SERVICE_H
#define SERVICE_H
typedef void (*svcFunc) ();
int ServiceStart();
int ServiceStop();
int ServiceRestart();
int ServiceUninstall();
int ServiceInstall();
int ServiceRun();
voi... |
// Copyright 2021 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_TRUSTED_VAULT_FAKE_SECURITY_DOMAINS_SERVER_H_
#define COMPONENTS_SYNC_TRUSTED_VAULT_FAKE_SECURITY_DOMAINS_SERVER_H_
#include <map... |
/**************************************************************************/
/*!
@file cpu.h
@author K. Townsend (microBuilder.eu)
@date 22 March 2010
@version 0.10
@section LICENSE
Software License Agreement (BSD License)
Copyright (c) 2010, microBuilder SARL
All rights r... |
//
// YaabUser.h
// Yaab
//
// Created by 魏琮举 on 13-4-26.
//
//
#import <Foundation/Foundation.h>
#import <RHAddressBook/AddressBook.h>
#import "MDUser.h"
#import "MDHTTPAPI.h"
@interface YaabUser : NSObject
{
NSUserDefaults *nsUser;
}
@property (nonatomic, strong) NSString *deviceToken;
@property (nonatomic,... |
/*
* Copyright 2019-2021 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file L... |
/*
* Editor UI ribbon toolbar header
*
* This file is part of the "ForkENGINE" (Copyright (c) 2014 by Lukas Hermanns)
* See "LICENSE.txt" for license information.
*/
#ifndef __FORK_EDITOR_UI_RIBBON_TOOL_BAR_H__
#define __FORK_EDITOR_UI_RIBBON_TOOL_BAR_H__
#include <wx/ribbon/toolbar.h>
#include <wx/artprov.h>
... |
/*
* Greybus Simulator
*
* Copyright 2014 Google Inc.
* Copyright 2014 Linaro Ltd.
*
* Provided under the three clause BSD license found in the LICENSE file.
*/
#include <stdlib.h>
#include <stdio.h>
#include <linux/types.h>
#include <unistd.h>
#include <greybus_manifest.h>
#include "gbsim.h"
#define ES1_MSG... |
/* $NetBSD: ramdac.h,v 1.2 2000/04/02 18:54:33 nathanw Exp $ */
/*-
* Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
* All rights reserved.
*
* This code is derived from software contributed to The NetBSD Foundation
* by Roland C. Dowdeswell.
*
* Redistribution and use in source and binary forms, with or ... |
// Copyright 2019 The Cobalt Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by ap... |
/**************************************************************************/
/*!
@file protocol_support.h
@author K. Townsend (microBuilder.eu)
@section LICENSE
Software License Agreement (BSD License)
Copyright (c) 2013, K. Townsend (microBuilder.eu)
All rights reserved.
Redistrib... |
/* /////////////////////////////////////////////////////////////////////////
* File: src/backends/bel/bel.WindowsDebugger.c
*
* Purpose: Implementation of bel.WindowsDebugger
*
* Created: 21st June 2005
* Updated: 23rd December 2010
*
* Home: http://www.pantheios.org/
*
* Copyright (... |
// 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 DEVICE_GEOLOCATION_GEOLOCATION_PROVIDER_IMPL_H_
#define DEVICE_GEOLOCATION_GEOLOCATION_PROVIDER_IMPL_H_
#include <list>
#include <memory>
#in... |
// 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.
#ifndef CONTENT_RENDERER_INPUT_SYNCHRONOUS_COMPOSITOR_REGISTRY_H_
#define CONTENT_RENDERER_INPUT_SYNCHRONOUS_COMPOSITOR_REGISTRY_H_
namespace content {
c... |
#ifndef LOGGER_INCLUDE
#define LOGGER_INCLUDE
#include <gsl/string_span>
#include "log/log.h"
BOOST_LOG_GLOBAL_LOGGER(exec_helper_core_logger, execHelper::log::LoggerType);
static const gsl::czstring<> LOG_CHANNEL = "core";
#define LOG(x) \
BOOST_LO... |
// Copyright 2021 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_ASH_ARC_NEARBY_SHARE_ARC_NEARBY_SHARE_BRIDGE_H_
#define CHROME_BROWSER_ASH_ARC_NEARBY_SHARE_ARC_NEARBY_SHARE_BRIDGE_H_
#include <s... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE78_OS_Command_Injection__char_environment_w32_execvp_65b.c
Label Definition File: CWE78_OS_Command_Injection.strings.label.xml
Template File: sources-sink-65b.tmpl.c
*/
/*
* @description
* CWE: 78 OS Command Injection
* BadSource: environment Read input from a... |
//===============================================================================
// @ Player.h
// ------------------------------------------------------------------------------
// Main player
//
// Copyright (C) 2008-2015 by James M. Van Verth and Lars M. Bishop.
// All rights reserved.
//
// Use of this source code i... |
/* Copyright (c) 2010-2018, Delft University of Technology
* All rigths reserved
*
* This file is part of the Tudat. Redistribution and use in source and
* binary forms, with or without modification, are permitted exclusively
* under the terms of the Modified BSD license. You should have received
*... |
// 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.
#ifndef BASE_TRACE_EVENT_HEAP_PROFILER_ALLOCATION_CONTEXT_TRACKER_H_
#define BASE_TRACE_EVENT_HEAP_PROFILER_ALLOCATION_CONTEXT_TRACKER_H_
#include <vecto... |
// Copyright 2020 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 ASH_SYSTEM_AUDIO_MIC_GAIN_SLIDER_CONTROLLER_H_
#define ASH_SYSTEM_AUDIO_MIC_GAIN_SLIDER_CONTROLLER_H_
#include "ash/system/unified/unified_slider... |
// Copyright (c) 2012, HTW Berlin / Project HardMut
// (http://www.hardmut-projekt.de)
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
//
// * Redistributions of source code must retain ... |
// 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 BASE_FILES_SCOPED_TEMP_DIR_H_
#define BASE_FILES_SCOPED_TEMP_DIR_H_
// An object representing a temporary / scratch directory that should be
... |
// 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.
#ifndef DEVICE_BLUETOOTH_DBUS_FAKE_BLUETOOTH_GATT_DESCRIPTOR_CLIENT_H_
#define DEVICE_BLUETOOTH_DBUS_FAKE_BLUETOOTH_GATT_DESCRIPTOR_CLIENT_H_
#include <s... |
// 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 NET_THIRD_PARTY_QUIC_PLATFORM_API_QUIC_FUZZED_DATA_PROVIDER_H_
#define NET_THIRD_PARTY_QUIC_PLATFORM_API_QUIC_FUZZED_DATA_PROVIDER_H_
#include "n... |
#include <stdio.h>
#include <stdlib.h>
#include "memory_alignment.h"
int main(void)
{
char c;
int i;
printf("Starting...\n");
printf("Read: char aligned: ");
c = read_char_aligned();
printf("%i\n", c);
printf("Storing char aligned...\n");
store_char_aligned(c + 1);
printf("Read: char aligned: ");
c = read... |
// 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 ASH_WM_SESSION_STATE_ANIMATOR_H_
#define ASH_WM_SESSION_STATE_ANIMATOR_H_
#include "ash/ash_export.h"
#include "ash/wm/workspace/colored_wind... |
#include "customtype_mock.h"
#include "unity.h"
#include <string.h>
#include <stdlib.h>
#define MAX_LENGTH_ERROR_MESSAGE 100
static fooMockData fooData;
static barMockData barData;
static basMockData basData;
void customtype_MockSetup(void)
{
memset(&fooData, 0, sizeof(fooData));
memset(&barData, 0, sizeof(b... |
/*-
* Copyright (c) 2001 Jake Burkholder.
* 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 co... |
#import <Foundation/Foundation.h>
#import "MergeProtocol.h"
@interface Merge : NSObject
// Merge obj1 with obj2 if possible. If successful, returns YES; otherwise NO.
// If successful, result points to the merged object. Note that this method may
// merge obj1 into obj2 or obj2 into obj1, depending on which directi... |
/*
m2elspace.c
element which occupies some space
m2tklib = Mini Interative Interface Toolkit Library
Copyright (C) 2011 olikraus@gmail.com
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Softwa... |
#pragma once
#include <glbinding/nogl.h>
#include <glbinding/gl/types.h>
namespace gl14ext
{
using gl::GLextension;
using gl::GLenum;
using gl::GLboolean;
using gl::GLbitfield;
using gl::GLvoid;
using gl::GLbyte;
using gl::GLshort;
using gl::GLint;
using gl::GLclampx;
using gl::GLubyte;
using gl::GLushort;
using gl... |
//
// EMWebImagePickerViewController.h
// Example
//
// Created by Elliott Minns on 20/02/2014.
// Copyright (c) 2014 Elliott Minns. All rights reserved.
//
#import <UIKit/UIKit.h>
@class EMWebImagePickerViewController;
typedef void (^EMWebImagePickerSelectedBlock)(EMWebImagePickerViewController *picker, NSArray... |
#pragma once
#include <d3d9.h>
#include <d3dx9.h>
#include "../Common/common.h"
using namespace common;
#include "../wxMemMonitorLib/wxMemMonitor.h" // debug library
#include "base/graphicdef.h"
#include "base/material.h"
#include "base/light.h"
#include "base/vertexbuffer.h"
#include "base/indexbuffer.h"
#inclu... |
#ifndef ADRENALINENODECONFIGDIALOG_H
#define ADRENALINENODECONFIGDIALOG_H
#include <QDialog>
namespace Ui {
class AdrenalineNodeConfigDialog;
}
QT_BEGIN_NAMESPACE
class QModelIndex;
QT_END_NAMESPACE
/** Dialog showing transaction details. */
class AdrenalineNodeConfigDialog : public QDialog
{
Q_OBJECT
publ... |
/* Copyright (c) 2011-2012, The Linux Foundation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
* * Redistributions of source code must retain the above copyright
* notice, this list o... |
// Copyright (c) 2014 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef IOP_QT_WINSHUTDOWNMONITOR_H
#define IOP_QT_WINSHUTDOWNMONITOR_H
#ifdef WIN32
#include <QByteArray>
#include <QString>
#i... |
/* solve_triu.c
* Written by Tom Minka
*/
#include "mex.h"
#include <string.h>
/* How to write MEX files that call LAPACK:
* http://www.mathworks.com/access/helpdesk/help/techdoc/matlab_external/f13120.html#f45091
*/
/* In R2009a, the blas signatures have been changed to take ptrdiff_t instead of int. We call this... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.