repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
limikael/netpoker
adapters/wpnetpoker/src/utils/Template.php
2737
<?php namespace wpnetpoker; /** * Echo for attribute. */ function echo_attr($s) { echo htmlspecialchars($s); } /** * Echo for html. */ function echo_html($s) { echo htmlspecialchars($s); } /** * A simple templating engine. This is a simple example of how to use this class: * * <code> ...
gpl-3.0
minego/wTerm
src/plugin/sdl/sdlfontgl.cpp
11569
/** * This file is part of SDLTerminal. * Copyright (C) 2012 Will Dietz <webos@wdtz.org> * * SDLTerminal 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 op...
gpl-3.0
xzzpig/PigUtils
Data/src/main/java/com/github/xzzpig/pigutils/duck/LikeClass.java
527
package com.github.xzzpig.pigutils.duck; import static java.lang.annotation.RetentionPolicy.RUNTIME; import java.lang.annotation.Retention; import com.github.xzzpig.pigutils.reflect.MethodUtils; /** * 标识DuckObject的封装Object需要像某Class<br/> * 可用 {@link MethodUtils#checkArgs(Object...)} 或 * {@link DuckObject#isLike(C...
gpl-3.0
danielhams/mad-java
1PROJECTS/COMPONENTDESIGNER/component-designer-services/src/uk/co/modularaudio/componentdesigner/mainframe/actions/CheckAudioConfigurationAction.java
2604
/** * * Copyright (C) 2015 - Daniel Hams, Modular Audio Limited * daniel.hams@gmail.com * * Mad 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 ...
gpl-3.0
Pgans/yii2a-devices
backend/modules/users/views/user/update.php
465
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model common\models\User */ $this->title = 'Update User: ' . $model->id; $this->params['breadcrumbs'][] = ['label' => 'Users', 'url' => ['index']]; $this->params['breadcrumbs'][] = ['label' => $model->id, 'url' => ['view', 'id' => $model->id]]; $this...
gpl-3.0
shanot/imp
modules/kernel/src/SetLogState.cpp
1114
/** * \file Log.cpp \brief Logging and error reporting support. * * Copyright 2007-2017 IMP Inventors. All rights reserved. * */ #include <IMP/SetLogState.h> #include <IMP/Object.h> #include <IMP/log.h> IMPKERNEL_BEGIN_NAMESPACE void SetLogState::do_set(Object *o, LogLevel l) { if (l != DEFAULT) { obj_...
gpl-3.0
halilkaya/markovy
markovy/__init__.py
3848
from collections import defaultdict from functools import wraps import random class MarkovChain(object): """ Parody generation with Markov Chain. """ # Default values: COUNT = 1 MIN = 5 MAX = 10 def __init__(self, dataset): """ Defines dataset and calls method to pars...
gpl-3.0
GuillaumeDD/AdventOfCode2015
src/main/scala/aoc/day01/Part1.scala
1702
package aoc.day01 import io.IO object Part1 extends App { /* --- Day 1: Not Quite Lisp --- Santa was hoping for a white Christmas, but his weather machine's "snow" function is powered by stars, and he's fresh out! To save Christmas, he needs you to collect fifty stars by December 25th. Collect stars by helping S...
gpl-3.0
danielgarm/Chess
src/chess/connection/connectionFiles/GameServer.java
9070
package chess.connection.connectionFiles; import java.awt.Dimension; import java.awt.FlowLayout; import java.awt.GridLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.IOException; import java.lang.reflect.InvocationTargetException; import java.net.ServerSocket; i...
gpl-3.0
ewijaya/ngsfeatures
ematch_src/utils/stl/try/tryStringUtils_startsEndsWith.cc
1329
/* * Author: Paul B. Horton * Organization: Computational Biology Research Center, AIST, Japan * Copyright (C) 2008, Paul B. Horton, All rights reserved. * Creation Date: 2008.11.16 * Last Modified: $Date: 2009/05/10 08:10:45 $ * * Purpose: try out StringUtils methods startsWith and endsWith */ #include...
gpl-3.0
NEMESIS13cz/Evercraft
java/evercraft/NEMESIS13cz/Items/Powders/ItemSilverPowder.java
699
package evercraft.NEMESIS13cz.Items.Powders; import net.minecraft.client.renderer.texture.IIconRegister; import net.minecraft.item.Item; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; import evercraft.NEMESIS13cz.ModInformation; import evercraft.NEMESIS13cz.Main.ECTabs; publi...
gpl-3.0
wiiaboo/taiga
src/track/feed.cpp
5686
/* ** Taiga ** Copyright (C) 2010-2018, Eren Okka ** ** 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 pr...
gpl-3.0
TeWu/krpc-rb
lib/krpc/version.rb
365
module KRPC module Version # Dear krpc-rb developer: Before bumping version below, please ensure that protobuf schema is up to date. MAJOR = 0 MINOR = 4 PATCH = 1 LABEL = nil IS_STABLE = false end VERSION = ([Version::MAJOR, Version::MINOR, Version::PATCH, Version::LABEL, Version::IS_STAB...
gpl-3.0
JairFrancesco/easyGraph
html/search/all_2.js
1769
var searchData= [ ['booleano',['booleano',['../_parser_2include_2tipos_01de_01datos_8h.html#a49bc928212aebe46c57759ed709fe114',1,'tipos de datos.h']]], ['btnredraw',['btnRedraw',['../class_ui___main_window.html#a11e3b88f851cc38c95e233d684684ae8',1,'Ui_MainWindow']]], ['bulkfun1',['BulkFun1',['../example1_8cpp.htm...
gpl-3.0
clbr/stk
src/network/network_kart.hpp
1406
// // SuperTuxKart - a fun racing game with go-kart // Copyright (C) 2008 Joerg Henrichs // // 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 yo...
gpl-3.0
mganeva/mantid
Framework/Algorithms/src/MostLikelyMean.cpp
3089
// 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 + #include "MantidAlgorithms/MostLikelyMe...
gpl-3.0
8278555/ProPra
ProPra/src/Release/WFEModelValue.java
279
package Release; public class WFEModelValue { String wert; public WFEModelValue(){ this.wert = ""; } public void setvalue(String value) { this.wert = value; } public String getvalue() { return wert; } }
gpl-3.0
GuillaumeGas/MyAccountOdoo
__openerp__.py
669
# -*- coding: utf-8 -*- { 'name': 'MyAccount', 'version': '0.2', 'category': 'custom', 'author': 'Guillaume Gas', 'website': 'https://guillaume.gas28.net', 'depends': [ 'base', 'email_template', ], 'data': [ 'data/email_template.xml', 'data/cron.xml', ...
gpl-3.0
fauconnier/LaToe
src/de/tudarmstadt/ukp/wikipedia/revisionmachine/index/indices/ChronoIndex.java
4141
/******************************************************************************* * Copyright (c) 2011 Ubiquitous Knowledge Processing Lab * * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser Public License v3 * which accompanies this distributi...
gpl-3.0
mixalturek/graphal
libgraphal/generated/nodeunarydecpre.cpp
2045
/* * Copyright 2008 Michal Turek * * This file is part of Graphal library. * http://graphal.sourceforge.net/ * * Graphal 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, version 3 of the ...
gpl-3.0
yogpstop/QuarryPlus
src/main/java/com/yogpc/qp/gui/GuiP_List.java
5575
/* * Copyright (C) 2012,2013 yogpstop This program is free software: you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License as published by the Free * Software Foundation, either version 3 of the License, or (at your option) any later version. * * This program is distr...
gpl-3.0
xinyi3/301-assignment1
src/com/example/xinyi3_notes/ItemList.java
3538
package com.example.xinyi3_notes; import java.io.Serializable; import java.util.ArrayList; import java.util.Collection; //the class for actions done inside the arrayList public class ItemList implements Serializable { /** * ItemList serialization ID */ private static final long serialVersionUID = 18850504347884...
gpl-3.0
StudioProcess/rvp
src/app/core/actions/dom.service.ts
1379
import { Injectable, Injector, ComponentFactoryResolver, ApplicationRef, EmbeddedViewRef, } from '@angular/core' @Injectable({ providedIn: 'root' }) export class DomService { constructor( private componentFactoryResolver: ComponentFactoryResolver, private appRef: ApplicationRef, private inje...
gpl-3.0
mwveliz/siglas-mppp
plugins/sfPostgresDoctrinePlugin/lib/generator/sfDoctrineBuildModelTask.class.php
10641
<?php /* * This file is part of the symfony package. * (c) Fabien Potencier <fabien.potencier@symfony-project.com> * (c) Jonathan H. Wage <jonwage@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ /** * Create classes f...
gpl-3.0
ISRAPIL/FastCorePE
src/pocketmine/block/RedSandstoneSlab.php
2089
<?php namespace pocketmine\block; use pocketmine\item\Item; use pocketmine\Player; class RedSandstoneSlab extends Slab { protected $id = Block::RED_SANDSTONE_SLAB; public function getName(): string { return "Red Sandstone Slab"; } public function place(Item $item, Block $block, Block $targ...
gpl-3.0
hackerpals/Python-Tutorials
Kids-Pthon-Workshops/guessing-game/ex2/call-op.py
591
#!/usr/bin/env python3 """ Call Operators in Python """ #Setup our variables num1 = 1 num2 = 2 var1 = 'a' var2 = 'b' ''' + / Additions / Can combine strings or numbes ''' totalNum = num1 + num2 totalVar = var1 + var2 print(totalNum, totalVar ) ''' - / Subtraction ''' totalNum = num1 - num2 ''' * / Multiplica...
gpl-3.0
PyPila/apof
src/apof/portal/urls.py
493
from django.conf.urls import include, url from django.contrib.auth import views as auth_views from . import views urlpatterns = [ url(r'', include('social_django.urls', namespace='social')), url(r'^$', views.index, name='home'), url( r'^login/$', auth_views.login, {'redirect_authen...
gpl-3.0
svenoaks/QuickLyric
QuickLyric/src/main/java/com/geecko/QuickLyric/utils/UpdateChecker.java
3789
/* * * * * This file is part of QuickLyric * * Created by geecko * * * * QuickLyric 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...
gpl-3.0
j0sh/crtmpserver
sources/thelib/src/netio/select/tcpacceptor.cpp
6723
/* * Copyright (c) 2010, * Gavriloaie Eugen-Andrei (shiretu@gmail.com) * * This file is part of crtmpserver. * crtmpserver 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 L...
gpl-3.0
Tomucha/coordinator
coordinator-server/src/main/java/cz/clovekvtisni/coordinator/server/web/controller/api/v1/UserApiController.java
7096
package cz.clovekvtisni.coordinator.server.web.controller.api.v1; import cz.clovekvtisni.coordinator.api.request.*; import cz.clovekvtisni.coordinator.api.response.*; import cz.clovekvtisni.coordinator.domain.User; import cz.clovekvtisni.coordinator.domain.UserInEvent; import cz.clovekvtisni.coordinator.exception.Erro...
gpl-3.0
alvsgithub/three-cms
system/application/helpers/strptime_helper.php
5999
<?php /* * This work of Lionel SAURON (http://sauron.lionel.free.fr:80) is licensed under the * Creative Commons Attribution-Noncommercial-Share Alike 2.0 France License. * * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/2.0/fr/ * or send a letter to Creative Commons, 171...
gpl-3.0
noodlewiz/xjavab
xjavab-ext/src/main/java/com/noodlewiz/xjavab/ext/render/Pictscreen.java
1218
// // DO NOT MODIFY!!! This file was machine generated. DO NOT MODIFY!!! // // Copyright (c) 2014 Vincent W. Chen. // // This file is part of XJavaB. // // XJavaB 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 Softwar...
gpl-3.0
MartyParty21/AwakenDreamsClient
mcp/src/minecraft/net/minecraft/client/network/NetHandlerPlayClient.java
97852
package net.minecraft.client.network; import com.elementfx.tvp.ad.client.gui.inventory.GuiRucksack; import com.elementfx.tvp.ad.entity.projectile.EntityCustomArrow; import com.elementfx.tvp.ad.entity.projectile.EntityCustomEgg; import com.elementfx.tvp.ad.entity.projectile.EntityThrowingStone; import com.elementfx.tvp...
gpl-3.0
otsaloma/gaupol
aeidon/test/test_file.py
2448
# -*- coding: utf-8 -*- # Copyright (C) 2005 Osmo Salomaa # # 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 pr...
gpl-3.0
Murerr/GERESA
htdocs/geresa/test/functional/MyModuleFunctionalTest.php
7370
<?php /* <one line to give the program's name and a brief idea of what it does.> * Copyright (C) <year> <name of author> * * 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 ...
gpl-3.0
ozzi-/Quizzenger
CSQ_SA/controller/controllers/logout.php
35
<?php $sessionModel->logout (); ?>
gpl-3.0
pinky39/grove
source/Grove/CardsLibrary/MeditationPuzzle.cs
1003
namespace Grove.CardsLibrary { using System.Collections.Generic; using AI.TimingRules; using Effects; public class MeditationPuzzle : CardTemplateSource { public override IEnumerable<CardTemplate> GetCards() { yield return Card .Named("Meditation Puzzle") .ManaCost("{3}{W}{W}")...
gpl-3.0
lkiesow/lf-portal
plugin/player/simpleengage.py
978
# -*- coding: utf-8 -*- ''' LF-Portal :: Simple Player Plugin ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ This plugin tries the include the Opencast Engage Player using a preset engage server and the episode identifier. This plugin needs the ENGAGE_SERVICE configuration parameter. :copyright: 2013 by Lars Kiesow <lkieso...
gpl-3.0
RedhawkSDR/integration-gnuhawk
components/tagged_file_sink_c/tests/test_tagged_file_sink_c.py
4079
#!/usr/bin/env python # # This file is protected by Copyright. Please refer to the COPYRIGHT file # distributed with this source distribution. # # This file is part of GNUHAWK. # # GNUHAWK is free software: you can redistribute it and/or modify is under the # terms of the GNU General Public License as published by ...
gpl-3.0
seiyria/landoftherair
src/server/effects/buffs/Invisible.ts
1209
import { SpellEffect } from '../../base/Effect'; import { Character } from '../../../shared/models/character'; import { Skill } from '../../base/Skill'; export class Invisible extends SpellEffect { iconData = { name: 'invisible', color: '#000', tooltipDesc: 'Hidden from the average sight.' }; maxS...
gpl-3.0
mimi89999/librus-client
app/src/main/java/pl/librus/client/ui/announcements/AnnouncementDetailsFragment.java
2979
package pl.librus.client.ui.announcements; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import java.util.Locale; import pl.librus.client.R; import pl.librus.client.data.Re...
gpl-3.0
OliPro007/FlickBaseball-Cpp
FlickBaseball/Main.cpp
1310
#include "SFML/Graphics.hpp" #include "Game.h" #include <iostream> #include <fstream> void loadLocale(fbb::Config& config); void loadConfig(fbb::Config& config); int main() { setlocale(LC_ALL, ""); sf::Clock* clock = new sf::Clock(); sf::Time beginTime = clock->getElapsedTime(); std::cout << "Creating game insta...
gpl-3.0
andreydil/Evo
src/Evo.Core/Universe/Mutator.cs
3161
using System; using System.Linq; using System.Runtime.Serialization; using Evo.Core.Basic; using Evo.Core.Units; namespace Evo.Core.Universe { [Serializable] public class Mutator { private readonly World _world; public Mutator(World world) { _world = wor...
gpl-3.0
RoadWorksSoftware/eyecu-qt
src/translations/uk/messagestyles.ts
7462
<?xml version="1.0" ?><!DOCTYPE TS><TS language="uk" sourcelanguage="en" version="2.0"> <context> <name>MessageStyleManager</name> <message> <source>Message Styles Manager</source> <translation>Менеджер стилів повідомлень</translation> </message> <message> <source>Allows to use different styles to dis...
gpl-3.0
dakside/shacc
HaccCoreModules/src/dakside/hacc/modules/accounting/accountposting/AccountingController.java
11562
/* * Copyright (C) 2009 Le Tuan Anh * * 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 i...
gpl-3.0
corburn/ISIS
isis/src/qisis/apps/cneteditor/APrioriLongitudeSigmaFilter.cpp
1920
#include "IsisDebug.h" #include "APrioriLongitudeSigmaFilter.h" #include "ControlPoint.h" #include "Longitude.h" namespace Isis { namespace CnetViz { APrioriLongitudeSigmaFilter::APrioriLongitudeSigmaFilter( AbstractFilter::FilterEffectivenessFlag flag, int minimumForSuccess) : AbstractNumberFilte...
gpl-3.0
kostovhg/SoftUni
ProgrammingFundamentals-E-May-17/t12_ArraysAndMethods-E/p10_CountOfNegativeElementsInArray/CountOfNegativeElementsInArray.cs
464
using System; using System.Linq; namespace p10_CountOfNegativeElementsInArray { class CountOfNegativeElementsInArray { static void Main(string[] args) { int n = int.Parse(Console.ReadLine()); int[] arr = new int[n]; for (int i = 0; i < n; i++) { ...
gpl-3.0
fppt/mindmapsdb
grakn-dashboard/src/controllers/visualiser.js
12269
import _ from 'underscore'; import Prism from 'prismjs'; import CodeMirror from 'codemirror'; import placeholder from 'codemirror/addon/display/placeholder.js'; import simpleMode from 'codemirror/addon/mode/simple.js'; import Visualiser from '../js/visualiser/Visualiser.js'; import * as HALParser from '../js/HAL/HALPa...
gpl-3.0
chinapacs/ImageViewer
ImageViewer/Tools/Reporting/View/WinForms/KeyImageClipboardComponentControl.Designer.cs
3434
namespace ClearCanvas.ImageViewer.Tools.Reporting.View.WinForms { partial class KeyImageClipboardComponentControl { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. ...
gpl-3.0
Drakalski/Belote
app/src/test/java/com/belote/belote/ExampleUnitTest.java
411
package com.belote.belote; import org.junit.Test; import static org.junit.Assert.*; /** * Example local unit test, which will execute on the development machine (host). * * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> */ public class ExampleUnitTest { @Test pub...
gpl-3.0
frits-scholer/pr
pr127/p127bit_v4.cpp
3833
#include <iostream> #include <utility> #include <vector> #include <cmath> #include <algorithm> #include <iterator> #include <numeric> #include <map> using namespace std; #define all(c) begin(c), end(c) #define sp << " " << const double min_cr = 0.637801; const int maxC = 50; const int maxCR = 400; t...
gpl-3.0
james-d-mitchell/semigroupsplusplus
src/cong-pair.cpp
3389
// // libsemigroups - C++ library for semigroups and monoids // Copyright (C) 2019 James D. Mitchell // // 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 // ...
gpl-3.0
rhertzog/tryton-account-fr
account.py
2815
# This file is part of Tryton. The COPYRIGHT file at the top level of # this repository contains the full copyright notices and license terms. from sql import Table from trytond.pool import PoolMeta from trytond.transaction import Transaction __all__ = ['TaxTemplate', 'TaxRuleTemplate'] __metaclass__ = PoolMeta c...
gpl-3.0
ivoanjo/phd-jaspexmls
contlib/src/contlib/ContinuationBenchmark1.java
1722
/* * contlib: JVM continuations on top of OpenJDK hotspot with custom patches * Copyright (C) 2015 Ivo Anjo <ivo.anjo@ist.utl.pt> * * This file is part of contlib. * * contlib is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Fre...
gpl-3.0
gaoxiangnumber1/Cpp-Primer-5th-Edition-Exercise-Solutions
CH01/1-16.cpp
209
#include <iostream> using std::cin; using std::cout; using std::endl; int main() { int sum = 0; for(int value = 0; cin >> value;) { sum += value; } cout << "The sum is " << sum << endl; return 0; }
gpl-3.0
dfhoughton/sleep_chart
chart.js
3470
function drawChart(data, id,opts) { // pull out some things of general interest // default options if ( opts == null ) { opts = { width: Math.round( data.length / 20 ), } } const {width,goal} = opts; if (goal == null) goal = 7; const c = document.getElementById(id), ctx = c.getContext('2d');...
gpl-3.0
Cr0s/JavaRA
src/cr0s/javara/render/map/InfantryPathfinder.java
1695
package cr0s.javara.render.map; import org.newdawn.slick.util.pathfinding.AStarHeuristic; import org.newdawn.slick.util.pathfinding.AStarPathFinder; import org.newdawn.slick.util.pathfinding.Mover; import org.newdawn.slick.util.pathfinding.Path; import org.newdawn.slick.util.pathfinding.TileBasedMap; import org...
gpl-3.0
elefher/AlienVsWolfAndroidGame
src/com/kilobolt/AlienVsWolf/Ring.java
1426
package com.kilobolt.AlienVsWolf; import java.util.ArrayList; import com.kilobolt.framework.Image; import android.graphics.Rect; public class Ring { public int centerX, centerY; private boolean visible = true; public int points; private Background bg = GameScreen.getBg1(); private Robot robot = GameScreen.ge...
gpl-3.0
dupengcheng/xxl-job
xxl-job-admin/src/main/java/com/xxl/job/admin/core/util/MailUtil.java
6889
package com.xxl.job.admin.core.util; import org.apache.commons.lang.ArrayUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.mail.javamail.JavaMailSender; import org.springframework.mail.javamail.JavaMailSenderImpl; import org.springframework.mail.javamail.MimeMessageHelpe...
gpl-3.0
Deeg-Kim/Everything-Dojo
include/themedb/mcp_body.php
5389
<?php $data = $themedb->get_mcp_styles(); ?> <h2>Theme Moderator Control Panel</h2> <div id="popup-box"> <h2 id="popup-header"></h2> <span style="color: white;">Confirm your action in the box below.</span> <div id="popup-wrapper"> <div id="popup-inner"> <div id="popup-form"> Are you sure you wan...
gpl-3.0
irgsmirx/Utilities
src/main/java/com/ramforth/utilities/triggering/implementation/conditions/generic/ComparerCondition.java
1885
/* * Copyright (C) 2014 Tobias Ramforth * * 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 prog...
gpl-3.0
XapaJIaMnu/gLM
misc_testing/gpu_trie_test_binary_v2.cpp
1805
#include "lm_impl.hh" #include "memory_management.hh" #include "gpu_search_v2.hh" #include <sstream> #include <chrono> #include <ctime> #include <boost/tokenizer.hpp> int main(int argc, char* argv[]) { LM lm(argv[1]); //Initiate gpu search unsigned char * btree_trie_gpu = copyToGPUMemory(lm.trieByteArray....
gpl-3.0
bridystone/baikal
vendor/sabre/dav/lib/DAV/Version.php
349
<?php namespace Sabre\DAV; /** * This class contains the SabreDAV version constants. * * @copyright Copyright (C) fruux GmbH (https://fruux.com/) * @author Evert Pot (http://evertpot.com/) * @license http://sabre.io/license/ Modified BSD License */ class Version { /** * Full version number */ ...
gpl-3.0
B3Partners/brmo
bgt-loader/src/main/java/nl/b3p/brmo/util/http/HttpResponseWrapper.java
829
/* * Copyright (C) 2021 B3Partners B.V. * * SPDX-License-Identifier: MIT * */ package nl.b3p.brmo.util.http; import java.io.IOException; import java.io.InputStream; /** * A wrapper around a HTTP response to provide access to the response status, headers and body. * * @author Matthijs Laan */ public interfac...
gpl-3.0
accross/softeng-py
teach/2.strings/variables.py
451
#variables.py - use of variables #andyp - lint=12 floater=3.14 vest="much muppetry" print (lint,floater, vest) lint = lint/5 floater=floater * 3 vest = vest + " in bash" print (lint,floater, vest) smallLint=lint oldFloater=floater lint=lint * 100 floater = int(floater/6) vest = vest + " " + str(smallLint) + str(o...
gpl-3.0
neo22s/jaf
core/tests/h_test.php
2512
<?php class h_test extends Test { public function __construct() { } public function autoload_test() { spl_autoload_register('H::autoload'); //locate core file $hook = new Hook(); //locate vendor $seo = new phpSEO(); self::add_note('l...
gpl-3.0
jiongjionger/NeverLag
src/main/java/cn/jiongjionger/neverlag/utils/ChunkInfo.java
1482
package cn.jiongjionger.neverlag.utils; import org.bukkit.Chunk; public class ChunkInfo { private String world; private int chunkx; private int chunkz; public ChunkInfo(Chunk chunk) { this.world = chunk.getWorld().getName(); this.chunkx = chunk.getX(); this.chunkz = chunk.getZ(); } /** * 警告: 此构造器中的 x,...
gpl-3.0
tudelft3d/matahn
matahn/database.py
1604
# This file is part of MATAHN. # MATAHN 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. # MATAHN is distributed in the hope that it w...
gpl-3.0
idega/is.idega.nest.rafverk
src/java/is/idega/nest/rafverk/bean/UpphafstilkynningRafverktoku.java
716
package is.idega.nest.rafverk.bean; import is.fmr.landskra.Fasteign; import is.idega.nest.rafverk.domain.Rafverktaka; import is.idega.nest.rafverk.domain.Rafverktaki; import is.idega.nest.rafverk.fmr.FMRLookupBean; import java.util.ArrayList; import java.util.List; public class UpphafstilkynningRafverktoku extends B...
gpl-3.0
ethereum/solidity
libsolidity/codegen/ir/IRGenerator.cpp
39200
/* This file is part of solidity. solidity 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. solidity is distributed in the hope that i...
gpl-3.0
gagallo7/P4S
SPOJ/Trigraphs/trigraphs4.cpp
2527
/* * ===================================================================================== * * Filename: trigraphs.cpp * * Description: * * Version: 1.0 * Created: 12/09/2014 07:30:28 PM * Reiision: none * Compiler: gcc * * Author: Guilherme Alcarde Gallo (...
gpl-3.0
ricecakesoftware/CommunityMedicalLink
ricecakesoftware.communitymedicallink.hl7/src/org/hl7/v3/KutchinHan.java
1172
package org.hl7.v3; import javax.xml.bind.annotation.XmlEnum; import javax.xml.bind.annotation.XmlEnumValue; import javax.xml.bind.annotation.XmlType; /** * <p>KutchinHanのJavaクラス。 * * <p>次のスキーマ・フラグメントは、このクラス内に含まれる予期されるコンテンツを指定します。 * <p> * <pre> * &lt;simpleType name="KutchinHan"> * &lt;rest...
gpl-3.0
pezhmanEX/beyond-self-bot
bot/bot.lua
13723
tdcli = dofile('./tg/tdcli.lua') serpent = (loadfile "./libs/serpent.lua")() feedparser = (loadfile "./libs/feedparser.lua")() require('./bot/utils') URL = require "socket.url" http = require "socket.http" https = require "ssl.https" ltn12 = require "ltn12" json = (loadfile "./libs/JSON.lua")() mimetype = (loadfile "...
gpl-3.0
adiwg/mdEditor
app/pods/components/object/md-taxonomy/component.js
745
import Component from '@ember/component'; import { computed } from '@ember/object'; import { inject as service } from '@ember/service'; export default Component.extend({ router: service(), title: computed('model.taxonomicSystem.0.citation.title', function() { let title = this.get('model.taxonomicSystem.0.citat...
gpl-3.0
KostaVlev/SmartStoreNETCore
SmartStoreNETCore/SmartStoreNetCore.Core/Entities/Shipment.cs
1280
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Runtime.Serialization; namespace SmartStoreNetCore.Core.Entities { [DataContract] public class Shipment : BaseEntity { private ICollection<S...
gpl-3.0
cheinle/NanoLIMS
functions/build_bulk_dna_table.php
11265
<?php //display table function build_bulk_dna_table($stmt,$root){ $path = $_SERVER['DOCUMENT_ROOT'].$root; include($path.'functions/convert_time.php'); //include('convert_header_names.php'); include($path.'functions/text_insert_update.php'); include($path.'functions/dropDown.php'); include($path.'/config/js.p...
gpl-3.0
jaxio/usi2011
src/test/java/usi2011/repository/QuestionRepositoryTest.java
2126
package usi2011.repository; import static org.fest.assertions.Assertions.assertThat; import static usi2011.Main.context; import static usi2011.util.Specifications.FIRST_QUESTION; import static usi2011.util.Specifications.MAX_NUMBER_OF_ANSWERS; import java.io.IOException; import org.junit.BeforeClass; import org.juni...
gpl-3.0
wilhelmsen/buoy-validation
libs/satellite.py
19474
# coding: utf-8 import logging import datetime import numpy as np import numpy.ma as ma import netCDF4 import os import datetimehelper import filterhelper import coordinatehelper import math # Define the logger LOG = logging.getLogger(__name__) ZERO_CELCIUS_IN_KELVIN = 273.15 class SatDataException(Exception): pa...
gpl-3.0
matusfaro/actiontrigger
actiontriggercommon/include/actiontrigger/controller/services/internal/triggerregex.hpp
1673
/* * ActionTrigger * Copyright (C) 2013 Matus Faro * * This file is part of ActionTrigger. * * ActionTrigger 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 ...
gpl-3.0
Lab21k/standalone-timeline
src/scripts/date-time.js
14999
/** * @fileOverview A collection of date/time utility functions * @name SimileAjax.DateTime */ SimileAjax.DateTime = new Object(); SimileAjax.DateTime.MILLISECOND = 0; SimileAjax.DateTime.SECOND = 1; SimileAjax.DateTime.MINUTE = 2; SimileAjax.DateTime.HOUR = 3; SimileAjax.DateTime.DAY = 4; SimileAjax.DateTime.WEEK...
gpl-3.0
Rafiot/GostCrypt-Linux
Platform/Unix/Pipe.cpp
1176
/* Copyright (c) 2008 TrueCrypt Developers Association. All rights reserved. Governed by the TrueCrypt License 3.0 the full text of which is contained in the file License.txt included in TrueCrypt binary and source code distribution packages. */ #include <unistd.h> #include "Pipe.h" #include "Platform...
gpl-3.0
rogerz/IEDExplorer
MMS_ASN1_Model/StartUnitControl_Error.cs
1719
// // This file was generated by the BinaryNotes compiler. // See http://bnotes.sourceforge.net // Any modifications to this file will be lost upon recompilation of the source ASN.1. // using System; using org.bn.attributes; using org.bn.attributes.constraints; using org.bn.coders; using org.bn.types; using org.bn;...
gpl-3.0
VladimirDeminenko/javascript.ru-nodejs
dropbox/vladimir.deminenko/03_2017-05-16/homework/get-post-server-task/dist/server/app.js
4945
/** * app.ts * Created by Vladimir Deminenko on 01.05.2017 */ "use strict"; exports.__esModule = true; var config = require("config"); var fs = require("fs"); var http = require("http"); var mime = require("mime"); var FILE_SIZE_LIMIT = config.get('fileSizeLimit'); var FILES_ROOT = config.get('filesRoot'); var INDEX...
gpl-3.0
daedalus4096/VAM
VAM_App/Model/Block/External/BlockSource.cs
1040
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace VAM_App.Model.Block.External { public class BlockSource { public BlockSource(EMinecraftModule module, BlockGameId id) { this.Module = module; th...
gpl-3.0
fvelosa/node-primes
routes/utils/primes/sequential.js
411
// Algorithm from http://brianhan.tumblr.com/post/46454945029 module.exports = sequential; function sequential(min, max) { var sieve = [], i, j, primes = []; for (i = 2; i <= max; ++i) { if (!sieve[i]) { // i has not been marked -- it is prime if (i >= min) { primes.push(i); }...
gpl-3.0
hpkns/laravel-html
src/HtmlServiceProvider.php
965
<?php namespace Hpkns\Html; use Collective\Html\HtmlServiceProvider as BaseProvider; class HtmlServiceProvider extends BaseProvider { /** * Bootstrap any application services. * * @return void */ public function boot() { $this->publishes([ __DIR__ . '/../config/htm...
gpl-3.0
RoosterEngine/RoosterEngine
src/gameengine/motion/motions/NoMotion.java
521
package gameengine.motion.motions; import gameengine.entities.Entity; /** * A {@link Motion} that will always return zero as it's velocity * * @author davidrusu */ public class NoMotion implements Motion { public NoMotion() { } @Override public double getVelocityX() { return 0; } ...
gpl-3.0
Shebella/HIPPO
clc/modules/wsstack/src/main/java/com/eucalyptus/ws/ServiceDispatchBootstrapper.java
7368
/******************************************************************************* *Copyright (c) 2009 Eucalyptus Systems, Inc. * * 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, only ver...
gpl-3.0
anoopvalluthadam/news_parsing
search.py
1700
import http.client as httplib import urllib import json import argparse def get_key(IP, PORT): params = urllib.parse.urlencode({'username': 'admin', 'password': 'iamadmin'}) headers = {"Content-type": "application/x-www-form-urlencoded", "Accept": "text/pl...
gpl-3.0
theritty/twitterEventDetectionClustering
src/main/java/topologyBuilder/BoltBuilder.java
17437
package topologyBuilder; import cassandraConnector.CassandraDao; import cassandraConnector.CassandraDaoHybrid; import cassandraConnector.CassandraDaoKeyBased; import eventDetectionHybrid.*; import eventDetectionKeybased.EventCompareBoltKeyBased; import eventDetectionKeybased.EventDetectorWithCassandraBoltKeyBased; imp...
gpl-3.0
jfreyss/spirit
src/com/actelion/research/spiritapp/ui/biosample/form/MetadataFormPanel.java
13475
/* * Spirit, a study/biosample management tool for research. * Copyright (C) 2018 Idorsia Pharmaceuticals Ltd., Hegenheimermattweg 91, * CH-4123 Allschwil, Switzerland. * * 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 ...
gpl-3.0
hostviralnetworks/nampy
nampy/core/DictList.py
8664
# This script is developed from DictList.py # in COBRApy, which was distributed # under GNU GENERAL PUBLIC LICENSE Version 3 # Ebrahim, A., Lerman, J. a, Palsson, B. O., & Hyduke, D. R. (2013). # COBRApy: COnstraints-Based Reconstruction and Analysis for Python. # BMC systems biology, 7(1), 74. doi:10.1186/1752-0509...
gpl-3.0
orivaldosantana/ECT2203LoP
tutorial/codigos/colisao.js
569
var tamMenor = 10; var tamMaior = 50; var x = 0; // os códigos de "setup" só executam uma vez function setup() { createCanvas(640, 480); } // os códigos de "draw" executam constantemente function draw() { background(0); x=x+2; if (dist(width/2, height/2,x, height/2) < (tamMenor + tamMaior)/2) { ...
gpl-3.0
CCAFS/MARLO
marlo-data/src/main/java/org/cgiar/ccafs/marlo/data/manager/impl/ProjectCrpContributionManagerImpl.java
2520
/***************************************************************** * This file is part of Managing Agricultural Research for Learning & * Outcomes Platform (MARLO). * MARLO is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Fr...
gpl-3.0
nemesis866/adminCodeando
app/scripts/resources/fileResource.js
1331
/************************************************ Servicio para obtener los archivos ************************************************/ // Recurso para GET (todos) y POST (function (){ 'use strict'; function FileResource ($resource, storageFactory) { var url = storageFactory.urlServer+'/files'; return $resourc...
gpl-3.0
twister65/com_jcomments
administrator/models/smiley.php
3852
<?php /** * JComments - Joomla Comment System * * @version 3.0 * @package JComments * @author Sergey M. Litvinov (smart@joomlatune.ru) * @copyright (C) 2006-2013 by Sergey M. Litvinov (http://www.joomlatune.ru) * @license GNU/GPL: http://www.gnu.org/copyleft/gpl.html */ defined('_JEXEC') or die; JTable::addIn...
gpl-3.0
anupkdas-nus/global_synapses
pyNN-dispackgaes/standardmodels/synapses.py
15134
# encoding: utf-8 """ Definition of default parameters (and hence, standard parameter names) for standard dynamic synapse models. Classes for specifying short-term plasticity (facilitation/depression): TsodyksMarkramSynapse Classes for defining STDP rules: AdditiveWeightDependence MultiplicativeWeightDepe...
gpl-3.0
epam/JDI
Java/Tests/jdi-httpTests/src/main/java/com/epam/jdi/httptests/SimpleService.java
754
package com.epam.jdi.httptests; import com.epam.http.annotations.*; import com.epam.http.requests.M; import static io.restassured.http.ContentType.HTML; import static io.restassured.http.ContentType.JSON; /** * Created by Roman_Iovlev on 9/25/2016. */ @ServiceDomain("http://httpbin.org/") public class SimpleServic...
gpl-3.0
magical-l/http-part
src/main/java/me/magicall/util/net/http/part/HttpMessage.java
994
package me.magicall.util.net.http.part; /** * http消息。http请求和http响应分别是两种不同的http消息。 * * @author Liang Wenjian */ public interface HttpMessage extends HttpPart { /** * 获取头区域。 * * @return */ HttpHeaderArea getHeaderArea(); default StartLine getStartLine(){ return getHeaderArea...
gpl-3.0
ghedlund/phon
components/src/main/java/ca/phon/ui/ipa/DefaultPhoneMapDisplayUI.java
24553
/* * Copyright (C) 2005-2020 Gregory Hedlund & Yvan Rose * * 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 applica...
gpl-3.0