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 cz.geokuk.core.program;
import cz.geokuk.framework.AfterInjectInit;
import cz.geokuk.framework.JMyDialog0;
public class JUmisteniSouboruDialog extends JMyDialog0 implements AfterInjectInit {
private static final long serialVersionUID = 7180968190465321695L;
private JPrehledSouboru jPrehledSoubor;
pub... | Danstahr/Geokuk | src/main/java/cz/geokuk/core/program/JUmisteniSouboruDialog.java | Java | gpl-3.0 | 948 |
/*
* Copyright (c) 2010 Remko Tronçon
* Licensed under the GNU General Public License v3.
* See Documentation/Licenses/GPLv3.txt for more information.
*/
#include <Swiften/Client/ClientSessionStanzaChannel.h>
#include <boost/bind.hpp>
#include <iostream>
namespace Swift {
void ClientSessionStanzaChannel::setSes... | marosi/SocialDesktopClient | plugins/buddycloud/3rdparty/swift/Swiften/Client/ClientSessionStanzaChannel.cpp | C++ | gpl-3.0 | 3,079 |
/**
* multipool-stats-backend is a web application which collects statistics
* on several Switching-profit crypto-currencies mining pools and display
* then in a Browser.
* Copyright (C) 2014 Stratehm (stratehm@hotmail.com)
*
* This program is free software; you can redistribute it and/or modify
* it under the ... | Stratehm/multipool-stats-backend | src/main/java/strat/mining/multipool/stats/jersey/resources/middlecoin/StatsResources.java | Java | gpl-3.0 | 12,792 |
/* Properties of Unicode characters.
Copyright (C) 2002, 2006-2007, 2009-2014 Free Software Foundation, Inc.
Written by Bruno Haible <bruno@clisp.org>, 2002.
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 t... | Distrotech/coreutils | gnulib/lib/unictype/pr_pattern_syntax.c | C | gpl-3.0 | 1,195 |
/*
* LICENCE : CloudUnit is available under the GNU Affero General Public License : https://gnu.org/licenses/agpl.html
* but CloudUnit is licensed too under a standard commercial license.
* Please contact our sales team if you would like to discuss the specifics of our Enterprise license.
* If you are not sure whet... | cxxly/cstack | cu-manager/src/main/java/cn/org/once/cstack/service/DockerService.java | Java | agpl-3.0 | 3,478 |
package com.x.bbs.assemble.control.schedule;
import com.google.gson.Gson;
import com.google.gson.JsonArray;
import com.google.gson.JsonObject;
import com.x.base.core.project.connection.ActionResponse;
import com.x.base.core.project.logger.Logger;
import com.x.base.core.project.logger.LoggerFactory;
import com.x.base.c... | o2oa/o2oa | o2server/x_bbs_assemble_control/src/main/java/com/x/bbs/assemble/control/schedule/MarketSubjectTypeTask.java | Java | agpl-3.0 | 2,727 |
// Copyright 2017 Baliance. All rights reserved.
//
// Use of this source code is governed by the terms of the Affero GNU General
// Public License version 3.0 as published by the Free Software Foundation and
// appearing in the file LICENSE included in the packaging of this file. A
// commercial license can be purchas... | LYY/code2docx | vendor/baliance.com/gooxml/vmldrawing/commentdrawing.go | GO | agpl-3.0 | 3,617 |
// Copyright 2018 fatedier, fatedier@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 by applicable law... | admpub/nging | vendor/github.com/admpub/frp/pkg/plugin/client/static_file.go | GO | agpl-3.0 | 2,199 |
/*
* RapidMiner
*
* Copyright (C) 2001-2011 by Rapid-I and the contributors
*
* Complete list of developers available at our web site:
*
* http://rapid-i.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public Lice... | aborg0/rapidminer-vega | src/com/rapidminer/operator/meta/ValueIteration.java | Java | agpl-3.0 | 6,079 |
/*
* PanmirrorUIContext.java
*
* Copyright (C) 2020 by RStudio, PBC
*
* Unless you have received this program directly from RStudio pursuant
* to the terms of a commercial license agreement with RStudio, then
* this program is licensed to you under the terms of version 3 of the
* GNU Affero General Public Licen... | JanMarvin/rstudio | src/gwt/src/org/rstudio/studio/client/panmirror/ui/PanmirrorUIContext.java | Java | agpl-3.0 | 2,366 |
package server
import (
"encoding/hex"
"io"
"net/http"
"github.com/gorilla/mux"
"github.com/hoffie/larasync/api/common"
)
// extractAuthorizationPubKey returns a public key which has been passed to the
// as the var "authorizationPublicKeyString" in the URL.
func extractAuthorizationPubKey(req *http.Request) (... | hoffie/larasync | api/server/authorization.go | GO | agpl-3.0 | 2,163 |
/*
This file is part of the GSM3 communications library for Arduino
-- Multi-transport communications platform
-- Fully asynchronous
-- Includes code for the Arduino-Telefonica GSM/GPRS Shield V1
-- Voice calls
-- SMS
-- TCP/IP connections
-- HTTP basic clients
This library has been developed by Telefónica Digital - P... | roboard/86Duino_Linux_SDK | libraries/GSM/GSM3ShieldV1ModemVerification.h | C | lgpl-2.1 | 1,838 |
/*
* BioJava development code
*
* This code may be freely distributed and modified under the
* terms of the GNU Lesser General Public Licence. This should
* be distributed with the code. If you do not have a copy,
* see:
*
* http://www.gnu.org/copyleft/lesser.html
*
* Copyright for t... | pwrose/biojava | biojava-structure/src/main/java/demo/DemoSymmetry.java | Java | lgpl-2.1 | 4,250 |
/*
* Copyright (C) 2014 Hugh Bailey <obs.jim@gmail.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 ver... | jp9000/libdshowcapture | source/device.hpp | C++ | lgpl-2.1 | 3,220 |
package org.cytoscape.ding.impl.cyannotator;
import static java.util.stream.Collectors.groupingBy;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.Comparator;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
i... | cytoscape/cytoscape-impl | ding-impl/ding-presentation-impl/src/main/java/org/cytoscape/ding/impl/cyannotator/AnnotationTree.java | Java | lgpl-2.1 | 11,293 |
/*
* Copyright 2009-2015 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | bedrin/kerb4j | kerb4j-server/kerb4j-server-spring-security/src/test/java/com/kerb4j/server/spring/SpnegoAuthenticationProcessingFilterTest.java | Java | lgpl-2.1 | 9,772 |
/*!
\file
\author Dane Gardner <dane.gardner@gmail.com>
\version
\section LICENSE
This file is part of the Open|SpeedShop Graphical User Interface
Copyright (C) 2010-2013 Argo Navis Technologies, LLC
This library is free software; you can redistribute it and/or modify it
under the terms of the... | OpenSpeedShop/gui | src/plugins/OpenSpeedShop/Settings/SettingPage.cpp | C++ | lgpl-2.1 | 3,256 |
/* Copyright (c) 2013-2014 Boundless and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Distribution License v1.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/org/documents/edl-v10.html
*
* Cont... | jodygarnett/GeoGig | src/core/src/test/java/org/locationtech/geogig/storage/RevFeatureTypeSerializationTest.java | Java | lgpl-2.1 | 3,994 |
/*
* JBoss, Home of Professional Open Source.
* See the COPYRIGHT.txt file distributed with this work for information
* regarding copyright ownership. Some portions may be licensed
* to Red Hat, Inc. under one or more contributor license agreements.
*
* This library is free software; you can redistribute it and... | kenweezy/teiid | api/src/main/java/org/teiid/translator/BaseDelegatingExecutionFactory.java | Java | lgpl-2.1 | 14,652 |
############################################################################
#
# (C) Copyright 2011 The OpenSAF Foundation
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
# or FITNESS FOR A PARTICULAR PURPOSE. This file... | helioloureiro/opensaf-fork | python/pyosaf/saLck.py | Python | lgpl-2.1 | 6,894 |
/**********
This library is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by the
Free Software Foundation; either version 3 of the License, or (at your
option) any later version. (See <http://www.gnu.org/copyleft/lesser.html>.)
This librar... | MobotixAG/live666 | testProgs/playCommon.hh | C++ | lgpl-3.0 | 2,263 |
/*
Scalpel - Source Code Analysis, Libre and PortablE Library
Copyright © 2008 - 2012 Florian Goujeon
This file is part of Scalpel.
Scalpel 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 ... | fgoujeon/scalpel | src/scalpel/cpp/semantic_analysis.cpp | C++ | lgpl-3.0 | 1,526 |
# -*- coding: utf-8 -*-
"""
This file is part of PyZ80.
PyZ80 is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
PyZ80 is distributed ... | lliendo/PyZ80 | pyz80/instruction/abc_exchange_and_transfer.py | Python | lgpl-3.0 | 1,301 |
/*
* Copyright (C) 2022 Inera AB (http://www.inera.se)
*
* This file is part of sklintyg (https://github.com/sklintyg).
*
* sklintyg 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 t... | sklintyg/statistik | service/src/main/java/se/inera/statistics/service/warehouse/NationellDataInfo.java | Java | lgpl-3.0 | 13,239 |
/* Copyright (C) 2016, 2017, 2018, 2019, 2020, 2021, 2022 Arnaud Berny
This file is part of HNCO.
HNCO 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 (a... | courros/hnco | lib/hnco/algorithms/decorators/restart.cc | C++ | lgpl-3.0 | 1,084 |
/**
* 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/service/services/bolonhaManager/CreateCompetenceCourse.java | Java | lgpl-3.0 | 4,170 |
package org.opennaas.extensions.router.junos.actionssets.actions.vlanbridge;
/*
* #%L
* OpenNaaS :: Router :: Junos ActionSet
* %%
* Copyright (C) 2007 - 2014 Fundació Privada i2CAT, Internet i Innovació a Catalunya
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this fi... | dana-i2cat/opennaas | extensions/bundles/router.actionsets.junos/src/main/java/org/opennaas/extensions/router/junos/actionssets/actions/vlanbridge/DeleteBridgeDomainAction.java | Java | lgpl-3.0 | 3,565 |
package org.molgenis.integrationtest.data;
import static org.molgenis.MolgenisFieldTypes.STRING;
import static org.molgenis.data.EntityMetaData.AttributeRole.ROLE_ID;
import static org.testng.Assert.assertEquals;
import org.molgenis.data.EditableEntityMetaData;
import org.molgenis.data.Entity;
import org.molgenis.dat... | erwinwinder/molgenis | molgenis-integration-tests/src/test/java/org/molgenis/integrationtest/data/AbstractDefaultValueIT.java | Java | lgpl-3.0 | 2,318 |
/**
* Copyright (C) 2010-2016 Gordon Fraser, Andrea Arcuri and EvoSuite
* contributors
*
* This file is part of EvoSuite.
*
* EvoSuite 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 vers... | claudejin/evosuite | master/src/test/java/org/evosuite/testcarver/CarverSystemTest.java | Java | lgpl-3.0 | 5,502 |
/*
* 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 ... | greghogan/flink | flink-formats/flink-json/src/main/java/org/apache/flink/formats/json/debezium/DebeziumJsonDeserializationSchema.java | Java | apache-2.0 | 11,872 |
/* 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... | stephraleigh/flowable-engine | modules/flowable-jms-spring-executor/src/test/java/org/flowable/test/spring/executor/jms/SpringJmsTest.java | Java | apache-2.0 | 3,298 |
/*
* Copyright 2017 NAVER Corp.
*
* 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 w... | sjmittal/pinpoint | profiler-test/src/main/java/com/navercorp/pinpoint/test/PluginApplicationContextModule.java | Java | apache-2.0 | 5,036 |
package com.sms.module;
import com.sms.meal.backend.MealProviderFromCache;
import com.sms.meal.backend.MealProviderFromServer;
import com.sms.meal.backend.MyMealProvider;
import com.sms.meal.backend.ParseMealParser;
import com.sms.meal.ui.add.AddMealFragment;
import com.sms.meal.ui.get.MealFragment;
import com.sms.mea... | kul3r4/sms | app/src/main/java/com/sms/module/ShareMyMealModule.java | Java | apache-2.0 | 1,381 |
package com.seven.idouban.util;
import android.content.Context;
import android.widget.ImageView;
import com.nostra13.universalimageloader.core.DisplayImageOptions;
import com.nostra13.universalimageloader.core.ImageLoader;
import com.nostra13.universalimageloader.core.ImageLoaderConfiguration;
import com.nost... | qishi604/idouban | idouban/src/com/seven/idouban/util/ImageUtil.java | Java | apache-2.0 | 2,885 |
package com.lanxing.serviceImp;
import com.lanxing.dao.TeacherMapper;
import com.lanxing.model.Teacher;
import com.lanxing.service.TeacherService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
/**
* Created by lanxing on 16-3-1.
... | lanxing/MyBatis-Spring | src/main/java/com/lanxing/serviceImp/TeacherServiceImp.java | Java | apache-2.0 | 1,303 |
package com.scipionyx.butterflyeffect.api.infrastructure.services.server.controller;
import java.io.Serializable;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.Response... | ScipionyxCorp/butterfly-effect-framework | framework-backend-infrastructure/src/main/java/com/scipionyx/butterflyeffect/api/infrastructure/services/server/controller/AbstractRestController.java | Java | apache-2.0 | 1,690 |
package org.zalando.stups.fullstop.events;
import com.amazonaws.services.cloudtrail.processinglibrary.model.CloudTrailEvent;
import org.junit.Test;
import java.util.List;
import static org.assertj.core.api.Assertions.assertThat;
import static org.zalando.stups.fullstop.events.CloudTrailEventSupport.getInstanceIds;
i... | zalando-stups/fullstop | fullstop-aws-support/fullstop-aws-cloudtrail-support/src/test/java/org/zalando/stups/fullstop/events/CloudTrailEventSupportTest.java | Java | apache-2.0 | 1,996 |
package sv.com.htamayo.controller;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;
import javax.inject.Named;
import java.io.Serializable;
import javax.faces.application.FacesMessage;
import javax.faces.context.FacesContext;
import org.primefaces.context.RequestContext;
import java.util.*;
i... | hftamayo/sigebi | src/sv/com/htamayo/controller/CatbibliografiaController.java | Java | apache-2.0 | 1,680 |
/*
* Copyright (c) 2005-2009 Grameen Foundation USA
* 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
*
* Unl... | mifos/1.4.x | application/src/test/java/org/mifos/application/collectionsheet/business/CollSheetBOIntegrationTest.java | Java | apache-2.0 | 20,521 |
/*
* Copyright © 2013-2018 camunda services GmbH and various authors (info@camunda.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... | xasx/camunda-bpm-platform | engine-rest/engine-rest/src/main/java/org/camunda/bpm/engine/rest/impl/ProcessDefinitionRestServiceImpl.java | Java | apache-2.0 | 9,806 |
/**
*
*/
package commons.httpclient;
import java.security.cert.CertificateException;
import java.security.cert.X509Certificate;
import javax.net.ssl.SSLContext;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.HttpStatus;
import org.apache.http.client.Htt... | 5waynewang/commons-jkit | commons-httpclient/src/test/java/commons/httpclient/SSLHttpClientTest.java | Java | apache-2.0 | 3,638 |
/*
* Copyright 2012 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 a... | porcelli-forks/guvnor | guvnor-asset-mgmt/guvnor-asset-mgmt-client/src/main/java/org/guvnor/asset/management/client/editors/forms/rework/RequiresReworkPresenter.java | Java | apache-2.0 | 1,861 |
/*
* Copyright 2017-2022 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... | aws/aws-sdk-java | aws-java-sdk-outposts/src/main/java/com/amazonaws/services/outposts/model/transform/ListSitesRequestProtocolMarshaller.java | Java | apache-2.0 | 2,555 |
package de.springbootbuch.reactive.filmstore;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import org.springframework.data.m... | springbootbuch/reactive | filmstore/src/main/java/de/springbootbuch/reactive/filmstore/Film.java | Java | apache-2.0 | 1,075 |
/**
* Copyright 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 Apac... | ibmsoe/hbase | hbase-server/src/test/java/org/apache/hadoop/hbase/TestServerLoad.java | Java | apache-2.0 | 4,097 |
/*
* Copyright 2011 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... | powertac/powertac-core | common/src/test/java/org/powertac/common/OrderbookTests.java | Java | apache-2.0 | 6,331 |
// Copyright © 2020 Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>.
//
// Use of this source code is governed by an MIT-style
// license that can be found in the LICENSE file.
//
package libsass
// #include "stdlib.h"
// #include "sass/context.h"
// #include "sass2scss.h"
import "C"
import (
"reflect"
"unsafe"
... | tischda/hugo-search | vendor/github.com/bep/golibsass/internal/libsass/a__libsass.go | GO | apache-2.0 | 6,339 |
//
// Copyright 2011 Kuali Foundation, Inc. Licensed under the
// Educational Community 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.opensource.org/licenses/ecl2.php
//
// Unless required ... | Ariah-Group/Continuity | src/main/java/org/kuali/continuity/admin/service/GenericAdminServiceImpl.java | Java | apache-2.0 | 3,759 |
/*
* Copyright (C) 2010 Benoit Guerout <bguerout at gmail dot 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 re... | bguerout/keemto | src/main/java/fr/keemto/provider/exchange/ExchangeConfig.java | Java | apache-2.0 | 3,782 |
/*
* Minio Cloud Storage, (C) 2015, 2016 Minio, 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 applica... | koolhead17/minio | cmd/generic-handlers.go | GO | apache-2.0 | 10,535 |
package brooklyn.entity.effector;
import brooklyn.config.ConfigKey;
import brooklyn.entity.basic.ConfigKeys;
import brooklyn.entity.basic.EntityInternal;
import brooklyn.entity.basic.EntityLocal;
import brooklyn.entity.proxying.EntityInitializer;
import brooklyn.event.AttributeSensor;
import brooklyn.event.Sensor;
imp... | azharhashmi/brooklyn | core/src/main/java/brooklyn/entity/effector/AddSensor.java | Java | apache-2.0 | 1,694 |
package io.datakernel.codec;
import org.jetbrains.annotations.Nullable;
import java.lang.reflect.Type;
import java.util.List;
import java.util.Map;
/**
* This is an abstraction that allows you to write data in uniform way
* in different forms with different implementations of this interface
*/
public interface St... | softindex/datakernel | util-codec/src/main/java/io/datakernel/codec/StructuredOutput.java | Java | apache-2.0 | 1,564 |
/*
* 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-waf/src/main/java/com/amazonaws/services/waf/model/waf_regional/transform/ListIPSetsRequestProtocolMarshaller.java | Java | apache-2.0 | 2,640 |
/*
* Copyright 2017 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 i... | googleapis/java-bigtable-hbase | bigtable-dataflow-parent/bigtable-hbase-beam/src/test/java/com/google/cloud/bigtable/beam/CloudBigtableScanConfigurationTest.java | Java | apache-2.0 | 6,517 |
/*
* 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 ... | mmaro/giraph | giraph-examples/src/test/java/org/apache/giraph/TestBspBasic.java | Java | apache-2.0 | 20,289 |
/**
* Copyright 2008-2017 Qualogy Solutions B.V.
*
* 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... | qafedev/qafe-platform | qafe-presentation/src/main/java/com/qualogy/qafe/presentation/io/ApplicationClusterUtil.java | Java | apache-2.0 | 2,681 |
package mireka.filter.local.table;
import mireka.address.Recipient;
import mireka.destination.Destination;
/**
* RecipientDestinationPair is a configuration helper object which assigns a
* destination to a mailbox address which is supplied in text form.
*/
public class RecipientDestinationPair implements Recipient... | EwkaKurewka/mireka | src/mireka/filter/local/table/RecipientDestinationPair.java | Java | apache-2.0 | 938 |
package ca.uhn.fhir.jpa.dao;
import java.util.List;
/*
* #%L
* HAPI FHIR JPA Server
* %%
* Copyright (C) 2014 - 2016 University Health Network
* %%
* 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 th... | Gaduo/hapi-fhir | hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/IFhirResourceDaoCodeSystem.java | Java | apache-2.0 | 2,817 |
/**
* Copyright 2017-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | ralscha/wamp2spring | wamp2spring-session-servlet/src/main/java/ch/rasc/wamp2spring/session/servlet/SessionWampServletConfigurer.java | Java | apache-2.0 | 2,634 |
package com.epam.ta.reportportal.core.widget.content.updater.validator;
import com.epam.ta.reportportal.entity.widget.WidgetOptions;
import com.epam.ta.reportportal.exception.ReportPortalException;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import java.util.Collections;
import java.ut... | reportportal/service-api | src/test/java/com/epam/ta/reportportal/core/widget/content/updater/validator/PassingRateSummaryContentValidatorTest.java | Java | apache-2.0 | 1,221 |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/chime-sdk-messaging/model/PutChannelMembershipPreferencesRequest.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <aws/core/utils/memory/stl/AWSStringStream.h>
#include <util... | aws/aws-sdk-cpp | aws-cpp-sdk-chime-sdk-messaging/source/model/PutChannelMembershipPreferencesRequest.cpp | C++ | apache-2.0 | 1,251 |
package com.java110.api.listener.org;
import com.alibaba.fastjson.JSONObject;
import com.java110.api.bmo.org.IOrgBMO;
import com.java110.api.listener.AbstractServiceApiPlusListener;
import com.java110.core.annotation.Java110Listener;
import com.java110.core.context.DataFlowContext;
import com.java110.intf.user.IOrgInn... | java110/MicroCommunity | service-api/src/main/java/com/java110/api/listener/org/UpdateOrgListener.java | Java | apache-2.0 | 2,215 |
/* ###
* IP: GHIDRA
*
* 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 writin... | NationalSecurityAgency/ghidra | Ghidra/Features/VersionTracking/src/main/java/ghidra/feature/vt/gui/provider/matchtable/VTMatchTableModel.java | Java | apache-2.0 | 5,444 |
package com.cobranca.util.jpa;
import javax.enterprise.context.ApplicationScoped;
import javax.enterprise.context.RequestScoped;
import javax.enterprise.inject.Disposes;
import javax.enterprise.inject.Produces;
import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import javax.... | OLucasAlves/Boletos | src/main/java/com/cobranca/util/jpa/EntityManagerProducer.java | Java | apache-2.0 | 966 |
package hr.schteph.common.rest.autoproxy;
import org.springframework.util.Assert;
import lombok.extern.slf4j.Slf4j;
/**
* @author scvitanovic
*/
@Slf4j
public class RequestArgumentsValidatorDefault implements RequestArgumentsValidator {
@Override
public void validateArgument(Object arg, boolean req... | schteph/rest-autoproxy | src/main/java/hr/schteph/common/rest/autoproxy/RequestArgumentsValidatorDefault.java | Java | apache-2.0 | 987 |
/*
* 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 ... | ueshin/apache-flink | flink-table/flink-table-planner-blink/src/main/java/org/apache/flink/table/functions/sql/FlinkSqlOperatorTable.java | Java | apache-2.0 | 14,729 |
/*
* Copyright 2017-2022 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... | aws/aws-sdk-java | aws-java-sdk-organizations/src/main/java/com/amazonaws/services/organizations/model/transform/DescribeHandshakeRequestProtocolMarshaller.java | Java | apache-2.0 | 2,748 |
# Copyright 2018 The TensorFlow 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 applica... | xodus7/tensorflow | tensorflow/python/compat/compat.py | Python | apache-2.0 | 4,786 |
package com.dbserver.voting.configuration;
import java.util.Properties;
import javax.naming.NamingException;
import javax.persistence.EntityManagerFactory;
import javax.sql.DataSource;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframewo... | advecchia/dbserver-voting | src/main/java/com/dbserver/voting/configuration/JpaConfiguration.java | Java | apache-2.0 | 4,324 |
/*
* 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 ma... | AperIati/olingo-odata4 | lib/server-test/src/test/java/org/apache/olingo/server/core/uri/testutil/TestErrorLogger.java | Java | apache-2.0 | 3,532 |
/*
* Copyright 2015 Google Inc. 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 appli... | kevinsi4508/cloud-bigtable-client | bigtable-client-core-parent/bigtable-hbase/src/test/java/com/google/cloud/bigtable/hbase/adapters/filters/TestPrefixFilterAdapter.java | Java | apache-2.0 | 2,577 |
package usc.linkage.configuration;
import java.io.File;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
import javax.xml.transform.Transformer;
import javax.xml.transform.TransformerException;
import javax.xml.transform.T... | usc-isi-i2/fril-service | src/main/java/usc/linkage/configuration/ConfigBuilder.java | Java | apache-2.0 | 10,891 |
/*
* Copyright 2019 The GraphicsFuzz Project Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | google/graphicsfuzz | generator/src/main/java/com/graphicsfuzz/generator/semanticschanging/SwapVariableIdentifiersMutationFinder.java | Java | apache-2.0 | 2,700 |
package linprog.components;
import java.util.concurrent.TimeUnit;
import linprog.LinProgSimulation;
//import linprog.helper.EnergyPrices;
import linprog.helper.SolarRadiation;
public class PV extends Producer {
public double area;
public double efficiency;
public PV(String name, double area, double efficiency,... | SES-fortiss/SmartGridCoSimulation | examples/memap/src/main/java/linprog/components/PV.java | Java | apache-2.0 | 1,434 |
/*
* 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-cognito-sync/source/model/CognitoStreams.cpp | C++ | apache-2.0 | 2,209 |
/*
This code is written by kerukuro and released into public domain.
*/
#ifndef DIGESTPP_PROVIDERS_MD5_CONSTANTS_HPP
#define DIGESTPP_PROVIDERS_MD5_CONSTANTS_HPP
namespace digestpp
{
namespace detail
{
template<typename T>
struct md5_constants
{
const static uint32_t K[64];
const static unsigned char S[64];
};
t... | lowRISC/opentitan | hw/ip/kmac/dv/dpi/vendor/kerukuro_digestpp/algorithm/detail/constants/md5_constants.hpp | C++ | apache-2.0 | 1,526 |
/*
* This software is licensed under the Apache License, Version 2.0
* (the "License") agreement; 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 agree... | Derek-Ashmore/moneta | moneta-core/src/main/java/org/moneta/config/ConnectionPoolFactory.java | Java | apache-2.0 | 5,170 |
package br.com.hdev.bean;
import java.io.Serializable;
import java.util.List;
import javax.annotation.PostConstruct;
import javax.faces.application.FacesMessage;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.RequestScoped;
import javax.faces.context.FacesContext;
import javax.persistence.EntityManager;... | lslluks/projetoteste | src/br/com/hdev/bean/ListaAgendaBean.java | Java | apache-2.0 | 1,456 |
package apple.uikit;
import java.io.*;
import java.nio.*;
import java.util.*;
import com.google.j2objc.annotations.*;
import com.google.j2objc.runtime.*;
import com.google.j2objc.runtime.block.*;
import apple.audiotoolbox.*;
import apple.corefoundation.*;
import apple.coregraphics.*;
import apple.coreservices.*;
impo... | Sellegit/j2objc | runtime/src/main/java/apple/uikit/UIDocumentPickerExtensionViewController.java | Java | apache-2.0 | 1,736 |
/*
* Copyright 2000-2015 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 | modules/base/platform-impl/src/main/java/com/intellij/openapi/editor/colors/impl/EditorColorsManagerImpl.java | Java | apache-2.0 | 10,754 |
// Copyright (C) 2017 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 applicable ... | qtproject/qtqa-gerrit | java/com/google/gerrit/server/group/testing/InternalGroupSubject.java | Java | apache-2.0 | 3,505 |
import java.io.BufferedReader;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.ObjectOutputStream;
import java.io.OutputStream;
import java.io.PrintWriter;
import java.net.Socket;
import java.net.URL;
import sun.net.www.http.HttpClient;
public class ClientSetup {
public static void main... | atulsm/Test_Projects | src/ClientSetup.java | Java | apache-2.0 | 940 |
package cn.com.ichile.pigplayer.core.messages;
import android.media.MediaPlayer;
import cn.com.ichile.pigplayer.core.PigPlayer;
import cn.com.ichile.pigplayer.core.PlayerMsgState;
import cn.com.ichile.pigplayer.manager.PlayerManagerCallback;
/**
* This PlayerMessage calls {@link MediaPlayer#release()} on the instan... | Niclauz/TopVideoNews | pig-player/src/main/java/cn/com/ichile/pigplayer/core/Messages/Release.java | Java | apache-2.0 | 867 |
package org.springframework.security.samples.contacts.web;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.MessageSource;
import org.springframework.context.MessageSourceAware;
import org.... | JasonHao123/spring-security-samples-contact-jpa | src/main/java/org/springframework/security/samples/contacts/web/AdminPermissionController.java | Java | apache-2.0 | 7,053 |
package core.framework.web.exception;
import core.framework.api.http.HTTPStatus;
import core.framework.api.web.service.ResponseStatus;
import core.framework.log.ErrorCode;
import core.framework.log.Severity;
import java.io.Serial;
/**
* @author neo
*/
@ResponseStatus(HTTPStatus.UNAUTHORIZED)
public final class Una... | neowu/core-ng-project | core-ng/src/main/java/core/framework/web/exception/UnauthorizedException.java | Java | apache-2.0 | 828 |
/*
* Copyright 2019 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 app... | Rikkola/kie-wb-common | kie-wb-common-stunner/kie-wb-common-stunner-sets/kie-wb-common-stunner-bpmn/kie-wb-common-stunner-bpmn-marshalling/src/test/java/org/kie/workbench/common/stunner/bpmn/client/marshall/converters/fromstunner/DefinitionsConverterTest.java | Java | apache-2.0 | 3,770 |
// +build freebsd darwin
package net
import (
"context"
"strings"
"github.com/shirou/gopsutil/internal/common"
)
// Return a list of network connections opened.
func Connections(kind string) ([]ConnectionStat, error) {
return ConnectionsWithContext(context.Background(), kind)
}
func ConnectionsWithContext(ctx ... | kubernetes/node-problem-detector | vendor/github.com/shirou/gopsutil/net/net_unix.go | GO | apache-2.0 | 4,064 |
/*
* 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.amazonaws.mturk.model;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
i... | ScarceMedia/java-aws-mturk-model | src/main/java/com/amazonaws/mturk/model/LengthConstraint.java | Java | apache-2.0 | 1,044 |
/*
* Copyright 2010-2017 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... | JoyIfBam5/aws-sdk-cpp | aws-cpp-sdk-AWSMigrationHub/source/model/NotifyApplicationStateRequest.cpp | C++ | apache-2.0 | 1,767 |
/**
*
*/
package org.prisma.cli;
import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.nio.charset.StandardCharsets;
import java.nio.file.Path;
import java.nio.file.Paths;
import org.apache.lucene.analysi... | ommirandap/HeadlinesTweetsSearcher | mdp-project/src/org/prisma/cli/IndexTweets.java | Java | apache-2.0 | 3,310 |
package com.marshall.octoweb.config;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.annotation.Order;
import org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder;
... | hou23/octo-umbrella | octo-web/src/main/java/com/marshall/octoweb/config/WebSecurityConfig.java | Java | apache-2.0 | 1,597 |
package ch.hsr.camel.jobs.configuration;
import java.security.InvalidParameterException;
import java.util.ArrayList;
import java.util.List;
import org.apache.camel.CamelContext;
import org.apache.camel.CamelContextAware;
import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.builder.SimpleBuilder;
impo... | gysel/camel-jobs | camel-jobs/src/main/java/ch/hsr/camel/jobs/configuration/JobConfigurator.java | Java | apache-2.0 | 4,518 |
package org.spoofax.interpreter.library.jsglr.origin;
import org.spoofax.interpreter.core.IContext;
import org.spoofax.interpreter.library.AbstractPrimitive;
import org.spoofax.interpreter.stratego.Strategy;
import org.spoofax.interpreter.terms.IStrategoTerm;
import org.spoofax.interpreter.terms.ITermFactory;
import o... | metaborg/jsglr | org.spoofax.interpreter.library.jsglr/src/main/java/org/spoofax/interpreter/library/jsglr/origin/OriginLocationOffsetPrimitive.java | Java | apache-2.0 | 1,664 |
package org.sagebionetworks.repo.manager.file;
import static org.junit.Assert.*;
import java.util.Date;
import org.junit.Before;
import org.junit.Test;
import org.sagebionetworks.repo.model.file.ProxyFileHandle;
import org.sagebionetworks.repo.model.file.UploadType;
import org.sagebionetworks.repo.model.pr... | hhu94/Synapse-Repository-Services | services/repository-managers/src/test/java/org/sagebionetworks/repo/manager/file/ProxyUrlSignerUtilsTest.java | Java | apache-2.0 | 6,363 |
// Copyright (C) 2009 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 applicable ... | Andproject/tools_gerrit | gerrit-server/src/main/java/com/google/gerrit/server/config/GerritGlobalModule.java | Java | apache-2.0 | 7,356 |
package ro.pub.cs.systems.pdsd.lab01;
import android.app.Activity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.view.animation.AlphaAnimation;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;
pu... | MadalinaGrosu/Laborator01 | MyFirstAndroidApplication/src/ro/pub/cs/systems/pdsd/lab01/MainActivity.java | Java | apache-2.0 | 2,152 |
/*
* Copyright 2012-2017 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... | dagnir/aws-sdk-java | aws-java-sdk-shield/src/main/java/com/amazonaws/services/shield/model/transform/AttackDetailMarshaller.java | Java | apache-2.0 | 3,816 |
"""
Script which can be used to load a ZIP file into the system for the purposes of testing
Nothing particularly clever going on here. Set ZIPFILE to the path to the file you want to work with, then
run the script.
It does not clean up after itself, so whatever you do, don't use this on a live environment, it's for ... | JiscPER/jper | service/tests/functional/load_route_zip.py | Python | apache-2.0 | 835 |
#ifndef SIMHASHTRAINER_HPP
#define SIMHASHTRAINER_HPP
#include <spii/function.h>
#include "util/util.hpp"
// Convenience function. Expects the data described in LoadTrainingData, outputs
// a file full of weights.
bool TrainSimHashFromDataDirectory(const std::string& directory,
const std::string& weights_filename,... | googleprojectzero/functionsimsearch | learning/simhashtrainer.hpp | C++ | apache-2.0 | 1,360 |
/*
* Copyright (c) 2008-2016, Hazelcast, Inc. 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 ... | lmjacksoniii/hazelcast | hazelcast/src/main/java/com/hazelcast/client/impl/protocol/task/queue/QueueRemainingCapacityMessageTask.java | Java | apache-2.0 | 2,835 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.