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
692d018cbaf2392b6c4bf45582386b574b7d0073871c5bbba6f61dc112c3c647
package de.retest.recheck.review; import static org.assertj.core.api.Assertions.assertThat; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.mockito.ArgumentMatchers.any; import static org.mockito.ArgumentMatchers.anyString; import static org.mockito.ArgumentMatchers.eq; import static org...
Java
src/test/java/de/retest/recheck/review/GlobalChangeSetApplierTest.java
retest/recheck
agpl-3.0
15,896
334
codeparrot/github-code
44bd8ac4a70680293a4d420bda65927cc441d935752637af1776da75ee1e678e
import Analyzer, { Options, SELECTED_PLAYER, SELECTED_PLAYER_PET } from 'parser/core/Analyzer'; import Events, { CastEvent, DeathEvent, FightEndEvent, SummonEvent } from 'parser/core/Events'; import Combatants from 'parser/shared/modules/Combatants'; import * as SPELLS from '../../SPELLS'; import { AllTotemsFilter, ...
TypeScript
analysis/tbcshaman/src/modules/features/TotemTracker.tsx
WoWAnalyzer/WoWAnalyzer
agpl-3.0
7,117
229
codeparrot/github-code
b6f172fb6ccd58b70430ee25b80262d3143e26f51353da89461a1669ffad7680
# -*- coding: utf-8 -*- # vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright (c) 2014-2015, GEM Foundation # OpenQuake 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 ...
Python
openquake/calculators/scenario_risk.py
g-weatherill/oq-risklib
agpl-3.0
5,466
134
codeparrot/github-code
dea97125e548d2499b34869d0f0ba1b48f6969d937ad802d96894c2d1a0ff38d
# ---------------------------------------------------------------------------------------------------------------------- # This file is part of {@link https://github.com/MovLib MovLib}. # # Copyright © 2013-present {@link https://movlib.org/ MovLib}. # # MovLib is free software: you can redistribute it and/or modify it...
PowerShell
etc/vagrant/colored-puppet-output.ps1
MovLib/www
agpl-3.0
3,708
73
codeparrot/github-code
42d31cc549c6dde926f0932b2eef4aaad15b7f28b108cafee892406be32dc068
#include <stdlib.h> #include <string.h> #include <stdio.h> #include "ee_profile_data.h" OpenAPI_ee_profile_data_t *OpenAPI_ee_profile_data_create( OpenAPI_list_t *restricted_event_types, char *supported_features, OpenAPI_list_t* allowed_mtc_provider ) { OpenAPI_ee_profile_data_t *ee_profile_data_local...
C
lib/sbi/openapi/model/ee_profile_data.c
acetcom/nextepc
agpl-3.0
6,924
197
codeparrot/github-code
b6ec4f6980aeef1d2fa1c1a353711a76cdd36c5e9a8d45792bd34365cfb0a1eb
package nars.eval; import jcog.data.set.ArrayHashSet; import nars.NAL; import nars.Op; import nars.term.Compound; import nars.term.Functor; import nars.term.Term; import nars.term.atom.Atom; import nars.term.atom.Atomic; import nars.term.compound.LazyCompound; import nars.term.util.builder.HeapTermBuilder; import nars...
Java
nar/src/main/java/nars/eval/Evaluator.java
automenta/narchy
agpl-3.0
4,717
161
codeparrot/github-code
42d2261c4fe1c35497b73725e49fb613e1e1ba5ade364de09f5c844b721b62ec
from PyQt5.QtCore import QThread, pyqtSignal from API.CurseAPI import CurseAPI, CurseFile, CurseModpack from PyQt5.QtWidgets import * from GUI.Strings import Strings strings = Strings() translate = strings.get class FileDownloaderWindow(QWidget): def __init__(self, file: str, curse: CurseAPI, path: str, fname=F...
Python
GUI/Downloader.py
Brain888/OpenMineMods
agpl-3.0
4,748
171
codeparrot/github-code
f6b5e0847888145415e8e4eb23a2fd93a1bec350ad43a8552a274974dffc7e18
<?php /** * Copyright 2015-2017 ppy Pty. Ltd. * * This file is part of osu!web. osu!web is distributed with the hope of * attracting more community contributions to the core ecosystem of osu!. * * osu!web is free software: you can redistribute it and/or modify * it under the terms of the Affero G...
PHP
app/Http/Controllers/BeatmapsetsController.php
Kuron-kun/osu-web
agpl-3.0
9,855
311
codeparrot/github-code
a90ffadbd7af21dc92a583df25a06609303fd666efa767ba12ddaa76ea31e17c
/** * the weight system * this handles all the logic with * weights and bulks and capacities * @author Hymael */ #include <game/weight.h> int capacity; /**< how much an object can hold in weight */ int volume; /**< how much an object can hold in bulk */ int ...
C
mud/usr/Common/lib/weight.c
kaylus/myanmud
agpl-3.0
3,109
137
codeparrot/github-code
15e038515bc1986a4c12c6f96d4d44f4a63259e3576c756fe4c1467bb0b20a35
// BRKTRANS.CPP // © 2016 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html // Copyright (C) 2008-2015, International Business Machines Corporation and others. All Rights Reserved. // Date Name Description // 05/11/2008 Andy Heninger Port from Java //...
C++
Src/OSF/icu/icu4c/source/i18n/brktrans.cpp
papyrussolution/OpenPapyrus
agpl-3.0
4,997
174
codeparrot/github-code
8db35ba9c9a3a0dbd0bcdd55926227a452acbda74643aad9a7c29b887001e679
-- -- Table structure for table `auditlog` -- CREATE TABLE IF NOT EXISTS `auditlog` ( `logId` int(11) NOT NULL AUTO_INCREMENT, `logDate` int(11) NOT NULL, `userId` int(11) NULL, `message` varchar(254) NOT NULL, `entity` varchar(50) NOT NULL, `entityId` int(11) NOT NULL, `objectAfter` text NOT NULL, PR...
SQL
install/master/structure.sql
yashodhank/xibo-cms
agpl-3.0
35,433
1,135
codeparrot/github-code
926233218781450fa47e0b18ba848e2d22a25b6e72155d5d87967b915d8078a2
/**************************************************************** * * * Copyright 2001, 2014 Fidelity Information Services, Inc * * * * This source code contains the intellectual property * * of its copyright holder(s), and is made available * * under a license. If you do not know the terms of * *...
C
sr_port/mur_back_process.c
CoherentLogic/fis-gtm-netbsd
agpl-3.0
49,790
1,157
codeparrot/github-code
8aaa072238449a58036dce4326a6cb87bb52792e80e7502116ffb9ac6bc6201a
/* * Copyright (C) 2021 Grakn Labs * * 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. * * This program is ...
Java
logic/resolvable/Retrievable.java
graknlabs/grakn
agpl-3.0
7,513
170
codeparrot/github-code
a686297fc7e384bec411349c218751542cc4db57c7701b32032d6e6f37582991
<?hh /* * * ____ _ _ __ __ _ __ __ ____ * | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \ * | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) | * | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/ * |_| \___/ \...
C++
src/pocketmine/entity/PrimedTNT.hh
PocketCrafters/Alligator
agpl-3.0
3,466
151
codeparrot/github-code
b2953cc90400e9617a429ccff00f21e33cc3b4fd3ce67d16c6a06c3b5edead9e
var Ui = { initialize: function() { if(typeof(Effects) !== 'undefined'){ Effects.initialize(); } var languages_filter = $(".languages_filter form") languages_filter.find(".buttons").hide(); languages_filter.find("#language_filter").change(function(){ submit = languages_filter.find(".b...
JavaScript
public/javascripts/app/modules/ui.js
railsfactory-sriman/knowledgeBase
agpl-3.0
6,905
200
codeparrot/github-code
6c19152dee5e2cee7455302e6657c603c54838c57f2dbe23e08e116ea6732d52
from django.conf.urls.defaults import * from django.conf import settings from django.contrib import admin admin.autodiscover() from parliament.core.sitemap import sitemaps from parliament.core.views import SiteNewsFeed urlpatterns = patterns('', (r'^search/', include('parliament.search.urls')), (r'^debates/',...
Python
parliament/urls.py
michaelsmit/openparliament
agpl-3.0
2,327
52
codeparrot/github-code
b1411a48aa98a95a737409212635407af5ebe87f2078694fdc81b70dee6d07f0
""" Views for the course home page. """ from __future__ import absolute_import import six from django.template.context_processors import csrf from django.template.loader import render_to_string from django.urls import reverse from django.utils.decorators import method_decorator from django.views.decorators.cache impo...
Python
openedx/features/course_experience/views/course_home.py
ESOedX/edx-platform
agpl-3.0
11,063
244
codeparrot/github-code
3977c9f833a02f015d48c78831a25944920313ddc25c332599f3aba4d957a147
/******************************************************************************* * Copyright (c) 2013, Daniel Murphy * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * Redistributions of s...
Java
ui/src/main/java/spacegraph/space2d/phys/dynamics/contacts/ContactPositionConstraint.java
automenta/narchy
agpl-3.0
2,267
50
codeparrot/github-code
8bddae2f62b72c99f665168ece89bd90a3ce26a9253fce5dcc41cf170eaec545
/** * SFW - SimpleFrameWork * * Copyright (C) 2013 Stefan Paproth * * 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)...
JavaScript
src/SFW/JSFiles/max/grouppictures.js
papparazzo/SFW-SimpleFrameWork
agpl-3.0
7,542
241
codeparrot/github-code
ed03b55ef8d955fad739ca8b1b8fc7fad9e11be6eb576dbf108d2f790bd96927
/* * This is part of Geomajas, a GIS framework, http://www.geomajas.org/. * * Copyright 2008-2016 Geosparc nv, http://www.geosparc.com/, Belgium. * * The program is available in open source according to the GNU Affero * General Public License. All contributions in this program are covered * by the Geomajas Contr...
Java
command/src/main/java/org/geomajas/command/dto/TransformGeometryResponse.java
geomajas/geomajas-project-server
agpl-3.0
2,258
101
codeparrot/github-code
a9d5831ee7208d7fb73c6c2f94168bcced395fa9faa338856179b934948015c6
/* * Copyright 2011 Witoslaw Koczewsi <wi@koczewski.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 version 3 of the License, or * (at your option) any later version. * ...
Java
src/main/java/scrum/server/pr/SubscriptionService.java
Kunagi/kunagi
agpl-3.0
8,734
246
codeparrot/github-code
2ff7040e862d1db7419fd7d14aa4666056493b211a2988f1ccfaa29b75fcaa14
from pixelated.adapter.services.mail_service import MailService from pixelated.adapter.model.mail import InputMail from pixelated.adapter.services.mail_sender import MailSender from pixelated.adapter.services.mailboxes import Mailboxes from pixelated.adapter.soledad.soledad_querier import SoledadQuerier from pixelated....
Python
service/pixelated/config/services.py
alabeduarte/pixelated-user-agent
agpl-3.0
2,509
66
codeparrot/github-code
a9895c9ebc6f0caf2113779e2abfc26ea2d17fe94db8c7cd4752dabbd0debdc4
<!DOCTYPE html> <html lang="en" > <head> <title>Week 5 - 2016Fall 課程網誌 (虎尾科大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"> <style type...
HTML
blog/week-5.html
40423231/2016fallcadp_hw
agpl-3.0
20,551
436
codeparrot/github-code
0352c87eef588a968b9be4e1675ec69d81ed4d7f200a0a7682c6e85410a683eb
package eu.dzhw.fdz.metadatamanagement.datasetmanagement.domain.validation; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; import javax.validation.Constraint; impor...
Java
src/main/java/eu/dzhw/fdz/metadatamanagement/datasetmanagement/domain/validation/ValidAccessWay.java
dzhw/metadatamanagement
agpl-3.0
1,110
43
codeparrot/github-code
4cd00533cb86b03645cbe03b8ce500447f43e10c3b1f47e08f2f0498d2a7d0a0
<?php class Project { private $id, $name, $startDate, $endDate, $public, $creator, $manager; public function getId() { return $this->id; } public function getName() { return $this->name; } public function getStartDate() { return $this->startDate; } pu...
PHP
src/main/php/model/entities/Project.php
marcelohbittencourt/WebReq
agpl-3.0
1,192
63
codeparrot/github-code
94c173b7af7c02d6f2f76b0bd83ba02f9288d1dda39af2770effee995c525b6e
#include "QGCToolWidget.h" #include "ui_QGCToolWidget.h" #include <QMenu> #include <QList> #include <QInputDialog> #include <QDockWidget> #include <QContextMenuEvent> #include <QSettings> #include <QFileDialog> #include <QDesktopServices> #include "QGCParamSlider.h" #include "QGCCommandButton.h" #include "UASManager....
C++
src/ui/designer/QGCToolWidget.cc
josephlewis42/UDenverQGC
agpl-3.0
14,916
503
codeparrot/github-code
1dc3afebadc3cdb27127189177f06abf1e9f807b740292f2070417c223a3cb43
// @flow import {deptNumRegex} from './dept-num-regex' export type DeptNum = { department: string, number: number, section?: string, } /** * Splits a deptnum string (like "AS/RE 230A") into its components, * like {department: 'AS/RE', number: 230, section: 'A'}. * * @param {String} deptNumString - the deptnum...
JavaScript
modules/gob-school-st-olaf-college/deptnums/split-dept-num.js
hawkrives/gobbldygook
agpl-3.0
1,012
44
codeparrot/github-code
b56469277f2cf1be2d3e43f4cf6ce41b9b894c3a5fb21254367ca097ab1621bd
""" prepare prediction: filtered pws -> filtered pws Uses: PROCESSED_DATA_DIR/neural_networks/training_data_filtered.csv """ import os import random import logging import platform import pandas from filter_weather_data.filters import StationRepository from filter_weather_data import get_repository_parameters from f...
Python
interpolation/interpolator/prepare/neural_network_single_group_filtered.py
1kastner/analyse_weather_data
agpl-3.0
3,132
96
codeparrot/github-code
fd90f98cb6c6539acd24d0eaab5e644e294858e00a6d00bc236226849408939e
/* * Axelor Business Solutions * * Copyright (C) 2019 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-base/src/main/java/com/axelor/apps/base/service/user/UserServiceImpl.java
ama-axelor/axelor-business-suite
agpl-3.0
10,336
366
codeparrot/github-code
a390e0d390dc5355522a3a5ee44bab72d9b71dccdb6c79cc6abc237131b661be
import logging from django.conf import settings from elasticsearch_old.exceptions import RequestError from elasticutils import S from lily.accounts.models import Account from lily.contacts.models import Contact from lily.messaging.email.utils import get_shared_email_accounts from lily.search.connections_utils import ...
Python
lily/search/lily_search.py
HelloLily/hellolily
agpl-3.0
11,226
320
codeparrot/github-code
1e4979a10408708eaad0dfbc9418c4692ea068870cf142fb446db08277a0bb18
# Copyright 2020 Alfredo de la Fuente - AvanzOSC # License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html from odoo import fields, models, api from odoo.addons import decimal_precision as dp class StockMove(models.Model): _inherit = 'stock.move' @api.multi def _compute_current_date(self): ...
Python
product_availability_report/models/stock_move.py
oihane/odoo-addons
agpl-3.0
3,082
67
codeparrot/github-code
98cb886e40b76dba28232ae879919fb51b472ce97591393418026d377fbb0579
<!DOCTYPE html> <html lang="en" > <head> <title>Articles by 40523216 - 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-s...
HTML
blog/author/40523216.html
s40523216/2016fallcp_hw
agpl-3.0
19,029
379
codeparrot/github-code
afa94d0059a6f918f8fe2bfb786bf2c7acb32231249919ed19d0bb77d5e5ef69
<?php /* Whois.php PHP classes to conduct whois queries Copyright (C)1999,2005 easyDNS Technologies Inc. & Mark Jeftovic Maintained by David Saez For the most recent version of this package visit: http://www.phpwhois.org This program is free software; you can redistribute it and/or modify it under the terms...
PHP
src/components/phpwhois/lib/phpwhois/whois.main.php
nicholasryan/CorePlus
agpl-3.0
1,570
63
codeparrot/github-code
ffb535bdd86749d2a093dca0170e10e58c01e65753448340b9e9bee25267e868
=pod Lenio - Web-based Facilities Management Software Copyright (C) 2013 A Beverley 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 lat...
Perl
lib/Lenio.pm
abeverley/lenio
agpl-3.0
58,828
1,654
codeparrot/github-code
8e64e9ec77f8453cf0f629dfe4c9365bb1debfff8098b900a2e73706acf10405
/* Copyright (C) 2022, BogDan Vatra <bogdan@kde.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 your option) any later version....
C
src/server/serversession.h
bog-dan-ro/getodac
agpl-3.0
6,604
211
codeparrot/github-code
dc399f325e0555e36fc51eb8aa812f1d3b70496c3909814eef41bf2c25070338
""" Module implementing `xblock.runtime.Runtime` functionality for the LMS """ from completion.services import CompletionService from django.conf import settings from django.urls import reverse from edx_django_utils.cache import DEFAULT_REQUEST_CACHE import xblock.reference.plugins from badges.service import BadgingSe...
Python
lms/djangoapps/lms_xblock/runtime.py
jolyonb/edx-platform
agpl-3.0
8,551
236
codeparrot/github-code
82c0741bac8914fd0e90279cc8ee5b5c833d99793cf5bfa0b846c6171fa5d6af
/** * This file is part of mycollab-web. * * mycollab-web is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * mycollab-web is d...
Java
mycollab-web/src/main/java/com/esofthead/mycollab/module/project/view/settings/component/ProjectMemberSelectionField.java
uniteddiversity/mycollab
agpl-3.0
2,323
82
codeparrot/github-code
d8b77ad1191d1e0f95b5ada143aec4db4a262b41971f512f461484ac7dc1b6ce
<?php /** * @package Billing * @copyright Copyright (C) 2012-2019 BillRun Technologies Ltd. All rights reserved. * @license GNU Affero General Public License Version 3; see LICENSE.txt */ require_once APPLICATION_PATH . '/application/controllers/Action/Api.php'; require_once APPLICATION_PATH ...
PHP
application/controllers/Action/v3/Plans.php
BillRun/system
agpl-3.0
7,955
262
codeparrot/github-code
d5ae32741ee8d168b29fb949b9530ec2978ec1c4a1720b0d6286c7bd5103f488
/** * Copyright (c) 2002-2012 "Neo Technology," * Network Engine for Objects in Lund AB [http://neotechnology.com] * * This file is part of Neo4j. * * Neo4j 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 F...
Java
cluster/src/main/java/org/neo4j/cluster/protocol/omega/OmegaState.java
dmontag/neo4j-enterprise
agpl-3.0
7,378
151
codeparrot/github-code
850a4d4bfe07695e31f2b4c55e4f3b1ee5181b374ed0e0a74002c2ebd822d559
{% extends "core/base.html" %} {% load foundation %} {% load i18n %} {% load static from staticfiles %} {% block title %} {% if group_id %} {{ editorial_groups.0.name }} {% else %} {% trans "Editorial Team" %} {% endif %} {% endblock title %} {% block body %} <section id="content"> ...
HTML
src/themes/OLH/templates/journal/editorial_team.html
BirkbeckCTP/janeway
agpl-3.0
2,752
60
codeparrot/github-code
f07c643e153a6a35a59b58ac9307cbd5b154bf968ec4602f9d3a22dc2bc144e4
package com.x.query.assemble.designer.jaxrs.neural; import com.google.gson.JsonElement; import com.x.base.core.container.EntityManagerContainer; import com.x.base.core.container.factory.EntityManagerContainerFactory; import com.x.base.core.entity.JpaObject; import com.x.base.core.entity.annotation.CheckPersistType; im...
Java
o2server/x_query_assemble_designer/src/main/java/com/x/query/assemble/designer/jaxrs/neural/ActionCreateModel.java
o2oa/o2oa
agpl-3.0
2,207
55
codeparrot/github-code
4b2df5e8bf9241f1738b4c9e4e4a1b7151bd3cfbade6f2d07a02350cfbdda797
/* * AddImpl.scala * (Mellite) * * Copyright (c) 2012-2022 Hanns Holger Rutz. All rights reserved. * * This software is published under the GNU Affero General Public License v3+ * * * For further information, please contact Hanns Holger Rutz at * contact@sciss.de */ package de.sciss.mellite.impl.timel...
Scala
app/src/main/scala/de/sciss/mellite/impl/timeline/tool/AddImpl.scala
Sciss/Mellite
agpl-3.0
3,266
88
codeparrot/github-code
927a6e15959668f8fd89f06bd7ca245f30094583c548a647aad1ee6dd9dd1638
<?php namespace Drupal\effective_activism\AccessControlHandler; use Drupal\Core\Access\AccessResult; use Drupal\Core\Entity\EntityAccessControlHandler; use Drupal\Core\Entity\EntityInterface; use Drupal\Core\Session\AccountInterface; /** * Access controller for the Data entity. * * @see \Drupal\effective_activism...
PHP
src/AccessControlHandler/DataAccessControlHandler.php
EffectiveActivism/effective_activism
agpl-3.0
1,050
43
codeparrot/github-code
ae064cc4fecb0f2fc06ebcbf87f84b07c733d5cbd1fc4751e24ce186fd5a31ed
/* * TeleStax, Open Source Cloud Communications * Copyright 2012, Telestax Inc and individual contributors * by the @authors tag. See the copyright.txt 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...
Java
cap/cap-api/src/main/java/org/restcomm/protocols/ss7/cap/api/service/circuitSwitchedCall/primitive/TimeDurationChargingResult.java
RestComm/jss7
agpl-3.0
2,085
63
codeparrot/github-code
e48a60909394e88f21f2a8f457d5405db64c5a42708961cb73464ebae7f58940
package org.jzkit.service.z3950server; import org.jzkit.z3950.server.*; import org.jzkit.search.*; import org.jzkit.search.provider.iface.*; import org.jzkit.search.util.QueryModel.QueryModel; import org.jzkit.search.util.RecordModel.*; import org.jzkit.search.util.ResultSet.*; import org.jzkit.search.landscape.Simpl...
Java
jzkit_z3950_server/src/main/java/org/jzkit/service/z3950server/JZKitBackend.java
backslash47/jzkit
agpl-3.0
9,593
243
codeparrot/github-code
f62e40225299fd3c5ffb6df6fffd0f2bf58680874f728ddd4e7a77b7a13b6e84
module Backend module Visualizations class PlantsVisualizationsController < Backend::VisualizationsController respond_to :json def show data = Plant.includes(:nature).of_campaign(current_campaign).order(born_at: :asc).collect do |p| next unless p.shape popup_content = [] ...
Ruby
app/controllers/backend/visualizations/plants_visualizations_controller.rb
ekylibre/ekylibre
agpl-3.0
4,366
99
codeparrot/github-code
6c245f7cf14d2b566283ac1a32b38aac45f05c2c1452c60b38567f441ffd4248
/* * Copyright (C) 2014-present ScyllaDB */ /* * SPDX-License-Identifier: AGPL-3.0-or-later */ #pragma once #include <iosfwd> #include <map> #include <boost/intrusive/set.hpp> #include <boost/range/iterator_range.hpp> #include <boost/range/adaptor/filtered.hpp> #include <boost/intrusive/parent_from_member.hpp> ...
C++
mutation_partition.hh
scylladb/scylla
agpl-3.0
51,852
1,366
codeparrot/github-code
1ee4a436fe52315731b4fa954720c31d666aec3c96cbb98f5fd2a43a40da7b1f
/**************************************************************** * * * Copyright 2001, 2012 Fidelity Information Services, Inc * * * * This source code contains the intellectual property * * of its copyright holder(s), and is made available * * under a license. If you do not know the terms of * *...
C
sr_port/bt_refresh.c
luisibanez/fis-gtm
agpl-3.0
1,678
53
codeparrot/github-code
98fbaf96c2f03ae3fbaaf3ce9c80f29d34581d0481093fa0d2c406d53c12eabb
use specs::{ReadStorage, System, WriteStorage}; use crate::campaign::components::MapIntent; use crate::campaign::components::map_intent::{MapCommand, XAxis, YAxis}; use crate::combat::components::{Velocity}; pub struct SetMapVelocity; impl<'a> System<'a> for SetMapVelocity { type SystemData = (ReadStorage<'a, Ma...
Rust
rust/src/campaign/systems/set_map_velocity.rs
joetsoi/moonstone
agpl-3.0
1,056
34
codeparrot/github-code
bbb65a16a2764ea4ae3289bf8eb01ce8acb3fd646e9f0e3baf637aadc0dfdf74
define([ 'jquery', 'underscore', 'backbone', 'knockout', 'arches', 'bindings/chosen' ], function($, _, Backbone, ko, arches) { var NodeFormView = Backbone.View.extend({ /** * A backbone view representing a node form * @augments Backbone.View * @constructor ...
JavaScript
arches/app/media/js/views/graph/graph-designer/node-form.js
archesproject/arches
agpl-3.0
8,365
201
codeparrot/github-code
9322d4a131f8881999a4f752acc1c2ef80e8e53d3a6501052b81fb73fb58180a
<?php /* Smarty version 2.6.29, created on 2016-11-13 14:00:33 compiled from modules/Users/tpls/DetailViewFooter.tpl */ ?> <!-- /********************************************************************************* * SugarCRM Community Edition is a customer relationship management program developed by * SugarCRM...
PHP
cache-12nov/smarty/templates_c/%%F4^F48^F4808300%%DetailViewFooter.tpl.php
vivekdevrari/litecrm
agpl-3.0
12,793
245
codeparrot/github-code
10ca1ebf9cfa988035d9b1737c496f878a46ed6facae0afc42e9539ac2fcb472
<?php /* All Emoncms code is released under the GNU Affero General Public License. See COPYRIGHT.txt and LICENSE.txt. --------------------------------------------------------------------- Emoncms - open source energy visualisation Part of the OpenEnergyMonitor project: http://openenergymonitor.org */ // no direct ...
PHP
Modules/feed/feed_controller.php
miguelalonso/emoncms_spectrum
agpl-3.0
6,241
109
codeparrot/github-code
59f642b05c12f43ca464df0b42c9d72ae7aeb492f9841ba8838aa5f6f827b2f9
import { HistoryEntry, NoteHistoryEntry, RevisionListEntry, } from '@standardnotes/snjs'; import { Fragment, FunctionComponent } from 'preact'; import { StateUpdater, useCallback, useEffect, useMemo, useRef, useState, } from 'preact/hooks'; import { useListKeyboardNavigation } from '../utils'; import ...
TypeScript
app/assets/javascripts/components/RevisionHistoryModal/SessionHistoryList.tsx
standardnotes/web
agpl-3.0
2,950
102
codeparrot/github-code
69cb10f365b84fc3f1e285c1facac4f5d60d4c4ddeba874e5f58aaa96663ecef
from django.views import generic from django.core.urlresolvers import reverse_lazy from .models import LotteryUser class LotteryUserList(generic.ListView): template_name = 'index.html' context_object_name = 'number_list' def get_queryset(self): """Return all numbers""" return LotteryUser....
Python
loteria/web/views.py
munikes/loteria_lgb
agpl-3.0
891
32
codeparrot/github-code
e21eaed41a6b5cd4b627df77b63b70084f7c43c0d28e3c25895e888188141433
package nodomain.freeyourgadget.gadgetbridge.service; import android.app.Notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.bluetooth.BluetoothAdapter; import android.content.Context; import android.content.Intent; import android.graphics.Bitmap; import android.graph...
Java
app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/AbstractDeviceSupport.java
ivanovlev/Gadgetbridge
agpl-3.0
14,253
308
codeparrot/github-code
737fce8032c781388c303b6e762b7b40198f2966208391e0a218eeea94d3fb80
<!DOCTYPE html> <html lang="en" > <head> <title>40123145 cdw11 報告 - CDW11 網頁 (虎尾科大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"> <styl...
HTML
static/blog/40123145-cdw11-bao-gao.html
40323240/personal-cdw11
agpl-3.0
33,378
638
codeparrot/github-code
7c5d1164edd47f8262358a4bd56b81ec2e883eeab38fd5ad45078dd591c1db3f
/* * Copyright (C) 2014 - 2017 Contributors as noted in the AUTHORS.md file * * 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)...
Scala
src/main/scala/com/wegtam/tensei/agent/helpers/NetworkFileHelpers.scala
Tensei-Data/tensei-agent
agpl-3.0
11,016
270
codeparrot/github-code
323d394088142930875cc75f016536b2405e162e22cd28b963cdc8518093f8e4
/** * This file is part of Shoop. * * Copyright (c) 2012-2016, Shoop Ltd. All rights reserved. * * This source code is licensed under the AGPLv3 license found in the * LICENSE file in the root directory of this source tree. */ const m = require("mithril"); const _ = require("lodash"); const offset = require("./o...
JavaScript
shoop/admin/modules/media/static_src/media/browser/util/menuManager.js
akx/shoop
agpl-3.0
3,547
123
codeparrot/github-code
2ee84f380a284043c857a86efc816fe4afd0a3bf508fddc2413148c12cbfc7b5
class User < ActiveRecord::Base include AvatarInitials include ReadableUnguessableUrls require 'net/http' require 'digest/md5' AVATAR_KINDS = %w[initials uploaded gravatar] LARGE_IMAGE = 170 MED_LARGE_IMAGE = 70 MEDIUM_IMAGE = 35 SMALL_IMAGE = 25 MAX_AVATAR_IMAGE_SIZE_CONST = 10.megabytes devis...
Ruby
app/models/user.rb
juliagra/DBCloomio
agpl-3.0
10,042
391
codeparrot/github-code
66a3bf0ceacca4d16cefe5e344fb2064c751fb6590e852c0d76fc21326af80a4
/* * Copyright (C) 2015-present ScyllaDB */ /* * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "locator/snitch_base.hh" #include "endpoint_snitch.hh" #include "api/api-doc/endpoint_snitch_info.json.hh" #include "utils/fb_utilities.hh" namespace api { void set_endpoint_snitch(http_context& ctx, routes& ...
C++
api/endpoint_snitch.cc
scylladb/scylla
agpl-3.0
1,113
36
codeparrot/github-code
046eedc93e4443b986b872723137899de316b4c951077c433093c05e3841e6b0
<?php /** * This file is part of the Superdesk Web Publisher Content Bundle. * * Copyright 2016 Sourcefabric z.ú. and contributors. * * For the full copyright and license information, please see the * AUTHORS and LICENSE files distributed with this source code. * * @copyright 2016 Sourcefabric z.ú. * @license...
PHP
src/SWP/Bundle/ContentBundle/Provider/RouteProvider.php
djbrd-sourcefabric/web-publisher
agpl-3.0
2,368
88
codeparrot/github-code
b67475158de6d1bc7cbd5040e79ec9cbf46f0e22f0e18b8ba583b71ef40ed7e1
// =================================================================================================== // _ __ _ _ // | |/ /__ _| | |_ _ _ _ _ __ _ // | ' </ _` | | _| || | '_/ _` | // |_|\_\__,_|_|\__|\_,_|_| \_...
C#
KalturaClient/Types/EntryResource.cs
kaltura/KalturaGeneratedAPIClientsCsharp
agpl-3.0
3,329
123
codeparrot/github-code
eba86de6fb98acbc29346343efa0a9f455b6dbd1d592d86ba4769620f1c98b20
/* * This program is part of the OpenLMIS logistics management information system platform software. * Copyright © 2013 VillageReach * * 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,...
Java
modules/distribution/src/main/java/org/openlmis/distribution/domain/AdultCoverageLineItem.java
vimsvarcode/elmis
agpl-3.0
2,244
48
codeparrot/github-code
cb21f253c64cbc581f5004d704f51f67a7217b8c5862d6f5cec070fd05108a67
package org.cbioportal.pdb_annotation.domain; import com.fasterxml.jackson.annotation.JsonInclude; import javax.persistence.*; /** * @author Selcuk Onur Sumer */ @Entity @Table(name="uniprot_id_mapping") @IdClass(UniprotIdMappingPK.class) @JsonInclude(JsonInclude.Include.NON_NULL) public class UniprotIdMapping { ...
Java
pdb/src/main/java/org/cbioportal/pdb_annotation/domain/UniprotIdMapping.java
cBioPortal/pdb-annotation
agpl-3.0
1,306
66
codeparrot/github-code
8432e9bb5c619e1ffdbb759094fb65d6ea096758fb6434e0f8013dcd4a571de1
/* * Ascent MMORPG Server * Copyright (C) 2005-2008 Ascent Team <http://www.ascentemu.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 * ...
C++
src/ascent-world/ObjectStorage.cpp
Dephon/ServerRepo
agpl-3.0
20,370
648
codeparrot/github-code
f5edbb78eaf3e7ba1c8c9785650057dcc1ffb97865c225f0601d4fd0dd10a3f1
/*** * Copyright (C) 2011 Johanna Amann * * 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 in the hope that it will be useful, * but...
Java
src/de/lilawelt/zmachine/client/storage/ServerAdapter.java
0xxon/zmachine
agpl-3.0
1,379
45
codeparrot/github-code
296797f457666b88c82f7c065b1f5abfec355f916e5240a380ee272d543cce75
import { Progress } from './Progress' describe('Progress', function () { describe('#watch', function () { it('should report current progress when watched', function () { let progress = new Progress() let spy = sinon.spy() progress.report(1, 10) progress.watch(spy) expect(spy).to.hav...
JavaScript
bemuse/src/progress/index.spec.js
bemusic/bemuse
agpl-3.0
2,086
69
codeparrot/github-code
21ed6e5dfb603e9acf22afe92a08340f706ef54fc771b67f2025733fc2c3fe3d
// #include "stdafx.h" #include <string.h> #include "utility.h" bool is_zero(const struct tm &t1) { static struct tm zero_tm = { 0, //tm_sec int seconds after the minute 0-60* 0, //tm_min int minutes after the hour 0-59 0, //tm_hour int hours since midnight 0-23 ...
C++
csvtools/csvtools/utility.cpp
chkhm/qcsv
agpl-3.0
4,367
140
codeparrot/github-code
07aa6fce98eb04158ef7c9d5a11feb56f42c4515ee178b9316f90d38134dc862
<?php /** * Zend Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://framework.zend.com/license/new-bsd * If you did not receive a copy of the license an...
PHP
libraries/Zend/Controller/Router/Route/Hostname.php
Nivocer/webenq
agpl-3.0
10,921
343
codeparrot/github-code
a0db1f536e40f1a8942e5d2372bb465aa29bcac4b744681d9af9013f176a9f45
/* * _InRange.cpp * * Created on: April 23, 2019 * Author: yankai */ #include "_InRange.h" #ifdef USE_OPENCV namespace kai { _InRange::_InRange() { m_type = vision_inRange; m_pV = NULL; m_rFrom = 0.0; m_rTo = 15.0; } _InRange::~_InRange() { close(); } bool _InRange::init(void* pKiss) { IF_F(!_Vis...
C++
src/Vision/ImgFilter/_InRange.cpp
yankailab/OpenKAI
agpl-3.0
1,167
94
codeparrot/github-code
02dbcfa21b3dc579fdd1f53927265fa79ed92c1e0ce3984ffbd159006f2a54f3
# IPP, Plataforma web del Índice de Precios Popular # Copyright (c) 2016 Nicolás Echániz and contributors. # # This file is part of IPP # # IPP 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 Foun...
Python
bdd/features/environment.py
nicoechaniz/IPP
agpl-3.0
3,466
83
codeparrot/github-code
e177bc3642d2f9b36308a5b4fabeebed4ed69de51ef3ce559ecaf7b2b71e68b6
/** * autopasswd – Reproducable password generator * * Copyright © 2014 Mattias Andrée (maandree@member.fsf.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...
C
src/autopasswd.c
maandree/autopasswd
agpl-3.0
18,391
530
codeparrot/github-code
374d622d3a655abd6b69dcf38314d3a8ab0beefe18dd419743ec83571c08c0aa
/* * Copyright © 2013-2018 Metreeca srl. All rights reserved. * * This file is part of Metreeca. * * Metreeca 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 ...
Java
fore/_tile/src/main/java/com/metreeca/_tile/client/Storage.java
metreeca/metreeca
agpl-3.0
4,095
193
codeparrot/github-code
8eff7f3853b5edbeb5ace8629e9d21b9d53474615d3e9811bdd9d23b470e87da
import gpbo xrange=range from gpbo.core import GPdc as GPdc import scipy as sp class eimledefault(): """ fixed s, space is [-1,1]^D """ def __init__(self,f,D,n,s,path,fname): self.aqfn = gpbo.core.acquisitions.EIMAPaq self.aqpara= { 'ev': {'s': s, 'd': [sp.NaN]}, ...
Python
gpbo/core/config.py
markm541374/gpbo
agpl-3.0
19,809
583
codeparrot/github-code
1d75d09092e4bf58b64c2e0be25bcc4a9a300eb6a512c9fc548473afba792cc0
{% extends "base.html" %} {% block title %}Monitor Assignments{% endblock %} {% block path %}&rarr; <a href="/assignments">monitor assignments</a>{% endblock %} {% block content %} <button><a href="?as_student">View as student</a></button> <div id="assignments"> {% for i in assignments %} <div> ...
HTML
galah/web/templates/monitor_assignments.html
tugluck/galah
agpl-3.0
1,874
51
codeparrot/github-code
24908c89fa666119df2d8c5bbaa13eda2264bf2e9c360355b6f9718c383bca1d
Config file =========== You can customize the default settings of Kanboard by adding a file `config.php` at the project root. You can also rename the `config.default.php` and change the desired values. Enable/Disable debug -------------------- ```php define('DEBUG', false); ``` The debug mode log all SQL queries an...
Markdown
docs/config.markdown
666/kanboard-redesign
agpl-3.0
5,309
195
codeparrot/github-code
2383945df5a51849b1e45d8609882973df8463a191617db3064f123a3db37718
/** * Copyright (C) 2017 3D Repo Ltd * * 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. * * This pro...
TypeScript
frontend/src/v4/routes/profile/profile.container.ts
3drepo/3drepo.io
agpl-3.0
1,559
39
codeparrot/github-code
797e993f8d4dd85e6b84c15307a6fc6c037a5f0d270c59e92d22394115791557
package edu.rpi.phil.legup.puzzles.lightup; import java.awt.Point; import java.util.ArrayList; import javax.swing.ImageIcon; import edu.rpi.phil.legup.BoardState; import edu.rpi.phil.legup.PuzzleRule; public class RuleWhiteInLight extends PuzzleRule { static final long serialVersionUID = 9502L; publi...
Java
code/edu/rpi/phil/legup/puzzles/lightup/RuleWhiteInLight.java
Bram28/LEGUP
agpl-3.0
3,096
118
codeparrot/github-code
26f7570abc2b75f362bbf494988cfef4686f709c6d7f13639544c42ae6791adb
/* eslint-disable react/jsx-key */ import { Component, PropTypes } from 'react'; import Immutable from 'immutable'; import Dialog from 'material-ui/Dialog'; import FlatButton from './../Fields/FlatButton'; import { ArticlesTable, getSelectedArticles } from './../ArticlesTable/ArticlesTable'; import styles from './Impo...
JavaScript
src/components/ImportModal/ImportModal.js
heutagogy/heutagogy-frontend
agpl-3.0
2,883
112
codeparrot/github-code
bd15a8575ad16603d2596fae43f96bde31b976e2e699a7bd8759500ef6972b39
/* ********************************************************************** * Copyright (c) 2001-2011, International Business Machines * Corporation and others. All Rights Reserved. ********************************************************************** * Date Name Description * 11/19/2001 aliu ...
C++
UnicodeConverter/icubuilds-mac/icu/icu/common/util.cpp
ONLYOFFICE/core
agpl-3.0
14,025
410
codeparrot/github-code
972b3270ef542f2c2c7c54726fa173e8f53bea7d050b53834cb77d151320f9af
/** * @file * This implements this DK5 Hierarchy */ import React from 'react'; import {SearchFieldComponent} from '../SearchField/SearchField.component'; import {wrapper} from '../../state/state'; import {ToggleButton, ToggleContainer, ToggleContent} from '../General/toggle.component'; import {Layout} from '../Gene...
JavaScript
src/client/components/HierarchyContainer/HierarchyContainer.component.js
DBCDK/tanterne
agpl-3.0
8,836
297
codeparrot/github-code
6eddb1b7aec8be862086b95d224d97a9676c7622d426fe5b3e59562b68184d4a
<html> <head> <title> A Tour of NTL: Tips for Getting the Best Performance out of NTL </title> </head> <center> <a href="tour-win.html"><img src="arrow1.gif" alt="[Previous]" align=bottom></a> <a href="tour.html"><img src="arrow2.gif" alt="[Up]" align=bottom></a> <a href="tour-impl.html"> <img src="arrow3...
HTML
crislib/libscapi/lib/NTL/windows/doc/tour-tips.html
cris-iisc/mpc-primitives
agpl-3.0
4,396
146
codeparrot/github-code
6d2a90776adfbdfd95baf0d983ddc215d6af1d35fc1d9339712122e5cb9a501e
from typing import Dict import random from . import HardwareAdapter, POWER from hedgehog.protocol.messages import io class SimulatedHardwareAdapter(HardwareAdapter): def __init__(self, *args, simulate_sensors=False, **kwargs): super().__init__(*args, **kwargs) self.simulate_sensors = simulate_se...
Python
hedgehog/server/hardware/simulated.py
PRIArobotics/HedgehogServer
agpl-3.0
2,565
99
codeparrot/github-code
24aba952400d4a70706443d00589964cdc4c0e68cb89671a7caa08c23c1330d4
$(document).ready(function() { loadAlbums(0); $(document).on("mouseenter", ".gallery-cover", function() { }).on("mouseleave", ".gallery-cover", function() { }); $("#newalbum_modal input[name='privacy']").change(function(e) { if ($("#newalbum_shared").is(":checked")) $("#newalb...
JavaScript
style/CunityRefreshed/modules/Gallery/javascript/albums.js
kolplex/cunity
agpl-3.0
1,536
51
codeparrot/github-code
88ec38fbba6a426d4b0a651fa34da70cb97b6664c297caca2fa404f6a1ac2985
/** * Copyright (C) 2000 - 2013 Silverpeas * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. * * As a spe...
Java
survey/survey-war/src/main/java/com/stratelia/webactiv/survey/SurveyIndexer.java
CecileBONIN/Silverpeas-Components
agpl-3.0
2,966
78
codeparrot/github-code
fa29596a661cb928497124951316512e26ff6b44eeb222fd019cf0f065617836
/* * 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.hql.internal.ast.tree; import java.util.Arrays; import org....
Java
sources/FeatureExtractor/lib/hibernate-release-5.1.0.Final/project/hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/MethodNode.java
1fechner/FeatureExtractor
lgpl-2.1
7,832
235
codeparrot/github-code
cd09ac74cd3b6d3b150f456867d6c5963a179cd3188d308ab950c83f42704562
/* GTK - The GIMP Toolkit * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald * * 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 Lice...
C
gtk/gtkeventbox.c
Sidnioulz/SandboxGtk
lgpl-2.1
19,598
626
codeparrot/github-code
a078094e24d200a34185ea7d5d4891cac8dc5790c92db54db230ee9d2d370d1b
package com.apple.iad.rhq.datatorrent; import java.util.HashSet; import java.util.Map; import java.util.Set; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.rhq.core.domain.configuration.Configuration; import org.rhq.core.pluginapi.inventory.DiscoveredResourceDetails; import org.rhq.core.pl...
Java
datatorrent/src/main/java/com/apple/iad/rhq/datatorrent/ContainerDiscovery.java
genman/rhq-plugins
lgpl-2.1
1,772
50
codeparrot/github-code
dc35bcccd2b3efbd21d07323ee282aa82c363e04d9f1b586a9fef28bd72f0e8f
package javaforce.voip; import java.util.*; /** * Either plays wav file or generates intermittent beep to party member on hold. */ public class MusicOnHold { private final double vol = 4000.0; private int idx = 0; private int off = 0; private static final int freq = 500; private static Wav wav; privat...
Java
src/javaforce/voip/MusicOnHold.java
telecortech/javaforce-fork
lgpl-2.1
1,180
56
codeparrot/github-code
0ff439d8d4f2a8e98a8f286d2851c1441d867617ef5c65a4130e680d8bd9634d
package tictim.ttmp.client.render; import org.lwjgl.opengl.GL11; import org.lwjgl.opengl.GL12; import net.minecraft.client.renderer.Tessellator; import net.minecraft.client.renderer.entity.Render; import net.minecraft.entity.Entity; import net.minecraft.util.ResourceLocation; import tictim.ttmp.entity.EntitySpectralA...
Java
src/main/java/tictim/ttmp/client/render/RenderSpectralArrow.java
Tictim/TTMPMOD
lgpl-2.1
2,155
61
codeparrot/github-code
173280095be4c12215dbe2a932c3881976ac8edc8fb0f52c74b2bff241f337f0
/* * JBoss, Home of Professional Open Source. * Copyright 2006, Red Hat Middleware LLC, 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 i...
Java
src/main/java/org/jboss/test/ws/jaxws/samples/asynchronous/AsynchronousProxyTestCase.java
malaverdiere/securibench-jaxws
lgpl-2.1
4,269
128
codeparrot/github-code
3f04f5f8bb34144ab645f390133328063bd9322ad9233343cc1370ea50ddf1bb
package jspecview.application; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.AbstractButton; import javax.swing.ImageIcon; import javax.swing.JButton; import javax.swing.JToggleButton; import javax.swing.JToolBar; import jspecview.api.JSVPanel; import jspecview.common.Pan...
Java
srcjsv/jspecview/application/AppToolBar.java
drdrsh/JmolOVR
lgpl-2.1
3,796
129
codeparrot/github-code
bf8f580d3a145a787ab490d1377d3df839221a91b5a0c6740b893c4c456ee9be
#include "DeformedGrainMaterial.h" #include "GrainTrackerInterface.h" template<> InputParameters validParams<DeformedGrainMaterial>() { InputParameters params = validParams<Material>(); params.addRequiredCoupledVarWithAutoBuild("v", "var_name_base", "op_num", "Array of coupled variables"); params.addRequiredPara...
C++
modules/phase_field/src/materials/DeformedGrainMaterial.C
katyhuff/moose
lgpl-2.1
4,289
109
codeparrot/github-code
97ec1628a6e2cd303b6a141a89398cb774f4159ac9107832f53736fff658b4bf
<?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" /> <!-- qpalette.cpp ...
HTML
doc/html/qcolorgroup.html
sicily/qt4.8.4
lgpl-2.1
16,838
275
codeparrot/github-code
c723c0a55c887e5cae6673a5f9cce42dc3b7e5ac54a3cec06983418af17c4fa7
/* * Copyright 2013, TengJianfa , and other individual contributors as indicated * by the @authors tag. See the copyright.txt 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 P...
Java
invoicing_client/src/org/free_erp/client/ui/forms/basic/CProductInfoDialog.java
free-erp/invoicing
lgpl-2.1
13,146
314
codeparrot/github-code
2be85f1fe599d9b8842a1286606ed29ffdf566f633158dbd35b8c18164766f86
/* * WDean Medical is distributed under the * GNU Lesser General Public License (GNU LGPL). * For details see: http://www.wdeanmedical.com * copyright 2013-2014 WDean Medical */ package com.wdeanmedical.ehr.entity; import java.io.Serializable; import javax.persistence.Basic; import javax.persistence.Column; im...
Java
src/com/wdeanmedical/ehr/entity/DMEType.java
attunetc/ehr
lgpl-2.1
1,279
46
codeparrot/github-code
3e9aa8252529991924fb59752f955a3214fa1202a71f85eb3201fffffd7506e3
/**************************************************************************** ** ** Copyright (C) 2018 The Qt Company Ltd and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the QtSystems module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ...
C++
src/imports/publishsubscribe/qdeclarativevaluespacepublisher.cpp
qtproject/qtsystems
lgpl-2.1
6,629
206
codeparrot/github-code
769b608a7ddc8f2ffaa937b63a9eb72cdf4454cecedc62bc567bd5b8ea9a2b50
using System; using System.Collections.Generic; using System.Linq; using System.Text; using DynamicMapResolver.Exceptions; namespace DynamicMapResolver.Impl { /// <summary> /// /// </summary> /// <typeparam name="TSource">The type of the source.</typeparam> /// <typeparam name="TDestination">The ...
C#
DynamicMapResolver/Impl/ActionTransformer.cs
TheHunter/DynamicMapResolver
lgpl-2.1
6,848
176
codeparrot/github-code
c5730358656ea0e421de565754deccf62d291230fb2ce401dc394abc95414a22
/****************************************************************/ /* DO NOT MODIFY THIS HEADER */ /* MOOSE - Multiphysics Object Oriented Simulation Environment */ /* */ /* (c) 2010 Battelle Energy Alliance, LLC ...
C
include/postprocessors/LiquidInterfaceVelocity.h
aeslaughter/mamba
lgpl-2.1
1,581
48
codeparrot/github-code
afee3dcced070c6478563763210d23dbe5850973dbae4410ec44c6536956f6e3
/* --------------------------------------------------------------------- * * Copyright (C) 2000 - 2015 by the deal.II authors * * This file is part of the deal.II library. * * The deal.II library is free software; you can use it, redistribute * it, and/or modify it under the terms of the GNU Lesser General * P...
C++
examples/myCodes/0-compare-fcm-to-exact-solution/test-adaptive-integration/test-integration.cc
lpolster/dealii
lgpl-2.1
26,544
735
codeparrot/github-code