repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
smarr/Truffle
compiler/src/org.graalvm.compiler.truffle.test/src/org/graalvm/compiler/truffle/test/AbstractSplittingStrategyTest.java
9131
/* * Copyright (c) 2011, 2020, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
gpl-2.0
kazuyaujihara/osra_vs
GraphicsMagick/scripts/rst2htmldeco.py
8024
#!/usr/bin/env python # vim:ts=4:sw=4:expandtab #* Author: Mark Mitchell #* Copyright 2005-2008 Mark Mitchell, All Rights Reserved #* License: see __license__ below. __doc__ = """ Renders reStructuredText files to HTML using the custom docutils writer docutils_htmldeco_writer, which inserts a common header and navi...
gpl-2.0
victoralex/gameleon
public_admin/components/translationEditor/translationEditor.php
6927
<? class Component extends ComponentDefault { // Data transfer errors const ERR_INVALID_LANGUAGE = 501; const ERR_INVALID_AREA = 502; const ERR_COMPONENT_NAME = 503; // Server errors const ERR_NONEXISTENT_AREA = 601; const ERR_NONEXISTENT_COMPONENT = 602; const ERR_NO_CONTENT = 603; const ERR_I...
gpl-2.0
acappellamaniac/eva_website
sites/all/modules/civicrm/CRM/Contact/Page/SavedSearch.php
5569
<?php /* +--------------------------------------------------------------------+ | CiviCRM version 4.6 | +--------------------------------------------------------------------+ | Copyright CiviCRM LLC (c) 2004-2015 | +---------------...
gpl-2.0
ugosan/rox-legacy
src/org/ugosan/rox/grafo/Vertice.java
8521
/* Rox - Teoria dos Grafos Copyright (C) 2003 Ugo Braga Sangiorgi A licensa completa se encontra no diretório-raiz em gpl.txt */ package org.ugosan.rox.grafo; import java.io.*; import java.lang.*; import javax.imageio.*; import org.ugosan.rox.*; import org.ugosan.rox.dialogs.ImageCache; import java.awt....
gpl-2.0
52North/SES
52n-ses-eml-001/src/main/java/org/n52/ses/eml/v001/filter/spatial/BeyondFilter.java
2002
/** * Copyright (C) 2008 - 2014 52°North Initiative for Geospatial Open Source * Software GmbH * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 as published * by the Free Software Foundation. * * If the program is ...
gpl-2.0
EmperorArthur/VBA-M
src/gba/RTC.cpp
7894
#include "../System.h" #include "GBA.h" #include "Globals.h" #include "../common/Port.h" #include "../Util.h" #include "../NLS.h" #include <time.h> #include <memory.h> #include <string.h> enum RTCSTATE { IDLE = 0, COMMAND, DATA, READDATA }; typedef struct { u8 byte0; u8 byte1; u8 byte2; u8 comman...
gpl-2.0
GeoYS/ldgrowth
src/com/aqua/ludum/growth/map/ComputerPlant.java
503
package com.aqua.ludum.growth.map; import com.badlogic.gdx.graphics.Color; import com.badlogic.gdx.graphics.g2d.SpriteBatch; /** * * @author Duane Byer */ public class ComputerPlant extends Plant { public ComputerPlant(Terrain terrain, Point position) { super(terrain, position); }...
gpl-2.0
zcaliptium/Serious-Engine
Sources/Entities/Common/PathFinding.cpp
8743
/* Copyright (c) 2002-2012 Croteam Ltd. This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without...
gpl-2.0
shaise/FreeCAD_FastenersWB
fnwb_locator.py
1007
# -*- coding: utf-8 -*- ################################################################################### # # fnwb_locator.py # # Copyright 2015 Shai Seger <shaise at gmail dot com> # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License ...
gpl-2.0
emeraldstudio/outlets
templates/outletcolombia/html/com_content/category/places.php
4522
<?php // no direct access defined('_JEXEC') or die; JHtml::addIncludePath(JPATH_COMPONENT.'/helpers'); $get = JRequest::get(); $children = $this->category->getChildren(); $doc = JFactory::getDocument(); $template = JURI::base() . "templates/feriaburo"; $category = $this->category; $seccion = $get['seccion']; i...
gpl-2.0
reactormonk/nmm
Oblivion/OblivionGameMode.cs
3861
using System.IO; using Nexus.Client.Games.Gamebryo; using Nexus.Client.Games.Oblivion.Tools; using Nexus.Client.Games.Tools; using Nexus.Client.Util; namespace Nexus.Client.Games.Oblivion { /// <summary> /// Provides information required for the programme to manage Oblivion plugins and mods. /// </summar...
gpl-2.0
tempbottle/pop-cpp
lib/core/memspool.cc
821
/** * File : memspool.cc * Author : Tuan Anh Nguyen * Description : Implementation of the memory management * Creation date : - * * Modifications : * Authors Date Comment */ #include <stdio.h> #include <stdlib.h> #include "pop_memspool.h" #include "pop_exception.h" pop_memspool::pop_memspool(...
gpl-2.0
rex-xxx/mt6572_x201
libcore/luni/src/main/java/java/text/SimpleDateFormat.java
55753
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
gpl-2.0
hop-/Flyy
src/base_object.cpp
1260
#include "base_object.hpp" using namespace Flyy; using namespace Flyy::Base; //////////////////////////////////////////////////////////////// Position::Position(int px, int py) : x(px), y(py) {} Position& Position::operator=(const Position& p) { x = p.x; y = p.y; return *this; } //////////////...
gpl-2.0
chris-wood/SCoNet
ns-3-dev/src/ccnSIM/model/fw/per-fib-limits.cc
2765
/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2012 University of California, Los Angeles * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation...
gpl-2.0
jiteshtandel/04CP018_no_son
wp-content/themes/getknowtion/js/bbpress/editor.js
1399
jQuery(document).ready( function() { /* Use backticks instead of <code> for the Code button in the editor */ if ( typeof( edButtons ) !== 'undefined' ) { edButtons[110] = new QTags.TagButton( 'code', 'code', '`', '`', 'c' ); QTags._buttonsInit(); } /* Tab from topic title */ jQuery( '#bbp_topic_title' ).bind...
gpl-2.0
tolymhlv/trider
administrator/components/com_jshopping/views/category/view.html.php
880
<?php defined( '_JEXEC' ) or die( 'Restricted access' ); jimport( 'joomla.application.component.view'); class JshoppingViewCategory extends JViewLegacy { function displayList($tpl=null){ JToolBarHelper::title( _JSHOP_TREE_CATEGORY, 'generic.png' ); JToolBarHelper::addNew(); ...
gpl-2.0
mweltin/neuralpy
neuralpy/neuralpyexceptions.py
768
class MissingTransferFunctionError(Exception): """' This exception is raised when a node's transfer function is call and it is undefined. The node base class raises this exceptions. Networks should always be build with a node derived class. """ def __init__(self, value): self.value = ...
gpl-2.0
xingh/magix
Magix-Brix/Magix.Brix.Loader/Properties/AssemblyInfo.cs
1761
/* * Magix - A Web Application Framework for Humans * Copyright 2010 - 2011 - Ra-Software, Inc. - thomas.hansen@winergyinc.com * Magix is licensed as GPLv3, or Commercially for Proprietary Projects through Ra-Software. */ using System.Reflection; using System.Runtime.InteropServices; // General Informat...
gpl-2.0
diging/quadriga
Quadriga/src/main/java/edu/asu/spring/quadriga/service/publicwebsite/IPublicPageBlockLinkTargets.java
567
package edu.asu.spring.quadriga.service.publicwebsite; /** * This interface holds constants to describe what the text blocks * on the home page of the public website can link to. * * @author Julia Damerow * */ public interface IPublicPageBlockLinkTargets { public final static String ABOUT = "ABOUT"; pu...
gpl-2.0
meletakis/collato
esn/api/api.py
6761
from tastypie.authorization import Authorization import copy from tastypie.resources import ModelResource, ALL, Resource from tastypie import fields from django.contrib.auth.models import User from roleapp.models import Role from userprofiles.models import UserProfile from relationships.models import RelationshipStatu...
gpl-2.0
salem/aman
skins/js/tinymce/themes/advanced/js/color_picker.js
11268
tinyMCEPopup.requireLangPack(); var detail = 50, strhex = "0123456789abcdef", i, isMouseDown = false, isMouseOver = false; var colors = [ "#000000","#000033","#000066","#000099","#0000cc","#0000ff","#330000","#330033", "#330066","#330099","#3300cc","#3300ff","#660000","#660033","#660066","#660099", "#6600cc...
gpl-2.0
galo2099/golaberto
db/migrate/007_add_game_version.rb
715
class AddGameVersion < ActiveRecord::Migration def self.up Game.create_versioned_table create_table :game_goals_versions, :id => false, :force => true do |t| t.column :game_version_id, :integer, :default => 0, :null => false t.column :goal_id, :integer, :default => 0, :null => false end Ga...
gpl-2.0
Dioud/Url-Shortener
project/src/com/supinfo/project/servlet/LogoutServlet.java
690
package com.supinfo.project.servlet; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; /** * Servlet permettant de se délogger. ...
gpl-2.0
repstd/modified_vlc
modules/gui/qt4/dialogs/firstrun.moc.cpp
2740
/**************************************************************************** ** Meta object code from reading C++ file 'firstrun.hpp' ** ** Created: Mon Dec 7 17:03:18 2015 ** by: The Qt Meta Object Compiler version 63 (Qt 4.8.2) ** ** WARNING! All changes made in this file will be lost! *************************...
gpl-2.0
unktomi/form-follows-function
f3jdi/src/org/f3/tools/debug/expr/ExpressionParserTokenManager.java
53729
/* * Copyright 1999-2001 Sun Microsystems, Inc. All Rights Reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Fou...
gpl-2.0
renevanpelt/CreateJS-boilerplate
phaser/player.js
2677
 Player = function(game, x, y){ //Call parent constructor Phaser.Sprite.call(this, game, x, y, 'player' ); game.add.existing(this);//Add player to game. //Player Properties this.facing = 'left'; this.isIdle = false; this.jumpTimer = 0; this.shootTimer = 0; //Jump sound this.jumpsound = game.add.aud...
gpl-2.0
danielbush/fez
public/upgrade/rm_fedora.php
5638
<?php /** * This script is intended to be run once, when the site owner is ready to switch off Fedora * for good. A series of schema changes will be triggered, and Fedora-bypass functionality * will be activated. * * Developers working on the Fedora phase-out should add any necessary functions to this f...
gpl-2.0
CruzR/wc3lib
src/mdlx/ribbonemitter.cpp
5997
/*************************************************************************** * Copyright (C) 2009 by Tamino Dauth * * tamino@cdauth.eu * * * * This pr...
gpl-2.0
Dilink/ImageManager
src/fr/Dilink/src/panels/PanelLeft.java
332
package fr.Dilink.src.panels; import java.awt.BorderLayout; import java.awt.GridLayout; import javax.swing.JPanel; public class PanelLeft extends JPanel { private static final long serialVersionUID = 1L; public PanelLeft() { this.setLayout(new GridLayout(1, 1)); this.add(new PanelListeImages(), BorderLayout...
gpl-2.0
imleon/qdrealestate
src/main/java/com/lostleon/qdrealestate/bean/DailyMetrics.java
1863
package com.lostleon.qdrealestate.bean; import java.util.Date; import com.lostleon.qdrealestate.util.Util; /** * 每天每个Project的数据都记录成一个本类的对象 * * @author lostleon@gmail.com * */ public class DailyMetrics { /* 日期 */ private Date date; /* 截止到当天24:00的总成交面积 */ private float totalSoldSize; /* 截...
gpl-2.0
taipeicity/i-voting
administrator/components/com_surveyforce/surveyforce.php
1709
<?php /** * @package Surveyforce * @version 1.0-modified * @copyright JooPlce Team, 臺北市政府資訊局, Copyright (C) 2016. All rights reserved. * @license GPL-2.0+ * @author JooPlace Team, 臺北市政府資訊局- http://doit.gov.taipei/ */ //TODO: Plugins , "Hide this qu...
gpl-2.0
Pengfei-Gao/source-Insight-3-for-centos7
SourceInsight3/NetFramework/ArrayLiteral.cs
270
public class ArrayLiteral : AST { // Constructors public ArrayLiteral(Context context, ASTList elements) {} // Methods public Type GetType() {} public virtual string ToString() {} public virtual bool Equals(object obj) {} public virtual int GetHashCode() {} }
gpl-2.0
facebookexperimental/eden
eden/mononoke/manifest/src/derive_batch.rs
26840
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This software may be used and distributed according to the terms of the * GNU General Public License version 2. */ use crate::{Entry, LeafInfo, Manifest, PathTree, TreeInfo}; use anyhow::{anyhow, Context, Error}; use blobstore::StoreLoadable; use cloned...
gpl-2.0
dangpin/cane
src/main/java/com/ebao/cane/ls/service/table/TAddressJpService.java
1792
package com.ebao.cane.ls.service.table; import org.apache.commons.lang3.StringUtils; import com.ebao.cane.ks.service.DMAddressService; import com.ebao.cane.ks.service.DMService; import com.ebao.cane.ks.table.DMAddress; import com.ebao.cane.ls.object.table.TAddressJp; public class TAddressJpService extends ...
gpl-2.0
FrodeSolheim/fs-uae-launcher
amitools/vamos/lib/VamosTestLibrary.py
1571
from amitools.vamos.machine.regs import * from amitools.vamos.libcore import LibImpl from amitools.vamos.error import * class VamosTestLibrary(LibImpl): def setup_lib(self, ctx, base_addr): self.cnt = 0 def finish_lib(self, ctx): self.cnt = None def open_lib(self, ctx, open_cnt): self.cnt = open...
gpl-2.0
ajmaurya99/rtPanel
wp-content/plugins/ajax-load-more/admin/views/licenses.php
19792
<div class="admin ajax-load-more" id="alm-licenses"> <div class="wrap"> <div class="header-wrap"> <h2><?php echo ALM_TITLE; ?>: <strong><?php _e('Licenses', ALM_NAME); ?></strong></h2> <p><?php _e('Enter your license keys to enable automatic updates for <a href="admin.php?page=ajax-load-more-add-ons">AL...
gpl-2.0
DavidKMartel/GameAdminHelper
StartSession.php
1382
<?php include 'UsefulFunctions.php'; getNavHeader(); getServHeader(); define("DEFAULT_ADDRESS","172.17.0.106"); define("DEFAULT_PORT","27015"); define("DEFAULT_PASSWORD","pass"); if(!defined($_SESSION['address'])) { $_SESSION['address'] = DEFAULT_ADDRESS; } if(!defined($_SESSION['port'])) { $_SESSION['port'] = DEF...
gpl-2.0
ugeneunipro/ugene
src/plugins/dotplot/transl/russian.ts
29950
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE TS> <TS version="2.1" language="ru_RU"> <context> <name>DotPlotDialog</name> <message> <location filename="../src/DotPlotDialog.ui" line="20"/> <source>Compare sequences using Dotplot</source> <translation>Сравнение последовательностей при...
gpl-2.0
weSPOT/wespot_iwe
mod/elastic/views/default/page/elements/footer/footer_left.php
200
<?php /* * To change this template, choose Tools | Templates * and open the template in the editor. */ ?> <p> <?php echo elgg_echo('admin:plugins:label:copyright'); ?> &copy weSPOT project. </p>
gpl-2.0
SupermeReturns/ImageProcessor
src/Main.java
179
package com.sdl.ImageProcessor; import com.sdl.ImageProcessor.Frames.MainFrame; public class Main{ public static void main(String[] args) { new MainFrame(); } }
gpl-2.0
redeanisioteixeira/aew_github
library/Zend/Feed/Writer/Extension/DublinCore/Renderer/Entry.php
2784
<?php /** * Zend Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://framework.zend.com/license/new-bsd * If you did not receive a copy of the license an...
gpl-2.0
Exiv2/exiv2
tests/bugfixes/redmine/test_issue_1153.py
4714
# -*- coding: utf-8 -*- import system_tests import itertools class CheckSony6000WithoutLensModels(metaclass=system_tests.CaseMeta): url = "http://dev.exiv2.org/issues/1153" filenames = [ "$data_path/exiv2-bug1153{E}{i}.exv".format(E=E, i=i) for E, i in itertools.product( ['A'...
gpl-2.0
jacobembree/DrupalGap
jquery-ui-1.12.1.custom/jquery-ui.js
198251
/*! jQuery UI - v1.12.1 - 2017-01-13 * http://jqueryui.com * Includes: widget.js, position.js, data.js, disable-selection.js, focusable.js, form-reset-mixin.js, jquery-1-7.js, keycode.js, labels.js, scroll-parent.js, tabbable.js, unique-id.js, widgets/draggable.js, widgets/droppable.js, widgets/selectable.js, widgets/s...
gpl-2.0
xponen/Zero-K
units/corclog.lua
4115
unitDef = { unitname = [[corclog]], name = [[Dirtbag]], description = [[Box of Dirt]], acceleration = 0.2, brakeRate = 0.2, buildCostEnergy = 30, buildCostMetal = 30, buildPic = [[corclog.png]], buildTime ...
gpl-2.0
acbalingit/scilab-sivp
thirdparty/opencv/windows/include/opencv2/core/wimage.hpp
21372
/////////////////////////////////////////////////////////////////////////////// // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to // this license. If you do not agree to this license, do not download, // install,...
gpl-2.0
Ghost-script/dyno-chat
kickchat/apps/pulsar/apps/data/server/pyparser.py
6529
'''A parser for redis messages ''' import sys from itertools import starmap ispy3k = sys.version_info >= (3, 0) if ispy3k: long = int string_type = str else: # pragma nocover string_type = unicode nil = b'$-1\r\n' null_array = b'*-1\r\n' REPLAY_TYPE = frozenset((b'$', # REDIS_REPLY_STRING, ...
gpl-2.0
default1406/PhyLab
PythonExperimentDataHandle/1010212.py
2668
# -*- coding: utf-8 -*- from math import sqrt from math import pi import phylab from jinja2 import Environment from handler import texdir #texdir = "./tex/" env = Environment() def Inertia(m, d, T, l, T2): # 所有测得的数据必须是5倍周期 I = []#实际值 J = [-1]#理论值 delta = [] for a in T: a.append(sum(a)/len(a) / 5) #计算扭转常数k tem...
gpl-2.0
imshashank/The-Perfect-Self
wp-content/themes/Ines/groups/single/plugins.php
1217
<?php get_header( 'buddypress' ); ?> <div id="content"> <div class="padder"> <?php if ( bp_has_groups() ) : while ( bp_groups() ) : bp_the_group(); ?> <?php do_action( 'bp_before_group_plugin_template' ); ?> <div id="item-header"> <?php locate_template( array( 'groups/single/group-header.php...
gpl-2.0
pisiganesh/my_pisi_files
Meld/actions.py
1046
#!/usr/bin/python # -*- coding: utf-8 -*- # Licensed under the GNU General Public License, version 3. # See the file http://www.gnu.org/copyleft/gpl.txt from pisi.actionsapi import autotools from pisi.actionsapi import get #from pisi.actionsapi import pisitools # if pisi can't find source directory, see /var/pisi/Mel...
gpl-2.0
phpbbireland/portal
migrations/v10x/release_1_0_0.php
29812
<?php /** * * Kiss Portal extension for the phpBB Forum Software package. * * @copyright (c) 2014 Michael O’Toole <http://www.phpbbireland.com> * @license GNU General Public License, version 2 (GPL-2.0) * */ namespace phpbbireland\portal\migrations\v10x; class release_1_0_0 extends \phpbb\db\migration\migration { pu...
gpl-2.0
gbentley/ezpublish-kernel
eZ/Publish/Core/REST/Server/Input/Parser/Criterion/ContentId.php
1367
<?php /** * File containing the ContentIdCriterion parser class * * @copyright Copyright (C) 1999-2013 eZ Systems AS. All rights reserved. * @license http://www.gnu.org/licenses/gpl-2.0.txt GNU General Public License v2 * @version //autogentag// */ namespace eZ\Publish\Core\REST\Server\Input\Parser\Criterion; u...
gpl-2.0
kutschkem/QGen
src/test/java/com/github/kutschkem/Qgen/test/QuestionExtractorTest.java
502
package com.github.kutschkem.Qgen.test; import java.io.IOException; import org.apache.uima.UIMAException; import org.junit.Test; import com.github.kutschkem.Qgen.QuestionExtractor; public class QuestionExtractorTest { @Test public void testSingularForm() throws UIMAException, IOException{ // tests...
gpl-2.0
paco30amigos/sieni
SIENI/SIENI-model/src/main/java/sv/com/mined/sieni/model/SieniDocentRol.java
5620
/* * 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 sv.com.mined.sieni.model; import java.io.Serializable; import java.util.Date; import javax.persistence.Basic; import...
gpl-2.0
foxbei/joomla16
templates/yoo_pure/html/com_users/login/default_login.php
492
<?php /** * @package yoo_pure Template * @file default_login.php * @version 5.5.0 January 2011 * @author YOOtheme http://www.yootheme.com * @copyright Copyright (C) 2007 - 2011 YOOtheme GmbH * @license YOOtheme Proprietary Use License (http://www.yootheme.com/license) */ // include config and layout $bas...
gpl-2.0
mitrobkat/wordpress
themes/heifer/footer.php
2848
<?php /** * The template for displaying the footer. * * Contains the closing of the id=main div and all content after * * @package WordPress * @subpackage Heifer * @since Heifer 1.0 */ ?> </div> </div> <!-- #main --> <footer id="footer" role="contentinfo"> <?php /* A sidebar in the footer? Yep. Yo...
gpl-2.0
iNecas/katello
cli/src/katello/client/api/user.py
3625
# -*- coding: utf-8 -*- # # Copyright © 2012 Red Hat, Inc. # # This software is licensed to you under the GNU General Public License, # version 2 (GPLv2). There is NO WARRANTY for this software, express or # implied, including the implied warranties of MERCHANTABILITY or FITNESS # FOR A PARTICULAR PURPOSE. You should h...
gpl-2.0
cfloersch/keytool
src/main/java/xpertss/crypto/x509/SubjectInfoAccessExtension.java
7067
package xpertss.crypto.x509; import java.io.IOException; import java.io.OutputStream; import java.util.*; import xpertss.crypto.util.DerOutputStream; import xpertss.crypto.util.DerValue; /** * The Subject Information Access Extension (OID = 1.3.6.1.5.5.7.1.11). * <p/> * The subject information access extension i...
gpl-2.0
sugang/coolmap
src/coolmap/canvas/sidemaps/impl/ColumnLabels.java
30556
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package coolmap.canvas.sidemaps.impl; import com.google.common.collect.Range; import coolmap.application.CoolMapMaster; import coolmap.application.state.StateStorageMaster; import coolmap.canvas.CoolMapView; import cool...
gpl-2.0
XoopsModules25x/xhelp
include/jpgraph/Examples/gantthourminex1.php
3119
<?php // content="text/plain; charset=utf-8" // Gantt hour + minute example require_once ('jpgraph/jpgraph.php'); require_once ('jpgraph/jpgraph_gantt.php'); // Some sample Gantt data $data = array( array(0,array("Group 1","345 days","2004-03-01","2004-05-05"), "2001-11-27 10:00","2001-11-27 14:00",FF_FONT2,FS_NORMAL,...
gpl-2.0
edwardthomas/phase-equilibria-software
PVT_calc/Source/VDW_EquationOfState.cpp
2978
#include "VDW_EquationOfState.h" VDW_EquationOfState::VDW_EquationOfState(void) { eosName = new string("VDW Equation of State"); } void VDW_EquationOfState::computeMixParameters(vector<double> zc, ComponentLib *pComp, double Pres, double Temp) { /* The van der Waals equation of state is implemented with the ene...
gpl-2.0
dvklopfenstein/PrincetonAlgorithms
tests/test_GREP.py
1169
#!/usr/bin/env python # TBD Finish Python port import sys #from AlgsSedgewickWayne.GREP import GREP #**************************************************************************** # Compilation: javac GREP.java # Execution: java GREP regexp < input.txt # Dependencies: NFA.java StdOut.java # Data files: http:#algs...
gpl-2.0
edii/drupal8
sites/default/files/php/twig/1#49#e6#99df03583aabddb41b13403a04ada7c10e9591f45bc93f4dfdb83e3f2731/df96c0bdadd9e655fbd2b4cc54ecde4129e0bd6eb402c5778cb0935e2cf2216c.php
4081
<?php /* field.html.twig */ class __TwigTemplate_49e699df03583aabddb41b13403a04ada7c10e9591f45bc93f4dfdb83e3f2731 extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = array( ); } ...
gpl-2.0
britco/kirki
includes/class-kirki.php
15571
<?php /** * The Kirki API class. * Takes care of adding panels, sections & fields to the customizer. * For documentation please see https://github.com/reduxframework/kirki/wiki * * @package Kirki * @category Core * @author Aristeides Stathopoulos * @copyright Copyright (c) 2015, Aristeides Stathop...
gpl-2.0
Khanos/HardCode
OpenEMR/src/interface/forms/fee_sheet/review/fee_sheet_justify.php
3040
<?php /** * Controller for fee sheet justification AJAX requests * * Copyright (C) 2013 Kevin Yeh <kevin.y@integralemr.com> and OEMR <www.oemr.org> * * 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 t...
gpl-2.0
taranion/RPGFramework
Babylon_API/src/org/prelle/rpgframework/ConfigOptionImpl.java
3662
/** * */ package org.prelle.rpgframework; import java.util.prefs.Preferences; import de.rpgframework.ConfigOption; /** * @author prelle * */ public class ConfigOptionImpl extends ConfigNodeImpl implements ConfigOption { private Type type; private Object[] choiceOptions; private Object defaultValue; privat...
gpl-2.0
danfmsouza/yipservicedesk
includes/phpmailer/language/phpmailer.lang-pl.php
1374
<?php /** * PHPMailer language file. * Polish Version, encoding: windows-1250 * translated from english lang file ver. 1.72 */ $PHPMAILER_LANG = array(); $PHPMAILER_LANG["provide_address"] = 'Nale¿y podaæ prawid³owy adres email Odbiorcy.'; $PHPMAILER_LANG["mailer_not_supported"] = 'Wybrana metoda wysy³ki wi...
gpl-2.0
liao1995/Jasmin
RandomGen/RandomGen.java
169
public class RandomGen{ public static int generate(int seed){ return 69069*seed; } public static void main(String[] args){ System.out.println(generate(20)); } }
gpl-2.0
dibben/NoteTaker
src/SpellChecker.cpp
3224
/* Copyright 2015 David Dibben <dibben@ieee.org> NoteTaker 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. NoteTaker is distributed i...
gpl-2.0
peterbartha/j2eecm
edu.bme.vik.iit.j2eecm.diagram/src/components/diagram/edit/policies/BrowserItemSemanticEditPolicy.java
3729
package components.diagram.edit.policies; import java.util.Iterator; import org.eclipse.emf.ecore.EAnnotation; import org.eclipse.gef.commands.Command; import org.eclipse.gmf.runtime.diagram.core.commands.DeleteCommand; import org.eclipse.gmf.runtime.emf.commands.core.command.CompositeTransactionalCommand; import org...
gpl-2.0
frannuca/mapreduce
src/test/scala/org/fjn/mapreduce/interface/MapReduceFunctionBaseTest.scala
644
package org.fjn.mapreduce.interface import org.scalatest.junit.AssertionsForJUnit import org.junit.Test class MapReduceFunctionBaseTest extends AssertionsForJUnit { val testClass = new MapReduceFunctionBase[Int,Double,String] { override def getDefaultAccumulator:String={ "0" } override def g...
gpl-2.0
alshubei/ps-app
src/scripts/stores/datepicker-store.js
795
var Reflux = require('reflux'); var _ = require('underscore'); var Utils = require('../../scripts/components/common/utils.js'); var DatePickerActions = require('../actions/datepicker-actions.js'); var DatePickerStore = Reflux.createStore({ listenables: [DatePickerActions], getState: function () { retu...
gpl-2.0
imfaber/imfaber_v2
vendor/mockery/mockery/tests/Mockery/ContainerTest.php
45578
<?php /** * Mockery * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://github.com/padraic/mockery/master/LICENSE * If you did not receive a copy of the license an...
gpl-2.0
tualatin/tailforwindows
Tail4WindowsUi.Utils/Converters/VisibilityToInverseBoolConverter.cs
1658
using System; using System.Globalization; using System.Windows; using System.Windows.Data; namespace Org.Vs.TailForWin.Ui.Utils.Converters { /// <summary> /// Visibility to inverse bool converter /// </summary> [ValueConversion(typeof(Visibility), typeof(bool))] public class VisibilityToInverseBoolConverte...
gpl-2.0
palmergs/eunomia-cms
app/controllers/api/v1/content_items_controller.rb
1408
class Api::V1::ContentItemsController < Api::ApiController def index @content_items = ContentItem.page(params[:p]) render json: @content_items, meta: { pagination: { total_pages: @content_items.total_pages, current_page: @content_items.current_page } } end def show @c...
gpl-2.0
vitorluis/SSHClient
events/settings_window_events.py
2164
# -*- coding: utf-8 -*- import shutil import settings from windows.file_export_dialog import FileExportDialog from model.settings import Settings from windows.message_box import MessageBox class SettingsWindowEvents: # Properties window = None builder = None refresh_list_callback = None def __ini...
gpl-2.0
ShengyuanEstate/website
wp-content/plugins/realia-paypal/includes/class-realia-paypal-customizations.php
617
<?php if ( ! defined( 'ABSPATH' ) ) { exit; } /** * Class Realia_Customizations * * @access public * @package Realia_Paypal/Classes/Customizations * @return void */ class Realia_Paypal_Customizations { /** * Initialize customizations * * @access public * @return void */ public static function init(...
gpl-2.0
r03eRt/electroelite_new
wp-content/plugins/dnd-shortcodes/admin/core_shortcodes.php
8297
<?php /*********** Shortcode: Content Section ************************************************************/ $ABdevDND_shortcodes['section_dd'] = array( 'hide_in_dnd' => true, 'nesting' => '1', 'child' => 'column_dd', 'child_title' => __('Section Column', 'dnd-shortcodes'), 'child_button' => __('Add Column', 'dnd...
gpl-2.0
hundren/daydayup
chat_db.js
3271
/** * Created by coofly on 2014/8/6. */ var mysql = require('mysql'); // var db_config = { // host : 'localhost', // port : 3306, // user : 'root', // password : 'root', // database : 'dayup' // }; // var db_config = { // host : 'dayup.cfpx3bvlkbyh....
gpl-2.0
fonic/libktorrent
src/interfaces/torrentinterface.cpp
1616
/*************************************************************************** * Copyright (C) 2005 by Joris Guisson * * joris.guisson@gmail.com * * * * This pr...
gpl-2.0
epicsdeb/rtems-gcc-newlib
libstdc++-v3/testsuite/19_diagnostics/runtime_error/what-2.cc
1424
// 2001-02-26 Benjamin Kosnik <bkoz@redhat.com> // Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 // Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the // terms of the GNU General Public Licen...
gpl-2.0
ThibautShr/ScrumBoard
client/app/admin/admin.js
220
'use strict'; angular.module('scrumBoardApp') .config(function ($routeProvider) { $routeProvider .when('/admin', { templateUrl: 'app/admin/admin.html', controller: 'AdminCtrl' }); });
gpl-2.0
tongpa/PollSurveyWeb
pollandsurvey/service/optionservice.py
11072
#-*-coding: utf-8 -*- from datetime import datetime, date from tgext.pyutilservice import Utility from tg import expose, flash, require, url, lurl, request, redirect, tmpl_context,validate,response from pollandsurvey import model from surveyobject import JsontoObject import sys import json import types import logging;...
gpl-2.0
mbalkrishna/jproject1
sites/all/themes/wia/page.tpl.php
641
<?php require_once "inc/header-inner.inc.php";?> <!--Content Sec start--> <div class="content-section search-content"> <div class="container margintop40 paddingbottom60"> <?php print render($title_prefix); ?> <?php if ($title): ?> <h1<?php print $tabs ? ' class="with-tabs"' : '' ?>> <?php print htmlspecialchars_decode(...
gpl-2.0
ljh198275823/504-GeneralLibrary
Barcode/_1D/Symbologies/MSI.cs
3980
using System; using System.Collections.Generic; using System.Text; namespace Barcode._1D.Symbologies { class MSI : BarcodeCommon, IBarcode { /// <summary> /// MSI encoding /// Written by: Brad Barnhill /// </summary> private string[] MSI_Code = { "100100100100", "10010...
gpl-2.0
riskey95/HiShoot2-Template-LG-L7-II-Dual
src/com/riskey/hishoot2templatelgl7ii/MainActivity.java
249
package com.riskey.hishoot2templatelgl7ii; import android.os.Bundle; import android.app.Activity; public class MainActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); } }
gpl-2.0
XSilent/KataBerlinClock
test/clock.js
5016
var assert = require('assert'); var Clock = require("../app/clock.js").Clock; describe('Berlin Clock', function(){ // ---------------------------------------------------------------------------------------- // hour row 1 // ---------------------------------------------------------------------------------------- ...
gpl-2.0
HouraiTeahouse/FantasyCrescendo
Assets/Code/src/Runtime/Input/TestInputSource.cs
1014
using HouraiTeahouse.FantasyCrescendo.Matches; using HouraiTeahouse.FantasyCrescendo.Players; using UnityEngine; namespace HouraiTeahouse.FantasyCrescendo { public class TestInputSource : IInputSource<MatchInput> { MatchInput input; public TestInputSource(MatchConfig config) { input = new MatchInput(config)...
gpl-2.0
utopszkij/li-de
componens_telepitok/com_szavazasok/admin/models/model.php
12926
<?php /** * @version $Id:Model.php 1 2014-04-13Z FT $ * @package Szavazasok * @subpackage Models * @copyright Copyright (C) 2014, Fogler Tibor. All rights reserved. * @license #GNU/GPL */ // no direct access defined('_JEXEC') or die('Restricted access'); /** * Model * @author Michael Liebler */ jimport( 'jooml...
gpl-2.0
acevest/acecode
learn/python/urllib.0.py
558
#!/usr/bin/env python # -*- coding: utf-8 -*- # ------------------------------------------------------------------------ # File Name: urllib.0.py # Author: Zhao Yanbai # Thu Oct 1 12:15:20 2015 # Description: none # ------------------------------------------------------------------------ import url...
gpl-2.0
spacemonkeythe/userManagementApp
features/step_definitions/profile_edit_steps.rb
627
Given(/^I am signed in user$/) do visit login_path fill_in "Email", with: @user.email fill_in "Password", with: @user.password click_button "Sign in" end Given(/^I am on the edit profile page$/) do visit root_path find_link("Account").click find_link("Settings").click end When(/^I try to update data$/) ...
gpl-2.0
Pleisterman/gameDevelopment
gameDevelopment/spaceInvaders/javascript/invaderOneModule.js
14957
/* * Author: Pleisterman * Info: * Web: www.pleisterman.nl * Mail: info@pleisterman.nl * GitHub: Pleisterman * * Purpose: this module controls the drawing one invader for the application space invaders * * * Last revision: 21-05-2015 * * Status: code: ready * ...
gpl-2.0
shpandrak/shpansurvey
src/main/js/shpanbot.ts
7448
/** * Created by shpandrak on 11/21/14. */ /// <reference path="shpantext.ts" /> interface BotActionPlugin{ (runner:BotRunner, option: BotOption, step:BotStep); } function doTheBot(titleElement:HTMLElement, consoleElement:HTMLElement, outputElement:HTMLElement, bot: Bot){ var botRunner:BotRunner = new Bot...
gpl-2.0
toblerone554/java
operadoresLogicos.java
241
public class operadoresLogicos { public static void main(String[]args) { int p=4; int f=2; if ((p>0)||(++f>0)) { p++; } System.out.println("p vale " +p); System.out.println("f vale " +f); } }
gpl-2.0
ferfialho/gorainhadapaz
wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/widget/class.widget_slideshow.php
4577
<?php class C_Widget_Slideshow extends WP_Widget { function __construct() { $widget_ops = array('classname' => 'widget_slideshow', 'description' => __('Show a NextGEN Gallery Slideshow', 'nggallery')); $this->WP_Widget('slideshow', __('NextGEN Slideshow', 'nggallery'), $widget_ops); ...
gpl-2.0
labshasan/PHP-Laravel
sis/items.php
1285
<?php include_once('lib/library.php'); ?> <html> <head> <title>All Students</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="/lib/bootstrap.css"> </head> <body> <div> <table border="1"> <thead> <tr> <th>SL#</th> ...
gpl-2.0
wraiden/spacewalk
backend/satellite_tools/repo_plugins/uln_src.py
2772
""" Copyright (C) 2014 Oracle and/or its affiliates. All rights reserved. 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, version 2 This program is distributed in the hope that it will be useful, b...
gpl-2.0
camueller/SmartApplianceEnabler
src/test/angular/src/page/schedule/day-timeframe.page.ts
3374
import { assertInput, assertSelectOptionMulti, inputText, selectOptionMulti, selectorInputByFormControlName, selectorSelectByFormControlName, selectorSelectedByFormControlName } from '../../shared/form'; import {DayTimeframe} from '../../../../../main/angular/src/app/schedule/timeframe/day/day-timeframe'; imp...
gpl-2.0
mathetos/my-plugin-info-widget
views/reviews-template.php
725
<?php $wprepo = new WP_Ratings_Widget(); ?> <div class="wprrw_reviews_enabled"> <h4 class="wprrw_reviews_title">Reviews</h4> <div class="wprrw_reviews_wrap" data-slick=\'{"slidesToShow": 1, "slidesToScroll": 1}\'> <?php $wprepo->wprrw_split_reviews($instance); ?> </div> </div> <div ...
gpl-2.0