repo_name string | path string | copies string | size string | content string | license string |
|---|---|---|---|---|---|
kristapsdz/letskencrypt-portable | http.c | 1 | 18646 | /* $Id$ */
/*
* Copyright (c) 2016 Kristaps Dzonsons <kristaps@bsd.lv>
*
* 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 appear in all copies.
*
* THE SOFTWARE IS PROVIDE... | isc |
cliffordwolf/picorv32 | scripts/cxxdemo/syscalls.c | 4 | 1805 | // An extremely minimalist syscalls.c for newlib
// Based on riscv newlib libgloss/riscv/sys_*.c
// Written by Clifford Wolf.
#include <sys/stat.h>
#include <unistd.h>
#include <errno.h>
#define UNIMPL_FUNC(_f) ".globl " #_f "\n.type " #_f ", @function\n" #_f ":\n"
asm (
".text\n"
".align 2\n"
UNIMPL_FUNC(_open)
... | isc |
bnoordhuis/suv | deps/libuv/test/test-loop-handles.c | 73 | 9821 | /* Copyright Joyent, Inc. and other Node contributors. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
* deal in the Software without restriction, including without limitation the
* righ... | isc |
ennis/autograph-pipelines | src/Engine/DebugOverlay.cpp | 1 | 22413 | #include <autograph/Engine/CVar.h>
#include <autograph/Engine/DebugOverlay.h>
#include <autograph/Engine/ImGuiUtils.h>
#include <autograph/Engine/ImageUtils.h>
#include <autograph/Engine/RenderUtils.h>
#include <autograph/Engine/Shader.h>
#include <autograph/Engine/imgui.h>
#include <autograph/Gfx/GfxContext.h>
#includ... | mit |
nevik-xx/psl1ght | tools/scetool/self.cpp | 1 | 31118 | /*
* Copyright (c) 2011-2013 by naehrwert
* This file is released under the GPLv2.
*/
#include <stdio.h>
#include <stdlib.h>
#include "types.h"
#include "config.h"
#include "util.h"
#include "sce.h"
#include "sce_inlines.h"
#include "self.h"
#include "elf.h"
#include "elf_inlines.h"
#include "tables.h"
#include "sha1... | mit |
aliakseis/LIII | src/3rdparty/torrent-rasterbar/bindings/python/src/fingerprint.cpp | 1 | 1056 | // Copyright Daniel Wallin 2006. Use, modification and distribution is
// subject to the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#include <libtorrent/fingerprint.hpp>
#include "boost_python.hpp"
void bind_fingerprint()
{
using... | mit |
jediguy13/TFT_Touch_Shield_V1 | TFT_T.cpp | 1 | 11165 | /*
ST7781R TFT Library.
2011 Copyright (c) Seeed Technology Inc.
Authors: Albert.Miao, Visweswara R (with initializtion code from TFT vendor)
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 Softw... | mit |
csipiemonte/smartlab | reference-realtime/arduino-secure/libraries/SDPMessage/src/csvline.cpp | 1 | 3215 | /*
* Copyright (C) 2014 CSP Innovazione nelle ICT s.c.a r.l. (http://www.csp.it/)
* All rights reserved.
*
* All information contained herein is, and remains the property of
* CSP Innovazione nelle ICT s.c.a r.l. and its suppliers, if any.
* The intellectual and technical concepts contained herein are proprietary... | mit |
dezGusty/serpents | src/model/SerpentBase.cpp | 1 | 10439 | // This file is part of Gusty's Serpents
// Copyright (C) 2009 Augustin Preda (thegusty999@gmail.com)
//
// Gusty's Serpents 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 versio... | mit |
kreischtauf/CSRST | src/PoissonSolver.cpp | 1 | 23889 | /***************************************************************************
PoissonSolver.cpp
-------------------
begin : Tue Jun 28 2011
copyright : (C) 2011 by Christof Kraus
email : christof.kraus-csrst@my.mail.d... | mit |
vnen/godot | scene/2d/canvas_modulate.cpp | 1 | 4292 | /*************************************************************************/
/* canvas_modulate.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... | mit |
shiftf8/cs539 | fall2016/hw6pointers.c | 1 | 7413 | // CS 539, HW 6, Rob Lamog
#include <stdio.h>
#include <stdlib.h>
void show( const double * begin, const double * end );
double sum( const double * begin, const double * end );
void half( double * begin, double * end );
void add( double * resultBegin, double * resultEnd, const double *a0Begin, const double * a1Begin ... | mit |
cedar-renjun/air-conditioning-assistant | rt-thread/examples/kernel/thread_detach.c | 1 | 3211 | /*
* 程序清单:线程脱离
*
* 这个例子会创建两个线程,在其中一个线程中执行对另一个线程的脱离。
*/
#include <rtthread.h>
#include "tc_comm.h"
/* 线程1控制块 */
static struct rt_thread thread1;
/* 线程1栈 */
static rt_uint8_t thread1_stack[THREAD_STACK_SIZE];
/* 线程2控制块 */
static struct rt_thread thread2;
/* 线程2栈 */
static rt_uint8_t thread2_stack[THRE... | mit |
Paregov/hexadiv | edno/software/nuttx/configs/mirtoo/src/up_leds.c | 1 | 8433 | /****************************************************************************
* configs/mirtoo/src/up_leds.c
* arch/arm/src/board/up_leds.c
*
* Copyright (C) 2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without... | mit |
Billary/BillaryCoinSource | src/qt/sendcoinsdialog.cpp | 1 | 17904 | #include "sendcoinsdialog.h"
#include "ui_sendcoinsdialog.h"
#include "init.h"
#include "walletmodel.h"
#include "addresstablemodel.h"
#include "addressbookpage.h"
#include "bitcoinunits.h"
#include "addressbookpage.h"
#include "optionsmodel.h"
#include "sendcoinsentry.h"
#include "guiutil.h"
#include "askpassphrased... | mit |
ldorelli/tcc | src/draw_main.cpp | 1 | 1377 | #include <SFML/Graphics.hpp>
#include <iostream>
#include <cmath>
#include <cstdlib>
#include <util.h>
#include <graph.h>
#include <kuramoto.h>
#include <time.h>
using namespace std;
#define BOLAS 2
int main()
{
srand ( time(NULL) );
Graph<KuramotoOscillator> g;
KuramotoOscillator::simpleKuramotoNetwork(g, 2, 50... | mit |
staycrypto/antimatter | src/test/test_bitcoin.cpp | 1 | 1757 | #define BOOST_TEST_MODULE Antimatter Test Suite
#include <boost/test/unit_test.hpp>
#include <boost/filesystem.hpp>
#include "db.h"
#include "txdb.h"
#include "main.h"
#include "wallet.h"
#include "util.h"
CWallet* pwalletMain;
CClientUIInterface uiInterface;
extern bool fPrintToConsole;
extern void noui_connect();
... | mit |
julzor42/core32 | src/uart.c | 1 | 4586 | /*
MIT License
Copyright (c) 2016 Julien Delmotte
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, me... | mit |
AndrewGaspar/OSR-Learning-Kit-Universal-WDF-Driver | osrdrv/Device.cpp | 1 | 6851 | /*++
Module Name:
device.c - Device handling events for example driver.
Abstract:
This file contains the device entry points and callbacks.
Environment:
Kernel-mode Driver Framework
--*/
#include "Precomp.h"
#include "Device.h"
#include "TraceLogging.h"
#include "Result.h"
#include "Queue.h"
#in... | mit |
gautier-lefebvre/cppframework | framework/src/Library/ThirdParty/cppformat/posix.cpp | 1 | 7849 | /*
A C++ interface to POSIX functions.
Copyright (c) 2014 - 2015, Victor Zverovich
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 copyrigh... | mit |
mathemage/CompetitiveProgramming | gkickstart/2022/round-D/A/A.cpp | 1 | 6553 | /* ========================================
ID: mathema6
TASK: A
LANG: C++14
* File Name : A.cpp
* Creation Date : 10-07-2022
* Last Modified : Sun 10 Jul 2022 07:27:31 AM CEST
* Created By : Karel Ha <mathemage@gmail.com>
* URL : https://codingcompetitions.withgoogle.com/kickstart/round/00000... | mit |
BonexGu/Blik2D-SDK | Blik2D/addon/openssl-1.1.0c_for_blik/crypto/cryptlib.c | 1 | 10321 | /*
* Copyright 1998-2016 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the OpenSSL license (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/lice... | mit |
ensemblr/llvm-project-boilerplate | include/llvm/projects/test-suite/SingleSource/UnitTests/Vector/Altivec/alti.expandfft.c | 2 | 9856 | #include <stdio.h>
#include <math.h>
#include <time.h>
#include <float.h>
#include <stdlib.h>
#include <altivec.h>
#define N 1048576
#define N2 N/2
void cfft2(unsigned int n,float x[][2],float y[][2],float w[][2], float sign);
void cffti(int n, float w[][2]);
main()
{
/*
Example of Apple Altivec coded binary radix... | mit |
yashkin/libhuffman | src/encoder.c | 2 | 10305 | #include <string.h>
#include <unistd.h>
#include "huffman/bufio.h"
#include "huffman/encoder.h"
#include "huffman/malloc.h"
#include "huffman/sys.h"
#include "huffman/histogram.h"
#include "huffman/io.h"
#include "huffman/symbol.h"
#include "huffman/tree.h"
struct __huf_encoder {
// Read-only field with encoder ... | mit |
maurer/tiamat | samples/Juliet/testcases/CWE789_Uncontrolled_Mem_Alloc/s01/CWE789_Uncontrolled_Mem_Alloc__malloc_char_fgets_68a.c | 2 | 4129 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE789_Uncontrolled_Mem_Alloc__malloc_char_fgets_68a.c
Label Definition File: CWE789_Uncontrolled_Mem_Alloc__malloc.label.xml
Template File: sources-sinks-68a.tmpl.c
*/
/*
* @description
* CWE: 789 Uncontrolled Memory Allocation
* BadSource: fgets Read data from ... | mit |
coinkeeper/2015-06-22_18-45_quatloo | src/qt/addressbookpage.cpp | 2 | 12971 | // Copyright (c) 2011-2013 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "addressbookpage.h"
#include "ui_addressbookpage.h"
#include "addresstablemodel.h"
#include "optionsmodel.h"
#includ... | mit |
nudnud/nud-unofficial | src/rpcblockchain.cpp | 2 | 8979 | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014 The NUD developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "main.h"
#include "bitcoinrpc.h"
usi... | mit |
Pocketart/typhoonclawvex | Musical_Instruments_2017_2018/Musical_Glove/OLD CODE/gloves/Gloves_R/teensy/avr/libraries/Audio/effect_midside.cpp | 2 | 3715 | /* Audio Library for Teensy 3.X
* Copyright (c) 2015, Hedde Bosman
*
* Development of this audio library was funded by PJRC.COM, LLC by sales of
* Teensy and Audio Adaptor boards. Please support PJRC's efforts to develop
* open source software by purchasing Teensy or other PJRC products.
*
* Permission is hereb... | mit |
msmolens/bayer-pattern-demosaicing | bayer_cg/src/RenderTexture.cpp | 2 | 70424 | //---------------------------------------------------------------------------
// File : RenderTexture.cpp
//---------------------------------------------------------------------------
// Copyright (c) 2002-2004 Mark J. Harris
//---------------------------------------------------------------------------
// This sof... | mit |
cbeck88/cegui-mirror-two | cegui/src/WindowRendererSets/Core/ItemEntry.cpp | 3 | 2948 | /***********************************************************************
created: Thu Sep 22 2005
author: Tomas Lindquist Olsen
*************************************************************************/
/***************************************************************************
* Copyright (C) 2004 -... | mit |
Skoks/stateface | tools/font-for-us.cpp | 4 | 2727 | #include "src/shape.h"
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <iostream>
#include <unistd.h>
typedef struct {
char *shpfile;
char *proj;
double simplification;
char *name_field;
char *filter;
} opt_t;
void help(){
fprintf (stderr,
"font-for-us generates eps files for Stat... | mit |
kiwih/goFB | examples/goFB_only/c_tcrest/bottlingplant_spm/c/InjectorPumpsController.c | 4 | 6501 | // This file has been automatically generated by goFB and should not be edited by hand
// Compiler written by Hammond Pearce and available at github.com/kiwih/goFB
// This file represents the implementation of the Basic Function Block for InjectorPumpsController
#include "InjectorPumpsController.h"
/* InjectorPumpsC... | mit |
qtumproject/qtum | src/signet.cpp | 5 | 5790 | // Copyright (c) 2019-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 <signet.h>
#include <array>
#include <cstdint>
#include <vector>
#include <consensus/merkle.h>
#include <consensus... | mit |
PKRoma/poedit | deps/boost/libs/mpi/test/cartesian_topology_test.cpp | 6 | 5997 | // Copyright Alain Miniussi 2014.
// 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)
// Authors: Alain Miniussi
#include <vector>
#include <iostream>
#include <sstream>
#include <iterator>
#in... | mit |
fillest/7drl2013 | libtcod-1.5.2/src/fov_circular_raycasting.c | 6 | 8133 | /*
* libtcod 1.5.2
* Copyright (c) 2008,2009,2010,2012 Jice & Mingos
* 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
... | mit |
josempans/godot | modules/openxr/register_types.cpp | 7 | 4852 | /*************************************************************************/
/* register_types.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... | mit |
mokchhya/coreclr | src/binder/clrprivbindercoreclr.cpp | 7 | 12127 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#include "common.h"
#include "assemblybinder.hpp"
#include "clrprivbindercoreclr.h"
#include "clrprivbinderutil.h"
... | mit |
mosass/HexapodRobot | XilinkSDK/sixpod_freertos823_bsp/ps7_cortexa9_0/libsrc/lwip141_v1_7/src/lwip-1.4.1/src/core/ipv4/ip_addr.c | 9 | 8601 | /**
* @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 |
alexhenrie/poedit | deps/boost/tools/quickbook/test/src/text_diff.cpp | 9 | 2701 | //
// Copyright (c) 2005 João Abecasis
//
// 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 <cstring>
#include <fstream>
#include <iostream>
#include <iterator>
#include <vector>
#include <boost/s... | mit |
quxn6/wugargar | NNGameFramework/NNGameFramework/Library/TinyXML/xpath_processor.cpp | 9 | 72591 | /*
www.sourceforge.net/projects/tinyxpath
Copyright (c) 2002-2004 Yves Berquin (yvesb@users.sourceforge.net)
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... | mit |
cloudwu/skynet | lualib-src/lua-sharedata.c | 9 | 16637 | #define LUA_LIB
#include <lua.h>
#include <lauxlib.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include "atomic.h"
#define KEYTYPE_INTEGER 0
#define KEYTYPE_STRING 1
#define VALUETYPE_NIL 0
#define VALUETYPE_REAL 1
#define VALUETYPE_STRING 2
#define VALUETYPE_BOOLEAN 3
#define ... | mit |
JTriggerFish/protoplug | Frameworks/JuceModules/juce_core/threads/juce_ThreadPool.cpp | 10 | 10041 | /*
==============================================================================
This file is part of the juce_core module of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Permission to use, copy, modify, and/or distribute this software for any purpose with
or without fee is hereby ... | mit |
james54068/CAN_demo | Libraries/STM32_USB_HOST_Library/Class/HID/src/usbh_hid_core.c | 11 | 19444 | /**
******************************************************************************
* @file usbh_hid_core.c
* @author MCD Application Team
* @version V2.1.0
* @date 19-March-2012
* @brief This file is the HID Layer Handlers for USB Host HID class.
*
* @verbatim
*
* =... | mit |
firstval/micropython | cc3200/fatfs/src/drivers/sd_diskio.c | 12 | 14997 | //*****************************************************************************
// sd_diskio.c
//
// Low level SD Card access hookup for FatFS
//
// Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/
//
//
// Redistribution and use in source and binary forms, with or without
// modification, are p... | mit |
mmitche/corefx | src/Native/Unix/System.Security.Cryptography.Native/pal_hmac.c | 12 | 1849 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#include "pal_config.h"
#include "pal_utilities.h"
#include "pal_hmac.h"
#include <assert.h>
HMAC_CTX* CryptoNativ... | mit |
Portwell/Sense8 | Sense8_32u4_boards-master.1.0.0/bootloaders/caterina/LUFA-111009/Projects/Incomplete/StandaloneProgrammer/Lib/SCSI.c | 12 | 13325 | /*
LUFA Library
Copyright (C) Dean Camera, 2011.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purp... | mit |
falcontersama/chatbot | node_modules/node-sass/src/sass_types/boolean.cpp | 781 | 2455 | #include <nan.h>
#include "boolean.h"
namespace SassTypes
{
Nan::Persistent<v8::Function> Boolean::constructor;
bool Boolean::constructor_locked = false;
Boolean::Boolean(bool v) : value(v) {}
Boolean& Boolean::get_singleton(bool v) {
static Boolean instance_false(false), instance_true(true);
return ... | mit |
kongscn/pyctp | stock/ctp/MdApi.cpp | 14 | 161591 | #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_INTERNALS 0
#endif
#endif
#endif
#include "Python.h"
... | mit |
shengwen1997/stm32_pratice | firmware/freertos/queue/lib/FreeRTOSV8.2.3/FreeRTOS/Demo/RX200_RX210-RSK_Renesas/RTOSDemo/Renesas-Files/hd44780.c | 14 | 12258 | /*------------------------------------------------------------------------/
/ EZ-LCD - Generic control module for HD44780 LCDC - R0.01c
/-------------------------------------------------------------------------/
/
/ Copyright (C) 2010, ChaN, all right reserved.
/
/ * This software is a free software and there i... | mit |
aEchoCoin/Coin | src/qt/overviewpage.cpp | 784 | 7182 | #include "overviewpage.h"
#include "ui_overviewpage.h"
#include "clientmodel.h"
#include "walletmodel.h"
#include "bitcoinunits.h"
#include "optionsmodel.h"
#include "transactiontablemodel.h"
#include "transactionfilterproxy.h"
#include "guiutil.h"
#include "guiconstants.h"
#include <QAbstractItemDelegate>
#include <... | mit |
chizhizhen/DNT | caffe/src/caffe/layers/hinge_loss_layer.cpp | 18 | 2451 | #include <algorithm>
#include <cfloat>
#include <cmath>
#include <vector>
#include "caffe/layer.hpp"
#include "caffe/util/io.hpp"
#include "caffe/util/math_functions.hpp"
#include "caffe/vision_layers.hpp"
namespace caffe {
template <typename Dtype>
void HingeLossLayer<Dtype>::Forward_cpu(const vector<Blob<Dtype>*>&... | mit |
fanquake/bitcoin | src/clientversion.cpp | 19 | 3764 | // Copyright (c) 2012-2021 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <clientversion.h>
#include <util/translation.h>
#include <tinyformat.h>
#include <sstream>
#include <string>
#incl... | mit |
bitmarker/STM32F3_IAR_Template | stm32f3/simple/Libraries/CMSIS/DSP_Lib/Source/FilteringFunctions/arm_fir_init_q15.c | 20 | 5279 | /* ----------------------------------------------------------------------
* Copyright (C) 2010-2014 ARM Limited. All rights reserved.
*
* $Date: 12. March 2014
* $Revision: V1.4.4
*
* Project: CMSIS DSP Library
* Title: arm_fir_init_q15.c
*
* Description: Q15 FIR filter ... | mit |
ClarkChen633/simplefilewatcher | source/FileWatcherLinux.cpp | 21 | 4586 | /**
Copyright (c) 2009 James Wynn (james@jameswynn.com)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merg... | mit |
jakzale/ogre | Tools/VRMLConverter/vrmllib/src/indexed_face_set.cpp | 21 | 3909 | #include <vrmllib/nodes.h>
#include <map>
#include <stdexcept>
namespace vrmllib {
namespace bits {
struct index_set {
index_set() : geom(0), tex(0), norm(0), col(0) {}
int geom;
int tex;
int norm;
int col;
};
bool operator<(const index_set &a, const index_set &b)
{
if (a.geom < b.geom) return true;
if (a.ge... | mit |
mrochan/gfrnet | caffe-gfrnet/src/caffe/layers/lrn_layer.cpp | 22 | 10883 | #include <vector>
#include "caffe/layer.hpp"
#include "caffe/util/math_functions.hpp"
#include "caffe/vision_layers.hpp"
namespace caffe {
template <typename Dtype>
void LRNLayer<Dtype>::LayerSetUp(const vector<Blob<Dtype>*>& bottom,
const vector<Blob<Dtype>*>& top) {
size_ = this->layer_param_.lrn_param().l... | mit |
dinkdeng/STM32Plus_IAR | IAR/CommonFiles/F7CommonFiles/DSP_Lib/FilteringFunctions/arm_conv_opt_q7.c | 279 | 11903 | /* ----------------------------------------------------------------------
* Copyright (C) 2010-2014 ARM Limited. All rights reserved.
*
* $Date: 19. March 2015
* $Revision: V.1.4.5
*
* Project: CMSIS DSP Library
* Title: arm_conv_opt_q7.c
*
* Description: Convolution of Q7 sequ... | mit |
mhdubose/Windows-universal-samples | gyrometer/cpp/scenario1_dataevents.xaml.cpp | 24 | 5813 | //*********************************************************
//
// 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 |
Dilmacoin/dilmacoin | src/wallet.cpp | 537 | 63585 | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "wallet.h"
#include "walletdb.h"
#include "crypter.h"
#include "ui_interf... | mit |
Priya91/coreclr | src/pal/tests/palsuite/threading/WaitForMultipleObjectsEx/test1/test1.c | 26 | 6088 | //
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
/*============================================================
**
** Source: test1.c
**
** Purpose: Test for WaitForMultipleObjectsEx. Call the function
** ... | mit |
eiffelqiu/candle | lib/candle/generators/lua/wax/lib/lua/lapi.c | 27 | 22717 | /*
** $Id: lapi.c,v 2.55.1.5 2008/07/04 18:41:18 roberto Exp $
** Lua API
** See Copyright Notice in lua.h
*/
#include <assert.h>
#include <math.h>
#include <stdarg.h>
#include <string.h>
#define lapi_c
#define LUA_CORE
#include "lua.h"
#include "lapi.h"
#include "ldebug.h"
#include "ldo.h"
#include "lfunc.h"
#inc... | mit |
dawnoble/slimdx | source/direct3d9/BandwidthTimings.cpp | 27 | 3034 | #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 |
quabug/godot | servers/physics/broad_phase_sw.cpp | 28 | 2253 | /*************************************************************************/
/* broad_phase_sw.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... | mit |
atgreen/bitcoin | src/qt/peertablemodel.cpp | 30 | 6256 | // Copyright (c) 2011-2013 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 "peertablemodel.h"
#include "clientmodel.h"
#include "guiconstants.h"
#include "guiutil.h"
#include "sync.h"
#inc... | mit |
jjimenezg93/ai-state_machines | moai/3rdparty/box2d-2.2.1/Box2D/Collision/b2DynamicTree.cpp | 30 | 16669 | /*
* Copyright (c) 2009 Erin Catto http://www.box2d.org
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
* Permission is granted to anyone to use this software for any purpose,
* includ... | mit |
mitreaadrian/Soccersim | boost/boost_1_59_0/libs/graph/example/dfs.cpp | 31 | 3221 | //=======================================================================
// Copyright 1997, 1998, 1999, 2000 University of Notre Dame.
// Authors: Andrew Lumsdaine, Lie-Quan Lee, Jeremy G. Siek
//
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at
// http... | mit |
josteink/coreclr | src/pal/tests/palsuite/c_runtime/_vsnwprintf/test14/test14.c | 31 | 2674 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
/*=====================================================================
**
** Source: test14.c
**
** Purpose: T... | mit |
burtonsamograd/urbit | outside/softfloat-3/source/8086-SSE/s_f32UIToCommonNaN.c | 34 | 2546 |
/*============================================================================
This C source file is part of the SoftFloat IEEE Floating-Point Arithmetic
Package, Release 3, by John R. Hauser.
Copyright 2011, 2012, 2013, 2014 The Regents of the University of California
(Regents). All Rights Reserved. Redist... | mit |
aspectron/jsx | extern/boost/libs/geometry/doc/src/examples/geometries/adapted/boost_polygon_ring.cpp | 37 | 1425 | // Boost.Geometry (aka GGL, Generic Geometry Library)
// QuickBook Example
// Copyright (c) 2011-2012 Barend Gehrels, Amsterdam, the Netherlands.
// Copyright (c) 2014 Adam Wulkiewicz, Lodz, Poland.
// Use, modification and distribution is subject to the Boost Software License,
// Version 1.0. (See accompanying file ... | mit |
vcredit-zj/MiniEcho | MiniEcho/Pods/Realm/Realm/ObjectStore/src/impl/weak_realm_notifier.cpp | 40 | 1375 | ////////////////////////////////////////////////////////////////////////////
//
// Copyright 2015 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 |
phantasien/falkor | deps/uv/test/test-pipe-close-stdout-read-stdin.c | 40 | 2996 | /* Copyright Joyent, Inc. and other Node contributors. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
* deal in the Software without restriction, including without limitation the
* righ... | mit |
yizhang82/coreclr | src/debug/daccess/request_svr.cpp | 42 | 12341 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
//*****************************************************************************
//
// File: request.cpp
//
// CorDa... | mit |
TyRoXx/cdm | original_sources/boost_1_59_0/libs/serialization/test/test_complex.cpp | 43 | 2992 | /////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
// test_complex.cpp
// (C) Copyright 2005 Matthias Troyer .
// Use, modification and distribution is subject to the Boost Software
// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE... | mit |
tihovinc/SuperLU_w64_mkl | SuperLU_5.2.1/SRC/ilu_ccolumn_dfs.c | 48 | 7452 | /*! \file
Copyright (c) 2003, The Regents of the University of California, through
Lawrence Berkeley National Laboratory (subject to receipt of any required
approvals from U.S. Dept. of Energy)
All rights reserved.
The source code is distributed under BSD license, see the file License.txt
at the top-level director... | mit |
eunomie/nodegit | vendor/openssl/openssl/crypto/ocsp/ocsp_asn.c | 829 | 7300 | /* ocsp_asn.c */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 2000.
*/
/* ====================================================================
* Copyright (c) 2000 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
*... | mit |
zmaruo/coreclr | src/pal/tests/palsuite/c_runtime/swscanf/test2/test2.c | 62 | 1295 | //
// 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: Test to see if swscanf handles whitespace co... | mit |
rkq/cxxexp | third-party/src/boost_1_56_0/libs/preprocessor/doc/examples/linear_fib.c | 63 | 3046 | # /* Copyright (C) 2002
# * Housemarque Oy
# * http://www.housemarque.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)
# */
#
# /* Revised by Paul Mensonides (2002) */
#
# /* See http://www.boost... | mit |
Godin/coreclr | src/pal/prebuilt/idl/fusionpriv_i.c | 66 | 3292 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
/* this ALWAYS GENERATED file contains the IIDs and CLSIDs */
/* link this file in with the server and any client... | mit |
Verteiron/JContainers | JContainers/lib/boost/libs/serialization/test/test_const_save_warn4_nvp.cpp | 68 | 1117 | /////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
// test_const.cpp
// (C) Copyright 2002 Robert Ramey - http://www.rrsd.com .
// Use, modification and distribution is subject to the Boost Software
// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.... | mit |
chcbaram/SmartRobotBD | Ex13_IMU/LIB_USB/DRV/usb_int.c | 79 | 6310 | /**
******************************************************************************
* @file usb_int.c
* @author MCD Application Team
* @version V4.0.0
* @date 28-August-2012
* @brief Endpoint CTR (Low and High) interrupt's service routines
***************************************************... | mit |
jdegraft/Windows-universal-samples | Samples/SpatialSound/cpp/Scenario2_CardioidSound.xaml.cpp | 81 | 5216 | //*********************************************************
//
// Copyright (c) Microsoft. All rights reserved.
// This code is licensed under the MIT License (MIT).
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
// IMPLIED WARRANTIES OF FITNESS FOR A PARTICUL... | mit |
EVE-Team/GameDesign | cocos2d/extensions/Particle3D/PU/CCPUGravityAffectorTranslator.cpp | 97 | 2574 | /****************************************************************************
Copyright (C) 2013 Henry van Merode. All rights reserved.
Copyright (c) 2015 Chukong Technologies Inc.
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associa... | mit |
JosephTremoulet/coreclr | src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test16/test16.cpp | 106 | 2435 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
/*=====================================================================
**
** Source: test16.c
**
** Purpose: T... | mit |
pastaread/TanksBattle | cocos2d/external/Box2D/Dynamics/Joints/b2MotorJoint.cpp | 368 | 8087 | /*
* Copyright (c) 2006-2012 Erin Catto http://www.box2d.org
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
* Permission is granted to anyone to use this software for any purpose,
* i... | mit |
Krugercoin/krugercoins | BuildDeps/deps/ssl/crypto/dh/p1024.c | 881 | 4162 | /* crypto/dh/p1024.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-co... | mit |
TrustPlus/TrustPlus | src/keystore.cpp | 1138 | 5819 | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "keystore.h"
#include "script.h"
bool CKeyStore::GetPubKey(const CKeyID ... | mit |
xunmengfeng/WinObjC | deps/3rdparty/icu/icu/source/test/intltest/tokiter.cpp | 376 | 3040 | /*
**********************************************************************
* Copyright (c) 2004-2011, International Business Machines
* Corporation and others. All Rights Reserved.
**********************************************************************
* Author: Alan Liu
* Created: March 22 2004
* Since: ICU 3.0
*******... | mit |
kishoredbn/barrelfish | lib/devif/backends/net/mlx4/drivers/infiniband/hw/mthca/mthca_pd.c | 15490 | 2597 | /*
* Copyright (c) 2004 Topspin Communications. All rights reserved.
* Copyright (c) 2005 Cisco Systems. All rights reserved.
* Copyright (c) 2005 Mellanox Technologies. All rights reserved.
*
* This software is available to you under a choice of one of two
* licenses. You may choose to be licensed under the t... | mit |
gdos/WinObjC | deps/3rdparty/iculegacy/source/samples/numfmt/capi.c | 388 | 2460 | /********************************************************************
* COPYRIGHT:
* Copyright (c) 1999-2002, International Business Machines Corporation and
* others. All Rights Reserved.
********************************************************************/
#include "unicode/unum.h"
#include "unicode/ustring.h"
#... | mit |
x13945/Android-ImageMagick | library/src/main/jni/jasper-1.900.1/src/libjasper/jpc/jpc_dec.c | 149 | 59860 | /*
* Copyright (c) 1999-2000 Image Power, Inc. and the University of
* British Columbia.
* Copyright (c) 2001-2003 Michael David Adams.
* All rights reserved.
*/
/* __START_OF_JASPER_LICENSE__
*
* JasPer License Version 2.0
*
* Copyright (c) 2001-2006 Michael David Adams
* Copyright (c) 1999-2000 Image P... | mit |
huangbop/skywalker | rt-thread-2.0.0/components/external/freetype/src/autofit/afloader.c | 159 | 19191 | /***************************************************************************/
/* */
/* afloader.c */
/* */
/* Au... | mit |
xdkoooo/WinObjC | deps/3rdparty/iculegacy/source/i18n/name2uni.cpp | 165 | 8172 | /*
**********************************************************************
* Copyright (C) 2001-2011, International Business Machines
* Corporation and others. All Rights Reserved.
**********************************************************************
* Date Name Description
* 06/07/01 aliu ... | mit |
laura-96/GameEngine | GameEngine/Bullet/src/BulletSoftBody/btSoftRigidCollisionAlgorithm.cpp | 439 | 3373 | /*
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 |
aspectron/jsx | extern/v8/third_party/icu/source/common/ucnv_cb.c | 440 | 8083 | /*
**********************************************************************
* Copyright (C) 2000-2006, International Business Machines
* Corporation and others. All Rights Reserved.
**********************************************************************
* ucnv_cb.c:
* External APIs for the ICU's codeset conversio... | mit |
telecamera/opencvr | 3rdparty/openssl/crypto/ecdsa/ecs_sign.c | 186 | 4168 | /* crypto/ecdsa/ecdsa_sign.c */
/* ====================================================================
* Copyright (c) 1998-2002 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
* ... | mit |
seem-sky/WinObjC | deps/3rdparty/cairolegacy/src/cairo-font-face-twin-data.c | 196 | 24640 | /* See cairo-font-face-twin.c for copyright info */
#include "cairoint.h"
const int8_t _cairo_twin_outlines[] = {
/* 0x0 '\0' offset 0 */
0, 24, 42, 0, 2, 2,
0, 24, /* snap_x */
-42, 0, /* snap_y */
'm', 0, 0,
'l', 0, -42,
'l', 24, -42,
'l', 24, 0,
'l', 0, 0,
'e',
'X', 'X',
/*... | mit |
tony--/WinObjC | deps/3rdparty/iculegacy/source/test/letest/cfonts.cpp | 198 | 1641 | /*
*
* (C) Copyright IBM Corp. 1998-2008 - All Rights Reserved
*
*/
#include "LETypes.h"
#include "loengine.h"
#include "PortableFontInstance.h"
#include "SimpleFontInstance.h"
U_CDECL_BEGIN
le_font *le_portableFontOpen(const char *fileName,
float pointSize,
LEErrorCode *status)
{
return (le_font *) n... | mit |
b-man/WinObjC | deps/3rdparty/icu/icu/source/common/ucnv.c | 203 | 95035 | /*
******************************************************************************
*
* Copyright (C) 1998-2013, International Business Machines
* Corporation and others. All Rights Reserved.
*
******************************************************************************
*
* ucnv.c:
* Implements APIs for the ICU'... | mit |
mediapiglet/piglet | node_modules/exec-sync/node_modules/ffi/deps/pthreads-win32/tests/sizes.c | 206 | 1694 | #define _WIN32_WINNT 0x400
#include "test.h"
#include "../implement.h"
int
main()
{
printf("Sizes of pthreads-win32 structs\n");
printf("-------------------------------\n");
printf("%30s %4d\n", "pthread_t", (int)sizeof(pthread_t));
printf("%30s %4d\n", "ptw32_thread_t", (int)sizeof(ptw32_thread_t));
printf... | mit |
clonecoin/clonecoin | src/qt/addresstablemodel.cpp | 1234 | 12857 | #include "addresstablemodel.h"
#include "guiutil.h"
#include "walletmodel.h"
#include "wallet.h"
#include "base58.h"
#include <QFont>
const QString AddressTableModel::Send = "S";
const QString AddressTableModel::Receive = "R";
struct AddressTableEntry
{
enum Type {
Sending,
Receiving
};
... | mit |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.