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 |
|---|---|---|---|---|---|
// inspired by:
// https://github.com/angular/angular-cli/blob/d202480a1707be6575b2c8cf0383cfe6db44413c/packages/schematics/angular/utility/ast-utils.ts
// https://github.com/angular/angular-cli/blob/d202480a1707be6575b2c8cf0383cfe6db44413c/packages/schematics/angular/utility/ng-ast-utils.ts
// https://github.com/Nativ... | NativeScript/NativeScript | packages/webpack/utils/ast-utils.ts | TypeScript | mit | 11,280 |
package football.util.logging;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.List;
import football.config.CustomScoringHelperProperties;
import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
impor... | tswift242/fantasyfootball-custom-scorer | src/main/java/football/util/logging/ResultsLogger.java | Java | mit | 4,239 |
/*
* Copyright 2002-2016 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... | boggad/jdk9-sample | sample-catalog/spring-jdk9/src/spring.websocket/org/springframework/web/socket/sockjs/transport/session/WebSocketServerSockJsSession.java | Java | mit | 6,988 |
package org.rspspin.syntax;
import org.apache.jena.graph.Node;
import org.apache.jena.sparql.syntax.Element;
import org.apache.jena.sparql.syntax.ElementVisitor;
import org.apache.jena.sparql.util.NodeIsomorphismMap;
/**
* Evaluate a query element based on source information in a named collection.
*/
public class ... | keski/rsp-spin | src/main/java/org/rspspin/syntax/ElementWindowGraph.java | Java | mit | 1,310 |
package iso20022
// Identification of the original transaction.
type CardPaymentTransaction37 struct {
// Global reference of the sale transaction for the sale system.
SaleReferenceIdentification *Max35Text `xml:"SaleRefId,omitempty"`
// Unique identification of the transaction assigned by the POI (Point Of Inter... | fgrid/iso20022 | CardPaymentTransaction37.go | GO | mit | 2,787 |
/*
* Created on Oct 11, 2004
*/
package article.editor.xml;
import java.util.ArrayList;
import java.util.List;
/**
* @author Phil Zoio
*/
public class XMLTree
{
private XMLElement rootElement;
private List allElements = new ArrayList();
private List allAttributes = new ArrayList();
public XMLTree()
{
su... | UNIT-Research-Development/PlayGround | article-jfacetext/src/article/editor/xml/XMLTree.java | Java | epl-1.0 | 2,555 |
/******************************************************************************
* Copyright (c) 2000-2016 Ericsson Telecom AB
* 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 a... | eroslevi/titan.EclipsePlug-ins | org.eclipse.titanium.refactoring/src/org/eclipse/titanium/refactoring/logging/ContextLoggingActionFromEditor.java | Java | epl-1.0 | 4,523 |
/*******************************************************************************
* Copyright (c) 2000, 2016 IBM Corporation 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, an... | elucash/eclipse-oxygen | org.eclipse.jdt.ui/src/org/eclipse/jdt/internal/ui/packageview/ClassPathContainer.java | Java | epl-1.0 | 5,920 |
package hu.eltesoft.modelexecution.validation.util;
import com.google.common.collect.Sets;
import hu.eltesoft.modelexecution.validation.EventIsNotSignalEventMatch;
import hu.eltesoft.modelexecution.validation.EventIsNotSignalEventMatcher;
import hu.eltesoft.modelexecution.validation.util.IsSignalEventQuerySpecifi... | ELTE-Soft/xUML-RT-Executor | plugins/hu.eltesoft.modelexecution.validation/src-gen/hu/eltesoft/modelexecution/validation/util/EventIsNotSignalEventQuerySpecification.java | Java | epl-1.0 | 5,157 |
/*
* Copyright (c) 2012-2018 Red Hat, Inc.
* 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:
* Red H... | sleshchenko/che | wsagent/che-core-api-git/src/test/java/org/eclipse/che/git/impl/TagListTest.java | Java | epl-1.0 | 2,925 |
/*******************************************************************************
* Copyright (c) 1998, 2013 Oracle and/or its affiliates. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. ... | bfg-repo-cleaner-demos/eclipselink.runtime-bfg-strip-big-blobs | foundation/eclipselink.core.test/src/org/eclipse/persistence/testing/framework/LoadBuildProject.java | Java | epl-1.0 | 18,720 |
/*
Copyright (C) 2014 Baptiste Covolato <b.covolato@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 version.
This program is... | Nakrez/libucmp | lib/ir/function-type.cc | C++ | gpl-2.0 | 1,081 |
/*
* Universal Media Server, for streaming any media to DLNA
* compatible renderers based on the http://www.ps3mediaserver.org.
* Copyright (C) 2012 UMS developers.
*
* This program is a free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by ... | UniversalMediaServer/UniversalMediaServer | src/main/java/net/pms/network/mediaserver/cling/controlpoint/UmsSubscriptionCallback.java | Java | gpl-2.0 | 3,355 |
package eus.ehu.neurgai;
import java.util.HashMap;
import java.util.Map;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.app.ListActivity;
import android.bluetooth.BluetoothAdapter;
import android.bluetooth.BluetoothDevice;
import android.content.BroadcastReceiver;
import android.co... | gorkabueno/NeurGai | src/eus/ehu/neurgai/BluetoothDialog.java | Java | gpl-2.0 | 4,993 |
/*
* This file is part of the ZoRa project: http://www.photozora.org.
*
* ZoRa 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 versi... | bdaum/zoraPD | com.bdaum.zoom.net.communities/src/com/bdaum/zoom/net/communities/AccountContentProvider.java | Java | gpl-2.0 | 2,938 |
package ep.dgtrad.util.diffing;
import java.io.File;
import java.util.ArrayList;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import ep.dgtrad.util.diffing.util.FileUtils;
import javafx.application.Platform;
import javafx.fxml.FXML;
import javafx.scene.control.Alert;
import javafx.... | guihome-diaz/training | JavaFX/FX8/diffing/src/main/java/ep/dgtrad/util/diffing/RootPaneController.java | Java | gpl-2.0 | 2,259 |
package rithm.experiments;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Random;
import rithm.core.ParserPlugin;
import rithm.core.ProgState;
import rithm.core.RitHMResultCollection;
import rithm.core.RitHMSpecification;
import rithm.core.RitHMSpecificat... | yogirjoshi/monitortools | src/main/java/rithm/experiments/GoogleHypothesis4.java | Java | gpl-2.0 | 2,439 |
/*
* Copyright (C) 2006 The Concord Consortium, Inc.,
* 25 Love Lane, Concord, MA 01742
*
* 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
* ... | concord-consortium/mw | src/org/concord/mw2d/models/ModelReader.java | Java | gpl-2.0 | 4,181 |
/** MessageApplicationPeriodTableSync class implementation.
@file MessageApplicationPeriodTableSync.cpp
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 redistribu... | Open-Transport/synthese | server/src/17_messages/MessageApplicationPeriodTableSync.cpp | C++ | gpl-2.0 | 3,950 |
package com.ucan.app.ui.activity;
import java.io.InvalidClassException;
import android.app.Fragment;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.IntentFilter;
import android.content.pm.ActivityI... | sosoyiyi/ucan | src/com/ucan/app/ui/activity/MainActivity.java | Java | gpl-2.0 | 12,286 |
/*
GNU LESSER GENERAL PUBLIC LICENSE
Copyright (C) 2006 The XAMJ Project
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 ... | vikto9494/Lobo_Browser | XAMJ_Project/Common/org/lobobrowser/util/io/NetRoutines.java | Java | gpl-2.0 | 1,285 |
/**
* Copyright (C) 2001-2015 Klaralvdalens Datakonsult AB. All rights reserved.
*
* This file is part of the KD Chart library.
*
* 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 v... | dbzhang800/kdiagram | qtests/ParamVsParam/mainwindow.cpp | C++ | gpl-2.0 | 6,364 |
/*BEGIN_LEGAL
Intel Open Source License
Copyright (c) 2002-2013 Intel Corporation. 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 noti... | cyjseagull/SHMA | zsim-nvmain/pin_kit/source/tools/ManualExamples/follow_child_app1.cpp | C++ | gpl-2.0 | 1,993 |
/**
*
*/
package de.metas.commission.service.impl;
/*
* #%L
* de.metas.commission.base
* %%
* Copyright (C) 2015 metas GmbH
* %%
* 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, eithe... | klst-com/metasfresh | de.metas.commission/de.metas.commission.base/src/main/java/de/metas/commission/service/impl/CPLData.java | Java | gpl-2.0 | 3,572 |
package uniandes.unacloud.share.queue.messages;
import org.json.JSONObject;
import uniandes.unacloud.share.enums.QueueMessageType;
/**
* Class used to represent the message to Create Copy from Public
* @author cdsbarrera
*
*/
public class MessageCreateCopyFromPublic extends QueueMessage{
private final stat... | UnaCloud/UnaCloud2 | ServerShares/src/uniandes/unacloud/share/queue/messages/MessageCreateCopyFromPublic.java | Java | gpl-2.0 | 1,530 |
/**
* 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/BenchmarkTest14305.java | Java | gpl-2.0 | 2,995 |
#include <stdio.h>
/* The prime factors of 13195 are 5, 7, 13 and 29.
What is the largest prime factor of the number 600851475143 ?
*/
/* See theoretical description below */
int main(int argc, char *argv[])
{
long long n = 600851475143;
long long currentPrime = 1;
while (n > 1) {
currentPrime++;
while(n%cur... | rgiesler/projectEulerSolutions_C | problem3.c | C | gpl-2.0 | 967 |
/*
* Renjin : JVM-based interpreter for the R language for the statistical analysis
* Copyright © 2010-2019 BeDataDriven Groep B.V. and contributors
*
* 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 F... | bedatadriven/renjin | tools/gnur-runtime/src/main/java/org/renjin/gnur/api/R_ftp_http.java | Java | gpl-2.0 | 3,504 |
package com.breakfast.controllers;
import com.breakfast.constants.IConstants;
import com.breakfast.domain.tables.pojos.Feedback;
import com.breakfast.service.FeedbackService;
import com.core.utils.IMsgUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;... | breakfastTeam/breakfast | src/main/java/com/breakfast/controllers/FeedbackController.java | Java | gpl-2.0 | 1,126 |
/*
Copyright (C) 2017 Barry de Graaff
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 hop... | Zimbra-Community/account-history | extension/src/tk/barrydegraaff/accounthistory/accountHistoryExt.java | Java | gpl-2.0 | 1,136 |
package com.yunruiinfo.iclass.student.adapter;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import com.lidroid.xutils.BitmapUtils;
import com.yunruiinfo.iclass.student.R;
import com.yunruiinfo.iclass.student.bean.Advert;
import com.yunruiinfo.iclass.student.util.UIHelper;
import a... | ChuJianan/iStudent_Android | src/com/yunruiinfo/iclass/student/adapter/ViewPagerBannerAdapter.java | Java | gpl-2.0 | 2,601 |
# peppy Copyright (c) 2006-2009 Rob McMullen
# Licenced under the GPLv2; see http://peppy.flipturn.org for more info
"""Smalltalk programming language editing support.
Major mode for editing Smalltalk files.
Supporting actions and minor modes should go here only if they are uniquely
applicable to this major mode and ... | robmcmullen/peppy | peppy/major_modes/smalltalk.py | Python | gpl-2.0 | 1,557 |
/**
* 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... | andresriancho/Benchmark | src/main/java/org/owasp/benchmark/testcode/BenchmarkTest00287.java | Java | gpl-2.0 | 3,948 |
/*
* Copyright (C) 2008-2010 Surevine Limited.
*
* Although intended for deployment and use alongside Alfresco this module should
* be considered 'Not a Contribution' as defined in Alfresco'sstandard contribution agreement, see
* http://www.alfresco.org/resource/AlfrescoContributionAgreementv2.pdf
*
* This p... | surevine/alfresco-gsa-integration-services | src/test/java/com/surevine/alfresco/webscript/gsa/canuserseeitems/NodeServiceStub.java | Java | gpl-2.0 | 12,143 |
/*
* QTISuperResponse.java
*
* Created on 02/març/2004
*/
package edu.xtec.qv.qti;
import java.util.Iterator;
import java.util.Vector;
import org.jdom.Element;
/**
* @author sarjona
*/
public abstract class QTISuperResponse extends QTISuper {
public QTISuperResponse(String sIdent){
this(sIdent, null, null... | projectestac/qv | qv_editor/src/qti/edu/xtec/qv/qti/QTISuperResponse.java | Java | gpl-2.0 | 5,436 |
package com.darkbit.blog;
import java.util.HashSet;
import java.util.Set;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org... | Ziklon/blog-app | blog-note/src/main/java/com/darkbit/blog/BlogApplication.java | Java | gpl-3.0 | 1,168 |
package masumi.swing;
import masumi.contexts.ExploreProblem;
import masumi.contexts.Main;
import masumi.contexts.ExploreProblem.Interaction;
/**
* Implements the Swing version of the widgets.
*
* @author Mike Charlton
*
*/
public class SwingFactory extends masumi.contexts.InteractionFactory {
@Override
publ... | mikekchar/Masumi | projects/masumi-swing/src/masumi/swing/SwingFactory.java | Java | gpl-3.0 | 612 |
package de.thaso.minichat.db.store.utils;
import de.thaso.minichat.db.common.MiniChatDatabaseException;
import de.thaso.minichat.db.common.MiniChatDbError;
import org.hamcrest.Description;
import org.hamcrest.TypeSafeMatcher;
/**
* MiniChatDatabaseExceptionCodeMatcher
*
* @author thaler
* @since 13.09.16
*/
publ... | athapf/mini-chat | mc-db/mc-db-store/src/test/java/de/thaso/minichat/db/store/utils/MiniChatDatabaseExceptionCodeMatcher.java | Java | gpl-3.0 | 1,202 |
package com.iver.cit.gvsig.export;
import java.sql.Types;
import org.apache.log4j.Logger;
import com.hardcode.driverManager.DriverLoadException;
import com.hardcode.gdbms.driver.exceptions.InitializeWriterException;
import com.hardcode.gdbms.driver.exceptions.ReadDriverException;
import com.iver.andami.PluginService... | iCarto/siga | extCAD/src/com/iver/cit/gvsig/export/PostGISExporter.java | Java | gpl-3.0 | 6,430 |
/**
*
*/
package org.javahispano.javaleague.client;
import org.javahispano.javaleague.client.mvp.AppPlacesHistoryMapper;
import org.javahispano.javaleague.client.mvp.views.FrameWorkPrivateView;
import org.javahispano.javaleague.client.mvp.views.FrameWorkView;
import org.javahispano.javaleague.client.mvp.views.Leagu... | alfonsodou/javaleagueWeb | src/org/javahispano/javaleague/client/ClientFactory.java | Java | gpl-3.0 | 2,464 |
/*
* Copyright (c) 2018 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/>.
*... | meek0/mica2 | mica-core/src/main/java/org/obiba/mica/dataset/service/CollectedDatasetService.java | Java | gpl-3.0 | 18,612 |
/*
* Kchmviewer - a CHM and EPUB file viewer with broad language support
* Copyright (C) 2004-2014 George Yunaev, gyunaev@ulduzsoft.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundatio... | gyunaev/kchmviewer | src/dataprovider_qwebkit.cpp | C++ | gpl-3.0 | 3,262 |
/*
* Copyright (c) 2019 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/>.
*... | obiba/magma | magma-api/src/test/java/org/obiba/magma/support/MagmaEngineVariableResolverTest.java | Java | gpl-3.0 | 2,000 |
"""
Edit LT transects
- fill in gaps along shoreline
- extend lines back behind
"""
import arcpy, os, pythonaddins
sys.path.append(r"\\Mac\Home\Documents\scripting\TransectExtraction") # path to TransectExtraction module
from TransectExtraction import *
# Inputs
site = 'Assawoman'
year = '2012'
arcpy.env.workspace= h... | esturdivant-usgs/plover_transect_extraction | TransectExtraction/archive/pre_prepandas/Pre_EditTransects.py | Python | gpl-3.0 | 1,648 |
package de.danner_web.studip_client.view.subframe;
import java.awt.BorderLayout;
import java.awt.Color;
import java.util.Observable;
import java.util.Observer;
import javax.swing.DefaultListModel;
import javax.swing.JList;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import org.apache.logging.log4j.Log... | CollapsedDom/Stud.IP-Client | core/client/src/main/java/de/danner_web/studip_client/view/subframe/LogView.java | Java | gpl-3.0 | 2,359 |
/* (c) 2014 Open Source Geospatial Foundation - all rights reserved
* (c) 2001 - 2013 OpenPlans
* This code is licensed under the GPL 2.0 license, available at the root
* application directory.
*/
package org.geoserver.wfs.xml;
import java.util.HashSet;
import java.util.Set;
import org.geotools.feature.NameImpl;
... | STEMLab/geoserver-3d-extension | gs-wfs-iso/src/main/java/org/geoserver/wfs/xml/GML2Profile_ISO.java | Java | gpl-3.0 | 1,876 |
/*
* This file is part of OpenSpaceBox.
* Copyright (C) 2019 by Yuri Becker <hi@yuri.li>
*
* OpenSpaceBox 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 o... | CubicVoxel/openspacebox | realm-designer/src/main/java/li/yuri/openspacebox/realmdesigner/view/definitioneditor/content/TypeSelector.java | Java | gpl-3.0 | 3,022 |
/*
* ViewOptionsCommand.java
*
* Copyright (C) 2002-2017 Takis Diakoumis
*
* 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 any later version.
*
* ... | takisd123/executequery | src/org/executequery/actions/viewcommands/ViewOptionsCommand.java | Java | gpl-3.0 | 2,512 |
/*
* Copyright (c) 2017 ELAN e.V.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Public License v3.0
* which accompanies this distribution, and is available at
* http://www.gnu.org/licenses/gpl.html
*/
package de.elanev.studip.android.app.news.d... | elan-ev/StudIPAndroidApp | app/src/main/java/de/elanev/studip/android/app/news/data/repository/InstitutesEntityDataMapper.java | Java | gpl-3.0 | 2,078 |
/*
* Copyright (C) 2018 Tran Le Duy
*
* 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 distri... | tranleduy2000/javaide | app/src/main/java/com/duy/ide/javaide/editor/autocomplete/JavaAutoCompleteProvider.java | Java | gpl-3.0 | 5,342 |
package com.kenny2810.CheeseAndCrackers.Items.Cheese;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item... | kenny2810/Cheese-and-Crackers-Mod | src/main/java/com/kenny2810/CheeseAndCrackers/Items/Cheese/FireResistanceCheese.java | Java | gpl-3.0 | 1,796 |
/**
* Genji Scrum Tool and Issue Tracker
* Copyright (C) 2015 Steinbeis GmbH & Co. KG Task Management Solutions
* <a href="http://www.trackplus.com">Genji Scrum Tool</a>
*
* 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... | trackplus/Genji | src/main/java/com/aurel/track/item/operation/ItemOperationScheduling.java | Java | gpl-3.0 | 8,411 |
package org.jaffa.loader.transaction;
import org.jaffa.loader.XmlLoaderConfig;
import org.jaffa.loader.soa.SoaEventManager;
import org.jaffa.loader.transaction.TransactionManager;
import org.junit.Test;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import static org.junit.Assert.as... | snavaneethan1/jaffa-framework | jaffa-soa/src/test/java/org/jaffa/loader/transaction/TransactionXmlLoadTest.java | Java | gpl-3.0 | 1,820 |
import java.awt.Dimension;
import java.awt.GridBagConstraints;
import java.awt.image.BufferedImage;
import java.io.File;
import javax.swing.ImageIcon;
import javax.swing.JSlider;
import org.apache.pdfbox.pdmodel.PDDocument;
import com.alee.extended.label.WebHotkeyLabel;
import com.alee.laf.WebLookAndFeel;
import com... | frankmauro/PDF-Watermarks-Frames | MyApplication.java | Java | gpl-3.0 | 3,962 |
package de.greifintegra.kontor.einrichten.zentrale.logik;
import java.io.File;
import java.io.IOException;
import java.security.InvalidAlgorithmParameterException;
import java.security.InvalidKeyException;
import java.security.NoSuchAlgorithmException;
import java.security.spec.InvalidParameterSpecException;
import j... | GreifIntegra/Teamhimmel | de/greifintegra/kontor/einrichten/zentrale/logik/ZentraleAktionWebspaceFunktionen.java | Java | gpl-3.0 | 10,001 |
/*
* Copyright (c) 2006-2016 Marvisan Pty. Ltd. All rights reserved.
* Use is subject to license terms.
*/
/*
* DerivativeInstrumentPartyGroup50SP1TestData.java
*
* $Id: DerivativeInstrumentPartyGroup50SP1TestData.java,v 1.1 2011-09-22 08:54:33 vrotaru Exp $
*/
package net.hades.fix.message.grou... | marvisan/HadesFIX | Model/src/test/java/net/hades/fix/message/group/impl/v50sp1/DerivativeInstrumentPartyGroup50SP1TestData.java | Java | gpl-3.0 | 3,910 |
package ch.viascom.groundwork.foxhttp;
import ch.viascom.groundwork.foxhttp.authorization.DefaultAuthorizationStrategy;
import ch.viascom.groundwork.foxhttp.authorization.FoxHttpAuthorizationStrategy;
import ch.viascom.groundwork.foxhttp.component.FoxHttpComponent;
import ch.viascom.groundwork.foxhttp.cookie.DefaultCo... | Viascom/groundwork | foxhttp/src/main/java/ch/viascom/groundwork/foxhttp/FoxHttpClient.java | Java | gpl-3.0 | 4,190 |
/*****************************************************************
* 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-web/src/main/java/org/cgiar/ccafs/marlo/action/json/funding/MapProjectSaveAction.java | Java | gpl-3.0 | 6,171 |
/**
* Ikuspro 1.0
*
* Copyright 2010,
*
* Ivan Mosquera Paulo (ivanmosp@gmail.com)
* Mikel Villamañe Girones (mikel.villamane@ehu.es)
*
* Licensed under the GNU General Public License (*)
*
* (*) Complete information is provided at license.txt
*
**/
package ikuspro.gui;
import ikuspro.co... | ivmos/Ikuspro | src/ikuspro/gui/IUBarraHerramientas.java | Java | gpl-3.0 | 9,469 |
package org.mixare;
import org.kdm.gogonaejangmt.R;
import org.mixare.data.DataSourceStorage;
import org.mixare.plugin.PluginLoader;
import org.mixare.plugin.PluginType;
import android.app.Activity;
import android.content.Intent;
import android.content.pm.ActivityInfo;
import android.os.Bundle;
import android.os.Hand... | kim135797531/GoGo-Mt.NaeJang | src/org/mixare/PluginLoaderActivity.java | Java | gpl-3.0 | 4,064 |
package com.sideprojects.megamanxphantomblade.enemies;
import com.sideprojects.megamanxphantomblade.enemies.actions.*;
import com.sideprojects.megamanxphantomblade.map.MapBase;
import com.sideprojects.megamanxphantomblade.physics.ScriptBase;
import com.sideprojects.megamanxphantomblade.physics.actions.FlyTowardsMoving... | hoangbv15/PhantomBlade | core/src/com/sideprojects/megamanxphantomblade/enemies/EnemyScript.java | Java | gpl-3.0 | 1,706 |
/* GeoGen - Programmable height map generator
Copyright (C) 2015 Matej Zabsky
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 ver... | mzabsky/geogen | src/GeoGen/corelib/HeightProfileCropFunctionDefinition.cpp | C++ | gpl-3.0 | 3,159 |
package com.learning.gcs.gateway.service.impl;
import com.learning.gcs.common.entity.GcsTask;
import com.learning.gcs.gateway.bean.TaskStatus;
import com.learning.gcs.gateway.service.GcsTaskService;
import com.learning.gcs.gateway.service.TaskStatusService;
import org.springframework.beans.factory.annotation.Autowired... | wanxkl/gcs | gateway/src/main/java/com/learning/gcs/gateway/service/impl/TaskStatusServiceImpl.java | Java | gpl-3.0 | 1,339 |
# -*- coding: utf-8 -*-
# home made test
from __future__ import division
import xc_base
import geom
import xc
from solution import predefined_solutions
from model import predefined_spaces
from materials import typical_materials
__author__= "Luis C. Pérez Tato (LCPT) and Ana Ortega (AOO)"
__copyright__= "Copyright 201... | lcpt/xc | verif/tests/elements/crd_transf/test_pdelta_crd_transf_3d_01.py | Python | gpl-3.0 | 1,995 |
/*
* Copyright (c) 1998-2014 by Richard A. Wilkes. All rights reserved.
*
* This Source Code Form is subject to the terms of the Mozilla Public License,
* version 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/.
*
* This Source Code Form is "Incom... | smithkm/gcs | src/com/trollworks/gcs/library/LibraryExplorerDockable.java | Java | mpl-2.0 | 16,667 |
/*********************************************************************************
* Ephesoft is a Intelligent Document Capture and Mailroom Automation program
* developed by Ephesoft, Inc. Copyright (C) 2015 Ephesoft Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the term... | ungerik/ephesoft | Ephesoft_Community_Release_4.0.2.0/source/gxt/gxt-system-config/src/main/java/com/ephesoft/gxt/systemconfig/client/view/layout/SystemConfigLayout.java | Java | agpl-3.0 | 6,629 |
// +build windows
/*
Nging is a toolbox for webmasters
Copyright (C) 2021-present Wenhui Shen <swh@admpub.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 the Free Software Foundation, either version 3 ... | admpub/nging | application/library/flock/helper_windows.go | GO | agpl-3.0 | 1,121 |
package nodomain.freeyourgadget.gadgetbridge.devices.miband;
import java.util.HashMap;
import java.util.Map;
import java.util.UUID;
import static nodomain.freeyourgadget.gadgetbridge.service.btle.AbstractBTLEDeviceSupport.BASE_UUID;
public class MiBandService {
public static final String MAC_ADDRESS_FILTER_1_1... | scifiswapnil/gadgetbridge_artikcloud | app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/miband/MiBandService.java | Java | agpl-3.0 | 9,482 |
/**
* Copyright (C) 2001-2020 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 ... | rapidminer/rapidminer-studio | src/main/java/com/rapidminer/gui/wizards/ExampleSourceConfigurationWizardDataTable.java | Java | agpl-3.0 | 2,931 |
/*
* WeaponObjectImplementation.cpp
*
* Created on: 30/07/2009
* Author: victor
*/
#include "server/zone/objects/tangible/weapon/WeaponObject.h"
#include "server/zone/packets/tangible/WeaponObjectMessage3.h"
#include "server/zone/packets/tangible/WeaponObjectMessage6.h"
#include "server/zone/objects/creatur... | lasko2112/legend-of-hondo | MMOCoreORB/src/server/zone/objects/tangible/weapon/WeaponObjectImplementation.cpp | C++ | agpl-3.0 | 21,728 |
/*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.hibernate.test.bytecode.enhancement.ondemandload;
import java.math.Big... | 1fechner/FeatureExtractor | sources/FeatureExtractor/lib/hibernate-release-5.1.0.Final/project/hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/ondemandload/Inventory.java | Java | lgpl-2.1 | 1,705 |
/**
* Copyright (c) 2010-present Abixen Systems. 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 ... | inallib/abixen-platform | abixen-platform-business-intelligence-service/src/main/java/com/abixen/platform/businessintelligence/chart/service/impl/FileDataSourceServiceImpl.java | Java | lgpl-2.1 | 5,286 |
/**
* ***************************************************************
* Agent.GUI is a framework to develop Multi-agent based simulation
* applications based on the JADE - Framework in compliance with the
* FIPA specifications.
* Copyright (C) 2010 Christian Derksen and DAWIS
* http://www.dawis.wiwi.uni-due.de... | EnFlexIT/AgentWorkbench | eclipseProjects/org.agentgui/bundles/de.enflexit.common/src/de/enflexit/common/csv/CsvDataControllerPanel.java | Java | lgpl-2.1 | 10,563 |
/**
* 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 Public... | zsoltii/dss | validation-policy/src/main/java/eu/europa/esig/dss/validation/process/MessageTag.java | Java | lgpl-2.1 | 20,824 |
/*!
* 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 can ob... | EgorZhuk/pentaho-reporting | designer/report-designer/src/main/java/org/pentaho/reporting/designer/core/editor/drilldown/basic/SelfDrillDownController.java | Java | lgpl-2.1 | 4,262 |
/**
* 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-asic-xades/src/test/java/eu/europa/esig/dss/asic/xades/extension/asice/ASiCeExtensionWithXAdESInvalidLevelsTest.java | Java | lgpl-2.1 | 6,156 |
/*******************************************************************************
* 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-instances/src/test/java/jsprit/instance/reader/ChristophidesReaderTest.java | Java | lgpl-3.0 | 4,238 |
/*
* SonarQube
* Copyright (C) 2009-2019 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... | Godin/sonar | server/sonar-server/src/test/java/org/sonar/server/user/ws/HomepageTypesImplTest.java | Java | lgpl-3.0 | 3,525 |
/**********
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 of the License, or (at your
option) any later version. (See <http://www.gnu.org/copyleft/lesser.html>.)
This librar... | DeeHants/liveMedia | testProgs/testMPEG2TransportStreamSplitter.cpp | C++ | lgpl-3.0 | 2,302 |
package com.sirma.itt.seip.definition;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import javax.enterprise.context.ApplicationScoped;
import javax.inject.Inject;
import org.apache.commons.lang3.StringUtils;
import org.slf4... | SirmaITT/conservation-space-1.7.0 | docker/sirma-platform/platform/seip-parent/model-management/definition-core/src/main/java/com/sirma/itt/seip/definition/MutableDefinitionServiceImpl.java | Java | lgpl-3.0 | 10,656 |
package com.dnihilu.chroniko;
public abstract class BoardPS extends BoardScrolling {
/**
*
*/
private static final long serialVersionUID = -1415150153604536533L;
protected TypePS type;
protected int numLanes;
protected boolean fret[];
protected double hitWindow = 0.1;
public BoardPS(Chroniko game, Ty... | dNihil/Chroniko | src/com/dnihilu/chroniko/BoardPS.java | Java | lgpl-3.0 | 908 |
/*
* SoftVis3D Sonar plugin
* Copyright (C) 2014 Stefan Rinderle
* stefan@rinderle.info
*
* 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, or (at... | stefanrinderle/sonar-softvis3d-plugin | src/test/java/de/rinderle/softvis3d/TestTreeBuilder.java | Java | lgpl-3.0 | 2,866 |
package repack.org.bouncycastle.asn1.crmf;
import repack.org.bouncycastle.asn1.ASN1Encodable;
import repack.org.bouncycastle.asn1.ASN1EncodableVector;
import repack.org.bouncycastle.asn1.ASN1Sequence;
import repack.org.bouncycastle.asn1.ASN1TaggedObject;
import repack.org.bouncycastle.asn1.DERInteger;
import repack.or... | SafetyCulture/DroidText | app/src/main/java/bouncycastle/repack/org/bouncycastle/asn1/crmf/CertId.java | Java | lgpl-3.0 | 1,638 |
/*
* SonarQube
* Copyright (C) 2009-2016 SonarSource SA
* mailto:contact 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... | joansmith/sonarqube | sonar-db/src/test/java/org/sonar/db/purge/period/IntervalTest.java | Java | lgpl-3.0 | 4,352 |
/*
* Sonar, open source software quality management tool.
* Copyright (C) 2008-2011 SonarSource
* mailto:contact AT sonarsource DOT com
*
* Sonar 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; e... | leodmurillo/sonar | plugins/sonar-core-plugin/src/test/java/org/sonar/plugins/core/charts/DistributionBarChartTest.java | Java | lgpl-3.0 | 4,147 |
/*
* 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/issue/IssueStorage.java | Java | lgpl-3.0 | 5,981 |
package org.opennaas.core.resources.capability;
import org.opennaas.core.resources.ResourceException;
import org.opennaas.core.resources.descriptor.CapabilityDescriptor;
/**
* @author Scott Campbell (CRC)
*
*/
public class CapabilityException extends ResourceException {
private static final long serialVersionUI... | dana-i2cat/opennaas-routing-nfv | core/resources/src/main/java/org/opennaas/core/resources/capability/CapabilityException.java | Java | lgpl-3.0 | 1,157 |
#include <sol.hpp>
#include <BWAPI.h>
#include "Interface.h"
#include "IsInstance.h"
using namespace BWAPI;
namespace BWAPI_Lua
{
void bindRegion(sol::table module)
{
sol::simple_usertype<RegionInterface> region = module.create_simple_usertype<RegionInterface>(
sol::meta_function::construct, sol::no_constructo... | squeek502/BWAPI-Lua | src/bindings/Region.cpp | C++ | lgpl-3.0 | 1,558 |
/*
* Copyright (c) 2015 NOVA, All rights reserved.
* This library is free software, licensed under GNU Lesser General Public License version 3
*
* This file is part of NOVA.
*
* NOVA is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* ... | NOVA-Team/NOVA-Core | wrappers/minecraft/1.11.2/core-1.11.2/src/main/java/nova/core/wrapper/mc/forge/v1_11_2/wrapper/item/OreDictionaryIntegration.java | Java | lgpl-3.0 | 3,642 |
/**
* 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... | nandakumar131/hadoop | hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-router/src/main/java/org/apache/hadoop/yarn/server/router/clientrm/FederationClientInterceptor.java | Java | apache-2.0 | 40,882 |
/**
* Copyright (C) 2015 Orange
* 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, s... | Orange-OpenSource/elpaaso-core | cloud-paas/cloud-paas-webapp/cloud-paas-webapp-war/src/test/java/com/francetelecom/clara/cloud/presentation/utils/AuthenticationUtil.java | Java | apache-2.0 | 2,309 |
/*
* Copyright 2012-2019 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | lburgazzoli/spring-boot | spring-boot-samples/spring-boot-sample-actuator-custom-security/src/test/java/sample/actuator/customsecurity/CorsSampleActuatorApplicationTests.java | Java | apache-2.0 | 3,219 |
// DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
//
// Copyright 2016-2018 Pascal ECHEMANN.
//
// 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.apac... | pechemann/jec-glasscat-core | utils/test-utils/utilities/EjpConfigValidatorTestUtils.ts | TypeScript | apache-2.0 | 7,816 |
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.usageView;
import com.intellij.openapi.components.ServiceManager;
import com.intellij.openapi.project.Project;
import com.intellij.ui.content.Content;
import... | consulo/consulo | modules/base/lang-api/src/main/java/com/intellij/usageView/UsageViewManager.java | Java | apache-2.0 | 1,327 |
/*
* Copyright 2010-2016 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... | ambasta/aws-sdk-cpp | aws-cpp-sdk-storagegateway/source/model/DescribeSnapshotScheduleResult.cpp | C++ | apache-2.0 | 1,969 |
package eu.inmite.lib.spayd.android.adapter;
import android.content.Context;
import android.content.Intent;
import android.os.Build;
import eu.inmite.lib.spayd.android.ISpaydIntentAdapter;
import eu.inmite.lib.spayd.android.IntentConstants;
import eu.inmite.lib.spayd.reader.SpaydReader;
import org.jetbrains.annotation... | inmite/spayd-sdk | spayd-android/src/main/java/eu/inmite/lib/spayd/android/adapter/NfcIntentAdapter.java | Java | apache-2.0 | 1,084 |
package org.ovirt.engine.core.common.vdscommands;
import org.ovirt.engine.core.compat.*;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
//C# TO JAVA CONVERTER TODO TASK: Java annot... | anjalshireesh/gluster-ovirt-poc | backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/vdscommands/IsVmDuringInitiatingVDSCommandParameters.java | Java | apache-2.0 | 1,024 |
/*
* 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 ... | haoch/kylin | core-storage/src/main/java/org/apache/kylin/storage/cache/CacheFledgedStaticQuery.java | Java | apache-2.0 | 3,139 |
/* 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, software
* distributed... | menski/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/cmd/SetProcessDefinitionVersionCmd.java | Java | apache-2.0 | 11,388 |
package com.google.android.apps.common.testing.ui.espresso;
import static com.jameswald.skinnylatte.common.base.Preconditions.checkNotNull;
import static com.jameswald.skinnylatte.common.base.Preconditions.checkState;
import com.google.android.apps.common.testing.testrunner.UsageTrackerRegistry;
import com.google.and... | jameswald/skinny-latte | espresso/src/main/java/com/google/android/apps/common/testing/ui/espresso/GraphHolder.java | Java | apache-2.0 | 1,919 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.