code stringlengths 3 1.04M | repo_name stringlengths 5 109 | path stringlengths 6 306 | language stringclasses 1
value | license stringclasses 15
values | size int64 3 1.04M |
|---|---|---|---|---|---|
package com.itelg.spring.actuator;
import java.util.Properties;
import org.springframework.amqp.core.Queue;
import org.springframework.amqp.rabbit.core.RabbitAdmin;
import org.springframework.util.Assert;
public class RabbitQueuePropertiesManager
{
public RabbitQueueProperties request(Queue queue)
{
RabbitAdmin ... | julian-eggers/spring-boot-monitoring | src/main/java/com/itelg/spring/actuator/RabbitQueuePropertiesManager.java | Java | mit | 1,080 |
/*
* Copyright (c) 2014-2017 Kumuluz and/or its affiliates
* and other contributors as indicated by the @author tags and
* the contributor list.
*
* Licensed under the MIT License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
... | TFaga/KumuluzEE | common/src/main/java/com/kumuluz/ee/configuration/utils/ConfigurationSourceUtils.java | Java | mit | 3,049 |
package com.wandercosta.witsgenerator.generator;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import org.junit.Test;
/**
* Class to test WitsGenerator.
*
* @author Wander Costa (www.wandercosta.com)
*/
public class WitsGeneratorTest {
private final WitsLineGenerato... | rwanderc/wits-generator | src/test/java/com/wandercosta/witsgenerator/generator/WitsGeneratorTest.java | Java | mit | 2,899 |
/*******************************************************************************
* Copyright (c) 2014 IBM Corp.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* and Eclipse Distribution License v1.0 which accompany this d... | cllebrun/IoTwatch | app/src/main/java/com/ibm/iot/android/iotstarter/utils/DeviceSensor.java | Java | mit | 7,456 |
package edu.sdsu.its.fit_welcome_tests;
import edu.sdsu.its.Vault;
import org.apache.log4j.Logger;
import org.junit.Test;
import static org.junit.Assert.assertTrue;
/**
* Test the Vault Environment Variable configuration and Test Connection to Vault.
* The Vault must be unsealed for these tests to pass.
*
* @aut... | sdsu-its/welcome | src/test/java/edu/sdsu/its/fit_welcome_tests/TestVault.java | Java | mit | 1,653 |
// Copyright (c) 2001, 2004 Per M.A. Bothner and Brainfood Inc.
// This is free software; for terms and warranty disclaimer see ./COPYING.
package gnu.lists;
import java.io.*;
/** Simple adjustable-length vector whose elements are 32-bit floats.
* Used for the Scheme string type.
* @author Per Bothner
*/
public... | thequixotic/ai2-kawa | gnu/lists/FString.java | Java | mit | 13,789 |
package org.ccci.gto.android.common.util;
import android.os.Looper;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.collection.LongSparseArray;
import java.util.Map;
public final class ThreadUtils {
private ThreadUtils() {}
public static void assertNotOnUiThread() {
... | CruGlobal/android-gto-support | gto-support-core/src/main/java/org/ccci/gto/android/common/util/ThreadUtils.java | Java | mit | 1,565 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.keyvault.models;
import com.azure.core.util.ExpandableStringEnum;
import com.fasterxml.jackson.annotation.JsonCreator;
import ja... | Azure/azure-sdk-for-java | sdk/resourcemanagerhybrid/azure-resourcemanager-keyvault/src/main/java/com/azure/resourcemanager/keyvault/models/KeyPermissions.java | Java | mit | 3,010 |
package skin.support.utils;
import android.content.Context;
import android.content.SharedPreferences;
import skin.support.SkinCompatManager;
/**
* Created by ximsfei on 2017/1/10.
*/
public class SkinPreference {
private static final String FILE_NAME = "meta-data";
private static final String KEY_SKIN_NA... | ximsfei/Android-skin-support | androidx/skin-support/src/main/java/skin/support/utils/SkinPreference.java | Java | mit | 2,066 |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2016.06.... | gobiiproject/GOBii-System | loaderui/distribution/config/generated/App.20160616.java | Java | mit | 10,196 |
package io.sponges.bot.api.entities.channel;
import io.sponges.bot.api.entities.User;
import java.util.Map;
public interface GroupChannel extends Channel {
Map<String, User> getUsers();
boolean isUser(String id);
User getUser(String id);
}
| SpongyBot/ModuleAPI | src/main/java/io/sponges/bot/api/entities/channel/GroupChannel.java | Java | mit | 259 |
package net.ontrack.extension.git.client.impl;
import net.ontrack.extension.git.client.GitClient;
import net.ontrack.extension.git.client.GitClientFactory;
import net.ontrack.extension.git.model.GitConfiguration;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Compo... | joansmith/ontrack | ontrack-extension/ontrack-extension-git/src/main/java/net/ontrack/extension/git/client/impl/DefaultGitClientFactory.java | Java | mit | 975 |
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* abc
*/
package com.microsoft.azure.management.policyinsights.v2018_07_01_preview.impleme... | selvasingh/azure-sdk-for-java | sdk/policyinsights/mgmt-v2018_07_01_preview/src/main/java/com/microsoft/azure/management/policyinsights/v2018_07_01_preview/implementation/PolicyTrackedResourcesImpl.java | Java | mit | 4,515 |
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.resourcehealth.v2015_01_01;
import com.fasterxml... | selvasingh/azure-sdk-for-java | sdk/resourcehealth/mgmt-v2015_01_01/src/main/java/com/microsoft/azure/management/resourcehealth/v2015_01_01/ServiceImpactingEventIncidentProperties.java | Java | mit | 2,857 |
package com.microsoft.bingads.campaignmanagement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for anonymo... | shyTNT/BingAds-Java-SDK | proxies/com/microsoft/bingads/campaignmanagement/AddCampaignsResponse.java | Java | mit | 1,621 |
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.network.v2019_07_01;
import com.fasterxml.jackso... | selvasingh/azure-sdk-for-java | sdk/network/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/network/v2019_07_01/NetworkIntentPolicy.java | Java | mit | 1,678 |
package com.cvtalks;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.ExpectedException;
import static org.junit.Assert.assertEquals;
public class SubtractTest {
@Rule
public ExpectedException thrown = ExpectedException.none();
@Test
public void canSubtractValues() {
Val... | razakpm/oopjavacalculator | src/test/java/com/cvtalks/SubtractTest.java | Java | mit | 985 |
/*
* (c) Copyright 2015 Micro Focus or one of its affiliates.
*
* Licensed under the MIT License (the "License"); you may not use this file
* except in compliance with the License.
*
* The only warranties for products and services of Micro Focus and its affiliates
* and licensors ("Micro Focus") are as may be se... | hpe-idol/haven-search-components | hod/src/main/java/com/hp/autonomy/searchcomponents/hod/databases/Database.java | Java | mit | 1,658 |
package vStrikerEntities;
import java.io.Serializable;
import javax.persistence.*;
import java.util.List;
/**
* The persistent class for the OBJECT_SIZE_REPORT_UNIT database table.
*
*/
@Entity
@Table(name="OBJECT_SIZE_REPORT_UNIT", schema="VSTRIKERDB")
@NamedQuery(name="ObjectSizeReportUnit.findAll", query="S... | emccode/VStriker | vStrikerEntities/src/vStrikerEntities/ObjectSizeReportUnit.java | Java | mit | 1,437 |
package a.b;
import java.lang.annotation.ElementType;
import java.lang.annotation.Target;
/**
* @author Kohsuke Kawaguchi
*/
@Target({ElementType.PACKAGE, ElementType.TYPE})
@MyWay(X.class)
public @interface MyWay {
Class value();
}
| kohsuke/sorcerer | core/src/test/java/a/b/MyWay.java | Java | mit | 241 |
import lejos.nxt.*;
import java.util.*;
import lejos.robotics.*;
/**
* Localizes robot at beginning of run based on sensor readings
* @author Anass Al-Wohoush, Mohamed Kleit
* @version 2.1
*/
public class Localizer {
// OBJECTS
private Robot robot;
private Odometer odometer;
private Navigation nav... | anassinator/turpis-lobortis | Localizer.java | Java | mit | 22,054 |
/*
* Encog(tm) Core v3.2 - Java Version
* http://www.heatonresearch.com/encog/
* https://github.com/encog/encog-java-core
* Copyright 2008-2013 Heaton Research, 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 ... | ladygagapowerbot/bachelor-thesis-implementation | lib/Encog/src/main/java/org/encog/ml/MLProperties.java | Java | mit | 2,718 |
package com.hundsun.jresplus.web.cache;
import java.io.Serializable;
import javax.servlet.http.Cookie;
public class PageCookie implements Serializable {
private static final long serialVersionUID = 8628587700329421486L;
private String name;
private String value;
private String comment;
private String domain;
p... | sdgdsffdsfff/jresplus | jresplus-mvc/src/main/java/com/hundsun/jresplus/web/cache/PageCookie.java | Java | mit | 1,688 |
package fr.bouyguestelecom.bboxapi.bboxapi.callback;
import okhttp3.Request;
public interface IBboxGetLogoChannel {
void onResponse(String sessionId, String logoUrl);
void onFailure(Request request, int errorCode);
}
| Pierretag/bboxtv-pfe-android-master | bboxapi/src/main/java/fr/bouyguestelecom/bboxapi/bboxapi/callback/IBboxGetLogoChannel.java | Java | mit | 230 |
package io.rtr.alchemy.identities;
import org.apache.commons.math3.stat.inference.ChiSquareTest;
import org.junit.Test;
import org.mockito.Mockito;
import java.util.Set;
import static org.junit.Assert.assertNotEquals;
import static org.junit.Assert.assertTrue;
import static org.mockito.Matchers.any;
import static or... | RentTheRunway/alchemy | alchemy-core/src/test/java/io/rtr/alchemy/identities/IdentityBuilderTest.java | Java | mit | 4,147 |
/*******************************************************************************
* Copyright (c) 2013-2016 LAAS-CNRS (www.laas.fr)
* 7 Colonel Roche 31077 Toulouse - France
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
... | huanpc/IoT-1 | docker/oneM2M/CSE_IPE/org.eclipse.om2m/org.eclipse.om2m.commons/src/main/java/org/eclipse/om2m/commons/entities/AccessControlContextEntity.java | Java | mit | 3,224 |
package org.kumoricon.service;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
public class FieldCleanerTest {
@Test
public void testCleanNameTrimsWhitespace() {
assertEquals("Test", FieldCleaner.cleanName(" Test \n"));
}
@Test
public void testCleanNameHandlesNull()... | jashort/kumoreg | src/test/java/org/kumoricon/service/FieldCleanerTest.java | Java | mit | 2,914 |
package Nov2020_FBPrep;
public class _046RegularExpressionMatching {
public static void main(String[] args) {
System.out.println(isMatch("aa", "a"));
System.out.println(isMatch("aa", "a*"));
System.out.println(isMatch("ab", ".*"));
System.out.println(isMatch("aab", "c*a*b"));
System.out.println(isMatch("mi... | darshanhs90/Java-InterviewPrep | src/Nov2020_FBPrep/_046RegularExpressionMatching.java | Java | mit | 1,166 |
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.gallery;
import org.joda.time.Period;
import com... | martinsawicki/azure-sdk-for-java | azure-mgmt-insights/src/main/java/com/microsoft/azure/management/gallery/ThresholdRuleCondition.java | Java | mit | 4,537 |
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.recoveryservices.siterecovery.v2018_01_10;
impor... | selvasingh/azure-sdk-for-java | sdk/recoveryservices.siterecovery/mgmt-v2018_01_10/src/main/java/com/microsoft/azure/management/recoveryservices/siterecovery/v2018_01_10/A2AApplyRecoveryPointInput.java | Java | mit | 704 |
package net.mostlyoriginal.game.system.flow;
import com.artemis.Aspect;
import com.artemis.ComponentMapper;
import com.artemis.Entity;
import com.artemis.annotations.Wire;
import com.artemis.systems.EntityProcessingSystem;
import com.artemis.utils.EntityBuilder;
import net.mostlyoriginal.api.component.script.Schedule;... | thecocce/odb-minion-factorium | core/src/net/mostlyoriginal/game/system/flow/RetryLevelSystem.java | Java | mit | 1,221 |
package org.brunosimoes.programs.paintbrush;
import java.applet.Applet;
import java.awt.Color;
/**
* 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, o... | behnaaz/jPaintbrush | src/org/brunosimoes/programs/paintbrush/PaintBrushApplet.java | Java | mit | 1,233 |
/*
* Sleuth Kit Data Model
*
* Copyright 2014 Basis Technology Corp.
* Contact: carrier <at> sleuthkit <dot> 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.a... | ForensicTools/Hotaru-475_2141-Edwards | sleuthkit-develop/bindings/java/src/org/sleuthkit/datamodel/HashEntry.java | Java | mit | 1,535 |
package de.bitshares_munich.smartcoinswallet;
import android.util.Log;
import com.neovisionaries.ws.client.WebSocket;
import com.neovisionaries.ws.client.WebSocketException;
import com.neovisionaries.ws.client.WebSocketFactory;
import com.neovisionaries.ws.client.WebSocketListener;
import java.io.IOException;
impor... | kenCode-de/smartcoins-wallet | app/src/main/java/de/bitshares_munich/smartcoinswallet/WebsocketWorkerThread.java | Java | mit | 1,736 |
package mundosk_libraries.java_websocket;
import java.net.InetSocketAddress;
import mundosk_libraries.java_websocket.drafts.Draft;
import mundosk_libraries.java_websocket.framing.Framedata;
import mundosk_libraries.java_websocket.handshake.ClientHandshake;
import mundosk_libraries.java_websocket.exceptions.InvalidDat... | TlatoaniHJ/MundoSK | src/mundosk_libraries/java_websocket/WebSocketAdapter.java | Java | mit | 3,846 |
package org.carbon.authentication.conf;
import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.carbon.authentication.AuthIdentity;
import org.carbon.authentication.conf.rule.APIOrientedRule;
import org.carbon.authentication... | ShotaOd/Carbon | carbon-authentication/src/main/java/org/carbon/authentication/conf/AuthDefinitionBuilder.java | Java | mit | 2,301 |
package structures.data;
public class DataEvent {
}
| nrg12/VOOGASalad | Design/Interfaces/structures/data/DataEvent.java | Java | mit | 54 |
package com.example.hellorammus;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.B... | uunchpgney/HelloRammus | HelloRammus/src/com/example/hellorammus/HelloBMI.java | Java | mit | 3,521 |
package io.sniffy.test.testng;
import io.sniffy.Sniffy;
import io.sniffy.SniffyAssertionError;
import io.sniffy.Spy;
import io.sniffy.configuration.SniffyConfiguration;
import io.sniffy.registry.ConnectionsRegistry;
import io.sniffy.socket.*;
import io.sniffy.sql.SqlExpectation;
import io.sniffy.sql.SqlQueries;
import... | sniffy/sniffy | sniffy-test/sniffy-testng/src/main/java/io/sniffy/test/testng/SniffyTestNgListener.java | Java | mit | 5,637 |
package org.robolectric.internal;
import org.robolectric.annotation.Config;
import org.robolectric.manifest.AndroidManifest;
import org.robolectric.res.Fs;
import org.robolectric.res.FsFile;
import org.robolectric.util.Logger;
import java.io.IOException;
import java.io.InputStream;
import java.util.*;
public class M... | ocadotechnology/robolectric | robolectric/src/main/java/org/robolectric/internal/MavenManifestFactory.java | Java | mit | 6,318 |
package info.aea.rss;
import java.io.IOException;
import java.io.StringReader;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import java.util.List;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurati... | aman-devy/snippets | Snippets/src/info/aea/rss/RSSParser.java | Java | mit | 7,349 |
/*
* Copyright (c) 2015, 2016, 2017 Adrian Siekierka
*
* This file is part of Charset.
*
* Charset 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 ... | BetterWithMods/BetterWithMods | src/main/java/betterwithmods/client/baking/BaseBakedModel.java | Java | mit | 4,407 |
package com.flextrade.jfixture.builders;
import com.flextrade.jfixture.NoSpecimen;
import com.flextrade.jfixture.SpecimenBuilder;
import com.flextrade.jfixture.SpecimenContext;
import com.flextrade.jfixture.requests.RangeRequest;
import com.flextrade.jfixture.utility.SpecimenType;
import java.util.Calendar;
class Ca... | FlexTradeUKLtd/jfixture | jfixture/src/main/java/com/flextrade/jfixture/builders/CalendarRangeRelay.java | Java | mit | 1,813 |
package org.knowm.xchange.coinbase.dto.merchant;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;
import org.knowm.xchange.coinbase.dto.CoinbaseBaseResponse;
import org.knowm.xchange.coinbase.dto.common.CoinbaseRepeat;
import org.knowm.xchange.coinbase.dto.marketdata.CoinbaseMoney;
impo... | gaborkolozsy/XChange | xchange-coinbase/src/main/java/org/knowm/xchange/coinbase/dto/merchant/CoinbaseButton.java | Java | mit | 16,522 |
package jsock.enums;
/**
* Created by czifro on 6/5/15.
*/
public enum FunctionType {
ONLY_NULLS,
NON_ASCII,
NON_UNICODE
}
| czifro-development/JSocket | jsocket/src/main/java/jsock/enums/FunctionType.java | Java | mit | 138 |
/*******************************************************************************
* This file is part of the Twig eclipse plugin.
*
* (c) Robert Gruendler <r.gruendler@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
******... | gencer/Twig-Eclipse-Plugin | com.dubture.twig.ui/src/com/dubture/twig/ui/editor/configuration/TwigStructuredPresentationReconciler.java | Java | mit | 671 |
package com.firebase.androidchat;
import android.app.ListActivity;
import android.content.SharedPreferences;
import android.database.DataSetObserver;
import android.os.Bundle;
import android.view.KeyEvent;
import android.view.View;
import android.view.inputmethod.EditorInfo;
import android.widget.*;
import com.firebas... | Pankaj-Dream/MrMafia | src/com/firebase/androidchat/MainActivity.java | Java | mit | 4,551 |
/***************************************************************************
GanttProject.java - description
-------------------
begin : dec 2002
copyright : (C) 2002 by Thomas Alexandre
email : alexthomas(at)ganttproject.org
*********************************************... | mmohan01/ReFactory | data/ganttproject/ganttproject-1.10/net/sourceforge/ganttproject/GanttProject.java | Java | mit | 104,947 |
package play_us.server.resources;
import java.net.URLEncoder;
import java.util.Arrays;
import java.util.List;
import org.restlet.resource.ClientResource;
import play_us.shared.domain.Track;
public class SoundcloudResource {
private static final String CLIENT_ID = "3989c2f241c8e4776d091b30d658a6a8";
private stati... | JuanLSanchez/Play-US | Play-US/Play_US/src/play_us/server/resources/SoundcloudResource.java | Java | mit | 896 |
package April2021Leetcode;
public class _1328BreakAPalindrome {
public static void main(String[] args) {
System.out.println(breakPalindrome("abccba"));
System.out.println(breakPalindrome("a"));
}
public static String breakPalindrome(String palindrome) {
}
}
| darshanhs90/Java-InterviewPrep | src/April2021Leetcode/_1328BreakAPalindrome.java | Java | mit | 272 |
package br.com.project.checkskills.test.repositories;
import java.util.ArrayList;
import java.util.List;
import javax.inject.Inject;
import org.apache.log4j.Logger;
import org.junit.Test;
import br.com.project.checkskills.entities.avaliacao.AvaliacaoCompetenciaEntity;
import br.com.project.checkskills.en... | luan-analiseinfo/sistema-avaliacao-competencia | src/test/java/br/com/project/checkskills/test/repositories/AvalicaoRepositoryTest.java | Java | mit | 2,331 |
package plugins;
/**
* This class represents the CaesarsCode1Plugin to change the text with the Caesar's code with a shift precised in the constructor
*
* @author Damien SAUVALLE, Laurent THIEBAULT, Amélie MULEBECQ, Nicolas SVIRCHEVSKY
*/
public class CaesarsCodePlugin implements Plugin {
protected int shift;
... | lauthieb/plugins | src/main/java/plugins/CaesarsCodePlugin.java | Java | mit | 1,411 |
package uk.co.automatictester.lightning.core.reporters.junit;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
import uk.co.automatictester.lightning.core.enums.TestResult;
import uk.co.automatictester.lightning.core.exceptions.JunitReportGenerationException;
import uk.co.automatictest... | deliverymind/lightning | lightning-core/src/main/java/uk/co/automatictester/lightning/core/reporters/junit/JunitReportGenerator.java | Java | mit | 4,514 |
package mat.client.shared;
import java.util.List;
import java.util.stream.Collectors;
import java.util.stream.Stream;
import mat.shared.ConstantMessages;
public class MeasureDetailsConstants {
public static final String PROPORTION = ConstantMessages.PROPORTION_SCORING;
public static final String RATIO = ConstantMe... | MeasureAuthoringTool/MeasureAuthoringTool_Release | mat/src/main/java/mat/client/shared/MeasureDetailsConstants.java | Java | cc0-1.0 | 3,950 |
package net.minecraft.server;
public class IntHashMap {
private transient IntHashMapEntry[] a = new IntHashMapEntry[16];
private transient int b;
private int c = 12;
private final float d = 0.75F;
public IntHashMap() {}
private static int g(int i) {
i ^= i >>> 20 ^ i >>> 12;
... | Codecarinas/massive-octo-shame | Server/work/decompile-8eb82bde/net/minecraft/server/IntHashMap.java | Java | cc0-1.0 | 4,349 |
/*******************************************************************************
* Copyright (C) 2008, Marek Zawirski <marek.zawirski@gmail.com>
*
* 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 dist... | mdoninger/egit | org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/push/PushResultTable.java | Java | epl-1.0 | 9,918 |
/**
* Copyright (c) 2010-2020 Contributors to the openHAB project
*
* See the NOTICE file(s) distributed with this work for additional
* information.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.... | openhab/openhab | bundles/binding/org.openhab.binding.knx.test/src/test/java/org/openhab/binding/knx/internal/bus/KNXBusReaderSchedulerTest.java | Java | epl-1.0 | 4,982 |
/*******************************************************************************
* Copyright (c) 2012 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is a... | OpenLiberty/open-liberty | dev/com.ibm.ws.kernel.feature.core/src/com/ibm/ws/kernel/feature/provisioning/HeaderElementDefinition.java | Java | epl-1.0 | 788 |
/**
* Copyright (c) 2010-2021 Contributors to the openHAB project
*
* See the NOTICE file(s) distributed with this work for additional
* information.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.... | MikeJMajor/openhab2-addons-dlinksmarthome | bundles/org.openhab.binding.fmiweather/src/test/java/org/openhab/binding/fmiweather/FMIResponseParsingSinglePlaceTest.java | Java | epl-1.0 | 3,972 |
/*******************************************************************************
* Copyright (c) 2020 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is a... | OpenLiberty/open-liberty | dev/com.ibm.ws.security.common/src/io/openliberty/security/common/config/package-info.java | Java | epl-1.0 | 657 |
/*******************************************************************************
* Copyright (c) 2020 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is a... | OpenLiberty/open-liberty | dev/io.openliberty.grpc.1.0.internal.client/src/io/openliberty/grpc/internal/client/config/package-info.java | Java | epl-1.0 | 634 |
/*******************************************************************************
* Copyright (c) 2013 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is a... | OpenLiberty/open-liberty | dev/com.ibm.ws.jca.utils/src/com/ibm/ws/jca/utils/xml/ra/v10/Ra10SecurityPermission.java | Java | epl-1.0 | 1,269 |
/*******************************************************************************
* Copyright (c) 2012-2016 Codenvy, S.A.
* 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 ... | Mirage20/che | ide/che-core-ide-api/src/main/java/org/eclipse/che/ide/api/debug/DebuggerServiceClientImpl.java | Java | epl-1.0 | 8,132 |
// Shamelessly stolen from ztellman's byte-streams
package gnuplot;
import java.io.IOException;
public class InputStream extends java.io.InputStream {
public interface Streamable {
int available();
void close();
long skip(long n);
int read() throws IOException;
int read(by... | edipofederle/gnuplot | src/gnuplot/InputStream.java | Java | epl-1.0 | 1,114 |
package anatlyzer.atl.analyser.batch.invariants;
import java.util.List;
import java.util.Set;
import java.util.function.Function;
import anatlyzer.atl.analyser.generators.CSPModel2;
import anatlyzer.atl.analyser.generators.ErrorSlice;
import anatlyzer.atl.analyser.generators.GraphvizBuffer;
import anatlyzer.atl.util.... | jesusc/anatlyzer | plugins/anatlyzer.atl.typing/src/anatlyzer/atl/analyser/batch/invariants/SplitIteratorBodyNode.java | Java | epl-1.0 | 2,530 |
/*
* (C) Copyright IBM Corp. 2009, 2012
*
* LICENSE: Eclipse Public License v1.0
* http://www.eclipse.org/legal/epl-v10.html
*/
package fabric.bus.routing;
import fabric.Fabric;
import fabric.core.xml.XML;
/**
* Data structure representing the the route embedded in a Fabric message.
*
*/
public abstract clas... | acshea/edgware | fabric.lib/src/fabric/bus/routing/MessageRoutingFactory.java | Java | epl-1.0 | 1,751 |
/**
* Copyright (c) 2010-2018 by the respective copyright holders.
*
* 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
*/... | tavalin/openhab2-addons | addons/binding/org.openhab.binding.smaenergymeter/src/main/java/org/openhab/binding/smaenergymeter/internal/handler/EnergyMeter.java | Java | epl-1.0 | 3,231 |
///////////////////////////////////////////////////////////////////////////////
//
// JTOpenLite
//
// Filename: AttributePackageLibrary.java
//
// The source code contained herein is licensed under the IBM Public License
// Version 1.0, which has been approved by the Open Source Initiative.
// Copyright (C) 2011-2012... | devjunix/libjt400-java | jtopenlite/com/ibm/jtopenlite/database/AttributePackageLibrary.java | Java | epl-1.0 | 689 |
package com.linkonworks.df.vo;
public class LoginLog implements java.io.Serializable{
private String id;
private String code;
private String loginTime;
private String loginIp;
private String machineName;
private String operation;
public LoginLog() {
super();
}
public LoginLog(String id, String code, Str... | helylinhe/Test | ps/src/com/linkonworks/df/vo/LoginLog.java | Java | epl-1.0 | 1,319 |
/******************************************************************************
* Copyright (C) 2006-2012 IFS Institute for Software 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 distribut... | akurtakov/Pydev | plugins/org.python.pydev.refactoring/src/org/python/pydev/refactoring/coderefactoring/extractmethod/edit/ParameterReturnDeduce.java | Java | epl-1.0 | 9,397 |
/*******************************************************************************
* Copyright (c) 2003, 2019 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, an... | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.timer.persistent_fat/test-applications/PersistentTimerCoreEJB.jar/src/com/ibm/ws/ejbcontainer/timer/persistent/core/ejb/StatelessHome.java | Java | epl-1.0 | 1,111 |
/**
* Copyright (c) 2015-2018 by the respective copyright holders.
*
* 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.ht... | lewie/openhab | bundles/api/org.openhab.core1/src/main/java/org/openhab/core/types/Command.java | Java | epl-1.0 | 523 |
package org.camunda.bpm.modeler.ui.property.tabs;
import org.camunda.bpm.modeler.core.property.AbstractTabSection;
import org.eclipse.bpmn2.BaseElement;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.swt.widgets.Composite;
/**
* Extensions tab for form data properties
*
* @author kristin.polenz
*/
publ... | camunda/camunda-eclipse-plugin | org.camunda.bpm.modeler/src/org/camunda/bpm/modeler/ui/property/tabs/ExtensionsTabSection.java | Java | epl-1.0 | 670 |
/* (c) 2014 Open Source Geospatial Foundation - all rights reserved
* This code is licensed under the GPL 2.0 license, available at the root
* application directory.
*/
package org.geoserver.geofence.services.rest;
import org.geoserver.geofence.services.rest.exception.BadRequestRestEx;
import org.geoserver.geofenc... | andrefilo/geofence | src/services/modules/rest/api/src/main/java/org/geoserver/geofence/services/rest/RESTRuleService.java | Java | gpl-2.0 | 3,780 |
/*
* This file is part of DrFTPD, Distributed FTP Daemon.
*
* DrFTPD 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.
*
* DrFTPD... | dr3plus/dr3 | src/plugins/org.drftpd.commands.find/src/org/drftpd/commands/find/action/PrintAction.java | Java | gpl-2.0 | 1,432 |
package org.checkerframework.mavenplugin;
import org.apache.maven.plugin.CompilationFailureException;
import org.apache.maven.plugin.MojoExecutionException;
import org.apache.maven.plugin.MojoFailureException;
import org.apache.maven.plugin.logging.Log;
import org.codehaus.plexus.compiler.CompilerError;
import org.cod... | atomicknight/checker-framework | maven-plugin/src/main/java/org/checkerframework/mavenplugin/MavenIOExecutor.java | Java | gpl-2.0 | 4,931 |
package com.development.buccola.myrecipes.add_recipe;
import android.app.Activity;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.AdapterView... | m2345/my_recipes | app/add_recipe/AddRecipe_General_Fragment.java | Java | gpl-2.0 | 6,604 |
package org.anddev.andengine.engine.options;
import android.os.PowerManager;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
* @since 19:45:23 - 10.07.2010
*/
public enum WakeLockOptions {
// ===========================================================
// Elements
// =====... | ricardobaumann/android | worldofgravity-master/src/org/anddev/andengine/engine/options/WakeLockOptions.java | Java | gpl-2.0 | 2,193 |
/*
* $Id: JXFindPanel.java,v 1.11 2005/10/24 13:20:41 kleopatra Exp $
*
* Copyright 2004 Sun Microsystems, Inc., 4150 Network Circle,
* Santa Clara, California 95054, U.S.A. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser Genera... | charlycoste/TreeD | src/org/jdesktop/swingx/JXFindPanel.java | Java | gpl-2.0 | 6,637 |
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software, you can redistribute it and/or modify it *
... | arthurmelo88/palmetalADP | adempiere_360/base/src/org/compiere/model/I_A_Asset_Info_Ins.java | Java | gpl-2.0 | 5,952 |
/*
* Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Softwa... | teamfx/openjfx-10-dev-rt | modules/javafx.controls/src/main/java/com/sun/javafx/scene/control/behavior/TableRowBehaviorBase.java | Java | gpl-2.0 | 5,769 |
/*
* Copyright (c) 2013, OpenCloudDB/MyCAT and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software;Designed and Developed mainly by many Chinese
* opensource volunteers. you can redistribute it and/or modify it under the
* ... | ongo360/Mycat-Server | src/main/java/io/mycat/backend/mysql/nio/handler/MultiNodeHandler.java | Java | gpl-2.0 | 6,577 |
package org.semanticweb.HermiT.reasoner;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import org.semanticweb.HermiT.datalog.ConjunctiveQuery;
import org.semanticweb.HermiT.datalog.DatalogEngine;
import org.semanticweb.HermiT.datalog.QueryResultCollector;
... | hrsky/PIOT | src/Hermit/test/org/semanticweb/HermiT/reasoner/DatalogEngineTest.java | Java | gpl-2.0 | 9,695 |
/***********************************************************************
* mt4j Copyright (c) 2008 - 2009, C.Ruff, Fraunhofer-Gesellschaft 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
* t... | Max90/MT4j_Breakout | src/org/mt4j/components/visibleComponents/widgets/keyboard/MTTextKeyboard.java | Java | gpl-2.0 | 13,725 |
/*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2009-2011 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2011 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(... | bugcy013/opennms-tmp-tools | opennms-asterisk/src/main/java/org/opennms/netmgt/asterisk/agi/scripts/BaseOnmsAgiScript.java | Java | gpl-2.0 | 7,825 |
/*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2011-2012 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2012 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(... | rfdrake/opennms | opennms-alarms/api/src/main/java/org/opennms/netmgt/alarmd/api/support/AlarmQueue.java | Java | gpl-2.0 | 8,674 |
/*
* Copyright 2010 The Apache Software Foundation
*
* 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 ... | lifeng5042/RStore | src/org/apache/hadoop/hbase/replication/ReplicationZookeeper.java | Java | gpl-2.0 | 26,675 |
package org.checkerframework.framework.qual;
import static java.lang.annotation.ElementType.FIELD;
import java.lang.annotation.Annotation;
import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Declares th... | CharlesZ-Chen/checker-framework | framework/src/org/checkerframework/framework/qual/Unused.java | Java | gpl-2.0 | 1,435 |
/**
* Some instructions are perniticky enough that its simpler
* to write them separately instead of smushing them with
* all the rest. The tableswitch instruction is one of them.
* @author $Author: fqian $
* @version $Revision: 1.1 $
*/
package jas;
import java.io.*;
public class TableswitchInsn... | BuddhaLabs/DeD-OSX | soot/jasmin-2.3.0/lib/jas/src/jas/TableswitchInsn.java | Java | gpl-2.0 | 729 |
/* Copyright (C) 2003-2015 JabRef contributors.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This progr... | robymus/jabref | src/main/java/net/sf/jabref/logic/autocompleter/DefaultAutoCompleter.java | Java | gpl-2.0 | 1,924 |
/*
* #%L
* Fork of JAI Image I/O Tools.
* %%
* Copyright (C) 2008 - 2017 Open Microscopy Environment:
* - Board of Regents of the University of Wisconsin-Madison
* - Glencoe Software, Inc.
* - University of Dundee
* %%
* Redistribution and use in source and binary forms, with or without
* modification, ... | stelfrich/bioformats | components/forks/jai/src/com/sun/media/imageio/plugins/jpeg2000/J2KImageWriteParam.java | Java | gpl-2.0 | 16,164 |
/*
* 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... | bdaum/zoraPD | com.bdaum.zoom.net.core/src/org/apache/commons/net/ftp/FTPFileEntryParser.java | Java | gpl-2.0 | 6,090 |
/*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that... | williamClanton/jbossBA | weka/src/main/java/weka/attributeSelection/BestFirst.java | Java | gpl-2.0 | 24,824 |
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software, you can redistribute it and/or modify it *
... | klst-com/metasfresh | de.metas.adempiere.adempiere/base/src/main/java-gen/org/compiere/model/X_CM_AccessNewsChannel.java | Java | gpl-2.0 | 4,233 |
package com.nightscout.android.upload;
import java.io.Serializable;
public class DeviceRecord extends Record implements Serializable{
/**
*
*/
private static final long serialVersionUID = 6321618305992689901L;
public String deviceId = "";
protected String deviceName = "";
public String getDeviceName... | wright-david/MedtronicUploader | src/com/nightscout/android/upload/DeviceRecord.java | Java | gpl-2.0 | 406 |
/*
* Copyright (C) 2011 The Android 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/LICENSE-2.0
*
* Unless required by app... | DigitalLabApp/Gramy | Telegram-master/TMessagesProj/src/main/java/org/telegram/messenger/volley/toolbox/HurlStack.java | Java | gpl-2.0 | 10,456 |
/*
* This file is part of lanterna (http://code.google.com/p/lanterna/).
*
* lanterna 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 la... | Tusamarco/stresstool | src/com/googlecode/lanterna/gui/Theme.java | Java | gpl-2.0 | 8,611 |
/* ===========================================================
* JFreeChart : a free chart library for the Java(tm) platform
* ===========================================================
*
* (C) Copyright 2000-2007, by Object Refinery Limited and Contributors.
*
* Project Info: http://www.jfree.org/jfreech... | SpoonLabs/astor | examples/chart_11/source/org/jfree/chart/event/AxisChangeListener.java | Java | gpl-2.0 | 2,464 |
/*
* Copyright 1998-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Fou... | kephale/java3d-core | src/classes/share/javax/media/j3d/DepthComponentRetained.java | Java | gpl-2.0 | 2,057 |
/**
* OpenKM, Open Document Management System (http://www.openkm.com)
* Copyright (c) 2006-2017 Paco Avila & Josep Llort
* <p>
* No bytes were intentionally harmed during the development of this application.
* <p>
* This program is free software; you can redistribute it and/or modify
* it under the terms of the... | Beau-M/document-management-system | src/main/java/com/openkm/frontend/client/bean/form/GWTSeparator.java | Java | gpl-2.0 | 1,470 |