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
package br.gov.fabricasocial.controllers; import java.util.List; import javax.servlet.http.HttpServletRequest; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.RequestMapping; import br.gov.fabricasocial.dao.RelatorioDAO; import br...
FabricaSocial/siag
siag/src/main/java/br/gov/fabricasocial/controllers/RelatoriosController.java
Java
gpl-2.0
1,244
package com.dibellastudios.goosengine.slotbean; import java.util.ArrayList; import java.util.List; import java.util.Map; import org.apache.commons.math3.random.MersenneTwister; import org.apache.commons.math3.random.RandomGenerator; import com.dibellastudios.goosengine.handler.GooseHandler; import com.dibellastudios...
dibek/queengame
src/main/java/com/dibellastudios/goosengine/slotbean/GenericGooseBoard.java
Java
gpl-2.0
5,208
/** * Copyright (C) 2016 Weibo Inc. * * This file is part of Opendcp. * * Opendcp is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; version 2 of the License. * * Opendcp is distributed...
weibocom/opendcp
jupiter/controllers/slb.go
GO
gpl-2.0
23,815
package org.nwnx.nwnx2.jvm.constants; /** * This class contains all unique constants beginning with "SPELLABILITY_PULSE_ABILITY". * Non-distinct keys are filtered; only the LAST appearing was * kept. */ public final class SpellabilityPulseAbility { private SpellabilityPulseAbility() {} public final static int ...
Baaleos/nwnx2-linux
plugins/jvm/java/src/org/nwnx/nwnx2/jvm/constants/SpellabilityPulseAbility.java
Java
gpl-2.0
1,377
/** * SirfDecoder * * takes an InputStream and interpret layer 3 and layer 4. Than make * callbacks to the receiver witch ahas to implement SirfMsgReceiver * * @version $Revision: 1.4 $$ ($Name: $) * @autor Harald Mueller james22 at users dot sourceforge dot net * Copyright (C) 2007 Harald Mueller */ packag...
janrose/gpsmid
src/de/ueller/gps/data/Satelit.java
Java
gpl-2.0
2,059
#!/usr/bin/python # -*- coding: UTF-8 -*- import xbmcgui import xbmcplugin import os import xbmcaddon import sys import datetime def addImageLink(name,url): addon = xbmcaddon.Addon(id='plugin.image.icm') iconimage=os.path.join(addon.getAddonInfo('path'),"icon.png") liz=xbmcgui.ListItem(unicode(name), icon...
skudi/plugin.image.icm
addon.py
Python
gpl-2.0
1,450
/* Copyright (c) 2015, Yiju Wei. HAMR is a Frame let you use annotations to describe and execute a MapReduce process. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the Lice...
citymonkeymao/hamr
src/main/java/hamr/core/general/partitioner/GeneralPartitioner.java
Java
gpl-3.0
1,572
package com.ojcoleman.europa.util; import java.util.concurrent.Executors; import java.util.concurrent.ThreadFactory; import java.util.concurrent.atomic.AtomicInteger; /** * ThreadFactory to create daemon threads. Uses the factory given by {@link Executors#defaultThreadFactory()} to create the threads, then makes the...
OliverColeman/europa
src/main/java/com/ojcoleman/europa/util/DaemonThreadFactory.java
Java
gpl-3.0
918
/* * Copyright (C) 2021 Emeric Poupon * * This file is part of LMS. * * LMS 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. * ...
epoupon/lms
src/libs/services/scrobbling/impl/ScrobblingService.hpp
C++
gpl-3.0
4,342
package dialogues.vocableactions; import factories.FrameFactory; import factories.ObserveableFactory; import gui.DictionaryMainWindow; import gui.JTextFieldWithContextMenu; import java.awt.Color; import java.awt.Font; import java.awt.GridLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener...
Garrin/xiaolong-dictionary
src/dialogues/vocableactions/DeleteMultipleVocablesDialogue.java
Java
gpl-3.0
10,690
package org.portalmirror.refresher.common.web.freemarker.utils; import com.liferay.portal.kernel.language.LanguageUtil; import com.liferay.portal.kernel.util.HtmlUtil; import com.liferay.portal.kernel.util.JavaConstants; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.ui.Mode...
elmozgo/PortalMirror
portalmirror-refresher-portlet/src/main/java/org/portalmirror/refresher/common/web/freemarker/utils/FreemarkerValueUtil.java
Java
gpl-3.0
1,319
/************************************************************************* * Copyright 2009-2014 Eucalyptus Systems, 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; version 3 of the ...
acmyonghua/eucalyptus
clc/modules/cloudformation/src/main/java/com/eucalyptus/cloudformation/resources/standard/actions/AWSCloudFormationStackResourceAction.java
Java
gpl-3.0
17,725
//By GER.Cmd.buildgcc CreateDate:2008-4-28 16:08:39 #ifndef _YPKList_H_ #define _YPKList_H_ struct MSG_YPKLIST { char CardNumber[8]; char BeginDate[8]; char EndDate[8]; char Status[10]; }; #define YPKListSTRLENGTH 34 void InitMsgYPKList(void); struct MSG_YPKLIST *GetMsgYPKList(v...
moyuanming/NWeight
src/parameter/include/ParameterYPKList.h
C
gpl-3.0
1,030
/* * Syncany, www.syncany.org * Copyright (C) 2011-2015 Philipp C. Heckel <philipp.heckel@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 3 of the License, or ...
syncany/syncany-plugin-gui
src/main/java/org/syncany/config/to/GuiConfigTO.java
Java
gpl-3.0
3,089
/* * Copyright (c) 2017 Michael Schoene. * * 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 d...
mrs2207/owfs
src/test/java/de/jgard/onewire/service/JowfsClientTests.java
Java
gpl-3.0
3,015
/******************************************************************************* * Copyright 2011-2014 by SirSengir * * This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License. * * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/3.0/...
ThiagoGarciaAlves/ForestryMC
src/main/java/forestry/pipes/network/PacketHandlerPipes.java
Java
gpl-3.0
3,497
# -*- coding: utf-8 -*- import os, logging from celery import Celery from redis import StrictRedis, exceptions from flask import Flask app = Flask(__name__, instance_relative_config=True) app.config.from_object('config') app.config.from_pyfile('config.py') # configure logging logging.basicConfig( filename=app.config...
marcusmchale/breedcafs
app/__init__.py
Python
gpl-3.0
1,878
package it.emarolab.owloop.descriptor.utility.objectPropertyDescriptor; import it.emarolab.amor.owlInterface.OWLReferences; import it.emarolab.owloop.descriptor.construction.descriptorEntitySet.ObjectProperties; import it.emarolab.owloop.descriptor.construction.descriptorGround.ObjectPropertyGround; import it.emarolab...
EmaroLab/owloop
src/main/java/it/emarolab/owloop/descriptor/utility/objectPropertyDescriptor/RestrictionObjectPropertyDesc.java
Java
gpl-3.0
6,596
package com.droid.activitys.eliminateprocess; import java.io.BufferedReader; import java.io.FileReader; import java.text.DecimalFormat; import java.util.List; import android.annotation.SuppressLint; import android.app.Activity; import android.app.ActivityManager; import android.app.ActivityManager.MemoryInfo; import ...
Evan-Galvin/FreeStreams-TVLauncher
src/com/droid/activitys/eliminateprocess/EliminateMainActivity.java
Java
gpl-3.0
6,493
/* * Copyright 2019 Kerbaya Software * * This file is part of headlamp. * * headlamp 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...
Kerbaya/headlamp
headlamp/headlamp-impl/src/test/java/com/kerbaya/headlamp/AdeIdentityService.java
Java
gpl-3.0
2,668
package ar.com.dcsys.gwt.ws.server; import javax.servlet.http.HttpSession; import javax.websocket.HandshakeResponse; import javax.websocket.server.HandshakeRequest; import javax.websocket.server.ServerEndpointConfig; /** * Configura un websocket para todas las llamadas a la misma url. * hace el binding de la sessio...
pablodanielrey/java
gwt/utils/webSocketGWT/src/main/java/ar/com/dcsys/gwt/ws/server/WebsocketsConfigurator.java
Java
gpl-3.0
1,161
/* * HarvesterDroid - A Resource Tracker for Star Wars Galaxies * Copyright (C) 2017 Waverunner * * 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 * (a...
Waverunner/HarvesterDroid
application/src/main/java/com/lewisjmorgan/harvesterdroid/app/ui/schematics/SchematicsViewModel.java
Java
gpl-3.0
6,221
/******************************************************************************* * Copyright 2012 * FG Language Technologie * Technische Universitaet Darmstadt * * 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...
timfeu/berkeleycoref-thesaurus
src/main/java/org/jobimtext/api/db/DatabaseResource.java
Java
gpl-3.0
4,744
/* * Copyright (C) Mojang AB * All rights reserved. */ package kk.freecraft.network.play.server; import java.io.IOException; import kk.freecraft.network.INetHandler; import kk.freecraft.network.Packet; import kk.freecraft.network.PacketBuffer; import kk.freecraft.network.play.INetHandlerPlayClient; import kk.freecr...
KubaKaszycki/FreeCraft
src/main/java/kk/freecraft/network/play/server/S28PacketEffect.java
Java
gpl-3.0
2,015
/** * Copyright (C) 2001-2016 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 the...
transwarpio/rapidminer
rapidMiner/rapidminer-studio-core/src/main/java/com/rapidminer/operator/io/RepositorySource.java
Java
gpl-3.0
4,690
/* * 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 sfs; import java.io.IOException; import javax.servlet.FilterChain; import javax.servlet.FilterConfig; import javax.servlet.Se...
AYD-2-GRPX-2015/SimpleFaqSystem
src/java/sfs/FaqUploadFilter.java
Java
gpl-3.0
1,088
package com.github.master0r0.horseplus; import com.github.master0r0.horseplus.Commands.CommandHorsePlus; import com.github.master0r0.horseplus.Intergration.PermsExIntergration; import com.github.master0r0.horseplus.Intergration.VaultApiIntergration; import com.github.master0r0.horseplus.Listeners.RegisterListeners; im...
Master0r0/HorsePlus
src/com/github/master0r0/horseplus/HorsePlus.java
Java
gpl-3.0
1,698
/* * Zirco Browser for Android * * Copyright (C) 2010 J. Devauchelle and contributors. * * 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 th...
udo-tech-team/ShadowsocksProxy
src/org/shadowsocks/zirco/ui/activities/EditBookmarkActivity.java
Java
gpl-3.0
3,031
/* * Diacomp - Diabetes analysis & management system * Copyright (C) 2013 Nikita Bosik * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your op...
bosik/diacomp
portable/comp-server/src/main/java/org/bosik/diacomp/web/frontend/wicket/components/diary/meal/DiaryPanelMeal.java
Java
gpl-3.0
3,003
#pragma once /* This file is part of Imagine. Imagine 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. Imagine is distributed in the ...
thededman/emu-ex-plus-alpha
imagine/include/imagine/gfx/RenderTarget.hh
C++
gpl-3.0
1,046
// Mantid Repository : https://github.com/mantidproject/mantid // // Copyright &copy; 2018 ISIS Rutherford Appleton Laboratory UKRI, // NScD Oak Ridge National Laboratory, European Spallation Source // & Institut Laue - Langevin // SPDX - License - Identifier: GPL - 3.0 + #include "EnggDiffGSASFittingWorker.h" ...
mganeva/mantid
qt/scientific_interfaces/EnggDiffraction/EnggDiffGSASFittingWorker.cpp
C++
gpl-3.0
1,386
/* * MongoWorkBench is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * Free Software Foundation,version 3. * * MongoWorkBench is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implie...
aw20/MongoWorkBench
src/org/aw20/mongoworkbench/eclipse/dialog/MPasswordDialog.java
Java
gpl-3.0
3,809
/* * Copyright (c) 2016 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/mica2
mica-search/src/main/java/org/obiba/mica/study/search/StudyIndexer.java
Java
gpl-3.0
3,306
/** * */ package ai.aitia.test.meme.paramsweep.platform.mason.recording; import static org.junit.Assert.*; import java.io.File; import java.util.ArrayList; import java.util.List; import org.junit.Test; import sim.engine.SimState; import sim.util.Bag; import ai.aitia.meme.paramsweep.batch.output.RecorderInfo; imp...
lgulyas/MEME
PlatformPlugins/MasonPlugin-16/ai/aitia/test/meme/paramsweep/platform/mason/recording/RecordingHelperTest.java
Java
gpl-3.0
4,621
package es.usc.citius.servando.calendula.persistence.typeSerializers; import com.j256.ormlite.field.FieldType; import com.j256.ormlite.field.SqlType; import com.j256.ormlite.field.types.BaseDataType; import com.j256.ormlite.support.DatabaseResults; import org.joda.time.LocalTime; import org.joda.time.format.DateTimeF...
paulle/calendula
Calendula/src/main/java/es/usc/citius/servando/calendula/persistence/typeSerializers/LocalTimePersister.java
Java
gpl-3.0
1,480
/* * This file is part of the Raster Storage Archive (RSA). * * The RSA 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. * * The...
VPAC/rsa
src/storagemanager/test/org/vpac/ndg/task/ExporterTest.java
Java
gpl-3.0
6,753
/* cursus - Race series management program Copyright 2012, 2014 Simon Arlott 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 lat...
lp0/cursus-core
src/test/java/uk/me/sa/cursus/app/ExportSPKASeries2010.java
Java
agpl-3.0
1,064
/* jBilling - The Enterprise Open Source Billing System Copyright (C) 2003-2011 Enterprise jBilling Software Ltd. and Emiliano Conde This file is part of jbilling. jbilling 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 Fre...
WebDataConsulting/billing
src/java/com/sapienter/jbilling/server/security/WSSecurityMethodMapper.java
Java
agpl-3.0
6,624
/* * ################################################################ * * ProActive Parallel Suite(TM): The Java(TM) library for * Parallel, Distributed, Multi-Core Computing for * Enterprise Grids & Clouds * * Copyright (C) 1997-2011 INRIA/University of * Nice-Sophia Antipolis/ActiveEon ...
acontes/scheduling
performance/src/org/ow2/proactive/tests/performance/scheduler/TestSchedulerProxy.java
Java
agpl-3.0
13,907
package com.tesora.dve.sql.raw; /* * #%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 the Free ...
Tesora/tesora-dve-pub
tesora-dve-core/src/main/java/com/tesora/dve/sql/raw/EnumConverter.java
Java
agpl-3.0
2,771
/* * Copyright (C) 2000 - 2011 Silverpeas * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. * * As a spec...
stephaneperry/Silverpeas-Components
almanach/almanach-ejb/src/main/java/com/stratelia/webactiv/almanach/control/ejb/ICal4JEventOccurrencesGenerator.java
Java
agpl-3.0
14,029
/*! * 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 ...
EgorZhuk/pentaho-reporting
engine/core/src/main/java/org/pentaho/reporting/engine/classic/core/designtime/DesignTimeDataSchemaModel.java
Java
lgpl-2.1
10,171
/* * JBoss, Home of Professional Open Source. * Copyright 2006, 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...
jbossws/jbossws-cxf
modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/jbws1843/JBWS1843TestCase.java
Java
lgpl-2.1
4,745
package to.etc.domui.component.layout; import org.eclipse.jdt.annotation.NonNull; import org.eclipse.jdt.annotation.Nullable; import to.etc.domui.component.buttons.DefaultButton; import to.etc.domui.component.buttons.LinkButton; import to.etc.domui.component.menu.IUIAction; import to.etc.domui.component.misc.IIconRef;...
fjalvingh/domui
to.etc.domui/src/main/java/to/etc/domui/component/layout/IButtonBar.java
Java
lgpl-2.1
5,091
/** * Copyright (C) 2008 - OQube / Arnaud Bailly Licensed under MIT open-source * license: see http://www.opensource.org/licenses/mit-license.php Created 30 * sept. 08 */ package oqube.muse.web; import java.io.ByteArrayInputStream; import java.io.File; import java.io.FileFilter; import java.io.FileInputStream; imp...
abailly/muse-parser
muse-web/src/main/java/oqube/muse/web/MuseFeedPage.java
Java
lgpl-2.1
1,498
/** * Copyright © 2002 Instituto Superior Técnico * * This file is part of FenixEdu Academic. * * FenixEdu Academic 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...
legidio/fenixedu-academic
src/main/java/org/fenixedu/academic/domain/curricularRules/executors/ruleExecutors/ExclusivenessExecutor.java
Java
lgpl-3.0
7,229
package nif.j3d.particles; import nif.j3d.NiToJ3dData; import nif.niobject.particle.NiPSysGrowFadeModifier; public class J3dNiPSysGrowFadeModifier extends J3dNiPSysModifier { public J3dNiPSysGrowFadeModifier(NiPSysGrowFadeModifier niPSysGrowFadeModifier, NiToJ3dData niToJ3dData) { super(niPSysGrowFadeMod...
philjord/jnifj3d
jnifj3d/src/nif/j3d/particles/J3dNiPSysGrowFadeModifier.java
Java
lgpl-3.0
633
/* * 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/test/java/org/sonar/server/computation/task/projectanalysis/step/PersistProjectLinksStepTest.java
Java
lgpl-3.0
8,714
/** * DynamicReports - Free Java reporting library for creating reports dynamically * * Copyright (C) 2010 - 2012 Ricardo Mariaca * http://dynamicreports.sourceforge.net * * This file is part of DynamicReports. * * DynamicReports is free software: you can redistribute it and/or modify * it under the terms of t...
robcowell/dynamicreports
dynamicreports-core/src/test/java/net/sf/dynamicreports/test/jasper/subreport/Subreport5Test.java
Java
lgpl-3.0
3,756
/** * DynamicReports - Free Java reporting library for creating reports dynamically * * Copyright (C) 2010 - 2015 Ricardo Mariaca * http://www.dynamicreports.org * * This file is part of DynamicReports. * * DynamicReports is free software: you can redistribute it and/or modify * it under the terms of ...
svn2github/dynamicreports-jasper
dynamicreports-core/src/main/java/net/sf/dynamicreports/design/base/style/DRDesignParagraph.java
Java
lgpl-3.0
4,035
package config import ( "github.com/caarlos0/env" ) func init() { env.Parse(&cfg) } // Configuration is the struct that holds the values of the network configuration // env and envDefault are required by env library // it corresponds with the os environment variable name and also its default value if omitted type ...
ethersphere/go-ethereum
vendor/github.com/rnsdomains/rns-go-lib/config/config.go
GO
lgpl-3.0
1,019
/* * Sonar, open source software quality management tool. * Copyright (C) 2008-2012 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...
jmecosta/sonar
sonar-plugin-api/src/main/java/org/sonar/api/workflow/internal/DefaultWorkflow.java
Java
lgpl-3.0
4,823
/* * SonarQube, open source software quality management tool. * Copyright (C) 2008-2013 SonarSource * mailto:contact AT sonarsource DOT com * * SonarQube 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 Found...
xinghuangxu/xinghuangxu.sonarqube
sonar-batch/src/main/java/org/sonar/batch/scan/ProjectScanContainer.java
Java
lgpl-3.0
7,217
package testitemrendering.blocks; import testitemrendering.TestItemRenderingMod; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.item.ItemBlock; import net.minecraft.util.Icon; /* This is the item that corresponds to BlockPyramid. */ public class ItemBlockPyramid extends ItemBlock { public Ite...
TheGreyGhost/ItemRendering
src/TestItemRendering/blocks/ItemBlockPyramid.java
Java
unlicense
707
package com.bumptech.glide.supportapp.stackoverflow._31867322_generate_bitmap; import java.io.IOException; import android.content.Context; import android.graphics.Bitmap; import com.bumptech.glide.Glide; import com.bumptech.glide.load.ResourceDecoder; import com.bumptech.glide.load.engine.Resource; import com.bumpte...
TWiStErRob/glide-support
src/glide3/java/com/bumptech/glide/supportapp/stackoverflow/_31867322_generate_bitmap/GenerateBitmapResourceDecoder.java
Java
unlicense
1,424
package kr.spring.batch.chapter07.test; import kr.spring.batch.chapter07.Product; import kr.spring.batch.chapter07.ProductFieldSetMapper; import lombok.extern.slf4j.Slf4j; import org.springframework.batch.core.configuration.annotation.EnableBatchProcessing; import org.springframework.batch.core.configuration.annotatio...
debop/spring-batch-experiments
chapter07/src/test/java/kr/spring/batch/chapter07/test/FlatFileReaderConfiguration.java
Java
unlicense
2,122
""" <Program Name> example_client.py <Author> Vladimir Diaz <vladimir.v.diaz@gmail.com> <Started> January 9, 2015. <Copyright> See LICENSE for licensing information. <Purpose> Example script demonstrating custom python code a software updater utilizing The Update Framework may write to securely update f...
theupdateframework/pep-maximum-security-model
pep-0480-repository/client/example_client.py
Python
unlicense
2,457
package org.aries.registry; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import net.sf.ehcache.Ehcache; import net.sf.ehcache.Element; import org.aries.cache.AbstractCachePeer; import org.aries.process.ProcessKey; import org.aries.process.ProcessState; import org.aries.process.Proces...
tfisher1226/ARIES
aries/aries-registry/src/main/java/org/aries/registry/BeanRegistryImpl.java
Java
apache-2.0
5,957
package com.wan.cropper.cropwindow; import android.content.Context; import android.graphics.Canvas; import android.graphics.Paint; import android.graphics.Rect; import android.util.AttributeSet; import android.util.DisplayMetrics; import android.util.Pair; import android.util.TypedValue; import android.view.MotionEven...
peerlesszh/GestureCropper
src/com/wan/cropper/cropwindow/CropOverlayView.java
Java
apache-2.0
15,905
/* * Copyright 2012-present Facebook, 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...
illicitonion/buck
src/com/facebook/buck/jvm/java/PrebuiltJar.java
Java
apache-2.0
10,387
package com.daedafusion.aniketos.services; import com.daedafusion.aniketos.exceptions.ServiceErrorException; import com.daedafusion.aniketos.framework.ServerAuthorization; import com.daedafusion.sf.ServiceFramework; import com.daedafusion.sf.ServiceFrameworkException; import com.daedafusion.sf.ServiceFrameworkFactory;...
daedafusion/aniketos
aniketos-core/src/main/java/com/daedafusion/aniketos/services/AuthorizationService.java
Java
apache-2.0
2,256
// Copyright (c) 2018 Intel Corporation // // 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 ag...
intelsdi-x/swan
experiments/krico/krico-metric-gathering/main.go
GO
apache-2.0
3,285
/* * Copyright 2017 Netflix, 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 to...
spinnaker/orca
orca-clouddriver/src/main/java/com/netflix/spinnaker/orca/clouddriver/tasks/servergroup/AbstractBulkServerGroupTask.java
Java
apache-2.0
6,845
package org.whale.system.spring; import java.io.IOException; import java.io.InputStream; import java.io.PushbackInputStream; import java.lang.reflect.Type; import java.util.List; import javax.servlet.http.HttpServletRequest; import org.springframework.core.MethodParameter; import org.springframework.http.HttpInputMe...
fywxin/base
system-parent/system-common/src/main/java/org/whale/system/spring/ReqRespBodyProcessor.java
Java
apache-2.0
2,865
package ch.timesplinter.sfo4j.reader; import java.io.IOException; import java.io.InputStream; import ch.timesplinter.sfo4j.common.SFOUtilities; public class SFOIndexTableEntry { public final static int INDEX_TABLE_ENTRY_LENGTH = 16; private short offsetKeyNameInKeyTable; private byte dataAlignmentR...
psychowood/YAHapp
android/app/src/main/java/ch/timesplinter/sfo4j/reader/SFOIndexTableEntry.java
Java
apache-2.0
3,846
/* * Copyright 2016-present Facebook, 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...
shybovycha/buck
test/com/facebook/buck/apple/AppleLibraryDescriptionTest.java
Java
apache-2.0
5,659
package com.example.loveweather.db; import android.content.Context; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteDatabase.CursorFactory; import android.database.sqlite.SQLiteOpenHelper; public class LoveWeatherOpenHelper extends SQLiteOpenHelper { /* * ·Ö±ð½¨Á¢Ê¡£¬ÊУ¬Ïصıí...
jchowgo/loveweather
src/com/example/loveweather/db/LoveWeatherOpenHelper.java
Java
apache-2.0
1,274
''' Copyright 2012 Upverter 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 to in writing, software d...
Beanstream-DRWP/beanstream-python
beanstream/errors.py
Python
apache-2.0
2,066
package br.estacio.eleicoesweb.model; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import br.estacio.eleicoesweb.dao.imp...
brennogb/EleicoesWeb
src/br/estacio/eleicoesweb/model/Login.java
Java
apache-2.0
1,636
package fr.bourgmapper.tub.domain.interactor; import java.util.List; import javax.inject.Inject; import fr.bourgmapper.tub.domain.Line; import fr.bourgmapper.tub.domain.executor.PostExecutionThread; import fr.bourgmapper.tub.domain.executor.ThreadExecutor; import fr.bourgmapper.tub.domain.repository.LineRepository; ...
axellebot/Tub-Android
domain/src/main/java/fr/bourgmapper/tub/domain/interactor/GetLineList.java
Java
apache-2.0
991
""" Deep learning and Reinforcement learning library for Researchers and Engineers """ from __future__ import absolute_import try: install_instr = "Please make sure you install a recent enough version of TensorFlow." import tensorflow except ImportError: raise ImportError("__init__.py : Could not import T...
zjuela/LapSRN-tensorflow
tensorlayer/__init__.py
Python
apache-2.0
677
/* Copyright (C) 2014 Jo Ee Liew liewjoee@yahoo.com 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, V...
tweakmy/golang-opendnp3
src/opendnp3/DNP3/crc.go
GO
apache-2.0
2,902
package openfoodfacts.github.scrachx.openfood; import android.content.Intent; import androidx.test.ext.junit.runners.AndroidJUnit4; import org.junit.Rule; import org.junit.Test; import org.junit.runner.RunWith; import java.util.ArrayList; import java.util.List; import openfoodfacts.github.scrachx.openfood.models.P...
openfoodfacts/OpenFoodFacts-androidApp
app/src/androidTestScreenshots/java/openfoodfacts/github/scrachx/openfood/TakeScreenshotShowProductsTest.java
Java
apache-2.0
2,231
/** * Copyright (c) 2011-2013, kidzhou 周磊 (zhouleib1412@gmail.com) * * 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 requ...
dhso/0513syr
src/main/java/frame/interceptor/ExceptionInterceptor.java
Java
apache-2.0
2,686
package controller; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.annotation.MultipartConfig; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; impor...
nonamejx/vmv2
VMV2/src/controller/UpdatePasswordProfileServlet.java
Java
apache-2.0
2,083
/* * Hibernate Validator, declare and validate application constraints * * License: Apache License, Version 2.0 * See the license.txt file in the root directory or <http://www.apache.org/licenses/LICENSE-2.0>. */ package org.hibernate.validator.test.internal.engine.traversableresolver; import static org.hibernate...
shahramgdz/hibernate-validator
engine/src/test/java/org/hibernate/validator/test/internal/engine/traversableresolver/TraversableResolverTest.java
Java
apache-2.0
2,620
/** * 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...
code4wt/nutch-learning
src/java/org/apache/nutch/service/NutchServer.java
Java
apache-2.0
7,527
/* * Copyright © 2020 Cask Data, 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...
data-integrations/google-drive
src/test/java/io/cdap/plugin/google/drive/source/FilesFromFolderTransformerTest.java
Java
apache-2.0
4,923
# Computes expected results for Bidirectional BasicRNN layers in `Tests/TensorFlowTests/LayerTests.swift`. # Requires 'tensorflow>=2.0.0a0' (e.g. "pip install tensorflow==2.0.0b1"). import numpy import argparse import tensorflow as tf # Set random seed for repetable results tf.random.set_seed(0) def indented(s): ...
tensorflow/swift-apis
Utilities/ReferenceImplementations/bidirectional_rnn.py
Python
apache-2.0
4,988
/* * Copyright The OpenTelemetry Authors * SPDX-License-Identifier: Apache-2.0 */ package io.opentelemetry.sdk.metrics.internal.state; import static org.assertj.core.api.Assertions.assertThat; import java.util.stream.Stream; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provid...
open-telemetry/opentelemetry-java
sdk/metrics/src/test/java/io/opentelemetry/sdk/metrics/internal/state/ExponentialCounterTest.java
Java
apache-2.0
5,621
package io.katharsis.core.internal.dispatcher.controller; import java.util.Collection; import java.util.Set; import com.fasterxml.jackson.databind.ObjectMapper; import io.katharsis.core.internal.dispatcher.path.JsonPath; import io.katharsis.core.internal.dispatcher.path.ResourcePath; import io.katharsis.core.interna...
adnovum/katharsis-framework
katharsis-core/src/main/java/io/katharsis/core/internal/dispatcher/controller/ResourcePost.java
Java
apache-2.0
4,124
/*- * #%L * LmdbJava * %% * Copyright (C) 2016 - 2021 The LmdbJava Open Source Project * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LI...
lmdbjava/lmdbjava
src/test/java/org/lmdbjava/ResultCodeMapperTest.java
Java
apache-2.0
5,450
/* * Copyright (c) 2007 Mike Heath. 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. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless re...
mheath/adbcj
tck/src/test/java/org/adbcj/tck/test/ConnectTest.java
Java
apache-2.0
7,032
/* * #%L * ELK Reasoner * $Id:$ * $HeadURL:$ * %% * Copyright (C) 2011 - 2012 Department of Computer Science, University of Oxford * %% * 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...
aifargonos/elk-reasoner
elk-owlapi/src/test/java/org/semanticweb/elk/owlapi/proofs/AllOntologiesProofTest.java
Java
apache-2.0
4,699
/** * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. */ package com.thinkgem.jeesite.modules.sys.security; import javax.servlet.ServletRequest; import javax.servlet.ServletResponse; import javax.servlet.http.HttpServletRequest; import com.thinkgem.jeesite.c...
playgrowth/jeesite
src/main/java/com/thinkgem/jeesite/modules/sys/security/FormAuthenticationFilter.java
Java
apache-2.0
3,870
package org.myrobotlab.service.meta; import java.util.LinkedHashMap; import org.myrobotlab.framework.Platform; import org.myrobotlab.framework.interfaces.ServiceInterface; import org.myrobotlab.logging.LoggerFactory; import org.myrobotlab.service.Pid.PidData; import org.myrobotlab.service.config.ArduinoConfig; import...
MyRobotLab/myrobotlab
src/main/java/org/myrobotlab/service/meta/TrackingMeta.java
Java
apache-2.0
3,591
/* * Copyright (c) 2010-2017 Evolveum and contributors * * This work is dual-licensed under the Apache License 2.0 * and European Union Public License. See LICENSE file for details. */ package com.evolveum.midpoint.web.page.admin.server.handlers; import com.evolveum.midpoint.web.page.admin.server.handlers.dto.Exe...
bshp/midPoint
gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/server/handlers/ExecuteChangesHandlerPanel.java
Java
apache-2.0
1,841
// Cleans up pubspec.yaml files prior to publishing // Usage: node pubspec_cleaner.js --pubspec-file=PATH_TO_PUBSPEC_YAML fs = require('fs'); yaml = require('js-yaml'); yargs = require('yargs'); var pubspecFileOpt = 'pubspec-file'; var pubspecFile = yargs .demand([pubspecFileOpt]) .argv[pubspecFileOpt...
zolfer/angular
scripts/publish/pubspec_cleaner.js
JavaScript
apache-2.0
934
/* * 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 com.rip.framework.controller; import com.rip.framework.service.ProjectTechnologyManagementService; import org.springframework....
hasithalakmal/RIP
RIP_Framework_Project/src/main/java/com/rip/framework/controller/ProjectTechnologyManagementRestController.java
Java
apache-2.0
2,730
/* Copyright 2014 The Kubernetes Authors 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. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or ag...
CAP-ALL/kube2consul
Godeps/_workspace/src/k8s.io/kubernetes/pkg/client/unversioned/testclient/fake_service_accounts.go
GO
apache-2.0
2,811
package com.omniprise.cim.model; /*- * #%L * ERCOT CIM Processor * %% * Copyright (C) 2017 OmniPrise, 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.ap...
OmniPrise/cim-processor
src/main/java/com/omniprise/cim/model/VoltageLevel.java
Java
apache-2.0
3,030
/* * 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-cloudtrail/source/model/Resource.cpp
C++
apache-2.0
1,775
/* * 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...
ebyhr/presto
plugin/trino-pinot/src/main/java/io/trino/plugin/pinot/query/aggregation/ImplementCountDistinct.java
Java
apache-2.0
2,598
/* * Copyright (c) 2014 Spotify AB. * * 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,...
mbruggmann/helios
helios-system-tests/src/main/java/com/spotify/helios/system/NamespaceTest.java
Java
apache-2.0
3,463
package gaia3d.controller.rest; import gaia3d.domain.Key; import gaia3d.domain.cache.CacheManager; import gaia3d.domain.data.DataInfo; import gaia3d.domain.layer.LayerGroup; import gaia3d.domain.microservice.MicroService; import gaia3d.domain.policy.GeoPolicy; import gaia3d.domain.user.UserPolicy; import gaia3d.domain...
Gaia3D/mago3d
mago3d-user/src/main/java/gaia3d/controller/rest/GeoPolicyRestController.java
Java
apache-2.0
4,642
/* * Copyright 2014-2019 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 "licen...
jentfoo/aws-sdk-java
aws-java-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/GetVocabularyRequestProtocolMarshaller.java
Java
apache-2.0
2,671
package ru.stqa.pft.addressbook.tests; import org.hibernate.Session; import org.hibernate.SessionFactory; import org.hibernate.boot.MetadataSources; import org.hibernate.boot.registry.StandardServiceRegistry; import org.hibernate.boot.registry.StandardServiceRegistryBuilder; import org.testng.annotations.BeforeClass; ...
atalaman/PFT28
addressbook-web-tests/src/test/java/ru/stqa/pft/addressbook/tests/HbConnectionTest.java
Java
apache-2.0
1,655
package main import ( "net/rpc" router "github.com/gorilla/mux" ) // Storage server implements rpc primitives to facilitate exporting a // disk over a network. type storageServer struct { storage StorageAPI } /// Volume operations handlers // MakeVolHandler - make vol handler is rpc wrapper for MakeVol operatio...
mkash32/minio
rpc-server.go
GO
apache-2.0
3,475
/* * Copyright 2017 Crown Copyright * * 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...
gchq/stroom
stroom-core-client/src/main/java/stroom/xmlschema/client/presenter/XMLSchemaSettingsPresenter.java
Java
apache-2.0
3,495
package com.ja.smarkdown.location.classpath; import java.net.MalformedURLException; import java.net.URL; import java.nio.file.Files; import java.nio.file.Path; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Set; import javax.enterprise.inject.Instance; import javax.injec...
scheuchzer/smarkdown
smarkdown-location-classpath/src/main/java/com/ja/smarkdown/location/classpath/ClasspathListingProvider.java
Java
apache-2.0
4,826