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 |
|---|---|---|---|---|---|---|---|---|
153e09cef26a19e573afb7e54cdd718f4336889c11750743925b37ef356b2469 | /*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
/*
* Copyright (c) 2014, Joyent, Inc.
*/
module.exports = Checkpoint;
var assert = require('assert-plus');... | JavaScript | lib/ufds-replicator/checkpoint.js | arekinath/sdc-ufds | mpl-2.0 | 5,795 | 222 | codeparrot/github-code |
13a42776ea52dae9eecf16b5fd5bb79daab9ae0a1c2a6becdfcbc94df7a25ffd | <?php
/**
* Laconica, the distributed open-source microblogging tool
*
* Plugin to do "real time" updates using Comet/Bayeux
*
* PHP version 5
*
* LICENCE: 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 Fr... | PHP | plugins/Comet/CometPlugin.php | Br3nda/laconica | agpl-3.0 | 3,146 | 108 | codeparrot/github-code |
00cb95faed356aae45bb98e19d9c0f05195357e6f038aec3addd5b4c5fafda2a | /*
Flexisip, a flexible SIP proxy server with media capabilities.
Copyright (C) 2015 Belledonne Communications SARL.
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 t... | C++ | src/configdumper.hh | gale320/flexisip | agpl-3.0 | 5,942 | 167 | codeparrot/github-code |
505cb1b638460852110731794b9bc9a0b98ba81b7a30471663c981bef07cdc98 | # #!/usr/bin/env python
# -*- coding: utf-8 -*-
# <HTTPretty - HTTP client mock for Python>
# Copyright (C) <2011-2013> Gabriel Falcão <gabriel@nacaolivre.org>
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation
# files (the "Software"), to d... | Python | venv/lib/python2.7/site-packages/httpretty/__init__.py | GbalsaC/bitnamiP | agpl-3.0 | 1,913 | 57 | codeparrot/github-code |
8acbdee5c5301098c4d3f69592c6f9823118f06f474073503a72383efd46926b | /*
Copyright (C) 2014 Omega software d.o.o.
This file is part of Rhetos.
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 (a... | C# | CommonConcepts/Plugins/Rhetos.Dsl.DefaultConcepts/SimpleBusinessLogic/ModuleExternalReferenceInfo.cs | bantolov/Rhetos | agpl-3.0 | 1,409 | 44 | codeparrot/github-code |
c2762f9c81014cb36bda5bc1740a302f46945085ccb6778344c2d56bbcb7fae8 | function LoginControllerUUID($injector, $scope, $http, $location, $modalInstance, $q, Account, uuid, $idle) {
$scope.login = {
uuid: uuid
}
Login($injector, $scope, $http, $location, $modalInstance, $q, Account, $idle);
}
function LoginController($injector, $scope, $http, $location, $modalInstance, $q, Acco... | JavaScript | www/js/LoginController.js | habibmasuro/omniwallet | agpl-3.0 | 1,719 | 52 | codeparrot/github-code |
e91709a979efddbe258653da8bfd3e44eca3f9a82629d0a8f2f3ff8467fe7bd5 | /*
* 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 | core/src/main/java/io/bisq/core/alert/AlertModule.java | sakazz/exchange | agpl-3.0 | 1,386 | 39 | codeparrot/github-code |
aaf6a394db7511dfcfbb3568fb0dc725c9a76454ef131d39840478f94e61dbf3 | // ******************************************************************************************
// * This project is licensed under the GNU Affero GPL v3. Copyright © 2014 A3Wasteland.com *
// ******************************************************************************************
#include "player_sys.sqf"
class playe... | C++ | client/systems/playerMenu/dialog/player_settings.hpp | A3Armory/A3A_A3Wasteland_Sock.Altis | agpl-3.0 | 5,126 | 226 | codeparrot/github-code |
09d83b357432208678786d59589236658c7b1ad624ba3ea38aa434c079b3c6f6 | /*
* Copyright (C) 2017 ScyllaDB
*
*/
/*
* This file is part of Scylla.
*
* Scylla 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 la... | C++ | sstables/progress_monitor.hh | fastio/pedis | agpl-3.0 | 2,426 | 86 | codeparrot/github-code |
47db48d707d25153026603181f4c803dbf4a0c62bf66b9a5c4a05d50d7ffadfc | /*
Set default payment source for signed in customer.
*/
import createPaymentMethod from "@cocalc/server/billing/create-payment-method";
import getAccountId from "lib/account/get-account";
import isPost from "lib/api/is-post";
export default async function handle(req, res) {
if (!isPost(req, res)) return;
try {
... | TypeScript | src/packages/next/pages/api/v2/billing/create-payment-method.ts | DrXyzzy/cocalc | agpl-3.0 | 789 | 31 | codeparrot/github-code |
2b21e915804e897d8b7f9bf524c377c87538d01f7b3b6d69495f05cc5387d306 | # coding: utf-8
# The Hazard Library
# Copyright (C) 2013-2016 GEM Foundation
#
# 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 ... | Python | openquake/hazardlib/mfd/youngs_coppersmith_1985.py | rcgee/oq-hazardlib | agpl-3.0 | 15,227 | 349 | codeparrot/github-code |
3e05a902f7a6536bb4ce30ff3767851805d58cefee515440a75478987deff289 | /*
* ArgonMS MapleStory server emulator written in Java
* Copyright (C) 2011-2013 GoldenKevin
*
* 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, ... | JavaScript | scripts/npcs/warrior3.js | Kevin-Jin/argonms-server | agpl-3.0 | 8,996 | 111 | codeparrot/github-code |
2b6bd9b12c52d6d3117ce052dafc7333676b3e531de989c523746c706d2023b7 | /*******************************************************************************
* HELIUM V, Open Source ERP software for sustained success
* at small and medium-sized enterprises.
* Copyright (C) 2004 - 2015 HELIUM V IT-Solutions GmbH
*
* This program is free software: you can redistribute it and/or modify
* it... | Java | src/com/lp/client/fertigung/PanelLosKopfdaten.java | erdincay/lpclientpc | agpl-3.0 | 86,918 | 2,552 | codeparrot/github-code |
a6f575dedf82fbc8f743ad021f1c9877cfe815c22b6f42dc4822d7dc880fdf83 | from django import forms
from django.contrib.auth import get_user_model
from . import widgets
User = get_user_model()
class PageForm(forms.Form):
@classmethod
def setup(cls, page, data):
cls.base_fields = {
question.field_id: question.make_field() for question in page.mock_questions
... | Python | callisto_core/wizard_builder/forms.py | project-callisto/callisto-core | agpl-3.0 | 1,434 | 49 | codeparrot/github-code |
03e79c3224a9588d63da0f479047c6d6e8ce93071c7cb6f543d633c56cdcb6f9 | <?php
class EntityFacetResult extends EntityBase
{
public $aFacetGroups = array();
public $aSelectedFacetGroups = array();
public $sFilterText = '';
private function __construct()
{
}
public static function createEmpty()
{
$obj = new EntityFacetResult();
return $ob... | PHP | workflow/engine/classes/entities/EntityFacetResult.php | tomolimo/processmaker-server | agpl-3.0 | 690 | 36 | codeparrot/github-code |
7f5f6b35af686232fbe41d65231463513a69328e79a4e87c654ead648a0a3e32 | #!/usr/bin/python
# -*- coding: utf-8 -*-
# Copyright (C) 2009-2012:
# Gabes Jean, naparuba@gmail.com
# Gerhard Lausser, Gerhard.Lausser@consol.de
# Gregory Starck, g.starck@gmail.com
# Hartmut Goebel, h.goebel@goebel-consult.de
#
# This file is part of Shinken.
#
# Shinken is free software: you can redis... | Python | module/plugins/eltdetail/eltdetail.py | mohierf/mod-webui | agpl-3.0 | 2,612 | 84 | codeparrot/github-code |
88e1568254c21965f7c3152f0750915f52e3e24621ebd7713ce4f409d6ce8440 | /*
* Copyright (C) 2000 - 2016 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-library/src/main/java/org/silverpeas/core/contribution/contentcontainer/content/SilverContent.java | auroreallibe/Silverpeas-Core | agpl-3.0 | 2,313 | 82 | codeparrot/github-code |
a6e3e59397cd47b1814bc169413122122edf9c824dbd8bfe8b2448aa2612ef7c | module Abilities
class Guest
include CanCan::Ability
def initialize(_user)
can :read, Event, private: false
visible_groups_stuff
visible_forum_stuff
visible_blogs_stuff
visible_proposals_stuff
can :show, User
can :read, Announcement, ['starts_at <= :now and ends_at... | Ruby | app/cancan/abilities/guest.rb | giovanisp/Airesis | agpl-3.0 | 1,797 | 55 | codeparrot/github-code |
fbd9bc5e7d6b7f2ca7029d4c35a34d7af78922c8285e3c47b66ca9a58f32147b | import json
from datetime import datetime, timedelta
from flask import abort, Blueprint, current_app, jsonify, request
from functools import wraps
from sqlalchemy.exc import IntegrityError
from os import path
from uuid import UUID
from werkzeug.exceptions import default_exceptions # type: ignore
from db import db
fr... | Python | securedrop/journalist_app/api.py | ehartsuyker/securedrop | agpl-3.0 | 13,022 | 342 | codeparrot/github-code |
c63ea629d5451db67500e86bdfede3c0fe9fb02c8db0d085f1b5b96399209537 | #
# Copyright (C) 2012 Instructure, Inc.
#
# This file is part of Canvas.
#
# Canvas 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, version 3 of the License.
#
# Canvas is distributed in the hope that ... | Ruby | lib/api/v1/context_module.rb | gbleydon/canvas-lms | agpl-3.0 | 7,478 | 176 | codeparrot/github-code |
73c6475aef504e304cb56706e8ebde37b1b5f055b8f90b90f83347662a69c729 | /*
@(#) src/java/javax/jain/ListenerNotRegisteredException.java <p>
Copyright © 2008-2015 Monavacon Limited <a href="http://www.monavacon.com/"><http://www.monavacon.com/></a>. <br>
Copyright © 2001-2008 OpenSS7 Corporation <a href="http://www.openss7.com/"><http://www.openss7.com/></a>.... | Java | src/java/javax/jain/ListenerNotRegisteredException.java | kerr-huang/openss7 | agpl-3.0 | 3,787 | 79 | codeparrot/github-code |
1c3d9990f4c724d6751cf1918eae1c891e7cfbb95397739e22dbcaa405f63516 | /*
* Tanaguru - Automated webpage assessment
* Copyright (C) 2008-2015 Tanaguru.org
*
* 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 you... | Java | rules/accessiweb2.2/src/test/java/org/tanaguru/rules/accessiweb22/Aw22Rule01084Test.java | Tanaguru/Tanaguru | agpl-3.0 | 5,639 | 123 | codeparrot/github-code |
f4e856d5e398cf6f6162e26aa7d47ff415624dd84342c816c647bdc59bc385ca | /*
* RapidMiner
*
* Copyright (C) 2001-2013 by Rapid-I and the contributors
*
* Complete list of developers available at our web site:
*
* http://rapid-i.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as pub... | Java | src/com/rapidminer/gui/operatormenu/NewOperatorMenu.java | aborg0/RapidMiner-Unuk | agpl-3.0 | 1,957 | 60 | codeparrot/github-code |
e7f18f9564d9ea4e9f7ffd1bd57e9ea8ccfc0d74dedb83566bd87aef57d502b1 | /*******************************************************************************
* HELIUM V, Open Source ERP software for sustained success
* at small and medium-sized enterprises.
* Copyright (C) 2004 - 2015 HELIUM V IT-Solutions GmbH
*
* This program is free software: you can redistribute it and/or modify
* it... | Java | src/com/lp/server/rechnung/bl/GutschriftUmsatzHandler.java | heliumv/ejb | agpl-3.0 | 10,974 | 288 | codeparrot/github-code |
4955cedbceb3373131996abc00c1c8414aaa4827f8585707f0cea4befa3bd02a | #
# Copyright (C) 2012 - 2014 Instructure, Inc.
#
# This file is part of Canvas.
#
# Canvas 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, version 3 of the License.
#
# Canvas is distributed in the hop... | Ruby | lib/api/v1/section.rb | arrivu/hoodemo | agpl-3.0 | 1,537 | 40 | codeparrot/github-code |
24cffa126d612aa31dbd4d8139ac4a682ffc87d08f9cdb9be5137072c3d7ddf0 | import numpy as np
import matplotlib.pyplot as plt
from scipy.signal import hamming, triang, blackman
import math
import sys, os, functools, time
sys.path.append(os.path.join(os.path.dirname(os.path.realpath(__file__)), '../../../software/models/'))
import dftModel as DFT
import utilFunctions as UF
def TWM (pfreq, p... | Python | lectures/6-Harmonic-model/plots-code/f0-TWM-errors-1.py | acmaheri/sms-tools | agpl-3.0 | 3,586 | 93 | codeparrot/github-code |
2bb74701c20f0f5da736b03b3703d4ba5400ed3a9b8d23e8324a089bf987f5d4 | """
Helper methods for working with learning contexts
"""
from edx_django_utils.plugins import PluginManager
from opaque_keys import OpaqueKey
from opaque_keys.edx.keys import LearningContextKey, UsageKeyV2
from openedx.core.djangoapps.xblock.apps import get_xblock_app_config
class LearningContextPluginManager(Plugi... | Python | openedx/core/djangoapps/xblock/learning_context/manager.py | stvstnfrd/edx-platform | agpl-3.0 | 1,895 | 53 | codeparrot/github-code |
57d81dc445c11ad9a500f1902f5b85a0543499b462d658e3d9c6b3b0ea6a6be6 | /*
* Funambol is a mobile platform developed by Funambol, Inc.
* Copyright (C) 2004 - 2007 Funambol, Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by
* the Free Software Foundation with the addit... | Java | admin-suite/admin/src/com/funambol/admin/principal/panels/CreatePrincipalPanel.java | accesstest3/cfunambol | agpl-3.0 | 15,318 | 375 | codeparrot/github-code |
e7f8e3584edca1beb79fed08263698f7de676493b4a2c3bdafc69178a54ca185 | //#############################################################################
//# #
//# Copyright (C) <2015> <IMS MAXIMS> #
//# ... | Java | Source Library/openmaxims_workspace/DomainObjects/src/ims/RefMan/domain/objects/SuitableForSurgeryComment.java | FreudianNM/openMAXIMS | agpl-3.0 | 13,354 | 386 | codeparrot/github-code |
03cc1299e8a86417b45deaed834a2f3a19579a8fd6947b043520a72f3385bf55 | //#############################################################################
//# #
//# Copyright (C) <2015> <IMS MAXIMS> #
//# ... | Java | Source Library/openmaxims_workspace/ValueObjects/src/ims/core/vo/domain/SpecialtyOutlierInpatientEpisodeListVoAssembler.java | FreudianNM/openMAXIMS | agpl-3.0 | 28,225 | 683 | codeparrot/github-code |
45fbcecc847cb6bf3af1b1c266d359122f0c30ef06c335048ac74c888edc1b10 | module ExercismWeb
module Routes
class Core < Sinatra::Application
configure do
set :public_folder, Exercism.relative_to_root('public')
set :root, Exercism.relative_to_root('app')
set :environment, ENV.fetch('RACK_ENV') { :development }.to_sym
set :method_override, true
... | Ruby | app/routes/core.rb | tejasbubane/exercism.io | agpl-3.0 | 2,702 | 112 | codeparrot/github-code |
25f9fdf075387406e6c95341bf87a24a11d13cb3639b1cfa5d7d0e19db34929b | from datetime import datetime
from datetime import time
from django.core.urlresolvers import NoReverseMatch
from django.template import Context
from django.template import loader
from alert.opinion_page.views import make_citation_string
class InvalidDocumentError(Exception):
"""The document could not be formed"""... | Python | alert/search/search_indexes.py | shashi792/courtlistener | agpl-3.0 | 4,089 | 94 | codeparrot/github-code |
bdaaa3e798903a31bbc967d7477dd4dde25b3282386fa8dfe64469474583cd88 | /*
* ToroDB
* Copyright © 2014 8Kdata Technology (www.8kdata.com)
*
* 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... | Java | mongodb/repl/src/main/java/com/torodb/mongodb/repl/oplogreplier/NormalOplogBatch.java | teoincontatto/engine | agpl-3.0 | 1,433 | 55 | codeparrot/github-code |
24470e41a4afc05d86ec4d16f59e6f7de7d20858d21a018bca705eb754ad23b4 | import os
import glob
import operator
import errno
import filecmp
import shutil
import numpy
from .smac_output_readers import *
def find_largest_file (glob_pattern):
""" Function to find the largest file matching a glob pattern.
Old SMAC version keep several versions of files as back-ups. This
helper ... | Python | pysmac/utils/state_merge.py | sfalkner/pySMAC | agpl-3.0 | 11,573 | 271 | codeparrot/github-code |
79c205b1b2f2bdeabb00904889861f5db70a444d49652b12b741b80eb81cee4b | <%!
from django.core.urlresolvers import reverse
from courseware.courses import course_image_url, get_course_about_section
from courseware.access import has_access
%>
<%namespace name='static' file='../static_content.html'/>
<%inherit file="../main.html" />
<%block name="headextra">
% if self.theme_enabled():... | HTML | lms/templates/courseware/course_about.html | abhinavp13/IITBX-edx-platform-dev | agpl-3.0 | 9,049 | 228 | codeparrot/github-code |
aabda3820e3546fb92c86f8451eeffca4914657ef19a64c10b5e377727bebff6 | /* Copyright (c) Mark Harmstone 2016-17
*
* This file is part of WinBtrfs.
*
* WinBtrfs is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public Licence as published by
* the Free Software Foundation, either version 3 of the Licence, or
* (at your option) any ... | C | external/btrfs/src/free-space.c | uroni/urbackup_backend | agpl-3.0 | 66,990 | 2,057 | codeparrot/github-code |
32100d25b82ceb1196c8754f0f72aa27652f9d0680fd234e69b1d059b3aa9ba8 | <dom-module id="modal-wrap">
<template>
<style>
:root {
}
.modal {
}
.modal[data-loading] .modal__content {
opacity: .6;
pointer-events: none;
}
.modal__area {
display: fl... | HTML | core/src/main/resources/static/elements/taskboard/modal-wrap.html | objective-solutions/taskboard | agpl-3.0 | 4,686 | 154 | codeparrot/github-code |
4934c245148b6382a600b2da66bba79e4d7826af80e27a33700bd71f50628f49 | // our ideal update looks like this:
// transport.process_incoming()
// update_world()
// transport.process_outgoing()
//
// this way we avoid unnecessary latency for low-ish server tick rates.
// for example, if we were to use this tick:
// transport.process_incoming/outgoing()
// update_world()
//
// then ... | C# | UnityProject/Assets/Mirror/Runtime/NetworkLoop.cs | unitystation/unitystation | agpl-3.0 | 8,712 | 193 | codeparrot/github-code |
5ee50b03000ae3792db828d7e122cb40bc4e58e79aa19ef22fab1381803a025e | /////////////////////////////////////////////////////////////////////////
// $Id$
/////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2004-2009 The Bochs Project
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Less... | C | iodev/busmouse.h | marmolejo/bochs-zet | lgpl-2.1 | 3,528 | 109 | codeparrot/github-code |
5220056be00bf0ddbd928f0aa4ac190f5b2454715074c2c91894e08b17075a6a | /*
* This file is part of qpOASES.
*
* qpOASES -- An Implementation of the Online Active Set Strategy.
* Copyright (C) 2007-2014 by Hans Joachim Ferreau, Andreas Potschka,
* Christian Kirches et al. All rights reserved.
*
* qpOASES is free software; you can redistribute it and/or
* modify it under the terms of ... | C++ | include/qpOASES/Flipper.hpp | ghorn/debian-coinor-qpoases | lgpl-2.1 | 4,530 | 156 | codeparrot/github-code |
b16b283a6e24b4de810fa6e00e2b7b0b51df7b8231806e54366ad35ba271a916 | /****************************************************************************
**
** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the QtCore module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licensees... | C | src/corelib/kernel/qmath.h | RLovelett/qt | lgpl-2.1 | 3,504 | 140 | codeparrot/github-code |
86a90ffa3f4abd69432e4a950bc1b043c7425ab36ae9c7dd24a6682e2574df2b | /*
* Copyright 2011, Red Hat, Inc. and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public ... | Java | server/zanata-war/src/main/java/org/zanata/rest/service/TranslatorCredit.java | google-code-export/flies | lgpl-2.1 | 2,318 | 96 | codeparrot/github-code |
1179908659defb1e89d889b5f4edc30406cd229fa7a5302d3b2f239aef87995d | /*
* TaxonSetPanel.java
*
* Copyright (C) 2002-2009 Alexei Drummond and Andrew Rambaut
*
* This file is part of BEAST.
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership and licensing.
*
* BEAST is free software; you can redistribute it and/or modify
* ... | Java | src/dr/app/beauti/taxonsetspanel/TaxonSetPanel.java | armanbilge/BEAST_sandbox | lgpl-2.1 | 34,556 | 962 | codeparrot/github-code |
77a24fdc1cb4c5d57747b15ecae7fec827704972b40a9a4ffa7e9ca9ad7f20b1 | /*
* (C) 2001 Clemson University and The University of Chicago
*
* See COPYING in top-level directory.
*/
/** \defgroup troveint Trove storage interface
*
* The Trove storage interface provides functionality used for
* interaction with underlying storage devices. The PVFS2 server
* builds on this interface... | C | src/io/trove/trove.h | acberk/trunk | lgpl-2.1 | 15,597 | 558 | codeparrot/github-code |
f737bb247e5a3297fa19d9f2a7a34c632d81e2ac19e34f682f09763d6f242477 | <?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" />
<!-- qstring.cpp -... | HTML | doc/html/qstring-qt3.html | eric100lin/Qt-4.8.6 | lgpl-2.1 | 31,872 | 400 | codeparrot/github-code |
0dfc0c484ec82b464dea42cedd7ac5917359f64dc1c6d6b54d23fe347e72c0ea | /*
Copyright (c) 2002 Jorge Acereda <jacereda@users.sourceforge.net>
Additions and Modifications by Peter O'Gorman <ogorman@users.sourceforge.net>
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 w... | C | Source/Base/OSHelpers/darwin/dlfcn.c | bilke/OpenSG-1.8 | lgpl-2.1 | 15,491 | 585 | codeparrot/github-code |
7e6765cc0da02b01d3746c04aa16bcbd275fc90d9d8fb5e12f5de1c19db6b55f | /*
* eXist Open Source Native XML Database
* Copyright (C) 2001-09 Wolfgang M. Meier
* wolfgang@exist-db.org
* http://exist.sourceforge.net
*
* 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 S... | Java | src/org/exist/xquery/functions/system/Shutdown.java | kingargyle/exist-1.4.x | lgpl-2.1 | 3,993 | 136 | codeparrot/github-code |
5fbe86e454fc7ba02df951943aab77c794a9aa1b52748ee6151f99f1f54170d0 | /*
Copyright (C) 2011 Sebastian Pancratz
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 of the License, or
(at your opt... | C | fmpz/test/t-sqrtmod.c | fredrik-johansson/flint2 | lgpl-2.1 | 3,373 | 130 | codeparrot/github-code |
dc4ef55806802cc4bd6e39f5f49c42d5769b0a970d2950f89e62619ea63dd69c | /*
* hooks.c: implementation of the synchronous hooks support
*
* Copyright (C) 2010-2011 Red Hat, Inc.
* Copyright (C) 2010 Daniel Veillard
*
* 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 ... | C | src/util/hooks.c | wiedi/libvirt | lgpl-2.1 | 8,076 | 296 | codeparrot/github-code |
ca451d98d8879560726e8447d40e1b38f9e020a38dbe59e82444dc8bacd6dabe | /*
Copyright (C) 2009 William Hart
Copyright (C) 2010 Sebastian Pancratz
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 | fmpq_poly/test/t-is_squarefree.c | fredrik-johansson/flint2 | lgpl-2.1 | 3,078 | 125 | codeparrot/github-code |
8c65677ca25ab72d4d873ed18729643acdb9d43ead0bafe8ff21adca94f7f0f2 | /****************************************************************************
**
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this f... | C | src/plugins/texteditor/snippets/snippeteditor.h | malikcjm/qtcreator | lgpl-2.1 | 2,560 | 78 | codeparrot/github-code |
2a8bd2f9ed1d26d6a59bd1225a944836ea87625e50544bfdc0ec3e1a0fa5844e | <?php
// (c) Copyright 2002-2016 by authors of the Tiki Wiki CMS Groupware Project
//
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id: GoalEventSource.php 57971 2016-03-17 20:09:05Z jonnyb... | PHP | lib/core/Search/ContentSource/GoalEventSource.php | lorddavy/TikiWiki-Improvement-Project | lgpl-2.1 | 1,573 | 59 | codeparrot/github-code |
cac3999c59c02150aaa136593135669cb20470d89327d96101ca93e2bc81bf14 | /*
* This file is part of libFirm.
* Copyright (C) 2012 University of Karlsruhe.
*/
/**
* @file
* @brief HTML dumper for PBQP.
* @date 03.10.2008
* @author Sebastian Buchwald
*/
#include "html_dumper.h"
#include "adt/array.h"
#include "kaps.h"
#include "optimal.h"
#include "pbqp_edge_t.h"
#include "pbqp... | C | ir/kaps/html_dumper.c | MatzeB/libfirm | lgpl-2.1 | 4,389 | 197 | codeparrot/github-code |
f2575a80db39985394fdb081e5ac1482c20293d8d1e1b442334874c27c35d093 | /*
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
* This 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
* th... | Java | xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/web/DotAction.java | xwiki-labs/sankoreorg | lgpl-2.1 | 1,876 | 50 | codeparrot/github-code |
74c69a23e22f503eac86ff414c85c795a057a54864a12095782857bac9987ea3 | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.hibernate.engine.loading.internal;
import java.sql.ResultSet;
import j... | Java | sources/FeatureExtractor/lib/hibernate-release-5.1.0.Final/project/hibernate-core/src/main/java/org/hibernate/engine/loading/internal/EntityLoadContext.java | 1fechner/FeatureExtractor | lgpl-2.1 | 1,353 | 48 | codeparrot/github-code |
98d745487bef8e2ab12c065dd125cbac19ffa119c9099827109a4c18f381de9b | package org.intermine.bio.dataconversion;
/*
* 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/... | Java | bio/sources/fly/retired/protein-structure/main/src/org/intermine/bio/dataconversion/ProteinStructureDataConverter.java | drhee/toxoMine | lgpl-2.1 | 11,663 | 307 | codeparrot/github-code |
053dfd08439288f0e1139178a49e00c46250d2c3b6849005861e1e025c312e6c | # Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
class Alquimia(CMakePackage):
"""Alquimia is an interface that exposes the capabilities
of m... | Python | var/spack/repos/builtin/packages/alquimia/package.py | iulian787/spack | lgpl-2.1 | 2,700 | 63 | codeparrot/github-code |
18a285ac20fbe4fffb6031594bd47fbcc6c994c8c562ca0b272862f33224b3b9 | /*
* ggit-diff-delta.c
* This file is part of libgit2-glib
*
* Copyright (C) 2012 - Garrett Regier
*
* libgit2-glib 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 L... | C | libgit2-glib/ggit-diff-delta.c | weynhamz/GNOME-libgit2-glib | lgpl-2.1 | 3,928 | 179 | codeparrot/github-code |
d171a7259f58c1061e94bcb53c6c3e776f49ca2e04f67b946bb1f53f4f3c351a | /******************************************************************************
*
* Purpose: Implementation of the Create() function to create new PCIDSK files.
*
******************************************************************************
* Copyright (c) 2009
* PCI Geomatics, 50 West Wilmot Street, Richmond ... | C++ | 3rdparty/gdal/frmts/pcidsk/sdk/core/pcidskcreate.cpp | thahemp/osg-android | lgpl-2.1 | 19,610 | 499 | codeparrot/github-code |
e76e417af1c6092a52c908df760f7428d504f678f2bb97b7c1e3ac76f13a476a | /****************************************************************************
**
** 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 QtCore module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
**... | C++ | src/corelib/kernel/qcore_symbian_p.cpp | prapin/qmake-iphone | lgpl-2.1 | 5,894 | 212 | codeparrot/github-code |
298434616b54709f46f8e97b53966832f123ec5d5cd80dc44e6878704ae80309 | /*
Copyright (C) 2015 P.L. Lucas <selairi@gmail.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 version 2 of the License, or
(at your option) any later version.
... | C | lxqt-config-monitor/quickoptions.h | zvacet/lxqt-config | lgpl-2.1 | 1,036 | 37 | codeparrot/github-code |
9e6f636df553cbf094ba84afdf561b7a0545bcafd77bc5417f6af0feab7f46ec | #include <BALL/KERNEL/molecularInteractions.h>
using namespace BALL;
using std::map;
using std::make_pair;
bool MolecularInteractions::SAVE_ONLY_SUMS = 0;
MolecularInteractions::MolecularInteractions()
{
total_energy_ = 0;
threshold_ = 0.01; // by default save only interaction with strength >= 10 J/mol
}
void M... | C++ | source/KERNEL/molecularInteractions.C | tkemmer/ball | lgpl-2.1 | 4,371 | 169 | codeparrot/github-code |
c26549a4e5df4eaccae4a4bf503a42b27b727e192bde2e6d0ad328f5455c3f5a | ////////////////////////////////////////////////////////////////////////////////
// checkstyle: Checks Java source code for adherence to a set of rules.
// Copyright (C) 2001-2016 the original author or authors.
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU ... | Java | src/test/java/com/puppycrawl/tools/checkstyle/checks/naming/ConstantNameCheckTest.java | baratali/checkstyle | lgpl-2.1 | 7,007 | 175 | codeparrot/github-code |
e257f8574902ed52e5a7c771401afeceaf6ecd4abf2a2e74d6f00b3444b7944e |
/*
* CCC - The Clipper to C++ Compiler
* Copyright (C) 2005 ComFirm BT.
*
* 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 License, or (at your opti... | C++ | tabobj/tbbtbtx/btree/bt_order.cpp | mrev11/ccc3 | lgpl-2.1 | 3,855 | 150 | codeparrot/github-code |
2e52b9f25cf391cd2bf5947c7ff2ebf5202b8d02fba1900088f1b796aa1bb6f4 | /*******************************************************************************
* CGoGN: Combinatorial and Geometric modeling with Generic N-dimensional Maps *
* Copyright (C) 2015, IGG Group, ICube, University of Strasbourg, France *
* ... | C++ | cgogn/rendering/volume_drawer.cpp | david-cazier/CGoGN_2 | lgpl-2.1 | 5,816 | 172 | codeparrot/github-code |
624176c34fa1012a7c6bb207fa2475a449d27461d5bf378392d1e3087a609878 | /*
* This file is part of QZeitgeist.
*
* Copyright (C) 2010 Collabora Ltd. <http://www.collabora.co.uk/>
*
* 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... | C++ | src/DataModel/subject.cpp | Sidnioulz/QZeitgeist5 | lgpl-2.1 | 3,647 | 180 | codeparrot/github-code |
1a454fd93cdd5454e64a32cbf3d3bd351e9b6d242a988fff4f2a11fbaf20ca5a | package net.sf.jaer.hardwareinterface.usb.cypressfx3libusb;
import javax.swing.JOptionPane;
import org.usb4java.Device;
import net.sf.jaer.biasgen.Biasgen;
import net.sf.jaer.biasgen.BiasgenHardwareInterface;
import net.sf.jaer.hardwareinterface.HardwareInterfaceException;
/**
* Adds biasgen functionality to base ... | Java | src/net/sf/jaer/hardwareinterface/usb/cypressfx3libusb/CypressFX3Biasgen.java | viktorbahr/jaer | lgpl-2.1 | 3,012 | 85 | codeparrot/github-code |
623da5b41847ec3a2919cc45bf76526a2a510771842cd0119b050dd06c38890c | /*
* This file is part of the Sofia-SIP package
*
* Copyright (C) 2005 Nokia Corporation.
*
* Contact: Pekka Pessi <pekka.pessi@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
* as published by the Free Software F... | C | libsofia-sip-ua/msg/msg_mime_table.c | okyfirmansyah/sofia-sip | lgpl-2.1 | 5,820 | 253 | codeparrot/github-code |
d04cd7a0bbcf41501a7207ef29465727f555d99d667365dc9fcaf92328144ed4 | /****************************************************************************
**
** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the plugins of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licensees holdi... | C++ | src/plugins/script/qtdbus/main.cpp | sicily/qt4.8.4 | lgpl-2.1 | 16,406 | 401 | codeparrot/github-code |
115a8b475948532144f1e49e7967d6cedf0ab21d5b7b26c9da241fb60e58a760 | import DatePicker from "./ts/WoltLabSuite/Core/Date/Picker";
import Devtools from "./ts/WoltLabSuite/Core/Devtools";
import DomUtil from "./ts/WoltLabSuite/Core/Dom/Util";
import * as ColorUtil from "./ts/WoltLabSuite/Core/ColorUtil";
import * as EventHandler from "./ts/WoltLabSuite/Core/Event/Handler";
import UiDropdo... | TypeScript | global.d.ts | Cyperghost/WCF | lgpl-2.1 | 1,350 | 48 | codeparrot/github-code |
654f7683eab034f94018ebe6fb966603a99985f4aa2598e99088657c70501581 | using System;
using System.ComponentModel;
using System.Configuration;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text.RegularExpressions;
namespace JocysCom.ClassLibrary.IO
{
// Create a log file writer, so you can see the flow easily.
// It ... | C# | TextToSpeech/JocysCom/IO/LogFileWriter.cs | JocysCom/TextToSpeech | lgpl-3.0 | 9,218 | 303 | codeparrot/github-code |
377dd3650a567662b6da3e9463bf49d105f1ca498a620192c6749e7effa59125 | /* --------------------------------------------------------------------------
* Copyrights
*
* Portions created by or assigned to Cursive Systems, Inc. are
* Copyright (c) 2002-2008 Cursive Systems, Inc. All Rights Reserved. Contact
* information for Cursive Systems, Inc. is available at
* http://www.cursive.ne... | C# | Jabber/Bedrock/IO/BufferAggregate.cs | Nihu98/JabberNet-2010 | lgpl-3.0 | 3,731 | 131 | codeparrot/github-code |
ad9f29b9615a2383b1959e0218da72660145987b8ba0df447e611128fe02ef62 | /* Mesquite source code. Copyright 1997-2009 W. Maddison and D. Maddison.
Version 2.72, December 2009.
Disclaimer: The Mesquite source code is lengthy and we are few. There are no doubt inefficiencies and goofs in this code.
The commenting leaves much to be desired. Please approach this source code with the spirit ... | Java | releases/Mesquite2.72build528/Mesquite Project/Source/mesquite/consensus/lib/BipartitionVector.java | MesquiteProject/MesquiteArchive | lgpl-3.0 | 14,406 | 463 | codeparrot/github-code |
9f26749b880938709da59f1862d120825f0d838f564a3e24ab2ccbe8cd4b613c | #include <stdio.h>
#include <string.h> // for memset()
#include <assert.h>
// libjson-c [tested with v0.9]
#include <json.h>
#include "avon.h"
#include "avon_internal.h"
// hash table handle
extern _av_node_t* _tree;
extern _av_node_t _root;
// utilties and wrappers ---------------------------------------
void u... | C | src/json.c | asadat/avon | lgpl-3.0 | 8,376 | 335 | codeparrot/github-code |
967baf6552f848cc95d99f6cb2b4241a6034bc4673427e070f441c688d5c9368 | /////////////////////////////////////////////////////////////////////////////
// Authors: Laurent Pugin and Rodolfo Zitellini
// Created: 2014
// Copyright (c) Authors and others. All rights reserved.
//
// Code generated using a modified version of libmei
// by Andrew Hankinson, Alastair Porter, and Others
//... | C++ | libmei/atts_facsimile.cpp | jamespark04/verovio | lgpl-3.0 | 2,574 | 94 | codeparrot/github-code |
df2bea144b441de221655a2217bed3a2e6521d15cba1ff6c760a731cda40f080 | //
// System.ComponentModel.TimeSpanConverter
//
// Authors:
// Martin Willemoes Hansen (mwh@sysrq.dk)
// Andreas Nahr (ClassDevelopment@A-SoftTech.com)
//
// (C) 2003 Martin Willemoes Hansen
// (C) 2003 Andreas Nahr
//
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this sof... | C# | class/System/System.ComponentModel/TimeSpanConverter.cs | edwinspire/VSharp | lgpl-3.0 | 3,287 | 96 | codeparrot/github-code |
7653299250a50fbba543dcfe388779c6fa646711c822222b24292a6aa158f1fa | /* ===========================================================
* JFreeChart : a free chart library for the Java(tm) platform
* ===========================================================
*
* (C) Copyright 2000-2007, by Object Refinery Limited and Contributors.
*
* Project Info: http://www.jfree.org/jfreechart/in... | Java | 3rdparty/jfreechart-1.0.5/source/org/jfree/chart/JFreeChart.java | simeshev/parabuild-ci | lgpl-3.0 | 64,355 | 1,820 | codeparrot/github-code |
152fe51d05fd3eb2ed6e111992868c44016472ab936109e7d049ec53f3183c94 | /*******************************************************************************
* Gisgraphy Project
*
* 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... | Java | src/test/java/com/gisgraphy/fulltext/SolrResponseDtoTest.java | delphiprogramming/gisgraphy | lgpl-3.0 | 2,498 | 70 | codeparrot/github-code |
d228f86b18dd185bcca2aa9a2382c4140eef0fb8d332403f713fb17459c036dc | /*
* SonarQube, open source software quality management tool.
* Copyright (C) 2008-2014 SonarSource
* mailto:contact AT sonarsource DOT com
*
* SonarQube 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 Found... | Java | sonar-batch/src/main/java/org/sonar/batch/rule/RulesProvider.java | PierreR/sonarqube | lgpl-3.0 | 2,272 | 68 | codeparrot/github-code |
93d26c6e749ff3178bc4ba5c737ce28b6b7207cf250310a8bde2de37a12cc517 | <?php
use application\core\utils\Env;
use application\modules\message\core\wx\Factory;
use application\modules\message\core\wx\WxApi;
use application\modules\user\model\UserBinding;
// 程序根目录路径
define('PATH_ROOT', dirname(__FILE__) . '/../../');
$defines = PATH_ROOT . '/system/defines.php';
defined('TIMESTAMP') || def... | PHP | api/wxqy/index.php | vlinhd11/IBOS | lgpl-3.0 | 2,262 | 71 | codeparrot/github-code |
96307b7507a470467ad46f2e95bf90eab188fe3c57a1d70ecb14c7791f506252 | // <copyright file="Instanceof.cs" company="Allors bvba">
// Copyright (c) Allors bvba. All rights reserved.
// Licensed under the LGPL license. See LICENSE file in the project root for full license information.
// </copyright>
namespace Allors.Data
{
using System.Collections.Generic;
using Allors.Meta;
u... | C# | Platform/Database/Allors.Database/Data/Instanceof.cs | Allors/platform | lgpl-3.0 | 2,163 | 60 | codeparrot/github-code |
95b946635e50bd685960ce4f647e3696cd437636640db8db3e4c63abebd522d8 | namespace StockSharp.Messages
{
using System;
using System.Runtime.Serialization;
using Ecng.Common;
using Ecng.Serialization;
using StockSharp.Localization;
/// <summary>
/// Сообщение, содержащее информацию для регистрации заявки.
/// </summary>
[System.Runtime.Serialization.DataContract]
[Serializable]
... | C# | Messages/OrderRegisterMessage.cs | RomSunZ/StockSharp | lgpl-3.0 | 4,879 | 179 | codeparrot/github-code |
5686c96f94a136cb0c20dcf813dac8df47a3c6a6383737bc464f5dd54ed880bb | package net.cofares;
import net.cofares.lecteurredacteur.Lecteur;
import net.cofares.lecteurredacteur.Redacteur;
import net.cofares.data.Database;
/**
* ServiceLecteurRedacteur.java
This class creates the reader and writer threads and the database they will
be using to coordinate access.
*
* @author Greg Gagne,... | Java | ACCOV/TPJanvier2017/SourcesSansNetbeans/LRMoniteurjava/net/cofares/ServiceLecteurRedacteur.java | ljug/java-tutorials | lgpl-3.0 | 1,239 | 41 | codeparrot/github-code |
4e8027ee99433d8bc886332664ea1c2d2e299561c1abebafc563f18dc3efbb1c | import csv, os
def adding(lemma_noun, file_noun, tags_noun, lemma_verb, file_verb, tags_verb):
"""
Creates a file with final results: lemmas for unknown words and Zaliznyak's tags for them."""
outfile = open('predicted.csv', 'w', encoding = 'utf-8')
writer = csv.writer(outfile, lineterminator='\n... | Python | gdictionary/getfinal.py | azilya/Zaliznyak-s-grammatical-dictionary | lgpl-3.0 | 1,310 | 54 | codeparrot/github-code |
0469142f5cdab8861133cce954d58ac4824ddf200297910b084bf746912b8ed3 | /* -*- mode: c; indent-tabs-mode: nil; tab-width: 4; c-file-style: "python" -*- */
/* vim:set ft=c ff=unix ts=4 sw=4 enc=latin1 noexpandtab: */
/* kate: space-indent off; indent-width 4; mixedindent off; indent-mode cstyle; */
/*
Copyright (c) 2009 Daniel Molina Wegener <dmw@coder.cl>
This file is part of pyxser.
... | C | src/include/pyxser_strings.h | dmw/pyxser | lgpl-3.0 | 2,053 | 54 | codeparrot/github-code |
89d6aa4ed451e68c8969e9f3029c52d4c9cc25abf42545907265dc8218d19402 | /* radare2 - LGPL - Copyright 2017-2018 - condret, alvaro */
#include <r_io.h>
#include <r_types.h>
#include <string.h>
const ut64 cleanup_masks[] = {
0x0000000000000001,
0x0000000000000003,
0x0000000000000007,
0x000000000000000f,
0x000000000000001f,
0x000000000000003f,
0x000000000000007f,
0x00000000000000ff,... | C | libr/io/p_cache.c | zlowram/radare2 | lgpl-3.0 | 9,138 | 379 | codeparrot/github-code |
80cc8529c8c1df6ffe8a41ef386122a3adf47fa5fb9355ad5cc75cfb56e65283 | <?php
class photosDialogEmbedPhotoListAction extends waViewAction
{
public function execute()
{
$photo_ids = waRequest::get('photo_ids', '', waRequest::TYPE_STRING_TRIM);
$size = waRequest::get('size', null, waRequest::TYPE_STRING_TRIM);
$hash = waRequest::get('hash', '', waRequest::TYP... | PHP | wa-apps/photos/lib/actions/dialog/photosDialogEmbedPhotoList.action.php | dmitriyzhdankin/avantmarketcom | lgpl-3.0 | 2,145 | 60 | codeparrot/github-code |
76fad064d9ddfca11923bdbcc92b103217be01c62857bcf1c053aaa6adf7ea69 | package org.molgenis.data.rest.client.bean;
import com.google.auto.value.AutoValue;
import org.molgenis.gson.AutoGson;
import javax.annotation.Nullable;
import java.util.Collection;
@AutoValue
@AutoGson(autoValueClass = AutoValue_MetaDataRequest.class)
public abstract class MetaDataRequest
{
public abstract
@Null... | Java | molgenis-data-rest-client/src/main/java/org/molgenis/data/rest/client/bean/MetaDataRequest.java | jjettenn/molgenis | lgpl-3.0 | 691 | 32 | codeparrot/github-code |
b3939d2b8b3edb11f3c98da3d2fd685bd059f519e2d13d210c0103494d96f573 | <?php
/******************************************************
HSE WebSoccer-Sim
Copyright (c) 2013-2014 by
Hofmann Software Engineering
EMail: info@websoccer-sim.com
Homepage: http://www.websoccer-sim.com
THIS IS NOT FREEWARE! YOU NEED TO OBTAIN A
VALID LICENCE IN ORDER TO BE ALLOWED TO USE
THIS SOURCE CODE!
DIES... | PHP | websoccer/update/index.php | ihofmann/open-websoccer | lgpl-3.0 | 6,777 | 272 | codeparrot/github-code |
387bd6d5702be39fb6a2d6d233c357fc03847793edade463d06a1f53f3ac1647 | /* -*- mode:C++ -*-
///////////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2003,2005, Markus Schutz
//
// This library is free software. You can redistribute and/or modify it under
// the terms of the GNU Lesser General Public License as published by the Free
// Software ... | C++ | src/duration.cpp | schutzm/lisle | lgpl-3.0 | 3,551 | 154 | codeparrot/github-code |
5f2c061e3bc3e432c25f7f5e5aee0da75964f4472a20aa1fcebe16d564c0e461 | /* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Copyright (c) 2012-2014 The plumed team
(see the PEOPLE file at the root of the distribution for a list of names)
See http://www.plumed-code.org for more information.
This file is part of plumed, version 2.
plumed is free sof... | C++ | src/colvar/PathMSDBase.cpp | sandipde/plumed-sandip | lgpl-3.0 | 8,131 | 218 | codeparrot/github-code |
e9ae7d35c889c981226d09a363f4a252e3fe666d2fbd0267aacaf30ec03f40ee | """
Created on 04.07.2017
:author: Humbert Moreaux
Tuleap REST API Client for Python
Copyright (c) Humbert Moreaux, All rights reserved.
This Python module 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;... | Python | Tuleap/RestClient/PullRequests.py | djurodrljaca/tuleap-rest-api-client | lgpl-3.0 | 6,833 | 214 | codeparrot/github-code |
571f1be3cca5d4d8a4d31f3a1809c2371fbab11463765f9808339111df676bc8 | /*
* SonarQube
* Copyright (C) 2009-2016 SonarSource SA
* mailto:contact AT sonarsource DOT 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 License... | Java | sonar-plugin-api/src/main/java/org/sonar/api/batch/rule/internal/DefaultActiveRule.java | Builders-SonarSource/sonarqube-bis | lgpl-3.0 | 2,265 | 84 | codeparrot/github-code |
7de5319fe37a03c93e11b28f4dc92aeba8b0b3fc33ca8f7ef6cd5d92803c0e1b | /*
* Copyright (C) 2014 The AppCan Open Source Project.
*
* 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 License, or
* (at your option) any later versi... | Java | Engine/src/org/zywx/wbpalmstar/platform/push/report/PushReportThread.java | pingping-jiang6141/Engine-X5 | lgpl-3.0 | 8,470 | 208 | codeparrot/github-code |
d2fef987d806e44bb2d78803ad8a9f82bce60391265079920c5bacff8081accc | package net.minecraft.command;
import java.util.Iterator;
import net.minecraft.entity.player.EntityPlayerMP;
import net.minecraft.scoreboard.ServerCommandScoreboard;
import net.minecraft.scoreboard.ServerCommandTestFor;
import net.minecraft.server.MinecraftServer;
import net.minecraft.tileentity.TileEntityCommandBlock... | Java | forge/mcp/src/minecraft/net/minecraft/command/ServerCommandManager.java | HATB0T/RuneCraftery | lgpl-3.0 | 4,982 | 111 | codeparrot/github-code |
b427a33950cf6ee99a88c89f064b8408dd27755e52db5bb768e5b95e4b58f1bc | /*
* This file is part of GumTree.
*
* GumTree 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.
*
* GumTree is distribute... | Java | gen.antlr3-antlr/src/main/java/com/github/gumtreediff/gen/antlr3/antlr/AntlrGrammarTreeGenerator.java | caiusb/gumtree | lgpl-3.0 | 1,687 | 51 | codeparrot/github-code |
ea93628c87ddebf2b9674cafa6c70fffb10c980721a1fc25079e8ca51d9c32b1 |
/************************************************************************/
/* */
/* File: pp4.c */
/* */
/* Token processing and related functions. */
/* */
/* Written by: */
/* Gary Oliver */
/* 3420 NW Elmwood Dr. */
/* PO Box 826 */
/* Corvallis, Oregon 97339 */
/* (503)758-5549 */
/* Maintained by: */
/* Kirk Bai... | C | sqlint/sql4.c | mooseman/crystal | unlicense | 13,749 | 707 | codeparrot/github-code |
2628dca6fbb6760fbe0fba39d9802b9b5d85504ce81f45ec941a107147d60317 | # -*- coding: utf-8 -*-
"""
requests.structures
~~~~~~~~~~~~~~~~~~~
Data structures that power Requests.
"""
class CaseInsensitiveDict(dict):
''''''
@property
def lower_keys(self):
if not hasattr(self, '_lower_keys') or not self._lower_keys:
self._lower_keys = dict((k.lower(), k) ... | Python | Leak #1 - Equation Group Cyber Weapons Auction - Invitation/EQGRP-Free-File/Firewall/EXPLOITS/ELCO/fosho/requests/structures.py | DarthMaulware/EquationGroupLeaks | unlicense | 1,453 | 68 | codeparrot/github-code |
0c206badf4cc531be7696ef64bbbd0f0514f53300910470467d95a8569f75d85 | $(function() {
//loading html parts
$("#before-header").load("./partials/before-header.html");
$("#header").load("./templates/header.html");
$("#about-section").load("./partials/about.html");
$("#education-section").load("./partials/education.html");
$("#portfolio-section").load("./partials/portfolio.ht... | JavaScript | js/main.js | trangvo2306/portfolio | unlicense | 1,555 | 46 | codeparrot/github-code |
0b7acf7d1ff8d23b723c02eba50dcae84fafe32a06958035dfc989689a170dc0 | /*******************************************************************************
* Copyright (c) 2015-2018 Skymind, Inc.
*
* This program and the accompanying materials are made available under the
* terms of the Apache License, Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0.
*
*... | Java | deeplearning4j/deeplearning4j-graph/src/main/java/org/deeplearning4j/graph/models/deepwalk/GraphHuffman.java | deeplearning4j/deeplearning4j | apache-2.0 | 5,453 | 152 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.