code stringlengths 3 1.05M | repo_name stringlengths 4 116 | path stringlengths 3 942 | language stringclasses 30
values | license stringclasses 15
values | size int32 3 1.05M |
|---|---|---|---|---|---|
#ifndef POTENTIAL_H
#define POTENTIAL_H
using namespace arma;
namespace QMC2
{
struct GeneralParams;
class Potential {
protected:
int n_p;
int dim;
std::string name;
public:
Potential ( int number_particles , int dimension, std::string name = "... | matteosecli/QMC | src/Potential.h | C | gpl-3.0 | 1,316 |
//# BeamFormerKernel.h
//# Copyright (C) 2012-2013 ASTRON (Netherlands Institute for Radio Astronomy)
//# P.O. Box 2, 7990 AA Dwingeloo, The Netherlands
//#
//# This file is part of the LOFAR software suite.
//# The LOFAR software suite is free software: you can redistribute it and/or
//# modify it under the terms of ... | kernsuite-debian/lofar | RTCP/Cobalt/GPUProc/src/Kernels/BeamFormerKernel.h | C | gpl-3.0 | 2,911 |
package know.how.designpatterns.abstractfactory;
public abstract class AbstractAddress {
private String street;
public AbstractAddress(String street){
this.street = street;
}
public String getStreet() {
return street;
}
public void setStreet(String street) {
this.street = street;
}
public ... | skurski/know-how | src/main/java/know/how/designpatterns/abstractfactory/AbstractAddress.java | Java | gpl-3.0 | 354 |
# coding=utf-8
import random
def consumer():
r = None
while 1:
data = yield r
print 'Consuming: {}'.format(data)
r = data + 1
def producer(consumer):
n = 3
consumer.send(None)
while n:
data = random.choice(range(10))
print('Producing: {}'.format(data))
... | dongweiming/web_develop | chapter13/section5/use_yield.py | Python | gpl-3.0 | 462 |
package eu.ocomp.brms.web.utils;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.primefaces.context.RequestContext;
public abstract class AbstractScr implements Serializable {
private static final long serialVers... | msocha/BRMS | brms/brms-web/src/main/java/eu/ocomp/brms/web/utils/AbstractScr.java | Java | gpl-3.0 | 1,084 |
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!-- template designed by Marco Von Ballmoos -->
<title>Docs for page functions.php</title>
... | drazisil/cpanel-ddns | docs/cpanel-ddns/_functions.php.html | HTML | gpl-3.0 | 4,939 |
/*
* OpenVPN -- An application to securely tunnel IP networks
* over a single TCP/UDP port, with support for SSL/TLS-based
* session authentication and key exchange,
* packet encryption, packet authentication, and
* packet compression.
*
* Copyright (C) 2002-2018... | anoidgit/padavan | trunk/user/openvpn/openvpn-2.4.x/src/openvpn/packet_id.c | C | gpl-3.0 | 18,724 |
#include "pdbatom.h"
PdbAtom::PdbAtom(bool win)
{
windows = win;
}
PdbAtom::PdbAtom(string line, bool win){
windows = win;
char c = ' ';
string temp = "";
//Atom Number
for(int i = 6; i <= 10; i++){
c = line[i];
if(c != ' ') temp += c;
}
this->atomNumber = stoi(temp);... | duenti/PFstats | Pfstats/pdbatom.cpp | C++ | gpl-3.0 | 10,564 |
//
// CunddDiveMasterQCPatchController.h
//
// Created by Daniel Corn on 11.05.10.
//
// Copyright © 2010-2012 Corn Daniel
//
// This file is part of Dive.
//
// Dive is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the F... | cundd/Dive | CunddDiveMasterQCPatchController.h | C | gpl-3.0 | 2,282 |
<?php
// This file is part of Stack - http://stack.maths.ed.ac.uk/
//
// Stack 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.
//
//... | maths/moodle-qtype_stack | adminui/caschat.php | PHP | gpl-3.0 | 5,572 |
<?php
$url = $_SERVER['REQUEST_URI'];
// Prior to 5.4.7 this would show the path as "//www.example.com/path"
var_dump(parse_url($url));
?>
| doczine/Feeds | pdf_ad.php | PHP | gpl-3.0 | 141 |
/*
* 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 cu.uci.coj.restapi.controller;
import com.mangofactory.swagger.annotations.ApiIgnore;
import com.wordnik.swagger.annotations.A... | dovier/coj-web | src/main/java/cu/uci/coj/restapi/controller/RestScoreboardsController.java | Java | gpl-3.0 | 22,868 |
<div class="container-large">
<div class="inner-section-divider-small"></div>
<div style="maring:auto;text-align:center;"
class="section-label">
<h1>Upload</h1>
</div>
<div class="inner-section-divider-medium"></div>
<div>
<div class="upload-container"></div>
</div>
<... | foundersandcoders/clerk | views/maintenance.html | HTML | gpl-3.0 | 325 |
#ifndef SUBTITLEPANE_H
#define SUBTITLEPANE_H
#include <AVPlayer.h>
#include <QtAV/SubtitleFilter.h>
#include <QtAV/Subtitle.h>
#include <QStandardItemModel>
#include <QStringListModel>
#include <QWidget>
#include "src/Model/File.h"
#include "src/Model/Stream.h"
#include "src/Controller/OCTDispatcher.h"
#include "My... | cinemaouvert/OCT | src/View/SubtitlePane.h | C | gpl-3.0 | 1,776 |
import unittest
from decimal import Decimal
from itertools import product
from .riemann import riemann_sum as riemann, RiemannMethod
# Test functions
# lowercase are functions, uppercase are their antiderivatives assuming C = 0.
def f1(x):
return 0
def F1(x):
return 0
def f2(x):
return 3
def F2(x):
return 3 * x... | BayMinimum/Hacktoberfest-Mathematics | calculus/riemann_sum/python/riemann_sum_test.py | Python | gpl-3.0 | 2,960 |
## OPTIONS ####
CFLAGS = -lm -lpthread -Wall -Wextra
LDFLAGS = -g -O3 -Wall -Wextra
CC = colorgcc
## CC = gcc
# src obj
SRC = test_io_error.c
OBJ = $(patsubst %.c,%.o,$(SRC))
EXEC = test_io_error
all: $(SRC) $(EXEC)
$%.o: $%.c
$(CC) $(LDFLAGS) -c $< -o $@
test_io_error : $(OBJ)
$(CC) $(OBJ) -o $@ ../../../obj/bi... | frichote/replop | CL_code/code/test/io/test_io_error/Makefile | Makefile | gpl-3.0 | 606 |
package priv.sp.house
import priv.sp.GameCardEffect._
import priv.sp._
import priv.sp.update.{SlotUpdate, PlayerUpdate, HouseEventListener}
import priv.util.FuncDecorators
import scala.util.Random
object Limbo {
import CardSpec._
val heavenKeeper = new Creature("limbo.heaven", Attack(3), 7,
I18n("limbo.heav... | illim/freespectrogdx | core/src/main/scala/priv/sp/house/Limbo.scala | Scala | gpl-3.0 | 6,659 |
var mongoose = require('mongoose');
/** The review document schema */
var reviewSchema = new mongoose.Schema({
author: String,
rating: {
type: Number,
required: true,
min: 0,
max: 5
},
reviewText: String,
createdOn: {
type: Date,
"default": Date.now
... | Pringlez/Reviewer-App | app_api/models/locations.js | JavaScript | gpl-3.0 | 1,099 |
// This file is part of the AgentSpirit AgentSpeak interpreter.
// Copyright (C) 2015 Niklas Fiekas <niklas.fiekas@tu-clausthal.de>
//
// 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 ... | niklasf/agentspirit | src/runtime/interpreter.h | C | gpl-3.0 | 1,295 |
<TS language="fa_IR" version="2.1">
<context>
<name>AddressBookPage</name>
<message>
<source>Create a new address</source>
<translation>گشایش حسابی جدید</translation>
</message>
<message>
<source>&New</source>
<translation>جدید</translation>
</message>
<messag... | EvgenijM86/emercoin | src/qt/locale/bitcoin_fa_IR.ts | TypeScript | gpl-3.0 | 35,898 |
using System;
#pragma warning disable 1591
// ReSharper disable UnusedMember.Global
// ReSharper disable UnusedParameter.Local
// ReSharper disable MemberCanBePrivate.Global
// ReSharper disable UnusedAutoPropertyAccessor.Global
// ReSharper disable IntroduceOptionalParameters.Global
// ReSharper disable MemberCanBeP... | t123/ReadingTool.Win | RTWin/Properties/Annotations.cs | C# | gpl-3.0 | 23,764 |
<?php
/*
* Copyright (C) 2015-2018 P. Mergey
* 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 di... | GizMecano/opencart-2-fr | admin/language/fr-FR/extension/dashboard/sale.php | PHP | gpl-3.0 | 1,202 |
# This file is part of Tryton. The COPYRIGHT file at the top level of
# this repository contains the full copyright notices and license terms.
import unittest
import trytond.tests.test_tryton
from trytond.tests.test_tryton import ModuleTestCase
class WebdavTestCase(ModuleTestCase):
'Test Webdav module'
modul... | tryton/webdav | tests/test_webdav.py | Python | gpl-3.0 | 504 |
# What is Makeo
It's a really simple stack-based virtual machine and a intermediate
language interpreter named IL. Now, I'm preparing a reference of this
intermediate language and working on a compiler to get IL code from a
high-level language called MK.
This work was inspired by reading "The Elements of Computing S... | sdemingo/makeo | README.md | Markdown | gpl-3.0 | 1,356 |
# assMxGraphQuestion
mxGraph-Questiontypeplugin for ILIAS 5.4
For ILIAS 5.2 to 5.3 see the [**Releases**](https://github.com/kyro46/assMxGraphQuestion/releases)
### Questiontype that allows the creation of EPC-diagrams via drag&drop editor ###
This plugin will add a questiontype, that allows creation of Event-driven... | kyro46/assMxGraphQuestion | README.md | Markdown | gpl-3.0 | 1,117 |
package NJU.HouseWang.nju_eas_client.net;
import java.io.IOException;
import java.util.Stack;
/**
* 网络连接池
*
* @author Xin
* @version 2013-12-12
*/
public class ClientPool {
/**
* 连接池单件
*/
private static ClientPool cPool = null;
/**
* 存放连接的栈
*/
private Stack<Client> clientStack = new Stack<Client>();... | NJU-HouseWang/nju-eas-client | src/main/java/NJU/HouseWang/nju_eas_client/net/ClientPool.java | Java | gpl-3.0 | 2,651 |
/* do not edit automatically generated by mc from foo. */
/*
projectVector - returns the vector, onto, after it has been
projected by, project.
*/
# if !defined (PROC_D)
# define PROC_D
typedef void (*PROC_t) (void);
typedef struct { PROC_t proc; } PROC;
# endif
# if... | gaiusm/pge | c/foo.c | C | gpl-3.0 | 8,494 |
# -*- coding: utf-8 -*-
# EDIS - a simple cross-platform IDE for C
#
# This file is part of Edis
# Copyright 2014-2015 - Gabriel Acosta <acostadariogabriel at gmail>
# License: GPLv3 (see http://www.gnu.org/licenses/gpl.html)
from PyQt4.QtGui import (
QGraphicsOpacityEffect,
QFrame
)
from PyQt4.QtCore impo... | centaurialpha/edis | src/ui/editor/minimap.py | Python | gpl-3.0 | 3,836 |
#ifndef ADDRESSRANGE_H
#define ADDRESSRANGE_H
#include <QObject>
#include <QVariant>
#include <util/net/ip4range.h>
class AddressRange
{
public:
explicit AddressRange();
bool includeAll() const { return m_includeAll; }
void setIncludeAll(bool includeAll) { m_includeAll = includeAll; }
bool excludeA... | tnodir/fort | src/ui/util/conf/addressrange.h | C | gpl-3.0 | 1,275 |
<?php
// $Header: /cvsroot/html2ps/output._interface.class.php,v 1.8 2007/01/09 20:13:48 Konstantin Exp $
class OutputDriver {
function add_link($x, $y, $w, $h, $target) { }
function add_local_link($left, $top, $width, $height, $anchor) { }
function circle($x, $y, $r) { }
function clip() {}
function close() ... | fearless359/simpleinvoices | library/pdf/output._interface.class.php | PHP | gpl-3.0 | 2,855 |
/*****************************************************************
* This file is part of Managing Agricultural Research for Learning &
* Outcomes Platform (MARLO).
* MARLO 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... | CCAFS/MARLO | marlo-data/src/main/java/org/cgiar/ccafs/marlo/data/manager/impl/InstitutionDictionaryManagerImpl.java | Java | gpl-3.0 | 1,922 |
! copyright info:
!
! @Copyright 2001
! Fireball Committee
! Brigham Young University - James P. Lewis, Chair
! Arizona State University - Otto F. Sankey
! University of Regensburg - Juergen Fritsch
! Universidad de Madrid - Jose Ortega
! Other contributors, past a... | fireball-QMD/progs | SOLVESH_ORDERN/set_maxdimension.f90 | FORTRAN | gpl-3.0 | 9,919 |
using System;
namespace Artemis.Core
{
/// <summary>
/// Represents errors that occur within the Artemis Core
/// </summary>
public class ArtemisCoreException : Exception
{
internal ArtemisCoreException(string message) : base(message)
{
}
internal ArtemisCoreEx... | SpoinkyNL/Artemis | src/Artemis.Core/Exceptions/ArtemisCoreException.cs | C# | gpl-3.0 | 413 |
/*
* File: error.c
* Author: roberto
*
* Created on April 14, 2014, 11:52 AM
*/
#include <stdio.h>
#include <stdlib.h>
/**
* Print a message in the file and exit if the exit_status is different of zero
*
* @param out the file to printout the message
* @param msg the message to be printed out
* @param fi... | r78v10a07/gTools | gTools/src/berror.c | C | gpl-3.0 | 1,741 |
package sidben.villagertweaks.network;
import net.minecraft.entity.EntityLiving;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.player.EntityPlayerMP;
import net.minecraftforge.fml.common.network.NetworkRegistry.TargetPoint;
import net.minecraftforge.fml.common.network.simpleimpl.IMessage... | sidben/VillagerTweaks | src/main/java/sidben/villagertweaks/network/NetworkHelper.java | Java | gpl-3.0 | 7,380 |
<?php
class TableNames
{
const RESERVATION_SERIES_ALIAS = 'rs';
const ACCESSORIES = 'accessories';
const GROUPS_ALIAS = 'g';
const RESERVATION_ACCESSORIES_ALIAS = 'ra';
const RESOURCES = 'resources';
const SCHEDULES = 'schedules';
const USERS = 'users';
}
?> | glamprou/bookings | lib/Database/Commands/TableNames.php | PHP | gpl-3.0 | 285 |
<?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 ... | iomad/iomad | local/iomad_track/lib.php | PHP | gpl-3.0 | 3,966 |
using System.Collections.Generic;
using Newtonsoft.Json;
using ShareX.HelpersLib;
using ShareX.ImageEffectsLib;
namespace ShareX.TaskManagement
{
public class TaskSettingsImage
{
//#region Image / General
public EImageFormat ImageFormat = EImageFormat.PNG;
public int ImageJPEGQuality ... | justkarli/ShareX | ShareX/TaskManagement/TaskSettingsImage.cs | C# | gpl-3.0 | 1,230 |
using System;
using System.Reflection;
using BankTransferSample.Commands;
using BankTransferSample.Domain;
using BankTransferSample.DomainEvents;
using ECommon.Autofac;
using ECommon.Configurations;
using ECommon.Components;
using ECommon.JsonNet;
using ECommon.Log4Net;
using ECommon.Utilities;
using ENode.Commanding;... | key-value/BankTransferSample | src/Program.cs | C# | gpl-3.0 | 2,645 |
-- Module for connecting to the AUR servers,
-- downloading PKGBUILDs and source tarballs, and handling them.
{-
Copyright 2012, 2013, 2014, 2015 Colin Woodbury <colingw@gmail.com>
This file is part of Aura.
Aura is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public Li... | joehillen/aura | src/Aura/Packages/AUR.hs | Haskell | gpl-3.0 | 3,208 |
#include "../simplertk.h"
static float reference=2;
static float r=2;
struct data{
unsigned int sem;
unsigned long d;
unsigned long t;
unsigned int r;
};
struct data* d;
struct data* d2;
struct data* d3;
struct data* d4;
struct data* d5;
void taskprueba2(void *args){
d2=(struct... | d1eg0/simplertk | tests/test_ciclyc.c | C | gpl-3.0 | 3,688 |
rsgen
=====
Simple template generator in CLI.
How it works ?
=====
This CLI application use Thor gem.
If you don't have Thor gem installed on your system, run "gem install thor"
To create a new html file called myHTMLFileName run "ruby rsgen.rb html myHTMLFileName"
If you want just an empty html file, run with "-e... | rsommerard/rsgen | README.md | Markdown | gpl-3.0 | 557 |
Joomla 3.6.4 = be7f77906288a07f69084e46680ff6e5
Joomla 3.4.8 = 96990e227c35c2adc8f1f42e2493f9c0
| gohdan/DFC | known_files/hashes/libraries/vendor/joomla/event/src/EventInterface.php | PHP | gpl-3.0 | 96 |
// Copyright (C) 2015, 2017 Simon Mika <simon@mika.se>
//
// This file is part of SysPL.
//
// SysPL 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) a... | syspl/syspl | source/SyntaxTree/SymbolDeclaration.ts | TypeScript | gpl-3.0 | 1,053 |
/*
* rwho protocol packet format.
*/
struct outmp {
char out_line[8]; /* tty name */
char out_name[8]; /* user id */
long out_time; /* time on */
};
struct whod {
char wd_vers; /* protocol version # */
char wd_type; /* packet type, see below */
char wd_pad[2];
int wd_sendtime; /* time stamp by sender */... | axelmuhr/Helios-NG | tcpip/include/protocols/rwhod.h | C | gpl-3.0 | 961 |
using UnityEngine;
using System.Collections;
public class DoorHandleScript : MonoBehaviour {
private Transform Target = null;
private Vector3 LookAtPos = Vector3.zero;
public Transform Joint;
void Start () {
}
void Update () {
if (Target != null)
{
//test with the vive... | Snailpower/IdontAmbulancecare | Newest/Assets/Scripts/New/DoorHandleScript.cs | C# | gpl-3.0 | 1,224 |
#!/usr/bin/env python
# coding: utf-8
"""setuptools based setup module"""
from setuptools import setup
# from setuptools import find_packages
# To use a consistent encoding
import codecs
from os import path
import osvcad
here = path.abspath(path.dirname(__file__))
# Get the long description from the README_SHORT f... | osv-team/osvcad | setup.py | Python | gpl-3.0 | 2,202 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>QHelpEngineCore — PyQt 5.5 Reference Guide</t... | DevinDewitt/pyqt5 | doc/html/api/qhelpenginecore.html | HTML | gpl-3.0 | 5,273 |
// Decompiled with JetBrains decompiler
// Type: System.Web.UI.IHierarchyData
// 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.Web.dll
namespace System.Web... | mater06/LEGOChimaOnlineReloaded | LoCO Client Files/Decompressed Client/Extracted DLL/System.Web/System/Web/UI/IHierarchyData.cs | C# | gpl-3.0 | 2,771 |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.... | UnstuckME/UnstuckME | UnstuckME/UnstuckMEServerGUI/GetAllOrganizations_Result.cs | C# | gpl-3.0 | 616 |
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
namespace Colosoft.Excel{
public partial class FORMULA : Record {
public FORMULA (Record a) : base (a) {
}
public UInt16 RowIndex;
public UInt16 ColIndex;
public UInt16 XFIndex;
public UInt64 Result;
public UInt16 Optio... | fabrimaciel/colosoft | Excel/Colosoft.Excel/FORMULA2.cs | C# | gpl-3.0 | 795 |
lupdate CenGen.pro -ts cengen_ru.ts cengen_en.ts
linguist cengen_ru.ts
cp cengen_ru.qm ../cengen-build-desktop/
| mihailikus/cengen | tr.sh | Shell | gpl-3.0 | 113 |
-- Copyright © 2008-2016 Pioneer Developers. See AUTHORS.txt for details
-- Licensed under the terms of the GPL v3. See licenses/GPL-3.txt
local f = Faction:new('Dagger Kingdoms')
:description_short('Dagger Kingdoms')
:description('Very little is currently known about The Dagger Kingdoms')
:homeworld(35,58,58,2,9)
... | tomm/pioneer | data/factions/063_Dagger_Kingdoms.lua | Lua | gpl-3.0 | 1,036 |
package org.jcloarca.twitterclient.images;
/**
* Created by JCLoarca on 6/19/2016 1:38 AM.
*/
public interface ImagesInteractor {
void execute();
}
| JoseLoarca/twitterclient | TwitterClient/app/src/main/java/org/jcloarca/twitterclient/images/ImagesInteractor.java | Java | gpl-3.0 | 155 |
#ifndef NRF24L01_H_
#define NRF24L01_H_
#include "stm32f4xx_hal.h"
#include "spi.h"
//Define some constans for nRF24L01PP
#define nRF_SPI_TIMEOUT 1000 // milliseconds
//Define the commands for operate the nRF24L01+
//For Commands table, take a look at nRF24L01+ Product Specification Page 51.
#define... | hcemreyilmaz/STM32_HAL_nRF24L01P | STM32F4xx_nRF24L01P_Driver/Inc/nRF24L01P.h | C | gpl-3.0 | 9,566 |
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="shortcut icon" href="images/icon/profile.png"/>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>LAPORAN PELAKSANAAN PENUGASAN</title>
<meta charset="utf-8">
<meta name="viewport" content="width=dev... | amadibra/sipeg | Form_PLT453.php | PHP | gpl-3.0 | 9,824 |
//
// MainTableViewCell.h
// Doctor
//
// Created by Ever on 15/3/19.
// Copyright (c) 2015年 Ever. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface MainTableViewCell : UITableViewCell
{
UIImageView *_imageView;
UILabel *_titleLbl;
}
@property(nonatomic,assign)NSInteger index ;
@property(nonatom... | YongbaoWang/Doctor | Doctor/MainTableViewCell.h | C | gpl-3.0 | 355 |
# Copyright (C) 2011 Pawel Stiasny
# 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... | pstiasny/VITABS | vitabs/editor.py | Python | gpl-3.0 | 20,458 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_91) on Sat Mar 19 01:50:16 CST 2016 -->
<title>net.sourceforge.nite.nom.link</title>
<meta name="date" content="2016-03-19">
<link rel=... | boompieman/iim_project | nxt_1.4.4/apidoc/net/sourceforge/nite/nom/link/package-frame.html | HTML | gpl-3.0 | 1,239 |
\hypertarget{classnfd_1_1FaceStatusPublisher}{}\section{nfd\+:\+:Face\+Status\+Publisher Class Reference}
\label{classnfd_1_1FaceStatusPublisher}\index{nfd\+::\+Face\+Status\+Publisher@{nfd\+::\+Face\+Status\+Publisher}}
Inheritance diagram for nfd\+:\+:Face\+Status\+Publisher\+:\begin{figure}[H]
\begin{center}
\leavev... | nsol-nmsu/ndnSIM | docs/icens/latex/classnfd_1_1FaceStatusPublisher.tex | TeX | gpl-3.0 | 2,011 |
/*
* myTask.hpp
*
* Created on: 10-11-2012
* Author: lukee
*/
#ifndef ATASK_HPP_
#define ATASK_HPP_
#include "stm32f4xx.h"
/* FreeRTOS includes */
#include "FreeRTOS.h"
#include "task.h"
#include "semphr.h"
//my include
#include "hw_config.h"
#include "math.h"
static const uint8_t queueSIZE = 6;
extern "... | darklukee/poziomica | inc/aTask.hpp | C++ | gpl-3.0 | 1,061 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>Free Liberty Reserve Module</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link href="d... | diracmcpn/ApiLibertyReserve | documentation/doc.html | HTML | gpl-3.0 | 5,340 |
#ifndef __MIO_MATERIAL_MATERIAL_H__
#define __MIO_MATERIAL_MATERIAL_H__
#include <mio/mio.h>
#include <mio/mio_object.h>
namespace mio
{
namespace material
{
class MaterialVisitor;
class MIO_API Material : public MioObject
{
public:
Material(const char *name="");
virtual ~Material() =... | esetomo/mio | include/mio/material/material.h | C | gpl-3.0 | 416 |
/* =Spatial directions
* ------------------------------------------------------------ */
Direction = new (function() { /* jshint ignore:line */
this.n = new Vector( 0, 1); this.up = this.n;
this.ne = new Vector( 1, 1);
this.e = new Vector( 1, 0); this.right = this.e;
this.se = new Vector( 1, -1);
this.s = new... | lleaff/ASCII-life | src/js/lib/world_directions.js | JavaScript | gpl-3.0 | 2,772 |
package Armadito::Agent::Antivirus::Kaspersky::Task::Alerts;
use strict;
use warnings;
use base 'Armadito::Agent::Task::Alerts';
sub run {
my ( $self, %params ) = @_;
$self->SUPER::run(%params);
my $osclass = $self->{agent}->{antivirus}->getOSClass();
my $alerts = { alerts => $osclass->getAlerts() };
my $n_al... | armadito/armadito-agent | lib/Armadito/Agent/Antivirus/Kaspersky/Task/Alerts.pm | Perl | gpl-3.0 | 780 |
<?php
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2022 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redist... | espocrm/espocrm | application/Espo/Modules/Crm/Tools/MassEmail/Processor.php | PHP | gpl-3.0 | 16,942 |
/*
* Copyright (C) 2005-2010 Erik Nilsson, software on versionstudio point com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option... | versionstudio/vibestreamer | src/win32/AboutDialog.cpp | C++ | gpl-3.0 | 1,655 |
namespace Ribbonizer.Wrappers.Microsoft
{
using System.Diagnostics.CodeAnalysis;
using System.Windows.Controls;
using System.Windows.Controls.Ribbon;
using Ribbonizer.Ribbon.Groups;
[ExcludeFromCodeCoverage]
internal class RibbonGroupWrapper : IRibbonGroupView, IWrapper<RibbonGroup>
{
... | BrunoJuchli/RibbonizerSample | Ribbonizer.Wrappers.Microsoft/RibbonGroupWrapper.cs | C# | gpl-3.0 | 1,094 |
require 'rails_helper'
RSpec.describe MultipleChoiceQuestion, type: :model do
describe "#correct" do
context "answered questions (right)" do
let(:answered_question) { build(:multiple_choice_question) }
it { expect(answered_question).to be_valid }
it { expect(answered_question.correct?).to eq(t... | dtu-compute/dtu-quiz | spec/models/multiple_choice_question_spec.rb | Ruby | gpl-3.0 | 1,050 |
/**
* FasteignaskraFasteignMatseining.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.3 Oct 05, 2005 (05:23:37 EDT) WSDL2Java emitter.
*/
package fasteignaskra.landskra_wse;
public class FasteignaskraFasteignMatseining implements java.io.Serializable {
private java.lang.Integer fastan... | idega/is.fmr.landskra | src/java/fasteignaskra/landskra_wse/FasteignaskraFasteignMatseining.java | Java | gpl-3.0 | 30,821 |
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="es" sourcelanguage="en">
<context>
<name>XmppStream</name>
<message>
<source>Password request</source>
<translation>Solicitar contraseña</translation>
</message>
<message>
<source>Enter password for ... | sanchay160887/vacuum-im | src/translations/es/xmppstreams.ts | TypeScript | gpl-3.0 | 1,626 |
/*
* Copyright (c) 2017-2020 Amir Czwink (amir130@hotmail.de)
*
* This file is part of Std++.
*
* Std++ 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 op... | aczwink/ACStdLib | include/Std++/UI/Displays/VideoWidget.hpp | C++ | gpl-3.0 | 1,633 |
.editor_atto_content_wrap {
background-color: white;
}
.editor_atto_content {
padding: 4px;
}
.editor_atto_content_wrap,
.editor_atto + textarea {
width: 100%;
padding: 0;
border: 1px solid #BBB;
border-top: none;
}
.editor_atto + textarea {
border-radius: 0;
resize: vertical;
marg... | jsnfwlr/editor27 | lib/editor/atto/styles.css | CSS | gpl-3.0 | 2,508 |
package net.spencer.test.init;
import net.minecraft.client.Minecraft;
import net.minecraft.client.renderer.block.model.ModelResourceLocation;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.util.ResourceLocation;
import net.minecraftforge.fml.client.registry.RenderingRegistry;... | SpencerFranklin/MinecraftMod | src/main/java/net/spencer/test/init/ModItems.java | Java | gpl-3.0 | 2,194 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using InsuranceSystem.Library.Models.Catalogs;
namespace InsuranceSystem.Library.Models.Documents
{
public class PostBlankItem
{
public int Id { get; set; }
public int PostBlankI... | mishakos/InsuranceSystem.Library | InsuranceSystem.Library/Models/Documents/PostBlankItem.cs | C# | gpl-3.0 | 537 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... | JulienBernard/ApocalySpace | Pilotage/docs/html/class_data-members.html | HTML | gpl-3.0 | 12,891 |
package in.nikitapek.dueler.util;
import com.google.gson.reflect.TypeToken;
import in.nikitapek.dueler.Arena;
import org.bukkit.Location;
import java.lang.reflect.Type;
import java.util.TreeSet;
@SuppressWarnings("rawtypes")
public final class SupplementaryTypes {
public static final Type LOCATION = new TypeToke... | MinerAp/dueler | src/main/java/in/nikitapek/dueler/util/SupplementaryTypes.java | Java | gpl-3.0 | 559 |
#include <stdio.h>
#include <byteswap.h>
#include "utils.h"
#include "subunit.h"
#if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
#define cpu_to_be32(x) bswap_32(x)
#define be32_to_cpu(x) bswap_32(x)
#define be16_to_cpup(x) bswap_16(*x)
#define cpu_to_be64(x) bswap_64(x)
#else
#define cpu_to_be32(x) (x)
#defin... | williamfdevine/PrettyLinux | tools/testing/selftests/powerpc/vphn/test-vphn.c | C | gpl-3.0 | 6,697 |
<?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 ... | khan0407/FinalArcade | report/log/graph.php | PHP | gpl-3.0 | 6,948 |
.tk-event-weather__error {
border-left: 4px solid #dc3232; /* same red as admin Error notice */
-webkit-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, .1);
box-shadow: 0 1px 1px 0 rgba(0, 0, 0, .1);
margin: 15px;
padding: 5px 12px
}
.tk-event-weather__wrapper {
line-height: 1;
margin: 2rem auto;
}
.tk-event-weather__wr... | cliffordp/tk-event-weather | css/tk-event-weather.css | CSS | gpl-3.0 | 1,552 |
"""
Updates the version in the binary executable of the Forged Alliance game. Will write a new ForgedAlliance.version.exe
file.
Usage:
update_version <version> [--file=<file>] [--dest=<dest>]
Options:
--file=<file> The binary file to update [default: ForgedAlliance.exe]
--dest=<dest> The folder path wher... | FAForever/faftools | faf/tools/fa/update_version.py | Python | gpl-3.0 | 1,436 |
package net.berrueta.smwdump;
import java.io.File;
import java.io.FileOutputStream;
import java.io.FileWriter;
import java.util.Collections;
import java.util.LinkedList;
import net.sourceforge.jwbf.mediawiki.actions.MediaWiki;
import net.sourceforge.jwbf.mediawiki.actions.queries.AllPageTitles;
import net.sourceforge.... | berrueta/smw-dump | src/main/java/net/berrueta/smwdump/Main.java | Java | gpl-3.0 | 5,672 |
// Decompiled with JetBrains decompiler
// Type: System.Web.UI.WebControls.GridViewCommandEventArgs
// 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.Web.dll... | mater06/LEGOChimaOnlineReloaded | LoCO Client Files/Decompressed Client/Extracted DLL/System.Web/System/Web/UI/WebControls/GridViewCommandEventArgs.cs | C# | gpl-3.0 | 3,381 |
import React from 'react';
import { InputComponent, TSlobsInputProps, useInput, ValuesOf } from './inputs';
import { Slider, InputNumber, Row, Col } from 'antd';
import { SliderSingleProps } from 'antd/lib/slider';
import InputWrapper from './InputWrapper';
import omit from 'lodash/omit';
// select which features from... | stream-labs/streamlabs-obs | app/components-react/shared/inputs/SliderInput.tsx | TypeScript | gpl-3.0 | 2,040 |
/*
Copyright (c) 1990 X Consortium
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 Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, ... | chriskmanx/qmole | QMOLEDEV/xorg-ignore/xorg-server-1.5.1/hw/xfree86/xf4bpp/ppcIO.c | C | gpl-3.0 | 7,733 |
/*
* μlogger
*
* Copyright(C) 2019 Bartek Fabiszewski (www.fabiszewski.net)
*
* This 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 ver... | bfabiszewski/ulogger-server | js/src/mapapi/api_gmaps.js | JavaScript | gpl-3.0 | 12,253 |
{% extends 'base.html' %}
{% load staticfiles %}
{% block extra_head %}
{% endblock %}
{% block content %}
<div class="row">
<div class="col-lg-6">
</div><!-- /.col-lg-6 -->
<div class="col-lg-6">
<form method="GET">
<div class="input-group">
... | ximepa/docp | templates/claim/manual_list.html | HTML | gpl-3.0 | 2,230 |
from django.views.generic import CreateView, DetailView, UpdateView, ListView
from django.views.generic import DeleteView
from django.core.urlresolvers import reverse_lazy
from django.utils.translation import ugettext_lazy as _
from django import http
from django.contrib import messages
from .. import forms
from .. im... | jizdoteka/jizdoteka-web | apps/web/views/car.py | Python | gpl-3.0 | 1,433 |
/****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Copyright (C) 2015 Petroules Corporation.
** Contact: https://www.qt.io/licensing/
**
** This file is part of Qbs.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licensees holding ... | Philips14171/qt-creator-opensource-src-4.2.1 | src/shared/qbs/src/lib/corelib/tools/architectures.cpp | C++ | gpl-3.0 | 4,533 |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("xL... | xwcg/SpawnBot | xLogger/Properties/AssemblyInfo.cs | C# | gpl-3.0 | 1,390 |
/*
* Copyright (C) 2014 GG-Net GmbH - Oliver Günther
*
* 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.
*
... | gg-net/dwoss | ui/mandator/src/main/java/eu/ggnet/dwoss/mandator/ui/CachedProxy.java | Java | gpl-3.0 | 4,405 |
<?php
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
/**
* Exception Class for Selenium
*
* PHP versions 5
*
* 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
... | manusis/dblite | test/lib/Testing/Selenium/Exception.php | PHP | gpl-3.0 | 1,100 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Noise-Planet - Scientific tools for environmental noise assessment">
<meta name="author" content="Gwendall Petit (... | Ifsttar/NoisePlanet | noisecapture_calibration.html | HTML | gpl-3.0 | 20,143 |
/*
* Copyright 2015
* Hélène Perrier <helene.perrier@liris.cnrs.fr>
* Jérémy Levallois <jeremy.levallois@liris.cnrs.fr>
* David Coeurjolly <david.coeurjolly@liris.cnrs.fr>
* Jacques-Olivier Lachaud <jacques-olivier.lachaud@univ-savoie.fr>
* Jean-Philippe Farrugia <jean-philippe.farrugia@liris.cnrs.fr>
* Jean-Cl... | dcoeurjo/ICTV | src/cpp/BlitFramebuffer.cpp | C++ | gpl-3.0 | 8,912 |
<?php
/**
* @section LICENSE
* This file is part of Wikimedia IEG Grant Review application.
*
* Wikimedia IEG Grant Review application 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
... | bd808/wikimedia-iegreview | src/Dao/AbstractDao.php | PHP | gpl-3.0 | 6,999 |
# -*- coding: utf-8 -*-
"""
Created on Sun Dec 13 23:48:22 2015
@author: thorsten
"""
from distutils.core import setup
from distutils.extension import Extension
from Cython.Build import cythonize
import os, sys
ROOT_DIR = os.path.dirname(__file__)
sys.path.append(os.path.join(ROOT_DIR,'..','..','CSXCAD','python'))
... | georgmichel/openEMS | python/setup.py | Python | gpl-3.0 | 1,466 |
/*
Copyright 2015 Philipp Adam, Manuel Caspari, Nicolas Lukaschek
contact@ravenapp.org
This file is part of Raven.
Raven 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
... | manuelsc/Raven-Messenger | Raven App/src/main/java/at/flack/activity/SMSDefaultDelivery.java | Java | gpl-3.0 | 1,519 |
/* RetroArch - A frontend for libretro.
* Copyright (C) 2018 - Francisco Javier Trujillo Mata - fjtrujy
*
* RetroArch 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 Found-
* ation, either version 3 of the License... | Themaister/RetroArch | gfx/drivers/ps2_gfx.c | C | gpl-3.0 | 26,338 |
/*
* RescoreModule.cpp
*
* Created on: Feb 21, 2017
* Author: louis
*/
#include "RescoreModule.h"
#include "Logging.h"
namespace SLM {
RescoreModule::RescoreModule(SLM::BackoffStrategy* bo, const std::string& outputDirectory)
: backoffStrategy(bo), outputDirectory(outputDirectory)
{
// TODO Auto-genera... | naiaden/SLM | RescoreModule.cpp | C++ | gpl-3.0 | 1,725 |
#!/usr/bin/env python3
import gi
import os
import webbrowser
gi.require_version('Gtk', '3.0')
from gi.repository import Gtk
class ButtonWindow(Gtk.Window):
def __init__(self):
Gtk.Window.__init__(self, title="Hall Launcher")
self.set_border_width(10)
hbox = Gtk.Box(spacing=100)
h... | HallLinux/Hall_Launcher | hall_launcher.py | Python | gpl-3.0 | 3,662 |