repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
jazzsequence/games-collector | vendor/fig-r/psr2r-sniffer/PSR2R/Sniffs/ControlStructures/ElseIfDeclarationSniff.php | 1981 | <?php
/**
* PSR2_Sniffs_ControlStructures_ElseIfDeclarationSniff.
*
* PHP version 5
*
* @category PHP
*
* @author Greg Sherwood <gsherwood@squiz.net>
* @copyright 2006-2014 Squiz Pty Ltd (ABN 77 084 670 600)
* @license https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
*
*... | gpl-3.0 |
cosminrentea/roda | src/main/java/ro/roda/service/DataSourceTypeServiceImpl.java | 1092 | package ro.roda.service;
import java.util.List;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import ro.roda.domain.DataSourceType;
@Service
@Transactional
public class DataSourceTypeServiceImpl implements DataSourceTypeService {
public long countA... | gpl-3.0 |
rgarro/emptyLibJS | 3D/Util/Props/SmokeEmitter.js | 2664 | /**
* Red Foreman muffler shop is in point place wisconsin ....
*
* @author Rolando <rolando@emptyart.xyz>
*/
var SmokeEmitter = (function(){
function SmokeEmitter(scene){
this.scene = scene
this.textureUrl = "/emptyLibJS/3D/Games/Kalero/assets/smokeb.png";
this.smokeParticles = null;
this.smoke =... | gpl-3.0 |
aasisvinayak/flymyshop | core/config/database.php | 4259 | <?php
return [
/*
|--------------------------------------------------------------------------
| PDO Fetch Style
|--------------------------------------------------------------------------
|
| By default, database results will be returned as instances of the PHP
| stdClass object; however, ... | gpl-3.0 |
tacalvin/rshell | src/Shell.cpp | 7889 | #include "./headers/Shell.h"
#include "./headers/Base.h"
#include "./headers/Command.h"
#include <vector>
#include <pwd.h>
#include <iostream>
#include <unistd.h>
#include <sstream>
#include <string.h>
#include <cstdlib>
#include <stdio.h>
#include <errno.h>
#include <csignal>
#include <deque>
#include <s... | gpl-3.0 |
ernestbuffington/PHP-Nuke-Titanium | includes/wysiwyg/ckeditor/plugins/embedbase/lang/ug.js | 829 | /*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'embedbase', 'ug', {
pathName: 'ۋاسىتە ئوبيېكتى',
title: 'سىڭدۈرمە ۋاسىتە',
button: 'سىڭدۈرمە ۋاسىتە قىستۇر',
unsupportedUrlGiv... | gpl-3.0 |
xamarindevelopervietnaminc/XInfiniteListView | XInfiniteListView/XInfiniteListView/XInfiniteListView.iOS/AppDelegate.cs | 1042 | using Foundation;
using UIKit;
namespace XInfiniteListView.iOS
{
// The UIApplicationDelegate for the application. This class is responsible for launching the
// User Interface of the application, as well as listening (and optionally responding) to
// application events from iOS.
[Register("AppDeleg... | gpl-3.0 |
jvianney/SwiftHR | application/modules/default/library/HTMLPurifier/Printer/ConfigForm.php | 13324 | <?php
/**
* @todo Rewrite to use Interchange objects
*/
class HTMLPurifier_Printer_ConfigForm extends HTMLPurifier_Printer
{
/**
* Printers for specific fields
*/
protected $fields = array();
/**
* Documentation URL, can have fragment tagged on end
*/
protected $docURL;
/**... | gpl-3.0 |
zorbathut/frames | src/core/detail.cpp | 3141 | /* Copyright 2014 Mandible Games
This file is part of Frames.
Please see the COPYING file for detailed licensing information.
Frames is dual-licensed software. It is available under both a
commercial license, and also under the terms of the GNU General
Public License as published by ... | gpl-3.0 |
regueiro/easyRepair | src/Reports/src/es/regueiro/easyrepair/reports/ClientReport.java | 20947 | package es.regueiro.easyrepair.reports;
import es.regueiro.easyrepair.model.client.Client;
import es.regueiro.easyrepair.model.client.Vehicle;
import es.regueiro.easyrepair.model.shared.Address;
import es.regueiro.easyrepair.model.shared.Email;
import es.regueiro.easyrepair.model.shared.Phone;
import java.util.ArrayLi... | gpl-3.0 |
duaneloh/Dragonfly | utils/py_src/read_config.py | 8584 | '''Module containing various functions used to parse configuration files'''
from __future__ import print_function
import logging
import os
from collections import OrderedDict
from six.moves import configparser
import numpy as np
class MultiOrderedDict(OrderedDict):
def __init__(self):
super(MultiOrderedDi... | gpl-3.0 |
janus57/PHPBoost_v3c | kernel/framework/io/filesystem/folder.class.php | 3280 | <?php
import('io/filesystem/file_system_element');
import('io/filesystem/file');
class Folder extends FileSystemElement
{
function Folder($path, $whenopen = OPEN_AFTER)
{
parent::FileSystemElement(rtrim($path, '/'));
if (@file_exists($this->path))
... | gpl-3.0 |
yongs2/mts-project | mts/src/main/java/com/devoteam/srit/xmlloader/core/coding/binary/BooleanField.java | 1933 | /*
* Copyright 2012 Devoteam http://www.devoteam.com
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
*
* This file is part of Multi-Protocol Test Suite (MTS).
*
* Multi-Protocol Test Suite (MTS) is free software: you can redistribute
* it and/or modify it under the terms of the GNU General... | gpl-3.0 |
adhokshajmishra/positron | positron/emulator/register.hpp | 979 | #ifndef REGISTER_H
#define REGISTER_H
#include <cstdint>
#include <stdexcept>
#include <type_traits>
enum RegisterName
{
EAX = 0, EBX, ECX, EDX,
ESP, EBP, EIP,
FLG,
DR0, DR1, DR2, DR3, DR4, DR5, DR6, DR7, DR8, DR9, DR10, DR11, DR12, DR13, DR14, DR15,
CR0, CR1, CR2, CR3, CR4, CR5, CR6, CR7
};
clas... | gpl-3.0 |
seung-lab/znn-release | zi/vl/detail/householder.hpp | 11929 | //
// Copyright (C) 2010 Aleksandar Zlateski <zlateski@mit.edu>
// ----------------------------------------------------------
//
// 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 versio... | gpl-3.0 |
simonpatrick/stepbystep-java | java8samples/src/main/java/io/hedwing/java8samples/designpattern/observer/Aliens.java | 329 | package io.hedwing.java8samples.designpattern.observer;
// BEGIN Aliens
public class Aliens implements LandingObserver {
@Override
public void observeLanding(String name) {
if (name.contains("Apollo")) {
System.out.println("They're distracted, lets invade earth!");
}
}
}
// EN... | gpl-3.0 |
magic3org/magic3 | widgets/admin_main/include/container/admin_mainSearchwordlogWidgetContainer.php | 19674 | <?php
/**
* コンテナクラス
*
* PHP versions 5
*
* LICENSE: This source file is licensed under the terms of the GNU General Public License.
*
* @package Magic3 Framework
* @author 株式会社 毎日メディアサービス
* @copyright Copyright 2016-2021 株式会社 毎日メディアサービス.
* @license http://www.gnu.org/copyleft/gpl.html GPL License
... | gpl-3.0 |
guardianproject/ObscuraCam | app/src/main/java/org/witness/obscuracam/ui/ImageRegion.java | 12876 | package org.witness.obscuracam.ui;
import android.content.res.Resources;
import android.graphics.Matrix;
import android.graphics.PointF;
import android.graphics.RectF;
import android.graphics.drawable.Drawable;
import android.util.Log;
import android.util.TypedValue;
import android.view.MotionEvent;
import android.vie... | gpl-3.0 |
smogpill/dataspace | src/simt_cl/simtManager_cl_gl_win.cpp | 1781 | /*
Copyright (C) 2010-2013 Jounayd Id Salah https://github.com/smogpill/dataspace. This file is part of the Dataspace project.
Dataspace 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... | gpl-3.0 |
nickbattle/vdmj | examples/v2c/src/main/java/examples/v2c/tr/expressions/TRIfExpression.java | 1492 | /*******************************************************************************
*
* Copyright (c) 2020 Nick Battle.
*
* Author: Nick Battle
*
* This file is part of VDMJ.
*
* VDMJ 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 |
AmazengProject/AmazeFileManager | app/src/main/java/com/amaze/filemanager/ui/ZipObjectParcelable.java | 1878 | package com.amaze.filemanager.ui;
import android.os.Parcel;
import android.os.Parcelable;
import java.util.zip.ZipEntry;
/**
* Created by Arpit on 11-12-2014.
*/
public class ZipObjectParcelable implements Parcelable {
private boolean directory;
private ZipEntry entry;
private String name;
private... | gpl-3.0 |
holloway/docvert-python3 | core/pipeline_type/debug.py | 3212 | # -*- coding: utf-8 -*-
import lxml.etree
from . import pipeline_item
import core.docvert_exception
class Debug(pipeline_item.pipeline_stage):
def stage(self, pipeline_value):
def get_value(data):
if hasattr(data, "read"):
data.seek(0)
return data.read()
... | gpl-3.0 |
jkiddo/jolivia | jolivia.protocol/src/main/java/org/dyndns/jkiddo/dmap/chunks/audio/extension/CollectionDescription.java | 499 | package org.dyndns.jkiddo.dmap.chunks.audio.extension;
import org.dyndns.jkiddo.dmp.DMAPAnnotation;
import org.dyndns.jkiddo.dmp.IDmapProtocolDefinition.DmapChunkDefinition;
import org.dyndns.jkiddo.dmp.chunks.StringChunk;
@DMAPAnnotation(type=DmapChunkDefinition.aecp)
public class CollectionDescription extends Strin... | gpl-3.0 |
oliverde8/OWeb | v0.3/OWeb_src/OWeb/defaults/models/articles/Artciles.php | 10896 | <?php
/**
* @author Oliver de Cramer (oliverde8 at gmail.com)
* @copyright GNU GENERAL PUBLIC LICENSE
* Version 3, 29 June 2007
*
* PHP version 5.3 and above
*
* LICENSE: This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Pub... | gpl-3.0 |
storri/libreverse | reverse/io/input/file_readers/windows_pe/amd_ia_64_exception_table_entry.cpp | 3281 | /* AMD_IA_64_Exception_Table_Entry.cpp
Copyright (C) 2008 Stephen Torri
This file is part of Libreverse.
Libreverse 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, or (at ... | gpl-3.0 |
abhijitsarkar/java | xml/jaxp-basic/src/main/java/name/abhijitsarkar/xml/jaxp/dom/MyDOMParser.java | 2837 | package name.abhijitsarkar.xml.jaxp.dom;
import java.io.File;
import java.io.InputStream;
import java.net.URL;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import name.abhijitsarkar.xml.jaxp.MyErrorHandler;
import name.abhijitsarkar.xml.jaxp.sax.MySAXParser;
import org.... | gpl-3.0 |
briancappello/PyTradeLib | pytradelib/downloader.py | 831 | import asyncio
from aiohttp import ClientSession, ClientResponse, ClientResponseError
from .utils import chunk
async def bulk_download(urls, handle_resp, batch_size=8):
if not isinstance(urls, (list, tuple)):
urls = [urls]
async def dl(session, url):
async with session.get(url) as r:
... | gpl-3.0 |
Victor-Haefner/polyvr | src/addons/Algorithms/VRPyGraphLayout.cpp | 788 | #include "VRPyGraphLayout.h"
#include "core/scripting/VRPyBaseT.h"
using namespace OSG;
simpleVRPyType(GraphLayout, New_ptr);
PyMethodDef VRPyGraphLayout::methods[] = {
{"setGraph", PyWrap( GraphLayout, setGraph, "Set graph", void, GraphPtr ) },
{"setAlgorithm", PyWrapOpt( GraphLayout, setAlgorithm, "Set pip... | gpl-3.0 |
bigwhirled/elmsln | core/_nondrupal/piwik/plugins/CustomVariables/CustomVariables.php | 4355 | <?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\CustomVariables;
use Piwik\ArchiveProcessor;
use Piwik\Piwik;
use Piwik\Tracker\Cache;
use Piwik\Tracker;
class CustomVariables extends \P... | gpl-3.0 |
corumcorp/redsentir | redsentir/static/juego/frameworks/cocos2d-html5/cocos2d/core/event-manager/CCEventManager.js | 40896 | /****************************************************************************
Copyright (c) 2011-2012 cocos2d-x.org
Copyright (c) 2013-2015 Chukong Technologies Inc.
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation... | gpl-3.0 |
w3ggy/ParentControl | app/src/main/java/com/abramov/artyom/parentcontrol/ui/sms/SmsAdapter.java | 1527 | package com.abramov.artyom.parentcontrol.ui.sms;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import com.abramov.artyom.parentcontrol.R;
import com.abramov.artyom.parentcontrol.domain.Sms;
i... | gpl-3.0 |
kyrelos/vitelco-mobile-money-wallet | app_dir/bill_management/migrations/0004_bill_bill_status.py | 533 | # -*- coding: utf-8 -*-
# Generated by Django 1.10.6 on 2017-03-23 10:39
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('bill_management', '0003_auto_20170323_0214'),
]
operations = [
migrations.A... | gpl-3.0 |
icuseven/MMRDS | source-code/mmria/mmria.services/Actors/BatchProcessor.cs | 27704 | using System;
using System.Collections.Generic;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
using System.Linq;
using System.Text;
using Akka.Actor;
namespace RecordsProcessor_Worker.Actors
{
/*
const mor_max_length = 5000;
const nat_max_length = 4000;
const fet_max_length = 6000;
... | gpl-3.0 |
ersh112356/ConversationEngine | src/engine/utils/ReplyCleaner.java | 3258 | /*
* 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 engine.utils;
import java.util.Map;
/**
*
* @author Eran
*/
public class ReplyCleaner{
/** Holds a... | gpl-3.0 |
ebrelsford/v2v | vacant_to_vibrant/lots/migrations/0012_auto__add_field_lot_polygon_tied_to_parcel.py | 34246 | # -*- coding: utf-8 -*-
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding field 'Lot.polygon_tied_to_parcel'
db.add_column(u'lots_lot', 'polygon_tied_to_parcel',
... | gpl-3.0 |
Belxjander/Kirito | LibBitcoin/Explorer/include/bitcoin/explorer/commands/ek-new.hpp | 8895 | /**
* Copyright (c) 2011-2015 libbitcoin developers (see AUTHORS)
*
* This file is part of libbitcoin-explorer.
*
* libbitcoin-explorer is free software: you can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License with
* additional permissions to the one published by the F... | gpl-3.0 |
gizmo75rus/HCS | HCS/Properties/AssemblyInfo.cs | 1951 | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Управление общими сведениями о сборке осуществляется с помощью
// набора атрибутов. Измените значения этих атрибутов, чтобы изменить сведения,
// связанные со сборкой.
[assembly: AssemblyTitle("HCS")]
[assembly: ... | gpl-3.0 |
CapsAdmin/pac3 | lua/pac3/core/client/base_part.lua | 35794 | local pac = pac
local pairs = pairs
local ipairs = ipairs
local table = table
local Vector = Vector
local Angle = Angle
local Color = Color
local NULL = NULL
local SysTime = SysTime
local LocalToWorld = LocalToWorld
local function SETUP_CACHE_FUNC(tbl, func_name)
local old_func = tbl[func_name]
loca... | gpl-3.0 |
wolfmanstout/jene | src/jene/vectornodes/MaxNode.java | 711 | package jene.vectornodes;
import java.util.List;
import jene.Node;
import jene.Pixel;
/**
*
* @author James Stout
*
*/
public class MaxNode extends Node2Arg<double[], double[]> {
protected MaxNode(List<Node<Pixel, ?>> children) {
super(children);
}
public MaxNode(Node<Pixel, double[]> arg1, Node<Pix... | gpl-3.0 |
Gawdl3y/task-timer-legacy | android/TaskTimer/src/main/java/com/gawdl3y/android/actionablelistview/CheckableListView.java | 3366 | package com.gawdl3y.android.actionablelistview;
import android.content.Context;
import android.util.AttributeSet;
import android.view.View;
import android.widget.Checkable;
import android.widget.ListView;
/**
* A {@code ListView} that:
* <ul>
* <li>will keep check states in sync with a {@link CheckableAdapter}... | gpl-3.0 |
SevenLines/RSign | DesignPattern.cpp | 18825 | //---------------------------------------------------------------------------
#pragma hdrstop
#include "DesignPattern.h"
#include "MainUnit.h"
#include "AttachForm.h"
#include <math.h>
//---------------------------------------------------------------------------
#pragma package(smart_init)
TDesignAtta... | gpl-3.0 |
geovanisouza92/api-factory | cmd/api-factory-host/main.go | 1750 | package main
import (
"net/http"
"time"
"github.com/go-chi/chi"
"github.com/go-chi/chi/middleware"
"github.com/geovanisouza92/api-factory/apifactory"
)
func main() {
router := chi.NewRouter()
router.Use(middleware.RequestID)
router.Use(middleware.RealIP)
router.Use(middleware.RequestLogger(&loggingFormatt... | gpl-3.0 |
SherlockStd/AcademyJS | src/admin/shared/models/datetime.ts | 1047 | interface Date {
year: number
month: number
day: number
}
interface Time {
hour: number
minute: number
second: number
}
export class DateTime {
date: Date
time: Time
constructor (date?: Date, time?: Time, isoString?: any) {
if (date && time) {
this.date = date
this.time = time
}... | gpl-3.0 |
anandkumarpathak/mysql-rest | mysql-rest-service/src/main/java/com/andy/security/api/User.java | 1172 | package com.andy.security.api;
import java.security.Principal;
public class User implements Principal {
private String uid;
private String firstName;
private String lastName;
private String password;
private String hash;
public String getName() {
return getFirstName() + " " + getLastName();... | gpl-3.0 |
things-cx/ThingsWebApp | Things.WebApp/src/app/login/login.module.ts | 640 | import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { ReactiveFormsModule } from '@angular/forms';
import { LoginComponent } from './login/login.component';
import { LoginRoutingModule } from '../login/login-routing.module';
import {
MdButtonModule,
MdCardModule,
MdInp... | gpl-3.0 |
TomasVaskevicius/bouncy-particle-sampler | third_party/stan_math/stan/math/prim/mat/meta/value_type.hpp | 638 | #ifndef STAN_MATH_PRIM_MAT_META_VALUE_TYPE_HPP
#define STAN_MATH_PRIM_MAT_META_VALUE_TYPE_HPP
#include <stan/math/prim/scal/meta/value_type.hpp>
#include <Eigen/Core>
namespace stan {
namespace math {
/**
* Template metaprogram defining the type of values stored in an
* Eigen matrix, vector, or row v... | gpl-3.0 |
fwahyudi17/ofiskita | catalog/controller/common/cosyone_cookie.php | 2632 | <?php
class ControllerCommonCosyoneCookie extends Controller {
public function index() {
// Cookie Control
$data['cosyone_use_cookie'] = $this->config->get('cosyone_use_cookie');
$cosyone_cookie_text = $this->config->get('cosyone_cookie_text');
if(empty($cosyone_cookie_text[$this->language->get('code')]... | gpl-3.0 |
jahir/volkszaehler.org | lib/Server/PPMBootstrapAdapter.php | 1369 | <?php
/**
* @author Andreas Goetz <cpuidle@gmx.de>
* @copyright Copyright (c) 2011-2018, The volkszaehler.org project
* @license https://www.gnu.org/licenses/gpl-3.0.txt GNU General Public License version 3
*/
/*
* This file is part of volkzaehler.org
*
* volkzaehler.org is free software: you can redistribute it... | gpl-3.0 |
KubaKaszycki/FreeCraft | src/main/java/kk/freecraft/network/play/server/S2APacketParticles.java | 4091 | /*
* Copyright (C) Mojang AB
* All rights reserved.
*/
package kk.freecraft.network.play.server;
import java.io.IOException;
import kk.freecraft.network.INetHandler;
import kk.freecraft.network.Packet;
import kk.freecraft.network.PacketBuffer;
import kk.freecraft.network.play.INetHandlerPlayClient;
import kk.freecr... | gpl-3.0 |
danielhuson/dendroscope3 | src/dendroscope/embed/EmbedderForOrderPrescribedNetwork.java | 19747 | /*
* EmbedderForOrderPrescribedNetwork.java Copyright (C) 2020 Daniel H. Huson
*
* (Some files contain contributions from other authors, who are then mentioned separately.)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as pu... | gpl-3.0 |
z-chu/FriendBook | app/src/main/java/com/youshibi/app/ui/widget/ShapeTextView.java | 790 | package com.youshibi.app.ui.widget;
import android.content.Context;
import android.support.annotation.Nullable;
import android.util.AttributeSet;
/**
* Created by Chu on 2017/8/22.
*/
public class ShapeTextView extends android.support.v7.widget.AppCompatTextView {
public ShapeTextView(Context context) {
... | gpl-3.0 |
DISID/disid-proofs | many-to-many-concurrency-control/src/main/java/org/disid/proof/repository/BookRepositoryImpl.java | 611 | package org.disid.proof.repository;
import io.springlets.data.jpa.repository.support.QueryDslRepositorySupportExt;
import org.springframework.roo.addon.layers.repository.jpa.annotations.RooJpaRepositoryCustomImpl;
import org.disid.proof.domain.Book;
/**
* = BookRepositoryImpl
*
* TODO Auto-generated class document... | gpl-3.0 |
jbundle/jbundle | base/base/src/main/java/org/jbundle/base/db/xmlutil/XmlUtilities.java | 16514 | /*
* Copyright © 2012 jbundle.org. All rights reserved.
*/
package org.jbundle.base.db.xmlutil;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.StringRead... | gpl-3.0 |
AltruisticControlSystems/cxxCore | ConfigManager.cpp | 1152 | #include "ConfigManager.hpp"
#include <QDebug>
#include <QFile>
#include <QIODevice>
namespace cxxCore
{
//! init
//!
//! Initialize the ConfigManager
void ConfigManager::init()
{
}
//! deInit
//!
//! De-initialize the ConfigManager
void ConfigManager::deInit()
{
mConfigHash.clear();
}
//! loadConfigs
//!
//! Lo... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/ElvUI_Enhanced/modules/unitframes/update_elements.lua | 2024 | local E, L, V, P, G = unpack(ElvUI); --Inport: Engine, Locales, PrivateDB, ProfileDB, GlobalDB, Localize Underscore
local UF = E:GetModule('UnitFrames');
local sub, find = string.sub, string.find
local abs, atan2, cos, sin, sqrt2, random, floor, ceil, random = math.abs, math.atan2, math.cos, math.sin, math.sqrt(2), ma... | gpl-3.0 |
gbaychev/NClass | src/AssemblyImport/NETImport.cs | 17762 | // NClass - Free class diagram editor
// Copyright (C) 2006-2009 Balazs Tihanyi
// Copyright (C) 2020 Georgi Baychev
//
// 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 versio... | gpl-3.0 |
jinsedeyuzhou/NewsClient | app/src/main/java/com/study/newsclient/view/CustomToast.java | 1127 | package com.study.newsclient.view;
import android.content.Context;
import android.support.design.widget.BaseTransientBottomBar;
import android.view.Gravity;
import android.view.View;
import android.widget.TextView;
import android.widget.Toast;
import com.study.newsclient.R;
/**
* 自定义弹出对话框
* @author wyy
*
*/
pub... | gpl-3.0 |
uhoogma/ounit | ounit-service/src/main/java/com/googlecode/ounit/QuestionDownloadLink.java | 2593 | package com.googlecode.ounit;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.util.Arrays;
import org.apache.wicket.WicketRuntimeException;
import org.apache.wicket.extensions.protocol.opaque.IVersionedResource;
import org.apache.wicket.markup.html.link.ResourceLink;
impor... | gpl-3.0 |
avp0038/2017PCTR_L04 | src/p012/Ball.java | 1525 | package p012;
import java.awt.Image;
import javax.swing.ImageIcon;
//TODO Transform the code to be used safely in a concurrent context.
public class Ball {
private String Ball = "pelota.png";
private double x, y, dx, dy;
private double v, fi;
private Image image;
public Ball() {
ImageIcon ii = new Image... | gpl-3.0 |
mahalaxmi123/moodleanalytics | blocks/configurable_reports/components/columns/userstats/form.php | 2802 | <?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 |
testing-av/testing-video | generators/src/main/java/band/full/test/video/executor/FxDisplay.java | 2727 | package band.full.test.video.executor;
import static band.full.test.video.encoder.EncoderParameters.HD_MAIN;
import static javafx.scene.layout.Priority.ALWAYS;
import static javafx.scene.paint.Color.BLACK;
import band.full.core.Resolution;
import band.full.test.video.encoder.EncoderParameters;
import java.util.concu... | gpl-3.0 |
lifemapper/core | LmWebServer/services/api/v2/matrix.py | 7161 | """This module provides REST services for matrices"""
import cherrypy
from LmCommon.common.lmconstants import HTTPStatus, JobStatus
from LmWebServer.common.lmconstants import HTTPMethod
from LmWebServer.services.api.v2.base import LmService
from LmWebServer.services.api.v2.matrix_column import MatrixColumnService
from... | gpl-3.0 |
Comos/tage | src/Compiler/Node/Expression/Operand/AttributeNode.php | 607 | <?php
/**
* User: wangfeng
* Date: 15-5-21
* Time: 下午2:14
*/
namespace Comos\Tage\Compiler\Node\Expression\Operand;
use Comos\Tage\Compiler\Node\AbstractNode;
/**
* Class AttributeNode
* @package Comos\Tage\Compiler\Node\Expression\Operand
*/
class AttributeNode extends AbstractNode
{
public function __con... | gpl-3.0 |
bengtmartensson/harctoolboxbundle | src/main/java/org/harctoolbox/irscrutinizer/exporter/WaveExporter.java | 3720 | /*
Copyright (C) 2013, 2014 Bengt Martensson.
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 distributed in t... | gpl-3.0 |
NoBrainer/ScrollRole | scrollRoleConfig.js | 52 | module.exports = {
env: 'dev',
port: 3000
}; | gpl-3.0 |
felixtheratruns/CampusTrees-server | pages/viewTree.php | 2550 | <!-- This file is part of server-side of the CampusTrees Project. It is subject to the license terms in the LICENSE file found in the top-level directory of this distribution. No part of CampusTrees Project, including this file, may be copied, modified, propagated, or distributed except according to the terms contained... | gpl-3.0 |
Jenyay/outwikerdroid | app/src/main/java/net/jenyay/outwikerdroid/core/config/BaseIniOption.java | 268 | package net.jenyay.outwikerdroid.core.config;
/**
* Created by jenyay on 11.08.15.
* Base class for single record in IniConfig.
*/
public class BaseIniOption {
IniConfig _config;
public BaseIniOption (IniConfig config) {
_config = config;
}
}
| gpl-3.0 |
useaquestion/andach-gamerental | resources/views/admin/productindex.blade.php | 886 | @extends('template')
@section('content')
@include('admin.menu')
{!! Form::open(['route' => 'admin.gameindexpost', 'method' => 'POST']) !!}
<h2>Admin Game Index</h2>
<div class="row">
<div class="col-12">
<a href="{{ route('admin.productcreate') }}">Click here to create a product.</a>
</div>
</div>
<div... | gpl-3.0 |
vuchannguyen/web | lib/pear/PHP/CodeSniffer/CommentParser/ParserException.php | 2014 | <?php
/**
* An exception to be thrown when a DocCommentParser finds an anomilty in a
* doc comment.
*
* PHP version 5
*
* @category PHP
* @package PHP_CodeSniffer
* @author Greg Sherwood <gsherwood@squiz.net>
* @author Marc McIntyre <mmcintyre@squiz.net>
* @copyright 2006 Squiz Pty Ltd (ABN 77 084 67... | gpl-3.0 |
cityofasheville/quickmap | js/index.js | 6505 |
$('#search').click(function() {
if ( $('#txtSearch').val()){
addressStr = $('#txtSearch').val();
var urlStr = 'http://'+QuickMap.agsServerGeocode+'/'+QuickMap.agsServerInstanceNameGeocode+'/rest/services/'+QuickMap.geocdingLayerName+'/GeocodeServer/findAddressCandidates';
... | gpl-3.0 |
cascheberg/Signal-Android | app/src/main/java/org/thoughtcrime/securesms/jobs/RemoteDeleteSendJob.java | 9815 | package org.thoughtcrime.securesms.jobs;
import android.content.Context;
import androidx.annotation.NonNull;
import androidx.annotation.WorkerThread;
import com.annimon.stream.Stream;
import org.signal.core.util.logging.Log;
import org.thoughtcrime.securesms.crypto.UnidentifiedAccessUtil;
import org.thoughtcrime.se... | gpl-3.0 |
maaku/p2pool | p2pool/bitcoin/networks.py | 25415 | import os
import platform
from twisted.internet import defer
from . import data
from p2pool.util import math, pack
nets = dict(
bitcoin=math.Object(
P2P_PREFIX='f9beb4d9'.decode('hex'),
P2P_PORT=8333,
ADDRESS_VERSION=0,
RPC_PORT=8332,
RPC_CHECK=defer.inlineCallbacks(lambda... | gpl-3.0 |
devbridge/BetterCMS | Modules/BetterCms.Module.MediaManager/Scripts/bcms.media.upload.js | 28902 | /*jslint unparam: true, white: true, browser: true, devel: true */
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="bcms.media.upload.js" company="Devbridge Group LLC">
//
// Copyright (C) 2015,2016 Devbridge Group LLC
//
// T... | gpl-3.0 |
kikimo/leetcode | 82-remove-duplicates-from-sorted-list-ii.go | 579 | package main
import "fmt"
type ListNode struct {
Val int
Next *ListNode
}
/**
* Definition for singly-linked list.
* type ListNode struct {
* Val int
* Next *ListNode
* }
*/
func deleteDuplicates(head *ListNode) *ListNode {
ptr := &head
for *ptr != nil {
next := &((*ptr).Next)
val := (*ptr).V... | gpl-3.0 |
cwalther/Plasma-nobink-test | Sources/Plasma/PubUtilLib/plAudioCore/plWavFile.cpp | 36905 | /*==LICENSE==*
CyanWorlds.com Engine - MMOG client, server and tools
Copyright (C) 2011 Cyan Worlds, 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, either version 3 of the License, or
(at you... | gpl-3.0 |
mater06/LEGOChimaOnlineReloaded | LoCO Client Files/Decompressed Client/Extracted DLL/System.Web/System/Web/UI/WebControls/DetailsViewUpdatedEventHandler.cs | 906 | // Decompiled with JetBrains decompiler
// Type: System.Web.UI.WebControls.DetailsViewUpdatedEventHandler
// Assembly: System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// MVID: 7E68A73E-4066-4F24-AB0A-F147209F50EC
// Assembly location: C:\Windows\Microsoft.NET\Framework\v4.0.30319\System.W... | gpl-3.0 |
DroneBucket/Drone_Bucket_CrazyFlie2_NRF_Firmware | nrf51_sdk/Documentation/s210/html/search/enums_6d.js | 344 | var searchData=
[
['motion_5foutput_5fpolarity_5ft',['motion_output_polarity_t',['../group__nrf__drivers__adns2080.html#ga0a2e533ff5cb6517085859827320e103',1,'adns2080.h']]],
['motion_5foutput_5fsensitivity_5ft',['motion_output_sensitivity_t',['../group__nrf__drivers__adns2080.html#gaf829efdc343990811ba18dd86c68ef4... | gpl-3.0 |
HY-ZhengWei/hy.common.android | google.zxing.android/src/main/java/com/google/zxing/client/android/encode/EncodeActivity.java | 7720 | /*
* Copyright (C) 2008 ZXing authors
*
* 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 agr... | gpl-3.0 |
rafa1231518/CommunityBot | lib/xml2js-req/xmlbuilder/lodash/fp/object.js | 100 | 'use strict';
const convert = require('./convert');
module.exports = convert(require('../object'));
| gpl-3.0 |
SuperDARNCanada/placeholderOS | scheduler/local_scd_server.py | 12474 | #!/usr/bin/python3
# Copyright 2019 SuperDARN Canada
#
# local_scd_server.py
# 2019-04-18
# Moniters for new SWG files and adds the SWG info to the scd if there is an update.
#
import subprocess as sp
import scd_utils
import email_utils
import os
import datetime
import time
import argparse
SWG_GIT_REPO_DIR = 'schedul... | gpl-3.0 |
inpfss/my-code-work | NET/SantechinaSucher/ConsoleApplication2/Program.cs | 8592 | using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Runtime.Remoting.Messaging;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Web;
using HtmlAgilityPack;
namespace ConsoleApplication2
{
class DushOptio... | gpl-3.0 |
Norman0406/LISA-old | src/logbook/database/QSOEntry.cpp | 2188 | /***********************************************************************
*
* LISA: Lightweight Integrated System for Amateur Radio
* Copyright (C) 2013 Norman Link <norman.link@gmx.net>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as pub... | gpl-3.0 |
ISRAPIL/FastCorePE | src/pocketmine/level/sound/AnvilFallSound.php | 321 | <?php
namespace pocketmine\level\sound;
use pocketmine\math\Vector3;
use pocketmine\network\protocol\LevelEventPacket;
class AnvilFallSound extends GenericSound {
public function __construct(Vector3 $pos, $pitch = 0) {
parent::__construct($pos, LevelEventPacket::EVENT_SOUND_ANVIL_FALL, $pitch);
}
}... | gpl-3.0 |
JohannesBuchner/PyDNest | diffusivenested.py | 11913 | """
Pure Python implementation of Diffusive Nested Sampling.
Uses postprocess Python code from DNest3 (make sure it is in your PYTHONPATH)
"""
import numpy
from numpy import exp, log, log10, pi
class Level(object):
def __init__(self, logX, cutoff, accepts=0, tries=0, visits=0, exceeds=0):
self.cutoff = cutoff
s... | gpl-3.0 |
ncantu/socialNetWork | lib/_toDelete/NotificationTitle.php | 57 | <?php
class NotificationTitle extends Title {
}
?> | gpl-3.0 |
PanzerKunst/redesigned-cruited.com-frontend | rater-ui/app/models/Coupon.scala | 1157 | package models
import play.api.libs.functional.syntax._
import play.api.libs.json.{Format, JsPath}
case class Coupon(id: Long,
code: String,
campaignName: String,
expirationTimestamp: Long,
discountPercentage: Option[Int],
disco... | gpl-3.0 |
erikzenker/alpaka-examples | alpaka/include/alpaka/exec/ExecCpuFibers.hpp | 19984 | /**
* \file
* Copyright 2014-2015 Benjamin Worpitz
*
* This file is part of alpaka.
*
* alpaka 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 ... | gpl-3.0 |
mjfarmer/scada_py | env/lib/python2.7/site-packages/pymodbus/client/sync.py | 12819 | import socket
import serial
from pymodbus.constants import Defaults
from pymodbus.factory import ClientDecoder
from pymodbus.exceptions import NotImplementedException, ParameterException
from pymodbus.exceptions import ConnectionException
from pymodbus.transaction import FifoTransactionManager
from pymodbus.transactio... | gpl-3.0 |
Coheed/Shiny-Portfolio | system/modules/core/classes/StyleSheets.php | 60271 | <?php
/**
* Contao Open Source CMS
*
* Copyright (c) 2005-2013 Leo Feyer
*
* @package Core
* @link https://contao.org
* @license http://www.gnu.org/licenses/lgpl-3.0.html LGPL
*/
/**
* Run in a custom namespace, so the class can be replaced
*/
namespace Contao;
/**
* Class StyleSheets
*
* Provide m... | gpl-3.0 |
clockfort/amd-app-sdk-fixes | samples/opencl/cl/app/NBody/NBody.hpp | 11305 | /* ============================================================
Copyright (c) 2009 Advanced Micro Devices, Inc. All rights reserved.
Redistribution and use of this material is permitted under the following
conditions:
Redistributions must retain the above copyright notice and all terms of this
license.
In no eve... | gpl-3.0 |
pmediano/jidt | java/unittests/infodynamics/measures/discrete/SInfoTester.java | 2961 | /*
* Java Information Dynamics Toolkit (JIDT)
* Copyright (C) 2012, Joseph T. Lizier
*
* 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 |
osen/mutiny | src/mutiny/Font.cpp | 1862 | #include "Font.h"
#include "Texture2d.h"
#include "CharacterInfo.h"
#include "Vector2.h"
#include "Debug.h"
#include "Application.h"
#include "Resources.h"
#include <string>
#include <fstream>
#include <iostream>
namespace mutiny
{
namespace engine
{
ref<Font> Font::load(std::string path)
{
ref<Font> font = new F... | gpl-3.0 |
Malvineous/libgamecommon | include/camoto/stream_filtered.hpp | 9148 | /**
* @file camoto/stream_filtered.hpp
* @brief Pass read/write operations through a filter to modify the data.
*
* Copyright (C) 2010-2016 Adam Nielsen <malvineous@shikadi.net>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as pub... | gpl-3.0 |
moose3d/moose | src/Moose/Graphics/MooseModelHelper.cpp | 5574 | /******************************************************************************/
* Moose3D is a game development framework.
*
* Copyright 2006-2013 Anssi Gröhn / entity at iki dot fi.
*
* This file is part of Moose3D.
*
* Moose3D is free software: you can redistribute it and/or modify
* it under the terms of th... | gpl-3.0 |
Samsemilio/OpenCommonsGame | BackEnd/OpenCommonsGame.Collections.MongoDb/ObjectTypeCollection.cs | 968 | using MongoDB.Bson;
using MongoDB.Driver;
using OpenCommonsGame.Editor;
using OpenCommonsGame.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace OpenCommonsGame.Collections.MongoDb
{
public class ObjectTypeCollection : IObjectTypeCollection
{
public ... | gpl-3.0 |
Arunkrishna008/Yeng-App-Android | app/src/main/java/hsm/yeng/rules/Rules1.java | 2068 | package hsm.yeng.rules;
import android.content.res.AssetManager;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.webkit.WebSettings;
import android.webkit.WebView;
imp... | gpl-3.0 |
jonathandlo/deep-space-dive | Deep Space Dive/Program/Levels/LevelMenu.cs | 1540 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SharpDX;
using SharpDX.Direct2D1;
using SharpDX.Mathematics.Interop;
namespace DSD
{
public class LevelMenu : GameLevel
{
protected Title MainTitle;
protected Button NewGameButton;
protect... | gpl-3.0 |
MyCoRe-Org/mycore | mycore-viewer/src/main/typescript/modules/base/widgets/toolbar/model/ToolbarText.ts | 1283 | /*
* This file is part of *** M y C o R e ***
* See http://www.mycore.de/ for details.
*
* MyCoRe 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)... | gpl-3.0 |
AlxMedia/kontrast | search.php | 1180 | <?php get_header(); ?>
<div class="content">
<?php get_template_part('inc/page-title'); ?>
<div class="pad group">
<div class="notebox">
<?php esc_html_e('For the term','kontrast'); ?> "<span><?php echo get_search_query(); ?></span>".
<?php if ( !have_posts() ): ?>
<?php esc_html_e('Please try anot... | gpl-3.0 |
aohrem/Aeolus | class/datavalidation.class.php | 15400 | <?php
class DataValidation {
// default values for sensitivity of the outlier detection, window size and factor
private $defaultSensitivity = 2;
private $windowSizes = array('6h' => 12, '24h' => 8, '48h' => 8, '1w' => 24, '1m' => 7, '3m' => 7);
private $factor = array(1.0, 5.0, 1.5, ... | gpl-3.0 |