repo_name string | path string | copies string | size string | content string | license string |
|---|---|---|---|---|---|
Rosebotics/rosebot-arduino-library | libraries/RedBot2/RedBotSoftwareSerial.cpp | 3 | 23835 | /******************************************************************************
RedBotSoftwareSerial.cpp
This portion of the RedBot library inherits heavily from the SoftwareSerial
library distributed with Arduino; specifically, it started life as the
SoftwareSerial library from Arduino 1.0.5. The original license and ... | mit |
James534/Tempest | src/util/filter/BlurFilter.cpp | 3 | 2033 | #include "BlurFilter.h"
BlurFilter::BlurFilter(int mode, float intensity){
setMode(mode);
setIntensity(intensity);
}
int roundToOdd(float);
bool BlurFilter::filter(Data *data){
// check for whether the input is of the correct type.
ImgData* imgData = dynamic_cast<ImgData*>(data);
if (imgData == 0... | mit |
dscho/dovecot | src/master/service-log.c | 3 | 4565 | /* Copyright (c) 2005-2015 Dovecot authors, see the included COPYING file */
#include "common.h"
#include "array.h"
#include "aqueue.h"
#include "hash.h"
#include "ioloop.h"
#include "fd-close-on-exec.h"
#include "fd-set-nonblock.h"
#include "service.h"
#include "service-process.h"
#include "service-process-notify.h"
... | mit |
jejung/godot | editor/import/editor_import_collada.cpp | 3 | 61054 | /*************************************************************************/
/* editor_import_collada.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... | mit |
xsmart/opencvr | 3rdparty/civetweb/src/CivetServer.cpp | 4 | 15621 | /* Copyright (c) 2013-2017 the Civetweb developers
* Copyright (c) 2013 No Face Press, LLC
*
* License http://opensource.org/licenses/mit-license.php MIT License
*/
#include "CivetServer.h"
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <stdexcept>
#ifndef UNUSED_PARAMETER
#define UNUSED_PA... | mit |
vtsuperdarn/SuperDARN_MSI_ROS | linux/home/radar/ros.3.6/codebase/superdarn/src.lib/tk/cfit.1.19/src/cfitopen.c | 4 | 1759 | /* cfitopen.c
=========
Author: R.J.Barnes
*/
/*
LICENSE AND DISCLAIMER
Copyright (c) 2012 The Johns Hopkins University/Applied Physics Laboratory
This file is part of the Radar Software Toolkit (RST).
RST is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser Gen... | mit |
nickmain/racket-clips-ffi | visual-studio/libclips63b1/clips-src/conscomp.c | 5 | 55442 | /*******************************************************/
/* "C" Language Integrated Production System */
/* */
/* CLIPS Version 6.24 06/04/06 */
/* */
/* ... | mit |
ttair/TuxSinbad | PlugIns/ParticleFX/src/OgreParticleFXPlugin.cpp | 7 | 6272 | /*
-----------------------------------------------------------------------------
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 |
longmian/skynet | 3rd/lua/lfunc.c | 8 | 4047 | /*
** $Id: lfunc.c,v 2.45 2014/11/02 19:19:04 roberto Exp $
** Auxiliary functions to manipulate prototypes and closures
** See Copyright Notice in lua.h
*/
#define lfunc_c
#define LUA_CORE
#include "lprefix.h"
#include <stddef.h>
#include "lua.h"
#include "lfunc.h"
#include "lgc.h"
#include "lmem.h"
#include "lo... | mit |
ld-test/lrexlib-posix | src/gnu/lgnu.c | 8 | 10349 | /* lgnu.c - Lua binding of GNU regular expressions library */
/* See Copyright Notice in the file LICENSE */
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include "lua.h"
#include "lauxlib.h"
#include "../common.h"
#define _GNU_SOURCE
#ifndef __USE_GNU
# define __USE_GNU
#endif
#ifndef REX_GNU_INCLUDE
... | mit |
honnibal/cython-blis | blis/_src/bulldozer/src/1f/bli_l1f_oapi_wc.c | 8 | 1978 | /*
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 |
zathras/misc | scurses/win32/pdcurses_3_4/dos/pdcclip.c | 8 | 3734 | /* Public Domain Curses */
#include "pdcdos.h"
RCSID("$Id: pdcclip.c,v 1.33 2008/07/13 16:08:17 wmcbrine Exp $")
#include <stdlib.h>
/*man-start**************************************************************
Name: clipboard
Synopsis:
int PDC_getcl... | mit |
Paregov/hexadiv | edno/software/nuttx/arch/z80/src/common/up_mdelay.c | 10 | 3766 | /****************************************************************************
* common/up_mdelay.c
*
* Copyright (C) 2007, 2008 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 prov... | mit |
bkahlert/seqan-research | raw/workshop12/workshop2012-data-20120906/trunk/core/demos/template_subclassing.cpp | 10 | 2942 | /*==========================================================================
SeqAn - The Library for Sequence Analysis
http://www.seqan.de
===========================================================================
Copyright (C) 2007
This library is free software; you can redistribute it and/or
modify i... | mit |
vslavik/poedit | deps/boost/libs/move/test/algo_test.cpp | 10 | 27462 | //////////////////////////////////////////////////////////////////////////////
//
// (C) Copyright Ion Gaztanaga 2007-2017.
// 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/move... | mit |
nosolosoftware/rhodes | platform/shared/shttpd/src/io_emb.c | 12 | 7052 | /*
* Copyright (c) 2004-2005 Sergey Lyubka <valenok@gmail.com>
* All rights reserved
*
* "THE BEER-WARE LICENSE" (Revision 42):
* Sergey Lyubka wrote this file. As long as you retain this notice you
* can do whatever you want with this stuff. If we meet some day, and you think
* this stuff is worth it, you can ... | mit |
ymko13/GE1 | Dependancies/LibOVR/Src/Kernel/OVR_SysFile.cpp | 12 | 3760 | /**************************************************************************
Filename : OVR_SysFile.cpp
Content : File wrapper class implementation (Win32)
Created : April 5, 1999
Authors : Michael Antonov
Copyright : Copyright 2011 Oculus VR, Inc. All Rights reserved.
Use of this software... | mit |
julienmorasin/doctocare | node/node_modules/grpc/src/core/lib/iomgr/unix_sockets_posix_noop.c | 14 | 2454 | /*
*
* Copyright 2016, Google 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:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of condi... | mit |
ValtoGameEngines/Torque3D | Engine/lib/openal-soft/Alc/ambdec.c | 15 | 16571 |
#include "config.h"
#include "ambdec.h"
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include "compat.h"
static char *lstrip(char *line)
{
while(isspace(line[0]))
line++;
return line;
}
static char *rstrip(char *line)
{
size_t len = strlen(line);
while(len > 0 && isspace(line... | mit |
Faifly/FFRealmUtils | Example/Pods/Realm/Realm/ObjectStore/src/sync/sync_config.cpp | 16 | 1951 | ////////////////////////////////////////////////////////////////////////////
//
// Copyright 2017 Realm Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/li... | mit |
leyyin/university | computer-graphics/labs/lab3-glitter/Glitter/Vendor/bullet/test/OpenCL/KernelLaunch/main.cpp | 17 | 6130 | /*
Bullet Continuous Collision Detection and Physics Library
Copyright (c) 2011 Advanced Micro Devices, Inc. http://bulletphysics.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.
Permissio... | mit |
stephaneAG/PengPod700 | QtEsrc/backup_qt/qt-everywhere-opensource-src-4.8.5/src/gui/kernel/qdesktopwidget_x11.cpp | 19 | 11567 | /****************************************************************************
**
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the QtGui module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licensees ... | mit |
felixdae/z3 | src/ast/normal_forms/name_exprs.cpp | 20 | 4652 | /*++
Copyright (c) 2011 Microsoft Corporation
Module Name:
name_exprs.h
Abstract:
Goodies for naming nested expressions.
Author:
Leonardo (leonardo) 2011-10-06
Notes:
--*/
#include"name_exprs.h"
#include"rewriter_def.h"
#include"ast_smt2_pp.h"
class name_exprs_core : public name_exprs {
struct ... | mit |
firepick1/jansson | test/suites/api/test_unpack.c | 21 | 13799 | /*
* Copyright (c) 2009-2014 Petri Lehtinen <petri@digip.org>
* Copyright (c) 2010-2012 Graeme Smecher <graeme.smecher@mail.mcgill.ca>
*
* Jansson is free software; you can redistribute it and/or modify
* it under the terms of the MIT license. See LICENSE for details.
*/
#include <string.h>
#include <jansson.h>
... | mit |
mcanders/godot | thirdparty/thekla_atlas/nvmesh/param/ParameterizationQuality.cpp | 24 | 9248 | // Copyright NVIDIA Corporation 2008 -- Ignacio Castano <icastano@nvidia.com>
#include "nvmesh.h" // pch
#include "ParameterizationQuality.h"
#include "nvmesh/halfedge/Mesh.h"
#include "nvmesh/halfedge/Face.h"
#include "nvmesh/halfedge/Vertex.h"
#include "nvmesh/halfedge/Edge.h"
#include "nvmath/Vector.inl"
#inclu... | mit |
FFMG/myoddweb.piger | myodd/boost/libs/phoenix/test/scope/lambda_tests1b1t.cpp | 27 | 1998 | /*=============================================================================
Copyright (c) 2001-2007 Joel de Guzman
Copyright (c) 2014 John Fletcher
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 |
Mabukon/slimdx | source/direct3d10/EffectScalarVariable.cpp | 27 | 4562 | #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 |
javiddhankwala/samples | AllJoyn/Samples/OICAdapter/iotivity-1.0.0/service/resource-hosting/SampleApp/tizen/RHSampleApp/src/rhmain.cpp | 28 | 3207 | /******************************************************************
*
* Copyright 2015 Samsung Electronics 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
*
... | mit |
raymondxyy/libmfcc | libmfcc.c | 28 | 4705 | /*
* libmfcc.c - Code implementation for libMFCC
* Copyright (c) 2010 Jeremy Sawruk
*
* This code is released under the MIT License.
* For conditions of distribution and use, see the license in LICENSE
*/
#include <math.h>
#include "libmfcc.h"
/*
* Computes the specified (mth) MFCC
*
* spectr... | mit |
FFMG/myoddweb.piger | myodd/boost/libs/locale/test/test_posix_collate.cpp | 28 | 3300 | //
// Copyright (c) 2009-2011 Artyom Beilis (Tonkikh)
//
// 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)
//
#ifdef BOOST_LOCALE_NO_POSIX_BACKEND
#include <iostream>
int main()
{
std::cout << "POSIX Ba... | mit |
PaulGrey30/.-git-clone-https-github.com-ethereum-cpp-ethereum | libjsengine/JSV8Printer.cpp | 29 | 1596 | /*
This file is part of cpp-ethereum.
cpp-ethereum is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
cpp-ethereum is distributed in the... | mit |
weareu/lwip | src/lib/gif/egif_lib.c | 29 | 39171 | /******************************************************************************
egif_lib.c - GIF encoding
The functions here and in dgif_lib.c are partitioned carefully so that
if you only require one of read and write capability, only one of these
two modules will be linked. Preserve this property!
***************... | mit |
dxxb/micropython | stmhal/hal/l4/src/stm32l4xx_hal_pwr_ex.c | 34 | 39253 | /**
******************************************************************************
* @file stm32l4xx_hal_pwr_ex.c
* @author MCD Application Team
* @version V1.3.0
* @date 29-January-2016
* @brief Extended PWR HAL module driver.
* This file provides firmware functions to manage the follow... | mit |
insionng/WinObjC | deps/3rdparty/angleproject/samples/angle/Simple_Instancing/Simple_Instancing_winrt/CubeRenderer.cpp | 290 | 5883 | #include "pch.h"
#include "CubeRenderer.h"
using namespace DirectX;
using namespace Microsoft::WRL;
using namespace Windows::Foundation;
using namespace Windows::UI::Core;
CubeRenderer::CubeRenderer() :
m_loadingComplete(false),
m_indexCount(0)
{
}
void CubeRenderer::CreateDeviceResources()
{
Direct3DBase::Create... | mit |
zh423328/pbc | src/stringpool.c | 37 | 1359 | #include "alloc.h"
#include <stdlib.h>
#include <string.h>
#define PAGE_SIZE 256
struct _stringpool {
char * buffer;
size_t len;
struct _stringpool *next;
};
struct _stringpool *
_pbcS_new(void) {
struct _stringpool * ret = (struct _stringpool *)malloc(sizeof(struct _stringpool) + PAGE_SIZE);
ret->buffer = (c... | mit |
chaos7theory/coreclr | src/classlibnative/nls/nlsinfo.cpp | 38 | 116458 | //
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
////////////////////////////////////////////////////////////////////////////
//
// Class: NLSInfo
//
//
// Purpose: This module implements the methods of th... | mit |
lietu/godot | scene/gui/progress_bar.cpp | 39 | 3870 | /*************************************************************************/
/* progress_bar.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... | mit |
egoitzro/poedit | deps/gettext/gettext-tools/libgettextpo/itold.c | 41 | 1032 | /* Replacement for 'int' to 'long double' conversion routine.
Copyright (C) 2011-2015 Free Software Foundation, Inc.
Written by Bruno Haible <bruno@clisp.org>, 2011.
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 |
iotcafe/nodemcu-firmware | app/modules/adc.c | 43 | 1368 | // Module for interfacing with adc
//#include "lua.h"
#include "lualib.h"
#include "lauxlib.h"
#include "platform.h"
#include "auxmods.h"
#include "lrotable.h"
#include "c_types.h"
#include "user_interface.h"
// Lua: read(id) , return system adc
static int adc_sample( lua_State* L )
{
unsigned id = luaL_checkinteg... | mit |
MCGPPeters/coreclr | src/jit/scopeinfo.cpp | 48 | 38184 | //
// 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 |
jfhg/Nim | tinyc/win32/tools/tiny_libmaker.c | 48 | 8100 | /*
* This program is for making libtcc1.a without ar
* tiny_libmaker - tiny elf lib maker
* usage: tiny_libmaker [lib] files...
* Copyright (c) 2007 Timppa
*
* This program is free software but WITHOUT ANY WARRANTY
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifdef _WIN32
#include <io.h> /* fo... | mit |
stephaneAG/PengPod700 | QtEsrc/backup_qt/qt-everywhere-opensource-src-4.8.5/src/3rdparty/webkit/Source/WebCore/svg/graphics/SVGImage.cpp | 52 | 10481 | /*
* Copyright (C) 2006 Eric Seidel <eric@webkit.org>
* Copyright (C) 2008, 2009 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 t... | mit |
uphold/bitcoin | src/test/prevector_tests.cpp | 54 | 8322 | // 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 <vector>
#include "prevector.h"
#include "serialize.h"
#include "streams.h"
#include "test/test_bitcoin.h"
#includ... | mit |
Williamzhangtw/UM1722 | project/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c | 56 | 40576 | /**
******************************************************************************
* @file stm32f1xx_ll_fsmc.c
* @author MCD Application Team
* @version V1.0.4
* @date 29-April-2016
* @brief FSMC Low Layer HAL module driver.
*
* This file provides firmware functions to manage the follo... | mit |
tyds83/tyds83.github.io | app/redis-3.0.4/src/t_hash.c | 56 | 24195 | /*
* Copyright (c) 2009-2012, Salvatore Sanfilippo <antirez at gmail dot com>
* 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 co... | mit |
FFMG/myoddweb.piger | myodd/boost/libs/spirit/test/lex/lexertl1.cpp | 59 | 3924 | // Copyright (c) 2001-2011 Hartmut Kaiser
//
// 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 <boost/detail/lightweight_test.hpp>
#include <boost/spirit/include/lex_lexertl.hpp>
#include <boost/spirit/... | mit |
divyang4481/bclcontrib-scriptsharp | src.IDT4/IDT4.Core/Geometry/DrawVert.cpp | 59 | 1794 | /*
===========================================================================
Doom 3 GPL Source Code
Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company.
This file is part of the Doom 3 GPL Source Code (?Doom 3 Source Code?).
Doom 3 Source Code is free software: you can redistribute it and/or modify... | mit |
c72578/poedit | deps/boost/libs/icl/test/fastest_split_interval_set_/fastest_split_interval_set_shared.cpp | 60 | 2694 | /*-----------------------------------------------------------------------------+
Copyright (c) 2008-2009: Joachim Faulhaber
+------------------------------------------------------------------------------+
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENCE.txt or copy ... | mit |
richardlford/coreclr | src/pal/tests/palsuite/c_runtime/_wfopen/test4/test4.c | 62 | 2336 | //
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
/*=====================================================================
**
** Source: test4.c
**
** Purpose: Tests the PAL implementation of the _wfopen functio... | mit |
vslavik/poedit | deps/boost/libs/iostreams/test/copy_test.cpp | 64 | 5583 | // (C) Copyright 2008 CodeRage, LLC (turkanis at coderage dot com)
// (C) Copyright 2004-2007 Jonathan Turkanis
// 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 docume... | mit |
KristFoundation/Programs | luaide/drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf104.c | 840 | 3381 | /*
* Copyright 2013 Red Hat Inc.
*
* 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, d... | mit |
mqeizi/WinObjC | tools/vsimporter/src/windows/getopt.c | 585 | 15590 | /* $OpenBSD: getopt_long.c,v 1.23 2007/10/31 12:34:57 chl Exp $ */
/* $NetBSD: getopt_long.c,v 1.15 2002/01/31 22:43:40 tv Exp $ */
/*
* Copyright (c) 2002 Todd C. Miller <Todd.Miller@courtesan.com>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby gr... | mit |
SimonWallner/space-walk | tools/input-logger-cpp/external/sdl/src/joystick/windows/SDL_mmjoystick.c | 75 | 14333 | /*
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 |
Aleksey710/Test_STM32F407VET6 | CubeMX/Drivers/CMSIS/DSP_Lib/Source/ComplexMathFunctions/arm_cmplx_mult_real_f32.c | 79 | 7939 | /* ----------------------------------------------------------------------
* Copyright (C) 2010-2014 ARM Limited. All rights reserved.
*
* $Date: 19. March 2015
* $Revision: V.1.4.5
*
* Project: CMSIS DSP Library
* Title: arm_cmplx_mult_real_f32.c
*
* Description: Fl... | mit |
moonmoon1/PRC-v2 | src/qt/notificator.cpp | 344 | 9444 | #include "notificator.h"
#include <QMetaType>
#include <QVariant>
#include <QIcon>
#include <QApplication>
#include <QStyle>
#include <QByteArray>
#include <QSystemTrayIcon>
#include <QMessageBox>
#include <QTemporaryFile>
#include <QImageWriter>
#ifdef USE_DBUS
#include <QtDBus/QtDBus>
#include <stdint.h>
#endif
#i... | mit |
master-zhuang/talentcoin | src/qt/optionsmodel.cpp | 602 | 8903 | #include "optionsmodel.h"
#include "bitcoinunits.h"
#include <QSettings>
#include "init.h"
#include "walletdb.h"
#include "guiutil.h"
OptionsModel::OptionsModel(QObject *parent) :
QAbstractListModel(parent)
{
Init();
}
bool static ApplyProxySettings()
{
QSettings settings;
CService addrProxy(settings... | mit |
liangqian/ncepubbb | node_modules/connect-mongo/node_modules/mongodb/node_modules/kerberos/lib/kerberosgss.c | 1641 | 21033 | /**
* Copyright (c) 2006-2010 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 |
dbartolini/crown | 3rdparty/bgfx/3rdparty/glsl-optimizer/src/glsl/opt_structure_splitting.cpp | 116 | 10121 | /*
* Copyright © 2010 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, including without limitation
* the rights to use, copy, modify, merge, pub... | mit |
MTASZTAKI/ApertusVR | plugins/track/body/kinect/3rdParty/rapidjson/example/simplereader/simplereader.cpp | 119 | 1868 | #include "rapidjson/reader.h"
#include <iostream>
using namespace rapidjson;
using namespace std;
struct MyHandler {
bool Null() { cout << "Null()" << endl; return true; }
bool Bool(bool b) { cout << "Bool(" << boolalpha << b << ")" << endl; return true; }
bool Int(int i) { cout << "Int(" << i << ")" << e... | mit |
CooloiStudio/Cocos2d-x_DESEncryption | cocos2d/cocos/editor-support/cocostudio/CocoLoader.cpp | 123 | 5226 | #include "CocoLoader.h"
#include "zlib.h"
using namespace std;
using namespace rapidjson;
namespace cocostudio{
char cTypeName[] = {'N','F','T','O','A','S','V'};
const char* kTypeNames[] = { "Null", "False", "True", "Object", "Array", "String", "Number" };
const char* kObjKeyName[] = { "__type" , "classname" ... | mit |
quark0/TOP | tools/eigen/test/visitor.cpp | 127 | 3878 | // This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2008 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 obtai... | mit |
wjingzhe/ParkourJingz | cocos2d/extensions/assets-manager/CCEventAssetsManagerEx.cpp | 137 | 1962 | /****************************************************************************
Copyright (c) 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 S... | mit |
BogusCurry/godot | tools/freetype/freetype/src/base/ftoutln.c | 145 | 28365 | /***************************************************************************/
/* */
/* ftoutln.c */
/* */
/* Fr... | mit |
KristFoundation/Programs | luaide/drivers/media/tuners/tda8290.c | 1175 | 25034 | /*
i2c tv tuner chip device driver
controls the philips tda8290+75 tuner chip combo.
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 op... | mit |
KristFoundation/Programs | luaide/drivers/acpi/blacklist.c | 419 | 9563 | /*
* blacklist.c
*
* Check to see if the given machine has a known bad ACPI BIOS
* or if the BIOS is too old.
* Check given machine against acpi_osi_dmi_table[].
*
* Copyright (C) 2004 Len Brown <len.brown@intel.com>
* Copyright (C) 2002 Andy Grover <andrew.grover@intel.com>
*
* ~~~~~~~~~~~~~~~~~~~~~~~~... | mit |
chernyog/WinObjC | deps/3rdparty/icu/icu/source/common/ucnv2022.cpp | 166 | 157386 | /*
**********************************************************************
* Copyright (C) 2000-2015, International Business Machines
* Corporation and others. All Rights Reserved.
**********************************************************************
* file name: ucnv2022.cpp
* encoding: US-ASCII
* tab si... | mit |
johndpope/WinObjC | deps/3rdparty/icu/icu/source/test/intltest/numrgts.cpp | 166 | 105162 | /***********************************************************************
* Copyright (c) 1997-2014, International Business Machines Corporation
* and others. All Rights Reserved.
***********************************************************************/
#include "unicode/utypes.h"
#if !UCONFIG_NO_FORMATTING
#inclu... | mit |
jimmy54/WinObjC | deps/3rdparty/iculegacy/source/common/umapfile.c | 182 | 16027 | /*
******************************************************************************
*
* Copyright (C) 1999-2010, International Business Machines
* Corporation and others. All Rights Reserved.
*
******************************************************************************/
/*---------------------------------------... | mit |
LedgerHQ/lib-ledger-core | core/lib/openssl/crypto/engine/eng_init.c | 185 | 5529 | /* crypto/engine/eng_init.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 |
SyllaJay/WinObjC | deps/3rdparty/icu/icu/source/test/perf/utrie2perf/utrie2perf.cpp | 196 | 8590 | /*
**********************************************************************
* Copyright (C) 2002-2014, International Business Machines
* Corporation and others. All Rights Reserved.
**********************************************************************
* file name: utrie2perf.cpp
* encoding: US-ASCII
*... | mit |
OrazioLentini/WinObjC | deps/3rdparty/icu/icu/source/i18n/collationdata.cpp | 198 | 13313 | /*
*******************************************************************************
* Copyright (C) 2012-2015, International Business Machines
* Corporation and others. All Rights Reserved.
*******************************************************************************
* collationdata.cpp
*
* created on: 2012jul28
* cr... | mit |
t2m-foxfone/kernel_lk | lib/openssl/crypto/ocsp/ocsp_ext.c | 715 | 16220 | /* ocsp_ext.c */
/* Written by Tom Titchener <Tom_Titchener@groove.net> for the OpenSSL
* project. */
/* History:
This file was transfered to Richard Levitte from CertCo by Kathy
Weinhold in mid-spring 2000 to be included in OpenSSL or released
as a patch kit. */
/* =========================================... | mit |
s5msft/WinObjC | deps/3rdparty/icu/icu/source/tools/genccode/genccode.c | 207 | 6640 | /*
*******************************************************************************
* Copyright (C) 1999-2013, International Business Machines
* Corporation and others. All Rights Reserved.
*******************************************************************************
* file name: gennames.c
* encoding:... | mit |
Ashstreet/BugScoreKeeper | node_modules/gulp-sass/node_modules/node-sass/src/libsass/inspect.cpp | 209 | 25453 | #include <cmath>
#include <string>
#include <iostream>
#include <iomanip>
#include <stdint.h>
#include <stdint.h>
#include "ast.hpp"
#include "inspect.hpp"
#include "context.hpp"
#include "utf8/checked.h"
namespace Sass {
using namespace std;
Inspect::Inspect(Emitter emi)
: Emitter(emi)
{ }
Inspect::~Inspe... | mit |
shobhitmittal/cdnjs | node_modules/execSync/node_modules/ffi/deps/libffi/testsuite/libffi.call/cls_20byte1.c | 469 | 2541 | /* Area: ffi_call, closure_call
Purpose: Check structure passing with different structure size.
Depending on the ABI. Check overlapping.
Limitations: none.
PR: none.
Originator: <andreast@gcc.gnu.org> 20030828 */
/* { dg-do run } */
#include "ffitest.h"
typedef struct cls_struct_20byte {
int a;
... | mit |
bSr43/WinObjC | deps/3rdparty/icu/icu/source/tools/toolutil/uparse.c | 220 | 10176 | /*
*******************************************************************************
*
* Copyright (C) 2000-2012, International Business Machines
* Corporation and others. All Rights Reserved.
*
*******************************************************************************
* file name: uparse.c
* encoding: U... | mit |
chcbaram/arduino_1.5_win | hardware/arduino/sam/system/CMSIS/CMSIS/DSP_Lib/Source/MatrixFunctions/arm_mat_scale_q15.c | 225 | 4688 | /* ----------------------------------------------------------------------
* Copyright (C) 2010 ARM Limited. All rights reserved.
*
* $Date: 15. July 2011
* $Revision: V1.0.10
*
* Project: CMSIS DSP Library
* Title: arm_mat_scale_q15.c
*
* Description: Multiplies a Q15 matrix by... | mit |
publicloudapp/csrutil | linux-4.3/arch/sh/kernel/cpu/sh4a/clock-sh7780.c | 9195 | 2852 | /*
* arch/sh/kernel/cpu/sh4a/clock-sh7780.c
*
* SH7780 support for the clock framework
*
* Copyright (C) 2005 Paul Mundt
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*/
#include <li... | mit |
yonglehou/WinObjC | deps/3rdparty/icu/icu/source/i18n/titletrn.cpp | 240 | 5355 | /*
**********************************************************************
* Copyright (C) 2001-2011, International Business Machines
* Corporation and others. All Rights Reserved.
**********************************************************************
* Date Name Description
* 05/24/01 aliu ... | mit |
machine-learning-projects/irl-patrolling | irl_toolkit/Utilities/cvx/sedumi/whichcpx.c | 6 | 9798 | /*
% cpx = whichcpx(K)
% WHICHCPX yields structure cpx.{f,q,r,x}
%
% SEE ALSO sedumi
% ******************** INTERNAL FUNCTION OF SEDUMI ********************
% This file is part of SeDuMi 1.1 by Imre Polik and Oleksandr Romanko
% Copyright (C) 2005 McMaster Un... | cc0-1.0 |
supriyasingh01/github_basics | Internetworking Distributed Project/Kernal/linux-3.6.3/arch/x86/kernel/cpu/mtrr/amd.c | 13637 | 3149 | #include <linux/init.h>
#include <linux/mm.h>
#include <asm/mtrr.h>
#include <asm/msr.h>
#include "mtrr.h"
static void
amd_get_mtrr(unsigned int reg, unsigned long *base,
unsigned long *size, mtrr_type *type)
{
unsigned long low, high;
rdmsr(MSR_K6_UWCCR, low, high);
/* Upper dword is region 1, lower is reg... | cc0-1.0 |
ymai/kura | target-platform/com.codeminders.hidapi-parent/com.codeminders.hidapi/src/linux/hid.c | 17 | 19295 | /*******************************************************
HIDAPI - Multi-Platform library for
communication with HID devices.
Alan Ott
Signal 11 Software
8/22/2009
Linux Version - 6/2/2009
Copyright 2009, All Rights Reserved.
At the discretion of the user of this library,
this software may be licensed unde... | epl-1.0 |
mathias/mnemata | node_modules/node-sass/libsass/src/file.cpp | 48 | 1961 | #include <iostream>
#include <fstream>
#include "file.hpp"
#include "context.hpp"
namespace Sass {
namespace File {
using namespace std;
string base_name(string path)
{
size_t pos = path.find_last_of('/');
if (pos == string::npos) return path;
else return path.substr(pos+1);
}
... | epl-1.0 |
karandpr/Doppler3ICS | arch/sh/oprofile/common.c | 512 | 3429 | /*
* arch/sh/oprofile/init.c
*
* Copyright (C) 2003 - 2008 Paul Mundt
*
* Based on arch/mips/oprofile/common.c:
*
* Copyright (C) 2004, 2005 Ralf Baechle
* Copyright (C) 2005 MIPS Technologies, Inc.
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPY... | gpl-2.0 |
tiny4579/gingertiny-v2 | arch/microblaze/kernel/irq.c | 768 | 2594 | /*
* Copyright (C) 2007-2009 Michal Simek <monstr@monstr.eu>
* Copyright (C) 2007-2009 PetaLogix
* Copyright (C) 2006 Atmark Techno, Inc.
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*/
... | gpl-2.0 |
Android4SAM/linux-at91 | kernel/time/jiffies.c | 768 | 3858 | /***********************************************************************
* linux/kernel/time/jiffies.c
*
* This file contains the jiffies based clocksource.
*
* Copyright (C) 2004, 2005 IBM, John Stultz (johnstul@us.ibm.com)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms o... | gpl-2.0 |
boa19861105/LeeDrOiD-Hima-M9 | drivers/net/danipc/ipc_cfg.c | 768 | 6153 | /*
All files except if stated otherwise in the begining of the file
are under the ISC license:
----------------------------------------------------------------------
Copyright (c) 2010-2012 Design Art Networks Ltd.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without ... | gpl-2.0 |
bigzz/linux-ext4 | drivers/rapidio/rio-driver.c | 1536 | 6756 | /*
* RapidIO driver support
*
* Copyright 2005 MontaVista Software, Inc.
* Matt Porter <mporter@kernel.crashing.org>
*
* 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... | gpl-2.0 |
aloksinha2001/Linux3188 | net/sctp/output.c | 1536 | 22712 | /* SCTP kernel implementation
* (C) Copyright IBM Corp. 2001, 2004
* Copyright (c) 1999-2000 Cisco, Inc.
* Copyright (c) 1999-2001 Motorola, Inc.
*
* This file is part of the SCTP kernel implementation
*
* These functions handle output processing.
*
* This SCTP implementation is free software;
* you can redis... | gpl-2.0 |
balister/linux-omap-philip | 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 |
SM-G920P/SM-N920 | drivers/scsi/qla2xxx/qla_mbx.c | 2048 | 127683 | /*
* QLogic Fibre Channel HBA Driver
* Copyright (c) 2003-2013 QLogic Corporation
*
* See LICENSE.qla2xxx for copyright and licensing details.
*/
#include "qla_def.h"
#include "qla_target.h"
#include <linux/delay.h>
#include <linux/gfp.h>
/*
* qla2x00_mailbox_command
* Issue mailbox command and waits for com... | gpl-2.0 |
networkimprov/linux | 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 |
hzhuang1/linux | arch/mips/mm/gup.c | 3072 | 7647 | /*
* Lockless get_user_pages_fast for MIPS
*
* Copyright (C) 2008 Nick Piggin
* Copyright (C) 2008 Novell Inc.
* Copyright (C) 2011 Ralf Baechle
*/
#include <linux/sched.h>
#include <linux/mm.h>
#include <linux/vmstat.h>
#include <linux/highmem.h>
#include <linux/swap.h>
#include <linux/hugetlb.h>
#include <asm/... | gpl-2.0 |
SlimRoms/kernel_samsung_t1 | net/netfilter/nf_conntrack_proto.c | 3072 | 10005 | /* L3/L4 protocol support for nf_conntrack. */
/* (C) 1999-2001 Paul `Rusty' Russell
* (C) 2002-2006 Netfilter Core Team <coreteam@netfilter.org>
* (C) 2003,2004 USAGI/WIDE Project <http://www.linux-ipv6.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU ... | gpl-2.0 |
crazyleen/Linux-Crystal | net/netfilter/nf_conntrack_proto.c | 3072 | 10005 | /* L3/L4 protocol support for nf_conntrack. */
/* (C) 1999-2001 Paul `Rusty' Russell
* (C) 2002-2006 Netfilter Core Team <coreteam@netfilter.org>
* (C) 2003,2004 USAGI/WIDE Project <http://www.linux-ipv6.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU ... | gpl-2.0 |
JoshWu/linux-at91 | arch/um/drivers/harddog_user.c | 3584 | 2442 | /*
* Copyright (C) 2002 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
* Licensed under the GPL
*/
#include <stdio.h>
#include <unistd.h>
#include <errno.h>
#include <os.h>
struct dog_data {
int stdin;
int stdout;
int close_me[2];
};
static void pre_exec(void *d)
{
struct dog_data *data = d;
dup2(data->... | gpl-2.0 |
davidmueller13/custom_kernel_lt03lte_aosp_6.0 | drivers/bluetooth/btmrvl_debugfs.c | 4608 | 11670 | /**
* Marvell Bluetooth driver: debugfs related functions
*
* Copyright (C) 2009, Marvell International Ltd.
*
* This software file (the "File") is distributed by Marvell International
* Ltd. under the terms of the GNU General Public License Version 2, June 1991
* (the "License"). You may use, redistribute and/... | gpl-2.0 |
GuneetAtwal/kernel_g900p | drivers/bluetooth/btmrvl_debugfs.c | 4608 | 11670 | /**
* Marvell Bluetooth driver: debugfs related functions
*
* Copyright (C) 2009, Marvell International Ltd.
*
* This software file (the "File") is distributed by Marvell International
* Ltd. under the terms of the GNU General Public License Version 2, June 1991
* (the "License"). You may use, redistribute and/... | gpl-2.0 |
AndroPlus-org/sony_sources-H2_2014 | sound/soc/codecs/cs42l51.c | 4864 | 18117 | /*
* cs42l51.c
*
* ASoC Driver for Cirrus Logic CS42L51 codecs
*
* Copyright (c) 2010 Arnaud Patard <apatard@mandriva.com>
*
* Based on cs4270.c - Copyright (c) Freescale Semiconductor
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public Licen... | gpl-2.0 |
nyterage/Galaxy_Tab_3_217s | arch/arm/plat-s3c24xx/s3c2412-iotiming.c | 5120 | 7783 | /* linux/arch/arm/plat-s3c24xx/s3c2412-iotiming.c
*
* Copyright (c) 2006-2008 Simtec Electronics
* http://armlinux.simtec.co.uk/
* Ben Dooks <ben@simtec.co.uk>
*
* S3C2412/S3C2443 (PL093 based) IO timing support
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of th... | gpl-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.