repo_name string | path string | copies string | size string | content string | license string |
|---|---|---|---|---|---|
JeffProgrammer/D3D11Test | thirdparty/SDL2/src/libm/k_sin.c | 306 | 2815 | /* @(#)k_sin.c 5.1 93/09/24 */
/*
* ====================================================
* Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
*
* Developed at SunPro, a Sun Microsystems, Inc. business.
* Permission to use, copy, modify, and distribute this
* software is freely granted, provided tha... | bsd-3-clause |
thomaslee/hiredis | examples/example.c | 56 | 2236 | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <hiredis.h>
int main(int argc, char **argv) {
unsigned int j;
redisContext *c;
redisReply *reply;
const char *hostname = (argc > 1) ? argv[1] : "127.0.0.1";
int port = (argc > 2) ? atoi(argv[2]) : 6379;
struct timeval timeout... | bsd-3-clause |
ninjin/torch7 | generic/Storage.c | 58 | 7980 | #ifndef TH_GENERIC_FILE
#define TH_GENERIC_FILE "generic/Storage.c"
#else
static int torch_Storage_(new)(lua_State *L)
{
int index = 1;
THStorage *storage;
THAllocator *allocator = luaT_toudata(L, index, "torch.Allocator");
if (allocator) index++;
if(lua_type(L, index) == LUA_TSTRING)
{
if (allocator)... | bsd-3-clause |
RufaelDev/pcc-mp3dg | test/geometry/test_triangle_mesh.cpp | 59 | 22392 | /*
* Software License Agreement (BSD License)
*
* Point Cloud Library (PCL) - www.pointclouds.org
* Copyright (c) 2009-2012, Willow Garage, Inc.
* Copyright (c) 2012-, Open Perception, Inc.
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are perm... | bsd-3-clause |
srbhprajapati/pcl | apps/src/openni_ii_normal_estimation.cpp | 62 | 8740 | /*
* Software License Agreement (BSD License)
*
* Copyright (c) 2011, Willow Garage, 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 mu... | bsd-3-clause |
Evervolv/android_external_chromium_org | native_client_sdk/src/libraries/third_party/pthreads-win32/pthread.c | 337 | 2167 | /*
* pthread.c
*
* Description:
* This translation unit agregates pthreads-win32 translation units.
* It is used for inline optimisation of the library,
* maximising for speed at the expense of size.
*
* --------------------------------------------------------------------------
*
* Pthreads-win32 - POSIX... | bsd-3-clause |
cesarmarinhorj/phantomjs | src/qt/qtbase/src/plugins/sqldrivers/sqlite2/smain.cpp | 84 | 2299 | /****************************************************************************
**
** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the plugins of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** Licensees hol... | bsd-3-clause |
yoki/phantomjs | src/qt/qtbase/src/widgets/widgets/qfontcombobox.cpp | 84 | 17949 | /****************************************************************************
**
** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the QtWidgets module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** Lice... | bsd-3-clause |
StevenBlack/phantomjs | src/qt/qtbase/src/corelib/tools/qtimeline.cpp | 84 | 23777 | /****************************************************************************
**
** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the QtCore module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** License... | bsd-3-clause |
rishilification/phantomjs | src/qt/qtbase/src/network/access/qnetworkrequest.cpp | 84 | 34861 | /****************************************************************************
**
** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the QtNetwork module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** Lice... | bsd-3-clause |
zhulin2609/phantomjs | src/qt/qtbase/src/sql/kernel/qsqldatabase.cpp | 84 | 43150 | /****************************************************************************
**
** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the QtSql module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** Licensee... | bsd-3-clause |
ambrop72/badvpn-googlecode-export | ncd/modules/valuemetic.c | 360 | 6811 | /**
* @file valuemetic.c
* @author Ambroz Bizjak <ambrop7@gmail.com>
*
* @section LICENSE
*
* 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
* ... | bsd-3-clause |
fentas/phantomjs | src/qt/qtwebkit/Source/WebKit/efl/WebCoreSupport/FrameLoaderClientEfl.cpp | 113 | 32782 | /*
* Copyright (C) 2006 Zack Rusin <zack@kde.org>
* Copyright (C) 2006, 2011 Apple Inc. All rights reserved.
* Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies)
* Copyright (C) 2008 Collabora Ltd. All rights reserved.
* Copyright (C) 2008 Holger Hans Peter Freyther
* Copyright (C) 2008 Kenneth Rohd... | bsd-3-clause |
jjyycchh/phantomjs | src/qt/qtwebkit/Source/WebCore/bindings/js/ScriptProfiler.cpp | 113 | 3300 | /*
* Copyright (C) 2010 Apple Inc. All rights reserved.
* Copyright (C) 2010 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:
* 1. Redistributions of source code must retain the ... | bsd-3-clause |
aljscott/phantomjs | src/qt/qtwebkit/Source/WebCore/html/FTPDirectoryDocument.cpp | 113 | 15206 | /*
* Copyright (C) 2007, 2008 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 |
wuxianghou/phantomjs | src/qt/qtwebkit/Source/WebCore/svg/SVGTransform.cpp | 114 | 6294 | /*
* Copyright (C) 2004, 2005 Nikolas Zimmermann <zimmermann@kde.org>
* Copyright (C) 2004, 2005 Rob Buis <buis@kde.org>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
*... | bsd-3-clause |
aljscott/phantomjs | src/qt/qtwebkit/Source/WebCore/platform/win/SharedTimerWin.cpp | 115 | 7804 | /*
* Copyright (C) 2006 Apple Computer, 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 c... | bsd-3-clause |
pataquets/phantomjs | src/qt/qtwebkit/Source/JavaScriptCore/runtime/JSActivation.cpp | 115 | 10438 | /*
* 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 the above copyright
* notice, this list of c... | bsd-3-clause |
js0701/chromium-crosswalk | third_party/libjpeg/jdatadst.c | 1395 | 5119 | /*
* jdatadst.c
*
* Copyright (C) 1994-1996, 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 compression data destination routines for the case of
* emitting JPEG data to a file (or a... | bsd-3-clause |
grevutiu-gabriel/phantomjs | src/qt/qtwebkit/Source/WebCore/platform/network/cf/ResourceRequestCFNet.cpp | 116 | 16188 | /*
* Copyright (C) 2006, 2007, 2008 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... | bsd-3-clause |
youprofit/phantomjs | src/qt/qtwebkit/Source/WebCore/bindings/js/JSIDBDatabaseCustom.cpp | 117 | 2987 | /*
* Copyright (C) 2012 Michael Pruett <michael@68k.org>
*
* 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 conditio... | bsd-3-clause |
Medium/phantomjs-1 | src/qt/qtwebkit/Source/WebKit2/UIProcess/efl/WebUIPopupMenuClient.cpp | 117 | 2587 | /*
* Copyright (C) 2013 Samsung Electronics. 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 co... | bsd-3-clause |
Lkhagvadelger/phantomjs | src/qt/qtwebkit/Source/WebCore/dom/DocumentType.cpp | 119 | 2501 | /*
* Copyright (C) 1999 Lars Knoll (knoll@kde.org)
* (C) 1999 Antti Koivisto (koivisto@kde.org)
* (C) 2001 Dirk Mueller (mueller@kde.org)
* Copyright (C) 2004, 2005, 2006, 2008, 2009 Apple Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it ... | bsd-3-clause |
attilahorvath/phantomjs | src/qt/qtwebkit/Source/WebKit/blackberry/WebCoreSupport/AutofillManager.cpp | 119 | 2602 | /*
* Copyright (C) 2012 Research In Motion Limited. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any... | bsd-3-clause |
bmotlaghFLT/FLT_PhantomJS | src/qt/qtwebkit/Source/WebCore/html/HTMLTableSectionElement.cpp | 122 | 4320 | /*
* Copyright (C) 1997 Martin Jones (mjones@kde.org)
* (C) 1997 Torben Weis (weis@kde.org)
* (C) 1998 Waldo Bastian (bastian@kde.org)
* (C) 1999 Lars Knoll (knoll@kde.org)
* (C) 1999 Antti Koivisto (koivisto@kde.org)
* Copyright (C) 2003, 2004, 2005, 2006, 2010 Apple Inc. ... | bsd-3-clause |
fredrikw/scipy | scipy/optimize/minpack/r1mpyq.f | 125 | 2861 | subroutine r1mpyq(m,n,a,lda,v,w)
integer m,n,lda
double precision a(lda,n),v(n),w(n)
c **********
c
c subroutine r1mpyq
c
c given an m by n matrix a, this subroutine computes a*q where
c q is the product of 2*(n - 1) transformations
c
c gv(n-1)*...*gv(1)*gw(1)*...*gw(n-1)
c
c... | bsd-3-clause |
akiss77/skia | experimental/PdfViewer/pdfparser/native/pdfapi/SkPdfPopUpAnnotationDictionary_autogen.cpp | 127 | 2152 | /*
* Copyright 2013 Google Inc.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "SkPdfPopUpAnnotationDictionary_autogen.h"
#include "SkPdfNativeDoc.h"
SkString SkPdfPopUpAnnotationDictionary::Subtype(SkPdfNativeDoc* doc) {
SkPdfNativeObject* ret... | bsd-3-clause |
AlbandeCrevoisier/ldd-athens | linux-socfpga/drivers/clk/bcm/clk-cygnus.c | 383 | 10526 | /*
* Copyright (C) 2014 Broadcom Corporation
*
* 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 version 2.
*
* This program is distributed "as is" WITHOUT ANY WARRANTY of any
* kind, wheth... | bsd-3-clause |
SmoothKat/external_skia | src/utils/SkNinePatch.cpp | 132 | 11232 |
/*
* Copyright 2006 The Android Open Source Project
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "SkNinePatch.h"
#include "SkCanvas.h"
#include "SkShader.h"
static const uint16_t g3x3Indices[] = {
0, 5, 1, 0, 4, 5,
1, 6, 2, 1,... | bsd-3-clause |
iostrovok/js-bratok | node_modules/gulp-sass/node_modules/node-sass/src/libsass/context.cpp | 140 | 17879 | #ifdef _WIN32
#define PATH_SEP ';'
#else
#define PATH_SEP ':'
#endif
#ifndef SASS_AST
#include "ast.hpp"
#endif
#include "context.hpp"
#include "constants.hpp"
#include "parser.hpp"
#include "file.hpp"
#include "inspect.hpp"
#include "output_nested.hpp"
#include "output_compressed.hpp"
#include "expand.hpp"
#include ... | bsd-3-clause |
Tomtomgo/phantomjs | src/qt/qtwebkit/Source/WebCore/platform/graphics/gtk/GdkCairoUtilities.cpp | 142 | 1737 | /*
* Copyright (C) 2010 Igalia S.L.
*
* 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 conditions and the following dis... | bsd-3-clause |
MIPS/external-chromium_org-third_party-skia | tests/InfRectTest.cpp | 150 | 2470 | /*
* Copyright 2011 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "SkRandom.h"
#include "SkRect.h"
#include "Test.h"
static float make_zero() {
return sk_float_sin(0);
}
struct RectCenter {
SkIRect fRect;
SkIPoint fCe... | bsd-3-clause |
sriki18/scipy | scipy/special/cdflib/cumchi.f | 151 | 1463 | SUBROUTINE cumchi(x,df,cum,ccum)
C**********************************************************************
C
C SUBROUTINE FUNCTION CUMCHI(X,DF,CUM,CCUM)
C CUMulative of the CHi-square distribution
C
C
C Function
C
C
C Calculates the cumulative chi-square distribution... | bsd-3-clause |
pcarrier-packaging/deb-phantomjs | src/qt/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 |
dayuoba/redis | deps/lua/src/lua_cmsgpack.c | 204 | 30285 | #include <math.h>
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
#include <assert.h>
#include "lua.h"
#include "lauxlib.h"
#define LUACMSGPACK_NAME "cmsgpack"
#define LUACMSGPACK_SAFE_NAME "cmsgpack_safe"
#define LUACMSGPACK_VERSION "lua-cmsgpack 0.4.0"
#define LUACMSGPACK_COPYRIGHT "Copyr... | bsd-3-clause |
pythonvietnam/scikit-learn | sklearn/metrics/pairwise_fast.c | 252 | 927355 | /* Generated by Cython 0.20.1 on Mon Mar 10 14:28:31 2014 */
#define PY_SSIZE_T_CLEAN
#ifndef CYTHON_USE_PYLONG_INTERNALS
#ifdef PYLONG_BITS_IN_DIGIT
#define CYTHON_USE_PYLONG_INTERNALS 0
#else
#include "pyconfig.h"
#ifdef PYLONG_BITS_IN_DIGIT
#define CYTHON_USE_PYLONG_INTERNALS 1
#else
#define CYTHON_USE_PYLONG_INTER... | bsd-3-clause |
drobilla/serd | src/serdi.c | 1 | 10503 | // Copyright 2011-2022 David Robillard <d@drobilla.net>
// SPDX-License-Identifier: ISC
#include "serd_config.h"
#include "string_utils.h"
#include "serd/serd.h"
#ifdef _WIN32
# ifdef _MSC_VER
# define WIN32_LEAN_AND_MEAN 1
# endif
# include <fcntl.h>
# include <io.h>
#endif
#if USE_POSIX_FADVISE && USE_FILE... | isc |
eriknstr/ThinkPad-FreeBSD-setup | FreeBSD/contrib/tcsh/tc.bind.c | 8 | 12378 | /* $Header: /p/tcsh/cvsroot/tcsh/tc.bind.c,v 3.45 2009/06/25 21:15:37 christos Exp $ */
/*
* tc.bind.c: Key binding functions
*/
/*-
* Copyright (c) 1980, 1991 The Regents of the University of California.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification... | isc |
Tech-Curriculums/FPGA-101---Introduction-to-Verilog | digilent.adept.sdk_2.3.1/samples/depp/DeppDemo/DeppDemo.cpp | 1 | 12945 | /************************************************************************/
/* */
/* DeppDemo.cpp -- DEPP DEMO Main Program */
/* */
/************************************************************************/
/* Author: Aaron Odell */
/* Copyright: 2010 Digilent, I... | mit |
onepercent/op | deps/freetype-gl-read-only/text-buffer.c | 1 | 15793 | /* ============================================================================
* Freetype GL - A C OpenGL Freetype engine
* Platform: Any
* WWW: http://code.google.com/p/freetype-gl/
* ----------------------------------------------------------------------------
* Copyright 2011,2012 Nicolas P. Rougier.... | mit |
pokecoin/PokeCoin | src/addrman.cpp | 1 | 15730 | // Copyright (c) 2012 Pieter Wuille
// Copyright (c) 2013-2014 Pokécoin Developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "addrman.h"
#include "hash.h"
using namespace std;
int CAddrInfo::GetTriedBucket(c... | mit |
IECS/MansOS | mos/chips/ads1115/ads1115.c | 1 | 3098 | /*
* Copyright (c) 2008-2012 the MansOS team. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright notice,
* this list of con... | mit |
sinamoeini/mapp4py | src/ff_meam.cpp | 1 | 2511 | /*--------------------------------------------
Created by Sina on 07/15/13.
Copyright (c) 2013 MIT. All rights reserved.
--------------------------------------------*/
#include "ff_meam.h"
#include "neighbor_md.h"
#include "atoms_md.h"
#include "elements.h"
#include "memory.h"
#include "pgcmc.h"
#include "api.h"
usi... | mit |
buoncubi/document_class_hierarchy | src/PointerArray.cpp | 1 | 13852 | /**
* @file PointerArray.cpp
* @author Buoncompagni Luca
* @date Sep 14, 2016
*
* @brief The complete #parray (parray#PointerArray<T>) and #patch names paces definition.
*
* It describes a common templated method to convert an object into a string (patch#to_string()).
* Also, it defines a templated manager to a... | mit |
Xaetrz/AddSyn | AddSyn/Source/PluginEditor.cpp | 1 | 36238 | /*
==============================================================================
This is an automatically generated GUI class created by the Introjucer!
Be careful when adding custom code to these files, as only the code within
the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loaded
... | mit |
ap--/python-seabreeze | src/libseabreeze/src/vendors/OceanOptics/protocols/interfaces/SpectrometerProtocolInterface.cpp | 1 | 1693 | /***************************************************//**
* @file SpectrometerProtocolInterface.cpp
* @date February 2009
* @author Ocean Optics, Inc.
*
* LICENSE:
*
* SeaBreeze Copyright (C) 2014, Ocean Optics Inc
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of thi... | mit |
junhuac/MQUIC | src/third_party/boringssl/src/crypto/cipher/e_chacha20poly1305.c | 1 | 11170 | /* Copyright (c) 2014, 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 |
metbosch/PCA-Lab | finalProject/PATH_LLIB/fftw-2.1.3/rfftw/fhf_16.c | 1 | 28228 | /*
* Copyright (c) 1997-1999 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 your option) any later versio... | mit |
alexey-malov/ips-oop2015 | lab2/task1/VectorProcessor.cpp | 1 | 1601 | #include "stdafx.h"
#include "VectorProcessor.h"
#include <algorithm>
#include <numeric>
#include <functional>
#include <boost/range/algorithm/transform.hpp>
#include <boost/phoenix.hpp>
using namespace std;
using namespace std::placeholders;
using namespace boost::phoenix::placeholders;
using namespace boost::phoeni... | mit |
rangsimanketkaew/NWChem | src/tce/eomccsdtq/eomccsdtq_y4_11.F | 1 | 8607 | SUBROUTINE eomccsdtq_y4_11(d_a,k_a_offset,d_b,k_b_offset,d_c,k_c_o
&ffset)
C $Id$
C This is a Fortran77 program generated by Tensor Contraction Engine v.1.0
C Copyright (c) Battelle & Pacific Northwest National Laboratory (2002)
C i0 ( h5 h6 h7 h8 p1 p2 p3 p4 )_ytf + = 1 * P( 4 ) * Sum ( h9 )... | mit |
yoshito-n-students/affine_invariant_features | src/extract_features.cpp | 1 | 3372 | #include <iostream>
#include <string>
#include <affine_invariant_features/affine_invariant_feature.hpp>
#include <affine_invariant_features/feature_parameters.hpp>
#include <affine_invariant_features/results.hpp>
#include <affine_invariant_features/target.hpp>
#include <opencv2/core.hpp>
#include <opencv2/features2d.... | mit |
stackprobe/Factory | Common/Options/MergeSort_v1.c | 1 | 4695 | #include "MergeSort_v1.h"
static void CommitPart(
autoList_t *partFiles,
char *wMode,
void (*writeElement_x)(FILE *fp, uint element),
sint (*compElement)(uint element1, uint element2),
autoList_t *elements
)
{
rapidSort(elements, compElement);
{
char *partFile = makeTempPath("part");
FILE *fp;
uint elem... | mit |
bugsnag/bugsnag-js | packages/plugin-electron-client-state-persistence/src/deps/parson/parson.c | 1 | 74015 | /*
SPDX-License-Identifier: MIT
Parson 1.1.0 ( http://kgabis.github.com/parson/ )
Copyright (c) 2012 - 2020 Krzysztof Gabis
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 restricti... | mit |
josephbisch/deb-namecoin-core | src/auxpow.cpp | 1 | 6665 | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2011 Vince Durham
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 Daniel Kraft
// Distributed under the MIT/X11 software license, see the accompanying
// file license.txt or http://www.opensource.org/licenses/mit-license.php.
#in... | mit |
mcodegeeks/OpenKODE-Framework | 03_Tutorial/T07_XMOgre3D/Source/Sample/NewInstancing.cpp | 1 | 3109 | /* ------------------------------------------------------------------------------------
*
* File NewInstancing.cpp
* Description This source file is part of OGRE
* (Object-oriented Graphics Rendering Engine)
* Author Y.H Mun
*
* ------------------------... | mit |
maurer/tiamat | samples/Juliet/testcases/CWE789_Uncontrolled_Mem_Alloc/s01/CWE789_Uncontrolled_Mem_Alloc__malloc_char_fgets_53d.c | 1 | 3596 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE789_Uncontrolled_Mem_Alloc__malloc_char_fgets_53d.c
Label Definition File: CWE789_Uncontrolled_Mem_Alloc__malloc.label.xml
Template File: sources-sinks-53d.tmpl.c
*/
/*
* @description
* CWE: 789 Uncontrolled Memory Allocation
* BadSource: fgets Read data from ... | mit |
maxnolan/summer2017 | makeashape.cpp | 1 | 2441 | #include <iostream>
#include <vector>
#include <fstream>
#include <CGAL/HalfedgeDS_default.h>
#include <CGAL/HalfedgeDS_vertex_base.h>
#include <CGAL/HalfedgeDS_decorator.h>
#include <CGAL/Simple_cartesian.h>
// typedef CGAL::Simple_cartesian<double> Kernel;
// typedef Kernel::Point_3 ... | mit |
peteo/BSDSocketTest | libs/cocos2dx/platform/CCFileUtils.cpp | 2 | 10984 | /****************************************************************************
Copyright (c) 2010 cocos2d-x.org
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 Software without res... | mit |
nonconforme/AtomicGameEngine | Source/ThirdParty/TurboBadger/tb_scroller.cpp | 2 | 12331 | // ================================================================================
// == This file is a part of Turbo Badger. (C) 2011-2014, Emil Segerås ==
// == See tb_core.h for more information. ==
// =================================================================... | mit |
lggomez/dedupify | src/External/ImageMagick/include/MagickCore/widget.c | 2 | 328311 | /*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% %
% ... | mit |
legends420/OfficalGanjaCoin | build/moc_optionsmodel.cpp | 2 | 6228 | /****************************************************************************
** Meta object code from reading C++ file 'optionsmodel.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.5.1)
**
** WARNING! All changes made in this file will be lost!
********************************************************... | mit |
hmgle/dot_matrix_font_to_bmp | src/dot_matrix_font_to_bmp.c | 2 | 16632 | #include <stdio.h>
#include "debug_log.h"
#include "dot_matrix_font_to_bmp.h"
static void conv_row(const uint8_t *ptrfontdata, uint32_t width,
uint8_t *pdest, uint16_t bits_per_pix,
color_setting_t *pcolor);
void
set_header(bmp_file_t *pbmp_f,
uint32_t width,
uint32_t height,
uint16_t bits_per_pix)
{
... | mit |
Josiastech/vuforia-gamekit-integration | Gamekit/Dependencies/Source/libRocket/Source/Core/Context.cpp | 2 | 32493 | /*
* This source file is part of libRocket, the HTML/CSS Interface Middleware
*
* For the latest information, see http://www.librocket.com
*
* Copyright (c) 2008-2010 CodePoint Ltd, Shift Technology Ltd
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and assoc... | mit |
starwels/starwels | src/merkleblock.cpp | 2 | 6421 | // Copyright (c) 2009-2019 Satoshi Nakamoto
// Copyright (c) 2009-2019 The Starwels developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <merkleblock.h>
#include <hash.h>
#include <consensus/consensus.h>
#include... | mit |
mattparizeau/Marble-Blast-Clone | Engine/source/ts/loader/tsShapeLoader.cpp | 2 | 43515 | //-----------------------------------------------------------------------------
// Copyright (c) 2012 GarageGames, LLC
//
// 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 restrictio... | mit |
gogartom/caffe-textmaps | src/caffe/layers/bn_layer.cpp | 2 | 16089 | #include <algorithm>
#include <vector>
#include "caffe/common_layers.hpp"
#include "caffe/filler.hpp"
#include "caffe/layer.hpp"
#include "caffe/util/math_functions.hpp"
namespace caffe {
template <typename Dtype>
void BNLayer<Dtype>::Reshape(const vector<Blob<Dtype>*>& bottom,
const vector<Blob<Dtype>*>& t... | mit |
nzavagli/UnrealPy | UnrealPyEmbed/Development/Python/2015.08.07-Python2710-x64-Source-vs2015/Python27/Source/tcl-8.5.2.1/libtommath/bn_mp_xor.c | 3 | 1191 | #include <tommath.h>
#ifdef BN_MP_XOR_C
/* LibTomMath, multiple-precision integer library -- Tom St Denis
*
* LibTomMath is a library that provides multiple-precision
* integer arithmetic as well as number theoretic functionality.
*
* The library was designed directly after the MPI library by
* Michael Fromberger... | mit |
openmv/openmv | src/hal/nrfx/src/nrfx_i2s.c | 3 | 15054 | /*
* Copyright (c) 2015 - 2019, 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, this
... | mit |
shinpei0208/gdev | mod/linux/pscnv/pscnv_sysram.c | 3 | 2120 | #include "drmP.h"
#include "drm.h"
#include "nouveau_drv.h"
#include "pscnv_mem.h"
#include <linux/list.h>
#include <linux/kernel.h>
#include <linux/mutex.h>
#include <linux/gfp.h>
int
pscnv_sysram_alloc(struct pscnv_bo *bo)
{
int numpages, i, j;
gfp_t gfp_flags;
numpages = bo->size >> PAGE_SHIFT;
if (numpages > 1... | mit |
igui/RPSolver | Gui/gui/docks/SceneDock.cpp | 3 | 1402 | /*
* Copyright (c) 2013 Opposite Renderer
* For the full copyright and license information, please view the LICENSE.txt
* file that was distributed with this source code.
*/
#include "SceneDock.hxx"
#include "ui/ui_SceneDock.h"
#include <QMessageBox>
#include "scene/SceneManager.hxx"
SceneDock::SceneDock(QWidget ... | mit |
yihuang/pyccv | deps/ccv/lib/ccv_cache.c | 5 | 12658 | #include "ccv.h"
#include "ccv_internal.h"
#define CCV_GET_CACHE_TYPE(x) ((x) >> 60)
#define CCV_GET_TERMINAL_AGE(x) (((x) >> 32) & 0x0FFFFFFF)
#define CCV_GET_TERMINAL_SIZE(x) ((x) & 0xFFFFFFFF)
#define CCV_SET_TERMINAL_TYPE(x, y, z) (((uint64_t)(x) << 60) | ((uint64_t)(y) << 32) | (z))
void ccv_cache_init(ccv_cache... | mit |
steveschnepp/OpenApoc | game/state/battle/battleforces.cpp | 6 | 1426 | #include "game/state/battle/battleforces.h"
#include "game/state/battle/battleunit.h"
#include "library/sp.h"
#include <vector>
namespace OpenApoc
{
BattleForces::BattleForces() : squads(6){};
bool BattleForces::insert(unsigned squad, sp<BattleUnit> unit)
{
if (squads[squad].getNumUnits() == 6 && unit->squadNumber ... | mit |
kmalakoff/phonegap-couchbase-xplatform | phonegap-couchbase-ios/phonegap-couchbase-ios/Vendor/TouchFoundation_MinimalExtraction/Base64Transcoder.c | 6 | 9593 | //
// Base64Transcoder.c
// TouchCode
//
// Created by Jonathan Wight on Tue Mar 18 2003.
// Copyright 2003 toxicsoftware.com. 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 dea... | mit |
henriknelson/micropython | ports/nrf/modules/uos/microbitfs.c | 6 | 25412 | /*
* This file is part of the Micro Python project, http://micropython.org/
*
* The MIT License (MIT)
*
* Copyright (c) 2016 Mark Shannon
* Copyright (c) 2017 Ayke van Laethem
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files ... | mit |
hasebems/TouchMIDI32_firmware | bleocarina.cydsn/Generated_Source/PSoC4/I2C_1_sda_PM.c | 7 | 3561 | /*******************************************************************************
* File Name: I2C_1_sda.c
* Version 2.20
*
* Description:
* This file contains APIs to set up the Pins component for low power modes.
*
* Note:
*
********************************************************************************
* Copyrigh... | mit |
gfneto/Peershares | src/qt/optionsdialog.cpp | 9 | 9842 | #include "optionsdialog.h"
#include "optionsmodel.h"
#include "bitcoinamountfield.h"
#include "monitoreddatamapper.h"
#include "guiutil.h"
#include "bitcoinunits.h"
#include "qvaluecombobox.h"
#include <QHBoxLayout>
#include <QVBoxLayout>
#include <QPushButton>
#include <QListWidget>
#include <QStackedWidget>
#includ... | mit |
JTriggerFish/protoplug | Frameworks/JuceModules/juce_gui_basics/widgets/juce_TableHeaderComponent.cpp | 9 | 26976 | /*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)
b) the Affero GPL v3
... | mit |
takashi310/fluorender | fluorender/ffmpeg/OSX/include/libavcodec/libfdk-aacdec.c | 9 | 9975 | /*
* AAC decoder wrapper
* Copyright (c) 2012 Martin Storsjo
*
* This file is part of FFmpeg.
*
* 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.
... | mit |
iosoccer/iosoccer-game | game/server/data_collector.cpp | 9 | 1915 | //========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//
//=============================================================================//
// data_collector.cpp
// Data collection system
// Author: Michael S. Booth, June 2004
#include "cbase.h"
#... | mit |
mauro-belgiovine/belgiovi-clmagma | testing/lin/ctpt02.f | 9 | 4979 | SUBROUTINE CTPT02( UPLO, TRANS, DIAG, N, NRHS, AP, X, LDX, B, LDB,
$ WORK, RWORK, RESID )
*
* -- LAPACK test routine (version 3.1) --
* Univ. of Tennessee, Univ. of California Berkeley and NAG Ltd..
* November 2006
*
* .. Scalar Arguments ..
CHARACTER DIAG, TRANS... | mit |
Dr-Shadow/android_bootloader_acer_c10 | platform/msm_shared/mipi_dsi_phy.c | 10 | 5512 | /* Copyright (c) 2012, Code Aurora Forum. 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 ... | mit |
xufei198907/ME_557_2015_FX | Homework_4/gl_common/GLSphere.cpp | 11 | 27251 | //
// GLSphere.cpp
// OpenGL_Transformations
//
// Created by Rafael Radkowski on 9/12/15.
//
//
#include "GLSphere.h"
static const string vs_string_GLSphere_410 =
"#version 410 core \n"
" \n"
"uni... | mit |
KitSprout/MicroMultimeter | Software/uM_PeripheralSTD_ADC/Libraries/STM32F30x_StdPeriph_Driver/src/stm32f30x_usart.c | 11 | 84451 | /**
******************************************************************************
* @file stm32f30x_usart.c
* @author MCD Application Team
* @version V1.2.2
* @date 27-February-2015
* @brief This file provides firmware functions to manage the following
* functionalities of the Universal... | mit |
cnsuperx/Cocos2d-x-2.2.5 | external/emscripten/tests/hello_world_gles_deriv.c | 11 | 19757 | /*
* Copyright (C) 1999-2001 Brian Paul 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 |
impedimentToProgress/UCI-BlueChip | snapgear_linux/linux-2.6.21.1/arch/ia64/kernel/smpboot.c | 13 | 22084 | /*
* SMP boot-related support
*
* Copyright (C) 1998-2003, 2005 Hewlett-Packard Co
* David Mosberger-Tang <davidm@hpl.hp.com>
* Copyright (C) 2001, 2004-2005 Intel Corp
* Rohit Seth <rohit.seth@intel.com>
* Suresh Siddha <suresh.b.siddha@intel.com>
* Gordon Jin <gordon.jin@intel.com>
* Ashok Raj <ashok.raj... | mit |
Achierius/SysSim | include/Eigen/test/qr_colpivoting.cpp | 14 | 5332 | // This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2008 Gael Guennebaud <gael.guennebaud@inria.fr>
// Copyright (C) 2009 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 cop... | mit |
ignorabimus/micropython-c-api | micropython/py/persistentcode.c | 15 | 12709 | /*
* This file is part of the MicroPython project, http://micropython.org/
*
* The MIT License (MIT)
*
* Copyright (c) 2013-2016 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
* in... | mit |
carnalis/Urho3D | Source/ThirdParty/Assimp/code/STLLoader.cpp | 17 | 19124 | /*
---------------------------------------------------------------------------
Open Asset Import Library (assimp)
---------------------------------------------------------------------------
Copyright (c) 2006-2017, assimp team
All rights reserved.
Redistribution and use of this software in source and binary forms,
... | mit |
bellahyejin/carplate_CV | Tesseract-OCR/tesseract-ocr/ccutil/elst.cpp | 17 | 16665 | /**********************************************************************
* File: elst.c (Formerly elist.c)
* Description: Embedded list handling code which is not in the include file.
* Author: Phil Cheatle
* Created: Fri Jan 04 13:55:49 GMT 1991
*
* (C) Copyright 1991, Hewlett-Packard Ltd.
** Li... | mit |
AmazingJaze/Windows-universal-samples | Samples/Accelerometer/cpp/Scenario3_Polling.xaml.cpp | 17 | 4375 | //*********************************************************
//
// 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 |
blazewicz/micropython | ports/pic16bit/main.c | 19 | 3576 | /*
* This file is part of the MicroPython project, http://micropython.org/
*
* The MIT License (MIT)
*
* Copyright (c) 2015 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
* in the ... | mit |
JeremyRubin/bitcoin | src/blockencodings.cpp | 21 | 10332 | // Copyright (c) 2016-2020 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 <blockencodings.h>
#include <consensus/consensus.h>
#include <consensus/validation.h>
#include <chainparams.h>
#incl... | mit |
OUWECAD/MOWE | Projects/All RX Terminal+Gimbal/Firmware_RX/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 |
kristofe/SimpleRenderer | libraries/glfw/src/x11_joystick.c | 25 | 6758 | //========================================================================
// GLFW 3.0 X11 - www.glfw.org
//------------------------------------------------------------------------
// Copyright (c) 2002-2006 Marcus Geelnard
// Copyright (c) 2006-2010 Camilla Berglund <elmindreda@elmindreda.org>
//
// This software is p... | mit |
Tech4Race/nrf5x-base | sdk/nrf51_sdk_9.0.0/components/serialization/application/codecs/s120/serializers/ble_gap_evt_sec_params_request.c | 25 | 1910 | /* Copyright (c) 2013 Nordic Semiconductor. All Rights Reserved.
*
* The information contained herein is property of Nordic Semiconductor ASA.
* Terms and conditions of usage are described in detail in NORDIC
* SEMICONDUCTOR STANDARD SOFTWARE LICENSE AGREEMENT.
*
* Licensees are granted free, non-transferab... | mit |
litecoin-project/litecore-litecoin | src/protocol.cpp | 41 | 5045 | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-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 "protocol.h"
#include "util.h"
#include "utilstrencodings.h"
#ifndef W... | mit |
jordansite/jekyll-vlog | vendor/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn5.c | 812 | 3065 | /* Area: closure_call
Purpose: Check multiple long long values passing.
Exceed the limit of gpr registers on PowerPC
Darwin.
Limitations: none.
PR: none.
Originator: <andreast@gcc.gnu.org> 20031026 */
/* { dg-do run } */
#include "ffitest.h"
static void
closure_test_fn5(ffi_cif* cif __UNUSED__, void... | mit |
dwaynebailey/poedit | deps/boost/libs/chrono/perf/store_now_in_vector.cpp | 47 | 3371 | // Copyright 2011 Vicente J. Botet Escriba
// Copyright (c) Microsoft Corporation 2014
// Distributed under the Boost Software License, Version 1.0.
// See http://www.boost.org/LICENSE_1_0.txt
#include <boost/chrono/chrono.hpp>
#include <boost/chrono/chrono_io.hpp>
#include <libs/chrono/example/timer.hpp>
#includ... | mit |
FFMG/myoddweb.piger | myodd/boost/libs/graph/test/grid_graph_test.cpp | 51 | 6842 | //=======================================================================
// Copyright 2009 Trustees of Indiana University.
// Authors: Michael Hansen, Andrew Lumsdaine
//
// 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... | mit |
firefly2442/godot | thirdparty/icu4c/common/uiter.cpp | 52 | 32120 | // © 2016 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html
/*
*******************************************************************************
*
* Copyright (C) 2002-2012, International Business Machines
* Corporation and others. All Rights Reserved.
*
**********... | mit |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.