code stringlengths 572 46.5k | repo_name stringlengths 7 62 | path stringlengths 6 247 | language stringclasses 7
values | license stringclasses 15
values | size int64 572 46.5k |
|---|---|---|---|---|---|
#line 2 "togo/game/resource/resource_handler/render_config.cpp"
/**
@copyright MIT license; see @ref index or the accompanying LICENSE file.
*/
#include <togo/game/config.hpp>
#include <togo/core/memory/memory.hpp>
#include <togo/core/serialization/serializer.hpp>
#include <togo/core/serialization/binary_serializer.hp... | komiga/togo | lib/game/src/togo/game/resource/resource_handler/render_config.cpp | C++ | mit | 1,934 |
/* Copyright (C) 2011-2014 Mattias Ekendahl. Used under MIT license, see full details at https://github.com/developedbyme/dbm/blob/master/LICENSE.txt */
dbm.registerClass("dbm.utils.native.object.ObjectFunctions", null, function(objectFunctions, staticFunctions, ClassReference) {
//console.log("dbm.utils.native.object... | developedbyme/dbm | javascripts/dbm/classes/dbm/utils/native/object/ObjectFunctions.js | JavaScript | mit | 2,194 |
import _s from 'underscore.string';
import bulkRequire from 'bulk-require';
import path from 'path';
import LeadfootCommand from 'leadfoot/Command';
let libPatched = false;
module.exports = function(config) {
if (libPatched) {
return;
}
libPatched = true;
// config values
LeadfootCommand.prototype.impl... | benjamine/todomvc-spec | leadfoot/patch.js | JavaScript | mit | 1,099 |
from __future__ import absolute_import
from fontTools.pens.areaPen import AreaPen
from fontTools.pens.boundsPen import ControlBoundsPen, BoundsPen
from fontTools.misc.arrayTools import unionRect
# ------
# Groups
# ------
def kerningSide1GroupsRepresentationFactory(groups):
return _gatherGroupsWithPrefix(groups, ... | typesupply/defcon | Lib/defcon/tools/representations.py | Python | mit | 2,595 |
package com.queueing.queue;
import java.util.List;
import org.apache.http.client.methods.HttpRequestBase;
import android.content.Context;
import android.content.Intent;
import com.queueing.dao.RequestObject;
import com.queueing.service.QueueHandlerService;
public class RequestQueue {
public void add(Context cont... | 100cod3r/OfflineNetworkClient | OffLine Queueing Handler/src/com/queueing/queue/RequestQueue.java | Java | mit | 1,013 |
// LIBS
var csp = require("js-csp");
// DOM Elements
var canvas = document.getElementById("canvas");
var resetButton = document.getElementById("reset");
var storeButton = document.getElementById("store");
var openButton = document.getElementById("open");
var colorPicker = document.getElementById("colorPicker");
var se... | pltod/draw-on-canvas-app | src/producers.js | JavaScript | mit | 979 |
/*
* oxTrust is available under the MIT License (2008). See http://opensource.org/licenses/MIT for full text.
*
* Copyright (c) 2014, Gluu
*/
package org.gluu.oxtrust.model;
import java.util.HashMap;
import java.util.Map;
import org.gluu.site.ldap.persistence.annotation.LdapEnum;
/**
* Metadata source type
* ... | madumlao/oxTrust | model/src/main/java/org/gluu/oxtrust/model/GluuMetadataSourceType.java | Java | mit | 1,401 |
package gluu.scim.client.util;
import gluu.scim.client.model.CreationResult;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.xdi.oxauth.client.RegisterClient;
import org.xdi.oxauth.client.RegisterResponse;
import org.xdi.oxauth.model.register.ApplicationType;
import org.xdi.oxauth.model.util.String... | rlhatcher/SCIM-Client | src/main/java/gluu/scim/client/util/OxAuthClientCreator.java | Java | mit | 1,412 |
package de.tu_darmstadt.sport.fvf.ui.dialogs;
import org.eclipse.core.databinding.DataBindingContext;
import org.eclipse.core.databinding.beans.BeansObservables;
import org.eclipse.core.databinding.observable.value.IObservableValue;
import org.eclipse.jface.databinding.swt.SWTObservables;
import org.eclipse.jface.dial... | tudifs/fvf | software/de.tu_darmstadt.sport.fvf/src/de/tu_darmstadt/sport/fvf/ui/dialogs/PersonDialog.java | Java | mit | 3,830 |
package org.opengroupware.pubexport.documents;
import org.getobjects.appserver.core.WOResourceManager;
import org.opengroupware.pubexport.OGoPubPageComponent;
import org.opengroupware.pubexport.parsers.OGoPubHTMLParser;
@SuppressWarnings("rawtypes")
public class OGoPubHTMLDocument extends OGoPubComponentDocument {
... | AlwaysRightInstitute/StaticCMS | org/opengroupware/pubexport/documents/OGoPubHTMLDocument.java | Java | mit | 731 |
package net.nemerosa.ontrack.extension.jenkins;
import net.nemerosa.ontrack.extension.support.AbstractExtensionController;
import net.nemerosa.ontrack.model.Ack;
import net.nemerosa.ontrack.model.extension.ExtensionFeatureDescription;
import net.nemerosa.ontrack.model.form.Form;
import net.nemerosa.ontrack.model.secur... | flesire/ontrack | ontrack-extension-jenkins/src/main/java/net/nemerosa/ontrack/extension/jenkins/JenkinsController.java | Java | mit | 5,044 |
/**
Copyright (c) 2007 Bill Orcutt (http://lilyapp.org, http://publicbeta.cx)
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,... | billorcutt/lily | lily/lily/chrome/content/externals/iframe.js | JavaScript | mit | 4,504 |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... | loujiayu/vs | src/vs/platform/configuration/common/configurationRegistry.ts | TypeScript | mit | 7,053 |
/**
* The MIT License (MIT)
*
* Copyright (c) 2014-2020 Mickael Jeanroy
*
* 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
... | mjeanroy/springmvc-mustache | springmvc-mustache/src/test/java/com/github/mjeanroy/springmvc/view/mustache/configuration/mustachejava/MustacheJavaConfigurationTest.java | Java | mit | 5,789 |
package net.jiyuu_ni.seiidex.dto.json;
import java.util.Comparator;
import java.util.List;
import java.util.Map;
import java.util.TreeMap;
import javax.persistence.EntityManager;
import javax.persistence.Query;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.fasterxml.jackson.core.JsonProcessing... | seii/seii-dex-json | src/main/java/net/jiyuu_ni/seiidex/dto/json/Gen4Pokemon.java | Java | mit | 5,795 |
package net.collaud.fablab.api.rest.v1;
import java.util.List;
import javax.annotation.PostConstruct;
import net.collaud.fablab.api.annotation.JavascriptAPIConstant;
import net.collaud.fablab.api.data.TicketEO;
import net.collaud.fablab.api.rest.v1.base.ReadWriteRestWebservice;
import net.collaud.fablab.api.service.Ti... | fabienvuilleumier/fb | src/main/java/net/collaud/fablab/api/rest/v1/TicketWS.java | Java | mit | 1,269 |
import subprocess,os,random,glob,sys
import download, archive
def get_image_path(user_name):
#get all image list
image_list = glob.glob("/home/"+user_name+"/Pictures/Wallpaper/bing/*.jpg")
if len(image_list)==0:
return str(None)
return random.choice(image_list)
def change_wallpaper(user_name,lucky_choice):
#if... | faizal3199/BingImageFetcher | mainscript.py | Python | mit | 1,701 |
package com.fhr.ioserver.services;
import javax.script.ScriptEngine;
import javax.script.ScriptEngineManager;
import javax.script.ScriptException;
/**
* 基于javax.script包实现js的调用
* @author fhr
* @since 2017/08/24
*/
public class JScriptCalculatorServiceImpl implements ICalculatorService {
private static final String... | FanHuaRan/interview.algorithm | java/IOServer/src/com/fhr/ioserver/services/JScriptCalculatorServiceImpl.java | Java | mit | 1,056 |
//-----------------------------------------------
//
// This file is part of the Siv3D Engine.
//
// Copyright (c) 2008-2022 Ryo Suzuki
// Copyright (c) 2016-2022 OpenSiv3D Project
//
// Licensed under the MIT License.
//
//-----------------------------------------------
# include <Siv3D/PixelShaderAsset.hpp>
# inclu... | Siv3D/OpenSiv3D | Siv3D/src/Siv3D/PixelShaderAsset/SivPixelShaderAsset.cpp | C++ | mit | 7,177 |
package com.ocdsoft.bacta.swg.server.game.guild;
import com.google.inject.Inject;
import com.google.inject.Singleton;
import com.ocdsoft.bacta.swg.server.game.object.tangible.creature.CreatureObject;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* Created by crush on 5/27/2016.
*/
@Singleton
public c... | bacta/swg | game-server/src/main/java/com/ocdsoft/bacta/swg/server/game/guild/GuildService.java | Java | mit | 893 |
package asp.citic.ptframework.plugin.buildVersion;
import android.content.Intent;
import org.apache.cordova.CallbackContext;
import org.apache.cordova.CordovaPlugin;
import org.json.JSONArray;
import org.json.JSONException;
import asp.citic.ptframework.BuildConfig;
import asp.citic.ptframework.common.constants.PTCon... | pastryTeam/pastry-plugin-buildVersion | src/android/VersionPlugin.java | Java | mit | 984 |
package com.temple.util.process;
import java.io.Serializable;
import java.util.Date;
import javax.json.Json;
import javax.json.JsonArrayBuilder;
import javax.json.JsonObjectBuilder;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import com.temple.util.json.AbstractOutputOnlyHandler;
@XmlJavaTypeAdapt... | florent-pallaver/temple | temple/temple-common/src/main/java/com/temple/util/process/Progress.java | Java | mit | 2,509 |
#include "ScriptingManager.h"
#include "GameWorld.h"
#include "GameObject.h"
#include "Logger.h"
#include "ConfigurationManager.h"
#include "RenderManager.h"
#include "Shader.h"
#include "ShaderProgram.h"
#include "Model.h"
#include <string>
using namespace std;
ScriptingManager* ScriptingManager::_instance = NULL;
... | mweschler/SPEng | src/Eng-Gameplay/ScriptingManager.cpp | C++ | mit | 13,842 |
package iso20022
// Amount of money due to a party as compensation for a service.
type Commission23 struct {
// Service for which the commission is asked or paid.
Type *CommissionType3Choice `xml:"Tp"`
// Basis upon which a commission is charged, for example, flat fee.
Basis *CommissionBasis1Choice `xml:"Bsis,om... | fgrid/iso20022 | Commission23.go | GO | mit | 1,747 |
package org.crossfit.app.web.rest.api;
import java.net.URI;
import java.net.URISyntaxException;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Optional;
import javax.inject.Inject;
import javax.validation.Valid;
import org.crossfit.app.domain.Membership;
import org.cro... | lgangloff/crossfit-2.0 | src/main/java/org/crossfit/app/web/rest/api/SubscriptionResource.java | Java | mit | 6,323 |
package com.jtbdevelopment.TwistedHangman.game.factory.gamevalidators;
import com.jtbdevelopment.TwistedHangman.game.state.GameFeature;
import com.jtbdevelopment.TwistedHangman.game.state.THGame;
import com.jtbdevelopment.games.factory.GameValidator;
import java.util.Set;
import java.util.stream.Collectors;
import org... | jtbdevelopment/TwistedHangman | game/src/main/java/com/jtbdevelopment/TwistedHangman/game/factory/gamevalidators/ValidFeatureSetGameValidator.java | Java | mit | 1,273 |
dojo.provide("plugins.core.Agua.Cluster");
/* SUMMARY: THIS CLASS IS INHERITED BY Agua.js AND CONTAINS
CLUSTER METHODS
*/
dojo.declare( "plugins.core.Agua.Cluster", [ ], {
/////}}}
getClusterObject : function (clusterName) {
console.log("Agua.Cluster.getClusterObject plugins.core.Data.getClusterObject(cl... | agua/aguadev | html/plugins/core/Agua/Cluster.js | JavaScript | mit | 9,876 |
package org.colorcoding.ibas.bobas.test.logic;
import org.colorcoding.ibas.bobas.common.Criteria;
import org.colorcoding.ibas.bobas.common.ICondition;
import org.colorcoding.ibas.bobas.common.ICriteria;
import org.colorcoding.ibas.bobas.common.IOperationResult;
import org.colorcoding.ibas.bobas.logic.BusinessLogic;
im... | color-coding/ibas-framework | bobas.businessobjectscommon/src/test/java/org/colorcoding/ibas/bobas/test/logic/MaterialsJournalContractLogic.java | Java | mit | 3,339 |
#include "Modules/Graphics/Lighting/Reflector/ReflectorSync_System.h"
#include "Modules/Graphics/Lighting/Reflector/ReflectorData.h"
#include "Modules/ECS/component_types.h"
ReflectorSync_System::ReflectorSync_System(ReflectorData& frameData) :
m_frameData(frameData)
{
addComponentType(Reflector_Component::Runtime_... | Yattabyte/Delta | src/Modules/Graphics/Lighting/Reflector/ReflectorSync_System.cpp | C++ | mit | 3,045 |
/*
* oxTrust is available under the MIT License (2008). See http://opensource.org/licenses/MIT for full text.
*
* Copyright (c) 2014, Gluu
*/
package org.gluu.oxtrust.model.scim;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.... | diedertimmers/oxTrust | server/src/main/java/org/gluu/oxtrust/model/scim/ScimBulkResponse.java | Java | mit | 1,327 |
'use strict';
var PIXI = require('pixi');
var BaseShape = require('./BaseShape');
module.exports = Importer;
function Importer(shapeProperties, fileUrl) {
// Call BaseShape constructor to instantiate BaseShape's properties
BaseShape.call(this, shapeProperties);
this.url = fileUrl ? fileUrl : shapeProperties.url... | OpenSketch-Application/OpenSketch | src/sections/Whiteboard/util/shapes/Import.js | JavaScript | mit | 7,387 |
package logging
import (
"context"
"net/http"
kitlog "github.com/go-kit/kit/log"
)
type logctxKeyT string
// LogCTXKey is the typed context key
var LogCTXKey logctxKeyT = "loggingContextKey"
// NewContext helps constructing and wrapping a logger into a context
func NewContext(ctx context.Context, log Interface)... | cryptix/go | logging/context.go | GO | mit | 1,064 |
package com.bluedot.efactura.model;
import java.util.Date;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;
import javax.persistence.FetchType;
i... | nicoribeiro/java_efactura_uy | app/com/bluedot/efactura/model/SobreEmitido.java | Java | mit | 4,727 |
/*
The MIT License (MIT)
Copyright (c) 2015 ProGolden Technology Solutions
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, co... | progolden/vraptor-boilerplate | vraptor-boilerplate-core/src/main/java/br/com/caelum/vraptor/boilerplate/bean/ListResponse.java | Java | mit | 2,728 |
from pandas import DataFrame
from psychopy import data
#Im supposed to use the built-in logging function, should be able to get everything out of that
stimList=[]
stimList.append({'location': 3, 'startLeft':False, 'upDown': 1, 'tilt': -2.0, 'jitter': .65})
stimList.append({'location': 3, 'startLeft':False, 'upDown': 1... | alexholcombe/spatiotopic-motion | dataframesTest.py | Python | mit | 2,144 |
package com.codingzombies.easytest.support.ui;
import static com.codingzombies.easytest.support.ui.Selectors.$;
import static com.codingzombies.easytest.support.ui.Selectors.$by;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.ui.ExpectedConditions;
import com.codingzombies.easytest.EasyTes... | codezombies/easytest | src/main/java/com/codingzombies/easytest/support/ui/ActionablePage.java | Java | mit | 2,030 |
/*-- $Copyright (c) 2014 Christoffer Fink$
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, distri... | finkn/InPUTspec | main/src/net/finkn/inputspec/v050/LegalConfigTest.java | Java | mit | 1,690 |
package uk.ac.imperial.doc.masspa.gui.components.topologies.gen;
import java.text.NumberFormat;
import javax.swing.JFormattedTextField;
import javax.swing.JLabel;
import uk.ac.imperial.doc.masspa.gui.util.Constants;
import uk.ac.imperial.doc.masspa.language.Labels;
/**
* Super class for all radial
* topology gener... | anton23/gpanalyser | src-masspa/uk/ac/imperial/doc/masspa/gui/components/topologies/gen/Radial.java | Java | mit | 1,022 |
/**
* Copyright (c) 2016 NumberFour AG.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* NumberFo... | lbeurerkellner/n4js | plugins/org.eclipse.n4js.jsdoc2spec/src/org/eclipse/n4js/jsdoc2spec/adoc/SpecModuleFile.java | Java | epl-1.0 | 10,695 |
/*
* Copyright (c) 2016, 2017 Ericsson India Global Services Pvt Ltd. and others. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl... | opendaylight/netvirt | elanmanager/impl/src/main/java/org/opendaylight/netvirt/elan/l2gw/ha/commands/TunnelCmd.java | Java | epl-1.0 | 4,857 |
//-----BEGIN DISCLAIMER-----
/*******************************************************************************
* Copyright (c) 2010 JCrypTool Team and Contributors
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which acc... | ChristophSonnberger/crypto | org.jcryptool.analysis.transpositionanalysis/src/org/jcryptool/analysis/transpositionanalysis/ui/wizards/TranspTextWizardPage.java | Java | epl-1.0 | 32,984 |
package hu.eltesoft.modelexecution.m2m.logic.translators.base;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
import java.util.function.Function;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.ESt... | ELTE-Soft/xUML-RT-Executor | plugins/hu.eltesoft.modelexecution.m2m.logic/src/hu/eltesoft/modelexecution/m2m/logic/translators/base/CustomSortedFeatureNode.java | Java | epl-1.0 | 1,348 |
/**
* Copyright (c) 2013 committers of YAKINDU and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
* Contributor... | Yakindu/statecharts | test-plugins/org.yakindu.sct.refactoring.tests/src/org/yakindu/sct/refactoring/refactor/impl/RenameRefactoringTest.java | Java | epl-1.0 | 4,618 |
/*
* Sonatype Nexus (TM) Open Source Version
* Copyright (c) 2008-present Sonatype, Inc.
* All rights reserved. Includes the third-party code listed at http://links.sonatype.com/products/nexus/oss/attributions.
*
* This program and the accompanying materials are made available under the terms of the Eclipse Public... | scmod/nexus-public | testsuite/legacy-testsuite/src/test/java/org/sonatype/nexus/testsuite/feed/nexus779/Nexus779RssFeedFilteringIT.java | Java | epl-1.0 | 6,803 |
/*
* Sonatype Nexus (TM) Open Source Version
* Copyright (c) 2008-present Sonatype, Inc.
* All rights reserved. Includes the third-party code listed at http://links.sonatype.com/products/nexus/oss/attributions.
*
* This program and the accompanying materials are made available under the terms of the Eclipse Public... | scmod/nexus-public | plugins/osgi/nexus-obr-client/src/main/java/org/sonatype/nexus/repository/obr/client/internal/JerseyObrVirtualRepositoryFactory.java | Java | epl-1.0 | 2,335 |
package uk.org.sucu.tatupload2.activity;
import android.accounts.AccountManager;
import android.annotation.SuppressLint;
import android.app.AlertDialog;
import android.app.ProgressDialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppC... | ACLay/TATupload | app/src/main/java/uk/org/sucu/tatupload2/activity/MainActivity.java | Java | gpl-2.0 | 11,709 |
/*
This file is part of the OpenMetix Application.
Copyright (C) 2004 lutix GmbH
Copyright (C) 2005-2007 BueroByte GbR
Copyright (C) 2008 Iritgo Technologies
*/
package de.iritgo.openmetix.exporter.command;
import de.iritgo.openmetix.core.command.Command;
public class CreateReportInstrument
exte... | grappendorf/openmetix | plugin/metix-exporter/src/java/de/iritgo/openmetix/exporter/command/CreateReportInstrument.java | Java | gpl-2.0 | 679 |
package com.duvallsoftware.cardiotracker.activities;
/*
* Copyright (C) 2013 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... | nelsonduvall/cardiotracker | src/com/duvallsoftware/cardiotracker/activities/UserSelectActivity.java | Java | gpl-2.0 | 7,408 |
package org.jalgo.module.bfsdfs.gui.event;
import java.awt.event.ActionEvent;
import javax.swing.AbstractAction;
import javax.swing.ImageIcon;
import org.jalgo.main.util.Messages;
import org.jalgo.module.bfsdfs.gui.GUIController;
/**
* This class represents an action to redo a design step (e.g. add a node).
*
*... | jurkov/j-algo-mod | src/org/jalgo/module/bfsdfs/gui/event/RedoAction.java | Java | gpl-2.0 | 915 |
#ifndef _NETWORK_H_
#define _NETWORK_H_
#include "slaves.h"
#include "bytestream.h"
#include "bs_oscar.h"
#include "ystring.h"
#include "message.h"
int32_t initNetwork(void);
void sendUpdatePrivacy(uint8_t setting);
int32_t YSM_LoginSequence(uin_t uin, int8_t *password);
void YSM_Init_LoginA(uin_t uin, uint8_t *pa... | unterwulf/ysmd | include/network.h | C | gpl-2.0 | 2,582 |
/* Copyright (c) 2006
Colin Dewey (University of Wisconsin-Madison)
cdewey@biostat.wisc.edu
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(a... | hyphaltip/cndtools | include/bio/formats/agp/OutputStream.hh | C++ | gpl-2.0 | 1,322 |
/*
* Copyright (C) Bigly Software, Inc, All Rights Reserved.
*
* 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 2 of the License, or
* (at your option) any later version.
*... | BiglySoftware/BiglyBT | uis/src/com/biglybt/ui/swt/columns/alltrackers/ColumnAllTrackersResponseTime.java | Java | gpl-2.0 | 1,940 |
/** BitAndFunction class implementation.
@file BitAndFunction.cpp
@author Hugues Romain
@date 2010
This file belongs to the SYNTHESE project (public transportation specialized software)
Copyright (C) 2002 Hugues Romain - RCSmobility <contact@rcsmobility.com>
This program is free software; you can redistribute ... | Open-Transport/synthese | server/src/11_cms/BitAndFunction.cpp | C++ | gpl-2.0 | 2,286 |
/* Copyright_License {
XCSoar Glide Computer - http://www.xcsoar.org/
Copyright (C) 2000-2021 The XCSoar Project
A detailed list of copyright holders can be found in the file "AUTHORS".
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
... | sandrinr/XCSoar | src/Engine/Airspace/AirspaceWarningConfig.cpp | C++ | gpl-2.0 | 1,322 |
/*
Copyright_License {
XCSoar Glide Computer - http://www.xcsoar.org/
Copyright (C) 2000-2021 The XCSoar Project
A detailed list of copyright holders can be found in the file "AUTHORS".
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
... | sandrinr/XCSoar | test/src/LoadTopography.cpp | C++ | gpl-2.0 | 2,335 |
package tera.gameserver.model.skillengine.classes;
import tera.gameserver.model.Character;
import tera.gameserver.network.serverpackets.SkillStart;
import tera.gameserver.templates.SkillTemplate;
/**
* Модель комплексного удара из 2х фаз.
*
* @author Ronn
*/
public class ComplexStrike extends Strike
{
private in... | ChaosPaladin/TERA_atlascore | java/game/tera/gameserver/model/skillengine/classes/ComplexStrike.java | Java | gpl-2.0 | 998 |
/* This file is part of the KDE project
Copyright (C) 2006-2007 Alfredo Beaumont Sainz <alfredo.beaumont@gmail.com>
2007 Martin Pfeiffer <hubipete@gmx.net>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License... | JeremiasE/KFormula | kformula/flake/NumberElement.cpp | C++ | gpl-2.0 | 1,295 |
package cc.co.techzealous.sreenfreezer;
import android.app.Activity;
import android.content.Intent;
import android.content.SharedPreferences;
import android.database.Cursor;
import android.net.Uri;
import android.os.Bundle;
import android.preference.PreferenceManager;
import android.provider.MediaStore;
import android... | ektodorov/ScreenFreezer_Android | ScreenFreezer/src/cc/co/techzealous/sreenfreezer/SFDialogForegroundActivity.java | Java | gpl-2.0 | 3,645 |
/**
* OWASP Benchmark Project v1.1
*
* This file is part of the Open Web Application Security Project (OWASP)
* Benchmark Project. For details, please see
* <a href="https://www.owasp.org/index.php/Benchmark">https://www.owasp.org/index.php/Benchmark</a>.
*
* The Benchmark is free software: you can redistribute it and/... | iammyr/Benchmark | src/main/java/org/owasp/benchmark/testcode/BenchmarkTest14403.java | Java | gpl-2.0 | 3,198 |
/*
* Freeplane - mind map editor
* Copyright (C) 2008 Dimitry Polivaev
*
* This file author is Dimitry Polivaev
*
* 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 2 o... | fnatter/freeplane-debian-dev | freeplane/src/main/java/org/freeplane/features/attribute/AttributeController.java | Java | gpl-2.0 | 11,065 |
/*
* This file is part of jfxTorrent, an open-source BitTorrent client written in JavaFX.
* Copyright (C) 2015 Vedran Matic
*
* 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 2 of ... | veroslav/jfx-torrent | TorrentFX/src/main/java/org/matic/torrent/gui/window/preferences/UiExtrasContentPane.java | Java | gpl-2.0 | 4,612 |
package digitalsalzburg.opendata;
import java.io.IOException;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.Date;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Set;
im... | FerdinandBrunauer/Diplomarbeit | Programmierung/OpenDataUtilities/src/digitalsalzburg/opendata/OpenDataUtilities.java | Java | gpl-2.0 | 7,437 |
/*
* Copyright (C) 2016 Laurent CLOUET
* Author Laurent CLOUET <laurent.clouet@nopnop.net>
*
* 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 2
* of the License.
*
* This program... | laurent-clouet/sheepit-client | src/com/sheepit/client/Stats.java | Java | gpl-2.0 | 2,204 |
package gppmds.wikilegis.view;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import java.util.Properties;
import javax.mail.PasswordAuthentication;
import javax.mail.Session;
import gppmds.wikilegis.... | izacristina/2016.2-WikiLegis | app/src/main/java/gppmds/wikilegis/view/ReportActivity.java | Java | gpl-3.0 | 1,534 |
/*
Unix SMB/CIFS implementation.
Database interface wrapper around ctdbd
Copyright (C) Volker Lendecke 2007-2009
Copyright (C) Michael Adam 2009
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 Softw... | wimberosa/samba | source3/lib/dbwrap/dbwrap_ctdb.h | C | gpl-3.0 | 1,074 |
/*
* This file is part of Light Engine
*
* Copyright (C) 2016-2019 Lux Vacuos
*
* 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) an... | Lux-Vacuos/LightEngine | lightengine-client/src/main/java/net/luxvacuos/lightengine/client/ui/v2/Dropdown.java | Java | gpl-3.0 | 4,542 |
/*
This file is part of GameGears.
GameGears 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.
GameGears is distribut... | kyuu/gamegears | source/developer/StandardToolBar.hpp | C++ | gpl-3.0 | 1,010 |
/*
* (C) Copyright 2016
* Urs Fässler, bbv Software Services, http://bbv.ch
*
* SPDX-License-Identifier: GPL-3.0+
*/
#include "StackFactory.h"
#include "application/Factory.h"
#include "session/Factory.h"
#include "presentation/Factory.h"
StackFactory::StackFactory() :
applicationFactory{application::factory(... | bbvch/streetlightd | source/protocolstack/StackFactory.cpp | C++ | gpl-3.0 | 1,780 |
/*
* Copyright (c) 2018, Psiphon Inc.
* All rights reserved.
*
* 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.
*... | mirokuratczyk/psiphon-tunnel-core | psiphon/dialParameters.go | GO | gpl-3.0 | 37,439 |
/**
* This file is part of Basic Service.
*
* Basic Service 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.
*
* Basic... | thezuck/basic-service | src/main/java/com/basicservice/domain/User.java | Java | gpl-3.0 | 2,816 |
package de.tum.in.tumcampusapp.component.ui.cafeteria.widget;
import android.app.PendingIntent;
import android.appwidget.AppWidgetManager;
import android.appwidget.AppWidgetProvider;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import android.widget.RemoteViews;
import org.jo... | foreverigor/TumCampusApp | app/src/main/java/de/tum/in/tumcampusapp/component/ui/cafeteria/widget/MensaWidget.java | Java | gpl-3.0 | 3,172 |
/*
* Copyright (C) 2013 EMBL - European Bioinformatics Institute
*
* All rights reserved. This file is part of the MassCascade feature for KNIME.
*
* The feature 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 ... | tomas-pluskal/masscascadeknime | src/uk/ac/ebi/masscascade/knime/defaults/DefaultView.java | Java | gpl-3.0 | 8,989 |
/*
* Copyright (C) 2020 Graylog, Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the Server Side Public License, version 1,
* as published by MongoDB, Inc.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; withou... | Graylog2/graylog2-server | graylog2-server/src/main/java/org/graylog/events/contentpack/entities/LegacyAlarmCallbackEventNotificationConfigEntity.java | Java | gpl-3.0 | 2,999 |
/*
* Copyright 2002-2013 the original author or authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | simonpatrick/stepbystep-java | basicjava/src/test/java/com/hedwig/stepbystep/javatutorial/dbtest/Person.java | Java | gpl-3.0 | 1,528 |
/*****************************************************************
* 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/DeliverableUserPartnershipPersonManagerImpl.java | Java | gpl-3.0 | 2,877 |
package com.ezcode.jsnmpwalker.command;
/**
* Copyright(c) 2012-2013
* @author tmoskun, ezcode (Zlatco)
* This Software is distributed under GPLv3 license
*/
import java.util.ArrayList;
import java.util.Collection;
import java.util.Enumeration;
import java.util.Hashtable;
import java.util.List;
import java.util.M... | tmoskun/JSNMPWalker | src/com/ezcode/jsnmpwalker/command/RemoveCommand.java | Java | gpl-3.0 | 2,878 |
/* layer.h
Copyright (C) 2005-2016 Mark Tyler and Dmitry Groshev
This file is part of mtPaint.
mtPaint 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... | wjaguar/mtPaint | src/layer.h | C | gpl-3.0 | 3,287 |
package com.onebeartoe.productivity.income.calculator;
import com.onebeartoe.productivity.income.calculator.rate.to.salary.RateToSalaryPage;
import com.onebeartoe.productivity.income.calculator.salary.to.rate.SalaryToRatePage;
import org.onebeartoe.web.automation.UnitsOfWork;
import org.openqa.selenium.remote.RemoteW... | onebeartoe/building-java-applications | web/automation/src/test/java/com/onebeartoe/productivity/income/calculator/IncomeCalculatorNavigationUow.java | Java | gpl-3.0 | 975 |
// Copyright 2017-2021, University of Colorado Boulder
/**
* Manages descriptions for the entire simulation Balloons and Static Electricity. Has functions that put together
* strings for descriptions that are used throughout several view types.
*
* @author Jesse Greenberg
*/
import Range from '../../../../../do... | phetsims/balloons-and-static-electricity | js/balloons-and-static-electricity/view/describers/BASEDescriber.js | JavaScript | gpl-3.0 | 16,992 |
package com.snail.webgame.game.pvp.competition.end;
import java.util.ArrayList;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.snail.webgame.engine.component.room.protocol.info.IRoomBody;
import com.snail.webgame.engine.component.room.protocol.info.Message;
import com.snai... | bozhbo12/demo-spring-server | spring-game/src/main/java/com/spring/game/game/pvp/competition/end/ComFightEndProcessor.java | Java | gpl-3.0 | 6,563 |
/*
* Copyright (c) 2006-2016 Marvisan Pty. Ltd. All rights reserved.
* Use is subject to license terms.
*/
package net.hades.fix.engine.process.session;
import java.net.Socket;
import java.util.logging.Level;
import java.util.logging.Logger;
import net.hades.fix.engine.HadesInstance;
import net.had... | marvisan/HadesFIX | Engine/src/main/java/net/hades/fix/engine/process/session/ServerSessionCoordinator.java | Java | gpl-3.0 | 4,202 |
/*
* Copyright (C) 2004 The Concord Consortium, Inc.,
* 10 Concord Crossing, Concord, MA 01742
*
* Web Site: http://www.concord.org
* Email: info@concord.org
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as publi... | lazyzero/kkMulticopterFlashTool | src/org/concord/swing/MouseInterceptPanel.java | Java | gpl-3.0 | 4,321 |
/////////////////////////////////////////////////////////////////////////////
//
// Project ProjectForge Community Edition
// www.projectforge.org
//
// Copyright (C) 2001-2014 Kai Reinhard (k.reinhard@micromata.de)
//
// ProjectForge is dual-licensed.
//
// This community edition is free software; you can redi... | FlowsenAusMonotown/projectforge | projectforge-business/src/test/java/org/projectforge/multitenancy/MultiTenancyTestFork.java | Java | gpl-3.0 | 3,926 |
# coding: utf8
from System.Collections.Generic import List
from Autodesk.Revit.DB import Document, Categories, BuiltInCategory, Category, GraphicsStyleType, Color, \
FilteredElementCollector, LinePatternElement, LinePattern, ElementId, LinePatternSegment, LinePatternSegmentType, \
Element
from Autodesk.Revit.DB... | CyrilWaechter/pyRevitMEP | pyRevitMEP.tab/Lab.panel/Lab.pulldown/MEPLegend.pushbutton/script.py | Python | gpl-3.0 | 2,967 |
#pragma once
#include "types.h"
#include "globals.h"
#include "kernel.h"
#include "utils.h"
typedef struct TracedService
{
const char *name;
KAutoObject **sessions;
u32 maxSessions;
KObjectMutex mutex;
} TracedService;
typedef struct LangemuAttributes
{
u64 titleId;
u8 region, language;
} Lan... | Mrrraou/Luma3DS-Rosalina | rosalina/kernel_extension/include/ipc.h | C | gpl-3.0 | 1,857 |
/*
Tyrex - the versatile file decoder.
Copyright (C) 2014 - 2015 G. Endignoux
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 opt... | gendx/tyrex | src/data/image.cpp | C++ | gpl-3.0 | 1,419 |
/**
Copyright 2012 John Cummens (aka Shadowmage, Shadowmage4513)
This software is distributed under the terms of the GNU General Public License.
Please see COPYING for precise license information.
This file is part of Ancient Warfare.
Ancient Warfare is free software: you can redistribute it and... | shadowmage45/AncientWarfare | AncientWarfare/src/shadowmage/ancient_warfare/common/research/general/ResearchEfficiencyWood.java | Java | gpl-3.0 | 2,215 |
/////////////////////////////////////////////////////////////////////////////
//
// Project ProjectForge Community Edition
// www.projectforge.org
//
// Copyright (C) 2001-2014 Kai Reinhard (k.reinhard@micromata.de)
//
// ProjectForge is dual-licensed.
//
// This community edition is free software; you can redi... | FlowsenAusMonotown/projectforge | projectforge-wicket/src/main/java/org/projectforge/web/orga/PosteingangListForm.java | Java | gpl-3.0 | 3,882 |
package nc.noumea.mairie.pdc.entity;
/*
* #%L
* Logiciel de Gestion des Permis de Construire de la Ville de Nouméa
* %%
* Copyright (C) 2013 - 2016 Mairie de Nouméa, Nouvelle-Calédonie
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public Lice... | DSI-Ville-Noumea/pdc | src/main/java/nc/noumea/mairie/pdc/entity/LigneTca.java | Java | gpl-3.0 | 4,140 |
/*
* Decompiled with CFR 0_114.
*/
package com.stimulsoft.base.system.type;
import com.stimulsoft.base.system.type.ParameterType;
import com.stimulsoft.base.system.type.StiSystemBoolean;
import com.stimulsoft.base.system.type.StiSystemByte;
import com.stimulsoft.base.system.type.StiSystemChar;
import com.stimulsoft.... | talek69/curso | stimulsoft/src/com/stimulsoft/base/system/type/StiListTypeEnum.java | Java | gpl-3.0 | 3,938 |
#!/bin/env python2.7
"""
For each line in the Shakespeare text,
CREATE a corresponding record in the database.
Each record will include the name of the character speaking,
the (absolute) line number of the phrase and the phrase itself,
trimmed of any leading or following spaces
"""
import sqlite3 # provides python wi... | mnr/DatabaseClinic-SQLite | Ch05/CREATE_shakespeare.py | Python | gpl-3.0 | 2,041 |
/* Copyright (c) 2013-2016 Jeffrey Pfau
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include <mgba/debugger/debugger.h>
#include <mgba/core/core.h>
#inclu... | fr500/mgba | src/debugger/debugger.c | C | mpl-2.0 | 3,538 |
package com.slalom.aws.avs.sutr.actions;
import com.intellij.openapi.actionSystem.AnActionEvent;
import com.intellij.openapi.ide.CopyPasteManager;
import com.intellij.openapi.project.Project;
import com.slalom.aws.avs.sutr.actions.exceptions.SutrGeneratorException;
import com.slalom.aws.avs.sutr.psi.SutrFile;
import ... | SlalomConsulting/sutr-io | src/com/slalom/aws/avs/sutr/actions/CopyUtterances.java | Java | mpl-2.0 | 1,124 |
/*
This file is part of eID Suite.
Copyright (C) 2014-2015 Egelke BVBA
eID Suite 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 of the License, or
(at your option)... | egelke/eIDSuite | app/src/main/java/net/egelke/android/eid/view/IdAndCardFragment.java | Java | agpl-3.0 | 1,302 |
package org.cmdbuild.bim.mapper.xml;
import java.io.File;
import java.util.List;
import org.cmdbuild.bim.mapper.Parser;
import org.cmdbuild.bim.model.AttributeDefinition;
import org.cmdbuild.bim.model.Catalog;
import org.cmdbuild.bim.model.CatalogFactory;
import org.cmdbuild.bim.model.EntityDefinition;
import org.cmd... | jzinedine/CMDBuild | bim/core/src/main/java/org/cmdbuild/bim/mapper/xml/XmlImportCatalogFactory.java | Java | agpl-3.0 | 6,710 |
/**
* Copyright (C) 2001-2019 by RapidMiner and the contributors
*
* Complete list of developers available at our web site:
*
* http://rapidminer.com
*
* This program is free software: you can redistribute it and/or modify it under the terms of the
* GNU Affero General Public License as published by ... | aborg0/rapidminer-studio | src/main/java/com/rapidminer/repository/local/SimpleProcessEntry.java | Java | agpl-3.0 | 4,039 |
// CloudCoder - a web-based pedagogical programming environment
// Copyright (C) 2011-2012, Jaime Spacco <jspacco@knox.edu>
// Copyright (C) 2011-2012, David H. Hovemeyer <david.hovemeyer@gmail.com>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero Genera... | ndrppnc/CloudCoder | CloudCoder/src/org/cloudcoder/app/client/view/TestResultListView.java | Java | agpl-3.0 | 6,809 |
package com.imcode.validators;
import com.imcode.entities.Role;
import com.imcode.entities.User;
import com.imcode.services.RoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.validation.Errors;
import org.springframew... | imCodePartnerAB/iVIS | ivis-server/src/main/java/com/imcode/validators/UserValidator.java | Java | agpl-3.0 | 1,304 |
/**
* Axelor Business Solutions
*
* Copyright (C) 2005-2015 Axelor (<http://axelor.com>).
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* This program is distr... | marioestradarosa/axelor-development-kit | axelor-core/src/test/java/com/axelor/meta/TestWS.java | Java | agpl-3.0 | 4,836 |
/*
* digitalpetri OPC-UA SDK
*
* Copyright (C) 2015 Kevin Herron
*
* This program 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 of the
* License, or (at your option) any later... | digitalpetri/ua-server-sdk | ua-server/src/main/java/com/digitalpetri/opcua/sdk/server/model/methods/GetMonitoredItems.java | Java | agpl-3.0 | 3,118 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.