url
stringlengths
12
221
text
stringlengths
176
1.03M
encoding
stringclasses
16 values
confidence
float64
0.7
1
license
stringlengths
0
347
copyright
stringlengths
3
31.8k
boost1.71-1.71.0/libs/beast/include/boost/beast/core/detail/stream_base.hpp
// // Copyright (c) 2016-2019 Vinnie Falco (vinnie dot falco at gmail dot com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // // Official repository: https://github.com/boostorg/beast // #ifndef BOOST_BEAST_...
utf-8
1
BSL-1.0
Boost project contributors
highlight-3.41/src/core/Diluculum/LuaExceptions.cpp
/******************************************************************************\ * LuaExceptions.hpp * * Exceptions related to Lua errors. * * ...
utf-8
1
unknown
unknown
qepcad-1.74+ds/extensions/sfext/extlang/ESCELLWR.c
/* Extended sub-CAD cell write. */ #include "extlang.h" void ESCELLWR(Word C) { Word L,p,l; for(L = NIL, p = C; LELTI(p,SC_PAR) != NIL; p = LELTI(p,SC_PAR)) L = COMP2(LELTI(p,SC_SIGN),LELTI(p,SC_EXTS),L); while(L != NIL) { SWRITE("["); for(ADV(L,&l,&L); l != NIL; l = RED(l)) { switch(FIRST(l))...
utf-8
1
ISC
1990, 2008 Hoon Hong & Chris Brown <wcbrown@usna.edu>
cbmc-5.12/regression/snapshot-harness/structs_01/main.c
#include <assert.h> struct S { int c1; int c2; } st; int *p; void initialize() { st.c1 = 1; st.c2 = 3; p = &(st.c2); } void checkpoint() { } int main() { initialize(); checkpoint(); assert(st.c1 + 2 == st.c2); assert(st.c1 + 2 == *p); assert(*p == st.c2); *p = st.c2 + 1; assert(*p == st.c2...
utf-8
1
BSD-4-clause
2001-2018, Daniel Kroening, Edmund Clarke, Computer Science Department, Oxford University Computer Systems Institute, ETH Zurich Computer Science Department, Carnegie Mellon University
blender-3.0.1+dfsg/extern/xdnd/xdnd.c
/* xdnd.c, xdnd.h - C program library for handling the Xdnd protocol Copyright (C) 1996-2000 Paul Sheer 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...
utf-8
1
GPL-2+
2001-2013, Blender Foundation 2001-2002, NaN Holding BV. 2009, Joshua Leung 2006-2007, 2009-2012, Nicholas Bishop 2007, 2009, Janne Karhu 2011-2012, AutoCRC 1991, Xerox Corporation 2006, Peter Schlaile 1999-2002, David Hodson ...
openms-2.6.0+cleaned1/src/openms_gui/include/OpenMS/VISUAL/TOPPASEdge.h
// -------------------------------------------------------------------------- // OpenMS -- Open-Source Mass Spectrometry // -------------------------------------------------------------------------- // Copyright The OpenMS Team -- Eberhard Karls University Tuebingen, // ETH Zurich, and Freie Universit...
utf-8
1
BSD-3-clause
2002-2020 The OpenMS Team -- Eberhard Karls University Tuebingen 20002-2020 The OpenMS Team -- ETH Zurich 20002-2020 The OpenMS Team -- Freie Universitaet Berlin
ogre-1.12-1.12.10+dfsg2/RenderSystems/GL/include/OgreGLFBORenderTexture.h
/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2014 Torus Knot Software Ltd Permission is hereby granted, free of charge, to any person ...
utf-8
1
MIT
2000-2019 Torus Knot Software Ltd 2008 Renato Araujo Oliveira Filho <renatox@gmail.com> 2015 Kenny Kerr
mygui-3.4.1+dfsg/Tools/LayoutEditor/MainWorkspaceControl.h
#ifndef _6def8530_1f19_41bb_b4a1_b4924343a908_ #define _6def8530_1f19_41bb_b4a1_b4924343a908_ #include "SeparatorPartControl.h" #include "ToolsControl.h" #include "WorkspaceControl.h" namespace tools { class MainWorkspaceControl : public SeparatorPartControl { public: MainWorkspaceControl(MyGUI::Widget* _pare...
utf-8
1
Expat
2007-2013 MyGUI Developers
crawl-0.27.1/source/wiz-you.h
/** * @file * @brief Player related wizard functions. **/ #pragma once #include "enum.h" #include "job-type.h" #include "species-type.h" #include "skill-type.h" #ifdef WIZARD #define FREEZE_TIME_KEY "freeze_time" void wizard_cast_spec_spell(); void wizard_memorise_spec_spell(); void wizard_heal(bool super_heal); ...
utf-8
1
unknown
unknown
libopenobex-1.7.2/apps/ircp/ircp_client.c
#ifdef HAVE_CONFIG_H #include <config.h> #endif #include <openobex/obex.h> #ifdef _WIN32 #include <windows.h> #define in_addr_t unsigned long #include <direct.h> #include <io.h> #endif #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <fcntl.h> #include <sys/stat.h> #include "i...
utf-8
1
GPL-2+
1999, 2000, Pontus Fuchs
glibc-2.33/io/pwd.c
/* Copyright (C) 1991-2021 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C 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 ...
utf-8
1
unknown
unknown
linux-5.16.7/sound/soc/codecs/max9850.h
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * max9850.h -- codec driver for max9850 * * Copyright (C) 2011 taskit GmbH * Author: Christian Glindkamp <christian.glindkamp@taskit.de> */ #ifndef _MAX9850_H #define _MAX9850_H #define MAX9850_STATUSA 0x00 #define MAX9850_STATUSB 0x01 #define MAX9850_VOLU...
utf-8
1
GPL-2
1991-2012 Linus Torvalds and many others
vtk9-9.1.0+really9.1.0+dfsg2/Rendering/OpenGL2/vtkCompositePolyDataMapper2Internal.h
/*========================================================================= Program: Visualization Toolkit Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This software is distributed WITHOUT ANY WARRAN...
utf-8
1
BSD-3-clause
1993-2015 Ken Martin, Will Schroeder, Bill Lorensen, Kitware inc., Sandia Corporation.
r-cran-s2-1.0.7/src/s2/s2builderutil_closed_set_normalizer.h
// Copyright 2017 Google Inc. 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...
utf-8
1
Apache-2.0
2015-2020 Dewey Dunnington, Edzer Pebesma, Ege Rubak,
rr-5.5.0/src/test/function_calls.c
/* -*- Mode: C; tab-width: 8; c-basic-offset: 2; indent-tabs-mode: nil; -*- */ #include "util.h" static volatile int result = 0; static void funcallD(int n) { result = n; } static void funcallC(int n) { funcallD(n); funcallD(n); } static void funcallB(int n) { funcallC(n); funcallC(n); } static void funca...
utf-8
1
X11 and BSD-2
2002 Niels Provos 2013 Mozilla Foundation 2015 VMware, Inc
fsl-5.0.8/src/fslsurface/fslsurfacemaths.cpp
// // main.cpp // fslsurfacemaths // // Created by Brian Patenaude on 3/27/11. // Copyright 2011 University of Oxford. All rights reserved. // /* Part of FSL - FMRIB's Software Library http://www.fmrib.ox.ac.uk/fsl fsl@fmrib.ox.ac.uk Developed at FMRIB (Oxford Centre for Functional Magnetic Resona...
utf-8
1
unknown
unknown
qtbase-opensource-src-5.15.2+dfsg/src/widgets/doc/snippets/qlistview-dnd/model.cpp
/**************************************************************************** ** ** Copyright (C) 2016 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the documentation of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:BSD$ ** Commercial License Usage ** Licensees holding valid commerci...
utf-8
1
LGPL-3 or GPL-2
2016-2020 The Qt Company Ltd.
qtwebengine-opensource-src-5.15.8+dfsg/src/3rdparty/chromium/ui/display/screen.cc
// Copyright 2012 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 "ui/display/screen.h" #include <utility> #include "base/check.h" #include "base/notreached.h" #include "ui/display/display.h" #include "ui/disp...
utf-8
1
LGPL-3 or GPL-2
2006-2021 The Chromium Authors 2016-2021 The Qt Company Ltd.
mesa-21.3.5/src/gallium/drivers/swr/rasterizer/core/format_conversion.h
/**************************************************************************** * Copyright (C) 2014-2015 Intel Corporation. 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...
utf-8
1
MIT
2005 Aapo Tahkola 2011 Adam Rak <adam.rak@streamnovation.com> 2014 Adrián Arroyo Calle <adrian.arroyocalle@gmail.com> 2010-2018 Advanced Micro Devices, Inc. 2002-2012 Apple Inc. 2009 Artur Wyszynski <harakash@gmail.com> 2000-2001 ATI Technologies Inc. 2015-2016 Axel Davy <axel.davy@ens.fr> 1988-2004 Bart Mass...
linux-5.16.7/drivers/phy/socionext/phy-uniphier-usb2.c
// SPDX-License-Identifier: GPL-2.0 /* * phy-uniphier-usb2.c - PHY driver for UniPhier USB2 controller * Copyright 2015-2018 Socionext Inc. * Author: * Kunihiko Hayashi <hayashi.kunihiko@socionext.com> */ #include <linux/mfd/syscon.h> #include <linux/module.h> #include <linux/of.h> #include <linux/of_platfor...
utf-8
1
GPL-2
1991-2012 Linus Torvalds and many others
linux-5.16.7/include/linux/mfd/da9150/core.h
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * DA9150 MFD Driver - Core Data * * Copyright (c) 2014 Dialog Semiconductor * * Author: Adam Thomson <Adam.Thomson.Opensource@diasemi.com> */ #ifndef __DA9150_CORE_H #define __DA9150_CORE_H #include <linux/device.h> #include <linux/i2c.h> #include <linux/interr...
utf-8
1
GPL-2
1991-2012 Linus Torvalds and many others
goldencheetah-3.5/qwt/src/qwt_event_pattern.cpp
/* -*- mode: C++ ; c-file-style: "stroustrup" -*- ***************************** * Qwt Widget Library * Copyright (C) 1997 Josef Wilgen * Copyright (C) 2002 Uwe Rathmann * * This library is free software; you can redistribute it and/or * modify it under the terms of the Qwt License, Version 1.0 **************...
utf-8
1
GPL-3+
2006-2010, Sean C. Rhea (srhea@srhea.net) 2000-2015, Mark Liversedge (liversedge@gmail.com) 1997, Josef Wilgen 2002, Uwe Rathmann 2009, Andy M. Froncioni (me@andyfroncioni.com) 2010, Damien Grauser (Damien.Grauser@pev-geneve.ch) 2009, Eric Murray (ericm@...
linphone-desktop-4.2.5/linphone-app/src/app/providers/ImageProvider.cpp
/* * Copyright (c) 2010-2020 Belledonne Communications SARL. * * This file is part of linphone-desktop * (see https://www.linphone.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 by * the Free Software Foundation,...
utf-8
1
GPL-3+
2010-2020 Belledonne Communications SARL.
avro-java-1.8.2/lang/c/src/avro/allocation.h
/* * 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...
utf-8
1
Apache-2.0
2009-2015, The Apache Software Foundation
qt6-webengine-6.2.2+dfsg/src/3rdparty/chromium/third_party/tflite/src/tensorflow/compiler/xla/service/fusion_node_indexing_evaluation.cc
/* Copyright 2020 The TensorFlow 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 a...
utf-8
1
LGPL-3 or GPL-2
2006-2021 The Chromium Authors 2016-2021 The Qt Company Ltd.
burp-2.4.0/src/ssl.c
#include "burp.h" #include "alloc.h" #include "conf.h" #include "log.h" #include "server/ca.h" #include "ssl.h" static const char *pass=NULL; int ssl_do_accept(SSL *ssl) { while(1) { int r; ERR_clear_error(); switch((r=SSL_accept(ssl))) { case 1: return 0; case 0: goto error; default: s...
utf-8
1
AGPL-3
2011-2014, Graham Keeling
sigviewer-0.6.4/src/gui_impl/commands/mouse_mode_gui_command.h
// Copyright (c) 2016 The SigViewer Development Team // Licensed under the GNU General Public License (GPL) // https://www.gnu.org/licenses/gpl #ifndef MOUSE_MODE_GUI_COMMAND_H #define MOUSE_MODE_GUI_COMMAND_H #include "gui/gui_action_command.h" #include "gui/gui_action_factory_registrator.h" #include "gui/signal_vi...
utf-8
1
GPL-3+
2004-2009, Alois Schloegl <a.schloegl@ieee.org> 2006,2007, Thomas Brunner 2006-2011, Clemens Brunner 2007-2011, Christoph Eibel <christoph.eibel@student.tugraz.at> 2008, Oliver Terbu 2010, BCI Lab, Institute for Knowledge Discovery, TU Graz, Austria
freespace2-launcher-wxlauncher-0.11.0+dfsg/code/tabs/InstallPage.cpp
/* Copyright (C) 2009-2010 wxLauncher Team 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 program is distributed in the ...
utf-8
1
GPL-2+
2009-2016 wxLauncher Team
chromium-98.0.4758.102/third_party/blink/renderer/core/timing/background_tracing_helper.cc
// Copyright 2021 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 "third_party/blink/renderer/core/timing/background_tracing_helper.h" #include "base/cxx17_backports.h" #include "base/feature_list.h" #include "...
utf-8
1
BSD-3-clause
The Chromium Authors. All rights reserved.
algobox-1.1.0+dfsg/toolbox.h
/*************************************************************************** * copyright : (C) 2009-2021 by Pascal Brachet * * https://www.xm1math.net/algobox/ * * * * This pr...
utf-8
1
GPL-2+
2003-2021, Pascal Brachet <pbrachet@xm1math.net>
virtualbox-6.1.32-dfsg/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Application/DumpDynPcd/DumpDynPcd.c
/** @file A shell application to dump dynamic PCD settings. Copyright (c) 2019, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Uefi.h> #include <PiDxe.h> #include <Library/BaseLib.h> #include <Library/DebugLib.h> #include <Library/MemoryAllocationLib.h> #...
utf-8
1
unknown
unknown
r-bioc-affxparser-1.66.0/src/fusion/util/test-tmpfilefactory.cpp
//////////////////////////////////////////////////////////////// // // Copyright (C) 2005 Affymetrix, Inc. // // This library is free software; you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License // (version 2.1) as published by the Free Software Foundation. // // This...
utf-8
1
LGPL-2+
2009-2020 Henrik Bengtsson James Bullard Robert Gentleman Kasper Daniel Hansen Jim Hester Martin Morgan
leveldb-1.23/util/env_posix_test.cc
// Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. #include <sys/resource.h> #include <sys/wait.h> #include <unistd.h> #include <cstdio> #include <cstdli...
utf-8
1
BSD-3-clause
2011-2012 The LevelDB Authors
libnl3-3.5.0/src/lib/ct.c
/* SPDX-License-Identifier: LGPL-2.1-only */ /* * src/lib/ct.c CLI Conntrack Helpers * * 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 version 2.1 * of the License. * * Copyright ...
utf-8
1
unknown
unknown
pdal-2.3.0+ds/kernels/TranslateKernel.cpp
/****************************************************************************** * Copyright (c) 2011, Michael P. Gerlek (mpg@flaxen.com) * Copyright (c) 2015, Bradley J Chambers (brad.chambers@gmail.com) * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are ...
utf-8
1
BSD-3-Clause
2014-2021, Hobu, Inc. <info@hobu.co> 2021, Preston J. Hartzell <preston.hartzell@gmail.com> 2011-2020, Bradley J Chambers <brad.chambers@gmail.com> 2020, Julian Fell <hi@jtfell.com> 2020, Ryan Pals <ryan@hobu.co> 2014, 2016-2019, Connor Manning <...
dosbox-0.74-3/src/ints/bios.cpp
/* * Copyright (C) 2002-2010 The DOSBox Team * * 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 p...
utf-8
1
GPL-2
2002-2018 The DOSBox Team Sjoerd v.d. Berg <harekiet@users.sourceforge.net> Peter Veenstra <qbix79@users.sourceforge.net> Ulf Wohlers <finsterr@users.sourceforge.net> Tommy Frössman <fanskapet@users.sourceforge.net> Dean Beeler <canadacow@users.sourceforge.net> ...
ns3-3.35+dfsg/ns-3.35/src/core/test/callback-test-suite.cc
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * * 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; * * This pro...
utf-8
1
unknown
unknown
chromium-98.0.4758.102/third_party/ruy/src/ruy/perchannel_buffers_reallocation_test.cc
#include "ruy/context.h" #include "ruy/gtest_wrapper.h" #include "ruy/kernel.h" #include "ruy/matrix.h" #include "ruy/path.h" #include "ruy/performance_advisory.h" #include "ruy/ruy.h" namespace ruy { namespace { constexpr Path kPath = Path::kInternalStandardCppVariant3; constexpr int kBufferSize = 64; template <typ...
utf-8
1
BSD-3-clause
The Chromium Authors. All rights reserved.
azure-uamqp-python-1.5.1/src/vendor/azure-uamqp-c/deps/umock-c/tests/umockalloc_ut/umockalloc_ut.c
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. #ifdef __cplusplus #include <cstdlib> #else #include <stdlib.h> #endif #include "testrunnerswitcher.h" #include "umock_c/umockalloc.h" #include "umock_c/umock_log.h" ...
utf-8
1
Expat
2018-2022 Microsoft Corporation