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 |
|---|---|---|---|---|---|---|---|---|
2702b0ccf30feee9aacc09da0a92ecae6ba906b056d9f882007537b8064772b4 | /*
* Application.java
*
* Copyright (C) 2009-11 by RStudio, Inc.
*
* This program is licensed to you under the terms of version 3 of the
* GNU Affero General Public License. This program is distributed WITHOUT
* ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT,
* MERCHANTABILITY OR FITNESS F... | Java | src/gwt/src/org/rstudio/studio/client/application/Application.java | Sage-Bionetworks/rstudio | agpl-3.0 | 18,455 | 573 | codeparrot/github-code |
1fea0c052f05ddfff4d5b0050d3606fc25d0fb8f408a2a953188f70c81f256ac |
local function pre_process(msg)
local alirezapt = msg['id']
local user = msg.from.id
local chat = msg.to.id
local hash = 'mate:'..chat..':'..user
if msg.fwd_from and not is_momod(msg) then
if redis:get(hash) and msg.fwd_from and not is_momod(msg) then
delete_msg(msg.id, ok_cb, false)
... | Lua | plugins/forward-warn.lua | adel8268adelad/Bot-thebest | agpl-3.0 | 1,668 | 63 | codeparrot/github-code |
130974e34e3ba20bd168b4b463f37b309a69ffca42e5604f69d912323ceadff3 | /*
* Copyright (C) 2019 by Sukchan Lee <acetcom@gmail.com>
*
* This file is part of Open5GS.
*
* 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
... | C | lib/ipfw/ogs-ipfw.h | acetcom/nextepc | agpl-3.0 | 4,446 | 140 | codeparrot/github-code |
80e763260e25141c003bb46ee3d497121923e50c6ecdaf2949fb165766b27b90 | #!/usr/bin/env python
# UPE Programming competiton 2015-11-1 "railforest" solution by Avi Weinstock
import re
import sys
INFINITY = float('inf')
line_to_ints = lambda line: [int(x, 10) for x in re.split(' *', line)]
def solver(width, height, grid):
prevs = [[0, list()] for _ in range(width)]
for (y, line) in... | Python | upe_competition_2015_11_01/railforest/railforest_weinsa.py | aweinstock314/aweinstock-programming-competition-solutions | agpl-3.0 | 1,246 | 42 | codeparrot/github-code |
7b2646ac3614cd71f4da275427760995a9c590d3c2f743f88e0fbb2cd46c364e | <!DOCTYPE html>
<html lang="en"
>
<head>
<title>W10 Brython 繪圖範例 - 2016Fall CPA 課程網誌 (虎尾科大MDE)</title>
<!-- Using the latest rendering mode for IE -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
... | HTML | blog/w10-brython-hui-tu-fan-li.html | s40523201/2016fallcp_hw | agpl-3.0 | 21,935 | 474 | codeparrot/github-code |
98a186405e0816060044d629bf3318a0f612e1af2815ebee860bf03d181c1418 | <!DOCTYPE HTML>
<html>
<head>
<title>Description / Title Box</title>
<script type="text/javascript" src="../../../tests/qunit/qunit-bootstrap.js"></script>
<script type="text/javascript" >
window.testExternalResourceInclude = function( resourceName ){
if( console && console.log ){
console.log( resourceNam... | HTML | kWidget/onPagePlugins/descriptionBox/descriptionBox.qunit.html | bordar/mwEmbed | agpl-3.0 | 2,468 | 75 | codeparrot/github-code |
87a0b3a02c5a1a8bf25929772a0fbb64840ab8e6e3649885163de9598282424e | // Copyright (C) 2003 salvatore orlando <salvatore.orlando@unive.it>
// University of Venice, Ca' Foscari, Dipartimento di Informatica, (VE) Italy
// Istituto di Scienza e Tecnologia dell'Informazione, ISTI - CNR, (PI) Italy
//
// This program is free software; you can redistribute it and/or modify
// it under the te... | C++ | src/kdci/candidates.hh | examachine/bitdrill | agpl-3.0 | 12,767 | 460 | codeparrot/github-code |
7bfcadab8c02f1338f60660937ee6781793518d0fd95d8abcca8dbe4f65fccf2 | <?php
/**
* Collection of upgrade steps
*/
class CRM_Roster_Upgrader extends CRM_Roster_Upgrader_Base {
// By convention, functions that look like "function upgrade_NNNN()" are
// upgrade tasks. They are executed in order (like Drupal's hook_update_N).
/**
* Create table civicrm_pum_roster at installation... | PHP | CRM/Roster/Upgrader.php | PUMNL/nl.pum.roster | agpl-3.0 | 3,449 | 116 | codeparrot/github-code |
f0526445984cd35c496008df8da0f09c86bdf418281a3c43f9f3ef861e6d87d1 | require 'emitter'
require 'purchase/impact_model'
require 'purchase/characterization'
require 'purchase/data'
require 'purchase/relationships'
require 'purchase/summarization'
module BrighterPlanet
module Purchase
extend BrighterPlanet::Emitter
class << self
def sector_direct_requirements_adapter
... | Ruby | lib/purchase.rb | faradayio/purchase | agpl-3.0 | 731 | 34 | codeparrot/github-code |
39111061186512e07998ff00ce7eb6f9c682f045867317bbf7675ce447467989 | import React from 'react'
import { connect } from 'react-redux'
import { VelocityComponent } from 'velocity-react'
import TopNav from '../components/TopNav'
import NetworkNav from '../components/NetworkNav'
import LeftNav, { leftNavWidth, leftNavEasing } from '../components/LeftNav'
import { toggleLeftNav, updateCurren... | JavaScript | src/containers/PageWithNav.js | Hylozoic/hylo-redux | agpl-3.0 | 4,170 | 109 | codeparrot/github-code |
75797eeacf177025f7bbec98835074449e8d3473131fb9a70c4e93941cfaf129 | ///////////////////////////////////////////////////////////////////////////////
//Copyright (C) 2014 Joliciel Informatique
//
//This file is part of Talismane.
//
//Talismane 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 ... | Java | talismane_machine_learning/src/main/java/com/joliciel/talismane/machineLearning/features/GreaterThanIntegerOperator.java | safety-data/talismane | agpl-3.0 | 2,779 | 85 | codeparrot/github-code |
edc2df86fde5b049c3e3368daa204c07014b9e8ecf2fbf82748d68d8d30315c0 | # -*- coding: utf-8 -*- pylint: disable-msg=R0801
#
# Copyright (c) 2013 Rodolphe Quiédeville <rodolphe@quiedeville.org>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either ver... | Python | cotetra/survey/api.py | rodo/cotetra | agpl-3.0 | 1,781 | 52 | codeparrot/github-code |
d9a51685bef842ddbfd4bb18123ec0592b702fba8f9156a55c599231b5fc2c61 | #include "util.h"
#include "ihm.h"
int main ( int argc, char *argv[] )
{
static const char* database_filename = "data.db";
char *mot, *nom_joueur;
short choix, nombre_tours, numero_tour, score = 0;
short numero_mot_courant = 0;
LISTE_MOT *liste_mots;
TABLEAU_SCORE *tableau_scores_1, *tableau_... | C | main.c | pythoniste/jeu_du_pendu | agpl-3.0 | 2,927 | 102 | codeparrot/github-code |
1a08f788edb79d60c28e9f190b299dd908d20b563a211bcf2147d7ec2d7e4cbd | /*
* AscEmu Framework based on ArcEmu MMORPG Server
* Copyright (c) 2014-2022 AscEmu Team <http://www.ascemu.org>
* Copyright (C) 2005-2011 MaNGOS <http://getmangos.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... | C | src/tools/vmap_tools/vmap4_extractor/adtfile.h | AscEmu/AscEmu | agpl-3.0 | 2,658 | 133 | codeparrot/github-code |
f011a7b4b0cf222877036295fb96a85aa82dd3484d5ba3e2e35e6e077044aafd | #
# Copyright (C) 2011 - 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 | app/models/attachment.rb | redconfetti/canvas-lms | agpl-3.0 | 57,689 | 1,556 | codeparrot/github-code |
13f3bb132d9e1cdbb45c0ab739f630607c5ef4f12555bfadd5b917bc42909779 | #!/usr/bin/perl
use strict;
use warnings FATAL => 'all';
use Cwd qw(getcwd abs_path);
use Const::Fast qw(const);
use File::Find;
use Data::Dumper;
use Capture::Tiny qw(capture);
const my $RG_LINE => q{samtools view -H %s | grep '^@RG' | head -n 1};
# ref, output, threads
const my $BWA_MEM => q{bwa_mem.pl -r %s -s %... | Perl | bin/tcga_matchList.pl | cancerit/cgpAnalyseHub | agpl-3.0 | 6,398 | 203 | codeparrot/github-code |
84ba380118e35c8d96ac64deedfcfb5d522a3ddde0964a79c4854cc876dabf36 | use crate::seeded_rng;
use euclid::{point2, rect, Point2D, Rect};
use num::{Float, One, Zero};
use rand::distributions::{Distribution, Standard, Uniform};
use rand::Rng;
use std::error::Error;
use std::fmt;
use std::hash::Hash;
use std::ops::{Add, AddAssign, Div, Mul, Range, RangeInclusive, Sub, SubAssign};
/// A type... | Rust | calx/src/alg_misc.rs | rsaarelm/magog | agpl-3.0 | 10,583 | 353 | codeparrot/github-code |
b869ff42ba6e7fa73d818f3109c4e02f89e858fbeadc90dcdec622603c876959 | <!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>The source code</title>
<link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="../resources/prettify/prettify.js"></script>
<style type="t... | HTML | jsduck/docs/source/Queue2.html | Sundsvallskommun/OpenEMap-Admin-WebUserInterface | agpl-3.0 | 3,291 | 116 | codeparrot/github-code |
fdc56175502b93a3e97800ad9450814165d62cb66f38f4f5509404022c6df422 | /*
XOWA: the XOWA Offline Wiki Application
Copyright (C) 2012 gnosygnu@gmail.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 | dev/110_gfml/src_300_gdoc/gplx/gfml/GfmlScopeItm.java | crosslink/xowa | agpl-3.0 | 2,570 | 74 | codeparrot/github-code |
4baf9da76dda6e7074e8913d96605345d02657289f7cb2df3ff607ffb60b968a | if(App.namespace) { App.namespace('Action.Sort', function(App) {
/**
* @namespace App.Action.Sort
* @type {*}
*/
var sort = {};
/** @type {App.Action.Project} Project */
var Project = null;
/**
* button for sorting columns grid
* @type {{}}
*/
so... | JavaScript | js/application/action/sort.js | Werdffelynir/owncollab_chart | agpl-3.0 | 18,813 | 576 | codeparrot/github-code |
6f79d4ff40fcf23c0667053bc93a62fe72967316d987d8350d3c842f8bd54684 | /*
* The Kuali Financial System, a comprehensive financial management system for higher education.
*
* Copyright 2005-2017 Kuali, 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 Foundat... | Java | kfs-ar/src/main/java/org/kuali/kfs/module/ar/service/impl/CustomerViewServiceImpl.java | quikkian-ua-devops/will-financials | agpl-3.0 | 5,950 | 153 | codeparrot/github-code |
b20c0ecd6cd872366a160650223b5937ec09d7c08cbe10695e55bd5aa5a36f00 | /*
* Thread Pool Class
* Copyright (C) 2011 - 2013 <http://arcpro.sexyi.am/>
* Copyright (C) Burlex <burlex@gmail.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 vers... | C | src/arcpro-shared/Threading/ThreadPool.h | Ikesters/ArcPro | agpl-3.0 | 4,539 | 215 | codeparrot/github-code |
f406578f67f1937a67bde1d0287eaa577ffa10de708056882335e6456aa7b8d4 | //Source file: C:/VisualCafe/JAVA/LIB/com.zenred.cosmos/Star.java
package com.zenred.cosmos;
import java.util.Enumeration;
import java.util.ArrayList;
import java.util.List;
import com.zenred.util.OrderedListCollection;
import com.zenred.util.OrderedArrayListCollection;
import com.zenred.util.AnonBlock;
public class... | Java | src/main/java/com/zenred/cosmos/Star.java | jredden/cosmos | agpl-3.0 | 3,236 | 131 | codeparrot/github-code |
77a838b98eed381851a6a17648866bb53e5edcf29980e1790331989759c23b9b | /*
* Electronic Logistics Management Information System (eLMIS) is a supply chain management system for health commodities in a developing country setting.
*
* Copyright (C) 2015 John Snow, Inc (JSI). This program was produced for the U.S. Agency for International Development (USAID). It was prepared under the USAI... | JavaScript | modules/openlmis-web/src/main/webapp/public/js/reports/custom/controller/designer-controller.js | USAID-DELIVER-PROJECT/elmis | agpl-3.0 | 3,363 | 83 | codeparrot/github-code |
1bd3edf13a9f32c3ebb2a6d0a14f949afb81289c4b7c3e24dfad4f4b8cd3465a | /*
* ____ ____ _____ ____ ___ ____
* | _ \ | _ \ | ____| / ___| / _/ / ___| Precog (R)
* | |_) | | |_) | | _| | | | | /| | | _ Advanced Analytics Engine for NoSQL Data
* | __/ | _ < | |___ | |___ |/ _| | | |_| | Copyright (C) 2010 - 2013 SlamData, Inc.... | Scala | common/src/main/scala/com/precog/common/services/ServiceHandlerUtil.scala | precog/platform | agpl-3.0 | 2,557 | 55 | codeparrot/github-code |
4d8458a85767f117995a0f3974680343848ff6568baeb18c2296522ee445f1cc | /**
* Client core
*
* No dependencies.
* Does three unrelated things:
* 1. sets up polyfills where necessary
* 2. sets up PS's model base classes
* 3. sets up the model and view for PS's backgrounds
*
* The background is mostly here so the new background can be loaded ASAP.
*
* @author Guangcong Luo <guancon... | TypeScript | src/client-core.ts | Zarel/Pokemon-Showdown-Client | agpl-3.0 | 13,007 | 435 | codeparrot/github-code |
5cb6f09303305fd54e082d8f8fd80b518631c60e602cdd9d88e709e66c95c5d5 | /*
* This file is part of LibrePlan
*
* Copyright (C) 2009-2010 Fundación para o Fomento da Calidade Industrial e
* Desenvolvemento Tecnolóxico de Galicia
* Copyright (C) 2010-2011 Igalia, S.L.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms ... | Java | libreplan-business/src/main/java/org/libreplan/business/planner/entities/GenericDayAssignment.java | ArsenShnurkov/libreplan | agpl-3.0 | 7,340 | 226 | codeparrot/github-code |
412abe8aa4a8156d6f42c7ade52fe62da50a39c20f4842a13c41c485089bc4ed | <?php
class Crunchbutton_Admin_Shift_Assign_Permanently extends Cana_Table {
public function __construct($id = null) {
parent::__construct();
$this
->table('admin_shift_assign_permanently')
->idVar('id_admin_shift_assign_permanently')
->load($id);
}
public function adminIsPermanently( $id_admin, $id_c... | PHP | include/library/Crunchbutton/Admin/Shift/Assign/Permanently.php | crunchbutton/crunchbutton | agpl-3.0 | 4,152 | 97 | codeparrot/github-code |
cdcb034e48898c86d603bccbf09ddb9c38940eb002f5dc94517545a2c914f87f | # -*- coding: utf-8 -*-
##############################################################################
#
# Odoo, an open source suite of business apps
# This module copyright (C) 2015 bloopark systems (<http://bloopark.de>).
#
# This program is free software: you can redistribute it and/or modify
# it under the terms o... | Python | website_seo/controllers/main.py | blooparksystems/website | agpl-3.0 | 4,887 | 121 | codeparrot/github-code |
2e565de73d19936066fe76e02a2d7197ec6e2e0bf42f9b221e78691223f3e0a4 | DELETE FROM `weenie` WHERE `class_Id` = 7348;
INSERT INTO `weenie` (`class_Id`, `class_Name`, `type`, `last_Modified`)
VALUES (7348, 'zombiesoulfearingacolytearea1', 10, '2019-02-10 00:00:00') /* Creature */;
INSERT INTO `weenie_properties_int` (`object_Id`, `type`, `value`)
VALUES (7348, 1, 16) /* ItemType... | SQL | Database/3-Core/9 WeenieDefaults/SQL/Creature/Undead/07348 Lesser Acolyte.sql | LtRipley36706/ACE-World | agpl-3.0 | 6,090 | 91 | codeparrot/github-code |
35775d063841562d87af91ba582e18fa186410e985275dc1ee7406b7d379e052 | #region using directives
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using GeoCoordinatePortable;
using PoGo.PokeMobBot.Logic.Common;
using PoGo.PokeMobBot.Logic.Event;
using PoGo.PokeMobBot.Logic.Logging;
using PoGo.PokeMobBot.Logic.State;
... | C# | PoGo.PokeMobBot.Logic/Tasks/FarmPokestopsTask.cs | MobBotTeam/PokeMobBot | agpl-3.0 | 25,456 | 515 | codeparrot/github-code |
31eb719cba91426d9dc343ca66236ca59a201b21f65310954971d638689c0bcd | /*
* Copyright (C) 2008-2013, fluid Operations AG
*
* FedX 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.
*
* ... | Java | src/main/java/com/fluidops/fedx/evaluation/join/SynchronousJoin.java | apotocki/fex | agpl-3.0 | 2,304 | 72 | codeparrot/github-code |
67fb1dccfae136654e0a14e2266fbf1a2a7deed9f017a79f234855a75852ffa5 | /*
* Copyright (c) 2012 - 2020 Splice Machine, Inc.
*
* This file is part of Splice Machine.
* Splice Machine 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, or (at your option) ... | Java | hbase_storage/src/main/java/com/splicemachine/si/data/hbase/coprocessor/HBaseComparator.java | splicemachine/spliceengine | agpl-3.0 | 4,040 | 136 | codeparrot/github-code |
1f8dd2c79094c1e54b96fb3afd4fa73807ed82ada8b55f6b5eac2481f1b6a3d3 |
(function(global){
var PollXBlockI18N = {
init: function() {
(function(globals) {
var django = globals.django || (globals.django = {});
django.pluralidx = function(count) { return (count == 1) ? 0 : 1; };
/* gettext library */
django... | JavaScript | poll/public/js/translations/pl/textjs.js | open-craft/xblock-poll | agpl-3.0 | 3,444 | 133 | codeparrot/github-code |
cd944bd0adaa31621252f33a3fdf233f80989db228660c28fd58e9d99b15a87c | /*
* Axelor Business Solutions
*
* Copyright (C) 2022 Axelor (<http://axelor.com>).
*
* 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.
*
* This program is distributed... | Java | axelor-stock/src/main/java/com/axelor/apps/stock/service/InventoryLineService.java | axelor/axelor-business-suite | agpl-3.0 | 4,604 | 128 | codeparrot/github-code |
b5ee10a9871dacbf6e4950b0a0921a2f0a539c390ee9a92117c6af165cccb127 | # -*- coding: utf-8 -*-
##############################################################################
#
# Author: Guewen Baconnier
# Copyright 2013 Camptocamp SA
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# pu... | Python | connector/unit/mapper.py | zhaohuaw/connector | agpl-3.0 | 32,917 | 953 | codeparrot/github-code |
1e6d7a76ac3e24edd4d8db9d8574c270e839d87e180116f4d0ac0e26da4328e7 | /**
* AndTinder v0.1 for Android
*
* @Author: Enrique López Mañas <eenriquelopez@gmail.com>
* http://www.lopez-manas.com
*
* TAndTinder is a native library for Android that provide a
* Tinder card like effect. A card can be constructed using an
* image and displayed with animation effects, dismiss-to-like
* an... | Java | app/src/main/java/assembly/giraff/andtinder/model/Likes.java | asm-products/giraff-android | agpl-3.0 | 1,013 | 40 | codeparrot/github-code |
92613ba0033b74f25c4a29bd008a597d0159c8cc708ad15a714d823d7f862c2a | define([
'collections/credit_provider_collection',
'ecommerce',
'models/course_seats/credit_seat'
],
function (CreditProviderCollection,
ecommerce,
CreditSeat) {
'use strict';
var model,
data = {
id: 9,
... | JavaScript | ecommerce/static/js/test/specs/models/course_seats/credit_seat_spec.js | mferenca/HMS-ecommerce | agpl-3.0 | 2,777 | 74 | codeparrot/github-code |
6ad2cfefe36f397860c79efc844ff236c9fe7cd41acfb3a4d07da06bb47f03af | #!/bin/sh
# this shell launches a native command $1 from a temporary directory
# nammed by $PAS_TASK_ID env variable specified by ProActiveScheduler
# at Job submission
if [ $# -lt 1 ]
then
echo "you must specify at least the command to launch"
echo "Usage: launcher.sh executable_to_launch [parameters...]"
exit 1
fi... | Shell | samples/jobs_descriptors/job_native_linux_file_output/launcher.sh | acontes/scheduling | agpl-3.0 | 837 | 50 | codeparrot/github-code |
5a7fd51dd5c1449e26430410b3435c323ef8eac8b9d524aa93c19cc95376c8a4 | /* -*- Mode: c; c-basic-offset: 4; indent-tabs-mode: t; tab-width: 8; -*- */
/* cairo - a vector graphics library with display and print output
*
* Copyright � 2008 Mozilla Corporation
*
* This library is free software; you can redistribute it and/or
* modify it either under the terms of the GNU Lesser General Pub... | C | Src/OSF/CAIRO-1160/SRC/cairo-quartz-font.c | papyrussolution/OpenPapyrus | agpl-3.0 | 27,864 | 837 | codeparrot/github-code |
ccdabbce6bf28f023c3296e51330cbf2e5fc6bddafdbe12f432df9f9ad64c4a9 | <?php
if (!defined("IN_MOD"))
{
die("Nah, I won't serve that file to you.");
}
$mitsuba->admin->reqPermission("pages.view");
if (!empty($_GET['m']))
{
switch ($_GET['m'])
{
case "add":
$mitsuba->admin->reqPermission("pages.add");
$mitsuba->admin->ui->checkToken($_POST['token']);
if (!empty($_POST['name']))
... | PHP | inc/mod/pages.inc.php | MitsubaBBS/Mitsuba | agpl-3.0 | 2,537 | 77 | codeparrot/github-code |
e4c1d9d616a09e4cd48b64fd60d6bb5d6e85f696febd1c1fa06644de33fb9bdb | <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>db_ch... | HTML | docs/api_reference/C/db_checkpoint.html | hyc/BerkeleyDB | agpl-3.0 | 9,714 | 219 | codeparrot/github-code |
7e426585dca838018767bfe6026ab4741e694409b8844f5ff3edf265f7d1970f | /*
This file is part of Booktype.
Copyright (c) 2012 Aleksandar Erkalovic <aleksandar.erkalovic@sourcefabric.org>
Booktype 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... | JavaScript | lib/booktype/apps/edit/static/edit/js/booktype/editor.js | btat/Booktype | agpl-3.0 | 21,929 | 664 | codeparrot/github-code |
2054e150c01f803e93244850de89c9c19fa25b0e3cf2d25164eea845b1011af2 | <%page expression_filter="h"/>
<%inherit file="main.html" />
<%def name="online_help_token()"><% return "learnerdashboard" %></%def>
<%namespace name='static' file='static_content.html'/>
<%!
from django.utils.translation import ugettext as _
from django.template import RequestContext
import third_party_auth
from third... | HTML | themes/edx.org/lms/templates/dashboard.html | romain-li/edx-platform | agpl-3.0 | 11,057 | 269 | codeparrot/github-code |
d4550ecb8388e2a211c3dc14a10b74c27b5b2384319520e47d00272c3f730cf8 | import * as randomMC from 'random-material-color';
import Localisation from '@js/Classes/Localisation';
import CustomFieldsHelper from '@js/Helper/Import/CustomFieldsHelper';
import ImportMappingHelper from '@js/Helper/Import/ImportMappingHelper';
export default class EnpassConversionHelper {
/**
*
* @p... | JavaScript | src/js/Helper/Import/EnpassConversionHelper.js | marius-wieschollek/passwords | agpl-3.0 | 8,191 | 261 | codeparrot/github-code |
7613b7b163afa12d318eb56ea8838259f44f301530c019cf28f2eab3a1e7cffb | #!/usr/bin/env python
#
# Freesound is (c) MUSIC TECHNOLOGY GROUP, UNIVERSITAT POMPEU FABRA
#
# Freesound 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 ... | Python | compmusic/extractors/imagelib/wav2png.py | MTG/pycompmusic | agpl-3.0 | 3,050 | 66 | codeparrot/github-code |
17d73e5732bcc64030224b5be021a5b7a603b1d5c1d18b82a3e98e892fcb00dd | import _ from 'lodash';
import {gettext} from 'core/utils';
import {showModal} from 'core/services/modalService';
import {IArticle} from 'superdesk-api';
import {appConfig} from 'appConfig';
import {AuthoringWorkspaceService} from 'apps/authoring/authoring/services/AuthoringWorkspaceService';
import {fileUploadErrorMod... | TypeScript | scripts/apps/ingest/services/SendService.ts | pavlovicnemanja/superdesk-client-core | agpl-3.0 | 10,396 | 318 | codeparrot/github-code |
5404e6461ad35a33ee1c26c9adc7a6c234cd670cbbe15605e29265c976ab8efd | package beardlessbrady.modcurrency2;
import beardlessbrady.modcurrency2.proxy.CommonProxy;
import net.minecraftforge.common.config.Configuration;
/**
* This class was created by BeardlessBrady. It is distributed as
* part of The Currency-Mod. Source Code located on github:
* https://github.com/BeardlessBrady/Curre... | Java | src/main/java/beardlessbrady/modcurrency2/ConfigCurrency.java | BeardlessBrady/Currency-Mod | agpl-3.0 | 1,706 | 42 | codeparrot/github-code |
d7e8f071998757f2fd16d246fad18f7b8302a889b99254a0bde65fd563eeee1e | // Copyright (c) 2015-2021 MinIO, Inc.
//
// This file is part of MinIO Object Storage stack
//
// 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
// (... | GO | cmd/find.go | vadmeste/mc | agpl-3.0 | 14,427 | 444 | codeparrot/github-code |
00ce93b3c7c3f22a1efe1e9ba2f17ae5671d804a499830221cab3770ddc413a1 | <!DOCTYPE HTML>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta name="keywords" content="Epub Navigation Documents, hexo,jsxgraph,xulrunner">
<meta name="description" content="时光岁月如流水,流水奔流入海不复回">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=dev... | HTML | 2016/05/19/Epub-Navigation-Documents/index.html | huangxok/huangxok.github.io | agpl-3.0 | 35,349 | 1,238 | codeparrot/github-code |
2dc765b5c3bbbeac6579210ffecaaa47dff2302745049d6fc13b4cec55b417cc | <?php
/**
* Shopware 5
* Copyright (c) shopware AG
*
* According to our dual licensing model, this program can be used either
* under the terms of the GNU Affero General Public License, version 3,
* or under a proprietary license.
*
* The texts of the GNU Affero General Public License with an additional
* perm... | PHP | engine/Shopware/Components/Snippet/SnippetValidator.php | Zwilla/shopware | agpl-3.0 | 2,198 | 68 | codeparrot/github-code |
c4af90b3eba5d41c7dcfeb350568db6735f231a2a4d4196dc3efcd2ccb92faad | ##############################################################################
#
# OSIS stands for Open Student Information System. It's an application
# designed to manage the core business of higher education institutions,
# such as universities, faculties, institutes and professional schools.
# The core ... | Python | base/forms/entity.py | uclouvain/osis | agpl-3.0 | 2,539 | 64 | codeparrot/github-code |
a41e243edd7db7dc4f46f11d91120aabda5209359574136b9440fb7c616fd2dc | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="de">
<head>
<meta http-equiv="Content-Type" content="text/html" charset="iso-8859-1">
<title>org.apache.commons.compress.compressors.lzma Class Hierarchy (Apache Commons Compress 1.8.1 API... | HTML | lib/apache/commons-compress-1.8.1/apidocs/org/apache/commons/compress/compressors/lzma/package-tree.html | sschuberth/triplecheck-reporter | agpl-3.0 | 5,752 | 137 | codeparrot/github-code |
80fa2e478f00b4bd2983e9696b253cdfe73b0da0b865d7d334c78d47e369730e | /*
* (c) Copyright Ascensio System SIA 2010-2019
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU AGP... | C | ASCOfficeRtfFile/RtfFormatLib/source/RtfBookmark.h | ONLYOFFICE/core | agpl-3.0 | 3,939 | 131 | codeparrot/github-code |
0f63eb53c9df0006391d602be4b6c18e3126c6e6c8a645ec6a8e043710568c1e | <?php
/**
* Skeleton subclass for representing a row from the 'cc_block' table.
*
* You should add additional methods to this class to meet the
* application requirements. This class will only be generated as
* long as it does not already exist in the output directory.
*/
class CcBlock extends BaseCcBlock
{
... | PHP | legacy/application/models/airtime/CcBlock.php | LibreTime/libretime | agpl-3.0 | 3,590 | 106 | codeparrot/github-code |
a2c253a1f5e87eccc2def78973fb90e8ebbebc4a2d190006d4994ae544466054 | class Admin::ImagesController < Admin::AdminController
layout 'movements'
self.nav_category = :images
PAGE_SIZE = 30
before_filter :recent_images, :only => [:create, :index]
def index
@new_image = Image.new
end
def show
@image = Image.find(params[:id])
end
def create
additional_parame... | Ruby | app/controllers/admin/images_controller.rb | fightforthefuture/Platform | agpl-3.0 | 1,595 | 51 | codeparrot/github-code |
298cdced45fb6aec524494b1a073a648f3b909a1d90e73efdc73ccf3fc067c1d | /*
* Axelor Business Solutions
*
* Copyright (C) 2022 Axelor (<http://axelor.com>).
*
* 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.
*
* This program is distributed... | Java | axelor-account/src/main/java/com/axelor/apps/account/service/invoice/generator/invoice/RefundInvoice.java | axelor/axelor-business-suite | agpl-3.0 | 3,289 | 100 | codeparrot/github-code |
8ba2c9419f81eb5368866e10c5db4a128b7ed5eea916a2286067498ccd9f9d36 | {% extends 'page.html' %}
{% set linkInfo = extra_vars %}
{% block breadcrumb_content_selected %}{% endblock %}
{% block breadcrumb_content %}
{{ super() }}
<li class="active"><a href="">{{ _('Summary') }}</a></li>
{% endblock %}
{% block content_primary_nav %}
{{ h.build_nav_icon('download_summary', _('Data... | HTML | ckanext/download/theme/main/index.html | jiankaiwang/ckanext-download | agpl-3.0 | 3,334 | 103 | codeparrot/github-code |
b4cb8ad50b10a7db6ca96e5fe43d9dc49e8ba1001b92a3df63415a950de69c96 | {% extends 'missions/svn/base.html' %}
{% comment %}
# This file is part of OpenHatch.
# Copyright (C) 2010 Jack Grigg
# Copyright (C) 2010 OpenHatch, 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 So... | HTML | mysite/missions/templates/missions/svn/commit.html | mzdaniel/oh-mainline | agpl-3.0 | 4,306 | 75 | codeparrot/github-code |
5b96e9c78f766742b4bac4fad1ed8d9ad7e4cdbf14228ddf32abbdc6a8e76b3d | /*
* ChunkIconsManager.java
*
* Copyright (C) 2009-12 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 Li... | Java | src/gwt/src/org/rstudio/studio/client/workbench/views/source/editors/text/ChunkIconsManager.java | piersharding/rstudio | agpl-3.0 | 13,506 | 386 | codeparrot/github-code |
a914122afff36fbec24e9dac2443a81ae89c35d6d8af4a883c6b186c39812003 | using System.Collections.Generic;
using System.Linq;
namespace System.Linq
{
public static class ExtendedLinq
{
public static IEnumerable<string> ToStrings<TSource>(this IEnumerable<TSource> source)
{
return source.Select(x => Convert.ToString(x));
}
... | C# | src/Core/Extensions/ExtendedLinq.cs | OpenHark/HarkLib | agpl-3.0 | 1,809 | 53 | codeparrot/github-code |
dd63dcf3b375398e1725a4bda29d8b6cea93a3a2f5b16a87799d81990a71c068 | # --
# Copyright (C) 2001-2017 OTRS AG, http://otrs.com/
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (AGPL). If you
# did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
# --
package scripts::DBUpdateTo6::OCBIMigrateChatD... | Perl | scripts/DBUpdateTo6/OCBIMigrateChatData.pm | s7design/otrs | agpl-3.0 | 12,808 | 458 | codeparrot/github-code |
434e46a17c8627ce7e3d22c1141b33c2a18157d2d68677353511d83dddf0514c | /**
* This file is part of taolin project (http://taolin.fbk.eu)
* Copyright (C) 2008, 2009 FBK Foundation, (http://www.fbk.eu)
* Authors: SoNet Group (see AUTHORS.txt)
*
* Taolin 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 ... | JavaScript | webroot/js/portal/application.js | vad/taolin | agpl-3.0 | 17,510 | 332 | codeparrot/github-code |
a4fe6ff6931ba0607a73416125ba2cd99c0683b14b9199133c2f8bbf2a8a60eb | //////////////////////////////////////////////////////////////////////////////
// This file is part of the Journey MMORPG client //
// Copyright © 2015-2016 Daniel Allendorf //
// //
// T... | C++ | Gameplay/MapleMap/Mob.cpp | Libre-Maple/LibreMaple-Client | agpl-3.0 | 17,469 | 671 | codeparrot/github-code |
71960ef428e3a7e85ac780a5d1bb8822e3300aaea12f9daf50d50109499c0e8d | <?php
namespace Plenty\Modules\Listing\Market\Contracts;
use Illuminate\Database\Eloquent\ModelNotFoundException;
use Plenty\Exceptions\ValidationException;
use Plenty\Modules\Listing\Market\Models\ListingMarket;
use Plenty\Repositories\Contracts\FilterableContract;
use Plenty\Repositories\Criteria\Contracts\Criteriab... | PHP | Modules/Listing/Market/Contracts/ListingMarketRepositoryContract.php | plentymarkets/plugin-hack-api | agpl-3.0 | 2,288 | 121 | codeparrot/github-code |
423f85ce81968f9650f12d5bd0d811009d18cf7c8002f488e9b28abd45fdbf13 | /**
* Crypto module for Geierlein.
*
* @author Stefan Siegl
*
* Copyright (c) 2012 Stefan Siegl <stesie@brokenpipe.de>
*
* 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 ve... | JavaScript | chrome/content/lib/geierlein/crypto.js | vog/geierlein | agpl-3.0 | 5,912 | 165 | codeparrot/github-code |
75aa65af86e9d972d7982ac3522dbd4e56f2ff68d2ce59b386b37868478225a2 | <html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>basic_deadline_timer::expires_from_now (3 of 3 overloads)</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel... | HTML | crislib/libscapi/lib/boost_1_64_0/doc/html/boost_asio/reference/basic_deadline_timer/expires_from_now/overload3.html | cris-iisc/mpc-primitives | agpl-3.0 | 6,829 | 102 | codeparrot/github-code |
f5ef10e23e58acfe0cc761c9e6e2976b53e2317e530c9de7398c538160bff163 | COUNTRY_PRIORITY = [
"United States",
"Canada",
"Australia",
"Worldwide"]
COUNTRIES = [
"Afghanistan", "Aland Islands", "Albania", "Algeria", "American Samoa", "Andorra", "Angola",
"Anguilla", "Antarctica", "Antigua And Barbuda", "Argentina", "Armenia", "Aruba", "Australia", "Austria",
"Azerbaijan", "Bah... | Ruby | config/initializers/countries.rb | benediktgirz/awesomebits | agpl-3.0 | 3,854 | 46 | codeparrot/github-code |
1f41f2906b28352f11acb140264c4aa042692b93a500be42eb33f4eb0dde25e7 | /*
* File: ximamng.h
* Purpose: Declaration of the MNG Image Class
* Author: Davide Pizzolato - www.xdp.it
* Created: 2001
*/
/* ==========================================================
* CxImageMNG (c) 07/Aug/2001 Davide Pizzolato - www.xdp.it
* For conditions of distribution and use, see copyright n... | C | DesktopEditor/cximage/CxImage/ximamng.h | ONLYOFFICE/core | agpl-3.0 | 2,173 | 89 | codeparrot/github-code |
f3c55f5ad5c15b398e5da15b80ec9336772c65f315b06782b89b0bb1f6a72465 | /*
* Jitsi, the OpenSource Java VoIP and Instant Messaging client.
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
*/
package net.java.sip.communicator.impl.protocol.jabber.extensions.keepalive;
import org.jivesoftware.smack.packet.*;
/**
* KeepAlive Event. Events are sent if there are ... | Java | src/net/java/sip/communicator/impl/protocol/jabber/extensions/keepalive/KeepAliveEvent.java | zhaozw/android-1 | lgpl-2.1 | 1,603 | 69 | codeparrot/github-code |
a2f14cb3895598a21c3873edd67c53d95200cb41502ebb9b4a152205bf78cf39 | package joshua.decoder.ff;
import java.util.List;
import joshua.corpus.Vocabulary;
import joshua.decoder.JoshuaConfiguration;
import joshua.decoder.chart_parser.SourcePath;
import joshua.decoder.ff.state_maintenance.DPState;
import joshua.decoder.ff.tm.Rule;
import joshua.decoder.hypergraph.HGNode;
import joshua.deco... | Java | src/joshua/decoder/ff/RuleFF.java | lukeorland/joshua | lgpl-2.1 | 2,077 | 71 | codeparrot/github-code |
602c5ff1716827d8b8e8a425d8ec41fcf6cf60f89ccee2c4ca987c546f638221 | //
// This file is part of the Marble Virtual Globe.
//
// This program is free software licensed under the GNU LGPL. You can
// find a copy of this license in LICENSE.txt in the top directory of
// the source code.
//
// Copyright 2009 Bastian Holst <bastianholst@gmx.de>
//
// Self
#include "PanoramioPlugin.h"
... | C++ | src/plugins/render/panoramio/PanoramioPlugin.cpp | tzapzoor/marble | lgpl-2.1 | 2,025 | 90 | codeparrot/github-code |
ea7b7669b4d22a58dcb4adbd26f3c0e67f9f3d36cf2e32f74b731de90431e029 | <?php
function wikiplugin_titlesearch_help() {
return tra("Search the titles of all pages in this wiki").":<br />~np~{TITLESEARCH(search=>Admin,info=>hits|user,exclude=>HomePage|SandBox,noheader=>0)}{TITLESEARCH}~/np~";
}
/**
* Include the library {@link PluginsLib}
*/
require_once "lib/wiki/pluginslib.php";
/**
* T... | PHP | lib/wiki-plugins/wikiplugin_titlesearch.php | marcelosoaressouza/estudiolivre | lgpl-2.1 | 3,461 | 134 | codeparrot/github-code |
f98af53b12927d7fe73acabedbdc47a5c14525587f24e1fd07d7b7a976cdc46c | /**************************************************************************
**
** This file is part of Qt Creator
**
** Copyright (c) 2012 Nokia Corporation and/or its subsidiary(-ies).
**
** Contact: Nokia Corporation (qt-info@nokia.com)
**
**
** GNU Lesser General Public License Usage
**
** This file may be used unde... | C++ | src/plugins/qt4projectmanager/qt-s60/s60emulatorrunconfiguration.cpp | hdweiss/qt-creator-visualizer | lgpl-2.1 | 14,275 | 413 | codeparrot/github-code |
a2919fbe2801422225d341a7f7b8d9fcb50b1280674f2b9809778aecc9ad4a4d | #ifndef _pymoose_TauPump_cpp
#define _pymoose_TauPump_cpp
#include "TauPump.h"
using namespace pymoose;
const std::string TauPump::className_ = "TauPump";
TauPump::TauPump(std::string className, std::string objectName, Id parentId):Neutral(className, objectName, parentId){}
TauPump::TauPump(std::string className, std::... | C++ | generated/TauPump.cpp | BhallaLab/moose-thalamocortical | lgpl-2.1 | 2,499 | 81 | codeparrot/github-code |
a14afaa19884b406a17aa8d2f01045086785c6848b2dc6e794fe3500ca392869 | /*
* Copyright (C) 2003 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
* version 2.1 of the License, or (at your option) any later version.
*
* This librar... | C++ | src/vteconv.cc | rvu95/vte | lgpl-2.1 | 23,771 | 794 | codeparrot/github-code |
efdba6d2c055fed564a8729c4775e127f03298a774d6962f3fb13dab7f483058 | /*
* Cacheonix Systems licenses this file to You under the LGPL 2.1
* (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.cacheonix.org/products/cacheonix/license-lgpl-2.1.htm
*
* Unless required by applicable law or agr... | Java | test/src/org/cacheonix/impl/cache/distributed/partitioned/AtomicRemoveRequestTest.java | cacheonix/cacheonix-core | lgpl-2.1 | 3,189 | 121 | codeparrot/github-code |
36b5de29f39c542de3261bf9463b9adb5c20c2e93711a01d16e1182383a752a3 | /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* 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:... | Java | src/com/badlogic/gdx/utils/Json.java | jaredbracken/sonic-ndk | lgpl-2.1 | 34,255 | 998 | codeparrot/github-code |
5cfb6bc7414d372415b7ef36f635c96e3952a71675cbf79d346f871c75e3ac22 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
* soup-request.c: Protocol-independent streaming request interface
*
* Copyright (C) 2009, 2010 Red Hat, Inc.
* Copyright (C) 2010, Igalia S.L.
*
* This library is free software; you can redistribute it and/or
* modify it under the te... | C | libsoup/soup-request.c | ahmedammar/platform_external_gst_libsoup | lgpl-2.1 | 7,338 | 285 | codeparrot/github-code |
902344cdca444fd65e55ffedc6843d517901fbc08dc3706cfe3f3ee202d05a30 | /**
* @file tools.js
* @brief Used by cutes agent to invoke async actions
* @copyright (C) 2014 Jolla Ltd.
* @par License: LGPL 2.1 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html
*/
var make_system_action = function(name) {
return function() {
var subprocess = require("subprocess");
su... | JavaScript | qml/tools.js | alinelena/sailfish-utilities | lgpl-2.1 | 1,566 | 48 | codeparrot/github-code |
9791df6ff160426a3797c23f1aedc6445345d6ad4c049c2f6e36abecf4804d38 | /*
* LPC 2000 Loader, http://www.pjrc.com/arm/lpc2k_pgm
* Copyright (c) 2004, PJRC.COM, LLC, <paul@pjrc.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 Li... | C | boards/msba2-common/tools/src/ihex.c | patacongo/RIOT | lgpl-2.1 | 6,657 | 305 | codeparrot/github-code |
8456fbf65be47aad350f1251660238fa5e8770fc836911f599842a82e197b355 | /*
* JBoss, Home of Professional Open Source.
* Copyright 2010, 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
* unde... | Java | controller/src/test/java/org/jboss/as/controller/test/GlobalOperationsTestCase.java | aloubyansky/wildfly-core | lgpl-2.1 | 51,962 | 1,026 | codeparrot/github-code |
0d9e84a507a4499829762094555a9602ea396749dae5c6b70685c7aa9897a9ef | #include <osgShadow/ShadowVolume>
#include <iostream>
#include <string>
#include <osg/Vec3>
#include <osg/Vec4>
#include <osg/io_utils>
#include <osgDB/Registry>
#include <osgDB/Input>
#include <osgDB/Output>
#include <osgDB/ParameterOutput>
bool ShadowVolume_readLocalData(osg::Object &obj, osgDB::Input &fr);
bool ... | C++ | src/osgPlugins/osgShadow/ShadowVolume.cpp | joevandyk/osg | lgpl-2.1 | 1,005 | 41 | codeparrot/github-code |
3544ecbe723df7dfe8afb47166e515774e58a0ed256ddb05fa7be2b77e2fd5c0 | /****************************************************************************
**
** 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 Qt Mobility Components.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commerci... | C++ | plugins/contacts/symbian/src/transform/cnttransformnote.cpp | community-ssu/qt-mobility | lgpl-2.1 | 5,262 | 152 | codeparrot/github-code |
7843ffddc6641786d281589686335a61692ff71f827b04e24239777373277c21 | /*
* ion/de/draw.c
*
* Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
#include <string.h>
#include <limits.h>
#include <ioncore/global.h>
#include <ioncore/common.h>
#include <ioncore/gr.h>
#include <ioncore/gr-util.h>
#include "brush.h"
#include "font.h"
#include "pri... | C | de/draw.c | neg-serg/notion | lgpl-2.1 | 17,469 | 584 | codeparrot/github-code |
a156774847ea140c2544c8c4a9adc20938dfc9e9c9b73b4e9bd5a00cd5ef0b87 | /*
* GeoTools - The Open Source Java GIS Toolkit
* http://geotools.org
*
* (C) 2005-2008, Open Source Geospatial Foundation (OSGeo)
*
* 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 ... | Java | modules/library/main/src/main/java/org/geotools/feature/visitor/StandardDeviationVisitor.java | geotools/geotools | lgpl-2.1 | 4,970 | 171 | codeparrot/github-code |
0a8c29499adade084ae3f3fc9215dd878dbf8d83e0f347ba32be1f5634e598c4 | =begin Adhearsion metadata
name: Adhearsion Growler
author:
name: Phil Kates
email: hawk684 -at- gmail.com
modified-by: Jay Phillips
gems:
- ruby-growl
=end
require 'ruby-growl'
GROWL_SERVER = unless $HELPERS['growler']['ip'] then nil else
Growl.new $HELPERS['growler']['ip'] || 'localhost',
... | Ruby | helpers/growler.rb | aitor/gracita | lgpl-2.1 | 2,029 | 54 | codeparrot/github-code |
cdc147199b58a03e67b3083f3c783a73477d05465ea1176464b4c8a263bd040c | <?php
// (c) Copyright 2002-2015 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$
//this script may only be included - so its better to... | PHP | lib/smarty_tiki/function.trackerfields.php | changi67/tiki | lgpl-2.1 | 5,845 | 169 | codeparrot/github-code |
b31a6d793d953c57d202e2814ff0feb44ece680dc0bb379eca75e62d7cb50aee | package com.phasmid.laScala.fp
import org.scalatest.{FlatSpec, Matchers}
import org.slf4j.LoggerFactory
/**
* TryWithSpec based on: http://codereview.stackexchange.com/questions/79267/scala-trywith-that-closes-resources-automatically
* Created by scalaprof on 8/5/16.
*/
class SmartLoggerSpec extends FlatSpec wi... | Scala | src/test/scala/com/phasmid/laScala/fp/SmartLoggerSpec.scala | rchillyard/LaScala | lgpl-2.1 | 3,658 | 104 | codeparrot/github-code |
e0d96c46bbd22aa55d6ce8a5c0e692d3c9cb5e83dcafb9fbc899c35ab9c08bbd | # 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)
import pytest
from spack.main import SpackCommand
versions = SpackCommand('versions')
def test_safe_only_versions():
... | Python | lib/spack/spack/test/cmd/versions.py | iulian787/spack | lgpl-2.1 | 1,677 | 75 | codeparrot/github-code |
a56a5359e0cdffd42a708bb3ff2ec09bdfd725325d814ba251e5d6cd4549ab78 | //-----------------------------------------------------------------------bl-
//--------------------------------------------------------------------------
//
// Antioch - A Gas Dynamics Thermochemistry Library
//
// Copyright (C) 2013 The PECOS Development Team
//
// This library is free software; you can redistribute i... | C++ | test/blottner_viscosity_unit.C | ddemidov/antioch | lgpl-2.1 | 2,594 | 100 | codeparrot/github-code |
df9193614066d4bca47ce7ce4d1610b18109e14f4e4abbb86d0fd604b5c61d02 | /*
qgvdial is a cross platform Google Voice Dialer
Copyright (C) 2009-2017 Yuvraaj Kelkar
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)... | C++ | qgvdial/features/skype-desktop/SkypeWinClient.cpp | uvatbc/qgvdial | lgpl-2.1 | 5,227 | 179 | codeparrot/github-code |
11798ee67d56d0d6fe0be902284f833efc0876132ad3b88b417a94df9749bc80 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package vars.query;
import com.google.inject.Injector;
import org.junit.Before;
import org.junit.Test;
import org.mbari.util.Dispatcher;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import vars.knowledgebas... | Java | vars-query/src/test/java/vars/query/DAOTests.java | sanyaade-mediadev/vars | lgpl-2.1 | 1,211 | 47 | codeparrot/github-code |
60626130ca50a58eee8e707b6bdaf110d9cf2d1a16c57f098259fe4f31a7a312 | /*
Copyright 2001 to 2004. The Battle Grounds Team and Contributors
This file is part of the Battle Grounds Modification for Half-Life.
The Battle Grounds Modification for Half-Life is free software;
you can redistribute it and/or modify it under the terms of the
GNU Lesser General Public L... | C | dlls/saverestore.h | BackupTheBerlios/battlegrounds-svn | lgpl-2.1 | 7,445 | 201 | codeparrot/github-code |
325ff817fa7a8c783d1085f0aa3344ff28c63a7cd78f2b3a24b20c958182173c | package org.herac.tuxguitar.app.view.component.tab.edit;
import org.herac.tuxguitar.app.TuxGuitar;
import org.herac.tuxguitar.app.action.impl.edit.tablature.TGMenuShownAction;
import org.herac.tuxguitar.app.action.impl.edit.tablature.TGMouseClickAction;
import org.herac.tuxguitar.app.action.impl.edit.tablature.TGMouse... | Java | TuxGuitar/src/org/herac/tuxguitar/app/view/component/tab/edit/MouseKit.java | halfspiral/tuxguitar | lgpl-2.1 | 3,368 | 81 | codeparrot/github-code |
2c30f41d9bf11496b96fb06e8c1ea618a8cf3372b8a1b8669560e189ae8af655 | /**
* OpenAL cross platform audio library
* Copyright (C) 1999-2010 by authors.
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your op... | C | Alc/panning.c | BeamNG/openal-soft | lgpl-2.1 | 20,794 | 557 | codeparrot/github-code |
dbae733ff17b55608510593bb0ab2249d5faa750f2932a74ac445ac2efa7070c |
//
// Copyright (C) 2007-2008 Sebastian Kuzminsky
//
// 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 | src/hal/drivers/mesa-hostmot2/hm2_soc_ol.h | araisrobo/machinekit | lgpl-2.1 | 1,736 | 62 | codeparrot/github-code |
9bb097b90bbe8b25d6d760f20c020578ad9ca88f3cbe2ec626e7581d968acd74 | /*
* FindBugs - Find Bugs in Java programs
* Copyright (C) 2003-2007 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, o... | Java | spotbugs/src/main/java/edu/umd/cs/findbugs/workflow/CountClassVersions.java | spotbugs/spotbugs | lgpl-2.1 | 6,249 | 173 | codeparrot/github-code |
78b4ddaa8faf18ef0cd46d49016d6f5d015c5756d95f48f87879830f0e31f465 | /*
***********************************************************************
*
* (c) Copyright 2008 Armadeus project
* Fabien Marteau <fabien.marteau@armadeus.com>
* Generic driver for Wishbone led IP
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General ... | C | src/library/components/led/drivers_templates/armadeus/g_led.c | xcthulhu/periphondemand | lgpl-2.1 | 9,351 | 355 | codeparrot/github-code |
b0f79efecfb0a907331e236e3567dc045e5b2634f9424b5ea8c6306d8716441a | /* GStreamer Editing Services Pitivi Formatter
* Copyright (C) 2011-2012 Mathieu Duponchelle <seeed@laposte.net>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version ... | C | ges/ges-pitivi-formatter.c | pitivi/gst-editing-services | lgpl-2.1 | 22,723 | 766 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.