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 1998-2015 Epic Games, Inc. All Rights Reserved.
#include "SurvivalGame.h"
#include "SUsableActor.h"
ASUsableActor::ASUsableActor(const class FObjectInitializer& ObjectInitializer)
: Super(ObjectInitializer)
{
MeshComp = ObjectInitializer.CreateDefaultSubobject<UStaticMeshComponent>(this, TEXT("Mesh"))... | mpopova/unreal-clothing | SurvivalGame/Source/SurvivalGame/Private/Items/SUsableActor.cpp | C++ | mit | 694 |
package ru.vyarus.dropwizard.guice.module.lifecycle.internal;
import com.google.inject.Injector;
import io.dropwizard.Configuration;
import io.dropwizard.setup.Bootstrap;
import io.dropwizard.setup.Environment;
import org.glassfish.jersey.internal.inject.InjectionManager;
import ru.vyarus.dropwizard.guice.module.conte... | xvik/dropwizard-guicey | src/main/java/ru/vyarus/dropwizard/guice/module/lifecycle/internal/EventsContext.java | Java | mit | 2,488 |
// Copyright 2019 The Gitea Authors. All rights reserved.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
package files
import (
"context"
"fmt"
"code.gitea.io/gitea/models"
asymkey_model "code.gitea.io/gitea/models/asymkey"
repo_model "code.gitea.io/gitea... | go-gitea/gitea | services/repository/files/commit.go | GO | mit | 2,721 |
// +build !go1.7
package kami
import (
"net/http"
"github.com/dimfeld/httptreemux"
"github.com/zenazn/goji/web/mutil"
"golang.org/x/net/context"
)
var (
// Context is the root "god object" from which every request's context will derive.
Context = context.Background()
// Cancel will, if true, automatically ca... | guregu/kami | globalmux_old.go | GO | mit | 2,487 |
#ifndef _SWAY_INPUT_INPUT_MANAGER_H
#define _SWAY_INPUT_INPUT_MANAGER_H
#include <libinput.h>
#include <wlr/types/wlr_input_inhibitor.h>
#include <wlr/types/wlr_keyboard_shortcuts_inhibit_v1.h>
#include <wlr/types/wlr_virtual_keyboard_v1.h>
#include <wlr/types/wlr_virtual_pointer_v1.h>
#include "sway/server.h"
#include... | 1ace/sway | include/sway/input/input-manager.h | C | mit | 2,312 |
package pl.java.borowiec.interceptor;
import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.After;
import org.aspectj.lang.annotation.Around;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import o... | przodownikR1/springMvcStartKata | personalBlogCore/src/main/java/pl/java/borowiec/interceptor/ServicePerformanceLogger.java | Java | mit | 1,062 |
// Copyright (c) Shivam Mukherjee 2017
#include "TL4_TestingGrounds.h"
#include "BallProjectile.h"
#include "Player/FirstPersonCharacter.h"
#include "Components/SkeletalMeshComponent.h"
#include "Animation/AnimInstance.h"
#include "Kismet/GameplayStatics.h"
#include "MotionControllerComponent.h"
#include "Gun.h"
// ... | ShivamMukherjee/TL4_TestingGrounds | TL4_TestingGrounds/Source/TL4_TestingGrounds/Weapons/Gun.cpp | C++ | mit | 3,715 |
import React from 'react';
import getOwnerDocument from 'dom-helpers/ownerDocument';
import getOwnerWindow from 'dom-helpers/ownerWindow';
function ownerDocument(componentOrElement) {
let elem = React.findDOMNode(componentOrElement);
return getOwnerDocument((elem && elem.ownerDocument) || document);
}
function ow... | bbc/react-bootstrap | src/utils/domUtils.js | JavaScript | mit | 1,204 |
package com.vsm.stockmarket.controller;
import java.util.ArrayList;
import java.util.List;
import javax.inject.Inject;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
imp... | GurudathReddy/stock-market-game | src/main/java/com/vsm/stockmarket/controller/LeagueController.java | Java | mit | 6,379 |
package de.ptb.epics.eve.editor.views.motoraxisview.addmultiplycomposite;
import javax.xml.datatype.DatatypeConfigurationException;
import javax.xml.datatype.DatatypeFactory;
import javax.xml.datatype.Duration;
import org.apache.log4j.Logger;
import org.eclipse.jface.dialogs.Dialog;
import org.eclipse.swt.SWT;
import... | eveCSS/eveCSS | bundles/de.ptb.epics.eve.editor/src/de/ptb/epics/eve/editor/views/motoraxisview/addmultiplycomposite/DurationSelectorDialog.java | Java | epl-1.0 | 3,138 |
/**
* Copyright (c) 2014 Laboratoire de Genie Informatique et Ingenierie de Production - Ecole des Mines d'Ales
*
* 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
* ... | francoispfister/diagraph | org.isoe.diagraph.parser.api/src/org/isoe/diagraph/parser/api/IDiagraphNode.java | Java | epl-1.0 | 3,146 |
/*
* Copyright (c) 2013 Cisco Systems, Inc. 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
*/
package org.... | 522986491/yangtools | yang/yang-data-impl/src/main/java/org/opendaylight/yangtools/yang/data/impl/schema/transform/dom/parser/UnkeyedListEntryNodeDomParser.java | Java | epl-1.0 | 1,733 |
/*******************************************************************************
* Copyright (c) 2011, 2016 Eurotech 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
* which accompanies this distributi... | markcullen/kura_Windows | kura/org.eclipse.kura.web/src/main/java/org/eclipse/kura/web/shared/service/GwtNetworkService.java | Java | epl-1.0 | 2,789 |
/*
* 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 | selenium/che-selenium-test/src/test/java/org/eclipse/che/selenium/workspaces/CreateWorkspaceOnDashboardTest.java | Java | epl-1.0 | 4,618 |
/**
* 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.ui/src/org/eclipse/n4js/ui/navigator/internal/N4JSNavigatorActionProvider.java | Java | epl-1.0 | 3,933 |
package com.odcgroup.page.ui.figure.table;
import org.apache.commons.lang.StringUtils;
import org.eclipse.draw2d.ColorConstants;
import org.eclipse.draw2d.Graphics;
import org.eclipse.draw2d.geometry.Point;
import org.eclipse.draw2d.geometry.Rectangle;
import org.eclipse.swt.graphics.Image;
import com.odcgroup.page.m... | debabratahazra/DS | designstudio/components/page/ui/com.odcgroup.page.ui/src/main/java/com/odcgroup/page/ui/figure/table/TableColumnCombobox.java | Java | epl-1.0 | 2,021 |
package demo.controller;
import demo.service.ChannelsManager;
import demo.service.UsersManager;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.messaging.core.MessageSendingOperations;... | nithril/whisper | src/main/java/demo/controller/LoginController.java | Java | gpl-2.0 | 2,053 |
/*
Copyright (c) 2015 Joe Davisson.
This file is part of Rendera.
Rendera 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.
Rendera is distr... | Mortis69/rendera | src/Fill.H | C++ | gpl-2.0 | 1,036 |
package io.github.illyohs.itsbecauseuhasnogoodspawn.command;
import net.minecraft.command.CommandBase;
import net.minecraft.command.CommandException;
import net.minecraft.command.ICommandSender;
import net.minecraft.server.MinecraftServer;
/**
* Created by anthony on 1/28/17.
*/
public class PlaceIslandPosCMD exten... | Illyohs/ItsBecauseUHasNoGoodSpawn | src/main/java/io/github/illyohs/itsbecauseuhasnogoodspawn/command/PlaceIslandPosCMD.java | Java | gpl-2.0 | 710 |
#ifndef STATUS_H
#define STATUS_H
#include <stdio.h>
#include "string-list.h"
#include "color.h"
enum color_wt_status {
WT_STATUS_HEADER = 0,
WT_STATUS_UPDATED,
WT_STATUS_CHANGED,
WT_STATUS_UNTRACKED,
WT_STATUS_NOBRANCH,
WT_STATUS_UNMERGED,
};
enum untracked_status_type {
SHOW_NO_UNTRACKED_FILES,
SHOW_NORMAL... | schacon/git | wt-status.h | C | gpl-2.0 | 1,451 |
package de.tum.bgu.msm.data;
import de.tum.bgu.msm.container.SiloDataContainer;
/**
* Interface to store zonal, county and regional data used by the SILO Model
* @author Ana Moreno and Rolf Moeckel, Technical University of Munich
* Created on 5 April 2017 in Munich
**/
public interface geoDataI {
public voi... | key2000/SILO_JP_03 | src/main/java/de/tum/bgu/msm/data/geoDataI.java | Java | gpl-2.0 | 1,260 |
package nl.larsdenbakker.operation.procedure;
import nl.larsdenbakker.storage.Storage;
import nl.larsdenbakker.operation.operations.Operation;
import nl.larsdenbakker.operation.OperationContext;
import nl.larsdenbakker.app.InvalidInputException;
import nl.larsdenbakker.util.OperationResponse;
/**
* A type of Operati... | LarsDenBakker/LBCoreModules | src/main/java/nl/larsdenbakker/operation/procedure/Procedure.java | Java | gpl-2.0 | 984 |
package me.guichaguri.additionaltools;
import com.intellij.openapi.components.PersistentStateComponent;
import com.intellij.openapi.components.ServiceManager;
import com.intellij.openapi.components.Storage;
import com.intellij.openapi.components.StoragePathMacros;
import me.guichaguri.additionaltools.ATService.State;
... | Guichaguri/AdditionalTools | src/me/guichaguri/additionaltools/ATService.java | Java | gpl-2.0 | 1,075 |
package de.umg.mi.idrt.ioe.OntologyTree;
import org.eclipse.jface.viewers.ITreeContentProvider;
import org.eclipse.jface.viewers.Viewer;
import de.umg.mi.idrt.ioe.view.OntologyEditorView;
public class TreeTargetContentProvider implements ITreeContentProvider {
private OntologyTreeContentProvider model;
public Tr... | tmfev/IDRT-Import-and-Mapping-Tool | de.umg.mi.idrt.ioe/src/de/umg/mi/idrt/ioe/OntologyTree/TreeTargetContentProvider.java | Java | gpl-2.0 | 2,056 |
/**
* 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/BenchmarkTest11041.java | Java | gpl-2.0 | 3,133 |
/*
GNU LESSER GENERAL PUBLIC LICENSE
Copyright (C) 2006 The Lobo 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/HTML_Renderer/org/lobobrowser/html/renderer/BaseControl.java | Java | gpl-2.0 | 2,314 |
package org.freeplane.main.mindmapmode;
import java.awt.Component;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.net.MalformedURLException;
import java.net.URL;
imp... | systemovich/freeplane | freeplane/src/main/java/org/freeplane/main/mindmapmode/UpdateCheckAction.java | Java | gpl-2.0 | 19,158 |
/* PANDA -- a simple transaction monitor
Copyright (C) 1998-1999 Ogochan.
2000-2003 Ogochan & JMA (Japan Medical Association).
2002-2006 OZAWA Sakuro.
This module is part of PANDA.
PANDA is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY. No author or dist... | montsuqi/monsiaj | src/main/java/org/montsuqi/monsiaj/monsia/builders/RadioButtonBuilder.java | Java | gpl-2.0 | 1,808 |
#ifndef LOCOPDF_H_
#define LOCOPDF_H_
#include <Epdf.h>
#define FIT_WIDTH 0
#define FIT_HEIGHT 1
#define FIT_BEST 2
#define FIT_STRETCH 3
#define FIT_NO 4
char *get_theme_file();
int get_win_width();
int get_win_height();
double get_zoom_inc();
void set_zoom_inc(double newzoominc);
double get_hpan_inc();
void set_hp... | quickhand/locopdf | src/locopdf.h | C | gpl-2.0 | 1,133 |
package edu.wayne.cs.severe.redress2.utils;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.util.HashMap;
import javax.xml.xpath.XPath;
import javax.xml.xpath.XPathConstants;
import javax.xml.xpath.XPathExpression;
import javax.xml.xpath.XPathExpression... | BIORIMP/biorimp | BIO-RIMP/src/main/java/edu/wayne/cs/severe/redress2/utils/XpathSrcMLUtils.java | Java | gpl-2.0 | 1,767 |
/*
* Copyright (C) Mojang AB
* All rights reserved.
*/
package kk.freecraft.network.play.server;
import java.io.IOException;
import kk.freecraft.entity.Entity;
import kk.freecraft.network.INetHandler;
import kk.freecraft.network.Packet;
import kk.freecraft.network.PacketBuffer;
import kk.freecraft.network.play.INet... | KubaKaszycki/FreeCraft | src/main/java/kk/freecraft/network/play/server/S19PacketEntityHeadLook.java | Java | gpl-3.0 | 1,603 |
package com.bios21.frankencraft.block;
import com.bios21.frankencraft.Frankencraft;
import com.bios21.frankencraft.reference.Reference;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.clie... | bios21/FrankenCraft | src/main/java/com/bios21/frankencraft/block/BaseBlockFC.java | Java | gpl-3.0 | 1,535 |
//Copyright (c) 2011 Municipalidad de Rosario and Coop. de Trabajo Tecso Ltda.
//This file is part of SIAT. SIAT is licensed under the terms
//of the GNU General Public License, version 3.
//See terms in COPYING file or <http://www.gnu.org/licenses/gpl.txt>
package ar.gov.rosario.siat.ef.view.struts;
import javax.ser... | avdata99/SIAT | siat-1.0-SOURCE/src/view/src/WEB-INF/src/ar/gov/rosario/siat/ef/view/struts/AdministrarSolicitudEmiPerRetroDAction.java | Java | gpl-3.0 | 11,390 |
// -*- Mode: Go; indent-tabs-mode: t -*-
/*
* Copyright (C) 2016 Canonical Ltd
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 3 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope tha... | morphis/snapd | interfaces/builtin/timeserver_control_test.go | GO | gpl-3.0 | 3,431 |
/*
This file is part of solidity.
solidity 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.
solidity is distributed in the hope that i... | bobsummerwill/solidity | test/tools/ossfuzz/yulFuzzerCommon.cpp | C++ | gpl-3.0 | 2,076 |
package com.github.bordertech.wcomponents;
import com.github.bordertech.wcomponents.util.StreamUtil;
import java.awt.Dimension;
import java.io.IOException;
import java.util.Arrays;
import org.junit.Assert;
import org.junit.Test;
/**
* ImageResource - Unit tests for {@link ImageResource}.
*
* @author Yi... | Joshua-Barclay/wcomponents | wcomponents-core/src/test/java/com/github/bordertech/wcomponents/ImageResource_Test.java | Java | gpl-3.0 | 2,103 |
/*
* Copyright (c) 2017 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/>.
*... | Rima-B/mica2 | mica-rest/src/main/java/org/obiba/mica/dataset/rest/PublishedDatasetResource.java | Java | gpl-3.0 | 1,431 |
package at.bitsworking.android.colorpicker.widget;
import android.content.Context;
import android.content.res.TypedArray;
import android.os.Parcel;
import android.os.Parcelable;
import android.preference.Preference;
import android.util.AttributeSet;
import android.view.View;
import at.bitsworking.android.colorpicker.... | metachris/android-color-picker | android/src/at/bitsworking/android/colorpicker/widget/ColorPickerPreference.java | Java | gpl-3.0 | 3,727 |
/*
* Pixel Dungeon
* Copyright (C) 2012-2015 Oleg Dolya
*
* Shattered Pixel Dungeon
* Copyright (C) 2014-2015 Evan Debenham
*
* 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 ver... | FthrNature/unleashed-pixel-dungeon | src/main/java/com/shatteredpixel/pixeldungeonunleashed/scenes/BadgesScene.java | Java | gpl-3.0 | 3,276 |
/* This file is part of gPHPEdit, a GNOME2 PHP Editor.
Copyright (C) 2003, 2004, 2005 Andy Jeffries <andy at gphpedit.org>
Copyright (C) 2009 Anoop John <anoop dot john at zyxware.com>
For more information or to find the latest release, visit our
website at http://www.gphpedit.org/
gPHPEdit is ... | anoopjohn/gphpedit | src/edit_template.c | C | gpl-3.0 | 3,031 |
/*
This file is part of Internationumber
Internationumber 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.
Internationu... | ninetwozero/internationumber | src/com/ninetwozero/internationumber/abstractions/AbstractListFragment.java | Java | gpl-3.0 | 1,274 |
/**
* This file is part of C.T.M.Droid.
*
* C.T.M.Droid 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.
*
* C.T.M.Droid is dist... | simoneloru/CTMDroid | CTMDroid/src/it/simoneloru/ctmdroid/activities/MainActivity.java | Java | gpl-3.0 | 8,198 |
# Copyright (c) 2017, Frappe Technologies Pvt. Ltd. and contributors
# For license information, please see license.txt
import json
import frappe
from frappe import _
from frappe.model.document import Document
from erpnext.controllers.queries import item_query
class RestaurantOrderEntry(Document):
pass
@frappe.w... | mhbu50/erpnext | erpnext/restaurant/doctype/restaurant_order_entry/restaurant_order_entry.py | Python | gpl-3.0 | 3,029 |
/*
Copyright 2014 ISTI-CNR
This file is part of SmartFed.
SmartFed 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.
SmartFed is distribut... | ecarlini/smartfed | src/it/cnr/isti/smartfed/metascheduler/test/junit/SimpleTest.java | Java | gpl-3.0 | 6,424 |
package org.sigmah.client.page.admin.model.common.importation;
import java.util.ArrayList;
import java.util.List;
import org.sigmah.client.dispatch.Dispatcher;
import org.sigmah.client.dispatch.monitor.MaskingAsyncMonitor;
import org.sigmah.client.i18n.I18N;
import org.sigmah.client.icon.IconImageBundle;
imp... | Polfo/sigma-h | sigmah/src/main/java/org/sigmah/client/page/admin/model/common/importation/AdminImportationSchemeModelsView.java | Java | gpl-3.0 | 20,641 |
// datamodel specific includes
#include "ExampleWithVectorMember.h"
#include "ExampleWithVectorMemberConst.h"
#include "ExampleWithVectorMemberObj.h"
#include "ExampleWithVectorMemberData.h"
#include "ExampleWithVectorMemberCollection.h"
#include <iostream>
ExampleWithVectorMember::ExampleWithVectorMember() : m_obj... | cbernet/podio | examples/src/ExampleWithVectorMember.cc | C++ | gpl-3.0 | 2,721 |
/**
Copyright (C) 2012 Delcyon, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope ... | jahnje/delcyon-capo | java/com/delcyon/capo/datastream/SocketFinalizer.java | Java | gpl-3.0 | 1,124 |
//Copyright (c) 2011 Municipalidad de Rosario and Coop. de Trabajo Tecso Ltda.
//This file is part of SIAT. SIAT is licensed under the terms
//of the GNU General Public License, version 3.
//See terms in COPYING file or <http://www.gnu.org/licenses/gpl.txt>
package ar.gov.rosario.siat.def.iface.model;
import ar.gov.... | avdata99/SIAT | siat-1.0-SOURCE/src/iface/src/ar/gov/rosario/siat/def/iface/model/AtributoVO.java | Java | gpl-3.0 | 1,703 |
package com.e451.rest.config;
import com.e451.rest.security.AuthEntryPoint;
import com.e451.rest.security.JwtAuthFilter;
import com.e451.rest.security.JwtTokenUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.conte... | 8451/code-service | src/main/java/com/e451/rest/config/WebSecurityConfig.java | Java | gpl-3.0 | 4,348 |
package org.mysat.persistence.entities;
import java.io.Serializable;
import org.mysat.persistence.entities.ifc.IdInterface;
/**
* The persistent class for the PERSONA_FISICA_ESTUDIANTE database table.
*
*/
/*@Entity
@Table(name="PERSONA_FISICA_ESTUDIANTE")
@NamedQuery(name="PersonaFisicaEstudiante.findAll", que... | erickvla/mySat | src/org/mysat/persistence/entities/PersonaFisicaEstudiante.java | Java | gpl-3.0 | 1,464 |
package fr.utt.if26.uttcoins.io;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import org.json.JSONException;
import org.json.JSONObject;
import android.util.Log;
import fr.utt.if26.uttcoins.error.CustomServerException;
import fr.utt.if26.utt... | steven89/if26_projet | _CLIENT/src/fr/utt/if26/uttcoins/io/JSONHandler.java | Java | gpl-3.0 | 1,460 |
package cn.kane.jvm.chap8.classLoader;
import java.io.File;
import java.lang.reflect.Method;
import cn.kane.jvm.Announce;
import cn.kane.jvm.chap8.classLoader.selfLoad.SayHiClient;
public class TestEntrance {
/**
* @param args
* @throws Exception
*/
public static void main(String[] args) throws Exception ... | kane-chen/jdkBaseTest | src/main/java/cn/kane/jvm/chap8/classLoader/TestEntrance.java | Java | gpl-3.0 | 1,233 |
/*
Copyright (C) 2010-2018 The ESPResSo project
Copyright (C) 2002,2003,2004,2005,2006,2007,2008,2009,2010
Max-Planck-Institute for Polymer Research, Theory Group
This file is part of ESPResSo.
ESPResSo is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public ... | hmenke/espresso | src/core/bonded_interactions/subt_lj.cpp | C++ | gpl-3.0 | 1,244 |
/*******************************************************************************
* Copyright (c) 2012 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 Licen... | apruden/opal | opal-gwt-client/src/main/java/org/obiba/opal/web/gwt/app/client/magma/view/ValueSequencePopupView.java | Java | gpl-3.0 | 8,820 |
/*
* 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-data-generator/src/main/java/org/obiba/magma/datasource/generated/DefaultVariableValueGeneratorFactory.java | Java | gpl-3.0 | 1,663 |
/**
* OpenKM, Open Document Management System (http://www.openkm.com)
* Copyright (c) 2006-2015 Paco Avila & Josep Llort
*
* No bytes were intentionally harmed during the development of this application.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Ge... | papamas/DMS-KANGREG-XI-MANADO | src/main/java/com/openkm/frontend/client/widget/massive/CategoriesPopup.java | Java | gpl-3.0 | 12,255 |
/*
Copyright (C) 1998 BJ Eirich (aka vecna)
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... | sparky4/16 | 16/v2/source/ENGINE/VC.H | C++ | gpl-3.0 | 1,450 |
/**
* Copyright (c) 2015, The National Archives
* http://www.nationalarchives.gov.uk
*
* 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/.
*/
package uk.gov.nati... | nationalarchives/taxonomy | taxonomy-common/src/test/java/uk/gov/nationalarchives/discovery/taxonomy/common/service/impl/TrainingSetServiceTest.java | Java | mpl-2.0 | 5,688 |
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/GeneratePythonLauncher.java | Java | mpl-2.0 | 1,069 |
package com.xenoage.zong.musicxml.types;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;
import com.xenoage.utils.annotations.NonNull;
import com.xenoage.utils.xml.XmlReader;
import com.xenoage.utils.xml.XmlWriter;
import com.xenoage.zong.musicxml.types.attributes.MxlEmptyTrillSound;
imp... | Xenoage/Zong | musicxml/src/com/xenoage/zong/musicxml/types/MxlTrillMark.java | Java | agpl-3.0 | 1,106 |
/*
* This file is part of gwap, an open platform for games with a purpose
*
* Copyright (C) 2013
* Project play4science
* Lehr- und Forschungseinheit für Programmier- und Modellierungssprachen
* Ludwig-Maximilians-Universität München
*
* This program is free software: you can redistribute it and/or modify
* i... | play4science/gwap | src/hot/gwap/game/CombineGameSessionBean.java | Java | agpl-3.0 | 4,629 |
/*
* Copyright (c) 2017 Villu Ruusmann
*
* This file is part of JPMML-SkLearn
*
* JPMML-SkLearn 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 opt... | jpmml/jpmml-sklearn | pmml-sklearn/src/main/java/sklearn/feature_extraction/text/CountVectorizer.java | Java | agpl-3.0 | 8,057 |
package com.x.cms.assemble.control.jaxrs.queryviewdesign;
import com.x.base.core.container.EntityManagerContainer;
import com.x.base.core.container.factory.EntityManagerContainerFactory;
import com.x.base.core.entity.annotation.CheckRemoveType;
import com.x.base.core.project.cache.CacheManager;
import com.x.base.core.... | o2oa/o2oa | o2server/x_cms_assemble_control/src/main/java/com/x/cms/assemble/control/jaxrs/queryviewdesign/ActionDelete.java | Java | agpl-3.0 | 1,441 |
package org.geomajas.layer.wms.feature;
import java.io.IOException;
import java.io.InputStream;
import javax.xml.namespace.QName;
import javax.xml.stream.FactoryConfigurationError;
import javax.xml.stream.XMLInputFactory;
import javax.xml.stream.XMLStreamException;
import javax.xml.stream.XMLStreamReader;
import org... | lat-lon/geomajas | plugin/geomajas-layer-wms/wms/src/main/java/org/geomajas/layer/wms/feature/NumberOfFeaturesInEnvelopeFromWfsRetriever.java | Java | agpl-3.0 | 4,061 |
package com.puresoltechnologies.purifinity.server.plugin.fortran2008.metrics;
import java.util.ArrayList;
import java.util.List;
import com.puresoltechnologies.parsers.ust.UniversalSyntaxTree;
import com.puresoltechnologies.purifinity.server.metrics.spi.LanguageDependedCodeDepthMetric;
/**
* This is the actual impl... | PureSolTechnologies/Purifinity | analysis/server/plugins/fortran2008/ejb/src/main/java/com/puresoltechnologies/purifinity/server/plugin/fortran2008/metrics/CodeDepthMetricImpl.java | Java | agpl-3.0 | 1,636 |
package io.hops.hopsworks.admin.lims;
import java.io.Serializable;
import javax.ejb.EJB;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;
import javax.faces.context.FacesContext;
import javax.servlet.http.HttpServletRequest;
import io.hops.hopsworks.common.dao.project.Project;
import io.hops... | FilotasSiskos/hopsworks | hopsworks-admin/src/main/java/io/hops/hopsworks/admin/lims/ClientSessionState.java | Java | agpl-3.0 | 2,092 |
package com.tesora.dve.sql.schema.cache;
/*
* #%L
* Tesora Inc.
* Database Virtualization Engine
* %%
* Copyright (C) 2011 - 2014 Tesora Inc.
* %%
* 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 ... | Tesora/tesora-dve-pub | tesora-dve-core/src/main/java/com/tesora/dve/sql/schema/cache/SchemaSourceFactory.java | Java | agpl-3.0 | 4,294 |
// Copyright 2019 Canonical Ltd.
// Licensed under the AGPLv3, see LICENCE file for details.
package upgrades_test
import (
jc "github.com/juju/testing/checkers"
"github.com/juju/version"
gc "gopkg.in/check.v1"
"github.com/juju/juju/testing"
"github.com/juju/juju/upgrades"
)
var v26 = version.MustParse("2.6.0"... | wallyworld/juju | upgrades/steps_26_test.go | GO | agpl-3.0 | 976 |
package i18n
import (
"bytes"
"sort"
"strings"
"golang.org/x/text/collate"
"golang.org/x/text/language"
"golang.org/x/text/unicode/norm"
)
// i18nSorted is a stuct which satisfies the sort interface for sorting
// strings alphabetically according to locale
type i18nSorter struct {
toBeSorted []int... | admpub/nging | vendor/github.com/admpub/i18n/sort.go | GO | agpl-3.0 | 3,655 |
package edu.northwestern.bioinformatics.johaml.freemarker;
import edu.northwestern.bioinformatics.johaml.EngineBase;
import freemarker.core.Environment;
import freemarker.core.TemplateElement;
import freemarker.core.HamlAdapterPseudoTemplateElement;
import freemarker.template.Configuration;
import freemarker.template.... | rsutphin/johaml | bridge/src/main/java/edu/northwestern/bioinformatics/johaml/freemarker/TemplateBase.java | Java | lgpl-2.1 | 2,771 |
package soot.jimple.spark.builder;
/*-
* #%L
* Soot - a J*va Optimization Framework
* %%
* Copyright (C) 2003 Ondrej Lhotak
* %%
* 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, e... | plast-lab/soot | src/main/java/soot/jimple/spark/builder/GlobalNodeFactory.java | Java | lgpl-2.1 | 5,217 |
/*
* Copyright (C) 2008 ZXing 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 agr... | jwzhuang/Android_H264Viewer | src/com/laomo/zxing/decode/CaptureActivityHandler.java | Java | lgpl-2.1 | 6,519 |
/*
Freebox QtCreator plugin for QML application development.
This library is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
published by the Free Software Foundation; either version 2.1 of the
License, or (at your option) any later version.... | fbx/freebox-qtcreator-plugin | src/processsignaloperation.cc | C++ | lgpl-2.1 | 1,258 |
package com.salesmanager.shop.admin.controller;
import java.io.Serializable;
public class SearchPortfolioRequest implements Serializable{
/**
*
*/
private static final long serialVersionUID = 7628206082788384642L;
private String searchFor;
private String searchBy;
private String searchString;
public Strin... | rambabu0006/onesevenhome | one7homeWar/src/main/java/com/salesmanager/shop/admin/controller/SearchPortfolioRequest.java | Java | lgpl-2.1 | 723 |
package dmillerw.packagemod.network;
import net.minecraft.network.packet.Packet;
import net.minecraft.server.management.PlayerInstance;
import net.minecraft.server.management.PlayerManager;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.world.World;
import net.minecraft.world.WorldServer;
import net.... | dmillerw/Package | src/main/java/dmillerw/packagemod/network/VanillaPacketHelper.java | Java | lgpl-3.0 | 1,152 |
package de.invesdwin.nowicket.examples.guide.page.wicket.ajaxdatatable;
import java.util.Date;
import javax.annotation.concurrent.NotThreadSafe;
import de.invesdwin.norva.beanpath.annotation.ColumnOrder;
import de.invesdwin.norva.beanpath.spi.element.table.column.TableRemoveFromButtonColumnBeanPathElement;
import de... | subes/invesdwin-nowicket | invesdwin-nowicket-examples/invesdwin-nowicket-examples-guide/src/main/java/de/invesdwin/nowicket/examples/guide/page/wicket/ajaxdatatable/AjaxDataTableRow.java | Java | lgpl-3.0 | 2,146 |
/*
* 3D City Database - The Open Source CityGML Database
* http://www.3dcitydb.org/
*
* (C) 2013 - 2015,
* Chair of Geoinformatics,
* Technische Universitaet Muenchen, Germany
* http://www.gis.bgu.tum.de/
*
* The 3D City Database is jointly developed with the following
* cooperation partners:
* ... | virtualcitySYSTEMS/importer-exporter | src/org/citydb/gui/factory/CheckBoxListDecorator.java | Java | lgpl-3.0 | 5,545 |
/*
* Copyright 2012 Oliver Siegmar
*
* This file is part of Billomat4J.
*
* Billomat4J 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 ... | osiegmar/billomat4j | src/integrationTest/java/integrationtest/deliverynote/DeliveryNoteCommentIT.java | Java | lgpl-3.0 | 2,679 |
/**
*
* Copyright (C) 2019-2021 The Talipot developers
*
* Talipot is a fork of Tulip, created by David Auber
* and the Tulip development Team from LaBRI, University of Bordeaux
*
* See the AUTHORS file at the top-level directory of this distribution
* License: GNU General Public License version 3, or any late... | anlambert/tulip | plugins/view/PixelOrientedView/POLIB/GraphDimension.cpp | C++ | lgpl-3.0 | 3,898 |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package nova.core.wrapper.mc17.recipes;
import net.minecraft.inventory.InventoryCrafting;
import net.minecraft.item.ItemStack;
import... | Victorious3/NovaCore | minecraft/1.7/src/main/java/nova/core/wrapper/mc17/recipes/ShapelessRecipeBasic.java | Java | lgpl-3.0 | 1,391 |
/**
* 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... | RMarinDTI/CloubityRepo | Servicio-portlet/docroot/WEB-INF/service/es/davinciti/liferay/model/ConnectionDataSoap.java | Java | unlicense | 7,417 |
/*
* 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 ... | gyfora/flink | flink-runtime/src/main/java/org/apache/flink/runtime/taskmanager/NettyShuffleEnvironmentConfiguration.java | Java | apache-2.0 | 14,632 |
/*
* 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 ... | WANdisco/s3hdfs | src/test/java/com/wandisco/s3hdfs/rewrite/filter/TestMetadata.java | Java | apache-2.0 | 6,998 |
package fr.eurecom.dsg.mapreduce;
import java.io.IOException;
import java.util.StringTokenizer;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.conf.Configured;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.io.LongWritable;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.... | bigfootproject/datascience | mr/src/fr/eurecom/dsg/mapreduce/WordCountCombiner.java | Java | apache-2.0 | 3,044 |
/*
* 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
* distribut... | gbif/checklistbank | checklistbank-common/src/main/java/org/gbif/checklistbank/registry/EmptyNetworkEntityService.java | Java | apache-2.0 | 6,431 |
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.model.content;
import com.yahoo.documentmodel.NewDocumentType;
import java.util.ArrayList;
import java.util.Collection;
import java.util.LinkedHashMap;
import java.util.List;
import java.ut... | vespa-engine/vespa | config-model/src/main/java/com/yahoo/vespa/model/content/TopologicalDocumentTypeSorter.java | Java | apache-2.0 | 1,890 |
package day18.serialize;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
/**
* 객체를 파일로 출력하는 ... | nnoco/playground | design-patterns/HeadFirst Design Patterns/src/day18/serialize/ObjectStreamHandler.java | Java | apache-2.0 | 941 |
/*
Copyright 2013 Nationale-Nederlanden, 2021 WeAreFrank!
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... | ibissource/iaf | core/src/main/java/nl/nn/adapterframework/jta/SpringTxManagerProxy.java | Java | apache-2.0 | 4,836 |
/**
* JBoss, Home of Professional Open Source.
* Copyright 2014 Red Hat, Inc., and individual contributors
* as indicated by the @author tags.
*
* 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 Lice... | michalszynkiewicz/pnc | rest/src/main/java/org/jboss/pnc/rest/endpoint/ProductReleaseEndpoint.java | Java | apache-2.0 | 11,763 |
package org.openxava.test.model;
import java.math.*;
import java.util.*;
import javax.persistence.*;
import org.openxava.annotations.*;
import org.openxava.jpa.*;
/**
* Example of a reference used as key that
* as well have a reference used as key. <p>
*
* Also the reference is overlapped with a key property.
... | jecuendet/maven4openxava | dist/openxava/workspace/OpenXavaTest/pojo-src/org/openxava/test/model/TransportCharge2.java | Java | apache-2.0 | 2,788 |
/*
* Copyright 2000-2014 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... | ernestp/consulo | platform/platform-impl/src/com/intellij/ide/plugins/PluginManagerConfigurable.java | Java | apache-2.0 | 7,431 |
/*
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, ... | MHBauer/service-catalog | test/fake/serviceinstances.go | GO | apache-2.0 | 3,337 |
package com.sappadev.simplewebangular.conf;
import com.sappadev.simplewebangular.data.repositories.CustomerRepository;
import com.sappadev.simplewebangular.res.CustomMessageSource;
import org.dozer.DozerBeanMapper;
import org.dozer.Mapper;
import org.springframework.context.MessageSource;
import org.springframework.c... | ir73/simple-web-angular | backend/src/main/java/com/sappadev/simplewebangular/conf/ApplicationConfig.java | Java | apache-2.0 | 1,803 |
/**
* 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... | linkedin/pinot | pinot-core/src/main/java/org/apache/pinot/core/minion/rollup/MergeRollupSegmentConverter.java | Java | apache-2.0 | 6,732 |
// Copyright 2014-2021 Aerospike, Inc.
//
// 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 t... | aerospike/aerospike-client-go | query_objects_executor.go | GO | apache-2.0 | 2,790 |
package info.u250.c2d.tests.android;
import info.u250.c2d.engine.Engine;
import info.u250.c2d.tests.C2dTests;
import android.os.Bundle;
import android.view.View;
import android.widget.RelativeLayout;
import com.badlogic.gdx.ApplicationListener;
import com.badlogic.gdx.backends.android.AndroidApplication;
im... | shiguang1120/c2d-engine | c2d-tests-android/src/info/u250/c2d/tests/android/C2dTestActivity.java | Java | apache-2.0 | 2,527 |
/*
* JaamSim Discrete Event Simulation
* Copyright (C) 2013 Ausenco Engineering Canada Inc.
* Copyright (C) 2016 JaamSim Software Inc.
*
* 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
... | jaamsim/jaamsim | src/main/java/com/jaamsim/ProbabilityDistributions/ContinuousDistribution.java | Java | apache-2.0 | 4,981 |
package com.bentech.android.appcommons;
import android.app.Application;
import android.util.Log;
import com.bentech.android.appcommons.config.AppCommonsConfiguration;
import com.bentech.android.appcommons.config.AppCommonsDefaultConfiguration;
/**
* Created by Daniel on 07/11/2015.
*/
public class AppCommons {
... | bendaniel10/appcommons | app/src/main/java/com/bentech/android/appcommons/AppCommons.java | Java | apache-2.0 | 1,222 |
/*
* Copyright (C) 2013-2017 microG Project Team
*
* 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 ... | microg/android_packages_apps_GmsCore | play-services-core/src/main/java/org/microg/tools/selfcheck/RomSpoofSignatureChecks.java | Java | apache-2.0 | 3,753 |
/*
* 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 ... | alanfgates/hive | ql/src/test/org/apache/hadoop/hive/ql/parse/TestMacroSemanticAnalyzer.java | Java | apache-2.0 | 5,258 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.