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 |
|---|---|---|---|---|---|
/*******************************************************************************
* This file is part of Educatio.
*
* Educatio 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 ... | filipemb/siesp | app/br/com/core/business/log/CandidatoSelecaoLogBusiness.java | Java | gpl-3.0 | 3,842 |
import { CommonModule } from "@angular/common";
import { NgModule } from "@angular/core";
import { FlexLayoutModule } from "@angular/flex-layout";
import { FormsModule, ReactiveFormsModule } from "@angular/forms";
import { Http, HttpModule } from "@angular/http";
import { MaterialModule } from "@angular/material";
imp... | stoovm/brain-cafe-web-app | src/app/brain-cafe-browser-responsive-app/SharedModule/shared.module.ts | TypeScript | gpl-3.0 | 1,452 |
//<editor-fold defaultstate="collapsed" desc=" COPYRIGHT AND LICENSE ">
/* VisNow
Copyright (C) 2006-2013 University of Warsaw, ICM
This file is part of GNU Classpath.
GNU Classpath 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 So... | IcmVis/VisNow-Pro | src/pl/edu/icm/visnow/datasets/cells/SimplexPosition.java | Java | gpl-3.0 | 2,398 |
package org.thoughtcrime.securesms.jobmanager;
import android.app.AlarmManager;
import android.app.Application;
import android.app.PendingIntent;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import androidx.annotation.NonNull;
import com.annimon.stream.Stre... | stinsonga/Signal-Android | app/src/main/java/org/thoughtcrime/securesms/jobmanager/AlarmManagerScheduler.java | Java | gpl-3.0 | 2,398 |
#include <string>
#include <memory>
#include <myroomies/bom/User.h>
#include <myroomies/services/ServiceRegistry.h>
#include <myroomies/resources/TransactionHandler.h>
using myroomies::services::ServiceRegistry;
namespace myroomies {
namespace resources {
TransactionHandler::TransactionHandler()
{}
TransactionHa... | stac47/myroomies-cpp | backend/src/resources/TransactionHandler.cpp | C++ | gpl-3.0 | 1,338 |
package lj.cpy.mbtool.codeGenerate;
import java.text.SimpleDateFormat;
import java.util.Date;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.velocity.VelocityContext;
/**
* @description
* @author LiJing
* @date 2017年10月27日 下午5:09:08
*/
public class CodeGen... | lj-415/MBTool | src/main/java/lj/cpy/mbtool/codeGenerate/CodeGenerateFactory.java | Java | gpl-3.0 | 3,770 |
/*
* Copyright (C) 2007-2019 Crafter Software Corporation. All Rights Reserved.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any... | avasquez614/deployer | src/main/java/org/craftercms/deployer/DeployerApplication.java | Java | gpl-3.0 | 6,619 |
/*
* Lumeer: Modern Data Definition and Processing Platform
*
* Copyright (C) since 2017 Lumeer.io, s.r.o. and/or its affiliates.
*
* 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 ... | Lumeer/web-ui | src/app/collection/settings/tab/purpose/content/collection-purpose-content.component.ts | TypeScript | gpl-3.0 | 4,494 |
/*
* Copyright (C) 2005-2020 Gregory Hedlund & Yvan Rose
*
* 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 applica... | ghedlund/phon | app/src/main/java/ca/phon/app/session/editor/view/ipa_lookup/actions/AutoTranscribeCommand.java | Java | gpl-3.0 | 3,282 |
/*
Copyright (C) 2007-2011 Database Group - Universita' della Basilicata
Giansalvatore Mecca - giansalvatore.mecca@unibas.it
Salvatore Raunich - salrau@gmail.com
Marcello Buoncristiano - marcello.buoncristiano@yahoo.it
This file is part of ++Spicy - a Schema Mapping and Data Exchange Tool
... | dbunibas/spicy | spicyGUI/spicygui/src/it/unibas/spicygui/widget/VMDPinWidgetKey.java | Java | gpl-3.0 | 1,202 |
package main
import (
"fmt"
"strings"
)
// VirtualColumnResolveFunc is used to define the virtual key mapping in the VirtualColumnMap
type VirtualColumnResolveFunc func(d *DataRow, col *Column) interface{}
// VirtualColumnMapEntry is used to define the virtual key mapping in the VirtualColumnMap
type VirtualColumn... | sni/lmd | lmd/column.go | GO | gpl-3.0 | 10,828 |
package de.biba.mediator.webservice;
import java.io.Serializable;
/**[MediatorWebService. This is a web service which can request queries against the Reasoning Mediator]
Copyright (C) [2014 [Marco Franke (BIBA-Bremer Institut für Produktion und Logistik GmbH)]
This program is free software: you can redistribute it ... | marcofranke/SE-SEMed | MediatorWebservice/src/de/biba/mediator/webservice/MediatorResult.java | Java | gpl-3.0 | 1,371 |
/*
* Copyright (C) 2021 GeorgH93
*
* 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 ... | GeorgH93/MarriageMaster | MarriageMaster/src/at/pcgamingfreaks/MarriageMaster/Bukkit/Placeholder/Replacer/MultiPartner/PartnerNameId.java | Java | gpl-3.0 | 2,668 |
package mvc.view.impl;
import mvc.controller.impl.SuperController;
import mvc.view.IScreenComponents;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import com.staffordsoftwaresolutions.theoryofman.R;
public class Activity_XX_0_0_Settings extends SuperActivity
{
privat... | johnwstafford/AndroidProject | TOMClient/mvc/view/impl/Activity_XX_0_0_Settings.java | Java | gpl-3.0 | 2,474 |
package quic
import (
"bytes"
"context"
"crypto/rand"
"crypto/tls"
"errors"
"fmt"
"net"
"sync"
"sync/atomic"
"time"
"github.com/lucas-clemente/quic-go/internal/handshake"
"github.com/lucas-clemente/quic-go/internal/protocol"
"github.com/lucas-clemente/quic-go/internal/qerr"
"github.com/lucas-clemente/qu... | AdguardTeam/AdguardDNS | vendor/github.com/lucas-clemente/quic-go/server.go | GO | gpl-3.0 | 21,014 |
package pro.zackpollard.telegrambot.api.internal.chat.game;
import org.json.JSONObject;
import pro.zackpollard.telegrambot.api.TelegramBot;
import pro.zackpollard.telegrambot.api.chat.message.Message;
import pro.zackpollard.telegrambot.api.games.GameHighScore;
import pro.zackpollard.telegrambot.api.games.GameScoreEdit... | zackpollard/JavaTelegramBot-API | core/src/main/java/pro/zackpollard/telegrambot/api/internal/chat/game/GameScoreEditResponseImpl.java | Java | gpl-3.0 | 1,347 |
import mdpow.equil
S = mdpow.equil.WaterSimulation(molecule="BNZ")
S.topology("benzene.itp")
S.solvate(struct="benzene.pdb")
S.energy_minimize()
S.MD_relaxed(runtime=5) # should be at least 1e3 ps for production not just 5 ps
# run simulation externally or use MDrunner
# (see docs for using mpi etc)
import gromacs
r... | Becksteinlab/MDPOW | doc/examples/benzene/session.py | Python | gpl-3.0 | 1,018 |
/* Functions to manipulate menus.
Copyright (C) 2008-2019 Free Software Foundation, Inc.
This file is part of GNU Emacs.
GNU Emacs 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 Licen... | MetaDark/emacs | src/menu.h | C | gpl-3.0 | 2,429 |
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'removeTopic.ui'
#
# Created: Mon Jul 4 22:26:07 2011
# by: PyQt4 UI code generator 4.7.4
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui
class Ui_removeTopic(object):
def setupUi(self, rem... | seejay/feedIO | feedio/UI/removeTopic_ui.py | Python | gpl-3.0 | 2,356 |
/*
Copyright 2013-2014 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 that it will be useful, but
WITHOUT ANY WARRANTY; witho... | chipaca/ubuntu-push | client/client.go | GO | gpl-3.0 | 7,567 |
// Copyright 2018 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package qtls
import (
"bytes"
"crypto"
"crypto/hmac"
"crypto/rsa"
"encoding/binary"
"errors"
"fmt"
"hash"
"sync/atomic"
"time"
"golang.org/x/crypto... | AdguardTeam/AdguardDNS | vendor/github.com/marten-seemann/qtls/handshake_client_tls13.go | GO | gpl-3.0 | 21,277 |
package com.lody.virtual.client.core;
import android.os.Build;
import com.lody.virtual.client.hook.base.PatchDelegate;
import com.lody.virtual.client.hook.delegate.AppInstrumentation;
import com.lody.virtual.client.hook.patchs.account.AccountManagerPatch;
import com.lody.virtual.client.hook.patchs.alarm.AlarmManagerP... | renqingyou/VirtualApp | VirtualApp/lib/src/main/java/com/lody/virtual/client/core/PatchManager.java | Java | gpl-3.0 | 7,340 |
/*
Copyright (C) 1996-2017 John W. Eaton
This file is part of Octave.
Octave 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.
Octave is di... | xmjiao/octave-debian | libinterp/parse-tree/pt-exp.cc | C++ | gpl-3.0 | 1,712 |
#include <aerial_autonomy/actions_guards/base_functors.h>
#include <aerial_autonomy/logic_states/base_state.h>
#include <aerial_autonomy/tests/sample_logic_state_machine.h>
#include <gtest/gtest.h>
//// \brief Definitions
/// Define any necessary subclasses for tests here
struct EmptyActionFunctor
: EventAgnostic... | jhu-asco/aerial_autonomy | tests/logic_states/base_state_tests.cpp | C++ | mpl-2.0 | 1,736 |
/*
* JBILLING CONFIDENTIAL
* _____________________
*
* [2003] - [2012] Enterprise jBilling Software Ltd.
* All Rights Reserved.
*
* NOTICE: All information contained herein is, and remains
* the property of Enterprise jBilling Software.
* The intellectual and technical concepts contained
* herein are proprie... | maxdelo77/replyit-master-3.2-final | src/java/com/sapienter/jbilling/server/util/IWebServicesSessionBean.java | Java | agpl-3.0 | 17,026 |
/* This file is part of the db4o object database http://www.db4o.com
Copyright (C) 2004 - 2011 Versant Corporation http://www.versant.com
db4o is free software; you can redistribute it and/or modify it under
the terms of version 3 of the GNU General Public License as published
by the Free Software Foundation.
db4o ... | xionghuiCoder/db4o | src/main/java/com/db4o/config/annotations/reflect/MinimumActivationDepthConfigurator.java | Java | agpl-3.0 | 1,122 |
/**
* Copyright (C) 2009-2012 Antelink SAS
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License Version 3 as published
* by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful, but WITHO... | antelink/SourceSquare | src/main/java/com/antelink/sourcesquare/client/scan/ScanStatus.java | Java | agpl-3.0 | 6,171 |
/*
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/user/validator/CreditCardNumber.java | Java | agpl-3.0 | 1,775 |
package com.x.cms.assemble.control.jaxrs.view;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
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.b... | o2oa/o2oa | o2server/x_cms_assemble_control/src/main/java/com/x/cms/assemble/control/jaxrs/view/ActionDelete.java | Java | agpl-3.0 | 3,132 |
/*
Blue Crystal: Document Digital Signature Tool
Copyright (C) 2007-2015 Sergio Leal
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
Lic... | bluecrystalsign/signer-source | bluecrystal.client.applet.pkcs11/src/main/java/bluecrystal/applet/sign/SignAppletP11.java | Java | agpl-3.0 | 1,161 |
// Copyright 2013 Canonical Ltd.
// Licensed under the AGPLv3, see LICENCE file for details.
package manual
import (
"errors"
"fmt"
"github.com/wallyworld/core/constraints"
"github.com/wallyworld/core/environs"
"github.com/wallyworld/core/environs/bootstrap"
envtools "github.com/wallyworld/core/environs/tools"... | jameinel/core | environs/manual/bootstrap.go | GO | agpl-3.0 | 4,122 |
// Copyright 2016 Canonical Ltd.
// Licensed under the AGPLv3, see LICENCE file for details.
package controller
import (
"fmt"
"github.com/juju/cmd"
"github.com/juju/errors"
"github.com/juju/gnuflag"
jujucmd "github.com/juju/juju/cmd"
"github.com/juju/juju/cmd/modelcmd"
"github.com/juju/juju/jujuclient"
)
/... | mjs/juju | cmd/juju/controller/unregister.go | GO | agpl-3.0 | 2,738 |
/*
* Hibernate, Relational Persistence for Idiomatic Java
*
* JBoss, Home of Professional Open Source
* Copyright 2010-2011 Red Hat Inc. and/or its affiliates and other contributors
* as indicated by the @authors tag. All rights reserved.
* See the copyright.txt in the distribution for a
* full listing of indivi... | emmanuelbernard/hibernate-ogm-old | hibernate-ogm-core/src/main/java/org/hibernate/ogm/type/GridTypeDelegatingToCoreType.java | Java | lgpl-2.1 | 6,598 |
/*
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
* This 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
* th... | xwiki/xwiki-platform | xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/internal/skin/AbstractWikiResource.java | Java | lgpl-2.1 | 3,096 |
/*
* Copyright (C) 2004-2009 exedio GmbH (www.exedio.com)
*
* 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 versi... | exedio/live | webtestsrc/com/exedio/cope/live/webtest/OutFilter.java | Java | lgpl-2.1 | 2,640 |
/* Copyright (C) 2014 Egon Willighagen <egonw@users.sf.net>
*
* 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 2.1 of the License, or (at your option)
* any later vers... | enanomapper/nanojava | src/main/java/org/bitbucket/nanojava/manipulator/SubstanceManipulator.java | Java | lgpl-2.1 | 5,243 |
/*
* This file is part of Spoutcraft.
*
* Copyright (c) 2011 SpoutcraftDev <http://spoutcraft.org/>
* Spoutcraft is licensed under the GNU Lesser General Public License.
*
* Spoutcraft is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as publish... | Spoutcraft/Spoutcraft | src/main/java/org/spoutcraft/client/gui/precache/GuiPrecache.java | Java | lgpl-3.0 | 3,122 |
package com.sirmaenterprise.sep.exception.mapper;
import java.lang.invoke.MethodHandles;
import javax.ws.rs.core.Response;
import javax.ws.rs.ext.ExceptionMapper;
import javax.ws.rs.ext.Provider;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.sirma.itt.seip.exceptions.InstanceNotFoundException;... | SirmaITT/conservation-space-1.7.0 | docker/sirma-platform/platform/seip-parent/platform/domain-model/instance-core/src/main/java/com/sirmaenterprise/sep/exception/mapper/InstanceNotFoundExceptionHandler.java | Java | lgpl-3.0 | 1,217 |
/*
* 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/rules/AnnotationRuleParser.java | Java | lgpl-3.0 | 4,626 |
#ifndef TEXENGINE_PHYSICSDEBUGRENDERER_HPP_INCLUDED
#define TEXENGINE_PHYSICSDEBUGRENDERER_HPP_INCLUDED
/**Note that this class inherits from a bullet intefrace class***/
#include "LinearMath/btIDebugDraw.h"
namespace TEXEngine
{
namespace Core
{
class PhysicsManager;
class RenderManager;
}
u... | TEXStudio/texengine | src/physics/physicsDebugRenderer.hpp | C++ | lgpl-3.0 | 1,540 |
package org.celstec.arlearn2.portal.client.author.ui.gi;
import org.celstec.arlearn2.gwtcommonlib.client.datasource.AbstractRecord;
import org.celstec.arlearn2.gwtcommonlib.client.datasource.desktop.GameDataSource;
import org.celstec.arlearn2.gwtcommonlib.client.objects.Game;
import org.celstec.arlearn2.gwtcommonlib.c... | WELTEN/dojo-ibl | src/main/java/org/celstec/arlearn2/portal/client/author/ui/gi/GeneralItemsListMapTabSet.java | Java | lgpl-3.0 | 3,289 |
/*
* Copyright (C) 2003-2014 eXo Platform SAS.
*
* 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.
*
* This... | thanhvc/poc-sam | services/src/main/java/org/exoplatform/social/core/storage/listener/RelationshipActivityListener.java | Java | lgpl-3.0 | 3,863 |
package ter.twitter.suicide.model.thread;
public class LaunchThread {
/**
* @param args
* @throws InterruptedException
*/
public static void launch() throws InterruptedException {
// -> Threads
ThreadSelectThematics thread = new ThreadSelectThematics("mental state","hurt");
ThreadSelectThematics thr... | yasser88/SuicidePrevent | src/ter/twitter/suicide/model/thread/LaunchThread.java | Java | lgpl-3.0 | 1,565 |
/*
* Copyright 2015 Red Hat, Inc. and/or its affiliates.
*
* 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... | ge0ffrey/optaplanner | optaplanner-benchmark/src/test/java/org/optaplanner/benchmark/config/PlannerBenchmarkConfigTest.java | Java | apache-2.0 | 8,062 |
package com.theothermattm.goal.domain.qe.tests;
import org.apache.log4j.Logger;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Parameters;
import org.testng.annotations.Test;
import com.theothermattm.goal.domain.qe.lib.BaseTest;
import com.theothermattm.goal.domain.qe.lib.Goal;
import com.th... | lawpremkumar/goal-tracker-automation | src/test/java/com/theothermattm/goal/domain/qe/tests/TestGetGoals.java | Java | apache-2.0 | 2,322 |
/*
* Copyright 2015-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... | vschs007/buck | src/com/facebook/buck/ide/intellij/lang/android/AndroidLibraryModuleRule.java | Java | apache-2.0 | 2,762 |
package i5.las2peer.services.cdService.simulation;
import java.awt.Color;
import javax.swing.JFrame;
import i5.las2peer.services.cdService.simulation.dynamic.Dynamic;
import i5.las2peer.services.cdService.simulation.game.Game;
import sim.display.Console;
import sim.display.Controller;
import sim.display.Display2D;
i... | rNzqe/Cooperation-Defection-Service | src/main/i5/las2peer/services/cdService/simulation/SimulationWithUI.java | Java | apache-2.0 | 3,152 |
package gov.va.med.imaging.core.router.commands.worklist;
import gov.va.med.imaging.core.interfaces.exceptions.ConnectionException;
import gov.va.med.imaging.core.interfaces.exceptions.MethodException;
import gov.va.med.imaging.core.interfaces.exceptions.SecurityCredentialsExpiredException;
import gov.va.med.imaging.d... | VHAINNOVATIONS/Telepathology | Source/Java/CoreRouter/main/src/java/gov/va/med/imaging/core/router/commands/worklist/PostWorkItemCommandImpl.java | Java | apache-2.0 | 1,763 |
/*
* Copyright (c) 2011-2015, Peter Abeles. All Rights Reserved.
*
* This file is part of BoofCV (http://boofcv.org).
*
* 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... | pacozaa/BoofCV | evaluation/visualization/src/boofcv/alg/feature/disparity/VisualizeStereoDisparity.java | Java | apache-2.0 | 14,108 |
package shadow;
import com.sun.jna.platform.win32.Advapi32Util;
import com.sun.jna.platform.win32.WinReg;
public class RegistryAccess {
public static String readString(WinReg.HKEY topLevel, String key, String value) {
return Advapi32Util.registryGetStringValue(topLevel, key, value);
}
public static int re... | bwittman/shadow | src/main/java/shadow/RegistryAccess.java | Java | apache-2.0 | 1,713 |
package com.flowy.core.repos;
import com.flowy.core.models.Workflow;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.mongodb.core.MongoOperations;
import org.springfra... | HashString/flowy-core | src/test/java/com/flowy/core/repos/BaseRepositorySpecs.java | Java | apache-2.0 | 1,508 |
package com.atom.android.booklist.fragments;
import java.io.Serializable;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Collections;
import java.util.Comparator;
import java.util.Date;
import java.util.List;
import com.atom.android.booklist.R;
import com.atom.android.booklist.ac... | LebronXia/BookLibrary | src/com/atom/android/booklist/fragments/FavoriteFragment.java | Java | apache-2.0 | 9,110 |
// Copyright 2010-2013 (c) IeAT, Siemens AG, AVANTSSAR and SPaCIoS consortia.
// 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
//
// Unles... | siemens/ASLanPPConnector | src/aslanpp-tester/src/main/java/avantssar/aslanpp/library/EqualsSimpleUncompressed.java | Java | apache-2.0 | 4,349 |
package ua.org.zasadnyy.zvalidations.validations;
import android.content.Context;
import android.widget.EditText;
import ua.org.zasadnyy.zvalidations.Field;
import ua.org.zasadnyy.zvalidations.R;
import ua.org.zasadnyy.zvalidations.ValidationResult;
/**
* Created by jgabrielgutierrez on 15-07-05.
*/
public class C... | llanox/EasyVote | EasyVote/z-validations-library/src/main/java/ua/org/zasadnyy/zvalidations/validations/ConfirmField.java | Java | apache-2.0 | 1,429 |
/*
* table-view.module.ts
* Module with component for displaying tabular summary of results.
*
Copyright 2018 Grzegorz Mrukwa
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
h... | spectre-team/spectre | src/app/visualization-view/visualization-view.module.ts | TypeScript | apache-2.0 | 1,426 |
package com.oi.oiview;
import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
import android.view.View;
import android.widget.SeekBar;
import com.oi.library.view.OiTextView;
import com.oi.oiview.R;
/**
* <p>
* Title: MainActivity.java
* </p>
*
* @author ansion
* @version 1.0 创建时间:2015-1-4 下... | cdansion/OiView | OiView/src/com/oi/oiview/MainActivity.java | Java | apache-2.0 | 1,836 |
/* 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
* di... | motorina0/flowable-engine | modules/flowable5-engine/src/main/java/org/activiti/engine/impl/cmd/AbstractSetProcessInstanceStateCmd.java | Java | apache-2.0 | 4,940 |
package org.hl7.fhir.instance.model.valuesets;
/*
Copyright (c) 2011+, HL7, Inc.
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 th... | corbinbs/hapi-fhir | hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3CalendarEnumFactory.java | Java | apache-2.0 | 2,269 |
/*
* Copyright 2001-2009 The Apache Software Foundation.
*
* 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... | KurtStam/juddi | juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/server/service/JUDDIApiServiceImpl.java | Java | apache-2.0 | 8,792 |
package org.pac4j.mongo.credentials.authenticator;
import com.mongodb.MongoClient;
import org.pac4j.core.credentials.password.PasswordEncoder;
import org.pac4j.mongo.profile.service.MongoProfileService;
/**
* Use the {@link MongoProfileService} instead.
*
* @author Jerome Leleu
* @since 1.8.0
* @deprecated
*/
@... | topicusonderwijs/pac4j | pac4j-mongo/src/main/java/org/pac4j/mongo/credentials/authenticator/MongoAuthenticator.java | Java | apache-2.0 | 855 |
/*
* Copyright 2000-2008 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | consulo/consulo-google-guice | src/main/java/com/sixrr/guiceyidea/actions/NewGuiceMethodInterceptorAction.java | Java | apache-2.0 | 2,210 |
/**
*
*/
package org.semanticweb.elk.proofs.inferences;
/*
* #%L
* ELK Proofs Package
* $Id:$
* $HeadURL:$
* %%
* Copyright (C) 2011 - 2014 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 compli... | aifargonos/elk-reasoner | elk-proofs/src/main/java/org/semanticweb/elk/proofs/inferences/AbstractInferenceVisitor.java | Java | apache-2.0 | 5,864 |
/*
Copyright 2014 Reo_SP
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
dist... | reo7sp/SBF-Bukkit-Plugin | src/net/sbfmc/modules/messenger/MessengerRequestParser.java | Java | apache-2.0 | 1,362 |
package com.auidbook.prototype;
import android.support.annotation.StringRes;
/**
* Enum of different types of tools such as saws and drills.
*
* @author Ian G. Clifton
*/
public enum ToolType {
CLAMPS(R.string.clamps, R.string.clamps_description),
SAWS(R.string.saws, R.string.saws_description),
DRILLS... | IanGClifton/auid2 | chapter06/Prototype/app/src/main/java/com/auidbook/prototype/ToolType.java | Java | apache-2.0 | 1,036 |
/*
* Copyright 2015,2016 agwlvssainokuni
*
* 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... | agwlvssainokuni/springapp2 | galleryapp/gallery-web/src/main/java/cherry/gallery/web/basic/ex10/BasicEx10Controller.java | Java | apache-2.0 | 2,990 |
package org.bboxdb.network.query.filter;
public class UserDefinedFilterDefinition {
/**
* The user defined filter class
*/
private final String userDefinedFilterClass;
/**
* The user defined filter value
*/
private final String userDefinedFilterValue;
public UserDefinedFilterDefinition(final String u... | jnidzwetzki/scalephant | bboxdb-server/src/main/java/org/bboxdb/network/query/filter/UserDefinedFilterDefinition.java | Java | apache-2.0 | 1,832 |
package com.rotterdam.tools.json.deserializer;
import com.rotterdam.model.entity.RideType;
import com.rotterdam.tools.json.JsonCommands;
import org.codehaus.jackson.JsonParser;
import org.codehaus.jackson.JsonProcessingException;
import org.codehaus.jackson.map.DeserializationContext;
import org.codehaus.jackson.map.J... | vasax32/rotterdam | src/main/java/com/rotterdam/tools/json/deserializer/JsonRideTypeDeserializer.java | Java | apache-2.0 | 1,153 |
package com.github.willjgriff.skeleton.data.storage.realmfetchers;
import io.realm.Realm;
import io.realm.RealmModel;
import io.realm.RealmQuery;
import io.realm.RealmResults;
import rx.Observable;
import rx.android.schedulers.AndroidSchedulers;
import rx.schedulers.Schedulers;
/**
* Created by Will on 14/08/2016.
... | willjgriff/android-skeleton | app/src/main/java/com/github/willjgriff/skeleton/data/storage/realmfetchers/AllRealmFetcher.java | Java | apache-2.0 | 1,135 |
package com.deleidos.dmf.analyzer.workflows;
import java.io.InputStream;
/**
* 'Headless resources' are testing files that have a desired outcome for all tests. The intent of this class is to allow test classes to
* use and reuse files that have a desired detection type, parsing outcome, and metrics result.
* C... | deleidos/de-schema-wizard | data-model-factory/src/main/java/com/deleidos/dmf/analyzer/workflows/HeadlessResource.java | Java | apache-2.0 | 2,125 |
package com.example.locale.widget;
import android.appwidget.AppWidgetManager;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import com.example.locale.MainActivity;
import com.example.locale.R;
import java.util.Locale;
/**
* Create... | leisuresuit/Locale | app/src/main/java/com/example/locale/widget/LocaleAppWidgetConfigActivity.java | Java | apache-2.0 | 1,579 |
/**
* Copyright © 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
*/
package com.medical.modules.act.service;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.util.List;
import javax.servlet.http.H... | dingyifly/medical | src/main/java/com/medical/modules/act/service/ActModelService.java | Java | apache-2.0 | 6,781 |
/*
* Copyright 2016, CMCC Technologies Co., Ltd.
*
* 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 ... | open-o/nfvo | monitor/umc/umc-api/umc/src/main/java/org/openo/nfvo/monitor/umc/bundle/H2DbServerBundle.java | Java | apache-2.0 | 2,147 |
package org.hibernate.examples.mapping.inheritance.subclass;
import lombok.Getter;
import lombok.Setter;
import org.hibernate.annotations.CacheConcurrencyStrategy;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import org.hibernate.examples.utils.HashTool;
import org.hi... | debop/hibernate-redis | hibernate-examples/src/test/java/org/hibernate/examples/mapping/inheritance/subclass/CreditCard.java | Java | apache-2.0 | 1,728 |
package websocket
import (
"crypto/sha1"
"encoding/base64"
"errors"
"io"
"strings"
"go-common/app/service/main/broadcast/libs/bufio"
)
var (
keyGUID = []byte("258EAFA5-E914-47DA-95CA-C5AB0DC85B11")
// ErrBadRequestMethod bad request method
ErrBadRequestMethod = errors.New("bad method")
// ErrNotWebSocket n... | LQJJ/demo | 126-go-common-master/app/service/main/broadcast/libs/websocket/server.go | GO | apache-2.0 | 1,718 |
package network
import (
"encoding/json"
"fmt"
log "github.com/Sirupsen/logrus"
"github.com/flexiant/concerto/api/types"
"github.com/flexiant/concerto/utils"
)
// LoadBalancerService manages loadBalancer operations
type LoadBalancerService struct {
concertoService utils.ConcertoService
}
// NewLoadBalancerServ... | flexiant/concerto | api/network/load_balancers_api.go | GO | apache-2.0 | 4,713 |
/*
* Copyright 2017 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, softw... | reynoldsm88/droolsjbpm-integration | kie-server-parent/kie-server-controller/kie-server-controller-impl/src/main/java/org/kie/server/controller/impl/client/RestKieServicesClientProvider.java | Java | apache-2.0 | 2,246 |
/*
* 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 ... | andrey-kuznetsov/ignite | modules/indexing/src/test/java/org/apache/ignite/testsuites/IgniteBinaryCacheQueryTestSuite.java | Java | apache-2.0 | 35,364 |
/**
* Copyright 2017 Institute of Computing Technology, Chinese Academy of Sciences.
* Licensed under the terms of the Apache 2.0 license.
* Please see LICENSE file in the project root for terms
*/
package eml.studio.client.ui.panel;
import java.util.logging.Logger;
import org.moxieapps.gwt.uploader.client.events.... | ICT-BDA/EasyML | src/main/java/eml/studio/client/ui/panel/UploadDatasetPanel.java | Java | apache-2.0 | 4,831 |
/// Copyright 2017 Pinterest 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... | pinterest/rocksplicator | cluster_management/src/main/java/com/pinterest/rocksplicator/Spectator.java | Java | apache-2.0 | 17,776 |
package mygame.gamestates;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.Callable;
import com.jme3.app.Application;
import com.jme3.app.state.AbstractAppState;
import com.jme3.app.state.AppStateManager;
import com.jme3.asset.AssetManager;
import com.jme3.audio.AudioNode;
import com.... | sytrox/fortgeschrittene-Spieleenticklung | src/mygame/gamestates/GameState.java | Java | apache-2.0 | 4,715 |
/*
* Copyright (c) 2015, Cloudera, Inc. All Rights Reserved.
*
* Cloudera, Inc. licenses this file to you 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/LICE... | nvoron23/oryx | oryx-app-common/src/main/java/com/cloudera/oryx/app/rdf/ToExampleFn.java | Java | apache-2.0 | 2,268 |
package com.inveno.piflow.entity.view.news;
import android.content.Context;
import android.util.AttributeSet;
import android.widget.RelativeLayout;
/**
* 自定义 用于监听软键盘的弹出和收回
* @author mingsong.zhang
* @date 2013-02-26
*/
public class NewsDetailRelativeLayout extends RelativeLayout {
public NewsDetailRelativeLayo... | SmileMx/Screen_Launcher | flyshare_piflow_is_library/src/com/inveno/piflow/entity/view/news/NewsDetailRelativeLayout.java | Java | apache-2.0 | 993 |
/**
* Baidu.com,Inc.
* Copyright (c) 2000-2013 All Rights Reserved.
*/
package com.baidu.hsb.parser.ast.stmt.dml;
import java.sql.SQLSyntaxErrorException;
import java.util.ArrayList;
import java.util.List;
import com.baidu.hsb.parser.ast.expression.Expression;
import com.baidu.hsb.parser.ast.expression.primary.Ide... | brucexx/heisenberg | src/main/parser/com/baidu/hsb/parser/ast/stmt/dml/DMLDeleteStatement.java | Java | apache-2.0 | 3,988 |
/**
*
*/
package com.infogen.server.model;
import java.io.Serializable;
import java.sql.Timestamp;
import java.time.Clock;
import java.util.HashMap;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.infogen.configuration.Inf... | infogen7/infogen_soa | src/main/java/com/infogen/server/model/RegisterServer.java | Java | apache-2.0 | 1,949 |
/*
Copyright 2015 José Luis De la Cruz Morales <joseluis.delacruz@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 required ... | josdem/jugoterapia-mobile | app/src/main/java/com/jugoterapia/josdem/component/ActivityComponent.java | Java | apache-2.0 | 1,251 |
package org.orienteer.core.component.command;
import com.google.common.base.Strings;
import org.apache.wicket.AttributeModifier;
import org.apache.wicket.ajax.AjaxRequestTarget;
import org.apache.wicket.markup.html.basic.Label;
import org.apache.wicket.model.IModel;
import org.apache.wicket.model.ResourceModel;
import... | OrienteerBAP/Orienteer | orienteer-core/src/main/java/org/orienteer/core/component/command/AbstractSaveOArtifactCommand.java | Java | apache-2.0 | 3,941 |
/*
Copyright 2020 Google LLC
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
dist... | googleinterns/knative-source-mongodb | pkg/mongo/testing/client.go | GO | apache-2.0 | 2,519 |
#ifdef OSX_PLATFORM
#ifndef MPACK_OSXINPUTSERVICE_HPP
#define MPACK_OSXINPUTSERVICE_HPP
#include "Types.hpp"
#include "MouseInterface.hpp"
#include "KeyboardInterface.hpp"
namespace MPACK
{
namespace Input
{
struct Finger;
}
}
namespace MPACK
{
namespace Input
{
class OSXInputService
{
public:
OSXIn... | links234/MPACK | jni/MPACK/Input/Desktop/OSX/OSXInputService.hpp | C++ | apache-2.0 | 1,257 |
/**
* Copyright © 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
*/
package com.thinkgem.jeesite.modules.sys.interceptor;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.web.servlet.Handler... | tomsnail/snail-dev-console | src/main/java/com/thinkgem/jeesite/modules/sys/interceptor/MobileInterceptor.java | Java | apache-2.0 | 1,545 |
package quickfix.spring;
import org.marketcetera.core.ClassVersion;
import org.springframework.beans.factory.DisposableBean;
import org.springframework.beans.factory.InitializingBean;
import quickfix.*;
/**
* Wrapper around the @{link quickfix.SocketAcceptor} to be used for creation via Spring
* that adds the @{lin... | nagyist/marketcetera | trunk/core/src/main/java/quickfix/spring/SocketAcceptor.java | Java | apache-2.0 | 1,284 |
package mil.nga.giat.geowave.store.query;
import java.nio.ByteBuffer;
import mil.nga.giat.geowave.index.sfc.data.MultiDimensionalNumericData;
import mil.nga.giat.geowave.store.GeometryUtils;
import mil.nga.giat.geowave.store.dimension.DimensionField;
import mil.nga.giat.geowave.store.filter.QueryFilter;
import mil.ng... | state-hiu/geowave | geowave-store/src/main/java/mil/nga/giat/geowave/store/query/SpatialQuery.java | Java | apache-2.0 | 2,809 |
var argscheck = require('cordova/argscheck'),
exec = require('cordova/exec'),
Camera = require('./Camera'),
CameraPopoverHandle = require('./CameraPopoverHandle');
var cameraExport = {};
//Tack on the Camera Constants to the base camera plugin.
for (var key in Camera) {
cameraExport[key] = Camera[key];
}
/**
* Ge... | brunoaduarte/StriderCamera | www/Camera.js | JavaScript | apache-2.0 | 2,095 |
package com.niafikra.internship.justlist.ui.vaadin.login;
import com.niafikra.internship.justlist.data.Project;
import com.niafikra.internship.justlist.ui.vaadin.login.project.functions.AddProjectWindow;
import com.niafikra.internship.justlist.ui.vaadin.login.task.functions.AddTaskWindow;
import com.niafikra.internship... | lilianngweta/JustListApp | src/main/java/com/niafikra/internship/justlist/ui/vaadin/login/TasksView.java | Java | apache-2.0 | 1,696 |
/*
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, ... | jbeda/kubernetes | pkg/util/ipvs/testing/fake.go | GO | apache-2.0 | 4,948 |
package com.semantive.hiqual.filter;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
/**
* @author Piotr Jędruszuk
*/
public class ComplexWhereCondition extends AbstractWhereCondition {
private List<AbstractWhereCondition> whereConditions = new ArrayList<AbstractWhereCondition>... | Semantive/hiqual | src/main/java/com/semantive/hiqual/filter/ComplexWhereCondition.java | Java | apache-2.0 | 898 |
/*
* Copyright 2012-2013 eBay Software Foundation and ios-driver committers
*
* 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 req... | shutkou/ios-driver | server/src/main/java/org/uiautomation/ios/server/instruments/communication/curl/CURLBasedCommunicationChannel.java | Java | apache-2.0 | 6,151 |
/**
* Copyright (C) 2013 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.financial.analytics.model.bondcleanprice;
import static com.opengamma.engine.value.ValuePropertyNames.CURVE;
import static com.opengamma.engine.value.ValueProp... | McLeodMoores/starling | projects/financial/src/main/java/com/opengamma/financial/analytics/model/bondcleanprice/BondZSpreadFromCleanPriceFunction.java | Java | apache-2.0 | 7,769 |
/*
* 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 ... | ragerri/opennlp | opennlp-tools/src/test/java/opennlp/tools/eval/OntoNotes4PosTaggerEval.java | Java | apache-2.0 | 3,409 |
package client
import (
"errors"
"fmt"
"os"
"path/filepath"
"strings"
)
const clusterDirName = "clusters"
const defaultDotDir = ".carina"
const defaultNonDotDir = "carina"
const xdgDataHomeEnvVar = "XDG_DATA_HOME"
// GetCredentialsDir gets the carina home directory, e.g. ~/.carina
func GetCredentialsDir() (stri... | getcarina/carina | client/credentials.go | GO | apache-2.0 | 2,090 |
package com.fangxu.dota2helper.util;
import android.content.Context;
import com.fangxu.dota2helper.R;
import com.fangxu.dota2helper.ui.Fragment.NewsFragment;
import com.fangxu.dota2helper.ui.Fragment.StrategyContainerFragment;
import com.fangxu.dota2helper.ui.Fragment.UpdateFragment;
import com.fangxu.dota2helper.ui.... | uin3566/Dota2Helper | app/src/main/java/com/fangxu/dota2helper/util/NavUtil.java | Java | apache-2.0 | 2,280 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.