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
65e5a0cba9255121b843de8986b5237093c4653d22246252753b60fea9266137
<?php // $Id$ if (!defined('MOODLE_INTERNAL')) { die('Direct access to this script is forbidden.'); /// It must be included from a Moodle page } require_once $CFG->libdir.'/formslib.php'; class course_reset_form extends moodleform { function definition (){ global $CFG, $COURSE; $mform =& ...
PHP
course/reset_form.php
mkassaei/Moodle-Question-Engine-2
gpl-2.0
6,211
132
codeparrot/github-code
90075e266987093825090b199657d6493a839c844ee6519474f65b902dc409e6
<?php /** * @file * Contains \Drupal\datetime\Plugin\Field\FieldType\DateTimeFieldItemList. */ namespace Drupal\datetime\Plugin\Field\FieldType; use Drupal\Core\Datetime\DrupalDateTime; use Drupal\Core\Field\FieldItemList; /** * Represents a configurable entity datetime field. */ class DateTimeFieldItemList ex...
PHP
core/modules/datetime/src/Plugin/Field/FieldType/DateTimeFieldItemList.php
anhtrankg/drupal_8.0
gpl-2.0
2,595
87
codeparrot/github-code
094270c491b1923b8cdc7b25aae56f977d73a909ca4ad55f1ff4c842dd22dfbe
/* * Copyright (C) 2011-2014 Project SkyFire <http://www.projectskyfire.org/> * Copyright (C) 2008-2014 TrinityCore <http://www.trinitycore.org/> * Copyright (C) 2005-2014 MaNGOS <http://getmangos.com/> * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU Genera...
C
src/server/game/Battlegrounds/Zones/BattlegroundWS.h
samaelsacred/PandariaCore
gpl-2.0
8,660
240
codeparrot/github-code
1fc72a4466c3ec6e11e0f97c65874c03d9a377416c974aa22fdfc205d68058dd
<?php //Function to update questions in the database function event_espresso_form_builder_update(){ global $wpdb, $current_user; $success = FALSE; $errors = FALSE; $enum_values=array( 'Y' => 'Y', 'N' => 'N' ); $allowedtags['a']['id'] = array(); $allowedtags['a']['class'] = array(); $allowedtags['img'] = arr...
PHP
wp-content/plugins/event-espresso/includes/form-builder/questions/update_question.php
coubeatczech/wp
gpl-2.0
3,256
89
codeparrot/github-code
34f6df5b8f8575e44768d306f0bb5d05dcd66e0b0f13cf079b782e5710a4be16
// license:BSD-3-Clause // copyright-holders:Nicola Salmoria #ifndef MAME_VIDEO_TC0180VCU_H #define MAME_VIDEO_TC0180VCU_H #pragma once #include "tilemap.h" class tc0180vcu_device : public device_t, public device_gfx_interface, public device_video_interface { public: tc0180vcu_device(const machine_config &mconfig,...
C
src/mame/video/tc0180vcu.h
johnparker007/mame
gpl-2.0
2,808
86
codeparrot/github-code
8d1fbe147ebae0928a392d077c0b66cd4176081a33eb2678cd890d37e882534b
<?php /** * File containing the eZEXIFImageAnalyzer 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 lib */ /*! \class eZEXIFImageAnalyzer ezex...
PHP
lib/ezimage/classes/ezexifimageanalyzer.php
pbek/ezpublish-legacy
gpl-2.0
1,911
65
codeparrot/github-code
12eced686d855300c7ca7a9c4c033446a8390028cda51de9c9414b23b0c1a66b
/* * linux/drivers/char/core.c * * Driver core for serial ports * * Based on drivers/char/serial.c, by Linus Torvalds, Theodore Ts'o. * * Copyright 1999 ARM Limited * Copyright (C) 2000-2001 Deep Blue Solutions Ltd. * * This program is free software; you can redistribute it and/or modify * it under the ...
C
drivers/tty/serial/serial_core.c
Puri321/lge-kernel-bssq
gpl-2.0
63,906
2,536
codeparrot/github-code
3551566cfdec2ad92d341be36f57eaa1738f27116957ec048602f1285df17175
/* * Copyright 2009 Jakub Wieczorek <faw217@gmail.com> * * 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 version. * * Thi...
C++
src/opensearch/src/opensearchenginedelegate.cpp
cfra/arora
gpl-2.0
2,167
63
codeparrot/github-code
b940f2b92ec5ae11dd9b4b04e1757ddb3f92318a2fd58b6cc6952f1fb48233a4
#ifndef INCLUDES_MYSQL_SQL_LIST_H #define INCLUDES_MYSQL_SQL_LIST_H /* Copyright (c) 2000, 2012, 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 th...
C
sql/sql_list.h
YannNayn/mariadb-galera-msvc
gpl-2.0
20,718
811
codeparrot/github-code
69beac3963d63aec05fb1e1db8029925521e279675f5068bd0591ecf02d2bb7f
/* =========================================================================== Copyright (C) 1999 - 2005, Id Software, Inc. Copyright (C) 2000 - 2013, Raven Software, Inc. Copyright (C) 2001 - 2013, Activision, Inc. Copyright (C) 2013 - 2015, OpenJK contributors This file is part of the OpenJK source code. OpenJK is ...
C
codeJK2/game/bg_public.h
eezstreet/OpenJK
gpl-2.0
18,934
679
codeparrot/github-code
712f4f9df257212507572f49fe2c93ca4dd938040a25f8eab89c911136cda5ac
/** @file TCP input process routines. Copyright (c) 2005 - 2010, Intel Corporation. All rights reserved.<BR> This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at...
C
src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Input.c
carmark/vbox
gpl-2.0
32,697
1,467
codeparrot/github-code
b34afda6ea5bce656fababa9dda894a910cd3d854b87b2c9a83dc77eb500da8c
//============================================================================= // MuseScore // Music Composition & Notation // // Copyright (C) 2002-2011 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 // ...
C
libmscore/notedot.h
shredpub/MuseScore
gpl-2.0
1,238
46
codeparrot/github-code
8ca90b3ba68c569c1137a3487c7ebfe537283223fee9283873e906154bfb66c2
// // DTCustomColoredAccessory.h // DTFoundation // // Created by Oliver Drobnik on 2/10/12. // Copyright (c) 2012 Cocoanetics. All rights reserved. // #import <Foundation/Foundation.h> /** Constant used by DTCustomColoredAccessory to specify the type of accessory. */ typedef NS_ENUM(NSUInteger, DTCustomColored...
C
Pods/DTFoundation/Core/Source/iOS/DTCustomColoredAccessory.h
bakyelli/wordpress-ios-passcode
gpl-2.0
2,139
82
codeparrot/github-code
e5aa1a0e41d747347eff47fb8785261b97d6c4c35c832e6e77c7fdb441d0f541
/* * Copyright (C) 2011 Red Hat, Inc. * * This file is released under the GPL. */ #include "dm-space-map-checker.h" #include <linux/device-mapper.h> #ifdef CONFIG_DM_DEBUG_SPACE_MAPS #define DM_MSG_PREFIX "space map checker" /*----------------------------------------------------------------*/ struct count_arr...
C
drivers/md/persistent-data/dm-space-map-checker.c
XXLRay/linux-2.6.32-rhel6.x86_64
gpl-2.0
9,497
438
codeparrot/github-code
49a80d7d48978c244b07619ad5091597149cdf731e17dc4ca8058eec8ebeec05
/* v4l2 chip identifiers header This header provides a list of chip identifiers that can be returned through the VIDIOC_DBG_G_CHIP_IDENT ioctl. Copyright (C) 2011-2014 Freescale Semiconductor, Inc. Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl> This program is free software; you can red...
C
include/media/v4l2-chip-ident.h
bgat/linux-udoo
gpl-2.0
9,916
360
codeparrot/github-code
2ef31453b005443a7657515c324a60100529a09022eb77f0dceb2d5fa3ba1168
/* * B400M Quad-BRI module Driver * Written by Andrew Kohlsmith <akohlsmith@mixdown.ca> * * Copyright (C) 2010 Digium, Inc. * All rights reserved. * */ /* * See http://www.asterisk.org for more information about * the Asterisk project. Please do not directly contact * any of the maintainers of this project ...
C
linux/drivers/dahdi/wctdm24xxp/xhfc.h
Evangileon/dahdi
gpl-2.0
1,606
53
codeparrot/github-code
c52b20a83f723d1c3cc829a55247325c3cae65d16a3bbfeb2d708843d6c4fef8
/* Copyright (c) 2010-2012, 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 ho...
C
drivers/video/msm/vidc/1080p/ddl/vcd_ddl_vidc.c
forumi0721/android_kernel_lge_batman_lgu_kr
gpl-2.0
43,302
1,222
codeparrot/github-code
e99f75d5dcffdb9ac32bce9b7916612e04bc151e56b9bdb394d4944ecca27ecb
/* trap.c -- Not the trap command, but useful functions for manipulating those objects. The trap command is in builtins/trap.def. */ /* Copyright (C) 1987-2009 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. Bash is free software: you can redistribute it and/or modify ...
C
trap.c
XCage15/vyatta-bash
gpl-3.0
29,679
1,066
codeparrot/github-code
407f1298346d4b8fa2a9cb0b1f74858383db0a1e3006692083ddabf3fb83d35b
<a href='https://github.com/angular/angular.js/edit/v1.5.x/src/ngAnimate/animateCss.js?message=docs($animateCss)%3A%20describe%20your%20change...#L5' class='improve-docs btn btn-primary'><i class="glyphicon glyphicon-edit">&nbsp;</i>Improve this Doc</a> <a href='https://github.com/angular/angular.js/tree/v1.5.0/src/...
HTML
web_root/third-party/angularjs/angular-1.5.0/docs/partials/api/ngAnimate/service/$animateCss.html
keithbox/PPSP-360_Degree_Evaluation_System
gpl-3.0
14,562
282
codeparrot/github-code
60045c294366d7304e28bde959a8ed89572b9de2d4d4ad08f4d8b4d46ffe3903
--------------------------------------------------- -- Condemnation -- Deals damage in a threefold attack to enemies within a fan-shaped area of effect. --------------------------------------------- require("scripts/globals/monstertpmoves") require("scripts/globals/settings") require("scripts/globals/status") ---------...
Lua
scripts/globals/mobskills/condemnation.lua
zynjec/darkstar
gpl-3.0
1,073
31
codeparrot/github-code
050fd1f07f3e3c02157ec894433d846296dc887aae236b85d9975b2c9fe15c3e
/* Copyright (c) 2011-2012, The Linux Foundation. All rights reserved. * Copyright (c) 2013 Foxconn International Holdings, Ltd. 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 pub...
C
kernel/drivers/slimbus/slim-msm-ctrl.c
Jarbu12/Xperia-M-Kernel
gpl-3.0
66,190
2,429
codeparrot/github-code
48caecb387c05124119b5038d735f1be47bafded1a98dde1380a38fa9af3b32c
----------------------------------- -- Area: Tavnazian Safehold -- NPC: Caiphimonride -- Standard Merchant NPC ----------------------------------- local ID = require("scripts/zones/Tavnazian_Safehold/IDs") require("scripts/globals/missions") require("scripts/globals/shop") function onTrade(player,npc,trade) end func...
Lua
scripts/zones/Tavnazian_Safehold/npcs/Caiphimonride.lua
TeoTwawki/darkstar
gpl-3.0
937
37
codeparrot/github-code
c163535ae72a1f1c4939b185f81a3782a2d2bef6e5d2dcabbcb64b3025bd58d3
/* * Copyright (C) 2014 Ludwig Knüpfer <ludwig.knuepfer@fu-berlin.de> * 2016 Freie Universität Berlin * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup cpu...
C
cpu/native/periph/hwrng.c
aabadie/RIOT
lgpl-2.1
3,895
159
codeparrot/github-code
2eef1064d5ceccdfbec54312c0ff65796766914ddde378bd00247f1d0cc3a857
if (!ORYX.Plugins) ORYX.Plugins = new Object(); var guvnorPopupEditor; /** * Plugin that provides a way to edit constraints in DRL format (or as plain text too). * This plugin uses Guvnor Standalone Editor to open a popup with an editor that * you can use to author your rules. * * Example of a field usi...
JavaScript
jbpm-designer-client/src/main/resources/org/jbpm/designer/public/js/Plugins/constraintExpressionEditor.js
tsurdilo/jbpm-designer
apache-2.0
19,274
554
codeparrot/github-code
827001fc08660052102b33eb76f4909afc41c2a2b8a655ba94d51ae54476d23a
/* Copyright 2014 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, ...
GO
pkg/kubelet/network/cni/cni.go
euank/kubernetes
apache-2.0
6,643
208
codeparrot/github-code
08913f5026d0535c64164f7a73eea8be17f4776a3325c336b5991778f7db5411
/** router_runner.h -*- C++ -*- Jeremy Barnes, 17 December 2012 Copyright (c) 2012 Datacratic. All rights reserved. Program to run the router. */ #pragma once #include <boost/program_options/options_description.hpp> #include "rtbkit/core/router/router.h" #...
C
rtbkit/core/router/router_runner.h
duyetdev/BGateRTB
apache-2.0
2,113
82
codeparrot/github-code
c1831b56143658db710da0ef970d10d1158ffaa4c122b8c249a99f12c9d1b1f3
// ---------------------------------------------------------------------------------- // // 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/ResourceManager/LogicApp/Commands.LogicApp/Cmdlets/IntegrationAccount/RemoveAzureIntegrationAccountAgreementCommand.cs
atpham256/azure-powershell
apache-2.0
2,862
64
codeparrot/github-code
fddffe217e344ba37a6281dfefe4f833e533dc8ac7b5c894d572f236994eef4b
package org.jaggeryjs.scriptengine.security; import org.jaggeryjs.scriptengine.exceptions.ScriptException; import java.net.MalformedURLException; import java.net.URI; import java.net.URISyntaxException; import java.net.URL; import java.security.CodeSource; import java.security.cert.Certificate; public class RhinoURI...
Java
components/script-engine/org.jaggeryjs.scriptengine/src/main/java/org/jaggeryjs/scriptengine/security/RhinoURISecurityDomain.java
wso2/jaggery
apache-2.0
1,093
40
codeparrot/github-code
05ad5c7812e8b8f60ad294e9ad76492d0e599829be79ef8233d3adf3c355aa70
/* * Copyright 2016 Red Hat, Inc. and/or its affiliates. * * 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 a...
Java
kie-dmn/kie-dmn-core/src/main/java/org/kie/dmn/core/ast/DMNDTExpressionEvaluator.java
jomarko/drools
apache-2.0
6,634
146
codeparrot/github-code
da0308714d87564fd7865327abe915ee70401dd1b95d30d4b7756b1f41f197ba
// Licensed to the Software Freedom Conservancy (SFC) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The SFC licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you m...
Java
java/client/test/com/thoughtworks/selenium/corebased/TestSelectPopUp.java
twalpole/selenium
apache-2.0
2,504
60
codeparrot/github-code
ddc47090433953b8633bc94e1805937d7b13fecf04fefa4ece6553838e699169
/* * 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-base/src/test/java/org/apache/flink/connector/base/source/reader/fetcher/SplitFetcherTest.java
apache/flink
apache-2.0
13,120
335
codeparrot/github-code
e1d9896944e2619f1355bc0602690f7552dec03201b49ca0f97f783a55804011
/* * Copyright 2014 NAVER Corp. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
Java
collector/src/main/java/com/navercorp/pinpoint/collector/dao/hbase/HbaseSqlMetaDataCompatibility.java
gspandy/pinpoint
apache-2.0
3,071
87
codeparrot/github-code
f5e74780fc5c83f41109b1ad38bcb5d5b0856ef1cfe085f240783bf82109c86f
/* * 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.action; import org.elasticsea...
Java
x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/action/XPackInfoFeatureAction.java
GlenRSmith/elasticsearch
apache-2.0
4,485
92
codeparrot/github-code
c6c083909bc29e632bf609051bbdf7219c6238f7b89405b6b769893f3a0e1759
/* * 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
wicket-util/src/main/java/org/apache/wicket/util/collections/MiniMap.java
dashorst/wicket
apache-2.0
9,919
544
codeparrot/github-code
052e081066cb46b601cc3573de3e244c4998007a9d8c08bb7f3faeee5e092c4a
/** * 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
engine/src/main/java/com/datatorrent/stram/stream/InlineStream.java
tushargosavi/apex-core
apache-2.0
2,981
131
codeparrot/github-code
033f60bb0da5f76bbb83cc0aad5ba49c3e40023488a6e1b2f5896b808bcbc3f4
/* Copyright 2015 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
C++
tensorflow/core/kernels/cwise_op_gpu_rsqrt.cu.cc
annarev/tensorflow
apache-2.0
1,146
31
codeparrot/github-code
5990f5803ca913b932d56aa9b7d770a2b4885ff9f53526c37a85355b2554aa21
// Copyright 2013 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 NET_TOOLS_BALSA_BALSA_HEADERS_H_ #define NET_TOOLS_BALSA_BALSA_HEADERS_H_ #include <algorithm> #include <iosfwd> #include <iterator> #include <st...
C
net/tools/balsa/balsa_headers.h
CTSRD-SOAAP/chromium-42.0.2311.135
bsd-3-clause
44,120
1,142
codeparrot/github-code
ad54039e11a2038decf968c369923be87296708aeab33db6229e04a5a5370e79
// 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. /** * Component for the main window. * * The class receives UI events from UI components that does not have their own * controller, and do correspondi...
JavaScript
ui/file_manager/file_manager/foreground/js/main_window_component.js
js0701/chromium-crosswalk
bsd-3-clause
12,043
405
codeparrot/github-code
5a0d663104df75ab13f4529f19495f4ffe30a3806cf085d10d815f31220a7b6e
/* * Copyright 2012 The LibYuv Project Authors. All rights reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributing p...
C++
third_party/libyuv/source/mjpeg_decoder.cc
endlessm/chromium-browser
bsd-3-clause
19,226
586
codeparrot/github-code
c75f77d5d03e46b6b60d892a6d2dcd1e05f0720077af8285e09819d507e81234
define("dojo/_base/sniff", ["./kernel", "./lang", "../sniff"], function(dojo, lang, has){ // module: // dojo/_base/sniff /*===== return { // summary: // Deprecated. New code should use dojo/sniff. // This module populates the dojo browser version sniffing properties like dojo.isIE. }; =====*/ if(! 1...
JavaScript
web/public/libs/dojo/1.8.3/dojo/_base/sniff.js.uncompressed.js
ISTang/sitemap
gpl-2.0
2,775
97
codeparrot/github-code
0e2bbef10f67631e422bb8ba909fb1e0b86b4261890c008093a13db080e18a0b
@defstruct ChannelPoolingLayer Layer ( name :: String = "channel-pooling", (bottoms :: Vector{Symbol} = Symbol[], length(bottoms) > 0), (tops :: Vector{Symbol} = Symbol[], length(tops) == length(bottoms)), (kernel :: Int = 1, kernel > 0), (stride :: Int = 1, stride > 0), (pad :: NTuple{2, Int} = (0,0), all(...
Julia
src/layers/channel-pooling.jl
shyamalschandra/Mocha.jl
mit
4,538
136
codeparrot/github-code
fb3ce96ef07b6687e604316399ae9786d0cc20aba5643995ac3afd8bf3297948
// CodeContracts // // Copyright (c) Microsoft Corporation // // All rights reserved. // // MIT License // // 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 wit...
C#
Microsoft.Research/Analyzers/Unsafe Code Analysis/PolyhedraUnsafeAnalysis.cs
Microsoft/CodeContracts
mit
4,336
104
codeparrot/github-code
64a49c64f0416167ac811099293c22cf15d14cdba702cd6bb43867e8a108d938
# # is_numeric.rb # module Puppet::Parser::Functions newfunction(:is_numeric, :type => :rvalue, :doc => <<-DOC Returns true if the given argument is a Numeric (Integer or Float), or a String containing either a valid integer in decimal base 10 form, or a valid floating point string representation. Th...
Ruby
puppet/modules/stdlib/lib/puppet/parser/functions/is_numeric.rb
integratedfordevelopers/integrated-puphpet
mit
2,293
75
codeparrot/github-code
0edc2d3323e7ea6159a95667984c4648b65a468265bef7f71eb76a87932c0a59
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // The implementation of the environment of intervals using System; using System.Text; using System.Diagnostics; using Microsoft.Research.AbstractDomains.Expressions; ...
C#
Microsoft.Research/AbstractInterpretation/Abstract Domains/Numerical/Intervals/IntervalEnvironment_IEEE754.cs
ndykman/CodeContracts
mit
18,589
603
codeparrot/github-code
cf4bac35b0a1f6a905a75d74595fd82d6699553b458f62c1a8079dd50daf00c1
// CodeContracts // // Copyright (c) Microsoft Corporation // // All rights reserved. // // MIT License // // 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 wit...
C#
Microsoft.Research/Contracts/System.Web/Sources/System.Web.Compilation.BuildDependencySet.cs
Microsoft/CodeContracts
mit
2,480
68
codeparrot/github-code
c3ef07b41dc282ee6501c9bc76d14dd5cff970369b9461525e6e25a484b38c3a
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="robots" content="index, follow, all" /> <title>Thelia\Model\Base\ModuleConfigI18nQuery | Thelia 2 API</title> <link rel="stylesheet" type="text/css" href="../../../css/bootstrap.min.css"> <link rel="stylesheet"...
HTML
api/master/Thelia/Model/Base/ModuleConfigI18nQuery.html
thelia/thelia.github.io
mit
73,958
1,961
codeparrot/github-code
0e78713b2140342d05413564c14f49eb3dd68efeb9d680de2b8ffab45552c284
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using System.Diagnostics.Contracts; namespace Microsoft...
C#
Microsoft.Research/DataStructures/Extensions.cs
Microsoft/CodeContracts
mit
9,013
258
codeparrot/github-code
9c985895beac96fb776eff3226ab4ab4a63c02be534050fee4f1b63a0d7ad50c
// Type definitions for openpgpjs // Project: http://openpgpjs.org/ // Definitions by: Guillaume Lacasa <https://blog.lacasa.fr> // Definitions: https://github.com/borisyankov/DefinitelyTyped declare module openpgp { interface KeyPair { key: key.Key, privateKeyArmored: string, publicKeyArm...
TypeScript
openpgp/openpgp.d.ts
behzad888/DefinitelyTyped
mit
19,882
589
codeparrot/github-code
af54535c2b4cb3376175423e60c3a6d43f742eda704e37373975d66477c9d2ad
/* * (C) Copyright 2009 * Marvell Semiconductor <www.marvell.com> * Written-by: Prafulla Wadaskar <prafulla@marvell.com> * * (C) Copyright 2003 * Ingo Assmus <ingo.assmus@keymile.com> * * based on - Driver for MV64360X ethernet ports * Copyright (C) 2002 rabeeh@galileo.co.il * * See file CREDITS for list of ...
C
drivers/net/mvgbe.c
czc0713/Mst786
gpl-2.0
19,992
742
codeparrot/github-code
4212c8074610d3a832faa5df87da5fc4ef2bd397c8f02c8ad4eb42ad25d060dd
/* Copyright (C) 2014 - 2015 by David White <dave@whitevine.net> Part of the Battle for Wesnoth Project http://www.wesnoth.org/ 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 v...
C++
src/random_new.cpp
jstitch/wesnoth
gpl-2.0
2,276
84
codeparrot/github-code
f4d2335ed0d80f41bd4bdf54d3024312eff197cb0678fb47af471e451eaf3597
<?php /** * Module Template - for shipping-estimator display * * @package templateSystem * @copyright Copyright 2003-2011 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0 * @version $Id: tpl_modules_shipping_estim...
PHP
shop/includes/templates/template_default/templates/tpl_modules_shipping_estimator.php
jaclarke83/SaugatuckTeaPartyCafe
gpl-2.0
6,449
164
codeparrot/github-code
ee040263d83ca4510bb88292aeec0746c52ec4fc68a2cd569a5525e83561d400
<html> <head> <style type="text/css"> <!-- body { direction: rtl; } //--></style> <title>%1</title> <script language="Javascript"> <!-- function listPlugins() { document.write("<table border=\"1\">"); document.write("<tr>%2</tr>"); for (i = 0; i < navigator.plugins.length; i++) { document.write("<tr><td>"+navigator...
HTML
konqueror/about/plugins_rtl.html
theunbelievablerepo/dolphin2.1
gpl-2.0
1,571
52
codeparrot/github-code
c312d90f53e40c4d25b4a7ab8cbe44af633f72e587430bf781919b21facbe540
/* backpack.c (c) 2001 Micro Solutions Inc. Released under the terms of the GNU General Public license backpack.c is a low-level protocol driver for the Micro Solutions "BACKPACK" parallel port IDE adapter (Works on Series 6 drives) Written by: Ken Hahn (linux-dev@micro-solutions.com) Clive ...
C
linux-2.6.18-xen.hg/drivers/block/paride/bpck6.c
zhoupeng/spice4xen
gpl-2.0
6,739
282
codeparrot/github-code
96a2e10c827131a0e94b90b8281a4b6ddc8ac064981bc87315210bddc86c8111
#ifndef __RK616_HDMI_H__ #define __RK616_HDMI_H__ #ifdef CONFIG_HAS_EARLYSUSPEND #include <linux/earlysuspend.h> #endif #include <linux/mfd/rk616.h> #include "../rk_hdmi.h" #ifdef DEBUG #define RK616DBG(format, ...) \ printk(KERN_INFO "RK616 HDMI: " format "\n", ## __VA_ARGS__) #else #define RK616DBG(format, ...) #...
C
drivers/video/rockchip/hdmi/rk616/rk616_hdmi.h
linuxium/rkm-kk
gpl-2.0
902
41
codeparrot/github-code
f3bbc41702131e0cd20f0cd08879bffb802eac629bf7ae60249f49d60339e8a1
/* Copyright_License { XCSoar Glide Computer - http://www.xcsoar.org/ Copyright (C) 2000-2015 The XCSoar Project A detailed list of copyright holders can be found in the file "AUTHORS". This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License ...
C++
src/Screen/Custom/UncompressedImage.hpp
CnZoom/XcSoarPull
gpl-2.0
2,430
110
codeparrot/github-code
4d9c589c32f7a5d781f482ce9abe6e78bbc7d837109ef293aec5ae9e21c322a7
/****************************************************************************** * * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms of version 2 of the GNU Genera...
C
manufacturer/EW7833UAC_linux_4.3.21_kernel_3.16-4.4/EW7833UAC_linux_v4.3.21_17997.20160531/hal/phydm/phydm_powertracking_ap.h
Kawashima-Azumi/rtlwifi-legacy
gpl-2.0
9,091
315
codeparrot/github-code
98a615c84170c943c32fa7900e82c4d46768f02a26345e924a29899aabbc0002
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Stream Buffers</tit...
HTML
libstdc++-v3/doc/html/manual/streambufs.html
mm120/gcc-vc4
gpl-2.0
9,066
136
codeparrot/github-code
956b45c94a8049a2ec9dc4329321183f9a620a5a21c2d3e13f769426f818fd37
<?php /* ************************************************************************ Copyright [2011] [PagSeguro Internet Ltda.] 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.apach...
PHP
wp-content/plugins/wp-pagseguro-payments/PagSeguroLibrary/domain/PagSeguroTransaction.class.php
ronal2do/openshift-wordpress-developer-quickstart
gpl-2.0
9,431
440
codeparrot/github-code
60482b6bd8fffca7a1a67bbb5f8dd4067686615d26070eaa7c9bd20a6eeb52a1
/* * Linux cfg80211 driver * * Copyright (C) 1999-2015, Broadcom Corporation * * Unless you and Broadcom execute a separate written software license * agreement governing use of this software, this software is licensed to you * under the terms of the GNU General Public License version 2 (the "GPL"), * ava...
C
drivers/net/wireless/bcmdhd4354/wl_cfg80211.h
klabit87/kltevzw_pb1
gpl-2.0
31,099
1,056
codeparrot/github-code
9061157e1482e72fcca587eaa944baba943991bdcbb5d2f12ed789db9a76e604
package org.compiere.process; import java.math.BigDecimal; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Timestamp; import java.util.logging.Level; import org.compiere.util.DB; import org.compiere.util.Msg; /** * */ public class FactRe...
Java
base/src/org/compiere/process/FactReconciliation.java
erpcya/adempierePOS
gpl-2.0
3,267
119
codeparrot/github-code
c3d33fd85d63cfcb708448270f3374f56afaeafc67b8b2cc23791bd93b1fc6eb
/* * (C) 2001 Clemson University and The University of Chicago * * See COPYING in top-level directory. */ /* * Linux VFS extended attribute operations. */ #include "protocol.h" #include "orangefs-kernel.h" #include "orangefs-bufmap.h" #include <linux/posix_acl_xattr.h> #include <linux/xattr.h> #define SYSTEM...
C
fs/orangefs/xattr.c
paulluo/linux
gpl-2.0
12,648
457
codeparrot/github-code
7597a4d3d65f9984acb9ff1c60ba849d3869091e99609d6a57063a13ab4304ae
/* * Copyright (C) 2009 1&1 Internet AG * * This file is part of sip-router, a free SIP server. * * sip-router 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 ...
C
modules/pdb/pdb.c
ahashmi-lmkt/kamailio
gpl-2.0
21,489
808
codeparrot/github-code
72d4087e0d38ecd7278055907cfe3557b7afbf027ee97ecfed80443dacd2836a
/* -*- Mode: C++; tab-width: 20; indent-tabs-mode: nil; c-basic-offset: 2 -*- * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include <cstring> #include "2D.h" ...
C++
libazure/DataSurfaceHelpers.cpp
notriddle/rust-azure
mpl-2.0
5,814
201
codeparrot/github-code
c1812da74e4d726fba7dc40bb66018307e15cb14e96215be06ab48fee6db701b
class AnswersController < ApplicationController before_filter :login_required, :except => [:show, :create, :index, :history, :diff] before_filter :check_permissions, :only => [:destroy, :create] before_filter :check_update_permissions, :only => [:edit, :update, :revert] before_filter :track_pageview helper :...
Ruby
app/controllers/answers_controller.rb
jaleszek/shapado
agpl-3.0
11,389
321
codeparrot/github-code
673fe2d8e61fabe28e94377efce913b47f69a0b17fe0d632843e8f01d5e4530e
/* (c) Copyright 2012-2013 DirectFB integrated media GmbH (c) Copyright 2001-2013 The world wide DirectFB Open Source Community (directfb.org) (c) Copyright 2000-2004 Convergence (integrated media) GmbH All rights reserved. Written by Denis Oliver Kropp <dok@directfb.org>, Andreas Shim...
C
lib/direct/os/mutex.h
deniskropp/DirectFB
lgpl-2.1
2,011
56
codeparrot/github-code
f33383d6a71f9c7eb220fd8de1490631f89cd9dabcdeb7aafb69ee735b19981f
//* This file is part of the MOOSE framework //* https://www.mooseframework.org //* //* All rights reserved, see COPYRIGHT for full restrictions //* https://github.com/idaholab/moose/blob/master/COPYRIGHT //* //* Licensed under LGPL 2.1, please see LICENSE for details //* https://www.gnu.org/licenses/lgpl-2.1.html #pr...
C
modules/porous_flow/include/actions/PorousFlowUnsaturated.h
harterj/moose
lgpl-2.1
1,634
54
codeparrot/github-code
0dad6c8963a8a48fd70e516e7169a3c24808f8729568516b72210f511168ba64
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" con...
HTML
doc/html/d8/d2b/sphinx__mod_8py_source.html
ccgreen13/gui2py
lgpl-3.0
24,352
230
codeparrot/github-code
e183fe92f31b5ea0a1d379c27aafcadfd2207b143a2006479e98201b28215061
/* LUFA Library Copyright (C) Dean Camera, 2011. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purp...
C
nova/hardware/nova/avr/bootloaders/Caterina-ORG/LUFA-111009/LUFA/Drivers/USB/Class/Host/Audio.h
StarLabMakeSpace/Nova4Mixly
lgpl-3.0
19,424
421
codeparrot/github-code
9971fa1ca086703ba21520c2787668d2805a1cf9a9c566569757cca0cbcc2d94
\section{Benchmarking} \label{benchmarking} We used datasets of 2 different sizes to perform the benchmarking of the application. Table \ref{tab:datasets} shows the details of the two datasets. The CreateWord2VecModel spark application is most complex and time consuming application. We used this application for the ben...
TeX
project/S17-IR-P005/report/benchmarking.tex
abhishek8gupta/sp17-i524
apache-2.0
4,567
126
codeparrot/github-code
28fc0f1eabe7ea9730fb0c7d367fc51a07b5c60f5f13db9149c069b24daa6d1c
/* * Copyright 2005-2013 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
Java
core/src/main/java/org/springframework/ldap/transaction/compensating/BindOperationExecutor.java
n8rogers/spring-ldap
apache-2.0
3,846
128
codeparrot/github-code
b6e53ff9d5af2a346248039dc830a6410edc9023197cc0284c30fbde910b5778
// Copyright 2017 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. (() => { // From the lodash implementation. function NaiveFilter() { let index = -1 let resIndex = 0 const length = array == null ? 0 : array.leng...
JavaScript
v8_7_5/test/js-perf-test/Array/filter.js
zero-rp/miniblink49
apache-2.0
2,124
73
codeparrot/github-code
95759e4fdba644b66f3de2fce53e69148c5a7ead79c6e81534fac5f2d41d2e23
/** * Copyright (C) 2014-2015 LinkedIn Corp. (pinot-core@linkedin.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unle...
Java
pinot-core/src/main/java/com/linkedin/pinot/core/data/manager/realtime/RealtimeSegmentDataManager.java
fjy/pinot
apache-2.0
10,791
230
codeparrot/github-code
050fadbac1da1f13be7a077249920ebd8599f4577b10a8541076421609fe5e05
/** * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE * file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file * to You under the Apache License, Version 2.0 (the "License"); you may not us...
Java
jkafka-core/src/main/java/org/apache/kafka/common/requests/LeaveGroupResponse.java
lemonJun/Jkafka
apache-2.0
2,116
56
codeparrot/github-code
dcee6de4f106261738ff06e6a0f9ad63be962265b72558958ace79baae9e7914
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.util.text; import com.intellij.openapi.util.text.CharSequenceWithStringHash; import com.intellij.openapi.util.text.Strings; import org.jetbrains.annotations...
Java
platform/util/strings/src/com/intellij/util/text/CharSequenceSubSequence.java
siosio/intellij-community
apache-2.0
2,175
74
codeparrot/github-code
1043e4207b59e9529ca1b822fcc232a4fba2d3c75715077a8588556be8f5a068
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ package org.elasticsearch.xpack.security.authc.pki; import org.elasticsearch....
Java
x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/pki/X509AuthenticationToken.java
nknize/elasticsearch
apache-2.0
2,375
73
codeparrot/github-code
4c4128a5ca96beedb4d25b7b7caf6c6143d8aba366f67e7111e700b5325941ca
/* * 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-spi/src/test/java/com/facebook/presto/spi/resourceGroups/TestResourceGroupId.java
Teradata/presto
apache-2.0
2,367
63
codeparrot/github-code
ad3d78d8af1c31855f0f3793960f54ea5d21b86eb7b5688acd08984c2d2e6458
define(["lib-build/tpl!./ViewVideoCommon", "lib-build/css!./ViewVideoCommon", "storymaps/common/utils/connector/Vimeo", "lib-build/tpl!./ViewVideoCommonDetail"], function ( viewTpl, viewCss, VimeoConnector, viewTplDetail ){ return function ViewVimeo(container, showView) { var _vimeo = new Vimeo...
JavaScript
src/app/storymaps/common/builder/media/video/ViewVimeo.js
kcigeospatial/SHA-MAP21_Strategies
apache-2.0
2,991
110
codeparrot/github-code
530349b855ae4c63e75e5aa49ff97e262db58d4eb78d20e3b7f9401039a14551
/* * Copyright 2000-2015 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
Java
platform/editor-ui-api/src/com/intellij/ide/util/treeView/AbstractTreeNode.java
hurricup/intellij-community
apache-2.0
6,464
257
codeparrot/github-code
50ab51ca440066f79b70aaa107162fe3d3dd81fc93d78953c832940bc1e95e29
#!/usr/bin/env python from datetime import date import os import re SRC_DIR = 'src/main/java/' ABSTRACT = re.compile(r'public abstract class Abstract') TYPE = re.compile(r'class [A-Za-z0-9]+(<[^>]+?(?: extends ([A-Za-z0-9_]+))?>)?') TARGET = re.compile(r'\s[A-Z][A-Za-z0-9_]+<[A-Z][A-Za-z0-9_]+(?:<.+?>)?, (([A-Z][A-...
Python
generate-assertions-java.py
lockerfish/assertj-android
apache-2.0
4,345
124
codeparrot/github-code
ca4965b94b49d24b24a34c0414616560be2c11cca0438e2d0579532064bc0768
/* * Copyright (c) 2018-2019, Arm Limited and affiliates. * SPDX-License-Identifier: Apache-2.0 * * 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/...
C++
drivers/usb/source/AsyncOp.cpp
adfernandes/mbed
apache-2.0
3,169
147
codeparrot/github-code
4ffff26d36b228986f9dac0f97ed42f5b13a1fe1d040b2c8042610d5ea5b9a24
/* * 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
jena-arq/src/test/java/org/apache/jena/riot/lang/TestIRI.java
samaitra/jena
apache-2.0
2,635
76
codeparrot/github-code
ee6a5b38d7f852706a0ef45df5718759a79d58f109a75fa0051f20af92c48b50
/* * Copyright (c) 2010, WSO2 Inc. (http://www.wso2.org) 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 * * ...
Java
server/org.wso2.developerstudio.eclipse.carbonserver.remote/src/org/wso2/developerstudio/eclipse/carbonserver/remote/internal/CarbonPingThread.java
chanakaudaya/developer-studio
apache-2.0
3,297
133
codeparrot/github-code
6c0a8d9b681da06b35acbd3135a7365195e73d1ecd1453197aed10f1f67cc216
/* * 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
core/src/main/java/org/apache/calcite/sql/advise/SqlSimpleParser.java
YrAuYong/incubator-calcite
apache-2.0
21,078
791
codeparrot/github-code
2175f3d333c92ca4053fd9d063c99cec323bb4a5cbf53fbdcec6c3a40f57c7fd
'use strict'; // Small utility that pings a URL and waits for 5 successful pings const request = require('./index.js'); const commander = require('commander'); // We use process.exit() intentionally here /* eslint no-process-exit: 1 */ // Parse command line uri arg into a URI string or an options object const parse...
JavaScript
lib/utils/request/src/ping.js
KRuelY/cf-abacus
apache-2.0
1,007
47
codeparrot/github-code
a05a66eec1aed12161cf6226c925efd2d1ccf765f18864bcffe60bf121835b71
/* * 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
phoenix-core/src/main/java/org/apache/phoenix/expression/visitor/StatelessTraverseAllExpressionVisitor.java
shehzaadn/phoenix
apache-2.0
5,716
200
codeparrot/github-code
970c4930a90c7894a172b7b02a50977f718172e3fe3e6b27637afd9ef4fb6f1c
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package org.jetbrains.plugins.groovy.lang.resolve.ast.builder.strategy; import com.intellij.psi.*; import com.intellij.psi.impl.light.LightMethodBuilder; import com.intellij.psi....
Java
plugins/groovy/groovy-psi/src/org/jetbrains/plugins/groovy/lang/resolve/ast/builder/strategy/ExternalBuilderStrategySupport.java
smmribeiro/intellij-community
apache-2.0
3,167
58
codeparrot/github-code
825c0517e5618fc6f5caa997a63085dd152ac1a77f7de2521ceee0a8795f342b
<?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
src/frapi/library/Zend/Search/Lucene/Index/DictionaryLoader.php
trevormorse/frapi
bsd-2-clause
10,509
269
codeparrot/github-code
8b0decc285b41183a7e8fa4d4d5bf14b5423d9b1df0ba4b41d64e1944085dec4
#ifndef JEMALLOC_INTERNAL_TSD_H #define JEMALLOC_INTERNAL_TSD_H #include "jemalloc/internal/arena_types.h" #include "jemalloc/internal/assert.h" #include "jemalloc/internal/jemalloc_internal_externs.h" #include "jemalloc/internal/prof_types.h" #include "jemalloc/internal/ql.h" #include "jemalloc/internal/rtree_tsd.h" ...
C
include/jemalloc/internal/tsd.h
wqfish/jemalloc
bsd-2-clause
9,550
325
codeparrot/github-code
0db9303d773cd299331ae0a415fc38ce8da1ee2ae9e251b87708012b04f00582
using System; using System.Linq; using System.Net; using System.Text.Json; using System.Threading; using System.Threading.Tasks; using WatsonWebserver; namespace Benchmarks { #region Supporting data structures public class JsonResult { public string Message { get; set; } ...
C#
frameworks/CSharp/watson/Benchmarks/Program.cs
treefrogframework/FrameworkBenchmarks
bsd-3-clause
2,184
90
codeparrot/github-code
6d609665bfa8f27d173d20d3bf2816d967baf7c16fdbc7d84d752287127119f9
#include <media/saa7146_vv.h> #define BOARD_CAN_DO_VBI(dev) (dev->revision != 0 && dev->vv_data->vbi_minor != -1) /****************************************************************************/ /* resource management functions, shamelessly stolen from saa7134 driver */ int saa7146_res_get(struct saa7146_fh *fh, uns...
C
openplatform/sdk/os/kernel-2.6.32/drivers/media/common/saa7146_fops.c
go2ev-devteam/Gplus_2159_0801
gpl-2.0
15,081
596
codeparrot/github-code
43659b8d2d136c08fdbff5a9aa3eb34370318bb221bfa23ec7a5514cad6fea03
<?php /** * @file * Contains \Drupal\field\Plugin\migrate\source\d6\FieldInstancePerFormDisplay. */ namespace Drupal\field\Plugin\migrate\source\d6; use Drupal\migrate_drupal\Plugin\migrate\source\DrupalSqlBase; /** * The field instance per form display source class. * * @MigrateSource( * id = "d6_field_in...
PHP
web/core/modules/field/src/Plugin/migrate/source/d6/FieldInstancePerFormDisplay.php
komejo/d8demo-dev
mit
2,883
102
codeparrot/github-code
561903394e2b0f8df464338c1b500cca8051002d16807ce95c2aeb1430ff72ff
#ifndef BOOST_METAPARSE_V1_CPP11_OR_C_HPP #define BOOST_METAPARSE_V1_CPP11_OR_C_HPP // Copyright Abel Sinkovics (abel@sinkovics.hu) 2017. // 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) #include <b...
C++
third_lib/boost/1.75.0/boost/metaparse/v1/cpp11/impl/or_c.hpp
kumakoko/KumaGL
mit
755
37
codeparrot/github-code
0539918812256abedf1e4c6f676f1bb2cc295ba8f2794a2ae97eb6b5fe0b8dd7
require "active_record" require "rails" require "active_model/railtie" # For now, action_controller must always be present with # Rails, so let's make sure that it gets required before # here. This is needed for correctly setting up the middleware. # In the future, this might become an optional require. require "actio...
Ruby
activerecord/lib/active_record/railtie.rb
samphilipd/rails
mit
6,106
179
codeparrot/github-code
1dd303c62ff03f06a6480603d8d1cb71f977f29c1d4dc0a0caac6918f7cc3645
/* -*- C++ -*- */ //============================================================================= /** * @file Timer_Hash_T.h * * $Id: Timer_Hash_T.h 80826 2008-03-04 14:51:23Z wotte $ * * @author Darrell Brunsch <brunsch@cs.wustl.edu> */ //===================================================================...
C
dep/ACE_wrappers/ace/Timer_Hash_T.h
ForsakenMyst/trinityzero
gpl-2.0
12,114
344
codeparrot/github-code
22b4da36b4f868745e71da7562ef96684728c2df16e6b082a4ff68a4d3e87c1e
/*************************************************************************** * Copyright (C) 2005 by Dominic Rath * * Dominic.Rath@gmx.de * * * * Copyrig...
C
src/flash/nor/mdr.c
arduino/OpenOCD
gpl-2.0
20,190
637
codeparrot/github-code
3f8cfc1a6682090c0d5167864e326f95061274d7005d4e72ac11fcbf0cc73c9d
#!@PYTHON@ # -*- mode: python; coding: utf-8; -*- # # This file is part of Invenio. # Copyright (C) 2004, 2005, 2006, 2007, 2008, 2010, 2011 CERN. # # Invenio 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; ei...
Python
invenio/legacy/elmsubmit/scripts/elmsubmit.py
zenodo/invenio
gpl-2.0
2,040
60
codeparrot/github-code
21a3aaf912bc939ec637f319a16b0345d8d90c8e8a8770ac1522d807d77a1cfd
/* * AppArmor security module * * This file contains AppArmor network mediation * * Copyright (C) 1998-2008 Novell/SUSE * Copyright 2009-2017 Canonical Ltd. * * 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 Fre...
C
security/apparmor/net.c
jmahler/linux-next
gpl-2.0
4,106
185
codeparrot/github-code
bbf19a16730346cca6e211b0eae31d4dedf9b142936e6a02a571159a784c3ec1
<?php /** * Schema database management for CakePHP. * * CakePHP(tm) : Rapid Development Framework (https://cakephp.org) * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * * Licensed under The MIT License * For full copyright and license information, please see the LICENSE.txt * Redist...
PHP
web/api/lib/Cake/Model/CakeSchema.php
pliablepixels/ZoneMinder
gpl-2.0
20,481
752
codeparrot/github-code
f1fc9acd208aecf85f39ecfad79b94867acc11f9acadf550f5bb101d999e4756
#ifndef MICROBLAZE_H #define MICROBLAZE_H /* Copyright 2009-2015 Free Software Foundation, Inc. This file is part of the Xilinx MicroBlaze simulator. This library 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...
C
sim/microblaze/microblaze.h
aixoss/gdb
gpl-2.0
2,978
105
codeparrot/github-code
df835ae4bddf011238c69a32b9bf7379939847f142fb0ffd998d44493abbfd1b
<?php // $Id: format.php,v 1.3.4.1 2007/11/02 16:21:07 tjhunt Exp $ /// Modified by Tom Robb 12 June 2003 to include percentage and comment insertion /// facility. //////////////////////////////////////////////////////////////////////////// /// MISSING WORD FORMAT /// /// This Moodle class provides all functions nec...
PHP
question/format/missingword/format.php
feniix/moodle
gpl-2.0
5,715
158
codeparrot/github-code