repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
kernsuite-debian/lofar
JAVA/LofarUtils/src/nl/astron/lofar/lofarutils/DateTimeChooser.java
19785
/* * DateTimeChooser.java * * Created on 28 juni 2007, 10:58 */ package nl.astron.lofar.lofarutils; import com.toedter.components.JSpinField; import java.awt.Component; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; import java.util.Locale; im...
gpl-3.0
smgom/multimerch
upload/system/library/mscommission.php
6368
<?php class MsCommission extends Model { const RATE_SALE = 1; const RATE_LISTING = 2; const RATE_SIGNUP = 3; /* const PAYMENT_TYPE_BALANCE = 1; const PAYMENT_TYPE_GATEWAY = 2; const PAYMENT_TYPE_COMBINED = 3; */ const TYPE_SALES_QUANTITY = 1; const TYPE_SALES_AMOUNT = 2; const TYPE_PERIODIC...
gpl-3.0
shadowsocks/shadowsocks-windows
Shadowsocks.Net/UDPRelay.cs
7910
using Shadowsocks.Models; using Shadowsocks.Net.Crypto; using Splat; using System; using System.Buffers; using System.Collections.Generic; using System.Net; using System.Net.Sockets; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Threading.Tasks; namespace Shadowsocks.Net { ...
gpl-3.0
wp-plugins/wp-insert
includes/legal-pages/content.php
1490
<?php add_filter('the_content', 'wp_insert_legal_filter_the_content'); function wp_insert_legal_filter_the_content($content) { $options = get_option('wp_insert_legal_options'); $page_details = wp_insert_get_page_details(); if(in_array($page_details['ID'], explode(',', $options['privacy-policy']['pages']))) { ...
gpl-3.0
OpenWIS/openwis
openwis-metadataportal/openwis-portal/src/main/java/org/openwis/metadataportal/services/thesaurus/dto/NodeDTO.java
791
package org.openwis.metadataportal.services.thesaurus.dto; /** * The Node DTO. <P> * Explanation goes here. <P> * */ public class NodeDTO { /** * The id. */ private String id; /** * The keywordDTO. */ private KeywordDTO keyword; /** * Gets the id. * @return the id. ...
gpl-3.0
dmnmsc/Unigram
Unigram/Unigram.Api/TL/Methods/TLInvokeAfterMsgs.cs
798
// <auto-generated/> using System; namespace Telegram.Api.TL.Methods { /// <summary> /// RCP method invokeAfterMsgs. /// Returns <see cref="Telegram.Api.TL.TLObject"/> /// </summary> public partial class TLInvokeAfterMsgs : TLObject { public TLVector<Int64> MsgIds { get; set; } public TLObject Query { get; s...
gpl-3.0
wujunnan0929/pedstrain-detection
doppia/libs/boost/gil/extension/io_new/formats/jpeg/supported_types.hpp
3859
/* Copyright 2007-2008 Christian Henning, Andreas Pokorny, Lubomir Bourdev Use, modification and distribution are subject to the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt). */ /**************************************...
gpl-3.0
plancheproject/planche
src/tunneling/nodejs/planche.js
1242
var express = require('express'), tunneling = tunneling || require('./tunneling'); var args = process.argv.slice(2); var options = {}; for (var i in args) { var tmp = args[i].split("="); options[tmp[0].slice(2)] = tmp[1]; } var DEBUG = true, addr = options.addr || '127.0.0.1', port = options.port...
gpl-3.0
wisehead/Leetcode
38.DivideAndConquer_1/0169.Majority_Element.Array_DivideAndConquer_BitManipulation.Easy/standard.cpp
1026
/******************************************************************************* * file name: major_element.cpp * author: Hui Chen. (c) 17 * mail: chenhui13@baidu.com * create...
gpl-3.0
241180/Oryx
oryx-server-ws-gen/src/main/java/copied/com/oryx/remote/webservice/element/_enum/UpgradesServices.java
2978
package com.oryx.remote.webservice.element._enum; import javax.xml.namespace.QName; import javax.xml.ws.*; import java.net.MalformedURLException; import java.net.URL; /** * This class was generated by the JAX-WS RI. * JAX-WS RI 2.2.10 * Generated source version: 2.2 */ @WebServiceClient(name = "UpgradesServices"...
gpl-3.0
FrictionalGames/HPL1Engine
tools/MapEditor/cTileSet.cs
2184
/* * Copyright (C) 2006-2010 - Frictional Games * * This file is part of HPL1 Engine. * * HPL1 Engine 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 opti...
gpl-3.0
javastraat/arduino
hardware/Helios/cores/arduino/USBCore.cpp
13666
/* Copyright (c) 2010, Peter Barrett ** ** Permission to use, copy, modify, and/or distribute this software for ** any purpose with or without fee is hereby granted, provided that the ** above copyright notice and this permission notice appear in all copies. ** ** THE SOFTWARE IS PROVIDED "AS IS" AND THE A...
gpl-3.0
christianfriedl/SteerGlance
js/test/app/customer/testCustomerEntitySet.js
3391
/* * Copyright (C) 2015-2017 Christian Friedl <Mag.Christian.Friedl@gmail.com> * * This file is part of SteerGlance. * * SteerGlance is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 3 as * published by the Free Software Foundation. * * This...
gpl-3.0
andysal/NSK
winrt/src/WindowsStore/Nsk.Metro.Shopper/Views/AboutPage.xaml.cs
2035
using System; using System.Collections.Generic; using System.IO; using System.Linq; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Controls.Primitives; using Windows.UI.Xaml.Data; using Windows.UI.Xaml.Input; using Windows.UI...
gpl-3.0
JunkyBulgaria/Test
src/main/java/net/minecraft/server/TileEntityNote.java
1710
package net.minecraft.server; public class TileEntityNote extends TileEntity { public byte note; public boolean f; public TileEntityNote() {} public void b(NBTTagCompound nbttagcompound) { super.b(nbttagcompound); nbttagcompound.setByte("note", this.note); } public void a(NB...
gpl-3.0
nubakery/bagel
src/smith/caspt2/CASPT2_gen3.cc
29259
// // BAGEL - Brilliantly Advanced General Electronic Structure Library // Filename: CASPT2_gen3.cc // Copyright (C) 2014 Toru Shiozaki // // Author: Toru Shiozaki <shiozaki@northwestern.edu> // Maintainer: Shiozaki group // // This file is part of the BAGEL package. // // This program is free software: you can redistr...
gpl-3.0
geminy/aidear
oss/qt/qt-everywhere-opensource-src-5.9.0/qtwebengine/src/3rdparty/chromium/testing/scripts/run_telemetry_as_googletest.py
2974
#!/usr/bin/env python # Copyright 2015 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Runs isolate bundled Telemetry unittests. This script attempts to emulate the contract of gtest-style tests invoked via recipes. Th...
gpl-3.0
Belxjander/Kirito
SnowStorm/indra/llui/llbadgeholder.cpp
1317
/** * @file llbadgeholder.cpp * @brief Source for badge holders * * $LicenseInfo:firstyear=2001&license=viewerlgpl$ * Second Life Viewer Source Code * Copyright (C) 2010, Linden Research, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser Gene...
gpl-3.0
masterucm1617/botzzaroni
BotzzaroniDev/GATE_Developer_8.4/plugins/Alignment/src/gate/alignment/gui/AlignmentActionsManager.java
19072
package gate.alignment.gui; import gate.Annotation; import gate.Document; import gate.Gate; import gate.alignment.Alignment; import gate.alignment.AlignmentActionInitializationException; import gate.alignment.AlignmentException; import gate.alignment.gui.actions.impl.AlignAction; import gate.alignment.gui.actions.impl...
gpl-3.0
Ray0427/artoolkit-ios
lib/SRC/KPM/kpmMatching.cpp
30161
/* * kpmMatching.cpp * libKPM * * Disclaimer: IMPORTANT: This Daqri software is supplied to you by Daqri * LLC ("Daqri") in consideration of your agreement to the following * terms, and your use, installation, modification or redistribution of * this Daqri software constitutes acceptance of these terms. ...
gpl-3.0
xrunuo/xrunuo
Scripts/Distro/Spells/Seventh/MassDispel.cs
2624
using System; using System.Collections.Generic; using Server.Misc; using Server.Network; using Server.Items; using Server.Targeting; using Server.Mobiles; namespace Server.Spells.Seventh { public class MassDispelSpell : MagerySpell { private static SpellInfo m_Info = new SpellInfo( "Mass Dispel", ...
gpl-3.0
hholzgra/rasdaman
rnprotocol/rnpclientcomm.cc
56573
#include "mymalloc/mymalloc.h" /* * This file is part of rasdaman community. * * Rasdaman community 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 la...
gpl-3.0
Karasion/Capstone2015-PurpleOcean2
OpenDS3.0/src/eu/opends/trigger/TriggerCenter.java
11518
/* * This file is part of OpenDS (Open Source Driving Simulator). * Copyright (C) 2015 Rafael Math * * OpenDS is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at you...
gpl-3.0
eraffxi/darkstar
scripts/zones/Castle_Zvahl_Keep/mobs/Count_Bifrons.lua
287
----------------------------------- -- Area: Castle Zvahl Keep (162) -- MOB: Count_Bifrons ----------------------------------- require("scripts/globals/titles"); function onMobDeath(mob, player, isKiller) player:addTitle(dsp.title.HELLSBANE); end; function onMobDespawn(mob) end;
gpl-3.0
muldvang/thesis-code
zipHMM/python_example.py
916
from pyZipHMM import * f1 = Forwarder.fromSequence(seqFilename = "../example.seq", alphabetSize = 3, minNoEvals = 10) f1.writeToDirectory("../example_out") ## Do something crazy f2 = Forwarder.fromDirectory(directory = "../example_out") pi, A, B = readHMM("../example.hmm") print "loglikelihood: ", f2.forward(pi, A,...
gpl-3.0
syntheticpp/metashell
3rd/templight/llvm/lib/Target/ARM/ARMBaseRegisterInfo.cpp
30625
//===-- ARMBaseRegisterInfo.cpp - ARM Register Information ----------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
gpl-3.0
Yoast/YoastSEO.js
src/researches/french/passiveVoice/FrenchParticiple.js
6445
import { forEach, includes, memoize } from "lodash-es"; import directPrecedenceException from "../../../stringProcessing/directPrecedenceExceptionWithoutRegex"; import precedenceException from "../../../stringProcessing/precedenceExceptionWithoutRegex"; import Participle from "../../../values/Participle"; import check...
gpl-3.0
s20121035/rk3288_android5.1_repo
packages/apps/UnifiedEmail/src/com/android/mail/ui/AutoResizeListView.java
2305
/* * Copyright (C) 2014 Google Inc. * Licensed to The Android Open Source Project. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
gpl-3.0
Murder66/mpc-hc-master
src/thirdparty/ZenLib/ZenLib/OS_Utils.cpp
7145
/* Copyright (c) MediaArea.net SARL. All Rights Reserved. * * Use of this source code is governed by a zlib-style license that can * be found in the License.txt file in the root of the source tree. */ //--------------------------------------------------------------------------- #include "ZenLib/PreComp.h" #ifde...
gpl-3.0
eraffxi/darkstar
scripts/globals/items/hamsi.lua
993
----------------------------------------- -- ID: 5449 -- Item: Hamsi -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 1 -- Mind -3 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- function onItemCheck(target) ...
gpl-3.0
shelllbw/workcraft
StgPlugin/src/org/workcraft/plugins/stg/ComplexResult.java
782
package org.workcraft.plugins.stg; import org.workcraft.dom.math.MathConnection; public class ComplexResult implements ConnectionResult { private final StgPlace implicitPlace; private final MathConnection con1; private final MathConnection con2; public ComplexResult(StgPlace place, MathConnection con...
gpl-3.0
aurora-pro/apex-sigma
sigma/plugins/moderation/channels/temp_vc_checker.py
336
async def temp_vc_checker(ev, member, before, after): if before.channel: vc = before.channel lookup = ev.db.find_one('PrivateRooms', {'ChannelID': vc.id}) if lookup: if len(vc.members) == 0: await vc.delete() ev.db.delete_one('PrivateRooms', {'Chan...
gpl-3.0
tpokorra/openpetra2014_05
csharp/ICT/Testing/lib/MFinance/GLForm/GLAccountHierarchy.test.cs
15521
// // DO NOT REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. // // @Authors: // wolfgangu, timop // // Copyright 2004-2014 by OM International // // This file is part of OpenPetra.org. // // OpenPetra.org is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public Licens...
gpl-3.0
Ictp/indico
indico/web/flask/blueprints/event/display/registration.py
3117
# -*- coding: utf-8 -*- ## ## ## This file is part of Indico. ## Copyright (C) 2002 - 2014 European Organization for Nuclear Research (CERN). ## ## Indico 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; eith...
gpl-3.0
dungvu88/scout449
org/s449/ui/ButtonFactory.java
2401
package org.s449.ui; import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.border.*; import javax.swing.plaf.basic.BasicButtonUI; import org.s449.Constants; /** * A class that hands out button instances. * * @author Stephen Carlson * @version 1.0.0 */ public class B...
gpl-3.0
vertigo17/Cerberus
source/src/main/java/org/cerberus/crud/dao/IDeployTypeDAO.java
2529
/** * Cerberus Copyright (C) 2013 - 2017 cerberustesting * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This file is part of Cerberus. * * Cerberus 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 Softw...
gpl-3.0
waltervh/BornAgain
GUI/coregui/Models/DepthProbeInstrumentItem.cpp
3812
// ************************************************************************** // // // BornAgain: simulate and fit scattering at grazing incidence // //! @file GUI/coregui/Models/DepthProbeInstrumentItem.cpp //! @brief Implements DepthProbeInstrumentItem class //! //! @homepage http://www.bornagainproject.or...
gpl-3.0
NijigenDevs/QSanguosha-For-Saimoe
src/dialog/configdialog.cpp
17306
#include "configdialog.h" #ifdef Q_OS_IOS #include "ui_configdialog_ios.h" #else #include "ui_configdialog.h" #endif #include "settings.h" #include "stylehelper.h" #include "audio.h" #include "roomscene.h" #include <QFileDialog> #include <QDesktopServices> #include <QFontDialog> #include <QColorDialog> #include <QText...
gpl-3.0
igor-borisov/valamis
valamis-core/src/main/scala/com/arcusys/valamis/model/PeriodTypes.scala
1578
package com.arcusys.valamis.model import org.joda.time.DateTime object PeriodTypes extends Enumeration { type PeriodType = Value val UNLIMITED, YEAR, MONTH, WEEKS, DAYS = Value def parse(value: String) = value.toLowerCase() match { case "unlimited" => UNLIMITED case "year" => YEAR case "month...
gpl-3.0
remytms/Distribution
main/core/Tests/API/User/GroupControllerTest.php
15290
<?php namespace Claroline\CoreBubdle\Tests\API\User; use Claroline\CoreBundle\Entity\User; use Claroline\CoreBundle\Library\Testing\Persister; use Claroline\CoreBundle\Library\Testing\TransactionalTestCase; class GroupControllerTest extends TransactionalTestCase { /** @var Persister */ private $persister; ...
gpl-3.0
Allors/allors
Domains/Apps/Workspace/Typescript/Intranet/src/allors/material/apps/objects/nonserialisedinventoryitem/embed/nonserialisedinventoryitem-embed.module.ts
2632
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { RouterModule } from '@angular/router'; import { FormsModule, ReactiveFormsModule } from '@angular/forms'; import { MatButtonModule, MatCardModule, MatDividerModule, MatFormFieldModule, MatIconModule, MatListModule, MatMen...
gpl-3.0
covers1624/ForestryLegacy
forestry_common/core/forestry/api/recipes/IFermenterManager.java
2525
/******************************************************************************* * Copyright (c) 2011-2014 SirSengir. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser Public License v3 * which accompanies this distribution, and is available at...
gpl-3.0
bcdev/beam
beam-atsr-reader/src/main/java/org/esa/beam/dataio/atsr/AtsrFlagBandReader.java
2712
/* * Copyright (C) 2010 Brockmann Consult GmbH (info@brockmann-consult.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 version 3 of the License, or (at your option) * any late...
gpl-3.0
Emudofus/BehaviorIsManaged
Protocol/Types/game/context/roleplay/quest/GameRolePlayNpcQuestFlag.cs
1722
// Generated on 04/17/2013 22:30:08 using System; using System.Collections.Generic; using System.Linq; using BiM.Core.IO; namespace BiM.Protocol.Types { public class GameRolePlayNpcQuestFlag { public const short Id = 384; public virtual short TypeId { get { return Id; } ...
gpl-3.0
Soaprman/FEFTwiddler
FEFTwiddler/Data/Accessory.cs
232
namespace FEFTwiddler.Data { public class Accessory { public Enums.Accessory AccessoryID { get; set; } public string DisplayName { get; set; } public Enums.AccessoryType Type { get; set; } } }
gpl-3.0
nomacs/nomacs
ImageLounge/translations/nomacs_hr.ts
287074
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE TS> <TS version="2.1" language="hr" sourcelanguage="en"> <context> <name>QObject</name> <message> <location filename="../../src/DkCore/DkActionManager.cpp" line="183"/> <source>&amp;Photoshop</source> <translation>&amp;Photoshop</translation> ...
gpl-3.0
turdusmerula/PgDbo
doc/html/classdbo_1_1stmt_1_1_prepared_statement.js
4908
var classdbo_1_1stmt_1_1_prepared_statement = [ [ "OIDEnum", "classdbo_1_1stmt_1_1_prepared_statement.html#a5abdfcba0e0d11c61c0ad555aa7ec053", [ [ "OIDDefault", "classdbo_1_1stmt_1_1_prepared_statement.html#a5abdfcba0e0d11c61c0ad555aa7ec053a2722e683704ee721128f523886c0d5c9", null ], [ "OIDBytea", "class...
gpl-3.0
fruitopology/arpabet
lib/arpabet/token.rb
591
module Arpabet class Token attr_reader :token def initialize(token) @token = token end def phoneme # remove the emphasis split[0].gsub(/(\W|\d)/, "") end Arpabet::ARPA_MAP.first[1].keys.each do |encoding| define_method(encoding) do token_map = Arpabet::ARPA_M...
gpl-3.0
kriss0r/cmclasses
src/UI/HTML/Button/Container.php
1123
<?php /** * HTML Button Container (for CSS). * @category cmClasses * @package UI.HTML.Button * @author Christian Würker <christian.wuerker@ceusmedia.de> * @since 0.7.0 * @version $Id$ */ /** * HTML Button Container (for CSS). * @category cmClasses * @package UI.HTML.Button * @extends UI_HTML_Abstra...
gpl-3.0
leono01/CancelacionHipoteca
cancelacion-web/src/main/java/com/gisnet/cancelacion/persistance/services/UsuarioPersistanceServiceHandler.java
3605
/* * Copyright (C) 2015 GISNET * * 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...
gpl-3.0
GeorgiyDemo/KIP
Course IV/ТРПО/Practs/7/PrograssBarExample/ProgressbarExample/ProgressbarExample/Form1.Designer.cs
5330
namespace ProgressbarExample { partial class Form1 { /// <summary> /// Обязательная переменная конструктора. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Освободить все используемые ресурсы. /// </summary> ...
gpl-3.0
lp156321/mtpretag
src/mtpretag/TransferNotifier.java
1613
// // Copyright 2010 Paul White // // This file is part of MTPRetag. // // MTPRetag 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...
gpl-3.0
WildInfoLuo/VCloud
VCloud/ejbModule/com/taobao/api/internal/cluster/HttpdnsGetRequest.java
587
package com.taobao.api.internal.cluster; import java.util.HashMap; import java.util.Map; import com.taobao.api.ApiRuleException; import com.taobao.api.BaseTaobaoRequest; public class HttpdnsGetRequest extends BaseTaobaoRequest<HttpdnsGetResponse> { public String getApiMethodName() { return "taobao.htt...
gpl-3.0
xrunuo/xrunuo
Scripts/Distro/Engines/Collections/Moonglow Zoo/Rewards/Interactive Statues/ZooRewardQuagmireIntStatue.cs
810
using System; using Server; namespace Server.Items { public class ZooRewardQuagmireIntStatue : BaseZooInteractiveStatue { public override int LabelNumber { get { return 1074848; } } // Interactive Quagmire Contribution Statue from the Britannia Royal Zoo. [Constructable] public ZooRewardQuagmireIntS...
gpl-3.0
OpenCFD/OpenFOAM-1.7.x
src/finiteVolume/finiteVolume/fvc/fvcDDt.H
2490
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | \\ / A nd | Copyright (C) 1991-2010 OpenCFD Ltd. \\/ M anipulation | ---------------...
gpl-3.0
DRE2N/BR-Commons
core/src/main/java/de/erethon/commons/misc/SimpleDateUtil.java
3060
/* * Written from 2015-2021 by Daniel Saukel * * To the extent possible under law, the author(s) have dedicated all * copyright and related and neighboring rights to this software * to the public domain worldwide. * * This software is distributed without any warranty. * * You should have received a copy of the...
gpl-3.0
paulmadore/Eric-IDE
6-6.0.9/eric/Network/IRC/IrcIdentitiesEditDialog.py
17535
# -*- coding: utf-8 -*- # Copyright (c) 2012 - 2015 Detlev Offenbach <detlev@die-offenbachs.de> # """ Module implementing the identities management dialog. """ from __future__ import unicode_literals import copy from PyQt5.QtCore import pyqtSlot, Qt, QEvent, QItemSelectionModel from PyQt5.QtWidgets import QDialog,...
gpl-3.0
twstrike/coyim
vendor/github.com/coyim/otr3/messages.go
7575
package otr3 import ( "crypto/aes" "crypto/hmac" "crypto/subtle" "encoding/binary" "math/big" ) const ( messageFlagNormal = byte(0x00) messageFlagIgnoreUnreadable = byte(0x01) messageHeaderPrefix = 3 msgTypeDHCommit = byte(0x02) msgTypeData = byte(0x03) msgTypeDHKey = byte(0x0A) msgT...
gpl-3.0
Hackworth/FOG
src/sshtools/src/com/sshtools/common/automate/AutomationConfiguration.java
7911
/* * SSHTools - Java SSH2 API * * Copyright (C) 2002 Lee David Painter. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public License * as published by the Free Software Foundation; either version 2 of * the License, or (at ...
gpl-3.0
eraffxi/darkstar
scripts/zones/Windurst_Waters_[S]/npcs/Aihn_Sowlmirih.lua
559
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Aihn Sowlmirih -- Type: Standard NPC -- @zone 94 -- !pos -61.102 -4.5 71.743 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil; --...
gpl-3.0
triguero/Keel3.0
src/keel/Algorithms/ImbalancedClassification/CSMethods/C_SVMCost/svm_node.java
1364
/*********************************************************************** This file is part of KEEL-software, the Data Mining tool for regression, classification, clustering, pattern mining and so on. Copyright (C) 2004-2010 F. Herrera (herrera@decsai.ugr.es) L. Sánchez (luciano@uniovi.es) J. A...
gpl-3.0
igmhub/pyLyA
py/picca/fitter2/pk.py
16465
import numpy as np from . import utils from pkg_resources import resource_filename muk = utils.muk bias_beta = utils.bias_beta Fvoigt_data = [] class pk: def __init__(self, func, name_model=None): self.func = func global Fvoigt_data if (not name_model is None) and (Fvoigt_data == []): ...
gpl-3.0
vanpouckesven/cosnics
src/Chamilo/Core/Repository/Implementation/GoogleDocs/Form/ExternalObjectForm.php
6809
<?php namespace Chamilo\Core\Repository\Implementation\GoogleDocs\Form; use Chamilo\Core\Repository\Implementation\GoogleDocs\ExternalObject; use Chamilo\Core\Repository\Implementation\GoogleDocs\ExternalObjectDisplay; use Chamilo\Libraries\Architecture\ClassnameUtilities; use Chamilo\Libraries\File\Path; use Chamilo\...
gpl-3.0
mickelson/attract
extlibs/gameswf/gameswf/gameswf_styles.cpp
10940
// gameswf_styles.cpp -- Thatcher Ulrich <tu@tulrich.com> 2003 // This source code has been donated to the Public Domain. Do // whatever you want with it. // Fill and line style types. #include "gameswf/gameswf_styles.h" #include "gameswf/gameswf_impl.h" #include "gameswf/gameswf_log.h" #include "gameswf/gameswf_r...
gpl-3.0
knight-ryu12/FlyWithFood
src/net/amunak/bukkit/flywithfood/Common.java
1243
package net.amunak.bukkit.flywithfood; /** * Copyright 2013 Jiří Barouš * * 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 * ...
gpl-3.0
hchyang/CSiTE
psite/psite.py
2338
#!/usr/bin/env python3 ######################################################################### # Author: Hechuan Yang # Created Time: 2017-09-27 10:50:14 # File Name: psite.py # Description: ######################################################################### import os import sys import logging import pyfaidx ...
gpl-3.0
queza85/edison
edison-portal-framework/edison-project-2016-portlet/docroot/WEB-INF/src/org/kisti/edison/project/service/impl/HistoryAppSimulationLocalServiceImpl.java
1756
/** * Copyright (c) 2016-EDISON, KISTI. 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 ver...
gpl-3.0
geminy/aidear
oss/qt/qt-everywhere-opensource-src-5.9.0/qtwebengine/src/3rdparty/chromium/third_party/swiftshader/third_party/LLVM/lib/CodeGen/RegisterClassInfo.cpp
4020
//===-- RegisterClassInfo.cpp - Dynamic Register Class Info ---------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
gpl-3.0
KPSU/kpsu.org
vendor/plugins/searchlogic/lib/searchlogic/named_scopes/association_conditions.rb
7303
module Searchlogic module NamedScopes # Handles dynamically creating named scopes for associations. See the README for a detailed explanation. module AssociationConditions def condition?(name) # :nodoc: super || association_condition?(name) end def _resolve_deep_association_conditio...
gpl-3.0
geminy/aidear
oss/qt/qt-everywhere-opensource-src-5.9.0/qtwebengine/src/3rdparty/chromium/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
40208
/* * Copyright (C) 2014 Google Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditio...
gpl-3.0
Gexar/espresso
src/pressure.hpp
17893
/* Copyright (C) 2010,2012,2013 The ESPResSo project Copyright (C) 2002,2003,2004,2005,2006,2007,2008,2009,2010 Max-Planck-Institute for Polymer Research, Theory Group This file is part of ESPResSo. ESPResSo is free software: you can redistribute it and/or modify it under the terms of the GNU Gener...
gpl-3.0
CorpenEldorito/H-CE-Opensauce-V5
BlamLib/BlamLib/Util/Util.Security.cs
2218
/* BlamLib: .NET SDK for the Blam Engine See license\BlamLib\BlamLib for specific license information */ using System; using System.Collections.Generic; using System.Security.Cryptography; namespace BlamLib { partial class Util { #region Hash Encryption static byte[] BlamHashTable = { 0x03, // 3 0x07, ...
gpl-3.0
boydjd/openfisma
library/Zend/Pdf/Resource/Font/Simple/Standard/Helvetica.php
19184
<?php /** * Zend Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://framework.zend.com/license/new-bsd * If you did not receive a copy of the license an...
gpl-3.0
detrout/pykolab
tests/unit/test-000-imports.py
554
import unittest class TestImports(unittest.TestCase): def test_pykolab(self): import pykolab def test_pykolab_xml(self): import pykolab.xml def test_pykolab_xml_attendee(self): from pykolab.xml import Attendee def test_pykolab_xml_contact(self): from pykolab.xml impor...
gpl-3.0
moravianlibrary/kramerius
common/src/main/java/cz/incad/kramerius/security/impl/http/GuiceSecurityHTTPModule.java
1268
/* * Copyright (C) 2010 Pavel Stastny * * 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...
gpl-3.0
alechenninger/lightblue-client
core/src/test/java/com/redhat/lightblue/client/response/TestLightblueResponse.java
1204
package com.redhat.lightblue.client.response; import java.io.IOException; import org.junit.Assert; import org.junit.Before; import org.junit.Test; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; public cla...
gpl-3.0
bjakja/Kainote
Thirdparty/wxWidgets/misc/gdb/print.py
3505
############################################################################### # Name: misc/gdb/print.py # Purpose: pretty-printers for wx data structures: this file is meant to # be sourced from gdb using "source -p" (or, better, autoloaded # in the future...) # Author: ...
gpl-3.0
mguentner/tomahawk
thirdparty/breakpad/common/linux/dump_symbols.cc
30192
// Copyright (c) 2010 Google Inc. // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must retain the above copyright // notice, this list of conditio...
gpl-3.0
albertz/love
src/modules/audio/null/Audio.cpp
2558
/** * Copyright (c) 2006-2014 LOVE Development Team * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * * Permission is granted to anyone to use this software for any purpose, * ...
gpl-3.0
nerdiabet/webSPELL
languages/ru/server.php
2192
<?php /* ########################################################################## # # # Version 4 / / / # # -----------__---/__---__------__----__---/---/- # # ...
gpl-3.0
monocasual/giada-www
src/forum/__install/update/new/phpbb/console/exception_subscriber.php
1722
<?php /** * * This file is part of the phpBB Forum Software package. * * @copyright (c) phpBB Limited <https://www.phpbb.com> * @license GNU General Public License, version 2 (GPL-2.0) * * For full copyright and license information, please see * the docs/CREDITS.txt file. * */ namespace phpbb\console; use p...
gpl-3.0
quozl/sugar
src/jarabe/model/keyboard.py
2226
# Copyright (C) 2006, Red Hat, Inc. # Copyright (C) 2009, One Laptop Per Child Association Inc # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your op...
gpl-3.0
SilverCory/votifier
src/main/java/com/vexsoftware/votifier/model/VotifierEvent.java
988
package com.vexsoftware.votifier.model; import org.bukkit.event.*; /** * {@code VotifierEvent} is a custom Bukkit event class that is sent * synchronously to CraftBukkit's main thread allowing other plugins to listener * for votes. * * @author frelling * */ public class VotifierEvent extends Even...
gpl-3.0
adithyaphilip/open-keychain
OpenKeychain/src/main/java/org/sufficientlysecure/keychain/util/ExportHelper.java
4913
/* * Copyright (C) 2014 Dominik Schürmann <dominik@dominikschuermann.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 version 3 of the License, or * (at your option) any later ...
gpl-3.0
Andy2K11/OpenBadgeTest
src/appsScripts/createBadgeFromJson.js
675
/* * Used when the user requests to create a badge without submitting the form * This is useful if no badges are to be issued but a new badge is to be created * * args BadgeData in JSON format * * return String with success or failure message */ function createBadgeFromJson(badgeData) { var badgeSheet = Spreadshee...
gpl-3.0
s3ql/main
src/s3ql/metadata.py
10453
''' metadata.py - this file is part of S3QL. Copyright © 2008 Nikolaus Rath <Nikolaus@rath.org> This work can be distributed under the terms of the GNU GPLv3. ''' from .logging import logging # Ensure use of custom logger class from .database import Connection from . import BUFSIZE from .common import pretty_print_s...
gpl-3.0
vmendez/DIRAC
DataManagementSystem/DB/DataIntegrityDB.py
10511
######################################################################## # $HeadURL$ ######################################################################## """ DataIntegrityDB class is a front-end to the Data Integrity Database. """ __RCSID__ = "$Id$" from DIRAC import gConfig, gLogger, S_OK from DIRAC.Core.Base.DB ...
gpl-3.0
globocom/smart-proxy
modules/dhcp_virsh/dhcp_virsh_plugin.rb
268
module ::Proxy::DHCP::Virsh class Plugin < ::Proxy::Provider plugin :dhcp_virsh, ::Proxy::VERSION requires :dhcp, ::Proxy::VERSION after_activation do require 'dhcp_virsh/dhcp_virsh_main' require 'dhcp_virsh/dependencies' end end end
gpl-3.0
AntonioNP/ajax-yield
src/main/java/net/daw/operaciones/LenguajeGetregisters.java
2519
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package net.daw.operaciones; import java.util.ArrayList; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import net.daw.dao.LenguajeDao...
gpl-3.0
tlaothong/mindsage2016
WebAppSolution/src/MindSageWeb/Controllers/APIUtil.cs
9294
using MindSageWeb.Repositories; using MindSageWeb.Repositories.Models; using System; using System.Collections.Generic; using System.Linq; namespace MindSageWeb.Controllers { public static class APIUtil { #region Methods public static bool CheckAccessPermissionToSelectedClassRoom(this IUserPro...
gpl-3.0
pkreissl/espresso
src/core/interactions.cpp
2640
/* * Copyright (C) 2010-2020 The ESPResSo project * Copyright (C) 2002,2003,2004,2005,2006,2007,2008,2009,2010 * Max-Planck-Institute for Polymer Research, Theory Group * * This file is part of ESPResSo. * * ESPResSo is free software: you can redistribute it and/or modify * it under the terms of the GNU Gener...
gpl-3.0
Gwynthell/FFDB
scripts/zones/The_Eldieme_Necropolis/npcs/Treasure_Coffer.lua
3922
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: Treasure Coffer -- @zone 195 ----------------------------------- package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"...
gpl-3.0
grueni75/GeoDiscoverer
Source/Platform/Target/Android/core/src/main/jni/proj-7.2.1/src/apps/projsync.cpp
21915
/****************************************************************************** * Project: PROJ * Purpose: Downloader tool * Author: Even Rouault, <even.rouault at spatialys.com> * ****************************************************************************** * Copyright (c) 2020, Even Rouault, <even.rouault ...
gpl-3.0
niclabs/Skandium
src/cl/niclabs/skandium/skeletons/SkeletonVisitor.java
1523
/* Skandium: A Java(TM) based parallel skeleton library. * * Copyright (C) 2009 NIC Labs, Universidad de Chile. * * Skandium 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...
gpl-3.0
akinyeleolubodun/lacecart
vendor/popphp/pop-form/AbstractForm.php
9424
<?php /** * Pop PHP Framework (http://www.popphp.org/) * * @link https://github.com/popphp/popphp-framework * @author Nick Sagona, III <dev@nolainteractive.com> * @copyright Copyright (c) 2009-2015 NOLA Interactive, LLC. (http://www.nolainteractive.com) * @license http://www.popphp.org/license N...
gpl-3.0
hqnghi88/gamaClone
msi.gama.core/src/msi/gama/metamodel/topology/continuous/ContinuousTopology.java
4024
/********************************************************************************************* * * 'ContinuousTopology.java, in plugin msi.gama.core, is part of the source code of the * GAMA modeling and simulation platform. * (c) 2007-2016 UMI 209 UMMISCO IRD/UPMC & Partners * * Visit https://github.com/gama-pla...
gpl-3.0
talib570/phproject
app/plugin.php
3132
<?php abstract class Plugin extends \Prefab { // Metadata container protected $_meta; /** * Initialize the plugin including any hooks */ abstract public function _load(); /** * Runs installation code required for plugin, if any is required * * This method is called if _installed() returns false */ ...
gpl-3.0
slutters/de.persosim.simulator
de.persosim.simulator/src/de/persosim/simulator/protocols/ca/CaOid.java
6623
package de.persosim.simulator.protocols.ca; import java.security.InvalidParameterException; import java.util.Arrays; import de.persosim.simulator.crypto.CryptoSupport; import de.persosim.simulator.crypto.CryptoSupportAes; import de.persosim.simulator.crypto.CryptoUtil; import de.persosim.simulator.protocols.Oid; impo...
gpl-3.0
jeanluct/trains
src/graph.cpp
29101
//Graph Moves #include <fstream> #ifdef VS2005 #define _CRT_SECURE_NO_DEPRECATE //For MS compiler #endif #include "trains/graph.h" namespace trains { using namespace std; turnlist::turnlist(uint s, uint d, uint o) : p(new turn[s]), next(NULL), size(s), delta(d), origin(o), MaxAssigned(-1) {}; turnlist::~turnlis...
gpl-3.0
cschoonover91/librenms
includes/discovery/toner.inc.php
3970
<?php $valid_toner = array(); if ($device['os_group'] == 'printer') { $oids = trim(snmp_walk($device, 'SNMPv2-SMI::mib-2.43.12.1.1.2.1 ', '-OsqnU')); if (!$oids) { $oids = trim(snmp_walk($device, 'SNMPv2-SMI::mib-2.43.11.1.1.2.1 ', '-OsqnU')); } d_echo($oids."\n"); if ($oids) { e...
gpl-3.0