id stringlengths 64 64 | content stringlengths 500 100k | language stringclasses 29
values | path stringlengths 4 333 | repo stringlengths 5 116 | license stringclasses 15
values | size int64 500 100k | lines int64 26 8.06k | source stringclasses 1
value |
|---|---|---|---|---|---|---|---|---|
14a5ce33c7dbc7e87bc20e855937a6742447bcfd78efab0ee8fedeb98394d342 | #vnstat
##Overview
This Puppet module installs, configures and manages vnstat.
##Setup
### What vnstat affects
* vnstat package.
* vnstat configuration file.
* vnstatd service and configuration.
* vnstati program and configuration.
##Usage
Install and configure vnstat, vnstatd and vnstati for interfaces
specifie... | Markdown | pkg/joshuar-vnstat-0.2.2/README.markdown | joshuar/puppet-vnstat | apache-2.0 | 7,007 | 178 | codeparrot/github-code |
61e6bdd97f181ff4ace8f5a9981ea8b158673d407e4466b32911cdd1bcdfcb5c | // Copyright 2012-2014 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MI... | Rust | src/librustc/middle/region.rs | GBGamer/rust | apache-2.0 | 57,054 | 1,411 | codeparrot/github-code |
96faa36323b7dd3d669960a74b293e3b55af1dab80e54cb7003fddd4fd0453d7 | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json.Linq;
namespace Nest
{
[JsonObject]
[JsonConverter(typeof(ScriptTransformJsonConverter))]
public interface IScriptTransform : ITransform
{
[JsonProperty("params")]
[JsonConverter(typeof(VerbatimDict... | C# | src/Nest/XPack/Watcher/Transform/ScriptTransformBase.cs | CSGOpenSource/elasticsearch-net | apache-2.0 | 3,290 | 99 | codeparrot/github-code |
e28d383816cff2f2178637dc65b1e93e9fad67a735f4a06da6b066337a2b1e20 | /**
* 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... | Java | jstorm-core/src/main/java/storm/trident/topology/ITridentBatchBolt.java | alibaba/jstorm | apache-2.0 | 1,362 | 37 | codeparrot/github-code |
c07927c890be187f2b19e1723fd47b8fbba10e309fd1352bae6ec36759e981fc | package com.taobao.tddl.executor.function.scalar.datatime;
import java.util.Calendar;
import com.taobao.tddl.executor.common.ExecutionContext;
import com.taobao.tddl.executor.function.ScalarFunction;
import com.taobao.tddl.executor.utils.ExecUtils;
import com.taobao.tddl.optimizer.core.datatype.DataType;
/*... | Java | tddl-executor/src/main/java/com/taobao/tddl/executor/function/scalar/datatime/Timestamp.java | xloye/tddl5 | apache-2.0 | 2,008 | 64 | codeparrot/github-code |
65843fce46e219714dfe003bbd03bbc5319b7b2b28a16696504c223eabc43792 | /***
Copyright (c) 2016 CommonsWare, LLC
Licensed under the Apache License, Version 2.0 (the "License"); you may not
use this file except in compliance with the License. You may obtain a copy
of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless required
by applicable law or agreed to in writing, so... | Java | Introspection/SAWMonitorTile/app/src/main/java/com/commonsware/android/sawmonitor/MainActivity.java | janzoner/cw-omnibus | apache-2.0 | 1,338 | 38 | codeparrot/github-code |
631d3b4c330361b556e021eaf54b6d19d79b9f9318e3177f02f0a4b5b4753a2b | /*
* 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 ... | Java | bpel-compiler/src/main/java/org/apache/ode/bpel/compiler/DefaultResourceFinder.java | riftsaw/riftsaw-ode | apache-2.0 | 5,182 | 154 | codeparrot/github-code |
8b985dc4822a7fb98a57b851f224e4d0a3d164a3083a8c15c7a222e7394f8d13 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Roslyn.Utilities;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using... | C# | src/Compilers/Core/CommandLine/BuildProtocol.cs | AmadeusW/roslyn | apache-2.0 | 24,150 | 636 | codeparrot/github-code |
f22d6405aa346fe51e7f312867abda44c36768c9d96cbba7bffccff634be163b | 'use strict'
// dependencies
var path = require('path'),
request = require('request'),
// container connections
ccs = [];
// function to get all containers
function GetAllContainers(host, func) {
request({
json: true,
method: 'GET',
uri: host + '/containers/json'
... | JavaScript | utils/index.js | elgalu/docker-mon | apache-2.0 | 1,264 | 55 | codeparrot/github-code |
784300bdeea0559da658f19ba3252f0e3febc47a4107a881949fe3777d038253 | /*
* 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 ... | Java | src/test/java/org/apache/commons/fileupload/MultipartStreamTest.java | jenkinsci/commons-fileupload | apache-2.0 | 2,849 | 80 | codeparrot/github-code |
865530e59ad0d6bcfd5a2a7eed10edcfda3d2366daaf20a118aefbb373147be6 | // InstrumentClone.js
//
// Copyright 2018 High Fidelity, Inc.
// Created by Robin Wilson 7/5/2018
// Expands on guitarMexico.js created by Rebecca Stankus 01/31/18
//
// Entity script that plays the sound while holding the entity.
// Chooses the sound bite randomly from a list passed in.
// Takes two parameters :
//... | JavaScript | DomainContent/Korea/Instruments/InstrumentClone.js | RebeccaStankus/hifi-content | apache-2.0 | 6,371 | 223 | codeparrot/github-code |
bdb560a0c8b1eb07617f8060399c91d2ee6faafc0bc1afabdc8d2b8ebb536de9 | package io.leopard.data4j.memdb.rsync;
import io.leopard.data4j.memdb.MemdbRsyncQueue;
import io.leopard.data4j.memdb.QueueBean;
import io.leopard.data4j.memdb.QueueListener;
import io.leopard.data4j.memdb.SerializeImpl;
import org.junit.Test;
import org.mockito.Mockito;
public class QueueListenerTest {
MemdbRsyncQ... | Java | leopard-memdb/src/test/java/io/leopard/data4j/memdb/rsync/QueueListenerTest.java | tanhaichao/leopard-data | apache-2.0 | 1,179 | 51 | codeparrot/github-code |
806c26e5a9fa93c8eb315d8843a34cf5e8feb0310fcd26d855c8ed13011312cc | /**
* 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
*
* <p>http://www.apache.org/licenses/LICENSE-2.0
*
* <p>Unless required by applicable law or agreed to in writing, software distributed ... | Java | modules/common/app/edu/berkeley/ground/common/dao/core/NodeDao.java | ground-context/ground | apache-2.0 | 1,238 | 37 | codeparrot/github-code |
39f7a89ac5db83c66b5b6f0cf7b60c8f38eecc511a990084675a86f3cdb0d754 | <div id="home-sections" class="container-fluid" style="padding: 0">
<a href="javascript:void(0)" class="cd-close hidden"></a>
<!-- Header -->
<header class="container-fluid home-container section">
<div class="row" style="margin: 0 300px">
<div class="col-lg-6" id="academy-summary">
... | HTML | views/home.html | sjy/iammbp-cn | apache-2.0 | 7,142 | 172 | codeparrot/github-code |
e5e83633ac7d0ad82075abf7356d79d3ef710595bd1938a26d43765b7854fd0e | <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
require_once(SERVICES_MODULE_PATH . 'method_handlers/registry_object_handlers/_ro_handler.php');
/**
* Temporal handler
* @author Liz Woods <liz.woods@ands.org.au>
* @return array list of all temporal fields
*/
class Temporal extends ROHandler ... | PHP | applications/registry/services/method_handlers/registry_object_handlers/temporal.php | au-research/ANDS-Registry-Core | apache-2.0 | 2,029 | 56 | codeparrot/github-code |
02155cac467ef963edacf022b79e52cc26c057084748daf416e8c9af4b55b7f3 | /*
* Copyright 1999-2006 University of Chicago
*
* 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... | Java | src/org/globus/ftp/dc/GridFTPDataChannel.java | dCache/jglobus-1.8 | apache-2.0 | 1,499 | 43 | codeparrot/github-code |
6ad79e773dc0ff9cd542204aa0dc4276fbf3bc0d56727048466b8836f9d4fb8f | /**
* Copyright (C) 2013 kangliqiang ,kangliq@163.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 ... | C++ | src/kpr/TimerTaskManager.cpp | miaojianxin/client_mjx | apache-2.0 | 2,263 | 92 | codeparrot/github-code |
193cea2e4be36d464f2fab3db2b4594086d41875975d7b25ee2cb2ed3b56e8d5 | #
# Author:: Stefano Tortarolo (<stefano.tortarolo@gmail.com>)
# Copyright:: Copyright (c) 2012-2013
# License:: Apache License, Version 2.0
#
# 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
#
... | Ruby | lib/chef/knife/vapp/vc_vapp_show.rb | pearsoncloud/knife-vcloud | apache-2.0 | 2,717 | 91 | codeparrot/github-code |
78a4784c5eecd3dc749a4975edc04251bcd325a74d7c8c62ea2c3fbd6558d3b7 | /**
* Copyright 2016 StreamSets Inc.
*
* Licensed under 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 Lice... | Java | container/src/test/java/com/streamsets/datacollector/el/TestMathEL.java | studanshu/datacollector | apache-2.0 | 4,301 | 104 | codeparrot/github-code |
38d0c3ab35ae61a79ba82b53effcb267b4dc7a0ebeb7af18daca9a015ce7469d | /*
* Copyright 2016 LinkedIn Corp. 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 applicab... | Java | ambry-store/src/main/java/com/github/ambry/store/DiskManager.java | linkedin/ambry | apache-2.0 | 23,944 | 574 | codeparrot/github-code |
de6270a1063be94b408d8c823219314a5bfdc65908584ae18f7429b4b2c41777 | // Copyright 2011-2016 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | Java | src/main/java/com/google/security/zynamics/binnavi/Gui/Debug/RemoteBrowser/FileBrowser/CRemoteFile.java | google/binnavi | apache-2.0 | 3,239 | 143 | codeparrot/github-code |
5ffbf7c7a75ffcc60e40c77ac2eed757e66dac3977881e4be206bb660c378056 | package ai.elimu.dao.jpa;
import java.util.Calendar;
import java.util.List;
import javax.persistence.NoResultException;
import ai.elimu.dao.ContributorDao;
import org.springframework.dao.DataAccessException;
import ai.elimu.model.Contributor;
public class ContributorDaoJpa extends GenericDaoJpa<Contributor> impleme... | Java | src/main/java/ai/elimu/dao/jpa/ContributorDaoJpa.java | raidenovski/webapp | apache-2.0 | 2,174 | 66 | codeparrot/github-code |
fd04e9f23e1c2a154736c82574753d059fdee727836a2f46688d1a0e95bd5013 | /*
* 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... | Java | platform/lang-impl/src/com/intellij/codeInsight/generation/CommentByBlockCommentHandler.java | retomerz/intellij-community | apache-2.0 | 28,836 | 706 | codeparrot/github-code |
2f66dd4942eed0482e63e156f8a64331dd346fc286b3fa08415fad87f19708e5 | /*
* Copyright 2011 Jon S Akhtar (Sylvanaar)
*
* 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 ... | Java | src/main/java/com/sylvanaar/idea/Lua/editor/inspections/unassignedVariable/UnassignedVariableAccessInspection.java | internetisalie/lua-for-idea | apache-2.0 | 4,219 | 114 | codeparrot/github-code |
a1c22fd5d984f638b2d65df89227e96ac1edb4db08f3eb85e9de2553330ec04f | /*
// Licensed to DynamoBI Corporation (DynamoBI) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. DynamoBI licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may ... | Java | luciddb/src/com/lucidera/luciddb/mbean/server/PingServer.java | LucidDB/luciddb | apache-2.0 | 2,131 | 76 | codeparrot/github-code |
459204db4bc64a4ff1eb033d122d4ae4a22d694bc3e2ad3f771a0350c338ac84 | #pragma once
#include "envoy/stats/scope.h"
#include "envoy/stats/stats_macros.h"
#include "source/common/common/thread.h"
namespace Envoy {
namespace Http {
namespace Http1 {
/**
* All stats for the HTTP/1 codec. @see stats_macros.h
*/
#define ALL_HTTP1_CODEC_STATS(COUNTER) ... | C | source/common/http/http1/codec_stats.h | envoyproxy/envoy | apache-2.0 | 1,202 | 39 | codeparrot/github-code |
ecef811bf141d1cf81365ed41986d312c2de2ac196c44749f3bc65ff86283f1c | /**
* 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... | Java | pulsar-broker/src/test/java/org/apache/pulsar/client/impl/KeyStoreTlsProducerConsumerTestWithoutAuthTest.java | massakam/pulsar | apache-2.0 | 11,002 | 261 | codeparrot/github-code |
b8fb8d15685136fbd8e250e07350f59ac6f2ede9feae36b5b082b795f6546f73 | /*
* Copyright (C) 2018 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... | Java | library/core/src/test/java/com/google/android/exoplayer2/offline/DefaultDownloaderFactoryTest.java | superbderrick/ExoPlayer | apache-2.0 | 1,917 | 51 | codeparrot/github-code |
2ab87e3f19c4c149f91f6149c5dfe2722cc9bb5b93e3ccf06e34e266a73e44b5 | #region License and Terms
// MoreLINQ - Extensions to LINQ to Objects
// Copyright (c) 2016 Leandro F. Vieira (leandromoh). 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 Licen... | C# | MoreLinq.Test/CountByTest.cs | fsateler/MoreLINQ | apache-2.0 | 3,445 | 108 | codeparrot/github-code |
6ef774f9038f9b0afa4fa6680fbd1afd079ceb7cd903ff9125655bc1b24445bb | /* Copyright 2019 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 applicable law or a... | C++ | tensorflow/lite/delegates/gpu/common/tasks/concat_z.cc | cxxgtxy/tensorflow | apache-2.0 | 5,970 | 159 | codeparrot/github-code |
c584306fc2100a3afd1bd35f25da99ef694a93431fd323c949e850725f055c9b | /*
* Copyright (c) 2008-2015, NVIDIA CORPORATION. All rights reserved.
*
* NVIDIA CORPORATION and its licensors retain all intellectual property
* and proprietary rights in and to this software, related documentation
* and any modifications thereto. Any use, reproduction, disclosure or
* distribution of this so... | C++ | PhysX-3.3/PhysXSDK/Source/SimulationController/src/cloth/ScClothFabricCore.cpp | LiangYue1981816/CrossEngine | apache-2.0 | 12,893 | 409 | codeparrot/github-code |
c904c79bf1bbe1bb5c2d02cf49fb50d220c9b5b50bd5caa6cb732b59cd220cd0 | /*
* Copyright 2010 Bruno de Carvalho
*
* 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... | Java | efflux/src/main/java/com/biasedbit/efflux/packet/AbstractReportPacket.java | ekumenlabs/AndroidStreamingClient | apache-2.0 | 2,911 | 86 | codeparrot/github-code |
2bdc655ca0a3aa8d3e216f26ec0f96ec9d0f68aae2e8f9c28aca970ae00ecedd | /*
* Copyright (c) 2008-2015, NVIDIA CORPORATION. All rights reserved.
*
* NVIDIA CORPORATION and its licensors retain all intellectual property
* and proprietary rights in and to this software, related documentation
* and any modifications thereto. Any use, reproduction, disclosure or
* distribution of this so... | C | PhysX-3.3/APEXSDK/module/clothing_legacy/include/ConversionClothingAssetParameters_0p4_0p5.h | LiangYue1981816/CrossEngine | apache-2.0 | 2,750 | 100 | codeparrot/github-code |
ae0f189cbde1f333aea8f15d1327086e3a7db9bb22e6c9d6f4893b9e1bcf2278 | package com.ctrip.zeus.logstats.parser.state.extended;
import com.ctrip.zeus.logstats.parser.state.Action;
import com.ctrip.zeus.logstats.parser.state.LogStatsState;
import com.ctrip.zeus.logstats.parser.state.LogStatsStateMachine;
import com.ctrip.zeus.logstats.parser.state.StateMachineContext;
/**
* Create... | Java | log_analysis/src/main/java/com/ctrip/zeus/logstats/parser/state/extended/RequestUriState.java | sdgdsffdsfff/zeus | apache-2.0 | 2,475 | 90 | codeparrot/github-code |
f75e9553eb84bc2875f2b3ff05f05634a3a33fa0a4e5389a2b0110a13a60876c | /*
* 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 ... | Java | flink-runtime/src/test/java/org/apache/flink/runtime/blob/BlobCacheDeleteTest.java | zimmermatt/flink | apache-2.0 | 12,594 | 365 | codeparrot/github-code |
4b3e137c801c69f2770c7ca1af3583b19b19ba0b7f499c01c052620aa8f98f6b | /*
* Copyright (c) 2005-2010 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... | Java | cashflow/src/main/java/org/mifos/platform/cashflow/ui/model/CashFlowValidator.java | maduhu/mifos-head | apache-2.0 | 7,455 | 144 | codeparrot/github-code |
c637d30b6fd3381bb309312109ca0be14681a008bd1cbf5fb4f6edb6cdc66558 | /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Copyright by The HDF Group. *
* Copyright by the Board of Trustees of the University of Illinois. *
* All rights reserved. *
* ... | C | Modules/ThirdParty/HDF5/src/itkhdf5/src/H5FSprivate.h | LucasGandel/ITK | apache-2.0 | 12,046 | 228 | codeparrot/github-code |
b3fa42c2b2a9f157767c36c050abb6cc5d0d34c5e95b65c6404766995697b076 | /* Copyright (C) Relevance Lab Private Limited- All Rights Reserved
* Unauthorized copying of this file, via any medium is strictly prohibited
* Proprietary and confidential
* Written by Relevance UI Team,
* Aug 2015
*/
(function (angular) {
"use strict";
angular.module('dashboard')
.controller('orchestration... | JavaScript | client/cat3/src/partials/sections/dashboard/popups/controller/orchestrationUpdateChefRunlistCtrl.js | RLOpenCatalyst/core | apache-2.0 | 8,023 | 215 | codeparrot/github-code |
ea9d5c362cbcb113faa7996c37abb9707322b495b3542fe666fdee2262952c69 | /*=========================================================================
*
* Copyright Insight Software Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* h... | C | Modules/Filtering/DistanceMap/include/itkSignedMaurerDistanceMapImageFilter.h | daviddoria/itkHoughTransform | apache-2.0 | 6,801 | 186 | codeparrot/github-code |
e2f07e17a782f5f36a05aa24de2c1dcb7731209196da667f636873eb3eec3af2 | /*
* 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 ... | Java | core/camel-core/src/test/java/org/apache/camel/processor/TryCatchContinueToRouteTest.java | Fabryprog/camel | apache-2.0 | 2,538 | 64 | codeparrot/github-code |
ea213455ead5a6923f8a5152db6b506ed9e546cebc93ab55175da8ab37135010 | /*
* Copyright 2011 Research Studios Austria Forschungsgesellschaft mBH
*
* This file is part of easyrec.
*
* easyrec 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
... | Java | easyrec-plugin-container/src/main/java/org/easyrec/model/plugin/archive/ArchivePseudoGenerator.java | feesa/easyrec-parent | apache-2.0 | 3,008 | 86 | codeparrot/github-code |
bfc28221ecf9a8b0602cfb0a44f2af4db57e18e744f1d3ddbbd49ae3e98b1105 | /*
Derby - Class org.apache.derby.impl.sql.execute.RevokeRoleConstantAction
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 ... | Java | java/org.apache.derby.engine/org/apache/derby/impl/sql/execute/RevokeRoleConstantAction.java | apache/derby | apache-2.0 | 9,593 | 237 | codeparrot/github-code |
5ab1607b4ee7c40ea39d0f3148c0d6f55fe1010d178a298b22bad59162a488ab | /*
* Copyright (c) 2015 Evolveum
*
* 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... | Java | model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/expr/SequentialValueExpressionEvaluator.java | rpudil/midpoint | apache-2.0 | 4,390 | 102 | codeparrot/github-code |
f79d5231f2caaacf7a96f1d02fb3350a41a420ca30157f61a6738eddd28d67d2 | package de.darwinspl.feature.graphical.base.util;
import java.util.Date;
import eu.hyvar.evolution.util.HyEvolutionUtil;
import eu.hyvar.feature.HyFeature;
import eu.hyvar.feature.HyGroupComposition;
import eu.hyvar.feature.HyGroupType;
import eu.hyvar.feature.HyGroupTypeEnum;
public class DwFeatureUtil {
/**
* C... | Java | plugins/de.darwinspl.feature.graphical.base/src/de/darwinspl/feature/graphical/base/util/DwFeatureUtil.java | DarwinSPL/DarwinSPL | apache-2.0 | 1,171 | 35 | codeparrot/github-code |
d6a5881881a03fd859bd58459b0392106f452669d5d637d6e0b20c1bc4dfe425 | package com.esri.geoevent.solutions.processor.bearing;
import com.esri.ges.core.component.ComponentException;
import com.esri.ges.core.property.PropertyException;
import com.esri.ges.manager.geoeventdefinition.GeoEventDefinitionManager;
import com.esri.ges.messaging.Messaging;
import com.esri.ges.processor.GeoEventPro... | Java | solutions-geoevent/processors/bearing-processor/src/main/java/com/esri/geoevent/solutions/processor/bearing/BearingProcessorService.java | abrowning80/solutions-geoevent-java | apache-2.0 | 992 | 38 | codeparrot/github-code |
a982e97777b86b1659c116428db80ea835eead5561b612bcdefd5d7926044120 | package org.uberfire.client.workbench.panels.impl;
import com.google.gwtmockito.GwtMock;
import com.google.gwtmockito.GwtMockitoTestRunner;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.uberfire.client.workbench.PanelManager;
import static org.junit.Assert.*;
@RunWith(Gw... | Java | uberfire-workbench/uberfire-workbench-client/src/test/java/org/uberfire/client/workbench/panels/impl/SimpleWorkbenchPanelPresenterTest.java | yurloc/uberfire | apache-2.0 | 857 | 40 | codeparrot/github-code |
b432f3e24abfe72e42340f4f79b45e1e2487898d80ec5f55c6372f0fcf2cca77 | /**
* @license
* Copyright 2019 Google 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... | TypeScript | src/neuroglancer/projection_parameters.ts | janelia-flyem/neuroglancer | apache-2.0 | 2,372 | 71 | codeparrot/github-code |
22031a29c50551db3d1e625c9d2f23c4dc5471a75e00d73d039cc7a2997b2bea | package org.processmining.contexts.uitopia.packagemanager;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
import javax.swing.AbstractListModel;
public class PMPackageListModel extends AbstractListModel {
/**
*
*/
private static final long serialV... | Java | trunk/src-Contexts/org/processmining/contexts/uitopia/packagemanager/PMPackageListModel.java | cripsy-lamp/prom-plugin | apache-2.0 | 2,195 | 89 | codeparrot/github-code |
d70b98df33eae36984c69c85bd94ed1b0337a9d1144d931a7550a56c50e2fd80 | /*
* 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 ... | Java | security-admin/src/main/java/org/apache/ranger/common/TimedExecutorConfigurator.java | gzsombor/ranger | apache-2.0 | 3,085 | 94 | codeparrot/github-code |
d417d8e22b0dcb7e40ed165fdc4b816e87bba59043747fef34cf400cfd80ecb8 | //===--- Immediate.cpp - the swift immediate mode -------------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http://swift.org/LI... | C++ | lib/Immediate/Immediate.cpp | adrfer/swift | apache-2.0 | 12,304 | 346 | codeparrot/github-code |
7a6bfbbae182c4e2e8ba0eadd56489e10613c08479042015ef6a92d5f75f4c60 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;
namespace WcfService2
{
// NOTE: You can use the "Rename" command on the "Refactor" menu to change the class name "Service1" in code, ... | C# | Tools/ServiceBlockEditor/WcfService2/Service1.svc.cs | tadeuspiat/legacy | apache-2.0 | 895 | 33 | codeparrot/github-code |
6470bab046d8d789222c8f5e2aaf6dc49e326b20a7c1d25176055913e210f005 | /*
* 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 ... | Java | oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/session/WorkspaceImpl.java | rombert/jackrabbit-oak | apache-2.0 | 12,188 | 331 | codeparrot/github-code |
14c714e83c275920f46f4a35f991e0d34f318be70c0342b64192a46dc987f7f0 | /*
* ProGuard -- shrinking, optimization, obfuscation, and preverification
* of Java bytecode.
*
* Copyright (c) 2002-2014 Eric Lafortune (eric@graphics.cornell.edu)
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as publ... | Java | proguard/proguard/io/DirectoryWriter.java | oneliang/third-party-lib | apache-2.0 | 4,622 | 166 | codeparrot/github-code |
3668b0d2301432744ad12271732cd9e40f4f40f3c7c64e87a12fc302999e20d9 | //
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will... | C | Simulation/OMNeT++/inet/src/inet/mobility/base/LinearRotatingMobilityBase.h | StarStuffSteve/masters-research-project | apache-2.0 | 1,654 | 52 | codeparrot/github-code |
df5d636f989f31ec79dfc64235224df8895f9c872794714eb33eba3867acdb96 | /*
* 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... | Java | modules/integration/test/org/apache/axis2/integration/UtilServer.java | apache/axis2-java | apache-2.0 | 9,251 | 230 | codeparrot/github-code |
73fbd7591a29c1fefe0a91550cd7f8a42c2b4c485bb37789df56f3f318004310 | /*
* Copyright (c) 2016-2018, Arm Limited and affiliates.
* SPDX-License-Identifier: Apache-2.0
*
* 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/... | C | features/nanostack/sal-stack-nanostack/source/Service_Libs/fhss/fhss_configuration_interface.c | betzw/mbed-os | apache-2.0 | 4,583 | 141 | codeparrot/github-code |
9969f8df1afe6568407ce4795ed6cbf482b99e6f6d0465841e4e5729cc562745 | /*
Copyright 2021 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, ... | GO | pkg/apis/kops/v1alpha3/topology.go | kubernetes/kops | apache-2.0 | 1,593 | 52 | codeparrot/github-code |
e9cbeb5d89e4ae6fe8ccbe6b924e6c2676206fbd24639a672b71cf26d7b29ed0 | # Copyright 2011-2020, The Trustees of Indiana University and Northwestern
# University. 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
#
# ... | Ruby | lib/avalon/bib_retriever/sru.rb | nulib/avalon | apache-2.0 | 1,689 | 45 | codeparrot/github-code |
184994f9b54b4d1278002c9181fbc3ba500a23e211c59a42073a513e6ee8db4c | /*
* 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
* distribu... | Java | Server/src/main/java/com/wms/studio/service/LoginIpServiceImpl.java | kuainiao/MultimediaDesktop | apache-2.0 | 4,468 | 142 | codeparrot/github-code |
861cb732f269b55a8e842c2ef13bbbaed9a503b12a4ffa9e2947163ed92eae00 | /**
*
* @authors Your Name (you@example.org)
* @date 2015-11-23 12:01:49
* @version $Id$
*/
/**
*
* @authors Your Name (you@example.org)
* @date 2015-11-06 11:48:36
* @version $$Id$$
*/
var $$ = function(el) {
return new _$$(el);
};
var _$$ = function(el) {
this.el = (el && el.nodeType =... | JavaScript | server/nirvana-workbench/src/main/webapp/framework/js/EventFrame.js | freiby/flex | apache-2.0 | 3,805 | 135 | codeparrot/github-code |
b41fb58457dc4c2d41152b045b439a6c03346135523702b725d7b61d6482e8c7 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>CodeIgniter Features : CodeIgniter User Guide... | HTML | user_guide/tutorial/news_section.html | Sprinkle7/Kpitb | apache-2.0 | 10,260 | 230 | codeparrot/github-code |
eb55e7036c08fb1d4061cd4507966c4113f29587d311c19fc13fd7639df268d7 | # Copyright 2015-2016 Open Source Robotics Foundation, 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 applicabl... | Python | docker_templates/library.py | osrf/docker_templates | apache-2.0 | 2,737 | 63 | codeparrot/github-code |
cfc364c45c8e8b986c71331179d9dce970f9f870653fa8c78bbb45a950f1acbb | /*
* Seldon -- open source prediction engine
* =======================================
*
* Copyright 2011-2015 Seldon Technologies Ltd and Rummble Ltd (http://www.seldon.io/)
*
* ********************************************************************************************
*
* Licensed under the Apache License, V... | Java | server/src/io/seldon/api/Constants.java | SeldonIO/seldon-server | apache-2.0 | 6,180 | 144 | codeparrot/github-code |
94fc47dbb6c1a4618165f8e264d80f5c2c46f9d099673b9b520f5bef35cc4026 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html version="-//W3C//DTD XHTML 1.1//EN"
xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3.org/1999/xhtml
... | HTML | www/conjure.html | ikbear/ImageMagick | apache-2.0 | 17,626 | 412 | codeparrot/github-code |
a662baddb889fcc73a563ad7a8c1cfdba54abf3ef8d7d76217ecd3759347f6a5 | /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
package org.elasticsearch.xpack.ml.job.process.autodetect;
import org.elastic... | Java | x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/UpdateParams.java | nknize/elasticsearch | apache-2.0 | 5,657 | 159 | codeparrot/github-code |
5f444db6161e5468f381794b0ef485b7de6afc2f6330a950baf91f1820ebc7b8 | /*
* 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... | C++ | aws-cpp-sdk-guardduty/source/model/DisassociateFromMasterAccountResult.cpp | cedral/aws-sdk-cpp | apache-2.0 | 1,391 | 45 | codeparrot/github-code |
b099ae70f05b4d9d783a1d0c2bb12011c7f2f9c3ef0d82b4b3fd7380a9453bf0 | package org.jtwig.value.context;
import com.google.common.base.Optional;
import org.jtwig.JtwigModel;
import org.jtwig.reflection.model.Value;
import org.jtwig.value.Undefined;
import org.junit.Test;
import static org.junit.Assert.assertSame;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.w... | Java | src/test/java/org/jtwig/value/context/JtwigModelValueContextTest.java | jtwig/jtwig-core | apache-2.0 | 1,229 | 44 | codeparrot/github-code |
70add1adcf5d2fb32eb254432fee08ee8b9983652dbb01c97ad5b66ceb6f5f82 | package org.apache.lucene.benchmark.byTask.tasks;
/**
* 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... | Java | contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/tasks/SearchWithSortTask.java | tokee/lucene | apache-2.0 | 4,632 | 165 | codeparrot/github-code |
43f9f3b2afc95b92461ce7c449ab0e66cfde07c301be300130645dfbf1ba60a1 | /*
* Scala.js (https://www.scala-js.org/)
*
* Copyright EPFL.
*
* Licensed under Apache License 2.0
* (https://www.apache.org/licenses/LICENSE-2.0).
*
* See the NOTICE file distributed with this work for
* additional information regarding copyright ownership.
*/
package org.scalajs.linker.backend.emitter
pr... | Scala | linker/shared/src/main/scala/org/scalajs/linker/backend/emitter/LongImpl.scala | nicolasstucki/scala-js | apache-2.0 | 3,250 | 104 | codeparrot/github-code |
5d764cf03fed80942556201b1a11648f6d21be803cdde2f56f13384f617a8aa0 | /* Copyright (c) 2008 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | Java | java/src/com/google/gdata/client/http/GoogleGDataRequest.java | ermh/Gdata-mavenized | apache-2.0 | 18,502 | 577 | codeparrot/github-code |
6def2a41ef65e3ace27cbd3a0a5c84fb59d7a16d10a12eaa89e3c7f3eeb1e94a | # Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# d... | Python | nova/virt/libvirt/volume/iscsi.py | Juniper/nova | apache-2.0 | 3,538 | 90 | codeparrot/github-code |
12ab8606b03d144213210055b3633a70c963b7c73519dcbd5e7831b5bddb179e | //
// Last.Backend LLC CONFIDENTIAL
// __________________
//
// [2014] - [2019] Last.Backend LLC
// All Rights Reserved.
//
// NOTICE: All information contained herein is, and remains
// the property of Last.Backend LLC and its suppliers,
// if any. The intellectual and technical concepts contained
// herein are prop... | GO | pkg/util/http/request/request.go | lastbackend/lastbackend | apache-2.0 | 5,356 | 293 | codeparrot/github-code |
bcb416943b07f9e99c3f56f2fce4e21d01c827c0924dfb484a66849d62d8781c | # frozen_string_literal: true
# Copyright 2016 Liqwyd 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... | Ruby | app/cyclid/controllers.rb | Cyclid/Cyclid | apache-2.0 | 3,566 | 124 | codeparrot/github-code |
9978f8952f7adae1f0c7b2678e565019e092c35ed9cc3717ae5881c0c8c96a02 | <?php defined('BASEPATH') OR exit('No direct script access allowed');
// inline help html. Only 'help_body' is used.
$lang['help_body'] = "
<h6>Overview</h6><hr>
<p>The files module is an excellent way for the site admin to manage the files in use on the site.
All images or files that are inserted into pages, gallerie... | PHP | system/cms/modules/files/language/english/help_lang.php | sanayaCorp/bpkad | apache-2.0 | 4,436 | 50 | codeparrot/github-code |
f8df17e05147c8f27b019317eda477f605e7cb5c608294d9ea18712c41af3671 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
<title>TestExplicitColumnTracker xref</title>
<l... | HTML | docs/xref-test/org/apache/hadoop/hbase/regionserver/TestExplicitColumnTracker.html | zqxjjj/NobidaBase | apache-2.0 | 19,194 | 219 | codeparrot/github-code |
48eb0dc7c2ac937627f675ad2f23958ae0457a4e6ef74666913834db47a486f0 | package org.apereo.cas.authentication;
import org.apereo.cas.services.RegisteredService;
import org.apereo.cas.util.CollectionUtils;
import lombok.Getter;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import lombok.val;
import org.apache.commons.lang3.StringUtils;
import org.apache.commons.... | Java | core/cas-server-core-authentication-mfa-api/src/main/java/org/apereo/cas/authentication/DefaultMultifactorAuthenticationContextValidator.java | rrenomeron/cas | apache-2.0 | 5,828 | 108 | codeparrot/github-code |
a04439d1b12b09061086826a0edbf718320630eac548386da657d47835702d26 | <?php
/*
* @version $Id: consumableitemtype.class.php 17152 2012-01-24 11:22:16Z moyo $
-------------------------------------------------------------------------
GLPI - Gestionnaire Libre de Parc Informatique
Copyright (C) 2003-2012 by the INDEPNET Development Team.
http://indepnet.net/ http://glpi-project.org
... | PHP | inc/consumableitemtype.class.php | adayanesupri/glpi_supri | apache-2.0 | 1,665 | 53 | codeparrot/github-code |
107941294a99aafb89dab3fe8937a6f051404e825662fe3981cce21fe30e15b2 | /**
* 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... | Java | activemq-web/src/main/java/org/apache/activemq/web/RemoteJMXBrokerFacade.java | chirino/activemq | apache-2.0 | 8,728 | 239 | codeparrot/github-code |
8e8b4bbfa2f195fb3fcc77b1825abe38e875c3a5e47271f5d6e3edc450feb041 | revision = 'e966a3afd100'
down_revision = '954c3c4caf32'
branch_labels = None
depends_on = None
import alembic
import sqlalchemy
import requests
import pytz
import dateutil.parser
import datetime
def upgrade():
patreon_users = alembic.op.create_table("patreon_users",
sqlalchemy.Column("id", sqlalchemy.Integer, pri... | Python | alembic/versions/e966a3afd100_separate_patreon_user_table.py | mrphlip/lrrbot | apache-2.0 | 4,230 | 110 | codeparrot/github-code |
f0e059f7e44eb78611e400e74b6d03e9fb748b0d64140e53675ade52c6dd3f3e | ##############################################################################
#copyright 2013, Hamid MEDJAHED (hmedjahed@prologue.fr) Prologue #
#Licensed under the Apache License, Version 2.0 (the "License"); #
#you may not use this file except in compliance with the License. #
#You... | Python | pyaccords/pysrc/ec2instanceinfo.py | compatibleone/accords-platform | apache-2.0 | 13,279 | 276 | codeparrot/github-code |
bd4fd692978b141679c855f69a2be2e38f7b32ade9db62e25470dea2f7c79973 | /*
Copyright 2014 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, ... | GO | staging/src/k8s.io/apimachinery/pkg/runtime/conversion.go | ConnorDoyle/kubernetes | apache-2.0 | 4,031 | 160 | codeparrot/github-code |
47a35145d3ce60e03c71c4db6a7c35e07592c846a30e845e5ab44cfe916b3c2d | /*
* 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 ... | Java | nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/JoltTransformJSON.java | Wesley-Lawrence/nifi | apache-2.0 | 18,817 | 369 | codeparrot/github-code |
fcce98515f245c7b7be92927a99ec8504e4ef34ecc205d607a7b1cd846d6960d | /*
* 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 ... | Java | modules/core/src/main/java/org/apache/ignite/internal/processors/metastorage/persistence/DistributedMetaStorageClusterNodeData.java | ptupitsyn/ignite | apache-2.0 | 1,751 | 53 | codeparrot/github-code |
efce68c77d76248197c47b575eebbd23de4cc4366e2ba38723aa28342cd674eb | # Copyright 2015-2017 F-Secure
# 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, ... | Python | see/hooks.py | F-Secure/see | apache-2.0 | 3,119 | 96 | codeparrot/github-code |
60dfab10ea0a06368423ca7258e79ec71690bc7ee868c72de2129db09f0350dc |
function Compare-Hashes {
param (
[string]$my_path = "$PSScriptRoot",
[string]$reg_chksum = '\bchecksum\b',
[string]$checksumType = '\bchecksumType\b'
)
$global:au_force=$gud = $false;
$current_checksumType = (gi "$my_path\tools\chocolateyInstall.ps1" | sls $checksumType) -split "=|'" | Select -Last 1 -Skip 1
$c... | PowerShell | automatic/cutepdf/update_helper.ps1 | chocolatey/chocolatey-coreteampackages | apache-2.0 | 2,332 | 65 | codeparrot/github-code |
a264ca0e39de7d7e3920bacae580a87b17bbea43dadfe091f59a8e2f2b6a94a9 | // Copyright 2017 ETH Zurich
//
// 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 wri... | GO | go/lib/hpkt/read.go | klausman/scion | apache-2.0 | 10,192 | 322 | codeparrot/github-code |
3c216a54a62b14bc65837b639756686145c2e4434846624d451f104546d24cb3 | package org.mifos.application.holiday.business.service;
import org.joda.time.DateTime;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mifos.application.holiday.persistence.HolidayDao;
import org.mifos.config.FiscalCalendarRules;
import org.mifos.framework.util.helpers.DateU... | Java | application/src/test/java/org/mifos/application/holiday/business/service/HolidayServiceTest.java | vorburger/mifos-head | apache-2.0 | 6,068 | 143 | codeparrot/github-code |
98d8277fc93a656260238de59fdd5c3308e04754710d8529312a798001111d75 | /**
* Copyright 2015 StreamSets Inc.
*
* Licensed under 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 Lice... | Java | cli/src/main/java/com/streamsets/datacollector/client/model/RawSourceDefinitionJson.java | studanshu/datacollector | apache-2.0 | 2,877 | 90 | codeparrot/github-code |
544dcebe5b6ad2b697b97dc55c0f030a032dae042a179ff18caee9484c6d3a35 | /*
* Copyright 2015 JBoss Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | Java | gateway/platforms/vertx3/vertx3/src/test/java/io/apiman/gateway/platforms/vertx3/components/ldap/LdapQueryTests.java | msavy/apiman | apache-2.0 | 6,859 | 188 | codeparrot/github-code |
74588b4266e50fdaa4b3bdd3e1ad7680bf29ad65a4f7bd8b26b0439c9f7b6051 | /* 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 applicable law or agreed to in ... | TypeScript | tensorflow/tensorboard/components/tf-event-dashboard/dataset.ts | YanTangZhai/tf | apache-2.0 | 1,859 | 57 | codeparrot/github-code |
e045b5d731c0ce9af0f104baab8e4d706ef3ba8083cb759ac028c5fe8a09332d | // 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... | Java | server/src/com/cloud/capacity/CapacityManagerImpl.java | resmo/cloudstack | apache-2.0 | 54,679 | 1,107 | codeparrot/github-code |
a8800fc395927aa19b0696bc3eba304fa634555b454dfde5a319009b387ab6c4 | //
//------------------------------------------------------------//
// Copyright 2009-2012 Mentor Graphics Corporation //
// All Rights Reserved Worldwid //
// //
// Licensed under the Apache License, Version 2.0 (the ... | C++ | uvmc-2.2/examples/commands/ex_phase_control.cpp | amiq-consulting/amiq_eth | apache-2.0 | 7,313 | 215 | codeparrot/github-code |
a05ee5595e3a8dba3748be75a7cda1030642787de9d114cbeff4386a9497246a | /*!
* Fi-ware web style
*
*/
/* Body and structure
-------------------------------------------------- */
body {
position: relative;
padding-top: 10px;
}
/* Tweak navbar brand link to be super sleek
-------------------------------------------------- */
.navbar-fixed-top .brand {
padding-rig... | CSS | wstore/static/assets/css/docs.css | Fiware/ops.Sla-dashboard | apache-2.0 | 17,869 | 839 | codeparrot/github-code |
66ddb2bd271f3f1f939bfc9e30affa394ca2dbda5c80073d8ad0fdb4aeb739d7 | /*
* 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 ... | Java | modules/core/src/test/java/org/apache/ignite/internal/marshaller/optimized/OptimizedMarshallerSerialPersistentFieldsSelfTest.java | ptupitsyn/ignite | apache-2.0 | 3,845 | 119 | codeparrot/github-code |
8521ea2e8f3f4d3a62836624c803a73bad96e66e8119e5b5da00a8f80ff194ff | /*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | Java | server/src/main/java/org/elasticsearch/search/aggregations/support/MultiValuesSourceAggregatorFactory.java | nknize/elasticsearch | apache-2.0 | 2,989 | 73 | codeparrot/github-code |
17f2c79e22301a2edcb8bad2805d139f14ba273e0a14f1f311c6395123603c31 | // @author Couchbase <info@couchbase.com>
// @copyright 2014 Couchbase, 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
//
// Un... | GO | common/txn.go | couchbase/gometa | apache-2.0 | 4,136 | 163 | codeparrot/github-code |
86dd1f0f0d5a05cea44ab128f364053048afbd18e553a85bddf53501e2a43108 | /*
* 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... | Java | python/testSrc/com/jetbrains/python/refactoring/PyIntroduceTestCase.java | romankagan/DDBWorkbench | apache-2.0 | 4,198 | 101 | codeparrot/github-code |
dd11143c490dd711e2ebc0a81bb4d50dccb26d64b99093626e3835ff2095f6ef | package com.redhat.ceylon.compiler.typechecker.analyzer;
import static com.redhat.ceylon.compiler.typechecker.analyzer.AliasVisitor.typeList;
import static com.redhat.ceylon.model.typechecker.model.ModelUtil.addToIntersection;
import static com.redhat.ceylon.model.typechecker.model.ModelUtil.canonicalIntersection;
imp... | Java | typechecker/src/com/redhat/ceylon/compiler/typechecker/analyzer/SupertypeVisitor.java | gijsleussink/ceylon | apache-2.0 | 8,380 | 236 | codeparrot/github-code |
b4773bf73ce61c64ded36970074b7ffdb86aa02d4fc1266932c58e35d88206ab | /**
* Copyright (c) 2013-2020 Contributors to the Eclipse Foundation
*
* See the NOTICE file distributed with this work for additional information regarding copyright
* ownership. All rights reserved. This program and the accompanying materials are made available
* under the terms of the Apache License, Version 2.... | Java | core/store/src/main/java/org/locationtech/geowave/core/store/query/filter/expression/text/TextBetween.java | locationtech/geowave | apache-2.0 | 4,362 | 117 | codeparrot/github-code |
090328147e600b55a2b129e10c2c1a0786b20e669609f914c8f21391d6941f38 | package org.apache.lucene.index;
/*
* 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, Versio... | Java | lucene/core/src/java/org/apache/lucene/index/LogMergePolicy.java | visouza/solr-5.0.0 | apache-2.0 | 23,920 | 632 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.