repo_name
string
path
string
copies
string
size
string
content
string
license
string
Paregov/hexadiv
edno/software/nuttx/sched/group/group_join.c
2
8105
/***************************************************************************** * sched/group/group_join.c * * Copyright (C) 2013 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> * * Redistribution and use in source and binary forms, with or without * modification, are permitted pr...
mit
ctgiant/litedoge---DO-NOT-USE
src/qt/bitcoinunits.cpp
2
4290
#include "bitcoinunits.h" #include <QStringList> BitcoinUnits::BitcoinUnits(QObject *parent): QAbstractListModel(parent), unitlist(availableUnits()) { } QList<BitcoinUnits::Unit> BitcoinUnits::availableUnits() { QList<BitcoinUnits::Unit> unitlist; unitlist.append(BTC); unitlist.append(mBT...
mit
ArnMan/yescoin
src/rpcblockchain.cpp
2
17253
// Copyright (c) 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 "main.h" #include "bitcoinrpc.h" #include "alert.h" #include "mixerann.h" #inc...
mit
horzelski/Voxel-Raycasting-using-True-Impostors
src/GL_Main.cpp
2
12016
//////////////////////////////////////////////////////////////////////////////// // includes, system #include <stdlib.h> #include <stdio.h> #include <string.h> #include <math.h> //////////////////////////////////////////////////////////////////////////////// #ifdef _WIN32 # define WINDOWS_LEAN_AND_MEAN # define NOMIN...
mit
maurer/tiamat
samples/Juliet/testcases/CWE758_Undefined_Behavior/CWE758_Undefined_Behavior__long_alloca_use_18.c
2
2102
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE758_Undefined_Behavior__long_alloca_use_18.c Label Definition File: CWE758_Undefined_Behavior.alloc.label.xml Template File: point-flaw-18.tmpl.c */ /* * @description * CWE: 758 Undefined Behavior * Sinks: alloca_use * GoodSink: Initialize then use data ...
mit
Seeed-Studio/DSOQuad_SourceCode
APP_V2.32/USBLib/src/usb_mem.c
2
3346
/******************** (C) COPYRIGHT 2008 STMicroelectronics ******************** * File Name : usb_mem.c * Author : MCD Application Team * Version : V2.2.1 * Date : 09/22/2008 * Description : Utility functions for memory transfers to/from PMA ************************...
mit
AlexandruValeanu/Competitive-Programming
Data-Structures/Hash-Table (std::unordered_map).cpp
2
4656
#include <vector> #include <memory> #include <limits> #include <functional> #include <random> #include <cassert> template<typename T, typename V> class HashTable { private: const unsigned int numberOfPrimes = 15; const std::vector<unsigned int> primes{359,149,71,2789,41,2003,79,83,977,97,1049,283,157,1013,661...
mit
jessdtate/SCIRun
src/Externals/spire/es-render/Registration2.cpp
3
2775
/* For more information, please see: http://software.sci.utah.edu The MIT License Copyright (c) 2020 Scientific Computing and Imaging Institute, University of Utah. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ...
mit
palmd/BALLS
src/walletdb.cpp
3
14603
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers // Copyright (c) 2012 The Snowballs developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "walletdb.h" #include "wal...
mit
jjimenezg93/ai-state_machines
moai/3rdparty/fmod-4.44.08/examples/playlist/main.cpp
3
6935
/*=============================================================================================== PlayList Example Copyright (c), Firelight Technologies Pty, Ltd 2004-2011. This example shows how to load a playlist and play the sounds in a playlist. ==================================================================...
mit
roucoin/roucoin
src/qt/splashscreen.cpp
3
1788
#include "splashscreen.h" #include "clientversion.h" #include "util.h" #include <QPainter> #include <QApplication> SplashScreen::SplashScreen(const QPixmap &pixmap, Qt::WindowFlags f) : QSplashScreen(pixmap, f) { // set reference point, paddings int paddingLeftCol2 = 230; int paddingTopCol2 ...
mit
laudaa/bitcoin
src/txdb.cpp
4
14487
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2017 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 <txdb.h> #include <chainparams.h> #include <hash.h> #include <random.h>...
mit
petruchito/sylvanian-fireplace
STM8S_StdPeriph_Driver/src/stm8s_tim4.c
4
11810
/** ****************************************************************************** * @file stm8s_tim4.c * @author MCD Application Team * @version V2.2.0 * @date 30-September-2014 * @brief This file contains all the functions for the TIM4 peripheral. **********************************************...
mit
Josiastech/vuforia-gamekit-integration
Gamekit/Ogre-1.8/RenderSystems/GLES2/src/EGL/X11/OgreX11EGLContext.cpp
5
2026
/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2008 Renato Araujo Oliveira Filho <renatox@gmail.com> Copyright (c) 2000-2011 Torus Knot Softwa...
mit
sanqianyuejia/CSDK
curl/lib/url.c
5
183708
/*************************************************************************** * _ _ ____ _ * Project ___| | | | _ \| | * / __| | | | |_) | | * | (__| |_| | _ <| |___ * \___|\...
mit
CallForSanity/glviz
extern/sdl/src/core/winrt/SDL_winrtapp_direct3d.cpp
6
29587
/* Simple DirectMedia Layer Copyright (C) 1997-2014 Sam Lantinga <slouken@libsdl.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 ...
mit
Marpessa/tabletennis
app/Resources/utilities/optipng-0.7.5/src/pngxtern/pngxio.c
6
6686
/* * pngxio.c - libpng extension: I/O state query. * * Copyright (C) 2003-2011 Cosmin Truta. * This software is distributed under the same licensing and warranty terms * as libpng. * * NOTE: * The functionality provided in this module has "graduated", and is now * part of libpng. The original code, retrofitte...
mit
MrPepperoni/Reaping2-1
src/network/heal_taken_message.cpp
6
1905
#include "platform/i_platform.h" #include "network/heal_taken_message.h" #include "core/i_health_component.h" #include <portable_iarchive.hpp> #include <portable_oarchive.hpp> namespace network { HealTakenMessageSenderSystem::HealTakenMessageSenderSystem() : MessageSenderSystem() { } void HealTakenMessageSender...
mit
xiaojuntong/opencvr
3rdparty/onvifc/win32/GeneratedFiles/Release/moc_qhttp.cpp
6
14699
/**************************************************************************** ** Meta object code from reading C++ file 'qhttp.h' ** ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.4.0) ** ** WARNING! All changes made in this file will be lost! ***************************************************************...
mit
YunzhuLi/InfoGAIL
torcs-1.3.4/src/modules/simu/simuv2/axle.cpp
6
2490
/*************************************************************************** file : axle.cpp created : Sun Mar 19 00:05:09 CET 2000 copyright : (C) 2000 by Eric Espie email : torcs@free.fr version : $Id: axle.cpp,v 1.8.2.1 2008/12/...
mit
ycsoft/FatCat-Server
LIBS/boost_1_58_0/libs/geometry/doc/src/examples/algorithms/centroid.cpp
6
1435
// Boost.Geometry (aka GGL, Generic Geometry Library) // QuickBook Example // Copyright (c) 2011-2012 Barend Gehrels, Amsterdam, the Netherlands. // 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...
mit
hemantsangwan/Arduino-Json
test/JsonParser_Variant_Tests.cpp
6
2032
// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson // If you like this project, please add a star! #include <gtest/gtest.h> #include <ArduinoJson.h> class JsonParser_Variant_Test : public testing::Test { protected: void whenInputIs(const cha...
mit
shackra/godot
drivers/opus/silk/fixed/warped_autocorrelation_FIX.c
6
4625
/*********************************************************************** Copyright (c) 2006-2011, Skype Limited. 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 retai...
mit
peercoin/peercoin
src/torcontrol.cpp
9
31271
// Copyright (c) 2015-2019 The Bitcoin Core developers // Copyright (c) 2017 The Zcash developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <chainparams.h> #include <torcontrol.h> #include <util/strencodings.h> #i...
mit
daleooo/barrelfish
lib/oldc/msun/src/e_acoshf.c
9
1367
/* e_acoshf.c -- float version of e_acosh.c. * Conversion to float by Ian Lance Taylor, Cygnus Support, ian@cygnus.com. */ /* * ==================================================== * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. * * Developed at SunPro, a Sun Microsystems, Inc. business. * P...
mit
GovanifY/Polycode
Examples/C++/Contents/2DPhysics_Joints/HelloPolycodeApp.cpp
10
1776
#include "HelloPolycodeApp.h" HelloPolycodeApp::HelloPolycodeApp(PolycodeView *view) { core = new POLYCODE_CORE(view, 640,480,false,true,0,0,90, 0, true); PhysicsScene2D *scene = new PhysicsScene2D(0.1, 50); ScenePrimitive *ceiling = new ScenePrimitive(ScenePrimitive::TYPE_VPLANE, 2.0, 0.1); ceiling->setColor(0...
mit
miguelmota/find-me-burritos
node_modules/mean-connect-mongo/node_modules/mongodb/node_modules/kerberos/lib/win32/kerberos_sspi.c
3341
7466
#include "kerberos_sspi.h" #include <stdlib.h> #include <stdio.h> static HINSTANCE _sspi_security_dll = NULL; static HINSTANCE _sspi_secur32_dll = NULL; /** * Encrypt A Message */ SECURITY_STATUS SEC_ENTRY _sspi_EncryptMessage(PCtxtHandle phContext, unsigned long fQOP, PSecBufferDesc pMessage, unsigned long Messag...
mit
andrewrk/zig
lib/libc/wasi/libc-top-half/musl/src/stdlib/qsort.c
14
4991
/* Copyright (C) 2011 by Valentin Ochs * * 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, publi...
mit
goldcoin/gldcoin
BuildDeps/deps/boost/libs/math/tools/ellint_k_data.cpp
16
1644
// (C) Copyright John Maddock 2007. // 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/bindings/rr.hpp> #include <boost/math/tools/test_data.hpp> #include <b...
mit
takashi310/fluorender
fluorender/ffmpeg/OSX/include/libavformat/mpc.c
18
7037
/* * Musepack demuxer * Copyright (c) 2006 Konstantin Shishkov * * 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 * version 2.1 of the License, o...
mit
publicloudapp/csrutil
linux-4.3/drivers/gpu/drm/shmobile/shmob_drm_kms.c
1298
3992
/* * shmob_drm_kms.c -- SH Mobile DRM Mode Setting * * Copyright (C) 2012 Renesas Electronics Corporation * * Laurent Pinchart (laurent.pinchart@ideasonboard.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 * ...
mit
allwinner-ics/platform_external_collada
src/1.4/dom/domCg_setparam.cpp
19
2959
/* * Copyright 2006 Sony Computer Entertainment Inc. * * Licensed under the MIT Open Source License, for details please see license.txt or the website * http://www.opensource.org/licenses/mit-license.php * */ #include <dae.h> #include <dae/daeDom.h> #include <dom/domCg_setparam.h> #include <dae/daeMetaCMPolicy....
mit
romyny/cbir_binary_code
caffe/src/caffe/util/benchmark.cpp
19
3778
#include <boost/date_time/posix_time/posix_time.hpp> #include "caffe/common.hpp" #include "caffe/util/benchmark.hpp" namespace caffe { Timer::Timer() : initted_(false), running_(false), has_run_at_least_once_(false) { Init(); } Timer::~Timer() { if (Caffe::mode() == Caffe::GPU) { #ifndef CPU_ONL...
mit
rachitb777/samples
AllJoyn/Samples/ZWaveAdapter/AdapterLib/ZWaveAdapterDevice.cpp
21
7489
// Copyright (c) 2015, Microsoft Corporation // // Permission to use, copy, modify, and/or distribute this software for any // purpose with or without fee is hereby granted, provided that the above // copyright notice and this permission notice appear in all copies. // // THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR...
mit
Ghost233/MatchMaster
MatchMaster/cocos2d/extensions/GUI/CCControlExtension/CCControlSaturationBrightnessPicker.cpp
22
7808
/* * Copyright (c) 2012 cocos2d-x.org * http://www.cocos2d-x.org * * Copyright 2012 Stewart Hamilton-Arrandale. * http://creativewax.co.uk * * Modified by Yannick Loriot. * http://yannickloriot.com * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associ...
mit
philippeback/urbit
outside/libuv_0.11/test/test-tcp-try-write.c
24
3742
/* 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...
mit
GuzmanPI/AngularEs
node_modules/mongoose/node_modules/mongodb/node_modules/kerberos/lib/win32/base64.c
3352
3691
/** * Copyright (c) 2006-2008 Apple Inc. 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 b...
mit
JohanAlvarado/heroku-buildpack-ruby-with-qrencode
qrencode-3.2.0/tests/view_qrcode.c
25
12611
#include <stdio.h> #include <string.h> #include <unistd.h> #include <SDL.h> #include <getopt.h> #include <errno.h> #include "../config.h" #include "../qrspec.h" #include "../qrinput.h" #include "../split.h" #include "../qrencode_inner.h" static SDL_Surface *screen = NULL; static int casesensitive = 1; static int eight...
mit
elliscnck/EmulationStation
es-core/src/resources/TextureResource.cpp
25
4489
#include "resources/TextureResource.h" #include "Log.h" #include "platform.h" #include GLHEADER #include "ImageIO.h" #include "Renderer.h" #include "Util.h" #include "resources/SVGResource.h" std::map< TextureResource::TextureKeyType, std::weak_ptr<TextureResource> > TextureResource::sTextureMap; std::list< std::weak_...
mit
CaptainPenguins/slimdx
source/math/Ray.cpp
27
6806
#include "stdafx.h" /* * Copyright (c) 2007-2012 SlimDX Group * * 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, ...
mit
sperling/coreclr
src/vm/eepolicy.cpp
28
55694
// 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. // // // --------------------------------------------------------------------------- // EEPolicy.cpp // ------------...
mit
NSWRyan/AR.Drone_2.0
AR.Drone_2.0_Eclipse_Project/jni/ffmpeg-0.8/libavformat/gxf.c
30
17408
/* * GXF demuxer. * Copyright (c) 2006 Reimar Doeffinger * * 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 * version 2.1 of the License, or (at ...
mit
The-Cypherfunks/The-Cypherfunks
src/zmq/zmqnotificationinterface.cpp
31
5547
// Copyright (c) 2015-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 "zmqnotificationinterface.h" #include "zmqpublishnotifier.h" #include "version.h" #include "validation.h" #include ...
mit
darklost/quick-ng
cocos/editor-support/cocostudio/CCSGUIReader.cpp
33
62116
/**************************************************************************** Copyright (c) 2013-2014 Chukong Technologies Inc. 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 Sof...
mit
publicloudapp/csrutil
linux-4.3/arch/mips/pci/ops-lantiq.c
1825
2930
/* * 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. * * Copyright (C) 2010 John Crispin <blogic@openwrt.org> */ #include <linux/types.h> #include <linux/pci.h> #include <linu...
mit
jkeylu/node-mpg123-util
deps/mpg123/src/libmpg123/frame.c
36
31608
/* frame: Heap of routines dealing with the core mpg123 data structure. copyright 2008-2010 by the mpg123 project - free software under the terms of the LGPL 2.1 see COPYING and AUTHORS files in distribution or http://mpg123.org initially written by Thomas Orgis */ #include "mpg123lib_intern.h" #include "getcpufl...
mit
Ultraschall/Soundboard
src/JuceLibraryCode/modules/juce_graphics/image_formats/jpglib/jcmarker.c
43
16135
/* * jcmarker.c * * Copyright (C) 1991-1998, Thomas G. Lane. * This file is part of the Independent JPEG Group's software. * For conditions of distribution and use, see the accompanying README file. * * This file contains routines to write JPEG datastream markers. */ #define JPEG_INTERNALS #include "jinclude.h...
mit
ThangBK2009/android-source-browsing.platform--external--libffi
testsuite/libffi.call/cls_19byte.c
44
3034
/* Area: ffi_call, closure_call Purpose: Check structure passing with different structure size. Depending on the ABI. Double alignment check on darwin. Limitations: none. PR: none. Originator: <andreast@gcc.gnu.org> 20030915 */ /* { dg-do run } */ #include "ffitest.h" typedef struct cls_struct_19byte ...
mit
ShowingCloud/Alniyat
plugins/com.phonegap.plugins.barcodescanner/src/ios/ZXingWidgetLibrary/ZXingWidgetLibrary/core/zxing/ResultIO.cpp
45
1053
// -*- mode:c++; tab-width:2; indent-tabs-mode:nil; c-basic-offset:2 -*- /* * ResultIO.cpp * zxing * * Created by Christian Brunschen on 13/05/2008. * Copyright 2008 ZXing authors All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in c...
mit
spoiledsport/coreclr
src/md/winmd/winmdimport.cpp
54
93701
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // #include "stdafx.h" #include "winmdinterfaces.h" #include "metadataexports.h" #include "inc/adapter.h" #include "strsafe.h" //===============================...
mit
travisg/lk
external/lib/lwip/netif/ppp/fsm.c
569
23702
/***************************************************************************** * fsm.c - Network Control Protocol Finite State Machine program file. * * Copyright (c) 2003 by Marc Boucher, Services Informatiques (MBSI) inc. * portions Copyright (c) 1997 by Global Election Systems Inc. * * The authors hereby grant permi...
mit
nawawi/poedit
deps/boost/libs/config/test/no_cxx11_allocator_pass.cpp
61
1094
// This file was automatically generated on Sun Apr 22 11:15:42 2012 // by libs/config/tools/generate.cpp // Copyright John Maddock 2002-4. // 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/L...
mit
c72578/poedit
deps/boost/libs/iostreams/test/grep_test.cpp
62
8938
/* * 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.) * * See http://www.boost.org/libs/iostreams for documentation. * File: libs/iostreams/test/grep_test.cpp * Date: Mon May 26 17:48:45 MDT 2008 ...
mit
goldcoin/gldcoin
BuildDeps/deps/boost/libs/spirit/example/qi/num_list1.cpp
64
2934
/*============================================================================= Copyright (c) 2002-2010 Joel de Guzman 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) =========================================...
mit
chcbaram/arduino_1.5_win
hardware/arduino/avr/cores/arduino/hooks.c
325
1142
/* Copyright (c) 2012 Arduino. All right reserved. This library 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 version 2.1 of the License, or (at your option) any later version. This ...
mit
BogusCurry/godot
drivers/speex/vq.c
70
4071
/* Copyright (C) 2002 Jean-Marc Valin File: vq.c Vector quantization 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...
mit
comitservice/nodmcu
app/lwip/api/netifapi.c
583
4836
/** * @file * Network Interface Sequential API module * */ /* * 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 cond...
mit
yaukeywang/slua
build/luajit-2.0.4/src/lib_ffi.c
74
22541
/* ** FFI library. ** Copyright (C) 2005-2015 Mike Pall. See Copyright Notice in luajit.h */ #define lib_ffi_c #define LUA_LIB #include <errno.h> #include "lua.h" #include "lauxlib.h" #include "lualib.h" #include "lj_obj.h" #if LJ_HASFFI #include "lj_gc.h" #include "lj_err.h" #include "lj_str.h" #include "lj_tab....
mit
Neuromancer2701/mbedROS2_STF7
mbed-os/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/source/system_samg55.c
79
5945
/** * \file * * \brief Provides the low-level initialization functions that called * on chip startup. * * Copyright (c) 2014-2015 Atmel Corporation. All rights reserved. * * \asf_license_start * * \page License * * Redistribution and use in source and binary forms, with or without * modification, are permi...
mit
Paulloz/godot
thirdparty/libvpx/vp8/decoder/dboolhuff.c
79
2129
/* * Copyright (c) 2010 The WebM 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 contributin...
mit
swordfeng/node-sodium
deps/libsodium/src/libsodium/crypto_stream/salsa20/ref/stream_salsa20_ref.c
93
1127
/* version 20140420 D. J. Bernstein Public domain. */ #include "api.h" #include "crypto_core_salsa20.h" #include "utils.h" #ifndef HAVE_AMD64_ASM typedef unsigned int uint32; static const unsigned char sigma[16] = { 'e', 'x', 'p', 'a', 'n', 'd', ' ', '3', '2', '-', 'b', 'y', 't', 'e', ' ', 'k' }; int crypto_st...
mit
ragmani/coreclr
src/pal/src/arch/amd64/processor.cpp
93
1239
// 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. /*++ Module Name: processor.cpp Abstract: Implementation of processor related functions for the Intel ...
mit
BarrelfishOS/barrelfish
lib/lwip2/src/core/ipv4/ip4_addr.c
95
9000
/** * @file * This is the IPv4 address tools implementation. * */ /* * Copyright (c) 2001-2004 Swedish Institute of Computer Science. * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * ...
mit
Will-of-the-Wisp/Torque3D
Engine/lib/sdl/test/testgesture.c
100
8114
/* Copyright (C) 1997-2016 Sam Lantinga <slouken@libsdl.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 purpose, ...
mit
mxrrow/zaicoin
src/deps/boost/libs/bind/test/ref_fn_test.cpp
103
1416
#include <boost/config.hpp> #if defined(BOOST_MSVC) #pragma warning(disable: 4786) // identifier truncated in debug info #pragma warning(disable: 4710) // function not inlined #pragma warning(disable: 4711) // function selected for automatic inline expansion #pragma warning(disable: 4514) // unreferenced inline re...
mit
wanghuan1115/sdkbox-facebook-sample
cpp/cocos2d/extensions/Particle3D/PU/CCPUObserverTranslator.cpp
105
7584
/**************************************************************************** Copyright (C) 2013 Henry van Merode. All rights reserved. Copyright (c) 2015 Chukong Technologies Inc. http://www.cocos2d-x.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associa...
mit
CedarLogic/WinObjC
deps/3rdparty/iculegacy/source/layout/loengine.cpp
362
3090
/* * * (C) Copyright IBM Corp. 1998-2007 - All Rights Reserved * */ #include "LETypes.h" #include "loengine.h" #include "LayoutEngine.h" /** * \file * \brief C API for complex text layout. */ U_NAMESPACE_USE U_CAPI le_engine * U_EXPORT2 le_create(const le_font *font, le_int32 scriptCode, le_int32 la...
mit
Torque3D-GameEngine/Torque3D
Engine/lib/sdl/src/video/directfb/SDL_DirectFB_shape.c
107
4363
/* Simple DirectMedia Layer Copyright (C) 1997-2016 Sam Lantinga <slouken@libsdl.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 ...
mit
Duion/Torque3D
Engine/lib/sdl/src/video/SDL_blit_N.c
110
93384
/* Simple DirectMedia Layer Copyright (C) 1997-2016 Sam Lantinga <slouken@libsdl.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 ...
mit
hdou731/Windows-universal-samples
Samples/XamlCloudFontIntegration/cpp/Scenario_Document2.xaml.cpp
111
1558
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the MIT License (MIT). // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A PARTICUL...
mit
WhiteVell/Amber
node-v0.10.20/deps/openssl/openssl/crypto/engine/tb_rsa.c
885
4189
/* ==================================================================== * Copyright (c) 2000 The OpenSSL Project. 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 ...
mit
kheops/pyramidscoin
src/test/canonical_tests.cpp
1657
2439
// // Unit tests for canonical signatures #include "json/json_spirit_writer_template.h" #include <boost/test/unit_test.hpp> #include <openssl/ecdsa.h> #include "key.h" #include "script.h" #include "util.h" using namespace std; using namespace json_spirit; // In script_tests.cpp extern Array read_json(const std::st...
mit
mediapiglet/piglet
node_modules/exec-sync/node_modules/ffi/deps/pthreads-win32/tests/self1.c
122
2147
/* * self1.c * * * -------------------------------------------------------------------------- * * Pthreads-win32 - POSIX Threads Library for Win32 * Copyright(C) 1998 John E. Bossom * Copyright(C) 1999,2005 Pthreads-win32 contributors * * Contact Email: rpj@callisto.canberra.edu.au * *...
mit
yupcoin/yupcoin
src/netbase.cpp
1163
31527
// 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 "netbase.h" #include "util.h" #include "sync.h" #include "hash.h" #ifnde...
mit
jimmy54/WinObjC
deps/3rdparty/iculegacy/source/test/thaitest/thaitest.cpp
397
16065
/* ****************************************************************************** * Copyright (C) 1998-2003, 2006, International Business Machines Corporation * * and others. All Rights Reserved. * ****************************************************************************...
mit
wilseypa/odroidNetworking
linux/fs/nfs/nfs4xdr.c
657
188924
/* * fs/nfs/nfs4xdr.c * * Client-side XDR for NFSv4. * * Copyright (c) 2002 The Regents of the University of Michigan. * All rights reserved. * * Kendrick Smith <kmsmith@umich.edu> * Andy Adamson <andros@umich.edu> * * Redistribution and use in source and binary forms, with or without * modificati...
mit
RobertABT/heightmap
build/scipy/scipy/interpolate/fitpack/fpfrno.f
148
1697
subroutine fpfrno(maxtr,up,left,right,info,point,merk,n1, * count,ier) c subroutine fpfrno collects the free nodes (up field zero) of the c triply linked tree the information of which is kept in the arrays c up,left,right and info. the maximal length of the branches of the c tree is given by n1. if no fr...
mit
MitchellMintCoins/AutoCoin
src/qt/walletview.cpp
161
8817
/* * Qt4 bitcoin GUI. * * W.J. van der Laan 2011-2012 * The Bitcoin Developers 2011-2013 */ #include "walletview.h" #include "bitcoingui.h" #include "transactiontablemodel.h" #include "addressbookpage.h" #include "sendcoinsdialog.h" #include "signverifymessagedialog.h" #include "clientmodel.h" #include "walletmode...
mit
hanjae/lumiab0
lib/openssl/crypto/ui/ui_lib.c
681
20587
/* crypto/ui/ui_lib.c -*- mode:C; c-file-style: "eay" -*- */ /* Written by Richard Levitte (richard@levitte.org) for the OpenSSL * project 2001. */ /* ==================================================================== * Copyright (c) 2001 The OpenSSL Project. All rights reserved. * * Redistribution and use in s...
mit
KitoHo/WinObjC
deps/3rdparty/icu/icu/source/layout/StateTableProcessor2.cpp
174
9129
/* * * (C) Copyright IBM Corp. and others 1998-2014 - All Rights Reserved * */ #include "LETypes.h" #include "MorphTables.h" #include "StateTables.h" #include "MorphStateTables.h" #include "SubtableProcessor2.h" #include "StateTableProcessor2.h" #include "LEGlyphStorage.h" #include "LESwaps.h" #include "LookupTab...
mit
Jaberer/WinObjC
deps/3rdparty/icu/icu/source/test/intltest/plurults.cpp
175
41414
/* ******************************************************************************* * Copyright (C) 2007-2014, International Business Machines Corporation and * others. All Rights Reserved. ******************************************************************************** * File PLURRULTS.cpp * **************************...
mit
jamescoineron/octane
src/qt/trafficgraphwidget.cpp
176
4571
#include "trafficgraphwidget.h" #include "clientmodel.h" #include <QPainter> #include <QColor> #include <QTimer> #include <cmath> #define DESIRED_SAMPLES 800 #define XMARGIN 10 #define YMARGIN 10 TrafficGraphWidget::TrafficGraphWidget(QWidget *parent) : QWidget(parent), ...
mit
herocodemaster/opencvr
3rdparty/ffmpeg/libavcodec/eac3_data.c
181
61257
/* * E-AC-3 tables * Copyright (c) 2007 Bartlomiej Wolowiec <bartek.wolowiec@gmail.com> * * 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 * vers...
mit
SyllaJay/WinObjC
deps/3rdparty/iculegacy/source/i18n/rbt_rule.cpp
188
19396
/* ********************************************************************** * Copyright (C) 1999-2008, International Business Machines * Corporation and others. All Rights Reserved. ********************************************************************** * Date Name Description * 11/17/99 al...
mit
jjdicharry/godot
drivers/vorbis/lpc.c
445
4547
/******************************************************************** * * * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * * GOVERNED BY A BSD-STYLE SOURCE LICENS...
mit
greenfire27/Torque2D
engine/lib/freetype/android/freetype-2.4.12/src/psaux/t1decode.c
196
51012
/***************************************************************************/ /* */ /* t1decode.c */ /* */ /* Po...
mit
globaltoken/globaltoken
src/leveldb/db/c_test.c
4294
11634
/* Copyright (c) 2011 The LevelDB Authors. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. See the AUTHORS file for names of contributors. */ #include "leveldb/c.h" #include <stddef.h> #include <stdio.h> #include <stdlib.h> #include <string....
mit
foric/lk-lollipop
lib/openssl/crypto/asn1/a_bitstr.c
712
7281
/* crypto/asn1/a_bitstr.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 n...
mit
aguadev/aguadev
apps/node/node-v0.10.15/deps/openssl/openssl/crypto/ec/ec_pmeth.c
204
8138
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 2006. */ /* ==================================================================== * Copyright (c) 2006 The OpenSSL Project. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, ar...
mit
JeeLiu/WinObjC
deps/3rdparty/icu/icu/source/tools/ctestfw/uperf.cpp
220
17132
/******************************************************************** * COPYRIGHT: * Copyright (c) 2002-2012, International Business Machines Corporation and * others. All Rights Reserved. ********************************************************************/ // Defines _XOPEN_SOURCE for access to POSIX functions. ...
mit
Louiefigz/flatiron-store-project-v-000
vendor/cache/ruby/2.2.0/gems/ffi-1.9.10/ext/ffi_c/libffi/src/x86/ffi64.c
221
17583
/* ----------------------------------------------------------------------- ffi64.c - Copyright (c) 20011 Anthony Green Copyright (c) 2008, 2010 Red Hat, Inc. Copyright (c) 2002, 2007 Bo Thorsen <bo@suse.de> x86-64 Foreign Function Interface Permission is hereby gran...
mit
supriyantomaftuh/Windows-universal-samples
Samples/XamlCloudFontIntegration/cpp/Scenario_SampleOverview.xaml.cpp
222
1033
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the MIT License (MIT). // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A PARTICUL...
mit
Viktorminator/coinvscoin
node_modules/node-sass/src/libsass/src/extend.cpp
226
74695
#ifdef _MSC_VER #pragma warning(disable : 4503) #endif #include "extend.hpp" #include "context.hpp" #include "to_string.hpp" #include "backtrace.hpp" #include "paths.hpp" #include "parser.hpp" #include "node.hpp" #include "sass_util.hpp" #include "debug.hpp" #include <iostream> #include <deque> #include <set> /* NO...
mit
PC-ai/WinObjC
deps/3rdparty/icu/icu/source/common/utrie2.cpp
226
24036
/* ****************************************************************************** * * Copyright (C) 2001-2014, International Business Machines * Corporation and others. All Rights Reserved. * ****************************************************************************** * file name: utrie2.cpp * encoding: U...
mit
KellyChan/python-examples
cpp/eigen/eigen/test/householder.cpp
246
5984
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2009-2010 Benoit Jacob <jacob.benoit.1@gmail.com> // // 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 ...
mit
madscient/FITOM
FITOMApp/TimerWin.cpp
1
1480
#include "stdafx.h" #include "timer.h" static UINT_PTR timerID; static unsigned long lTimCnt; static void ( *TimIntr)(); static unsigned long uSecPeriod; static long long previous; void CALLBACK TimerProc(UINT uTimerID, UINT uMsg, DWORD dwUser, DWORD dummy1, DWORD dummy2) { if (uTimerID == timerID) { #if...
cc0-1.0
giovannimanzoni/volcano
linux/projects/sumo/scanAndPush/testScanPush.c
2
1265
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #define SCAN 0 #define CHECK 1 #define STOP 2 #define NEW 1 #define CURRENT 0 int dir; int line; int speed; int mm; void printBanner(){ printf("\n\n\rPROGRAM for detect robot within 55cm\n\n\r"); } void init(){ line=NEW; speed = SCA...
cc0-1.0
supriyasingh01/github_basics
Internetworking Distributed Project/Kernal/linux-3.6.3/samples/kfifo/bytestream-example.c
10729
4083
/* * Sample kfifo byte stream implementation * * Copyright (C) 2010 Stefani Seibold <stefani@seibold.net> * * Released under the GPL version 2 only. * */ #include <linux/init.h> #include <linux/module.h> #include <linux/proc_fs.h> #include <linux/mutex.h> #include <linux/kfifo.h> /* * This module shows how to...
cc0-1.0
tomgr/graphviz-cmake
tclpkg/tclpathplan/tclpathplan.c
1
23995
/* $Id: tclpathplan.c,v 1.6 2011/01/25 16:30:52 ellson Exp $ $Revision: 1.6 $ */ /* vim:set shiftwidth=4 ts=8: */ /************************************************************************* * Copyright (c) 2011 AT&T Intellectual Property * All rights reserved. This program and the accompanying materials * are made ...
epl-1.0
dupuisa/i-CodeCNES
fortran77-rules/src/test/resources/f77_2/dlafts.f
32
5956
*> \brief \b DLAFTS * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * * Definition: * =========== * * SUBROUTINE DLAFTS( TYPE, M, N, IMAT, NTESTS, RESULT, ISEED, * THRESH, IOUNIT, IE ) * * ...
epl-1.0