repo_name string | path string | copies string | size string | content string | license string |
|---|---|---|---|---|---|
0x0all/ROOT | interpreter/llvm/src/tools/clang/test/CodeGen/aarch64-neon-vget-hilo.c | 15 | 4685 | // REQUIRES: aarch64-registered-target
// RUN: %clang_cc1 -triple arm64-none-linux-gnu -target-feature +neon \
// RUN: -ffp-contract=fast -S -O3 -o - %s | FileCheck %s --check-prefix CHECK-COMMON --check-prefix CHECK-ARM64
// Test new aarch64 intrinsics and types
#include <arm_neon.h>
int8x8_t test_vget_high_s8(in... | lgpl-2.1 |
foxban/libvirt-0.9.12-centos5 | gnulib/tests/test-stdint.c | 16 | 11390 | /* Test of <stdint.h> substitute.
Copyright (C) 2006-2012 Free Software Foundation, Inc.
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 3 of the License, or
(at your op... | lgpl-2.1 |
jasonatran/RIOT | drivers/saul/init_devs/auto_init_ad7746.c | 16 | 2366 | /*
* Copyright (C) 2019 HAW Hamburg
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*
*/
/**
* @ingroup sys_auto_init_saul
* @{
*
* @file
* @brief Auto initialization of AD774... | lgpl-2.1 |
elgambitero/FreeCAD_sf_master | src/Mod/Mesh/Gui/ViewProviderMeshFaceSet.cpp | 17 | 8015 | /***************************************************************************
* Copyright (c) 2006 Werner Mayer <wmayer[at]users.sourceforge.net> *
* *
* This file is part of the FreeCAD CAx development system. *
* ... | lgpl-2.1 |
droozynuu/doom-android | project/sdl/sdl-1.3/src/thread/nds/SDL_syscond.c | 21 | 6200 | /*
SDL - Simple DirectMedia Layer
Copyright (C) 1997-2010 Sam Lantinga
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.1 of the License, or (at your op... | lgpl-2.1 |
GrokImageCompression/gst-plugins-good | gst/multifile/test-splitmuxpartreader.c | 22 | 2591 | #include <gst/gst.h>
#include "gstsplitmuxpartreader.h"
#include "gstsplitmuxsrc.h"
GST_DEBUG_CATEGORY_EXTERN (splitmux_debug);
static const gchar *const path = "out001.mp4";
typedef struct _CustomData
{
GstSplitMuxPartReader *reader;
GMainLoop *main_loop;
GstBus *bus;
} CustomData;
static void
part_prepared ... | lgpl-2.1 |
BerserkerTroll/root | interpreter/llvm/src/tools/clang/lib/Driver/ToolChains/Haiku.cpp | 23 | 1135 | //===--- Haiku.cpp - Haiku ToolChain Implementations ------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | lgpl-2.1 |
artoolkit/osg | src/osgWrappers/deprecated-dotosg/osgFX/IO_Effect.cpp | 26 | 1682 | #include <osgFX/Effect>
#include <osgDB/Registry>
#include <osgDB/Input>
#include <osgDB/Output>
bool Effect_readLocalData(osg::Object &obj, osgDB::Input &fr);
bool Effect_writeLocalData(const osg::Object &obj, osgDB::Output &fw);
REGISTER_DOTOSGWRAPPER(Effect_Proxy)
(
0,
"osgFX::Effect",
"Object Node Gr... | lgpl-2.1 |
vukasinmilosevic/root | interpreter/llvm/src/lib/Target/NVPTX/NVPTXImageOptimizer.cpp | 30 | 5766 | //===-- NVPTXImageOptimizer.cpp - Image optimization pass -----------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===------------------------------------------------------... | lgpl-2.1 |
DarkLotus/OakCore | libraries/RF24/examples_RPi/gettingstarted_call_response.cpp | 30 | 6432 | /*
TMRh20 2014 - Updated to work with optimized RF24 Arduino library
*/
/**
* Example for efficient call-response using ack-payloads
*
* This example continues to make use of all the normal functionality of the radios including
* the auto-ack and auto-retry features, but allows ack-payloads to be written optionll... | lgpl-2.1 |
permcody/libmesh | contrib/exodusii/5.22b/exodus/cbind/test/testrd_ss.c | 30 | 11463 | /*
* Copyright (c) 2005 Sandia Corporation. Under the terms of Contract
* DE-AC04-94AL85000 with Sandia Corporation, the U.S. Governement
* retains certain rights in this software.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following con... | lgpl-2.1 |
paulthulstrup/moose | libmesh/contrib/qhull/2012.1/src/qhulltest/QhullPoint_test.cpp | 31 | 10363 | /****************************************************************************
**
** Copyright (c) 2008-2012 C.B. Barber. All rights reserved.
** $Id: //main/2011/qhull/src/qhulltest/QhullPoint_test.cpp#4 $$Change: 1490 $
** $DateTime: 2012/02/19 20:27:01 $$Author: bbarber $
**
******************************************... | lgpl-2.1 |
CodeDJ/qt5-hidpi | qt/qtdeclarative/examples/qml/referenceexamples/properties/person.cpp | 32 | 2312 | /****************************************************************************
**
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the examples of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:BSD$
** You may use this file under the terms of th... | lgpl-2.1 |
derek57/sdl-test | src/video/x11/SDL_x11video.c | 34 | 45534 | /*
SDL - Simple DirectMedia Layer
Copyright (C) 1997-2012 Sam Lantinga
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.1 of the License, or (at your op... | lgpl-2.1 |
brammittendorff/PF_RING | linux-3.16.7-ckt9/arch/parisc/kernel/firmware.c | 2101 | 42879 | /*
* arch/parisc/kernel/firmware.c - safe PDC access routines
*
* PDC == Processor Dependent Code
*
* See http://www.parisc-linux.org/documentation/index.html
* for documentation describing the entry points and calling
* conventions defined below.
*
* Copyright 1999 SuSE GmbH Nuernberg (Philipp Rumpf, prumpf@... | lgpl-2.1 |
nadult/mpg123 | src/libmpg123/dct64_altivec.c | 72 | 8298 | /*
dct64_altivec.c: Discrete Cosine Tansform (DCT) for Altivec
copyright ?-2006 by the mpg123 project - free software under the terms of the LGPL 2.1
see COPYING and AUTHORS files in distribution or http://mpg123.org
initially written by Michael Hipp
altivec optimization by tmkk
*/
/*
* Discrete Cosine Tansform... | lgpl-2.1 |
saitoha/SDL1.2-SIXEL | src/audio/nas/SDL_nasaudio.c | 81 | 11244 | /*
SDL - Simple DirectMedia Layer
Copyright (C) 1997-2012 Sam Lantinga
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.1 of the License, or (at your op... | lgpl-2.1 |
sexroute/commandergenius | project/jni/intl/src/printf-parse.c | 98 | 21600 | /* Formatted output to strings.
Copyright (C) 1999-2000, 2002-2003, 2006-2008 Free Software Foundation, Inc.
This program 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 2, or (... | lgpl-2.1 |
ogahara/Arduino | libraries/TFT/src/utility/Adafruit_GFX.cpp | 173 | 17185 | /*
This is the core graphics library for all our displays, providing a common
set of graphics primitives (points, lines, circles, etc.). It needs to be
paired with a hardware-specific library for each display device we carry
(to handle the lower-level functions).
Adafruit invests time and resources providing this ope... | lgpl-2.1 |
stanxii/wr1004sjl | linux-3.4.6/drivers/media/video/adp1653.c | 4784 | 12811 | /*
* drivers/media/video/adp1653.c
*
* Copyright (C) 2008--2011 Nokia Corporation
*
* Contact: Sakari Ailus <sakari.ailus@maxwell.research.nokia.com>
*
* Contributors:
* Sakari Ailus <sakari.ailus@maxwell.research.nokia.com>
* Tuukka Toivonen <tuukkat76@gmail.com>
*
* This program is free software; you can r... | lgpl-2.1 |
chuncky/test01 | linux-2.6.35.4/arch/arm/mach-mx3/mach-mx31_3ds.c | 699 | 11304 | /*
* Copyright 2008 Freescale Semiconductor, Inc. All Rights Reserved.
*
* 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 v... | lgpl-2.1 |
moddevices/cc-master | server/src/base64.c | 1 | 3324 | /* This is a public domain base64 implementation written by WEI Zhicheng. */
#include <stdio.h>
#include "base64.h"
/* BASE 64 encode table */
static const char base64en[] = {
'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H',
'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P',
'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X',
'Y', 'Z', 'a', 'b... | lgpl-3.0 |
pcolby/libqtaws | src/nimblestudio/geteularequest.cpp | 1 | 2702 | /*
Copyright 2013-2021 Paul Colby
This file is part of QtAws.
QtAws 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 3 of the License, or
(at your option) any later v... | lgpl-3.0 |
Motesque/photon-firmware | hal/src/stm32f2xx/bootloader_platform_6.c | 1 | 97004 | const unsigned char bootloader_platform_6_bin[] = {
0x00, 0x00, 0x02, 0x20, 0x3d, 0x35, 0x00, 0x08, 0xdf, 0x13, 0x00, 0x08,
0xdd, 0x13, 0x00, 0x08, 0xdb, 0x13, 0x00, 0x08, 0xd9, 0x13, 0x00, 0x08,
0xd7, 0x13, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x... | lgpl-3.0 |
aamaricci/SciFortran | src/fftpack/sint1f.f90 | 1 | 3556 | subroutine sint1f ( n, inc, x, lenx, wsave, lensav, work, lenwrk, ier )
!*****************************************************************************80
!
!! SINT1F: real double precision forward sine transform, 1D.
!
! Discussion:
!
! SINT1F computes the one-dimensional Fourier transform of an odd
! sequence w... | lgpl-3.0 |
PankajKataria/radare2 | libr/bin/p/bin_any.c | 3 | 1523 | /* radare - LGPL - Copyright 2009-2017 - pancake, nibble */
#include <r_types.h>
#include <r_util.h>
#include <r_lib.h>
#include <r_bin.h>
#include <r_magic.h>
static char *get_filetype(RBinFile *bf) {
ut8 buf[4096] = {
0
};
char *res = NULL;
RMagic *ck;
if (!bf) {
return NULL;
}
ck = r_magic_new (0);
if ... | lgpl-3.0 |
smessmer/cryfs | src/cryfs-cli/program_options/Parser.cpp | 3 | 11185 | #include "Parser.h"
#include "utils.h"
#include <iostream>
#include <boost/optional.hpp>
#include <cryfs/impl/config/CryConfigConsole.h>
#include <cryfs/impl/CryfsException.h>
#include <cryfs-cli/Environment.h>
namespace po = boost::program_options;
namespace bf = boost::filesystem;
using namespace cryfs_cli::program_... | lgpl-3.0 |
berkmancenter/metalab_rgbdemo | nestk/deps/openni/Source/OpenNI/Linux-x86/LinuxUSBDevice.cpp | 3 | 23448 | /****************************************************************************
* *
* OpenNI 1.1 Alpha *
* Copyright (C) 2011 PrimeSense Ltd. *
* ... | lgpl-3.0 |
mfine/libswiftnav | clapack-3.2.1-CMAKE/SRC/csysvx.c | 26 | 13700 | /* csysvx.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... | lgpl-3.0 |
fnoble/libswiftnav | clapack-3.2.1-CMAKE/SRC/slaqgb.c | 26 | 6153 | /* slaqgb.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... | lgpl-3.0 |
FlibbleMr/neogfx | 3rdparty/zlib/zlib-1.2.8/contrib/minizip/minizip.c | 1119 | 15034 | /*
minizip.c
Version 1.1, February 14h, 2010
sample part of the MiniZip project - ( http://www.winimage.com/zLibDll/minizip.html )
Copyright (C) 1998-2010 Gilles Vollant (minizip) ( http://www.winimage.com/zLibDll/minizip.html )
Modifications of Unzip for Zip64
Copyright (C) 2007-2... | lgpl-3.0 |
tunneff/tef | deps/boost_1_63_0/libs/python/src/object/inheritance.cpp | 127 | 14710 | // Copyright David Abrahams 2002.
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#include <boost/python/object/inheritance.hpp>
#include <boost/python/type_id.hpp>
#include <boost/graph/breadth_first_search.hpp>... | lgpl-3.0 |
EvanHa/rbp | linux/drivers/net/mii.c | 1156 | 12617 | /*
mii.c: MII interface library
Maintained by Jeff Garzik <jgarzik@pobox.com>
Copyright 2001,2002 Jeff Garzik
Various code came from myson803.c and other files by
Donald Becker. Copyright:
Written 1998-2002 by Donald Becker.
This software may be used and distributed according
to the terms of the GNU Ge... | lgpl-3.0 |
lbv/pc-code | solved/x-z/yet-another-number-sequence/lightoj/seq.cpp | 2 | 1630 | #include <cstdio>
#include <cstring>
#define MAXM 4
#define Zero(v) memset((v), 0, sizeof(v))
typedef long long i64;
typedef unsigned long long u64;
i64 Mod;
//
// Matrix Exponentiation
//
typedef i64 t_m;
#define MAXR 2
#define MAXC 2
struct Matrix {
int r, c;
t_m m[MAXR][MAXC];
void init(int R, i... | unlicense |
tgatomic/Voltage-Sensing | Firmware/Atmel_project/Atmel_project/u8g_oled/u8g_dev_ssd1322_nhd31oled_bw.c | 229 | 12264 | /*
u8g_dev_ssd1322_nhd31oled_bw.c
1-Bit (BW) Driver for SSD1322 Controller (OLED Display)
Tested with NHD-3.12-25664
Universal 8bit Graphics Library
Copyright (c) 2012, olikraus@gmail.com
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are ... | unlicense |
slightperturbation/Cobalt | ext/emsdk_portable/emscripten/1.27.0/tests/unistd/curdir.c | 1 | 2536 | #include <stdio.h>
#include <errno.h>
#include <unistd.h>
#include <fcntl.h>
#include <emscripten.h>
int main() {
EM_ASM(
var dummy_device = FS.makedev(64, 0);
FS.registerDevice(dummy_device, {});
FS.mkdev('/device', dummy_device);
FS.mkdir('/folder');
FS.symlink('/folder', '/link');
FS.writ... | apache-2.0 |
JoyIfBam5/aws-sdk-cpp | aws-cpp-sdk-opsworks/source/model/UpdateAppRequest.cpp | 1 | 3710 | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | apache-2.0 |
PrimeSense/NiTEControls | Wrappers/NiteControls.c/MessageListener.cpp | 1 | 6008 | /*****************************************************************************
* *
* NiTE Controls 1.x Alpha *
* Copyright (C) 2013 PrimeSense Ltd. *
* ... | apache-2.0 |
NEWPLAN/AIOS | lib/libc/stdlib/putenv.c | 1 | 1517 | /* This file is part of The Firekylin Operating System.
*
* Copyright 2016 Liuxiaofeng
*
* 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/LIC... | apache-2.0 |
woshipike00/FreeRDP | server/Sample/sfreerdp.c | 1 | 20408 | /**
* FreeRDP: A Remote Desktop Protocol Implementation
* FreeRDP Test Server
*
* Copyright 2011 Marc-Andre Moreau <marcandre.moreau@gmail.com>
* Copyright 2011 Vic Lee
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You m... | apache-2.0 |
sschiau/swift | lib/SILOptimizer/Mandatory/AddressLowering.cpp | 1 | 57938 | //===--- AddressLowering.cpp - Lower SIL address-only types. --------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... | apache-2.0 |
Simran-B/arangodb | lib/SimpleHttpClient/SimpleHttpClient.cpp | 1 | 32947 | ////////////////////////////////////////////////////////////////////////////////
/// DISCLAIMER
///
/// Copyright 2014-2021 ArangoDB GmbH, Cologne, Germany
/// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany
///
/// Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use this file except... | apache-2.0 |
cannonrobot/Balance_Car_STM32 | product/application/balance_car/vl6180x_application.c | 1 | 15967 | /**
******************************************************************************
* File Name : multi_dev.c
* Date : 12/1/2015
* Description : multi bear program body
******************************************************************************
*
* COPYRIGHT(c) 2014 STMicroelectr... | apache-2.0 |
dafer45/TBTK | Lib/src/PropertyExtractor/SelfEnergy2.cpp | 1 | 11204 | /* Copyright 2018 Kristofer Björnson
*
* 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 applicable law or agreed... | apache-2.0 |
digideskio/yara | libyara/arena.c | 1 | 23700 | /*
Copyright (c) 2013. The YARA Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agr... | apache-2.0 |
DFC-OpenSource/ox-ctrl | core/ox-mq-output.c | 1 | 6485 | /* OX: Open-Channel NVM Express SSD Controller
*
* - Multi-Queue Support for Parallel I/O - Output data and statistics
*
* Copyright 2018 IT University of Copenhagen
*
* Written by Ivan Luiz Picoli <ivpi@itu.dk>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file... | apache-2.0 |
dselsam/lean | src/library/vm/vm_json.cpp | 1 | 3240 | /*
Copyright (c) E.W.Ayers 2020. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: E.W.Ayers
*/
#include "frontends/lean/json.h"
#include "library/vm/vm.h"
#include "library/vm/vm_string.h"
#include "library/vm/vm_int.h"
#include "library/vm/vm_list.h"
#include "library/... | apache-2.0 |
GPUOpen-Drivers/llvm | utils/TableGen/SubtargetEmitter.cpp | 1 | 72324 | //===- SubtargetEmitter.cpp - Generate subtarget enumerations -------------===//
//
// 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
//
//===---------------------------... | apache-2.0 |
howard5888/wine | wine-1.7.7/dlls/d3d9/d3d9_main.c | 1 | 4479 | /*
* Direct3D 9
*
* Copyright 2002-2003 Jason Edmeades
* Copyright 2002-2003 Raphael Junqueira
* Copyright 2005 Oliver Stieber
*
* 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; e... | apache-2.0 |
axbannaz/axis2-c | src/core/transport/http/sender/libcurl/axis2_libcurl.c | 1 | 36521 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | apache-2.0 |
rklabs/folly | folly/portability/Sockets.cpp | 1 | 11891 | /*
* Copyright 2016-present Facebook, 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/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | apache-2.0 |
aws/aws-sdk-cpp | aws-cpp-sdk-wafv2/source/model/RuleActionOverride.cpp | 1 | 1301 | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/wafv2/model/RuleActionOverride.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespace Aws
{
name... | apache-2.0 |
nedmech/qlcplus | ui/src/virtualconsole/vcclock.cpp | 1 | 12353 | /*
Q Light Controller Plus
vcclock.cpp
Copyright (c) Massimo Callegari
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.txt
Unless re... | apache-2.0 |
svn2github/ImageMagick | MagickCore/timer.c | 1 | 18345 | /*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% %
% ... | apache-2.0 |
svagionitis/aws-sdk-cpp | aws-cpp-sdk-servicecatalog/source/model/TerminateProvisionedProductResult.cpp | 2 | 1509 | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | apache-2.0 |
google/earthenterprise | earth_enterprise/src/fusion/fusionui/AssetManager.cpp | 2 | 63028 | // Copyright 2017 Google Inc.
// Copyright 2020 The Open GEE Contributors
//
// 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
//
// Unles... | apache-2.0 |
xunilrj/sandbox | courses/columbia-cg-animation/week04/include/eigen/test/vectorization_logic.cpp | 4 | 5042 | // This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2008 Gael Guennebaud <gael.guennebaud@inria.fr>
//
// Eigen 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 Soft... | apache-2.0 |
vovythevov/CTK | Libs/DICOM/Core/ctkDICOMModel.cpp | 4 | 29852 | /*=========================================================================
Library: CTK
Copyright (c) Kitware 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.ap... | apache-2.0 |
aws/aws-sdk-cpp | aws-cpp-sdk-serverlessrepo/source/model/CreateApplicationVersionRequest.cpp | 4 | 1242 | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/serverlessrepo/model/CreateApplicationVersionRequest.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::ServerlessApplicationRepository::Model;
... | apache-2.0 |
OLR-xray/XRay-NEW | XRay/xr_3da/stalker_net/gamespy.net/serverbrowsing/sb_queryengine.c | 4 | 20014 | #include "sb_serverbrowsing.h"
#include "sb_internal.h"
#ifdef GSI_MANIC_DEBUG
// Make sure the server isn't already in the fifo
void FIFODebugCheckAdd(SBServerFIFO *fifo, SBServer server)
{
SBServer aServer = fifo->first;
while(aServer != NULL)
{
assert(aServer != server);
aServer = aServer->next;
}
}
// Ve... | apache-2.0 |
michelborgess/RealOne-Victara-Kernel | arch/arm/mach-msm/rpm-regulator-smd.c | 1286 | 50051 | /* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the... | apache-2.0 |
TheCallSign/Clifton-Source | src/game/server/hl2/npc_barney.cpp | 7 | 7047 | //========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
//=============================================================================//
#include "cbase.h"
#include "ai_default.h"
#include "ai_task.h"
#include "ai_schedule.h"
#include "ai_node.h"
#include "ai_hull.... | apache-2.0 |
avigad/lean | src/tests/shared/env.c | 7 | 16530 | /*
Copyright (c) 2015 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Leonardo de Moura
*/
#include <stdlib.h>
#include <stdio.h>
#include "api/lean.h"
void check_core(int v, unsigned l) {
if (!v) {
printf("Test failed at line %d\n", ... | apache-2.0 |
raphaelchang/quadthingy-software | base_station/ChibiOS_16.1.4/testhal/STM32/STM32F37x/USB_CDC/main.c | 8 | 7194 | /*
ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
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 requi... | apache-2.0 |
indashnet/InDashNet.Open.UN2000 | android/external/clang/test/Sema/format-strings-scanf.c | 9 | 9110 | // RUN: %clang_cc1 -fsyntax-only -verify -Wformat-nonliteral %s
// Test that -Wformat=0 works:
// RUN: %clang_cc1 -fsyntax-only -Werror -Wformat=0 %s
#include <stdarg.h>
typedef __typeof(sizeof(int)) size_t;
typedef struct _FILE FILE;
typedef __WCHAR_TYPE__ wchar_t;
int fscanf(FILE * restrict, const char * restrict,... | apache-2.0 |
adam8157/gpdb | src/backend/gporca/libgpopt/src/xforms/CXformLeftOuterApply2LeftOuterJoin.cpp | 10 | 1715 | //---------------------------------------------------------------------------
// Greenplum Database
// Copyright (C) 2012 EMC Corp.
//
// @filename:
// CXformLeftOuterApply2LeftOuterJoin.cpp
//
// @doc:
// Implementation of transform
//---------------------------------------------------------------------------
#incl... | apache-2.0 |
matsprea/omim | base/base_tests/geo_object_id_tests.cpp | 10 | 1933 | #include "testing/testing.hpp"
#include "base/geo_object_id.hpp"
namespace base
{
UNIT_TEST(GeoObjectId)
{
GeoObjectId const invalid(GeoObjectId::kInvalid);
TEST_EQUAL(invalid.GetType(), GeoObjectId::Type::Invalid, ());
TEST_EQUAL(DebugPrint(invalid), "Invalid 0", ());
GeoObjectId const node(GeoObjectId::Typ... | apache-2.0 |
shenki/skiboot | ccan/str/test/run.c | 13 | 2632 | #include <ccan/str/str.h>
#include <ccan/str/str.c>
#include <stdlib.h>
#include <stdio.h>
#include <ccan/tap/tap.h>
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof(arr[0]))
static const char *substrings[] = { "far", "bar", "baz", "b", "ba", "z", "ar",
NULL };
#define NUM_SUBSTRINGS (ARRAY_SIZE(substrings) - 1... | apache-2.0 |
fengshao0907/Open-Source-Research | HotSpot1.7-JVM-Linux-x86/src/cpu/x86/vm/interp_masm_x86_32.cpp | 14 | 51911 | /*
* Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | apache-2.0 |
graetzer/arangodb | 3rdParty/boost/1.71.0/libs/asio/example/cpp11/executors/priority_scheduler.cpp | 14 | 3940 | #include <boost/asio/dispatch.hpp>
#include <boost/asio/execution_context.hpp>
#include <condition_variable>
#include <iostream>
#include <memory>
#include <mutex>
#include <queue>
using boost::asio::dispatch;
using boost::asio::execution_context;
class priority_scheduler : public execution_context
{
public:
// A c... | apache-2.0 |
rokuz/omim | 3party/opening_hours/parse_timespans.cpp | 18 | 3124 | #include "parse_opening_hours.hpp"
#include "opening_hours_parsers.hpp"
#include <boost/spirit/include/phoenix_bind.hpp>
#include <boost/spirit/include/phoenix_operator.hpp>
namespace osmoh
{
namespace parsing
{
time_selector_parser::time_selector_parser() : time_selector_parser::base_type(main)
{
... | apache-2.0 |
mbrukman/bazel | third_party/grpc/src/core/statistics/census_init.c | 23 | 1930 | /*
*
* Copyright 2015-2016, Google Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of ... | apache-2.0 |
efortuna/AndroidSDKClone | ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/deque/deque.cons/size_value_alloc.pass.cpp | 28 | 1593 | //===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------... | apache-2.0 |
gerald-yang/ubuntu-iotivity-demo | iotivity-1.0.1/resource/csdk/stack/samples/tizen/SimpleClientServer/ocrouting.cpp | 29 | 1863 | /* ****************************************************************
*
* Copyright 2015 Samsung Electronics All Rights Reserved.
*
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
... | apache-2.0 |
davidfather/TizenRT | os/kernel/environ/env_findvar.c | 31 | 5039 | /****************************************************************************
*
* Copyright 2016 Samsung Electronics All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at... | apache-2.0 |
bentwire/mbed | libraries/mbed/targets/hal/TARGET_STM/TARGET_STM32F7/i2c_api.c | 31 | 13080 | /* mbed Microcontroller Library
*******************************************************************************
* Copyright (c) 2015, STMicroelectronics
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following condition... | apache-2.0 |
BartokW/sagetv | third_party/mplayer/get_path.c | 32 | 4101 |
/*
* Get path to config dir/file.
*
* Return Values:
* Returns the pointer to the ALLOCATED buffer containing the
* zero terminated path string. This buffer has to be FREED
* by the caller.
*
*/
#ifdef MACOSX_BUNDLE
#include <CoreFoundation/CoreFoundation.h>
#include <sys/types.h>
#include <sys/stat.h>
#... | apache-2.0 |
ckewinjones/sagetv | third_party/mplayer/libmpdemux/demux_rtp_codec.cpp | 32 | 15757 | ////////// Codec-specific routines used to interface between "MPlayer"
////////// and the "LIVE555 Streaming Media" libraries:
#include "demux_rtp_internal.h"
extern "C" {
#include <limits.h>
#include <math.h>
#include "stheader.h"
#include "base64.h"
}
#ifdef USE_LIBAVCODEC
AVCodecParserContext * h264parserctx;
#end... | apache-2.0 |
lightcyphers/otp | erts/etc/win32/port_entry.c | 34 | 2282 | /*
* %CopyrightBegin%
*
* Copyright Ericsson AB 1998-2016. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | apache-2.0 |
Vizerai/grpc | src/ruby/ext/grpc/rb_channel_args.c | 35 | 5077 | /*
*
* Copyright 2015 gRPC authors.
*
* 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 applicable law or agree... | apache-2.0 |
llvm-mirror/compiler-rt | lib/sanitizer_common/sanitizer_coverage_win_dll_thunk.cpp | 35 | 1055 | //===-- sanitizer_coverage_win_dll_thunk.cpp ------------------------------===//
//
// 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
//
//===---------------------------... | apache-2.0 |
TeamVee-Kanas/android_kernel_samsung_kanas | sound/soc/davinci/davinci-i2s.c | 2598 | 23796 | /*
* ALSA SoC I2S (McBSP) Audio Layer for TI DAVINCI processor
*
* Author: Vladimir Barinov, <vbarinov@embeddedalley.com>
* Copyright: (C) 2007 MontaVista Software, Inc., <source@mvista.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Pu... | apache-2.0 |
tmiranda1962/sagetv-1 | third_party/ffmpeg/libswscale/options.c | 43 | 3742 | /*
* Copyright (C) 2001-2003 Michael Niedermayer <michaelni@gmx.at>
*
* This file is part of FFmpeg.
*
* FFmpeg 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.1 of the Licens... | apache-2.0 |
infinnovation/mbed-os | targets/TARGET_STM/TARGET_STM32F1/device/stm32f1xx_ll_tim.c | 45 | 46399 | /**
******************************************************************************
* @file stm32f1xx_ll_tim.c
* @author MCD Application Team
* @version V1.1.0
* @date 14-April-2017
* @brief TIM LL module driver.
******************************************************************************
* @a... | apache-2.0 |
enikki/otp | lib/erl_interface/test/ei_format_SUITE_data/ei_format_test.c | 46 | 4375 | /*
* %CopyrightBegin%
*
* Copyright Ericsson AB 2001-2013. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | apache-2.0 |
hwfwgrp/mbed | libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_can.c | 50 | 46355 | /**
******************************************************************************
* @file stm32f1xx_hal_can.c
* @author MCD Application Team
* @version V1.0.0
* @date 15-December-2014
* @brief CAN HAL module driver.
* This file provides firmware functions to manage the following
* ... | apache-2.0 |
andyqzb/twemproxy | src/event/nc_kqueue.c | 56 | 10605 | /*
* twemproxy - A fast and lightweight proxy for memcached protocol.
* Copyright (C) 2011 Twitter, 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/lice... | apache-2.0 |
sergecodd/FireFox-OS | B2G/external/bluetooth/bluez/audio/media.c | 56 | 17745 | /*
*
* BlueZ - Bluetooth protocol stack for Linux
*
* Copyright (C) 2006-2007 Nokia Corporation
* Copyright (C) 2004-2009 Marcel Holtmann <marcel@holtmann.org>
*
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published b... | apache-2.0 |
indashnet/InDashNet.Open.UN2000 | lichee/linux-3.4/arch/sparc/kernel/auxio_32.c | 4409 | 3803 | /* auxio.c: Probing for the Sparc AUXIO register at boot time.
*
* Copyright (C) 1996 David S. Miller (davem@caip.rutgers.edu)
*/
#include <linux/stddef.h>
#include <linux/init.h>
#include <linux/spinlock.h>
#include <linux/of.h>
#include <linux/of_device.h>
#include <linux/export.h>
#include <asm/oplib.h>
#include... | apache-2.0 |
awetzel/otp | erts/emulator/test/port_bif_SUITE_data/port_test.c | 59 | 13041 | /*
* Author: Bjorn Gustavsson
* Purpose: A port program to be used for testing the open_port bif.
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#ifndef __WIN32__
#include <unistd.h>
#include <sys/time.h>
#define O... | apache-2.0 |
RockySteveJobs/python-for-android | python3-alpha/openssl/crypto/x509v3/v3_akey.c | 829 | 6531 | /* v3_akey.c */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 1999.
*/
/* ====================================================================
* Copyright (c) 1999 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* ... | apache-2.0 |
autopulated/mbed | libraries/dsp/cmsis_dsp/TransformFunctions/arm_cfft_radix4_init_f32.c | 67 | 6132 | /* ----------------------------------------------------------------------
* Copyright (C) 2010-2013 ARM Limited. All rights reserved.
*
* $Date: 17. January 2013
* $Revision: V1.4.1
*
* Project: CMSIS DSP Library
* Title: arm_cfft_radix4_init_f32.c
*
* Description: Radix... | apache-2.0 |
svastm/mbed | libraries/net/lwip/lwip/api/netifapi.c | 583 | 4836 | /**
* @file
* Network Interface Sequential API module
*
*/
/*
* 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... | apache-2.0 |
syDengWJ/opengl-series | platforms/ios/03_matrices/source/tdogl/Texture.cpp | 94 | 2266 | /*
tdogl::Texture
Copyright 2012 Thomas Dalling - http://tomdalling.com/
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 a... | apache-2.0 |
ghostkim-sc/SMG920T_profiling_enabled | fs/xfs/xfs_aops.c | 634 | 45257 | /*
* Copyright (c) 2000-2005 Silicon Graphics, Inc.
* All Rights Reserved.
*
* 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.
*
* This program is distributed in the hope that it would be ... | apache-2.0 |
loilo-inc/PdfRendererCompat | lib/src/main/cpp/external/libpng/contrib/arm-neon/android-ndk.c | 133 | 1358 | /* contrib/arm-neon/android-ndk.c
*
* Copyright (c) 2014 Glenn Randers-Pehrson
* Written by John Bowler, 2014.
* Last changed in libpng 1.6.10 [March 6, 2014]
*
* This code is released under the libpng license.
* For conditions of distribution and use, see the disclaimer
* and license in png.h
*
* SEE contrib... | apache-2.0 |
BackupGGCode/python-for-android | python3-alpha/openssl/crypto/ecdh/ecdhtest.c | 652 | 10526 | /* crypto/ecdh/ecdhtest.c */
/* ====================================================================
* Copyright 2002 Sun Microsystems, Inc. ALL RIGHTS RESERVED.
*
* The Elliptic Curve Public-Key Crypto Library (ECC Code) included
* herein is developed by SUN MICROSYSTEMS, INC., and is contributed
* to the OpenSSL... | apache-2.0 |
tung7970/mbed-os-1 | hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_tpm.c | 167 | 25738 | /*
* Copyright (c) 2015, Freescale Semiconductor, 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:
*
* o Redistributions of source code must retain the above copyright notice, this list... | apache-2.0 |
zjshen/hadoop-in-docker | hadoop-hdfs-project/hadoop-hdfs/src/main/native/fuse-dfs/fuse_stat_struct.c | 205 | 3402 | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... | apache-2.0 |
ghostkim-sc/SMG920T_profiling_enabled | drivers/media/pci/cx18/cx18-irq.c | 13820 | 2326 | /*
* cx18 interrupt handling
*
* Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl>
* Copyright (C) 2008 Andy Walls <awalls@md.metrocast.net>
*
* 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 Softw... | apache-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.