repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
labgeo/siguanet-desktop
SharpMap/Web/Cache.cs
2504
// Copyright 2005, 2006 - Morten Nielsen (www.iter.dk) // // This file is part of SharpMap. // SharpMap is free software; you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation; either version 2 of the License, or // (at...
gpl-3.0
rubenswagner/L2J-Global
dist/game/data/scripts/handlers/admincommandhandlers/AdminInvul.java
3597
/* * This file is part of the L2J Global project. * * 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 p...
gpl-3.0
victorjacobs/jetbird
jetbird/include/configuration.manipulator.class.php
3864
<?php /* This file is part of Jetbird. Jetbird 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. Jetbird is dist...
gpl-3.0
tosinoni/SECP
SECP-service/src/test/java/com/visucius/secp/models/ReflectTool.java
1036
package com.visucius.secp.models; import java.lang.annotation.Annotation; import java.lang.reflect.Field; import java.lang.reflect.Method; public class ReflectTool { public static <T extends Annotation> T getMethodAnnotation( Class<?> c, String methodName, Class<T> annotation) { try { ...
gpl-3.0
depweb2/platform
panel_cours.php
7742
<?php ob_start(); require("/admin/verify_login.php"); if ($IS_LOGGED_IN) { ?> <!DOCTYPE html> <!-- dep.web 2.0 - panneau d'administration des sites web des élèves par andré-luc huneault 14 décembre 2015 --> <html> <head> <meta charset="UTF-8"> ...
gpl-3.0
Whitetigerswt/gtasa_crashfix
crashes/crashes/game_sa/CAnimBlendHierarchySA.cpp
593
/***************************************************************************** * * PROJECT: Multi Theft Auto v1.0 * LICENSE: See LICENSE in the top level directory * FILE: game_sa/CAnimBlendHierarchySA.cpp * PURPOSE: Animation blend hierarchy * DEVELOPERS: Jax <> * * Multi Theft Auto is availa...
gpl-3.0
sklintyg/webcert
web/src/main/java/se/inera/intyg/webcert/web/service/diagnos/DiagnosService.java
3320
/* * Copyright (C) 2022 Inera AB (http://www.inera.se) * * This file is part of sklintyg (https://github.com/sklintyg). * * sklintyg 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 t...
gpl-3.0
immartian/musicoin
js/src/dapps/localtx/Application/application.js
5359
// Copyright 2015, 2016 Parity Technologies (UK) Ltd. // This file is part of Parity. // Parity 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 la...
gpl-3.0
Hulva/blogme
models/comment.js
721
var mongoose = require('mongoose'); var BaseModel = require('./base_model'); var Schema = mongoose.Schema; var CommentSchema = new Schema({ article_id: {type: String}, // 文章id name: {type: String}, // 发表评论的人的用户名 title: {type: String}, // 评论的博文标题 head_image_url: {type: String},// 发表评论的人的头像 commenter...
gpl-3.0
waverzy/little
routes/login.js
850
var express = require('express'); var router = express.Router(); var User = require('../models/user.js'); router.get('/', function(req, res) { res.render('login', { title: 'Login' }); }); router.post('/', function(req, res) { var mobile = req.body.mobile, password = req.body.password; User.getBy...
gpl-3.0
gohdan/DFC
known_files/hashes/admin/view/javascript/ckeditor/plugins/a11yhelp/lang/vi.js
50
OpenCart 1.5.4 = 215d06cd865b5f3dc83b5c4dab59ff8c
gpl-3.0
ankursachdeva11/buynbrag
skin/adminhtml/default/default/aw_blog/js/tiny_mce/themes/simple/editor_template_src.js
3289
/** * $Id: editor_template_src.js 920 2008-09-09 14:05:33Z spocke $ * * This file is meant to showcase how to create a simple theme. The advanced * theme is more suitable for production use. * * @author Moxiecode * @copyright Copyright © 2004-2008, Moxiecode Systems AB, All rights reserved. */ (funct...
gpl-3.0
helsinkiAUV/auv
arduinoMain/motor.hpp
1524
/* * Motor class. * Created by Väinö Katajisto on May 27, 2017. * * This file is part of the University of Helsinki AUV source code. * * The AUV source code 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...
gpl-3.0
valtoni/file-scanner
src/main/java/info/boaventura/filescanner/search/Grep.java
3213
package info.boaventura.filescanner.search; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.nio.CharBuffer; import java.nio.MappedByteBuffer; import java.nio.channels.FileChannel; import java.nio.charset.Charset; import java.nio.charset.CharsetDecoder; import java.util.Arra...
gpl-3.0
YoannLaala/GorillaEngine
Resources/Asset/Gui/Editor/js/widgets/panels/world.js
3690
class WorldPanel extends Panel { constructor(layoutManager) { super(layoutManager, "World", [ { name: "Create GameObject", onClick: function () { var id = Editor.panels.world.getSelection(); Gorilla.GameObject.cr...
gpl-3.0
6f7262/go-chdl
main.go
2972
package main import ( "errors" "fmt" "io" "net/http" "os" "path/filepath" "time" "github.com/6f7262/go-chdl/board" "github.com/6f7262/pipe" humanize "github.com/dustin/go-humanize" kingpin "gopkg.in/alecthomas/kingpin.v2" ) var ( URL = kingpin.Arg("url", "Board or thread URL").Required().URL() ...
gpl-3.0
JNPA/DPAcalc
src/input/bin1.hpp
3057
/* Copyright 2014 João Amaral This file is part of DPA Calc. DPA Calc 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. DPA Calc is distr...
gpl-3.0
PascalSteger/NNfunclass
doc/src/FFitNN.java
10267
import java.text.DecimalFormat; import java.util.Date; import java.util.Vector; /** * FFitNN: feeds network with input/target pairs, invokes training, applies on * Input, returns most important function with scaling/transformation * * @author psteger * @date Jun 5, 2010 */ public class FFitNN extends Fitter { ...
gpl-3.0
Ferk/Dungeontest
mods/dungeon_artefacts/mechanisms/helpers/punchselect.lua
3260
mechanisms.registered_punchstates = {} mechanisms.punchstates = {} function mechanisms.register_punchstate(name, def) mechanisms.registered_punchstates[name] = def end function mechanisms.end_player_punchstate(player_name, punchstate_name) local state = mechanisms.punchstates[player_name] if punchstate_name and...
gpl-3.0
davidpodhola/piranhacmsoak-examples
MvcApplication6/Properties/AssemblyInfo.cs
1366
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Mv...
gpl-3.0
JacobMisirian/JacoChat
src/JacoChatClient/Properties/AssemblyInfo.cs
1404
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Ja...
gpl-3.0
rocky/python2-trepan
trepan/processor/command/jump.py
2922
# -*- coding: utf-8 -*- # Copyright (C) 2009, 2013, 2015 Rocky Bernstein # # 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 ...
gpl-3.0
anttisalonen/brigades2
src/brigades/WeaponQuery.cpp
1693
#include <stdexcept> #include "WeaponQuery.h" #define weapon_query_check() do { if(!queryIsValid()) {assert(0); throw std::runtime_error("invalid weapon query"); } } while(0) namespace Brigades { WeaponQuery::WeaponQuery(const WeaponPtr s) : mWeapon(s) { } bool WeaponQuery::queryIsValid() const { // TODO retur...
gpl-3.0
bcharron/spcplayer
attack-sample-rate.py
289
#!/usr/bin/python SAMPLES_PER_SECOND = 32000 attack_rates = [ 4.1, 2.6, 1.5, 1.0, 0.640, 0.380, 0.260, 0.160, 0.096, 0.064, 0.040, 0.024, 0.016, 0.010, 0.006, 0.000 ] for rate in attack_rates: print "%d, // %0.3f" % ((rate * SAMPLES_PER_SECOND) / (0x800 / 32), rate)
gpl-3.0
volkukan92/formulator-mathml
src/hmath/hmathast/src/data/group/mmd_group.cpp
38539
/**************************************************************************** ** ** Copyright (C) 2010 Andriy Kovalchuk, Vyacheslav Levytskyy, ** Igor Samolyuk, Valentyn Yanchuk (aka "Hermitech Laboratory") ** ** All rights reserved. ** Contact: Hermitech Laboratory (info@mmlsoft.com) ** ** This file is a part of the F...
gpl-3.0
brettc/bricolage
bricolage/dot_layout.py
11723
import pathlib from pygraphviz import AGraph from pyx_drawing import Diagram from bricolage.graph_maker import ( NodeType, BaseGraph, GraphType, decode_module_id, get_graph_by_type, node_logic_differs, ) from analysis import NetworkAnalysis _dot_default_args = '-Nfontname="Helvetica-8"' class...
gpl-3.0
m3rlin87/darkstar
scripts/globals/mobskills/osmosis.lua
890
--------------------------------------------- -- Osmosis -- -- Description: Steals an enemy's HP and one beneficial status dsp.effect. Ineffective against undead. -- Type: Magical --------------------------------------------- require("scripts/globals/monstertpmoves") require("scripts/globals/settings") require("scripts...
gpl-3.0
shitongtong/libraryManage
novel-reader-last/src/main/java/org/yidu/novel/action/admin/BlockListAction.java
2511
package org.yidu.novel.action.admin; import org.apache.commons.lang3.StringUtils; import org.apache.struts2.convention.annotation.Action; import org.yidu.novel.action.base.AbstractAdminListBaseAction; import org.yidu.novel.bean.SystemBlockSearchBean; import org.yidu.novel.entity.TSystemBlock; import org.yidu.novel.uti...
gpl-3.0
AlexAegis/elte-progtech-1
submission2/src/main/java/com/github/alexaegis/elements/PlayButton.java
1436
package com.github.alexaegis.elements; import com.github.alexaegis.logic.FieldSizeOptions; import com.github.alexaegis.logic.GameModes; import com.github.alexaegis.panels.GamePanel; import javax.swing.*; import java.awt.*; import static com.github.alexaegis.Main.*; import static com.github.alexaegis.Main.WINDOW_HEIG...
gpl-3.0
carlgreen/Lexicon-MPX-G2-Editor
mpxg2-model/src/main/java/info/carlwithak/mpxg2/model/PostMix.java
1978
/* * Copyright (C) 2012 Carl Green * * 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...
gpl-3.0
bipulr/moodle
lib/classes/event/role_deleted.php
2392
<?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 ...
gpl-3.0
xtwxy/dcim
modbus/src/main/java/com/wincom/protocol/modbus/AbstractModbusRequest.java
770
package com.wincom.protocol.modbus; import com.wincom.dcim.agentd.HandlerContext; import com.wincom.dcim.agentd.messages.AbstractWireable; import com.wincom.dcim.agentd.messages.Handler; /** * * @author master */ public abstract class AbstractModbusRequest extends AbstractWireable { AbstractModbusRequest(Hand...
gpl-3.0
NobleKiss/ContainerSystem
ContainerSystem/ContainerWeb/App_Start/BundleConfig.cs
1821
using System; using System.Collections.Generic; using System.Linq; using System.Web.Optimization; namespace ContainerWeb { public class BundleConfig { // For more information on bundling, visit https://go.microsoft.com/fwlink/?LinkId=301862 public static void RegisterBundles(BundleCollection b...
gpl-3.0
glamprou/bookings
lib/Database/DatabaseFactory.php
1212
<?php require_once(ROOT_DIR . 'lib/Config/namespace.php'); class DatabaseFactory { private static $_instance = null; public static function GetDatabase() { if (is_null(self::$_instance)) { $databaseType = Configuration::Instance()->GetSectionKey(ConfigSection::DATABASE, ConfigKeys::DATABASE_TYPE); $dbUs...
gpl-3.0
MendelMonteiro/TailBlazer
Source/TailBlazer/App.xaml.cs
326
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Threading.Tasks; using System.Windows; namespace TailBlazer { /// <summary> /// Interaction logic for App.xaml /// </summary> public partial class App : Application { ...
gpl-3.0
SPACEDAC7/TrabajoFinalGrado
uploads/34f7f021ecaf167f6e9669e45c4483ec/java_source/com/google/android/exoplayer/upstream/DataSource.java
473
/* * Decompiled with CFR 0_115. * * Could not load the following classes: * com.google.android.exoplayer.upstream.DataSpec */ package com.google.android.exoplayer.upstream; import com.google.android.exoplayer.upstream.DataSpec; import java.io.IOException; public interface DataSource { public void close() t...
gpl-3.0
Construo/construo
src/root_graphic_context.hpp
1746
// Construo - A wire-frame construction game // Copyright (C) 2002 Ingo Ruhnke <grumbel@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 3 of the License, or // (a...
gpl-3.0
PanzerKunst/hoffice
website/wp-content/themes/hoffice/js/hoffice/services/browser.js
2290
CBR.Services.Browser = { ScrollbarWidth: (function () { var _scrollbarWidth = null; function _getScrollarWidth() { var outer = document.createElement("div"); outer.style.visibility = "hidden"; outer.style.width = "100px"; outer.style.msOverflowStyle =...
gpl-3.0
dymkowsk/mantid
Framework/PythonInterface/plugins/algorithms/WorkflowAlgorithms/REFLReprocess.py
8168
#pylint: disable=no-init,invalid-name from __future__ import (absolute_import, division, print_function) from mantid.api import * from mantid.kernel import * from mantid.simpleapi import * import os import math import sys #pylint: disable=too-few-public-methods class REFLOptions(object): def __init__(self): ...
gpl-3.0
PHPBoost/PHPBoost
kernel/framework/builder/form/field/FormFieldRichTextEditor.class.php
5215
<?php /** * This class represents a rich text editor. * @package Builder * @subpackage Form\field * @copyright &copy; 2005-2022 PHPBoost * @license https://www.gnu.org/licenses/gpl-3.0.html GNU/GPL-3.0 * @author Benoit SAUTEL <ben.popeye@phpboost.com> * @version PHPBoost 6.0 - last up...
gpl-3.0
FlightControl-Master/MOOSE_MISSIONS
AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-050 - Resources/AID-A2A-050 - Resources.lua
2607
--- -- Name: AID-A2A-050 - Resources -- Author: FlightControl -- Date Created: 21 Sep 2017 -- Define a SET_GROUP object that builds a collection of groups that define the EWR network. -- Here we build the network with all the groups that have a name starting with DF CCCP AWACS and DF CCCP EWR. DetectionSetGroup = SET...
gpl-3.0
mcisse3007/moodle_esco_master
mod/nln/version.php
1282
<?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 ...
gpl-3.0
DidiMilikina/SoftUni
Programming Basics - C#/Exams/Programming Basics Exam - 19 March 2017 - Morning/Problem 02 - Cups/Properties/AssemblyInfo.cs
1410
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Pr...
gpl-3.0
asolitarywolf/LetsMod
src/main/java/com/modernbushcraft/letsmod/proxy/ClientProxy.java
98
package com.modernbushcraft.letsmod.proxy; public class ClientProxy extends CommonProxy { }
gpl-3.0
payeboland/python-telegram-bot-openshift
maker.py
2905
#!/usr/bin/env python # -*- coding: utf-8 -*- from PIL import Image from PIL import ImageFont from PIL import ImageDraw import arabic_reshaper from random import randint from bidi.algorithm import get_display def maker1_f(name,phone,desc,email,website): img = Image.open("f1.png") draw = ImageDraw.Draw(img) ...
gpl-3.0
cyberchimps/responsive
tests/tests/_support/Helper/Customizer.php
185
<?php namespace Helper; // here you can define custom actions // all public methods declared in helper class will be available in $I class Customizer extends \Codeception\Module { }
gpl-3.0
241180/Oryx
oryx-crypt/src/com/oryx/interfaces/VerifyingStream.java
1818
/* * Copyright 2008 Google 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 agreed to...
gpl-3.0
mguetlein/CheS-Map
src/alg/align3d/MaxFragAligner.java
2832
package alg.align3d; import java.util.List; import main.Settings; import main.TaskProvider; import data.ClusterDataImpl; import data.DatasetFile; import data.fragments.MatchEngine; import dataInterface.ClusterData; import dataInterface.CompoundData; import dataInterface.CompoundProperty; import dataInterface.Fragment...
gpl-3.0
ramsodev/DitaManagement
dita/dita.reference/src/net/ramso/dita/reference/Coderef.java
1794
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2014.08.02 at 08:10...
gpl-3.0
chenglongcl/blog
Application/Common/Conf/webconfig.php
854
<?php return array( //'配置项'=>'配置值' /* * 网站设置 */ 'UPLOADIMG_PATH' => './Uploads/img/',//默认图片上传目录 'IMAGE_TITLE_ALT_WORD' => 'MYBLOG', //邮箱设置 'EMAIL_SMTP' => 'smtp.163.com', // SMTP服务器 'EMAIL_USERNAME' => 'qinsmoon910106@163.com', //...
gpl-3.0
takisd123/executequery
src/org/executequery/gui/erd/ErdLineStyleDialog.java
14871
/* * ErdLineStyleDialog.java * * Copyright (C) 2002-2017 Takis Diakoumis * * 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 any later version. * * ...
gpl-3.0
offbye/Tower
Android/src/com/o3dr/services/android/lib/drone/companion/solo/tlv/mpcc/SoloSplineAttach.java
2952
package com.o3dr.services.android.lib.drone.companion.solo.tlv.mpcc; import android.os.Parcel; import android.os.Parcelable; import com.o3dr.services.android.lib.drone.companion.solo.tlv.TLVMessageTypes; import com.o3dr.services.android.lib.drone.companion.solo.tlv.TLVPacket; import java.nio.ByteBuffer; /** * * B...
gpl-3.0
pantelis60/L2Scripts_Underground
gameserver/src/main/java/l2s/gameserver/network/l2/s2c/ExPledgeWaitingUser.java
377
package l2s.gameserver.network.l2.s2c; /** * @author GodWorld * @reworked by Bonux **/ public class ExPledgeWaitingUser extends L2GameServerPacket { private final int _charId; private final String _desc; public ExPledgeWaitingUser(int charId, String desc) { _charId = charId; _desc = desc; } protected voi...
gpl-3.0
xoddark/ArxLibertatis
tools/profiler/ProfilerMain.cpp
1232
/* * Copyright 2014 Arx Libertatis Team (see the AUTHORS file) * * This file is part of Arx Libertatis. * * Arx Libertatis 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...
gpl-3.0
SpoutDev/BukkitBridge
src/main/java/org/spout/bridge/bukkit/entity/BridgeComplexPart.java
1358
/* * This file is part of BukkitBridge. * * Copyright (c) 2012 Spout LLC <http://www.spout.org/> * BukkitBridge is licensed under the GNU General Public License. * * BukkitBridge is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the ...
gpl-3.0
bildzeitung/hind
lua/libraries/loveframes/objects/internal/columnlist/columnlist-row.lua
4806
--[[------------------------------------------------ -- LÖVE Frames -- -- By Nikolai Resokav -- --]]------------------------------------------------ -- columnlistrow object columnlistrow = class("columnlistrow", base) columnlistrow:include(loveframes.templates.default) --[[------------------------------------------...
gpl-3.0
lgulyas/MEME
Plugins/intellisweepPlugin/ai/aitia/meme/paramsweep/intellisweepPlugin/utils/ga/DefaultMutation.java
4375
/******************************************************************************* * Copyright (C) 2006-2013 AITIA International, 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, eithe...
gpl-3.0
LouisStrous/LUX
src/idl.cc
12149
/* This is file idl.cc. Copyright 2013-2014 Louis Strous This file is part of LUX. LUX 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. LU...
gpl-3.0
rAthenaCN/rAthenaCN
src/map/achievement.cpp
31755
// Copyright (c) rAthena Dev Teams - Licensed under GNU GPL // For more information, see LICENCE in the main folder #include "achievement.hpp" #include <array> #include <setjmp.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <yaml-cpp/yaml.h> #include "../common/cbasetypes.hpp" #include "../co...
gpl-3.0
596acres/django-livinglots-template
project_name/project_name/wsgi.py
848
""" WSGI config for {{ project_name }}. This module contains the WSGI application used by Django's development server and any production WSGI deployments. It should expose a module-level variable named ``application``. Django's ``runserver`` and ``runfcgi`` commands discover this application via the ``WSGI_APPLICATION...
gpl-3.0
gohdan/DFC
known_files/hashes/bitrix/modules/forum/install/components/bitrix/forum.message.send/lang/en/component.php
61
Bitrix 16.5 Business Demo = 5ea153a89857e1baf331a86f985ad877
gpl-3.0
Moliholy/4-In-A-Row-JADE
src/multiagentes/jade/cuatroenraya/Player.java
14156
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package multiagentes.jade.cuatroenraya; import cuatroenraya.OntologiaCuatroEnRaya; import cuatroenraya.elementos.Ficha; import cuatroenraya.elementos.Ganador; import cuatroenraya.elementos.Jugador; import cuat...
gpl-3.0
Mapleroid/cm-server
server-5.11.0.src/com/cloudera/server/web/cmf/bdr2/ReplicationsBaseImpl.java
9049
package com.cloudera.server.web.cmf.bdr2; import com.cloudera.server.web.common.I18n; import java.io.IOException; import java.io.Writer; import org.jamon.AbstractTemplateImpl; import org.jamon.TemplateManager; import org.jamon.emit.StandardEmitter; import org.jamon.escaping.Escaping; public abstract class R...
gpl-3.0
Alberto-Beralix/Beralix
i386-squashfs-root/usr/share/pyshared/orca/scripts/apps/planner/script.py
1875
# Orca # # Copyright 2006-2008 Sun Microsystems Inc. # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published by the Free Software Foundation; either # version 2.1 of the License, or (at your option) any later version. # # This...
gpl-3.0
ILogre/ToyExample
src/equation/Complex.java
502
package equation; /** * Created by ivan on 15/09/2014. */ public class Complex extends Expression{ private Expression left; private Operator op; private Expression right; public Complex(Expression left, Operator op, Expression right) { super(); this.left = left; this.op = op...
gpl-3.0
chanzler/piwik-performance-monitor
Menu.php
630
<?php /** * Piwik - free/libre analytics platform * * @link http://piwik.org * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later * */ namespace Piwik\Plugins\PerformanceMonitor; use Piwik\Menu\MenuTop; use Piwik\Piwik; class Menu extends \Piwik\Plugin\Menu { public function configureTopMenu...
gpl-3.0
sozemego/multilife
server/src/main/java/soze/multilife/messages/incoming/IncomingMessageConverter.java
2574
package soze.multilife.messages.incoming; import java.io.UnsupportedEncodingException; import java.nio.ByteBuffer; import java.util.Optional; public class IncomingMessageConverter { private static final PingMessage PING_MESSAGE = new PingMessage(); public static Optional<IncomingMessage> convert(byte[] payload)...
gpl-3.0
devbridge/BetterCMS
Modules/BetterCms.Module.Api.Abstractions/Operations/Pages/Sitemaps/Sitemap/Tree/SitemapTreeNodeModel.cs
4397
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="SitemapTreeNodeModel.cs" company="Devbridge Group LLC"> // // Copyright (C) 2015,2016 Devbridge Group LLC // // This program is free software: you can redistribute it and/or mod...
gpl-3.0
lawl-dev/Kiwi
src/Kiwi.Lexer/Properties/AssemblyInfo.cs
1473
using System.Reflection; using System.Runtime.InteropServices; // Allgemeine Informationen über eine Assembly werden über die folgenden // Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern, // die einer Assembly zugeordnet sind. [assembly: AssemblyTitle("Kiwi.Lexer")] [assembly: As...
gpl-3.0
droidefense/engine
mods/simplemagic/src/main/java/com/j256/simplemagic/logger/Logger.java
19636
package com.j256.simplemagic.logger; import com.j256.simplemagic.logger.Log.Level; /** * Class which wraps our {@link Log} interface and provides {} argument features like slf4j. It allows us to plug in * additional log systems if necessary. * <p> * <p> * <b>NOTE:</b> We do the (msg, arg0), (msg, arg0, arg1), (m...
gpl-3.0
juzzlin/DustRacing2D
src/game/MiniCore/src/Asset/mcsurfaceconfigloader.cc
10264
// This file belongs to the "MiniCore" game engine. // Copyright (C) 2015 Jussi Lind <jussi.lind@iki.fi> // // 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,...
gpl-3.0
lucabaldini/ixpepg
Geometry/src/ixpeHexagonalGrid.cpp
2742
/*********************************************************************** Copyright (C) 2017 the Imaging X-ray Polarimetry Explorer (IXPE) team. For the license terms see the file LICENSE, distributed along with this software. This program is free software; you can redistribute it and/or modify it under the terms of t...
gpl-3.0
kriztan/Pix-Art-Messenger
src/main/java/eu/siacs/conversations/entities/ReadByMarker.java
5511
package eu.siacs.conversations.entities; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import java.util.Collection; import java.util.Set; import java.util.concurrent.CopyOnWriteArraySet; import eu.siacs.conversations.xmpp.Jid; public class ReadByMarker { private ReadByMa...
gpl-3.0
unicesi/academ
ACADEM-EJBClient/ejbModule/co/edu/icesi/academ/bo/UsuarioBO.java
1884
/** * Copyright © 2013 Universidad Icesi * * This file is part of ACADEM. * * ACADEM 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. ...
gpl-3.0
jhjguxin/PyCDC
pycdc-v1.0.py
1731
# -*- coding: utf-8 -*- import sys,cmd from cdctools import * class PyCDC(cmd.Cmd): def __init__(self): cmd.Cmd.__init__(self)#initialize the base class self.CDROM='/media/cdrom0' # self.CDROM=os.getcwd() self.CDDIR='cdc/' self.prompt='(PyCDC)>' self.intro='''PyCDC v1.0 使用说明: dir 目录名 #指定保存和搜索目录...
gpl-3.0
expez/EASY
EASY/src/edu/ntnu/EASY/IntegerArrayFitnessCalculators.java
1502
/*Copyright (C) 2012 Lars Andersen, Tormund S. Haus. larsan@stud.ntnu.no tormunds@stud.ntnu.no EASY 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 ...
gpl-3.0
tsdfsetatata/xserver
config/server/fb_yxtz_005Table.lua
348
local fb_yxtz_005 = { [1000001] = { ['uid'] = 1000001, ['ID'] = 151005089, ['ResType'] = "Monster", ['PointPosX'] = 68.56927, ['PointPosY'] = 59.5217, ['PointPosZ'] = 44.76086, ['Yaw'] = 0, ['Level'] = 34, ['TargetInfoList'] = { } ...
gpl-3.0
mikemirten/ZExt
library/ZExt/Validator/Digits.php
1381
<?php /** * ZExt Framework (http://z-ext.com) * Copyright (C) 2012 Mike.Mirten * * 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 3 of the License, or * (at ...
gpl-3.0
bkazez/bmpm-cpp
bmpm-cpp/languages.cpp
2466
#include "cpp/php2cpp.h" #ifndef LANGUAGES_CPP #define LANGUAGES_CPP #include "languages.h" php_type Language(php_type name, php_type rules, php_type allLanguagesBitmap) { // convert $name to utf8 name = utf8_encode(name); // takes care of things in the upper half of the ascii chart, e.g., u-umlaut ...
gpl-3.0
idega/platform2
src/com/idega/user/presentation/SubsetSelector.java
4566
package com.idega.user.presentation; import com.idega.util.IWColor; import com.idega.idegaweb.browser.presentation.IWBrowserView; import com.idega.presentation.*; import com.idega.event.IWPresentationEvent; import com.idega.user.event.PartitionSelectEvent; import com.idega.presentation.text.Link; /** * <p>Title: ide...
gpl-3.0
fabienbaron/splash
src/mse.cpp
470
#include "core.h" #include "similarityMetric.h" #include "mse.h" calcMSE :: calcMSE() { for (int i = 0; i < 4; i++) mse.val[i] = -1; } float calcMSE :: compare(const Mat &mat1, const Mat &mat2) { //creating diff and difference squares Mat diff; Mat diff_sq; absdiff(mat1, mat2, diff); pow(diff, 2, dif...
gpl-3.0
jindrapetrik/jpexs-decompiler
libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/action/model/TargetPathActionItem.java
3504
/* * Copyright (C) 2010-2021 JPEXS, All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 3.0 of the License, or (at your option) any later versi...
gpl-3.0
ruymanengithub/vison
vison/eyegore/eyeObs.py
11189
#!/usr/bin/env python2 # -*- coding: utf-8 -*- """ Eyegore: Exposure Log Monitoring. Created on Fri Oct 13 16:22:36 2017 :author: raf """ # IMPORT STUFF from pdb import set_trace as stop #import matplotlib # matplotlib.use("TkAgg") import glob from astropy.table import Table import os import time import string as...
gpl-3.0
Jules-/terraingis
src/TerrainGIS/src/cz/kalcik/vojta/shapefilelib/files/shp/shapeTypes/ShpPolyVertices.java
9576
/** * shapefilelib * based on Thomas Diewald's diewald_shapeFileReader * http://thomasdiewald.com/blog/?p=1382 * * Copyright (c) 2013 Vojtech Kalcik - http://vojta.kalcik.cz/ * * This program is free software: you can redistribute it and/or modify * it under the terms of the GN...
gpl-3.0
thomasfannes/gf2algebra
gf2Algebra/gf256.hpp
1942
/******************************************************************* * Copyright (c) 2010-2013 MiGraNT - DTAI.cs.kuleuven.be * License details in the root directory of this distribution in * the LICENSE file ********************************************************************/ #ifndef GF2ALGEBRA_GF256_HPP #define GF2A...
gpl-3.0
00-Evan/shattered-pixel-dungeon-gdx
core/src/com/shatteredpixel/shatteredpixeldungeon/items/stones/StoneOfIntuition.java
8809
/* * Pixel Dungeon * Copyright (C) 2012-2015 Oleg Dolya * * Shattered Pixel Dungeon * Copyright (C) 2014-2019 Evan Debenham * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either ver...
gpl-3.0
ddeeps2610/NLP_PA2_QA
src/qa/QuestionProcessing/IQuestionReader.java
264
/** * */ package qa.QuestionProcessing; import java.util.LinkedList; import qa.IQuestion; /** * @author Deepak * */ public interface IQuestionReader { public LinkedList<IQuestion> readQuestions(); public void classifyQuestions(); }
gpl-3.0
jakenjarvis/ChatLoggerPlus
src/com/tojc/minecraft/mod/ChatLogger/Plugin/Order/PluginOrderStatus.java
5143
/* * ChatLoggerPlus (Minecraft MOD) * * Copyright (C) 2012 Members of the ChatLoggerPlus project. * * 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
anarang/robottelo
robottelo/cli/proxy.py
3221
# -*- encoding: utf-8 -*- """ Usage:: hammer proxy [OPTIONS] SUBCOMMAND [ARG] ... Parameters:: SUBCOMMAND subcommand [ARG] ... subcommand arguments Subcommands:: create Create a smart proxy. delete Delete a sma...
gpl-3.0
srinivasanmit/all-in-all
codewars/find_next_square.py
555
import math def find_next_square(n) : sqrt_of_n = int(math.sqrt(n)) return (sqrt_of_n+1)**2 if sqrt_of_n ** 2 == n else -1 print find_next_square(121) print find_next_square(625) print find_next_square(114) print find_next_square(319225) print find_next_square(15241383936) print find_next_square(155) print fin...
gpl-3.0
peterfuture/dttv-android
dttv/dttv-samples/src/main/java/dttv/app/frament/LocalVideoFragment.java
5487
package dttv.app.frament; import android.content.Context; import android.content.Intent; import android.database.Cursor; import android.provider.MediaStore; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Adapte...
gpl-3.0
KermitCode/keframe-php.framework
keframe/corehelp/KermitCode.class.php
4143
<?php /************************* *Note: :生成验证码类 *Author :Kermit *QQ :956952515 *note :中国.山东.青岛 *date :2014-12 keframe:仅为自己方便而写,不做为对外应用. 格言:适合自己的就是最好的!我只为自己代言。 ************************/ #控制器中调用示例:$this->KE('kermitCode')->makecode(2,5,50,30)->createcode(); class KermitCode{ private $codetype; //验证码类别 ...
gpl-3.0
VinyPinheiro/DeManS
system/tests/MemberTest.java
5278
import java.text.DateFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; import exception.AddressException; import exception.MemberException; import exception.UfException; import junit.framework.TestCase; import model.Address; import model.Membe...
gpl-3.0
plusend/DiyCode
app/src/main/java/com/plusend/diycode/util/PrefUtil.java
7521
package com.plusend.diycode.util; import android.content.Context; import android.content.SharedPreferences; import android.content.SharedPreferences.Editor; import com.plusend.diycode.model.user.entity.Token; import com.plusend.diycode.model.user.entity.UserDetailInfo; import java.io.IOException; import java.security....
gpl-3.0
cSploit/android.MSF
lib/anemone/storage.rb
882
module Anemone module Storage def self.Hash(*args) hash = Hash.new(*args) # add close method for compatibility with Storage::Base class << hash; def close; end; end hash end def self.PStore(*args) require 'anemone/storage/pstore' self::PStore.new(*args) end d...
gpl-3.0
MaxTyutyunnikov/lino
lino/utils/dataserializer.py
4365
## Copyright 2009 Luc Saffre ## This file is part of the Lino project. ## Lino 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. ## L...
gpl-3.0
Walkman100/TSGE
frmMain.cs
120123
// ----------------------------------------------------------------------- // This file is part of TSGE. // // TSGE 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...
gpl-3.0
OpenJEVis/JEAPI-WS
src/main/java/org/jevis/jeapi/ws/REQUEST.java
3954
/** * Copyright (C) 2016 Envidatec GmbH <info@envidatec.com> * * This file is part of JEAPI-WS. * * JEAPI-WS 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 in version 3. * * JEAPI-WS is distributed in...
gpl-3.0
mdlenslyon/moodle
lib/yui/build/moodle-core-lockscroll/moodle-core-lockscroll-debug.js
4675
YUI.add('moodle-core-lockscroll', function (Y, NAME) { /** * Provides the ability to lock the scroll for a page, allowing nested * locking. * * @module moodle-core-lockscroll */ /** * Provides the ability to lock the scroll for a page. * * This is achieved by applying the class 'lockscroll' to the body Node....
gpl-3.0
fernandomv3/Molecule-Viewer
src/render/GLProgram.cpp
4471
#include "render/GLProgram.h" #include <cstdio> #include <string.h> GLProgram::GLProgram(){ this->vertexShader =0; this->fragmentShader=0; this->program=0; this->uniforms = new struct uniforms; this->uniforms->unifModelMatrix = 0; this->uniforms->unifBlockMatrices =0; this->uniforms->unifBlockDir...
gpl-3.0