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
398525987cf43dc0c3c5a5802183654056083e438779a9aa342d468a2ac66cbe
/* * Copyright (C) 2010-2016 Stichting Akvo (Akvo Foundation) * * This file is part of Akvo Flow. * * Akvo Flow 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 *...
Java
app/src/main/java/org/akvo/flow/util/HttpUtil.java
MelEnt/akvo-flow-mobile
gpl-3.0
6,265
189
codeparrot/github-code
ff2d40147439e20940d206b564040ebe6728593d60a7d856381518fd1c589052
/* This file is part of edge matching puzzle The aim of this software is to find some solutions of edge matching puzzle Copyright (C) 2021 Julien Thevenon ( julien_thevenon at yahoo.fr ) This program is free software: you can redistribute it and/or modify it under the terms of the GNU...
C
include/feature_CUDA_glutton_max.h
quicky2000/edge_matching_puzzle
gpl-3.0
2,704
81
codeparrot/github-code
60f67bdbeadc586d6f5fd5a2004f8cba3b907851b184f07d6509c87dbf40c77b
/* * Copyright 2014 MongoDB, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
C
ChatScript-6.9/SRC/include/mongo/mongoc/mongoc-matcher-op.c
Junction-2016-Aalto-Helsinki-Fitness/PTSI
gpl-3.0
35,376
1,202
codeparrot/github-code
83b10da7329287b5aa2b37508fcff2eea6e5f0f7084844861ae04f1729ab7131
{-# LANGUAGE DeriveGeneric #-} module Estuary.Types.EnsembleRequest where import Data.Time import Data.Text import GHC.Generics import Data.Aeson import Data.Sequence import Estuary.Types.View import Estuary.Types.Definition import Estuary.Types.Tempo import Estuary.Types.ResourceOp data EnsembleRequest = WriteTe...
Haskell
common/src/Estuary/Types/EnsembleRequest.hs
d0kt0r0/estuary
gpl-3.0
698
32
codeparrot/github-code
a10442c5c599f41ac27ce46c2d72aeaed9a457314bebaaaba5b6ee0fba4e7c17
#define BOOST_TEST_MODULE BLAS_Vector_vector_expression #include <boost/test/unit_test.hpp> #include <boost/test/floating_point_comparison.hpp> #include <shark/LinAlg/BLAS/blas.h> using namespace shark; using namespace blas; //////////////////DENSE////////////////////////////// template<class Operation, class Re...
C++
Test/LinAlg/BLAS/vector_expression.cpp
Aldor007/shark
gpl-3.0
14,194
607
codeparrot/github-code
db8c28e787c2de3d85f220952ee428c6c7cedbd92d65fef5cb5eef35c5376b19
/* Copyright (C) 2011 The SmithDR team, smithdr@labri.fr This file is part of SmithDR. SmithDR is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your opti...
C++
src/frontend/qtgui/GraphicView/MeshSceneState.hpp
ysenel/pdpSmithDr
gpl-3.0
2,614
113
codeparrot/github-code
3e190808bce32fda472c19cd3e5812fd37b4e265d33725963cc2defd19f282ae
#pragma once //******************************************************************************************** //* //* This file is part of Egoboo. //* //* Egoboo 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 Softw...
C++
game/src/game/GUI/LevelUpWindow.hpp
penguinflyer5234/egoboo
gpl-3.0
2,361
77
codeparrot/github-code
f2e68004a5ba636a7e3a9132faaf3cfabf63c7d53a80644132ec4f8094c19df3
using System; using System.Collections; using System.Data; using System.Data.SqlClient; using System.IO; using TAMU.GeoInnovation.Applications.Census.ReferenceDataImporter.FileLayouts.Interfaces; using USC.GISResearchLab.Common.Core.Databases; using USC.GISResearchLab.Common.Databases.ConnectionStringManagers; using U...
C#
src/Main/FileLayouts/AbstractClasses/Tiger1990/StateFiles/AbstractTiger1990FileLayout.cs
TamuGeoInnovation/TAMU.GeoInnovation.PointIntersectors.Census.ReferenceDataImporters
gpl-3.0
10,325
283
codeparrot/github-code
4082b289052ae3946058ba43c6ee2554fdfd37fda365fba891e351870c35e858
/*------------------------------------------------------------------------------------- Copyright (c) 2008 Erik Ogenvik This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to...
C++
external/pagedgeometry/source/PassiveEntityPage.cpp
worldforge/ember
gpl-3.0
2,299
65
codeparrot/github-code
331f2f8779e92e35c9a2c7766324513559efaa1d4bc08f8e3d62c3c0314dc0b3
/******************************************************************************* Copyright 2014 Pawel Pastuszak This file is part of Arget. Arget 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 Foundati...
Java
src/pl/kotcrab/arget/util/idle/X11LinuxIdleTimeCounter.java
kotcrab/arget
gpl-3.0
3,262
101
codeparrot/github-code
a67ba1cb70f80dccfc727bc6cc007bca4300bd0991802020a9abd5797dddf733
<?php /* pBubble - class to draw bubble charts Version : 2.1.4 Made by : Jean-Damien POGOLOTTI Last Update : 19/01/2014 This file can be distributed under the license you can find at : http://www.pchart.net/license You can find the whole class documentat...
PHP
class/pBubble.class.php
hakimio/Updated-pChart-2
gpl-3.0
15,220
326
codeparrot/github-code
0bc24b7422ebfb5d70075abe37be5fd477dde1f1abd266c6c05354769698787e
#include <stdio.h> #include <sys/stat.h> #include <fcntl.h> #include <errno.h> /* Read everything even something bad happened. End conditions are: -------------------------------------------------------------------------------- read all len bytes( return len) or EOF is reached( return zero). --------------------------...
C
unix_system_programming/io/read_all.c
citypw/citypw-SCFE
gpl-3.0
1,291
47
codeparrot/github-code
d8402403fcaaf3530485db3c57f4b37602ea5f2d2acc7190a9d593fbf0eb1745
<?php /** * Piwik - free/libre analytics platform * * @link https://matomo.org * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later * */ namespace Piwik\Updates; use Piwik\Common; use Piwik\Config; use Piwik\Updater; use Piwik\Updates; use Piwik\Updater\Migration\Factory as MigrationFactory; /**...
PHP
core/Updates/0.5.4.php
piwik/piwik
gpl-3.0
2,233
76
codeparrot/github-code
cc603227101f72b07b717b875fd1c843aaa9d7591622f3fca531649ceb061386
<?php if (!defined('FLUX_ROOT')) exit; $itemID = $params->get('id'); if (!$itemID) { $this->deny(); } $title = 'Duplicate Item'; require_once 'Flux/TemporaryTable.php'; if($server->isRenewal) { $fromTables = array("{$server->charMapDatabase}.item_db_re", "{$server->charMapDatabase}.item_db2_re"); $customTa...
PHP
Web-Site/FluxCP/modules/item/copy.php
sammeepay/immortal-ro-renewal
gpl-3.0
3,306
94
codeparrot/github-code
05a65234c9b09366cead5125a6ba0b72b86dd0c7e281fe5d320d3bf2bca65661
--乘胜追击 function c80060020.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_BATTLE_DESTROYED) e1:SetCondition(c80060020.condition) e1:SetTarget(c80060020.target) e1:SetOperation(c80060020.operation) c:RegisterE...
Lua
expansions/script/c80060020.lua
MonokuroInzanaito/ygopro-777DIY
gpl-3.0
2,829
74
codeparrot/github-code
e4df21d5db304a8f0a4b61328200944f1c31e4ea2194310711dd4c4e7062f686
<?php /* Plugin Name: Demo Tax meta class Plugin URI: http://en.bainternet.info Description: Tax meta class usage demo Version: 1.2 Author: Bainternet, Ohad Raz Author URI: http://en.bainternet.info */ //include the main class file require_once("Tax-meta-class.php"); if (is_admin()) { /* * prefix of meta keys...
PHP
geodirectory-functions/cat-meta-functions/cat_meta.php
wp-plugins/geodirectory
gpl-3.0
12,197
276
codeparrot/github-code
e1a1f173af075bfff718ed03f4ff8bf617bd93297bfff8472246d9adc0057e92
/* * This file is part of Cleanflight and Betaflight. * * Cleanflight and Betaflight are free software. You can redistribute * this software and/or modify this software 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 ...
C
src/main/drivers/pwm_output_dshot_hal_hal.c
theseankelly/betaflight
gpl-3.0
15,838
462
codeparrot/github-code
8694d134d75581779426a831e9395c6327603352d45cbe45685e635ac190db23
<?php /** * LayerSlider v5.1.6 - Responsive Slideshow Module http://layerslider.webshopworks.com * * @author WebshopWorks <info@webshopworks.com> * @copyright 2015 WebshopWorks * @license One Domain Licence */ if (!defined('_PS_VERSION_')) exit; class AdminLayerSliderEditController extends ModuleAdminControl...
PHP
modules/layerslider/controllers/admin/AdminLayerSliderEditController.php
FranticFood/PS-Deli
gpl-3.0
4,114
108
codeparrot/github-code
de74239bdcd2697614d27820de0af82a32dd6e6ff35d30edc80e96b81777743a
package com.sipgate.contacts.sync.authenticator; import android.accounts.AbstractAccountAuthenticator; import android.accounts.Account; import android.accounts.AccountAuthenticatorResponse; import android.accounts.AccountManager; import android.accounts.NetworkErrorException; import android.content.Context; import and...
Java
src/com/sipgate/contacts/sync/authenticator/Authenticator.java
sipgate/sipgate-for-android
gpl-3.0
2,044
74
codeparrot/github-code
4bc509645c622138bd3f565b9f09306f263c5ba6f0ab051eeb03f7a3666becd8
import os,sys,math,pdb,filecmp,logging,argparse,subprocess from argparse import RawTextHelpFormatter import time import numpy as np import imp retry_count=3 # Check if OpenCV library is available # Abort further execution if image handling is required cv2_flag = True try: imp.find_module("cv2") except: print "WARN...
Python
tools/vulfi/master/scripts/driver.py
vinutah/apps
gpl-3.0
20,628
628
codeparrot/github-code
a47092cef5a7d259ab47711aabf8b9a23ec6ab2a593e1ba06a344cbd9903d20c
/* * This file is part of the BlizzLikeCore Project. See CREDITS and LICENSE files * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) ...
C
src/framework/GameSystem/GridRefManager.h
blizzlikegroup/blizzlikecore
gpl-3.0
1,687
49
codeparrot/github-code
67198487846250172112fd4e31865d8735f0855dfa9d0269e6dcba1bb080702e
/************************************************************************** ** ** Copyright (C) 2014 by Philip Schuchardt ** www.cavewhere.com ** **************************************************************************/ //Our includes #include "cwEventRecorderModel.h" #include "cwEventRecorderObject.h" #includ...
C++
src/cwEventRecorderModel.cpp
Cavewhere/cavewhere
gpl-3.0
10,979
381
codeparrot/github-code
ddfe5b87f507fff4a1dce843e5be6724d4a2b8e98991e848a7a29d7395b6d0eb
<?php /** * Formulaires NOSTRA * * @property int $id (PK) * @property string $nostra_id Obligatoire, maximum 64 caractères * @property string $title Obligatoire, maximum 2048 caractères * @property string $form_id Obligatoire, maximum 64 cara...
PHP
app/models/NostraForm.php
ewbs/synapse
gpl-3.0
2,248
75
codeparrot/github-code
42a580d2d15083431c50ef3ffc5aec99fcf700849ea5603f4f38003c42c545f6
/* This file is part of Bentokit Flywire. http://bentokit.org/ Flywire 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. ...
Java
src/org/bentokit/ListLoader.java
h6w/flywire-musiclibrary
gpl-3.0
2,871
87
codeparrot/github-code
ab6b1c362200dadca6929645bffe8bb6d43ee8b6db7012d4742222f3fdb1b01c
/* * Copyright 2011-2015 the original author or authors. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * T...
Java
client/src/systems/soapbox/ombuds/client/util/Io.java
soapboxsys/ombuds-android
gpl-3.0
2,702
86
codeparrot/github-code
c9686da6aab8db52c5817efa47f84ccbc283e33160749437b9db5b229f3aaf84
<?php defined('_JEXEC') or defined('_VALID_MOS') or die('Restricted Access'); /** * Website: www.jtips.com.au * @author Jeremy Roberts * @copyright Copyright &copy; 2009, jTips * @license Commercial - See website for details * * @since 2.1 - 09/10/2008 * @version 2.1 * @package jTips * * Description: Load j...
PHP
v2.1/Component/admin/modules/Rounds/GetRounds.php
joomux/jTips
gpl-3.0
1,533
56
codeparrot/github-code
22a7b012a1c704604c76bc33375526838c9fa621f9d6662a706180cfc69778a3
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Responsive Height - fullPage.js</title> <meta name="author" content="Alvaro Trigo Lopez" /> <meta name="description" content="fullPage full-screen navigation and se...
HTML
examples/responsive-height.html
alvarotrigo/fullPage.js
gpl-3.0
4,877
137
codeparrot/github-code
a6e8b34ef93683192f5dc01383263ac9328d256081c655da2da34101799043e2
<?php /* Plugin Name: MoySklad Plugin URI: https://github.com/kossmos/moysklad/ Description: Wordpress плагин для интеграции сервиса МойСклад (moysklad) с магазином на WooCommerce Version: 0.1.0 Author: Юрий «kossmos» Кравчук Author URI: https://kossmos.space License: GPL2 */ /* Copyright 2016 Юрий «kossmos» Кравчук ...
PHP
moysklad.php
kossmos/moysklad
gpl-3.0
1,626
54
codeparrot/github-code
ad5d470d30de935a1af28dfe75da17653e112e97c847b403408de1fb25aa2b71
/* gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana * * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana. * * 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...
Java
extSymbology/src/org/gvsig/symbology/fmap/rendering/filter/operations/LessThanOperator.java
iCarto/siga
gpl-3.0
3,212
113
codeparrot/github-code
ea1d71f6dcad590a9b0a811bc8bed3c1e8212ad8afcd527ddfbf212df2154ba4
#include <allegro5/allegro.h> #include <allegro5/allegro_font.h> #include <allegro5/allegro_ttf.h> #include <allegro5/allegro_native_dialog.h> #include <allegro5/allegro_primitives.h> #include <allegro5/allegro_image.h> #include <sstream> #include "Game.h" #include "GameHandler.h" #include "ScaledDraw.h" #include "Inte...
C++
DubuEngine/Interfaces.cpp
snorbertas/RPG-Game-Test
gpl-3.0
25,108
581
codeparrot/github-code
43c2ebf208add2e487815176b2ea244989bc28afba11b8164ec804e67bbade52
//========================================================================== // general.c: pagina impostazioni generali //========================================================================== #pragma strings(readonly) #include "pref.h" #include "api.h" // prototypes ---------------------------------------------...
C
pref/general.c
OS2World/UTIL-WPS-Styler_2
gpl-3.0
7,692
223
codeparrot/github-code
dcd554ae2154c910e215d1f6c83f304b5d8b60b0dfa7c2ae74d5e58b3fd2d8f0
# -*- coding: utf-8 -*- """Copyright (C) 2013 COLDWELL AG This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is dist...
Python
hoster/turbobit_net.py
bdacode/hoster
gpl-3.0
5,022
136
codeparrot/github-code
6f436555e252088893d56cdb149315e1f0c6c2575172b73ba38c36ef478d6b02
/* ============================================================================== This file is part of the JUCE library. Copyright (c) 2017 - ROLI Ltd. JUCE is an open source library subject to commercial or open-source licensing. By using JUCE, you agree to the terms of both the JUCE 5 End-User Lic...
C++
2018/JUCE/modules/juce_graphics/contexts/juce_GraphicsContext.cpp
COx2/JUCE_JAPAN_DEMO
gpl-3.0
21,901
707
codeparrot/github-code
bf5ec2ceeac9fe31f7b5f24e2bc9153967ac9ab1b41e12669ef967147413538b
#!/usr/bin/env python # Copyright (C) 2009-2015 Johannes Dewender # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # #...
Python
isrcsubmit.py
jesus2099/JonnyJD_musicbrainz-isrcsubmit
gpl-3.0
41,557
1,131
codeparrot/github-code
6a15a13842c5ea6d43ad21e8929af81699535e2e27bc3b6a55bd41637437bddb
#!/usr/bin/env python #coding: iso-8859-15 # # Copyright (C) 2015 # ASTRON (Netherlands Institute for Radio Astronomy) # P.O.Box 2, 7990 AA Dwingeloo, The Netherlands # # This file is part of the LOFAR software suite. # The LOFAR software suite is free software: you can redistribute it and/or # modify it under the term...
Python
SAS/OTDB_Services/getParset.py
jjdmol/LOFAR
gpl-3.0
2,018
57
codeparrot/github-code
86cb114eeacab8df0f711f3a0d5956265ab32f3781bdd7be30a30122e33f08ab
import { Injectable } from '@angular/core'; import {Http, RequestOptions, Headers, Response} from '@angular/http'; import 'rxjs/add/operator/map'; import { AppSettings } from '../AppSettings'; import 'rxjs/add/observable/of'; import {Feedback} from '../feedback/Models'; import { LocalStore } from '../LocalStore'; @In...
TypeScript
src/app/services/feedback.service.ts
Bill-Niz/rating-app
gpl-3.0
1,026
35
codeparrot/github-code
ccd7996294ddecbf25b9590a6458b0cef7d2eed89b0e3e01312ee78aee94d7d8
package com.nisovin.magicspells.util; import java.util.Map; import java.util.Set; import java.util.Arrays; import java.util.HashMap; import java.util.HashSet; import java.util.Collection; import com.nisovin.magicspells.util.magicitems.MagicItemData; import com.nisovin.magicspells.util.magicitems.MagicItemData.MagicIt...
Java
core/src/main/java/com/nisovin/magicspells/util/SpellReagents.java
TheComputerGeek2/MagicSpells
gpl-3.0
5,616
255
codeparrot/github-code
94bb7dfaeeafa29917a1ab54f2e8369142bdeaf14910edf0ad228cb45d2dfac9
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2019-2022 OpenFOAM Foundation \\...
C++
applications/solvers/multiphase/multiphaseEulerFoam/interfacialModels/phaseTransferModels/reactionDriven/reactionDriven.C
OpenFOAM/OpenFOAM-dev
gpl-3.0
3,064
104
codeparrot/github-code
3c484e73a17f3721a7a60e66387078d27b9d6881d91da01d0895a8ec6579bfe5
#****************************************************************************** # # Copyright Saab AB, 2014-2015 (http://safirsdkcore.com) # # Created by: Lars Hagström <lars.hagstrom@consoden.se> # #****************************************************************************** # # This file is part of Safir SDK Core. ...
CMake
src/cmake/BuildSafirGenerated.cmake
SafirSDK/safir-sdk-core
gpl-3.0
20,453
559
codeparrot/github-code
6058345b482cf85fb5eaf9aa7b59fc8a6980692de143171bdaefcfd7952c87be
# -*- coding: utf-8 -*- # Copyright 2007-2020 The HyperSpy developers # # This file is part of HyperSpy. # # HyperSpy 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...
Python
hyperspy/misc/export_dictionary.py
dnjohnstone/hyperspy
gpl-3.0
7,725
208
codeparrot/github-code
be1d78e0d0a78316acf7d9b4bc95ba7e6ec83477279f02eab45f563897461003
# Debugging function function(ocv_cmake_dump_vars) cmake_parse_arguments(DUMP "" "TOFILE" "" ${ARGN}) set(regex "${DUMP_UNPARSED_ARGUMENTS}") get_cmake_property(_variableNames VARIABLES) set(VARS "") foreach(_variableName ${_variableNames}) if(_variableName MATCHES "${regex}") set(VARS "${VARS}${_va...
CMake
cmake/OpenCVUtils.cmake
InspectorWidget/InspectorWidgetProcessor
gpl-3.0
26,457
839
codeparrot/github-code
ebb1eafd4f00104211f3a49d6db203d75cbf96dfdf9bcf0615c34810bd870e5d
/* *************************************************************************************************** * Copyright (c) 2017 Federal Institute for Risk Assessment (BfR), Germany * * This program is free software: you can redistribute it and/or modify it under the terms of the * GNU General Public License as pu...
Java
de.bund.bfr.knime.fsklab.deprecatednodes/src-1_9_0/de/bund/bfr/knime/fsklab/v1_9/writer/WriterNodeFactory.java
SiLeBAT/FSK-Lab
gpl-3.0
1,741
53
codeparrot/github-code
99180f650638437321a21bc68ccdbb2bed537283d840efa3892a256e6fa97acb
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>eNno Bootstrap Template</title> <!-- Bootstrap --> <link href="css/bootstrap.min.css" rel="styleshee...
HTML
services.html
dontByteJohnny/MisteryShopper
gpl-3.0
7,780
200
codeparrot/github-code
33b98b83a65540d033af169ee6683f239aedded55f71b2120a95288a6a24de61
/* This file is part of the db4o object database http://www.db4o.com Copyright (C) 2004 - 2011 Versant Corporation http://www.versant.com db4o is free software; you can redistribute it and/or modify it under the terms of version 3 of the GNU General Public License as published by the Free Software Foundation. db4o ...
Java
src/db4otaj/test/com/db4o/ta/instrumentation/test/collections/MyStack.java
potty-dzmeia/db4o
gpl-3.0
1,036
36
codeparrot/github-code
bba8e149e9a606b8d2d25c45bc7a411cdf51152a0a3ee0595dfb34295d87f9af
/* Copyright (c) 2001-2011, The HSQL Development Group * 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 source code must retain the above copyright notice, this * list...
Java
hsqldb-2.2.9/hsqldb/src/org/hsqldb/ExpressionArithmetic.java
ggorsontanguy/pocHSQLDB
gpl-3.0
21,810
659
codeparrot/github-code
57fc3e8cc8ac76082313a049168bd7d1a9e1ab64e694c5f03f0d7f21b323d91b
/** * * MOD3 Modifier & ModifierStack Classes * * **/ !function(MOD3, undef){ @@USE_STRICT@@ var _modCount = 0, NONE = MOD3.ModConstant.NONE, getMeshProxy = MOD3.Factory.getMeshProxy, Modifier, ModifierStack; Modifier = MOD3.Modifier = MOD3.Class({ constructor: function Modifier( ) { var sel...
JavaScript
MOD3-master/src/core/ModifierStack.js
AugustSjogren/LiveLeaf
gpl-3.0
3,572
147
codeparrot/github-code
25483bc2bd7b0221f9e9d373d591920bc6c1848529d45362f7b005c42b59d33b
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace XBMCRemoteWP.Models { public class PlayerProperties : NotifyBase { private bool partyMode; public bool PartyMode { get { return partyMo...
C#
XBMCRemoteWP/Models/PlayerProperties.cs
akshay2000/XBMCRemoteWP
gpl-3.0
1,443
60
codeparrot/github-code
bf4ee46b21f71877edd3f58560ca36683338740da3b7da98cf307697b005e1da
/* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright 2011 OpenConcerto, by ILM Informatique. All rights reserved. * * The contents of this file are subject to the terms of the GNU General Public License Version 3 * only ("GPL"). You may not use this file except in compliance with th...
Java
OpenConcerto/src/org/openconcerto/erp/action/CreateAndCacheFrameAbstractAction.java
eric-lemesre/OpenConcerto
gpl-3.0
2,196
55
codeparrot/github-code
b5b07ae39d6229a295037bac94393c3b507137e4681ea182d6cdef9abfca3eed
using System; using System.Collections.Generic; using System.Runtime.Serialization; using SmartStoreNetCore.Core.Entities.Interfaces; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace SmartStoreNetCore.Core.Entities { [DataContract] public class Picture...
C#
SmartStoreNETCore/SmartStoreNetCore.Core/Entities/Picture.cs
KostaVlev/SmartStoreNETCore
gpl-3.0
1,358
53
codeparrot/github-code
55e76705be19f50d2f4cc1ed8fd1f03a4a11a5dcbbb17e5a332ba7bdb9efcf9a
///////////////////////////////////////////////////////////////////////////// // Name: src/common/wxcrt.cpp // Purpose: wxChar CRT wrappers implementation // Author: Ove Kaven // Modified by: Ron Lee, Francesco Montorsi // Created: 09/04/99 // Copyright: (c) wxWidgets copyright // Licence: wxW...
C++
libs/wxMSW-3.1.4/src/common/wxcrt.cpp
CarlosManuelRodr/wxChaos
gpl-3.0
34,150
1,338
codeparrot/github-code
a9d4e28a0225ffb9faad8acecbed4ee2eb201f229c677e601a6dc5e1516a5817
/* (c) 2009-2011 Jan Dlabal <dlabaljan@gmail.com> */ /* */ /* This file is part of HC (HoubySoft Calculator). */ /* ...
C
hc_chemistry.c
houbysoft/hc
gpl-3.0
11,376
696
codeparrot/github-code
d47784f04baf93b29e8f57a65eb79ecc6914df490294e82bdb4f4eb86ac067be
import datetime class Historico: def __init__(self): self.data_abertura = datetime.datetime.today() self.transacoes = [] def imprime(self): print('data abertura: {}'.format(self.data_abertura)) print('transações: ') for t in self.transacoes: print('...
Python
PY-14/conta.py
dariosena/LearningPython
gpl-3.0
1,695
57
codeparrot/github-code
7294d5840bac1dc1d92970fa5ea89b778f1c701daeb7ca6f23f5aa42035011f2
# Mantid Repository : https://github.com/mantidproject/mantid # # Copyright &copy; 2018 ISIS Rutherford Appleton Laboratory UKRI, # NScD Oak Ridge National Laboratory, European Spallation Source # & Institut Laue - Langevin # SPDX - License - Identifier: GPL - 3.0 + from __future__ import (absolute_import, divi...
Python
Framework/PythonInterface/plugins/algorithms/WorkflowAlgorithms/SingleCrystalDiffuseReduction.py
mganeva/mantid
gpl-3.0
21,263
371
codeparrot/github-code
5cd7364b5da0e9bc8cf16fadef17d9f4fb883c42a6dccab70f4bf3118a8e7396
# usr/bin/env python # -*- coding: utf-8 -*- """ Created on Thu Jul 20 13:15:05 2017 @author: Vijayasai S """ # Use python3 from haversine import distance from datetime import datetime from dateutil import tz import my_dbscan as mydb import alert_update as au from pymongo import MongoClient import pandas as pd im...
Python
vijay/DBSCAN/clustering/db/generate_data.py
Vijaysai005/KProject
gpl-3.0
5,801
159
codeparrot/github-code
46b5c38fa89fabb813d3b7852d64d0d6f4b572b6ba78c7b28f6ef2eab8f7f2d0
namespace Nikse.SubtitleEdit.Forms { partial class OpenVideoDvd { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. ///...
C#
src/Forms/OpenVideoDvd.Designer.cs
xylographe/subtitleedit
gpl-3.0
12,425
233
codeparrot/github-code
115fa4eefa27455abd67a20834464e2eb655ee20ca4ff46fdf3cecd86f930e50
/******************************************** 2017.6.19²âÊÔzzuyuting ʹÓÃÈýÖ¡²îËã·¨ *******************************************/ #include<iostream> using namespace std; #include<opencv2\core\core.hpp> #include<opencv2\highgui\highgui.hpp> #include<opencv2\imgproc\imgproc.hpp> #include <windows.h> using nam...
C++
detect2/detect2/源.cpp
ZZYuting/people_detect_us
gpl-3.0
5,728
248
codeparrot/github-code
8fd1ff52fb9142e622443d31f8b826146fdb61e5662a9d34f5f8b95e11851a0a
/* * The Mana Server * Copyright (C) 2007-2010 The Mana World Development Team * * This file is part of The Mana Server. * * The Mana Server 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; eithe...
C++
semistable/server/src/game-server/command.cpp
Invertika/invertika
gpl-3.0
12,015
442
codeparrot/github-code
8fe1d8538fdf36726a396c7d45a163c7d7ca33e41476710fb46debb97a944b3e
#ifndef INCLUDE_STDC_LOCALE_H_ #define INCLUDE_STDC_LOCALE_H_ #include <stddef.h> #include <limits.h> #define LC_ALL 0 #define LC_COLLATE 1 #define LC_CTYPE 2 #define LC_MONETARY 3 #define LC_NUMERIC 4 #define LC_TIME 5 #define LOCALE_CURRENCY_PRECEDES_P 1 #define LOCALE_CURRENCY_FOLLOWS_P 0 #de...
C
headers/stdc/locale.h
dargueta/CUSPOS
gpl-3.0
1,498
60
codeparrot/github-code
fa25d575e2ce0d8f9a743be283e807aff734383a2348851b2af198c824145d55
'use strict'; angular.module('crossAdaptiveAudioApp') .controller('IndividualCtrl', function($scope, statsService, communicationService, $http, debounce) { var vm = this; vm.individual = null; vm.individualDetails = null; vm.loading = true; vm.selectedSound = 'output_sound'; vm.effectParamete...
JavaScript
web_client/src/controllers/individualCtrl.js
iver56/cross-adaptive-audio
gpl-3.0
4,751
124
codeparrot/github-code
5aaa4913eee55b9759a65a78eaa916757315576c2c9c988a1a010b6e5b4c9b3d
package com.bdsoft.bdceo.j2se.thread; import java.util.HashMap; import java.util.Map; /** * @author 丁辰叶 * @date 2015-10-8 */ public class ThreadLocalTest { static ThreadLocal<HashMap> threadLocal = new ThreadLocal<HashMap>() { @Override protected HashMap initialValue() { System.out...
Java
src/main/java/com/bdsoft/bdceo/j2se/thread/ThreadLocalTest.java
bdceo/bd-codes
gpl-3.0
1,440
56
codeparrot/github-code
cbfe357787128353bd5ea1e6baba1e0a45653d8d038e4ff20ea62a3be76d03f1
package eu.babkin.vk.bot.event.updates; import com.google.gson.*; import eu.babkin.vk.bot.messages.IncomingMessage; import java.lang.reflect.Type; import static eu.babkin.vk.bot.event.updates.UpdateType.MESSAGE; public class UpdateDeserializer implements JsonDeserializer<Update> { @Override public Update d...
Java
src/main/java/eu/babkin/vk/bot/event/updates/UpdateDeserializer.java
xlammer/vk-bot
gpl-3.0
1,057
33
codeparrot/github-code
3a15fbf3e301eede87dd07774f553b43dfdfa8c057482c49abb1655d26ebbea3
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css" integrity="sha384-rwoIResjU2yc3z8GV/NPeZWAv56rSmLldC3R/AZzGRnGxQQKnKkoFVhFQhNUwEyJ" crossorigin="anonymous"> <style> table { border-collapse: collapse; } thead>tr>td { font-weig...
HTML
OutputReports/DHIS2 Reports/HTML Reports/Maharashtra/NMHP Reports/Mental Health Programme-IEC Activities.html
hispindia/HISPReportArchive
gpl-3.0
15,325
379
codeparrot/github-code
a5315aff2d17367ef191e491d181a4681b0cae9accbeaf6d97975b9a28b795a4
<?php // Copyright (C) 2011 Brady Miller <brady.g.miller@gmail.com> // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License // as published by the Free Software Foundation; either version 2 // of the License, or (at your option) any later versio...
PHP
library/classes/rulesets/Amc/reports/AMC_302d/Denominator.php
georgetye/openemr
gpl-3.0
1,067
34
codeparrot/github-code
b1d543f98668959306e5584197d4ea6a33eddef00f9531ce0f743c8a8f082007
<?php /* Gibbon, Flexible & Open School System Copyright (C) 2010, Ross Parker This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. ...
PHP
modules/Activities/activities_view.php
jimbo8098/core
gpl-3.0
30,453
523
codeparrot/github-code
e2a1c29ca2265e96255fd10aabfc841fcd65c19f5f249506a6a4985c32f9e0cd
<html> <head> <script type="text/javascript" src="asn1hex.js"></script> <script type="text/javascript" src="base64.js"></script> <script type="text/javascript" src="seedrandom.js"></script> <script type="text/javascript" src="biginteger.js"></script> <script type="text/javasc...
HTML
tool/java/Paillier/paillier/test.html
bcosorg/bcos
gpl-3.0
2,168
50
codeparrot/github-code
cd7c97d98f0a1b66876ffbadc1d4dc6d8bc00d8efd76b9e2ea157598b1e0587f
using System.IO; using System.Runtime.Serialization; using WolvenKit.CR2W.Reflection; using FastMember; using static WolvenKit.CR2W.Types.Enums; namespace WolvenKit.CR2W.Types { [DataContract(Namespace = "")] [REDMeta] public class CModUiFilteredList : CObject { [Ordinal(1)] [RED("items", 2,0)] public CArray<...
C#
WolvenKit.CR2W/Types/W3/RTTIConvert/CModUiFilteredList.cs
Traderain/Wolven-kit
gpl-3.0
1,350
39
codeparrot/github-code
501d575ca444ca0b59b77d0823bb0e12aef641f47f65c408332687a04dcce3c8
/** * @(#)IssueControl. * Copyright © 2013 jbundle.org. All rights reserved. * GPL3 Open Source Software License. */ package org.jbundle.thin.app.program.issue.db; import java.util.*; import org.jbundle.thin.base.util.*; import org.jbundle.thin.base.db.*; import org.jbundle.model.app.program.issue.db.*; public ...
Java
thin/app/program/src/main/java/org/jbundle/thin/app/program/issue/db/IssueControl.java
jbundle/jbundle
gpl-3.0
2,715
89
codeparrot/github-code
1f32a87b9b550e3ef155c476227705d06f452349212985b968a84c92f78d1480
namespace WiiUSmash4.BusinessLogic { public class DatabaseDefines { #region Stored Procedures public static string InsertFighter = "dbo.Fighter_INS"; public static string InsertAbilityFramePicture = "dbo.AbilityFramePicture_INS"; public static string InsertAerial = "dbo.Aerial_I...
C#
WiiUSmash4.BusinessLogic/DatabaseDefines.cs
14gollaher/Matthew-Gollaher-API
gpl-3.0
7,547
147
codeparrot/github-code
aac919f8b6d0999e31dd2bb5e93c52ca63f19423e9a202e39f7fc2fe88359872
#!/usr/bin/env python # Copyright 2015 Jo Pol # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is...
Python
lace_polar.py
d-bl/inkscape-bobbinlace
gpl-3.0
8,181
204
codeparrot/github-code
1a40310b064424c0eacb0b18f742502374d2d726c7b8ae960ea409cd930471cd
#include "../../LuaProxy.h" #include "../../../Defines.h" #include "../../../GlobalFuncs.h" #include "../../../Globals.h" #include "../../../GameConfig/GameAutostart.h" #include "../../../SMBXInternal/PlayerMOB.h" #include "../../../EventStateMachine.h" #include "../../../Misc/RuntimeHook.h" void LuaProxy::Misc::npcTo...
C++
LunaDll/LuaMain/LuaProxyComponent/LuaProxyGlobalFunctions/LuaProxyGlobalFuncMisc.cpp
zeriyoshi/LunaDLL
gpl-3.0
6,573
244
codeparrot/github-code
65419bb8df7c199b63eafd01b57127af6a6aa41670ae55c9f764fb069d1bbd43
package team.afgm.rdfom.mappingsession.test; import java.util.List; import org.junit.Test; import team.afgm.rdfom.session.MappingSession; import team.afgm.rdfom.session.MappingSessionFactory; import team.afgm.rdfom.session.MappingSessionFactoryBuilder; import team.afgm.rdfom.util.StringUtil; /** * * @author kwSe...
Java
test/java/team/afgm/rdfom/mappingsession/test/MappingSessionTest.java
kwSeo/RDF-Object-Mapper
gpl-3.0
1,472
51
codeparrot/github-code
5ae4aca539ce80537f0de8b5f5afa17029032e7ad0bbe2106cb9bc59e4a081c3
class Stock < ActiveRecord::Base belongs_to :stocks_market has_many :stocks_daily_data named_scope :with_company_name, :conditions => 'company_name is not null and company_name <> \'\'' named_scope :without_company_name, :conditions => 'company_name is null or company_name = \'\'' validates_uniqueness_o...
Ruby
app/models/stock.rb
slnc/fi
gpl-3.0
1,533
43
codeparrot/github-code
1f9ccc19858dc82b005e4ebd1d742f5d6846400afe49002ceecf8f665616ab09
import os import os.path import getopt import ConfigParser import sys """ rem rasterize needs to be done on tif file as .map files cannot be rem handled directby by gdal """ shpfile = "subbasins_rhein_wgs1984.shp" nname = os.path.splitext(os.path.basename(shpfile))[0] # In this dictionary the fiedl in ...
Python
examples/wflow_rhine_hbv/staticmaps/shptoraster.py
openstreams/wflow
gpl-3.0
1,082
38
codeparrot/github-code
d93ae54e61dbdc9d9d8b767d4c2512a7be8117ef4c6e03edff16502453b737b1
/* * This file is part of Adblock Plus <https://adblockplus.org/>, * Copyright (C) 2006-2016 Eyeo GmbH * * Adblock Plus is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License version 3 as * published by the Free Software Foundation. * * Adblock Plus is dis...
JavaScript
chrome/ext/background.js
weineran/adblockminuschrome
gpl-3.0
16,306
604
codeparrot/github-code
299f73a4e37bdf79ea47c7bc7be07a159596de19dee49c9ed6f5570519a9e41d
/* * License * * This file is part of The SeleniumFlex-API. * * The SeleniumFlex-API 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 any late...
Java
src/main/java/net/sourceforge/seleniumflexapi/AbstractPageDriver.java
mpawlucz/sfapi-selenium
gpl-3.0
15,869
408
codeparrot/github-code
5f61997fb0a5a627e416a95783fcb5588e66e207dae9b42787df888948a2dfde
package jsr303; import jsr303.test.TwoPassword; import org.junit.BeforeClass; import org.junit.Test; import javax.validation.ConstraintViolation; import javax.validation.Validation; import javax.validation.Validator; import javax.validation.ValidatorFactory; import java.util.Set; import static org.junit.Assert.asse...
Java
Test/src/test/java/jsr303/TestJSR303.java
ghforlang/Working
gpl-3.0
2,781
90
codeparrot/github-code
c4b0c607e78620cacb486c14d7dca9421909b1342492823566f1c852313440c6
<?php defined('SYSPATH') or die('No direct script access.'); /** * Indicia, the OPAL Online Recording Toolkit. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the Lic...
PHP
application/models/taxon_rank.php
Indicia-Team/warehouse
gpl-3.0
1,580
44
codeparrot/github-code
5aba0bf6fd322ef5621c7adc9ca1ede9aed1b0615cd12ca34b1c4ef8ca621c18
/* * Copyright (c) 1982, 1986, 1988 Regents of the University of California. * All rights reserved. * * Redistribution and use in source and binary forms are permitted * provided that this notice is preserved and that due credit is given * to the University of California at Berkeley. The name of the University *...
C
tcpip/helios/mbuf.c
axelmuhr/Helios-NG
gpl-3.0
9,920
499
codeparrot/github-code
8c1542861a8c056112cad679873e73e414a0cd6080ee257d8e4035606923a3fb
/* Copyright 2014 Julia s.r.l. This file is part of BeeDeeDee. BeeDeeDee 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. ...
Java
src/com/juliasoft/beedeedee/factories/QuantCache.java
JuliaSoft/BeeDeeDee
gpl-3.0
2,823
103
codeparrot/github-code
faf3c3bb4a87871eb490b97dfd45d6250c16d7829603510e9e3d486a43c8b26d
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- #include "Copter.h" /* * control_guided.pde - init and run calls for guided flight mode */ #ifndef GUIDED_LOOK_AT_TARGET_MIN_DISTANCE_CM # define GUIDED_LOOK_AT_TARGET_MIN_DISTANCE_CM 500 // point nose at target if it is more th...
C++
ArduCopter/control_guided.cpp
chapman/ardupilot
gpl-3.0
24,262
650
codeparrot/github-code
c501d22e45cb68267374c14f2dbfda0a25ce577b248e21f3e33f30574ce46283
package redsgreens.Replicator; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java.io.InputStream; import java.io.OutputStreamWriter; import java.uti...
Java
src/redsgreens/Replicator/ReplicatorConfig.java
redsgreens/Replicator
gpl-3.0
8,074
294
codeparrot/github-code
a85d7676341342f3e98376fd2f3bc7e6b871c82c55a1282522a33911cc1de8ea
package rar.ppm; import rar.unpack.Raw; public class RarNode extends Pointer { private int next; public static final int size = 4; public RarNode(byte mem[]) { super(mem); } public int getNext() { if (mem != null) { next = Raw.readIntLittleEndian(mem, pos); ...
Java
src/rar/ppm/RarNode.java
ghostgzt/STX
gpl-3.0
595
34
codeparrot/github-code
caeb95d28c4af77dbaf15dd621f896f29f4e7823ba7dc2bef7c174971a02903e
<?php /** * @package local * @subpackage up1_notification * @copyright 2012-2013 Silecs {@link http://www.silecs.info/societe} * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ require_once("../../config.php"); require_once("../../mod/feedback/lib.php"); require_once('lib_notification.p...
PHP
local/up1_notification/notification.php
Silecs-UnivParis1/moodle-up1
gpl-3.0
4,210
134
codeparrot/github-code
817d6ef3cc85583dcea01dd434355c6ea099b33dafd80da31425948e815cb338
<?php use Ecommerce\Ecommerce; use models\channels\Category; use models\channels\Listing; require __DIR__ . '/../../core/init.php'; require WEBCORE . 'ibminit.php'; $user_id = 838; require WEBPLUGIN . 'am/amvar.php'; require WEBPLUGIN . 'bc/bcvar.php'; require WEBPLUGIN . 'eb/ebvar.php'; require WEBPLUGIN . 'rev/revv...
PHP
plugin/cron/cronsyncinventory.php
michaeljberry/CommerceSync
gpl-3.0
5,604
149
codeparrot/github-code
860bbc7da122a5262438a7e508c7de1f877911a13298db6185dd7d910cdc1259
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.Extensions.Configuration; using System.IO; namespace Migrations.EF.Core { public class EfDbContextFactory : IDbContextFactory<EfDbContext> { IConfigurationRoot Configuration; public EfDbCo...
C#
src/Migrations.EF.Core/EfDbContextFactory.cs
NotMyself/migrations-presentation
gpl-3.0
871
31
codeparrot/github-code
5b1fb044a63e07eb92a4c364184917739f5c09965472043259755a702c73fdec
using UnityEngine; using System.Collections; public class SoldierScript : MonoBehaviour { public int SoundVal = 10; public int GoodAround = 0, BadAround = 0; Behaviour halo;// = (Behaviour)GetComponent("Halo"); public bool selected = false; public enum Task {Fighting,Guard}; public Task CurTask; GameOb...
C#
AI Sandbox/Assets/Scripts/SoldierScript.cs
Roseluck/AIRTS2
gpl-3.0
3,574
143
codeparrot/github-code
0e2b015709f72628f7c20ff0e43ac2676e974f40cd47c529e704438473690a7d
import * as ActionTypes from '../constants/ActionTypes'; export const changeName = (name) => ({ type: ActionTypes.NAME_CHANGED, name }); export const changeEmail = (email) => ({ type: ActionTypes.EMAIL_CHANGED, email }); export const changeAbout = (about) => ({ type: ActionTypes.ABOUT_CHANGED, about }); ...
JavaScript
src/actions/FormActions.js
wesleycoder/teste-fillet
gpl-3.0
2,447
119
codeparrot/github-code
32a8a7abb1630f4459140896f9fe3772d2e3c8320251b29a163792e44a826b3f
/*! \file \brief Definition of the \ref nlay_full_t */ /* system include */ /* local include */ #include "neoip_nlay_full.hpp" #include "neoip_nipmem_alloc.hpp" #include "neoip_log.hpp" // include the nlay_closure_t due to its particular handling when nlay_full_t is closing #include "neoip_nlay_closure.hpp" //...
C++
src/neoip_nlay/full/neoip_nlay_full.cpp
jeromeetienne/neoip
gpl-3.0
10,857
321
codeparrot/github-code
97a36a5f166115f5c27b68560ef58d003d5d9a016f0332f4105bfcd4158256dd
#include "File.hpp" namespace osl { using namespace std; #if defined(USE_UNIX_STD) static Date s_time_to_date(time_t t) { Date date; struct tm info; localtime_r(&t, &info); // GMT - gmtime_r(&t, &info); date.setYear(1900 + info.tm_year); date.setMonth(info.tm_mon); date.se...
C++
liboslayer/File.cpp
bjtj/oslayer
gpl-3.0
18,316
760
codeparrot/github-code
0eeb666fa88efae232ff7134794d6c4735bc7fc8d47bd4ac19f3ba55a3cf9977
/// \file /// \brief The region class header /// \copyright /// CATH Tools - Protein structure comparison tools such as SSAP and SNAP /// Copyright (C) 2011, Orengo Group, University College London /// /// This program is free software: you can redistribute it and/or modify /// it under the terms of the GNU General Pu...
C++
source/ct_chopping/cath/chopping/region/region.hpp
UCLOrengoGroup/cath-tools
gpl-3.0
5,154
158
codeparrot/github-code
4ac9a00d24444dd2a41fbfa3276331f5754957dc1b3765e5451b6a93d740804a
#!/usr/bin/env python """ conference.py -- Udacity conference server-side Python App Engine API; uses Google Cloud Endpoints $Id: conference.py,v 1.25 2014/05/24 23:42:19 wesc Exp wesc $ created by wesc on 2014 apr 21 """ __author__ = 'wesc+api@google.com (Wesley Chun)' from datetime import datetime import ...
Python
Lesson_5/00_Conference_Central/conference.py
pyemma/scalable-python-app
gpl-3.0
20,067
538
codeparrot/github-code
4eaf75d90e35aef711b171031f9655fe9925a6912c6efc5f7334868ed16bad0e
!DOCTYPE html> <meta charset="utf-8"> <title>Web Speech API Demo</title> <style> * { font-family: Verdana, Arial, sans-serif; } a:link { color:#000; text-decoration: none; } a:visited { color:#000; } a:hover { color:#33F; } .button { background: -webkit-linear-gradient(top,#008...
HTML
BackupIndexes/index2.html
htn-l/htn-l.github.io
gpl-3.0
11,093
376
codeparrot/github-code
b2769cc33f9dee1a00550e840971875662f2bda5b78a02c4b8533417af875c38
/* * This file is part of the Yices SMT Solver. * Copyright (C) 2017 SRI International. * * Yices 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) a...
C
src/mcsat/gc.h
ianamason/yices2
gpl-3.0
2,972
100
codeparrot/github-code
154a1b8b1f272e6ae3ae747386c4e9a1042e2a6cceaa9fa1af6efe1d77fb05a1
(function (angular) { "use strict"; angular.module("risevision.ui-flow", ["LocalStorageModule"]) .constant("uiStatusDependencies", { _dependencies: {}, _retries: {}, addDependencies: function (deps) { angular.extend(this._dependencies, deps); }, setMaximumRetryCount: function (status, num) { if(nu...
JavaScript
web/bower_components/angular-ui-flow-manager/src/js/svc-ui-flow.js
juggle21/sunsignage
gpl-3.0
6,204
213
codeparrot/github-code
957dd37c4e9102985282f4de0e30aead973e7ea063f64f8a9a7900ea507dedef
! copyright info: ! ! @Copyright 2002 ! Fireball Committee ! Brigham Young University - James P. Lewis, Chair ! Arizona State University - Otto F. Sankey ! Universidad de Madrid - Jose Ortega ! Other contributors, past and present: ! Auburn University - Jian Jun Do...
FORTRAN
ASSEMBLERS/laplace_fdm.f90
fireball-QMD/progs
gpl-3.0
5,325
187
codeparrot/github-code
7b5b364b7c29e363ddfca31323efb5e9eef9e86c08ae8b190ccefc9cded08a62
///////////////////////////////////////////////////////////////////////////// // // Project ProjectForge Community Edition // www.projectforge.org // // Copyright (C) 2001-2022 Micromata GmbH, Germany (www.micromata.com) // // ProjectForge is dual-licensed. // // This community edition is free software; you can...
Java
projectforge-business/src/test/java/org/projectforge/address/PersonalAddressTest.java
micromata/projectforge
gpl-3.0
4,207
92
codeparrot/github-code
77cf1fb357bb86808c03ca95b02b4699271e144a678ca4fa57e1f92b73d1ddc2
/* cluster.c * Copyright (C) 2008 binarymillenium * This file is a Frei0r plugin. * * 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) ...
C
include/vimjay/cluster.h
lucasw/vimjay
gpl-3.0
1,876
87
codeparrot/github-code
bc2b0c7d6a3fd61300d31f0fb6cf71463e8e04cf6001e0582ce97ab3148c9aec
<?php /** Copyright (C) 2016 Sherwin Gaddis <sherwingaddis@gmail.com> * * LICENSE: 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 l...
PHP
library/classes/POSRef.class.php
Wakie87/openemr
gpl-3.0
20,711
150
codeparrot/github-code
83869b30e75c7536251f3946a55c2ea4a9db3ab3ed94a8fe50694970811bb9ea
/* ------------------------------------------------------------------- Copyright (C) 2019-2022, Andrew W. Steiner This file is part of O2scl. O2scl 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; ei...
C
src/other/slack_messenger.h
awsteiner/o2scl
gpl-3.0
8,280
322
codeparrot/github-code
d5d6253090bde856be25a29ecce664c345060c065628e0a4101a52a177082bc7
<?php /** * Entrada [ http://www.entrada-project.org ] * * Entrada 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. * * Entrada ...
PHP
www-root/core/modules/admin/courses.inc.php
mattsimpson/entrada-1x
gpl-3.0
3,816
103
codeparrot/github-code