repo_name string | path string | copies string | size string | content string | license string |
|---|---|---|---|---|---|
lboss75/vds | libs_server/vds_ws_api/websocket_api.cpp | 1 | 35169 | /*
Copyright (c) 2017, Vadim Malyshev, lboss75@gmail.com
All rights reserved
*/
#include "stdafx.h"
#include "websocket_api.h"
#include "db_model.h"
#include "transaction_log_record_dbo.h"
#include "transaction_block.h"
#include "websocket.h"
#include "channel_message_dbo.h"
#include "dht_network_client.h"
#include "dh... | mit |
AndrewWPhillips/HexEdit | HexEdit/CalcDlg.cpp | 1 | 137400 | // CalcDlg.cpp : implements the Goto/Calculator dialog
//
// Copyright (c) 2015 by Andrew W. Phillips.
//
// This file is distributed under the MIT license, which basically says
// you can do what you want with it and I take no responsibility for bugs.
// See http://www.opensource.org/licenses/mit-license.php for... | mit |
jconst/SoundDrop | SoundDrop/libpd/pure-data/src/s_utf8.c | 1 | 7329 | /*
Basic UTF-8 manipulation routines
by Jeff Bezanson
placed in the public domain Fall 2005
This code is designed to provide the utilities you need to manipulate
UTF-8 as an internal string encoding. These functions do not perform the
error checking normally needed when handling UTF-8 data, so if you happe... | mit |
Edimartin/edk-source | edk/Camera2D.cpp | 1 | 11322 | #include "Camera2D.h"
/*
Library Camera2D - 2D camera in a 2D World
Copyright 2013 Eduardo Moura Sales Martins (edimartin@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 restri... | mit |
RCP1/hexapod-kinematics | src/math/vector3d.cpp | 1 | 3797 | #include "vector3d.h"
#include "mathConstants.h"
#include <math.h>
#include <string.h>
Vector3d::Vector3d(float x, float y, float z) :
x(x),
y(y),
z(z)
{
}
Vector3d::Vector3d(const float* val, uint8_t dimension)
{
memset(&m_data, 0, s_dimension * sizeof(float));
for (uint8_t i = 0; i < dimension;... | mit |
dscotese/bitcoin | src/node/interfaces.cpp | 1 | 30052 | // Copyright (c) 2018-2021 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 <addrdb.h>
#include <banman.h>
#include <chain.h>
#include <chainparams.h>
#include <deploymentstatus.h>
#include <e... | mit |
WinnowTag/winnow | tests/check_tagger_builder.c | 1 | 6926 | // General info: http://doc.winnowtag.org/open-source
// Source code repository: http://github.com/winnowtag
// Questions and feedback: contact@winnowtag.org
//
// Copyright (c) 2007-2011 The Kaphan Foundation
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and ass... | mit |
jordsti/stigame | StiGame/core/Surface.cpp | 1 | 10675 |
#include "Surface.h"
#include "SDL.h"
#include "SDL_image.h"
#include "Dimension.h"
#include "Primitive.h"
#include <string>
#include <iostream>
#include "Logger.h"
#include "SDL2_rotozoom.h"
namespace StiGame {
Surface::Surface(void)
{
releaseSurface = true;
empty = true;
width = 0;
height = 0;
sdlSurfa... | mit |
rangsimanketkaew/NWChem | src/ddscf/fast/anlfit.F | 1 | 20823 | * call anl_fit_init
* end
double precision function anl_fit(n, l, x)
*
* $Id$
*
implicit none
#include "canlfit.fh"
integer n, l
double precision x
c
c Return the value of Anl(x) computed from the table
c or asymptotic formula. See anl_fit_init.
c
integer nlcnt, i, k
... | mit |
blyk/BlackCode-Fuse | Onboarding/.build/Android-Release/jni/_root.MainView.cpp | 2 | 12809 | // This file was generated based on 'C:\Users\Kuro\Desktop\GitHub\BlackCode-Fuse\Onboarding\.cache\GeneratedCode\MainView.g.uno'.
// WARNING: Changes might be lost if you edit this file directly.
#include <_root.MainView.Fuse_Elements_Element_float_Opacity_Property.h>
#include <_root.MainView.Fuse_Triggers_Timeline_do... | mit |
hillerlab/GenomeAlignmentTools | kent/src/hg/lib/jksql.c | 2 | 135925 | /*****************************************************************************
* Copyright (C) 2000 Jim Kent. This source code may be freely used *
* for personal, academic, and non-profit purposes. Commercial use *
* permitted only by explicit agreement with Jim Kent (jim_kent@pacbell.net) *
***... | mit |
sndnvaps/lk | dev/usb/usb.c | 2 | 13052 | /*
* Copyright (c) 2008-2015 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, m... | mit |
anditto/bitcoin | src/wallet/rpc/backup.cpp | 2 | 91317 | // Copyright (c) 2009-2021 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 <chain.h>
#include <clientversion.h>
#include <core_io.h>
#include <fs.h>
#include <interfaces/chain.h>
#include <ke... | mit |
tsteinholz/SR-Gaming | Libraries/allegro5-5.1/src/bitmap_draw.c | 2 | 7253 | /* ______ ___ ___
* /\ _ \ /\_ \ /\_ \
* \ \ \L\ \\//\ \ \//\ \ __ __ _ __ ___
* \ \ __ \ \ \ \ \ \ \ /'__`\ /'_ `\/\`'__\/ __`\
* \ \ \/\ \ \_\ \_ \_\ \_/\ __//\ \L\ \ \ \//\ \L\ \
* \ \_\ \_\/\____\/\____\ \____\ \____ \ \_\\ \____/
* ... | mit |
rcrowder/Burt | cmucam3_r556/cc3/hal/lpc2106-cmucam3/syscalls.c | 2 | 7698 | /*
* Copyright 2006-2007 Anthony Rowe and Adam Goode
*
* 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 applic... | mit |
Siv3D/OpenSiv3D | Siv3D/src/ThirdParty/Oniguruma/iso8859_14.c | 2 | 8847 | /**********************************************************************
iso8859_14.c - Oniguruma (regular expression library)
**********************************************************************/
/*-
* Copyright (c) 2002-2019 K.Kosako
* All rights reserved.
*
* Redistribution and use in source and binary form... | mit |
maurer/tiamat | samples/Juliet/testcases/CWE415_Double_Free/s02/CWE415_Double_Free__new_delete_wchar_t_22b.cpp | 2 | 2417 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE415_Double_Free__new_delete_wchar_t_22b.cpp
Label Definition File: CWE415_Double_Free__new_delete.label.xml
Template File: sources-sinks-22b.tmpl.cpp
*/
/*
* @description
* CWE: 415 Double Free
* BadSource: Allocate data using new and Deallocae data using del... | mit |
OpenWise/wiseup-arduino | libraries/DallasTemperature/DallasTemperature.cpp | 2 | 22993 | // 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.
// Version 3.7.2 modified on Dec 6, 2011 to support Arduin... | mit |
jicailiu/xbox-live-api | Tests/CTestApp/Xbox/XSAPI/Main.cpp | 2 | 2768 | //
// Main.cpp
//
#include "pch.h"
#include "Game.h"
using namespace winrt::Windows::ApplicationModel;
using namespace winrt::Windows::ApplicationModel::Core;
using namespace winrt::Windows::ApplicationModel::Activation;
using namespace winrt::Windows::UI::Core;
using namespace winrt::Windows::Foundation;
using names... | mit |
ruar18/competitive-programming | dmoj/dmopc/14c1p5-surprise-teleport.cpp | 2 | 1246 | #include <bits/stdc++.h>
using namespace std;
int r, c, x, y, sx, sy, ox, oy, t, dist[1001][1001], d[4][2]={{0,1},{0,-1},{1,0},{-1,0}}, mindist=123456789;
queue<int> q;
char grid[1001][1001];
int main(){
memset(dist,-1,sizeof(dist));
scanf("%d%d%d%d%d%d", &r, &c, &sx, &sy, &ox, &oy);
if(sx==ox && sy==oy){ p... | mit |
FlyingGraysons/Fido | src/Simulator/Simlink.cpp | 2 | 9379 | #include "../../include/Simulator/Simlink.h"
#define _USE_MATH_DEFINES
#include <SFML/Audio.hpp>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <iostream>
#include <ctime>
#include <math.h>
#include <functional>
Simlink::Simlink() : emitter(20), robot(850, 250, 50, 40), line(sf::... | mit |
jjuiddong/Point-Cloud | Src/Sample/Graphic/base/indexbuffer.cpp | 2 | 1332 |
#include "stdafx.h"
#include "indexbuffer.h"
using namespace graphic;
cIndexBuffer::cIndexBuffer() :
m_pIdxBuff(NULL)
, m_faceCount(0)
{
}
cIndexBuffer::~cIndexBuffer()
{
Clear();
}
bool cIndexBuffer::Create(cRenderer &renderer, int faceCount)
{
SAFE_RELEASE(m_pIdxBuff);
if (FAILED(renderer.GetDevice()->Cre... | mit |
TrickyCoin/trickycoin | src/qt/rpcconsole.cpp | 2 | 14509 | #include "rpcconsole.h"
#include "ui_rpcconsole.h"
#include "clientmodel.h"
#include "bitcoinrpc.h"
#include "guiutil.h"
#include <QTime>
#include <QTimer>
#include <QThread>
#include <QTextEdit>
#include <QKeyEvent>
#include <QUrl>
#include <QScrollBar>
#include <openssl/crypto.h>
// TODO: make it possible to filt... | mit |
SCOREC/nektar | solvers/CardiacEPSolver/CellModels/Winslow99.cpp | 2 | 92048 | ///////////////////////////////////////////////////////////////////////////////
//
// File Winslow99.cpp
//
// For more information, please see: http://www.nektar.info
//
// The MIT License
//
// Copyright (c) 2006 Division of Applied Mathematics, Brown University (USA),
// Department of Aeronautics, Imperial College L... | mit |
RippeR37/GLUL | src/GLUL/Input/Mouse.cpp | 3 | 2612 | #include <GLUL/Window.h>
#include <GLUL/Input/Mouse.h>
#include <GL/glew.h>
#include <GLFW/glfw3.h>
namespace GLUL {
namespace Input {
void Mouse::setMode(CursorMode cursorMode) {
setMode(cursorMode, GLUL::Windows::Active());
}
void Mouse::setMode(CursorMode cursorMode, GLU... | mit |
rbaghdadi/ISIR | benchmarks/halide/wrapper_ticket.cpp | 3 | 1567 | #include "wrapper_ticket.h"
#include "Halide.h"
#include "halide_image_io.h"
#include "tiramisu/utils.h"
#include <cstdlib>
#include <iostream>
#include <tiramisu/utils.h>
#define N 1024
#define NB_TESTS 60
#define CHECK_CORRECTNESS 1
int main(int, char**)
{
std::vector<std::chrono::duration<double,std::milli>> ... | mit |
FinanceChainFoundation/FinChain-core | tests/tests/wallet_tests.cpp | 3 | 2867 | /*
* Copyright (c) 2017 Cryptonomex, Inc., and contributors.
*
* The MIT License
*
* 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... | mit |
cginternals/libzeug | source/tests/reflectionzeug-test/propertyInstanciationTests/PropertyInstanciationInt16_TArray_test.cpp | 3 | 8708 |
#include <gmock/gmock.h>
#include <reflectionzeug/property/Property.h>
#include "../MyObject.h"
using namespace reflectionzeug;
using std::string;
class PropertyInstanceInt16_TArray_test : public testing::Test
{
public:
PropertyInstanceInt16_TArray_test()
{
}
protected:
};
namespace {
int16_t stat... | mit |
mikedlowis-prototypes/acc | source/oocontext.cpp | 3 | 1755 | /* oocontext.cpp
** strophe XMPP client library -- C++ context implementation
**
** Copyright (C) 2005-2009 Collecta, Inc.
**
** This software is provided AS-IS with no warranty, either express
** or implied.
**
** This program is dual licensed under the MIT and GPLv3 licenses.
*/
#include <stdlib.h>
#include "s... | mit |
tipographo/tipographo.github.io | node_modules/grpc/deps/grpc/third_party/boringssl/crypto/fipsmodule/ec/p256-64.c | 3 | 51073 | /* Copyright (c) 2015, Google Inc.
*
* 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 DISCLAIMS... | mit |
stefangordon/AzureIoT | src/sdk/agenttypesystem.c | 3 | 163430 | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
#include <stdlib.h>
#ifdef _CRTDBG_MAP_ALLOC
#include <crtdbg.h>
#endif
#include "gballoc.h"
#include "agenttypesystem.h"
#include <inttypes.h>
#ifdef _MSC_VER
#pragm... | mit |
willwray/dash | src/test/bloom_tests.cpp | 4 | 54340 | // Copyright (c) 2012-2015 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 "bloom.h"
#include "base58.h"
#include "clientversion.h"
#include "key.h"
#include "merkleblock.h"
#include "random... | mit |
est77/appleseed-maya | src/appleseedmaya/idlejobqueue.cpp | 4 | 3324 |
//
// This source file is part of appleseed.
// Visit https://appleseedhq.net/ for additional information and resources.
//
// This software is released under the MIT license.
//
// Copyright (c) 2016-2019 Esteban Tovagliari, The appleseedhq Organization
//
// Permission is hereby granted, free of charge, to any perso... | mit |
tilemapjp/OSGeo.GDAL.Xamarin | gdal-1.11.0/apps/testepsg.cpp | 4 | 7108 | /******************************************************************************
* $Id: testepsg.cpp 18987 2010-03-01 19:44:06Z rouault $
*
* Project: OpenGIS Simple Features Reference Implementation
* Purpose: Test mainline for translating EPSG definitions into WKT.
* Author: Frank Warmerdam, warmerdam@pobox.c... | mit |
airgames/vuforia-gamekit-integration | Gamekit/Ogre-1.7/RenderSystems/GL/src/OgreGLPlugin.cpp | 6 | 2350 | /*
-----------------------------------------------------------------------------
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 obta... | mit |
Vertexwahn/appleseed | src/appleseed/renderer/modeling/entity/entity.cpp | 6 | 4111 |
//
// This source file is part of appleseed.
// Visit https://appleseedhq.net/ for additional information and resources.
//
// This software is released under the MIT license.
//
// Copyright (c) 2010-2013 Francois Beaune, Jupiter Jazz Limited
// Copyright (c) 2014-2018 Francois Beaune, The appleseedhq Organization
//... | mit |
banditlev/meangarden | packages/custom/mail-templates/node_modules/node-sass/src/libsass/src/values.cpp | 262 | 4884 | #include "sass.h"
#include "values.hpp"
#include <stdint.h>
namespace Sass {
// convert value from C++ side to C-API
union Sass_Value* ast_node_to_sass_value (const Expression* val)
{
if (val->concrete_type() == Expression::NUMBER)
{
const Number* res = dynamic_cast<const Number*>(val);
ret... | mit |
honnibal/cython-blis | blis/_src/ivybridge/src/3/bli_l3_blocksize.c | 7 | 10692 | /*
BLIS
An object-based framework for developing high-performance BLAS-like
libraries.
Copyright (C) 2014, The University of Texas at Austin
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
- Re... | mit |
instagibbs/bitcoin | src/test/descriptor_tests.cpp | 7 | 80046 | // Copyright (c) 2018-2021 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 <pubkey.h>
#include <script/descriptor.h>
#include <script/sign.h>
#include <script/standard.h>
#include <test/util/... | mit |
VendCoin/VendCoin | src/bitcoin-cli.cpp | 8 | 9662 | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-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 "chainparamsbase.h"
#include "clientversion.h"
#include "rpcclient.h"
#in... | mit |
manGoweb/BLEDataTransfer | firmware/examples/FW/1.0/libraries/ArduinoJson/test/JsonVariant_Undefined_Tests.cpp | 8 | 1484 | // 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 JsonVariant_Undefined_Tests : public ::testing::Test {
protected:
JsonVariant variant;... | mit |
ageazrael/godot | editor/editor_log.cpp | 10 | 6184 | /*************************************************************************/
/* editor_log.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... | mit |
truthcoin/blocksize-market | src/primitives/transaction.cpp | 10 | 7619 | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "primitives/transaction.h"
#include "hash.h"
#include "tinyformat.h"
#includ... | mit |
skiselev/upm | src/relay/relay_fti.c | 11 | 2937 | /*
* Author: Sisinty Sasmita Patra <sisinty.s.patra@intel.com>
*
* Copyright (c) 2016 Intel Corporation.
*
* 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, includin... | mit |
petetnt/brackets-shell | appshell/cefclient_gtk.cpp | 12 | 7911 | // Copyright (c) 2011 The Chromium Embedded Framework Authors. All rights
// reserved. Use of this source code is governed by a BSD-style license that
// can be found in the LICENSE file.
#include "cefclient.h"
#include <gtk/gtk.h>
#include <stdlib.h>
#include <unistd.h>
#include <string>
#include <sys/stat.h>
#includ... | mit |
Djuffin/coreclr | src/pal/tests/palsuite/miscellaneous/InterlockedBit/test1/test.cpp | 13 | 2006 | //
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
/*============================================================
**
** Source : test.c
**
** Purpose: Test for InterlockedBitTestAndReset() function
**
**
**=======... | mit |
balaam/dinodeck | src/android/jni/ftgles/src/FTGL/ftglesGlue.cpp | 13 | 7509 | /*
Copyright (c) 2010 David Petrie
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, publish, distri... | mit |
Maseratigsg/kohencoin | src/pow.cpp | 18 | 3269 | // 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 "pow.h"
#include "arith_uint256.h"
#include "chain.h"
#include "primiti... | mit |
weinzierl-engineering/baos | thirdparty/poco/Foundation/src/EventLogChannel.cpp | 20 | 7735 | //
// EventLogChannel.cpp
//
// $Id: //poco/1.4/Foundation/src/EventLogChannel.cpp#4 $
//
// Library: Foundation
// Package: Logging
// Module: EventLogChannel
//
// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// SPDX-License-Identifier: BSL-1.0
//
#include "Poco/E... | mit |
UAF-SuperDARN-OPS/SuperDARN_MSI_ROS | qnx/root/operational_radar_code/ros/fftw-3.2.2/dft/ct.c | 20 | 6287 | /*
* Copyright (c) 2003, 2007-8 Matteo Frigo
* Copyright (c) 2003, 2007-8 Massachusetts Institute of Technology
*
* 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 |
PUCSIE-embedded-course/stm32f4-examples | firmware/freertos/create_task/lib/FreeRTOSV8.2.3/FreeRTOS/Demo/Common/ethernet/lwIP/core/snmp/mib2.c | 21 | 104667 | /**
* @file
* Management Information Base II (RFC1213) objects and functions.
*
* @note the object identifiers for this MIB-2 and private MIB tree
* must be kept in sorted ascending order. This to ensure correct getnext operation.
*/
/*
* Copyright (c) 2006 Axon Digital Design B.V., The Netherlands.
... | mit |
zecke/old-pharo-vm-sctp | platforms/Cross/plugins/FloatMathPlugin/fdlibm/e_j1.c | 24 | 15903 |
/* @(#)e_j1.c 1.3 95/01/18 */
/*
* ====================================================
* Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
*
* Developed at SunSoft, a Sun Microsystems, Inc. business.
* Permission to use, copy, modify, and distribute this
* software is freely granted, provided th... | mit |
gentlemans/gentlemanly_engine | deps/freetype2/src/autofit/afhints.c | 27 | 44217 | /***************************************************************************/
/* */
/* afhints.c */
/* */
/* Au... | mit |
ttyangf/nanomsg | perf/remote_lat.c | 27 | 2612 | /*
Copyright (c) 2012 Martin Sustrik 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 rights to use, ... | mit |
marqs87/Simple-2d-game | cocos2dx/platform/third_party/airplay/expat/examples/elements.c | 28 | 1249 | /* This is simple demonstration of how to use expat. This program
reads an XML document from standard input and writes a line with
the name of each element to standard output indenting child
elements by one tab stop more than their parent element.
*/
#include <stdio.h>
#include "expat.h"
static void XMLCALL
... | mit |
jdgarcia/nodegit | vendor/libssh2/src/transport.c | 29 | 33200 | /* Copyright (C) 2007 The Written Word, Inc. All rights reserved.
* Copyright (C) 2009-2010 by Daniel Stenberg
* Author: Daniel Stenberg <daniel@haxx.se>
*
* Redistribution and use in source and binary forms,
* with or without modification, are permitted provided
* that the following conditions are met:
*
* ... | mit |
bioinformed/pysam | htslib/regidx.c | 30 | 10171 | /*
Copyright (C) 2014 Genome Research Ltd.
Author: Petr Danecek <pd3@sanger.ac.uk>
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 limi... | mit |
arrosado/xavenEngine | OpenGL/Game Engine/Physics Engine/Box2D/Dynamics/Joints/b2PulleyJoint.cpp | 30 | 8542 | /*
* Copyright (c) 2007 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 purpose,
* includ... | mit |
quyse/inanity | deps/bullet/repo/Extras/CDTestFramework/Opcode/Ice/IceTriangle.cpp | 31 | 13367 | /*
* ICE / OPCODE - Optimized Collision Detection
* http://www.codercorner.com/Opcode.htm
*
* Copyright (c) 2001-2008 Pierre Terdiman, pierre@codercorner.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 us... | mit |
Hom-Wang/SmartIMU | firmware/NRF_Peripheral_TEMP/Libraries/modules/nrfx/drivers/src/nrfx_power.c | 34 | 8662 | /**
* Copyright (c) 2017 - 2018, Nordic Semiconductor ASA
*
* 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,... | mit |
pedrohenriquerls/flappybird_cocos2d | cocos2d/cocos/platform/winrt/CCDevice.cpp | 36 | 7741 | /****************************************************************************
Copyright (c) 2010-2012 cocos2d-x.org
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 file... | mit |
orefkov/Urho3D | Source/ThirdParty/FreeType/src/sfnt/ttkern.c | 38 | 7930 | /***************************************************************************/
/* */
/* ttkern.c */
/* */
/* Lo... | mit |
pikoro/sharpsdr | PortAudio/branches/OpenBSD_sndio/src/common/pa_dither.c | 295 | 7177 | /*
* $Id: pa_dither.c 1418 2009-10-12 21:00:53Z philburk $
* Portable Audio I/O Library triangular dither generator
*
* Based on the Open Source API proposed by Ross Bencina
* Copyright (c) 1999-2002 Phil Burk, Ross Bencina
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of th... | mit |
CCPorg/PARTY-PartyCoin-Ver-631-Original | 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 |
nicecapj/crossplatfromMmorpgServer | ThirdParty/boost_1_61_0/libs/system/test/error_code_user_test.cpp | 42 | 12894 | // error_code_user_test.cpp ------------------------------------------------//
// Copyright Beman Dawes 2006
// 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 library home page at http://www.boost.org/... | mit |
mozilla-b2g/fairphone2_kernel_lk | lib/libc/string/strtok.c | 45 | 1662 | /*
** Copyright 2001, Travis Geiselbrecht. All rights reserved.
** Distributed under the terms of the NewOS License.
*/
/*
* 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 "Softwar... | mit |
mitreaadrian/Soccersim | boost/boost_1_59_0/libs/config/test/no_cxx11_inline_namespaces_pass.cpp | 47 | 1095 | // This file was automatically generated on Sun Apr 28 18:36:48 2013
// 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 |
keichan100yen/ode-ext | boost/libs/numeric/odeint/test/stepper_with_units.cpp | 49 | 11488 | /*
[auto_generated]
libs/numeric/odeint/test/stepper_with_units.cpp
[begin_description]
This file tests if the steppers play well with Boost.Units.
[end_description]
Copyright 2011-2012 Karsten Ahnert
Copyright 2011-2013 Mario Mulansky
Distributed under the Boost Software License, Version 1.0.
(See accompan... | mit |
pichina/lk | lib/openssl/crypto/x509/x509_txt.c | 53 | 8392 | /* crypto/x509/x509_txt.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 |
chaos7theory/coreclr | src/jit/smgen.cpp | 61 | 13828 | //
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
/*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XX... | mit |
xtypebee/coreclr | src/coreclr/hosts/corerun/logger.cpp | 61 | 9335 | //
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
#include <stdio.h>
#include <windows.h>
#include <Logger.h>
#include "palclr.h"
void Logger::Enable() {
m_isEnabled = true;
}
void Logger::Disable() {
... | mit |
chenxizhang/coreclr | src/pal/tests/palsuite/pal_specific/PAL_Initialize_Terminate/test2/pal_initialize_twice.c | 62 | 1260 | //
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
/*=============================================================
**
** Source: pal_initialize_twice.c
**
** Purpose: Positive test of PAL_Initialize and PAL_Termi... | mit |
Rapier-Foundation/rapier-script | src/rapierlang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.call/basic.cpp | 62 | 1136 | // RUN: %clang_cc1 -fsyntax-only -verify %s
template<typename T> struct A { };
template<typename T> A<T> f0(T*);
void test_f0(int *ip, float const *cfp) {
A<int> a0 = f0(ip);
A<const float> a1 = f0(cfp);
}
template<typename T> void f1(T*, int);
void test_f1(int *ip, float fv) {
f1(ip, fv);
}
template<typena... | mit |
geertdoornbos/coreclr | src/pal/tests/palsuite/c_runtime/_wtoi/test1/test1.c | 62 | 2168 | //
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
/*=====================================================================
**
** Source: test1.c
**
** Purpose: Tests the PAL implementation of the _wtoi function.... | mit |
danawoodman/nodegit | vendor/openssl/openssl/crypto/engine/eng_ctrl.c | 830 | 12340 | /* crypto/engine/eng_ctrl.c */
/* ====================================================================
* Copyright (c) 1999-2001 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
* a... | mit |
Officine-KOIN/Officine-Koin | koin/src/qt/bitcoinaddressvalidator.cpp | 73 | 2022 | #include "bitcoinaddressvalidator.h"
/* Base58 characters are:
"123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"
This is:
- All numbers except for '0'
- All uppercase letters except for 'I' and 'O'
- All lowercase letters except for 'l'
User friendly Base58 input can map
- 'l' and 'I' to ... | mit |
dxxb/micropython | stmhal/hal/f4/src/stm32f4xx_hal_adc_ex.c | 74 | 30089 | /**
******************************************************************************
* @file stm32f4xx_hal_adc_ex.c
* @author MCD Application Team
* @version V1.1.0
* @date 19-June-2014
* @brief This file provides firmware functions to manage the following
* functionalities of the ... | mit |
suda/micropython | lib/libm/kf_sin.c | 78 | 1655 | /*
* This file is part of the Micro Python project, http://micropython.org/
*
* These math functions are taken from newlib-nano-2, the newlib/libm/math
* directory, available from https://github.com/32bitmicro/newlib-nano-2.
*
* Appropriate copyright headers are reproduced below.
*/
/* kf_sin.c -- float version... | mit |
EvanDWalsh/HackerCoin | src/qt/editaddressdialog.cpp | 83 | 3564 | #include "editaddressdialog.h"
#include "ui_editaddressdialog.h"
#include "addresstablemodel.h"
#include "guiutil.h"
#include <QDataWidgetMapper>
#include <QMessageBox>
EditAddressDialog::EditAddressDialog(Mode mode, QWidget *parent) :
QDialog(parent),
ui(new Ui::EditAddressDialog), mapper(0), mode(mode), mod... | mit |
attackjz/Cocos2d-x_CustomSliderList | CustomSliderList/cocos2d/cocos/editor-support/cocostudio/CCTween.cpp | 91 | 12811 | /****************************************************************************
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 |
impedimentToProgress/UCI-BlueChip | snapgear_linux/linux-2.6.21.1/drivers/isdn/hisax/arcofi.c | 352 | 3664 | /* $Id: arcofi.c,v 1.14.2.3 2004/01/13 14:31:24 keil Exp $
*
* Ansteuerung ARCOFI 2165
*
* Author Karsten Keil
* Copyright by Karsten Keil <keil@isdn4linux.de>
*
* This software may be used and distributed according to the terms
* of the GNU General Public License, incorporated herein by reference... | mit |
mihyaeru21/ItoToshi | cocos2d/extensions/Particle3D/PU/CCPUDoStopSystemEventHandler.cpp | 97 | 1983 | /****************************************************************************
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 |
yy1300326388/iBooks | jni/mupdf/freetype/src/gxvalid/gxvjust.c | 356 | 21301 | /***************************************************************************/
/* */
/* gxvjust.c */
/* */
/* Tr... | mit |
DustinTriplett/godot | drivers/builtin_openssl2/crypto/x509v3/v3_asid.c | 614 | 24159 | /*
* Contributed to the OpenSSL Project by the American Registry for
* Internet Numbers ("ARIN").
*/
/* ====================================================================
* Copyright (c) 2006 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* mod... | mit |
cnsuperx/Cocos2d-x-2.2.5 | cocos2dx/platform/third_party/wp8/libcurl/lib/if2ip.c | 108 | 5957 | /***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
* / __| | | | |_) | |
* | (__| |_| | _ <| |___
* \___|\... | mit |
rhosilver/rhodes-1 | lib/extensions/openssl.so/ext/sources/crypto/des/des_opts.c | 879 | 15854 | /* crypto/des/des_opts.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 no... | mit |
djtms/NetSCoin | 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 |
nokat/bitbean | src/test/bignum_tests.cpp | 1153 | 3786 | #include <boost/test/unit_test.hpp>
#include <limits>
#include "bignum.h"
#include "util.h"
BOOST_AUTO_TEST_SUITE(bignum_tests)
// Unfortunately there's no standard way of preventing a function from being
// inlined, so we define a macro for it.
//
// You should use it like this:
// NOINLINE void function() {...}
... | mit |
RYPTAR/SkullCode | SkullCode/cocos2d/external/flatbuffers/idl_parser.cpp | 131 | 40881 | /*
* Copyright 2014 Google 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 by applica... | mit |
huoxudong125/poedit | deps/icu4c/source/samples/translit/answers/unaccent.cpp | 388 | 1466 | /********************************************************************
* COPYRIGHT:
* Copyright (c) 1999-2002, International Business Machines Corporation and
* others. All Rights Reserved.
********************************************************************/
#include "unaccent.h"
/**
* Constructor
*/
UnaccentTr... | mit |
Raag079/self-driving-car | Term02-SensorFusion-Localization-and-Control/MPC-Quizzes/polyfit/src/Eigen-3.3/blas/f2c/dsbmv.c | 133 | 10188 | /* dsbmv.f -- translated by f2c (version 20100827).
You must link the resulting object file with libf2c:
on Microsoft Windows system, link with libf2c.lib;
on Linux or Unix systems, link with .../path/to/libf2c.a -lm
or, if you install libf2c.a in a standard place, with -lf2c -lm
-- in that order, at the end of ... | mit |
KristFoundation/Programs | luaide/sound/soc/soc-topology.c | 134 | 49184 | /*
* soc-topology.c -- ALSA SoC Topology
*
* Copyright (C) 2012 Texas Instruments Inc.
* Copyright (C) 2015 Intel Corporation.
*
* Authors: Liam Girdwood <liam.r.girdwood@linux.intel.com>
* K, Mythri P <mythri.p.k@intel.com>
* Prusty, Subhransu S <subhransu.s.prusty@intel.com>
* B, Jayachandran <jayachand... | mit |
vinnyrom/coreclr | src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER/test1/PAL_EXCEPT_FILTER.c | 137 | 3102 | // 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: pal_except_filter.c (test 1)
... | mit |
daleooo/barrelfish | lib/newlib/newlib/libc/machine/spu/ftell.c | 139 | 1773 | /*
(C) Copyright IBM Corp. 2006
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 the following di... | mit |
Jaberer/WinObjC | deps/3rdparty/icu/icu/source/test/cintltst/cldrtest.c | 166 | 66726 | /********************************************************************
* COPYRIGHT:
* Copyright (c) 1997-2014, International Business Machines Corporation and
* others. All Rights Reserved.
********************************************************************/
#include "cintltst.h"
#include "unicode/ures.h"
#include... | mit |
caidongyun/WinObjC | deps/3rdparty/icu/icu/source/test/cintltst/cdattst.c | 166 | 79052 | /********************************************************************
* COPYRIGHT:
* Copyright (c) 1997-2015, International Business Machines Corporation and
* others. All Rights Reserved.
********************************************************************/
/*******************************************************... | mit |
SyllaJay/WinObjC | tools/vsimporter/src/PBX/XCBuildConfiguration.cpp | 169 | 2003 | //******************************************************************************
//
// 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 |
MasterX1582/bitcoin-becoin | src/secp256k1/src/bench_recover.c | 171 | 1687 | /**********************************************************************
* Copyright (c) 2014 Pieter Wuille *
* Distributed under the MIT software license, see the accompanying *
* file COPYING or http://www.opensource.org/licenses/mit-license.php.*
*******************************... | mit |
shengwen1997/stm32_pratice | firmware/peripheral/usart_dma/lib/CMSIS/DSP_Lib/Examples/arm_variance_example/system_ARMCM4.c | 430 | 2707 | /**************************************************************************//**
* @file system_ARMCM4.c
* @brief CMSIS Cortex-M4 Device System Source File
* for CM4 Device Series
* @version V1.05
* @date 26. July 2011
*
* @note
* Copyright (C) 2010-2011 ARM Limited. All rights rese... | mit |
unbornchikken/lwip | src/lib/jpeg/jdapistd.c | 432 | 9393 | /*
* jdapistd.c
*
* Copyright (C) 1994-1996, Thomas G. Lane.
* Modified 2002-2013 by Guido Vollbeding.
* 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 application interface code for the decompression... | mit |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.