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 |
|---|---|---|---|---|---|
/*
* Copyright 2006-2020 The MZmine Development Team
*
* This file is part of MZmine.
*
* MZmine 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 ... | tomas-pluskal/mzmine3 | src/main/java/io/github/mzmine/parameters/dialogs/ParameterSetupDialogWithScanPreview.java | Java | gpl-2.0 | 7,280 |
package games.strategy.engine.data.changefactory;
import games.strategy.engine.data.Change;
import games.strategy.engine.data.GameData;
import games.strategy.engine.data.PlayerID;
import games.strategy.engine.data.Resource;
import games.strategy.engine.data.ResourceCollection;
/**
* Adds/removes resource from a play... | simon33-2/triplea | src/games/strategy/engine/data/changefactory/ChangeResourceChange.java | Java | gpl-2.0 | 1,601 |
package org.cohorte.utilities.filter.expression;
import org.psem2m.utilities.CXStringUtils;
/**
* desrcibe an expression that admit only an object as opérand that can be an
* expression or
*
* @author apisu
*
*/
public class CExpressionWithFieldObject extends CExpressionWithField implements IExpressionObject {... | isandlaTech/cohorte-utilities | extra/org.cohorte.utilities.filter/src/org/cohorte/utilities/filter/expression/CExpressionWithFieldObject.java | Java | gpl-2.0 | 1,000 |
#ifndef EL__BOOKMARKS_BOOKMARKS_H
#define EL__BOOKMARKS_BOOKMARKS_H
#include "main/module.h"
#include "main/object.h"
#include "util/lists.h"
struct listbox_item;
struct terminal;
/* Bookmark record structure */
struct bookmark {
OBJECT_HEAD(struct bookmark);
struct bookmark *root;
struct listbox_item *box_ite... | rkd77/elinks-tv | src/bookmarks/bookmarks.h | C | gpl-2.0 | 1,722 |
/*
* %kadu copyright begin%
* Copyright 2012 Marcel Zięba (marseel@gmail.com)
* Copyright 2012 Wojciech Treter (juzefwt@gmail.com)
* Copyright 2012, 2013, 2014 Bartosz Brachaczek (b.brachaczek@gmail.com)
* Copyright 2012, 2013, 2014 Rafał Przemysław Malinowski (rafal.przemyslaw.malinowski@gmail.com)
* %kadu copyr... | vogel/kadu | plugins/history/gui/widgets/history-messages-tab.cpp | C++ | gpl-2.0 | 13,399 |
/*******************************************************************************
* Copyright (c) 2009-2019 Berthold Daum.
* 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... | bdaum/zoraPD | com.bdaum.zoom.image/src/com/bdaum/zoom/image/internal/ImageActivator.java | Java | gpl-2.0 | 10,999 |
/*
* Copyright (C) 2009-2015 Slava Semushin <slava.semushin@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later ve... | serg-m/mystamps | src/main/java/ru/mystamps/web/dao/impl/JdbcCollectionDaoImpl.java | Java | gpl-2.0 | 5,308 |
package drumseq;
import processing.core.PApplet;
import controlP5.CallbackEvent;
import controlP5.CallbackListener;
import controlP5.ControlEvent;
import controlP5.ControlListener;
import controlP5.ControlP5;
import controlP5.ControllerInterface;
/**
* This class is for making the displayed knob values set back to t... | Munzey/drumSeq | src/drumseq/ReleaseKnobListener.java | Java | gpl-2.0 | 1,318 |
# Copyright (C) 2013 Emweb bvba, Belgium.
#
# See the LICENSE file for terms of use.
def patchWt(clist):
# The version check happens internal, not visible in script
clist["WApplication"].constructor = None
clist["WApplication"].setConstructor([("const class Wt::WEnvironment &", "environment")], "")
# constructors... | wdu/pywt | scripts/patchClasses.py | Python | gpl-2.0 | 14,039 |
/*
Copyright (C) 2007 Christian Lundgren
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.
This program is distributed in the ho... | NguyenTrinh/linkage | lib/linkage/Interface.hh | C++ | gpl-2.0 | 1,768 |
/**
* OWASP Benchmark Project v1.2beta
*
* 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 OWASP Benchmark is free software: you can redistribu... | marylinh/Benchmark | src/main/java/org/owasp/benchmark/testcode/BenchmarkTest02071.java | Java | gpl-2.0 | 5,980 |
package org.sistcoopform.manager.api.jpa.entities;
import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import org.hibernate.annotations.Type;
/**
* @author <a href="mailto... | sistcoopform/sistcoopform | manager/api/jpa/src/main/java/org/sistcoopform/manager/api/jpa/entities/TextQuestionEntity.java | Java | gpl-2.0 | 950 |
#include <linux/module.h>
#include <linux/timer.h>
MODULE_LICENSE("GPL v2");
MODULE_AUTHOR("Satoru Takeuchi <satoru.takeuchi@gmail.com>");
MODULE_DESCRIPTION("timer kernel module: oneshot timer");
struct timer_list mytimer;
#define MYTIMER_TIMEOUT_SECS 10
static void mytimer_fn(struct timer_list *timer)
{
printk(K... | satoru-takeuchi/elkdat | example/module/timer/timer1.c | C | gpl-2.0 | 633 |
/*
*
* BlueZ - Bluetooth protocol stack for Linux
*
* Copyright (C) 2006-2010 Nokia Corporation
* Copyright (C) 2004-2010 Marcel Holtmann <marcel@holtmann.org>
*
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published b... | vcgomes/bluez | src/adapter.h | C | gpl-2.0 | 7,848 |
/*
* JBoss, Home of Professional Open Source.
* Copyright 2008, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify ... | taylor-project/taylor-picketlink-2.0.3 | federation/picketlink-fed-api/src/test/java/org/picketlink/test/identity/federation/api/util/XMLEncryptionUnitTestCase.java | Java | gpl-2.0 | 8,259 |
/*
* Copyright (c) 1998-2011 Caucho Technology -- all rights reserved
*
* This file is part of Resin(R) Open Source
*
* Each copy or derived work must preserve the copyright notice and this
* notice unmodified.
*
* Resin Open Source is free software; you can redistribute it and/or modify
* it under the terms o... | dlitz/resin | modules/resin/src/com/caucho/cloud/network/NetworkServerConfig.java | Java | gpl-2.0 | 4,793 |
package com.backend.services.db;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
/**
* The SQLite database connection helper class that creates
* the connection and the entire database at the first time
* or update it.
*/
public cla... | gergelykovacs/AndroidBackendServices | src/com/backend/services/db/DatabaseHelper.java | Java | gpl-2.0 | 981 |
package es.ucm.pad.teamjvr.mylittlebusiness.activity;
import java.util.List;
import android.app.AlertDialog;
import android.app.ListActivity;
import android.content.DialogInterface;
import android.content.Intent;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.Menu;
import android.vi... | rsrdesarrollo/my-little-business | src/es/ucm/pad/teamjvr/mylittlebusiness/activity/ProductListActivity.java | Java | gpl-3.0 | 5,667 |
//
// C++ Implementation:
//
// Description:
//
//
// Author: Jean-Michel PETIT <k9copy@free.fr>, (C) 2006
//
// Copyright: See COPYING file that comes with this distribution
//
//
#include "k9prefmpeg4.h"
#include <qcombobox.h>
#include <qspinbox.h>
#include <qcheckbox.h>
#include <qlineedit.h>
#include <qstringlis... | keijukainen/k9copy | src/main/k9prefmpeg4.cpp | C++ | gpl-3.0 | 4,945 |
package org.georchestra.cadastrapp.service.pdf;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.StringWriter;
import java.io.ByteArrayOutputStream;
import java.util.Arrays;
import java.util.Date;
import java.... | georchestra/cadastrapp | cadastrapp/src/main/java/org/georchestra/cadastrapp/service/pdf/BordereauParcellaireController.java | Java | gpl-3.0 | 8,938 |
/*
* GNU GENERAL LICENSE
* Copyright (C) 2014 - 2021 Lobo Evolution
*
* 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
* verion 3 of the License, or (at your option) any later versi... | oswetto/LoboEvolution | LoboHtml/src/main/java/org/loboevolution/html/renderer/RLayout.java | Java | gpl-3.0 | 18,752 |
package io.github.shamrice.zombieAttackGame.configuration.definition;
/**
* Created by Erik on 7/23/2017.
*/
public class ConfigurationDefinitions {
//TODO : debug location... set to final location or pass as parameter???
public static final String CONFIGURATION_FILE_LOCATION = "target/classes/conf/config.p... | shamrice/ZombieAttack | src/main/java/io/github/shamrice/zombieAttackGame/configuration/definition/ConfigurationDefinitions.java | Java | gpl-3.0 | 2,448 |
package game;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import game.entities.City;
import game.entities.Forest;
import game.entities.MapLocation;
import game.entities.PlayerMovement;
import game.entities.Silo;
import net.sourceforge.jFuzzyLogic.FIS;
import net.... | totemax/WOPR | src/game/PlayerController.java | Java | gpl-3.0 | 40,254 |
/*
* ProMPT.h
* This file is only for use with the PIC18F2439/4439/2539/4539.
*/
#ifndef __PROMPT_H__
#define __PROMPT_H__
/*-------------------------------------------------------------------------
* ProMPT API for Microchip C18 compiler
*-------------------------------------------------------------------------... | RobotsByTheC/VexBuild | Toolchain/mcc18/h/ProMPT.h | C | gpl-3.0 | 1,989 |
/**
*
*/
package com.aionemu.gameserver.configs.administration;
import com.aionemu.commons.configuration.Property;
/**
* @author Hoo
*
*/
public class PanelConfig {
@Property(key = "gameserver.administration.skilpanel", defaultValue = "3")
public static int SKILL_PANEL_LEVEL;
@Property... | Estada1401/anuwhscript | GameServer/src/com/aionemu/gameserver/configs/administration/PanelConfig.java | Java | gpl-3.0 | 1,227 |
/* (c) Copyright 2011-2014 Felipe Magno de Almeida
*
* 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 pro... | alyssonbrito/gts | include/gts/dsmcc/download_data_block.hpp | C++ | gpl-3.0 | 10,694 |
/* Copyright (C) 2012 Martin Åberg
This program is free software: you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option)
any later version.
This program is distributed in the hope tha... | endofexclusive/ym2612_midi | src/test/transport_in/random_in.c | C | gpl-3.0 | 1,025 |
# encoding: utf-8
import sys
import os
import signal
import shutil
from Util import ExcelToStruct,StructToExcel,CheckEmptyNetName
from CSAParsing import CSAParsing
from MapGen import GenMapHeaderFile
def ShowArgument():
print("GPIO table generate from CSA file write by Always")
return
ShowArgument()
#template='A... | Always0806/GPIOTableGen | GPIOTableGen.py | Python | gpl-3.0 | 730 |
package universalelectricity.core.item;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import universalelectricity.core.electricity.ElectricityPack;
/**
* Some helper functions for electric items.
*
* @author Calclavia
*
*/
public class ElectricItemHelper
{
/**
* Recharges an electric ... | tomasmartins/TMCraft | common/universalelectricity/core/item/ElectricItemHelper.java | Java | gpl-3.0 | 3,022 |
package com.zeitraub.calendar.data.event;
import java.util.TimeZone;
import com.zeitraub.calendar.view.elements.DrawingHelper;
/**
* Event object
*
* @author Torsten
*
*/
public class Event {
public long id;
public String title;
public String calendarId;
public String description;
public Long DTStart;
p... | zoomline/zoomline | src/com/zeitraub/calendar/data/event/Event.java | Java | gpl-3.0 | 2,170 |
/*
This file is part of the OdinMS Maple Story Server
Copyright (C) 2008 Patrick Huy <patrick.huy@frz.cc>
Matthias Butz <matze@odinms.de>
Jan Christian Meyer <vimes@odinms.de>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero Genera... | am910021/YuriMS | src/net/channel/handler/UseChairHandler.java | Java | gpl-3.0 | 1,767 |
/*
* Copyright (C) 2014-2016 Helix Engine Developers
* (http://github.com/fauu/HelixEngine)
*
* This software is licensed under the GNU General Public License
* (version 3 or later). See the COPYING file in this distribution.
*
* You should have received a copy of the GNU Library General Public License
* along ... | fauu/HelixEngine | core/src/com/github/fauu/helix/displayable/ModelDisplayable.java | Java | gpl-3.0 | 1,793 |
/*
* 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/rendering/opengl/pipeline/shaders/LightingShader.java | Java | gpl-3.0 | 4,992 |
package info.ohgita.android.weardice;
import java.util.Random;
import android.app.Activity;
import android.app.Notification;
import android.app.PendingIntent;
import android.content.Intent;
import android.graphics.BitmapFactory;
import android.os.Bundle;
import android.support.v4.app.NotificationCompat;
import androi... | mugifly/weardice_android | src/info/ohgita/android/weardice/MainActivity.java | Java | gpl-3.0 | 2,734 |
package scheduler
import (
// "sort"
"../process"
)
// Method defines how to sort a list of processes.
type Method func(p1, p2 process.Process) bool
const (
// SwitchFCFS describes the switch for first come first serve (FCFS)
SwitchFCFS = "fcfs"
// SwitchPriority describes the CLI switch used to indicate... | gav5/picklerick | kernel/scheduler/Method.go | GO | gpl-3.0 | 1,266 |
/*Al comenzar el juego generamos un número
secreto del 1 al 100, en la pantalla del juego
dispondremos de un cuadro de texto para ingresar
un número y un botón “Verificar”, si el número
ingresado es el mismo que el número secreto se dará
por terminado el juego con un mensaje similar a este:
“Usted es un gana... | Leandro1391/TP_LabIV | jsAdivinaElNumero1.js | JavaScript | gpl-3.0 | 1,473 |
/*
* Copyright (c) 2013 OBiBa. All rights reserved.
*
* This program and the accompanying materials
* are made available under the terms of the GNU Public License v3.0.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*... | apruden/opal | opal-shell/src/main/java/org/obiba/opal/web/shell/ProjectCommandsResource.java | Java | gpl-3.0 | 6,115 |
package com.supermap.desktop.ui.controls.comboBox;
import javax.swing.JComboBox;
import com.supermap.data.Enum;
import com.supermap.data.Charset;
import com.supermap.desktop.utilties.CharsetUtilties;
public class ComboBoxCharset extends JComboBox<String> {
/**
*
*/
private static final long serialVersionUID ... | highsad/iDesktop-Cross | Controls/src/com/supermap/desktop/ui/controls/comboBox/ComboBoxCharset.java | Java | gpl-3.0 | 765 |
/*
This file is part of the DaisyWorks Android Library.
The DaisyWorks Android Library 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 ... | daisyworks/daisy-android-common | src/com/daisyworks/android/bluetooth/SendCommandAction.java | Java | gpl-3.0 | 1,219 |
/*
ATHENA Project: Management Tools for the Cultural Sector
Copyright (C) 2010, Fractured Atlas
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) a... | fracturedatlas/ATHENA | core/web-resources/src/main/java/org/fracturedatlas/athena/web/exception/ApaExceptionMapper.java | Java | gpl-3.0 | 1,238 |
/*
* Copyright (C) 2016 Open Whisper Systems
*
* 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 ... | FeuRenard/Signal-Android | src/org/thoughtcrime/securesms/components/webrtc/WebRtcCallScreen.java | Java | gpl-3.0 | 13,952 |
package org.flowerplatform.codesync.regex.controller;
import static org.flowerplatform.codesync.regex.CodeSyncRegexConstants.REGEX_CONFIGS_NODE_TYPE;
import java.util.ArrayList;
import java.util.List;
import org.flowerplatform.core.CorePlugin;
import org.flowerplatform.core.CoreUtils;
import org.flowerplatf... | flower-platform/flower-platform-4 | org.flowerplatform.codesync.regex/src/org/flowerplatform/codesync/regex/controller/CodeSyncRegexRepositoryChildrenProvider.java | Java | gpl-3.0 | 1,413 |
/*
Copyright 2016 Tomohiro Matsumoto
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope t... | demotomohiro/passsearcher-luks | src/hmac.hpp | C++ | gpl-3.0 | 978 |
async function main() {
// Setup preference handler.
// The prefBranchHandler.js is loaded by manifest.json into the background page.
// If all calls to set/get preference outside of the background script have been
// replaced by runtime messaging or background notifications (through
// preferences.js from... | jobisoft/CategoryManager | sendtocategory/background.js | JavaScript | mpl-2.0 | 1,576 |
#include <aerial_autonomy/robot_systems/uav_system.h>
//#include <aerial_autonomy/tests/sample_parser.h>
#include <chrono>
#include <gtest/gtest.h>
#include <quad_simulator_parser/quad_simulator.h>
#include <thread>
/**
* @brief Namespace for UAV Simulator Hardware
*/
using namespace quad_simulator;
using ParserPtr = ... | jhu-asco/aerial_autonomy | tests/robot_systems/uav_system_tests.cpp | C++ | mpl-2.0 | 5,296 |
/*
* DataCruncher
* Copyright (c) Mario Altimari. All rights reserved.
*
* 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 ... | see-r/SeerDataCruncher | src/test/java/com/datacruncher/schema/SchemaFieldCreateTest.java | Java | agpl-3.0 | 5,660 |
/*
* The CroudTrip! application aims at revolutionizing the car-ride-sharing market with its easy,
* user-friendly and highly automated way of organizing shared Trips. Copyright (C) 2015 Nazeeh Ammari,
* Philipp Eichhorn, Ricarda Hohn, Vanessa Lange, Alexander Popp, Frederik Simon, Michael Weber
* This program is... | AMOS-2015/amos-ss15-proj2 | models/src/main/java/org/croudtrip/api/trips/TripReservation.java | Java | agpl-3.0 | 4,971 |
package org.opencps.usermgt.lifecycle;
import com.liferay.petra.string.StringPool;
import com.liferay.portal.kernel.events.Action;
import com.liferay.portal.kernel.events.LifecycleAction;
import com.liferay.portal.kernel.exception.SystemException;
import com.liferay.portal.kernel.log.Log;
import com.liferay.portal.ker... | VietOpenCPS/opencps-v2 | modules/backend-usermgt/backend-usermgt-service/src/main/java/org/opencps/usermgt/lifecycle/OpenCPSLogoutAction.java | Java | agpl-3.0 | 1,923 |
// Copyright 2013 Canonical Ltd.
// Licensed under the AGPLv3, see LICENCE file for details.
package apiserver
import (
"reflect"
"sync"
"time"
"github.com/juju/errors"
"github.com/juju/names"
"github.com/juju/juju/apiserver/common"
"github.com/juju/juju/apiserver/params"
"github.com/juju/juju/rpc"
"github... | marcoceppi/juju | apiserver/root.go | GO | agpl-3.0 | 9,451 |
/*
* Copyright 2011 Witoslaw Koczewsi <wi@koczewski.de>, Artjom Kochtchi
*
* 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 l... | Kunagi/kunagi | src/main/java/scrum/client/calendar/SimpleEvent.java | Java | agpl-3.0 | 2,953 |
/* This file is part of the db4o object database http://www.db4o.com
Copyright (C) 2004 - 2011 Versant Corporation http://www.versant.com
db4o is free software; you can redistribute it and/or modify it under
the terms of version 3 of the GNU General Public License as published
by the Free Software Foundation.
db4o ... | xionghuiCoder/db4o | src/main/java/com/db4o/internal/freespace/NullFreespaceListener.java | Java | agpl-3.0 | 1,041 |
/**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any la... | hltn/opencps | portlets/opencps-portlet/docroot/WEB-INF/service/org/opencps/dossiermgt/model/DossierPartSoap.java | Java | agpl-3.0 | 6,339 |
package aima.test.core.unit.search.csp;
import java.util.ArrayList;
import java.util.List;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import syncleus.dann.search.csp.Assignment;
import syncleus.dann.search.csp.Variable;
/**
* @author Ravi Mohan
*
*/
public class Ass... | automenta/java_dann | test/aima/search/csp/AssignmentTest.java | Java | agpl-3.0 | 1,469 |
#ifndef MUPDF_PDF_CRYPT_H
#define MUPDF_PDF_CRYPT_H
/*
* Encryption
*/
pdf_crypt *pdf_new_crypt(fz_context *ctx, pdf_obj *enc, pdf_obj *id);
void pdf_free_crypt(fz_context *ctx, pdf_crypt *crypt);
void pdf_crypt_obj(fz_context *ctx, pdf_crypt *crypt, pdf_obj *obj, int num, int gen);
void pdf_crypt_buffer(fz_contex... | tophyr/mupdf | include/mupdf/pdf/crypt.h | C | agpl-3.0 | 2,278 |
/*!
* This program is free software; you can redistribute it and/or modify it under the
* terms of the GNU Lesser General Public License, version 2.1 as published by the Free Software
* Foundation.
*
* You should have received a copy of the GNU Lesser General Public License along with this
* program; if not, you ... | pentaho/pentaho-commons-xul | swing/src/main/java/org/pentaho/ui/xul/swing/tags/SwingDeck.java | Java | lgpl-2.1 | 2,598 |
/**
* DSS - Digital Signature Services
* Copyright (C) 2015 European Commission, provided under the CEF programme
*
* This file is part of the "DSS - Digital Signature Services" project.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Publ... | esig/dss | dss-tsl-validation/src/main/java/eu/europa/esig/dss/tsl/summary/ValidationJobSummaryBuilder.java | Java | lgpl-2.1 | 9,863 |
/*
* JBoss, Home of Professional Open Source.
* Copyright 2012, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify i... | punkhorn/jboss-sap-jca | jboss-sap-jca-connector/src/main/java/org/jboss/jca/adapters/sap/spi/impl/ExceptionBundle.java | Java | lgpl-2.1 | 9,167 |
/*
* This program is free software; you can redistribute it and/or modify it under the
* terms of the GNU Lesser General Public License, version 2.1 as published by the Free Software
* Foundation.
*
* You should have received a copy of the GNU Lesser General Public License along with this
* program; if not, you c... | mbatchelor/pentaho-reporting | engine/core/src/main/java/org/pentaho/reporting/engine/classic/core/modules/parser/bundle/writer/DataDefinitionFileWriter.java | Java | lgpl-2.1 | 16,953 |
/*
* eXist Open Source Native XML Database
* Copyright (C) 2007-2010 The eXist Project
* http://exist-db.org
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* as published by the Free Software Foundation; either version ... | shabanovd/exist | extensions/modules/src/org/exist/xquery/modules/exi/DecodeExiFunction.java | Java | lgpl-2.1 | 4,903 |
package com.JasonILTG.ScienceMod.reference;
/**
* Reference class for names of items, blocks, and tile entities.
*
* @author JasonILTG and syy1125
*/
public class Names
{
public static final class Tiles
{
public static final class Machine
{
public static final String ELECTROLYZER = "tileEntityElectrolyze... | JasonILTG/Minecraft-Modding | src/main/java/com/JasonILTG/ScienceMod/reference/Names.java | Java | lgpl-2.1 | 1,230 |
package modules.admin.SelfRegistrationActivation;
import org.skyve.CORE;
import org.skyve.domain.types.DateTime;
import org.skyve.impl.util.TimeUtil;
import org.skyve.persistence.DocumentQuery;
import org.skyve.persistence.Persistence;
import org.skyve.util.Util;
import modules.admin.User.UserExtension;
import module... | skyvers/wildcat | skyve-ejb/src/main/java/modules/admin/SelfRegistrationActivation/SelfRegistrationActivationExtension.java | Java | lgpl-2.1 | 2,224 |
/*
* A Gradle plugin for the PaperMC build process.
* Copyright (C) 2016-2018 PaperMC
*
* 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 ... | PaperMC/PaperGradle | src/main/java/com/destroystokyo/papergradle/extensions/CraftBukkitExtension.java | Java | lgpl-2.1 | 5,923 |
/*******************************************************************************
* Copyright (C) 2013 Stefan Schroeder
*
* 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
* ... | aflanagan/jsprit | jsprit-core/src/test/java/jsprit/core/problem/vehicle/TestVehicleFleetManagerImpl.java | Java | lgpl-3.0 | 11,413 |
/**
* Copyright 2014-2016 yangming.liu<bytefox@126.com>.
*
* This copyrighted material is made available to anyone wishing to use, modify,
* copy, or redistribute it subject to the terms and conditions of the GNU
* Lesser General Public License, as published by the Free Software Foundation.
*
* This program is d... | liuyangming/ByteTCC | bytetcc-core/src/main/java/org/bytesoft/compensable/CompensableBeanFactory.java | Java | lgpl-3.0 | 2,705 |
/*
* SonarQube
* Copyright (C) 2009-2017 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3 of the License, o... | lbndev/sonarqube | server/sonar-server/src/main/java/org/sonar/server/projectlink/ws/SearchAction.java | Java | lgpl-3.0 | 5,408 |
/*
* SonarQube Java
* Copyright (C) 2012-2017 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3 of the Licen... | mbring/sonar-java | java-frontend/src/main/java/org/sonar/java/se/SymbolicExecutionVisitor.java | Java | lgpl-3.0 | 3,684 |
/*
* SimplePython - embeddable python interpret in java
* Copyright (c) Peter Vanusanik, 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 3.... | kozec/SimplePython | src/me/enerccio/sp/types/types/TypeTypeObject.java | Java | lgpl-3.0 | 3,060 |
/*
* SonarQube
* Copyright (C) 2009-2022 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3 of the License, o... | SonarSource/sonarqube | server/sonar-db-dao/src/main/java/org/sonar/db/qualitygate/QualityGateDao.java | Java | lgpl-3.0 | 2,901 |
package org.simulator.examples;
import static org.junit.Assert.fail;
import java.io.File;
import java.util.List;
import java.util.Map;
import org.jfree.ui.RefineryUtilities;
import org.jlibsedml.AbstractTask;
import org.jlibsedml.Curve;
import org.jlibsedml.Libsedml;
import org.jlibsedml.Output;
import org.jlibsedml... | cogsys-tuebingen/SBSCL | src/main/java/org/simulator/examples/SEDMLExample.java | Java | lgpl-3.0 | 2,930 |
# IfcSverchok - IFC Sverchok extension
# Copyright (C) 2020, 2021 Dion Moult <dion@thinkmoult.com>
#
# This file is part of IfcSverchok.
#
# IfcSverchok 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 ... | IfcOpenShell/IfcOpenShell | src/ifcsverchok/nodes/ifc/create_file.py | Python | lgpl-3.0 | 2,528 |
/*
* Copyright (c) 2010 - 2015 Ushahidi Inc
* All rights reserved
* Contact: team@ushahidi.com
* Website: http://www.ushahidi.com
* GNU Lesser General Public License Usage
* This file may be used under the terms of the GNU Lesser
* General Public License version 3 as published by the Free Software
* Foundation ... | ushahidi/SMSSync | smssync/src/main/java/org/addhen/smssync/data/repository/MessageDataRepository.java | Java | lgpl-3.0 | 7,064 |
package com.jaring.jom.store.jdbi.entitymapper;
import java.sql.ResultSet;
import java.sql.SQLException;
import org.skife.jdbi.v2.StatementContext;
import org.skife.jdbi.v2.tweak.ResultSetMapper;
import com.jaring.jom.store.jdbi.entity.UserBean;
public class UserMapper implements ResultSetMapper<UserBean>{
@Overr... | yoonghan/selfservicedb | src/main/java/com/jaring/jom/store/jdbi/entitymapper/UserMapper.java | Java | unlicense | 983 |
// written by bastiaan konings schuiling 2008 - 2014
// this work is public domain. the code is undocumented, scruffy, untested, and should generally not be used for anything important.
// i do not offer support, so don't ask. to be used for inspiration :)
#include "audio_audioreceiver.hpp"
#include "managers/resourc... | BazkieBumpercar/Blunted2 | src/systems/audio/objects/audio_audioreceiver.cpp | C++ | unlicense | 1,973 |
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... | cschenyuan/sentry-hack | sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/dbprovider/TestDbConnections.java | Java | apache-2.0 | 5,893 |
/*
* Copyright 2012 LinkedIn Corp.
*
* 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 applicable law or agreed to i... | chengren311/azkaban | azkaban-web-server/src/main/java/azkaban/webapp/AzkabanWebServer.java | Java | apache-2.0 | 25,165 |
package org.kavaproject.kavatouch.coreanimation;
import android.app.Activity;
import android.content.Context;
import android.graphics.PixelFormat;
import android.graphics.Rect;
import android.view.SurfaceHolder;
import android.view.View;
import android.view.Window;
import org.kavaproject.R;
import org.kavaproject.kava... | KavaProject/KavaTouch | src/main/java/org/kavaproject/kavatouch/coreanimation/SurfaceViewDeviceHandle.java | Java | apache-2.0 | 3,628 |
#include "common/config/api_type_oracle.h"
#include "common/common/assert.h"
#include "common/common/logger.h"
#include "udpa/annotations/versioning.pb.h"
namespace Envoy {
namespace Config {
const Protobuf::Descriptor*
ApiTypeOracle::getEarlierVersionDescriptor(const Protobuf::Message& message) {
const std::stri... | jrajahalme/envoy | source/common/config/api_type_oracle.cc | C++ | apache-2.0 | 1,048 |
/**
* Copyright (C) 2012 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.engine.marketdata.availability;
import com.opengamma.engine.value.ValueRequirement;
import com.opengamma.util.ArgumentChecker;
import com.opengamma.util.Public... | McLeodMoores/starling | projects/engine/src/main/java/com/opengamma/engine/marketdata/availability/MarketDataNotSatisfiableException.java | Java | apache-2.0 | 1,016 |
/*
* Copyright (C) Lightbend Inc. <https://www.lightbend.com>
*/
package docs.production;
// #content
import com.google.inject.AbstractModule;
import com.lightbend.lagom.javadsl.api.ServiceLocator;
import com.lightbend.lagom.javadsl.client.ConfigurationServiceLocator;
import play.Environment;
import com.typesafe.co... | lagom/lagom | docs/manual/java/guide/production/code/docs/production/ConfigurationServiceLocatorModule.java | Java | apache-2.0 | 803 |
package org.clarksnut.datasource.peru;
import oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_2.BillingReferenceType;
import oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_2.CreditNoteLineType;
import oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_2.DocumentRe... | openfact/openfact-sync | src/main/java/org/clarksnut/datasource/peru/PeruCreditNoteDatasourceProvider.java | Java | apache-2.0 | 6,863 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional information regarding
* copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the
* "License"); you may not ... | PurelyApplied/geode | extensions/geode-modules/src/main/java/org/apache/geode/modules/util/TouchReplicatedRegionEntriesFunction.java | Java | apache-2.0 | 3,653 |
/*
* Copyright 2013 Guidewire Software, Inc.
*/
package gw.internal.gosu.ir.transform.util;
import gw.lang.ir.IRType;
import gw.lang.reflect.IType;
import gw.lang.reflect.java.IJavaClassInfo;
public class IRTypeResolverAPIWrapper implements gw.lang.ir.IRTypeResolver {
public static final IRTypeResolverAPIWrapp... | gosu-lang/old-gosu-repo | gosu-core/src/main/java/gw/internal/gosu/ir/transform/util/IRTypeResolverAPIWrapper.java | Java | apache-2.0 | 739 |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with this
* work for additional information regarding copyright ownership. The ASF
* licenses this file to you under the Apache License, Version 2.0 (the
* "License"); you may ... | joshelser/cosmos | sql/src/main/java/cosmos/sql/CosmosDriver.java | Java | apache-2.0 | 3,551 |
/*
* Copyright 2012-2015 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 ap... | Azilen/Spring-Actuator | springactuator/src/main/java/com/azilen/spring/common/configure/condition/AbstractNestedCondition.java | Java | apache-2.0 | 6,726 |
/**
* Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.bbg.livedata.faketicks;
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
import java.util.Map.Entry;
import com.opengamma.core.id.... | McLeodMoores/starling | projects/bloomberg/src/main/java/com/opengamma/bbg/livedata/faketicks/FakeDistributionSpecificationResolver.java | Java | apache-2.0 | 2,802 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional information regarding
* copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the
* "License"); you may not ... | smanvi-pivotal/geode | geode-protobuf/src/main/java/org/apache/geode/internal/protocol/protobuf/v1/ProtobufOperationContext.java | Java | apache-2.0 | 2,845 |
/*
* Copyright 2000-2012 JetBrains s.r.o.
*
* 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 applicable law or agre... | consulo/consulo | modules/base/lang-impl/src/main/java/com/intellij/execution/ui/layout/impl/JBRunnerTabs.java | Java | apache-2.0 | 3,235 |
/**
* Copyright 2014 Expedia, Inc. All rights reserved.
* EXPEDIA PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*/
package com.expedia.echox3.basics.monitoring.counter;
import com.expedia.echox3.basics.collection.simple.StringGroup;
import com.expedia.echox3.basics.monitoring.event.BasicLogger;
publ... | ExpediaDotCom/EchoX3 | EchoX3Client/src/main/java/com/expedia/echox3/basics/monitoring/counter/NullOperationCounter.java | Java | apache-2.0 | 780 |
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... | francisliu/hbase | hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestAsyncAdminBase.java | Java | apache-2.0 | 6,183 |
/*
* Copyright 2014 TWO SIGMA OPEN SOURCE, LLC
*
* 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 appl... | ScottPJones/beaker-notebook | kernel/base/src/test/java/com/twosigma/beaker/chart/serializer/LineSerializerTest.java | Java | apache-2.0 | 4,094 |
package ozone.gwt.owfgwttest.widgets;
import java.util.Arrays;
import java.util.List;
import ozone.gwt.widget.WidgetContainer;
import ozone.gwt.widget.WidgetFramework;
import ozone.gwt.widget.WidgetHandle;
import com.google.gwt.cell.client.TextCell;
import com.google.gwt.core.client.EntryPoint;
import com.google.gwt... | richkadel/owf-gwt | owf-gwt-test/src/main/java/ozone/gwt/owfgwttest/widgets/WebForm.java | Java | apache-2.0 | 2,463 |
package com.example.propertyanimation.listview;
import android.content.Context;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.L... | lwd1815/Transition | propertyanimation/src/main/java/com/example/propertyanimation/listview/ContactAdapter.java | Java | apache-2.0 | 1,946 |
/*
* Copyright 2016 ELOTECH GESTAO PUBLICA LTDA
* 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 applicable l... | elotech/SITS | src/main/java/br/com/elotech/sits/service/AbstractService.java | Java | apache-2.0 | 5,004 |
/*
* $Id$
*
* SARL is an general-purpose agent programming language.
* More details on http://www.sarl.io
*
* Copyright (C) 2014-2017 the original authors 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 ma... | jgfoster/sarl | tests/io.sarl.lang.ui.tests/src/io/sarl/lang/ui/tests/contentassist/AbstractContentAssistTest.java | Java | apache-2.0 | 12,224 |
// Copyright 2012 Google Inc. All Rights Reserved.
package com.google.dotorg.translation_workflow.io;
import com.google.gdata.client.spreadsheet.SpreadsheetService;
import com.google.gdata.data.spreadsheet.ListEntry;
import com.google.gdata.data.spreadsheet.ListFeed;
import com.google.gdata.data.spreadsheet.Spreadshe... | brian-skinner/translation-workflow | src/com/google/dotorg/translation_workflow/io/SpreadsheetClient.java | Java | apache-2.0 | 2,931 |
/*
Copyright 2017 The Kubernetes 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 applicable law or agreed to in writing, ... | enisoc/kubernetes | staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/apiserver.go | GO | apache-2.0 | 9,454 |
/*
* Copyright 2003 Draagon Software LLC. All Rights Reserved.
*
* This software is the proprietary information of Draagon Software LLC.
* Use is subject to license terms.
*/
package com.draagon.meta.loader;
import com.draagon.meta.MetaDataException;
@SuppressWarnings("serial")
public class MetaDataLoaderNotFou... | Draagon/draagon-metaobjects | metadata/src/main/java/com/draagon/meta/loader/MetaDataLoaderNotFoundException.java | Java | apache-2.0 | 654 |
/*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | JoyIfBam5/aws-sdk-cpp | aws-cpp-sdk-route53/source/model/ListHostedZonesByNameResult.cpp | C++ | apache-2.0 | 2,995 |
/*
* Yet Another UserAgent Analyzer
* Copyright (C) 2013-2022 Niels Basjes
*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless... | nielsbasjes/yauaa | udfs/hive/src/test/java/nl/basjes/parse/useragent/hive/TestParseUserAgent.java | Java | apache-2.0 | 3,108 |
package mdn.vtvsport.fragment;
import java.util.ArrayList;
import mdn.vtvsport.R;
import mdn.vtvsport.adapter.AdapterMenuLeft;
import mdn.vtvsport.fragment.account.LoginFragment;
import mdn.vtvsport.fragment.account.UserInfoFragment;
import mdn.vtvsport.network.ApiManager;
import mdn.vtvsport.network.IApiCallback;
im... | ribbon-xx/VTVPro-Plus | VtvPro/src/mdn/vtvsport/fragment/ListMenuFragment.java | Java | apache-2.0 | 12,897 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.