repo_name string | path string | copies string | size string | content string | license string |
|---|---|---|---|---|---|
renatofilho/QtCreator | src/plugins/qt4projectmanager/profilehighlighter.cpp | 3 | 3285 | /**************************************************************************
**
** This file is part of Qt Creator
**
** Copyright (c) 2011 Nokia Corporation and/or its subsidiary(-ies).
**
** Contact: Nokia Corporation (info@qt.nokia.com)
**
**
** GNU Lesser General Public License Usage
**
** This file may be used unde... | lgpl-2.1 |
degano/root | interpreter/llvm/src/tools/clang/tools/libclang/CXCursor.cpp | 3 | 40192 | //===- CXCursor.cpp - Routines for manipulating CXCursors -----------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | lgpl-2.1 |
PySide/PySide | doc/codesnippets/examples/itemviews/simpledommodel/dommodel.cpp | 4 | 5221 | /****************************************************************************
**
** 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:LGPL$
** Commercial License Usage
** Licensees hold... | lgpl-2.1 |
mplpl/m7z | lib7z/p7zip/p7zip_src/CPP/7zip/Archive/Wim/WimIn.cpp | 5 | 48204 | // Archive/WimIn.cpp
#include "StdAfx.h"
// #define SHOW_DEBUG_INFO
#ifdef SHOW_DEBUG_INFO
#include <stdio.h>
#define PRF(x) x
#else
#define PRF(x)
#endif
#include "../../../../C/CpuArch.h"
#include "../../../Common/IntToString.h"
#include "../../../Common/StringToInt.h"
#include "../../../Common/UTFConvert.h"
#i... | lgpl-2.1 |
Suresh2022/BluetoothHDP | src/agent.c | 5 | 13201 | /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/**
* \file agent.c
* \brief Protocol agent implementation.
* \author Adrian Guedes
* \author Fabricio Silva
* \author Elvis Pfutzenreuter
* \date May 31, 2011
*
* \internal
* Copyright (C) 2011 Signove Tecnologia Corporation.
* All rights res... | lgpl-2.1 |
alexcrichton/libgit2 | tests/object/tree/write.c | 5 | 11900 | #include "clar_libgit2.h"
#include "tree.h"
static const char *blob_oid = "fa49b077972391ad58037050f2a75f74e3671e92";
static const char *first_tree = "181037049a54a1eb5fab404658a3a250b44335d7";
static const char *second_tree = "f60079018b664e4e79329a7ef9559c8d9e0378d1";
static const char *third_tree = "eb86d8b81d6ad... | lgpl-2.1 |
kuba1/qtcreator | src/plugins/help/textbrowserhelpviewer.cpp | 5 | 12843 | /****************************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance wit... | lgpl-2.1 |
stefanklug/mapnik | demo/viewer/layerlistmodel.cpp | 6 | 3429 | /* This file is part of Mapnik (c++ mapping toolkit)
*
* Copyright (C) 2015 Artem Pavlenko
*
* Mapnik 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 any later vers... | lgpl-2.1 |
marcosnils/criu | action-scripts.c | 7 | 1624 | #include <unistd.h>
#include <stdio.h>
#include <limits.h>
#include <stdlib.h>
#include "cr_options.h"
#include "list.h"
#include "xmalloc.h"
#include "log.h"
#include "servicefd.h"
#include "cr-service.h"
#include "action-scripts.h"
static const char *action_names[ACT_MAX] = {
[ ACT_POST_DUMP ] = "post-dump",
[ AC... | lgpl-2.1 |
thidinhnguyen91/touchlib | src/RectifyFilter.cpp | 9 | 1771 |
#include <RectifyFilter.h>
#include <highgui.h>
#include <Image.h>
RectifyFilter::RectifyFilter(char* s) : Filter(s)
{
level = (unsigned int) DEFAULT_RECTIFYLEVEL;
level_slider = level;
bAutoSet = false;
}
RectifyFilter::~RectifyFilter()
{
}
void RectifyFilter::getParameters(ParameterMap... | lgpl-2.1 |
gautric/RIOT | cpu/nrf5x_common/periph/timer.c | 9 | 3817 | /*
* Copyright (C) 2014-2016 Freie Universität Berlin
* 2015 Jan Wagner <mail@jwagner.eu>
*
* 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 cpu_nrf5x_commo... | lgpl-2.1 |
luisbg/gst-plugins-good | gst/audiofx/audiocheblimit.c | 12 | 17284 | /*
* GStreamer
* Copyright (C) 2007-2009 Sebastian Dröge <sebastian.droege@collabora.co.uk>
*
* 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 2 of the License, o... | lgpl-2.1 |
elmarco/libvirt | src/locking/lock_daemon_config.c | 12 | 6552 | /*
* lock_daemon_config.c: virtlockd config file handling
*
* Copyright (C) 2006-2012 Red Hat, Inc.
* Copyright (C) 2006 Daniel P. Berrange
*
* 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 F... | lgpl-2.1 |
ndmsystems/uClibc | libc/sysdeps/linux/powerpc/posix_fadvise64.c | 16 | 1988 | /* vi: set sw=4 ts=4: */
/*
* posix_fadvise64() for uClibc
* http://www.opengroup.org/onlinepubs/009695399/functions/posix_fadvise.html
*
* Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
*
* Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
*/
#include <features.h>
#include <u... | lgpl-2.1 |
weimingtom/doom-android | project/sdl/sdl-1.3/src/joystick/dummy/SDL_sysjoystick.c | 20 | 2646 | /*
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 |
marcosalm/RIOT | drivers/cc110x_legacy_csma/cc1100_spi.c | 25 | 2652 | /*
* Copyright 2008, Freie Universitaet Berlin (FUB). All rights reserved.
*
* 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 dev_cc110x_legacy_csma
* @{
*/
/**
* @fil... | lgpl-2.1 |
MathieuDuponchelle/glib | gio/gnextstepsettingsbackend.c | 25 | 17728 | /*
* Copyright © 2011 William Hua
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the licence, or (at your option) any later version.
*
* This library is d... | lgpl-2.1 |
svallaghe/libmesh | contrib/exodusii/Lib/src/exgeat.c | 28 | 3270 | /*
* Copyright (c) 2006 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 |
tfar/RIOT | cpu/x86/x86_uart.c | 38 | 2525 | /*
* Copyright (C) 2014 René Kijewski <rene.kijewski@fu-berlin.de>
*
* 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 option) any l... | lgpl-2.1 |
381426068/Arduino | libraries/Ethernet/Ethernet.cpp | 44 | 3258 | #include "w5100.h"
#include "Ethernet.h"
#include "Dhcp.h"
// XXX: don't make assumptions about the value of MAX_SOCK_NUM.
uint8_t EthernetClass::_state[MAX_SOCK_NUM] = {
0, 0, 0, 0 };
uint16_t EthernetClass::_server_port[MAX_SOCK_NUM] = {
0, 0, 0, 0 };
int EthernetClass::begin(uint8_t *mac_address)
{
_dhcp =... | lgpl-2.1 |
carrot-garden/native_jna | native/libffi/testsuite/libffi.call/cls_schar.c | 812 | 1067 | /* Area: closure_call
Purpose: Check return value schar.
Limitations: none.
PR: none.
Originator: <andreast@gcc.gnu.org> 20031108 */
/* { dg-do run } */
#include "ffitest.h"
static void cls_ret_schar_fn(ffi_cif* cif __UNUSED__, void* resp, void** args,
void* userdata __UNUSED__)
{
*(ffi_arg*... | lgpl-2.1 |
foss-for-synopsys-dwc-arc-processors/RIOT | tests/thread_exit/main.c | 67 | 2000 | /*
* Copyright (C) 2013 INRIA
*
* 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 tests
* @{
*
* @file
* @brief Thread test application
*
* @author Oliver Hahm <oliv... | lgpl-2.1 |
brammittendorff/PF_RING | linux-3.16.7-ckt9/drivers/clk/rockchip/clk-rockchip.c | 1630 | 2326 | /*
* Copyright (c) 2013 MundoReader S.L.
* Author: Heiko Stuebner <heiko@sntech.de>
*
* 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... | lgpl-2.1 |
yhshen/cppunit-source-analysis | src/cppunit/ProtectorChain.cpp | 118 | 1686 | #include "ProtectorChain.h"
CPPUNIT_NS_BEGIN
class ProtectorChain::ProtectFunctor : public Functor
{
public:
ProtectFunctor( Protector *protector,
const Functor &functor,
const ProtectorContext &context )
: m_protector( protector )
, m_functor( functor )
, m_co... | lgpl-2.1 |
brammittendorff/PF_RING | linux-3.16.7-ckt9/drivers/clk/samsung/clk-s3c2410-dclk.c | 149 | 12377 | /*
* Copyright (c) 2013 Heiko Stuebner <heiko@sntech.de>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* Common Clock Framework support for s3c24xx external clock output.
... | lgpl-2.1 |
tgrochow/gemini | daemon/server.cpp | 1 | 7138 | #include <server.hpp>
#include <iostream>
namespace gemini
{
const std::string server::DEFAULT_RULE_SET("default.rules");
server::server() :
QObject(),
update_timer_frequency_(200),
update_counter_(0),
update_frequency_(5)
{
intf_info_server = new QLocalServer(this);
rule_set_server = new... | lgpl-3.0 |
precice/precice | src/utils/tests/StringTest.cpp | 1 | 2756 | #include <boost/test/tools/old/interface.hpp>
#include <string>
#include "math/constants.hpp"
#include "testing/TestContext.hpp"
#include "testing/Testing.hpp"
#include "utils/String.hpp"
using namespace precice;
using namespace precice::utils;
BOOST_AUTO_TEST_SUITE(UtilsTests)
BOOST_AUTO_TEST_SUITE(StringTests)
BOO... | lgpl-3.0 |
bencord0/ProjectEuler | src/Problem059.c | 1 | 4055 | /*
* Copyright 2013 Ben Cordero
*
* This file is part of my ProjectEuler implementations.
*
* 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 ... | lgpl-3.0 |
jweihsz/live_stream | UsageEnvironment/UsageEnvironment.cpp | 1 | 2311 | /**********
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 3 of the License, or (at your
option) any later version. (See <http://www.gnu.org/copyleft/lesser.html>.)
This librar... | lgpl-3.0 |
openlecturnity/os45 | lecturnity/Assistant2_0/backend/la_document.cpp | 1 | 15482 | /*********************************************************************
program : la_document.cpp
authors : Gabriela Maass
date : 18.06.2002
revision : $Id: la_document.cpp,v 1.35 2010-04-21 15:33:04 kuhn Exp $
desc :
**********************************************************************/
#include "St... | lgpl-3.0 |
bsc-pm/nanox | src/apis/c/nanos_pe.cpp | 2 | 3009 | /*************************************************************************************/
/* Copyright 2009-2018 Barcelona Supercomputing Center */
/* */
/* This file is part of the NANOS++ library. ... | lgpl-3.0 |
emote-project/Scenario1 | EmoteMaps/Nao Web Request/Development/NAO_Web_Request/php-5.4.14/ext/pdo_firebird/firebird_driver.c | 2 | 19665 | /*
+----------------------------------------------------------------------+
| PHP Version 5 |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2013 The PHP Group |
+--------------... | lgpl-3.0 |
pleonex/radare2 | libr/anal/p/anal_z80.c | 13 | 7676 | /* radare - LGPL - Copyright 2012 - pancake<nopcode.org>
2013 - condret */
#include <string.h>
#include <r_types.h>
#include <r_lib.h>
#include <r_asm.h>
#include <r_anal.h>
#include "../../asm/arch/z80/z80_tab.h"
static void z80_op_size(const ut8 *data, int *size, int *size_prefix) {
int type;
switch(data[0])... | lgpl-3.0 |
alisw/GMP | mpz/gcd_ui.c | 15 | 2203 | /* mpz_gcd_ui -- Calculate the greatest common divisor of two integers.
Copyright 1994, 1996, 1999-2004, 2015 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the terms of either:
* the GNU Lesser General Pu... | lgpl-3.0 |
killabytenow/radare2 | shlr/sdb/src/num.c | 18 | 2375 | /* sdb - MIT - Copyright 2011-2016 - pancake */
#include "sdb.h"
#include "types.h"
// check if key exists and if it's a number.. rename?
SDB_API bool sdb_num_exists (Sdb *s, const char *key) {
const char *o = sdb_const_get (s, key, NULL);
return o ? (*o >= '0' && *o <= '9'): false;
}
SDB_API ut64 sdb_num_get(Sdb ... | lgpl-3.0 |
RDemers/org.rd.qtx.toolboxlib | QtxToolboxLib/Bullet3D/src/BulletSoftBody/btSoftBody.cpp | 157 | 91338 | /*
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... | lgpl-3.0 |
aws/aws-sdk-cpp | aws-cpp-sdk-textract/source/TextractClient.cpp | 1 | 22344 | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/core/utils/Outcome.h>
#include <aws/core/auth/AWSAuthSigner.h>
#include <aws/core/client/CoreErrors.h>
#include <aws/core/client/RetryStrategy.h>
#include <aws/core/http/HttpClient.h>
#i... | apache-2.0 |
kaysoky/mesos | 3rdparty/libprocess/src/tests/ssl_tests.cpp | 1 | 39294 | // 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 to in writing, software
// distributed ... | apache-2.0 |
kanairen/ConvNetCpp | src/MNIST.cpp | 1 | 2743 | //
// Created by kanairen on 2016/06/15.
//
#include "MNIST.h"
int MNIST::toInteger(int i) {
/*
* 4バイト列を32bit整数に変換
*/
unsigned char c1, c2, c3, c4;
c1 = i & 255;
c2 = (i >> 8) & 255;
c3 = (i >> 16) & 255;
c4 = (i >> 24) & 255;
return ((int) c1 << 24) + ((int) c2 << 16) + ((int... | apache-2.0 |
naturalatlas/node-gdal | deps/libgdal/gdal/apps/gdal_grid_lib.cpp | 1 | 53116 | /* ****************************************************************************
*
* Project: GDAL Utilities
* Purpose: GDAL scattered data gridding (interpolation) tool
* Author: Andrey Kiselev, dron@ak4719.spb.edu
*
* ****************************************************************************
* Copyright (... | apache-2.0 |
seahorn/crab | lib/stats.cpp | 1 | 5532 | #include <crab/config.h>
#include <crab/support/stats.hpp>
namespace crab {
bool CrabStatsFlag = false;
void CrabEnableStats(bool v) { CrabStatsFlag = v; }
} // namespace crab
#ifndef CRAB_STATS
namespace crab {
Stopwatch::Stopwatch() {}
void Stopwatch::start() {}
void Stopwatch::stop() {}
void Stopwatch::resume() {}... | apache-2.0 |
zeliard/aws-sdk-cpp | aws-cpp-sdk-ec2/source/model/DescribeClassicLinkInstancesResponse.cpp | 1 | 2486 | /*
* Copyright 2010-2015 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" file... | apache-2.0 |
hak/android-ndk | MoreTeapots/app/src/main/jni/MoreTeapotsRenderer.cpp | 1 | 18894 | /*
* Copyright 2013 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 applica... | apache-2.0 |
ayyucedemirbas/Minix-Source-Code | minix-master/minix/lib/liblwip/core/netif.c | 2 | 25932 | /**
* @file
* lwIP network interface abstraction
*
*/
/*
* 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:
*
* 1. Redistr... | apache-2.0 |
roambotics/swift | lib/SIL/IR/Notifications.cpp | 2 | 2958 | //===--- Notifications.cpp ------------------------------------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2018 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 |
RomeroMalaquias/xrdp | common/log.c | 2 | 16355 | /**
* xrdp: A Remote Desktop Protocol server.
*
* Copyright (C) Jay Sorg 2004-2014
*
* 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 |
CNugteren/CLBlast | test/performance/routines/level2/xtrsv.cpp | 3 | 1627 |
// =================================================================================================
// This file is part of the CLBlast project. The project is licensed under Apache Version 2.0. This
// project loosely follows the Google C++ styleguide and uses a tab-size of two spaces and a max-
// width of 100 char... | apache-2.0 |
mosaic-cloud/mosaic-distribution-dependencies | dependencies/otp/17.1/erts/emulator/beam/erl_sched_spec_pre_alloc.c | 3 | 9513 | /*
* %CopyrightBegin%
*
* Copyright Ericsson AB 2011-2012. All Rights Reserved.
*
* The contents of this file are subject to the Erlang Public License,
* Version 1.1, (the "License"); you may not use this file except in
* compliance with the License. You should have received a copy of the
* Erlang Public Licens... | apache-2.0 |
ilammy/FreeRDP | libfreerdp/crypto/test/Test_x509_cert_info.c | 3 | 3898 | #include <freerdp/crypto/crypto.h>
typedef char* (*get_field_pr)(X509*);
typedef struct
{
enum
{
DISABLED, ENABLED,
} status;
const char* field_description;
get_field_pr get_field;
const char* expected_result;
} certificate_test_t;
char* crypto_cert_subject_common_name_wo_length(X509* xcert)
{
int le... | apache-2.0 |
awslabs/aws-sdk-cpp | aws-cpp-sdk-glue/source/model/GetDataflowGraphResult.cpp | 3 | 1461 | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/glue/model/GetDataflowGraphResult.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <aws/core/AmazonWebServiceResult.h>
#include <aws/core/utils/StringUtils.h>
#include <aws/co... | apache-2.0 |
cedral/aws-sdk-cpp | aws-cpp-sdk-states/source/model/ActivityScheduleFailedEventDetails.cpp | 4 | 1371 | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/states/model/ActivityScheduleFailedEventDetails.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
nam... | apache-2.0 |
RT-Thread/rt-thread | bsp/hc32l136/Libraries/HC32L136_StdPeriph_Driver/src/flash.c | 4 | 20486 | /******************************************************************************
*Copyright(C)2018, Huada Semiconductor Co.,Ltd All rights reserved.
*
* This software is owned and published by:
* Huada Semiconductor Co.,Ltd("HDSC").
*
* BY DOWNLOADING, INSTALLING OR USING THIS SOFTWARE, YOU AGREE TO BE BOUND
* BY ALL TH... | apache-2.0 |
jt70471/aws-sdk-cpp | aws-cpp-sdk-appsync/source/model/OutputType.cpp | 4 | 1869 | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/appsync/model/OutputType.h>
#include <aws/core/utils/HashingUtils.h>
#include <aws/core/Globals.h>
#include <aws/core/utils/EnumParseOverflowContainer.h>
using namespace Aws::Utils;
n... | apache-2.0 |
viirya/fluent-bit | lib/monkey/mk_core/mk_string.c | 4 | 9447 | /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* Monkey HTTP Server
* ==================
* Copyright 2001-2015 Monkey Software LLC <eduardo@monkey.io>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the ... | apache-2.0 |
RolKau/FreeRDP | channels/printer/client/printer_cups.c | 4 | 7106 | /**
* FreeRDP: A Remote Desktop Protocol Implementation
* Print Virtual Channel - CUPS driver
*
* Copyright 2010-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 may obtain a copy of the License at
*
* ... | apache-2.0 |
xcaostagit/GearVRf | GVRf/Framework/framework/src/main/jni/objects/vertex_buffer.cpp | 4 | 15272 | /****
*
* VertexBuffer maintains a vertex data array with locations, normals,
* colors and texcoords.
*
****/
#include "vertex_buffer.h"
#include "util/gvr_log.h"
#include <sstream>
namespace gvr {
VertexBuffer::VertexBuffer(const char* layout_desc, int vertexCount)
: DataDescriptor(layout_desc),
m... | apache-2.0 |
zero-rp/miniblink49 | gen/blink/bindings/core/v8/V8XMLHttpRequestEventTarget.cpp | 4 | 18685 | // 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.
// This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY!
#include "config.h"
#include "V8XMLHttpRequestEventTarget.h"
#incl... | apache-2.0 |
mapsme/omim | poly_borders/poly_borders_tool/poly_borders_tool.cpp | 5 | 2192 | #include "poly_borders/borders_data.hpp"
#include "poly_borders/help_structures.hpp"
#include "platform/platform.hpp"
#include "base/assert.hpp"
#include "base/exception.hpp"
#include "base/logging.hpp"
#include <exception>
#include "3party/gflags/src/gflags/gflags.h"
DEFINE_string(borders_path, "", "Path to direc... | apache-2.0 |
atrick/swift | tools/SourceKit/lib/SwiftLang/SwiftTypeContextInfo.cpp | 7 | 6010 | //===--- SwiftTypeContextInfo.cpp -----------------------------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2019 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/LICENSE.... | apache-2.0 |
fpvandoorn/lean | src/library/equations_compiler/compiler.cpp | 7 | 14222 | /*
Copyright (c) 2016 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Leonardo de Moura
*/
#include <algorithm>
#include <string>
#include "kernel/find_fn.h"
#include "kernel/instantiate.h"
#include "library/trace.h"
#include "library/locals.h"
#i... | apache-2.0 |
sprymak/google-diff-match-patch | cpp/diff_match_patch_test.cpp | 264 | 54335 | /*
* Copyright 2008 Google Inc. All Rights Reserved.
* Author: fraser@google.com (Neil Fraser)
* Author: mikeslemmer@gmail.com (Mike Slemmer)
*
* 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 Licen... | apache-2.0 |
connoranderson/Speechables | ffmpeg-2.5.3/libavcodec/eamad.c | 9 | 11511 | /*
* Electronic Arts Madcow Video Decoder
* Copyright (c) 2007-2009 Peter Ross
*
* 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 o... | apache-2.0 |
xinzweb/gpdb | src/backend/port/win32/crashdump.c | 10 | 6066 | /*-------------------------------------------------------------------------
*
* win32_crashdump.c
* Automatic crash dump creation for PostgreSQL on Windows
*
* The crashdump feature traps unhandled win32 exceptions produced by the
* backend, and tries to produce a Windows MiniDump crash
* dump for later debu... | apache-2.0 |
huxh10/iSDX | aby/src/abycore/util/Miracl/source/mrmonty.c | 10 | 32855 |
/***************************************************************************
*
Copyright 2013 CertiVox UK Ltd. *
*
This file is... | apache-2.0 |
vovd/es-operating-system | escort/src/ApplicationCacheImp.cpp | 12 | 2999 | // Generated by esidl 0.2.1.
// This file is expected to be modified for the Web IDL interface
// implementation. Permission to use, copy, modify and distribute
// this file in any software license is hereby granted.
#include "ApplicationCacheImp.h"
namespace org
{
namespace w3c
{
namespace dom
{
namespace bootstrap... | apache-2.0 |
atris/gpdb | src/backend/access/appendonly/appendonlyam.c | 12 | 89903 | /*-------------------------------------------------------------------------
*
* appendonlyam.c
* append-only relation access method code
*
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
* Portions Copyright (c) 2008... | apache-2.0 |
michelborgess/RealOne-Victara-Kernel | arch/arm/mach-imx/mach-imx27ipcam.c | 4878 | 2047 | /*
* Copyright (C) 2011 Freescale Semiconductor, Inc. All Rights Reserved.
*
* Author: Fabio Estevam <fabio.estevam@freescale.com>
*
* 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... | apache-2.0 |
Reyfin/MyEngine | dep/include/yse/juce_box2d/box2d/Dynamics/Joints/b2RevoluteJoint.cpp | 15 | 13041 | /*
* Copyright (c) 2006-2011 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... | apache-2.0 |
jslhs/clBLAS | src/tests/performance/perf-trmm.cpp | 16 | 1901 | /* ************************************************************************
* Copyright 2013 Advanced Micro Devices, 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-2.0 |
CraigHarris/gpdb | src/backend/utils/adt/formatting.c | 16 | 122874 | /* -----------------------------------------------------------------------
* formatting.c
*
* $PostgreSQL: pgsql/src/backend/utils/adt/formatting.c,v 1.137.2.2 2009/07/06 19:11:53 heikki Exp $
*
*
* Portions Copyright (c) 1999-2008, PostgreSQL Global Development Group
*
*
* TO_CHAR(); TO_TIMESTAMP(); TO_DATE... | apache-2.0 |
jmptrader/bde | third-party/inteldfp/LIBRARY/src/bid64_lround.c | 18 | 2624 | /******************************************************************************
Copyright (c) 2011, Intel Corp.
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 c... | apache-2.0 |
neeraj9/otp | lib/erl_interface/src/epmd/epmd_publish.c | 23 | 4379 | /*
* %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 |
joaogl/LD33 | Dependencies/FreeImage/Source/FreeImage/PluginGIF.cpp | 25 | 42221 | // ==========================================================
// GIF Loader and Writer
//
// Design and implementation by
// - Ryan Rubley <ryan@lostreality.org>
// - Raphaël Gaquer <raphael.gaquer@alcer.com>
// - Aaron Shumate <aaron@shumate.us>
//
// This file is part of FreeImage 3
//
// COVERED CODE IS PROVIDED UND... | apache-2.0 |
LucHermitte/ITK | Modules/ThirdParty/HDF5/src/itkhdf5/src/H5Glink.c | 26 | 23759 | /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Copyright by The HDF Group. *
* Copyright by the Board of Trustees of the University of Illinois. *
* All rights reserved. *
* ... | apache-2.0 |
upfluence/thrift | lib/c_glib/src/thrift/c_glib/thrift.c | 28 | 1182 | /*
* 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 ma... | apache-2.0 |
nineisk/esp-idf | components/mbedtls/library/error.c | 32 | 37199 | /*
* Error message information
*
* Copyright (C) 2006-2015, ARM Limited, All Rights Reserved
* SPDX-License-Identifier: Apache-2.0
*
* 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 a... | apache-2.0 |
JeongJunSik/TizenRT | external/iotivity/iotivity_1.2-rel/service/notification/cpp-wrapper/common/NSMediaContents.cpp | 33 | 1620 | //******************************************************************
//
// 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 com... | apache-2.0 |
kw217/omim | geometry/geometry_tests/intersect_test.cpp | 33 | 3870 | #include "base/SRC_FIRST.hpp"
#include "geometry/geometry_tests/equality.hpp"
#include "testing/testing.hpp"
#include "geometry/rect_intersect.hpp"
#include "geometry/angles.hpp"
using namespace test;
namespace
{
typedef m2::PointD P;
}
m2::PointD get_point(m2::RectD const & r, int ind)
{
switch (ind % 4)
... | apache-2.0 |
jmanday/Master | TFM/library/boost_1_63_0/libs/config/test/has_tr1_type_traits_pass.cpp | 36 | 1088 | // This file was automatically generated on Sat Jul 12 12:39:32 2008
// by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-4.
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/L... | apache-2.0 |
JunhwanPark/TizenRT | external/iotivity/iotivity_1.2-rel/service/resource-encapsulation/examples/tizen/RESampleServerApp/src/remain.cpp | 40 | 7405 | /******************************************************************
*
* 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 |
johanclaesson/otp | erts/emulator/beam/elib_memmove.c | 46 | 2432 | /*
* %CopyrightBegin%
*
* Copyright Ericsson AB 1997-2009. 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 |
peterSVS/sagetv | third_party/mplayer/libavutil/fifo.c | 50 | 2959 | /*
* A very simple circular buffer FIFO implementation
* Copyright (c) 2000, 2001, 2002 Fabrice Bellard
* Copyright (c) 2006 Roman Shaposhnik
*
* 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 pu... | apache-2.0 |
Tiryoh/mbed | libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_iwdg.c | 51 | 12561 | /**
******************************************************************************
* @file stm32l1xx_hal_iwdg.c
* @author MCD Application Team
* @version V1.0.0
* @date 5-September-2014
* @brief IWDG HAL module driver.
*
* This file provides firmware functions to manage the followi... | apache-2.0 |
Krossom/python-for-android | python3-alpha/ncurses-5.9/menu/m_item_new.c | 51 | 9020 | /****************************************************************************
* Copyright (c) 1998-2009,2010 Free Software Foundation, Inc. *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
* copy ... | apache-2.0 |
m0ppers/arangodb | 3rdParty/boost/1.61.0/libs/graph/example/print-out-edges.cpp | 56 | 3810 | //=======================================================================
// Copyright 2001 Jeremy G. Siek, Andrew Lumsdaine, Lie-Quan Lee,
//
// 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)
//==================... | apache-2.0 |
ahmedshafeeq/otp | erts/emulator/zlib/adler32.c | 71 | 5018 | /* adler32.c -- compute the Adler-32 checksum of a data stream
* Copyright (C) 1995-2011 Mark Adler
* For conditions of distribution and use, see copyright notice in zlib.h
*/
/* @(#) $Id$ */
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include "zutil.h"
#define local static
local uLong adler32_combine_ OF... | apache-2.0 |
indashnet/InDashNet.Open.UN2000 | lichee/linux-3.4/sound/soc/fsl/fsl_dma.c | 4946 | 32057 | /*
* Freescale DMA ALSA SoC PCM driver
*
* Author: Timur Tabi <timur@freescale.com>
*
* Copyright 2007-2010 Freescale Semiconductor, Inc.
*
* This file is licensed under the terms of the GNU General Public License
* version 2. This program is licensed "as is" without any warranty of any
* kind, whether expres... | apache-2.0 |
kerr-huang/SL4A | python-build/openssl/crypto/rsa/rsa_oaep.c | 91 | 6035 | /* crypto/rsa/rsa_oaep.c */
/* Written by Ulf Moeller. This software is distributed on an "AS IS"
basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. */
/* EME-OAEP as defined in RFC 2437 (PKCS #1 v2.0) */
/* See Victor Shoup, "OAEP reconsidered," Nov. 2000,
* <URL: http://www.shoup.net/papers/oaep.ps... | apache-2.0 |
mtxs007/TeamTalk | win-client/3rdParty/src/libspeex/libspeex/vq.c | 869 | 4097 | /* Copyright (C) 2002 Jean-Marc Valin
File: vq.c
Vector quantization
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... | apache-2.0 |
upsoft/TeamTalk | server/src/push_server/socket/tcp_client_async.cpp | 125 | 9977 | #include "tcp_client_async.h"
#include "socket_io_define.h"
#include "io_loop.h"
CTCPClientAsync::CTCPClientAsync(CIOLoop* pIO) : CBaseIOStream(pIO)
{
_InitSocket();
}
CTCPClientAsync::~CTCPClientAsync(void)
{
ShutDown();
}
void CTCPClientAsync::_InitSocket()
{
_SetWaitForClose(FALSE);
... | apache-2.0 |
goblinr/omim | 3party/glm/test/core/core_type_float.cpp | 127 | 1073 | ///////////////////////////////////////////////////////////////////////////////////////////////////
// OpenGL Mathematics Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net)
///////////////////////////////////////////////////////////////////////////////////////////////////
// Created : 2008-08-31
// Updated : 20... | apache-2.0 |
pi19404/mbed | libraries/mbed/targets/cmsis/TARGET_NXP/TARGET_LPC43XX/system_LPC43xx.c | 128 | 12203 | /*
* @brief LPC43xx System Initialization
*
* @note
* Copyright(C) NXP Semiconductors, 2012
* All rights reserved.
*
* @par
* Software that is described herein is for illustrative purposes only
* which provides customers with programming information regarding the
* LPC products. This software is supplied "AS... | apache-2.0 |
gkroch/mbed-os | targets/TARGET_NXP/TARGET_LPC82X/gpio_irq_api.c | 129 | 4216 | /* mbed Microcontroller Library
* Copyright (c) 2006-2013 ARM Limited
*
* 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 re... | apache-2.0 |
valkjsaaa/sl4a | python-build/openssl/crypto/ec/ec2_smpt.c | 148 | 5072 | /* crypto/ec/ec2_smpt.c */
/* This code was originally written by Douglas Stebila
* <dstebila@student.math.uwaterloo.ca> for the OpenSSL project.
*/
/* ====================================================================
* Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved.
*
* Redistribution and u... | apache-2.0 |
sergecodd/FireFox-OS | B2G/gecko/ipc/chromium/src/third_party/libevent/test/test-time.c | 172 | 1244 | /*
* Compile with:
* cc -I/usr/local/include -o time-test time-test.c -L/usr/local/lib -levent
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <fcntl.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#inc... | apache-2.0 |
anpingli/origin | vendor/github.com/gonum/lapack/internal/testdata/dsterftest/dlascl.f | 174 | 9870 | *> \brief \b DLASCL multiplies a general rectangular matrix by a real scalar defined as cto/cfrom.
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
*> Download DLASCL + dependencies
*> <a href="http://www.netl... | apache-2.0 |
luischavez/libgdx | extensions/gdx-freetype/jni/freetype-2.5.5/src/sfnt/ttmtx.c | 185 | 11000 | /***************************************************************************/
/* */
/* ttmtx.c */
/* */
/* Lo... | apache-2.0 |
indashnet/InDashNet.Open.UN2000 | android/external/chromium_org/third_party/icu/source/test/intltest/tfsmalls.cpp | 186 | 12911 |
/***********************************************************************
* COPYRIGHT:
* Copyright (c) 1997-2005, International Business Machines Corporation
* and others. All Rights Reserved.
***********************************************************************/
#include "unicode/utypes.h"
#if !UCONFIG_NO_FOR... | apache-2.0 |
jingjidejuren/hadoop | hadoop-hdfs-project/hadoop-hdfs/src/main/native/fuse-dfs/fuse_options.c | 189 | 5383 | /**
* 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 |
nongxiaoming/rt-thread | bsp/imx6sx/iMX6_Platform_SDK/board/mx6dq/sabre_ai/rev_c_iomux/gpio_iomux_config.c | 450 | 2002 | /*
* Copyright (c) 2012, Freescale Semiconductor, Inc.
* All rights reserved.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE... | apache-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.