repo_name string | path string | copies string | size string | content string | license string |
|---|---|---|---|---|---|
urbanserj/entente | asn1/NULL.c | 1 | 4398 | /*-
* Copyright (c) 2003, 2005 Lev Walkin <vlm@lionet.info>. All rights reserved.
* Redistribution and modifications are permitted subject to BSD license.
*/
#include <asn_internal.h>
#include <asn_codecs_prim.h>
#include <NULL.h>
#include <BOOLEAN.h> /* Implemented in terms of BOOLEAN type */
/*
* NULL basic type... | mit |
Galfurian/RadMud | src/enumerators/knowledge.cpp | 1 | 2746 | /// @file knowledge.cpp
/// @author Enrico Fraccaroli
/// @date Jan 13 2017
/// @copyright
/// Copyright (c) 2017 Enrico Fraccaroli <enrico.fraccaroli@gmail.com>
/// Permission is hereby granted, free of charge, to any person obtaining a
/// copy of this software and associated documentation files (the "Software"),... | mit |
deweerdt/h2o | lib/core/logconf.c | 1 | 42077 | /*
* Copyright (c) 2014-2016 DeNA Co., Ltd., Kazuho Oku
*
* 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
* rights to use, copy, mo... | mit |
mmuman/HaikuThemeManager | src/ViewItem.cpp | 1 | 1743 | /*
* Copyright 2000-2008, François Revol, <revol@free.fr>. All rights reserved.
* Distributed under the terms of the MIT License.
*/
#include "ViewItem.h"
#include <View.h>
#include <Font.h>
#include <stdio.h>
#include <Debug.h>
ViewItem::ViewItem(BRect bounds, const char *name,
uint32 resizeMask, uint32 flags,... | mit |
tiepologian/node-stickynotes | node_modules/usage/src/solaris.cpp | 1 | 3262 | #include <stdio.h>
#include "solaris.h"
/*
Getting CPU Usage from the /proc
*/
static int read_buffer(char *buffer, int buffer_size, char* file_path) {
FILE *fp = fopen(file_path, "r");
if(fp != NULL) {
size_t read_len = fread(buffer, sizeof(char), buffer_size, fp);
if(read_len == 0) {
... | mit |
eblot/micropython | stmhal/extint.c | 1 | 15178 | /*
* This file is part of the Micro Python project, http://micropython.org/
*
* The MIT License (MIT)
*
* Copyright (c) 2013, 2014 Damien P. George
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* ... | mit |
tobspr/P3D-ECS | p3d_ecs/native/source/entity_collector.cpp | 1 | 2199 |
#include "entity_collector.h"
#include "entity.h"
#include "leak_detector.h"
#include <iomanip>
EntityCollector::EntityCollector(const component_list_t& components)
: _components(components) {
ECS_ON_CREATE("EntityCollector");
Component::bitmask_t mask = 0u;
for (Component::id_t component_id : _components) {... | mit |
pi3orama/Snitchaser | src/interp/loader.c | 1 | 1996 | /*
* loader.c
* by WN @ Feb. 08, 2010
*/
#include <config.h>
#include <common/defs.h>
#include <common/debug.h>
#include <common/assert.h>
#include <xasm/debug.h>
#include <xasm/syscall.h>
#include <xasm/vsprintf.h>
#include <xasm/utils.h>
#include <xasm/elf.h>
#include <interp/auxv.h>
#include <sys/mman.h>
/*... | mit |
TheProjecter/tj-tools | src/tj_buffer.c | 1 | 7307 | /*
* Copyright (c) 2011 Joe Kopena <tjkopena@gmail.com>
*
* 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 rights to use, copy,
*... | mit |
GPUOpen-Tools/RGA | external/amdt_os_wrappers/src/common/osApplication.cpp | 1 | 11359 | //=====================================================================
// Copyright 2016 (c), Advanced Micro Devices, Inc. All rights reserved.
//
/// \author AMD Developer Tools Team
/// \file osApplication.cpp
///
//=====================================================================
//----------------------------... | mit |
gtacoin-dev/gtacoin | src/qt/offerlistpage.cpp | 1 | 19953 | #include <boost/assign/list_of.hpp>
#include "offerlistpage.h"
#include "ui_offerlistpage.h"
#include "offertablemodel.h"
#include "optionsmodel.h"
#include "offerview.h"
#include "walletmodel.h"
#include "gtacoingui.h"
#include "resellofferdialog.h"
#include "newmessagedialog.h"
#include "csvmodelwriter.h"
#include "... | mit |
alexandrustaetu/natural_editor | external/freetype-2.5.2/src/base/ftcalc.c | 1 | 23164 | /***************************************************************************/
/* */
/* ftcalc.c */
/* */
/* Ar... | mit |
karmacoin-team/karmacoin | src/qt/sendcoinsdialog.cpp | 1 | 18352 | #include "sendcoinsdialog.h"
#include "ui_sendcoinsdialog.h"
#include "init.h"
#include "walletmodel.h"
#include "addresstablemodel.h"
#include "bitcoinunits.h"
#include "addressbookpage.h"
#include "optionsmodel.h"
#include "sendcoinsentry.h"
#include "guiutil.h"
#include "askpassphrasedialog.h"
#include "coincontrol... | mit |
RexYing/DTW-approx | naive_dtw.cpp | 1 | 2412 | #include <algorithm>
#include <limits>
#include <math.h>
#include <CGAL/number_utils.h>
#include "naive_dtw.h"
using namespace std;
NaiveDTW::NaiveDTW(const Curve &curve1, const Curve &curve2):
curve1_(curve1), curve2_(curve2)
{ }
double NaiveDTW::compute_DTW()
{
// DTW values on the previous ro... | mit |
vbloodv/blood | extern/openssl.orig/crypto/cms/cms_enc.c | 1 | 8407 | /* crypto/cms/cms_enc.c */
/*
* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project.
*/
/* ====================================================================
* Copyright (c) 2008 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or wi... | mit |
Autumncoindev/ATM | src/miner.cpp | 1 | 19864 | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Copyright (c) 2013 The NovaCoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "txdb.h"
#include "miner.h"... | mit |
vivocoin/vivo | src/governance-vote.cpp | 1 | 10238 | // Copyright (c) 2014-2017 The Vivo Core developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "darksend.h"
#include "governance-vote.h"
#include "masternodeman.h"
#include "util.h"
#include <boost/lexical_cas... | mit |
khonkhortisan/blinky | engine/QW/common/net_chan.c | 2 | 11973 | /*
Copyright (C) 1996-1997 Id Software, Inc.
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 Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in th... | mit |
benbjohnson/minipack | tests/uint16_tests.c | 2 | 1996 | #include <minipack.h>
#include <msgpack.h>
#include "minunit.h"
#include "memdump.h"
//==============================================================================
//
// Test Cases
//
//==============================================================================
int test_sizeof_uint16() {
mu_assert(minipack_... | mit |
FRex/LuLDev | SFML/src/SFML/Graphics/ImageLoader.cpp | 2 | 10114 | ////////////////////////////////////////////////////////////
//
// SFML - Simple and Fast Multimedia Library
// Copyright (C) 2007-2014 Laurent Gomila (laurent.gom@gmail.com)
//
// This software is provided 'as-is', without any express or implied warranty.
// In no event will the authors be held liable for any da... | mit |
sgajaejung/Game | Src/Common/NetCommon/Marshalling/Marshalling.cpp | 2 | 5703 |
#include "stdafx.h"
#include "Marshalling.h"
using namespace network;
using namespace marshalling;
//------------------------------------------------------------------------
// <<
//------------------------------------------------------------------------
//CPacket& marshalling::operator<<(CPacket& packet, const b... | mit |
chyla/pat-lms | libslas/src/dbus/proxy_object.cpp | 2 | 2744 | #include <slas/dbus/proxy_object.h>
#include <boost/log/trivial.hpp>
namespace dbus
{
ProxyObject::ProxyObject() {
}
ProxyObject::~ProxyObject() {
}
DBusMessage* ProxyObject::CreateMethodCall(const char *bus_name,
const char *object_name,
... | mit |
ttair/TuxSinbad | OgreMain/src/OgreCompositorInstance.cpp | 3 | 39169 | /*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org/
Copyright (c) 2000-2009 Torus Knot Software Ltd
Permission is hereby granted, free of charge, to any person ... | mit |
conceptofproof/z3 | src/smt/smt_quantifier.cpp | 3 | 22470 | /*++
Copyright (c) 2012 Microsoft Corporation
Module Name:
smt_quantifier.cpp
Abstract:
Quantifier reasoning support for smt::context.
Author:
Leonardo de Moura (leonardo) 2012-02-16.
Revision History:
--*/
#include"smt_quantifier.h"
#include"smt_context.h"
#include"smt_quantifier_stat.h"
#include"s... | mit |
thelazier/dash | src/threadinterrupt.cpp | 3 | 1183 | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2016 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <threadinterrupt.h>
#include <sync.h>
CThreadInterrupt::CThreadInterrup... | mit |
jjimenezg93/ai-state_machines | moai/src/moaicore/MOAICpArbiter.cpp | 3 | 5884 | // Copyright (c) 2010-2011 Zipline Games, Inc. All Rights Reserved.
// http://getmoai.com
#include "pch.h"
#include <moaicore/MOAICpArbiter.h>
#include <moaicore/MOAILogMessages.h>
SUPPRESS_EMPTY_FILE_WARNING
#if USE_CHIPMUNK
//================================================================//
// local
//===========... | mit |
nsierra-/libft | ft_memcmp.c | 3 | 1175 | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_memcmp.c :+: :+: :+: ... | mit |
jiawen/Halide | test/correctness/host_alignment.cpp | 4 | 3105 | #include "Halide.h"
#include <stdio.h>
#include <map>
#include <string>
using std::vector;
using std::map;
using std::string;
using namespace Halide;
using namespace Halide::Internal;
class FindErrorHandler : public IRVisitor {
public:
bool result;
FindErrorHandler() : result(false) {}
using IRVisitor::vi... | mit |
pandaworrior/rDSN | src/core/tests/priority_queue.cpp | 5 | 4639 | /*
* The MIT License (MIT)
*
* Copyright (c) 2015 Microsoft Corporation
*
* -=- Robust Distributed System Nucleus (rDSN) -=-
*
* 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 witho... | mit |
hjarmstrong/Odme-plusplus | 3rd/build/tools/quickbook/src/id_generation.cpp | 5 | 11838 | /*=============================================================================
Copyright (c) 2011, 2013 Daniel James
Use, modification and distribution is subject to the Boost Software
License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt)
=======... | mit |
JeremyRand/namecoin-core | src/qt/paymentrequestplus.cpp | 5 | 7913 | // Copyright (c) 2011-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.
//
// Wraps dumb protocol buffer paymentRequest
// with some extra methods
//
#include "paymentrequestplus.h"
#include "uti... | mit |
travistang/late_fyt | vtorcs-RL-color/src/drivers/scr_server/CarControl.cpp | 5 | 3707 | /***************************************************************************
file : CarControl.cpp
copyright : (C) 2007 Daniele Loiacono
***************************************************************************/
/****************************************************************... | mit |
PatidarWeb/poedit | deps/boost/libs/log/test/run/filt_matches_spirit_classic.cpp | 6 | 4416 | /*
* Copyright Andrey Semashev 2007 - 2014.
* Distributed under the Boost Software License, Version 1.0.
* (See accompanying file LICENSE_1_0.txt or copy at
* http://www.boost.org/LICENSE_1_0.txt)
*/
/*!
* \file filt_matches_spirit_classic.cpp
* \author Andrey Semashev
* \date 30.03.201... | mit |
dxmgame/dxm-cocos | src/oslibs/cocos/cocos-src/tests/cpp-tests/Classes/ExtensionsTest/ControlExtensionTest/CCControlSceneManager.cpp | 6 | 1213 | #include "CCControlSceneManager.h"
#include "CCControlScene.h"
#include "CCControlButtonTest/CCControlButtonTest.h"
#include "CCControlColourPicker/CCControlColourPickerTest.h"
#include "CCControlSliderTest/CCControlSliderTest.h"
#include "CCControlSwitchTest/CCControlSwitchTest.h"
#include "CCControlPotentiometerTest/... | mit |
ycsoft/FatCat-Server | LIBS/boost_1_58_0/libs/math/tools/ellint_pi3_data.cpp | 8 | 1970 | // Copyright John Maddock 2006.
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt
// or copy at http://www.boost.org/LICENSE_1_0.txt)
#include <boost/math/tools/test_data.hpp>
#include <boost/test/included/prg_exec_moni... | mit |
digimatic/ogre | Components/Overlay/src/OgreOverlayProfileSessionListener.cpp | 8 | 15691 | /*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org/
Copyright (c) 2000-2014 Torus Knot Software Ltd
Permission is hereby granted, free of charge, to any person ... | mit |
BenKeyFSI/poedit | deps/gettext/gettext-tools/gnulib-tests/test-sys_wait.c | 10 | 1198 | /* Test of <sys/wait.h> substitute.
Copyright (C) 2009-2015 Free Software Foundation, Inc.
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 Software Foundation; either version 3 of the License, or
(at your ... | mit |
danylaksono/openMVG | src/openMVG/multiview/triangulation_test.cpp | 10 | 2185 |
// Copyright (c) 2010 libmv authors.
//
// 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
// rights to use, copy, modify, merge, publis... | mit |
remspoor/nodemcu-firmware | app/user/user_exceptions.c | 10 | 4167 | /*
* Copyright 2015 Dius Computing Pty Ltd. 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 co... | mit |
mrezai/godot | tools/freetype/freetype/src/bdf/bdf.c | 1034 | 1255 | /* bdf.c
FreeType font driver for bdf files
Copyright (C) 2001, 2002 by
Francesco Zappa Nardelli
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 witho... | mit |
Volcanocoin/volcanocoin-master | src/qt/overviewpage.cpp | 12 | 7065 | #include "overviewpage.h"
#include "ui_overviewpage.h"
#include "walletmodel.h"
#include "bitcoinunits.h"
#include "optionsmodel.h"
#include "transactiontablemodel.h"
#include "transactionfilterproxy.h"
#include "guiutil.h"
#include "guiconstants.h"
#include "askpassphrasedialog.h"
#include <QAbstractItemDelegate>
#i... | mit |
365-Coin/365coin | src/qt/clientmodel.cpp | 12 | 8659 | #include "clientmodel.h"
#include "guiconstants.h"
#include "optionsmodel.h"
#include "addresstablemodel.h"
#include "transactiontablemodel.h"
#include "alert.h"
#include "main.h"
#include "init.h" // for pwalletMain
#include "checkpoints.h"
#include "ui_interface.h"
#include <QDateTime>
#include <QTimer>
static co... | mit |
WojciechPolnik/Wakaama_Ethernet | lwip/test/unit/core/test_mem.c | 524 | 1344 | #include "test_mem.h"
#include "lwip/mem.h"
#include "lwip/stats.h"
#if !LWIP_STATS || !MEM_STATS
#error "This tests needs MEM-statistics enabled"
#endif
#if LWIP_DNS
#error "This test needs DNS turned off (as it mallocs on init)"
#endif
/* Setups/teardown functions */
static void
mem_setup(void)
{
}
static void
m... | mit |
kkitsune/GoblinEngine | engine/libs/bgfx/bgfx/examples/02-metaballs/metaballs.cpp | 13 | 32672 | /*
* Copyright 2011-2016 Branimir Karadzic. All rights reserved.
* License: https://github.com/bkaradzic/bgfx#license-bsd-2-clause
*/
#include "common.h"
#include "bgfx_utils.h"
// embedded shaders
#include "vs_metaballs.bin.h"
#include "fs_metaballs.bin.h"
struct PosNormalColorVertex
{
float m_pos[3];
float m_... | mit |
devlato/kolibrios-llvm | contrib/sdk/sources/ffmpeg/libavcodec/vdpau_mpeg12.c | 15 | 4536 | /*
* MPEG-1/2 HW decode acceleration through VDPAU
*
* Copyright (c) 2008 NVIDIA
* Copyright (c) 2013 Rémi Denis-Courmont
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free... | mit |
andrewplumb/all-coursework | Stanford/CS106X/Huffman/StanfordCPPLib/simpio.cpp | 16 | 1788 | /*
* File: simpio.cpp
* ----------------
* This file implements the simpio.h interface.
*/
#include <fstream>
#include <iostream>
#include <sstream>
#include <string>
#include "simpio.h"
using namespace std;
/*
* Implementation notes: getInteger, getReal
* -----------------------------------------
* Each of th... | mit |
wanghuan1115/sdkbox-facebook-sample | cpp/cocos2d/cocos/base/CCDirector.cpp | 17 | 35624 | /****************************************************************************
Copyright (c) 2008-2010 Ricardo Quesada
Copyright (c) 2010-2013 cocos2d-x.org
Copyright (c) 2011 Zynga Inc.
Copyright (c) 2013-2015 Chukong Technologies Inc.
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to an... | mit |
simonhang/easyloggingpp | samples/Qt/file-splitter-joiner/splittercore.cpp | 22 | 3485 | #include "splittercore.h"
#include <QStandardItemModel>
#include <QDebug>
#include <QFileInfo>
#include "splitterwidget.h"
#include "partprocessor.h"
#include "easylogging++.h"
SplitterCore::SplitterCore(QStandardItemModel* fileModel, QObject* parent, SplitterWidget* parentWidget)
:QThread(parent),
fileModel... | mit |
turol/smaaDemo | foreign/SPIRV-Tools/test/opcode_make_test.cpp | 22 | 1620 | // Copyright (c) 2015-2016 The Khronos Group Inc.
//
// 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 applicable ... | mit |
ALECoin/ALECoin | src/wallet.cpp | 537 | 63585 | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "wallet.h"
#include "walletdb.h"
#include "crypter.h"
#include "ui_interf... | mit |
nodeframe/dite | node_modules/nodegit/vendor/openssl/openssl/crypto/idea/i_skey.c | 537 | 5193 | /* crypto/idea/i_skey.c */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* by Eric Young (eay@cryptsoft.com).
* The implementation was written so as to conform with Netscapes SSL.
*
* This library is free for commercial and non... | mit |
xsmart/opencvr | 3rdparty/ffmpeg/libavcodec/dnxhd_parser.c | 26 | 3681 | /*
* DNxHD/VC-3 parser
* Copyright (c) 2008 Baptiste Coudurier <baptiste.coudurier@free.fr>
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* ... | mit |
Mabukon/slimdx | tools/PIXPlug/PIXPlug/main.cpp | 27 | 2463 | #include <metahost.h>
#include <windows.h>
#include <string>
#include <atlbase.h>
#import "mscorlib.tlb" raw_interfaces_only high_property_prefixes("_get","_put","_putref") rename("ReportEvent", "InteropServices_ReportEvent")
using namespace mscorlib;
#pragma comment(lib, "mscoree.lib")
#define FAIL_IF(con... | mit |
gomowjames/angular-barrettj.co | node_modules/node-sass/src/sass_types/factory.cpp | 799 | 2143 | #include <nan.h>
#include "factory.h"
#include "value.h"
#include "number.h"
#include "string.h"
#include "color.h"
#include "boolean.h"
#include "list.h"
#include "map.h"
#include "null.h"
#include "error.h"
namespace SassTypes
{
SassTypes::Value* Factory::create(Sass_Value* v) {
switch (sass_value_get_tag(v)) ... | mit |
GuilhermeSa/coreclr | src/pal/tests/palsuite/file_io/GetFileAttributesW/test1/GetFileAttributesW.c | 34 | 10591 | //
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
/*=============================================================================
**
** Source: GetFileAttributesW.c
**
** Purpose: Tests the PAL implementation o... | mit |
blurfiny/differentworld | src/qt/overviewpage.cpp | 291 | 6910 | #include "overviewpage.h"
#include "ui_overviewpage.h"
#include "walletmodel.h"
#include "bitcoinunits.h"
#include "optionsmodel.h"
#include "transactiontablemodel.h"
#include "transactionfilterproxy.h"
#include "guiutil.h"
#include "guiconstants.h"
#include <QAbstractItemDelegate>
#include <QPainter>
#define DECORA... | mit |
TheOtherMorzie/2017AIEPhysics | dependencies/stb/tests/resample_test.cpp | 38 | 39186 | #include <stdlib.h>
#include <stdio.h>
#if defined(_WIN32) && _MSC_VER > 1200
#define STBIR_ASSERT(x) \
if (!(x)) { \
__debugbreak(); \
} else
#else
#include <assert.h>
#define STBIR_ASSERT(x) assert(x)
#endif
#define STBIR_MALLOC stbir_malloc
#define STBIR_FREE stbir_free
class stbir_context {
public:
... | mit |
k2r79/OpenCLGrayscale | OpenCLGrayscale/lib/FreeImage/Source/LibOpenJPEG/opj_clock.c | 39 | 2504 | /*
* Copyright (c) 2005, Herve Drolon, FreeImage Team
* 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, thi... | mit |
iamoverrated/tuxclient-Qt | src/key.cpp | 1063 | 11215 | // Copyright (c) 2009-2012 The Bitcoin developers
// Copyright (c) 2011-2012 Litecoin Developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <map>
#include <openssl/ecdsa.h>
#include <openssl/obj_mac.h>
#inclu... | mit |
publicloudapp/csrutil | linux-4.3/drivers/mmc/host/jz4740_mmc.c | 1320 | 29032 | /*
* Copyright (C) 2009-2010, Lars-Peter Clausen <lars@metafoo.de>
* JZ4740 SD/MMC controller driver
*
* 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 Software Foundation; either version 2 of the Li... | mit |
ucsb-cs24-sp17/ucsb-cs24-sp17.github.io | vendor/bundle/ruby/2.1.0/gems/ffi-1.9.10/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn6.c | 812 | 3091 | /* Area: closure_call
Purpose: Check multiple values passing from different type.
Also, exceed the limit of gpr and fpr registers on PowerPC.
Limitations: none.
PR: PR23404
Originator: <andreast@gcc.gnu.org> 20050830 */
/* { dg-do run } */
#include "ffitest.h"
static void
closure_test_fn0(ffi_cif* cif... | mit |
zhuotong/mi2_lk_NoEmmc | dev/pmic/twl4030/twl4030.c | 54 | 5233 | /*
* Copyright (c) 2008 Travis Geiselbrecht
*
* 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 rights to use, copy, modify, merge,... | mit |
go-lab/smart-device | templates/bbb/node_modules/binaryjs/node_modules/binarypack/node_modules/buffercursor/node_modules/verror/node_modules/extsprintf/deps/javascriptlint/spidermonkey/src/jslog2.c | 55 | 2897 | /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the Lic... | mit |
huoxudong125/poedit | deps/boost/libs/spirit/classic/phoenix/example/fundamental/closures.cpp | 56 | 2124 | /*=============================================================================
Phoenix V1.2.1
Copyright (c) 2001-2003 Joel de Guzman
Use, modification and distribution is subject to the Boost Software
License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICE... | mit |
bjjones/coreclr | src/vm/customattribute.cpp | 57 | 60316 | //
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
#include "common.h"
#include "customattribute.h"
#include "invokeutil.h"
#include "method.hpp"
#include "threads.h"
#include "excep.h"
#include "corerror.h"
#inc... | mit |
methoxid/micropystat | extmod/uzlib/adler32.c | 60 | 2190 | /*
* Adler-32 checksum
*
* Copyright (c) 2003 by Joergen Ibsen / Jibz
* All Rights Reserved
*
* http://www.ibsensoftware.com/
*
* This software is provided 'as-is', without any express
* or implied warranty. In no event will the authors be
* held liable for any damages arising from the use of
* this softwar... | mit |
Kudos-Rewards/kudos-beta | src/qt/transactionview.cpp | 323 | 15509 | // Copyright (c) 2011-2013 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "transactionview.h"
#include "transactionfilterproxy.h"
#include "transactionrecord.h"
#include "walletmodel.h"
#inc... | mit |
crr0004/godot | drivers/speex/stereo.c | 70 | 9857 | /* Copyright (C) 2002 Jean-Marc Valin
File: stereo.c
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... | mit |
mytesta/testwarped | deps/metis/libmetis/srefine.c | 81 | 4872 | /*
* Copyright 1997, Regents of the University of Minnesota
*
* srefine.c
*
* This file contains code for the separator refinement algortihms
*
* Started 8/1/97
* George
*
* $Id: srefine.c 10515 2011-07-08 15:46:18Z karypis $
*
*/
#include "metislib.h"
/***************************************************... | mit |
MutualChipAuthentication/MobileAKE | external/scripts/serpent.cpp | 82 | 2856 | // serpent.cpp - written and placed in the public domain by Wei Dai
#include "pch.h"
#include "serpent.h"
#include "misc.h"
#include "serpentp.h"
NAMESPACE_BEGIN(CryptoPP)
void Serpent_KeySchedule(word32 *k, unsigned int rounds, const byte *userKey, size_t keylen)
{
FixedSizeSecBlock<word32, 8> k0;
GetUserKey(LIT... | mit |
goku1997/bitcoin | src/qt/bitcoinaddressvalidator.cpp | 341 | 2602 | // Copyright (c) 2011-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.
#include "bitcoinaddressvalidator.h"
#include "base58.h"
/* Base58 characters are:
"123456789ABCDEFGHJKLMNPQRSTUVWXYZa... | mit |
numbercoin/numbercoin1.0.0.0 | src/test/multisig_tests.cpp | 2135 | 10150 | #include <boost/assert.hpp>
#include <boost/assign/list_of.hpp>
#include <boost/assign/list_inserter.hpp>
#include <boost/assign/std/vector.hpp>
#include <boost/test/unit_test.hpp>
#include <boost/foreach.hpp>
#include <boost/tuple/tuple.hpp>
#include <openssl/ec.h>
#include <openssl/err.h>
#include "keystore.h"
#inc... | mit |
mojio/cdnjs | node_modules/execSync/node_modules/ffi/deps/pthreads-win32/pthread_rwlock_destroy.c | 344 | 4049 | /*
* pthread_rwlock_destroy.c
*
* Description:
* This translation unit implements read/write lock primitives.
*
* --------------------------------------------------------------------------
*
* Pthreads-win32 - POSIX Threads Library for Win32
* Copyright(C) 1998 John E. Bossom
* Copyright(C) 199... | mit |
zenners/angular-contacts | node_modules/firebase/node_modules/faye-websocket/node_modules/websocket-driver/node_modules/websocket-extensions/node_modules/jstest/node_modules/split/node_modules/it-is/node_modules/style/node_modules/expresso/deps/jscoverage/js/jsdbgapi.cpp | 97 | 54960 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
* vim: set ts=8 sw=4 et tw=78:
*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except... | mit |
tbrockly/brain | Box2D/Dynamics/Joints/b2DistanceJoint.cpp | 102 | 7555 | /*
* Copyright (c) 2006-2011 Erin Catto http://www.box2d.org
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
* Permission is granted to anyone to use this software for any purpos... | mit |
ObamaQt/ObamaQt | src/hash.cpp | 2151 | 1330 | #include "hash.h"
inline uint32_t ROTL32 ( uint32_t x, int8_t r )
{
return (x << r) | (x >> (32 - r));
}
unsigned int MurmurHash3(unsigned int nHashSeed, const std::vector<unsigned char>& vDataToHash)
{
// The following is MurmurHash3 (x86_32), see http://code.google.com/p/smhasher/source/browse/trunk/MurmurH... | mit |
thealtcoinguy/LoanCoin2 | src/qt/bitcoinamountfield.cpp | 2164 | 4315 | #include "bitcoinamountfield.h"
#include "qvaluecombobox.h"
#include "bitcoinunits.h"
#include "guiconstants.h"
#include <QLabel>
#include <QLineEdit>
#include <QRegExpValidator>
#include <QHBoxLayout>
#include <QKeyEvent>
#include <QDoubleSpinBox>
#include <QComboBox>
#include <QApplication>
#include <qmath.h>
Bitc... | mit |
wateret/coreclr | src/pal/tests/palsuite/c_runtime/swprintf/test14/test14.cpp | 137 | 2582 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
/*============================================================================
**
** Source: test14.c
**
** Purpose... | mit |
8ojangles/grunt-template-project | node_modules/node-sass/src/sass_types/color.cpp | 395 | 3884 | #include <nan.h>
#include "color.h"
namespace SassTypes
{
Color::Color(Sass_Value* v) : SassValueWrapper(v) {}
Sass_Value* Color::construct(const std::vector<v8::Local<v8::Value>> raw_val, Sass_Value **out) {
double a = 1.0, r = 0, g = 0, b = 0;
unsigned argb;
switch (raw_val.size()) {
case 1:
... | mit |
KristFoundation/Programs | luaide/drivers/media/pci/sta2x11/sta2x11_vip.c | 148 | 34159 | /*
* This is the driver for the STA2x11 Video Input Port.
*
* Copyright (C) 2012 ST Microelectronics
* author: Federico Vaga <federico.vaga@gmail.com>
* Copyright (C) 2010 WindRiver Systems, Inc.
* authors: Andreas Kies <andreas.kies@windriver.com>
* Vlad Lungu <vlad.lungu@wind... | mit |
kangleweb/t1 | src/qt/notificator.cpp | 158 | 10544 | // Copyright (c) 2011-2013 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "notificator.h"
#include <QApplication>
#include <QByteArray>
#include <QIcon>
#include <QImageWriter>
#include <QMe... | mit |
tony--/WinObjC | tools/vsimporter/src/vswriter/VSTemplateProject.cpp | 161 | 5751 | //******************************************************************************
//
// Copyright (c) 2015 Microsoft Corporation. All rights reserved.
//
// This code is licensed under the MIT License (MIT).
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LI... | mit |
eduardpyatnitsyn/WinObjC | deps/3rdparty/icu/icu/source/i18n/rbt_pars.cpp | 166 | 63077 | /*
**********************************************************************
* Copyright (C) 1999-2014, International Business Machines
* Corporation and others. All Rights Reserved.
**********************************************************************
* Date Name Description
* 11/17/99 al... | mit |
sengmangan/DRB | src/json/json_spirit_writer.cpp | 5032 | 2052 | // Copyright John W. Wilkinson 2007 - 2009.
// Distributed under the MIT License, see accompanying file LICENSE.txt
// json spirit version 4.03
#include "json_spirit_writer.h"
#include "json_spirit_writer_template.h"
void json_spirit::write( const Value& value, std::ostream& os )
{
write_stream( value, ... | mit |
ypwalter/WinObjC | deps/3rdparty/iculegacy/source/layout/GlyphIterator.cpp | 175 | 13216 | /*
*
* (C) Copyright IBM Corp. 1998-2008 - All Rights Reserved
*
*/
#include "LETypes.h"
#include "OpenTypeTables.h"
#include "GlyphDefinitionTables.h"
#include "GlyphPositionAdjustments.h"
#include "GlyphIterator.h"
#include "LEGlyphStorage.h"
#include "Lookups.h"
#include "LESwaps.h"
U_NAMESPACE_BEGIN
GlyphIte... | mit |
netswift/vertcoin | src/secp256k1/src/bench_internal.c | 178 | 11370 | /**********************************************************************
* Copyright (c) 2014-2015 Pieter Wuille *
* Distributed under the MIT software license, see the accompanying *
* file COPYING or http://www.opensource.org/licenses/mit-license.php.*
*******************************... | mit |
xswm1123/WinObjC | deps/3rdparty/cairolegacy/src/cairo-path.c | 179 | 14107 | /* cairo - a vector graphics library with display and print output
*
* Copyright © 2005 Red Hat, Inc.
* Copyright © 2006 Red Hat, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it either under the terms of the GNU Lesser General Public
* License version 2.1 as published by the Fr... | mit |
quabug/godot | drivers/builtin_openssl2/crypto/ecdsa/ecs_vrf.c | 185 | 4076 | /* crypto/ecdsa/ecdsa_vrf.c */
/*
* Written by Nils Larsch for the OpenSSL project
*/
/* ====================================================================
* Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, ... | mit |
insionng/WinObjC | deps/3rdparty/angleproject/src/libGLESv2/renderer/Query9.cpp | 187 | 2670 | #include "precompiled.h"
//
// Copyright (c) 2013 The ANGLE 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.
//
// Query9.cpp: Defines the rx::Query9 class which implements rx::QueryImpl.
#include "libGLESv2/renderer/Query9.... | mit |
sachiketi/WinObjC | deps/3rdparty/icu/icu/source/common/rbbi.cpp | 191 | 66574 | /*
***************************************************************************
* Copyright (C) 1999-2014 International Business Machines Corporation
* and others. All rights reserved.
***************************************************************************
*/
//
// file: rbbi.c Contains the implementation o... | mit |
jmgilbert2/energi | src/secp256k1/src/bench_ecdh.c | 193 | 1576 | /**********************************************************************
* Copyright (c) 2015 Pieter Wuille, Andrew Poelstra *
* Distributed under the MIT software license, see the accompanying *
* file COPYING or http://www.opensource.org/licenses/mit-license.php.*
*******************************... | mit |
DanNixon/Dilbert | firmware/lib/Adafruit-GFX-Library/glcdfont.c | 198 | 8486 | // This is the 'classic' fixed-space bitmap font for Adafruit_GFX since 1.0.
// See gfxfont.h for newer custom bitmap font info.
#ifndef FONT5X7_H
#define FONT5X7_H
#ifdef __AVR__
#include <avr/io.h>
#include <avr/pgmspace.h>
#elif defined(ESP8266)
#include <pgmspace.h>
#else
#define PROGMEM
#endif
// Standard A... | mit |
plankton-food/Plankton | src/test/mruset_tests.cpp | 4045 | 2056 | #include <boost/test/unit_test.hpp>
using namespace std;
#include "mruset.h"
#include "util.h"
#define NUM_TESTS 16
#define MAX_SIZE 100
class mrutester
{
private:
mruset<int> mru;
std::set<int> set;
public:
mrutester() { mru.max_size(MAX_SIZE); }
int size() const { return set.size(); }
void i... | mit |
jsheedy/velotronheavyindustries.com | intro-to-d3-grid-map/node_modules/node-sass/src/libsass/cssize.cpp | 208 | 16876 | #include <iostream>
#include <typeinfo>
#include "cssize.hpp"
#include "to_string.hpp"
#include "context.hpp"
#include "backtrace.hpp"
namespace Sass {
Cssize::Cssize(Context& ctx, Env* env, Backtrace* bt)
: ctx(ctx),
env(env),
block_stack(vector<Block*>()),
p_stack(vector<Statement*>()),
backtra... | mit |
arpit/Helios | libs/src/lib_json/json_value.cpp | 210 | 39045 | #include <iostream>
#include <json/value.h>
#include <json/writer.h>
#include <utility>
#include <stdexcept>
#include <cstring>
#include <cassert>
#ifdef JSON_USE_CPPTL
# include <cpptl/conststring.h>
#endif
#include <cstddef> // size_t
#ifndef JSON_USE_SIMPLE_INTERNAL_ALLOCATOR
# include "json_batchallocator.h"
#en... | mit |
KristFoundation/Programs | luaide/drivers/scsi/aic7xxx/aic79xx_osm_pci.c | 2029 | 10587 | /*
* Linux driver attachment glue for PCI based U320 controllers.
*
* Copyright (c) 2000-2001 Adaptec 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... | mit |
carnalis/Urho3D | Source/ThirdParty/Bullet/src/BulletSoftBody/btSoftBodyRigidBodyCollisionConfiguration.cpp | 495 | 5417 | /*
Bullet Continuous Collision Detection and Physics Library
Copyright (c) 2003-2006 Erwin Coumans http://continuousphysics.com/Bullet/
This software is provided 'as-is', without any express or implied warranty.
In no event will the authors be held liable for any damages arising from the use of this software.
Permiss... | mit |
JeeLiu/WinObjC | deps/3rdparty/icu/icu/source/common/unistr_props.cpp | 244 | 1476 | /*
*******************************************************************************
*
* Copyright (C) 1999-2011, International Business Machines
* Corporation and others. All Rights Reserved.
*
*******************************************************************************
* file name: unistr_props.cpp
* encod... | mit |
EZchip/linux | drivers/media/usb/dvb-usb/ttusb2.c | 256 | 18544 | /* DVB USB compliant linux driver for Technotrend DVB USB boxes and clones
* (e.g. Pinnacle 400e DVB-S USB2.0).
*
* The Pinnacle 400e uses the same protocol as the Technotrend USB1.1 boxes.
*
* TDA8263 + TDA10086
*
* I2C addresses:
* 0x08 - LNBP21PD - LNB power supply
* 0x0e - TDA10086 - Demodulator
* 0x5... | gpl-2.0 |
Stane1983/kernel-aml-m3 | drivers/scsi/bfa/bfa_ioc_cb.c | 256 | 9133 | /*
* Copyright (c) 2005-2010 Brocade Communications Systems, Inc.
* All rights reserved
* www.brocade.com
*
* Linux driver for Brocade Fibre Channel Host Bus Adapter.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License (GPL) Version 2 a... | gpl-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.