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 |
|---|---|---|---|---|---|---|---|---|
185458344053a22f1b65977399c814221de848f7d5f203f80218461851a9a958 | /*------------------------------------------------------------------------------
* (c) 2015 by Ivan Peon
* All rights reserved
*------------------------------------------------------------------------------
* Module : BaIpcRegistryTest.h
* Date ... | C | BaseApiTest/src/OsIpcRegistryTest.h | pettitpeon/rpiapi | lgpl-3.0 | 1,665 | 58 | codeparrot/github-code |
f8c0d976365e8fab517975bb2cf6514a58513869db7acd9b862be4aaf1d35ce2 | /*
* SonarQube, open source software quality management tool.
* Copyright (C) 2008-2014 SonarSource
* mailto:contact AT sonarsource DOT com
*
* SonarQube is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Found... | Java | server/sonar-server/src/main/java/org/sonar/server/debt/DebtRulesXMLImporter.java | teryk/sonarqube | lgpl-3.0 | 9,815 | 257 | codeparrot/github-code |
1be95a837b66a7a25bbf589a479f4d27c3a098b19eac65f8261400d0971afbae | /**
##########################
DePaul SAREC
Archie Project
@author Ahmed Fakhry
##########################
**/
package archie.views;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.Frame;
import java.io.File;
import java.net.MalformedURLException;
import java.util.LinkedList;
import java.util.... | Java | src/archie/views/GraphView.java | SoftwareEngineeringToolDemos/FSE-2014-Archie-Smart-IDE | lgpl-3.0 | 34,841 | 1,078 | codeparrot/github-code |
4b0148587e41c2b3706a6a7a3af0f0ee236005a37e600627fec24653aa8d5305 | /**
* Copyright (C) 2010-2015 Gordon Fraser, Andrea Arcuri and EvoSuite
* contributors
*
* This file is part of EvoSuite.
*
* EvoSuite is free software: you can redistribute it and/or modify it
* under the terms of the GNU Lesser Public License as published by the
* Free Software Foundation, either version 3.0 ... | Java | removed/parser/TracingTestRunner.java | SoftwareEngineeringToolDemos/FSE-2011-EvoSuite | lgpl-3.0 | 5,677 | 181 | codeparrot/github-code |
df1c7cefb5836cb17e6b227ccebfac03f2f2b47fbb1e8970abf6b6e326258b80 | /**
* Copyright (C) 2010-2015 Gordon Fraser, Andrea Arcuri and EvoSuite
* contributors
*
* This file is part of EvoSuite.
*
* EvoSuite is free software: you can redistribute it and/or modify it
* under the terms of the GNU Lesser Public License as published by the
* Free Software Foundation, either version 3.0 ... | Java | client/src/main/java/org/evosuite/symbolic/instrument/ConcolicBytecodeInstrumentation.java | SoftwareEngineeringToolDemos/FSE-2011-EvoSuite | lgpl-3.0 | 3,403 | 92 | codeparrot/github-code |
8e2062ff0a9fecfeb07b5766d4f43f2496af46bdb7edf82075b0740131f954ff | #!/usr/bin/python
#-*- coding: utf-8 -*-
import cPickle as pickle, time, string
from SPARQLWrapper import SPARQLWrapper, JSON
import rdflib as r, pygraphviz as gv
import pylab as pl
# variaveis principais:
# classes (kk), props,
# vizinhanca_ (de classes)
T=time.time()
U=r.URIRef
def fazQuery(query):
NOW=time.tim... | Python | OCD.py | OpenLinkedSocialData/ocd | unlicense | 24,798 | 700 | codeparrot/github-code |
3dde9e314df952895fec037935da367ffe3fcd853103826e37b82c564348bb6a | package main
import (
"io/ioutil"
"encoding/xml"
"html/template"
"log"
)
type Rss2 struct {
XMLName xml.Name `xml:"rss"`
Version string `xml:"version,attr"`
// Required
Title string `xml:"channel>title"`
Link string `xml:"channel>link"`
Description string `xml:"channel>description"`
// Optional
P... | GO | content/code/go-xml/parseFeed.go | yegle/userpages | unlicense | 3,208 | 154 | codeparrot/github-code |
9ee1b839dc1f791d9ea4af08ed67ea55fa16c9afb828b0b6ae2c483fea633df3 | /*
* Copyright (C)2005-2012 Haxe Foundation
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge,... | C | neko/src/libs/ui/ui.c | r-lyeh/scriptorium | unlicense | 6,710 | 261 | codeparrot/github-code |
445ec3ac81a3e7eb3f6fabf576f433c55244e7ea28b7e336d8d2402765dadf5b | /*
* 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/common/settings/Settings.java | fuchao01/elasticsearch | apache-2.0 | 52,409 | 1,332 | codeparrot/github-code |
c5663397f376d9f36c08068c5b6e1c1655cf026589a044b65fd4bf9722185f52 | /*
Copyright 2015 The Kubernetes 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 ag... | GO | test/e2e/density.go | goltermann/kubernetes | apache-2.0 | 20,024 | 567 | codeparrot/github-code |
be1e10f980f83ed4afc07ba4bb456ab064eb2514a072bbd37dc4a94f3e21cac2 | <?php
namespace edu\wisc\services\caos;
class serviceAlertsType
{
/**
* @var serviceAlertType $serviceAlert
*/
protected $serviceAlert = null;
/**
* @param serviceAlertType $serviceAlert
*/
public function __construct($serviceAlert)
{
$this->serviceAlert = $serviceAlert... | PHP | src/main/serviceAlertsType.php | ahoffmann-wi/caos-php-client | apache-2.0 | 709 | 40 | codeparrot/github-code |
613de1c0244d1bdad2be24d7d904dfcdbb231ddd8889f2fa8a6f5df29033a519 | /*
* 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 | stack/corepersistence/cache/src/main/java/org/apache/usergrid/persistence/cache/CacheScope.java | mdunker/usergrid | apache-2.0 | 1,753 | 63 | codeparrot/github-code |
971e3e9aec8eb13e7cae4a7ab56b9228308994fafdc5be56d87e45c60100e8b6 | const path = require('path');
const assert = require('yeoman-assert');
const helpers = require('yeoman-test');
const getFilesForOptions = require('./utils/utils').getFilesForOptions;
const expectedFiles = require('./utils/expected-files');
const angularFiles = require('../generators/client/files-angular').files;
const ... | JavaScript | test/app-client-custom-path.spec.js | mosoft521/generator-jhipster | apache-2.0 | 8,055 | 163 | codeparrot/github-code |
bad604c1722322631c48fe100e59e784c093aeb854739a3287f30191364f80d9 | /**
* @license
* Visual Blocks Editor
*
* Copyright 2012 Google Inc.
* https://blockly.googlecode.com/
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/l... | JavaScript | core/field_colour.js | cdjackson/ExtBlockly | apache-2.0 | 5,989 | 180 | codeparrot/github-code |
2e792540e6bc61051f6e43157475faa8e544e864e251e071a432569a0ab1e232 | /*
* 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 ... | Scala | flink-table/flink-table-planner-blink/src/test/scala/org/apache/flink/table/planner/runtime/stream/sql/CorrelateITCase.scala | fhueske/flink | apache-2.0 | 13,404 | 426 | codeparrot/github-code |
ab3ffeaf250f44a9053f99a292f6e2f4c2782b8f084c4b92d2fe536818563c0b | package com.hortonworks.streaming.impl.bolts.hive;
import org.apache.hadoop.fs.FileSystem;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.hive.conf.HiveConf;
import org.apache.hadoop.hive.ql.Driver;
import org.apache.hadoop.hive.ql.processors.CommandProcessorResponse;
import org.apache.hadoop.hive.ql.sessi... | Java | storm-streaming/src/main/java/com/hortonworks/streaming/impl/bolts/hive/BackupHiveTablePartitionAction.java | DhruvKumar/iot-truck-streaming | apache-2.0 | 4,283 | 127 | codeparrot/github-code |
301ef304bee4877ab52c1bc51ef2b353324c7c4425da69cc54d66884730db3bd | /*
* 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-neptune/include/aws/neptune/model/ModifyEventSubscriptionResult.h | cedral/aws-sdk-cpp | apache-2.0 | 2,694 | 87 | codeparrot/github-code |
d7efddd5eaac28d6f046e01fe2e9ef317851b7ac444dd7e07d2737a3d44c765c | package com.kixeye.chassis.bootstrap.aws;
/*
* #%L
* Chassis Bootstrap
* %%
* Copyright (C) 2014 KIXEYE, 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... | Java | chassis-bootstrap/src/test/java/com/kixeye/chassis/bootstrap/aws/UserDataTest.java | Kixeye/chassis | apache-2.0 | 1,686 | 64 | codeparrot/github-code |
4b5db6f3041bc453c8331be4a86f1055badf52a39328c7a6048bcdfa44fc774c | /*
* 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/util/src/com/intellij/openapi/util/io/FileUtil.java | retomerz/intellij-community | apache-2.0 | 57,445 | 1,689 | codeparrot/github-code |
b04a7fe843bb6832ffbcb1953473467ca8281666ce31dd165b43912a4185c80b | /*
* Copyright 2020 NAVER Corp.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | Java | plugins/reactor-netty/src/main/java/com/navercorp/pinpoint/plugin/reactor/netty/interceptor/CoreSubscriberInterceptor.java | jaehong-kim/pinpoint | apache-2.0 | 3,212 | 74 | codeparrot/github-code |
5cf46bd3772808b72ddd60a925a2bf12784ee8088feb58d6eca061c9c2636645 | /*
* Copyright 2022 ThoughtWorks, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | Java | common/src/main/java/com/thoughtworks/go/util/HttpService.java | gocd/gocd | apache-2.0 | 6,737 | 167 | codeparrot/github-code |
43a4e516b02663cb991394b57193ef820220b400874055838125623a020d262c | /*
* Copyright 2012-2020 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-tools/spring-boot-gradle-plugin/src/test/java/org/springframework/boot/gradle/tasks/bundling/AbstractBootArchiveTests.java | michael-simons/spring-boot | apache-2.0 | 18,428 | 457 | codeparrot/github-code |
3bed1eb934399c2bfde361420ad610a3b1b9b92da0113e9313eab02dabfb8d17 | /**
* Copyright 2017 The AMP HTML 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 require... | JavaScript | extensions/amp-story/0.1/analytics.js | sriramkrish85/amphtml | apache-2.0 | 2,674 | 93 | codeparrot/github-code |
92b506eca62acd3e3406569402b29be7e635fc334a17ee8295ff68f338b64cdc | package org.mindinformatics.gwt.domeo.plugins.annotation.micropubs.ui.picker;
import java.util.ArrayList;
import java.util.HashMap;
import org.mindinformatics.gwt.domeo.client.IDomeo;
import org.mindinformatics.gwt.domeo.plugins.annotation.micropubs.model.MMicroPublicationAnnotation;
import org.mindinformatics.gwt.fr... | Java | src/org/mindinformatics/gwt/domeo/plugins/annotation/micropubs/ui/picker/StatementsResultsListPanel.java | rkboyce/DomeoClient | apache-2.0 | 10,049 | 378 | codeparrot/github-code |
4fd6176fee9539bbc44daab17bbe77a9a75aceeee95017d85d842dc9ddb38dd4 | /* ****************************************************************************
*
* Copyright (c) Microsoft Corporation.
*
* This source code is subject to terms and conditions of the Apache License, Version 2.0. A
* copy of the license can be found in the License.html file at the root of this distribution. If ... | C# | Src/Microsoft.Dynamic/ComInterop/ComInvokeAction.cs | tempbottle/dlr | apache-2.0 | 3,978 | 106 | codeparrot/github-code |
55a1e4b6085f62d50a7301de8ad03428e37ec9c937c5218f24b1d9c3b23443e9 | /**
* 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 | components/camel-restlet/src/test/java/org/apache/camel/component/restlet/RestRestletHttpOptionsTest.java | yuruki/camel | apache-2.0 | 2,790 | 68 | codeparrot/github-code |
d9b2da7b2e1e0813600d2993d23815ab3ef80ca999b923cf2932b8f72348d3ae | package org.wso2.carbon.identity.application.authenticator.openid.internal;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.osgi.service.component.ComponentContext;
import org.wso2.carbon.identity.application.authentication.framework.ApplicationAuthenticator;
impor... | Java | components/identity/org.wso2.carbon.identity.application.authenticator.openid/src/main/java/org/wso2/carbon/identity/application/authenticator/openid/internal/OpenIDAuthenticatorServiceComponent.java | jaadds/carbon-identity | apache-2.0 | 1,325 | 34 | codeparrot/github-code |
9d69c72c8fddfe93a5f8d5901a296e1d07a386344139baec1247c075532dcec1 | package ldap
import (
"crypto/x509"
"fmt"
"reflect"
"strings"
v32 "github.com/rancher/rancher/pkg/apis/management.cattle.io/v3"
"github.com/pkg/errors"
"github.com/rancher/norman/httperror"
"github.com/rancher/rancher/pkg/auth/providers/common/ldap"
v3 "github.com/rancher/rancher/pkg/generated/norman/manage... | GO | pkg/auth/providers/ldap/ldap_client.go | rancherio/rancher | apache-2.0 | 20,606 | 548 | codeparrot/github-code |
8185aa98de4695b6b6094e0ab69f1f702532854fd415e76ee4167f062fea7e85 | #ifndef _COMMON_H_
#define _COMMON_H_
#include <stdio.h>
#include <stdbool.h>
#include <errno.h>
#define __STDC_FORMAT_MACROS
#include <inttypes.h>
#ifdef MINGW
#include <winsock2.h>
#include <windows.h>
#endif
/**
* Returns size of an array in array elements.
*/
#define sizeof_array(array) \
(sizeof (array) / ... | C | src-disl-agent/common.h | akashche/disl-mirror | apache-2.0 | 2,108 | 121 | codeparrot/github-code |
ff4a75eaeb0018ec90de25d7d43ed2add06476d142dbdb293449cb7387e191f3 | #pragma once
#include "base/assert.hpp"
#include "base/base.hpp"
#include "base/math.hpp"
#include "base/matrix.hpp"
#include <array>
#include <cmath>
#include <functional>
#include <limits>
#include <sstream>
#include <typeinfo>
namespace m2
{
template <typename T>
class Point
{
public:
using value_type = T;
T... | C++ | geometry/point2d.hpp | alexzatsepin/omim | apache-2.0 | 8,182 | 317 | codeparrot/github-code |
fcb20588a324f2bb41e656d53272dd217d25b261fa4abc713859bd8f4a57a1d1 | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/appsync/AppSync_EXPORTS.h>
#include <aws/appsync/AppSyncRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Http
{
... | C | aws-cpp-sdk-appsync/include/aws/appsync/model/ListGraphqlApisRequest.h | jt70471/aws-sdk-cpp | apache-2.0 | 4,233 | 122 | codeparrot/github-code |
e3d94ea0a62b92a4f525d6b2469b244a57c3a445c04c5abbdf1c306c960089a0 | namespace DialogueEditor
{
partial class DialogAbout
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>... | C# | Dev/DialogueEditorDLL/Sources/Dialogs/DialogAbout.Designer.cs | cyanide-studio/dialog | apache-2.0 | 5,684 | 130 | codeparrot/github-code |
f3d921910843db078995d546f05c3cb0783b06ad11650a5c3dc61b28634da533 | /*
* Copyright 2000-2017 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 | plugins/IntentionPowerPak/src/com/siyeh/ipp/collections/ReplaceWithArraysAsListIntention.java | semonte/intellij-community | apache-2.0 | 2,132 | 61 | codeparrot/github-code |
502cf2ae9ef43c2b22d85e9f575e684764b727bf38c14d7b3661b46ecb51bbf3 | /*
* Copyright 2012-2016 bambooCORE, greenstep of copyright Chen Xin Nien
*
* 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
*
* ... | Java | gsbsc-standard/src/com/netsteadfast/greenstep/bsc/command/LoadBscStructTreeCommand.java | billchen198318/bamboobsc | apache-2.0 | 9,441 | 237 | codeparrot/github-code |
f81e72a5d7ac2a612791ffd194c5816f60c3e945621622177a7f6e49665adf37 | package ru.evgenyhodz;
import com.google.common.base.Joiner;
import java.util.ArrayList;
import java.util.List;
/**
* Class with algorithm of finding the longest sequence of numbers in one-dimensional array.
*
* @author Evgeny Khodzitskiy (evgeny.hodz@gmail.com)
* @since 22.01.2017
*/
public class LargestSequen... | Java | chapter_004/AdditionalTask/FindLargestSequence/src/main/java/ru/evgenyhodz/LargestSequenceFinder.java | alittlemind/git_test | apache-2.0 | 1,478 | 46 | codeparrot/github-code |
c39c55afd880c030d765c2b15a6b3980d5b8648c32c5d739a889efce9607e75c | /*
* 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/formatting/FormatProcessor.java | Soya93/Extract-Refactoring | apache-2.0 | 66,022 | 1,812 | codeparrot/github-code |
756d3b2aaf502d176a773593c049ce7b0a3e5fe8dfd40997614ea389bb1674c5 | // Copyright 2010 Chris Patterson
//
// 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# | src/Stact.Playground/Functional/Data/Internal/Three.cs | phatboyg/Stact | apache-2.0 | 1,760 | 79 | codeparrot/github-code |
193504c39aaa5f7d21f37e4a5589d45eac1198815520bb2f75b9463fb02c4978 | package com.googlecode.totallylazy.collections;
import com.googlecode.totallylazy.functions.Function1;
import com.googlecode.totallylazy.Filterable;
import com.googlecode.totallylazy.Foldable;
import com.googlecode.totallylazy.functions.Function0;
import com.googlecode.totallylazy.functions.Curried2;
import com.google... | Java | src/com/googlecode/totallylazy/collections/PersistentList.java | bodar/totallylazy | apache-2.0 | 7,393 | 219 | codeparrot/github-code |
94c8568d07e8c9cb2f4ee6c74ed8e675f2ceac37b403770a32c8af2e836cc0d2 | /*
* 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 | vault-validation/src/test/java/org/apache/jackrabbit/vault/validation/spi/impl/EmptyElementsValidatorTest.java | apache/jackrabbit-filevault | apache-2.0 | 7,111 | 108 | codeparrot/github-code |
a7a09fe818a73dabc09c614e4c1da933d9d70eeeff5add5de02575fbcdc553ec | // Copyright 2008-2009 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 ... | C | goopdate/goopdate.h | taxilian/omaha | apache-2.0 | 1,531 | 60 | codeparrot/github-code |
b44e2299eaf9dab0fc24a58355bf12b156b6088ddacd0dac369e126e8a69ff9a | # list_amazon_templates.rb
#
# Author: Kevin Morey <kmorey@redhat.com>
# License: GPL v3
#
# Description: List Amazon Template ids
#
begin
def log(level, msg, update_message=false)
$evm.log(level, "#{msg}")
end
def dump_root()
$evm.log(:info, "Begin $evm.root.attributes")
$evm.root.attributes.sort.ea... | Ruby | Automate/CloudFormsPOC/Integration/Amazon/DynamicDropDowns.class/__methods__/list_amazon_templates.rb | mbiang/cloudformstest | apache-2.0 | 2,943 | 89 | codeparrot/github-code |
0aecf4c920c9fa41cc2bb180b382880c3712a5be891a4d7ac25ccf46d4ab0ed8 |
// 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)
//
// See http://www.boost.org/libs/mpl for documentation.
// $Source$
// $Date: 2004-09-02 11:41:37 -0400 ... | C++ | windows/include/boost/mpl/aux_/logical_op.hpp | jaredhoberock/gotham | apache-2.0 | 4,759 | 166 | codeparrot/github-code |
7491533c4f7f2840700a8a1f96dcdb0a0e9f7d225a7dcedb9494986ec6ccae45 | /*
* 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 | debugger/src/main/java/org/apache/pdfbox/debugger/ui/PDFTreeModel.java | joansmith/pdfbox | apache-2.0 | 11,554 | 349 | codeparrot/github-code |
1bf676e30b1959ac1c771be1a26e864e7e887352f21f98013d0b70093ef7d567 | <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>ActiveRecord::AttributeMethods::Read</title>
<meta http-equiv="Co... | HTML | doc/api/classes/ActiveRecord/AttributeMethods/Read.html | l33z3r/playme | apache-2.0 | 6,821 | 202 | codeparrot/github-code |
cab3ce20d8192fc9727a115e028d13c6ae4d073718fdf72859c07da9d1eadc5c | // Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The SFC licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you m... | Java | java/server/src/org/openqa/grid/internal/utils/DefaultCapabilityMatcher.java | p0deje/selenium | apache-2.0 | 3,978 | 119 | codeparrot/github-code |
914d72ac92b6f6f0259f3a0daac2c6ed0fc2704708eeadb57baf721e6c82d56d | /* ************************************************************************
#
# DivConq
#
# http://divconq.com/
#
# Copyright:
# Copyright 2012 eTimeline, LLC. All rights reserved.
#
# License:
# See the license.txt file in the project's top-level directory for details.
#
# Authors:
# * Andy ... | Java | divconq.core/src/main/java/divconq/db/query/WhereEqual.java | gspandy/divconq | apache-2.0 | 1,003 | 48 | codeparrot/github-code |
c4b4e9be84837cd732b4998fb013e16dba3a24cc18384b92d24ba51925c27cfd | /*
* This file contains constant definitions that define global OWF hotkeys
*/
Ozone = Ozone || {};
Ozone.components = Ozone.components || {};
Ozone.components.keys = Ozone.components.keys || {};
Ozone.components.keys.EVENT_NAME = 'keyup'; //keyup only fires once, which is what we want. keydown may fire repeatedly
O... | JavaScript | web-app/js/components/keys/HotKeys.js | ozoneplatform/owf-framework | apache-2.0 | 4,288 | 165 | codeparrot/github-code |
faad3ee7ff185337423ba558c563483bbd537ee88f8486cb9fbfb58eba16f9b6 | /**
* Copyright 2012-2013 Niall Gallagher
*
* 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... | Java | src/main/java/edu/princeton/cs/trie/radix/ConcurrentIPRadixTree.java | ndsc-mimic/MimicNOS | apache-2.0 | 60,366 | 1,237 | codeparrot/github-code |
740b42d29c1c6f066983c6282616d6f2ebbcc34f43df0706ba5c871c85a2758e | //
// RKMappingTest.h
// RestKit
//
// Created by Blake Watters on 2/17/12.
// Copyright (c) 2009-2012 RestKit. 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 | Code/Testing/RKMappingTest.h | wanc/RestKit | apache-2.0 | 6,925 | 179 | codeparrot/github-code |
93e1b73fb544d50392c1672be5acba983550f214de57a3bdbdc7864fd2a9383c | /**
* Copyright (C) 2015 Born Informatik AG (www.born.ch)
*
* 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... | Java | wte4j-persistence/src/test/java/org/wte4j/EmbeddedDataBaseWithIdentityConfig.java | ofreivogel/wte4j | apache-2.0 | 3,045 | 84 | codeparrot/github-code |
eb6986260ef5c132bc777711731e780166462f4d979cb29bcc7bcfa744105b5b | package com.m11n.jdbc.ssh.util;
import org.apache.sshd.common.KeyPairProvider;
import org.apache.sshd.server.PublickeyAuthenticator;
import org.apache.sshd.server.auth.CachingPublicKeyAuthenticator;
import org.apache.sshd.server.keyprovider.SimpleGeneratorHostKeyProvider;
import org.apache.sshd.server.session.ServerSe... | Java | src/test/java/com/m11n/jdbc/ssh/util/TestCachingPublicKeyAuthenticator.java | monkeysintown/jdbc-ssh | apache-2.0 | 1,141 | 32 | codeparrot/github-code |
1a5fb48642dfd859ef04dd0d85b88984c5e9cf911c98bcfbc429b3d839778ecc | package io.vertigo.orchestra.plugins.services;
import java.util.Collections;
import java.util.Map;
import java.util.stream.Collectors;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.google.gson.JsonParser;
import io.vertigo.commons.codec.Codec;
/**
* Encodes a map to a simple json (as ... | Java | vertigo-orchestra-impl/src/main/java/io/vertigo/orchestra/plugins/services/MapCodec.java | KleeGroup/vertigo-orchestra | apache-2.0 | 1,002 | 41 | codeparrot/github-code |
b4b337f1f2fe4b7f4d51356e69cacafcc7676dc5acd7f1c408d66ad4861c238e | /*
* 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 | swagger/swagger-invocation/invocation-core/src/test/java/org/apache/servicecomb/swagger/engine/TestSwaggerProducerOperation.java | ServiceComb/java-chassis | apache-2.0 | 1,943 | 44 | codeparrot/github-code |
0453a47b70fc0ddf4f4a726e1149b37e664eda9d3fd0c2cce6d0cd1c47f26be2 | /*
* (c) 2016-2018 Adobe. All rights reserved.
* This file is licensed 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 required by applic... | GO | cfn/stack_states.go | phylake/porter | apache-2.0 | 2,824 | 76 | codeparrot/github-code |
0e7a16bd3bcafc205f7466ee91fddd7c64cdba242074a22ee3f67b8817b35595 | #ifndef __DRV_DISPLAY_H__
#define __DRV_DISPLAY_H__
#include "types.h"
#define __bool signed char
typedef struct {__u8 alpha;__u8 red;__u8 green; __u8 blue; }__disp_color_t;
typedef struct {__s32 x; __s32 y; __u32 width; __u32 height;}__disp_rect_t;
typedef struct {__u32 width;__u32 height; }__disp_... | C | android/frameworks/av/media/CedarX-Projects/CedarX/include/include_platform/CHIP_F50/disp/drv_display.h | indashnet/InDashNet.Open.UN2000 | apache-2.0 | 28,262 | 953 | codeparrot/github-code |
68d992e668184f5836ac26fa09b4cf82871240cc69ab20e1e6762d6462fa80a9 | <?php
/*
* wake_on_lan.widget.php
*
* part of pfSense (https://www.pfsense.org)
* Copyright (c) 2004-2013 BSD Perimeter
* Copyright (c) 2013-2016 Electric Sheep Fencing
* Copyright (c) 2014-2021 Rubicon Communications, LLC (Netgate)
* Copyright (c) 2010 Yehuda Katz
* All rights reserved.
*
* Licensed under t... | PHP | src/usr/local/www/widgets/widgets/wake_on_lan.widget.php | NewEraCracker/pfsense | apache-2.0 | 6,521 | 210 | codeparrot/github-code |
342a344c230f02a933a0ac4aa1513b4a987d706bf97989d2595cc623b4368d84 | # Copyright 2015-2017 Capital One Services, 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 ... | Python | c7n/resources/elb.py | scotwk/cloud-custodian | apache-2.0 | 29,736 | 882 | codeparrot/github-code |
ef04b847cc8965fd0bf547356fc2c2159ca91595f9e3907d2a6363ead91d1a8a | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | Java | flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/streamrecord/StreamElementSerializer.java | Xpray/flink | apache-2.0 | 11,069 | 330 | codeparrot/github-code |
565ca62371630e94e59bc8800a6cacfbcafa2a97892c40214438ca6f52ba4f9c | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<base href="../../" />
<script src="list.js"></script>
<script src="page.js"></script>
<link type="text/css" rel="stylesheet" href="page.css" />
</head>
<body>
[page:Geometry] →
<h1>[name]</h1>
<div class="desc">A class for gener... | HTML | test/three.js-master/docs/api/geometries/CylinderGeometry.html | perryuwang/perryuwang.github.io | apache-2.0 | 2,388 | 68 | codeparrot/github-code |
851abe4be80aaa1bb6b06e40f6de82cdd8f495a398a8dcfdefb4edaeb133ca4d | /* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */
const NOW = Date.now() * 1000;
const URL = "http://fake-site.com/";
let tmp = {};
Cc["@mozilla.org/moz/jssubscript-loader;1"]
.getService(Ci.mozIJSSubScriptLoader)
.loadSubScript("chrome://browser/content/s... | JavaScript | B2G/gecko/browser/base/content/test/newtab/browser_newtab_bug722273.js | sergecodd/FireFox-OS | apache-2.0 | 1,780 | 69 | codeparrot/github-code |
a9e1de8ba54b0282677622d07980778e6359fb5cca450302a8e76ed6bf872661 | /**
* Copyright 2014 Telefonica Investigación y Desarrollo, S.A.U <br>
* This file is part of FI-WARE project.
* <p>
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License.
* </p>
* <p>
* You may obtain a copy of the License at:<br>
*... | Java | core/src/test/java/com/telefonica/euro_iaas/sdc/validation/ProductReleaseValidatorImplTest.java | telefonicaid/fiware-sdc | apache-2.0 | 8,549 | 195 | codeparrot/github-code |
21f738d0956a1c4b4520dd78309b896fb1df415e25ed3ecc153239581e439c78 | /*
* Copyright 2016 requery.io
*
* 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 | requery/src/main/java/io/requery/sql/PooledConnectionProvider.java | sakuna63/requery | apache-2.0 | 1,244 | 40 | codeparrot/github-code |
a8d39b73db4172ef7e7de399edcfec5f25b1efc9c3b81a0a7c13f23ea934faf8 | /*
* Copyright 2012-2017 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-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/influx/InfluxDbProperties.java | lburgazzoli/spring-boot | apache-2.0 | 1,509 | 71 | codeparrot/github-code |
f818ec398e8e916000e4327b1e6b413890fe60cd229819958c9b8d2aee8b39e4 | <?php
namespace Scalr\Service\Aws\Kms;
use Scalr\Service\Aws;
/**
* KmsListDataType
*
* @author Vitaliy Demidov <vitaliy@scalr.com>
* @since 5.9 (19.06.2015)
*/
class KmsListDataType extends Aws\DataType\ListDataType
{
/**
* {@inheritdoc}
* @see \Scalr\Service\Aws\AbstractDataType::getSe... | PHP | app/src/Scalr/Service/Aws/Kms/KmsListDataType.php | kikov79/scalr | apache-2.0 | 1,128 | 50 | codeparrot/github-code |
ccd37dfaf8fdc8398bd83a896594b8a198b69f7ccc5ac0a1fac587fa35d1dce8 | //********************************************************************
// created: 2017-08-30 10:40 PM
// file: exceptions.h
// 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 | src/llrplaps/exceptions.h | icunning/fcvtc | apache-2.0 | 1,563 | 44 | codeparrot/github-code |
e331f442cb806829f7304452aaf4de179c069d25b1aaabdb5aa8de8cf84670ac | /**
* INSTRUKCJA OBSŁUGI
*
* getDeckById(id) - zwraca talię po jej ID
* getDecksByName(name) - zwraca listę talii po nazwie
* getDecks(access) - zwraca wszystkie talie (obiekty typu Deck)
* access: 'public'|'private'
* createNewDeck(name, access) - tworzy (na serwerze) nową talię
* access: 'public'|'priva... | JavaScript | src/app/backend/backend.service.js | blstream/StudyBox_FE | apache-2.0 | 8,053 | 300 | codeparrot/github-code |
634e013a50ef6d77900867943652eaeb08ac1999ed6dfef57df7c240141a1ceb | /*
* Copyright 2017 StreamSets 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 | aws-lib/src/test/java/com/streamsets/pipeline/stage/executor/s3/TestAmazonS3Executor.java | rockmkd/datacollector | apache-2.0 | 12,179 | 340 | codeparrot/github-code |
b3b4a885916f76a89b8da597e5d20199d690c57408bc3b392d31e833f40eb365 | <!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<svg style="height:200px; width:200px;" id="stretch">
<polygon id="outer" points="10,10 190,10 190,190 10,190"
style="fill:lightblue; stroke:red; stroke-width:5" />
<polygon points="100,10 190,100 100,190 10,... | HTML | Christopher Demos/Demos/ResizableSVG.html | GeekTrainer/FrayedKnot | apache-2.0 | 993 | 35 | codeparrot/github-code |
022429cc7bfde87cc23a47989eda731daaf0b713be20207cf915c5458c46f860 | /*
* Copyright (c) 2013 Juniper Networks, Inc. All rights reserved.
*/
#include <sandesh/sandesh_types.h>
#include <sandesh/sandesh.h>
#include <sandesh/request_pipeline.h>
#include <boost/bind.hpp>
#include <boost/assign/list_of.hpp>
#include "base/logging.h"
#include "ifmap/ifmap_client.h"
#include "ifmap/ifmap_... | C++ | src/ifmap/ifmap_xmpp_client_show.cc | tcpcloud/contrail-controller | apache-2.0 | 6,232 | 169 | codeparrot/github-code |
a34cc328e0376304247e3564ebeaaa6003efba7182319ce67106ad38d2ec318a | /*
* 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 n... | Java | bundles/engine/src/main/java/org/apache/sling/engine/impl/helper/ExternalServletContextWrapper.java | MRivas-XumaK/slingBuild | apache-2.0 | 6,748 | 208 | codeparrot/github-code |
669abe917db60870b9035be275748f1303cec01a467b4ce6bacf9e8949c6e320 | /*
* 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 | components/camel-spring/src/test/java/org/apache/camel/spring/processor/SpringRouteTopLevelMisconfiguredTest.java | davidkarlsen/camel | apache-2.0 | 2,907 | 64 | codeparrot/github-code |
70efb27ac6ba20901b6d285a7a45932bd18e8e093318838c41ba84bbf672201e | /*
* Copyright 2013-2016 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 b... | Java | src/main/java/com/expedia/seiso/domain/entity/ServiceInstancePort.java | ExpediaDotCom/seiso | apache-2.0 | 2,112 | 70 | codeparrot/github-code |
2c0e3eff7a0ca8be1c89a78691915df07b004a8b9f699e37d2044965a09f1c0a | /*
* 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 | hyracks-fullstack/algebricks/algebricks-rewriter/src/main/java/org/apache/hyracks/algebricks/rewriter/rules/PushGroupByIntoSortRule.java | waans11/incubator-asterixdb | apache-2.0 | 8,245 | 155 | codeparrot/github-code |
8a79739d226115d5eab84a76f4f7ea02f365fd440a101d38d7b7641f33330742 | package VSAP::Server::Modules::vsap::sys::security;
use 5.008004;
use strict;
use warnings;
use Carp;
use VSAP::Server::Modules::vsap::logger;
our $VERSION = '0.01';
our %_ERR = (
ERR_NOTAUTHORIZED => 100,
);
use constant LOCK_EX => 2;
##########################################################################... | Perl | modules/VSAP-Server-Modules-vsap-sys-security/lib/VSAP/Server/Modules/vsap/sys/security.pm | opencpx/opencpx | apache-2.0 | 5,217 | 207 | codeparrot/github-code |
d470867d4a27bcae6a6e04557c0552e28e0fa5dd62d71be3b73bd77c363d1d68 | package com.daxiang.android.utils;
import java.io.BufferedOutputStream;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import android.content.ContentResolver;
import android.cont... | Java | src/com/daxiang/android/utils/BitmapUtils.java | vivdaxiang/DaXiangLibrary | apache-2.0 | 6,671 | 265 | codeparrot/github-code |
969748f42acc0775912bfb2333a4fd9f8e5d6cd1a4aefb62dc47f1736d0be396 | <!--
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 ... | HTML | docs/quickstart.html | TiVo/kafka | apache-2.0 | 16,036 | 343 | codeparrot/github-code |
05f265274af40025842a93816cb61ba904929f00a808fcf2801cc646d111db50 | <?php
namespace Ghalf;
use Ghalf\Exception\LoadFailed;
final class Loader {
protected static $_instance = null;
/**
* 已注册本地类库命名空间
*
* @var string
*/
protected $_local_namespace = null;
/**
* 全局配置
*
* @var GlobalConfig
*/
protected $_global = null;
/... | PHP | Ghalf/Loader.php | Gsinhi/Ghalf | apache-2.0 | 7,469 | 289 | codeparrot/github-code |
ec069122b4ea59eba45837cbca03e3cafa70f4cf3d68b4bb560b26dc4f24a48e | #!/usr/bin/python
#
# 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 b... | Python | python/v3_5/get_user_role_permissions.py | googleads/googleads-dfa-reporting-samples | apache-2.0 | 2,245 | 73 | codeparrot/github-code |
fc36bcf137c642fc62b0c5afe604a713d942982bd6eceb66f703f210a12bffb4 | // Copyright 2000-2021 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.util.containers;
import com.intellij.reference.SoftReference;
import com.intellij.util.IncorrectOperationException;
import org.jetbrains.annotations.Debug;
i... | Java | platform/util/src/com/intellij/util/containers/RefValueHashMap.java | ingokegel/intellij-community | apache-2.0 | 3,797 | 144 | codeparrot/github-code |
6f5ec466095f1f104af7f10ac7be11917699cf713434421dd5e2fcfee3ef2efe | <?php
final class PhabricatorTokenGiveController extends PhabricatorTokenController {
public function handleRequest(AphrontRequest $request) {
$viewer = $request->getViewer();
$phid = $request->getURIData('phid');
$handle = id(new PhabricatorHandleQuery())
->setViewer($viewer)
->withPHIDs(ar... | PHP | src/applications/tokens/controller/PhabricatorTokenGiveController.php | hach-que/phabricator | apache-2.0 | 3,111 | 125 | codeparrot/github-code |
e5bc0da5447396a01768620f529bd821dfd11f27b865dbcd20f519724dca9732 | /*
Derby - Class org.apache.derby.impl.sql.compile.HasNodeVisitor
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 yo... | Java | java/engine/org/apache/derby/impl/sql/compile/HasNodeVisitor.java | kavin256/Derby | apache-2.0 | 3,292 | 147 | codeparrot/github-code |
65113362c1ef8a9fd239feb0f12ad9e703d4d141bd3f9da329f878b96b528515 | package org.sagebionetworks.web.shared;
import org.sagebionetworks.repo.model.entitybundle.v2.EntityBundle;
import com.google.gwt.user.client.rpc.IsSerializable;
/**
* This class is to transfer an entity bundle, plus any additional data from service calls, into a
* single servlet call from the client. Initially thi... | Java | src/main/java/org/sagebionetworks/web/shared/EntityBundlePlus.java | Sage-Bionetworks/SynapseWebClient | apache-2.0 | 1,863 | 68 | codeparrot/github-code |
ae497603021b9df50b516d0660830f3d9a0c3a194b6b714cc0d91030cda52629 | /*
* 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-workspaces/source/model/Tag.cpp | cedral/aws-sdk-cpp | apache-2.0 | 1,575 | 85 | codeparrot/github-code |
dd869c8fef7725e523a96dfac2ea6deb964634b734c060cf9964ca75675f5f18 | // Copyright 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 applicable ... | Java | tapestry-examples/VlibBeans/src/org/apache/tapestry/vlib/ejb/MasterQueryParameters.java | apache/tapestry3 | apache-2.0 | 2,248 | 97 | codeparrot/github-code |
01337a785b2c51a97b1b13ec131cf3ea6015b59fdf2dc153156db27fb376e1ab | /**
* 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 m... | C++ | xsec/enc/WinCAPI/WinCAPICryptoKeyDSA.cpp | apache/santuario-cpp | apache-2.0 | 16,162 | 778 | codeparrot/github-code |
5798341fba0eecafe659dd30610f65573fe10baed947fb66c5872546820d29a7 | /**
* Copyright © 2014 - 2017 Leipzig University (Database Research Group)
*
* 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 | gradoop-flink/src/test/java/org/gradoop/flink/model/impl/layouts/GraphCollectionLayoutFactoryTest.java | p3et/gradoop | apache-2.0 | 10,903 | 231 | codeparrot/github-code |
1988c1c8f6323f3de5263a0093602778a4325ee3e251fc95478fd90650f8e6da | #! /usr/bin/env python
import sys
import yaml
import subprocess
USAGE = """USAGE:
{command} NAME NAMESPACE IMAGE [KEY=VALUE]* [@FILE]*
NAME: the name of the secret to create/replace
NAMESPACE: the target namespace of the secret. It should be the namespace of the broker for most usecases
IMAGE: the do... | Python | scripts/create_broker_secret.py | jmontleon/ansible-service-broker | apache-2.0 | 4,268 | 143 | codeparrot/github-code |
da51b5034070ec1351e96dca35c96010b4ad8197aa5c82b79b796ae7b0f006bc | // Copyright 2021 The KeepTry Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... | Java | arrows/src/main/java/map/Leetcode1570DotProductofTwoSparseVectors.java | BruceZu/sawdust | apache-2.0 | 1,373 | 47 | codeparrot/github-code |
bf5a4f838c5e940a1a2961d0a836c5a330083311614e745eb129d445a4e7c3e6 | /*
*
* 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"); y... | C++ | src/qpid/client/ConnectionSettings.cpp | irinabov/debian-qpid-cpp-1.35.0 | apache-2.0 | 1,623 | 59 | codeparrot/github-code |
91f13c1b153804130c4d5fa92022643ca1d4baabde2045801fc9cb7cc7de5c5c | /**
* @license
* Copyright 2014 Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requir... | JavaScript | js/foam/ui/ListInputView.js | jlhughes/foam | apache-2.0 | 5,438 | 190 | codeparrot/github-code |
83e33d10442b671d1489e3ed446a7f4a7f3dc07d7814f886e0849cb6844c64e8 | /*
* 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 n... | Java | connect/transforms/src/main/java/org/apache/kafka/connect/transforms/MaskField.java | ijuma/kafka | apache-2.0 | 6,648 | 172 | codeparrot/github-code |
50fac085ae64b1b9dd162e1f38ceb58cb0e68c23228b49b30f989cc3fe972c9d | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="de">
<head>
<title>ARXConfiguration.Monotonicity (ARX Developer Documentation)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
</head>
<... | HTML | doc/dev/org/deidentifier/arx/ARXConfiguration.Monotonicity.html | kentoa/arx | apache-2.0 | 13,526 | 346 | codeparrot/github-code |
8206a2fccddc7e02b133ee22516aa84bf41f9c9f22efa19a77ec9c3ce08d5cd5 | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using Microsoft.CodeAnalysis.Operation... | C# | src/Compilers/Core/Portable/Operations/ControlFlowGraph.cs | paulvanbrenk/roslyn | apache-2.0 | 11,468 | 243 | codeparrot/github-code |
798bade835908929ad2812ef873fb5753d4533aa56f885ea88635db7b9de0227 | /*
* Copyright (c) 2006, Aleksey Cheusov <vle@gmx.net>
*
* Permission to use, copy, modify, distribute and sell this software
* and its documentation for any purpose is hereby granted without
* fee, provided that the above copyright notice appear in all copies
* and that both that copyright notice and this permis... | C | include/3rdparty/am/judyhash/judy_set_m.h | izenecloud/izenelib | apache-2.0 | 1,566 | 58 | codeparrot/github-code |
d2b017b2cbdc1aec043bf821cba34d946d9cd30ae7c4a9009ed06fe03cd023a4 | /*
* 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 u... | JavaScript | blocks/cocoon-ajax/cocoon-ajax-impl/src/main/resources/COB-INF/system/System.JSON.js | apache/cocoon | apache-2.0 | 4,347 | 128 | codeparrot/github-code |
304080709a72e4ed33d6239827cffeb7629a9d1475b76761d29cfff2ebaa35c1 | package org.apereo.cas.token.authentication.principal;
import org.apereo.cas.CasProtocolConstants;
import org.apereo.cas.authentication.CoreAuthenticationTestUtils;
import org.apereo.cas.authentication.principal.ResponseBuilder;
import org.apereo.cas.authentication.principal.ServiceFactory;
import org.apereo.cas.authe... | Java | support/cas-server-support-token-tickets/src/test/java/org/apereo/cas/token/authentication/principal/TokenWebApplicationServiceResponseBuilderTests.java | rrenomeron/cas | apache-2.0 | 6,109 | 137 | codeparrot/github-code |
df292244a3b75c453c202d377baf735697cbe82418b0b99a5b48d7357f84ea37 | /*
* 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 | components/camel-corda/src/main/java/org/apache/camel/component/corda/CordaEndpoint.java | ullgren/camel | apache-2.0 | 3,064 | 85 | codeparrot/github-code |
223f93155ea8209d8bf41e77b64fe3667b6175b91c04d8a397f4366288834710 | package eu.uqasar.service.similarity;
/*
* #%L
* U-QASAR
* %%
* Copyright (C) 2012 - 2015 U-QASAR Consortium
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www... | Java | src/main/java/eu/uqasar/service/similarity/ProjectSimilarityService.java | schlotze/u-qasar.platform | apache-2.0 | 5,590 | 157 | codeparrot/github-code |
29e77da88338285119af5394fa881d15431ffb1e609ae306e878179342432687 | using NUnit.Framework;
namespace StructureMap.Testing.Configuration.DSL
{
[TestFixture]
public class ProgrammaticConstructorSelectionTester
{
[Test]
public void override_constructor_selection_in_code()
{
var container = new Container(x =>
{
... | C# | Source/StructureMap.Testing/Configuration/DSL/ProgrammaticConstructorSelectionTester.cs | chester89/structuremap-35-client | apache-2.0 | 1,174 | 43 | codeparrot/github-code |
b0c3b5078b2fbf343b2652e7888183fb244175aabe1f2e05716351964fb528df | /**
* Copyright 2009 sshj contributors
*
* 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 | src/main/java/net/schmizz/sshj/transport/Reader.java | bluekeyes/sshj | apache-2.0 | 2,198 | 76 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.