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 org.apache.kazon.storm; import java.util.Map; import backtype.storm.spout.SpoutOutputCollector; import backtype.storm.task.TopologyContext; import backtype.storm.topology.OutputFieldsDeclarer; import backtype.storm.topology.base.BaseRichSpout; public class BasicSpout extends BaseRichSpout { private static ...
chewy6i/kazon
src/main/java/org/apache/kazon/storm/BasicSpout.java
Java
apache-2.0
788
package com.pratamawijaya.instagramlogin.network; import com.google.gson.Gson; import com.pratamawijaya.instagramlogin.BuildConfig; import com.squareup.okhttp.OkHttpClient; import retrofit.RestAdapter; import retrofit.client.OkClient; import retrofit.converter.GsonConverter; /** * Created by : pratama - set.mnemonix...
pratamawijaya/example
InstagramLogin/app/src/main/java/com/pratamawijaya/instagramlogin/network/InstagramService.java
Java
apache-2.0
997
package ca.uhn.fhir.jpa.search.cache; /*- * #%L * HAPI FHIR JPA Server * %% * Copyright (C) 2014 - 2021 Smile CDR, 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 * * ...
SingingTree/hapi-fhir
hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/search/cache/DatabaseSearchResultCacheSvcImpl.java
Java
apache-2.0
3,239
/* Copyright 2017 The Nuclio 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, soft...
nuclio/nuclio
pkg/processor/statistics/trigger.go
GO
apache-2.0
2,672
package com.modthemod.engine.entity; import java.util.HashMap; import java.util.Map; import com.modthemod.api.base.Base; import com.modthemod.api.entity.Entity; import com.modthemod.api.property.Type; /** * Represents an entity that acts as a POJO. */ public class SimpleEntity extends Entity { private Map<String,...
simplyianm/ModTheMod
src/main/java/com/modthemod/engine/entity/SimpleEntity.java
Java
apache-2.0
621
/* Copyright (C) MARCH-2014 Pivotal Software, Inc. All rights reserved. This program and the accompanying materials are made available under the terms of the 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 ...
papicella/snappy-store
Snappy-Web/src/main/java/pivotal/au/se/gemfirexdweb/dao/gatewayrecievers/GatewayReceiverDAO.java
Java
apache-2.0
1,348
/* 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...
nortal/blaze
fhir-rest/src/main/java/com/nortal/fhir/rest/server/FhirRootRest.java
Java
apache-2.0
1,396
package com.icloudmoo.home.manager.init; import javax.jms.Destination; import org.apache.log4j.Logger; import org.springframework.beans.factory.InitializingBean; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.redis.core.RedisTemplate; import org.springframework.jms.core...
liyong7686/Icloudmoo
icloudmoo-home-manager-web/src/main/java/com/icloudmoo/home/manager/init/SystemInitialPoint.java
Java
artistic-2.0
1,363
// Copyright 2016 The G3N 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 math32 // Plane represents a plane in 3D space by its normal vector and a constant. // When the the normal vector is the unit vector the constant is t...
danaugrs/gokoban
vendor/github.com/g3n/engine/math32/plane.go
GO
bsd-2-clause
5,030
/*================================================================================ Copyright (c) 2013 Steve Jin. 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 re...
paksv/vijava
src/com/vmware/vim25/ArrayOfNetIpConfigSpecIpAddressSpec.java
Java
bsd-3-clause
2,305
/* This file is part of the db4o object database http://www.db4o.com Copyright (C) 2004 - 2010 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 ...
mural/spm
db4oj/src/main/java/com/db4o/foundation/Runtime4.java
Java
bsd-3-clause
1,866
/*================================================================================ Copyright (c) 2012 Steve Jin. 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 re...
xebialabs/vijava
src/com/vmware/vim25/ClusterMigrationAction.java
Java
bsd-3-clause
2,061
package gov.nih.nci.ncicb.cadsr.formbuilder.ejb.service; import gov.nih.nci.ncicb.cadsr.common.resource.AdminComponentType; import gov.nih.nci.ncicb.cadsr.common.resource.Form; import gov.nih.nci.ncicb.cadsr.common.resource.FormV2; import gov.nih.nci.ncicb.cadsr.common.resource.FormInstructionChanges; import gov.nih.n...
NCIP/cadsr-formbuilder
software/formbuilder/src/java/gov/nih/nci/ncicb/cadsr/formbuilder/ejb/service/FormBuilderServiceRemote.java
Java
bsd-3-clause
9,907
package org.cagrid.security.ssl.proxy.trust; import java.security.KeyStore; import java.security.cert.CRL; import java.util.Collection; import javax.net.ssl.TrustManager; import org.eclipse.jetty.http.ssl.SslContextFactory; /* * Based on Jetty 7.5.4.v20111024 */ public class JettySslContextFactory extends SslCont...
NCIP/cagrid2
cagrid-proxy-trust/src/main/java/org/cagrid/security/ssl/proxy/trust/JettySslContextFactory.java
Java
bsd-3-clause
896
/* * $Id$ */ /* Copyright (c) 2000-2016 Board of Trustees of Leland Stanford Jr. University, all rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including...
lockss/lockss-daemon
plugins/src/org/lockss/plugin/hindawi/HindawiUrlNormalizer.java
Java
bsd-3-clause
1,977
/*L * Copyright Washington University in St. Louis * Copyright SemanticBits * Copyright Persistent Systems * Copyright Krishagni * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.com/catissue-core/LICENSE.txt for details. */ package edu.wustl.catissuecore.fac...
NCIP/catissue-core
software/caTissue/modules/core/src/main/java/edu/wustl/catissuecore/factory/StorageTypeFactory.java
Java
bsd-3-clause
1,440
/* * 2010 – 2012 Copyright Northwestern University and Stanford University * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.com/annotation-and-image-markup/LICENSE.txt for details. */ package edu.stanford.isis.atb.ui.presenter.template; import edu.stanford.isis.atb.domain.at...
NCIP/annotation-and-image-markup
ATB_1.0_src/src/main/java/edu/stanford/isis/atb/ui/presenter/template/TemplateSearchPresenter.java
Java
bsd-3-clause
2,824
package server import ( "encoding/json" "fmt" "log" "runtime" "runtime/debug" "sync" "time" "github.com/janelia-flyem/dvid/datastore" "github.com/janelia-flyem/dvid/dvid" "github.com/janelia-flyem/dvid/rpc" "github.com/janelia-flyem/dvid/storage" ) // DVID server configuration parameters. Should be set b...
neomorphic/dvid
server/server.go
GO
bsd-3-clause
7,808
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <math.h> #include <map> #include <string> #include "ash/wm/maximize_mode/maximize_mode_controller.h" #include "ash/ash_switches.h" #include "as...
ltilve/chromium
ash/wm/maximize_mode/maximize_mode_controller_unittest.cc
C++
bsd-3-clause
19,753
// Package chacha20 provides handy wrappers to encrypt with chacha20poly1305. package chacha20 import ( "golang.org/x/crypto/chacha20poly1305" ) // EncryptChacha20Poly1305 encrypts a byte slice using the given 256bit key // and 12 byte long nonce. The nonce will be prepended to the ciphertext. func EncryptChacha20Po...
w33zl3p00tch/gdzip
chacha20/chacha20.go
GO
bsd-3-clause
921
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/renderer/media/cast_ipc_dispatcher.h" #include "base/test/simple_test_tick_clock.h" #include "base/test/task_environment.h" #include "ba...
endlessm/chromium-browser
chrome/renderer/media/cast_ipc_dispatcher_unittest.cc
C++
bsd-3-clause
2,214
/*================================================================================ Copyright (c) 2013 Steve Jin. 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 re...
paksv/vijava
src/com/vmware/vim25/VirtualMachineBootOptions.java
Java
bsd-3-clause
2,916
/*================================================================================ Copyright (c) 2012 Steve Jin. 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 re...
xebialabs/vijava
src/com/vmware/vim25/HostBIOSInfo.java
Java
bsd-3-clause
2,224
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/autofill/core/browser/rationalization_util.h" #include <stddef.h> #include "base/macros.h" #include "base/strings/string_number_con...
endlessm/chromium-browser
components/autofill/core/browser/rationalization_util_unittest.cc
C++
bsd-3-clause
6,576
// Copyright 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "config.h" #include "cc/render_surface.h" #include "cc/layer.h" #include "cc/math_util.h" #include <public/WebTransformationMatrix.h> using We...
junmin-zhu/chromium-rivertrail
cc/render_surface.cc
C++
bsd-3-clause
1,018
// Copyright (c) 2017-2019 The Bitcoin developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <config.h> #include <chainparams.h> #include <consensus/consensus.h> // DEFAULT_MAX_BLOCK_SIZE GlobalConfig::GlobalConf...
cculianu/bitcoin-abc
src/config.cpp
C++
mit
1,680
import static org.monte.media.FormatKeys.EncodingKey; import static org.monte.media.FormatKeys.FrameRateKey; import static org.monte.media.FormatKeys.KeyFrameIntervalKey; import static org.monte.media.FormatKeys.MIME_AVI; import static org.monte.media.FormatKeys.MediaTypeKey; import static org.monte.media.FormatKeys.Mi...
alexeikabak/at.info-knowledge-base
functional test automation/webdriver/capture video on java/capture_video.java
Java
mit
2,828
package me.Wundero.Ray.utils; import java.util.List; import java.util.stream.Collector; /* The MIT License (MIT) Copyright (c) 2016 Wundero Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software ...
Wundero/Ray
src/main/java/me/Wundero/Ray/utils/RayCollectors.java
Java
mit
1,704
/* * Copyright 2015-2018 Micro Focus International plc. * Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License. */ package com.hp.autonomy.frontend.find.hod.savedsearches.query; import com.hp.autonomy.frontend.find.core.beanconfiguration.BiConfiguration; i...
hpe-idol/find
webapp/hod/src/main/java/com/hp/autonomy/frontend/find/hod/savedsearches/query/HodSavedQueryController.java
Java
mit
2,859
#include "titleblocktemplaterenderer.h" #include "titleblocktemplate.h" /** Constructor @param parnet Parent QObject of this renderer */ TitleBlockTemplateRenderer::TitleBlockTemplateRenderer(QObject *parent) : QObject(parent), titleblock_template_(0), use_cache_(true), last_known_titleblock_width_(-1) { } /** ...
xrg/qelectotech
sources/titleblocktemplaterenderer.cpp
C++
gpl-2.0
3,107
/* Copyright (C) 1994,95,96,97,99,2002 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This ...
diegonc/console-xkb-support
libtrivfs/trivfs.h
C
gpl-2.0
12,398
/** * OWASP Benchmark Project v1.1 * * This file is part of the Open Web Application Security Project (OWASP) * Benchmark Project. For details, please see * <a href="https://www.owasp.org/index.php/Benchmark">https://www.owasp.org/index.php/Benchmark</a>. * * The Benchmark is free software: you can redistribute it and/...
iammyr/Benchmark
src/main/java/org/owasp/benchmark/testcode/BenchmarkTest12828.java
Java
gpl-2.0
2,467
/************************************************************************* * * AVRGAMING LLC * __________________ * * [2013] AVRGAMING LLC * All Rights Reserved. * * NOTICE: All information contained herein is, and remains * the property of AVRGAMING LLC and its suppliers, * if any. The intellectual an...
help3r/civcraft-1
civcraft/src/com/avrgaming/civcraft/threading/tasks/PlayerQuestionTask.java
Java
gpl-2.0
3,486
/* Copyright 1993 by Davor Matic Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting do...
ArcticaProject/vcxsrv
xorg-server/hw/xnest/XNGC.h
C
gpl-3.0
1,350
#pylint: disable=no-init,invalid-name ''' @author Spencer Howells, ISIS @date December 05, 2013 Copyright &copy; 2007-8 ISIS Rutherford Appleton Laboratory, NScD Oak Ridge National Laboratory & European Spallation Source This file is part of Mantid. Mantid is free software; you can redistribute it and/or modify it u...
ScreamingUdder/mantid
Framework/PythonInterface/plugins/functions/FickDiffusion.py
Python
gpl-3.0
1,662
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_prefs.h" #include <memory> #include "components/data_reduction_proxy/core/co...
geminy/aidear
oss/qt/qt-everywhere-opensource-src-5.9.0/qtwebengine/src/3rdparty/chromium/components/data_reduction_proxy/core/browser/data_reduction_proxy_prefs.cc
C++
gpl-3.0
8,887
// Copyright © 2015-2016 Kevin Robert Stravers /* This file is part of Cxy Compiler Reference Implementation (Cxy CRI). Cxy CRI 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 ...
BourgondAries/Unnamed-Language
code/ast/tb/parser/dependency/libraries/LLOneProductionDeducer.hpp
C++
gpl-3.0
3,755
/* * RapidMiner * * Copyright (C) 2001-2014 by RapidMiner and the contributors * * Complete list of developers available at our web site: * * http://rapidminer.com * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License ...
rapidminer/rapidminer-5
src/com/rapidminer/repository/db/DBConnectionConverterFolder.java
Java
agpl-3.0
6,070
package edu.arizona.kfs.fp.document.web.struts; /** * This class is the UA Modification to the Struts specific form object that works in conjunction with the pojo utilities to build the UI. * * @author Adam Kost <kosta@email.arizona.edu> with some code adapted from UCI */ public class GeneralErrorCorrectionForm ex...
ua-eas/kfs-devops-automation-fork
kfs-core/src/main/java/edu/arizona/kfs/fp/document/web/struts/GeneralErrorCorrectionForm.java
Java
agpl-3.0
1,435
package crazypants.enderio.base.conduit; import java.util.List; import javax.annotation.Nonnull; import crazypants.enderio.base.conduit.IClientConduit.WithDefaultRendering; import net.minecraft.client.renderer.block.model.BakedQuad; import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; import ne...
SleepyTrousers/EnderIO
enderio-base/src/main/java/crazypants/enderio/base/conduit/IConduitRenderer.java
Java
unlicense
1,334
/* * Copyright 2018-present Open Networking 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 applicabl...
atomix/atomix
protocols/gossip/src/main/java/io/atomix/protocols/gossip/counter/CrdtCounterDelegate.java
Java
apache-2.0
4,955
/* * 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...
apixandru/intellij-community
platform/testRunner/src/com/intellij/execution/testframework/AbstractTestProxy.java
Java
apache-2.0
4,568
/* * 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...
11xor6/presto
lib/trino-parquet/src/test/java/io/trino/parquet/predicate/TestPredicateUtils.java
Java
apache-2.0
6,584
// Copyright 2018 The Bazel 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 appl...
davidzchen/bazel
src/main/java/com/google/devtools/build/lib/worker/WorkerMultiplexerManager.java
Java
apache-2.0
5,518
/* Copyright © 2019 The OpenEBS 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, so...
openebs/maya
pkg/kubernetes/namespace/v1alpha1/namespace.go
GO
apache-2.0
1,993
/* * Copyright 2017-2020 Crown Copyright * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
GovernmentCommunicationsHeadquarters/Gaffer
rest-api/core-rest/src/test/java/uk/gov/gchq/gaffer/rest/ExampleGeneratorTest.java
Java
apache-2.0
4,084
/* * Copyright 2012-2015 MarkLogic Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
supriyantomaftuh/java-client-api
src/main/java/com/marklogic/client/example/extension/BatchManagerExample.java
Java
apache-2.0
8,064
/* Copyright (c) 2006 Charles A. Loomis, Jr, Cedric Duprilot, and Centre National de la Recherche Scientifique (CNRS). 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/li...
quattor/pan
panc/src/test/java/org/quattor/pan/dml/operators/LogicalLTTest.java
Java
apache-2.0
3,812
/* 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 * distributed...
adbrucker/SecureBPMN
runtime/src/modules/activiti-camel/src/main/java/org/activiti/camel/ActivitiProducer.java
Java
apache-2.0
3,629
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/awstransfer/model/SendWorkflowStepStateRequest.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Transfer::Model; using namespace Aws::Utils::J...
awslabs/aws-sdk-cpp
aws-cpp-sdk-awstransfer/source/model/SendWorkflowStepStateRequest.cpp
C++
apache-2.0
1,390
/* * Copyright (c) 2019, WSO2 Inc. (http://www.wso2.org) 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 * * ...
omindu/carbon-identity-framework
components/configuration-mgt/org.wso2.carbon.identity.configuration.mgt.core/src/test/java/org/wso2/carbon/identity/configuration/mgt/core/util/TestUtils.java
Java
apache-2.0
9,553
package org.pac4j.oauth.client; import com.github.scribejava.apis.YahooApi; import org.pac4j.core.context.WebContext; import org.pac4j.core.redirect.RedirectAction; import org.pac4j.oauth.profile.yahoo.YahooProfile; import org.pac4j.oauth.profile.yahoo.YahooProfileCreator; import org.pac4j.oauth.profile.yahoo.YahooPro...
topicusonderwijs/pac4j
pac4j-oauth/src/main/java/org/pac4j/oauth/client/YahooClient.java
Java
apache-2.0
1,354
/* * 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 ...
topicusonderwijs/wicket
wicket-core/src/main/java/org/apache/wicket/ajax/AbstractDefaultAjaxBehavior.java
Java
apache-2.0
20,432
/* * Copyright 2002-2013 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...
qobel/esoguproject
spring-framework/spring-beans/src/test/java/org/springframework/beans/factory/parsing/CustomProblemReporterTests.java
Java
apache-2.0
2,635
/* Copyright 2014 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 applicable law or agreed to in ...
hortonworks/kubernetes-yarn
pkg/scheduler/predicates.go
GO
apache-2.0
10,819
package com.elastisys.scale.cloudpool.openstack.server.multipool; import java.io.File; import java.util.concurrent.Executors; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.ThreadFactory; import com.elastisys.scale.cloudpool.api.CloudPool; import com.elastisys.scale.cloudpool.api.Cl...
Eeemil/scale.cloudpool
openstack/src/main/java/com/elastisys/scale/cloudpool/openstack/server/multipool/OpenStackCloudPoolFactory.java
Java
apache-2.0
1,646
/** * 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 ...
cumulusyebl/cumulus
src/java/org/apache/hadoop/hdfs/server/namenode/RenewDelegationTokenServlet.java
Java
apache-2.0
3,430
/* * Copyright 2000-2013 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...
romankagan/DDBWorkbench
plugins/gradle/src/org/jetbrains/plugins/gradle/service/task/GradleTaskManager.java
Java
apache-2.0
4,989
/* * (c) Copyright 2021 EntIT Software LLC, a Micro Focus company, L.P. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Apache License v2.0 which accompany this distribution. * * The Apache License is available at * http://www.apache.org/licenses/LICE...
CloudSlang/cs-actions
cs-utilities/src/main/java/io/cloudslang/content/utilities/util/ProcessExecutor.java
Java
apache-2.0
3,377
/* * 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 ...
apurtell/hadoop
hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/auth/delegation/MiniKerberizedHadoopCluster.java
Java
apache-2.0
12,416
/* * Copyright 2020 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...
tkobayas/optaplanner
optaplanner-core/src/test/java/org/optaplanner/core/impl/score/buildin/simplelong/SimpleLongScoreDefinitionTest.java
Java
apache-2.0
4,647
// Copyright 2019 Istio 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 agree...
smawson/istio
pkg/mcp/tests/stress/stress_test.go
GO
apache-2.0
3,218
// Copyright 2021 The Oppia 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 ap...
kevinlee12/oppia
extensions/objects/object-components.module.ts
TypeScript
apache-2.0
10,422
package com.cmcm.greendamexplorer.view.flatui.views; import android.content.Context; import android.content.res.TypedArray; import android.graphics.drawable.ClipDrawable; import android.graphics.drawable.LayerDrawable; import android.graphics.drawable.PaintDrawable; import android.util.AttributeSet; import android.vie...
0359xiaodong/GreenDamFileExploere
GreenDamExplorer/src/com/cmcm/greendamexplorer/view/flatui/views/FlatSeekBar.java
Java
apache-2.0
3,121
/** * Copyright (c) 2007-2014 Kaazing Corporation. All rights reserved. * * 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...
biddyweb/gateway
transport/wsn/src/test/java/org/kaazing/gateway/transport/wsn/autobahn/reservedbits/ReservedBitsIT.java
Java
apache-2.0
3,447
package io.agrest.runtime.meta; import io.agrest.meta.AgResource; import io.agrest.meta.parser.IResourceParser; import org.apache.cayenne.di.Inject; import java.util.Collection; import java.util.Optional; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentMap; /** * @since 1.18 */...
AbleOne/link-rest
agrest/src/main/java/io/agrest/runtime/meta/ResourceMetadataService.java
Java
apache-2.0
1,476
import os from ddapp.consoleapp import ConsoleApp from ddapp import ioUtils from ddapp import segmentation from ddapp import segmentationroutines from ddapp import applogic from ddapp import visualization as vis #from ddapp import roboturdf app = ConsoleApp() # create a view view = app.createView() segmentation._d...
edowson/director
src/python/tests/testTableFitStereo.py
Python
bsd-3-clause
1,934
package clang // #include "./clang-c/BuildSystem.h" // #include "go-clang.h" import "C" import "unsafe" // Object encapsulating information about a module.map file. type ModuleMapDescriptor struct { c C.CXModuleMapDescriptor } /* Create a CXModuleMapDescriptor object. Must be disposed with clang_ModuleMapDescript...
zchee/clang-server
vendor/github.com/go-clang/v3.9/clang/modulemapdescriptor_gen.go
GO
bsd-3-clause
2,071
package com.podio.app; import java.io.Serializable; import java.util.List; import org.codehaus.jackson.annotate.JsonProperty; public class ApplicationCreate implements Serializable { private static final long serialVersionUID = 1L; /** * The id of the space on which the app is placed */ private int spaceId...
PetrF0X/podio-java
src/main/java/com/podio/app/ApplicationCreate.java
Java
mit
1,333
/* * Copyright (c) 2012-2018 Red Hat, Inc. * This program and the accompanying materials are made * available under the terms of the Eclipse Public License 2.0 * which is available at https://www.eclipse.org/legal/epl-2.0/ * * SPDX-License-Identifier: EPL-2.0 * * Contributors: * Red Hat, Inc. - initial API a...
akervern/che
ide/che-core-ide-ui/src/main/java/org/eclipse/che/ide/ui/smartTree/event/BeforeCollapseNodeEvent.java
Java
epl-1.0
1,981
/******************************************************************************* * Copyright (C) 2010, 2013 Roland Grunberg <rgrunber@redhat.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 dis...
SmithAndr/egit
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/actions/DiscardChangesActionHandler.java
Java
epl-1.0
4,232
/* Copyright (c) 2007, 2015, Oracle and/or its affiliates. All rights reserved. The MySQL Connector/J is licensed under the terms of the GPLv2 <http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>, like most MySQL Connectors. There are special exceptions to the terms and conditions of the GPLv2 as it is appl...
mwaylabs/mysql-connector-j
src/com/mysql/jdbc/jdbc2/optional/JDBC4SuspendableXAConnection.java
Java
gpl-2.0
3,679
/* This code is part of Freenet. It is distributed under the GNU General * Public License, version 2 (or at your option any later version). See * http://www.gnu.org/ for further details of the GPL. */ package freenet.client.async; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; ...
NiteshBharadwaj/android-staging
src/freenet/client/async/SingleFileStreamGenerator.java
Java
gpl-2.0
1,770
// Copyright 2012, 2013 Canonical Ltd. // Licensed under the AGPLv3, see LICENCE file for details. package state import ( "github.com/juju/names" "github.com/juju/juju/environs/config" "github.com/juju/juju/instance" "github.com/juju/juju/tools" "github.com/juju/juju/version" ) // EntityFinder is implemented b...
cmars/juju
state/interface.go
GO
agpl-3.0
5,513
/** * Implements the CFML Function lsiscurrency */ package railo.runtime.functions.international; import railo.runtime.PageContext; import railo.runtime.ext.function.Function; import railo.runtime.i18n.LocaleFactory; public final class LSIsCurrency implements Function { private static final long serialVersionUID ...
JordanReiter/railo
railo-java/railo-core/src/railo/runtime/functions/international/LSIsCurrency.java
Java
lgpl-2.1
783
/** * * Copyright (c) 2014, the Railo Company Ltd. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) ...
lucee/unoffical-Lucee-no-jre
source/java/core/src/lucee/runtime/img/coder/DoubleCoder.java
Java
lgpl-2.1
2,097
/* * 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 ...
hequn8128/flink
flink-clients/src/test/java/org/apache/flink/client/program/PackagedProgramUtilsTest.java
Java
apache-2.0
5,337
//@codekit-prepend wpba-functions.js jQuery(function($){ $(window).load(function(){ wpba.resetClickHandlers(); var settingsCheckBoxElem = $('#wpba-disable-post-types-wrap input[type="checkbox"]'), settingsHideElem = $('.wpba-settings-hide'), globalSettingsThumbnailElem = $('input[type="checkbox"].wpba-sett...
cobianzo/cobianzo2
www/wp-content/plugins/wp-better-attachments/assets/js/wpba-attachment.js
JavaScript
apache-2.0
3,509
/* * Copyright 2019 ThoughtWorks, 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 agr...
kierarad/gocd
server/src/main/java/com/thoughtworks/go/server/service/support/PluginInfoProvider.java
Java
apache-2.0
2,905
// (C) Copyright 2015 Moodle Pty 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 law or agree...
dpalou/moodlemobile2
src/addon/mod/assign/components/components.module.ts
TypeScript
apache-2.0
2,172
package org.apache.taverna.workbench.models.graph; /* * 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 Apach...
ThilinaManamgoda/incubator-taverna-workbench
taverna-graph-model/src/test/java/org/apache/taverna/workbench/models/graph/GraphTest.java
Java
apache-2.0
3,969
/* Copyright 2015 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, ...
nevetS/ingress
core/pkg/ingress/controller/backend_ssl.go
GO
apache-2.0
3,742
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/kinesis/model/Record.h> #include <aws/core/utils/json/JsonSerializer.h> #include <aws/core/utils/HashingUtils.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aw...
jt70471/aws-sdk-cpp
aws-cpp-sdk-kinesis/source/model/Record.cpp
C++
apache-2.0
2,646
/* * The Alluxio Open Foundation licenses this work under the Apache License, version 2.0 * (the "License"). You may not use this work except in compliance with the License, which is * available at www.apache.org/licenses/LICENSE-2.0 * * This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI...
jswudi/alluxio
tests/src/test/java/alluxio/cli/GetConfKeyTest.java
Java
apache-2.0
1,933
package org.apereo.cas.config.support.authentication; import org.apereo.cas.authentication.principal.ServiceFactory; import org.apereo.cas.authentication.principal.ServiceFactoryConfigurer; import org.apereo.cas.authentication.principal.WebApplicationService; import org.apereo.cas.configuration.CasConfigurationPropert...
Unicon/cas
support/cas-server-support-openid/src/main/java/org/apereo/cas/config/support/authentication/OpenIdServiceFactoryConfiguration.java
Java
apache-2.0
1,569
/* Copyright 2015 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, ...
jinlmsft/kubernetes
test/e2e/framework/framework.go
GO
apache-2.0
29,054
/* Copyright 2016 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, ...
GoogleCloudPlatform/k8s-multicluster-ingress
vendor/k8s.io/kubernetes/pkg/kubelet/kubelet_node_status.go
GO
apache-2.0
40,039
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/ozone/platform/wayland/gpu/wayland_overlay_manager.h" #include "ui/gfx/geometry/rect_conversions.h" #include "ui/ozone/platform/wayland/gpu/...
scheib/chromium
ui/ozone/platform/wayland/gpu/wayland_overlay_manager.cc
C++
bsd-3-clause
1,807
// -*- Mode: Go; indent-tabs-mode: t -*- /* * Copyright (C) 2014-2016 Canonical Ltd * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License version 3 as * published by the Free Software Foundation. * * This program is distributed in the hop...
mvo5/snappy
wrappers/binaries_test.go
GO
gpl-3.0
5,215
/* Copyright (C) 2001 by Martin Geisse <mgeisse@gmx.net> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later ver...
garinh/cs
libs/csutil/cfgacc.cpp
C++
lgpl-2.1
2,841
/* * SonarQube, open source software quality management tool. * Copyright (C) 2008-2014 SonarSource * mailto:contact AT sonarsource DOT com * * SonarQube is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Found...
PierreR/sonarqube
server/sonar-server/src/main/java/org/sonar/server/computation/step/IntegrateIssuesStep.java
Java
lgpl-3.0
6,490
package org.molgenis.dataexplorer.negotiator; import static java.nio.charset.StandardCharsets.UTF_8; import static java.util.Objects.requireNonNull; import static java.util.stream.Collectors.toList; import static org.molgenis.dataexplorer.negotiator.config.NegotiatorEntityConfigMetadata.ENABLED_EXPRESSION; import stat...
sidohaakma/molgenis
molgenis-dataexplorer/src/main/java/org/molgenis/dataexplorer/negotiator/NegotiatorController.java
Java
lgpl-3.0
14,000
/*************************GO-LICENSE-START********************************* * Copyright 2014 ThoughtWorks, 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...
VibyJocke/gocd
plugin-infra/go-plugin-access/src/com/thoughtworks/go/plugin/access/authentication/AuthenticationPluginRegistry.java
Java
apache-2.0
3,722
/* * Copyright 2012-2022 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
spring-projects/spring-boot
spring-boot-project/spring-boot-cli/src/test/java/org/springframework/boot/cli/SampleIntegrationTests.java
Java
apache-2.0
4,364
/* * 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 ...
topicusonderwijs/wicket
wicket-examples/src/main/java/org/apache/wicket/examples/tree/TableTreePage.java
Java
apache-2.0
3,821
/* 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 * distributed...
zwets/flowable-engine
modules/flowable-ui-task/flowable-ui-task-logic/src/main/java/org/flowable/app/service/runtime/FlowableCommentService.java
Java
apache-2.0
7,070
/* * Licensed to Metamarkets Group Inc. (Metamarkets) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Metamarkets licenses this file * to you under the Apache License, Version 2.0 (the * "License"); yo...
winval/druid
processing/src/main/java/io/druid/segment/data/TableLongEncodingReader.java
Java
apache-2.0
2,635
/* * Copyright 2017-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...
brettwooldridge/buck
src/com/facebook/buck/features/js/JsBundleGenruleDescription.java
Java
apache-2.0
8,865
/* * Copyright 2000-2016 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...
idea4bsd/idea4bsd
java/debugger/impl/src/com/intellij/debugger/ui/breakpoints/ExceptionBreakpoint.java
Java
apache-2.0
10,672
/* * 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 ...
shirshanka/gobblin
gobblin-modules/gobblin-kafka-08/src/test/java/org/apache/gobblin/metrics/reporter/KafkaProducerPusherTest.java
Java
apache-2.0
4,606