code
stringlengths
3
1.05M
repo_name
stringlengths
4
116
path
stringlengths
4
991
language
stringclasses
9 values
license
stringclasses
15 values
size
int32
3
1.05M
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This file is part of SableCC. * * See the file "LICENSE" for copyright information and the * * terms and conditions for copying, distribution and * * modification of SableCC. * * * ...
renatocf/MAC0434-PROJECT
external/sablecc-3.7/src/org/sablecc/sablecc/AlternativeElementTypes.java
Java
gpl-3.0
1,765
#include <vector> #include <iostream> #include <algorithm> std::vector<int> modulus(std::vector<int> a); void multiplication(std::vector<int> a, std::vector<int> b) { std::vector<int> c; c.resize(a.size() + b.size() - 1); for (int x = 0; x < b.size(); x++) { for (int y = 0; y < a.size(); y++) { c[x + y] += ...
Tomashnikov/GF_Multiplication
GF_Multiplication/GF_Multiplication/multiplication.cpp
C++
gpl-3.0
730
/* * Copyright 2012 Justin Driggers <jtxdriggers@gmail.com> * * This file is part of Ventriloid. * * Ventriloid 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...
justindriggers/Ventriloid
com.jtxdriggers.android.ventriloid/src/com/jtxdriggers/android/ventriloid/ServerAdapter.java
Java
gpl-3.0
7,275
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE TS> <TS version="2.1" language="lb_LU"> <context> <name>QObject</name> <message> <location filename="../main/main.cpp" line="+87"/> <source>LTR</source> <translation type="unfinished"></translation> </message> </context> </TS>
annejan/qtpass
localization/localization_lb_LU.ts
TypeScript
gpl-3.0
312
<?php /** * WooCommerce Account Functions * * Functions for account specific things. * * @author WooThemes * @category Core * @package WooCommerce/Functions * @version 2.6.0 */ if ( ! defined( 'ABSPATH' ) ) { exit; } /** * Returns the url to the lost password endpoint url. * * @access public * @para...
SteveHoneyNZ/woocommerce
includes/wc-account-functions.php
PHP
gpl-3.0
8,677
<!-- Give the category a name. --> <p> {!! Form::label('title','Title:') !!} {!! Form::text('title', old('title'), ['class' => 'form-control']) !!} </p> <!-- Give a good description. --> <p> {!! Form::label('description', 'Description:') !!} {!! Form::textarea('description', old('description'), ['class' => 'form-contro...
pchater/flommerce.dev
resources/views/categories/form.blade.php
PHP
gpl-3.0
627
/* * Copyright (C) 2017 GedMarc * * 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 distribute...
GedMarc/JWebSwing
src/main/java/com/jwebmp/core/base/servlets/JWebMPServlet.java
Java
gpl-3.0
2,483
/* * 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 com.iescomercio.tema5.cuentas_bancarias; /** * * @author VESPERTINO */ public class CuentaAhorro extends CuentaC...
sagasta95/DAW1
src/com/iescomercio/tema5/cuentas_bancarias/CuentaAhorro.java
Java
gpl-3.0
921
#pragma once #include "GLTexture.hpp" namespace mls { template<GLenum textureType> class GLTextureHandle { GLuint64 m_nHandle = 0u; public: explicit GLTextureHandle(GLuint64 handle = 0u) : m_nHandle(handle) { } explicit GLTextureHandle(const GLTextureBase<textureType>& texture): m_nHandle(gl...
Celeborn2BeAlive/melisandre
melisandre/src/melisandre/opengl/utils/GLBindlessTexture.hpp
C++
gpl-3.0
2,692
using System; using System.Collections.Generic; using System.Linq; using ColossalFramework; namespace CWS_MrSlurpExtensions { public class DistrictInfo { public int DistrictID { get; set; } public String DistrictName { get; set; } public DistrictServiceData Population { get; set; } ...
MrSlurp/CityWebServerExtension
CWS_MrSlurpExtensions/Models/DistrictInfo.cs
C#
gpl-3.0
15,313
package com.abm.mainet.common.jbpm.domain; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import org.springframework.validation.ObjectError; import com.abm.mainet.common.jbpm.util.ResponseType; public class ActionResponse { private Respo...
abmindiarepomanager/ABMOpenMainet
Mainet1.0/MainetServiceParent/MainetServiceCommon/src/main/java/com/abm/mainet/common/jbpm/domain/ActionResponse.java
Java
gpl-3.0
2,602
package andriell.cxor; public class Constants { public static final String CHARSET = "UTF-8"; public static final int MAX_SIZE = 1048576; }
andriell/cXor
src/main/java/andriell/cxor/Constants.java
Java
gpl-3.0
149
const router = require('express').Router({ mergeParams: true }); const HttpStatus = require('http-status-codes'); const path = '/status'; function health(_, res) { res.status(HttpStatus.OK); res.send('ok'); } function ready(_, res) { res.send('ok'); } router.get('/health', health); router.get('/ready', ready)...
omarcinp/cronos
src/api/routes/status.js
JavaScript
gpl-3.0
363
package sk.upjs.doctororganizer.Entities; import java.math.BigInteger; public class Patient { private Long id; private String name; private String surname; private String adress; private String date_of_birth; private BigInteger id_number; private String insured_at; private ...
mohnanskygabriel/DoctorOrganizer
DoctorOrganizer/src/main/java/sk/upjs/doctororganizer/Entities/Patient.java
Java
gpl-3.0
2,365
#region Copyright ///////////////////////////////////////////////////////////////////////////// // Altaxo: a data processing and data plotting program // Copyright (C) 2014 Dr. Dirk Lellinger // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU Gener...
Altaxo/Altaxo
Altaxo/Base/Worksheet/Commands/Analysis/RealFourierTransformation2DOptions.cs
C#
gpl-3.0
14,821
import pytest import nengo def pytest_funcarg__Simulator(request): """the Simulator class being tested. Please use this, and not nengo.Simulator directly, unless the test is reference simulator specific. """ return nengo.Simulator def pytest_generate_tests(metafunc): if "nl" in metafunc.fun...
ZeitgeberH/nengo
nengo/tests/conftest.py
Python
gpl-3.0
1,348
#!/usr/bin/env python # -*- coding: utf-8 -*- import logging import os import socket import sys from argparse import ArgumentParser from setproctitle import setproctitle from amavisvt.config import Configuration BUFFER_SIZE = 4096 class AmavisVTClient(object): def __init__(self, socket_path): self.confi...
ercpe/amavisvt
amavisvt/amavisvtc.py
Python
gpl-3.0
2,613
'use strict'; const express = require('express'); const service = express(); var os = require('os'); var networkInterfaces = os.networkInterfaces(); module.exports = service; module.exports.networkInterfaces = networkInterfaces;
orhaneee/SlackBotHeroku
server/service.js
JavaScript
gpl-3.0
232
<?php /** * The template for displaying search results pages * * @link https://developer.wordpress.org/themes/basics/template-hierarchy/#search-result * * @package ibreatheart */ get_header(); ?> <section id="primary" class="content-area"> <main id="main" class="site-main" role="main"> <?php if ( have_p...
BracketMonks/hackathon-frontend
wordpress-project/ibreatheart-underscores/search.php
PHP
gpl-3.0
1,111
package bio.singa.simulation.model.modules; import bio.singa.simulation.entities.ChemicalEntity; import bio.singa.features.model.Evidence; import bio.singa.features.model.Feature; import bio.singa.simulation.model.modules.concentration.ModuleState; import bio.singa.simulation.model.simulation.Simulation; import java....
cleberecht/singa
singa-simulation/src/main/java/bio/singa/simulation/model/modules/UpdateModule.java
Java
gpl-3.0
906
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.Arrays; import java.util.StringTokenizer; class Main{ public static class Agency { String name; int A, B; public Agency(String s) { StringTokenizer st=new StringTokenizer(s,":"); this.name=st.nextToken(); st=new StringTo...
PuzzlesLab/UVA
King/10670 Work Reduction.java
Java
gpl-3.0
1,957
/* * 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 the hope that it w...
waikato-datamining/adams-base
adams-core/src/main/java/adams/core/CleanUpHandler.java
Java
gpl-3.0
1,068
/* Copyright (C) 2012 Andrew Cotter 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 the ...
maliq/issvm
svm_optimizer_classification_unbiased_perceptron.cpp
C++
gpl-3.0
6,718
<?php /** * Normatividad Torreón - ReglamentoArchivoMunicipal * * Copyright (C) 2017 Guillermo Valdés Lozano <guivaloz@movimientolibre.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundatio...
normatividadtorreon/normatividadtorreon.github.io
lib/ReglamentosVigentes/ReglamentoArchivoMunicipal.php
PHP
gpl-3.0
2,138
/************************* Coppermine Photo Gallery ************************ Copyright (c) 2003-2016 Coppermine Dev Team v1.0 originally written by Gregory DEMAR This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 3 as publishe...
CatBerg-TestOrg/coppermine
js/date.js
JavaScript
gpl-3.0
13,375
from biot import * # display_wires(N_wires=6, r_wires=r_wires) display_quiver() display_particles(mode_name="boris_exact", colormap="Blues") # display_particles(mode_name="RK4_exact", colormap="Reds") print("Finished display") mlab.show()
StanczakDominik/PythonBiotSavart
plot.py
Python
gpl-3.0
240
# This should hold main initialization logic puts "hello world"
benweissmann/rise
src/src/main.rb
Ruby
gpl-3.0
63
package info.jlibrarian.stringutils; /* Original source code (c) 2013 C. Ivan Cooper. Licensed under GPLv3, see file COPYING for terms. */ import java.util.Comparator; /** * Represents a comparable wildcard string, also contains static functions for comparing wildcard strings. * * A wildcard string is any String....
4levity/Conan
src/main/java/info/jlibrarian/stringutils/WildcardString.java
Java
gpl-3.0
3,562
<?php /** * acm : Algae Culture Management (https://github.com/singularfactory/ACM) * Copyright 2012, Singular Factory <info@singularfactory.com> * * This file is part of ACM * * ACM is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * ...
singularfactory/ACM
apps/frontend/modules/report/templates/_maintenance_pdf.php
PHP
gpl-3.0
3,157
package TFC.Handlers.Client; import org.lwjgl.opengl.GL11; import TFC.*; import TFC.Core.TFC_Core; import TFC.Core.TFC_Settings; import TFC.Core.TFC_Time; import TFC.Core.Player.PlayerInfo; import TFC.Core.Player.PlayerManagerTFC; import TFC.Items.*; import TFC.TileEntities.TileEntityWoodConstruct; import...
Timeslice42/TFCraft
TFC_Shared/src/TFC/Handlers/Client/PlankHighlightHandler.java
Java
gpl-3.0
14,157
<?php global $_MODULE; $_MODULE = array(); $_MODULE['<{blocksearch}prestashop>blocksearch-top_13348442cc6a27032d2b4aa28b75a5d3'] = 'Cerca'; $_MODULE['<{blocksearch}prestashop>blocksearch_31a0c03d7fbd1dc61d3b8e02760e703b'] = 'Blocco ricerca rapida'; $_MODULE['<{blocksearch}prestashop>blocksearch_99e20473c0bf3c22d7420ef...
desarrollosimagos/puroextremo.com.ve
modules/blocksearch_mod/translations/it.php
PHP
gpl-3.0
691
package com.bahram.relationshippoints.logistical.Lifecycle; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.View; /** * Created by bahram on 23.05.2015. */ public abstract class SupportFragmentLifecycle extends Fragment implements LifecycleDataHandling { /** * Called t...
Mithrandir21/RelationshipPoints
app/src/main/java/com/bahram/relationshippoints/logistical/Lifecycle/SupportFragmentLifecycle.java
Java
gpl-3.0
3,247
<?php /** * * UEA Style report * * This is the report suggested from the team using WebPA at UEA, UK * * * @copyright 2007 Loughborough University * @license http://www.gnu.org/licenses/gpl.txt * @version 0.0.0.1 * @since 8 Aug 2008 * */ require_once("../../../includes/inc_global.php"); require_once(DOC__R...
ICTO/WebPA-Source
tutors/assessments/reports/report_uea.php
PHP
gpl-3.0
9,239
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Xml.Linq; using System.Drawing; using System.IO; using FeedReader; using FeedReader.Xml.Interfaces; namespace FeedReader.Xml { internal class FeedRdfImageXmlParser : IFeedTypeImageXmlParser { private Ima...
hasenbolle/InfoService
InfoService/InfoService/Feeds/FeedReader/Xml/FeedRdfImageXmlParser.cs
C#
gpl-3.0
4,835
<?php /** * New Offer email * * @since 0.1.0 * @package public/includes/emails * @author AngellEYE <andrew@angelleye.com> */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly ?> <?php do_action( 'woocommerce_email_header', $email_heading ); ?> <?php printf( '<p><strong>' . __('New of...
wp-plugins/offers-for-woocommerce
public/includes/emails/woocommerce-new-offer.php
PHP
gpl-3.0
3,810
using System.Diagnostics; using System.Security.Claims; using System.Security.Principal; namespace DotnetSpider.Portal.Common { /// <summary> /// Extension methods for <see cref="System.Security.Principal.IPrincipal"/> and <see cref="System.Security.Principal.IIdentity"/> . /// </summary> public static class Princ...
zlzforever/DotnetSpider
src/DotnetSpider.Portal/Common/PrincipalExtensions.cs
C#
gpl-3.0
1,235
<p class="quote"><?php echo $quote->quoteText; ?></p> <p class="author">-<?php echo $quote->quoteAuthor; ?></p>
Hammercake/pi-kiosk-alarm
modules/quote/view.php
PHP
gpl-3.0
111
#!/usr/bin/env python3 # # Copyright (C) 2016 Canonical, Ltd. # Author: Scott Sweeny <scott.sweeny@canonical.com> # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; version 3. # # This program is...
ssweeny/snaplint
snaplint/_rule.py
Python
gpl-3.0
1,643
using System.Runtime.InteropServices; using System.Diagnostics; using System; using System.Security; namespace System.Threading { [ComVisibleAttribute(false)] [DebuggerDisplayAttribute("Participant Count={ParticipantCount},Participants Remaining={ParticipantsRemaining}")] public class Barrier : IDisposable...
zebraxxl/CIL2Java
StdLibs/System/System/Threading/Barrier.cs
C#
gpl-3.0
2,746
// Copyright (c) Clickberry, Inc. All rights reserved. // Licensed under the GNU GENERAL PUBLIC LICENSE Version 3. See License.txt in the project root for license information. define("datacontext", ["jquery"], function($) { return function(resourceUri) { if (!resourceUri) { throw Error("Inva...
clickberry/video-portal
Source/FrontEnd/Portal.Web/Cdn/js/spa/datacontext.js
JavaScript
gpl-3.0
2,802
/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- * * Copyright (C) 2012-2015 Marco Craveiro <marco.craveiro@gmail.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Fou...
DomainDrivenConsulting/dogen
projects/masd.dogen.extraction/src/io/editors_io.cpp
C++
gpl-3.0
1,654
<?php /** * Kunena Component * @package Kunena.Template.Crypsis * @subpackage Layout.User * * @copyright (C) 2008 - 2015 Kunena Team. All rights reserved. * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL * @link http://www.kunena.org **/ defined('_JEXEC') or die; ?> <h2> <?php echo JTe...
OSTraining/Kunena-Forum
components/com_kunena/site/template/crypsisb3/layouts/user/edit/default.php
PHP
gpl-3.0
2,560
#pragma once /* This file is part of Imagine. Imagine 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. Imagine is distributed in the ...
DarkCaster/emu-ex-plus-alpha
imagine/include/imagine/io/FileIO.hh
C++
gpl-3.0
1,248
ModX Revolution 2.5.0 = 539f52dd202abe6bff3cf711e1c09993 MODX Revolution 2.2.8 = 93c2ffd8a497f42474f7b4a3e49503ca
gohdan/DFC
known_files/hashes/core/lexicon/de/filters.inc.php
PHP
gpl-3.0
114
/* * Copyright (C) 2016 Daniel Saukel * * 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 dist...
DRE2N/FactionsCosmetics
src/main/java/io/github/dre2n/factionscosmetics/listener/FactionsListener.java
Java
gpl-3.0
1,254
#include <iostream> #include <Eigen/Dense> #include "gtest/gtest.h" #include "observability.h" TEST(ObservabilityTest, Simple) { Eigen::MatrixXd A(2, 2); Eigen::MatrixXd C(2, 2); A << 1, 1, 4, -2; C << 1, 0, 0, 1; Eigen::MatrixXd O = control::observability_matrix(A, C); Eigen::MatrixXd O_expected(4, 2); ...
hazelnusse/libcontrol
source/tests/test_observability.cc
C++
gpl-3.0
541
package org.halvors.nuclearphysics.common.event.handler; import net.minecraft.entity.item.EntityItem; import net.minecraft.item.ItemStack; import net.minecraftforge.event.entity.item.ItemExpireEvent; import net.minecraftforge.fml.common.Mod.EventBusSubscriber; import net.minecraftforge.fml.common.eventhandler.Subscrib...
halvors/Nuclear-Physics
src/main/java/org/halvors/nuclearphysics/common/event/handler/ItemEventHandler.java
Java
gpl-3.0
1,244
package com.jeewd.web_store.security; import java.util.Collection; import org.springframework.security.core.GrantedAuthority; import org.springframework.security.core.userdetails.UserDetails; public class User implements UserDetails { private static final long serialVersionUID = -3849758589040177326L; pr...
slavidlancer/JavaEEWebDevelopment
11_CourseProject_Java_Web_Development/CourseProjectWebStore/src/main/java/com/jeewd/web_store/security/User.java
Java
gpl-3.0
2,377
# -*- coding: utf-8 -*- import numpy as np import config from feature.feature_multi import FeatureMulti from similarity.similarity_base import SimiliarityBase class SimilarityStyle(SimiliarityBase): def calculate(self, image1, image2): # 获取特征 multi_feature_extractor = FeatureMulti() lumi...
jinyu121/ACACTS
similarity/similarity_style.py
Python
gpl-3.0
1,581
/* * SLD Editor - The Open Source Java SLD Editor * * Copyright (C) 2018, SCISYS UK Limited * * 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...
robward-scisys/sldeditor
modules/application/src/test/java/com/sldeditor/test/unit/tool/batchupdatefont/BatchUpdateFontPanelTest.java
Java
gpl-3.0
10,111
// ***************************************************************************** // randpool.cpp Tao3D project // ***************************************************************************** // // File description: // // // // // // // // // **************************...
c3d/tao-3D
libcryptopp/cryptopp/randpool.cpp
C++
gpl-3.0
2,879
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2008 Gael Guennebaud <gael.guennebaud@inria.fr> // Copyright (C) 2010,2012 Jitse Niesen <jitse@maths.leeds.ac.uk> // // This Source Code Form is subject to the terms of the Mozilla // Public License v. 2.0. If a...
anders-dc/cppfem
eigen/test/eigensolver_generic.cpp
C++
gpl-3.0
4,745
#!/usr/bin/env python3 """ Copyright 2020 Paul Willworth <ioscode@gmail.com> This file is part of Galaxy Harvester. Galaxy Harvester is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 ...
pwillworth/galaxyharvester
html/getSchematicList.py
Python
gpl-3.0
7,494
#include "mounter.h" #include "manager.h" #include <iostream> #include <QStringList> #include <QDir> #include <QDebug> #include <QQueue> class MounterItem { public: MounterItem( const QString & f , const QString & m ) { file = f ; mount_point = m; } QString file; QString mount_point; }; class Mount...
realbardia/silicon
SPlugins/RootMount/Binary/mounter.cpp
C++
gpl-3.0
2,378
/*---------------------------------------------------------------------------*\ * interactive networked Virtual Reality system (inVRs) * * * * Copyright (C) 2005-2009 by the Johannes Kepler University, Linz * * ...
jzarl/inVRs
src/inVRs/Modules/Navigation/AllInOneTranslationModel.cpp
C++
gpl-3.0
4,248
#!/usr/bin/env python # -*- coding: utf-8 -*- # -*- Python -*- """ @file outTemp.py @brief ModuleDescription @date $Date$ """ import sys import time sys.path.append(".") # Import RTM module import RTC import OpenRTM_aist # Import Service implementation class # <rtc-template block="service_impl"> # </rtc-templ...
max-koara/OutTemp
outTemp.py
Python
gpl-3.0
5,559
# Paperwork - Using OCR to grep dead trees the easy way # Copyright (C) 2014 Jerome Flesch # # Paperwork 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 # ...
kschwank/paperwork
src/paperwork/frontend/labeleditor/__init__.py
Python
gpl-3.0
10,471
package com.cloudera.cmf.service; import com.cloudera.cmf.command.ConfirmCommandInfo; import com.cloudera.cmf.command.ServiceCommandHandler; import com.cloudera.cmf.command.SvcCmdArgs; import com.cloudera.cmf.model.DbCommand; import com.cloudera.cmf.model.DbRole; import com.cloudera.cmf.model.DbService; import...
Mapleroid/cm-server
server-5.11.0.src/com/cloudera/cmf/service/AbstractServiceCommand.java
Java
gpl-3.0
2,398
package HHCP; import causalgraph.Edge; import org.jgrapht.graph.ClassBasedEdgeFactory; import org.jgrapht.graph.DefaultDirectedWeightedGraph; import java.util.*; /** * Created by ignasi on 21/08/17. */ public class JustificationGraph { private DefaultDirectedWeightedGraph<String, Edge> graph; public BitSet...
ignasiet/Translator
src/HHCP/JustificationGraph.java
Java
gpl-3.0
4,984
package database; import java.sql.Connection; import java.sql.Driver; import java.sql.DriverManager; import java.sql.SQLException; /** * Singleton class for connecting to the database through JDBC. * * @author Maks (original) * @author Brett Commandeur (modified by) * @reference https://github.com/MaksJS/jdbc-s...
C391-Project/RadiologyApp
src/database/JDBC.java
Java
gpl-3.0
4,195
#ifndef FO_BASE_BUFFER_HPP_ #define FO_BASE_BUFFER_HPP_ #include <stdint.h> #include <cstdlib> #include "Common.hpp" namespace fonline { class Buffer { public: FONLINE_COMMON_API Buffer(); FONLINE_COMMON_API Buffer(size_t alen); FONLINE_COMMON_API ~Buffer(); FONLINE_COMMON_API void Reset();...
alexknvl/fonline
src/FOnlineCommon/buffer.hpp
C++
gpl-3.0
1,163
@extends('layouts.app') @section('title') Account Settings - Barmate POS @stop @section('custom-css') @stop @section('content') <div class="row paper"> <div class="paper-header"> <h2><i class="fa fa-gear"></i>&nbsp;&nbsp;Account Settings</h2> </div> @if ( Ses...
Saluki/Barmate
resources/views/account/main.blade.php
PHP
gpl-3.0
2,925
package com.hhd.breath.app.main.ui; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.view.inputmethod.InputMethodManager; import android.widget.EditText; import android.widget.RelativeLayout; import android.wi...
weibingithub/BreathApp
app/src/main/java/com/hhd/breath/app/main/ui/ModifyNameActivity.java
Java
gpl-3.0
2,791
""" SicPy """ # __version__ = '0.1' # __author__ = 'disrupts' # __license__ = 'GPLv3' # Cryptobox should only be used to implement ciphers #from sicpy.cryptobox import Cryptobox # Ciphers are imported directly with sicpy #  not requiring an aditional import from sicpy.ciphers.caesar import Caesar from sicpy.cip...
disrupts/SicPy
sicpy/__init__.py
Python
gpl-3.0
557
<?php /** * Membership Settings meta box * * @package LifterLMS/Admin/PostTypes/MetaBoxes/Classes * * @since 1.0.0 * @version 5.9.0 */ defined( 'ABSPATH' ) || exit; /** * Membership Settings meta box class * * @since 1.0.0 * @since 3.30.3 Fixed spelling errors; removed duplicate array keys. * @since 3.35....
gocodebox/lifterlms
includes/admin/post-types/meta-boxes/class.llms.meta.box.membership.php
PHP
gpl-3.0
13,071
package ru.mos.polls.quests.model.quest; import android.content.Context; import com.google.gson.annotations.SerializedName; import ru.mos.polls.quests.model.QuestFamilyElement; import ru.mos.polls.quests.vm.QuestsFragmentVM; public class OtherQuest extends BackQuest { public static final String TYPE = "other"; ...
active-citizen/android.java
app/src/main/java/ru/mos/polls/quests/model/quest/OtherQuest.java
Java
gpl-3.0
788
<?php /** * This runs all of the tests associated with HUGnetLib. * * PHP Version 5 * * <pre> * HUGnetLib is a library of HUGnet code * Copyright (C) 2014 Hunt Utilities Group, LLC * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License ...
hugllc/HUGnetLib
test/suite/devices/inputTable/DriverVirtualTest.php
PHP
gpl-3.0
10,696
<?php /** * Display the upload transaction file screen * * @author Fabrice Douteaud <admin@clearbudget.net> * @package snippets * @access public */ /*********************************************************************** Copyright (C) 2008 Fabrice Douteaud (admin@clearbudget.net) ...
thunderace/clearbudget
snippets/uploadQif.php
PHP
gpl-3.0
2,711
<?php namespace common\modules\prj\models; use Yii; /** * This is the model class for table "{{%prj_burden_cost_base}}". * * @property string $prj_burden_cost_base_id * @property string $cost_base * @property string $description * @property string $cost_base_type * @property string $effective_from * @propert...
zeddarn/yinoerp
_protected/common/modules/prj/models/PrjBurdenCostBase.php
PHP
gpl-3.0
2,128
<span class="fright"> <?php if($this->phpsession->get('menu_type') == FRONT_END_MENU):?> <a class="button back" href="/dashboard/menu/<?php echo isset($lang) && $lang != '' ? $lang :$this->phpsession->get('current_menus_lang'); ?>"><em>&nbsp;</em>Quay lại trang Menu</a> <?php endif;?> <?php if($this->ph...
dzung2t/noithatgo
ci_app/modules/menus/views/admin/back-menu-nav.php
PHP
gpl-3.0
591
var express = require('express'); var router = express.Router(); var seminar = require('../controllers/seminar.controllers'); router.get('/', function(req, res) { res.json({status: false, message: 'None API Implemented'}); }); router.get('/user/:id', function(req, res) { seminar.get(req, res); }); // router.get...
Rajamuda/ittoday-2017
api/routes/seminar.routes.js
JavaScript
gpl-3.0
733
#include "InputModels/SimpleGaussianModel.h" #include "Keyboard.h" #include "Polygon.h" #include "math.h" #include <cctype> #include <boost/random.hpp> #include <boost/random/normal_distribution.hpp> using namespace std; SimpleGaussianModel::SimpleGaussianModel(double xscale, double yscale, double corr) { ysigm...
sangaline/dodona
core/src/InputModels/SimpleGaussianModel.cpp
C++
gpl-3.0
4,337
#!/usr/bin/env node // Special Pythagorean triplet var SUM = 1000; var triplet = get_pythagorean_triplet_by_sum(SUM); console.log(triplet[0] * triplet[1] * triplet[2]); function get_pythagorean_triplet_by_sum(s) { var s2 = Math.floor(SUM / 2); var mlimit = Math.ceil(Math.sqrt(s2)) - 1; for (var m = 2; ...
iansealy/projecteuler
optimal/9.js
JavaScript
gpl-3.0
1,296
#include "Reseaux/RequetePartie/RequetePartie.hpp" RequetePartie::RequetePartie(int tailleRequete, int numeroRequete) : Requete(tailleRequete, 0) { numeroRequete = numeroRequete << 3; data[0] = numeroRequete; }
Aredhele/FreakyMonsters
client/src/Reseaux/RequetePartie/RequetePartie.cpp
C++
gpl-3.0
215
<?php use Phinx\Migration\AbstractMigration; class NullableInvitationFrom extends AbstractMigration { /** * Migrate Up. */ public function up() { $this->execute("ALTER TABLE invitations MODIFY sent_by INT(10) UNSIGNED DEFAULT NULL COMMENT 'The player who sent the invitation'"); } ...
allejo/bzion
migrations/20160212221926_nullable_invitation_from.php
PHP
gpl-3.0
396
import ChatMessage from "phasecore/messagetypes/chatmessage"; interface DeepHistoryNewer { discID: number; messages: ChatMessage[]; newestID: number; } export default DeepHistoryNewer;
popstarfreas/PhaseClient
app/node_modules/phasecore/messagetypes/deephistorynewer.ts
TypeScript
gpl-3.0
199
<div class="col-md-12"> <div class="row"> <div class="col-md-6"> <h1><?php echo L('sensor_LIST'); ?></h1> </div> </div> <div class="row"> <?php if($this->session()->getUserLevel() == 3) : ?> <div class="col-md-4 text-left"> <a href="javascript:void(0)" id="sensors_rescan" class="btn btn-primary"> <...
scratchduino/sdlab-frontend
app/views/sensors/view.all.tpl.php
PHP
gpl-3.0
2,954
# Copyright 2014-2020 by Christopher C. Little. # This file is part of Abydos. # # Abydos 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 versio...
chrislit/abydos
tests/distance/test_distance_ncd_bwtrle.py
Python
gpl-3.0
2,159
# -*- coding: utf-8 -*- # This file is part of BBFlux (BackBox XFCE -> FluxBox Menu Automatic Update Daemon). # # Copyright(c) 2010-2011 Simone Margaritelli # evilsocket@gmail.com - evilsocket@backbox.org # http://www.evilsocket.net # http://www.backbox.org # # This file may be licensed under the terms of of the # GNU ...
evilsocket/BBFlux
parsers/IconParser.py
Python
gpl-3.0
2,214
// Events document.onkeypress = function (e) { e = e || window.event; var key = e.key; return keymap[key](); }; // Mouse events document.onmousemove = function (e) { e = e || window.event; lfo.frequency.value = e.clientX; main_osc.frequency.value = e.clientY / 10; changeBackgroundColor(lfo...
ruckert/web_audio_experiments
synth007/events.js
JavaScript
gpl-3.0
534
import { Menu } from 'electron' import menuActions from './actions' import deviceItems from './devices' import folderItems from './folders' import { getDevicesWithConnections } from '../reducers/devices' import { getFoldersWithStatus } from '../reducers/folders' import { name, version } from '../../../package.json' ...
JodusNodus/syncthing-tray
app/main/menu/index.js
JavaScript
gpl-3.0
1,367
#!/usr/bin/env python # -*- coding: utf-8 -*- """Test thorns.waves module. """ from __future__ import division, absolute_import, print_function __author__ = "Marek Rudnicki" import numpy as np from numpy.testing import assert_equal import thorns.waves as wv def test_electrical_pulse_charge(): durations = ...
timtammittee/thorns
tests/test_waves.py
Python
gpl-3.0
1,056
# -*- coding: utf-8 -*- # Copyright (C) 2005 Osmo Salomaa # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This pr...
otsaloma/gaupol
gaupol/dialogs/test/test_position_transform.py
Python
gpl-3.0
1,527
package com.kinztech.os.network.codec.game.decode; import com.kinztech.os.game.node.entity.player.Player; import com.kinztech.os.network.protocol.PacketDefinition; import com.kinztech.os.utilities.RSBuffer; /** * Created by Allen Kinzalow on 5/25/2015. */ public interface DecodedPacket { void decode(Player pla...
kinztechcom/OSRS-Server
src/com/kinztech/os/network/codec/game/decode/DecodedPacket.java
Java
gpl-3.0
382
import odoo.tests @odoo.tests.common.at_install(False) @odoo.tests.common.post_install(True) class TestUi(odoo.tests.HttpCase): def test_admin(self): self.phantom_js("/", "odoo.__DEBUG__.services['web.Tour'].run('event_buy_tickets', 'test')", "odoo.__DEBUG__.services['web.Tour'].tours.event_buy_tickets", ...
ChawalitK/odoo
addons/website_event_sale/tests/test_ui.py
Python
gpl-3.0
731
<?php $lang["config_address"] = "Company Address"; $lang["config_address_required"] = "Company address is a required field"; $lang["config_backup_button"] = "Backup"; $lang["config_backup_database"] = "Backup Database"; $lang["config_barcode_company"] = "Company Name"; $lang["config_barcode_configuration"] = "Barcode...
fwahyudi17/ofiskita
pos/application/language/en/config_lang.php
PHP
gpl-3.0
8,009
/****************************************************************************** * The MIT License * * Copyright (c) 2011 LeafLabs, LLC. * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation * files (the "Software"), to deal in the Softwar...
AtDinesh/Arduino_progs
Arduino_STM32/STM32F1/variants/nucleo_f103rb/board.cpp
C++
gpl-3.0
11,487
"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; return function (d, b)...
hgrall/merite
src/communication/v0/typeScript/build/tchat/commun/chat.js
JavaScript
gpl-3.0
4,687
'use strict'; var CONFIGURATOR = { 'releaseDate': 1456739663000, // 2016.02.29 - new Date().getTime() or "date +%s"000 'firmwareVersionEmbedded': [3, 8, 8], // version of firmware that ships with the app, dont forget to also update initialize_configuration_objects switch ! 'firmwareVersionLiv...
remspoor/openLRSng-configurator
js/data_storage.js
JavaScript
gpl-3.0
6,310
## # This module requires Metasploit: http://metasploit.com/download # Current source: https://github.com/rapid7/metasploit-framework ## require 'msf/core' require 'msf/core/payload/transport_config' require 'msf/core/handler/reverse_http' require 'msf/core/payload/windows/x64/meterpreter_loader' require 'msf/base/ses...
cSploit/android.MSF
modules/payloads/singles/windows/x64/meterpreter_reverse_http.rb
Ruby
gpl-3.0
2,014
/* jshint node: true */ module.exports = function(grunt) { "use strict"; var theme = grunt.option( 'theme', 'blue' ); var out = 'blue'; var lessFiles = [ 'base', 'autocomplete_tagging', 'embed_item', 'iphone', 'masthead', 'library', 'trackster', 'circster', 'jstree' ];...
mikel-egana-aranguren/SADI-Galaxy-Docker
galaxy-dist/static/style/Gruntfile.js
JavaScript
gpl-3.0
2,103
package pl.llp.aircasting.screens.common.base; import android.app.ProgressDialog; /** * Created by IntelliJ IDEA. * User: obrok * Date: 1/16/12 * Time: 12:03 PM */ public interface ActivityWithProgress { public static final int SPINNER_DIALOG = 6355; public ProgressDialog showProgressDialog(int progress...
HabitatMap/AirCastingAndroidClient
src/main/java/pl/llp/aircasting/screens/common/base/ActivityWithProgress.java
Java
gpl-3.0
394
/** * This file is part of MythTV Android Frontend * * MythTV Android Frontend 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. *...
MythTV-Clients/MythTV-Android-Frontend
src/org/mythtv/client/ui/preferences/PlaybackProfileEditor.java
Java
gpl-3.0
9,195
/* * Son of Mars * * Copyright (c) 2015-2016, Team Son of Mars * * 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....
DeadPixelsSociety/SonOfMars
src/local/Hud.cc
C++
gpl-3.0
4,307
#!/usr/bin/python # # Copyright 2016 Red Hat | Ansible # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ['prev...
Lujeni/ansible
lib/ansible/modules/cloud/docker/docker_container.py
Python
gpl-3.0
143,393
/* * WebSocketMessage.cpp * * Created on: Sep 10, 2015 * Author: lion */ #include "object.h" #include "ifs/io.h" #include "WebSocketMessage.h" #include "Buffer.h" #include "MemoryStream.h" namespace fibjs { result_t WebSocketMessage_base::_new(int32_t type, bool masked, int32_t maxSize, obj_ptr<WebSoc...
ngot/nightly-test
fibjs/src/websocket/WebSocketMessage.cpp
C++
gpl-3.0
14,485
# This file is part of GxSubOS. # Copyright (C) 2014 Christopher Kyle Horton <christhehorton@gmail.com> # GxSubOS 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...
WarriorIng64/GxSubOS
indicatortray.py
Python
gpl-3.0
4,871
package com.glue.feed.youtube; import java.io.IOException; import java.io.InputStream; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Calendar; import java.util.List; import java.util.Properties; import java.util.TimeZone; import org.slf4j.Logger; import o...
pgillet/Glue
glue-feed/src/main/java/com/glue/feed/youtube/YoutubeRequester.java
Java
gpl-3.0
6,629
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNet.Identity.EntityFramework; using System.Security.Claims; using Microsoft.AspNet.Identity; namespace LanAdeptData.Model { public class User : IdentityUser { [Requ...
ADEPT-Informatique/LanAdept
LanAdeptData/Model/Users/User.cs
C#
gpl-3.0
1,133
package to.oa.qha98.ballisticCalculator.test; import static org.junit.Assert.*; import org.bukkit.util.Vector; import org.junit.Test; public class VectorDefaultConstructorTest { @Test public void test() { Vector v=new Vector(); assertEquals(0d, v.length(), 0.0000001d); } }
qha98/BallisticCalculator
BalisticCalculator/BallisticCalculator/to/oa/qha98/ballisticCalculator/test/VectorDefaultConstructorTest.java
Java
gpl-3.0
298