id stringlengths 64 64 | content stringlengths 500 100k | language stringclasses 29
values | path stringlengths 4 333 | repo stringlengths 5 116 | license stringclasses 15
values | size int64 500 100k | lines int64 26 8.06k | source stringclasses 1
value |
|---|---|---|---|---|---|---|---|---|
8e2d147b129ca72bb37110bdd33910f09eac73f4600f29239939a28b38acb1fe | <?
/*
***** BEGIN LICENSE BLOCK *****
This file is part of the Zotero Data Server.
Copyright © 2010 Center for History and New Media
George Mason University, Fairfax, Virginia, USA
http://zotero.org
This program is free software: you can redistrib... | PHP | model/Searches.inc.php | zebulon2/dataserver | agpl-3.0 | 10,492 | 356 | codeparrot/github-code |
d25fcaa959822285ac05af5fb3a79b53042cd6ee426a0c29069e67ac25f07333 | class AddContextToContentExports < ActiveRecord::Migration[4.2]
tag :predeploy
def self.up
add_column :content_exports, :context_type, :string
add_column :content_exports, :context_id, :integer, :limit => 8
remove_foreign_key :content_exports, :courses
if connection.adapter_name == 'PostgreSQL'
... | Ruby | db/migrate/20140530195058_add_context_to_content_exports.rb | matematikk-mooc/canvas-lms | agpl-3.0 | 1,492 | 40 | codeparrot/github-code |
3690251d78b70f79572c7912b789a10ac84bec4dda804b5d7987415cd648405a | /*
* Copyright (C) 2000 - 2013 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* As a spec... | Java | core-web/src/main/java/org/silverpeas/core/webapi/attachment/SimpleDocumentEntity.java | ebonnet/Silverpeas-Core | agpl-3.0 | 5,424 | 196 | codeparrot/github-code |
79cb82c3ec219cda029ba2b34eef1e3e9346ab7ec7c79a3f395bdb6baa4894f8 | #line 2 "LTE_fdd_enb_interface.cc" // Make __FILE__ omit the path
/*******************************************************************************
Copyright 2013-2016 Ben Wojtowicz
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public Lice... | C++ | LTE_fdd_enodeb/src/LTE_fdd_enb_interface.cc | PeterTNguyen/openlte | agpl-3.0 | 67,023 | 1,614 | codeparrot/github-code |
1ca63115557545cf65a40490def54c1452494f23f45f915ff0018ff9ca19fed3 | """Mercator proposal."""
from adhocracy_core.resources import add_resource_type_to_registry
from adhocracy_core.resources import process
from adhocracy_core.resources import proposal
from adhocracy_core.sheets.geo import IPoint
from adhocracy_core.sheets.geo import ILocationReference
from adhocracy_core.sheets.image im... | Python | src/adhocracy_meinberlin/adhocracy_meinberlin/resources/kiezkassen.py | liqd/adhocracy3.mercator | agpl-3.0 | 1,552 | 55 | codeparrot/github-code |
ece20aedd71c5bc0d44ce8005d469ccd8744e7c0c0d5881b788a8089adcc3e40 | /*
* UIPrefMenuItem.java
*
* Copyright (C) 2009-14 by RStudio, Inc.
*
* Unless you have received this program directly from RStudio pursuant
* to the terms of a commercial license agreement with RStudio, then
* this program is licensed to you under the terms of version 3 of the
* GNU Affero General Public Licen... | Java | src/gwt/src/org/rstudio/core/client/widget/UIPrefMenuItem.java | jar1karp/rstudio | agpl-3.0 | 2,527 | 84 | codeparrot/github-code |
a73ceaf79d94ea0eb2a1f53eca6c782b06bd3a238fc53222c8a85a2430070d3f | <?php
/**
* class.pagedTable.php
*
* @package gulliver.system
*
* ProcessMaker Open Source Edition
* Copyright (C) 2004 - 2011 Colosa Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software ... | PHP | gulliver/system/class.pagedTable.php | colosa/processmaker | agpl-3.0 | 48,651 | 1,063 | codeparrot/github-code |
1eb06ce5cdf981c5822a8e926f92aad3c77e93ab789c538918d30b5df5d99697 | //#############################################################################
//# #
//# Copyright (C) <2015> <IMS MAXIMS> #
//# ... | Java | Source Library/openmaxims_workspace/ValueObjects/src/ims/clinical/vo/domain/TourniquetIntraOpVoAssembler.java | FreudianNM/openMAXIMS | agpl-3.0 | 20,601 | 514 | codeparrot/github-code |
5ab082c14f99dd1480ceedbb9d7382c0eb23e005040973e279f4ce8da0b5a006 | /*
* This file is part of Bisq.
*
* Bisq is free software: you can redistribute it and/or modify it
* under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or (at
* your option) any later version.
*
* Bisq is distributed in the ... | Java | p2p/src/main/java/bisq/network/p2p/peers/keepalive/messages/Ping.java | bitsquare/bitsquare | agpl-3.0 | 2,086 | 60 | codeparrot/github-code |
083c6cb4c4932bbc524b3cb9bf9beeda38cde7b87f208aeec8270350efe87391 | /*
PRLPKS - OpenPGP Synchronized Key Server with Deletion
Copyright (c) 2014 Pruthvirajsinh Rajendrasinh Chauhan
PRLPKS is based heavily on hockeypuck(https://launchpad.net/hockeypuck) by Casey Marshall, copyright 2013(GNU GPL v3).
This program is distributed in the hope that it will be useful,
but WITHOUT ANY ... | GO | errors/errors.go | pruthvirajsinh/prlpks | agpl-3.0 | 1,564 | 42 | codeparrot/github-code |
335f2061a38785bcbbaf8b453aeb8114f72c2e0c7574e4d545572cbeae8d108e | import copy
from django.conf import settings
from django.core.exceptions import ImproperlyConfigured
from django.core.urlresolvers import reverse
from django.utils.translation import ugettext as _
from django_countries import countries
import accounts
import third_party_auth
from edxmako.shortcuts import marketing_li... | Python | openedx/core/djangoapps/user_api/api.py | angelapper/edx-platform | agpl-3.0 | 35,762 | 898 | codeparrot/github-code |
a33d288dc0ba5b01c5cb1407be609753ebd770b4ece070f3fd71a84442032f53 | local Screen = require("device").screen
local S = require("ui/data/strings")
local _ = require("gettext")
local function enable_if_equals(configurable, option, value)
return configurable[option] == value
end
local KoptOptions = {
prefix = 'kopt',
{
icon = "resources/icons/appbar.transform.rotate.r... | Lua | frontend/ui/data/koptoptions.lua | robert00s/koreader | agpl-3.0 | 10,075 | 277 | codeparrot/github-code |
65e8a1857a238a1713c9ef53b6de98fd320c1d1ab35ee41a5aa5bffcf121c2be | # -*- coding: utf-8; -*-
#
# This file is part of Superdesk.
#
# Copyright 2013, 2014 Sourcefabric z.u. and contributors.
#
# For the full copyright and license information, please see the
# AUTHORS and LICENSE files distributed with this source code, or
# at https://www.sourcefabric.org/superdesk/license
import loggi... | Python | superdesk/publish/formatters/__init__.py | petrjasek/superdesk-core | agpl-3.0 | 5,788 | 157 | codeparrot/github-code |
77b7af03828ec1cd62c217a50512b3b0ed8b33b007f9351553b02d72803a7484 | #include "mupdf/pdf.h"
#include "mupdf/fitz/document.h"
#undef DEBUG_PROGESSIVE_ADVANCE
#ifdef DEBUG_PROGESSIVE_ADVANCE
#define DEBUGMESS(A) do { fz_warn A; } while (0)
#else
#define DEBUGMESS(A) do { } while (0)
#endif
static inline int iswhite(int ch)
{
return
ch == '\000' || ch == '\011' || ch == '\012' ||
c... | C | source/pdf/pdf-xref.c | loungeup/mupdf | agpl-3.0 | 60,002 | 2,451 | codeparrot/github-code |
a577b420ba1fdd36441418ddfded59d8c25ed378cda05623adae552bcd3e7e58 | /*
* Copyright 2013, 2014 Range Networks, Inc.
*
* This software is distributed under the terms of the GNU Affero Public License.
* See the COPYING file in the main directory for details.
*
* This use of this software may be subject to additional restrictions.
* See the LEGAL file in the main directory for details.
T... | C++ | SelfDetectTest.cpp | RangeNetworks/CommonLibs | agpl-3.0 | 2,442 | 71 | codeparrot/github-code |
40d20126b07e5def92f9be8c81fb6c8804b4299bb8f155db440df9db60eb7c41 | /****************************************************************************
**
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the QtQml module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licensees ... | C++ | src/qml/qml/v8/qqmlbuiltinfunctions.cpp | crobertd/qtdeclarative | lgpl-2.1 | 57,964 | 1,659 | codeparrot/github-code |
6260932f1c92f16b2e64db65ea5f0a96ce2d60ab192a856d6deb3eaaa5ceb0f6 | //-----------------------------------------------------------------------bl-
//--------------------------------------------------------------------------
//
// GRINS - General Reacting Incompressible Navier-Stokes
//
// Copyright (C) 2014-2015 Paul T. Bauman, Roy H. Stogner
// Copyright (C) 2010-2013 The PECOS Developm... | C++ | src/qoi/src/parsed_interior_qoi.C | cahaynes/grins | lgpl-2.1 | 5,689 | 168 | codeparrot/github-code |
905af74c161436b8e1ee05fdbe679ae64c3925fc795e593bac23b961db4c798e | // Fastcgi Daemon - framework for design highload FastCGI applications on C++
// Copyright (C) 2011 Ilya Golubtsov <golubtsov@yandex-team.ru>
// 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; ... | C | include/fastcgi2/component_factory.h | lmovsesjan/Fastcgi-Daemon | lgpl-2.1 | 2,335 | 82 | codeparrot/github-code |
c6e208f1c7da63cb7599e83a440de0f0fd7eaee64bb7e522666932409d323d73 | package net.fwbrasil.activate.storage.relational.idiom
import scala.collection.mutable.{ Map => MutableMap }
import net.fwbrasil.activate.storage.marshalling.BooleanStorageValue
import net.fwbrasil.activate.storage.marshalling.DoubleStorageValue
import net.fwbrasil.activate.storage.marshalling.IntStorageValue
import n... | Scala | activate-jdbc/src/main/scala/net/fwbrasil/activate/storage/relational/idiom/PostgresqlDialect.scala | fwbrasil/activate | lgpl-2.1 | 8,145 | 144 | codeparrot/github-code |
7c701e3050c916d60c8b8df0faca978a6b0224442f524c59c19bb3c781a52a9a | #!/bin/sh
#
# GCC-compatible wrapper for cl.exe
#
# Assumes CL.EXE and ML.EXE are in PATH and INCLUDE/LIB appropriately set
#
nowarn="/wd4127 /wd4820 /wd4706 /wd4100 /wd4255 /wd4668"
args="/nologo /EHac /W3 $nowarn" # /WX
#md="/MD"
cl="cl"
ml="ml"
if [ -z "$INCLUDE" -a -z "$Include" -o -z "$LIB" -a -z "$Lib" ]; then... | Shell | native/cc.sh | trejkaz/jna | lgpl-2.1 | 4,008 | 189 | codeparrot/github-code |
42c380f9be540d5100beb868e1eae8a19d5e38df7bd6999518eae2cfd6a89d83 | // -*- Mode: C++; tab-width: 2; -*-
// vi: set ts=2:
//
// $Id: molecularDynamics.h,v 1.33 2005/12/23 17:01:53 amoll Exp $
//
// MolecularDynamics: A base class for molecular dynamics simulations
// Useful MD classes must be derived from this class.
#ifndef BALL_MOLMEC_MDSIMULATION_MOLECULARDYNAMICS_H
#define BAL... | C | include/BALL/MOLMEC/MDSIMULATION/molecularDynamics.h | tkemmer/ball | lgpl-2.1 | 10,850 | 433 | codeparrot/github-code |
0c2a5fd2aefae8b93fb6810811df0943cd397536d0065714af6c7aecb4cf0492 | package org.intermine.bio.web.displayer;
/*
* Copyright (C) 2002-2014 FlyMine
*
* This code may be freely distributed and modified under the
* terms of the GNU Lesser General Public Licence. This should
* be distributed with the code. See the LICENSE file for more
* information or http://www.gnu.org/copyleft/l... | Java | bio/webapp/src/org/intermine/bio/web/displayer/MetabolicGeneSummaryDisplayer.java | julie-sullivan/phytomine | lgpl-2.1 | 15,458 | 414 | codeparrot/github-code |
256d075d73a31b40d36f65b77ca77b7da28ffde45c399d7cfaae92ecdb994a78 | /////////////////////////////////////////////////////////////////////////////
// Name: propgrid.h
// Purpose: interface of wxPropertyGrid
// Author: wxWidgets team
// RCS-ID: $Id$
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
/**
... | C | src/wxWidgets-2.9.4/interface/wx/propgrid/propgrid.h | enachb/freetel-code | lgpl-2.1 | 40,783 | 1,306 | codeparrot/github-code |
80be8807d2982dc7614dc9b96d152348d2dff6556de265b91e2706fa9610f251 | /*
Copyright (C) 2010 William Hart
Copyright (C) 2011 Fredrik Johansson
This file is part of FLINT.
FLINT is free software: you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License (LGPL) as published
by the Free Software Foundation; either version 2.1 ... | C | nmod_poly/test/t-interpolate_nmod_vec_newton.c | fredrik-johansson/flint2 | lgpl-2.1 | 1,946 | 79 | codeparrot/github-code |
75736c735461136c8b7ebd6a9371cecc511d73ee80c6056c1abcdaeb39ddab08 | /*
* Copyright (c) 1995-2001,2003 Silicon Graphics, Inc. All Rights Reserved.
* Copyright (c) 2009 Aconex. All Rights Reserved.
*
* 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; ... | C | src/libpcp/src/AF.c | aeg-aeg/pcpfans | lgpl-2.1 | 11,884 | 525 | codeparrot/github-code |
bad0a799e52e4a83f47b8bed6b6b1b25026e8dfa36df2531a1bad6c0577c8565 | /****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Copyright (C) 2019 Jochen Ulrich <jochenulrich@t-online.de>
** Contact: https://www.qt.io/licensing/
**
** This file is part of Qbs.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** ... | C++ | src/lib/corelib/buildgraph/processcommandexecutor.cpp | qt-labs/qbs | lgpl-2.1 | 17,403 | 425 | codeparrot/github-code |
fa3a0584927f276e3d846137558ca20f20df38cbc74180cb8b517cf3da9bfb62 | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_US" lang="en_US">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- q3progressbar... | HTML | doc/html/q3progressbar-obsolete.html | eric100lin/Qt-4.8.6 | lgpl-2.1 | 12,093 | 227 | codeparrot/github-code |
d8b87b937c94db20a2f67edeceecb29aba06b85121ed628913fa160081b8bcc4 | /****************************************************************************
**
** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the Qt Designer of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licensees h... | C | tools/designer/src/lib/uilib/formbuilder.h | eric100lin/Qt-4.8.6 | lgpl-2.1 | 4,113 | 116 | codeparrot/github-code |
67e1032c9ce176df67703668266098d0f699d64f37b55cfc5683f15f0b5b9a41 | package org.jgroups.blocks.mux;
import java.util.Collection;
import org.jgroups.Address;
import org.jgroups.Channel;
import org.jgroups.MembershipListener;
import org.jgroups.Message;
import org.jgroups.MessageListener;
import org.jgroups.UpHandler;
import org.jgroups.blocks.GroupRequest;
import org.jgroups.blocks.Me... | Java | src/org/jgroups/blocks/mux/MuxRpcDispatcher.java | tristantarrant/JGroups | lgpl-2.1 | 3,963 | 113 | codeparrot/github-code |
56ae9dd71fec43526e552842785d767c1a3c1469544c5d4ada259b67c938234f | ///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version Apr 10 2012)
// http://www.wxformbuilder.org/
//
// PLEASE DO "NOT" EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////
#ifndef __DIALOG_LAYERS_SE... | C | gerbview/dialogs/dialog_layers_select_to_pcb_base.h | peabody124/kicad | lgpl-2.1 | 3,252 | 89 | codeparrot/github-code |
e51286203ed430d3d6119dbe51868ba93b6ce2943b899941d52828521b9edef0 | /**
* @file llregistry.h
* @brief template classes for registering name, value pairs in nested scopes, statically, etc.
*
* $LicenseInfo:firstyear=2001&license=viewerlgpl$
* Second Life Viewer Source Code
* Copyright (C) 2010, Linden Research, Inc.
*
* This library is free software; you can redistribute it an... | C | indra/llcommon/llregistry.h | gabeharms/firestorm | lgpl-2.1 | 8,191 | 359 | codeparrot/github-code |
f2c732bfe829ac26d19fd418b35db60eba6b6d7e1d9b0c4dd0e129ba1cceefff | /*
* Copyright 2013 Red Hat Inc., Durham, North Carolina.
* All Rights Reserved.
*
* 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 ... | C | src/XCCDF_POLICY/xccdf_policy_substitute.c | mpreisler/openscap | lgpl-2.1 | 8,520 | 226 | codeparrot/github-code |
521abdf4ad19b7a916987f4a87b61eb0a7d1add4522bacb962f4e75d95e31531 | /**
* @file sync/SyncHashCache.c
*
* Part of NDNx Sync.
*/
/*
* Portions Copyright (C) 2013 Regents of the University of California.
*
* Based on the CCNx C Library by PARC.
* Copyright (C) 2011-2012 Palo Alto Research Center, Inc.
*
* This library is free software; you can redistribute it and/or modify it... | C | sync/SyncHashCache.c | cawka/ndnx | lgpl-2.1 | 8,951 | 272 | codeparrot/github-code |
98c70d83e8771648ac19ed56f482ff9aa2dc3dbdeaea90c41fce3835b10f1159 | /*
(c) Copyright 2001-2012 The world wide DirectFB Open Source Community (directfb.org)
(c) Copyright 2000-2004 Convergence (integrated media) GmbH
All rights reserved.
Written by Denis Oliver Kropp <dok@directfb.org>,
Andreas Hundt <andi@fischlustig.de>,
Sven Neumann <neo@di... | C++ | src/core/CoreSurfaceClient_real.cpp | stoku/DirectFB-1.6.3-ab | lgpl-2.1 | 2,845 | 96 | codeparrot/github-code |
05efccd7c6250cbcc04ee06e2b310d9e8b178831d875cfea114e640b536476dd | # This file is part of Metasm, the Ruby assembly manipulation suite
# Copyright (C) 2006-2009 Yoann GUILLOT
#
# Licence is LGPL, see LICENCE in the top-level directory
require 'metasm/gui/dasm_main'
module Metasm
module Gui
# TODO invalidate dbg.disassembler on selfmodifying code
class DbgWidget < Container... | Ruby | metasm/gui/debug.rb | CBongo/metasm | lgpl-2.1 | 35,935 | 1,295 | codeparrot/github-code |
79e20607c1e9b9b71adb5abdf1985c4bd0aed350d08f93de5adaffe7a17ec6a5 | package vars.annotation.ui.commandqueue;
/**
* EventBus Event class. Wraps a command that will be stored in the CommandQueue. It
* has a direction, DO or UNDO. In general, only DO commands should be used by developers.
* @author Brian Schlining
* @since 2011-09-21
*/
public class CommandEvent {
public static... | Java | vars-annotation/src/main/java/vars/annotation/ui/commandqueue/CommandEvent.java | hohonuuli/vars | lgpl-2.1 | 1,053 | 44 | codeparrot/github-code |
075a5673ecdf9e6f2f176d8c9b12462b355fe8164a9cdbaea9fc78113c3cc06e | /*
* Copyright (C) 2009 Nokia Corporation.
*
* Contact: Marius Vollmer <marius.vollmer@nokia.com>
*
* 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 library i... | C | libcontextsubscriber/cli/commandwatcher.h | dudochkin-victor/contextkit | lgpl-2.1 | 1,423 | 50 | codeparrot/github-code |
bada2cbaa6a4eeba5a3b799fcab5efa5ab8ea99df20d4503423baa7080c63945 | #ifndef IVL_entity_H
#define IVL_entity_H
/*
* Copyright (c) 2011-2014 Stephen Williams (steve@icarus.com)
*
* This source code is free software; you can redistribute it
* and/or modify it in source code form under the terms of the GNU
* General Public License as published by the Free Software
* Found... | C | vhdlpp/entity.h | CastMi/iverilog | lgpl-2.1 | 5,201 | 165 | codeparrot/github-code |
af531dc36cad9f202e7b8d1ba0fe0977500a5f235b40b1e490a598c50bed0bf4 | /*****************************************************************************
*
* This file is part of Mapnik (c++ mapping toolkit)
*
* Copyright (C) 2014 Artem Pavlenko
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as p... | C++ | src/agg/process_shield_symbolizer.cpp | Airphrame/mapnik | lgpl-2.1 | 3,440 | 83 | codeparrot/github-code |
3cc554cf9912fb55800a605ffcd5a4b324715cf45ac011570bf8a0a248dcab55 | /*
* Part of the CCNx Java Library.
*
* Copyright (C) 2008, 2009, 2010, 2012 Palo Alto Research Center, 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 l... | Java | javasrc/src/org/ccnx/ccn/profiles/SegmentationProfile.java | ryanrhymes/mobiccnx | lgpl-2.1 | 22,097 | 554 | codeparrot/github-code |
926be6c42e038984503c7467e2e658c47bf291d8997b2883670b534b5a3b8993 | #include "ovkCLogListenerFile.h"
#include <cstdio>
#include <sstream>
using namespace OpenViBE;
using namespace OpenViBE::Kernel;
using namespace std;
#define _do_stuff_on_file_(f, wm, stuff) \
FILE* f=fopen(m_sLogFilename.toASCIIString(), wm); \
if(f) \
{ \
stuff; \
fclose(f); \
}
CLogListenerFile::CLogLis... | C++ | openvibe-kernel-omk/trunc/src/openvibe-kernel/kernel/log/ovkCLogListenerFile.cpp | antoche/openvibe | lgpl-2.1 | 6,987 | 310 | codeparrot/github-code |
cc9ae36f371f2cd9303a5c6208d3eb8eff4a3fabf7bf631ac524eb5fe86f0d87 | /****************************************************************************
**
** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the plugins of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** No Co... | C++ | src/plugins/accessible/widgets/qaccessiblemenu.cpp | igor-sfdc/qt-wk | lgpl-2.1 | 17,463 | 679 | codeparrot/github-code |
66d24f263d8687412a6557cf390a30214e748ee0fd6b6bd096ece11098bf7687 | /****************************************************************************
**
** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the QtCore module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licensees... | C++ | src/corelib/thread/qwaitcondition_win.cpp | nonrational/qt-everywhere-opensource-src-4.8.6 | lgpl-2.1 | 6,670 | 234 | codeparrot/github-code |
ff2bd4a46746c08917f5d7383603920b6ea938442017addb0a53de5a443f7b45 | ##############################################################################
# Copyright (c) 2013-2018, Lawrence Livermore National Security, LLC.
# Produced at the Lawrence Livermore National Laboratory.
#
# This file is part of Spack.
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
# LLNL-CODE-64... | Python | var/spack/repos/builtin/packages/nwchem/package.py | mfherbst/spack | lgpl-2.1 | 9,995 | 177 | codeparrot/github-code |
5f012b47f6fd748d74f864977514ccd2b718d054c122e4b7ef7c1c29090dcb22 | /*
* This file is part of hildon-status-menu
*
* Copyright (C) 2006, 2007, 2008 Nokia Corporation.
*
* Based on main.c from hildon-desktop.
*
* 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 ... | C | src/hildon-status-menu.c | Cordia/hildon-status-menu | lgpl-2.1 | 4,405 | 167 | codeparrot/github-code |
1d66f5be59a9c123adf226df85c76c82e0ccce1404ae70ab0a9c85d4dbc5601e | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_US" lang="en_US">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Qt 4.8: v... | HTML | doc/html/declarative-modelviews-visualitemmodel-visualitemmodel-pro.html | nonrational/qt-everywhere-opensource-src-4.8.6 | lgpl-2.1 | 10,955 | 244 | codeparrot/github-code |
8af8368d057d3c14468415da4152915dff068da6e0ff84835ad171ba113decac | #!/bin/sh
# Copyright (c) 2010 The Open Source Geospatial Foundation.
# Licensed under the GNU LGPL.
#
# 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,
#... | Shell | bin/retired/install_atlasstyler.sh | guygriffiths/OSGeoLive | lgpl-2.1 | 3,393 | 90 | codeparrot/github-code |
493b2d2288bed7e0be7a484495e3c1a556e4758fe4d3f5851de05b4d4b77d002 | ##############################################################################
# Name: misc/scripts/update_doc_utils.py
# Purpose: base utilities for others update_doc_*.py scripts
# Created: 2007-08-1
# RCS-ID: $Id$
# Copyright: (c) 2007 Francesco Montorsi
# Licence: wxWindows licence
#############... | Python | src/wxWidgets-2.9.4/misc/scripts/update_doc_utils.py | enachb/freetel-code | lgpl-2.1 | 1,788 | 50 | codeparrot/github-code |
7e661260209266ced0f39931e14a7914928b302a5d36296b8f99e0d7e1b8b9d4 | /*BHEADER**********************************************************************
* Copyright (c) 2008, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* This file is part of HYPRE. See file COPYRIGHT for details.
*
* HYPRE is free software; you can redistribute... | C | src/parcsr_ls/par_rap.c | jbakosi/HYPRE | lgpl-2.1 | 67,543 | 1,815 | codeparrot/github-code |
ef4b4cab53daf9e00f8ad84bc561e072ef89cfa4fc0e5e47333cf912b7c457f2 |
from django.db import models
from django.contrib.auth.models import User
from django.core.exceptions import ValidationError
import datetime
# Create your models here.
class Article(models.Model):
title = models.CharField(max_length=255)
brief = models.CharField(null=True,blank=True,max_length=255)
category... | Python | stu103151/days20/project/bbs/models.py | XiaJieCom/change | lgpl-2.1 | 2,735 | 66 | codeparrot/github-code |
22fdcdbb06a35911b9faf26c44e46f681fd6f493f87c8d170ea283520b8e0063 | /*
* xen_internal.h: internal API for direct access to Xen hypervisor level
*
* Copyright (C) 2005, 2010-2011 Red Hat, Inc.
*
* 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... | C | src/xen/xen_hypervisor.h | wiedi/libvirt | lgpl-2.1 | 6,665 | 152 | codeparrot/github-code |
41e5a7ede2ec11f4286e7c2fd1032f5c16f72954f5a7043f5b4c56d2da97dd6d | /*
* This file is part of libbluray
* Copyright (C) 2010 William Hahne
*
* 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) a... | Java | src/libbluray/bdj/java/org/videolan/BDJLoader.java | EdwardNewK/libbluray | lgpl-2.1 | 11,234 | 305 | codeparrot/github-code |
f11d8d811263f75d9d1db725b5ef7b029b6c5c623e21c8a9eebc424e8e08e8c3 | /*
* This file is part of Cockpit.
*
* Copyright (C) 2015 Red Hat, Inc.
*
* Cockpit 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... | JavaScript | pkg/kubernetes/scripts/test-kube-client.js | andreasn/cockpit | lgpl-2.1 | 34,267 | 916 | codeparrot/github-code |
020415327211fda2e07f9c4a6e660024360a09f60d58d08b4d9125de1daa5023 | // Accord Audio Library
// The Accord.NET Framework
// http://accord-framework.net
//
// Copyright © César Souza, 2009-2014
// cesarsouza at gmail.com
//
// 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 th... | C# | Sources/Accord.Audio/Metronome.cs | DiegoCatalano/framework | lgpl-2.1 | 6,370 | 228 | codeparrot/github-code |
66d30558cc40df49758e49d5dcbb0635e18d6b96ab229aae8cdec69c043d5768 | /* draw straight draw_lines
*
* Copyright: J. Cupitt
* Written: 15/06/1992
* Modified : 22/10/92 - clipping constraints changed
* 22/7/93 JC
* - im_incheck() added
* 16/8/94 JC
* - im_incheck() changed to im_makerw()
* 5/12/06
* - im_invalidate() after paint
* 1/3/10
* - oops, draw_lineset needs to ask fo... | C | libvips/draw/draw_line.c | leiyangyou/libvips | lgpl-2.1 | 8,800 | 398 | codeparrot/github-code |
b5cb015ea8898063c2a3ea6c1fef18b29b8a5db1c3e9ea7269342b00254bf66b | /****************************************************************************
**
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the tools applications of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Lice... | C++ | src/qml/qml/qqmlobjectcreator.cpp | matthewvogt/qtdeclarative | lgpl-2.1 | 57,182 | 1,362 | codeparrot/github-code |
f475846d572b1cbabeb52c61b38b8b65237c7fbd8af5e6fd51c02290b28bd01a | //
// MenuStripTest.cs
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribut... | C# | class/Managed.Windows.Forms/Test/System.Windows.Forms/MenuStripTest.cs | edwinspire/VSharp | lgpl-3.0 | 6,834 | 220 | codeparrot/github-code |
bbe4198827f7f5576c09fa2ed520bcbe46086d55f09beb41006f464cd0f16c0e | /**
* This file is part of QFCgi.
*
* QFCgi 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.
*
* QFCgi is distributed in ... | C++ | src/qfcgi/fcgi.cpp | drobin/qfcgi | lgpl-3.0 | 2,167 | 76 | codeparrot/github-code |
0c334ee5985b3ef7bdcfa0e09525966b2a15e977dfad65204af9ea00c7b29a32 | /**
* Copyright 2005-2007 ECMWF
*
* Licensed under the GNU Lesser General Public License which
* incorporates the terms and conditions of version 3 of the GNU
* General Public License.
* See LICENSE and gpl-3.0.txt for details.
*/
/**********************************
* Enrico Fucile
*********************************... | C | src/grib_accessor_class_number_of_values.c | erdc-cm/grib_api | lgpl-3.0 | 7,306 | 204 | codeparrot/github-code |
81e4cb1ed43b68a94444f977394040ed42db2d354f55fbe16ca6e281b37119ae |
package org.bbaw.bts.ui.corpus.handlers;
import javax.inject.Named;
import org.bbaw.bts.btsmodel.BTSObject;
import org.bbaw.bts.core.commons.BTSCoreConstants;
import org.bbaw.bts.core.corpus.controller.partController.CorpusNavigatorController;
import org.bbaw.bts.ui.corpus.dialogs.PassportEditorDialog;
imp... | Java | org.bbaw.bts.ui.corpus/src/org/bbaw/bts/ui/corpus/handlers/PassportOpenObjectMetadataHandler.java | JKatzwinkel/bts | lgpl-3.0 | 1,240 | 38 | codeparrot/github-code |
1c8cdcbdffdce277956bc0895c461b369872271d35fdc698ef68ebfe0cbf5321 | // Copyright 2016 The go-ethereum Authors
// This file is part of the go-ethereum library.
//
// The go-ethereum 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... | GO | mobile/common.go | expanse-org/go-expanse | lgpl-3.0 | 6,726 | 242 | codeparrot/github-code |
27666000302b813f960ee6c8a2e0d513a9399f9f67d7f13bcd3fee2f1d29f04c | /****************************************************************************
**
** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the QtQuick module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** Licens... | C++ | src/quick/items/qquickrepeater.cpp | Distrotech/qtdeclarative | lgpl-3.0 | 16,594 | 505 | codeparrot/github-code |
a4abf023ab2450a4607992261078a610cc99b765259fe0ccc2a29cbfb4ce6a87 | import sys
from services.spawn import MobileTemplate
from services.spawn import WeaponTemplate
from resources.datatables import WeaponType
from resources.datatables import Difficulty
from resources.datatables import Options
from java.util import Vector
def addTemplate(core):
mobileTemplate = MobileTemplate()
mobi... | Python | scripts/mobiles/tatooine/womprat.py | agry/NGECore2 | lgpl-3.0 | 1,620 | 49 | codeparrot/github-code |
8cb9ab294340269a70bd1ff47c4058d82525db532ad82023782bb1217b7b3255 | /****************************************************************************************************
* *
* IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. *
* ... | C++ | modules/comalgs/src/VO_Algs_Locating.cpp | leo-xzm/VOSM | lgpl-3.0 | 10,356 | 204 | codeparrot/github-code |
c65f1f0b27b8cf3a6da4c8d6910969623f87a2aceff799e9b020d86162fa3e8b | // This file is part of SVO - Semi-direct Visual Odometry.
//
// Copyright (C) 2014 Christian Forster <forster at ifi dot uzh dot ch>
// (Robotics and Perception Group, University of Zurich, Switzerland).
//
// SVO is free software: you can redistribute it and/or modify it under the
// terms of the GNU General Public L... | C++ | Thirdparty/svo/src/frame.cpp | zdzhaoyong/PIL | lgpl-3.0 | 5,332 | 195 | codeparrot/github-code |
6dae2adff3253700f77a776ec32968b3bf6993f6242be14fc78985c5303659cf | using Awesomium.Core;
using MVVMAwesomium.AwesomiumBinding;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MVVMAwesomium
{
public class AwesomiumBindingFactory : IAwesomiumBindingFactory
{
public AwesomiumBindin... | C# | MVVM.Awesomium/Binding/AwesomiumBindingFactory.cs | David-Desmaisons/MVVM-for-awesomium | lgpl-3.0 | 1,621 | 59 | codeparrot/github-code |
50d5ecb9dc68c2caf3993f4045d3437307c71a3ea176c31158e9556d0a5b610c | /**
* <copyright>
* </copyright>
*
*/
package net.blimster.gwt.threejs.wdl.threeJsWrapperDescriptionLanguage.impl;
import java.util.Collection;
import net.blimster.gwt.threejs.wdl.threeJsWrapperDescriptionLanguage.Model;
import net.blimster.gwt.threejs.wdl.threeJsWrapperDescriptionLanguage.ObjectWrapper;
import n... | Java | net.blimster.gwt.threejs.wdl/src-gen/net/blimster/gwt/threejs/wdl/threeJsWrapperDescriptionLanguage/impl/ModelImpl.java | Blimster/three4g.wdl | lgpl-3.0 | 4,092 | 171 | codeparrot/github-code |
a4f1e0817106734fca3100a53b94b2be6dbabe51070d0df6a99dd23bad140810 | /*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* Please send inquiries to huber AT ut DOT ee
*/
package edu.ut.mobile.ne... | Java | Framework-JVM/BackEnd/SurrogateJVM/src/main/java/edu/ut/mobile/network/CloudController.java | mobile-cloud-computing/ScalingMobileCodeOffloading | lgpl-3.0 | 3,189 | 105 | codeparrot/github-code |
ce82784312563e8b33f4df75cf389df283a3d295e278b355b3da49af4c0da3e9 | /*
* CP1143.cs - IBM EBCDIC (Finland/Sweden with Euro) code page.
*
* Copyright (c) 2002 Southern Storm Software, Pty Ltd
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the "Software"),
* to deal in the Software without res... | C# | class/I18N/Rare/CP1143.cs | edwinspire/VSharp | lgpl-3.0 | 26,619 | 962 | codeparrot/github-code |
e2e9c0aa2fdcbe01e50056cb9e44926095a57f63e967bd2f404be9d85ad5d207 | package GPL;
import java.util.LinkedList;
// ************************************************************
public class Graph {
// Adds an edge with weights
public void addAnEdge( Vertex start, Vertex end, int weight )
{
addEdge( start,end, weight );
}
public void addEdge( Vertex start,... | Java | examples/GPL/WeightedOnlyVertices/GPL/Graph.java | SergiyKolesnikov/fuji | lgpl-3.0 | 761 | 31 | codeparrot/github-code |
87833f3bd485ce3fc1bbaf56f3159b365c184a7e3de570cfe10eaf303e10dfd6 | package org.molgenis.jobs.model;
import org.apache.commons.lang3.RandomStringUtils;
import org.apache.commons.lang3.StringUtils;
import org.molgenis.data.AbstractMolgenisSpringTest;
import org.molgenis.jobs.config.JobTestConfig;
import org.molgenis.jobs.model.hello.HelloWorldJobExecution;
import org.molgenis.jobs.mode... | Java | molgenis-jobs/src/test/java/org/molgenis/jobs/model/JobExecutionTest.java | ChaoPang/molgenis | lgpl-3.0 | 2,688 | 74 | codeparrot/github-code |
f730bcf0dc0305254ec853e2f196e51b8034dd789e695fba37be003055c49d53 | /*************************************************************************\
* Copyright (C) Michael Kerrisk, 2014. *
* *
* This program is free software. You may use, modify, and redistribute it *
* under the term... | C | fileio/seek_io.c | caoyanwei/linux_api | lgpl-3.0 | 3,763 | 112 | codeparrot/github-code |
158f0579fcf2e14bafef678f384aed0154056677d9e794e0ef7b0bd794ee1720 | /*
* @BEGIN LICENSE
*
* Psi4: an open-source quantum chemistry software package
*
* Copyright (c) 2007-2022 The Psi4 Developers.
*
* The copyrights for code used from other parties are included in
* the corresponding files.
*
* This file is part of Psi4.
*
* Psi4 is free software; you can redistribute it an... | C++ | psi4/src/psi4/optking/molecule_backstep.cc | psi4/psi4 | lgpl-3.0 | 5,335 | 166 | codeparrot/github-code |
11d4f0c7acf5ef9143ac69437abc9f759f39b9fb54d98b953bd2e2bce589e969 | package org.molgenis.ontology.importer;
import static java.util.Objects.requireNonNull;
import java.io.File;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Set;
import java.util.stream.Collectors;
import org.apache.commons.io.IOUtils;
import org.molgenis.data.DataS... | Java | molgenis-ontology/src/main/java/org/molgenis/ontology/importer/OntologyImportService.java | marieke-bijlsma/molgenis | lgpl-3.0 | 5,892 | 199 | codeparrot/github-code |
98bfac21186364008083ffb8114c58c06dbdc0b79d3ae099265ef3ab3b190d20 | /*
* MoXie (SysTem128@GMail.Com) 2009-4-21 0:39:54
*
* Copyright © 2008-2009 Zoeey.Org
* Code license: GNU Lesser General Public License Version 3
* http://www.gnu.org/licenses/lgpl-3.0.txt
*/
package org.zoeey.plugins;
import javax.servlet.http.HttpServletResponse;
import org.zoeey.common.Versio... | Java | src/main/java/org/zoeey/plugins/FireJavaSimple.java | eixom/zoeey | lgpl-3.0 | 3,040 | 96 | codeparrot/github-code |
d339e1be1b5e8d1f36d6791ee8b509c67630670aeb65784f9691253d461bcb67 | /*
* Copyright (C) 2009 Christian Hujer
*
* 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 option) any later version.
*
* This program is d... | Java | historic2/src/test/net/sf/japi/cstyle/CStyleTest.java | christianhujer/japi | lgpl-3.0 | 2,138 | 52 | codeparrot/github-code |
1e30641af13a86e14e72509555fefa2b7f369800a0c5b29f6e54bb66704d4f3d | /*
* Copyright 2006 - 2013
* Stefan Balev <stefan.balev@graphstream-project.org>
* Julien Baudry <julien.baudry@graphstream-project.org>
* Antoine Dutot <antoine.dutot@graphstream-project.org>
* Yoann Pigné <yoann.pigne@graphstream-project.org>
* Guilhelm Savin <guilhelm.savin... | Java | src/org/graphstream/stream/file/FileSourceDGS.java | margaritis/gs-core | lgpl-3.0 | 3,938 | 127 | codeparrot/github-code |
e80917100c32497dbfc7f9dbe28dfd7731682d02923f76a7cb2d7649eb3972f2 | /********************************************************************************
* Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
* *
* This software is distributed under the terms of the ... | C | fairmq/zeromq/FairMQContextZMQ.h | ShipSoft/FairRoot | lgpl-3.0 | 1,093 | 37 | codeparrot/github-code |
ecad8adc58f31030c015fb8ba129e704ca64c3a7c8f897da1b8c80b4d12222a5 | /*
* FindBugs - Find bugs in Java programs
* Copyright (C) 2003,2004 University of Maryland
*
* 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, ... | Java | 3rdparty/findbugs086src/src/java/edu/umd/cs/findbugs/ClassMatcher.java | simeshev/parabuild-ci | lgpl-3.0 | 1,425 | 41 | codeparrot/github-code |
a523d08cc66305dbfd293b53e08d90b3ed4b3c6592aa9346442a98d1dde93c95 | <?php
namespace AppBundle\Controller;
use AppBundle\Entity\Sale;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Component\HttpFoundation\Request;
class SaleController extends Controller
{
/**
* @Route("/sales", name="sales")
... | PHP | src/AppBundle/Controller/SaleController.php | Zacklane/atlassian-vendor-tools | lgpl-3.0 | 1,223 | 43 | codeparrot/github-code |
ff77da02d1b9ee3b7826370eee9099d285d3ec6f3530d56f50e53f0aa9e4fd7a | package com.ochafik.swing.syntaxcoloring;
import javax.swing.text.Segment;
/**
* Perl token marker.
*
* @author Slava Pestov
* @version $Id: PerlTokenMarker.java,v 1.11 1999/12/13 03:40:30 sp Exp $
*/
public class PerlTokenMarker extends TokenMarker
{
// public members
public static final byte S_ONE = Token.INT... | Java | ochafik-swing/src/main/java/com/ochafik/swing/syntaxcoloring/PerlTokenMarker.java | nativelibs4java/JNAerator | lgpl-3.0 | 20,534 | 705 | codeparrot/github-code |
f34c9a53d7213d5b3508ee0347f5ad0b5d90e0b6b66bc65d68ad3f479ea52a4e | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Diagnostics;
using Microsoft.IdentityModel;
using System.Linq;
using System.Text;
using Sustainsys.Saml2.Metadata;
namespace Sustainsys.Saml2.Configuration
{
/// <summary>
/// Contact person for a SAML2 entity.
/// </... | C# | Sustainsys.Saml2/Configuration/ContactPersonElement.cs | KentorIT/authservices | lgpl-3.0 | 2,476 | 105 | codeparrot/github-code |
8a3053346b80585598b94a6c1fd7ac948b12b5740a55ffacba48ab9f7cb30b1b | /* Encoder Library, for measuring quadrature encoded signals
* http://www.pjrc.com/teensy/td_libs_Encoder.html
* Copyright (c) 2011,2013 PJRC.COM, LLC - Paul Stoffregen <paul@pjrc.com>
*
* Version 1.2 - fix -2 bug in C-only code
* Version 1.1 - expand to support boards with up to 60 interrupts
* Version 1.0 - ini... | C | Arduino/libraries/components/encoder.h | maartenverbandt/MECO-CSI | lgpl-3.0 | 26,945 | 947 | codeparrot/github-code |
bdc4dd61188ce3937d86539fc7fc096354beaf62aaf8195c57c86be4db63a1b4 | /*
* SonarAnalyzer for .NET
* Copyright (C) 2015-2016 SonarSource SA
* mailto:contact@sonarsource.com
*
* This program 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 ... | C# | src/SonarAnalyzer.CSharp/Rules/MethodOverrideAddsParamsCodeFixProvider.cs | tvsonar/sonarlint-roslyn-analyzer | lgpl-3.0 | 2,767 | 74 | codeparrot/github-code |
0755ba35f8f984f09a1e3ab9c0c9d0aad0fcc51d3a78b2b475223db85cbf087d | package alice.tuprolog.json;
import alice.tuprolog.Term;
//Alberto
public class ReducedEngineState extends AbstractEngineState {
@SuppressWarnings("unused")
private String type = "ReducedEngineState";
@Override
public void setQuery(Term query) {
this.query = query;
}
@Override
public Term getQuery(){
... | Java | 2p-mvn/tuProlog-3.5-mvn/src/alice/tuprolog/json/ReducedEngineState.java | zakski/project-soisceal | lgpl-3.0 | 990 | 52 | codeparrot/github-code |
98e05f3c6699d6f16870ee7558159d4d2c87cefe01d6e84b0c0c2823a46e3df8 | /**
* Copyright (C) 2010-2015 Gordon Fraser, Andrea Arcuri and EvoSuite
* contributors
*
* This file is part of EvoSuite.
*
* EvoSuite is free software: you can redistribute it and/or modify it
* under the terms of the GNU Lesser Public License as published by the
* Free Software Foundation, either version 3.0 ... | Java | master/src/test/java/com/examples/with/different/packagename/mutation/MutationPropagation.java | SoftwareEngineeringToolDemos/FSE-2011-EvoSuite | lgpl-3.0 | 1,011 | 39 | codeparrot/github-code |
b94de839953b9e5f7cb17d4fb687ec5cea0e1ea496bcc34eecce6e1c1a1e2d68 | package jmathlib.toolbox.string;
/* This file is part or JMathLib
* author: 2006/05/16
* */
import jmathlib.core.tokens.*;
import jmathlib.core.tokens.numbertokens.*;
import jmathlib.core.functions.ExternalFunction;
import jmathlib.core.interpreter.GlobalValues;
/**An external function for changi... | Java | src/jmathlib/toolbox/string/_double.java | nightscape/JMathLib | lgpl-3.0 | 2,760 | 102 | codeparrot/github-code |
ae02ca8f217ca4a3378f35f7dfbd568deef7df956c757031cc84ef757cda7ab1 | # graphicsDisplay.py
# ------------------
# Licensing Information: Please do not distribute or publish solutions to this
# project. You are free to use and extend these projects for educational
# purposes. The Pacman AI projects were developed at UC Berkeley, primarily by
# John DeNero (denero@cs.berkeley.edu) and Dan ... | Python | graphicsDisplay.py | rio-group/trabalho-ai-pacman | unlicense | 24,882 | 669 | codeparrot/github-code |
9796134cc45b06043dab7dd7d857de637390cb075ce0385da9fa6b18482aef26 | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* Copyright (c) 2012, Red Hat Inc. or third-party contributors as
* indicated by the @author tags or express copyright attribution
* statements applied by the authors. All third-party contributions are
* distributed under license by Red Hat Inc.
*
* T... | Java | frame_packages/java_libs/hibernate-distribution-3.6.10.Final/project/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/cascade/multilevel/Middle.java | codeApeFromChina/resource | unlicense | 2,016 | 79 | codeparrot/github-code |
b0ce32ffcc86c03e77c0f369b1920b47aeaddd90ef8a79498b70e56511576516 | package crazypants.enderio.conduits.conduit.power;
import javax.annotation.Nonnull;
import crazypants.enderio.base.conduit.IClientConduit;
import crazypants.enderio.base.conduit.IExtractor;
import crazypants.enderio.base.conduit.IServerConduit;
import crazypants.enderio.base.power.IPowerInterface;
import net.minecraf... | Java | enderio-conduits/src/main/java/crazypants/enderio/conduits/conduit/power/IPowerConduit.java | SleepyTrousers/EnderIO | unlicense | 1,006 | 31 | codeparrot/github-code |
b2ac5ce4b02b1a04830e82d3eff356b5528a967dbcebff449b52d1d248703cdd | package crazypants.enderio.base.transceiver;
import javax.annotation.Nonnull;
import com.enderio.core.common.util.NullHelper;
import com.enderio.core.common.util.UserIdent;
import com.mojang.authlib.GameProfile;
import info.loenwind.autosave.annotations.Factory;
import info.loenwind.autosave.annotations.Storable;
im... | Java | enderio-base/src/main/java/crazypants/enderio/base/transceiver/Channel.java | HenryLoenwind/EnderIO | unlicense | 2,739 | 109 | codeparrot/github-code |
2a55770f6e5842b6b9bf71b38b4bff5756542bd349e6efe624dbad1a66466109 | #include "debug.h"
#include "graphics.h"
#include "output.h"
#include "list.h"
#include "signal.h"
#include "string.h"
struct element* systemlog = NULL;
void haltdump(char* msg, int err)
{
int eax, ebx, ecx, edx, esi, edi;
int* stack;
asm volatile ("" // Load variables with initial register states.
... | C | kernel/debug.c | JEJacobi/SSMOS | unlicense | 4,329 | 107 | codeparrot/github-code |
6ccd91c95880163f6097bf842d088ab5c77e01008827a5e6b16afcfc0097004e | /*
* Copyright 2006-2015 the original author or 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 appl... | Java | modules/citrus-core/src/main/java/com/consol/citrus/actions/WaitAction.java | hmmlopez/citrus | apache-2.0 | 5,013 | 163 | codeparrot/github-code |
da928c72aa758f2a29c8d0548aace38fb183cd9b5fc822f9792bf183c8e1c61d | /*
* jutils.c
*
* Copyright (C) 1991-1996, Thomas G. Lane.
* Modified 2009-2011 by Guido Vollbeding.
* This file is part of the Independent JPEG Group's software.
* For conditions of distribution and use, see the accompanying README file.
*
* This file contains tables and miscellaneous utility routines needed
... | C | code/3rd-party/freeimage/LibJPEG/jutils.c | Im-dex/xray-162 | apache-2.0 | 6,663 | 228 | codeparrot/github-code |
eaf750f9ae4929f4825feef3453f80f05f093da72c05e95671ce942a1f045be2 | /**
* Copyright (C) 2011 Google 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 agreed to... | Java | stat/src/main/java/com/google/sitebricks/stat/StatRegistrar.java | mgenov/sitebricks | apache-2.0 | 3,380 | 98 | codeparrot/github-code |
dd148a9efae6ac2da29c52386101736b03a50ee752c1254546d3fd4e4d8ffe45 | // StylePageRule.cs
// Script#/Libraries/Web
// This source code is subject to terms and conditions of the Apache License, Version 2.0.
//
using System;
using System.Runtime.CompilerServices;
namespace System.Html.StyleSheets {
[ScriptIgnoreNamespace]
[ScriptImport]
public sealed class StylePageRule : S... | C# | src/Libraries/Web/Html/StyleSheets/StylePageRule.cs | nikhilk/scriptsharp | apache-2.0 | 670 | 35 | codeparrot/github-code |
ef33bcd411dea5bfdc2bbd7c4a774b3351b656a00259a2577c7929ff286e7998 | /*
* Copyright © 2014 - 2021 Leipzig University (Database Research Group)
*
* 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... | Java | gradoop-data-integration/src/main/java/org/gradoop/dataintegration/transformation/functions/CreateCartesianNeighborhoodEdges.java | galpha/gradoop | apache-2.0 | 3,273 | 90 | codeparrot/github-code |
fa4291c5c96a5d0af97632bde01135203794194dcd41c64fdc5e3860351eb0c9 | using Esri.ArcGISRuntime.Controls;
using Esri.ArcGISRuntime.Geometry;
using Esri.ArcGISRuntime.Layers;
using Esri.ArcGISRuntime.Symbology;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Windows.Foundation;
using Windows.UI;
using Windows.UI.Popups;
using Windows.... | C# | src/Phone/ArcGISRuntimeSamplesPhone/Samples/GraphicsLayers/GraphicsLayerSelection.xaml.cs | sharifulgeo/arcgis-runtime-samples-dotnet | apache-2.0 | 4,244 | 154 | codeparrot/github-code |
60d4935a745025055bb38b744653b93253b71c7efc2f18248a216ad38a731481 | /* Copyright (c) 2015 Magnet Systems, 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 ... | Java | server/plugins/mmxmgmt/src/main/java/com/magnet/mmx/server/plugin/mmxmgmt/api/push/IOSSpecific.java | magnetsystems/message-server | apache-2.0 | 1,175 | 49 | codeparrot/github-code |
154f019e95997b9f53e045de4f5ec30a5f8a4f80a257a030b2a7f65be5f1971b | /*
* Copyright 2015-2016 Red Hat, Inc, and individual 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless require... | Java | app/src/main/java/org/jboss/hal/client/configuration/subsystem/elytron/ElytronSubsystemView.java | hpehl/hal.next | apache-2.0 | 1,555 | 45 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.