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
17f7a37eeffac609322ee2aa653e21f29c7f6bbd435fc71ccee599db6de9f9f4
// Tar/Handler.h #ifndef __TAR_HANDLER_H #define __TAR_HANDLER_H #include "Common/MyCom.h" #include "../IArchive.h" #include "TarItem.h" namespace NArchive { namespace NTar { class CHandler: public IInArchive, public IOutArchive, public CMyUnknownImp { public: MY_UNKNOWN_IMP2( IInA...
C
src/7z/CPP/7zip/Archive/Tar/TarHandler.h
linuxmint/mint4win
gpl-2.0
509
36
codeparrot/github-code
f2772759b1ef5d1d3aadcf9020195dcec3d4aa20d27ce84f26a64aea98b81851
/* * (C) Copyright 2009 * Graeme Russ, <graeme.russ@gmail.com> * * (C) Copyright 2007 * Daniel Hellstrom, Gaisler Research, <daniel@gaisler.com> * * (C) Copyright 2006 * Detlev Zundel, DENX Software Engineering, <dzu@denx.de> * * (C) Copyright -2003 * Wolfgang Denk, DENX Software Engineering, <wd@denx.de> *...
C
cortexm_uclinux-master/uboot/u-boot-2011.06/arch/x86/lib/interrupts.c
hujiafu/lpc1788_uclinux
gpl-2.0
3,888
162
codeparrot/github-code
05f6d22e0413306932c7f926e6351a7b453336be987305eb3651237279271c62
/* * Copyright (C) 2010-2013 by Jonathan Naylor G4KLX * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later ver...
C
ircDDBGateway/Common/DExtraProtocolHandler.h
F4FXL/OpenDV
gpl-2.0
2,026
80
codeparrot/github-code
2b795c7532b1d45fcb42b2888184446f448466ccffdf7f3de3fb6c7fb6022bed
#ifndef _LINUX_JHASH_H #define _LINUX_JHASH_H /* jhash.h: Jenkins hash support. * * Copyright (C) 2006. Bob Jenkins (bob_jenkins@burtleburtle.net) * * https://burtleburtle.net/bob/hash/ * * These are the credits from Bob's sources: * * lookup3.c, by Bob Jenkins, May 2006, Public Domain. * * These are functio...
C
include/linux/jhash.h
penberg/linux
gpl-2.0
4,732
175
codeparrot/github-code
d6c97eb94bcec1885f598212d1a15c73ba546edd188b36438d77c2c09ff73563
/* * Copyright (C) 2011,2012,2013 by Jonathan Naylor G4KLX * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any late...
C
SystemFusionRepeater/DStarRepeater/DStarRepeaterStatusData.h
n8ohu/OpenSystemFusion
gpl-2.0
3,547
107
codeparrot/github-code
a86aa6cc60ee86cade5096f0ac7012b6529e990f9de6167cede9f37f27345250
<?php /** * Zend Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://framework.zend.com/license/new-bsd * If you did not receive a copy of the license an...
PHP
wecenter/system/Zend/Db/Adapter/Pdo/Ibm/Db2.php
default1406/PhyLab
gpl-2.0
7,522
229
codeparrot/github-code
5538dd56a5a8a36b9d62b32b2fccfe84a6f772b102c6e8a8f5e5ab477e977fde
#include <asm/io.h> #include <linux/bitops.h> #include <asm/uaccess.h> // copy_to_user and copy_from_user #include <linux/init.h> // modules #include <linux/module.h> // module #include <linux/types.h> // dev_t type #include <linux/fs.h> // chrdev allocation #include <linux/sl...
C
target/linux/ox810/files/arch/arm/mach-oxnas/gpioTest.c
choushane/MaRa-a1a0a5aNaL
gpl-2.0
23,598
658
codeparrot/github-code
49ff769fe90a41737d720eb4e887565e7e0c3d9c38d135f331f2008a879a32c5
/* * TriCore Baseboard System emulation. * * Copyright (c) 2013-2014 Bastian Koppelmann C-Lab/University Paderborn * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * versi...
C
hw/tricore/tricore_testboard.c
dslutz/qemu
gpl-2.0
3,804
112
codeparrot/github-code
a4d17028519d709bcdf0bd3b35192899ebe343a31435e8e1f1ea8745b5a3fb7a
/* Copyright (c) 2011, Code Aurora Forum. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the hope th...
C
drivers/video/msm/mipi_r61529_cmd_hvga_pt.c
CyanogenMod/lge-kernel-p700
gpl-2.0
3,033
110
codeparrot/github-code
b25e68a93695665eae89eed75bcd8493eab8a4272ed48e38927b182aa425cce4
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- #pragma once #include <AP_Common/AP_Common.h> #include <AP_Param/AP_Param.h> #include <AP_Math/AP_Math.h> #include <AP_Common/Location.h> #include <AP_InertialNav/AP_InertialNav.h> // Inertial Navigation library #include <AC_AttitudeCont...
C
libraries/AC_WPNav/AC_WPNav.h
celarco/ardupilot
gpl-3.0
22,556
369
codeparrot/github-code
66a842481ab45993482480172e528ff81e65db48136ee150ed579a8e0237183e
using System.Collections.Generic; using System.Web.Mvc; using SmartStore.Web.Framework; using SmartStore.Web.Framework.Modelling; namespace SmartStore.OfflinePayment.Models { public abstract class PaymentInfoModelBase : ModelBase { public string DescriptionText { get; set; } } public class CashOnDelivery...
C#
src/Plugins/SmartStore.OfflinePayment/Models/PaymentInfoModel.cs
nitware/estore
gpl-3.0
3,246
106
codeparrot/github-code
64638f942164b92e91550fd3515f3d024fc9f76c4b8fc8a247e0d614b90e40b1
/* Storybook: Open Source software for novelists and authors. Copyright (C) 2008 - 2012 Martin Mustun This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your opti...
Java
src/storybook/test/ui/UiTestTemplate.java
akshayinbox/SE410-oStorybook
gpl-3.0
1,679
71
codeparrot/github-code
90989dc265d350788bb9db15d1a53f56056a05a138653ae48ad880358ef0c432
/* * Taps of Fire * Copyright (C) 2009 Dmitry Skiba * * This program is free software: you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation, either version 3 of * the License, or (at your option) any later version. ...
Java
src/org/tof/song/EventListBuilder.java
MrLoick/tapsoffire
gpl-3.0
3,828
147
codeparrot/github-code
f72cef45e0bb92444525e9a3707f243afc56e94d2392adbfef1048d3ad87ba36
/* * AC-3 DSP functions * Copyright (c) 2011 Justin Ruggles * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (...
C
oss/qt/qt-everywhere-opensource-src-5.9.0/qtwebengine/src/3rdparty/chromium/third_party/ffmpeg/libavcodec/ac3dsp.c
geminy/aidear
gpl-3.0
9,176
303
codeparrot/github-code
df8427aeeae43cfc5682c52356420023c32e2cea58f9940735cd6d10e013af60
#region License // Copyright (c) 2013, ClearCanvas Inc. // All rights reserved. // http://www.clearcanvas.ca // // This file is part of the ClearCanvas RIS/PACS open source project. // // The ClearCanvas RIS/PACS open source project is free software: you can // redistribute it and/or modify it under the terms...
C#
ImageServer/Web/Common/Data/PartitionArchiveConfigController.cs
chinapacs/ImageViewer
gpl-3.0
5,873
145
codeparrot/github-code
81e56d82797c363a0d0bb82b0ea07eb51dfdbccbc01446aab6f32cd73f823fa8
/** * Copyright (c) 2010 Daniel Murphy * * 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, publ...
Java
src/tk/wurst_client/analytics/AnalyticsConfigData.java
crafter6789/Wurst-MC-1.11
mpl-2.0
4,639
200
codeparrot/github-code
ec882a473ec2d9af095ece0b11aa30cea0ce483137adc283a3f6f0e759334e26
/* GAIL - The GNOME Accessibility Implementation Library * Copyright 2001 Sun Microsystems Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the License, ...
C
modules/other/gail/gailhtmlboxtext.c
johne53/MB3Gtk-2
lgpl-2.1
20,439
471
codeparrot/github-code
e0197bc4c8b9e8f1477bc58426e553a48c5fa6f6dc058c60dc149d888d62c3a9
/*************************************************************************** * Copyright (c) 2013 Werner Mayer <wmayer[at]users.sourceforge.net> * * * * This file is part of the FreeCAD CAx development system. * * ...
C
src/Mod/Fem/Gui/ActiveAnalysisObserver.h
cypsun/FreeCAD
lgpl-2.1
2,832
69
codeparrot/github-code
07ca0070afa9108fcf5c30c38f63a52adfcf6d7a4467981fe08d7d6dde9589e3
//////////////////////////////////////////////////////////////////////////////// // checkstyle: Checks Java source code for adherence to a set of rules. // Copyright (C) 2001-2015 the original author or authors. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU ...
Java
src/test/java/com/puppycrawl/tools/checkstyle/checks/coding/InnerAssignmentCheckTest.java
beckerhd/checkstyle
lgpl-2.1
3,382
79
codeparrot/github-code
a4d096b57c6314740821e84a8af508525d6f9f0e9270d9090c7b3f61770d8b53
/*========================================================================= Program: Visualization Toolkit Module: vtkOpenGLPainterDeviceAdapter.h Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. Th...
C
lib/vtk/include/Rendering/OpenGL/vtkOpenGLPainterDeviceAdapter.h
gisfromscratch/datavisualizer
apache-2.0
4,758
138
codeparrot/github-code
933939a66038259ea191fd4d2f1e0f078f59802da2e5b9c62df60faac06f82e1
/*========================================================================= * * Copyright Insight Software Consortium * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * h...
C
Modules/Filtering/ImageSources/include/itkGenerateImageSource.h
biotrump/ITK
apache-2.0
3,980
121
codeparrot/github-code
3bbd46fe9c0098742de8d9cc1c37c8e5c82745286291ef6e182508e97468547b
/* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
JavaScript
modules/flowable-ui/flowable-ui-modeler-frontend/src/main/resources/static/modeler/display-cmmn/displaymodel.js
dbmalkovsky/flowable-engine
apache-2.0
7,798
273
codeparrot/github-code
ddf0dae817bd394e4aa1be5133904454d6c2a2d2ee0fcb1aab3f8af42d32f896
/**************************************************************************** * * Copyright 2019 NXP Semiconductors All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at ...
C
os/board/imxrt1020-evk/src/imxrt_flexspi_nor_flash.h
jsdosa/TizenRT
apache-2.0
13,899
366
codeparrot/github-code
76462c034367a9c0361943d0370ae64fd608f3d6fcd2b556a8fa7b456d4ada74
/** * Copyright 2014 Atos * Contact: Atos <roman.sosa@atos.net> * * 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
sla/sla-core/sla-service/src/main/java/eu/atos/sla/service/types/AgreementParam.java
MicheleGuerriero/SeaCloudsPlatform
apache-2.0
1,273
42
codeparrot/github-code
730f458f193cf90242767728bf3647b8642e640051a180af547f9e6b33b7814c
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #nullable disable using System; using System.Collections.Generic; using System.Collections.Immutable; using System...
C#
src/Workspaces/Core/Portable/LinkedFileDiffMerging/LinkedFileDiffMergingSession.cs
physhi/roslyn
apache-2.0
16,290
339
codeparrot/github-code
8114bd5ba1278687b92e0bee886f8969e8d3ad2a711951b60a4086dff422fc02
<HTML> <!-- Copyright (c) Jeremy Siek 2000 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) --> <Head> <Title>PropertyGraph</Title> <BODY BGCOLOR="#ffffff" LINK="#0000ee" TEXT="#000000"...
HTML
libs/boost/libs/graph/doc/PropertyGraph.html
flingone/frameworks_base_cmds_remoted
apache-2.0
5,725
211
codeparrot/github-code
7d1bba3d48927085e7e4d7d2d247195eda7dcb2e365d0b5a3050c1ef90c683fe
/* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
Java
engine/src/main/java/org/camunda/bpm/engine/impl/jobexecutor/MessageAddedNotification.java
nagyistoce/camunda-bpm-platform
apache-2.0
1,254
39
codeparrot/github-code
ad8fb8e9f6a688c26b8e45cca170bac68df7cd7cd1e5b113682a065885c9c6c5
/******************************************************************************* * Copyright 2014 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:...
Java
src/main/java/net/onrc/openvirtex/elements/datapath/DPIDandPortPair.java
fnkhan/New
apache-2.0
2,132
73
codeparrot/github-code
a5598612c19475e5307fb192e627a241136909331bea7fdb8f84270fb2aab556
/* * 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/test/java/org/elasticsearch/search/aggregations/bucket/ShardReduceIT.java
HonzaKral/elasticsearch
apache-2.0
15,885
327
codeparrot/github-code
8036d0f104f3fb1e210b9953926bec1c6c6204a9c2b2fddab21114a693dfcbfd
/* * Copyright (c) 2014, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/li...
Java
components/oauth/org.wso2.carbon.identity.oauth/src/main/java/org/wso2/carbon/identity/oauth/cache/AuthorizationGrantCache.java
bastiaanb/carbon-identity
apache-2.0
3,580
84
codeparrot/github-code
36ea127b3b2cf2a6b11b459a5f231bc6af21fcc302da567dc3c0abe4a0441bb9
package org.zstack.header.storage.primary; import org.zstack.header.message.APIReply; import java.util.List; /** *@apiResult * * api reply for message :ref:`APIGetPrimaryStorageAllocatorStrategiesMsg` * *@since 0.1.0 * *@example * * { "org.zstack.header.storage.primary.APIGetPrimaryStorageAl...
Java
header/src/main/java/org/zstack/header/storage/primary/APIGetPrimaryStorageAllocatorStrategiesReply.java
SoftwareKing/zstack
apache-2.0
1,027
41
codeparrot/github-code
d3958f5374a24c52508dc99b060bfca7d1f96e6b4289e7e8761ed44999270cb8
/** * 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-websocket/src/test/java/org/apache/camel/component/websocket/MemoryWebsocketStoreTest.java
curso007/camel
apache-2.0
5,330
167
codeparrot/github-code
72eb1695ca4b468f1493f4cee16031fedba473a91b530fa5337735969ad2711d
// Copyright 2012 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. // // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license // <LICENSE-MIT or ...
Rust
src/test/run-pass/new-box.rs
jmesmon/rust
apache-2.0
858
41
codeparrot/github-code
b84b815bd28434db565135510cb216a831ba4af6b3ceda5833b616b8cbaf0c60
/* * 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/streamstatus/StatusWatermarkValve.java
GJL/flink
apache-2.0
10,474
236
codeparrot/github-code
468d0d9cb6de137a23ff8d0de15d1d1b35c8e415e858b2012d15b94fcbc91570
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (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.mozilla.org/MPL/ * ...
Java
dcm4jboss-all/tags/DCM4CHEE_2_17_3/dcm4jboss-hl7/src/java/org/dcm4chex/archive/hl7/MDMService.java
medicayun/medicayundicom
apache-2.0
4,275
111
codeparrot/github-code
c1137bc207cc16760047d68b2d511ca11354b1b8ad7bd983019f3d75ce17e853
/*============================================================================= Copyright (c) 2001-2011 Joel de Guzman 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) ====================================...
C++
libs/boost/libs/spirit/example/qi/compiler_tutorial/mini_c/error_handler.hpp
flingone/frameworks_base_cmds_remoted
apache-2.0
2,986
94
codeparrot/github-code
8de4ddada76ebb3decf465165187b3fea6c339479828589167ee30c5ae25d8bc
/* * 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-connectors/flink-connector-files/src/test/java/org/apache/flink/connector/file/table/stream/compact/AbstractCompactTestBase.java
apache/flink
apache-2.0
1,852
59
codeparrot/github-code
83dd9bcaf525dd72f755a5b2f80bdd1834cdd114ac32487eb98f9ed7e28c7001
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
Java
modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheTxInvokeTest.java
akuznetsov-gridgain/ignite
apache-2.0
1,581
50
codeparrot/github-code
e3a475b8b2ff6ab773083724c49711494f1ffc9f9e74072c2a48cb9c10e85f22
/* * 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
jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/PredicateDerefQuery.java
Kast0rTr0y/jackrabbit
apache-2.0
11,364
370
codeparrot/github-code
ae66d8164cf0709d7d9de7e7cc891306133fb5562ee0aae405c0367649d22669
package org.dashbuilder.renderer.chartjs.lib; import com.google.gwt.core.client.JavaScriptObject; import com.google.gwt.user.client.rpc.AsyncCallback; import org.dashbuilder.renderer.chartjs.lib.data.AreaChartData; import org.dashbuilder.renderer.chartjs.lib.data.AreaChartDataProvider; public class LineC...
Java
dashbuilder-client/dashbuilder-renderers/dashbuilder-renderer-chartjs/src/main/java/org/dashbuilder/renderer/chartjs/lib/LineChart.java
dgutierr/dashbuilder
apache-2.0
1,923
63
codeparrot/github-code
e4a95734952775f92d0a04cefae33f758677afe51e4e484210d689c5bd133134
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"...
Java
tools/groovy/src/src/main/org/codehaus/groovy/transform/sc/transformers/CastExpressionOptimizer.java
OpenBEL/bel-nav
apache-2.0
3,731
81
codeparrot/github-code
ace85db00c5b757113f0579bd475e46fcd934d16cbf191d0ac4427c1ec307183
#!/usr/bin/env python from __future__ import print_function import sys import glob import subprocess import sys import logging import dateutil.parser import pytz from datetime import datetime, timedelta if False: from typing import Dict, List logging.basicConfig(format="%(asctime)s %(levelname)s: %(message)s") l...
Python
puppet/zulip/files/postgresql/pg_backup_and_purge.py
dawran6/zulip
apache-2.0
1,945
64
codeparrot/github-code
b78a3af770f2a2761f46a09471e163d984db83a349de3a00c936233b3dd702ca
/* * 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/main/scala/org/apache/flink/table/planner/utils/PlanUtil.scala
hequn8128/flink
apache-2.0
2,549
82
codeparrot/github-code
249952bd9237f57a2523587bb21127ebb51f8c89f5c32fb64ab2c082c38571d3
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_WIPEOUT_H_ #define CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_WIPEOUT_H_ #include <list> #include <string>...
C
third_party/webrtc/include/chromium/src/chrome/service/cloud_print/cloud_print_wipeout.h
ssaroha/node-webrtc
bsd-2-clause
1,893
64
codeparrot/github-code
81ed4ef3c0755790cfc2fac4e9d731f4d543ff3233abf852d557b455e4177ef4
using System; using System.Globalization; using System.Xml; using JetBrains.Annotations; using Orchard.Comments.Models; using Orchard.ContentManagement; using Orchard.ContentManagement.Drivers; using Orchard.ContentManagement.Aspects; using Orchard.Services; using Orchard.Localization; using Orchard.Comments....
C#
src/Orchard.Web/Modules/Orchard.Comments/Drivers/CommentPartDriver.cs
asabbott/chicagodevnet-website
bsd-3-clause
11,584
238
codeparrot/github-code
4d889b24873330754c624096b7659095f23538b4d53cf7ad6c07eab09cb3a85b
package org.motechproject.security.it; import org.junit.After; import org.junit.Before; import org.junit.Test; import org.motechproject.security.constants.PermissionNames; import org.motechproject.security.domain.MotechRole; import org.motechproject.security.model.SecurityConfigDto; import org.motechproject.security.m...
Java
platform/web-security/src/test/java/org/motechproject/security/it/MotechURLSecurityServiceBundleIT.java
tstalka/motech
bsd-3-clause
6,533
161
codeparrot/github-code
e24d35a800e191ac55f29a80cc9c7a2ea365d5bd4c628b8e5a67160719b187bd
// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_CLASSIFIER_H_ #define CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_CLASSIFIER_H_ #pragma once #include <...
C
chrome/browser/autocomplete/autocomplete_classifier.h
aYukiSekiguchi/ACCESS-Chromium
bsd-3-clause
2,193
57
codeparrot/github-code
471b468b6b78d4865914a76c77892229f9ec585eae22cb152d6ada9749874048
//===- lib/ReaderWriter/MachO/ShimPass.cpp -------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------...
C++
third_party/llvm/lld/lib/ReaderWriter/MachO/ShimPass.cpp
endlessm/chromium-browser
bsd-3-clause
4,701
129
codeparrot/github-code
bf264f757db6cdb34f5ec4c08ce79d68a8cbe2542b42469f744f3df534d4db1b
// Copyright 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CC_TREES_DAMAGE_TRACKER_H_ #define CC_TREES_DAMAGE_TRACKER_H_ #include <vector> #include "base/macros.h" #include "base/memory/scoped_ptr.h" #inc...
C
cc/trees/damage_tracker.h
js0701/chromium-crosswalk
bsd-3-clause
2,776
95
codeparrot/github-code
769f99ae67daaf9ec84df320b58528962369c98c8b78032f3c1fd7a49ca6b251
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <stddef.h> #include <string> #include "base/strings/string_piece.h" #include "base/strings/utf_string_conversions.h" #include "testing/gtes...
C++
chromium/base/strings/string_piece_unittest.cc
ric2b/Vivaldi-browser
bsd-3-clause
31,060
892
codeparrot/github-code
55ea746b39c3d50e73708675c996d82ac4ce0b8f57ffd4d7d25a69461dfbae67
/**************************************************************************** Copyright (c) 2013 cocos2d-x.org http://www.cocos2d-x.org 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 res...
C++
samples/SwiftTetris/cocos2d/cocos/editor-support/cocostudio/ActionTimeline/CCFrame.cpp
TukekeSoft/cocos2d-x-samples
mit
12,200
623
codeparrot/github-code
2eb51190965f223a453036d13651bdce428bd908ef77b76503f391dbae37fd62
(function(){ angular.module('eventModule', []) .factory('MainTitle', [function () { return { title:"Young Game Maker" }; }]) .config([function () { console.log("Event Module:: config"); }]) .run([function () { console.log("Event Module::running"); }]) .controller('EventCtrl', ['$scope', 'MainTitle',function...
JavaScript
03-Expressions&Filters/04-BuiltInFilters/app/event/eventModule.js
MicrosoftLearning/MVAAngular
mit
2,247
120
codeparrot/github-code
22913673a4e9a7a17e06125f52360a0dec786cc302119c940b524011ea0be2c4
Elm.Native.Text = {}; Elm.Native.Text.make = function(localRuntime) { localRuntime.Native = localRuntime.Native || {}; localRuntime.Native.Text = localRuntime.Native.Text || {}; if (localRuntime.Native.Text.values) { return localRuntime.Native.Text.values; } var toCss = Elm.Native.Color.make(localRuntime).toCs...
JavaScript
testapp/elm/elm-todomvc/.elm/elm-stuff/packages/elm-lang/core/2.1.0/src/Native/Text.js
thatguyhampton/meteor-elm-compiler
mit
4,928
288
codeparrot/github-code
b3e5f951bcf909f04d9f4ddbac5fe85fa8ed65623da7cbfa8863257715665533
// Type definitions for @keystonejs/keystone 7.0 // Project: https://github.com/keystonejs/keystone // Definitions by: Kevin Brown <https://github.com/thekevinbrown> // Timothee Clain <https://github.com/tclain> // Abhijith Vijayan <https://github.com/abhijithvijayan> // Definitions: htt...
TypeScript
types/keystonejs__keystone/index.d.ts
georgemarshall/DefinitelyTyped
mit
9,583
259
codeparrot/github-code
7e171b7cd0353b7208e0fb8b543c88061ce1906ab7072d1472abef3e853ab46b
<?php include_once('class.swpm-protection-base.php'); class SwpmPermission extends SwpmProtectionBase { private static $_this = array(); private function __construct($level_id) { $this->init($level_id); } public static function get_instance($level_id) { if ($level_id == 1 || $level_...
PHP
www/wordpress/wordpress/wp-content/plugins/simple-membership/classes/class.swpm-permission.php
924ge/xpoint21
mit
2,093
66
codeparrot/github-code
7df0156a976262dd185802de9469b1f9e5be060a0144fabd29a215673e057f3f
/** * Ajax Queue Plugin * * Homepage: http://jquery.com/plugins/project/ajaxqueue * Documentation: http://docs.jquery.com/AjaxQueue */ /** <script> $(function(){ jQuery.ajaxQueue({ url: "test.php", success: function(html){ jQuery("ul").append(html); } }); jQuery.ajaxQueue({ url: "test.php", success: ...
JavaScript
web/js/jquery-ajax-queue.js
sanjeevan/codelovely
mit
2,189
95
codeparrot/github-code
8c2c3845fbf0fc497443da35428553c29d3995d38a8220d893e049963c6692a7
/** * @license AngularJS v1.7.0 * (c) 2010-2018 Google, Inc. http://angularjs.org * License: MIT */ (function(window, angular) {'use strict'; /** * @ngdoc module * @name ngAria * @description * * The `ngAria` module provides support for common * [<abbr title="Accessible Rich Internet Applications">ARIA</abbr...
JavaScript
libs/angular-includes/angular-aria.js
ChicoBitcoinJoe/Community
mit
15,467
405
codeparrot/github-code
0247e9b8bb6cb4332929c0dc6541de83466140491b57ef7d08898cf649e7e644
//****************************************************************************** // // Copyright (c) Microsoft. All rights reserved. // // This code is licensed under the MIT License (MIT). // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARR...
C
include/CoreGraphics/CGPDFObject.h
pradipd/WinObjC
mit
1,440
38
codeparrot/github-code
882448d6c780ae427f30dee6b7ad9c12a71c402d31ad1a2857e3788e1da9a72d
// SPDX-License-Identifier: GPL-2.0-or-later /* * TUN - Universal TUN/TAP device driver. * Copyright (C) 1999-2002 Maxim Krasnyansky <maxk@qualcomm.com> * * $Id: tun.c,v 1.15 2002/03/01 02:44:24 maxk Exp $ */ /* * Changes: * * Mike Kershaw <dragorn@kismetwireless.net> 2005/08/14 * Add TUNSETLINK ioctl...
C
drivers/net/tun.c
GuillaumeSeren/linux
gpl-2.0
85,784
3,643
codeparrot/github-code
460f02ccbe67ad7eed942bfd220defc5368c95c6fc2f7dc1a6db6a630888d9c2
/** * Copyright (c) 2009--2014 Red Hat, Inc. * * This software is licensed to you under the GNU General Public License, * version 2 (GPLv2). There is NO WARRANTY for this software, express or * implied, including the implied warranties of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. You should have rece...
Java
java/code/src/com/redhat/rhn/domain/server/ServerGroupFactory.java
xkollar/spacewalk
gpl-2.0
13,191
337
codeparrot/github-code
350997343178ac64310fe9e3431d3cf1861e2ff2ab2db8e5c67aa3c91f974af3
/* * Copyright 2021 Red Hat Inc. * * 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, publish, d...
C
drivers/gpu/drm/nouveau/nvkm/subdev/devinit/ga100.c
apopple/linux
gpl-2.0
2,416
77
codeparrot/github-code
10756d4d984c7726267a29cf5dbaa787af5dfb172bdb48d6fb69a8f2bf570336
<?php /** * File containing the eZTextInputParser class. * * @copyright Copyright (C) eZ Systems AS. All rights reserved. * @license For full copyright and license information view LICENSE file distributed with this source code. * @version //autogentag// * @package kernel */ /*! \class eZTextInputParser eztex...
PHP
kernel/classes/eztextinputparser.php
pbek/ezpublish-legacy
gpl-2.0
3,140
105
codeparrot/github-code
08ea46bf47af0db09176fb02280c53506540b24745f5055ae0869a1b96f49cbb
""" This module removes all objects/arrays from JS source code and replace them with LVALS. Also it has s function translating removed object/array to python code. Use this module just after removing constants. Later move on to removing functions""" OBJECT_LVAL = 'PyJsLvalObject%d_' ARRAY_LVAL = 'PyJsLvalArray%d_' fro...
Python
script.module.universalscrapers/lib/universalscrapers/modules/js2py/legecy_translators/objects.py
repotvsupertuga/tvsupertuga.repository
gpl-2.0
11,176
288
codeparrot/github-code
08ee3be95179d2de9b653962e9f4c46aaf115aac11646fc9a338032ed801dc52
//============================================================================= // MusE Score // Linux Music Score Editor // // Copyright (C) 2002-2015 Werner Schweer and others // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License versio...
C
mscore/musicxml.h
folbo/MuseScore
gpl-2.0
4,001
139
codeparrot/github-code
a014d5affb02f8d9539d22d2ddb0c324f51234774f4cdc3b37197609f37ab2d2
/* * This file is part of libdom. * Licensed under the MIT License, * http://www.opensource.org/licenses/mit-license.php * Copyright 2009 Bo Yang <struggleyb.nku@gmail.com> */ #ifndef dom_events_text_event_h_ #define dom_events_text_event_h_ #include <stdbool.h> #include <dom/core/exceptions.h> #i...
C
libdom/include/dom/events/text_event.h
ashmew2/nskolibrios
gpl-2.0
1,412
42
codeparrot/github-code
24dea0c401962d97bdba3dfd8c941246edcd422bbe9dd0ca9e92f23a03b06454
/* * Copyright (C) 2012-2014 Daniel Schwierzeck, daniel.schwierzeck@gmail.com * * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> #include <malloc.h> #include <asm/errno.h> #include <linux/mtd/mtd.h> #include <spi_flash.h> static struct mtd_info sf_mtd_info; static char sf_mtd_name[8]; static int spi_fl...
C
u-boot15/drivers/mtd/spi/sf_mtd.c
mdxy2010/forlinux-ok6410
gpl-2.0
2,204
105
codeparrot/github-code
440e08c80400db311791a01da4b29d5e3898613922d21c5dfc8ea413816ddea6
/* * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Softwa...
Java
test/jdk/java/net/httpclient/ZeroRedirects.java
md-5/jdk10
gpl-2.0
3,766
110
codeparrot/github-code
505018f742b77762a904f0b101f5018dc177599baad2d1ecba5dcdde59ce207b
<?php /** * @file * Contains \Drupal\quickedit\Form\QuickEditFieldForm. */ namespace Drupal\quickedit\Form; use Drupal\Core\Entity\FieldableEntityInterface; use Drupal\Core\Entity\EntityInterface; use Drupal\Core\Entity\EntityStorageInterface; use Drupal\Core\Entity\EntityChangedInterface; use Drupal\Core\Extensi...
PHP
modules/quickedit/src/Form/QuickEditFieldForm.php
hechoendrupal/drupal
gpl-2.0
8,901
256
codeparrot/github-code
653ed21b31867b2d3cb47c675a2809aac4d7cd46c7e02930af23088f1d1b39aa
<?php /* +--------------------------------------------------------------------+ | CiviCRM version 4.4 | +--------------------------------------------------------------------+ | Copyright (C) 2011 Marty Wright | | Licensed to CiviCRM ...
PHP
sites/all/modules/civicrm/CRM/Admin/Form/LabelFormats.php
ChrisChinchilla/greenrenters.org
gpl-2.0
10,639
253
codeparrot/github-code
b6e1bba6a7b2be1d22ce546c2f6d503f7bb2102f1ecb9426c1cc423d23df0f50
"use strict"; /** * elFinder transport to support old protocol. * * @example * $('selector').elfinder({ * .... * transport : new elFinderSupportVer1() * }) * * @author Dmitry (dio) Levashov **/ window.elFinderSupportVer1 = function(upload) { var self = this; this.upload = upload || 'au...
JavaScript
sites/all/libraries/elfinder/js/proxy/elFinderSupportVer1.js
tsmulugeta/vi.com
gpl-2.0
8,299
339
codeparrot/github-code
ba5f280d93fa8c5521c74c203e4ef6ca38bba3c0dc181cee015fe63997a1b80c
# vim: sw=4:expandtab:foldmethod=marker # # Copyright (c) 2003, Mathieu Fenniak # 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 abov...
Python
app/pingback.py
wb253/goapp
gpl-3.0
5,006
135
codeparrot/github-code
c02f738c2d64dd52627c3f2864c3e755bc6438335f87af8dfb6f0eb04d4be6cb
#region Copyright & License Information /* * Copyright 2007-2016 The OpenRA Developers (see AUTHORS) * This file is part of OpenRA, which is free software. It is made * available to you under the terms of the GNU General Public License * as published by the Free Software Foundation, either version 3 of * the Licen...
C#
OpenRA.Mods.Common/Widgets/Logic/Ingame/GameInfoObjectivesLogic.cs
jsoberg/ESU_OpenRA
gpl-3.0
2,633
82
codeparrot/github-code
1f636ef32ab2abe965877a61da926bfe54e20bdb528c05adc18d918d55c30429
<?php /** * Shopware 5 * Copyright (c) shopware AG * * According to our dual licensing model, this program can be used either * under the terms of the GNU Affero General Public License, version 3, * or under a proprietary license. * * The texts of the GNU Affero General Public License with an additional * perm...
PHP
engine/Shopware/Bundle/StoreFrontBundle/Struct/Struct.php
simkli/shopware
agpl-3.0
1,914
67
codeparrot/github-code
2b68d71ea328ba31018f3c81609514355db73997f227316176702d93cda83f29
/* * This file is part of ALVAR, A Library for Virtual and Augmented Reality. * * Copyright 2007-2012 VTT Technical Research Centre of Finland * * Contact: VTT Augmented Reality Team <alvar.info@vtt.fi> * <http://www.vtt.fi/multimedia/alvar.html> * * ALVAR is free software; you can redistribute it and/...
C++
src/platform/Timer_win.cpp
bzreinhardt/closed_loop_alvar
lgpl-2.1
2,237
86
codeparrot/github-code
52c5d8797f5e1756f534646a2e6a190dd651673f6f044f9938c73fabb80fc83a
<?php if (!defined('_GNUBOARD_')) exit; // http://kr1.php.net/manual/en/function.curl-setopt-array.php 참고 if (!function_exists('curl_setopt_array')) { function curl_setopt_array(&$ch, $curl_options) { foreach ($curl_options as $option => $value) { if (!curl_setopt($ch, $option, $value)) { ...
PHP
youngcart/lib/naver_syndi.lib.php
davis00/youngcart
lgpl-2.1
1,573
54
codeparrot/github-code
931fde937786520468411ec1f42b6bf688cd7908519dcda3b7391a0b9b6ca769
/* io_r2k - radare2 - LGPL - Copyright 2016-2018 - SkUaTeR + panda */ #include <r_io.h> #include <r_lib.h> #include <r_types.h> #include <r_util.h> #include <sys/types.h> #if __WINDOWS__ #include "io_r2k_windows.h" #elif defined (__linux__) && !defined (__GNU__) #include "io_r2k_linux.h" struct io_r2k_linux r2k_struc...
C
libr/io/p/io_r2k.c
bigendiansmalls/radare2
lgpl-3.0
4,196
157
codeparrot/github-code
71cf329ad1b80df1a32aae3e87eed55db27f1aa49260c8e50734e47ad617c967
/* * Copyright 2010-2013 Ning, Inc. * Copyright 2014-2015 Groupon, Inc * Copyright 2014-2015 The Billing Project, LLC * * The Billing Project licenses this file to you under the Apache License, version 2.0 * (the "License"); you may not use this file except in compliance with the * License. You may obtain a cop...
Java
jaxrs/src/test/java/org/killbill/billing/jaxrs/json/TestEntitlementJsonWithEvents.java
aeq/killbill
apache-2.0
5,853
95
codeparrot/github-code
6ea27895ff84cf72713b294ff94d2184b7c15aa54f99510f9d341b5f19416a7e
# This program will construct ksyms.s. Ksyms.s contains a symbol table # for all the kernel symbols included in the file ksyms.lst. The following # variables are defined in ksym.s: # # int symbol_table_size; /* number of symbols */ # struct { # void *value; /* value of symbol */ # char *name; /* name of symbol *...
Shell
linux-1.0.0/linux/kernel/ksyms.sh
straceX/Ectoplasm
apache-2.0
1,058
38
codeparrot/github-code
a894cd8e2fdba144bc65d5aa6f5440b540fc23186dff04249a69f266fcbeb84a
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License * 2.0 and the Server Side Public License, v 1; you may not use this file except * in compliance with, at your election, the Elastic License 2.0 or the Server...
Java
server/src/internalClusterTest/java/org/elasticsearch/similarity/SimilarityIT.java
robin13/elasticsearch
apache-2.0
3,333
69
codeparrot/github-code
506f23bdbe655ed784962b86ac45f0d5da16e68bd0ca97eda24fdc3e27bb99b5
package org.nutz.lang; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.regex.Pattern; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFacto...
Java
src/org/nutz/lang/Xmls.java
yaotj/nutz
apache-2.0
13,291
497
codeparrot/github-code
c51db98e7ded4cafa2edd8124955c0b1ff5823430dc545f3936f454e083679ae
/* * 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
exec/java-exec/src/main/java/org/apache/drill/exec/planner/fragment/StatsCollector.java
apache/drill
apache-2.0
4,788
116
codeparrot/github-code
30959a307b7825722b3a82561c14bb8ba1718462bb429a7c20ab7e09fa70bd7d
<?php final class HarbormasterBuildLogView extends AphrontView { private $log; private $highlightedLineRange; private $enableHighlighter; public function setBuildLog(HarbormasterBuildLog $log) { $this->log = $log; return $this; } public function getBuildLog() { return $this->log; } publ...
PHP
src/applications/harbormaster/view/HarbormasterBuildLogView.php
freebsd/phabricator
apache-2.0
2,540
102
codeparrot/github-code
bdd3364299223e2c9dc2ff853882f6cf9aed400619bf6b359de85350b891c5a3
// 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.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics; using System.Linq; namespace Roslyn.Utilities { internal...
C#
src/Workspaces/Core/Portable/Utilities/BidirectionalMap.cs
DustinCampbell/roslyn
apache-2.0
3,648
123
codeparrot/github-code
6a6f2d6348052c188189b1025169e39769b7b291835ff0284c62de3f2e489a4c
/* * Copyright 2006 Jeremias Maerki * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
Java
core/src/test/java/com/google/zxing/datamatrix/encoder/DebugPlacement.java
Solvoj/zxing
apache-2.0
1,311
43
codeparrot/github-code
faa3730a24dda8534be8b7daf5966bb8d5dd990aa91f12bb6b6f4f4f07a80e82
/* Copyright 2017 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
C++
third_party/tensorflow/tensorflow/core/grappler/op_types.cc
npuichigo/ttsflow
apache-2.0
2,744
100
codeparrot/github-code
d80e1982ee75a3cb3f3db1d363b3c14cb5088a1ce209ad970a606703687ae5c1
/** * Copyright 2016 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
test/unit/utils/test-base64.js
techhtml/amphtml
apache-2.0
7,598
208
codeparrot/github-code
00038d341811abb48473dae80ef1390555c9424430f9275aed138269e20fddc0
/* * Copyright 2014 MovingBlocks * * 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
engine/src/main/java/org/terasology/rendering/nui/layers/mainMenu/WaitPopup.java
kaen/Terasology
apache-2.0
4,272
133
codeparrot/github-code
c97503e0010787555bf8c8131f75595c6c8f9aa58b5299566fdfbc289533925b
// // RKTestNotificationObserver.h // RestKit // // Created by Jeff Arena on 8/23/11. // Copyright (c) 2009-2012 RestKit. All rights reserved. // #import <Foundation/Foundation.h> /** An RKTestNotificationObserver object provides support for awaiting a notification to be posted as the result of an asynchronous ...
C
Code/Testing/RKTestNotificationObserver.h
zaichang/RestKit
apache-2.0
3,023
91
codeparrot/github-code
7dff248acc4d5acfb92fe062e180245d4e2199c34228a50fdadcb49e92cb78e3
/* * 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/groovy/groovy-psi/src/org/jetbrains/plugins/groovy/annotator/ResolveHighlightingVisitor.java
goodwinnk/intellij-community
apache-2.0
2,615
65
codeparrot/github-code
99af723aa6dc4ca63c247924f8c921f8f957a86a1c3afaa7aeead7011b13eeae
import {isPresent, isString, StringWrapper, isBlank} from 'angular2/src/facade/lang'; import {Directive, LifecycleEvent} from 'angular2/metadata'; import {ElementRef} from 'angular2/core'; import {Renderer} from 'angular2/src/render/api'; import { KeyValueDiffer, IterableDiffer, IterableDiffers, KeyValueDiffers...
TypeScript
modules/angular2/src/directives/ng_class.ts
Krishna-teja/angular
apache-2.0
4,211
131
codeparrot/github-code
3c7480daf15359453c7b8ef4bbd6d232285cb4f2bcce9526ade965841e5a29e0
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "config.h" #include "platform/graphics/paint/ScrollDisplayItem.h" #include "platform/graphics/GraphicsContext.h" #include "platform/transforms/A...
C++
third_party/WebKit/Source/platform/graphics/paint/ScrollDisplayItem.cpp
weolar/miniblink49
apache-2.0
1,354
45
codeparrot/github-code
fe118dcfbc7c21d7dd4a8e55a7e0b42bbc8caec22aab7b2272a44c698e8ff3d9
defineSuite([ 'Core/ScreenSpaceEventHandler', 'Core/Cartesian2', 'Core/clone', 'Core/combine', 'Core/defined', 'Core/FeatureDetection', 'Core/KeyboardEventModifier', 'Core/ScreenSpaceEventType', 'Specs/DomEventSimulator' ], function( Sc...
JavaScript
Specs/Core/ScreenSpaceEventHandlerSpec.js
ian-donaldson/world.exposed
apache-2.0
39,875
1,180
codeparrot/github-code
e170e33a7cb5a1a1acfbe5c92edd942c4b70e69a3f29f8c8996f900c726287d4
/* * 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-segment-tar/src/test/java/org/apache/jackrabbit/oak/segment/scheduler/LockBasedSchedulerCheckpointTest.java
alexkli/jackrabbit-oak
apache-2.0
6,521
179
codeparrot/github-code
deb89ec75ee8f9594b0d8a95476456a7b3c810f9f53dcb86c07f657c71b195d0
/* * 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/maven/src/main/java/org/jetbrains/idea/maven/indices/MavenProjectIndicesManager.java
asedunov/intellij-community
apache-2.0
9,934
291
codeparrot/github-code
ecc5eb0672c91154b767aabf4f61d092f539d8d381a3652cd469418001cdd2bc
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ package org.elasticsearch.xpack.core.ml.inference.trainedmodel.ense...
Java
x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/inference/trainedmodel/ensemble/WeightedModeTests.java
ern/elasticsearch
apache-2.0
4,992
120
codeparrot/github-code
f197831cf716c98a6cce09a9f8a801995575041d14590edc25e5b6d7dc1c6daa
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> <meta name="description" content="Draw rectangles with different e...
HTML
Apps/Sandcastle/gallery/development/Ellipsoid Surface.html
AnimatedRNG/cesium
apache-2.0
3,414
99
codeparrot/github-code
699564605c3d5ea3c22278c069d9f39587cfc377e2d823860deeee6ee62345e8
# This file is dual licensed under the terms of the Apache License, Version # 2.0, and the BSD License. See the LICENSE file in the root of this repository # for complete details. from __future__ import absolute_import, division, print_function import sys from cryptography import utils from cryptography.exceptions i...
Python
scripts/ansible-play/.venv/lib/python2.7/site-packages/cryptography/hazmat/primitives/kdf/scrypt.py
e-gob/plataforma-kioscos-autoatencion
bsd-3-clause
2,252
67
codeparrot/github-code
6dc71f898c2fd685de4a04443a0b49c338f142cd1b301e36986aced373f4c580
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html xmlns:og="http://opengraphprotocol.org/schema/" xmlns:fb="http://www.facebook.com/2008/fbml"> <head> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"> <script type="text/javascript"...
HTML
jodd-lagarto/src/test/resources/jodd/lagarto/live/IMDb.html
007slm/jodd
bsd-3-clause
73,872
1,762
codeparrot/github-code
e77fbca0f51857b71dc68bec944a571d5c446e0424a40445f84a2c06b8bd43d5
/* * Copyright (c) 2002-2005 The Regents of The University of Michigan * 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 * not...
C++
src/base/remote_gdb.cc
xiaoyaozi5566/GEM5_DRAMSim2
bsd-3-clause
28,278
1,020
codeparrot/github-code
3a8c0661c70a463ae501e5ab772fde65fe3934d72732d19def8778d5807bfd60
using System; using System.Collections.Generic; using FluentNHibernate.Mapping; using FluentNHibernate.Mapping.Providers; using FluentNHibernate.MappingModel; using FluentNHibernate.MappingModel.ClassBased; namespace FluentNHibernate.Automapping { #pragma warning disable 612,618 public class AutoJoinedSu...
C#
src/FluentNHibernate/Automapping/AutoJoinedSubClassPart.cs
HermanSchoenfeld/fluent-nhibernate
bsd-3-clause
3,378
100
codeparrot/github-code