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 |
|---|---|---|---|---|---|---|---|---|
a5697ddd3ffbca87a61de3f5ee83c8cd5ff4137988f15e36eab391ae8526d863 | package sjm.examples.pretty;
import java.util.Enumeration;
import java.util.Vector;
import sjm.parse.Assembler;
import sjm.parse.Assembly;
/*
* Copyright (c) 2000 Steven J. Metsker. All Rights Reserved.
*
* Steve Metsker makes no representations or warranties about
* the fitness of this software for... | Java | archive/FILE/Compiler/bpwj-java-phrase/code/sjm/examples/pretty/PrettyRepetitionAssembler.java | nileshpatelksy/hello-pod-cast | apache-2.0 | 1,439 | 52 | codeparrot/github-code |
e95915e7bc0b32b636b6afe0cbc75898f62f311d2ba1f5940107d58ccf82631a | <!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>protocolipv6_stats module — Nitro documentat... | HTML | doc/html/nssrc.com.citrix.netscaler.nitro.resource.stat.protocol.protocolipv6_stats.html | benfinke/ns_python | apache-2.0 | 37,731 | 491 | codeparrot/github-code |
b7603b125189b81de3898b22655d23b803dfba99aa56d6938693a625500117ba | /**
* Copyright JS Foundation and other contributors, http://js.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 r... | JavaScript | editor/js/ui/clipboard.js | MaxXx1313/my-node-red | apache-2.0 | 13,673 | 328 | codeparrot/github-code |
c2c4c38f1ddaae2b914c5cb21c3389c5db214712523d0767b70e7875192df2eb | #include "roi_align_op.h"
#include "caffe2/utils/eigen_utils.h"
#include "caffe2/utils/math.h"
#ifdef CAFFE2_USE_MKL
#include "caffe2/mkl/operators/operator_fallback_mkl.h"
#endif // CAFFE2_USE_MKL
namespace caffe2 {
namespace {
template <typename T>
struct PreCalc {
int pos1;
int pos2;
int pos3;
int pos4;
... | C++ | caffe2/operators/roi_align_op.cc | Yangqing/caffe2 | apache-2.0 | 11,850 | 379 | codeparrot/github-code |
92b6eac0eb9e6bfae916b0c561b94eede47431c05f8170b10208b61df8563629 | package com.optimalorange.cooltechnologies.network;
import com.android.volley.AuthFailureError;
import com.android.volley.NetworkResponse;
import com.android.volley.ParseError;
import com.android.volley.Response;
import com.android.volley.toolbox.HttpHeaderParser;
import org.json.JSONException;
import org.json.JSONOb... | Java | app/src/main/java/com/optimalorange/cooltechnologies/network/CreateFavoriteRequest.java | OptimalOrange/CoolTechnologies | apache-2.0 | 4,187 | 136 | codeparrot/github-code |
622c149047727438cc19c7fa7a370d647cd3d94d5ce13c4bbbd5c88f5af063d2 | /**
* Copyright (c) 2015 Source Auditor 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... | Java | src/org/spdx/spdxeclipse/properties/SpdxProjectPropertyPage.java | goneall/SpdxEclipsePlugin | apache-2.0 | 10,114 | 248 | codeparrot/github-code |
81cb5c2b2a9809c6b27aefdf91a4e776bdab7c02f03af0a5d12c0c893f7bad97 | /*
* 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# | Dependencies/DotCMIS/client/client-objectfactory.cs | finsaspa/CodeServices | apache-2.0 | 14,411 | 428 | codeparrot/github-code |
aed96e960ce544ff8e273ed710317f4bbdd9f602669c4a467613569beda804b1 | # -*- coding: utf-8 -*-
import os
from flask import request
from website.addons.dataverse.client import get_study, get_files, \
get_dataverse, connect_from_settings
from website.project.decorators import must_be_contributor_or_public
from website.project.decorators import must_have_addon
from website.util impor... | Python | website/addons/dataverse/views/hgrid.py | himanshuo/osf.io | apache-2.0 | 4,249 | 142 | codeparrot/github-code |
fd19a353a6b609a6a3933f310fae44fec9b9d02ea8c3c25dda540ceec419e673 | package com.game.part.util;
import java.lang.reflect.Field;
import java.lang.reflect.Modifier;
import java.lang.reflect.ParameterizedType;
import java.lang.reflect.Type;
/**
* 类字段实用工具
*
* @author hjj2017
* @since 2015/3/17
*
*/
public final class FieldUtil {
/**
* 类默认构造器
*
*/
private Fi... | Java | src/main/java/com/game/part/util/FieldUtil.java | hjj2017/xgame-part-tmpl | apache-2.0 | 1,400 | 71 | codeparrot/github-code |
11349361814228265f430c820541b814207de142f27feca710723f6001ca0f98 | // 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/zylib/gui/JHint/JHintDialog.java | mayl8822/binnavi | apache-2.0 | 1,442 | 52 | codeparrot/github-code |
3b7c85ac9e8ff2a891396646c5de5f4be7ced892a0cfa1ea7a28c725f0eec634 | #include <stdio.h>
#include "ali_api_core.h"
#include "ali_string_utils.h"
#include "ali_ecs.h"
#include "json/value.h"
#include "json/reader.h"
using namespace aliyun;
namespace {
void Json2Type(const Json::Value& value, std::string* item);
void Json2Type(const Json::Value& value, EcsCreateInstanceResponseTy... | C++ | aliyun-api-ecs/2014-05-26/src/ali_ecs_create_instance.cc | aliyun-beta/aliyun-openapi-cpp-sdk | apache-2.0 | 9,742 | 263 | codeparrot/github-code |
6f06f99f53b7de66c5a055c08390687210cfaa99e99c8837a26cccddfa15f979 | /*
* 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/cache/query/GridCacheQueryAdapter.java | iveselovskiy/ignite | apache-2.0 | 13,460 | 486 | codeparrot/github-code |
8018f421aadc429d7918dc18e5e89be52c762a3ebffc3e9a0046e7a609cd797f | /*
* Copyright 2008-2010 NVIDIA 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... | C | tmp/cohash-read-only/include/thrust/detail/device/dispatch/fill.h | ismagarcia/cohash | apache-2.0 | 1,634 | 68 | codeparrot/github-code |
7486e330a3d796549ffffefa015e6c3a19229a22885004edca49e704f8587777 | package org.hyperledger.indy.sdk.pool;
import org.hyperledger.indy.sdk.IndyIntegrationTest;
import org.hyperledger.indy.sdk.utils.PoolUtils;
import org.junit.Test;
import java.io.File;
import static org.hamcrest.CoreMatchers.isA;
import static org.junit.Assert.assertTrue;
public class CreatePoolTest extends IndyInt... | Java | wrappers/java/src/test/java/org/hyperledger/indy/sdk/pool/CreatePoolTest.java | srottem/indy-sdk | apache-2.0 | 2,146 | 56 | codeparrot/github-code |
533f81595de712715aed27da1fa06d038ddf040462576651611e6cbfb3fb5224 | /*
* Copyright 2008-2010 Digital Enterprise Research Institute (DERI)
*
* 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
*
* Unle... | Java | any23-core/src/main/java/org/deri/any23/extractor/html/HReviewExtractor.java | venukb/any23 | apache-2.0 | 5,979 | 172 | codeparrot/github-code |
be9d8b74c16c08fdf9e9b7954ec4d1ab0c8319ce4f6a9014b33d666ab1c33159 | // Copyright (c) 2014-2017 Dr. Colin Hirsch and Daniel Frey
// Please see LICENSE for license or visit https://github.com/taocpp/PEGTL/
#ifndef TAOCPP_PEGTL_INCLUDE_INTERNAL_UNTIL_HPP
#define TAOCPP_PEGTL_INCLUDE_INTERNAL_UNTIL_HPP
#include "../config.hpp"
#include "bytes.hpp"
#include "eof.hpp"
#include "not_at.hpp... | C++ | third_party/PEGTL/include/tao/pegtl/internal/until.hpp | google/google-ctf | apache-2.0 | 2,902 | 92 | codeparrot/github-code |
5506a86c0e342ee3817f965dcfd7dee410b45c1cf6a5fb251374a7ca7d96244b | //===--- CodeCompletionResultPrinter.cpp ----------------------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2020 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/LICENSE.... | C++ | lib/IDE/CodeCompletionResultPrinter.cpp | JGiola/swift | apache-2.0 | 16,177 | 530 | codeparrot/github-code |
68f38e50967e90c951414bab36323597ccd323f5aa98d2d8a03eed618dc4603f | /**
* FreeRDP: A Remote Desktop Protocol Implementation
* Glyph Cache
*
* Copyright 2011 Marc-Andre Moreau <marcandre.moreau@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at... | C | libfreerdp/cache/pointer.c | FreeRDP/FreeRDP | apache-2.0 | 14,101 | 580 | codeparrot/github-code |
066c1c3b599decd331aaa8f6ca8beb4904629a7ac65fa142c4e5214d0b61268a | /* -*- Mode: C++; tab-width: 20; indent-tabs-mode: nil; c-basic-offset: 2 -*-
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "PathSkia.h"
#include <math... | C++ | B2G/gecko/gfx/2d/PathSkia.cpp | sergecodd/FireFox-OS | apache-2.0 | 4,546 | 181 | codeparrot/github-code |
306d70ddf9b38fcd5b1baf85823f38793b1d2022535a5ca0110a579013f753f3 | from django.contrib.contenttypes.models import ContentType
import json
from django.http import Http404, HttpResponse
from django.contrib import messages
from django.contrib.auth import get_user_model
from django.contrib.auth.decorators import login_required, user_passes_test
from django.core.urlresolvers import... | Python | gunnery/core/views.py | gunnery/gunnery | apache-2.0 | 7,964 | 203 | codeparrot/github-code |
132ce70bdce4bbc7cdf552edf6b089f43a8f23716066a31d66e1900ca9bf80dc | =pod
=head1 NAME
CMS_verify, CMS_get0_signers - verify a CMS SignedData structure
=head1 SYNOPSIS
#include <openssl/cms.h>
int CMS_verify(CMS_ContentInfo *cms, STACK_OF(X509) *certs, X509_STORE *store,
BIO *indata, BIO *out, unsigned int flags);
STACK_OF(X509) *CMS_get0_signers(CMS_ContentInfo ... | Perl | doc/man3/CMS_verify.pod | openssl/openssl | apache-2.0 | 5,347 | 138 | codeparrot/github-code |
119e7d7b1ea48f91cabbaa3dcecddf5c0338d6ac40e511e515baa8b15cf25664 | // ----------------------------------------------------------------------------
// Copyright 2006-2010, GeoTelematic Solutions, Inc.
// All rights reserved
// ----------------------------------------------------------------------------
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you m... | Java | src/org/opengts/db/CommandPingDispatcher.java | neeph/OpenGTSFull | apache-2.0 | 2,659 | 78 | codeparrot/github-code |
300b3537f7901d130906594e33f4d029bcd3fbb533f2eba4f2040c6253d948e2 | /*
* Copyright 2012-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | Java | spring-boot-project/spring-boot/src/test/java/org/springframework/boot/context/properties/bind/BinderTests.java | vpavic/spring-boot | apache-2.0 | 16,024 | 473 | codeparrot/github-code |
4c7f72bda1eec3a5e57f3eb0a7ecfd00d3aece272e8025cc5b3da5d18a1c8994 | #!/bin/sh
# Prerequisites:
# 1. download and install MSR(Model-Specific Register) from:
# https://01.org/msr-tools/downloads
# Examples:
# turn on Turbo:
# ./turbo.sh on
# turn off Turbo:
# ./turbo.sh off
# query Turbo status:
# ./turbo.sh
cores=$(cat /proc/cpuinfo | grep processor | awk '{print $3}'... | Shell | tools/turbo/turbo.sh | yao-matrix/mProto | apache-2.0 | 831 | 44 | codeparrot/github-code |
01c6f46fcc5e1a432af1eaaf8452079181b89a0891229aabe3879783f5155449 | define(function(require, exports, module) {
var $ = require('jquery');
var leftBtn =$('#company-list').find('.left-btn'),
rightBtn = $('#company-list').find('.right-btn'),
show = $('#company-list').find('.show');
module.exports = {
i:0,
// 处理鼠标移入移出事件
onHoverAndOut: func... | JavaScript | jike home page/js/cooperation-company.js | despise-all/front-demo | apache-2.0 | 1,614 | 59 | codeparrot/github-code |
eef2ea337df9c3a443cfe13c4b1fb77b8b4f10776c7a94a93bfdc25eacc5f517 | # 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 o... | Python | tensorflow/contrib/learn/python/learn/estimators/tensor_signature.py | ivano666/tensorflow | apache-2.0 | 4,029 | 128 | codeparrot/github-code |
e6cf73f20c7908d15080b317916f1fd14b985a73fbacf185d9e3da86f08a1db3 | 'use strict';
//debugger;
//pageSetUp();
var soProfiling;
var soProfileInstance = function() {
soProfiling = new soProfilingObject();
soProfiling.Load();
};
var soProfilingObject = function() {
var THIS = this;
var numberFormat = d3.format(",f");
THIS.type = "materialCount";
//constructTabs(THIS... | JavaScript | client/htmls/public/js/jiraprofiling/e2e_JiraProfiling.js | Durgesh1988/core | apache-2.0 | 32,814 | 954 | codeparrot/github-code |
6fbf3e326a741523c4a848ae71f39ee7ca849f4ef15915279ed8e03310e30a04 | import './styles.scss';
import {View} from 'backbone';
import {className} from '../../decorators';
import bem from 'b_';
import $ from 'jquery';
import {defaults} from 'underscore';
export const POSITION = {
'top': function({top, left, width}, {offset}, tipSize) {
return {
top: top - tipSize.he... | JavaScript | allure-generator/src/main/javascript/components/tooltip/TooltipView.js | TpSr52/allure2 | apache-2.0 | 2,793 | 98 | codeparrot/github-code |
425ac5f0eeb5f1661cb818d726292c8aa900b3ede3f9b796e22ab194629a9b69 | /*
* (c) Copyright 2015 Hewlett Packard Enterprise Development LP 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 o... | Java | src/main/java/com/hpe/elderberry/Taxii11Template.java | ThreatCentral/elderberry | apache-2.0 | 13,445 | 310 | codeparrot/github-code |
1aa5e55e9595bf100b73a4c652f812b30cd135611c0ef1e61a031906620bde51 | const handleError = (message) => {
$("#errorMessage").text(message);
$("#domoMessage").animate({width:'toggle'},350);
}
const sendAjax = (action, data) => {
$.ajax({
cache: false,
type: "POST",
url: action,
data: data,
dataType: "json",
success: (result, status, xhr) => {
$("#domoMe... | JavaScript | client/client.js | CScavone96/DomomakerA | apache-2.0 | 1,835 | 76 | codeparrot/github-code |
9872dbfc2b0a8d4c184844ecba1f9d9f040987987bb037febdca8cec85610378 | #include <iostream>
#include <string.h>
#include <ctime>
#include <cstdlib>
#include <algorithm>
#include <unordered_map>
#include <tuple>
#include <vector>
#include "blocks.pb.h"
typedef std::unordered_map<int, std::vector<std::pair<int, float>>> Dict;
typedef Dict::const_iterator DictIt;
typedef std::tuple<int, int,... | C++ | data/getdata.cc | xuanhan863/experimental-mf | apache-2.0 | 5,415 | 178 | codeparrot/github-code |
d5075978daa891c1c7c7dd621dce514c66cf908c3eba60b810c290b8b2f0cd6d | /* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed... | Java | modules/flowable-bpmn-converter/src/test/java/org/flowable/editor/language/xml/SubProcessConverterTest.java | lsmall/flowable-engine | apache-2.0 | 4,520 | 98 | codeparrot/github-code |
2b84902cb51f1e33319ca4b1f7f43af3580804c12cc9a640097d3819202ee716 | package ru.ydn.wicket.wicketorientdb;
import java.util.function.Supplier;
import org.apache.wicket.Application;
import org.apache.wicket.ConverterLocator;
import org.apache.wicket.IApplicationListener;
import org.apache.wicket.IConverterLocator;
import org.apache.wicket.authroles.authentication.AuthenticatedWebApplic... | Java | wicket-orientdb/src/main/java/ru/ydn/wicket/wicketorientdb/OrientDbWebApplication.java | OrienteerBAP/wicket-orientdb | apache-2.0 | 6,526 | 185 | codeparrot/github-code |
7a3226c1cd42c2e3c9c836e70dd0e6de46aa7ae7ced17a780447325e61b1c01b | //
// Copyright 2015 Blu Age Corporation - Plano, Texas
//
// 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... | C# | Summer.Batch.Extra/Utils/ReverseUtils.cs | SummerBatch/SummerBatch | apache-2.0 | 9,633 | 256 | codeparrot/github-code |
c48a92f5d7312ac5cac39b85a58e76dbff7559391d4734eff7b2c1e807f7280a | /*
* 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 | uimaj-tools/src/main/java/org/apache/uima/tools/jcasgen/GUI.java | apache/uima-uimaj | apache-2.0 | 12,369 | 468 | codeparrot/github-code |
bff146355b3cccb534052354933402d2d6cb8d4cbf09aaf78025c2a1bfa64e6e | /*
* 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 | sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveDDLSuite.scala | rikima/spark | apache-2.0 | 89,492 | 2,284 | codeparrot/github-code |
68e2ea8b02c36d00db2e298584f55e07656ba47a0181ddb7f2e066e1b3b1ecbb | /*
* 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/allocation/decider/Decision.java | EvilMcJerkface/crate | apache-2.0 | 11,710 | 371 | codeparrot/github-code |
53385e26c94c733759d2602d1be7a4b29185ba5f8bad3362f8b963c314790fff | package org.nmdp.hmlfhirconverter.config;
/**
* Created by Andrew S. Brown, Ph.D., <abrown3@nmdp.org>, on 1/20/17.
* <p>
* service-hmlFhirConverter
* Copyright (c) 2012-2017 National Marrow Donor Program (NMDP)
* <p>
* This library is free software; you can redistribute it and/or modify it
* under the terms of ... | Java | src/main/java/org/nmdp/hmlfhirconverter/config/SwaggerConfig.java | nmdp-bioinformatics/service-hmlFhirConverter | apache-2.0 | 2,377 | 62 | codeparrot/github-code |
73137aa7dbcdc5c62b5dc9534a104c6c8858b338fcb2e30604c5a0883f6e48cc | package graphdriver
import (
"errors"
"fmt"
"os"
"path"
"strings"
log "github.com/Sirupsen/logrus"
"github.com/docker/docker/pkg/archive"
)
type FsMagic uint32
const (
FsMagicBtrfs = FsMagic(0x9123683E)
FsMagicAufs = FsMagic(0x61756673)
)
type InitFunc func(root string, options []string) (Driver, error)
... | GO | daemon/graphdriver/driver.go | cezarsa/docker | apache-2.0 | 5,073 | 161 | codeparrot/github-code |
1bb71dc62ff2286a39804e294c1f44defb76c556318f5e468f9837ad20ced1b0 | # Copyright 2012, Nachi Ueno, NTT MCL, 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 applic... | Python | openstack_dashboard/dashboards/project/routers/tests.py | sandvine/horizon | apache-2.0 | 38,873 | 875 | codeparrot/github-code |
ca7bdce7e0b7e52eecb144d0426a6207d2c8d15a2a1ee9e9110e8f9084b86c83 | package eu.seaclouds.monitor.monitoringdamgenerator.adpparsing;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.yaml.snakeyaml.Yaml;
import eu.seaclouds.monitor.monitoringdamgenerator.DeploymentType... | Java | monitor/monitoring-dam-generator-core/src/main/java/eu/seaclouds/monitor/monitoringdamgenerator/adpparsing/YAMLMonitorParser.java | rosogon/SeaCloudsPlatform | apache-2.0 | 14,015 | 328 | codeparrot/github-code |
0010465be9c3cbade40e160a8bd7c93ce4e7e59166cc2ed3fe86a86c5cb3b772 | /**
* Copyright (C) 2015 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.strata.product.index.type;
import static com.opengamma.strata.basics.date.DateSequences.QUARTERLY_IMM;
import static com.opengamma.strata.basics.index.IborIndi... | Java | modules/product/src/test/java/com/opengamma/strata/product/index/type/RelativeIborFutureTemplateTest.java | jmptrader/Strata | apache-2.0 | 3,758 | 85 | codeparrot/github-code |
c1ea3743b281aa4e55f44d5cc3f712f66961eaa47de4f7629265c012c2129487 | /*
* 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-route53/include/aws/route53/model/RRType.h | cedral/aws-sdk-cpp | apache-2.0 | 1,126 | 52 | codeparrot/github-code |
bf8a1979815deeaca19232915a55508c4b6a624377fd78d67ea63407dd1f013c | /*
* Copyright (c) 2016 Nordic Semiconductor ASA
* Copyright (c) 2016 Vinayak Kariappa Chettimada
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <soc.h>
#include <errno.h>
#include <atomic.h>
#include <device.h>
#include <clock_control.h>
#include <misc/__assert.h>
#if defined(CONFIG_USB) && defined(CONFIG_S... | C | drivers/clock_control/nrf5_power_clock.c | zephyriot/zephyr | apache-2.0 | 10,711 | 465 | codeparrot/github-code |
20a4773265ff56f24af585d3a9f94ed36147f14914a441cea54c7c8b12cd1c01 | # ===============================================================================
# Copyright 2013 Jake Ross
#
# 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... | Python | pychron/entry/graphic_generator.py | USGSDenverPychron/pychron | apache-2.0 | 14,662 | 452 | codeparrot/github-code |
c932c9748c82c2e43dc0873d79de83d96e36122d58df60da41a983359f6945e3 | /*
* Copyright 2014 CyberVision, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | C | client/client-multi/client-c/src/kaa/utilities/kaa_mem.c | kallelzied/kaa | apache-2.0 | 1,936 | 69 | codeparrot/github-code |
652b4528eaea34ae7a21306cc2b501a47ded4102b9113b2331fc93461232107d | /*
* Copyright 2010-2014 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... | C# | sdk/src/Services/AutoScaling/Generated/Model/DescribeTagsResponse.cs | mwilliamson-firefly/aws-sdk-net | apache-2.0 | 2,194 | 76 | codeparrot/github-code |
9d88170d999d878a6d18ed8f7cadcb72ab95d61c26a727d7dade4e3cc8e52c1c | /*
* 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-store-document/src/test/java/org/apache/jackrabbit/oak/plugins/document/mongo/MongodProcess.java | apache/jackrabbit-oak | apache-2.0 | 4,322 | 125 | codeparrot/github-code |
bd8b79763c71d8c4f27494aa9d6ea82c15a4b1c82d45465ac8269c6ed8ca7807 | /**
* Licensed to Apereo under one or more contributor license
* agreements. See the NOTICE file distributed with this work
* for additional information regarding copyright ownership.
* Apereo licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file
* except in ... | Java | src/test/java/org/jasig/portlet/proxy/service/web/MultiRequestHttpClientServiceImplTest.java | mgillian/WebproxyPortlet | apache-2.0 | 3,763 | 94 | codeparrot/github-code |
891e660e5db198a444a581cf037c5e5112df2a2968138fcd3ff18715fff60eae | package org.anddev.andengine.extension.physics.box2d;
import org.anddev.andengine.engine.handler.*;
import org.anddev.andengine.extension.physics.box2d.util.constants.*;
import com.badlogic.gdx.physics.box2d.*;
import org.anddev.andengine.entity.shape.*;
import org.anddev.andengine.util.*;
import com.badlogic.gdx.math... | Java | decompiled_src/Procyon/org/anddev/andengine/extension/physics/box2d/PhysicsConnector.java | rLadia/AttacknidPatch | apache-2.0 | 3,998 | 112 | codeparrot/github-code |
e9703bb4c5a89c3fd838d8adf6ae783621291fe3218fb60af4a303ab3a5393a0 | /**
* Copyright 2005-2007 Xue Yong Zhi
* Distributed under the Apache License
*/
package com.xruby.runtime.lang;
import java.util.WeakHashMap;
import com.xruby.runtime.builtin.ObjectFactory;
import com.xruby.runtime.builtin.RubyFixnum;
import com.xruby.runtime.lang.annotation.RubyLevelMethod;
import c... | Java | src/com/xruby/runtime/lang/ObjectSpace.java | rzel/xruby | apache-2.0 | 1,775 | 58 | codeparrot/github-code |
310cf5ae32580392e6462f307a11a95c1e61e04b89d8af32b613d64ec78c6a3d | # Copyright (c) 2013 Red Hat, 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 require... | Python | cinder/volume/drivers/glusterfs.py | Paul-Ezell/cinder-1 | apache-2.0 | 17,430 | 470 | codeparrot/github-code |
825408460fc346d33e2fc211a52f04d289e82b5e6c5ca96db25b6b8edbad3295 | /*******************************************************************************
* Copyright (c) 2015-2018 Skymind, Inc.
*
* This program and the accompanying materials are made available under the
* terms of the Apache License, Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0.
*
*... | Java | datavec/datavec-api/src/main/java/org/datavec/api/transform/ops/AggregatorImpls.java | deeplearning4j/deeplearning4j | apache-2.0 | 21,724 | 533 | codeparrot/github-code |
ec8655ebdef1d1a6822175c494f401b10287b32322e0810e751f2ec70b82e995 | // Copyright (c) 2014 Robert Clipsham <robert@octarineparrot.com>
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or... | Rust | src/bindings/bpf.rs | fsck/libpnet | apache-2.0 | 4,510 | 124 | codeparrot/github-code |
f2e00f7408e13bcddc449eb1a794d4896315895ab6d793db1e618e824f75ee1a | /// <reference path="../../services/office365/scripts/utility.js" />
/// <reference path="../../services/office365/scripts/o365adal.js" />
/// <reference path="../../services/office365/scripts/exchange.js" />
(function () {
'use strict';
angular.module('app365').controller('calendarDetailCtrl', ['$scope', '$... | JavaScript | app/calendar/calendar-detail-ctrl.js | OfficeDev/Cordova-Calendar-App-Code-Sample | apache-2.0 | 1,635 | 41 | codeparrot/github-code |
a8cfd0367c06fc0f2eea50787882e1d4a06efe4520c5c2667edf44d2076df6dd | package io.dropwizard.util;
/**
* @since 2.0
*
* @deprecated consider using Apache commons-lang3 ExceptionUtils instead
*/
@Deprecated
public final class Throwables {
private Throwables() {
}
/**
* Returns the innermost cause of {@code throwable}. The first throwable in a chain provides
* co... | Java | dropwizard-util/src/main/java/io/dropwizard/util/Throwables.java | dropwizard/dropwizard | apache-2.0 | 1,439 | 44 | codeparrot/github-code |
fd1f3bbfa44cab310b90e1e24044f9348e70a848e58a4fa4d342d595965bf02b | /*
* Copyright 2016 WebAssembly Community Group participants
*
* 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... | C++ | src/tools/wasm-opt.cpp | WebAssembly/binaryen | apache-2.0 | 13,393 | 415 | codeparrot/github-code |
cf7330236ae4b90037053212cc65592172e8a3a5265903934b72c6ecbd779731 | /*
* Copyright 2002-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | Java | config/src/test/java/org/springframework/security/config/annotation/web/configurers/NamespaceHttpOpenIDLoginTests.java | djechelon/spring-security | apache-2.0 | 13,109 | 300 | codeparrot/github-code |
dbceafa4caa0a5fb6ab649c2f7c0d288b29609a9a36ec169ccd62aea9d7e4b3c | // $Id$
// Copyright © 2004-2010 Tim Van Holder
//
// 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 o... | C# | PlayOnline.FFXI.Utils.MacroManager/MainWindow.cs | Vicrelant/polutils | apache-2.0 | 43,128 | 960 | codeparrot/github-code |
547d3946dfc9c600ee65ff1425a0d49185949bf5c7661a75dfce43995b28a06e | package org.ovirt.engine.ui.uicommonweb.models.storage;
import org.ovirt.engine.core.common.businessentities.storage_pool;
import org.ovirt.engine.ui.uicommonweb.Linq;
import org.ovirt.engine.ui.uicommonweb.models.Model;
@SuppressWarnings("unused")
public abstract class StorageModelBehavior
{
private StorageModel... | Java | frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/storage/StorageModelBehavior.java | Dhandapani/gluster-ovirt | apache-2.0 | 1,799 | 61 | codeparrot/github-code |
1a67dd698678717c5f8863f3c7abf20162ea9dc41a8913dd8fa5cc59f45b384e | /*
* Copyright 2002-2004 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... | Java | axis-rt-core/src/test/java/test/message/TestSOAPFault.java | apache/axis1-java | apache-2.0 | 3,083 | 87 | codeparrot/github-code |
33df47886b67c9521c83b75fd65e9c55a773490fc4f0a282f23fc18ff7f5ab0f | #!/bin/bash -x
set -e
# Make sure only a non-root user can run our script
if [ "$(id -u)" == "0" ]; then
echo "This script must be run as a user" 1>&2
exit 1
fi
DIR=`dirname "$0"`
source $DIR/env.sh
mkdir -p ~/local/
# Scala Installation
if [ ! -e ${SCALA_HOME} ]; then
wget http://downloads.typesafe.c... | Shell | setup/setup-user.sh | thrill/HiBench | apache-2.0 | 1,705 | 72 | codeparrot/github-code |
2ae22eac876c79c7c8c657317c6846b2699627223c52dcc77b3fd7d4222d1afb | package org.zstack.query;
import org.apache.commons.lang.StringUtils;
import org.objenesis.Objenesis;
import org.objenesis.ObjenesisStd;
import org.objenesis.instantiator.ObjectInstantiator;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transact... | Java | search/src/main/java/org/zstack/query/MysqlQueryBuilderImpl3.java | newbiet/zstack | apache-2.0 | 71,601 | 1,522 | codeparrot/github-code |
a200dd7cc4948ef5663fc105d26bdf8e59aefbfd2a9de8b30725a5e20e3ec9af | package org.apache.helix.filestore;
/*
* 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,... | Java | recipes/rsync-replicated-file-system/src/main/java/org/apache/helix/filestore/ChangeLogGenerator.java | kishoreg/helix-actors | apache-2.0 | 3,792 | 132 | codeparrot/github-code |
00f51e75cc971d83d6cdb70ec414c763d1c4dfc527d6751f0331b04cfb023825 | package authorization
import (
"errors"
"fmt"
"io"
"k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/runtime"
utilerrors "k8s.io/apimachinery/pkg/util/errors"
rbacinternalversion "k8s.io/kubernetes/pkg/client/clientset_generated/internalclientset/typed/rbac/internalversion"
kcmdutil "k8s.io/kube... | GO | pkg/cmd/admin/migrate/authorization/authorization.go | louyihua/origin | apache-2.0 | 7,509 | 230 | codeparrot/github-code |
10d23300ad0a8f1add291d1c15d7f002959e286ca1b1c69d5c8c6e7f2dff0999 | """Python API for composing notebook elements
The Python representation of a notebook is a nested structure of
dictionary subclasses that support attribute access
(IPython.utils.ipstruct.Struct). The functions in this module are merely
helpers to build the structs in the right form.
"""
# Copyright (c) IPython Develo... | Python | kyper/nbformat/v40/nbbase.py | wusung/ipython-notebook-tabs | apache-2.0 | 4,854 | 171 | codeparrot/github-code |
093445536d9b22b4e9ed57d1a09c1eea184b3ffea7bfa100326b7fd0f3bd5b78 | define({
"viewer": {
"common": {
"close": "Lukk",
"focusMainstage": "Send tastaturfokus til media",
"expandImage": "Utvid bilde"
},
"a11y": {
"skipToContent": "Gå til fortelling",
"headerAria": "Historieoverskrift",
"panelAria": "Historiefortelling",
"mainStageAri... | JavaScript | src/resources/tpl/viewer/nls/nb/template.js | Esri/map-journal-storytelling-template-js | apache-2.0 | 7,549 | 135 | codeparrot/github-code |
0e9d3ebc6d9b0a91a99bcd1453ac099e28ba4b2672dd5a17e0b9e43ac61140d1 | /*
* 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/emitter/include/EmitterGeomExplicit.h | LiangYue1981816/CrossEngine | apache-2.0 | 6,942 | 257 | codeparrot/github-code |
c2993c96e41f04dfe8dba7369a27405801aaab7984b1991aa26f9db6efcfaf87 | /*
* Copyright 2014-present Open Networking Laboratory
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... | Java | providers/openflow/flow/src/main/java/org/onosproject/provider/of/flow/impl/FlowStatsCollector.java | Phaneendra-Huawei/demo | apache-2.0 | 3,364 | 101 | codeparrot/github-code |
7c6122abbfb8042b12c7e14d353b99672b076fdeab2f384f57bde20e6403f279 | #!/bin/bash
# Copyright 2012 Johns Hopkins University (Author: Daniel Povey)
# Korbinian Riedhammer
# Apache 2.0
# Computes training alignments; assumes features are (LDA+MLLT or delta+delta-delta)
# + fMLLR (probably with SAT models).
# It first computes an alignment with the final.alimdl (or the fin... | Shell | steps/tandem/align_fmllr.sh | jmolina116/kaldi-yesno-tutorial | apache-2.0 | 6,749 | 189 | codeparrot/github-code |
a97795d00ed28be43e39d86e04a2309fab503bea6745b1025058d0f1d4cc131a | package com.devilwwj.app.adapters;
import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import java.util.ArrayList;
import java.util.List;
/**
* @ClassName: AdapterBase
* @Description: 通用Adapter
* @author wwj_748
* @date 2015年6月17日 下午4:03:39... | Java | AndroidQuickStartProject/app/src/main/java/com/devilwwj/app/adapters/AdapterBase.java | fanatic-mobile-developer-for-android/A-week-to-develop-android-app-plan | apache-2.0 | 2,305 | 107 | codeparrot/github-code |
295ea6055f13b4d632a26f364b39c3a5a60d1657c8fb50b2dd4b0f5ef3e559de | /*
* Copyright 2014 JBoss, by 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 required by applicable law ... | Java | jbpm-form-modeler-panels/jbpm-form-modeler-editor/jbpm-form-modeler-editor-backend/src/main/java/org/jbpm/formModeler/panels/modeler/backend/indexing/model/terms/valueterms/ValueDataHolderTypeIndexTerm.java | porcelli-forks/jbpm-form-modeler | apache-2.0 | 1,438 | 40 | codeparrot/github-code |
8973a20b1a8f51fcfc4b44f271fa62269a49455fca443895a3e7ea647ad434a6 | /*
* Copyright 2000-2015 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | Java | platform/lang-impl/src/com/intellij/codeInsight/daemon/impl/DaemonListeners.java | diorcety/intellij-community | apache-2.0 | 28,298 | 646 | codeparrot/github-code |
e5e58921e86cbe79deeebc5550f941440a5ffbe5a1eb2df5d8f1de308e6eeed3 | /**
* FreeRDP: A Remote Desktop Protocol Implementation
*
* Copyright 2014 Marc-Andre Moreau <marcandre.moreau@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http... | C | client/Windows/wf_channels.c | bjcollins/FreeRDP | apache-2.0 | 2,485 | 88 | codeparrot/github-code |
abad7070ec72d681032f41fcd9fec0c4cda333a7e18ed1cbbf148560b75bebb6 | /**
* Copyright (c) 2013 by Appcelerator, Inc. All Rights Reserved.
* Licensed under the terms of the Apache Public License
* Please see the LICENSE included with this distribution for details.
*
* This generated code and related technologies are covered by patents
* or patents pending by Appcelerator, Inc.
*/
... | C | ios/xcode/ti.coremotion/src/js_UIKit/js_UIBezierPath_P.h | nielin/ti.coremotion | apache-2.0 | 3,835 | 66 | codeparrot/github-code |
adcb382fb1bcb2c084b6aa94005fefe0a7655498d5f7830915c49e5b422905ca | /**
* 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 | hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/store/wal/WALProcedureStore.java | andrewmains12/hbase | apache-2.0 | 22,499 | 757 | codeparrot/github-code |
651da44d2ce8e54723ceef10283888e37ea4a94871b0fadcb199ce4ae5283312 | /*******************************************************************************
* Copyright (C) 2015 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.... | Java | sdk/src/main/java/com/google/cloud/dataflow/sdk/runners/worker/WindmillSink.java | tyagihas/DataflowJavaSDK | apache-2.0 | 7,465 | 176 | codeparrot/github-code |
19cfff075377cf16c28db7394b9eaa9cba85f02b2db7bb0e5f107b25ff085cca | //========================================================================
//Copyright 2007-2008 David Yu dyuproject@gmail.com
//------------------------------------------------------------------------
//Licensed under the Apache License, Version 2.0 (the "License");
//you may not use this file except in compliance... | Java | modules/web/src/main/java/com/dyuproject/web/CookieSession.java | thr0w/dyuproject | apache-2.0 | 3,324 | 135 | codeparrot/github-code |
933ff64a72b261d729a62b08cf8c914f1df04ac7a1cca946bfdc2fa4ae1fba7c | /**
* 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 | metron-platform/metron-parsers/src/main/java/org/apache/metron/parsers/GrokParser.java | DomenicPuzio/incubator-metron | apache-2.0 | 8,151 | 235 | codeparrot/github-code |
0e30ac54efe731c83040dc0a451885760f2f41a70006a424bcfa8ae8ce52f933 | /***********************************************************************
Copyright 2006-2009 Ma Bingyao
Copyright 2013 Gao Chunhui, Liu Tao
These sources is free software. Redistributions of source code must
retain the above copyright notice. Redistributions in binary form
must reproduce the above copyright no... | C | lib/cocos2dx_extra/extra/crypto/xxtea/xxtea.c | idtek/extendwork | apache-2.0 | 4,935 | 177 | codeparrot/github-code |
6a96292f393046864a6c83c63cf1b6f975fa94e2b8fa33b9bfbdf78b77a277df | /**
* 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-functions/instance/src/main/java/org/apache/pulsar/functions/instance/stats/SinkStatsManager.java | massakam/pulsar | apache-2.0 | 14,279 | 378 | codeparrot/github-code |
4ca4f1c4da326e05fd778f0a5cc0c1f463d8a6e5aa81080524e0396f6234cc8c | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using IdentityServer4.Hosting;
using IdentityServer4.Models;
using Microsoft.AspNetCore.Http;
using System;
using System.Collections.Generic;... | C# | src/IdentityServer4/Endpoints/Results/JsonWebKeysResult.cs | chrisowhite/IdentityServer4 | apache-2.0 | 1,908 | 62 | codeparrot/github-code |
16a69d944551f4e18d99d5620cba0ac92898f74b46d4461b629be19b031931d9 | package org.apereo.cas.consent;
import org.apereo.cas.CipherExecutor;
import org.apereo.cas.services.RegisteredServiceTestUtils;
import org.apereo.cas.util.CollectionUtils;
import lombok.val;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* This is {@link InMemoryConsentRepositoryTests}.
*
* @autho... | Java | support/cas-server-support-consent-core/src/test/java/org/apereo/cas/consent/InMemoryConsentRepositoryTests.java | tduehr/cas | apache-2.0 | 1,104 | 35 | codeparrot/github-code |
f462ef283eb9d1cb6e7d0fdb5558524d36bf0e5adf63ad5c310a84570f3cfdad | /*
* 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 | providers/glesys/src/main/java/org/jclouds/glesys/options/ListIpOptions.java | yanzhijun/jclouds-aliyun | apache-2.0 | 3,032 | 102 | codeparrot/github-code |
36d574dc9e71b09903b039d607b876e136fb74ae06cbc263045a65c849788420 | /*
* 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 | apis/cloudstack/src/test/java/org/jclouds/cloudstack/parse/ListLoadBalancerRulesResponseTest.java | yanzhijun/jclouds-aliyun | apache-2.0 | 2,269 | 65 | codeparrot/github-code |
0bf60c91df07648d3785223d562c54c8498308a99736a8cdef1a1e9163f896a3 | /*******************************************************************************
"FreePastry" Peer-to-Peer Application Development Substrate
Copyright 2002-2007, Rice University. Copyright 2006-2007, Max Planck Institute
for Software Systems. All rights reserved.
Redistribution and use in source and binary forms, ... | Java | freepastry/src/org/mpisws/p2p/transport/priority/PriorityTransportLayer.java | barnyard/pi | apache-2.0 | 4,987 | 136 | codeparrot/github-code |
412b7c975eef1249ec629b8a0976aa8663cf74f577712c28289c41a60d3cb813 | #region 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.0 (the
... | C# | gremlin-dotnet/test/Gremlin.Net.UnitTest/Process/Traversal/GraphTraversalSourceTests.cs | jorgebay/tinkerpop | apache-2.0 | 2,267 | 68 | codeparrot/github-code |
1a2edd8979b44be7d2cdadf1831d00f16b2aa9707bba13e5173397296a002ea3 | /*
* Copyright (c) 2008-2020, Hazelcast, Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... | Java | examples/protobuf/src/main/java/com/hazelcast/jet/examples/protobuf/ProtobufSerializerHookAdapter.java | gurbuzali/hazelcast-jet | apache-2.0 | 2,296 | 78 | codeparrot/github-code |
d9691a8a84aa60f2b6584471bb2d43d73e5324d6d9e83f5bbe2632f8cd41f072 | /*
* 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 | modules/remoting/src/flex/management/runtime/messaging/services/remoting/RemotingDestinationControl.java | azureplus/flex-blazeds | apache-2.0 | 4,987 | 146 | codeparrot/github-code |
cd899a7a3e8570cf0f16e3239ed3f16b3edbcbedab40e6f8c985e2d841f05a93 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the Apache 2 License.
using Microsoft.ServiceFabric.Actors;
using System;
using System.Collections.Generic;
using System.Diagnostics.Tracing;
using System.Fabric;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
names... | C# | src/ServiceFabricPersistence/ActorEventSource.cs | yonglehou/Akka.Persistence.ServiceFabric | apache-2.0 | 4,302 | 121 | codeparrot/github-code |
038be796e3c29f4745359ab2fbc94d5999fdfed7df6fcd2f31aca984336c7adb | // Copyright (c) 1994-2006 Sun Microsystems Inc.
// 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,
// this list ... | C | 3rdParty/V8/V8-5.0.71.39/src/arm/assembler-arm-inl.h | m0ppers/arangodb | apache-2.0 | 22,196 | 613 | codeparrot/github-code |
98260d997335c9660aa728351ca4cca5b51dc4cb7713e456884b387bb6734e8b | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/s3-crt/model/CloudFunctionConfiguration.h>
#include <aws/core/utils/xml/XmlSerializer.h>
#include <aws/core/utils/StringUtils.h>
#include <aws/core/utils/memory/stl/AWSStringStream.h>
#... | C++ | aws-cpp-sdk-s3-crt/source/model/CloudFunctionConfiguration.cpp | awslabs/aws-sdk-cpp | apache-2.0 | 2,972 | 116 | codeparrot/github-code |
2f0741a25deb40f10f642c1cdd7169ac3404a4111ce4f9fc9c1d8a5677ef54df | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<title>Uses of Class org.myrobotlab.framework.Outbox</title>
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type... | HTML | javadoc/org/myrobotlab/framework/class-use/Outbox.html | sujitbehera27/MyRoboticsProjects-Arduino | apache-2.0 | 5,814 | 154 | codeparrot/github-code |
d5e0d54d450868217f7dcd27dfbca5d84cb216cda7defd4ec67f0820e6f524a3 | /* $NetBSD: amiga.c,v 1.8 2013/06/14 03:54:43 msaitoh Exp $ */
/*-
* Copyright (c) 1999, 2002 The NetBSD Foundation, Inc.
* All rights reserved.
*
* This code is derived from software contributed to The NetBSD Foundation
* by Michael Hitch.
*
* This code is derived from software contributed to The NetBSD Founda... | C | usr.sbin/installboot/arch/amiga.c | veritas-shine/minix3-rpi | apache-2.0 | 4,439 | 174 | codeparrot/github-code |
5591a5cd9173df9f7305c12bae9dc0e1b8d1b350bc77826fa8c120cd6b191e37 | /*
* 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/addressing/src/org/apache/axis2/handlers/addressing/AddressingOutHandler.java | apache/axis2-java | apache-2.0 | 30,419 | 639 | codeparrot/github-code |
8bbaebfb19964ac601784b8ad93b53cd94aa58cba2c1d1089c1bae1544e4a9f5 | /*
* Licensed to STRATIO (C) under one or more contributor license agreements.
* See the NOTICE file distributed with this work for additional information
* regarding copyright ownership. The STRATIO (C) licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file... | Java | crossdata-driver/src/test/java/com/stratio/crossdata/driver/querybuilder/QueryBuilderJavaTest.java | ccaballe/crossdata | apache-2.0 | 4,171 | 115 | codeparrot/github-code |
e73cb515182e2f32173798f1dd938d2120c5df41bad16d43ea0969430e45d035 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under th... | Python | stestr/commands/failing.py | mtreinish/stestr | apache-2.0 | 4,990 | 136 | codeparrot/github-code |
77a05388055c7fe81659d3b0abfe1f079420aa8b938c45f3721dc59c5f5b92ca | /*+***********************************************************************************
* The contents of this file are subject to the vtiger CRM Public License Version 1.0
* ("License"); You may not use this file except in compliance with the License
* The Original Code is: vtiger CRM Open Source
* The Initial Dev... | JavaScript | isleenlayout/modules/Settings/Picklist/resources/Picklist.js | gdbhosale/vtigerTemplate | apache-2.0 | 25,072 | 683 | codeparrot/github-code |
8de22cbbb7d7ae31a28e774bea1b4b3eceba620c09788f99f2b3c33568f9cfec | /*
* 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/testsuites/IgniteKernalSelfTestSuite.java | SharplEr/ignite | apache-2.0 | 10,164 | 164 | codeparrot/github-code |
ff0666961cbfbced09c20874ee80287bc9a9d8b0004639b1559c276d14145a54 | /*
* 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 | java/org/apache/catalina/core/StandardThreadExecutor.java | apache/tomcat | apache-2.0 | 8,970 | 327 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.