code
stringlengths
3
1.01M
repo_name
stringlengths
5
116
path
stringlengths
3
311
language
stringclasses
30 values
license
stringclasses
15 values
size
int64
3
1.01M
/*---------------------------------------------------------------------------*\ libmyDynamicMesh Copyright (C) 2014 Christian Butcher chrisb2244@gmail.com License This file is part of a library, libmyDynamicMesh, using and derived from OpenFOAM. OpenFOAM is free software: you can redistribute it and/or modify ...
chrisb2244/2D-AMR-OFlib
sortFaces/sortFaces.C
C++
gpl-3.0
3,269
/* GASdotto * Copyright (C) 2009/2013 Roberto -MadBob- Guido <bob4job@gmail.com> * * This 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 ...
madbob/GASdotto
src/org/barberaware/client/GAS.java
Java
gpl-3.0
2,588
<?php namespace Sydne\Pages { use Enum; use WebFramework\HorizontalAlignment; use WebFramework\VerticalAlignment; use WebFramework\Controls\ButtonGroupButton; use WebFramework\Controls\ListView; use WebFramework\Controls\ListViewColumn; use WebFramework\Controls\ListViewItem; use WebFramework...
alcexhim/Sydne
PrivateWebsite/Include/Modules/000-Common/Pages/ProductPage.inc.php
PHP
gpl-3.0
8,937
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.mozilla.org/MPL/ * ...
invi/ppg-api
lib/workers/domcrypt_worker.js
JavaScript
gpl-3.0
39,784
train-demo ========== Some train about programming demo software with eclipse license ------- [GNU GENERAL PUBLIC LICENSE Version 3](http://www.gnu.org/licenses/gpl-3.0-standalone.html)
tmc9031/train-demo
README.md
Markdown
gpl-3.0
189
/******************************************************************************* OpenAirInterface Copyright(c) 1999 - 2014 Eurecom OpenAirInterface 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 F...
mspublic/openair4G-mirror
openair1/PHY/TOOLS/sqrt.c
C
gpl-3.0
2,383
<?php /** puts the Zend library on the current include path */ set_include_path(get_include_path() . PATH_SEPARATOR . dirname(__FILE__)); require_once 'Zend/Mail.php'; require_once 'Zend/Mail/Exception.php'; require_once 'Zend/Exception.php'; require_once 'Zend/Mail/Transport/Smtp.php'; require_once 'Zend/Service/ReC...
zVPS/zvps-smtp-contact-form
inc/mailer.php
PHP
gpl-3.0
4,709
/* * Singleton.h * * Created on: 14-may-2009 * Author: Carlos Agüero * * Copyright 2014 Francisco Martín * * This file is part of ATCSim. * * ATCSim 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 F...
fmrico/ATCSim
src/lib/Singleton.h
C
gpl-3.0
1,456
/* EntityViewer.class Petri Dish Sim 1.1 release By: Jonathan Zepp - @DaJMasta A means (seperate JFrame window) to navigate the world and get fairly detailed information on whatever is in the cell being examined. August 10, 2015 This code and program can be used according the the GPL v3 found here:...
DaJMasta/SimPetriDish
SimPetriDish/src/SimPetriDish/EntityViewer.java
Java
gpl-3.0
15,712
/* * This file, RewardExpEvent.java, is part of MineQuest: * A full featured and customizable quest/mission system. * Copyright (C) 2012 The MineQuest Party * * 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 th...
Minequest/Minequest-RPG
src/main/java/com/theminequest/MQCoreRPG/QEvents/RewardExpEvent.java
Java
gpl-3.0
2,134
/* * Copyright (C) Mojang AB * All rights reserved. */ package kk.freecraft.entity.ai; import kk.freecraft.block.Block; import kk.freecraft.block.BlockDoor; import kk.freecraft.entity.EntityLiving; import kk.freecraft.world.EnumDifficulty; public class EntityAIBreakDoor extends EntityAIDoorInteract { private int...
KubaKaszycki/FreeCraft
src/main/java/kk/freecraft/entity/ai/EntityAIBreakDoor.java
Java
gpl-3.0
2,478
--- layout: post title: "گوگل امپ و سرعت بیشتر صفحات" date: 2016-04-08 16:53:12 section: article link: "http://navid.kashani.ir/927/google-amp/" user: "نوید کاشانی" user_link: "http://navid.kashani.ir/" ---
reyhoun/ui.toread
issue/031/_posts/2016-04-08-amp.md
Markdown
gpl-3.0
238
package com.eztouch.wimp.proxy; public interface IProxy { public abstract void registerKeyBindings(); public abstract void registerRenderers(); }
EZtouch/wimp
src/main/java/com/eztouch/wimp/proxy/IProxy.java
Java
gpl-3.0
150
/******************************************************************************** * * * F i l e S e l e c t i o n W i d g e t * * ...
gogglesmm/gogglesmm
cfox/include/FXFileSelector.h
C
gpl-3.0
11,480
# -*- coding: utf-8 -*- import os import pickle import random import time import urllib try: import xbmc, xbmcgui except: pass from platformcode import config, logger LIBTORRENT_PATH = config.get_setting("libtorrent_path", server="torrent", default='') from servers import torrent as torr lt...
alfa-jor/addon
plugin.video.alfa/lib/btserver/client.py
Python
gpl-3.0
26,890
//************************************************************************** // COMPOSANT : LdbpcCan // FONCTION : Interface pour la classes tcCanal // // Ce logiciel est la propriete de JCI : // --------------------------------------- // Il ne peut etre reproduit ni communique en totalite ou partie sans // son...
dmanev/ArchExtractor
jilTester/Tester/Build/Simulation/Kernel/LDBPCCAN.H
C++
gpl-3.0
8,236
/******************************************************************************************************************************* * AK.RockCon.Commands.Command * Copyright © 2015 Aashish Koirala <http://aashishkoirala.github.io> * * This file is part of RockCon. * * RockCon is free software: you can redistribut...
aashishkoirala/rockcon
src/AK.RockCon/Commands/Command.cs
C#
gpl-3.0
1,891
/* * Grakn - A Distributed Semantic Database * Copyright (C) 2016 Grakn Labs Limited * * Grakn 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...
fppt/mindmapsdb
grakn-core/src/main/java/ai/grakn/exception/ConceptNotUniqueException.java
Java
gpl-3.0
1,738
package org.briarproject; import java.util.Random; import org.briarproject.api.system.SeedProvider; public class TestSeedProvider implements SeedProvider { private final Random random = new Random(); public byte[] getSeed() { byte[] seed = new byte[32]; random.nextBytes(seed); return seed; } }
biddyweb/briar
briar-tests/src/org/briarproject/TestSeedProvider.java
Java
gpl-3.0
309
<h1 id="0">0 目录</h1> * [1 内存相关](#1) * [2 数据类型](#2) * [3 函数](#3) * [4 面向对象](#4) * [5 编程](#5) <h1 id="1">1 内存相关</h1> <h2 id="1.1">1.1 new、delete、malloc、free关系</h2> 1. 属性 malloc与free是C++/C语言标准库的函数,new/delete是C++的运算符(即关键字)。 2. 参数 使用new操作符申请内存分配时无须指定内存块的大小,编译器会根据类型信息自行计算。而malloc则需要显式地指出内存的大小。 3. 返回类...
tupelo-shen/my_test
doc/C++/C++面试/C++面试题.md
Markdown
gpl-3.0
22,877
# Copyright (C) 2012 Aaron Krebs akrebs@ualberta.ca # 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...
a-krebs/finances
finances/django_registration/urls.py
Python
gpl-3.0
3,598
#pragma once #include <deque> #include "DataCell.hh" namespace cadabra { /// \ingroup clientserver /// /// Abstract base class with methods that need to be implemented /// by any GUI. You need to derive from this class as well as from /// the DocumentThread class. class GUIBase { public: /// The basic ...
kpeeters/cadabra2
client_server/GUIBase.hh
C++
gpl-3.0
2,829
#include "ui/font.h" #include <cstdint> namespace Font { const uint8_t fontData[] = { 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x...
parsnip42/kitchensink-firmware
libraries/kitchensink-core/src/ui/font.cpp
C++
gpl-3.0
6,080
############################################ # [config.py] # CONFIGURATION SETTINGS FOR A PARTICULAR METER # # # Set the long-form name of this meter name = "*PEAK only" # # [Do not remove or uncomment the following line] Cs={} ############################################ ############################################ #...
quadrismegistus/prosodic
meters/strength_and_resolution.py
Python
gpl-3.0
10,457
#!/usr/bin/env python from gnuradio import gr, gr_unittest from gnuradio import blocks import grdab class qa_measure_processing_rate(gr_unittest.TestCase): """ @brief QA for measure processing rate sink. This class implements a test bench to verify the corresponding C++ class. """ def setUp(self): self.tb = ...
andrmuel/gr-dab
python/qa/qa_measure_processing_rate.py
Python
gpl-3.0
1,233
/* ----------------------------------------------------------------------------- project : XOS-Shop, open source e-commerce system http://www.xos-shop.com template : xos-shop_install_default_v1.0.7 version : 1.0.7 for XOS-Sho...
XOS-Shop/xos_shop_system
shop/install/templates/xos-shop_install_default_v1.0.7/stylesheet.css
CSS
gpl-3.0
3,327
"use strict"; /*global define, templates, socket, ajaxify, app, admin, bootbox, utils, config */ define('admin/manage/groups', [ 'translator', 'components' ], function(translator, components) { var Groups = {}; var intervalId = 0; Groups.init = function() { var createModal = $('#create-modal'), createGroup...
seafruit/NodeBB
public/src/admin/manage/groups.js
JavaScript
gpl-3.0
2,982
/* * mnote * * Copyright (C) 2010 Aurimas Cernius * Copyright (C) 2009 Debarshi Ray * Copyright (C) 2009 Hubert Figuiere * * 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...
gfunkmonk2/mate-note
src/addinmanager.hpp
C++
gpl-3.0
3,503
// MAUS WARNING: THIS IS LEGACY CODE. /* This file is part of MAUS: http://micewww.pp.rl.ac.uk/projects/maus * * MAUS 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 * ...
mice-software/maus
src/legacy/BeamTools/BTMultipole.cc
C++
gpl-3.0
17,495
#include<string.h> #include<idt.h> /* This exists in 'bootstrap.{s|asm}', and is used to load our IDT */ extern void idt_load(); /* Declare an IDT of IDT_TABLE_SIZE entries. */ struct idt_entry idt[IDT_TABLE_SIZE]; struct idt_ptr idt_p; /* Use this function to set an entry in the IDT. */ void idt_set_gate(uint8_t...
neal024/Okusha
src/idt.c
C
gpl-3.0
1,185
/* Copyright (C) 2014-2016 de4dot@gmail.com This file is part of dnSpy dnSpy 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 late...
MeteorAdminz/dnSpy
dnSpy/dnSpy/Language/Intellisense/SignatureHelpPresenterControl.xaml.cs
C#
gpl-3.0
937
using System; using System.Globalization; using System.Linq; using System.Windows.Controls; using NETworkManager.Settings; namespace NETworkManager.Validators { public class IsDNSLookupDNSServersNameUnique : ValidationRule { public override ValidationResult Validate(object value, CultureInfo cultureIn...
BornToBeRoot/NETworkManager
Source/NETworkManager.Validators/IsDNSLookupDNSServersNameUnique.cs
C#
gpl-3.0
632
# Copyright (C) 2010-2018 The ESPResSo project # # This file is part of ESPResSo. # # ESPResSo 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 v...
hmenke/espresso
testsuite/python/drude.py
Python
gpl-3.0
10,864
/* RetroArch - A frontend for libretro. * Copyright (C) 2010-2014 - Hans-Kristian Arntzen * * RetroArch 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 Found- * ation, either version 3 of the License, or (at your...
SuperrSonic/RA-SS
gfx/fonts/fonts.h
C
gpl-3.0
2,402
<?php /** * Forkel Resources * * @category Forkel * @package Forkel_Resources * @copyright Copyright (c) 2015 Tobias Forkel (http://www.tobiasforkel.de) * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) */ class Forkel_Resources_Helper_Data extends Mage_Core_Help...
tobias-forkel/Forkel_Resources
app/code/local/Forkel/Resources/Helper/Data.php
PHP
gpl-3.0
562
#pragma once #include <memory> #include <QtWidgets/QWidget> #include <Database/Mixin/ConnectionAcceptor> namespace Geo { namespace Import { // class ImportTreeModel; namespace Gui { // class ImportWidget : public QWidget { Q_OBJECT public: ImportWidget(); virtual ~ImportWidget(); public: /// Model ...
paceholder/wildcat
modules/Import/source/Gui/ImportWidget.hpp
C++
gpl-3.0
766
from GangaCore.GPIDev.Lib.Tasks import ITask from GangaCore.GPIDev.Schema import Schema, Version ######################################################################## class CoreTask(ITask): """General non-experimentally specific Task""" _schema = Schema(Version(1, 0), dict(ITask._schema.datadict.items())...
ganga-devs/ganga
ganga/GangaCore/GPIDev/Lib/Tasks/CoreTask.py
Python
gpl-3.0
474
using Machete.Service.BackgroundServices; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; using System.Threading; using System.Threading.Tasks; namespace Machete.Test.UnitTests.Services { [TestClass] public class BackgroundServiceTests { private Mo...
SavageLearning/Machete
Machete.Test/UnitTests/Services/BackgroundServiceTests.cs
C#
gpl-3.0
3,299
/** * Copyright (C) 2011, Claus Nielsen, cn@cn-consult.dk * * 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. ...
clanie/clanie-aspects
src/test/java/dk/clanie/actor/ActorAspectTest.java
Java
gpl-3.0
5,872
// This is mutant program. // Author : ysma package examples.stryker.gcd.prvou_refined.prvou_refined113; public class Gcd { /*@ @ requires a >= 0 && b >= 0; @ ensures \result >= 0; @ ensures (\old(a) % \result == 0); @ ensures (\old(b) % \result == 0); @ ensures (\forall int x; x>0 && x<=\old(a) && x<=\old(b) &&...
zeminlu/comitaco
tests/examples/stryker/gcd/prvou_refined/prvou_refined113/Gcd.java
Java
gpl-3.0
763
CREATE SEQUENCE documents.unique_file_number_seq INCREMENT 1 MINVALUE 1 MAXVALUE 9223372036854775807 START 1 CACHE 1; ALTER TABLE documents.unique_file_number_seq OWNER TO EASYGP; GRANT USAGE ON documents.unique_file_number_seq TO Staff; update db.lu_version set lu_minor=406;
ihaywood3/easygp
db/updates/0.406_documents.unique_file_number_seq.sql
SQL
gpl-3.0
297
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="es"> <head> <!-- Generated by javadoc (1.8.0_31) on Sun Apr 12 23:52:55 COT 2015 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>com.ecos.tspistatusquo.temp....
ecosstatusquo/iteracion1
src/site/apidocs/com/ecos/tspistatusquo/temp/biz/package-frame.html
HTML
gpl-3.0
1,084
// Copyright ©2015 The gonum Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package functions import ( "math" "testing" "gonum.org/v1/gonum/diff/fd" "gonum.org/v1/gonum/floats" ) // function represents an objective function. ...
pts-eduardoacuna/pachy-learning
vendor/gonum.org/v1/gonum/optimize/functions/validate.go
GO
gpl-3.0
3,324
package app; import java.io.*; import org.apache.log4j.Logger; public class TXTBook implements Book { @Override public String getText(File file) { String text = ""; String newline = System.getProperty("line.separator"); try (BufferedReader reader = new BufferedReader(new FileReader(f...
demidrol911/eng_rus_reader
EnglishLearn/src/app/TXTBook.java
Java
gpl-3.0
647
package com.mrgss.web.persistence.model; import java.util.Date; import java.util.List; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.OneToMany; import javax.persi...
nicoferre/vetsis
persistence/src/main/java/com/mrgss/web/persistence/model/SpeciesEntity.java
Java
gpl-3.0
1,405
// // BigInteger.cs - Big Integer implementation // // Authors: // Ben Maurer // Chew Keong TAN // Sebastien Pouliot <sebastien@ximian.com> // Pieter Philippaerts <Pieter@mentalis.org> // // Copyright (c) 2003 Ben Maurer // All rights reserved // // Copyright (c) 2002 Chew Keong TAN // All rights reserved....
leekyeongtae/TotalManagerment
MonoTorrent/MonoTorrent.Client/Encryption/BigInteger/BigInteger.cs
C#
gpl-3.0
41,868
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=11"/> <meta name="generator" c...
ojrosten/sequoia
docs/html/namespacemembers_func.html
HTML
gpl-3.0
3,525
<?xml version='1.0' encoding='UTF-8'?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html> <head> <title>Left - leon.lang.Left</title> <meta name="description" content="Left - leon.lang.Left" /> <meta name="keywords" content="Lef...
fmlab-iis/LibRef
doc/api/leon/lang/Left.html
HTML
gpl-3.0
25,376
/* * LeaseProvider.java May 2004 * * Copyright (C) 2004, Niall Gallagher <niallg@users.sf.net> * * 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/...
TehSomeLuigi/SomeLuigisPeripherals2
src_simpleframework/trs/org/simpleframework/util/lease/LeaseProvider.java
Java
gpl-3.0
2,327
-- Rockspec data -- Variables to be interpolated: -- -- package_name -- version local default = { package = package_name, version = version.."-1", source = { url = "git://github.com/rrthomas/"..package_name..".git", }, description = { summary = "Colorer for command-line programs", detailed = [[c...
rrthomas/cw
rockspecs.lua
Lua
gpl-3.0
1,143
/*************************************************************************** ** ** ** This file is part of SpineCreator, an easy to use, GUI for ** ** describing spiking neural network models. ** ** Copyrigh...
ajc158/spinecreator
dotwriter.cpp
C++
gpl-3.0
7,423
import { Component, OnInit, OnDestroy, ViewEncapsulation } from '@angular/core'; import { Router } from '@angular/router'; import {UserService} from "../../services/user/user.service"; @Component({ selector: 'app-login', templateUrl: './login.component.html', providers: [], styleUrls: ['./login.scss'], encap...
openmastery/ideaflow-profiler
src/views/login/login.component.ts
TypeScript
gpl-3.0
1,172
<?php // This file is part of Moodle - http://moodle.org/ // // Moodle 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. // // Moodle ...
nitro2010/moodle
question/type/essaywiris/lang/en/qtype_essaywiris.php
PHP
gpl-3.0
2,060
package main.utilities; public class Config { public static final int MAX_CLIENTS = 5; public static final int DEFAULT_PORT = 5050; public static final String DEFAULT_HOST = "127.0.0.1"; public static final int MAX_BORROWED_ITEMS = 3; //20 seconds for 1 day public static final int SIMULATED_DAY = 1 * 1 *...
IsaacGuan/AcademicTracking
src/main/utilities/Config.java
Java
gpl-3.0
674
package pg import "strings" const ( createTmpl = ` // Create%[1]s inserts an entry into DB func Create%[1]s(db cruderQueryRower, x %[2]s) (*%[2]s, error) { var y %[2]s err := db.QueryRow( ` + "`" + `INSERT INTO %s (%s) VALUES (%s) RETURNING %s` + "`" + `, %s, ).Scan(%s) return &y, err } ` ) // GenerateCr...
pengux/cruder
generator/pg/create.go
GO
gpl-3.0
840
/* * * * * * AzRgforest.cpp * Copyright (C) 2011, 2012 Rie Johnson * * This software may be modified and distributed under the terms * of the MIT license. See the COPYING file for details. * * * * */ #include "AzRgforest.hpp" #include "AzHelp.hpp" #include "AzRgf_kw.hpp" /*----------------------------------...
fukatani/rgf_python
RGF/src/tet/AzRgforest.cpp
C++
gpl-3.0
24,218
-- Gray's Illusions, for Tales of Maj'Eyal. -- -- 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...
gwx/tome-grayswandir-illusion
overload/data/gfx/particles/mental_pressure.lua
Lua
gpl-3.0
3,163
use bytecodes::bytecode; use context::Context; use stack::StackEntry; use constants; use exceptions::{throw_exception, throw_exception_from_interpretererror, InterpreterException}; use traits::{BufferAccessor, HasType}; // macro allowing to simplify null reference check #[macro_export] macro_rules! check_null_referenc...
Incognitas/Orion
src/interpreterutils.rs
Rust
gpl-3.0
6,746
cmd_config_help() { cat <<_EOF config Run configuration scripts inside the container. _EOF } cmd_config() { ds inject set_prompt.sh }
docker-scripts/ds
test/app/cmd/config.sh
Shell
gpl-3.0
156
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package service; import database.Database; import database.InputOutput; import java.io.IOException; import java.io.Serializa...
codacy20/backEnd
app/backend/proeprest/src/java/service/OrderService.java
Java
gpl-3.0
4,504
/*************************************************************************** * The FreeMedForms project is a set of free, open source medical * * applications. * * (C) 2008-2016 by Eric MAEKER, MD (France) <eric.maeker@gmail.com> * * All righ...
maternite/freemedforms
tests/unit-tests/units/lib_utils/tst_fileaccess.cpp
C++
gpl-3.0
6,002
#include <stdio.h> #include <assert.h> #include <string.h> #include <stdlib.h> void create_list(list* list_to_init) { // check assert(list_to_init == NULL); *list_to_init = NULL; } void push_at_begin(list * list,maillon* maillon_to_add) { // check assert(list != NULL); assert(maillon_to_add != NULL); ...
tiregram/structurededonne
src/TP1/pile_list.c
C
gpl-3.0
1,789
package eu.transkribus.swt_gui.dialogs; import org.eclipse.jface.window.ApplicationWindow; import org.eclipse.swt.widgets.Composite; import org.eclipse.swt.widgets.Control; import org.eclipse.swt.widgets.Display; public class TableMarkupBoxTest { public static void main(String[] args) { // TODO Auto-generated met...
Transkribus/TranskribusSwtGui
src/test/java/eu/transkribus/swt_gui/dialogs/TableMarkupBoxTest.java
Java
gpl-3.0
909
package io.github.yodalee.FastBuild; import io.github.yodalee.FastBuild.commands.FastBuildSetnCmd; import io.github.yodalee.FastBuild.commands.FastBuildTogglePlaceCmd; import io.github.yodalee.FastBuild.listeners.FastBuildPlaceListener; import io.github.yodalee.FastBuild.listeners.FastBuildPlayerQuitListener; import i...
yodalee/FastBuild
src/io/github/yodalee/FastBuild/FastBuild.java
Java
gpl-3.0
2,403
-- | -- Module : Setup -- Copyright : (C) 2007-2008 Bryan O'Sullivan -- (C) 2012-2014 Jens Petersen -- -- Maintainer : Jens Petersen <petersen@fedoraproject.org> -- Stability : alpha -- Portability : portable -- -- Explanation: Command line option processing for building RPM -- packages....
opensuse-haskell/cabal-rpm
src/Setup.hs
Haskell
gpl-3.0
6,406
/********************************************************************************************************************* * DAVE APP Name : SPI_MASTER APP Version: 4.3.26 * * NOTE: * This file is generated by DAVE. Any manual modification done to this file will be lost when the code is regenerated. *****************...
JackTheEngineer/Drone
hardware/XMC4500Dave/Generated/SPI_MASTER/spi_master_conf.c
C
gpl-3.0
15,381
/* * Copyright (C) 2013 Alexandre Thomazo * * This file is part of BankIt. * * BankIt 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 ve...
alexthomazo/bankit
bankit-web/src/test/java/org/alexlg/bankit/dao/CategoryDaoTest.java
Java
gpl-3.0
3,017
PROGRAM Core USE Physics USE Cosmology USE ParameterFile USE Stats USE MPI USE mtmod IMPLICIT None ! --------------------------------- ! ! ----- Variables of the code ----- ! ! --------------------------------- ! LOGICAL :: Mode_test = .FALSE. ! Wait...
JPalmerio/GRB_population_code
Src_para/GRB_population_MC_ubuntu.f90
FORTRAN
gpl-3.0
283,929
/**************************************************************************** ** Resource object code ** ** Created by: The Resource Compiler for Qt version 5.5.0 ** ** WARNING! All changes made in this file will be lost! *****************************************************************************/ static const unsig...
billhhh/whLBS
Framework/Mainwindow/mainwindow/mainwindow/GeneratedFiles/qrc_varlistbackground.cpp
C++
gpl-3.0
46,694
<?php class plenitude extends usuario{ public function get_url($array=true){ if($array) return explode('/', $_SERVER['REQUEST_URI']); else return $_SERVER['REQUEST_URI']; } public function run(){ $url = self::get_url(); $todo = self::processa($url); } function processa($url){ switch(strtolower...
dansoah/plenitude-alfa
_sistema/php/plenitude.class.php
PHP
gpl-3.0
2,756
# Mila Repository to host lecture slides and code examples of master course "Modeling in Landscape Archaeology" What is covered in the course aka what will you find here? - [an intro to R](html/00_Intro_R.html) - [a first look at the data we are using](html/01_Inspect_data_and_ask_questions.html) - [handling spatia...
dakni/mila
README.md
Markdown
gpl-3.0
1,449
/* Copyright (c) 2010-2011 Gluster, Inc. <http://www.gluster.com> This file is part of GlusterFS. GlusterFS 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...
vbellur/glusterfs-udp
rpc/rpc-lib/src/auth-unix.c
C
gpl-3.0
2,548
/* * Strategy implementation * .setup function: Set up triggers, which listen to specific * incoming or outgoing packets, and bind * triggers to these events. * .teardown function: Unbind triggers. * */ #include "old_ooo_tcp_fragment.h" #include <stdio.h> #incl...
seclab-ucr/INTANG
src/strategies/old_ooo_tcp_fragment.c
C
gpl-3.0
4,020
<?php /* * Copyright (c) 2011-2021 Lp Digital * * This file is part of BackBee Standalone. * * BackBee 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 later v...
backbee/backbee-php
Security/Acl/Domain/ObjectIdentifiableInterface.php
PHP
gpl-3.0
1,643
# coding: utf-8 # license: GPLv3 from enemies import * from hero import * def annoying_input_int(message =''): answer = None while answer == None: try: answer = int(input(message)) except ValueError: print('Вы ввели недопустимые символы') return answer def game_tou...
mipt-cs-on-python3/arithmetic_dragons
tournament.py
Python
gpl-3.0
1,950
// Copyright (c) 2012-2013 Andre Martins // All Rights Reserved. // // This file is part of TurboParser 2.1. // // TurboParser 2.1 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 t...
lifu-tu/TE_TweeboParser
TBParser/src/parser/DependencyDecoder.cpp
C++
gpl-3.0
115,505
/* Copyright (C) 2007-2012 Vincent Ollivier * * Purple Haze 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. * * Purple Haze is d...
vinc/purplehaze
src/zobrist.h
C
gpl-3.0
1,619
@Echo off & SetLocal EnableDelayedExpansion & Mode con:cols=100 lines=10 & Color 0B Title Build XISO Set "SourceDirectory=Extras Disc" Set "OutputISOName=Xbox Softmodding Tool Extras Disc.iso" Echo About to create an Xbox ISO. Echo: Echo Source Directory Echo %SourceDirectory% Echo: Echo Output ISO Nam...
Rocky5/2016-Softmodding-Tool
Build XISO.bat
Batchfile
gpl-3.0
545
# -*- coding: utf-8 -*- __all__ = [ "test_config_db", "test_grid", "test_shell", "test_svn", ] if __name__ == "__main__" : import doctest for i in __all__ : print ("%%-%ds: %%s" % (max(map(len, __all__)) + 1)) % ( i, doctest.testmod(__import__(i, None, None, [i...
spikeekips/source-over-ssh
src/tests/__init__.py
Python
gpl-3.0
344
/* * Copyright 2011 Kai Rohr * * * This file is part of mIDas. * * mIDas 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 opt...
agaricusb/midas-silver
src/main/java/pfaeff/IDChanger.java
Java
gpl-3.0
7,330
#!/usr/bin/python # MinerLite - A client side miner controller. # This will launch cgminer with a few delay seconds and # retrieve the local data and post it into somewhere! # # Author: Yanxiang Wu # Release Under GPL 3 # Used code from cgminer python API example import socket import json import sys import subproc...
cecilulysess/MinerLite
main.py
Python
gpl-3.0
1,792
<?php include './FoodBusiness.php'; include './DietBusiness.php'; include './DietPlanBusiness.php'; include './DietPersonBussiness.php'; // //$dietBusiness = new DietBusiness(); //$temp = $dietBusiness->getDiet(1); ////var_dump($temp); //echo (json_encode($temp)); ////exit; if (isset($_POST['option'])) { $option ...
yunenrr/Caoba
business/DietAction.php
PHP
gpl-3.0
3,287
#!/usr/bin/python import re import sys import os import getopt import vcf def main(): params = parseArgs() vfh = vcf.Reader(open(params.vcf, 'r')) #grab contig sizes contigs = dict() for c,s in vfh.contigs.items(): contigs[s.id] = s.length regions = list() this_chrom = None start = int() stop = int() ...
tkchafin/scripts
findBreaksVCF.py
Python
gpl-3.0
3,606
from aospy import Run am2_control = Run( name='am2_control', description=( 'Preindustrial control simulation.' ), data_in_direc=('/archive/Yi.Ming/sm2.1_fixed/' 'SM2.1U_Control-1860_lm2_aie_rerun6.YIM/pp'), data_in_dur=5, data_in_start_date='0001-01-01', data_in_e...
spencerkclark/aospy-obj-lib
aospy_user/runs/cases.py
Python
gpl-3.0
6,191
# GetExtendedList ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **int** | ID of the list | **name** | **string** | Name of the list | **totalBlacklisted** | **int** | Number of blacklisted contacts in the list | **totalSubscribers** | **int** |...
LoicLEMEUT/sendinblue
lib/api-v3-sdk/docs/Model/GetExtendedList.md
Markdown
gpl-3.0
937
<!DOCTYPE html> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>WolfScript API PlayerCreate</title> <link rel="icon" type="image/x-icon" href="/favicon.ico" /> <link href="../.....
miningwolf/docs
html/wolfcanary/io/wolfscript/commandsys/commands/playermod/PlayerCreate.html
HTML
gpl-3.0
13,378
package org.reflaction.ii; import java.lang.reflect.*; interface Person { void walk(); void sayHello(String name); } class MyInvokationHandler implements InvocationHandler { /* proxy:代表动态代理对象 method:代表正在执行的方法 args:代表调用目标方法时传入的实参。 */ public Object invoke(Object proxy, ...
hannahwangww/mujava
ii/ProxyTest.java
Java
gpl-3.0
1,383
//================================================================================== // // L2SOLVE.HPP // //================================================================================== #ifndef AGILE_IRGN_L2SOLVE_HPP #define AGILE_IRGN_L2SOLVE_HPP #include "agile/calc/irgn.hpp" namespace a...
IMTtugraz/AGILE
include/agile/calc/l2solve.hpp
C++
gpl-3.0
2,342
#!/bin/bash # -------------------------------------------------------------------- # 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 late...
myLiveNotes/myLiveNotes
buildDebianPackage.sh
Shell
gpl-3.0
13,092
#ifndef Func_meanPositive_H #define Func_meanPositive_H #include "RealPos.h" #include "RlTypedFunction.h" #include <string> namespace RevLanguage { /** * The RevLanguage wrapper of the arithmetic meanPositive function. * * The RevLanguage wrapper of the meanPositive function connects * t...
revbayes/revbayes
src/revlanguage/functions/math/Func_meanPositive.h
C
gpl-3.0
1,808
/*************************************************************************** begin : Thu Apr 24 15:54:58 CEST 2003 copyright : (C) 2003 by Giuseppe Lipari email : lipari@sssup.it ***************************************************************************/ /*********...
balsini/RTSIM
METASIM/src/simul.cpp
C++
gpl-3.0
7,324
/* * Created on 9 Dec 2015 ( Time 11:08:58 ) * Generated by Telosys Tools Generator ( version 2.1.1 ) */ package com.abm.mainet.common.master.mapper; import org.modelmapper.ModelMapper; import org.modelmapper.convention.MatchingStrategies; import org.springframework.stereotype.Component; import com.abm.mainet.commo...
abmindiarepomanager/ABMOpenMainet
Mainet1.0/MainetServiceParent/MainetServiceCommon/src/main/java/com/abm/mainet/common/master/mapper/DepartmentServiceMapper.java
Java
gpl-3.0
2,563
require 'octokit' require 'git' require 'net/http' require 'uri' module HS module Command extend self include HS::CommandHelpers def generate_action_proc(command) require "hs/commands/#{command.name}" Proc.new do |global_opts, opts, args| init(global_opts, opts, args) send(comma...
recursecenter/hs-cli
lib/hs/command.rb
Ruby
gpl-3.0
1,558
 Partial Class FrmIniciarConsultaContrato Inherits System.Web.UI.Page Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load Me.UcVistaDetalleProcesoCompra1.ESTADO = 17 Me.UcVistaDetalleProcesoCompra1.EVAL_FEC_REC = False Me.UcVistaDetalleProcesoCo...
wilxsv/fork-sinab
WebSites/Abastecimientos/UACI/FrmIniciarConsultaContrato.aspx.vb
Visual Basic
gpl-3.0
653
<?php /** --------------------------------------------------------------------- * themes/default/Front/front_page_html : Front page of site * ---------------------------------------------------------------------- * CollectiveAccess * Open-source collections management software * ----------------------------------...
libis/pa_cct
themes/steelcase/views/Front/featured_set_slideshow_html.php
PHP
gpl-3.0
5,383
<?php /** * @version $Revision: $: * @author $Author: $: * @date $Date: $: */ namespace ManiaLivePlugins\NadeoLive\XmlRpcScript; use ManiaLive\DedicatedApi\Callback\Event as ServerEvent; class Plugin extends \ManiaLive\PluginHandler\Plugin { public function onInit() { } public function onLoad...
maniaplanet/manialive-plugins
NadeoLive/XmlRpcScript/Plugin.php
PHP
gpl-3.0
1,888
<?php use Illuminate\Database\Seeder; use App\Vehiculo; use App\Fabricante; use Faker\Factory AS Faker; class VehiculoSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { $faker = Faker::create('es_ES'); $cantidad = Fabricant...
JoseLoarca/laravel
database/seeds/VehiculoSeeder.php
PHP
gpl-3.0
901
package org.springframework.roo.multiselect.web; import org.springframework.roo.addon.web.mvc.controller.annotations.ControllerType; import org.springframework.roo.addon.web.mvc.controller.annotations.RooController; import org.springframework.roo.addon.web.mvc.controller.annotations.responses.json.RooJSON; import org.s...
DISID/disid-proofs
spring-roo-datatables-multiselect/src/main/java/org/springframework/roo/multiselect/web/PetsItemJsonController.java
Java
gpl-3.0
561
<?php /** * TbButtonColumn class file. * @author Christoffer Niska <ChristofferNiska@gmail.com> * @copyright Copyright &copy; Christoffer Niska 2011- * @license http://www.opensource.org/licenses/bsd-license.php New BSD License * @package bootstrap.widgets * @since 0.9.8 */ Yii::import('zii.widgets.grid.CButto...
kevinnewesil/Grades2Show
protected/extensions/bootstrap/widgets/TbButtonColumn.php
PHP
gpl-3.0
2,813
#!/usr/bin/python # -*- coding: utf-8 -*- #Copyright (C) 2013 Jonathan Delvaux <dumpformat@djoproject.net> #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 #an...
djo938/dumpFormat
dumpformat/test/test.py
Python
gpl-3.0
1,155