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
75758ef33d8433fb0878cf89dac9b8e04003e6eb67e1651e89d28d88cfc00ce7
/* * Copyright 2012-2018 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...
Java
spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/endpoint/ExposeExcludePropertyEndpointFilter.java
bclozel/spring-boot
apache-2.0
3,883
117
codeparrot/github-code
0b966da588d103f40ca9deb398dd2f43caaad14b7afea739f1ad60caddff55a7
/** * OLAT - Online Learning and Training<br> * http://www.olat.org * <p> * Licensed under the Apache License, Version 2.0 (the "License"); <br> * you may not use this file except in compliance with the License.<br> * You may obtain a copy of the License at * <p> * http://www.apache.org/licenses/LICENSE-2.0 * ...
Java
src/main/java/org/olat/basesecurity/BaseSecurityModule.java
RLDevOps/Demo
apache-2.0
6,626
123
codeparrot/github-code
4d431a50bef0cedb413c561364283baa6742c9c4fbf446ae5649fcae8ba96bc0
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.eas.client.metadata; import java.util.HashMap; import java.util.Map; /** * * @author mg */ public class DbTableIndexes { protected Map<String, DbTableIndexSpec> indexes = new HashMap<>(); publi...
Java
platypus-js-core/src/main/java/com/eas/client/metadata/DbTableIndexes.java
altsoft/PlatypusJS
apache-2.0
1,010
45
codeparrot/github-code
0024516dbebadf6c6158ef9c4e1ff174846bbf5f8219d2885f9e3a5b36785d05
package org.apereo.cas.authentication.principal; import lombok.extern.slf4j.Slf4j; import org.apereo.cas.authentication.CoreAuthenticationTestUtils; import org.apereo.cas.authentication.Credential; import org.apereo.cas.authentication.PrincipalException; import org.apereo.cas.authentication.handler.support.SimpleTestU...
Java
core/cas-server-core-authentication/src/test/java/org/apereo/cas/authentication/principal/PersonDirectoryPrincipalResolverTests.java
dodok1/cas
apache-2.0
5,765
115
codeparrot/github-code
77a496d2291d9cd809f6362b1b366018addb4efb6c784508677db7e84967e7b9
package com.fincatto.documentofiscal.nfe400.classes.nota; import java.math.BigDecimal; import org.junit.Assert; import org.junit.Test; import com.fincatto.documentofiscal.nfe400.classes.*; public class NFNotaInfoItemImpostoICMS90Test { @Test(expected = NumberFormatException.class) public void naoDevePermit...
Java
src/test/java/com/fincatto/documentofiscal/nfe400/classes/nota/NFNotaInfoItemImpostoICMS90Test.java
fincatto/nfe
apache-2.0
29,103
473
codeparrot/github-code
bf41c352d9b015e22b9ba362c0a76d8bf979baaa9bacc2d4fe7d58d4ccc1fb86
package org.sagebionetworks.repo.util.jrjc; public class ProjectInfo { private Long issueTypeId; private String projectId; public ProjectInfo(String projectId, Long issueTypeId) { this.setIssueTypeId(issueTypeId); this.setProjectId(projectId); } public Long getIssueTypeId() { ...
Java
services/repository-managers/src/main/java/org/sagebionetworks/repo/util/jrjc/ProjectInfo.java
zimingd/Synapse-Repository-Services
apache-2.0
1,731
66
codeparrot/github-code
95a15c8c60e224220d3ef0954753ffbcec164009c499f7b4111e59b7a3b9c5c9
/* * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights * Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
Java
aws-java-sdk-opsworks/src/main/java/com/amazonaws/services/opsworks/model/transform/DescribeRdsDbInstancesResultJsonUnmarshaller.java
mhurne/aws-sdk-java
apache-2.0
3,112
85
codeparrot/github-code
52f8ef60527694a6b21dcec2c6ef6d4998958e8596bf95f941a2624dde7ea1b5
package org.ohmage.request.omh; import java.io.IOException; import java.util.HashMap; import java.util.Map; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.log4j.Logger; import org.ohmage.annotator.Annotator.ErrorCode; import org.ohmage.domain.PayloadId;...
Java
src/org/ohmage/request/omh/OmhWriteRequest.java
HaiJiaoXinHeng/server-1
apache-2.0
7,092
266
codeparrot/github-code
c1d8832695ce016f3f9de2ff7f795fdb9dc53fe85c628156fadbae90d2d47dc4
/******************************************************************************* * * Copyright (c) 2004-2009 Oracle Corporation. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and i...
Java
hudson-core/src/main/java/hudson/search/Search.java
eclipse/hudson.core
apache-2.0
9,897
312
codeparrot/github-code
a85b213e241993be52bcca3ed7cd1e4fc584360f61e47152364ea4a70965acde
# -*- coding: utf-8 -*- import os import importlib from collections import OrderedDict import json from modularodm import storage from werkzeug.contrib.fixers import ProxyFix import framework from framework.flask import app, add_handlers from framework.logging import logger from framework.mongo import set_up_storage ...
Python
website/app.py
petermalcolm/osf.io
apache-2.0
5,502
153
codeparrot/github-code
9621e4388c467c3f555dab355c72e5b4f3b25b57182b30c471820209e87dd87c
/* * 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
tooling/swagger-rest-dsl-generator/src/main/java/org/apache/camel/generator/swagger/MethodBodySourceCodeEmitter.java
ullgren/camel
apache-2.0
5,155
167
codeparrot/github-code
bf7f55e8d4bb67c0bae1aca4c37a180405bf9581198132139b0a40a5007575c7
/* * Copyright 2015 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Java
spring-cloud-dataflow-completion/src/main/java/org/springframework/cloud/dataflow/completion/UnfinishedConfigurationPropertyNameRecoveryStrategy.java
frosenberg/spring-cloud-dataflow
apache-2.0
4,599
114
codeparrot/github-code
b3041e118527f8341cd7cd0d63bce4621fda94a63dbe4e65bf29126aeb7c15d5
from django.utils.translation import ugettext_lazy as _ from django.template.defaultfilters import timesince, floatformat from horizon import tables from horizon.templatetags.sizeformat import mbformat class CSVSummary(tables.LinkAction): name = "csv_summary" verbose_name = _("Download CSV Summary") clas...
Python
horizon/usage/tables.py
xhorn/xchorizon
apache-2.0
2,032
60
codeparrot/github-code
b5693888405c28846b0249f17de3171c8724ce3ffd08f2c6f194b305ef649b6c
/* Copyright (c) 2004-2006 Tomas Matousek. The use and distribution terms for this software are contained in the file named License.txt, which can be found in the root of the Phalanger distribution. By using this software in any fashion, you are agreeing to be bound by the terms of this license. Yo...
C#
Source/Core/SessionHandler.CLR.cs
DEVSENSE/Phalanger
apache-2.0
11,187
357
codeparrot/github-code
5cad1e80917bc78a39dc1677eeb2d62a53b4c82c9082ff2c52e124878c688001
using System; using System.CodeDom; using System.Threading.Tasks; using Elasticsearch.Net; using System.Threading; namespace Nest { public partial interface IElasticClient { /// <summary> /// The delete by query API allows to delete documents from one or more indices and one or more types based on a query. //...
C#
src/Nest/Document/Multiple/DeleteByQuery/ElasticClient-DeleteByQuery.cs
CSGOpenSource/elasticsearch-net
apache-2.0
3,042
59
codeparrot/github-code
6cede658c435254746748472efa42c931249d9cd83227e3cf833753ba37c597c
/* * 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
server/src/test/java/org/apache/druid/server/http/CompactionResourceTest.java
gianm/druid
apache-2.0
4,019
123
codeparrot/github-code
59bc07602bebdd61bc8190332c7f7b49426e630aec44a5439eac20b9663e2c48
# 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
neutron/agent/l3/dvr_snat_ns.py
sebrandon1/neutron
apache-2.0
1,810
48
codeparrot/github-code
74d642debff061d17d6514353ecd02d4b1b34926ae8e690e178bc0bdd692f521
/* * 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 ...
Scala
core/src/main/scala/spark/util/TimeStampedHashMap.scala
bavardage/spark
apache-2.0
3,863
122
codeparrot/github-code
8f074a99319d477e62552a2d8ebb319367165a3579585334e09d1ccd414e0f9e
#region Apache License // // 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....
C#
NJetty.Util/Util/Scanner.cs
tuablove/njetty
apache-2.0
15,163
521
codeparrot/github-code
7f757affb147205789d64944948405cc963c87da0c6f1ab9e1fab1239ea9f187
// Copyright Aleksey Gurtovoy 2000-2004 // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // // Preprocessed version of "boost/mpl/list_c.hpp" header // -- DO NOT modify by hand! namespace geofeatures_boost...
C++
GeoFeatures/boost/mpl/aux_/preprocessed/no_ctps/list_c.hpp
sachindeorah/geofeatures
apache-2.0
13,209
535
codeparrot/github-code
99794be81609e1c08e4289fdc79f58aa26473a58f51fd4ab9514c01ed9fd500e
--- layout: post101 title: Components categories: XAP101NET parent: the-processing-unit-overview.html weight: 200 --- {% summary %} {% endsummary %} # Overview Packaging user-defined code in a processing unit is done using components. A **Component** is essentially a class decorated with a `BasicProcessingUnitComp...
Markdown
xap101net/pu-components.markdown
barakb/gigaspaces-wiki-jekyll
apache-2.0
5,450
130
codeparrot/github-code
72e97bab9de6ad5157515b6b26b6dd5b19f1d77d0e1c6c16934f6374cc1b7bfb
# # ovirt-engine-setup -- ovirt engine setup # Copyright (C) 2013 Red Hat, 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 r...
Python
packaging/setup/plugins/ovirt-engine-rename/ovirt-engine/tools.py
phoenixsbk/kvmmgr
apache-2.0
3,586
120
codeparrot/github-code
0150fc239c1282d7382eaef1a011b2efc06ab5034e375d7088f0e67cdd85385b
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/greengrass/Greengrass_EXPORTS.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <aws/core/utils/memory/stl/AWSVector.h> #include <aws/greengrass/model/VersionInfo...
C
aws-cpp-sdk-greengrass/include/aws/greengrass/model/ListDeviceDefinitionVersionsResult.h
awslabs/aws-sdk-cpp
apache-2.0
3,843
125
codeparrot/github-code
d44969df0bfe26b7422c675ff86224b7f93488136f98f1908f52298f2a40b4b2
<?php /** * THE CODE IN THIS FILE WAS GENERATED FROM THE EBAY WSDL USING THE PROJECT: * * https://github.com/davidtsadler/ebay-api-sdk-php * * Copyright 2014 David T. Sadler * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * ...
PHP
src/DTS/eBaySDK/Trading/Types/ExternalTransactionType.php
davidtsadler/ebay-sdk-trading
apache-2.0
3,122
90
codeparrot/github-code
348249013f6e8438750dc8aa369645360b35df192f444501c7f00c18ced925fc
/* * Copyright 2014 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 agreed to...
C
thrift/lib/cpp/concurrency/PosixThreadFactory.h
LinusU/fbthrift
apache-2.0
6,622
251
codeparrot/github-code
10d3d8a864b4a49a37ee30bcf56be226537399eeff18ce0a93a4a001d4f4385c
use std::env; use cargo::ops::CompileOptions; use cargo::ops; use cargo::util::important_paths::{find_root_manifest_for_wd}; use cargo::util::{CliResult, Config}; #[derive(RustcDecodable)] pub struct Options { flag_package: Vec<String>, flag_jobs: Option<u32>, flag_features: Vec<String>, flag_no_defau...
Rust
src/bin/build.rs
ThinTim/cargo
apache-2.0
3,580
92
codeparrot/github-code
21a83780b446569cc5644494e89d2a52ff8e115777c61652623935494d606ff7
package net.genesishub.gFeatures.Feature.gWarsSuiteOld; import org.bukkit.Bukkit; import org.bukkit.ChatColor; import org.bukkit.Material; import org.bukkit.command.Command; import org.bukkit.entity.Player; import org.bukkit.event.player.PlayerQuitEvent; import org.bukkit.event.player.PlayerRespawnEvent; import org.bu...
Java
src/net/genesishub/gFeaturesSponge/Feature/gWarsSuiteOld/LeaveManager.java
GenesisHub/gFeatures
apache-2.0
4,127
97
codeparrot/github-code
2dc75b898e2d78b81dfd9bdbe9ba2f51d1daaf27b127265575ec37690487ac62
#!/usr/bin/env python # -*- coding: utf-8 -*- # # This file is subject to the terms and conditions defined in # file 'LICENSE.md', which is part of this source code package. # import json import yaml from kubernetes_py.utils import is_valid_string class DeleteOptions(object): """ http://kubernetes.io/docs/...
Python
kubernetes_py/models/v1/DeleteOptions.py
mnubo/kubernetes-py
apache-2.0
3,140
102
codeparrot/github-code
fd00670b2ccd41037dfac4854e0f1ee5d418921e6b05497f866920af7c6371f3
/* Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, ...
GO
pkg/printers/versioned.go
foxish/kubernetes
apache-2.0
3,260
105
codeparrot/github-code
90d41d6d885c6bc08558b3b030f034907304cebcb7a93cd404c1e739adede6e1
/* Copyright 2015 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/core/kernels/random_shuffle_queue_op.cc
TakayukiSakai/tensorflow
apache-2.0
18,056
465
codeparrot/github-code
347b4d9c051f23afa3b3703d113664b6279c42b7c42f7a0168da0a113b1e7312
/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */ /* Copyright 2014 Mozilla Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the Licen...
JavaScript
src/display/pattern_helper.js
JohanOtto/digitalSignaturePDFJS
apache-2.0
14,356
426
codeparrot/github-code
7971e191fd3555325ec15e4d7b4dbdef0f90b0d54515173cf94bc683c5a4807c
<?php /** * Lithium: the most rad php framework * * @copyright Copyright 2012, Union of RAD (http://union-of-rad.org) * @license http://opensource.org/licenses/bsd-license.php The BSD License */ namespace lithium\data\source; use MongoCode; use MongoRegex; use lithium\util\Inflector; use lithium\core\N...
PHP
libraries/lithium/data/source/MongoDb.php
nilamdoc/virtcurr.com
apache-2.0
26,219
830
codeparrot/github-code
b2943c3a0deaa8beeac56dbeaaebf0cee982ca7a78e5786cda12984c717ba528
import * as React from 'react'; import { shallow } from 'enzyme'; import TargetLabels from './TargetLabels'; import { Tooltip, Badge } from 'reactstrap'; import toJson from 'enzyme-to-json'; describe('targetLabels', () => { const defaultProps = { discoveredLabels: { __address__: 'localhost:9100', __m...
TypeScript
web/ui/react-app/src/pages/targets/TargetLabels.test.tsx
alileza/prometheus
apache-2.0
1,741
53
codeparrot/github-code
c6b951cef26a1a972884914f0fe5ff4de83aaa4b720c53eb0af9c0f781bc5358
/* * 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 not ...
Java
geode-assembly/src/integrationTest/java/org/apache/geode/rest/internal/web/RestServersIntegrationTest.java
PurelyApplied/geode
apache-2.0
3,141
80
codeparrot/github-code
30ff3c2826a34aec284e11836af07387f06861c9acb86ae90ad39ac62a3a93d5
/* * 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
zeppelin-zengine/src/test/java/org/apache/zeppelin/notebook/NotebookTest.java
cris83/incubator-zeppelin
apache-2.0
21,093
625
codeparrot/github-code
67102b99edf84e43ff1b5e8504502b84fc2bd5d840e4062692f727a83d5984e3
/* * 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...
C++
enhanced/java/drlvm/vm/jitrino/src/codegenerator/ia32/Ia32RegAlloc3.cpp
freeVM/freeVM
apache-2.0
44,017
1,525
codeparrot/github-code
cdb1e665345b722f1ae67453246001950d9dff521b9550d7af602518890d17f6
<%! from django.core.urlresolvers import reverse %> <%namespace name='static' file='/static_content.html'/> <%inherit file="/main.html" /> <%block name="title"><title>About Stanford Online</title></%block> <%block name="js_extra"> <script type="text/javascript"> $(function() { $('section.message').hide()...
HTML
templates/static_templates/theme-about.html
ramirezterrix/eu-con
apache-2.0
11,724
228
codeparrot/github-code
743c7176abf9de7ee6c902344a577bc45beb34f66a49a69e94f293cc6c4c5293
/* * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH * under one or more contributor license agreements. See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. Camunda licenses this file to you under the Apache License, * Version 2.0; y...
Java
engine/src/main/java/org/camunda/bpm/engine/impl/cmd/AcquireJobsCmd.java
camunda/camunda-bpm-platform
apache-2.0
5,661
158
codeparrot/github-code
240d3da70d8040640bec289059281798223093120cf7a015830a8e2ecb3a3e45
import { DeviceService } from './device'; import { SessionService } from './session'; import { ViewService } from './view'; import { RealityService, RealityServiceProvider } from './reality'; /** * Provides a default UI */ export declare class DefaultUIService { private sessionService; private viewService; ...
TypeScript
src/ui.d.ts
bionictk/argon
apache-2.0
1,101
32
codeparrot/github-code
e6040d17e6288318d542df72924d28d506cbbede4ad195eb84b6aa67205d8921
// Copyright 2000-2017 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.jetbrains.python.packaging; import com.google.common.cache.CacheBuilder; import com.google.common.cache.CacheLoader; import com.google.common.cache.LoadingCache; impo...
Java
python/src/com/jetbrains/python/packaging/PyPIPackageUtil.java
ThiagoGarciaAlves/intellij-community
apache-2.0
18,518
497
codeparrot/github-code
933fbcf46a2851cfe9f027d8f2bbaa6d0de5ef19e50f689b996c2c3c9053771e
/** * Copyright 2005-2015 Red Hat, Inc. * * Red Hat licenses this file to you under the Apache License, version * 2.0 (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless r...
Java
fabric/fabric-cxf/src/main/java/io/fabric8/cxf/FabricFailOverFeature.java
jonathanchristison/fabric8
apache-2.0
2,132
56
codeparrot/github-code
86d168c618444925fc4e6b5297a5ea42348d9640b5968f18a32ca080cde8bde0
#!/usr/bin/env bash # # Copyright 2015 ICT. # # 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, V...
Shell
bin/compute-classpath.sh
DataSysLab/netflow
apache-2.0
3,304
109
codeparrot/github-code
4257a9eb6b0346dabbffaac1e2b5302b7045e7c453d21c592bfdbc17cee77a56
/* * Copyright 2010-2015 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" file...
C++
aws-cpp-sdk-cloudfront/source/model/KeyPairIds.cpp
kahkeng/aws-sdk-cpp
apache-2.0
2,427
92
codeparrot/github-code
4ea89d3db5c467e0b4ced411ce98717fc1e8c98d009d8fb8e86418bb910a1dcb
/* * 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
test/src/main/java/org/apache/accumulo/test/functional/DeletedTablesDontFlushIT.java
lstav/accumulo
apache-2.0
2,684
77
codeparrot/github-code
6740bc32619d5ed059e1ffb966f9c9bfeeebfb6ea4e25dd38b350cbbf7e1406b
#!/usr/bin/env ruby # Encoding: utf-8 # # Copyright:: Copyright 2013, Google Inc. All Rights Reserved. # # License:: 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
dfp_api/examples/v201411/audience_segment_service/populate_first_party_audience_segments.rb
aditya01933/google-api-ads-ruby
apache-2.0
3,313
100
codeparrot/github-code
b8e9aa5d9244915e7621e686bc66a401e9140a8fc89980a7f121a171b4a287f4
/** * 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
kafka/src/main/java/org/apache/apex/malhar/kafka/AbstractKafkaPartitioner.java
PramodSSImmaneni/apex-malhar
apache-2.0
9,813
315
codeparrot/github-code
0d1938631abf3a538023c72b3c5306fcf0f8ba741f7bc422aaa56acb9548d3ce
import { NodeMaterialBlock } from '../../nodeMaterialBlock'; import { NodeMaterialBlockConnectionPointTypes } from '../../Enums/nodeMaterialBlockConnectionPointTypes'; import { NodeMaterialBuildState } from '../../nodeMaterialBuildState'; import { NodeMaterialBlockTargets } from '../../Enums/nodeMaterialBlockTargets...
TypeScript
src/Materials/Node/Blocks/Fragment/imageProcessingBlock.ts
jbousquie/Babylon.js
apache-2.0
6,325
150
codeparrot/github-code
590ea051b7ff90fa6f227149a96546a56006ca7eff850c4a1551f460247a355e
/* * Copyright 2015 IBM Corp. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
JavaScript
server/examples/spark_tc.js
EclairJS/eclairjs
apache-2.0
2,623
105
codeparrot/github-code
b8a92109cacaf24472fa1341a2883d73a7296f8c1cfd065c49a8e1a66e750849
/** * 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
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/qjournal/server/JournaledEditsCache.java
steveloughran/hadoop
apache-2.0
17,891
418
codeparrot/github-code
b54c79107b9f50a3cb4d9e2765aebd8b75b3a926e8ba11668fe7efb13cbf6bc6
package com.food.nofoodwaste.utils; /** * Created by Ram on 11/29/15. */ public class UserObject { private String username,mobile,lat,lng,userid,address; public String getUsername() { return username; } public void setUsername(String username) { this.username = username; } ...
Java
android/app/src/main/java/com/food/nofoodwaste/utils/UserObject.java
PayPal-Opportunity-Hack-Chennai-2015/No-Food-Waste
apache-2.0
997
57
codeparrot/github-code
0f0a2a23271f637e2816bee0ecffcb6f5448eb46ac736b479b07cf63e334d39c
/* * 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
core/src/main/java/org/elasticsearch/index/mapper/MapperService.java
martinstuga/elasticsearch
apache-2.0
29,248
683
codeparrot/github-code
47ecfac4db380b629ba295decdea3d70353b88100c9a26880c3de7c0d843508d
/**************************************************************************** * * Copyright 2016 Samsung Electronics 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...
C
os/drivers/audio/alc5658char.h
JunhwanPark/TizenRT
apache-2.0
25,368
578
codeparrot/github-code
683a4ae3ae748d180469a20183544e0a815c35be88b8b0590863019f72203e32
#ifndef _DATE_TIME_ADJUST_FUNCTORS_HPP___ #define _DATE_TIME_ADJUST_FUNCTORS_HPP___ /* Copyright (c) 2001 CrystalClear Software, Inc. * Disclaimer & Full Copyright at end of file * Author: Jeff Garland */ #include "boost/date_time/date.hpp" #include "boost/date_time/wrapping_int.hpp" namespace boost { namespace d...
C++
src/3rd party/boost/boost/date_time/adjust_functors.hpp
OLR-xray/OLR-3.0
apache-2.0
4,240
136
codeparrot/github-code
d3064e58d68a0f0d4e49f4a511ddfefa5f9188b8d7b001643340cb8c7f1dc473
// Copyright 2014 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #include "core/include/fdrm/fx_crypt.h" #ifdef __cplusplus extern "C" { #endi...
C++
lib/src/main/cpp/external/pdfium/core/src/fdrm/crypto/fx_crypt_sha.cpp
loilo-inc/loilo-pdf
apache-2.0
23,483
658
codeparrot/github-code
33aff53626fceabdc4f83721cebe0a043f098131059558f9477ef74582824c9d
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/personalize/Personalize_EXPORTS.h> #include <aws/personalize/PersonalizeRequest.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <utility> namespace Aws { names...
C
aws-cpp-sdk-personalize/include/aws/personalize/model/DescribeBatchInferenceJobRequest.h
aws/aws-sdk-cpp
apache-2.0
2,971
86
codeparrot/github-code
5c60443985fc7c24799caf7507fcad25f389d6b4772fb47ba3fd6a33689fa2fe
package com.spotify.heroic.aggregation; import com.google.common.collect.ImmutableMap; import com.spotify.heroic.metric.Event; import com.spotify.heroic.metric.MetricGroup; import com.spotify.heroic.metric.Payload; import com.spotify.heroic.metric.Point; import com.spotify.heroic.metric.Spread; import org.junit.Test; ...
Java
heroic-component/src/test/java/com/spotify/heroic/aggregation/AnyBucketTest.java
lucilecoutouly/heroic
apache-2.0
1,499
54
codeparrot/github-code
a750b991766dfeec3304a2f13f283adfb5ac2bc7422b765557535d76b1ae9791
// Copyright Project Harbor 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 t...
GO
src/pkg/permission/types/resource.go
wy65701436/harbor
apache-2.0
1,621
63
codeparrot/github-code
05fa9002678636f146d8aa04a367bd881f7ee28017b9f59b8bed3a063575683a
/* * Copyright 2015-2016 IBM 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 or agree...
Scala
core/controller/src/main/scala/whisk/core/controller/actions/PrimitiveActions.scala
CrowdFlower/incubator-openwhisk
apache-2.0
9,636
196
codeparrot/github-code
e27557f44ff363be3a2f18787376bf789114bd3cf6b206b215eb87a19a8e4b64
/* * WebServer.h * * Created on: May 19, 2017 * Author: kolban */ #ifndef CPP_UTILS_WEBSERVER_H_ #define CPP_UTILS_WEBSERVER_H_ #include <string> #include <vector> #include <regex> #include <map> #include "sdkconfig.h" #include <mongoose.h> class WebServer; /** * @brief %WebServer built on Mongoose. *...
C
examples/38_wifiscope/main/WebServer.h
Ebiroll/qemu_esp32
apache-2.0
5,259
195
codeparrot/github-code
dcebd2a041cf7230fdc3c04574752f84a587c7c2c1d63f3dee5aa64d04274977
package org.ovirt.engine.core.notifier.utils.sender.mail; import java.net.InetAddress; import java.net.UnknownHostException; import java.util.Map; import javax.mail.MessagingException; import org.apache.commons.lang.StringUtils; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; im...
Java
backend/manager/tools/engine-notifier/engine-notifier-service/src/main/java/org/ovirt/engine/core/notifier/utils/sender/mail/EventSenderMailImpl.java
jbeecham/ovirt-engine
apache-2.0
4,619
110
codeparrot/github-code
446a2558c770abc851b15b4ae27105cbf4f4ef78f0377bf36177c95f8012246e
/** * Copyright 2005 The Apache Software Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
Java
hadoop-0.2.0/src/java/org/apache/hadoop/mapred/TaskReport.java
moreus/hadoop
apache-2.0
2,147
68
codeparrot/github-code
c05d1309b33445acc015c891a5db7cc0ae621581886b17450b0a98513c308d51
/** * 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/com/alibaba/jstorm/task/error/TaskError.java
zhangwei5095/alibaba-jstorm
apache-2.0
3,443
124
codeparrot/github-code
e6ef8e47f6f0e21afba652d5e53fe81bc801899180ca831943461fb6793cbc80
define([ 'angular', 'lodash', 'kbn', 'moment' ], function (angular, _, kbn) { 'use strict'; var module = angular.module('grafana.services'); module.factory('OpenTSDBDatasource', function ($q, $http, templateSrv) { function OpenTSDBDatasource(datasource) { this.type = 'opentsdb'; this.edito...
JavaScript
webroot/grafana/app/services/opentsdb/opentsdbDatasource.js
ppbizapps/kairosdb
apache-2.0
4,290
178
codeparrot/github-code
a12d6caacc2ade4664ed3a3710c163d60851efd1a5c90cf91f12d9934e08cb6a
/* * 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
examples/src/main/java/org/apache/ignite/examples/ml/preprocessing/NormalizationExample.java
irudyak/ignite
apache-2.0
4,620
99
codeparrot/github-code
1080d5aa769c3c3e5c8d7dbb968cb9a33f1a91f0f23579c32f6b0a395ad19412
""" 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 not use this ...
Python
ambari-server/src/main/resources/common-services/HAWQ/2.0.0/package/scripts/common.py
arenadata/ambari
apache-2.0
14,813
349
codeparrot/github-code
e5f9fb97f1885e79a92eb367370da1a68f4f44f67fdd2f42a7b4069fcc3f6b6f
// Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.application.options.codeStyle.excludedFiles; import com.intellij.CodeStyleBundle; import com.intellij.formatting.fileSet.FileSetDescriptor;...
Java
platform/lang-impl/src/com/intellij/application/options/codeStyle/excludedFiles/ExcludedGlobPatternsPanel.java
siosio/intellij-community
apache-2.0
5,038
120
codeparrot/github-code
260d985e54adb6fd9567aad77bff40d2101d233e70a313a3f2459af62d783ad2
# Copyright (c) 2014-2015 Brett Cannon <brett@python.org> # Copyright (c) 2014-2016 Claudiu Popa <pcmanticore@gmail.com> # Copyright (c) 2015 Pavel Roskin <proski@gnu.org> # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html # For details: https://github.com/PyCQA/pylint/blob/master/COPYING ...
Python
venv/lib/python3.5/site-packages/pylint/checkers/python3.py
arju88nair/projectCulminate
apache-2.0
38,460
862
codeparrot/github-code
3861d81d7480d0c02767bb8890f9bb756d23e51b63e781e766b8d059f543744b
/* * Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/li...
Java
components/apimgt/org.wso2.carbon.apimgt.impl/src/main/java/org/wso2/carbon/apimgt/impl/dao/constants/SQLConstantsMSSQL.java
fazlan-nazeem/carbon-apimgt
apache-2.0
13,149
306
codeparrot/github-code
971e99b5aa1ab8c07b77f26f1de28b465f3ae896aa15c9769b7db0481c29a13f
#include "plumber.h" int sporth_tone(sporth_stack *stack, void *ud) { plumber_data *pd = ud; SPFLOAT in; SPFLOAT out; SPFLOAT hp; sp_tone *tone; switch(pd->mode) { case PLUMBER_CREATE: #ifdef DEBUG_MODE fprintf(stderr, "tone: Creating\n"); #endif sp_tone_create...
C
project/External/AudioKit-master/AudioKit/Common/Internals/Sporth/ugens/tone.c
MaartenBrijker/project
apache-2.0
1,643
57
codeparrot/github-code
3e050733bc9e2ff2b79fb1fbfea180cace02ed4d586d7e0811fd740c2bf1bce5
/** * 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
brix-core/src/main/java/org/brixcms/web/nodepage/PageParametersForm.java
dsimko/brix-cms
apache-2.0
3,512
96
codeparrot/github-code
a68115c5eb2a4f7e172b3c231bc9b7ee6f416e8b7fdaad405aadafd644200fd4
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.openapi.vcs.changes.shelf; import com.intellij.openapi.actionSystem.AnActionEvent; import com.intellij.openapi.actionSystem.CommonDataKeys; import com.intell...
Java
platform/vcs-impl/src/com/intellij/openapi/vcs/changes/shelf/RestoreShelvedChange.java
msebire/intellij-community
apache-2.0
2,141
49
codeparrot/github-code
fbec865bc429dd4cf14635d086f837bfb400b697bda5f9ff0dfe5e1b652e3957
/* * 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
processing/src/test/java/org/apache/druid/segment/incremental/IncrementalIndexRowCompTest.java
himanshug/druid
apache-2.0
3,657
87
codeparrot/github-code
20b79be1bb6b402eb60ef2f794bd6eaa861873d85df583986da6f7f6f20f0871
package org.sagebionetworks.table.worker; import java.util.Iterator; import org.sagebionetworks.asynchronous.workers.changes.ChangeMessageDrivenRunner; import org.sagebionetworks.common.util.progress.ProgressCallback; import org.sagebionetworks.repo.manager.table.TableEntityManager; import org.sagebionetworks.repo.ma...
Java
services/workers/src/main/java/org/sagebionetworks/table/worker/TableIndexWorker.java
xschildw/Synapse-Repository-Services
apache-2.0
2,345
56
codeparrot/github-code
80f898601d1aa95908954613ba890b6d9a285f274db748173225c8e258e802d3
package gobblin.config.common.impl; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; import gobblin.config.TestEnvironment; import gobblin.config.store.api.ConfigKeyPath; import gobblin.config.store.api.ConfigStore; import org.mockito.Mockito; import org.testng.Assert; import org.testn...
Java
gobblin-config-management/gobblin-config-core/src/test/java/gobblin/config/common/impl/TestConfigStoreValueInspector.java
zliu41/gobblin
apache-2.0
2,789
70
codeparrot/github-code
71fc96c7f3bdaed6a7bea849f1af07b18181372488c0d39f2d60504ada21daea
/**************************************************************************** * * * kep_reload.c: Simple socket-based utility to * * force a reload of PREDICT's TLE database * * ...
C
predict-mod/clients/kep_reload/kep_reload.c
satnet-project/propagators
apache-2.0
4,543
172
codeparrot/github-code
bb7bcfe5dcfa6b19cfe6386cbfdef7702a4bdaa90fbff7b5fb0e4aa300cfd7d0
/** * Copyright 2011 The Open Source Research Group, * University of Erlangen-Nürnberg * * 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/lic...
Java
swc-article-cruncher/src/main/java/org/sweble/wikitext/articlecruncher/utils/SpeedMeter.java
pumpadump/sweble-wikitext
apache-2.0
3,293
130
codeparrot/github-code
338d792d7c4f359a40ef59cd52dd825167d57d392b261d3250c0b31f352d843a
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying # file Copyright.txt or https://cmake.org/licensing for details. #[=======================================================================[.rst: FindGLUT -------- Find OpenGL Utility Toolkit (GLUT) library and include files. IMPORTED Target...
CMake
projects/CMake/cmake/share/cmake-3.15/Modules/FindGLUT.cmake
LiberatorUSA/GUCEF
apache-2.0
5,813
194
codeparrot/github-code
ce45460e8af8d090b6965a4ba0c8a558db722daa8cdfea0dd8c5a679a9879a46
/* * 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")...
Java
libraries/rest-server/src/main/java/org/apache/polygene/library/rest/server/restlet/freemarker/ValueCompositeObjectWrapper.java
apache/zest-qi4j
apache-2.0
1,751
53
codeparrot/github-code
c8e9ea5c00abc60eca8ed093eb2d51a58f787db1407bd0cb036477b1bf75da02
/* * 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
ambari-server/src/main/java/org/apache/ambari/server/collections/functors/EqualsPredicate.java
sekikn/ambari
apache-2.0
4,271
116
codeparrot/github-code
6668d64b5d593b1d7b6c1f70ed25ce19234b27b5c08b00ce04e3101ef901cf1b
/* * Copyright 2010 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
drools-core/src/main/java/org/drools/command/KnowledgeContextResolveFromContextCommand.java
pperboires/PocDrools
apache-2.0
3,485
74
codeparrot/github-code
81c0f3b769c498767532f055ae10648d227d2101c1d8a7c1bded3aba5ff657da
/* * Copyright 2014 Guidewire Software, Inc. */ package gw.internal.gosu.parser; import gw.lang.reflect.DefaultArrayType; import gw.lang.reflect.gs.IGosuArrayClass; import gw.lang.reflect.gs.IGosuClass; import gw.lang.reflect.IType; import gw.lang.reflect.ITypeLoader; import gw.lang.reflect.TypeSystem; import gw.la...
Java
gosu-core/src/main/java/gw/internal/gosu/parser/GosuArrayClass.java
tcmoore32/sheer-madness
apache-2.0
3,366
127
codeparrot/github-code
2643f5cbb85f0c19a6f27461007a10d4dd83ad3315993dcdf80899d8e712ca49
/* * 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/cluster/routing/RoutingTable.java
HonzaKral/elasticsearch
apache-2.0
25,343
603
codeparrot/github-code
0218096ed2d045e571feb7636fb422494d13a83639c0d2ecaf8f7e0a2adb5eac
package com.planet_ink.coffee_mud.WebMacros; import com.planet_ink.coffee_mud.core.interfaces.*; import com.planet_ink.coffee_mud.core.*; import com.planet_ink.coffee_mud.core.collections.*; import com.planet_ink.coffee_mud.Abilities.interfaces.*; import com.planet_ink.coffee_mud.Areas.interfaces.*; import com.pl...
Java
com/planet_ink/coffee_mud/WebMacros/AccountPlayerNext.java
Tycheo/coffeemud
apache-2.0
2,897
82
codeparrot/github-code
f3ea0b6399ecbeef975d94bd8eb567069b7a09fa7629b844ba470ed1986307b1
// Copyright 2013 Traceur 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 ...
JavaScript
src/staticsemantics/StrictParams.js
guybedford/traceur-compiler
apache-2.0
1,342
44
codeparrot/github-code
4138abc17e85257d2d3d146b57c1e4cd8907321cf06675c74f9b1fa80fc4e45e
/* Copyright 2016 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/core/kernels/inplace_ops.cc
eaplatanios/tensorflow
apache-2.0
19,810
543
codeparrot/github-code
c548449f36793f9479307a104639085142e6d886a5957fdb543fe1a9997cd951
/* * 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
oak-security-spi/src/main/java/org/apache/jackrabbit/oak/plugins/tree/TreeLocation.java
mreutegg/jackrabbit-oak
apache-2.0
8,817
309
codeparrot/github-code
655209741e637667cece305041b89128d83cad0494de9145a8ffd660f953fe7f
/* Copyright 2012 - 2015 pac4j organization 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...
Java
pac4j-saml/src/main/java/org/pac4j/saml/storage/SAMLMessageStorageFactory.java
robgratz/pac4j
apache-2.0
1,113
35
codeparrot/github-code
0f9cf19f9fd7e01d74757b207d491931f5788f1f06c866ca3e252afdee1573aa
/* File: ElementsDataSourceProtocol.h Abstract: Protocol that defines information each Element tableview datasource must provide. Version: 1.12 Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple Inc. ("Apple") in consideration of your agreement to the following terms, and your use, ins...
C
iOS/proj/TableView/TheElements/Classes/ElementsDataSourceProtocol.h
leohacker/gists
apache-2.0
3,432
76
codeparrot/github-code
8d6d702919de862213422bd5ef4dfae32f2d58064fd00f7fd6dfa717cdc15f3f
/* * Copyright 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/template/soy/examples/SimpleUsage.java
prop/closure-templates
apache-2.0
2,278
78
codeparrot/github-code
f621470b2e26ec589f668ad86b9de88b36e82ce6213c2362aff857720cefeca6
/* 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...
Java
modules/flowable-engine/src/main/java/org/flowable/engine/impl/cmd/DeleteIdentityLinkCmd.java
flowable/flowable-engine
apache-2.0
3,739
96
codeparrot/github-code
6bea1a203586c6ac971a9a6666bff1e72f7075676840a2569fdb21510f19a4b8
/* global dashboard */ /** * Dynamic generation and event bindings for project admin section of the admin box */ module.exports = function showProjectAdmin() { if ($('.project_admin') === 0) { return; } if (dashboard.project.isProjectLevel()) { if (dashboard.project.isFrozen()) { $('.project_adm...
JavaScript
code-studio/src/js/showProjectAdmin.js
rvarshney/code-dot-org
apache-2.0
1,064
35
codeparrot/github-code
c903835ff3c11e5208927e43d68884ae5555f5c967913067504368d9d880a295
/* * JBoss, Home of Professional Open Source * Copyright 2016, Red Hat, Inc. and/or its affiliates, and individual * contributors by the @authors tag. See the copyright.txt in the * distribution for a full listing of individual contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * y...
Java
jira/src/main/java/org/arquillian/extension/governor/jira/api/Jira.java
rgarcial1983/arquillianGovernorJiraXray
apache-2.0
1,687
46
codeparrot/github-code
dadcf2b54560af7ade2599e82626254befb3c6d67da146d49e07f83bb6016a67
/** * 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
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/qjournal/TestJournalNodeSync.java
Ethanlm/hadoop
apache-2.0
9,381
266
codeparrot/github-code
2f1b00ded85a704a711dbd754835949dbcd95063544fd0116c4f7c1f3a8bfcda
/* * Copyright 2000-2009 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/xdebugger-impl/src/com/intellij/xdebugger/impl/evaluate/quick/common/ValueLookupManager.java
android-ia/platform_tools_idea
apache-2.0
4,001
129
codeparrot/github-code
b15e260ac0505f6244d7afebb827a8abf3823d66389d3469bba36093baece93f
/* * Copyright (C) 2010 The Android Open Source Project * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, t...
C
platform_bionic-android-vts-12.0_r2/libc/bionic/ether_aton.c
webos21/xbionic
apache-2.0
2,697
90
codeparrot/github-code
0f90dfee289c26b968c10a432e85640fe8fa5fefa897cc61329124c9227fe794
/*! * This program is free software; you can redistribute it and/or modify it under the * terms of the GNU Lesser General Public License, version 2.1 as published by the Free Software * Foundation. * * You should have received a copy of the GNU Lesser General Public License along with this * program; if not, you can ob...
Java
plugins/kettle-hl7-plugin/src/org/pentaho/di/trans/steps/hl7input/HL7InputMeta.java
Aliaksandr-Kastenka/pentaho-kettle
apache-2.0
6,886
192
codeparrot/github-code
f40515efe39235df3da9e264a2c2342539aa70d501f89d55593023f4acc63054
/* Copyright 1996-2013 Ariba, 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...
Java
src/aribaweb/ariba/ui/servletadaptor/AWDispatcherServlet.java
google-code/aribaweb
apache-2.0
11,934
292
codeparrot/github-code
5a3be8dee8f623f2e3bc5500bc6186db8037bd6843762c7eb47c49cb1b4459e3
"""Interfaces with iAlarm control panels.""" from homeassistant.components.alarm_control_panel import AlarmControlPanelEntity from homeassistant.components.alarm_control_panel.const import ( SUPPORT_ALARM_ARM_AWAY, SUPPORT_ALARM_ARM_HOME, ) from homeassistant.helpers.entity import DeviceInfo from homeassistant....
Python
homeassistant/components/ialarm/alarm_control_panel.py
jawilson/home-assistant
apache-2.0
1,923
62
codeparrot/github-code
8640603e790f5a64cfd88b47f885ac2dfae3986e8f3ce8670eb2fd5ad099b7c5
package org.zstack.test.network; import junit.framework.Assert; import org.junit.After; import org.junit.Before; import org.junit.Test; import org.zstack.core.cloudbus.CloudBus; import org.zstack.core.componentloader.ComponentLoader; import org.zstack.core.db.DatabaseFacade; import org.zstack.header.network.l...
Java
test/src/test/java/org/zstack/test/network/TestGetFreeIp.java
cloudcache/zstack
apache-2.0
2,787
74
codeparrot/github-code
727360c6af13dd973ede9455ec7cbbee9e45f1118858176723854b5c80c7ad76
/** * JBoss, Home of Professional Open Source * Copyright 2013, Red Hat, Inc. and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * under the terms of the ...
Java
impl/src/main/java/org/jboss/arquillian/graphene/GrapheneExtension.java
mikesir87/arquillian-graphene
apache-2.0
5,762
99
codeparrot/github-code