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
a61cb5a191325f597168da056f74c32fd65b29d6f36794f9c1d988025b970b6d
/* STB6100 Silicon Tuner Copyright (C) Manu Abraham (abraham.manu@gmail.com) Copyright (C) ST Microelectronics 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, ...
C
drivers/media/dvb/frontends/stb6100.h
holyangel/LGE_G3
gpl-2.0
2,986
116
codeparrot/github-code
e420c94fe72236a712c050590c68a8fb0e1193c63182e4dd04ccddd0d157dfd0
/* * Assorted DPCM codecs * Copyright (c) 2003 The ffmpeg Project * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License...
C
lib/ffmpeg/libavcodec/dpcm.c
fetzerch/xbmc
gpl-2.0
12,832
346
codeparrot/github-code
603a1a8fe40f716f029c83a5497641f8f4812a6da8b101f39ccf58a211a28043
/* * Simulator of microcontrollers (glob.h) * * Copyright (C) 1999,99 Drotos Daniel, Talker Bt. * * To contact author send email to drdani@mazsola.iit.uni-miskolc.hu * */ /* This file is part of microcontroller simulator: ucsim. UCSIM is free software; you can redistribute it and/or modify it under the terms ...
C
sim/ucsim/hc08.src/glob.h
darconeous/sdcc
gpl-2.0
1,108
42
codeparrot/github-code
b0c5ddeeeebcac2fa74d4643bbe4b4a2d764a191a0523a9fe61aafa78a5aa9d9
<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>QMallocPool Class Reference</title> <link href="classic.css" rel="stylesheet" type="text/css" /> </head>...
HTML
doc/html/qmallocpool.html
liuyanghejerry/qtextended
gpl-2.0
10,512
96
codeparrot/github-code
0302e0e940ef1662a4e9aa04e9fe93174fdef462aa8103730e5d7679e53aa58c
/* * Support for SuperH MigoR Quarter VGA LCD Panel * * Copyright (C) 2008 Magnus Damm * * Based on lcd_powertip.c from Kenati Technologies Pvt Ltd. * Copyright (c) 2007 Ujjwal Pande <ujjwal@kenati.com>, * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Ge...
C
arch/sh/boards/mach-migor/lcd_qvga.c
holyangel/LGE_G3
gpl-2.0
5,008
167
codeparrot/github-code
858b9301c9a41e6aebdb1e7ffd6208fbcd58f4f228c7d12d740cf914b6eaa22b
/* //@HEADER // ************************************************************************ // // Kokkos v. 3.0 // Copyright (2020) National Technology & Engineering // Solutions of Sandia, LLC (NTESS). // // Under the terms of Contract DE-NA0003525 with NTESS, // the U.S. Govern...
C++
lib/kokkos/core/unit_test/TestGraph.hpp
akohlmey/lammps
gpl-2.0
9,462
254
codeparrot/github-code
062e995bcc0167db8282d8ef47961708190edc3d0d8ffeb73f13f25ddd7234c0
/* * The driver for the Cirrus Logic's Sound Fusion CS46XX based soundcards * Copyright (c) by Jaroslav Kysela <perex@suse.cz> * * * 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
sound/pci/cs46xx/cs46xx_lib.h
xmyth/linux-mips-osolution
gpl-2.0
8,559
207
codeparrot/github-code
52d071a903d8462afcd0f22ca9a0e1bf1ebf288ec743612dc2b7c9f3a56022e5
<?php /** * * * @version $Id$ * @copyright 2003 **/ if(!class_exists('pop_bundles')): class pop_bundles { var $plugin_id; var $plugin_code; var $label; var $right_label; var $page_title; var $tdom; var $options_varname; var $panel_priority=100; function pop_bundles($args=array()){ $defaults = array( ...
PHP
wp-content/plugins/whitelabel33154694/options-panel/class.pop_bundles.php
MagicMediaInc/blaine
gpl-2.0
3,856
131
codeparrot/github-code
98f0bedae55298b4aad4b9ac6d768955b890f67232e8409b056dc503145f0668
/************************************************************************** * * Copyright © 2009-2015 VMware, Inc., Palo Alto, CA., USA * All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the * "Software"),...
C
drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
zhiyisun/linux
gpl-2.0
39,285
1,255
codeparrot/github-code
11988cc404a41f985c741aa23b6042e376eff79457394e5b53ecdd701d5ab3d1
/* ZD1211 USB-WLAN driver for Linux * * Copyright (C) 2005-2007 Ulrich Kunitz <kune@deine-taler.de> * Copyright (C) 2006-2007 Daniel Drake <dsd@gentoo.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 So...
C
drivers/net/wireless/zd1211rw/zd_rf_al7230b.c
holyangel/LGE_G3
gpl-2.0
13,383
496
codeparrot/github-code
689dddde27deba6ef04a115eab96554e63ca83a81499fb4a13669cc0a6bdb2dc
/* * Suspend support specific for i386/x86-64. * * Distribute under GPLv2 * * Copyright (c) 2007 Rafael J. Wysocki <rjw@sisk.pl> * Copyright (c) 2002 Pavel Machek <pavel@ucw.cz> * Copyright (c) 2001 Patrick Mochel <mochel@osdl.org> */ #include <linux/suspend.h> #include <linux/export.h> #include <linux/smp.h> ...
C
arch/x86/power/cpu.c
holyangel/LGE_G3
gpl-2.0
6,011
240
codeparrot/github-code
2232fee9ad969deadca37f089e939c5c1faa44f12df85aec9e081db044b19707
package fr.xephi.authme.settings.properties; import ch.jalu.configme.SettingsHolder; import ch.jalu.configme.properties.Property; import java.util.List; import static ch.jalu.configme.properties.PropertyInitializer.newListProperty; import static ch.jalu.configme.properties.PropertyInitializer.newProperty; /** * Sa...
Java
src/test/java/fr/xephi/authme/settings/properties/TestConfiguration.java
DmitryRendov/AuthMeReloaded
gpl-3.0
1,649
50
codeparrot/github-code
9c8a6dcf09f723ec6d2d3da35ff386f8d63eff8804f85bd765f3046dad4d414c
/* This file is part of darktable, Copyright (C) 2016-2020 darktable developers. darktable is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your opti...
C
src/common/system_signal_handling.c
mazhe/darktable
gpl-3.0
8,514
268
codeparrot/github-code
1a579d320adb5ebe2234e97662b6b133f1cff98deb651b5122ac4365430e7e10
<?php /** * Location.php * * -Description- * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program ...
PHP
app/Models/Location.php
richardlawley/librenms
gpl-3.0
5,018
180
codeparrot/github-code
12f074b474adb0b3e18a7c51a71572817fa8f79628486c73d9fecf6f745e1e3f
<?php // This file is part of Moodle - http://moodle.org/ // // Moodle 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. // // Moodle ...
PHP
mod/feedback/complete.php
mrmark/moodle
gpl-3.0
5,151
143
codeparrot/github-code
0ffd237a5e2632ceaf8a502147efe53fa70d298247b7662d222f5df6ddd14eb9
package C4::Members::AttributeTypes; # Copyright (C) 2008 LibLime # # This file is part of Koha. # # Koha 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)...
Perl
C4/Members/AttributeTypes.pm
joubu/Koha
gpl-3.0
13,923
521
codeparrot/github-code
76c979f238f3cbbf1dd42ba19d1ca7c2fb7fa198c18165292a86933c57f94cd9
/* Copyright (C) 2012,2013 Max Planck Institute for Polymer Research Copyright (C) 2008,2009,2010,2011 Max-Planck-Institute for Polymer Research & Fraunhofer SCAI This file is part of ESPResSo++. ESPResSo++ is free software: you can redistribute it and/or modify it under the terms of the GNU...
C++
src/storage/DomainDecompositionNonBlocking.cpp
kkreis/espressopp
gpl-3.0
17,456
421
codeparrot/github-code
4aac5430621880592b5d91d43ada223767bf6ae270aeffe2b0289c6df81ab5e1
/* * dhcpcd - DHCP client daemon * Copyright (c) 2006-2009 Roy Marples <roy@marples.name> * 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 th...
C
external/dhcpcd/signals.c
s20121035/rk3288_android5.1_repo
gpl-3.0
3,208
125
codeparrot/github-code
69254cac36f7ec183727a2b2e0a9d990702036639cebed48cc4d71f1ee253eac
#region License // Copyright (c) 2013, ClearCanvas Inc. // All rights reserved. // http://www.clearcanvas.ca // // This file is part of the ClearCanvas RIS/PACS open source project. // // The ClearCanvas RIS/PACS open source project is free software: you can // redistribute it and/or modify it under the term...
C#
Ris/Client/DocumentViewTool.cs
testdoron/ClearCanvas
gpl-3.0
2,354
77
codeparrot/github-code
1402b2d99a87b8652967c548b42051432a1e0b2507bb66c7ec284718809f7918
<html> <head> <title>The source code</title> <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" /> <script type="text/javascript" src="../resources/prettify/prettify.js"></script> </head> <body onload="prettyPrint();"> <pre class="prettyprint lang-js"><div id="cls-Ext...
HTML
web/resources/scripts/ext/docs/source/JsonWriter.html
sguazt/dcsj-sharegrid-portal
gpl-3.0
3,500
84
codeparrot/github-code
0b5b755864e4ebb8e7193c50b413c2283d405bfdaa89db3395a8547c77d54672
<?php namespace thebuggenie\core\entities\common; /** * Item class for objects with both QA responsible and Leader properties * * @author Daniel Andre Eikeland <zegenie@zegeniestudios.net> * @version 3.1 * @license http://opensource.org/licenses/MPL-2.0 Mozilla Public License 2.0 (MPL...
PHP
core/entities/common/QaLeadable.php
gabor-udvari/thebuggenie
mpl-2.0
5,043
148
codeparrot/github-code
0322ef1a3406eeffbfbb1438d849035c112c21a81c88221b97e690834bcbf7ef
# https://djangosnippets.org/snippets/2566/ from django import template from django.template import resolve_variable, NodeList from django.contrib.auth.models import Group register = template.Library() @register.tag() def ifusergroup(parser, token): """ Check to see if the currently logged in user belongs to a ...
Python
core/templatetags/usergroup.py
mupi/tecsaladeaula
agpl-3.0
1,920
57
codeparrot/github-code
bd609a13fdc81e23b4388918658c270eab7d242caad3d69bb4e1b5e6b314152e
from machinekit import hal from machinekit import rtapi as rt from machinekit import config as c from fdm.config import base def hardware_read(): hal.addf('hpg.capture-position', 'servo-thread') hal.addf('bb_gpio.read', 'servo-thread') def hardware_write(): hal.addf('hpg.update', 'servo-thread') ha...
Python
configs/ARM/BeagleBone/MendelMax-CRAMPS/cramps.py
strahlex/machinekit
lgpl-2.1
5,005
127
codeparrot/github-code
b70ecd8f116b40bab5745dc141331aecf9b6254d954ae4632096dd2b1b093ce9
/* GDK - The GIMP Drawing Kit * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the...
C
graf2d/win32gdk/gdk/src/gdk/win32/gdkproperty-win32.c
krafczyk/root-5.34.09-ams
lgpl-2.1
7,641
228
codeparrot/github-code
9963faa818d46c613010a552e889d3eda294132f63a424e0bf337cdab15c16db
namespace N2.Collections { /// <summary> /// Builds a hierarchy of nodes between a certain item and one of it's /// ancestors (or the root item). This is useful in certain situations when /// creating a navigation menu. /// </summary> public class BranchHierarchyBuilder : HierarchyBuilder {...
C#
src/Framework/N2/Collections/BranchHierarchyBuilder.cs
VoidPointerAB/n2cms
lgpl-2.1
3,145
79
codeparrot/github-code
aa92aa9455f338ebddc8e604c501237aab81ac0fd0cd6326b89eafe241b87c15
#define _XOPEN_SOURCE 500 #include <stdlib.h> #include "zdtmtst.h" #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <unistd.h> #include <sys/wait.h> #include <termios.h> #include <sys/ioctl.h> const char *test_doc = "Check a controlling terminal, if a proper fd belongs to another session leader...
C
test/zdtm/static/tty03.c
KKoukiou/criu-remote
lgpl-2.1
2,094
122
codeparrot/github-code
5ceac14f0f2dbf51632b15b457956f7c4f163a255cf0d787051018224acd24ee
/**************************************************************************/ /* */ /* OCaml */ /* */ /* ...
C
runtime/printexc.c
gerdstolpmann/ocaml
lgpl-2.1
5,255
163
codeparrot/github-code
7bd8309f20902f507d8f11f636b4700549cf202896b232429f72139c1c9387f9
using System; using System.Collections.Generic; using System.Linq; using System.Web; using N2; using N2.Definitions; using N2.Details; using N2.Persistence.Search; using N2.Installation; namespace N2.Management.Content.LinkTracker { [PageDefinition(IconUrl = "{IconsUrl}/error_go.png", InstallerVisibility =...
C#
src/Mvc/MvcTemplates/N2/Content/LinkTracker/PermanentRedirect.cs
DejanMilicic/n2cms
lgpl-2.1
1,092
40
codeparrot/github-code
e671f36b276ba3ae8306f721b686a691bd70a20bdabe896c8f526f6e521abba2
/** * Copyright © 2002 Instituto Superior Técnico * * This file is part of FenixEdu Academic. * * FenixEdu Academic is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License...
Java
src/main/java/org/fenixedu/academic/task/SeparateSecondCycle.java
andre-nunes/fenixedu-academic
lgpl-3.0
7,734
159
codeparrot/github-code
6c60a8b21d8c21695e7a20cd643ea3355f12f7f1af88b3d72426e2bd1e142841
/** * Copyright © 2002 Instituto Superior Técnico * * This file is part of FenixEdu Academic. * * FenixEdu Academic is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the ...
Java
src/main/java/org/fenixedu/academic/ui/renderers/providers/accounting/postingRules/gratuity/SpecializationDegreeGratuityPRTypeProvider.java
JNPA/fenixedu-academic
lgpl-3.0
2,212
62
codeparrot/github-code
56c0056fa4aa998a0710f5b84b356a7330b6d9b1031ac0e4549ff2b318a62151
/* Copyright 2019 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/lite/delegates/gpu/gl/compiler.cc
chemelnucfin/tensorflow
apache-2.0
11,009
298
codeparrot/github-code
bff39acfcb0c3059e14b19e661ec7a11db83a3728a1e66a27daabdd98accc949
/** * Copyright 2010 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
Java
src/com/google/gag/annotation/remark/ObligatoryQuote.java
llpj/gag
apache-2.0
993
33
codeparrot/github-code
eb034f3fb4fec54c9b3a98844959fb96168bbd802489397644aae53a5f3b1b21
/* * Copyright 2000-2009 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/xdebugger-impl/src/com/intellij/xdebugger/impl/evaluate/EvaluationInputComponent.java
IllusionRom-deprecated/android_platform_tools_idea
apache-2.0
1,109
40
codeparrot/github-code
c3c14fe2a6372f18222f64fe26b55dd9f0b07e8c710f86d022e34ef96b0d2789
/** * Copyright 2009 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
Scala
infrastructure/com.etherpad.openofficeservice/importexport.scala
cjb/etherpad
apache-2.0
5,654
190
codeparrot/github-code
8ae76da8c306df049639b690fc379653cea8ebe7140212cf0220843a9d8c37a5
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
Scala
core/src/test/scala/unit/kafka/api/RequestResponseSerializationTest.scala
mpoindexter/kafka
apache-2.0
16,243
308
codeparrot/github-code
fed2a38e2387f6914679b5349388759a95dd3e1cd9be7feb8a98500afaf10637
/* * Copyright 2014 IBM 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 in...
Scala
kernel/src/main/scala/com/ibm/spark/kernel/protocol/v5/interpreter/InterpreterActor.scala
codeaudit/spark-kernel
apache-2.0
3,506
100
codeparrot/github-code
c334a068578c50ec924c89a9459c6a1926397dea464cc88f297376b8fecec134
// Copyright 2012 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. // // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license // <LICENSE-MIT or ...
Rust
src/test/compile-fail/ufcs-explicit-self-bad.rs
erickt/rust
apache-2.0
1,163
50
codeparrot/github-code
63eb8db68baf8d3ff6db0a2cc3828fb15af97071851c38066773f904f7d2d93d
# # Cookbook Name:: runit_test # Recipe:: service # # Copyright 2012, Opscode, 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 # # Unle...
Ruby
test/cookbooks/runit_test/recipes/service.rb
zendesk/runit
apache-2.0
3,573
154
codeparrot/github-code
1618deec107318f9c69d778eef4d448b14c6d32ee68ab36fea56a9a0abc8acec
/* * This file is part of the id3v2lib library * * Copyright (c) 2013, Lorenzo Ruiz * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ #include <stdio.h> #include <stdlib.h> #include <string.h> /* * Modified include paths to work w...
C
BB10-Cordova/AudioMetaData/plugin/src/blackberry10/native/src/id3v2/src/id3v2lib.c
blackberry/WebWorks-Community-APIs
apache-2.0
12,224
517
codeparrot/github-code
172d21c155c658a3838355e1e3e57f51c342febced3c495b814abb5186cc2df0
/* * 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
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-services/hadoop-yarn-services-core/src/main/java/org/apache/hadoop/yarn/service/api/records/KerberosPrincipal.java
apurtell/hadoop
apache-2.0
4,753
147
codeparrot/github-code
dc7a0ae6b130239b44468560205751a90375c10d212a30b477fd707fb0cb1038
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.CodeAnalysis.CSharp.Syntax; using Roslyn.Utilities; namespace Microsoft.CodeAnalysis.CSharp.Extensions { internal static class SimpleNam...
C#
src/Workspaces/CSharp/Portable/Extensions/SimpleNameSyntaxExtensions.cs
paladique/roslyn
apache-2.0
2,662
71
codeparrot/github-code
68dd677eec4373098f36b5814b1f0be9f4cf7d0069cb83b9b3faa3c107bd99df
/* Parse tree node interface */ #ifndef Py_NODE_H #define Py_NODE_H #ifdef __cplusplus extern "C" { #endif typedef struct _node { short n_type; char *n_str; int n_lineno; int n_col_offset; int n_nchildren; struct _node *n_child; } node; PyAPI_FUNC(node *) PyNode_New...
C
~/eb-virt/Include/node.h
zwChan/VATEC
apache-2.0
979
42
codeparrot/github-code
c543a8d52cc4534dcd467290612b3123cbd9dbb6785a5fbb49a1b56e8e38cd88
// Copyright 2000-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.jetbrains.python; import com.intellij.codeInsight.actions.OptimizeImportsAction; import com.intellij.ide.DataManager; import com.intellij.openapi.vfs.VirtualFile; imp...
Java
python/testSrc/com/jetbrains/python/PyOptimizeImportsTest.java
jwren/intellij-community
apache-2.0
11,363
386
codeparrot/github-code
55eceb41bebcbd347697085261575bb2b594f04a46fb1cd865a683d92899165a
package com.arjuna.webservices11.wsba.client; import com.arjuna.webservices11.util.PrivilegedServiceFactory; import com.arjuna.webservices11.util.PrivilegedServiceHelper; import com.arjuna.webservices11.wsaddr.AddressingHelper; import org.jboss.ws.api.addressing.MAP; import org.oasis_open.docs.ws_tx.wsba._2006._06.*; ...
Java
graalvm/transactions/fork/narayana/XTS/WS-T/dev/src/com/arjuna/webservices11/wsba/client/WSBAClient.java
nmcl/scratch
apache-2.0
12,983
262
codeparrot/github-code
840012d9a9e1a0898e7b419bf8062af9ea5bdaa9e63f967a7ab63269245fbb7f
import { ComponentFixture, AsyncTestCompleter, TestComponentBuilder, beforeEach, ddescribe, xdescribe, describe, el, expect, iit, inject, beforeEachProviders, it, xit } from 'angular2/testing_internal'; import {Router, RouterOutlet, RouterLink, RouteParams, RouteData, Location} from 'angula...
TypeScript
modules/angular2/test/router/integration/redirect_route_spec.ts
mixed/angular
apache-2.0
4,018
122
codeparrot/github-code
0f9eebd7ab0e5d3162ef77a913dc4e96dcc8f7efdf10c0e52d8a1a5ec0324436
/** * 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
contrib/storage-hive/core/src/test/java/org/apache/drill/exec/store/hive/HiveTestDataGenerator.java
kristinehahn/drill
apache-2.0
15,184
374
codeparrot/github-code
29cfc247cce5370e6c0fb346ab2d039ed03bfa6007c4860ca1ad83d9981df810
/* * Copyright 2013, Red Hat Middleware LLC, and individual contributors * as indicated by the @author tags. * See the copyright.txt in the distribution for a * full listing of individual contributors. * This copyrighted material is made available to anyone wishing to use, * modify, copy, or redistribute it subje...
Java
graalvm/transactions/fork/narayana/ArjunaJTA/jta/classes/com/arjuna/ats/internal/jta/tools/osb/mbean/jta/CommitMarkableResourceRecordBean.java
nmcl/scratch
apache-2.0
4,700
173
codeparrot/github-code
d56bce4f7e93bcffd425fbd95515f024e7042b0e537b7a1eb9236ccc0c15d74a
/* * Copyright 2010-2013 Ning, Inc. * Copyright 2014-2015 Groupon, Inc * Copyright 2014-2015 The Billing Project, LLC * * The Billing Project licenses this file to you under the Apache License, version 2.0 * (the "License"); you may not use this file except in compliance with the * License. You may obtain a cop...
Java
payment/src/main/java/org/killbill/billing/payment/core/PaymentProcessor.java
chengjunjian/killbill
apache-2.0
36,267
475
codeparrot/github-code
9033b75eb8c7ed1df30f960deed56b8af2aa3fe38a4f37ae65ff04f30ccc66c2
/* * Copyright 2017-present Facebook, 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...
Java
test/com/facebook/buck/util/string/AsciiBoxStringBuilderTest.java
LegNeato/buck
apache-2.0
3,042
96
codeparrot/github-code
17c78a0e241ea8a83bc8875c7c88d9fb6f4ce89ddd3014581626dceaa802d8fd
<?hh // strict /** * Copyright (c) 2006- Facebook * Distributed under the Thrift Software License * * See accompanying file LICENSE or visit the Thrift site at: * http://developers.facebook.com/thrift/ * * @package thrift.transport */ /** * A memory buffer is a tranpsort that simply reads from and writes to an * in...
PHP
thrift/lib/hack/src/transport/TMemoryBuffer.php
soumith/fbthrift
apache-2.0
2,763
117
codeparrot/github-code
2d628a8b3e47104f2797cf1557b99b6a571db5072db5fb814424f2425027b6e6
/* Copyright 2018 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/compiler/tf2tensorrt/segment/segment.cc
annarev/tensorflow
apache-2.0
41,196
1,061
codeparrot/github-code
d01a30e263523b743c35d13787d16b6eb2e27b84c346115e1775b3a68d843c6c
/* * Copyright 2013 The Netty Project * * The Netty Project licenses this file to you under the Apache License, * version 2.0 (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless ...
Java
codec-http/src/main/java/io/netty/handler/codec/spdy/DefaultSpdyWindowUpdateFrame.java
xm-king/netty-research
apache-2.0
2,508
83
codeparrot/github-code
3ccb15650e4366190f1a724f2c3c2402cfb6c1a6193d7f719016b9194d2b5a3a
// $Id: ThreadPool.h 3045 2010-04-05 13:07:29Z hieuhoang1972 $ /*********************************************************************** Moses - factored phrase-based language decoder Copyright (C) 2009 University of Edinburgh This library is free software; you can redistribute it and/or modify it under the terms of t...
C
src/decoder-phrasebased/src/native/decoder/moses/ThreadPool.h
letconex/MMT
apache-2.0
2,848
132
codeparrot/github-code
34cc44e16abf2917ea0ea6de8a91a778ab6c9d31f5e43bffcd5a495450293e61
package kubernetes import ( "crypto/x509" "net/http" "strings" "time" "github.com/golang/glog" "k8s.io/kubernetes/pkg/auth/authenticator" kauthorizer "k8s.io/kubernetes/pkg/auth/authorizer" "k8s.io/kubernetes/pkg/auth/user" unversionedauthentication "k8s.io/kubernetes/pkg/client/clientset_generated/internal...
GO
pkg/cmd/server/kubernetes/node_auth.go
tracyrankin/origin
apache-2.0
5,989
173
codeparrot/github-code
25d1adea5f437c8f709eeeec11d2124a7ff0e93158f643556080f1f5ada333da
class Openjazz < Formula desc "Open source Jazz Jackrabit engine" homepage "http://www.alister.eu/jazz/oj/" url "https://github.com/AlisterT/openjazz/archive/20190106.tar.gz" sha256 "27da3ab32cb6b806502a213c435e1b3b6ecebb9f099592f71caf6574135b1662" license "GPL-2.0" head "https://github.com/AlisterT/openjaz...
Ruby
Formula/openjazz.rb
spaam/homebrew-core
bsd-2-clause
2,687
82
codeparrot/github-code
dc0335b86077590f3be30787d5d25a5b5bdd598d89e21066ee0def3e6a751d0d
using System.Collections.Generic; using System.Linq; using System.Xml.Linq; using Orchard.ContentManagement; using Orchard.ContentManagement.Drivers; using Orchard.ContentManagement.Handlers; using Orchard.Indexing; using Orchard.Localization; using Orchard.Search.Models; using Orchard.Search.ViewModels; namespace Or...
C#
src/Orchard.Web/Modules/Orchard.Search/Drivers/SearchSettingsPartDriver.cs
jackwho123/ORCHORD
bsd-3-clause
3,441
79
codeparrot/github-code
552340c8c010dc48db1c3ca7a91320ddd8dfb132309b02efb342a1b0e5752e0e
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_SAFE_BROWSING_SETTINGS_RESET_PROMPT_DEFAULT_SETTINGS_FETCHER_H_ #define CHROME_BROWSER_SAFE_BROWSING_SETTINGS_RESET_PROMPT_DEFAULT_...
C
chromium/chrome/browser/safe_browsing/settings_reset_prompt/default_settings_fetcher.h
ric2b/Vivaldi-browser
bsd-3-clause
2,863
68
codeparrot/github-code
5d979c9a79724481faae52f616dd5252a00f4cc9afc5fbbf800679c334019ae9
// -*- c++ -*- // (c) 2009 Ulrich Germann // boilerplate code to declutter my usual interpret_args() routine #include "ug_get_options.h" #include <fstream> #include <string> #include <iostream> namespace ugdiss { using namespace std; void get_options(int ac, char* av[], progopts& o, posopts& a, optsmap& vm, ...
C++
mosesdecoder-master/moses/TranslationModel/UG/generic/program_options/ug_get_options.cpp
yang1fan2/nematus
bsd-3-clause
1,248
47
codeparrot/github-code
d3288a162ce52aba1c4a6c28ed0fcf06fd99eb94946f9070f85738261733f2a2
/* * Copyright (C) 2013 Google Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions ...
C
third_party/blink/renderer/modules/peerconnection/rtc_dtmf_sender.h
scheib/chromium
bsd-3-clause
3,519
94
codeparrot/github-code
983de345a420b36fb04a9771b8aaca79b832688774f283bb15fbe445d50be9d3
// 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. #ifndef MEDIA_FORMATS_MPEG_ADTS_STREAM_PARSER_H_ #define MEDIA_FORMATS_MPEG_ADTS_STREAM_PARSER_H_ #include <stdint.h> #include "media/base/media_export....
C
media/formats/mpeg/adts_stream_parser.h
chromium/chromium
bsd-3-clause
1,199
41
codeparrot/github-code
e0abf9ac62ab49ee711b3dbf3a2c060d2e15c81d5fba813d0e17573eb7f9f907
// 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 CHROMECAST_UI_MEDIA_OVERLAY_H_ #define CHROMECAST_UI_MEDIA_OVERLAY_H_ #include <string> namespace chromecast { // MediaOverlay is responsible ...
C
chromium/chromecast/ui/media_overlay.h
ric2b/Vivaldi-browser
bsd-3-clause
1,040
38
codeparrot/github-code
3ca4fd2b08b2c23ec832733bc01c0e5d72db70b921a6227b73d9712617aba7ea
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_UI_AUTOFILL_PAYMENTS_SAVE_PAYMENT_ICON_CONTROLLER_H_ #define CHROME_BROWSER_UI_AUTOFILL_PAYMENTS_SAVE_PAYMENT_ICON_CONTROLLER_H_ #...
C
chromium/chrome/browser/ui/autofill/payments/save_payment_icon_controller.h
ric2b/Vivaldi-browser
bsd-3-clause
2,170
60
codeparrot/github-code
a196f3e1fe715d7c62f9a75c34bf147f402b1ae9ed2a6df2e90d3070174c6963
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\ErrorHandler\ErrorEnhancer; use Symfony\Component\Err...
PHP
src/Symfony/Component/ErrorHandler/ErrorEnhancer/UndefinedFunctionErrorEnhancer.php
Tobion/symfony
mit
3,081
88
codeparrot/github-code
2e08971b22384cbf74695c400b3538dc0e8b8369941c6e42374d9072126e0da6
/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2012 Torus Knot Software Ltd Permission is hereby granted, free of charge, to any person...
C
source/thirdparty/include/Ogre/OgrePose.h
HATtrick-games/ICT312
mit
5,360
142
codeparrot/github-code
89facd7caa96b4c7258bed5ce705ec0be2fcfcf44942ef7c57ee4f206049b71f
/*! * Ext JS Library 3.3.1 * Copyright(c) 2006-2010 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ /*! * Ext JS Library 3.3.0 * Copyright(c) 2006-2010 Ext JS, Inc. * licensing@extjs.com * http://www.extjs.com/license */ Ext.ns('Ext.ux.grid'); Ext.ux.grid.LockingGridView = Ext.extend(Ex...
JavaScript
src/extjs/examples/ux/LockingGridView.js
limscoder/js-file-browser
mit
33,643
933
codeparrot/github-code
7c6bffe75e4047cdeee205475bbe5f5d256cea34a0dd9f83e324b7de57839b3d
<?php namespace Neos\Flow\Command; /* * 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/Command/HelpCommandController.php
daniellienert/flow-development-collection
mit
11,804
291
codeparrot/github-code
66f193b4e988e92640234fc7850a6d04d1b5caa4cdb8b887d23befe1ed356f87
import Ember from "ember"; const { Route } = Ember; const set = Ember.set; export default Route.extend({ setupController() { this.controllerFor('mixinStack').set('model', []); let port = this.get('port'); port.on('objectInspector:updateObject', this, this.updateObject); port.on('objectInspector:upda...
JavaScript
app/routes/application.js
jryans/ember-inspector
mit
3,292
103
codeparrot/github-code
82dbe17269175ab0b0457db10d5cb20fe2c77354fe846c73f4d8978b070c98e3
require 'kramdown' module Grape class API class << self attr_reader :combined_routes alias original_mount mount def mount(mounts) original_mount mounts @combined_routes ||= {} mounts::routes.each do |route| resource = route.route_path.match('\/(\w*?)[\.\/\(]'...
Ruby
lib/grape-swagger.rb
RobotsAndPencils/grape-swagger
mit
7,402
212
codeparrot/github-code
ec2cc28b7e3645dae012c537fb4a608e3eab4595353d423bc386cbed25a51ff1
/* ******************************************************************************* * Copyright (C) 1997-2015, International Business Machines Corporation and * * others. All Rights Reserved. * *****************************************************************************...
C++
src/third_party/icu/source/test/intltest/compactdecimalformattest.cpp
junhuac/MQUIC
mit
17,739
446
codeparrot/github-code
4556e0beb243768e0759c0c13daba76bec43f3ca531d72050e5fdc08bfe3c6b9
/* * Copyright (c) 2006-2009 Erin Catto http://www.box2d.org * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * Permission is granted to anyone to use this software for any purpose, * i...
C#
box2d/Dynamics/Contacts/b2PolygonAndCircleContact.cs
haithemaraissia/CocosSharp
mit
1,912
49
codeparrot/github-code
438b231ec22eac87764f5752e6d61fcdf0fc0fea8b0ebd78f31899078c447734
/* +------------------------------------------------------------------------+ | Zephir Language | +------------------------------------------------------------------------+ | Copyright (c) 2011-2015 Zephir Team (http://www.zephir-lang.com) | +-----...
C
kernels/ZendEngine3/backtrace.c
carlmcdade/zephir
mit
1,455
32
codeparrot/github-code
890c9886bbc88f36a5c89f20d8cab2eb77211afbc0f9cf9f152050569ff3b1dd
import sublime import collections VAR_MAP_LEADER = 'mapleader' VAR_MAP_LOCAL_LEADER = 'maplocalleader' # well-known variables _SPECIAL_STRINGS = { '<leader>': VAR_MAP_LEADER, '<localleader>': VAR_MAP_LOCAL_LEADER, } _DEFAULTS = { VAR_MAP_LEADER: '\\', VAR_MAP_LOCAL_LEADER: '\\' } _VARIABLES = {...
Python
vi/variables.py
zhangtuoparis13/Vintageous
mit
1,741
79
codeparrot/github-code
180061236d289432bbc4c5e153115361af44f990e05a5cc5e7792e315d99cdac
<!DOCTYPE html > <html> <head> <title>LeafParameter - io.github.mandar2812.dynaml.models.statespace.LeafParameter</title> <meta name="description" content="LeafParameter - io.github.mandar2812.dynaml.models.statespace.LeafParameter" /> <meta name="keywords" content="LeafParameter i...
HTML
api_docs/DynaML/v1.5/dynaml-core/io/github/mandar2812/dynaml/models/statespace/LeafParameter$.html
transcendent-ai-labs/transcendent-ai-labs.github.io
mit
28,064
506
codeparrot/github-code
34ccdc019b6cfd7c0ac32ff12f868d16fff8980b9f43e269818b8cd9d3fc9b06
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : typeof define === 'function' && define.amd ? define(['exports'], factory) : (factory((global.Inferno = global.Inferno || {}))); }(this, (function (exports) { 'use strict'; var NO_OP = '$NO_OP...
JavaScript
ajax/libs/inferno/4.0.8/inferno.js
jonobr1/cdnjs
mit
96,955
2,435
codeparrot/github-code
455fd03448d973308aeff0fe6310cacfbed95db93c2d0cb0c671e536c5e9cf16
<?php namespace Pagekit\Console\Commands; use Pagekit\Application\Console\Command; use Pagekit\Installer\Installer; use Pagekit\Application as App; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Output\OutputInterface; use Pagekit\Mod...
PHP
web/app/console/src/Commands/SetupCommand.php
yaelduckwen/entretelas
mit
3,636
112
codeparrot/github-code
a05d533cae9d889ac4ec2a048dac2984ff36457d9e964db033a52d664f06613e
/** * Copyright (c) 2014-2015 openHAB UG (haftungsbeschraenkt) 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, and is available at * http://www.eclipse.org/legal/epl-v10.htm...
Java
bundles/io/org.eclipse.smarthome.io.rest.sitemap/src/main/java/org/eclipse/smarthome/io/rest/sitemap/internal/SitemapResource.java
smilzo-mobimesh/smarthome
epl-1.0
22,122
528
codeparrot/github-code
9119cc920bda142c3296eb714f889921686d9b799b478d789fee32366c3d49c9
/* * Copyright (C) 2008-2018 TrinityCore <https://www.trinitycore.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 version 2 of the License, or (at your * option) any later v...
C
src/server/game/Scenarios/Scenario.h
Golrag/TrinityCore
gpl-2.0
3,539
103
codeparrot/github-code
7e4af4ca4c286815fb2cc72d480b1a4ccc5b0b1a56afa95b00246420b289982d
// license:BSD-3-Clause // copyright-holders:Xing Xing /* IGS ARM7 (IGS027A) based Mahjong / Gambling platform(s) Driver by Xing Xing These games use the IGS027A processor. This is an ARM7 with Internal ROM. (Also used on later PGM games) In some cases the first part of the Internal ROM is execute only, and can...
C++
src/mame/drivers/igs_m027.cpp
johnparker007/mame
gpl-2.0
40,689
1,121
codeparrot/github-code
88469816553c0598191e1b1e0df7dee68df9c71ed9beb75fbff462b1b25602aa
/* linux/arch/arm/mach-s3c2410/cpu.c * * Copyright (c) 2004-2005 Simtec Electronics * http://www.simtec.co.uk/products/SWLINUX/ * Ben Dooks <ben@simtec.co.uk> * * S3C24XX CPU Support * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License ...
C
linux-2.6.18-xen.hg/arch/arm/mach-s3c2410/cpu.c
zhoupeng/spice4xen
gpl-2.0
7,987
348
codeparrot/github-code
9a06515d471d26e25da01983472ea526732dfe7ef34f67df1bd3c8da1db8c1b5
/* * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Softwa...
Java
test/jdk/javadoc/doclet/testModules/TestModuleServices.java
google/error-prone-javac
gpl-2.0
13,306
315
codeparrot/github-code
b483c4aa074ea457060e9dd892deb21d9d1988575f8d51fe2ec8cf10be13afd6
/* * linux/fs/nls/nls_cp1255.c * * Charset cp1255 translation tables. * The Unicode to charset table has only exact mappings. */ #include <linux/module.h> #include <linux/kernel.h> #include <linux/string.h> #include <linux/nls.h> #include <linux/errno.h> static const wchar_t charset2uni[256] = { /* 0x00*/ 0x00...
C
fs/nls/nls_cp1255.c
1N4148/android_kernel_samsung_msm8974
gpl-2.0
17,391
386
codeparrot/github-code
df3c2a449b376cb4d74c56b9a3172b4700c89409e50aaa5a4aea059e6a387168
/* Copyright (C) 2000-2001, 2003, 2005 MySQL AB 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 will be useful, ...
C++
sql/sql_list.cc
liyu1981/mysql51-hack
gpl-2.0
1,898
73
codeparrot/github-code
e7c87cc8c851ee6bfe772e61a19c69df7446ed8b6421339d30de00a7c5d37563
--剣現する武神 function c30338466.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(30338466,0)) e1:SetCategory(CATEGORY_TOHAND) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(c30338466.target) e1:SetOperati...
Lua
c30338466.lua
destdev/ygopro-scripts
gpl-2.0
2,053
55
codeparrot/github-code
fadb54e77cb4e3f2fb65a425a7309c6cc2904be33a7591ff6760182b2266237f
/* * INET An implementation of the TCP/IP protocol suite for the LINUX * operating system. INET is implemented using the BSD Socket * interface as the means of communication with the user level. * * The User Datagram Protocol (UDP). * * Authors: Ross Biro * Fred N. van Kempen, <waltje@uWalt.NL.Mugnet.ORG...
C
net/ipv4/udp.c
AndroidDevelopersTeam/android_kernel_samsung_j2xlte_dd
gpl-2.0
62,671
2,418
codeparrot/github-code
a3d637d3efb37e1c9be24d8e01a8100e7bf2e13fe42c655c5a25da6982db553c
# # Copyright (c) 2012, 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 Software Foun...
Makefile
make/bridge/WindowsAccessBridge/Makefile
greghaskins/openjdk-jdk7u-jdk
gpl-2.0
2,484
72
codeparrot/github-code
095ce1ebe71c523326ae02401b73e23cb005fe73feab4be83619a6579ed68de4
/* Copyright (C) 2004-2006 MySQL AB All rights reserved. Use is subject to license terms. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by the Free Software Foundation. This program is also distri...
C++
storage/ndb/src/common/debugger/signaldata/CntrStart.cpp
greenlion/mysql-server
gpl-2.0
2,558
63
codeparrot/github-code
aadb90ef2835882b86feae0237837cbabf0f3007f4a12fe8c4b7a10853032017
<!DOCTYPE html> <!--[if lt IE 7 ]><html class="ie ie6" lang="en"> <![endif]--> <!--[if IE 7 ]><html class="ie ie7" lang="en"> <![endif]--> <!--[if IE 8 ]><html class="ie ie8" lang="en"> <![endif]--> <!--[if (gte IE 9)|!(IE)]><!--> <html lang="en" xmlns="http://www.w3.org/1999/html"> <!--<![endif]--> <head> <!-...
HTML
sites/all/libraries/fontawesome/src/3.2.1/icon/google-plus-sign/index.html
manojbisht891/travel
gpl-2.0
10,384
209
codeparrot/github-code
d7895b68b2a486c1a6da4039efb56b244d8715929d521b88bbcc82ceae67fed1
/** * The Forgotten Server - a free and open-source MMORPG server emulator * Copyright (C) 2014 Mark Samman <mark.samman@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; eithe...
C++
src/iomarket.cpp
Sornii/pureviolence
gpl-2.0
9,828
279
codeparrot/github-code
dd8945823f72a9e040076dd4ee01d61e191b74e2e88ac917a1d88d629ed6b44b
/****************************************************** Copyright (c) 2017 Percona LLC and/or its affiliates. Zlib compatible CRC-32 implementation. 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; v...
C
extra/mariabackup/crc/crc_glue.h
hholzgra/server
gpl-2.0
1,024
32
codeparrot/github-code
3f0f14131a0dd6f22cacd2a65dd6edab2be895e13a72a69ee34b43d883b7efb2
<!DOCTYPE html> <!--[if lt IE 7 ]><html class="ie ie6" lang="en"> <![endif]--> <!--[if IE 7 ]><html class="ie ie7" lang="en"> <![endif]--> <!--[if IE 8 ]><html class="ie ie8" lang="en"> <![endif]--> <!--[if (gte IE 9)|!(IE)]><!--> <html lang="en" xmlns="http://www.w3.org/1999/html"> <!--<![endif]--> <head> <!-...
HTML
sites/all/libraries/fontawesome/src/3.2.1/icon/envelope-alt/index.html
ehazell/AWBA
gpl-2.0
10,342
209
codeparrot/github-code
e1b489ce99329e08a9bc3b83b3cd3120fd18802d643dba4ecc6a7fa1c7eceb08
/* * * * Copyright 1990-2007 Sun Microsystems, Inc. All Rights Reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER * * This program 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 S...
Java
squawk/phoneme/midp/src/ams/ams_api/reference/classes/com/sun/midp/midlet/MIDletEventListener.java
sics-sse/moped
gpl-2.0
4,820
142
codeparrot/github-code
43a381bc6b7b255151c86331d3851e6de15ecea2e5d2d929c3c88b2518fcfc50
#ifndef _SCHED_SYSCTL_H #define _SCHED_SYSCTL_H #ifdef CONFIG_DETECT_HUNG_TASK extern int sysctl_hung_task_check_count; extern unsigned int sysctl_hung_task_panic; extern unsigned long sysctl_hung_task_timeout_secs; extern int sysctl_hung_task_warnings; extern int proc_dohung_task_timeout_secs(struct ctl_table *...
C
virt/include/linux/sched/sysctl.h
mericon/Xp_Kernel_LGH850
gpl-2.0
5,955
180
codeparrot/github-code
6d968bb7ccb81ad361cfb4719dec85c19fc6bd814f86c8aa4986ed4050d28f05
/** * @file * * @brief IMFS Device Node Handlers * @ingroup IMFS */ /* * COPYRIGHT (c) 1989-2012. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be * found in the file LICENSE in this distribution or at * http://www.rtems.org/license/LICENSE....
C
cpukit/libfs/src/imfs/deviceio.c
heshamelmatary/rtems-rumpkernel
gpl-2.0
1,789
115
codeparrot/github-code
3bf2230f4e5f83dd08ed16eaea16fe3d73ce1b616483fe580069916248b73727
<?php /** * @version $Id: article.php 11646 2009-03-01 19:34:56Z ian $ * @package Joomla * @subpackage Content * @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved. * @license GNU/GPL, see LICENSE.php * Joomla! is free software. This version may have been modified pursuant to the * ...
PHP
components/com_content/models/article.php
salamichel/Premium
gpl-2.0
16,039
620
codeparrot/github-code
c4e27e364eb270fc91d0e9847b447a582d4ba6e97a17bab48f6021914a7c646e
package edu.stanford.nlp.util; import java.lang.ref.WeakReference; import java.util.ArrayList; import java.util.Collection; import java.util.Comparator; import java.util.HashMap; import java.util.HashSet; import java.util.LinkedList; import java.util.Map; import java.util.SortedSet; import java.util.Stack; import java...
Java
src/main/java/edu/stanford/nlp/util/Generics.java
simplyianm/stanford-corenlp
gpl-2.0
4,765
166
codeparrot/github-code
b97e436012aec6be115c77007916b173957cb6642d2326b6ad0ea79a94e0e646
<?php namespace Drupal\path\Plugin\Field\FieldWidget; use Drupal\Core\Field\FieldItemListInterface; use Drupal\Core\Field\WidgetBase; use Drupal\Core\Form\FormStateInterface; use Symfony\Component\Validator\ConstraintViolationInterface; /** * Plugin implementation of the 'path' widget. * * @FieldWidget( * id =...
PHP
web/core/modules/path/src/Plugin/Field/FieldWidget/PathWidget.php
tobiasbuhrer/tobiasb
gpl-2.0
3,606
117
codeparrot/github-code
aa2bca9b56921fb68fea00017ae2456e84177acb41c93dd6c3aeb3d9f6e2480a
// PR c++/91353 - P1331R2: Allow trivial default init in constexpr contexts. // { dg-do compile { target c++20 } } struct S { int a = 1; constexpr S() = default; }; constexpr S s; union U { int a = 1; constexpr U() = default; }; constexpr U u; struct S2 { int a; constexpr S2() = default; }; constexpr ...
C++
gcc/testsuite/g++.dg/cpp2a/constexpr-init7.C
Gurgel100/gcc
gpl-2.0
1,136
64
codeparrot/github-code
0d0b3ec55e54820ee342ea873c7cc71528189c9d1217a1d4ec34bd498ff343b5
<?php /** * Controls how events are queried and displayed via the WordPress Custom Post APIs * @author marcus * */ class EM_Event_Post { function init(){ global $wp_query; //Front Side Modifiers if( !is_admin() ){ //override single page with formats? add_filter('the_content', array('EM_Event_Post','th...
PHP
wp-content/plugins/events-manager/classes/em-event-post.php
daedaluss/Nazareth
gpl-2.0
15,069
337
codeparrot/github-code
f3b2eb981638be45aedf2182f389ca66d4c1bb633cb1a510cff313c6b3b04edb
/******************************************************************************* * * Module Name: rsdump - AML debugger support for resource structures. * ******************************************************************************/ /****************************************************************************** ...
C
src/extern/acpica/source/components/resources/rsdump.c
jeinglis/457assignment4
gpl-3.0
21,466
744
codeparrot/github-code
63353367856b075c9a2a747eee9f5e58d56ad10d3febcf0c6af2e5688a302dc0
#include "hex.ih" int hex_smear(su3_tuple *m_field_out, hex_parameters const *params, su3_tuple *m_field_in) { static int initialized = 0; static su3_tuple *gamma_buffer[3]; static su3_tuple *v_buffer[3]; if (!initialized) { /* Allocate consecutive memory for both of the buffers upon first instantiation...
C
smearing/hex_hex_smear.c
amabdelrehim/tmLQCD
gpl-3.0
1,957
52
codeparrot/github-code