repo_name string | path string | copies string | size string | content string | license string |
|---|---|---|---|---|---|
nyaki-HUN/DESIRE | DESIRE-Modules/ResourceLoader-Assimp/Externals/Assimp/contrib/unzip/crypt.c | 4 | 4977 | /* crypt.c -- base code for traditional PKWARE encryption
Version 1.01e, February 12th, 2005
Copyright (C) 1998-2005 Gilles Vollant
Modifications for Info-ZIP crypting
Copyright (C) 2003 Terry Thorsen
This code is a modified version of crypting code in Info-ZIP distribution
Copyright (C) 1990-200... | bsd-2-clause |
seibert/numba | numba/cuda/cudadrv/_extras.c | 9 | 1176 | /*
* Helper binding to call some CUDA Runtime API that cannot be directly
* encoded using ctypes.
*/
#include "_pymodule.h"
#define CUDA_IPC_HANDLE_SIZE 64
typedef int CUresult;
typedef void* CUdeviceptr;
typedef struct CUipcMemHandle_st{
char reserved[CUDA_IPC_HANDLE_SIZE];
} CUipcMemHandle;
typedef CUres... | bsd-2-clause |
reckonMe/reckonMe | reckonMe/Pods/proj4/proj/src/pj_gauss.c | 28 | 2793 | /*
** libproj -- library of cartographic projections
**
** Copyright (c) 2003 Gerald I. Evenden
*/
static const char
LIBPROJ_ID[] = "$Id: pj_gauss.c 1856 2010-06-11 03:26:04Z warmerdam $";
/*
** Permission is hereby granted, free of charge, to any person obtaining
** a copy of this software and associated documentati... | bsd-2-clause |
litoupu/nginx-rtmp-module | ngx_rtmp_notify_module.c | 30 | 47888 |
/*
* Copyright (C) Roman Arutyunyan
*/
#include <ngx_config.h>
#include <ngx_core.h>
#include <ngx_md5.h>
#include "ngx_rtmp.h"
#include "ngx_rtmp_cmd_module.h"
#include "ngx_rtmp_netcall_module.h"
#include "ngx_rtmp_record_module.h"
#include "ngx_rtmp_relay_module.h"
static ngx_rtmp_connect_pt ... | bsd-2-clause |
mikedlowis-prototypes/albase | source/kernel/kernel/rcu/tree.c | 46 | 145227 | /*
* Read-Copy Update mechanism for mutual exclusion
*
* 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 version.
*
* This ... | bsd-2-clause |
ericli1989/nginx-1.0.14_comment | src/http/modules/ngx_http_charset_filter_module.c | 55 | 40984 |
/*
* Copyright (C) Igor Sysoev
* Copyright (C) Nginx, Inc.
*/
#include <ngx_config.h>
#include <ngx_core.h>
#include <ngx_http.h>
#define NGX_HTTP_CHARSET_OFF -2
#define NGX_HTTP_NO_CHARSET -3
#define NGX_HTTP_CHARSET_VAR 0x10000
/* 1 byte length and up to 3 bytes for the UTF-8 encoding of the UCS-2 ... | bsd-2-clause |
ethronsoft/stor | core/dependencies/osx/openssl/source/crypto/objects/o_names.c | 61 | 9930 | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <openssl/err.h>
#include <openssl/lhash.h>
#include <openssl/objects.h>
#include <openssl/safestack.h>
#include <openssl/e_os2.h>
/*
* Later versions of DEC C has started to add lnkage information to certain
* functions, which makes it tricky to us... | bsd-2-clause |
ProfFan/RMBoardTest | Drivers/CMSIS/DSP_Lib/Examples/arm_variance_example/ARM/arm_variance_example_f32.c | 79 | 7428 | /* ----------------------------------------------------------------------
* Copyright (C) 2010-2012 ARM Limited. All rights reserved.
*
* $Date: 17. January 2013
* $Revision: V1.4.0
*
* Project: CMSIS DSP Library
* Title: arm_variance_example_f32.c
*
* Description: Example code demo... | bsd-2-clause |
endplay/omniplay | linux-lts-quantal-3.5.0/drivers/net/ethernet/intel/igb/e1000_mac.c | 181 | 40884 | /*******************************************************************************
Intel(R) Gigabit Ethernet Linux driver
Copyright(c) 2007-2012 Intel Corporation.
This program is free software; you can redistribute it and/or modify it
under the terms and conditions of the GNU General Public License,
version ... | bsd-2-clause |
jrobhoward/SCADAbase | sys/dev/mpt/mpt.c | 1 | 85742 | /*-
* Generic routines for LSI Fusion adapters.
* FreeBSD Version.
*
* Copyright (c) 2000, 2001 by Greg Ansley
*
* 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... | bsd-3-clause |
RobotLocomotion/director | src/app/ddDrakeWrapper.cpp | 1 | 2505 | #include "ddDrakeWrapper.h"
#include "ddSharedPtr.h"
#include <drake/systems/plants/RigidBodyTree.h>
#include <drake/util/convexHull.h>
#include <drake/systems/plants/ForceTorqueMeasurement.h>
#include <vector>
#include <string>
#include <sstream>
#include <boost/shared_ptr.hpp>
#include <math.h>
using std::vector;
... | bsd-3-clause |
IntwineConnect/cta2045-wifi-modules | Aztec/Assert.c | 1 | 1432 | /********************************************************************************
* Add Intwine information here
********************************************************************************/
// This file contains device-specific data information
#ifdef WIN32
#define WIN32_LEAN_AND_MEAN // Exclude ra... | bsd-3-clause |
liangpengcheng/tng | dep/uv/test/benchmark-getaddrinfo.c | 1 | 2503 | /* 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... | bsd-3-clause |
ekawahyu/MSP430Ware | examples/MSP430i2xx/eusci_a_uart/eusci_a_uart_ex1_loopback115200Baud.c | 1 | 6065 | /* --COPYRIGHT--,BSD
* Copyright (c) 2014, Texas Instruments Incorporated
* 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 ab... | bsd-3-clause |
gaoxiaojun/symphony | ref/sqlite/src/mutex_unix.c | 1 | 12273 | /*
** 2007 August 28
**
** The author disclaims copyright to this source code. In place of
** a legal notice, here is a blessing:
**
** May you do good and not evil.
** May you find forgiveness for yourself and forgive others.
** May you share freely, never taking more than you give.
**
**********************... | bsd-3-clause |
JianpingZeng/xcc | xcc/test/juliet/testcases/CWE789_Uncontrolled_Mem_Alloc/s01/CWE789_Uncontrolled_Mem_Alloc__malloc_wchar_t_rand_54c.c | 2 | 1894 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE789_Uncontrolled_Mem_Alloc__malloc_wchar_t_rand_54c.c
Label Definition File: CWE789_Uncontrolled_Mem_Alloc__malloc.label.xml
Template File: sources-sinks-54c.tmpl.c
*/
/*
* @description
* CWE: 789 Uncontrolled Memory Allocation
* BadSource: rand Set data to re... | bsd-3-clause |
JianpingZeng/xcc | xcc/test/juliet/testcases/CWE690_NULL_Deref_From_Return/s02/CWE690_NULL_Deref_From_Return__w32_wfopen_65b.c | 2 | 1109 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE690_NULL_Deref_From_Return__w32_wfopen_65b.c
Label Definition File: CWE690_NULL_Deref_From_Return.fclose.label.xml
Template File: source-sinks-65b.tmpl.c
*/
/*
* @description
* CWE: 690 Unchecked Return Value To NULL Pointer
* BadSource: w32_wfopen Open data w... | bsd-3-clause |
bucricket/projectMASlst | source/include/hdf.f90 | 2 | 17275 | !****************************************************************************
!* NCSA HDF *
!* Software Development Group *
!* National Center for Supercomputing Applications *
!* Unive... | bsd-3-clause |
chenbaihu/grpc | test/core/network_benchmarks/low_level_ping_pong.c | 3 | 19732 | /*
*
* Copyright 2015, 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... | bsd-3-clause |
endlessm/chromium-browser | third_party/llvm/llvm/lib/DebugInfo/PDB/Native/NativeTypeUDT.cpp | 3 | 7101 | //===- NativeTypeUDT.cpp - info about class/struct type ---------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | bsd-3-clause |
openthread/ot-rtos | third_party/freertos/repo/FreeRTOS/Demo/CORTEX_M4F_CEC_MEC_17xx_51xx_Keil_GCC/peripheral_library/system_internal.c | 3 | 4598 | /**************************************************************************//**
* @file system_internal.c
* @brief CMSIS Device System Source File for
* Microchip ARMCM4F Device Series
* @version V1.09
* @date 27. August 2014
*
* @note
*
******************************************... | bsd-3-clause |
iot-chalmers/a2-synchrotron | a2-synchrotron-contiki/examples/z1/test-relay-phidget.c | 3 | 2648 | /*
* Copyright (c) 2011, Zolertia(TM) is a trademark of Advancare,SL
* 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
*... | bsd-3-clause |
dai1741/forked_from_MikuMikuDroid | MikuMikuDroid/jni/bullet/MiniCL/MiniCLTaskScheduler.cpp | 4 | 15732 | /*
Bullet Continuous Collision Detection and Physics Library
Copyright (c) 2003-2007 Erwin Coumans http://bulletphysics.com
This software is provided 'as-is', without any express or implied warranty.
In no event will the authors be held liable for any damages arising from the use of this software.
Permission is... | bsd-3-clause |
NDManh/numbbo | code-experiments/test/unit-test/test_mo_generics.c | 4 | 1787 | #include <stdarg.h>
#include <stddef.h>
#include <setjmp.h>
#include "cmocka.h"
#include "coco.h"
/**
* Tests the function mo_get_norm.
*/
static void test_mo_get_norm(void **state) {
double norm = 0;
double first[40] = { 0.51, 0.51, 0.53, 0.54, 0.63, 0.83, 0.25, 0.05, 0.60, 0.30, 0.01, 0.97, 0.55... | bsd-3-clause |
JakubBrachTieto/openthread | examples/platforms/kw41z/uart.c | 5 | 5896 | /*
* Copyright (c) 2017, The OpenThread Authors.
* 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 ... | bsd-3-clause |
buffer51/OpenBLAS | lapack-netlib/SRC/dla_lin_berr.f | 5 | 4490 | *> \brief \b DLA_LIN_BERR computes a component-wise relative backward error.
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
*> Download DLA_LIN_BERR + dependencies
*> <a href="http://www.netlib.org/cgi-bin/netl... | bsd-3-clause |
PKRoma/redis | src/childinfo.c | 7 | 7169 | /*
* Copyright (c) 2016, 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 copyrig... | bsd-3-clause |
RabadanLab/MITKats | Modules/IGT/Testing/mitkNavigationDataObjectVisualizationFilterTest.cpp | 7 | 22338 | /*===================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) German Cancer Research Center,
Division of Medical and Biological Informatics.
All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without
even the implied warranty o... | bsd-3-clause |
csulmone/skia | src/effects/gradients/SkRadialGradient.cpp | 8 | 21467 |
/*
* Copyright 2012 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "SkRadialGradient.h"
#include "SkRadialGradient_Table.h"
#define kSQRT_TABLE_BITS 11
#define kSQRT_TABLE_SIZE (1 << kSQRT_TABLE_BITS)
#if defined(SK_BUILD_FO... | bsd-3-clause |
mxOBS/deb-pkg_trusty_chromium-browser | third_party/skia/tests/Time.cpp | 11 | 1352 | /*
* Copyright 2014 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "SkTime.h"
#include "Test.h"
// Sanity checks for the GetDateTime function.
DEF_TEST(Time_GetDateTime, r) {
SkTime::DateTime dateTime;
SkTime::GetDateTime(&d... | bsd-3-clause |
hannespetur/SeqAnHTS | tests/graph_types/test_graph_types_derived.cpp | 12 | 6333 | // ==========================================================================
// SeqAn - The Library for Sequence Analysis
// ==========================================================================
// Copyright (c) 2006-2015, Knut Reinert, FU Berlin
// All rights reserved.
//
// Redistribution and us... | bsd-3-clause |
DARKPOP/external_chromium_org_third_party_WebKit | Source/core/animation/InterpolableValue.cpp | 13 | 2327 | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "config.h"
#include "core/animation/InterpolableValue.h"
namespace blink {
DEFINE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(InterpolableValue);
PassOwn... | bsd-3-clause |
novaquark/eigen | lapack/iladlc.f | 272 | 2952 | *> \brief \b ILADLC
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
*> Download ILADLC + dependencies
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/iladl... | bsd-3-clause |
kzhong1991/Flight-AR.Drone-2 | src/3rdparty/Qt4.8.4/src/corelib/tools/qsimd.cpp | 17 | 10246 | /****************************************************************************
**
** Copyright (C) 2012 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:LGPL$
** Commercial License Usage
** Licensees... | bsd-3-clause |
wdv4758h/blaze-lib | blazetest/src/mathtest/dmatsmatmult/AliasingTest.cpp | 19 | 48535 | //=================================================================================================
/*!
// \file src/mathtest/dmatsmatmult/AliasingTest.cpp
// \brief Source file for the dense matrix/dense matrix multiplication aliasing test
//
// Copyright (C) 2013 Klaus Iglberger - All Rights Reserved
//
// This f... | bsd-3-clause |
xianyi/OpenBLAS | driver/level2/trsv_L.c | 22 | 4026 | /*********************************************************************/
/* Copyright 2009, 2010 The University of Texas at Austin. */
/* All rights reserved. */
/* */
/* Redistribution and use in sou... | bsd-3-clause |
devoncarew/sky_engine | third_party/txt/src/minikin/LayoutUtils.cpp | 23 | 2717 | /*
* Copyright (C) 2015 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | bsd-3-clause |
bsergean/angle | src/compiler/translator/ValidateSwitch.cpp | 26 | 5835 | //
// Copyright (c) 2002-2015 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
#include "compiler/translator/ValidateSwitch.h"
#include "compiler/translator/ParseContext.h"
bool ValidateSwitch::validate(TBasicTy... | bsd-3-clause |
Pluto-tv/blink-crosswalk | Source/web/WebSpeechRecognitionResult.cpp | 26 | 2496 | /*
* Copyright (C) 2012 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 conditions ... | bsd-3-clause |
Acidburn0zzz/webm.libvpx | vp9/encoder/x86/vp9_highbd_quantize_intrin_sse2.c | 26 | 6673 | /*
* Copyright (c) 2014 The WebM project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributin... | bsd-3-clause |
UCSantaCruzComputationalGenomicsLab/clapack | SRC/dlapmt.c | 26 | 3739 | /* dlapmt.f -- translated by f2c (version 20061008).
You must link the resulting object file with libf2c:
on Microsoft Windows system, link with libf2c.lib;
on Linux or Unix systems, link with .../path/to/libf2c.a -lm
or, if you install libf2c.a in a standard place, with -lf2c -lm
-- in that order, at the end of... | bsd-3-clause |
CVML/OpenBLAS | lapack-netlib/SRC/ssytrs.f | 29 | 12401 | *> \brief \b SSYTRS
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
*> Download SSYTRS + dependencies
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/ssytr... | bsd-3-clause |
codenote/chromium-test | third_party/mesa/MesaLib/src/mesa/drivers/dri/unichrome/via_context.c | 32 | 28197 | /*
* Copyright 1998-2003 VIA Technologies, Inc. All Rights Reserved.
* Copyright 2001-2003 S3 Graphics, Inc. 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 witho... | bsd-3-clause |
bitfusionio/OpenBLAS | lapack-netlib/TESTING/LIN/zsyt03.f | 32 | 6262 | *> \brief \b ZSYT03
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
* Definition:
* ===========
*
* SUBROUTINE ZSYT03( UPLO, N, A, LDA, AINV, LDAINV, WORK, LDWORK,
* RWORK, RCOND, RESID )
*... | bsd-3-clause |
zcm19900902/picasso-graphic | android/freetype/src/base/ftbitmap.c | 33 | 14630 | /***************************************************************************/
/* */
/* ftbitmap.c */
/* */
/* Fr... | bsd-3-clause |
espadrine/opera | chromium/src/third_party/mesa/src/src/gallium/drivers/svga/svgadump/svga_shader_op.c | 33 | 7839 | /**********************************************************
* Copyright 2008-2009 VMware, Inc. 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
* restrict... | bsd-3-clause |
Multi2Sim/m2s-bench-parsec-3.0-src | tools/yasm/src/tools/re2c/translate.c | 41 | 4171 | #include "tools/re2c/globals.h"
unsigned char asc2asc[256] = {
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x0f,
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x1d,0x1e,0x1f,
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2a,0x2b,0x2c,0x2d,0x2e,0x2f,
0x30,0x31,0x3... | bsd-3-clause |
Mahdi-Rom/android_external_skia | gm/thinstrokedrects.cpp | 48 | 2135 | /*
* 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 "gm.h"
namespace skiagm {
// Draw rects with various stroke widths at 1/8 pixel increments
class ThinStrokedRectsGM : public GM {
public:
ThinStrokedRectsGM() {... | bsd-3-clause |
klusark/android_external_chromium_org | native_client_sdk/src/libraries/xray/xray.c | 49 | 23744 | /* Copyright (c) 2013 The Chromium Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file. */
/* XRay -- a simple profiler for Native Client */
#include <assert.h>
#include <errno.h>
#include <stdarg.h>
#include <stdint.h>
#include <stdio.... | bsd-3-clause |
anasazi/POP-REU-Project | pkgs/libs/ssl/src/engines/e_cswift.c | 57 | 31536 | /* crypto/engine/hw_cswift.c */
/* Written by Geoff Thorpe (geoff@geoffthorpe.net) for the OpenSSL
* project 2000.
*/
/* ====================================================================
* Copyright (c) 1999-2001 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, w... | bsd-3-clause |
cloudqiu1110/tinype | external/glslang/MachineIndependent/parseConst.cpp | 58 | 7292 | //
//Copyright (C) 2002-2005 3Dlabs Inc. Ltd.
//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... | bsd-3-clause |
openthread/ot-rtos | third_party/freertos/repo/FreeRTOS/Demo/CORTEX_A53_64-bit_UltraScale_MPSoC/RTOSDemo_A53_bsp/psu_cortexa53_0/libsrc/standalone_v6_6/src/fstat.c | 58 | 2021 | /******************************************************************************
*
* Copyright (C) 2009 - 2015 Xilinx, Inc. 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 Softw... | bsd-3-clause |
andoma/pdfium | third_party/lcms2-2.6/src/cmssamp.c | 63 | 18151 | //---------------------------------------------------------------------------------
//
// Little Color Management System
// Copyright (c) 1998-2010 Marti Maria Saguer
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the "Softwar... | bsd-3-clause |
Sciumo/redis | deps/lua/src/ltablib.c | 1343 | 7343 | /*
** $Id: ltablib.c,v 1.38.1.3 2008/02/14 16:46:58 roberto Exp $
** Library for Table Manipulation
** See Copyright Notice in lua.h
*/
#include <stddef.h>
#define ltablib_c
#define LUA_LIB
#include "lua.h"
#include "lauxlib.h"
#include "lualib.h"
#define aux_getn(L,n) (luaL_checktype(L, n, LUA_TTABLE), luaL_get... | bsd-3-clause |
xiaoqqchen/pcl | filters/src/fast_bilateral.cpp | 72 | 2080 | /*
* Software License Agreement (BSD License)
*
* Point Cloud Library (PCL) - www.pointclouds.org
* Copyright (c) 2012-, Open Perception, Inc.
* Copyright (c) 2004, Sylvain Paris and Francois Sillion
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification... | bsd-3-clause |
jorik041/phantomjs | src/qt/qtbase/src/plugins/platforms/linuxfb/qlinuxfbintegration.cpp | 84 | 3936 | /****************************************************************************
**
** 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 |
mortonjt/scipy | scipy/interpolate/src/_interpolate.cpp | 92 | 8170 | #include "Python.h"
#include <stdlib.h>
#include "interpolate.h"
#include "numpy/arrayobject.h"
using namespace std;
extern "C" {
static PyObject* linear_method(PyObject*self, PyObject* args, PyObject* kywds)
{
static char *kwlist[] = {"x","y","new_x","new_y", NULL};
PyObject *py_x, *py_y, *py_new_x, *py_ne... | bsd-3-clause |
farhi-naz/phantomjs | src/qt/qtbase/src/corelib/doc/snippets/code/src_corelib_kernel_qcoreapplication.cpp | 105 | 3666 | /****************************************************************************
**
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the documentation of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:BSD$
** You may use this file under the terms ... | bsd-3-clause |
tmuelle2/phantomjs | src/qt/qtwebkit/Source/WebCore/Modules/navigatorcontentutils/NavigatorContentUtils.cpp | 113 | 7016 | /*
* Copyright (C) 2011, Google Inc. All rights reserved.
* Copyright (C) 2012, 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... | bsd-3-clause |
ramanajee/phantomjs | src/qt/qtwebkit/Source/WebKit2/WebProcess/WebCoreSupport/WebColorChooser.cpp | 113 | 2873 | /*
* Copyright (C) 2012 Intel Corporation. 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 cond... | bsd-3-clause |
jkenn99/phantomjs | src/qt/qtwebkit/Source/WebCore/platform/graphics/wince/GraphicsContextWinCE.cpp | 118 | 57898 | /*
* Copyright (C) 2007-2009 Torch Mobile Inc.
* Copyright (C) 2010 Patrick Gansterer <paroga@paroga.com>
*
* 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
* version ... | bsd-3-clause |
keithroe/vtkoptix | ThirdParty/freetype/vtkfreetype/src/truetype/truetype.c | 376 | 1703 | /***************************************************************************/
/* */
/* truetype.c */
/* */
/* Fr... | bsd-3-clause |
dcourtois/premake-core | contrib/lua/src/ltablib.c | 124 | 13550 | /*
** $Id: ltablib.c,v 1.93.1.1 2017/04/19 17:20:42 roberto Exp $
** Library for Table Manipulation
** See Copyright Notice in lua.h
*/
#define ltablib_c
#define LUA_LIB
#include "lprefix.h"
#include <limits.h>
#include <stddef.h>
#include <string.h>
#include "lua.h"
#include "lauxlib.h"
#include "lualib.h"
/*
... | bsd-3-clause |
woodscn/scipy | scipy/sparse/linalg/eigen/arpack/ARPACK/SRC/dsgets.f | 141 | 7453 | c-----------------------------------------------------------------------
c\BeginDoc
c
c\Name: dsgets
c
c\Description:
c Given the eigenvalues of the symmetric tridiagonal matrix H,
c computes the NP shifts AMU that are zeros of the polynomial of
c degree NP which filters out components of the unwanted eigenvectors... | bsd-3-clause |
alvieboy/xtc-base | newlib/newlib-2.0.0/newlib/libc/iconv/ccs/cns11643_plane2.c | 143 | 612798 | /*
* This file was generated automatically - don't edit it.
* File contains iconv CCS tables for cns11643_plane2 encoding.
*/
#include "ccsbi.h"
#if defined (ICONV_TO_UCS_CCS_CNS11643_PLANE2) \
|| defined (ICONV_FROM_UCS_CCS_CNS11643_PLANE2)
#include <_ansi.h>
#include <sys/types.h>
#include <sys/param.h>
#inclu... | bsd-3-clause |
eugene1g/phantomjs | src/qt/qtwebkit/Source/WebKit2/Shared/API/c/cg/WKGraphicsContextCG.cpp | 144 | 1644 | /*
* Copyright (C) 2011 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 conditions a... | bsd-3-clause |
mostsun1987/codis | extern/redis-2.8.13/deps/hiredis/async.c | 151 | 22288 | /*
* Copyright (c) 2009-2011, Salvatore Sanfilippo <antirez at gmail dot com>
* Copyright (c) 2010-2011, Pieter Noordhuis <pcnoordhuis 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 condit... | bsd-3-clause |
nfxosp/platform_external_skia | experimental/DrawingBoard/SampleDrawingServer.cpp | 164 | 7313 | #include "SampleCode.h"
#include "SkView.h"
#include "SkCanvas.h"
#include "SkGPipe.h"
#include "SkSockets.h"
#include "SkNetPipeController.h"
#include "SkCornerPathEffect.h"
#include "SkOSMenu.h"
#include <map>
/**
* Drawing Server
*
* This simple drawing server can accept connections from multiple drawing
* clie... | bsd-3-clause |
Nu3001/external_chromium_org | native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_mutexattr_setkind_np.c | 420 | 1708 | /*
* pthread_mutexattr_setkind_np.c
*
* Description:
* This translation unit implements non-portable thread functions.
*
* --------------------------------------------------------------------------
*
* Pthreads-win32 - POSIX Threads Library for Win32
* Copyright(C) 1998 John E. Bossom
* Copyrig... | bsd-3-clause |
lokeshjindal15/pd-gem5 | kernel_dvfs/linux-linaro-tracking-gem5/arch/powerpc/mm/init_64.c | 429 | 10324 | /*
* PowerPC version
* Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org)
*
* Modifications by Paul Mackerras (PowerMac) (paulus@cs.anu.edu.au)
* and Cort Dougan (PReP) (cort@cs.nmt.edu)
* Copyright (C) 1996 Paul Mackerras
*
* Derived from "arch/i386/mm/init.c"
* Copyright (C) 1991, 1992, 1993... | bsd-3-clause |
daoluan/decode-redis-2.8 | deps/lua/src/lcode.c | 967 | 21170 | /*
** $Id: lcode.c,v 2.25.1.5 2011/01/31 14:53:16 roberto Exp $
** Code generator for Lua
** See Copyright Notice in lua.h
*/
#include <stdlib.h>
#define lcode_c
#define LUA_CORE
#include "lua.h"
#include "lcode.h"
#include "ldebug.h"
#include "ldo.h"
#include "lgc.h"
#include "llex.h"
#include "lmem.h"
#include "... | bsd-3-clause |
eriknstr/ThinkPad-FreeBSD-setup | FreeBSD/contrib/llvm/tools/lldb/source/API/SystemInitializerFull.cpp | 2 | 15074 | //===-- SystemInitializerFull.cpp -------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | isc |
Webern/MusicXML-Class-Library | Sourcecode/private/mxtest/api/TranspositionTest.cpp | 1 | 38385 | // MusicXML Class Library
// Copyright (c) by Matthew James Briggs
// Distributed under the MIT License
#include "mxtest/control/CompileControl.h"
#ifdef MX_COMPILE_API_TESTS
#include "cpul/cpulTestHarness.h"
#include "mx/api/DocumentManager.h"
#include "mx/core/Document.h"
#include "mx/core/elements/Chromatic.h"
#inc... | mit |
quitejonny/tangram-es | core/src/style/style.cpp | 1 | 18362 | #include "style/style.h"
#include "data/tileSource.h"
#include "gl/renderState.h"
#include "gl/shaderProgram.h"
#include "gl/mesh.h"
#include "log.h"
#include "map.h"
#include "marker/marker.h"
#include "scene/light.h"
#include "scene/scene.h"
#include "scene/spriteAtlas.h"
#include "scene/styleParam.h"
#include "styl... | mit |
yahiahisham14/bde_verify | groups/csa/csatr/csatr_friendship.cpp | 1 | 8481 | // csatr_friendship.cpp -*-C++-*-
#include <clang/AST/Decl.h>
#include <clang/AST/DeclBase.h>
#include <clang/AST/DeclCXX.h>
#include <clang/AST/DeclFriend.h>
#include <clang/AST/DeclTemplate.h>
#include <clang/AST/TemplateName.h>
#include <clang/AST/Type.h>
#include <clan... | mit |
matsumoto-r/mruby-uname | src/mrb_uname.c | 1 | 2694 | /*
** mrb_uname.c - Uname class
**
** Copyright (c) MATSUMOTO Ryosuke 2014
**
** See Copyright Notice in LICENSE
*/
#include "mruby.h"
#include "mruby/variable.h"
#include "mruby/class.h"
#include "mruby/data.h"
#include "mrb_uname.h"
#include <sys/utsname.h>
#define DONE mrb_gc_arena_restore(mrb, 0);
typedef struct... | mit |
Zhang-RQ/OI_DataBase | BZOJ/3262.cpp | 1 | 1733 | #include<cstdio>
#include<cstring>
#include<cstdlib>
#include<cctype>
#include<cmath>
#include<iostream>
#include<algorithm>
#include<vector>
#include<set>
#include<map>
#include<queue>
#include<stack>
typedef long long ll;
typedef unsigned long long ull;
using namespace std;
const int MAXN=1E5+5;
const int MAXK=2E5+5;... | mit |
gbelwariar/Self-Made-Projects | Number-Of-Factors-Of-Factorial/Legendre's_Method.cpp | 1 | 1279 | #include <bits/stdc++.h>
using namespace std;
// A recursive funtion to find the exponent of the highest
// power of 'p' which is divisible by n!
int findHighestPower(int n, int p)
{
// Base Case
if(n==0)
return 0;
// Do floor operation and recurse
return (n/p + findHighestPower(n/p, p));
}
int... | mit |
redagito/CG2015 | source/resource/core/LoadShader.cpp | 1 | 3729 | #include "LoadShader.h"
#include "CResourceManager.h"
#include "debug/Log.h"
#include "io/JsonUtil.h"
#include "io/JsonDeserialize.h"
#include "io/CIniFile.h"
bool load(const std::string& file, CResourceManager& manager, SShader& shader)
{
std::string vertex;
std::string tessControl;
std::string tessEval;
std::st... | mit |
obono/ArduboyWorks | evasion/title.cpp | 1 | 15026 | #include "common.h"
/* Defines */
#define SPEED_MAX 9
#define ACCEL_MAX 3
#define DENSITY_MAX 5
#define THICKNESS_MAX 5
enum STATE_T : uint8_t {
STATE_INIT = 0,
STATE_TOP,
STATE_SETTINGS,
STATE_CREDIT,
STATE_NOTICE,
STATE_STARTED,
};
#define IMG_TITLE_W 88
#define IMG... | mit |
AntonBogomolov/LightSpeedLimit | LSL/AppManager.cpp | 1 | 2680 | #include "AppManager.h"
#include "global.h"
#include "VideoManeger.h"
#include "ResourceManager.h"
#include "GLUtils.h"
#include "EventsManager.h"
#include "InputManager.h"
#include "GameEvent.h"
#include "InputEvent.h"
#include "AppDefines.h"
#include "Log.h"
#include "Scene.h"
#include "MainMenu.h"
#include "StarSys... | mit |
niello/deusexmachina | Deps/vorbis/lib/info.c | 1 | 19788 | /********************************************************************
* *
* THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
* USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
* GOVERNED BY A BSD-STYLE SOURCE LICENS... | mit |
paintdream/PaintsNow | Source/Shell/LostDream/main.cpp | 1 | 1215 | // LostDream Test Entry
#include "../../Core/PaintsNow.h"
#include "../../Utility/LeavesFlute/LeavesFlute.h"
#include "LostDream.h"
#include "Spatial/Spatial.h"
#include "Reflection/Reflection.h"
#include "Parallel/Parallel.h"
#include "Network/Network.h"
#include "../../Utility/LeavesFlute/Platform.h"
#ifdef _WIN32
#i... | mit |
murataka9/iOSinOF-NativeGUISample | of_v0.9.3_ios_release/libs/openFrameworks/sound/ofSoundBuffer.cpp | 1 | 18814 | /*
* ofSoundBuffer.cpp
*
* Created on: 25/07/2012
* Author: arturo
*/
#include "ofSoundBuffer.h"
#include "ofSoundUtils.h"
#include "ofLog.h"
#include <limits>
#if !defined(TARGET_ANDROID) && !defined(TARGET_IPHONE) && !defined(TARGET_LINUX_ARM)
ofSoundBuffer::InterpolationAlgorithm ofSoundBuffer::defaultA... | mit |
relminator/SpaceImpakto-DS | src/source/bezier_loop.cpp | 1 | 1051 | /*======================================================================
loop Bezier Coordinates
Generated By Bezier Designer
Relminator 2010
======================================================================*/
#include "bezier_loop.h"
// Point Format:
// x,y
// Table Format:
... | mit |
nisc-code/dpkg | dpkg-1.17.5ubuntu5.3/dpkg-split/join.c | 1 | 4442 | /*
* dpkg-split - splitting and joining of multipart *.deb archives
* join.c - joining
*
* Copyright © 1995 Ian Jackson <ian@chiark.greenend.org.uk>
*
* This 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 Foundat... | mit |
UANDES-OSN-201720/tarea-1-1-arpaci-lovers | main.c | 1 | 5900 | #include <stdio.h>
#include <stdbool.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/types.h>
#include <time.h>
int random_time(){
srand(time(NULL));
int t = (rand() % (500001 - 100000)) + 100000;
return t;
}
typedef struct
{
unsigned int banco;
unsigned int sucursal;
unsig... | mit |
Moonhint/Smart-Lock-Prototype | Embed2014/Keil/Library/NUC1xx/Source/SPI.c | 1 | 99845 | /*---------------------------------------------------------------------------------------------------------*/
/* */
/* Copyright(c) 2009 Nuvoton Technology Corp. All rights reserved. ... | mit |
randomstuff/dnsfwd | src/service.cpp | 1 | 2500 | /* The MIT License (MIT)
Copyright (c) 2015 Gabriel Corona
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... | mit |
simplemachines-italy/hempl | src/common_tmr.c | 1 | 12227 | // Common code, timer section
// Also implements virtual timers
#include "platform.h"
#include "platform_conf.h"
#include "type.h"
#include "common.h"
#include "elua_int.h"
#include "utils.h"
#include <stdio.h>
// [TODO] when the new build system is ready, automatically add the
// code below in platform_conf.h
#if de... | mit |
Bitcoin-ABC/bitcoin-abc | src/compressor.cpp | 1 | 5681 | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <compressor.h>
#include <pubkey.h>
#include <script/standard.h>
/*
* ... | mit |
jluttine/matlab | matrix_computations/lchol_grad_sparse.c | 1 | 3629 |
#include "mex.h"
#include "string.h"
#include "math.h"
/* TODO: THIS IMPLEMENTATION IS QUICK AND DIRTY, NOT OPTIMIZED NOR MADE EASY TO USE. */
int compare
(
const void * a,
const void * b
)
{
return (int)*(double*)a - (int)*(double*)b;
}
/*
* Cholesky decomposition and its derivative for a sparse matrix K.
*... | mit |
f0rki/cb-multios | original-challenges/Flight_Routes/src/utility.c | 1 | 1448 | /*
Author: Steve Wood <swood@cromulence.com>
Copyright (c) 2016 Cromulence 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 restriction, including without limitation the rights
to use... | mit |
zhangjitao/Smart-3D | Extern/poco-1.5.2/Foundation/src/Path_WIN32.cpp | 1 | 3961 | //
// Path_WIN32.cpp
//
// $Id: //poco/1.4/Foundation/src/Path_WIN32.cpp#4 $
//
// Library: Foundation
// Package: Filesystem
// Module: Path
//
// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// Permission is hereby granted, free of charge, to any person or organizat... | mit |
Vault16Software/Blue-Flame-Engine | Blue-Flame-Engine/Core/BF/IO/OBJLoader.cpp | 1 | 8538 | #include "OBJLoader.h"
namespace BF
{
namespace IO
{
using namespace std;
using namespace BF::Graphics;
using namespace BF::Math;
struct OBJReader::Index
{
int positionIndex, texcoordIndex, normalIndex;
unsigned int index;
Index(int positionIndex, int texcoordIndex, int normalIndex, unsigned int... | mit |
Duffycola/lasertowerspp | test/test.cpp | 1 | 1766 | //
// test.cpp
// lasertowerspp
//
// Created by Eduard Feicho <eduard.feicho@rwth-aachen.de> on 28.05.12.
//
//
// The MIT License (MIT)
//
// Copyright (c) 2012 Eduard Feicho
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (t... | mit |
pdrobek/polcoin-new | src/checkpoints.cpp | 1 | 5116 | // 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 <boost/assign/list_of.hpp> // for 'map_list_of()'
#include <boost/foreach.hpp>
#include "checkpoints.h"
#include "m... | mit |
kojiba/PRay | Classes/RayFoundation/REncoding/PurgeEvasionUtilsRay.c | 2 | 3918 | /**
* PurgeEvasionIUtilsRay.c
* Utils for work with cipher for libRay.
* Author Kucheruavyu Ilya (kojiba@protonmail.com)
* 8/26/15 Ukraine Kharkiv
* _ _ _ _
* | | (_|_) |
* | | _____ _ _| |__ __ _
* | |/ / _ \| | | '_ \ / _` |
* | < (_) | | | |_) | (_| |
* |_|\_\___/| |_|_.__/ \__,_|
* ... | mit |
jrick/bitcoin | src/rpcmining.cpp | 2 | 29719 | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "amount.h"
#include "chainparams.h"
#include "consensus/consensus.h"
#include... | mit |
wsAndy/elevation_mapping | elevation_mapping/src/sensor_processors/SensorProcessorBase.cpp | 2 | 5642 | /*
* SensorProcessorBase.cpp
*
* Created on: Jun 6, 2014
* Author: Péter Fankhauser, Hannes Keller
* Institute: ETH Zurich, Autonomous Systems Lab
*/
#include <elevation_mapping/sensor_processors/SensorProcessorBase.hpp>
//PCL
#include <pcl/pcl_base.h>
#include <pcl/common/transforms.h>
#include <pcl/co... | mit |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.