repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
FantomJAC/bekko | bekko-util/src/main/java/com/valleycampus/zigbee/io/FrameBuffer.java | 3394 | /*
* Copyright (C) 2014 Valley Campus Japan, Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published
* by the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* T... | lgpl-3.0 |
andrepuschmann/iris_modules_ospecorr | components/gpp/phy/OfdmDemodulator/OfdmDemodulatorComponent.cpp | 17427 | /**
* \file components/gpp/phy/OfdmDemodulator/OfdmDemodulatorComponent.cpp
* \version 1.0
*
* \section COPYRIGHT
*
* Copyright 2012-2013 The Iris Project Developers. See the
* COPYRIGHT file at the top-level directory of this distribution
* and at http://www.softwareradiosystems.com/iris/copyright.html.
*
* ... | lgpl-3.0 |
m-abboud/FontVerter | src/main/java/org/mabb/fontverter/opentype/TtfInstructions/instructions/graphic/AlignPoints.java | 1362 | /*
* Copyright (C) Maddie Abboud 2016
*
* FontVerter is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* FontVerter is d... | lgpl-3.0 |
SOCR/HTML5_WebSite | SOCR2.8/src/edu/ucla/stat/SOCR/util/DieProbabilityDialog.java | 3378 | /****************************************************
Statistics Online Computational Resource (SOCR)
http://www.StatisticsResource.org
All SOCR programs, materials, tools and resources are developed by and freely disseminated to the entire community.
Users may revise, extend, redistribute, modify under the term... | lgpl-3.0 |
tiagocoutinho/bliss | tests/comm/test_scpi.py | 6046 | import pytest
try:
from unittest.mock import Mock
except ImportError:
from mock import Mock
from bliss.comm.scpi import sanitize_msgs, min_max_cmd, cmd_expr_to_reg_expr
from bliss.comm.scpi import SCPI, COMMANDS, Commands
from bliss.comm.scpi import (Cmd, FuncCmd, IntCmd, IntCmdRO, IntCmdWO,
... | lgpl-3.0 |
lbndev/sonarqube | server/sonar-server/src/main/java/org/sonar/server/ws/ws/WebServicesWsModule.java | 1117 | /*
* SonarQube
* Copyright (C) 2009-2017 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3 of the License, o... | lgpl-3.0 |
pcolby/libqtaws | src/kms/signresponse.cpp | 6504 | /*
Copyright 2013-2021 Paul Colby
This file is part of QtAws.
QtAws is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later v... | lgpl-3.0 |
pcolby/libqtaws | src/elasticbeanstalk/describeinstanceshealthresponse.cpp | 4278 | /*
Copyright 2013-2021 Paul Colby
This file is part of QtAws.
QtAws is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later v... | lgpl-3.0 |
mobilesec/openuat | src/org/codec/audio/common/AudioEncoder.java | 8192 | package org.codec.audio.common;
import org.codec.utils.ArrayUtils;
import org.codec.utils.Constants;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
/**
* Copyright 2002 by the authors. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtain... | lgpl-3.0 |
esohns/libACENetwork | test_u/client_server/test_u_module_headerparser.cpp | 3920 | /***************************************************************************
* Copyright (C) 2009 by Erik Sohns *
* erik.sohns@web.de *
* *
* This program is free software; you can redistribute it and/or modify *
* it under t... | lgpl-3.0 |
mkelly1495/montessoricompass | app/view/activity/ActivityReports.js | 868 |
Ext.define("MontessoriCompass.view.activity.ActivityReports",{
extend: "Ext.navigation.View",
xtype: 'activityreports',
requires: [
"MontessoriCompass.view.activity.ActivityReportsController",
"MontessoriCompass.view.activity.ActivityReportsModel",
'Ext.dataview.List'
],
co... | lgpl-3.0 |
souvikdc9/aadhaarapi.net | Source/Uidai.Aadhaar.Sample/Auth.cs | 4012 | using System;
using System.Threading.Tasks;
using Uidai.Aadhaar.Agency;
using Uidai.Aadhaar.Api;
using Uidai.Aadhaar.Device;
using Uidai.Aadhaar.Resident;
using Uidai.Aadhaar.Security;
namespace Uidai.Aadhaar.Sample
{
public class Auth
{
private static readonly string BiometricData = "Rk1SACAyMAAAAADk... | lgpl-3.0 |
mishley/MooseEdit | TooltipFrame.cpp | 324 | #include "TooltipFrame.h"
#include "ui_TooltipFrame.h"
TooltipFrame::TooltipFrame(QWidget *parent) :
QFrame(parent, Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint | Qt::Tool),
ui(new Ui::TooltipFrame)
{
setAttribute(Qt::WA_ShowWithoutActivating);
ui->setupUi(this);
}
TooltipFrame::~TooltipFrame()
{
delete ui... | lgpl-3.0 |
SkywarnRussia/BALTRAD | baltrad_wms.py | 6934 | #!/usr/bin/env python
# read config
import ConfigParser
from configurator import *
settings = read_config()
from db_setup import *
import mapscript
def get_query_layer(layer_name):
if "_contour" in layer_name:
layer_name = layer_name.replace("_contour","")
return layer_name
def wms_request(req,setti... | lgpl-3.0 |
TheAnswer/FirstTest | bin/scripts/skills/creatureSkills/lok/npcs/miscAttacks.lua | 3472 | --Copyright (C) 2007 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any lat... | lgpl-3.0 |
chandrureddy/kimchi-wok-chandra | plugins/kimchi/model/vmifaces.py | 6163 | #
# Project Kimchi
#
# Copyright IBM, Corp. 2014-2015
#
# 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.
#
# Thi... | lgpl-3.0 |
dreamzor/alphaTab | Source/AlphaTab/Rendering/TabBarRenderer.cs | 7597 | /*
* This file is part of alphaTab.
* Copyright (c) 2014, Daniel Kuschny and Contributors, 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... | lgpl-3.0 |
theFisher86/MBINCompiler | libMBIN/Source/Models/Structs/GcPhotoBuilding.cs | 302 | namespace libMBIN.Models.Structs
{
public class GcPhotoBuilding : NMSTemplate
{
public enum PhotoBuildingTypeEnum { Shelter, Abandoned, Shop, Outpost, RadioTower, Observatory, Depot, Monolith, Factory, Portal, Ruin, MissionTower }
public PhotoBuildingTypeEnum PhotoBuildingType;
}
}
| lgpl-3.0 |
tkaczmarzyk/beandiff | src/main/scala/org/beandiff/support/AnnotationUtil.scala | 2397 | /**
* Copyright (c) 2012-2013, Tomasz Kaczmarzyk.
*
* This file is part of BeanDiff.
*
* BeanDiff 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 o... | lgpl-3.0 |
pcolby/libqtaws | src/s3/getbucketaclresponse.cpp | 2629 | /*
Copyright 2013-2021 Paul Colby
This file is part of QtAws.
QtAws is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later v... | lgpl-3.0 |
loopingz/webda | src/services/configuration.ts | 2544 | import { Service } from "../index";
interface ConfigurationProvider {
getConfiguration(id: string): Promise<Map<string, any>>;
}
/**
* Handle sessionSecret ( rolling between two secrets ) expire every hour
* Handle longTermSecret ( rolling between two longer secret ) expire every month
*/
export default class Co... | lgpl-3.0 |
Allors/allors1 | Adapters/Allors.Adapters.Object.SqlClient/Predicates/AssociationInstanceOf.cs | 3117 | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="AssociationInstanceOf.cs" company="Allors bvba">
// Copyright 2002-2016 Allors bvba.
//
// Dual Licensed under
// a) the Lesser General Public Licence v3 (LGPL)
// b) the Al... | lgpl-3.0 |
NeoFragCMS/neofrag-cms | themes/default/default.php | 8958 | <?php
/**
* https://neofr.ag
* @author: Michaël BILCOT <michael.bilcot@neofr.ag>
*/
namespace NF\Themes\Default_;
use NF\NeoFrag\Addons\Theme;
class Default_ extends Theme
{
protected function __info()
{
return [
'title' => 'Thème par défaut',
'description' => 'Base de développement pour la créati... | lgpl-3.0 |
luquinhasbrito/pot-class | src/OTS_FileNode.php | 3572 | <?php
/**#@+
* @version 0.0.6
* @since 0.0.6
*/
/**
* Code in this file bases on oryginal OTServ binary format loading C++ code (fileloader.h, fileloader.cpp).
*
* @package POT
* @version 0.1.2
* @author Wrzasq <wrzasq@gmail.com>
* @copyright 2007 - 2008 (C) by Wrzasq
* @license http://www.gn... | lgpl-3.0 |
loftuxab/community-edition-old | projects/alfresco-jlan/source/java/org/alfresco/jlan/debug/cluster/DebugClusterMessage.java | 1482 | /*
* Copyright (C) 2006-2011 Alfresco Software Limited.
*
* This file is part of Alfresco
*
* Alfresco 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 y... | lgpl-3.0 |
BeSports/Goldmine-Server | src/enums/Types.js | 48 | export default {
VERTEX: 'v',
EDGE: 'e',
};
| lgpl-3.0 |
TKiura/MetBroker3 | MetBroker3/src/net/agmodel/chizudriver/DEMISMapServer.java | 5078 | package net.agmodel.chizudriver;
import java.awt.*;
import java.awt.image.*;
import java.util.Properties;
import net.agmodel.utility.*;
import net.agmodel.physical.*;
import net.agmodel.chizudata.*;
import net.agmodel.chizudriver.ChizuAccessMechanism;
//for testing only
//import net.agmodel.panel.MapPanel;
//impor... | lgpl-3.0 |
danzone/dspot | dspot/src/test/java/eu/stamp_project/utils/TypeUtilsTest.java | 1447 | package eu.stamp_project.utils;
import org.junit.Test;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
/**
* Created by Benjamin DANGLOT
* benjamin.danglot@inria.fr
* on 07/08/17
*/
public cla... | lgpl-3.0 |
exoplatform/platform-qa-ui | answer/src/main/java/org/exoplatform/platform/qa/ui/answer/pageobject/AnswerHomePage.java | 1912 | package org.exoplatform.platform.qa.ui.answer.pageobject;
import static com.codeborne.selenide.Selectors.byXpath;
import static com.codeborne.selenide.Selenide.$;
import static com.codeborne.selenide.Selenide.refresh;
import static org.exoplatform.platform.qa.ui.selenium.locator.answer.AnswerLocator.*;
import static ... | lgpl-3.0 |
Ektorus/bohrium | vem/proxy/timing.cpp | 1413 | /*
This file is part of Bohrium and copyright (c) 2012 the Bohrium
team <http://www.bh107.org>.
Bohrium 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) ... | lgpl-3.0 |
swift-nav/piksi_tools | piksi_tools/simulator_almanac_generator.py | 2406 | #!/usr/bin/env python
# Copyright (C) 2011-2014 Swift Navigation Inc.
# Contact: Fergus Noble <fergus@swift-nav.com>
#
# This source is subject to the license found in the file 'LICENSE' which must
# be be distributed together with this source. All other rights reserved.
#
# THIS CODE AND INFORMATION IS PROVIDED "AS IS... | lgpl-3.0 |
SonarSource/sonarqube | server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/ws/template/SetDefaultTemplateActionTest.java | 8407 | /*
* SonarQube
* Copyright (C) 2009-2022 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3 of the License, o... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/mobile/corellia/talon_karrde.lua | 763 | talon_karrde = Creature:new {
objectName = "@npc_spawner_n:talon_karrde",
socialGroup = "townsperson",
pvpFaction = "townsperson",
faction = "townsperson",
level = 100,
chanceHit = 1,
damageMin = 645,
damageMax = 1000,
baseXp = 9429,
baseHAM = 24000,
baseHAMmax = 30000,
armor = 0,
resists = {0,0,0,0,0,0,0,... | lgpl-3.0 |
Ja-ake/Common-Chicken-Runtime-Engine | CommonChickenRuntimeEngine/src/ccre/drivers/ByteFiddling.java | 8994 | /*
* Copyright 2015 Colby Skeggs
*
* This file is part of the CCRE, the Common Chicken Runtime Engine.
*
* The CCRE 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... | lgpl-3.0 |
SmartITEngineering/smart-util | rest/atom/src/main/java/com/smartitengineering/util/rest/atom/PaginatedEntitiesWrapper.java | 3314 | /*
* This is a utility project for wide range of applications
*
* Copyright (C) 2010 Imran M Yousuf (imyousuf@smartitengineering.com)
*
* 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 Foundat... | lgpl-3.0 |
whot/evemu | python/evemu/__init__.py | 15643 | """
The evemu module provides the Python interface to the kernel-level input device
raw events.
"""
# Copyright 2011-2012 Canonical Ltd.
# Copyright 2014 Red Hat, Inc.
#
# This library is free software: you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License version 3
# as p... | lgpl-3.0 |
js-works/js-scenery | boxroom/archive/js-remix_2018-04-27/webpack.config.js | 165 | const path = require('path');
module.exports = {
entry: './src/index.js',
output: {
filename: 'remix.js',
path: path.resolve(__dirname, 'dist')
}
};
| lgpl-3.0 |
FreeOpcUa/python-opcua | opcua/tools.py | 30498 | import logging
import sys
import argparse
from datetime import datetime, timedelta
import math
import time
try:
from IPython import embed
except ImportError:
import code
def embed():
code.interact(local=dict(globals(), **locals()))
from opcua import ua
from opcua import Client
from opcua import S... | lgpl-3.0 |
ArticulatedSocialAgentsPlatform/AsapRealizer | Engines/Animation/AsapAnimationEngine/src/asap/animationengine/lipsync/TimedAnimationUnitLipSynchProvider.java | 5224 | /*******************************************************************************
* Copyright (C) 2009-2020 Human Media Interaction, University of Twente, the Netherlands
*
* This file is part of the Articulated Social Agents Platform BML realizer (ASAPRealizer).
*
* ASAPRealizer is free software: you can redistrib... | lgpl-3.0 |
rui-castro/roda | roda-ui/roda-wui/src/main/java/org/roda/wui/filter/CasClient.java | 5847 | /**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE file at the root of the source
* tree and available online at
*
* https://github.com/keeps/roda
*/
package org.roda.wui.filter;
import java.io.IOException;
import java.util.regex.Matcher;
import java.util.regex.Pat... | lgpl-3.0 |
PHPBenelux/App | lib/src/fx/PropertyHandler.js | 12663 | /**
* @class Ext.fx.PropertyHandler
* @ignore
*/
Ext.define('Ext.fx.PropertyHandler', {
/* Begin Definitions */
requires: ['Ext.draw.Draw'],
statics: {
defaultHandler: {
pixelDefaultsRE: /width|height|top$|bottom$|left$|right$/i,
unitRE: /^(-?\d*\.?\d*){1}(em|ex|px|in|c... | lgpl-3.0 |
jonathanmorgan/msu_phd_work | data/article_coding/archive/article_coding.py | 5588 | # imports
import six
# context_text imports
from context_text.models import Article
from context_text.article_coding.article_coding import ArticleCoding
# declare variables
# declare variables - article filter parameters
start_pub_date = None # should be datetime instance
end_pub_date = None # should be datetime in... | lgpl-3.0 |
DomeA/Nebula | code/Leo/mappingo/servers/micro-service/gis-process/src/main/java/com/domeastudio/mappingo/server/microservice/gisprocess/core/WKT2Geometry.java | 6794 | package com.domeastudio.mappingo.server.microservice.gisprocess.core;
import com.vividsolutions.jts.geom.*;
import com.vividsolutions.jts.io.ParseException;
import com.vividsolutions.jts.io.WKTReader;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.Collection;
import java.util.List;
/**
* ... | lgpl-3.0 |
joansmith/sonarqube | server/sonar-server/src/main/java/org/sonar/server/rule/ws/CreateAction.java | 6883 | /*
* SonarQube
* Copyright (C) 2009-2016 SonarSource SA
* mailto:contact AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3 of the License... | lgpl-3.0 |
km-works/portal-rpc | portal-rpc-client/src/main/java/com/liferay/portlet/asset/model/impl/AssetTagModelImpl.java | 16963 | /**
* Copyright (c) 2000-2013 Liferay, Inc. 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 2.1 of the License, or (at your option)
* any later... | lgpl-3.0 |
smba/oak | edu.cmu.cs.oak/src/main/resources/COM.php | 250 | <?php
class COM {
public function __construct($module_name) {
}
public function AddRef() {
}
public function Release() {
}
public function All() {
}
public function Next() {
}
public function Prev() {
}
public function Reset() {
}
}
?> | lgpl-3.0 |
ijon/elliptics | bindings/cpp/callback.cpp | 6167 | /*
* 2008+ Copyright (c) Evgeniy Polyakov <zbr@ioremap.net>
* 2012+ Copyright (c) Ruslan Nigmatullin <euroelessar@yandex.ru>
* All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Sof... | lgpl-3.0 |
egk696/VHDL_FSM_Visualizer | VHDL FSM Visualizer/Utils.cs | 16229 | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace VHDL_FSM_Visualizer
{
class Utils
{
public static Form1 form { get; set; }
... | lgpl-3.0 |
clodbrasilino/eficiencia-energetica-web | emulador-see/src/br/edu/ifpi/see/emulador/servlets/LigaPresencaServlet.java | 858 | package br.edu.ifpi.see.emulador.servlets;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import br.edu.ifpi.se... | lgpl-3.0 |
bigfug/Fugio | plugins/Serial/serialdecodernode.cpp | 2226 | #include "serialdecodernode.h"
#include <QBitArray>
#include <fugio/core/uuid.h>
#include <fugio/context_interface.h>
SerialDecoderNode::SerialDecoderNode( QSharedPointer<fugio::NodeInterface> pNode )
: NodeControlBase( pNode )
{
FUGID( PIN_INPUT_BITS, "7AC449C1-0CC8-4DEA-A404-BB439BDD976E" );
FUGID( PIN_OUTPUT_... | lgpl-3.0 |
CUCKOO0615/MyCode | CkUpdater/CkUpdater/stdafx.cpp | 215 | // stdafx.cpp : Ö»°üÀ¨±ê×¼°üº¬ÎļþµÄÔ´Îļþ
// CkUpdater.pch ½«×÷ΪԤ±àÒëÍ·
// stdafx.obj ½«°üº¬Ô¤±àÒëÀàÐÍÐÅÏ¢
#include "stdafx.h"
// TODO: ÔÚ STDAFX.H ÖÐ
// ÒýÓÃÈκÎËùÐèµÄ¸½¼ÓÍ·Îļþ£¬¶ø²»ÊÇÔÚ´ËÎļþÖÐÒýÓÃ
| lgpl-3.0 |
stamppot/bcms_store_products | app/models/product_type.rb | 264 | class ProductType < ActiveRecord::Base
acts_as_content_block :belongs_to_attachment => true
has_many :products
belongs_to :user
validates_presence_of :name
validates_uniqueness_of :name
named_scope :published, :conditions => {:published => true}
end
| lgpl-3.0 |
martintreurnicht/ethereumj | ethereumj-core/src/main/java/org/ethereum/sync/HeadersDownloader.java | 4192 | /*
* Copyright (c) [2016] [ <ether.camp> ]
* This file is part of the ethereumJ library.
*
* The ethereumJ 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 of the License, ... | lgpl-3.0 |
queueit/QueueIT.Security-Php | QueueIT.Security.Tests/simpletest/test/tag_test.php | 21342 | <?php
// $Id: tag_test.php 1748 2008-04-14 01:50:41Z lastcraft $
require_once(dirname(__FILE__) . '/../autorun.php');
require_once(dirname(__FILE__) . '/../tag.php');
require_once(dirname(__FILE__) . '/../encoding.php');
Mock::generate('SimpleMultipartEncoding');
class TestOfTag extends UnitTestCase {
functio... | lgpl-3.0 |
medialab/frontcast | observer/forms.py | 173 | #!/usr/bin/python
# -*- coding: utf-8 -*-
from django import forms
from observer.models import Device
class DeviceForm(forms.ModelForm):
class Meta:
model = Device | lgpl-3.0 |
lffg/lffg.github.io | src/components/locale-changer.tsx | 1025 | import { Link } from 'gatsby';
import React from 'react';
import { locales, Locale, createLocalizedPath } from '../../resources/i18n';
import { useLocale } from '../context/locale';
interface Props {
className?: string;
}
export function LocaleChanger({ className }: Props) {
const { currentLocale } = useLocale();... | lgpl-3.0 |
TheAnswer/FirstTest | bin/scripts/skills/creatureSkills/corellia/creatures/tabageAttacks.lua | 3125 | tabageAttack1 = {
attackname = "tabageAttack1",
animation = "creature_attack_light",
requiredWeaponType = NONE,
range = 7,
damageRatio = 1.2,
speedRatio = 4,
arearange = 7,
accuracyBonus = 0,
knockdownCh... | lgpl-3.0 |
vamsirajendra/sonarqube | server/sonar-server/src/main/java/org/sonar/server/computation/metric/MetricDtoToMetric.java | 1847 | /*
* SonarQube, open source software quality management tool.
* Copyright (C) 2008-2014 SonarSource
* mailto:contact AT sonarsource DOT com
*
* SonarQube 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 Found... | lgpl-3.0 |
ezcall-net-tw/EZCall | src/com/csipsimple/service/Downloader.java | 8874 | /**
* Copyright (C) 2010-2012 Regis Montoya (aka r3gis - www.r3gis.fr)
* This file is part of CSipSimple.
*
* CSipSimple 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... | lgpl-3.0 |
oscarlab/graphene | Examples/python/scripts/test-numpy.py | 387 | #!/usr/bin/env python3
import timeit
import numpy
try:
import numpy.core._dotblas
except ImportError:
pass
print("numpy version: " + numpy.__version__)
x = numpy.random.random((1000, 1000))
setup = "import numpy; x = numpy.random.random((1000, 1000))"
count = 5
t = timeit.Timer("numpy.dot(x, x.T)", setup... | lgpl-3.0 |
MerlinYoung/boost_protobuf_server | client/server.py | 257 | #!/usr/bin/env python
import t_pb2
import protobuf.socketrpc.server
#class t_service_imp(t_pb2.t_service):
# a
if __name__ == '__main__':
server = protobuf.socketrpc.server.SocketRpcServer(10081)
server.registerService(t_pb2.t_service())
server.run()
| lgpl-3.0 |
SonarSource/sonarqube | server/sonar-db-dao/src/testFixtures/java/org/sonar/db/plugin/PluginTesting.java | 1490 | /*
* SonarQube
* Copyright (C) 2009-2022 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3 of the License, o... | lgpl-3.0 |
LabDin/RobotSystem-Lite | docs/dir_68267d1309a1af8e8297ef4c3efbcdba.js | 605 | var dir_68267d1309a1af8e8297ef4c3efbcdba =
[
[ "actuator.h", "actuator_8h.html", "actuator_8h" ],
[ "config_keys.h", "config__keys_8h_source.html", null ],
[ "input.h", "input_8h.html", "input_8h" ],
[ "motor.h", "motor_8h.html", "motor_8h" ],
[ "robot.h", "robot_8h.html", "robot_8h" ],
[ "senso... | lgpl-3.0 |
loftuxab/community-edition-old | projects/repository/source/java/org/alfresco/repo/action/executer/RemoveFeaturesActionExecuter.java | 2649 | /*
* Copyright (C) 2005-2010 Alfresco Software Limited.
*
* This file is part of Alfresco
*
* Alfresco 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 y... | lgpl-3.0 |
djvanenckevort/molgenis | molgenis-data-index/src/main/java/org/molgenis/data/index/IndexDependencyModel.java | 3948 | package org.molgenis.data.index;
import com.google.common.collect.ImmutableSet;
import org.molgenis.data.Fetch;
import org.molgenis.data.meta.model.Attribute;
import org.molgenis.data.meta.model.EntityType;
import org.molgenis.util.GenericDependencyResolver;
import java.util.List;
import java.util.Map;
import java.ut... | lgpl-3.0 |
ricardogarcia/responsive-webapp | AudienceTool/.meteor/.famono-base/lib/famous/modifiers/Gruntfile.js | 820 | Famono.scope('famous/modifiers/Gruntfile', ["load-grunt-tasks","time-grunt"], function(require, define) {
define(function() {
/*global module:false*/
/*Generated initially from grunt-init, heavily inspired by yo webapp*/
module.exports = function(grunt) {
'use strict';
// Load grunt tasks automatically
require... | lgpl-3.0 |
Ohrm/Malgra | src/main/java/ohrm/malgra/api/network/IMalgraLinkable.java | 178 | package ohrm.malgra.api.network;
public interface IMalgraLinkable {
void onLinkedSource(IMalgraLinkable linkedTo);
void onLinkedDestination(IMalgraLinkable linkedTo);
}
| lgpl-3.0 |
dunamis1974/puzzleapps | core/modules/gsitemap/drivers/generator.inc.php | 1413 | <?php
function gsitemap_generate () {
global
$SYS_LANGUAGES,
$_TEXTID,
$EDITLANGUAGE,
$LANGUAGES,
$COREROOT,
$CURRENTPLATFORM,
$MOD_GSITEMAP,
$_dtd_types;
$XML = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<urlset xmlns=\"http://www.sitemaps.org/... | lgpl-3.0 |
cismet/cismap-plugin | src/main/java/de/cismet/cismap/navigatorplugin/protocol/GeoContextProtocolStep.java | 391 | /***************************************************
*
* cismet GmbH, Saarbruecken, Germany
*
* ... and it just works.
*
****************************************************/
package de.cismet.cismap.navigatorplugin.protocol;
/**
* DOCUMENT ME!
*
* @author jruiz
* @version $Revision$, $Date$
*/
pu... | lgpl-3.0 |
GeirGrusom/WebShard | WebShard/Serialization/Json/TypeHelper.cs | 1127 | using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Reflection;
namespace WebShard.Serialization.Json
{
static class TypeHelper
{
public static DeserializeElement<T> CreateDeserializeProc<T>()
{
var deType = JsonDeserializer.GetDeserializer<T>... | lgpl-3.0 |
galleon1/chocolate-milk | src/org/chocolate_milk/model/types/descriptors/DeliveryMethodTypeDescriptor.java | 3442 | /*
* This class was automatically generated with
* <a href="http://www.castor.org">Castor 1.3.1</a>, using an XML
* Schema.
* $Id: DeliveryMethodTypeDescriptor.java,v 1.1.1.1 2010-05-04 22:06:02 ryan Exp $
*/
package org.chocolate_milk.model.types.descriptors;
//---------------------------------/
//- Importe... | lgpl-3.0 |
osjimenez/fuxion | trash/Ordinem/Shell/Xamarin/Forms.Android/MainActivity.cs | 1386 | using System;
using Android.App;
using Android.Content.PM;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.OS;
namespace Ordinem.Shell.Xamarin.Forms.Droid
{
[Activity(Label = "Ordinem.Shell.Xamarin.Forms", Icon = "@mipmap/icon", Theme = "@style/MainTheme", MainLauncher = true, Con... | lgpl-3.0 |
blackeye42/ChargeBeeDataSync | src/main/scala/core/OptionConf.scala | 1434 | /*
* ________ ____
* / ____/ /_ ____ __________ ____ / __ )___ ___
* / / / __ \/ __ `/ ___/ __ `/ _ \/ __ / _ \/ _ \
* / /___/ / / / /_/ / / / /_/ / __/ /_/ / __/ __/
* \____/_/ /_/\__,_/_/ \__, /\___/_____/\___/\___/
* /____/
*
* __ __... | lgpl-3.0 |
jkettleb/iris | lib/iris/tests/unit/analysis/maths/__init__.py | 6519 | # (C) British Crown Copyright 2014 - 2015, Met Office
#
# This file is part of Iris.
#
# Iris 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 l... | lgpl-3.0 |
Wmaxlees/jarvis-os | Documentation/html/search/all_8.js | 244 | var searchData=
[
['testmodule',['TestModule',['../class_test_module.html',1,'']]],
['testmodule_2ecpp',['TestModule.cpp',['../_test_module_8cpp.html',1,'']]],
['testmodule_2ehpp',['TestModule.hpp',['../_test_module_8hpp.html',1,'']]]
];
| lgpl-3.0 |
MrRiegel/Various-Items | src/main/java/mrriegel/various/gui/jetpack/ContainerJetPack.java | 3274 | package mrriegel.various.gui.jetpack;
import mrriegel.various.config.ConfigHandler;
import mrriegel.various.gui.CrunchItemInventory;
import mrriegel.various.helper.NBTHelper;
import mrriegel.various.init.ModItems;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.player.InventoryPlayer;
impo... | lgpl-3.0 |
pinf-it/pinf-it-bundler | test/assets/packages/nodejs-multiple/app.js | 184 |
var GREETING = require("greeting");
var LIB = require("./lib");
function main() {
console.log(GREETING[LIB.getGreetingMethodName()]());
}
if (require.main === module) {
main();
}
| unlicense |
bpmartins/sgcm | src/main/webapp/includes/jQuery/jquery.pagination.js | 9057 | /**
* This jQuery plugin displays pagination links inside the selected elements.
*
* This plugin needs at least jQuery 1.4.2
*
* @author Gabriel Birke (birke *at* d-scribe *dot* de)
* @version 2.1
* @param {int} maxentries Number of entries to paginate
* @param {Object} opts Several options (see README for doc... | unlicense |
pepe1914/jfx_libbase | src-datasource1/javafx/org/scene/effect/shaderstore/topmng/ZSS_EffTopMngITF.java | 761 | /* ZSS_EffTopMngITF.java */
package javafx.org.scene.effect.shaderstore.topmng;
import javafx.org.scene.effect.shaderstore.mng.ZSS_EffMngITF;
import com.sun.javafx.org.annotations.ZAdded;
import com.sun.javafx.org.shaderstore.topmng.ZSS_AbsTopMngITF;
/**
* This interface is only used to store the effect shader stora... | unlicense |
6tail/nlf | WebContent/js/util/MD5.js | 5355 | /**
* I.util.MD5
* <i>MD5编码</i>
* <u>I.util.MD5.encode(s);</u>
*/
I.regist('util.MD5',function(W,D){
var hex_chr = "0123456789abcdef";
var rhex = function(num){
var str = '';
for(var j = 0; j <= 3; j++){
str += hex_chr.charAt((num >> (j * 8 + 4)) & 0x0F) + hex_chr.charAt((num >> (j * 8))... | unlicense |
BazkieBumpercar/GameplayFootball | src/onthepitch/player/controller/strategies/offtheball/default_off.hpp | 668 | // written by bastiaan konings schuiling 2008 - 2015
// this work is public domain. the code is undocumented, scruffy, untested, and should generally not be used for anything important.
// i do not offer support, so don't ask. to be used for inspiration :)
#ifndef _HPP_STRATEGY_DEFAULT_OFFENSE
#define _HPP_STRATE... | unlicense |
arfo90/node-tips-tricks-sample-code | network/net-watcher.js | 775 | 'use strict';
const
fs = require('fs'),
net = require('net'),
filename = process.argv[2],
server = net.createServer(function(connection) {
//reporting
console.log('Subscriber connected.');
connection.write("Now Watching '" + filename + "'for changes...\n'");
//watcher setup
... | unlicense |
ucodescs/CMS | application/models/utilizadores_model.php | 4126 | <?php if (!defined('BASEPATH')) exit('No direct script access allowed');
class Utilizadores_model extends CI_Model
{
//Admin
//Backend
function be_get_users()
{
$query = $this->db->query("SELECT * FROM utilizadores");
return $query->result();
}
function be_get_user_by_hash($hash)
{
... | unlicense |
ajmrive/poll_intention | protected/views/response/update.php | 582 | <?php
/* @var $this ResponseController */
/* @var $model response */
$this->breadcrumbs=array(
'Responses'=>array('index'),
$model->id=>array('view','id'=>$model->id),
'Update',
);
$this->menu=array(
array('label'=>'List response', 'url'=>array('index')),
array('label'=>'Create response', 'url'=>array('create'))... | unlicense |
MichaelWoodhams/HybridSeq | src/hybridseq/SimpleWeightedTree.java | 405 | package hybridseq;
import pal.tree.SimpleTree;
import pal.tree.Tree;
@SuppressWarnings("serial")
public class SimpleWeightedTree extends SimpleTree implements WeightedTree {
private double weight;
public SimpleWeightedTree(Tree tree, double weight) {
super(tree);
this.weight = weight;
}
public void setWeight... | unlicense |
OlegPshenichniy/RabbitMQ-Python | with_txamqp/rabbit.py | 13467 | import optparse
import sys
import uuid
from twisted.internet import reactor
from twisted.internet.defer import inlineCallbacks, returnValue
from twisted.internet.protocol import ClientCreator
from txamqp.client import TwistedDelegate
from txamqp.content import Content
from txamqp.protocol import AMQClient
import txamq... | unlicense |
boredgamerz/block-Chaos | Assets/Scripts/Paddle.cs | 2582 | using UnityEngine;
using System.Collections;
public class Paddle : MonoBehaviour {
public bool autoPlay = false;
public bool MoveWithArrowKeys = false;
public float speed = 3f;
private Ball ball;
public float padding = 1;
private float xmax = -5;
private float xmin = 5;
void Start(){
ball = GameObj... | unlicense |
marouanopen/PTS4-PhotoStore | src/main/java/fotowebstore/util/PasswordHandler.java | 549 | package fotowebstore.util;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.security.SecureRandom;
public class PasswordHandler {
public static byte[] hash(byte[] input) throws NoSuchAlgorithmException {
MessageDigest messageDigest = MessageDigest.getInstance... | unlicense |
fdolci/cj-ztYt7MVxgtFy5vL3 | modules/AjaxUpload/ajax/subir_un_afiche.php | 5691 | <?php
$mipath='../';
include ($mipath.'../../inc/config.php');
$datos_ajaxupload = request('datos_ajaxupload','');
if(empty($datos_ajaxupload)) { echo "error ";}
$ajaxupload = unserialize( base64_decode($datos_ajaxupload) );
/*
$ajaxupload['tabla'] = 'publicaciones_imagenes';
$ajaxupload... | unlicense |
SeanShubin/contract | domain/src/main/scala/com/seanshubin/contract/domain/FilesDelegate.scala | 8010 | package com.seanshubin.contract.domain
import java.io.{BufferedReader, BufferedWriter, InputStream, OutputStream}
import java.nio.channels.SeekableByteChannel
import java.nio.charset.Charset
import java.nio.file.DirectoryStream.Filter
import java.nio.file._
import java.nio.file.attribute._
import java.util.function.Bi... | unlicense |
iamstupid/toybi | zemmud/pRNG.cpp | 1261 | #ifndef pRNG_impl
#define pRNG_impl
namespace pRNG{
template<class result_type>
struct pRNG{
void*data_region;
typedef result_type(*function_type)(void*);
function_type iterate_function;
pRNG(void*data_region,function_type iterate_function):
data_region(data_region),
iterate_function(iterate_function){}... | unlicense |
rm-code/love-IDEA-plugin | love_0100/audio.lua | 526 | module('love.audio')
function getDistanceModel() end
function getDopplerScale() end
function getSourceCount() end
function getOrientation() end
function getPosition() end
function getVelocity() end
function getVolume() end
function newSource() end
function pause() end
function play() end
function resume() end
function... | unlicense |
elnormous/ouzel | engine/audio/mixer/Data.hpp | 769 | // Ouzel by Elviss Strazdins
#ifndef OUZEL_AUDIO_MIXER_DATA_HPP
#define OUZEL_AUDIO_MIXER_DATA_HPP
#include <memory>
#include "Object.hpp"
namespace ouzel::audio::mixer
{
class Stream;
class Data: public Object
{
public:
Data() noexcept = default;
Data(std::uint32_t initChannels, std... | unlicense |
amounir86/amounir86-2011-elections | voter-info/shapes/json/205_2615.js | 6362 | GoogleElectionMap.shapeReady({name:"205_2615",type:"state",state:"205_2615",bounds:[],centroid:[],shapes:[
{points:[
{x:32.1777917019685,y: 26.1031848443499}
,
{x:32.1780157397597,y: 26.103115932385}
,
{x:32.1781421104793,y: 26.1033390570173}
,
{x:32.1799916301116,y: 26.102765569028}
,
{x:32.1879139920243,y: 26.1003087... | unlicense |
shaabans/simple-android-image-picker | src/com/polkadotninja/util/AndroidTools.java | 2431 | package com.polkadotninja.util;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.database.Cursor;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.net.Uri;
import android.provider.MediaStore;
import android.widget.ImageView;... | unlicense |
bsielski/fantasy-name-generator | group.js | 1234 | function generateGroupGUI(groupLabel) {
const element = generateElement("section", {class: "group-box"})
const header = generateElement("div", {textNode: groupLabel, class: "group-box__header"})
const body = generateElement("div", {class: "group-box__body"})
element.appendChild(header)
element.appen... | unlicense |
PartyPlanner64/PartyPlanner64 | src/audio/ALKeyMap.ts | 713 | export class ALKeyMap {
private __type: string = "ALKey";
public velocityMin!: number;
public velocityMax!: number;
public keyMin!: number;
public keyMax!: number;
public keyBase!: number;
public detune!: number;
constructor(B1view: DataView, keymapOffset: number) {
this._extract(B1view, keymapOff... | unlicense |
Hoverbear/rust-rosetta | tasks/holidays-related-to-easter/src/main.rs | 1604 | use std::ops::Add;
use chrono::{prelude::*, Duration};
#[allow(clippy::cast_possible_truncation)]
#[allow(clippy::cast_sign_loss)]
#[allow(clippy::cast_possible_wrap)]
fn get_easter_day(year: u32) -> chrono::NaiveDate {
let k = (f64::from(year) / 100.).floor();
let d = (19 * (year % 19)
+ ((15 - ((13.... | unlicense |
sangshub/55231 | Client/Logo.cpp | 1927 | #include "stdafx.h"
#include "Logo.h"
#include "SceneMgr.h"
#include "TextureMgr.h"
#include "Device.h"
#include "TimeMgr.h"
CLogo::CLogo()
{
}
CLogo::~CLogo()
{
Release();
}
HRESULT CLogo::Initialize()
{
m_tFrame.fCnt = 2;
m_tFrame.fMax = 5;
m_tFrame.fFrame = 0;
m_pDevice->SoundPlay(TEXT("Menu"), 1);
return... | unlicense |
LouisT/MetaInfo | apis/enabled/deviantartcom.js | 385 | /*
MetaInfo - Louis T. <LouisT@ltdev.im>
https://github.com/LouisT/MetaInfo
For more information on oEmbed visit http://oembed.com/
*/
module.exports = {
url: 'http://backend.deviantart.com/oembed?url={:id}',
regex: /(?:https?:\/\/)(?:.*\.)?(fav\.me|sta\.sh|deviantart\.com)\/(?:.[^\?]+)/i,
full... | unlicense |