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
fbe7a0d506e94dc106914d40ef3bd143675ee3d525f4bd33e044bf174e5cee6a
// // list.h // // Copyright (c) 2010 TJ Holowaychuk <tj@vision-media.ca> // #ifndef LIST_H #define LIST_H #ifdef __cplusplus extern "C" { #endif #include <stdlib.h> // Library version #define LIST_VERSION "0.0.5" // Memory management macros #ifndef LIST_MALLOC #define LIST_MALLOC malloc #endif #ifndef LIST_FR...
C
xcc/test/clibs/list/src/list.h
JianpingZeng/xcc
bsd-3-clause
1,754
124
codeparrot/github-code
1ee6d3db2b82e4ab58fba0c9c38cc557b971dc549617eb8f4615b27bfab44c00
/* * Copyright (c) 2006 Michael Niedermayer <michaelni@gmx.at> * Copyright (c) 2012 Justin Ruggles <justin.ruggles@gmail.com> * * This file is part of Libav. * * Libav 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...
C
third_party/ffmpeg/libavresample/audio_convert.c
leighpauls/k2cro4
bsd-3-clause
16,088
338
codeparrot/github-code
7953a1347b919cb3b15e3e966ff5c0092b196b38c397ceb09ca04dcc487c2f1f
// RUN: %clang_cc1 -verify -fopenmp %s -Wuninitialized // RUN: %clang_cc1 -verify -fopenmp-simd %s -Wuninitialized void foo(); int main(int argc, char **argv) { #pragma omp target #pragma omp teams distribute simd default // expected-error {{expected '(' after 'default'}} for (int i=0; i<200; i++) foo(); #pr...
C++
third_party/llvm/clang/test/OpenMP/teams_distribute_simd_default_messages.cpp
endlessm/chromium-browser
bsd-3-clause
1,624
33
codeparrot/github-code
b1344c170008dcaf3a83f1f1ed03073ae4a1885da4ebc4e58244300b8dc1a575
// Copyright 2014 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package runtime // This file contains the implementation of Go's map type. // // A map is just a hash table. The data is arranged // into an array of buckets....
GO
src/runtime/hashmap.go
ckeyer/go
bsd-3-clause
32,824
1,081
codeparrot/github-code
7d6aa7067f27dccc0b52baa6c28bee9c2b5a0b971c21a66a9cbe2df600333188
<?php /** * This file is part of the Propel package. * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * * @license MIT License */ require_once 'PHPUnit/Framework/TestCase.php'; set_include_path(get_include_path() . PATH_SEPARATOR . "...
PHP
test/tools/helpers/bookstore/BookstoreTestBase.php
alfonsojimenez/propel_15
mit
1,320
48
codeparrot/github-code
c5a1bba332eecc0e706c6d223cfb166ae900a56cebd5e2694fca9672ca18553c
<?php namespace Neos\Flow\Session; /* * This file is part of the Neos.Flow package. * * (c) Contributors of the Neos Project - www.neos.io * * This package is Open Source Software. For the full copyright and license * information, please view the LICENSE file which was distributed with this * source code. */ ...
PHP
Neos.Flow/Classes/Session/SessionManager.php
daniellienert/flow-development-collection
mit
5,262
168
codeparrot/github-code
6d98c5766117bc4bb4c9d87c9061ec5e48946d88c701cd82716d95f1d8aabb61
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2020 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. // NOTE: This file is intended to be customised by the end user, and includes onl...
C++
src/policy/policy.cpp
pstratem/bitcoin
mit
12,042
294
codeparrot/github-code
1b5136659ebab444d2156d321b08f8a15735b4440185e9bef3801d1f1598e0b1
package jenkins.slaves; import hudson.ExtensionList; import hudson.ExtensionPoint; import hudson.Util; import hudson.model.Slave; import java.security.SecureRandom; import javax.annotation.Nonnull; import org.jenkinsci.remoting.engine.JnlpClientDatabase; import org.jenkinsci.remoting.engine.JnlpConnectionStateListener...
Java
core/src/main/java/jenkins/slaves/JnlpAgentReceiver.java
jpbriend/jenkins
mit
1,890
61
codeparrot/github-code
819547e1066d7a1c18e6a2c0d54783c346ef90c2bf8a7f2a7d17ffb56a7f2297
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using static Interop.BCrypt; namespace System.Security.Cryptography { internal static partial class ECCng ...
C#
src/System.Security.Cryptography.Cng/src/System/Security/Cryptography/ECCng.ImportExport.cs
zhenlan/corefx
mit
5,086
117
codeparrot/github-code
123f0c77b7b47e81f9cc37533cf766fdfa3e157c48b326ff1fae1134e78ef6a6
/* edge.h -- header for edge.c Copyright (C) 2001-2006 Guus Sliepen <guus@tinc-vpn.org>, 2001-2005 Ivo Timmermans 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;...
C
tinc/src/edge.h
whitj00/VpnCoin-mac
mit
1,913
55
codeparrot/github-code
92df03055bab2a5a4fe2127491c21723f7a1a58bf37f490dbb2982beab5d7e7b
/* * Copyright 2008 Advanced Micro Devices, Inc. * Copyright 2008 Red Hat Inc. * Copyright 2009 Jerome Glisse. * * 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, in...
C
drivers/gpu/drm/radeon/radeon_asic.c
gbtian/mptcp
gpl-2.0
88,386
2,810
codeparrot/github-code
962d80e5a5842737895baa0c48ccc028caea80ed5500f006f00a4c82b345030c
// Interpreted Block Stream Functions // // -- jweier // this include must remain at the top of every Icarus CPP file #include "stdafx.h" #include "IcarusInterface.h" #include "IcarusImplementation.h" #include "BlockStream.h" /* ==========================================================================...
C++
code/icarus/BlockStream.cpp
Tloz/Jedi-Outcast
gpl-2.0
11,165
587
codeparrot/github-code
b14ff122ae3ba53b265d6ca41721f6d7f12e7a8029faf5ee4aafc627c53fd029
/******************************************************************************* Copyright (C) Marvell International Ltd. and its affiliates This software file (the "File") is owned and distributed by Marvell International Ltd. and/or its affiliates ("Marvell") under the following alternative licensing terms. Once yo...
C
board/mv_ebu/common/mv_hal/sata/CoreDriver/mvLog.c
rabeeh/u-boot-2013.01-2015_T1_p11
gpl-2.0
6,064
176
codeparrot/github-code
eb3fa95c3418e020136a4452a6c325f42c5432957a3e13d16e96da2c29ea1c48
// license:BSD-3-Clause // copyright-holders:Allard van der Bas #ifndef MAME_AUDIO_WARPWARP_H #define MAME_AUDIO_WARPWARP_H #pragma once class warpwarp_sound_device : public device_t, public device_sound_interface { public: warpwarp_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, uint3...
C
src/mame/audio/warpwarp.h
johnparker007/mame
gpl-2.0
1,356
60
codeparrot/github-code
d3d616d4bac13a6656432670acf9ae696394e3d096ccf220032a0d987a5565e3
<?php /** * @version 4.11.3 13.08.2013 * @author MAXXmarketing GmbH * @package Jshopping * @copyright Copyright (C) 2010 webdesigner-profi.de. All rights reserved. * @license GNU/GPL */ defined('_JEXEC') or die(); $jshopConfig=JSFactory::getConfig(); JHTML::_('behavior.tooltip'); displaySubmen...
PHP
tmp/install_56de8120ec236/admin/views/config/tmpl/editstatictext.php
ravi-cnetric/cnetric_cm
gpl-2.0
2,225
65
codeparrot/github-code
d1b8c35f440c328113dec6f0b9dfe9f45108537b4e3f1a12a834ffa3ac570acb
// Copyright (C) 2015 Conrad Sanderson // Copyright (C) 2015 NICTA (www.nicta.com.au) // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. //! \addtogroup op_nonzer...
C++
lib/armadillo_5_1/include/armadillo_bits/op_nonzeros_meat.hpp
srinix07/pairing_3p2
gpl-2.0
2,497
129
codeparrot/github-code
1a81390c42e33ee0335e9241b7b21da9971bc95b097f050844b090fc2920016a
/* * Copyright (c) 2000, 2016, 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 ...
Java
src/java.base/share/classes/sun/security/util/Resources_zh_TW.java
FauxFaux/jdk9-jdk
gpl-2.0
9,865
171
codeparrot/github-code
88a015fff64688ae69db76c8cca3110899019dad52628866382b082f7265c3ef
/* This file is part of OpenSubtitles Handler A library that handle OpenSubtitles.org XML-RPC methods. Copyright © Ala Ibrahim Hadid 2013 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 Foundati...
C#
OpenSubtitlesHandler/Movies/MovieSearchResult.cs
mtlott/Emby
gpl-2.0
1,293
42
codeparrot/github-code
48759c0e7cf659de7474ace0e0b53e3028b290d931d4c46f115318dcab7d7dbf
//============================================================================= // MuseScore // Music Composition & Notation // // Copyright (C) 2014 Werner Schweer // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License version 2 // as pu...
C++
mscore/scoreBrowser.cpp
notationist17/MuseScore
gpl-2.0
13,229
362
codeparrot/github-code
c81bd780e94011caa9a833d199cf0a13bed93f656beafeb0ee8cf0a0a5abf826
# SOAPpy modules from Config import Config from Types import * from NS import NS from Utilities import * import string import fpconst import xml.sax from wstools.XMLname import fromXMLname try: from M2Crypto import SSL except: pass ident = '$Id: Parser.py,v 1.16 2005/02/22 04:29:42 warnes Exp $' from v...
Python
usr/share/python-support/python-soappy/SOAPpy/Parser.py
2ndy/RaspIM
gpl-2.0
35,390
1,068
codeparrot/github-code
e8b2a7b04a2dfb19cc639c841cfe34c9d0634490437714923b47b267915af882
/* * VC3/DNxHD encoder * Copyright (c) 2007 Baptiste Coudurier <baptiste dot coudurier at smartjog dot com> * Copyright (c) 2011 MirriAd Ltd * * VC-3 encoder funded by the British Broadcasting Corporation * 10 bit support added by MirriAd Ltd, Joseph Artsimovich <joseph@mirriad.com> * * This file is part of FFm...
C
submodules/externals/ffmpeg/libavcodec/dnxhdenc.c
techstormteam/12-vision-connect-ios-linphone
gpl-2.0
37,744
1,055
codeparrot/github-code
a43937c0cadcfc31ef5d0a10d679b7cad3d76c6db33c9d61fca8c72b556ae7a6
/* Copyright (c) 2005, 2014, Oracle and/or its affiliates. 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; version 2 of the License. This program is distributed in the hope that it wi...
C
extra/yassl/include/openssl/ssl.h
cvicentiu/mariadb-10.0
gpl-2.0
17,044
566
codeparrot/github-code
79979d822e8113888199ab1c27bc99c95105c27bf3c774ba5705df3b29062f15
// SPDX-License-Identifier: GPL-2.0-only /* * SMP initialisation and IPI support * Based on arch/arm64/kernel/smp.c * * Copyright (C) 2012 ARM Ltd. * Copyright (C) 2015 Regents of the University of California * Copyright (C) 2017 SiFive */ #include <linux/cpu.h> #include <linux/interrupt.h> #include <linux/modu...
C
arch/riscv/kernel/smp.c
penberg/linux
gpl-2.0
5,142
246
codeparrot/github-code
d338b622c2c9aeccf4d0e5558a4311a9c2cbc9056a233f838b3ca58e7cae69fa
/* * sysctl.c: General linux system control interface * * Begun 24 March 1995, Stephen Tweedie * Added /proc support, Dec 1995 * Added bdflush entry and intvec min/max checking, 2/23/96, Tom Dyas. * Added hooks for /proc/sys/net (minor, minor patch), 96/4/1, Mike Shaver. * Added kernel/java-{interpreter,appletvi...
C
kernel/sysctl.c
mangelajo/linux-2.6.28.2-lpc313x-nbee
gpl-2.0
72,746
3,032
codeparrot/github-code
b9c0b52f3b65e71cae58e1ad1f60b81c63425ab58a38db6e9d977a29686df00f
/* * Copyright (c) 2019, 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/com/sun/net/httpserver/HttpServerTest.java
md-5/jdk10
gpl-2.0
3,518
102
codeparrot/github-code
8952f5cae9f0a41cb0fd6d56ef7cdbb6e4aa218d48c82698fd05ce72f8e931a0
/* Threads compatibility routines for libgcc2 and libobjc for VxWorks. */ /* Compile this one with gcc. */ /* Copyright (C) 1997, 1999, 2000, 2008, 2009, 2011 Free Software Foundation, Inc. Contributed by Mike Stump <mrs@wrs.com>. This file is part of GCC. GCC is free software; you can redistribute it and/or ...
C
libgcc/config/gthr-vxworks.h
embecosm/epiphany-gcc
gpl-2.0
4,691
171
codeparrot/github-code
e1f5b3c9590e332e491d817e4edea63abd0fcf362dde7afc5fe252f2de99eb09
# -*- coding: utf-8 -*- # # Gramps - a GTK+/GNOME based genealogy program # # Copyright (C) 2003-2005 Donald N. Allingham # Copyright (C) 2008 Brian G. Matherly # Copyright (C) 2005-2012 Julio Sanchez # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU Genera...
Python
gramps/plugins/rel/rel_es.py
sam-m888/gramps
gpl-2.0
35,863
820
codeparrot/github-code
32d0108ea2100d002c534951b98af44c0650567044bbc287579de08a833e031b
/* * jcsample.c * * Copyright (C) 1991-1996, Thomas G. Lane. * This file is part of the Independent JPEG Group's software. * For conditions of distribution and use, see the accompanying README file. * * This file contains downsampling routines. * * Downsampling input data is counted in "row groups". A row gro...
C
third_party/jpeg/jcsample.c
Mailaender/aseprite
gpl-2.0
19,600
520
codeparrot/github-code
3c18186b5bcb5d919393b56a34420688269780f2488206e0c5820bc98a19b93d
/* Copyright (c) 2010-2011, The Linux Foundation. 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...
C
drivers/rtc/rtc-pm8xxx.c
zhaochengw/android_kernel_nubia_nx40x
gpl-2.0
16,743
666
codeparrot/github-code
929d935e4c116f5f4d3dc5d90276d3bef1945497092a09d677d26b2b1df2a1ee
/***************************************************************************** Copyright (c) 2009, 2012, Oracle and/or its affiliates. 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 as published by the Free Software Founda...
C
storage/innobase/include/dict0stats.h
kraziegent/mysql-5.6
gpl-2.0
8,479
235
codeparrot/github-code
935e6fb70e9a104023d0c4dbd4b7416c3588ff9e5191532485966f418bac6dd4
/* $Id: dump_config.c,v 5.7 2001/01/20 13:32:00 columbus Exp $ */ /**************************************************************************** ** dump_config.c *********************************************************** **************************************************************************** * * dum...
C
user/lirc/daemons/dump_config.c
kidmaple/CoolWall
gpl-2.0
6,609
276
codeparrot/github-code
f2ddcc9944768c04325bcd3e7b9939f236c371addf15b65540b9dda826b73e3e
/* originally from linux source. * removed the dependencies on CONFIG_ values * removed virt_to_phys stuff (and in fact everything surrounded by #if __KERNEL__) * Modified By Rob Taylor, Flying Pig Systems, 2000 */ #ifndef _PPC_IO_H #define _PPC_IO_H #include <asm/byteorder.h> #ifdef CONFIG_ADDR_MAP #include <ad...
C
u-boot/arch/powerpc/include/asm/io.h
Jerry-X-Meng/AlphaBoxPlus
gpl-3.0
10,144
323
codeparrot/github-code
e58a7df58f4f1d08c7a6ba1fb94f3eabef8f563590d1a39f6093c34c69133083
/*************** * constants.h * ***************/ /**************************************************************************** * Written By Mark Pelletier 2017 - Aleph Objects, Inc. * * Written By Marcio Teixeira 2018 - Aleph Objects, Inc. * * ...
C
Marlin/src/lcd/extui/ftdi_eve_touch_ui/ftdi_eve_lib/basic/constants.h
LVD-AC/Marlin
gpl-3.0
21,987
416
codeparrot/github-code
fed49271fbc7d6bc0eacb0901d85dc668cfe3ec6f4231d31afa297123acbc1df
/* Unix SMB/CIFS implementation. Core SMB2 server Copyright (C) Stefan Metzmacher 2009 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 yo...
C
source3/smbd/smb2_close.c
urisimchoni/samba
gpl-3.0
12,013
421
codeparrot/github-code
75c2bd0db2d9f17f95e934fce6e601a0ba1e5a0812f72c3800b2013cbaa683ce
#!/usr/bin/python # # This file is part of Ansible # # Ansible 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. # # Ansible is distribut...
Python
lib/ansible/modules/network/nxos/nxos_evpn_vni.py
andreaso/ansible
gpl-3.0
10,487
311
codeparrot/github-code
864b480fe98fb8d4af20da4c4e83a9fa8d273fcafe60cd7025cb8faede04aac9
/* Declarations for getopt (basic, portable features only). Copyright (C) 1989-2021 Free Software Foundation, Inc. This file is part of the GNU C Library and is also part of gnulib. Patches to this file should be submitted to both projects. The GNU C Library is free software; you can redistribute it and/or...
C
lib/getopt-core.h
kfowler/emacs-mac
gpl-3.0
3,651
97
codeparrot/github-code
cf2e4b72e8e9962f85673f8ee08021c227a617467a281d3c6977427ca0968389
package info.novatec.inspectit.ci.sensor.method.impl; import info.novatec.inspectit.ci.sensor.StringConstraintSensorConfig; import info.novatec.inspectit.ci.sensor.method.IMethodSensorConfig; import info.novatec.inspectit.ci.sensor.method.MethodSensorPriorityEnum; import javax.xml.bind.annotation.XmlRootElement; /**...
Java
CommonsCS/src/info/novatec/inspectit/ci/sensor/method/impl/HttpSensorConfig.java
andy32323/inspectIT
agpl-3.0
1,255
69
codeparrot/github-code
8c749a50455c775bb0dfe8b5be50022a0253b97f012012e34ae4ab6cd72d46eb
<%namespace name='static' file='../static_content.html'/> <%! from microsite_configuration import microsite from django.utils.translation import ugettext as _ from django.core.urlresolvers import reverse from courseware.courses import course_image_url, get_course_about_section from django.conf import settings from edxm...
HTML
lms/templates/courseware/course_about.html
don-github/edx-platform
agpl-3.0
17,347
383
codeparrot/github-code
8f3328c77a43d1e1522abce3f260aae87a257226e011856c01e9917c121c322e
""" Import celery, load its settings from the django settings and auto discover tasks in all installed django apps. Taken from: https://celery.readthedocs.org/en/latest/django/first-steps-with-django.html """ from __future__ import absolute_import import os from celery import Celery from django.conf import settings ...
Python
cms/celery.py
ahmedaljazzar/edx-platform
agpl-3.0
1,791
53
codeparrot/github-code
b798a00fe1161ba94a7cb21ea1d80efb51db8dbc107dba4797cd5e21cdd47345
/* * JBoss, Home of Professional Open Source. * Copyright 2013, Red Hat, Inc., and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * unde...
Java
patching/src/main/java/org/jboss/as/patching/runner/ModuleUpdateTask.java
yersan/wildfly-core
lgpl-2.1
5,135
112
codeparrot/github-code
5b782f16fe5e291c1dfb6135c04af93e1681d51e865b9f70859b8cb7c71a95ff
<?php /* * $Id$ * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * OWNER OR C...
PHP
test/classes/phing/regression/ExcludeZipTest.php
E-2/phing
lgpl-3.0
1,780
54
codeparrot/github-code
dc7259640ceb996018c8cc44162364d7f4bfcf71ce5ccd669d67a906cdf427ce
/* * 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/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/GridH2ResultSetIterator.java
agura/incubator-ignite
apache-2.0
3,893
139
codeparrot/github-code
6129bc566162af4a24ebb1bfe869a352e47f7e8b87276d973d5a740ae31c359d
/* * 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/main/java/org/elasticsearch/action/admin/cluster/stats/AnalysisStats.java
robin13/elasticsearch
apache-2.0
14,606
315
codeparrot/github-code
ab1e4bcd0705c77f041fd8a30953db807019dbebf2f1f2da7d0398482f45b320
package org.zstack.sdk; import java.util.HashMap; import java.util.Map; public class RevertVolumeFromSnapshotAction extends AbstractAction { private static final HashMap<String, Parameter> parameterMap = new HashMap<>(); public static class Result { public ErrorCode error; public RevertVolum...
Java
sdk/src/main/java/org/zstack/sdk/RevertVolumeFromSnapshotAction.java
mingjian2049/zstack
apache-2.0
2,262
84
codeparrot/github-code
06f3446de184d429af1f217e578d9169c54c33b8f37124f8486f16e3e7c613b8
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apa...
C#
src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/PersistentVMs/GetAzureVM.cs
AzureAutomationTeam/azure-powershell
apache-2.0
12,592
206
codeparrot/github-code
6956d62c2c62b3c8704011d1c88a053fa47ba55285115f8edd97aafdbbe3b863
/*! ****************************************************************************** * * Pentaho Data Integration * * Copyright (C) 2002-2014 by Pentaho : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version 2.0 (th...
Java
pentaho-notification-bundle/src/test/java/org/pentaho/osgi/notification/api/condition/EqualConditionTest.java
bmorrise/pentaho-osgi-bundles
apache-2.0
2,392
81
codeparrot/github-code
9a1ee1180a05afcb974417c614425aed7aadb3e7f238ca81fbe83feca262b2c9
/* * Copyright 2013 Google Inc. * Copyright 2014 Andreas Schildbach * * 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 requ...
Java
examples/src/main/java/org/bitcoinj/examples/ExamplePaymentChannelClient.java
langerhans/dogecoinj-new
apache-2.0
11,677
218
codeparrot/github-code
764c1f7d3eedb6015e6dc955a066129565115f063823f381f7f7c0a51beecdac
#pragma once #include "map/discovery/discovery_search_params.hpp" #include "map/search_product_info.hpp" #include "indexer/feature_decl.hpp" #include "indexer/mwm_set.hpp" #include "indexer/rank_table.hpp" #include "search/result.hpp" #include <cstdint> #include <functional> #include <map> #include <memory> #includ...
C++
map/discovery/discovery_search.hpp
rokuz/omim
apache-2.0
2,312
85
codeparrot/github-code
0b8e9316c7a14427c52cdfc3348a77822adcd35eae1651dc2d5f8bec4e9bc3ff
/* Copyright 2015 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
TypeScript
tensorflow/tensorboard/components/vz_line_chart/vz-chart-helpers.ts
mengxn/tensorflow
apache-2.0
6,879
218
codeparrot/github-code
1b3b269439e7791513a5bd4d1bbd2a04b6a13cfb11f748b6c510ffbd3299d11a
/* * Copyright 2009-2014 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 * * Unles...
Java
src/main/java/org/apache/ibatis/datasource/pooled/PooledConnection.java
csucaicai/mybaties
apache-2.0
7,174
267
codeparrot/github-code
38d886b8a98696aa754d72230c6420303d62a5bb5afe6b650fdb26992498eaa8
/** * 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 * "Li...
Java
tools/groovy/src/src/test/groovy/ClosureJavaIntegrationTest.java
OpenBEL/bel-nav
apache-2.0
8,379
208
codeparrot/github-code
28a4379702ed5f3c4eb766ee2a379323fa213937368a1bddc6e202261a90599a
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, instal...
C++
opencv/sources/modules/imgcodecs/src/grfmt_webp.cpp
DamianPilot382/Rubiks-Cube-Solver
apache-2.0
7,485
307
codeparrot/github-code
ba570945f42cd2d203ad49455250d82714a0259c5e44086900748f341f292e19
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
Java
hadoop-hdfs-project/hadoop-hdfs/src/contrib/bkjournal/src/test/java/org/apache/hadoop/contrib/bkjournal/TestBookKeeperAsHASharedDir.java
ict-carch/hadoop-plus
apache-2.0
13,449
391
codeparrot/github-code
b80c95417ab19901ee3dfd2721f768c1a37fd3d6fb8951f33d6fd7d7539077af
/* * 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
yarn/src/itest/java/org/elasticsearch/hadoop/integration/yarn/YarnTest.java
Gavin-Yang/elasticsearch-hadoop
apache-2.0
3,410
104
codeparrot/github-code
fd86bfa97b41427291ecc27c8a9a043f12812bd59e9cd795f7fc6f1316fc7c0b
/* * 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
presto-raptor/src/test/java/com/facebook/presto/raptor/metadata/TestRaptorMetadata.java
jekey/presto
apache-2.0
10,937
260
codeparrot/github-code
8859f51f643f1895d3590d6a88078ab56375a7f7fe59d4080530848bbae98b5c
""" mbed SDK Copyright (c) 2016 ARM Limited Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, so...
Python
tools/settings.py
jeremybrodt/mbed
apache-2.0
3,231
104
codeparrot/github-code
4c514aa43d103194d51c9f448b67a66c6d755236ef40cab099ff3e312a7a3f1f
/******************************************************************************* * Copyright (c) 2005, 2012 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution...
Java
plugins/org.eclipse.bpel.ui/src/org/eclipse/bpel/ui/actions/BPELCopyAction.java
Drifftr/devstudio-tooling-bps
apache-2.0
2,544
83
codeparrot/github-code
242564ffa4f0f19da73db4a31f2a9f1ca773102d3968ed8a7ff47dec382e2dc7
/* * 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
src/main/java/org/elasticsearch/action/delete/index/TransportShardDeleteAction.java
corochoone/elasticsearch
apache-2.0
6,062
148
codeparrot/github-code
1080dc201f13c12694fe338dabcbb31ef62b9f59812d5816e697b73316a94088
<!DOCTYPE html> <html lang="en"> <head> <title>dc.js - Pie Chart External Labels Example</title> <meta charset="UTF-8"> <link rel="stylesheet" type="text/css" href="../css/bootstrap.min.css"> <link rel="stylesheet" type="text/css" href="../css/dc.css"/> </head> <body> <div class="container"> <script ty...
HTML
web/examples/pie-external-labels.html
aaronhoffman/dc.js
apache-2.0
1,828
59
codeparrot/github-code
03a61dc3c2ac921b70f23c3bd2256424b1d11c5a1c01832ca8d3a3c9aeda49c0
/* * 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
client/rest-high-level/src/main/java/org/elasticsearch/client/tasks/ListTasksResponse.java
scorpionvicky/elasticsearch
apache-2.0
5,145
139
codeparrot/github-code
e7edbd6bc5b135c6f1d6492b32939361e47787f9de3ae3ca0a8df2ddf1c0e7f5
/** ****************************************************************************** * @file stm32l5xx_hal_lptim.c * @author MCD Application Team * @brief LPTIM HAL module driver. * This file provides firmware functions to manage the following * functionalities of the Low Power Timer (...
C
targets/TARGET_STM/TARGET_STM32L5/STM32Cube_FW/STM32L5xx_HAL_Driver/stm32l5xx_hal_lptim.c
adfernandes/mbed
apache-2.0
83,180
2,678
codeparrot/github-code
53e96541804b83a6cf37ac553ffcfc898b06c423f1e1b8aee6aed148c9c8351f
/* * 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/rest/action/admin/indices/RestSyncedFlushAction.java
MaineC/elasticsearch
apache-2.0
3,155
70
codeparrot/github-code
2d1e08838902818f37dc6b030cc16954a6d31bfb3346e9d3c6c58003c32af543
// Copyright 2012 Cloudera Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in wr...
C++
be/src/exprs/anyval-util.cc
ImpalaToGo/ImpalaToGo
apache-2.0
4,073
124
codeparrot/github-code
1ab6166d274880903e882ccf2646a7857466d8f1cf80e3f1799b14e154acd166
package diskv import "shardmaster" import "net/rpc" import "time" import "sync" import "fmt" import "crypto/rand" import "math/big" type Clerk struct { mu sync.Mutex // one RPC at a time sm *shardmaster.Clerk config shardmaster.Config // You'll have to modify Clerk. } func nrand() int64 { max := big.New...
GO
src/diskv/client.go
interma/6.824
apache-2.0
3,545
166
codeparrot/github-code
aa44f8efffa3053cab17857f7708258338c1e9d758025903797dfa316e1582d8
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html><head><title></title> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <link rel="stylesheet" type="text/css" href="search.css"/> <script type="text/javascript" src="search...
HTML
thirdparty/Random123-1.09/docs/html/search/functions_72.html
madsbk/bohrium
apache-2.0
14,885
88
codeparrot/github-code
af69bd8641685d97474abf1bdcdf7683c508a8a717190b6a508e55efc171f686
// Class for extended track information // Author: Ionut-Cristian Arsene (iarsene@cern.ch) // #ifndef ALIREDUCEDTRACKINFO_H #define ALIREDUCEDTRACKINFO_H #include <TMath.h> #include "AliReducedBaseTrack.h" //_____________________________________________________________________ class AliReducedTrackInfo : public Ali...
C
PWGDQ/reducedTree/AliReducedTrackInfo.h
nschmidtALICE/AliPhysics
bsd-3-clause
14,762
316
codeparrot/github-code
8d02e9934848aed544fee969b8428bc651b7ea6dd26e13580724c8bd0c31fe29
/** * Copyright (c) 2008, Swedish Institute of Computer Science. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * 1. Redistributions of source code must retain the above copyright * not...
Java
se/sics/mspsim/util/ArgumentManager.java
ransford/mspsim
bsd-3-clause
4,086
122
codeparrot/github-code
58596a0e678d3c4b80df94152f0ec70232b70bec20205e80c46b5ac91ae32f18
package org.scalaide.ui.internal.editor.decorators.semicolon import scala.math.min import org.scalaide.util.eclipse.EclipseUtils.RichDocument import scalariform.lexer._ import scalariform.parser._ import org.eclipse.swt.widgets.Display import org.eclipse.swt.events._ import org.eclipse.swt.graphics._ import org.eclips...
Scala
org.scala-ide.sdt.core/src/org/scalaide/ui/internal/editor/decorators/semicolon/InferredSemicolonPainter.scala
Kwestor/scala-ide
bsd-3-clause
5,175
143
codeparrot/github-code
54b8761523198f7c204cc05f24245b8530e19c3f1a21f451f7158156b1ea9d28
// @remove-on-eject-begin /** * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same ...
JavaScript
packages/react-scripts/config/env.js
dsopel94/create-react-app
bsd-3-clause
3,753
104
codeparrot/github-code
d2c06743deb8c3873407d26661cf3cb15c83163705c5e411474638570140f42c
// Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // https://developers.google.com/protocol-buffers/ // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // ...
C++
third_party/protobuf/src/google/protobuf/arena.cc
scheib/chromium
bsd-3-clause
12,786
382
codeparrot/github-code
eaa792639eb2c06addad32643a0cedfc130d9b8eee4b981c7ec2c69db28e5732
// Copyright 2019 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 THIRD_PARTY_BLINK_RENDERER_CORE_FRAME_CSP_CSP_VIOLATION_REPORT_BODY_H_ #define THIRD_PARTY_BLINK_RENDERER_CORE_FRAME_CSP_CSP_VIOLATION_REPORT_BODY...
C
third_party/blink/renderer/core/frame/csp/csp_violation_report_body.h
scheib/chromium
bsd-3-clause
2,424
60
codeparrot/github-code
65593e161bfacb27dd204bfcc9d3ea49eb5a7ddaf90372d890ebc279157f2c81
/* * Lightweight Embedded JSON Parser * * Copyright (C) 2013-2017 Andy Green <andy@warmcat.com> * * 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: * version 2.1 of the License....
C
thirdparty/libwebsockets/misc/lejp.c
mcanders/godot
mit
18,459
747
codeparrot/github-code
ee514d75bb4c20cb7b64c52938653b1706b59d6bf0f545f61729f6619b5716a6
/* crypto/asn1/x_name.c */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * * This package is an SSL implementation written * by Eric Young (eay@cryptsoft.com). * The implementation was written so as to conform with Netscapes SSL. * * This library is free for commercial and non...
C
lib/openssl-1.0.0d/crypto/asn1/x_name.c
daleooo/barrelfish
mit
14,700
518
codeparrot/github-code
4c86606c52d6b422eca1fc8746d05e6d3a902ddeab514ab894b90f22b3c5668c
import logging import multiprocessing PARSER_PROCESS_JOIN_TIMEOUT = 3 logger = logging.getLogger('grab.spider.parser_pipeline') class ParserPipeline(object): def __init__(self, bot, mp_mode, pool_size, shutdown_event, network_result_queue, requests_per_process): self.bot = bot se...
Python
grab/spider/parser_pipeline.py
alihalabyah/grab
mit
4,714
125
codeparrot/github-code
5c9e4f76f8cb6cdfc545fa4be1cc66b80897dc2d8e2f9f2f76642eb009d6d5f1
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @emails react-core * @jest-environment node */ 'use strict'; let PropTypes; let RCTEventEmitter; let React; let ReactNative; ...
JavaScript
packages/react-native-renderer/src/__tests__/ReactNativeEvents-test.internal.js
cpojer/react
mit
14,331
529
codeparrot/github-code
60022c521ce6c3fb21befa033fc11eb034b6c5b147eed0f832e604f17df1e987
#!/usr/bin/env python """ Easy Install ------------ A tool for doing automatic download/extract/build of distutils-based Python packages. For detailed documentation, see the accompanying EasyInstall.txt file, or visit the `EasyInstall home page`__. __ https://setuptools.readthedocs.io/en/latest/easy_install.html ""...
Python
workspace/lib/python3.5/site-packages/setuptools/command/easy_install.py
pcu4dros/pandora-core
mit
87,125
2,334
codeparrot/github-code
f9351348245e8991ea040e94cbf2101a204fd8a8166a8949e187e14c40482634
# frozen_string_literal: true require_relative "../notifications" module ActiveSupport # Raised when <tt>ActiveSupport::Deprecation::Behavior#behavior</tt> is set with <tt>:raise</tt>. # You would set <tt>:raise</tt>, as a behavior to raise errors and proactively report exceptions from deprecations. class Depre...
Ruby
activesupport/lib/active_support/deprecation/behaviors.rb
felipecvo/rails
mit
4,146
106
codeparrot/github-code
a62b381da83a6db473dba98b68ed240d78c7f8c20dd144cc306a9736fc3a9ae7
/* * OpenAL Tone Generator Test * * Copyright (c) 2015 by Chris Robinson <chris.kcat@gmail.com> * * 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...
C
src/3rdparty/openal/examples/altonegen.c
Murii/CLove
mit
8,716
272
codeparrot/github-code
bbfb9fdcf95028919c6fc0b52596316167a2f0dc199d438857bfb2138f5a8923
#warning ipfwadm is obsolete, and will be removed soon. /* Minor modifications to fit on compatibility framework: Rusty.Russell@rustcorp.com.au */ #include <linux/config.h> #define CONFIG_IP_FIREWALL #define CONFIG_IP_FIREWALL_VERBOSE #define CONFIG_IP_MASQUERADE #define CONFIG_IP_ACCT #define CONFIG_IP_TRANSPAREN...
C
nsc/linux-2.6/net/ipv4/netfilter/ipfwadm_core.c
binhqnguyen/lena
gpl-2.0
35,824
1,465
codeparrot/github-code
43d9cbb3825bdf0b910a0c79782b0431229754370b590241fe59464822eaba8b
/* { dg-do run } */ /* { dg-options "-O2 -fdump-tree-strlen" } */ #include "strlenopt.h" __attribute__((noinline, noclone)) size_t bar (char *p, char *q) { size_t l1, l2, l3; char *r = strchr (p, '\0'); strcpy (r, "abcde"); char *s = strchr (r, '\0'); strcpy (s, q); l1 = strlen (p); l2 = strlen (r); l...
C
gcc/testsuite/gcc.dg/strlenopt-22.c
Gurgel100/gcc
gpl-2.0
942
40
codeparrot/github-code
42b7fb05d74cb8df55fe050a6629291f8e9c17ebbe6d9e85da5402f389f4999f
# -*- coding: utf-8 -*- """ *************************************************************************** MessageDialog.py --------------------- Date : October 2014 Copyright : (C) 2014 by Alexander Bruy Email : alexander dot bruy at gmail dot com ***********...
Python
python/plugins/processing/gui/MessageDialog.py
dwadler/QGIS
gpl-2.0
2,138
65
codeparrot/github-code
de838028058d8855a2a8ae7498177d99a8cc5b2793a0381906a4e51a8fcc6040
<!-- saved from url=(0014)about:internet --><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"> <html> <!-- Standard Head Part --> <head> <title>NUnit - Nunit-gui</title> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <meta http-equiv="Content-Language" content="en-US"> <meta name="norton-safe...
HTML
tools/NUnit-2.6.0.12051/doc/nunit-gui.html
CHAOS-Community/Portal.Module.Larmfm
gpl-2.0
6,334
152
codeparrot/github-code
2eb64ffefcfcb7d7df237c9a2da18438466f6bff979319b8f61f847476d5c4f8
#******************************************************************************** #* Dionaea #* - catches bugs - #* #* #* #* Copyright (C) 2009 Paul Baecher & Markus Koetter #* #* This program is free software; you can redistribute it and/or #* modify it under t...
Python
modules/python/scripts/store.py
gento/dionaea
gpl-2.0
2,119
73
codeparrot/github-code
5bca45aa93de607c4ebec8ef486a7b2e90897bfb2891f687b710e897fcf7d430
/* 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 h...
C
drivers/video/msm/mipi_zte_yushun_nt35516_lg_qHD.c
stedman420/android_kernel_zte_warplte
gpl-2.0
39,031
918
codeparrot/github-code
577dfd3679554a224e26b40cf23dfe2eb2b5c51f07182d783d93023399522fdf
/* * Copyright (c) 1997, 2016, 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 ...
Java
test/sanity/client/lib/jemmy/src/org/netbeans/jemmy/operators/JTextAreaOperator.java
FauxFaux/jdk9-jdk
gpl-2.0
21,015
659
codeparrot/github-code
1bb220f84eabf20ada8d5bc306137983a22017251c3d3deaa73231fc1f88f50b
<!doctype html> <html> <head> <title>jPList - jQuery Data Grid Controls - Checkbox Text Filter Demo</title> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <!-- css --> <link href="http://fonts.googleapis.com/css?family=Lato" rel="stylesheet" type="tex...
HTML
testmon/vendors/jplist/html/examples/3-toggle-filters/checkbox-text-filter.html
octoray/AJAX_PFI
gpl-2.0
29,916
714
codeparrot/github-code
8481f9ce0c36e9664b4d9a99bd786b3defe6e6872086895a34c4c36c0d5bdd56
<?php /** * @version $Id: categorieslatest.php 1920 2013-02-11 19:07:41Z joomlaworks $ * @package K2 * @author JoomlaWorks http://www.joomlaworks.net * @copyright Copyright (c) 2006 - 2013 JoomlaWorks Ltd. All rights reserved. * @license GNU/GPL license: http://www.gnu.org/copyleft/gpl.html */ // no direct a...
PHP
administrator/components/com_k2/elements/categorieslatest.php
volodymyrdmytriv/levin-25-2
gpl-2.0
4,260
140
codeparrot/github-code
a704fed1f48c32567f7a71924d9621b5e8bcc80737de74cf9b3da2ec27e64de4
/* * Copyright 2003-2005 Red Hat, Inc. All rights reserved. * Copyright 2003-2005 Jeff Garzik * * * 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, or (at your optio...
C
include/linux/libata.h
kissge/linuxkernel
gpl-2.0
56,288
1,704
codeparrot/github-code
632c78ead2074d293b5e58aed0f387b7679b7958b9eb3e0adbf6026abb1f7042
<?php // $Id: index.php,v 1.35.2.8 2009/09/26 19:47:08 skodak Exp $ /** * file index.php * index page to view blogs. if no blog is specified then site wide entries are shown * if a blog id is specified then the latest entries from that blog are shown */ require_once('../config.php'); require_once($CFG->dirroot .'...
PHP
cursos/blog/index.php
damasiorafael/inppnet
gpl-2.0
6,168
176
codeparrot/github-code
98f29e546035e3896789f83370096c51721f9c2036df9022433ef7115fa4b2eb
/* Copyright (c) 2011-2012, The Linux Foundation. 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...
C
arch/arm/mach-msm/devices-8064.c
Split-Screen/android_kernel_motorola_msm8960-common
gpl-2.0
31,538
1,201
codeparrot/github-code
3a70eb1a9da8c59824b9b0b66eb302878cc05342fe3262bda9dcf184508f406a
/***************************************************************************** * * PROJECT: Multi Theft Auto v1.0 * LICENSE: See LICENSE in the top level directory * FILE: game_sa/TaskCarSA.h * PURPOSE: Car game tasks * DEVELOPERS: Ed Lyons <eai@opencoding.net> * Jax <> * Christian ...
C
src/game_sa/TaskCarSA.h
BlastHackNet/mod_s0beit_sa
gpl-3.0
6,913
191
codeparrot/github-code
e1f1998a3da985bff694c6bd85479d2a4e23ac7fbafebd2661152f33056cf5ac
/* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * This file incorporates work covered by the following lice...
Java
scripting/examples/java/Newsgroup/MimeConfiguration.java
sbbic/core
gpl-3.0
7,707
212
codeparrot/github-code
90313e006347be67cfce0a2f4d115bd2b4532bf43c89f1128a939f286880f928
/*==LICENSE==* CyanWorlds.com Engine - MMOG client, server and tools Copyright (C) 2011 Cyan Worlds, Inc. 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 you...
C
Sources/Plasma/FeatureLib/pfPython/plPythonHelpers.h
cwalther/Plasma-nobink-test
gpl-3.0
2,808
77
codeparrot/github-code
17d93ed0124448c3ebdb11c4040621ebe82e5642e87e080f1c66a0298cbea6f6
/* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 SYS_WKUP2 = NC, #endif #ifdef PWR_WAKEUP_PIN3 SYS_WKUP3 = NC, #endif #ifdef PWR_WAKEUP_PIN4 SYS_WKUP4 = NC, #endif #ifdef PWR_WAKEUP_PIN5 SYS_WKUP5 = NC, #endif #ifdef PWR_WAKEUP_PIN6 SYS_WKUP6 = NC, #endif #ifdef PWR_WAKEUP_PIN7 SYS_...
C
buildroot/share/PlatformIO/variants/MARLIN_F407VE/PinNamesVar.h
petrzjunior/Marlin
gpl-3.0
980
51
codeparrot/github-code
cb4ac7c8d3c21af198c155c07461e974f1c31b97b51aa511c73fbc55aeb496cc
--------------------------------------------- -- Spirit Absorption -- Attempts to absorb one buff from a single target, or otherwise steals HP. -- Type: Magical -- Utsusemi/Blink absorb: 1 Shadows -- Range: Melee --------------------------------------------- require("scripts/globals/monstertpmoves") require("scripts/gl...
Lua
scripts/globals/mobskills/spirit_absorption.lua
zynjec/darkstar
gpl-3.0
913
31
codeparrot/github-code
5918bd0bd555c9f3ae8485bfb2f9a961d6e0daafb299b885b05a8d511865318c
// boost/timer/timer.hpp -------------------------------------------------------------// // Copyright Beman Dawes 1994-2007, 2011 // Distributed under the Boost Software License, Version 1.0. // See http://www.boost.org/LICENSE_1_0.txt #ifndef BOOST_TIMER_TIMER_HPP #define BOOST_TIMER_TIMER_HP...
C++
external_libraries/boost/boost/timer/timer.hpp
bagong/supercollider
gpl-3.0
4,658
133
codeparrot/github-code
fa1d0a29d44024a5e3d049432c9e6b4d90a87e52096f3824db96deb079a08e94
<?php /** * @package WPSEO\Admin\ConfigurationUI */ /** * Represents the configuration suggestions component. */ class WPSEO_Config_Component_Suggestions implements WPSEO_Config_Component { /** * Gets the component identifier. * * @return string */ public function get_identifier() { return 'Suggestion...
PHP
wp/wp-content/plugins/wordpress-seo/admin/config-ui/components/class-component-suggestions.php
WordBenchNagoya/WordFes2017
gpl-3.0
4,268
107
codeparrot/github-code
5d352b2f562246bfc1f1bea72875268d4f26466ba8ec68802a507059990dffdd
#!/usr/bin/env python2 # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai from __future__ import (unicode_literals, division, absolute_import, print_function) __license__ = 'GPL v3' __copyright__ = '2012, Kovid Goyal <kovid at kovidgoyal.net>' __docformat__ = 'restructuredtext en' ...
Python
src/calibre/devices/mtp/defaults.py
ashang/calibre
gpl-3.0
1,629
55
codeparrot/github-code
ffe48805279738745427ba8199b3416eef48485078b866af71d1f8c4668f80a8
package cn.nukkit.level.generator.populator; import cn.nukkit.block.Block; import cn.nukkit.level.ChunkManager; import cn.nukkit.level.format.FullChunk; import cn.nukkit.level.format.generic.BaseFullChunk; import cn.nukkit.math.NukkitRandom; public class PopulatorGroundFire extends Populator { private ChunkManag...
Java
src/main/java/cn/nukkit/level/generator/populator/PopulatorGroundFire.java
SOTEDev/Nukkit
gpl-3.0
1,881
59
codeparrot/github-code
1c0cb24e5e2e607105854d45fd069765cd0447a48af2c5d87989b18804a2187e
package codechicken.nei.api; import codechicken.nei.VisiblityData; import net.minecraft.client.gui.inventory.GuiContainer; import net.minecraft.item.ItemStack; import java.util.Collections; import java.util.List; /** * Lets you just override those things you want to */ public class INEIGuiAdapter implements INEIGu...
Java
src/main/java/codechicken/nei/api/INEIGuiAdapter.java
4Space/4Space-5
gpl-3.0
1,045
44
codeparrot/github-code