repo_name string | path string | copies string | size string | content string | license string |
|---|---|---|---|---|---|
jorik041/phantomjs | src/qt/qtwebkit/Source/WebCore/editing/SmartReplace.cpp | 187 | 1792 | /*
* Copyright (C) 2007 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of condit... | bsd-3-clause |
toanalien/phantomjs | src/qt/qtbase/src/3rdparty/libjpeg/jcomapi.c | 2759 | 3110 | /*
* jcomapi.c
*
* Copyright (C) 1994-1997, 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 application interface routines that are used for both
* compression and decompression.
*/
... | bsd-3-clause |
zhiliaoniu/redis | deps/jemalloc/src/bitmap.c | 713 | 2516 | #define JEMALLOC_BITMAP_C_
#include "jemalloc/internal/jemalloc_internal.h"
/******************************************************************************/
/* Function prototypes for non-inline static functions. */
static size_t bits2groups(size_t nbits);
/***********************************************************... | bsd-3-clause |
orumin/openbsd-efivars | arch/sparc64/dev/pcf8591_ofw.c | 1 | 5891 | /* $OpenBSD: pcf8591_ofw.c,v 1.5 2007/10/22 20:53:10 cnst Exp $ */
/*
* Copyright (c) 2006 Damien Miller <djm@openbsd.org>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notic... | isc |
orumin/openbsd-efivars | dev/microcode/udl/build.c | 1 | 1513 | /* $OpenBSD: build.c,v 1.6 2009/11/10 23:55:12 mpf Exp $ */
/*
* Copyright (c) 2009 Marcus Glocker <mglocker@openbsd.org>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice... | isc |
TigerBSD/TigerBSD | FreeBSD/contrib/llvm/lib/Target/AMDGPU/AMDGPUOpenCLImageTypeLoweringPass.cpp | 4 | 11567 | //===-- AMDGPUOpenCLImageTypeLoweringPass.cpp -----------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | isc |
Meizirkki/markka | src/qt/transactiontablemodel.cpp | 1280 | 20548 | #include "transactiontablemodel.h"
#include "guiutil.h"
#include "transactionrecord.h"
#include "guiconstants.h"
#include "transactiondesc.h"
#include "walletmodel.h"
#include "optionsmodel.h"
#include "addresstablemodel.h"
#include "bitcoinunits.h"
#include "wallet.h"
#include "ui_interface.h"
#include <QList>
#inc... | mit |
KMU-embedded/mosbench-ext | postgres/postgresql-8.3.9/src/backend/optimizer/geqo/geqo_ox2.c | 1 | 2791 | /*------------------------------------------------------------------------
*
* geqo_ox2.c
*
* order crossover [OX] routines;
* OX2 operator according to Syswerda
* (The Genetic Algorithms Handbook, ed L Davis)
*
* $PostgreSQL: pgsql/src/backend/optimizer/geqo/geqo_ox2.c,v 1.10 2004/10/07 15:21:52 momjian Exp $
*
*--... | mit |
vitorfhc/ZebraEngine | src/Engine/Scene.cpp | 1 | 1586 | #include "Engine/Scene.h"
#include "Log/log.h"
Scene::Scene() {}
Scene::~Scene() {}
void Scene::Start() {
for (auto obj : m_gameObjects)
obj->Start();
}
void Scene::Update() {
std::sort(m_gameObjects.begin(), m_gameObjects.end(), CompareGameObjects);
for (auto it : m_gameObjects)
if (it->active)
... | mit |
Nathan22Miles/sile-0.9.1 | libtexpdf/tt_cmap.c | 1 | 48268 | /* This is dvipdfmx, an eXtended version of dvipdfm by Mark A. Wicks.
Copyright (C) 2007-2014 by Jin-Hwan Cho and Shunsaku Hirata,
the dvipdfmx project team.
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 |
Kevin-De-Koninck/TerraPi | Webserver/exec/RGB_realtime/rgb_realtime.cpp | 1 | 1597 | //to compile:
// g++ -o /usr/share/nginx/exec/RGB_realtime/rgb_realtime /usr/share/nginx/exec/RGB_realtime/rgb_realtime.cpp /usr/share/nginx/exec/RGB_realtime/spi.cpp /usr/share/nginx/exec/RGB_realtime/rgb.cpp -lbcm2835 && chmod +x /usr/share/nginx/exec/RGB_realtime/rgb_realtime
//to run:
// sudo /usr/share/nginx/... | mit |
shooshx/TsumTsumBlast | emscripten/unity.cpp | 1 | 3288 | #include "../Box2D-master/Box2D/Box2D/Collision/Shapes/b2ChainShape.cpp"
#include "../Box2D-master/Box2D/Box2D/Collision/Shapes/b2CircleShape.cpp"
#include "../Box2D-master/Box2D/Box2D/Collision/Shapes/b2EdgeShape.cpp"
#include "../Box2D-master/Box2D/Box2D/Collision/Shapes/b2PolygonShape.cpp"
#include "../Box2D-mas... | mit |
maurer/tiamat | samples/Juliet/testcases/CWE190_Integer_Overflow/s03/CWE190_Integer_Overflow__int_listen_socket_square_17.c | 1 | 8493 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE190_Integer_Overflow__int_listen_socket_square_17.c
Label Definition File: CWE190_Integer_Overflow__int.label.xml
Template File: sources-sinks-17.tmpl.c
*/
/*
* @description
* CWE: 190 Integer Overflow
* BadSource: listen_socket Read data using a listen socket... | mit |
nmote/flow | src/services/saved_state/compression/saved_state_compression_stubs.c | 1 | 2834 | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <string.h>
#define CAML_NAME_SPACE
#include <caml/mlvalues.h>
#include <caml/callback.h>
#include <caml/memory.h>
#includ... | mit |
swansoncoin/swansoncoin | src/qt/bitcoinunits.cpp | 1 | 4293 | #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 |
jbatonnet/system | Source/[Libraries]/Mono/mono/metadata/sgen-os-win32.c | 1 | 3525 | #include "config.h"
#if defined(HAVE_SGEN_GC) && defined(HOST_WIN32)
#include "io-layer/io-layer.h"
#include "metadata/sgen-gc.h"
#include "metadata/gc-internal.h"
gboolean
sgen_resume_thread (SgenThreadInfo *info)
{
DWORD id = mono_thread_info_get_tid (info);
HANDLE handle = OpenThread (THREAD_ALL_ACCESS, FALSE,... | mit |
ossimlabs/ossim | src/imaging/ossimAtbMatchPoint.cpp | 1 | 5047 | //*******************************************************************
//
// License: See top level LICENSE.txt file.
//
// AUTHOR: Oscar Kramer (okramer@imagelinks.com)
//
// DESCRIPTION: Contains implementation of class
//
// LIMITATIONS: None.
//
//******************************************************************... | mit |
robotics-at-maryland/qubo | embedded/drivers/sensorlib/tmp006.c | 1 | 19614 | //*****************************************************************************
//
// tmp006.c - Driver for the TI TMP006 Temperature Sensor
//
// Copyright (c) 2013-2016 Texas Instruments Incorporated. All rights reserved.
// Software License Agreement
//
// Texas Instruments (TI) is supplying this software for use ... | mit |
vovkos/jancy | src/jnc_ext/jnc_io_cmn/jnc_io_SslSocketBase.cpp | 1 | 3614 | //..............................................................................
//
// This file is part of the Jancy toolkit.
//
// Jancy is distributed under the MIT license.
// For details see accompanying license.txt file,
// the public copy of which is also available at:
// http://tibbo.com/downloads/archive/... | mit |
draede/cx | Src/Log/Platform/iOS/SystemOutput.cpp | 1 | 2098 | /*
* CX - C++ framework for general purpose development
*
* https://github.com/draede/cx
*
* Copyright (C) 2014 - 2022 draede
*
* Released under the MIT License.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Soft... | mit |
millken/ddd | config.c | 1 | 3635 | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <signal.h>
#include <fcntl.h>
#include "config.h"
extern struct Configuration *config;
void daemonize_init()
{
int i;
if(getppid()==1) // parent pid ==1, the init process
return; /* already a daemon */
i=fork();
if (i<0)
... | mit |
Feacur/CustomEngineStudy | custom_engine/src/engine/internal/lua_integration/input.cpp | 1 | 3495 | #include "custom_pch.h"
#include "engine/core/code.h"
#include "engine/core/types.h"
#include "engine/debug/log.h"
#include "engine/api/lua.h"
#include "engine/api/internal/application.h"
#include <lua.hpp>
static int Input_get_key(lua_State * L) {
CUSTOM_LUA_ASSERT(lua_gettop(L) == 1, "expected 1 argument");
LUA_... | mit |
mintcoin/mintcoin | src/test/DoS_tests.cpp | 2 | 10613 | //
// Unit tests for denial-of-service detection/prevention code
//
#include <algorithm>
#include <boost/assign/list_of.hpp> // for 'map_list_of()'
#include <boost/date_time/posix_time/posix_time_types.hpp>
#include <boost/test/unit_test.hpp>
#include <boost/foreach.hpp>
#include "main.h"
#include "wallet.h"
#include... | mit |
Celtoys/clReflect | src/clReflectTest/TestFunctionSerialise.cpp | 2 | 6153 |
//
// ===============================================================================
// clReflect
// -------------------------------------------------------------------------------
// Copyright (c) 2011-2012 Don Williamson & clReflect Authors (see AUTHORS file)
// Released under MIT License (see LICENSE file)
... | mit |
kz04px/Baislicka-2.0 | src/eval/king_safety.c | 2 | 2145 | #include "king_safety.h"
#include <assert.h>
#include "../chess/bitboards.h"
const int king_safety_table[100] = {
0, 0, 1, 2, 3, 5, 7, 9, 12, 15,
18, 22, 26, 30, 35, 39, 44, 50, 56, 62,
68, 75, 82, 85, 89, 97, 105, 113, 122, 131,
140, 150, 169, 180, 191, 202, 213, 225, 237, 248,
... | mit |
MrMaidx/godot | scene/resources/mesh.cpp | 3 | 29455 | /*************************************************************************/
/* mesh.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... | mit |
dude719/Reclass-2015 | ReClass/Utils.cpp | 3 | 12245 | #include "stdafx.h"
#include "Utils.h"
namespace Utils {
PVOID GetLocalModuleBaseW( LPCWSTR ModuleName )
{
PVOID ModuleBase = 0;
#if defined(_WIN64)
TEB* teb = (TEB*)ReadGS( FIELD_OFFSET( NT_TIB, Self ) );
#else
TEB* teb = (TEB*)ReadFS( PcTeb );
#endif
PVOID peb = (PVOID)teb->ProcessEnvir... | mit |
UdjinM6/dash | src/bench/bls_dkg.cpp | 3 | 6289 | // Copyright (c) 2018-2022 The Dash Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <bench/bench.h>
#include <bls/bls_worker.h>
#include <random.h>
#include <util/irange.h>
struct Member {
CBLSId id... | mit |
blyk/BlackCode-Fuse | AddfromApp/.build/Simulator/Android/jni/Fuse.Preview.g.cpp | 4 | 6180 | // This file was generated based on '(multiple files)'.
// WARNING: Changes might be lost if you edit this file directly.
#include <Fuse.Preview.ISelection.h>
#include <Fuse.Preview.SelectionManager.h>
#include <Uno.Bool.h>
#include <Uno.Delegate.h>
#include <Uno.EventArgs.h>
#include <Uno.EventHandler-1.h>
#include <... | mit |
abrahamneben/orbcomm_beam_mapping | power_data_to_sat_passes/Sat1/fftw-3.0.1/api/plan-guru-split-dft.c | 4 | 1478 | /*
* Copyright (c) 2003 Matteo Frigo
* Copyright (c) 2003 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 License, or
* (at... | mit |
al2950/mygui | MyGUIEngine/src/MyGUI_Gui.cpp | 5 | 10583 | /*
* This source file is part of MyGUI. For the latest info, see http://mygui.info/
* Distributed under the MIT License
* (See accompanying file COPYING.MIT or copy at http://opensource.org/licenses/MIT)
*/
#include "MyGUI_Precompiled.h"
#include "MyGUI_Gui.h"
#include "MyGUI_Widget.h"
#include "MyGUI_InputManage... | mit |
thaynewalker/hog2 | abstraction/MapSectorAbstraction.cpp | 6 | 6474 | /*
* $Id: MapSectorAbstraction.cpp,v 1.8 2006/10/18 23:53:25 nathanst Exp $
*
* MapSectorAbstraction.cpp
* hog
*
* Created by Nathan Sturtevant on 8/8/05.
* Copyright 2005 Nathan Sturtevant. All rights reserved.
*
* This file is part of HOG.
*
* HOG is free software; you can redistribute it and/or modify... | mit |
honnibal/cython-blis | blis/_src/haswell/src/1f/old/dotaxpyv/bli_dotaxpyv.c | 7 | 5701 | /*
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 |
usernameHed/Worms | library/Irrlicht/source/Irrlicht/CD3D8ShaderMaterialRenderer.cpp | 7 | 8482 | // Copyright (C) 2002-2012 Nikolaus Gebhardt
// This file is part of the "Irrlicht Engine".
// For conditions of distribution and use, see copyright notice in irrlicht.h
#include "CD3D8ShaderMaterialRenderer.h"
#include "IrrCompileConfig.h"
#ifdef _IRR_COMPILE_WITH_DIRECT3D_8_
#include <d3d8.h>
#include <d3d... | mit |
romdi/IOS | vgui2/vgui_controls/ProgressBar.cpp | 7 | 11998 | //========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================//
#include <assert.h>
#include <math.h>
#include <stdio.h>
#include <vgui_controls/ProgressBar.h>
#include <vgu... | mit |
largerussiangames/ogre | OgreMain/src/OgreManualObject.cpp | 7 | 39681 | /*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org/
Copyright (c) 2000-2012 Torus Knot Software Ltd
Permission is hereby granted, free of charge, to any person ... | mit |
alesaccoia/asutilities | thirdparty/fdk-aac/libFDK/src/FDK_hybrid.cpp | 8 | 30872 |
/* -----------------------------------------------------------------------------------------------------------
Software License for The Fraunhofer FDK AAC Codec Library for Android
© Copyright 1995 - 2013 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V.
All rights reserved.
1. INTRODUCTION... | mit |
tempbottle/aquila | examples/sfml/sfml_generator/sfml_generator.cpp | 8 | 2628 | #include "aquila/source/generator/SineGenerator.h"
#include "aquila/source/generator/SquareGenerator.h"
#include "aquila/source/generator/PinkNoiseGenerator.h"
#include "aquila/source/generator/WhiteNoiseGenerator.h"
#include "aquila/wrappers/SoundBufferAdapter.h"
#include <SFML/System.hpp>
#include <SFML/Audio.h... | mit |
helingping/Urho3D | Source/Urho3D/IO/VectorBuffer.cpp | 9 | 4356 | //
// Copyright (c) 2008-2017 the Urho3D project.
//
// 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, mod... | mit |
alexhenrie/poedit | deps/boost/libs/array/test/array_getfail2.cpp | 9 | 1587 | /* tests using std::get on boost:array
* (C) Copyright Marshall Clow 2012
* 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)
*/
#include <string>
#include <iostream>
#include <boost/array.hpp>
#include <algorithm... | mit |
BonexGu/Blik2D-SDK | Blik2D/addon/opencv-3.1.0_for_blik/modules/imgproc/test/test_connectedcomponents.cpp | 9 | 3988 | /*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, instal... | mit |
Franky666/programmiersprachen-raytracer | external/boost_1_59_0/libs/math/example/inverse_gaussian_example.cpp | 10 | 19970 | // wald_example.cpp or inverse_gaussian_example.cpp
// Copyright Paul A. Bristow 2010.
// 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)
// Example of using the Invers... | mit |
KingHual/SAMPSON | src/libjson/_internal/TestSuite2/NumberToString/_itoa.cpp | 11 | 5123 | #include "_itoa.h"
#include "../../Source/NumberToString.h"
/**
* Test converting a char value into a string
*/
void testNumberToString__itoa::testChar(void){
//GetScopeCoverage(_itoa, true);
assertEquals(sizeof(char), 1);
assertEquals(NumberToString::_itoa<char>((char)127), JSON_TEXT("127"));
assertEqual... | mit |
JinruiWang/srs | trunk/src/rtmp/srs_protocol_utility.cpp | 14 | 4271 | /*
The MIT License (MIT)
Copyright (c) 2013-2014 winlin
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, p... | mit |
Water-Leak-Detectors/XBEE-nodes | Drivers/CMSIS/DSP_Lib/Source/MatrixFunctions/arm_mat_add_q31.c | 279 | 6471 | /* ----------------------------------------------------------------------
* Copyright (C) 2010-2014 ARM Limited. All rights reserved.
*
* $Date: 19. March 2015
* $Revision: V.1.4.5
*
* Project: CMSIS DSP Library
* Title: arm_mat_add_q31.c
*
* Description: Q31 matrix addition... | mit |
yinchunlong/abelkhan-1 | ext/c++/thirdpart/c++/boost/libs/compute/test/extra/test_interop_vtk.cpp | 25 | 4010 | //---------------------------------------------------------------------------//
// Copyright (c) 2013-2014 Kyle Lutz <kyle.r.lutz@gmail.com>
//
// 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://boosto... | mit |
noahwilliamsson/micropython | py/emitcommon.c | 26 | 3245 | /*
* 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 |
dkorolev/coreclr | src/debug/di/shimprocess.cpp | 26 | 68821 | //
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
//*****************************************************************************
// File: ShimProcess.cpp
//
//
// The V3 ICD debugging APIs have a lower abstract... | mit |
PUCSIE-embedded-course/stm32f4-examples | firmware/freertos/create_task/lib/FreeRTOSV8.2.3/FreeRTOS/Demo/ARM7_STR75x_GCC/STLibrary/src/75x_can.c | 30 | 35747 | /******************** (C) COPYRIGHT 2006 STMicroelectronics ********************
* File Name : 75x_can.c
* Author : MCD Application Team
* Date First Issued : 03/10/2006
* Description : This file provides all the CAN software functions.
*************************************************... | mit |
junioraby/architec.awardspace.info | vlc-2.1.4/modules/codec/opus_header.c | 32 | 6914 | /* Copyright (C)2012 Xiph.Org Foundation
File: opus_header.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... | mit |
dreamsxin/godot | servers/physics_2d/broad_phase_2d_basic.cpp | 39 | 5713 | /*************************************************************************/
/* broad_phase_2d_basic.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... | mit |
Pollyskara/Ecoin | 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 |
FFMG/myoddweb.piger | myodd/boost/libs/type_erasure/test/test_add.cpp | 42 | 2890 | // Boost.TypeErasure library
//
// Copyright 2011 Steven Watanabe
//
// 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)
//
// $Id$
#include <boost/type_erasure/any.hpp>
#include <boost/type_erasure/tuple.hpp>
#inclu... | mit |
fstudio/Phoenix | test/Experimental/libcxx/test/std/numerics/rand/rand.adapt/rand.adapt.ibits/ctor_result_type.pass.cpp | 44 | 1427 | //===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------... | mit |
joliet0l/python-for-android | src/jni/freetype/src/gxvalid/gxvmorx2.c | 306 | 9921 | /***************************************************************************/
/* */
/* gxvmorx2.c */
/* */
/* Tr... | mit |
apanda/coreclr | src/pal/tests/palsuite/threading/WaitForMultipleObjectsEx/test2/test2.c | 55 | 5192 | //
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
/*=====================================================================
**
** Source: test2.c
**
** Purpose: Tests that a child thread in the middle of a
** ... | mit |
orthoxerox/coreclr | src/md/ceefilegen/blobfetcher.cpp | 57 | 13019 | //
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
//*****************************************************************************
// Implementation for CBlobFetcher
//
//
//
//***********************************... | mit |
ganeshran/coreclr | src/pal/tests/palsuite/c_runtime/fwprintf/test2/test2.c | 62 | 1439 | //
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
/*============================================================================
**
** Source: test2.c
**
** Purpose: Tests the string specifier (%s).
** ... | mit |
cs8425/nodemcu-firmware | app/lwip/core/dhcp.c | 63 | 65481 | /**
* @file
* Dynamic Host Configuration Protocol client
*
*/
/*
*
* Copyright (c) 2001-2004 Leon Woestenberg <leon.woestenberg@gmx.net>
* Copyright (c) 2001-2004 Axon Digital Design B.V., The Netherlands.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modificat... | mit |
heefan/Windows-universal-samples | Samples/Simple3DGameDX/cpp/Common/BasicReaderWriter.cpp | 321 | 4716 | //// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
//// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
//// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
//// PARTICULAR PURPOSE.
////
//// Copyright (c) Microsoft Corporation. All rights reserved
#include "pch.h... | mit |
kbeckmann/nodemcu-firmware | app/crypto/sha2.c | 66 | 28305 | /*
* FILE: sha2.c
* AUTHOR: Aaron D. Gifford - http://www.aarongifford.com/
*
* Copyright (c) 2000-2001, Aaron D. Gifford
* Copyright (c) 2015, DiUS Computing Pty Ltd (jmattsson@dius.com.au)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permi... | mit |
nawawi/poedit | deps/boost/libs/xpressive/perf/time_boost.cpp | 68 | 2645 | /*
*
* Copyright (c) 2002
* John Maddock
*
* 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 "./regex_comparison.hpp"
#include <boost/timer.hpp>
#include <boost/... | mit |
rcliftonharvey/dspfilters4juce | DSPFilters4JUCEDemo/JuceLibraryCode/modules/juce_graphics/image_formats/pnglib/pngrutil.c | 70 | 145164 |
/* pngrutil.c - utilities to read a PNG file
*
* Last changed in libpng 1.6.1 [March 28, 2013]
* Copyright (c) 1998-2013 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
*
* This code is released un... | mit |
qq2588258/floweers | libs/scripting/lua/luajit/LuaJIT-2.0.1/src/lj_clib.c | 72 | 10388 | /*
** FFI C library loader.
** Copyright (C) 2005-2013 Mike Pall. See Copyright Notice in luajit.h
*/
#include "lj_obj.h"
#if LJ_HASFFI
#include "lj_gc.h"
#include "lj_err.h"
#include "lj_tab.h"
#include "lj_str.h"
#include "lj_udata.h"
#include "lj_ctype.h"
#include "lj_cconv.h"
#include "lj_cdata.h"
#include "lj_c... | mit |
azizjonm/WinObjC | deps/3rdparty/angleproject/samples/gles2_book/Common/esTransform_winrt.cpp | 335 | 5863 | //
// Book: OpenGL(R) ES 2.0 Programming Guide
// Authors: Aaftab Munshi, Dan Ginsburg, Dave Shreiner
// ISBN-10: 0321502795
// ISBN-13: 9780321502797
// Publisher: Addison-Wesley Professional
// URLs: http://safari.informit.com/9780321563835
// http://www.opengles-book.com
//
// ESUtil.c
//... | mit |
lrmssc/dlwghyj | dianliwangguomanyouji/cocos2d/cocos/platform/android/jni/Java_org_cocos2dx_lib_Cocos2dxRenderer.cpp | 86 | 2238 | #include "base/CCIMEDispatcher.h"
#include "base/CCDirector.h"
#include "base/CCEventType.h"
#include "base/CCEventCustom.h"
#include "base/CCEventDispatcher.h"
#include "../CCApplication.h"
#include "platform/CCFileUtils.h"
#include "JniHelper.h"
#include <jni.h>
using namespace cocos2d;
extern "C" {
JNIEXPORT ... | mit |
AlexBream/Windows-universal-samples | Samples/Accelerometer/cpp/Scenario3_Polling.xaml.cpp | 90 | 5576 | //*********************************************************
//
// 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 PARTICU... | mit |
srodrig1/lk | lib/lwip/core/ipv4/ip_addr.c | 870 | 8617 | /**
* @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 |
Open-Source-Coins/tiger-1 | 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 |
bennedich/xgfx-examples | lib/glm-0.9.7.5/test/gtx/gtx_perpendicular.cpp | 112 | 1682 | ///////////////////////////////////////////////////////////////////////////////////
/// OpenGL Mathematics (glm.g-truc.net)
///
/// Copyright (c) 2005 - 2015 G-Truc Creation (www.g-truc.net)
/// Permission is hereby granted, free of charge, to any person obtaining a copy
/// of this software and associated documentatio... | mit |
DailyActie/Surrogate-Model | 01-codes/scipy-master/scipy/linalg/src/id_dist/src/idzr_aid.f | 128 | 4815 | c this file contains the following user-callable routines:
c
c
c routine idzr_aid computes the ID, to a specified rank,
c of an arbitrary matrix. This routine is randomized.
c
c routine idzr_aidi initializes routine idzr_aid.
c
c
cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc... | mit |
detule/lk-g2-spr | lib/openssl/crypto/evp/p5_crpt.c | 128 | 4837 | /* p5_crpt.c */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 1999.
*/
/* ====================================================================
* Copyright (c) 1999 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* ... | mit |
TheSooth/WinObjC | deps/3rdparty/icu/icu/source/samples/datefmt/answers/main_0.cpp | 388 | 1912 | /********************************************************************
* COPYRIGHT:
* Copyright (c) 1999-2003, International Business Machines Corporation and
* others. All Rights Reserved.
********************************************************************/
#include "unicode/unistr.h"
#include "unicode/calendar.h... | mit |
pedrohenriquerls/flappybird_cocos2d | cocos2d/tools/simulator/libsimulator/lib/platform/win32/PlayerTaskServiceWin.cpp | 133 | 8314 |
#include <sstream>
#include "stdafx.h"
#include "shellapi.h"
#include "PlayerTaskServiceWin.h"
static const int MAX_LOG_LENGTH = 16 * 1024;// from 2dx
PLAYER_NS_BEGIN
PlayerTaskWin *PlayerTaskWin::create(const std::string &name, const std::string &executePath, const std::string &commandLineArguments)
{
PlayerT... | mit |
shackra/godot | tools/freetype/freetype/src/truetype/ttsubpix.c | 134 | 33221 | /***************************************************************************/
/* */
/* ttsubpix.c */
/* */
/* Tr... | mit |
presstab/PIVX | src/test/compress_tests.cpp | 140 | 1888 | // Copyright (c) 2012-2013 The Bitcoin Core developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "compressor.h"
#include "util.h"
#include <stdint.h>
#include <boost/test/unit_test.hpp>
// amounts 0.0000000... | mit |
zhakui/WinObjC | deps/3rdparty/icu/icu/source/tools/gentest/genres32.c | 403 | 2568 | /*
*******************************************************************************
*
* Copyright (C) 2003-2006, International Business Machines
* Corporation and others. All Rights Reserved.
*
*******************************************************************************
* file name: genres32.c
* encoding: ... | mit |
yangshengchaoios/FootPrints | Footprints/O2O/External/Speex/Libs/libspeex/buffer.c | 155 | 4769 | /* Copyright (C) 2007 Jean-Marc Valin
File: buffer.c
This is a very simple ring buffer implementation. It is not thread-safe
so you need to do your own locking.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions ar... | mit |
NateBrune/bitcoin-nate | src/uint256.cpp | 158 | 3807 | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-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 "uint256.h"
#include "utilstrencodings.h"
#include <stdio.h>
#include ... | mit |
nuggetbram/shockwave | src/qt/transactionview.cpp | 931 | 15315 | #include "transactionview.h"
#include "transactionfilterproxy.h"
#include "transactionrecord.h"
#include "walletmodel.h"
#include "addresstablemodel.h"
#include "transactiontablemodel.h"
#include "bitcoinunits.h"
#include "csvmodelwriter.h"
#include "transactiondescdialog.h"
#include "editaddressdialog.h"
#include "op... | mit |
chernyog/WinObjC | deps/3rdparty/iculegacy/source/i18n/ucol_wgt.cpp | 165 | 19472 | /*
*******************************************************************************
*
* Copyright (C) 1999-2011, International Business Machines
* Corporation and others. All Rights Reserved.
*
*******************************************************************************
* file name: ucol_wgt.c
* encoding:... | mit |
KitoHo/WinObjC | deps/3rdparty/angleproject/src/compiler/InitializeGLPosition.cpp | 166 | 1854 | //
// Copyright (c) 2002-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.
//
#include "compiler/InitializeGLPosition.h"
#include "compiler/debug.h"
bool InitializeGLPosition::visitAggregate(Visit visit, TInterm... | mit |
wanderwaltz/WinObjC | deps/3rdparty/pixmanlegacy/pixman/pixman-conical-gradient.c | 167 | 5312 | /*
* Copyright © 2000 SuSE, Inc.
* Copyright © 2007 Red Hat, Inc.
* Copyright © 2000 Keith Packard, member of The XFree86 Project, Inc.
* 2005 Lars Knoll & Zack Rusin, Trolltech
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby g... | mit |
phr34k/serpent | thirdparty/openssl/crypto/md4/md4.c | 185 | 4373 | /* crypto/md4/md4.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-comm... | mit |
zhakui/WinObjC | deps/3rdparty/cairolegacy/src/cairo-atomic.c | 186 | 2953 | /* cairo - a vector graphics library with display and print output
*
* Copyright © 2007 Chris Wilson
*
* 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 Free Software Foundation
* (the "LGP... | mit |
idaisuke/scandium-cocos2dx | cocos2d/external/bullet/BulletCollision/CollisionDispatch/btEmptyCollisionAlgorithm.cpp | 457 | 1426 | /*
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 |
weiwei695/WinObjC | deps/3rdparty/angleproject/src/libGLESv2/Framebuffer.cpp | 207 | 18265 | #include "precompiled.h"
//
// Copyright (c) 2002-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.
//
// Framebuffer.cpp: Implements the gl::Framebuffer class. Implements GL framebuffer
// objects and related fu... | mit |
danwebdev/DARSE | node_modules/node-sass/src/libsass/functions.cpp | 209 | 55720 | #include "functions.hpp"
#include "ast.hpp"
#include "context.hpp"
#include "backtrace.hpp"
#include "parser.hpp"
#include "constants.hpp"
#include "to_string.hpp"
#include "inspect.hpp"
#include "eval.hpp"
#include "util.hpp"
#include "utf8_string.hpp"
#include "utf8.h"
#include <atomic>
#include <cstdlib>
#include <... | mit |
iCandyLabs/WinObjC | deps/3rdparty/icu/icu/source/common/unames.cpp | 218 | 66524 | /*
******************************************************************************
*
* Copyright (C) 1999-2014, International Business Machines
* Corporation and others. All Rights Reserved.
*
******************************************************************************
* file name: unames.c
* encoding: US-... | mit |
mvz/ffi | ext/ffi_c/ClosurePool.c | 232 | 7176 | /*
* Copyright (c) 2009, 2010 Wayne Meissner
* Copyright (c) 2008-2013, Ruby FFI project contributors
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code ... | mit |
easyeagel/core | zlib/contrib/infback9/infback9.c | 747 | 21629 | /* infback9.c -- inflate deflate64 data using a call-back interface
* Copyright (C) 1995-2008 Mark Adler
* For conditions of distribution and use, see copyright notice in zlib.h
*/
#include "zutil.h"
#include "infback9.h"
#include "inftree9.h"
#include "inflate9.h"
#define WSIZE 65536UL
/*
strm provides memory... | mit |
CedarLogic/WinObjC | deps/3rdparty/icu/icu/source/common/utf_impl.c | 240 | 10845 | /*
******************************************************************************
*
* Copyright (C) 1999-2012, International Business Machines
* Corporation and others. All Rights Reserved.
*
******************************************************************************
* file name: utf_impl.c
* encoding: U... | mit |
XDXX/Cpp-Primer | ch18/ex18.12.13.14.cpp | 23 | 1371 | /***************************************************************************
* @file main.cpp
* @author Queequeg
* @date 20 Nov 2014
* @remark This code is for the exercises from C++ Primer 5th Edition
* @note
***************************************************************************/
... | cc0-1.0 |
diegozain/diegozain.github.io | vendor/bundle/ruby/2.3.0/gems/ffi-1.9.14/ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_sshort.c | 805 | 1685 | /* Area: ffi_call, closure_call
Purpose: Check passing of multiple signed short values.
Limitations: none.
PR: PR13221.
Originator: <andreast@gcc.gnu.org> 20031129 */
/* { dg-do run } */
#include "ffitest.h"
signed short test_func_fn(signed short a1, signed short a2)
{
signed short result;
result =... | cc0-1.0 |
supriyasingh01/github_basics | Internetworking Distributed Project/Kernal/linux-3.6.3/drivers/usb/gadget/composite.c | 81 | 47287 | /*
* composite.c - infrastructure for Composite USB Gadgets
*
* Copyright (C) 2006-2008 David Brownell
*
* 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, o... | cc0-1.0 |
supriyasingh01/github_basics | Internetworking Distributed Project/Kernal/linux-3.6.3/lib/atomic64_test.c | 2903 | 3483 | /*
* Testsuite for atomic64_t functions
*
* Copyright © 2010 Luca Barbieri
*
* 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 l... | cc0-1.0 |
EPDCenterSpain/kernel-ylp | fs/sysfs/dir.c | 256 | 22770 | /*
* fs/sysfs/dir.c - sysfs core and dir operation implementation
*
* Copyright (c) 2001-3 Patrick Mochel
* Copyright (c) 2007 SUSE Linux Products GmbH
* Copyright (c) 2007 Tejun Heo <teheo@suse.de>
*
* This file is released under the GPLv2.
*
* Please see Documentation/filesystems/sysfs.txt for more informati... | gpl-2.0 |
damageless/linux-kernel-ican-tab | drivers/isdn/hardware/avm/b1isa.c | 768 | 6013 | /* $Id: b1isa.c,v 1.1.2.3 2004/02/10 01:07:12 keil Exp $
*
* Module for AVM B1 ISA-card.
*
* Copyright 1999 by Carsten Paeth <calle@calle.de>
*
* This software may be used and distributed according to the terms
* of the GNU General Public License, incorporated herein by reference.
*
*/
#include <linux/modu... | gpl-2.0 |
batman38102/android_kernel_samsung_mint | drivers/gpu/drm/nouveau/nv04_dac.c | 2048 | 17383 | /*
* Copyright 2003 NVIDIA, Corporation
* Copyright 2006 Dave Airlie
* Copyright 2007 Maarten Maathuis
* Copyright 2007-2009 Stuart Bennett
*
* 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 So... | gpl-2.0 |
CyanogenMod/android_kernel_sony_msm | drivers/staging/csr/wext_events.c | 2304 | 8634 | /*
* ---------------------------------------------------------------------------
* FILE: wext_events.c
*
* PURPOSE:
* Code to generate iwevents.
*
* Copyright (C) 2006-2008 by Cambridge Silicon Radio Ltd.
*
* Refer to LICENSE.txt included with this source code for details on
* the license terms.
*
... | gpl-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.