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
01f6c695862ea5c8ce0dad741b69c671768badcfe8bd42f260dffcf8b86b06d2
// Boost.Geometry // Copyright (c) 2021, Oracle and/or its affiliates. // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle // Licensed under the Boost Software License version 1.0. // http://www.boost.org/users/license.html #ifndef BOOST_GEOMETRY_STRATEGIES_LENGTH_GEOGRAPHIC_HPP #define BOOST_GEO...
C++
deps/boost_1_77_0/boost/geometry/strategies/length/geographic.hpp
davehorton/drachtio-server
mit
3,238
115
codeparrot/github-code
3d752421d99eedce3abbc3651a01c0840c107e49167f7ff66ec0da152fe17bc2
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Support for Compiler Intrinsics</title> <link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" tit...
HTML
deps/boost_1_77_0/libs/type_traits/doc/html/boost_typetraits/intrinsics.html
davehorton/drachtio-server
mit
14,709
439
codeparrot/github-code
511fb774492bbbaf1ff9ace6c43c16696ae0004e552f1870db5ef00139f3606c
var path = Npm.require('path'); var Fiber = Npm.require('fibers'); var Future = Npm.require(path.join('fibers', 'future')); Meteor._noYieldsAllowed = function (f) { var savedYield = Fiber.yield; Fiber.yield = function () { throw new Error("Can't call yield in a noYieldsAllowed block!"); }; try { return...
JavaScript
packages/meteor/fiber_helpers.js
queso/meteor
mit
5,380
183
codeparrot/github-code
14051a7a019c11703cde31bf502872107fb4a45e4ec463e3175bcede27505a98
package com.braintreepayments.api; import android.app.Activity; import android.content.ComponentName; import android.content.Intent; import android.test.AndroidTestCase; import com.braintreepayments.api.models.Configuration; import com.braintreepayments.testutils.TestClientTokenBuilder; public class VenmoAppSwitchTe...
Java
BraintreeApi/src/androidTest/java/com/braintreepayments/api/VenmoAppSwitchTest.java
cardinalblue/braintree_android
mit
3,609
91
codeparrot/github-code
52ab98e8b1e97f63d986a0ea9849a5b6c4b288e31907ba663fd4799cd6090bd0
<?php namespace Laddr; use RequestHandler; use DB; use Person; class CheckinRequestHandler extends RequestHandler { public static $userResponseModes = [ 'application/json' => 'json' ,'text/csv' => 'csv' ]; public static function handleRequest() { switch (static::shiftPath()) ...
PHP
php-classes/Laddr/CheckinRequestHandler.php
schlos/laddr
mit
2,720
88
codeparrot/github-code
694d0c5a6486836717eb4947579bd0271c0b3c21665e6d907046f1747ca85a2b
class Surveyform < Survey def self.search(search) search ? where('title LIKE ?', "%#{search}%") : all end def sort_as_per_array(serialized_sort_data) question_sorter = QuestionSorter.new _iterate_survey_sections(serialized_sort_data, question_sorter) survey_section_questions = survey_sections.c...
Ruby
app/models/surveyform.rb
bricesanchez/surveyor_gui
mit
3,211
104
codeparrot/github-code
1dd3fdd2efb533185d03348ac6fbb82121f3183d34785eccb4c85066fa2e28d9
<?php use App\Transformer\CheckinTransformer; use App\Transformer\PlaceTransformer; class PlaceController extends ApiController { public function index() { $places = Place::take(10)->get(); return $this->respondWithCollection($places, new PlaceTransformer); } public function show($pl...
PHP
chapter12/app/controllers/PlaceController.php
sachintaware/build-apis-you-wont-hate
mit
1,104
48
codeparrot/github-code
7179f3acaf31007ccfbb05a77984f98058e3b886b0bd0c749abd7ed23ec81f23
/******************************************************************************* * Copyright (c) 2006, 2009 David A Carlson * 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 ava...
Java
hl7/plugins/org.openhealthtools.mdht.emf.hl7.mif2/src/org/openhealthtools/mdht/emf/hl7/mif2/internal/impl/DocumentProfileImpl.java
drbgfc/mdht
epl-1.0
17,592
556
codeparrot/github-code
9542d788ed700333b214df5247e9879c0fa7f9874ce606df6972a0f462d65610
/* * Copyright (c) 2012-2017 Red Hat, Inc. * 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.html * * Contributors: * Red H...
Java
plugins/plugin-sdk/che-plugin-sdk-ext-plugins/src/main/java/org/eclipse/che/ide/ext/plugins/client/PluginsGinModule.java
TypeFox/che
epl-1.0
1,066
33
codeparrot/github-code
ba7fc4b4155e27dc87afef32f646c0c2623b0a8c54e3390a21bab64fdfdef994
/******************************************************************************* * Copyright (c) 2005-2008 Bastian Doetsch 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...
Java
plugin/src/com/vectrace/MercurialEclipse/menu/UnShelveHandler.java
boa0332/mercurialeclipse
epl-1.0
3,358
109
codeparrot/github-code
c5ccea929e25c5500832d557a6252cb19da5236264903f4f8f074cee9ee238b0
/* * Copyright (c) 2012-2017 Red Hat, Inc. * 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.html * * Contributors: * Red H...
Java
selenium/che-selenium-test/src/main/java/org/eclipse/che/selenium/pageobject/WarningDialog.java
TypeFox/che
epl-1.0
2,091
63
codeparrot/github-code
1a521c8f1873a221f28d2ed3eebb9e83ba859db73bf99f7cddb7e3c3ee7fc479
/** * Copyright (c) 2014-2017 by the respective copyright holders. * 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.html */ pa...
Java
bundles/core/org.eclipse.smarthome.core/src/main/java/org/eclipse/smarthome/core/common/SafeMethodCaller.java
AchimHentschel/smarthome
epl-1.0
9,185
229
codeparrot/github-code
0f7511588ac1d7eccecef9005fa8b0fb3ec0efd76f036af038582453f8d5c371
/** * Copyright (c) 2014-2017 by the respective copyright holders. * 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.html */ pa...
Java
bundles/config/org.eclipse.smarthome.config.core/src/main/java/org/eclipse/smarthome/config/core/internal/i18n/I18nConfigOptionsProvider.java
vkolotov/smarthome
epl-1.0
2,114
52
codeparrot/github-code
e5b22473a64f4818b548f411b9c074a4eff4e069bdcd661bace27ade0be079a5
/** * Copyright (c) 2010-2017 by the respective copyright holders. * * 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.html */...
Java
addons/binding/org.openhab.binding.rfxcom.test/src/test/java/org/openhab/binding/rfxcom/internal/messages/RFXComLighting4MessageTest.java
mvolaart/openhab2-addons
epl-1.0
5,120
109
codeparrot/github-code
32754de4c4d2a69f07b0055976e9c0a46c8be6e14472c15603c7a2801a6d11a0
/** * Copyright 2005-2009 Noelios Technologies. * * The contents of this file are subject to the terms of one of the following * open source licenses: LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL 1.0 (the * "Licenses"). You can select the license that you prefer but you may not use * this file except in complia...
Java
org.mwc.asset.comms/docs/restlet_src/org.restlet.test/org/restlet/test/jaxrs/services/providers/Issue971Writer.java
debrief/debrief
epl-1.0
2,644
76
codeparrot/github-code
e7fbd494c7365abc906ecd9833d69268151cf32312a08b8fcd610e50cdf645ca
// // Trigger.h // iTerm // // Created by George Nachman on 9/23/11. // #import <Cocoa/Cocoa.h> @class PTYSession; extern NSString * const kTriggerRegexKey; extern NSString * const kTriggerActionKey; extern NSString * const kTriggerParameterKey; extern NSString * const kTriggerPartialLineKey; @interface Trigger ...
C
sources/Trigger.h
margaritis/iTerm2
gpl-2.0
2,533
76
codeparrot/github-code
b97a7d67b9d31c53a77dd8089d69031a267cfc0850eddebf8206b9a2490b1a93
/***************************************************************************** * Copyright 2011 - 2012 Broadcom Corporation. All rights reserved. * * 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...
C
arch/arm/mach-capri/hw_cfg/CAPRI_SS_BAFFIN/board-bcm59056_config.h
k2wl/kernel-gt-i9082-stock-based
gpl-2.0
23,865
723
codeparrot/github-code
7ef91c1b24a6cfb773bb83fd9dae1fecaece813ce4b70038ec791af99b1c6bb3
<?php class WpProQuiz_Helper_Export { const WPPROQUIZ_EXPORT_VERSION = 4; public function export($ids) { $export = array(); $export['version'] = WPPROQUIZ_VERSION; $export['exportVersion'] = WpProQuiz_Helper_Export::WPPROQUIZ_EXPORT_VERSION; $export['date'] = time(); $v = str_pad(WPPROQUIZ_VERSION...
PHP
wp-content/plugins/wp-pro-quiz/lib/helper/WpProQuiz_Helper_Export.php
adshannon81/Headstuff.org
gpl-2.0
1,268
54
codeparrot/github-code
b9f6df6506ad26a257f2a8773b28082ed0f329446bc1cafa53682d3345a5433f
/* Convert string representing a number to float value, using given locale. Copyright (C) 1997-2017 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. The GNU C Library is free software; you can redistribute it and/or modify i...
C
stdlib/strtof_l.c
norov/glibc
gpl-2.0
1,370
39
codeparrot/github-code
c7bf2bc24e2e88267f326b48f213b33e548fee88185a41860370b639073354ac
/* SH ELF support for BFD. Copyright (C) 1998-2016 Free Software Foundation, Inc. This file is part of BFD, the Binary File Descriptor library. 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 Fou...
C
include/elf/sh.h
swigger/gdb-ios
gpl-2.0
8,571
250
codeparrot/github-code
d96bf0a71609313041e9f898e608d0414db458c477a8bf782ea4e89302700176
/* SPDX-License-Identifier: LGPL-2.1-or-later */ /*** Copyright © 2013 Intel Corporation Author: Auke Kok <auke-jan.h.kok@intel.com> ***/ #include <errno.h> #include <fcntl.h> #include <sys/stat.h> #include <sys/xattr.h> #include <unistd.h> #include "alloc-util.h" #include "fd-util.h" #include "fileio.h" #includ...
C
src/shared/smack-util.c
msekletar/systemd
gpl-2.0
7,928
306
codeparrot/github-code
7de33cd387c7492bcd2b4e9b1dbc6a798d7bda933372bcd6a310cccf3ac67e89
/* * Copyright (C) 2003 Erik Swenson - erik@oreports.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. ...
Java
src/org/efs/openreports/util/schema/SchemaUpdater.java
caherrerapa/openreportsv2
gpl-2.0
1,405
37
codeparrot/github-code
351e24ed19883756bb067b4307ebb5d850614643977646b3e7ce32086953b84d
/* * Copyright (C) 1998-2018 ALPS Collaboration. See COPYRIGHT.TXT * All rights reserved. Use is subject to license terms. See LICENSE.TXT * For use in publications, see ACKNOWLEDGE.TXT */ /* $Id: obsvalue.h 3435 2009-11-28 14:45:38Z troyer $ */ #ifndef ALPS_TYPE_TRAITS_CHANGE_VALUE_TYPE_H #define ALPS_TYPE_TRAIT...
C++
utilities/include/alps/type_traits/change_value_type.hpp
wistaria/ALPSCore
gpl-2.0
1,118
50
codeparrot/github-code
ecce0c32ff1b72e615e87fa77dc2d05c277e3c5064cb9fd2a8e7226a2b92b3d7
/* SCTP kernel implementation * (C) Copyright IBM Corp. 2001, 2004 * Copyright (c) 1999-2000 Cisco, Inc. * Copyright (c) 1999-2001 Motorola, Inc. * Copyright (c) 2001 Intel Corp. * Copyright (c) 2001 Nokia, Inc. * Copyright (c) 2001 La Monte H.P. Yarroll * * This file is part of the SCTP kernel implementation ...
C
net/sctp/protocol.c
ircncl/linux-grsec-incremental
gpl-2.0
42,596
1,555
codeparrot/github-code
ae5a1da943490239e92b1ffcb8ae4dadfbaf71f4060d3e39e5f3f7544f724490
# # XendBootloader.py - Framework to run a boot loader for picking the kernel # # Copyright 2005-2006 Red Hat, Inc. # Jeremy Katz <katzj@redhat.com> # # This software may be freely redistributed under the terms of the GNU # general public license. # # You should have received a copy of the GNU General Public License # ...
Python
tools/python/xen/xend/XendBootloader.py
sudkannan/xen-hv
gpl-2.0
7,323
231
codeparrot/github-code
d154fd20876df5f449166c9ff8e9945460ca78163753eebfd0f34a1dcfd132b4
<?php $qode_custom_sidebars = array(); foreach ( $GLOBALS['wp_registered_sidebars'] as $sidebar ) { if(isUserMadeSidebar(ucwords($sidebar['name']))){ $qode_custom_sidebars[$sidebar['id']] = ucwords( $sidebar['name']); } } $qode_blog_categories = array(); $categories = get_categories(); foreach($categories as $ca...
PHP
wp-content/themes/stockholm/framework/admin/meta-boxes/slides/map.php
JDjimenezdelgado/old-mmexperience
gpl-2.0
23,077
334
codeparrot/github-code
647cc3152da942ea6438d25a78360303ea3b2755e5d769b75253423b2a89815d
// -*- c-basic-offset: 4 -*- /* * processingt.{cc,hh} -- decide on a Click configuration's processing * Eddie Kohler * * Copyright (c) 2000 Massachusetts Institute of Technology * Copyright (c) 2001 International Computer Science Institute * Copyright (c) 2007 Regents of the University of California * Copyright ...
C++
tools/lib/processingt.cc
olanb7/fyp-client
gpl-2.0
29,150
960
codeparrot/github-code
3ae55122b728740a1685187a9ecbc605b16c4a7d52f8795ad33c591e1df2501b
/* * This file is part of the CMaNGOS Project. See AUTHORS file for Copyright information * * 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 o...
C
src/game/GridNotifiersImpl.h
wowmui/mangos-classic
gpl-2.0
15,634
557
codeparrot/github-code
52ddc79ce25aa010aba9c99797e03788bab8a6b58cb493b1f64ff9d77c9bb262
/*! * jQuery UI Spinner @VERSION * * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * http://docs.jquery.com/UI/Spinner * * Depends: * jquery.ui.core.js * jquery.ui.widget.js * jquery.ui.button.js */ (functio...
JavaScript
ui/jquery.ui.spinner.js
dshore/jquery-ui
gpl-2.0
12,064
477
codeparrot/github-code
7208101f7b4fcccaf5d53da1750bb749bc5d2f15777c2ae8be6b49d102782f5e
/* ScummVM - Graphic Adventure Engine * * ScummVM is the legal property of its developers, whose names * are too numerous to list here. Please refer to the COPYRIGHT * file distributed with this source distribution. * * This program is free software; you can redistribute it and/or * modify it under the terms of ...
C++
engines/ags/shared/util/file_stream.cpp
vanfanel/scummvm
gpl-2.0
6,406
250
codeparrot/github-code
9923097a9376aabf566641099a8d10583bc8980ba77356f6535b426dbe002ccf
var instance; (function ( $ ) { "use strict"; $(".fusion-tabs-menu a").live('click',function(event) { event.preventDefault(); $(this).parent().addClass("current"); $(this).parent().siblings().removeClass("current"); var tab = $(this).attr("href"); $(".fusion-tab-content").n...
JavaScript
wp-content/plugins/fusion-core/admin/page-builder/assets/js/admin.js
amol-crescente/liveform
gpl-2.0
25,432
733
codeparrot/github-code
b84acb197b2a41c9320e56eeed91496a46e8055da3860bbdec33dda9c640654d
/** * wraps Thomas J Bradleys signature-pad * in a angularjs component */ define('directives/sigpad',[ 'directives/ng-directives', 'jquery', 'signaturepad' ],function(module) { return module.directive('fllSigpad',['$parse',function($parse) { return { template: '<canvas></canvas>',...
JavaScript
src/js/directives/sigpad.js
Jheronymus/fllscoring
gpl-2.0
1,992
58
codeparrot/github-code
7b1628ff9911d70b035741ca59560a3932993251f9fc7f7826fa03847aa0d824
package com.nursecalc.SQLite; import android.content.Context; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; import android.util.Log; import java.io.File; /** * Created by 0118424 on 25/11/2014. */ public class MyDbHandler extends SQLiteOpenHelper { private s...
Java
app/src/main/java/com/nursecalc/SQLite/MyDbHandler.java
Grimmjowjack/NurseCalc
gpl-2.0
1,590
60
codeparrot/github-code
54be3ac90f4e4c83b60fd435ae33d1a0ab0f86b216fa56fe75b28f5b0d4c9662
<?php /* * @package Joomla 1.5 * @copyright Copyright (C) 2005 Open Source Matters. All rights reserved. * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php * * @component Phoca Guestbook * @copyright Copyright (C) Jan Pavelka www.phoca.cz * @license http://www.gnu.org/copyleft/gpl.html GNU/...
PHP
components/com_phocaguestbook/models/phocaguestbooki.php
navinpai/GEC-Tandav
gpl-2.0
2,548
112
codeparrot/github-code
e1bc4f56d805d2cadf1818a338d2be0448f2da0864ab45c659c37c338f74df03
/* * High-level sync()-related operations */ #include <linux/kernel.h> #include <linux/file.h> #include <linux/fs.h> #include <linux/module.h> #include <linux/sched.h> #include <linux/writeback.h> #include <linux/syscalls.h> #include <linux/linkage.h> #include <linux/pagemap.h> #include <linux/quotaops.h> #include <...
C
fs/sync.c
janrinze/loox7xxport
gpl-2.0
7,203
285
codeparrot/github-code
86791dad6012cfa314566dab23cc6a128de39be800637e4a7d9bc261badde037
/* * Copyright (C) 2005-2012 MaNGOS <http://getmangos.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. * ...
C++
src/game/SkillDiscovery.cpp
lai3d/server
gpl-2.0
9,284
241
codeparrot/github-code
094c3f9f91841419ab251454b6d121c5066d6b6e4d43d275c6e195780cc42246
/* * Copyright (c) 1991, 1992 Paul Kranenburg <pk@cs.few.eur.nl> * Copyright (c) 1993 Branko Lankester <branko@hacktic.nl> * Copyright (c) 1993, 1994, 1995, 1996 Rick Sladkey <jrs@world.std.com> * Copyright (c) 1996-1999 Wichert Akkerman <wichert@cistron.nl> * Copyright (c) 2000 PocketPenguins Inc. Linux for Hita...
C
user/strace/mem.c
rhuitl/uClinux
gpl-2.0
19,798
937
codeparrot/github-code
4013392245b04bac44ee76153ac20d40dc45e09d00083bbdfdd4395f26efb151
/* * This is the source code of Telegram for Android v. 3.x.x. * It is licensed under GNU GPL v. 2 or later. * You should have received a copy of the license in this archive (see LICENSE). * * Copyright Nikolai Kudashov, 2013-2017. */ package org.telegram.ui.Cells; import android.content.Context; import android...
Java
TMessagesProj/src/main/java/org/telegram/ui/Cells/DialogMeUrlCell.java
filipefilardi/Telegram
gpl-2.0
16,780
400
codeparrot/github-code
0b0af06f5321366d9890f28d99fb5a544a14b08cd7648918b7d5c56269492ce7
/* Please use this file as a template when introducing new command to * util-linux package. * -- remove above */ /* * fixme-command-name - purpose of it * * Copyright (c) 20nn Example Commercial, Inc * Written by Your Name <you@example.com> * * This program is free software; you can redistribute it and/or * m...
C
Documentation/boilerplate.c
pexip/os-util-linux
gpl-2.0
3,748
111
codeparrot/github-code
5c296ab57391aa49bc2b7acce2c78b72d458dafa6d8e70cf535df7799584f522
# # Copyright (c) 2004 Conectiva, Inc. # # Written by Gustavo Niemeyer <niemeyer@conectiva.com> # # This file is part of Smart Package Manager. # # Smart Package Manager 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 Fou...
Python
client/solaris/smartpm/smart/backends/rpm/base.py
colloquium/spacewalk
gpl-2.0
6,998
181
codeparrot/github-code
72ebffa9e1744f821e6e4f19d09b1407957216cdc43c12a79c0e37278183143a
/* ---------------------------------------------------------------------- LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator http://lammps.sandia.gov, Sandia National Laboratories Steve Plimpton, sjplimp@sandia.gov Copyright (2003) Sandia Corporation. Under the terms of Contract DE-AC04...
C++
src/neigh_list.cpp
yidongxiainl/lammps
gpl-2.0
9,181
328
codeparrot/github-code
abe4e85ca7e01ee99301b7089014233e33f00fa4dd40171262c3a01749e26da4
/* * Copyright (C) 1999 Lars Knoll (knoll@kde.org) * (C) 1999 Antti Koivisto (koivisto@kde.org) * (C) 2001 Dirk Mueller (mueller@kde.org) * Copyright (C) 2004, 2005, 2006, 2007 Apple Inc. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under ...
C++
qtopiacore/qt/src/3rdparty/webkit/WebCore/dom/EventTargetNode.cpp
tsuibin/qtextended
gpl-2.0
23,474
637
codeparrot/github-code
be79ab41459614705b1e001c54fd92dec85b16de511caa235ce6adc1819587d1
/* * This file is part of the OregonCore Project. See AUTHORS file for Copyright information * * 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 ...
C++
src/scripts/Outland/BlackTemple/boss_mother_shahraz.cpp
superwow/foton.core
gpl-2.0
10,914
353
codeparrot/github-code
130357da22fbe1d3f35867ad5f1568a77f1a0debeddeb6e0b36e6f95060926b1
/* * dsrroutetable.{cc,hh} * Shweta Bhandare, Sagar Sanghani, Sheetalkumar Doshi, Timothy X Brown * Daniel Aguayo * * Copyright (c) 2003 Massachusetts Institute of Technology * Copyright (c) 2003 University of Colorado at Boulder * * Permission is hereby granted, free of charge, to any person obtaining a * cop...
C++
elements/grid/dsrroutetable.cc
mosaicresearch/Click-OLSR
gpl-2.0
58,222
1,949
codeparrot/github-code
c05ca748dc0eb2055a2afade733aa4087cb2100e1037ea95db0954edf0a442b3
/** * weblitz-plateview - Weblitz plate viewport * * Depends on jquery * * Copyright (c) 2011 Glencoe Software, Inc. All rights reserved. * * This software is distributed under the terms described by the LICENCE file * you can find at the root of the distribution bundle, which states you are * free to use it ...
JavaScript
components/tools/OmeroWeb/omeroweb/webgateway/static/webgateway/js/ome.plateview.js
jballanc/openmicroscopy
gpl-2.0
6,382
184
codeparrot/github-code
86319a7027042a96c4902cafab232799df1e835a6b0b03c08bd4f38f9aa3210a
tinyMCEPopup.requireLangPack(); function init() { tinyMCEPopup.resizeToInnerSize(); TinyMCE_EditableSelects.init(); } function insertSAMCode() { var samCode; var f = document.forms[0]; var radio = f.elements.sam_item; var samItem = 0; if(radio[1].checked) samItem = 1; var samId = f.e...
JavaScript
wp-content/plugins/simple-ads-manager/js/sam-dialog.js
kaluli/Wordpress-Site
gpl-2.0
2,822
103
codeparrot/github-code
498e56670b316e75be57325af7b861683aef0581a01e6867e486a6dcc7d0f050
/* * Copyright 2004-2006, Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> * Copyright 2004-2006, Adam Turk <aturk@biggeruniverse.com> * * This file is part of libtiled-java. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions ar...
Java
util/java/libtiled-java/src/tiled/core/ObjectGroup.java
ppiecuch/tiled
gpl-2.0
6,586
204
codeparrot/github-code
9cef567cd223e069bddac04e46ffe056a20d13dd2993896f21b41e1d51e54982
/* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the...
C
drivers/video/msm/mdss/mdss_mdp_util.c
k2wlxda/3.10
gpl-2.0
16,559
648
codeparrot/github-code
eaa86b36f49c863423249f65dc8e1942ec9aa7b02a4bbdbbf140a2340c76da43
#include "ScriptPCH.h" #include "firelands.h" #include "MoveSplineInit.h" enum ScriptTexts { SAY_AGGRO = 0, SAY_DEATH = 1, SAY_KILL = 2, SAY_SKIES = 3, SAY_FIRESTORM = 4, SAY_BURN = 5, SAY_BURN_OUT = 6, }; // emote 337598 enum Spells { SPELL_FIRESTOR...
C++
src/server/scripts/Kalimdor/Firelands/boss_alysrazor.cpp
cooler-SAI/JadeCore
gpl-2.0
75,720
1,980
codeparrot/github-code
7a564a68ea7f1ed96686ff7caf6fe7db7506969ee66e6b4deb00bffa8291b2c7
/* * * Copyright (C) 2011-2013 ArkCORE <http://www.arkania.net/> * * Copyright (C) 2008-2013 TrinityCore <http://www.trinitycore.org/> * * Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/> * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Publ...
C
src/server/shared/DataStores/DBCFileLoader.h
blitztech/master434
gpl-2.0
3,605
100
codeparrot/github-code
67dd1c30c6fbcb0266530ef5ecb2d8057dc7fc30f7de6448971fd55a47efe922
package org.jsoup.parser; import org.jsoup.helper.StringUtil; import org.jsoup.helper.Validate; import org.jsoup.nodes.Comment; import org.jsoup.nodes.DataNode; import org.jsoup.nodes.Document; import org.jsoup.nodes.Element; import org.jsoup.nodes.FormElement; import org.jsoup.nodes.Node; import org.jsoup.nodes.TextN...
Java
examples/librepair-experiments-jhy-jsoup-285353482-20171009-062400_bugonly_with_package_info/src/main/java/org/jsoup/parser/HtmlTreeBuilder.java
SpoonLabs/astor
gpl-2.0
25,388
726
codeparrot/github-code
7bd49b0b3398a8ac8936598bf043bf4507ee8dcb2baf781f2bbb27fc78feb841
/* Copyright (c) 2011, PANTECH. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the hope that it will...
C
drivers/media/video/msm/sensors/mt9d113_cfg_40k_v4l2.c
SerenityS/android_kernel_pantech_ef39s_jb
gpl-2.0
76,249
2,009
codeparrot/github-code
78d12ba47a688538cf5423c72dcd8dc2317f9a0392c43377fdc964220c9de6cf
# All of the possible user options. All of these optinos will show up # in the CACHE. If you'd like to change one of these values, # use `ccmamke ${PATH_TO_SOURCE}`. option (STATIC_CODECS "include decoders in binary?" ON) option (STATIC_INSPECTORS "include inspectors in binary" ON) option (STATIC_LOGGERS "incl...
CMake
cmake/create_options.cmake
wkitty42/snort3
gpl-2.0
3,014
52
codeparrot/github-code
50dc48e77d4e93b705ca66c92b51bf6e4a144e2e3a23f02186579dc1d1227d01
<!DOCTYPE html> <?php use yii\widgets\LinkPager; ?> <!-- Template Name: Metronic - Responsive Admin Dashboard Template build with Twitter Bootstrap 3.1.1 Version: 2.0.2 Author: KeenThemes Website: http://www.keenthemes.com/ Contact: support@keenthemes.com Purchase: http://themeforest.net/item/metronic-responsive-adm...
PHP
laravel/public/admin/frontend/views/company/index.php
Greasi/yizuniuke
gpl-2.0
13,884
351
codeparrot/github-code
3f65b1ac7267c064e9d6f8a3eb52bf44bc858c3473525d41bd889224e5e8d7cc
using System.Collections.Generic; using System.Linq; using System.Windows.Forms; using dnlib.DotNet; namespace dnEditor.Handlers { public class ReferenceHandler { private readonly TreeViewHandler _treeViewHandler; public ReferenceHandler(TreeViewHandler treeViewHandler) { ...
C#
dnEditor/Handlers/ReferenceHandler.cs
astocko/dnEditor
gpl-2.0
1,518
50
codeparrot/github-code
d0b3a4e50377bcfb707c63b71b45a1472f1f2c6da96ae9274d6cda0c275448a7
#ifndef _LINUX_KERNEL_H #define _LINUX_KERNEL_H /* * 'kernel.h' contains some often-used function prototypes etc * Copyright (C) 2011 Sony Ericsson Mobile Communications AB. * */ #ifdef __KERNEL__ #include <stdarg.h> #include <linux/linkage.h> #include <linux/stddef.h> #include <linux/types.h> #include <linux/co...
C
include/linux/kernel.h
nobodyAtall/msm7x27-2.6.32.x-nAa
gpl-2.0
25,319
808
codeparrot/github-code
ca00d45adce3e5bb9bbcd9dd7b5b444e1d1608bd1c2e7c9e53065c6caf9c29a0
/* * Copyright (C) 2005 Marc Kleine-Budde, Pengutronix * Copyright (C) 2006 Andrey Volkov, Varma Electronics * Copyright (C) 2008-2009 Wolfgang Grandegger <wg@grandegger.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the version 2 of the GNU General Public Li...
C
drivers/net/can/dev.c
coreos/linux-deprecated
gpl-2.0
24,710
940
codeparrot/github-code
f3500f74c03d64f54739da9f30b83d5fbe5c5c4fed8bf56bca71eed47b9fc8de
/* @! # TEST TYPE(S): Concurrency, Load stress @! # TESTCASE DESCRIPTION: @! # Purpose: to send packets from the file to echo protocol on remote @! # machine and read the echoing packets back and compare them @! # Design: Connect to echo protocol on the remote machine @! # read from the file and send the file to r...
C
testcases/network/tcp_cmds/echo/echoes.c
rogerq/ltp-ddt
gpl-2.0
9,132
376
codeparrot/github-code
efada9a435fde0156d41a122ae471e5c6eeaa901d86f5c0751a721f57db48415
/* ScummVM - Graphic Adventure Engine * * ScummVM is the legal property of its developers, whose names * are too numerous to list here. Please refer to the COPYRIGHT * file distributed with this source distribution. * * This program is free software; you can redistribute it and/or * modify it under the terms of ...
C
gui/dialog.h
bSr43/scummvm
gpl-2.0
3,292
119
codeparrot/github-code
7dd01983146f451facd0e012993913b79aacac6e2489913ef5e4ea05831ccd6e
/* HTEscape.c ** ESCAPE AND UNESACPE ILLEGAL CHARACTERS IN A URI ** ** (c) COPYRIGHT MIT 1995. ** Please first read the full copyright statement in the file COPYRIGH. ** @(#) $Id: HTEscape.c,v 2.21 1999/02/22 22:10:11 frystyk Exp $ ** ** history: ** Nov 13 94 Spawned from HTParse, as it then can be used in ...
C
plugins/HTMLParserPlugin/HTMLParser/HTEscape.c
boatgm/urchin
gpl-2.0
4,113
132
codeparrot/github-code
c221e7be982254eaf129e04efbb4f9cbade8d1c85d8f8c339c2337f315d9c6e6
/* Copyright 2007-2011 David Robillard <http://drobilla.net> Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. THIS SOFTWARE IS PROVIDED "AS IS" AND...
C++
oom/plugin_includes/lilv/lilvmm.hpp
ccherrett/oom
gpl-2.0
8,842
276
codeparrot/github-code
ee935510012a7a10d525072e8407bb141905db569a7ad20865084bc4bfe02d7e
/* * IBM eServer eHCA Infiniband device driver for Linux on POWER * * HCA query functions * * Authors: Heiko J Schick <schickhj@de.ibm.com> * Christoph Raisch <raisch@de.ibm.com> * * Copyright (c) 2005 IBM Corporation * * All rights reserved. * * This source code is distributed under a dual ...
C
drivers/infiniband/hw/ehca/ehca_hca.c
janrinze/loox7xxport
gpl-2.0
12,137
407
codeparrot/github-code
3874a3819dfbce7d483057f31cd62bd180385c462e3e7dca6d4f84230eb8bb78
/* 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/. Copyright (C) 2009-2010 Michael Möller <mmoeller@openhardwaremonitor.org> */ namespace OpenHardwar...
C#
agents/windows/openhardwaremonitor/Hardware/Mainboard/MainboardGroup.cs
ypid-bot/check_mk
gpl-2.0
875
36
codeparrot/github-code
576044834ed2d9f83bfa475feb2c10e47c4ec8a46d1a212a41a056c1bcdab447
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); /** * CodeIgniter * * An open source application development framework for PHP 4.3.2 or newer * * @package CodeIgniter * @author ExpressionEngine Dev Team * @copyright Copyright (c) 2006, EllisLab, Inc. * @license http://codeigniter.co...
PHP
CodeIgniter_1.6.1/CodeIgniter_1.6.1/system/helpers/cookie_helper.php
Calico90/codeigniter-version-scanner
gpl-2.0
3,054
134
codeparrot/github-code
9957fb9814ae09bd549e8d73817228e158c2b8fe5a2dbc081a40e24f97f98544
/* * This file is part of the TrinityCore Project. See AUTHORS file for Copyright information * * 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 ...
C++
src/server/game/Warden/WardenMac.cpp
Regigicas/TrinityCore
gpl-2.0
7,534
272
codeparrot/github-code
775d0af657900e7383fc67dc10ab8c83c8ea394bd5aa0b6d730bddf40f7b347a
<?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"> <!-- /home/qt/mkdist-qt-4.4.3-1222864207/qt-embedded-linux-opensource-src-4.4.3/src/corelib/tools/qmap.cpp --> <head> <t...
HTML
qtopiacore/qt/doc/html/qmap-const-iterator-qt3.html
tsuibin/qtextended
gpl-2.0
2,470
33
codeparrot/github-code
2d2ddf2e3c40cf98c46225a88428ee553a9d98130384a46e0d22400655dd6786
// { dg-do compile } // 2007-03-12 Stephen M. Webb <stephen.webb@bregmasoft.com> // // Copyright (C) 2007-2021 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the // terms of the GNU General Public Li...
C++
libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/assign/wchar_t/pstring.cc
Gurgel100/gcc
gpl-2.0
1,239
43
codeparrot/github-code
209d24c836fde784913492dc5ca07a6c37d2470baf421ae46aafb902a5f53c7e
<!doctype html public "-//w3c//dtd html 4.0 transitional//en"> <html> <head> <title>uCdimm 532x information pages</title> <script language="javascript"> var winder = null function win(hurl,name,w,h) { settings = 'width='+w+',height='+h+',resizable=yes,scrollbars=yes' winder = window.o...
HTML
vendors/Arcturus/uC532x/htdocs/info.html
nmacs/lm3s-uclinux
gpl-2.0
1,947
67
codeparrot/github-code
0703a001d22fb0f0fa92640576e38170046c48fcd9405c5fcdc66550d38cdbfb
/* ScummVM - Graphic Adventure Engine * * ScummVM is the legal property of its developers, whose names * are too numerous to list here. Please refer to the COPYRIGHT * file distributed with this source distribution. * * This program is free software; you can redistribute it and/or * modify it under the terms of ...
C
graphics/macgui/macmenu.h
vanfanel/scummvm
gpl-2.0
6,491
178
codeparrot/github-code
b03747ed0d8ee9785768b833b1afe73a42dbe2d81d99acdb3b1eab7324cac706
/* Disable floating-point exceptions. e500 version. Copyright (C) 2004-2017 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Fr...
C
sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c
NicoleRobin/glibc
gpl-2.0
1,675
55
codeparrot/github-code
701d410eea5302ee0a839d5159fbaf00c3fbb9b15b0ac47d500604db81941f20
# -*- coding: utf-8 -*- ## ## This file is part of CDS Invenio. ## Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 CERN. ## ## CDS 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; either versio...
Python
modules/webjournal/lib/widgets/bfe_webjournal_widget_latestPhoto.py
ppiotr/Bibedit-some-refactoring
gpl-2.0
3,928
104
codeparrot/github-code
05a109bf6d19c5fe81b1809b11ba509cc70f78166a9e9111f649fef0ea0c9e89
/* packet-ucd.c * Routines for UCD Message dissection * Copyright 2002, Anand V. Narwani <anand[AT]narwani.org> * * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> * Copyright 1998 Gerald Combs * * This program is free software; you can redistribute it and/or * modify it under the...
C
plugins/docsis/packet-ucd.c
kevincox/wireshark
gpl-2.0
23,375
825
codeparrot/github-code
17347f9aeec0e399347df4c9e08bb2c30cce349b9cd95c1f40f23586dcad91a3
/* * This file is part of the API Extractor project. * * Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). * Copyright (C) 2002-2005 Roberto Raggi <roberto@kdevelop.org> * * Contact: PySide team <contact@pyside.org> * * This program is free software; you can redistribute it and/or * modify it u...
C++
parser/codemodel.cpp
PySide/Apiextractor
gpl-2.0
22,033
948
codeparrot/github-code
be420f62e13483faac2ef804cb46f3c1ae0c9acf65570093c11291637fa17383
/*global Drupal: false, jQuery: false */ /*jslint devel: true, browser: true, maxerr: 50, indent: 2 */ (function ($) { "use strict"; Drupal.behaviors.hybridauth_vtabs_SettingsSummary = {}; Drupal.behaviors.hybridauth_vtabs_SettingsSummary.attach = function(context, settings) { /* Make sure this behavior is p...
JavaScript
sites/all/modules/hybridauth/js/hybridauth.admin.js
mmcintosh/canvas-research
gpl-2.0
7,054
182
codeparrot/github-code
0b4198369d4f7a5aeff975040ba9ef791d7b54bf9baea025d5d9368d428cac7a
/* stat_cmd_args.c * Routines to register "-z" command-line argument handlers for stats * * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> * Copyright 1998 Gerald Combs * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General...
C
src/epan/stat_cmd_args.c
jfzazo/wireshark-hwgen
gpl-2.0
4,181
141
codeparrot/github-code
1a58d66a723e403b08df17b3067dcd1af51467a4e11c8d6869f9242d89fef773
/****************************************************************************** * * Name: acpiosxf.h - All interfaces to the OS Services Layer (OSL). These * interfaces must be implemented by OSL to interface the * ACPI components to the host operating system. * ***********...
C
linux-2.4.x/include/acpi/acpiosxf.h
sensysnetworks/uClinux
gpl-2.0
8,882
374
codeparrot/github-code
19c0c3e26e1dca9a332360b4378f5c670fea7bea57e5fac5ac3a7728e4b0da38
/**************************************************************************** ** ** Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies). ** Contact: Qt Software Information (qt-info@nokia.com) ** ** This file is part of the QtXMLPatterns module of the Qt Toolkit. ** ** Commercial Usage ** Licensees holding...
C
qtopiacore/qt/src/xmlpatterns/api/qxmlformatter.h
liuyanghejerry/qtextended
gpl-2.0
3,168
91
codeparrot/github-code
4a00d35228e2e0a4a648e4710bf95d314b2f27b2f418c04a7f8171bfa158702f
/*************************************************************************************************/ /* AIT ISP Host API */ /* All rights reserved by Alpah Image Technology Corp */ /*---------------...
C
drivers/media/video/tcccam/venus_api.h
cnxsoft/telechips-linux
gpl-2.0
20,835
490
codeparrot/github-code
dd611d7c788777e43548a7f0ee0ea36d04b73f5f9bbb61bad0accd1e6ce006be
/* Instruction opcode table for openrisc. THIS FILE IS MACHINE GENERATED WITH CGEN. Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. This file is part of the GNU Binutils and/or GDB, the GNU debugger. This program is free software; you can redistribute it and/or modify it under the ...
C
opcodes/openrisc-opc.c
troore/binutils-newtrips
gpl-2.0
19,058
708
codeparrot/github-code
446a43f240b2e902ea1f18762a1e08009d6be78e149f43d513302d0a244ab6d7
/* * (C) Copyright Linus Torvalds 1999 * (C) Copyright Johannes Erdfelt 1999-2001 * (C) Copyright Andreas Gal 1999 * (C) Copyright Gregory P. Smith 1999 * (C) Copyright Deti Fliegl 1999 * (C) Copyright Randy Dunlap 2000 * (C) Copyright David Brownell 2000-2002 * * This program is free software; you can redist...
C
drivers/usb/core/hcd.c
onyx-intl/ak98_kernel
gpl-2.0
66,643
2,266
codeparrot/github-code
78dfee34bec78d78e54b860f2ee0913fb523db0026b5981cfb8a8e309c48d5d6
// Dodji Seketeli /* *This file is part of the Nemiver project * *Nemiver is free software; you can redistribute *it and/or modify it under the terms of *the GNU General Public License as published by the *Free Software Foundation; either version 2, *or (at your option) any later version. * *Nemiver is distrib...
C++
src/persp/dbgperspective/nmv-call-function-dialog.cc
Fabo/nemiver
gpl-2.0
8,031
261
codeparrot/github-code
57231547fcc63056c54ce5c0655d56db173cf5af64cd55cdb77e865c5fa907d6
package edu.stanford.nlp.util; import java.lang.reflect.Array; import java.lang.reflect.Constructor; import java.lang.reflect.ParameterizedType; import java.lang.reflect.Type; import java.lang.reflect.TypeVariable; import java.lang.reflect.WildcardType; import java.util.Date; import java.util.LinkedList; import java.u...
Java
src/main/java/edu/stanford/nlp/util/MetaClass.java
simplyianm/stanford-corenlp
gpl-2.0
20,340
622
codeparrot/github-code
b00d82f77fa73af826eb2186907cbd6b3e7c7e5767b614bf27d28dcfc9f3b5ec
/* * arch/sh/oprofile/op_model_sh7750.c * * OProfile support for SH7750/SH7750S Performance Counters * * Copyright (C) 2003, 2004 Paul Mundt * * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more detail...
C
arch/sh/oprofile/op_model_sh7750.c
marcelo-duffles/linux-rat-2.6.10
gpl-2.0
7,390
287
codeparrot/github-code
a737908ff5b101d2c2d2569dc64be4b7978a4a23647a35ad84343c8a927bf4ab
using System; using System.Linq; using System.Drawing; using System.IO; using System.Text; using System.Windows.Forms; namespace Trithemius { static class Program { [STAThread] static void Main() { Application.EnableVisualStyles(); Application.Set...
C#
historical/beta2/Program.cs
pcluddite/Trithemius
gpl-2.0
1,490
49
codeparrot/github-code
e867a52ffa77dc0241576e92ceaf9cd418782a1f549b59232c4a6ae3f3f7ae55
/*************************************************************************** * Copyright (C) 2005 by Dominic Rath * * Dominic.Rath@gmx.de * * * * Copyrig...
C
src/flash/nor/stm32f2x.c
mabl/openocd_chibios
gpl-2.0
23,618
826
codeparrot/github-code
471dab9430e0b07d6b286e48e72ecc376a0515dd9a91d81776f92d250dd9856a
/* * Copyright (C) 2015 Cisco Systems, Inc. and/or its affiliates. All rights reserved. * Copyright (C) 2007-2008 Sourcefire, Inc. * * Authors: Nigel Horne * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * publish...
C
libclamav/message.c
hanziwang/clamav-devel
gpl-2.0
59,525
2,633
codeparrot/github-code
65f182e0ed6cbf2b4ddfb0a77b42955c2d55447b9d220e2a75c9bfdbc32c24c7
/* * Copyright (c) 2004, 2005 Topspin Communications. All rights reserved. * Copyright (c) 2005 Mellanox Technologies Ltd. All rights reserved. * Copyright (c) 2005 Sun Microsystems, Inc. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be li...
C
drivers/infiniband/core/sysfs.c
namgk/kernel-tut
gpl-2.0
20,033
763
codeparrot/github-code
8a3e88e12026e98c8d1030b0c0401474972f001bffbe883142f2c70103b5dbc6
/** * Marlin 3D Printer Firmware * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] * * Based on Sprinter and grbl. * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General...
C++
prusa_i3/Firmware/Marlin-2.0.x/Marlin/src/lcd/menu/menu_filament.cpp
aetel/3D-printer
gpl-2.0
12,358
333
codeparrot/github-code
2af6bdf86364d03c58cfefd60fb8446d746bfe8e6ff0ce0281be8c038412b43e
/* Copyright_License { XCSoar Glide Computer - http://www.xcsoar.org/ Copyright (C) 2000-2014 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/Device/Port/TCPPort.hpp
CnZoom/XcSoarWork
gpl-2.0
1,940
80
codeparrot/github-code
18c857a1d401db0cf2204043233f9e60e5ae3a7f28a9d7b605363ef1f38a421c
/**************************************************************************** ** ** Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies). ** Contact: Qt Software Information (qt-info@nokia.com) ** ** This file is part of the qmake application of the Qt Toolkit. ** ** Commercial Usage ** Licensees holding va...
C
qtopiacore/qt/qmake/option.h
FilipBE/qtextended
gpl-2.0
6,747
211
codeparrot/github-code
755038e172b475ba18f2f42d7fc4ab94d8b82c355db8fad1d9edc3efc48e590a
package edu.cmu.sphinx.frontend.util; import edu.cmu.sphinx.frontend.Data; import edu.cmu.sphinx.frontend.DoubleData; /** * Copyright 1999-2006 Carnegie Mellon University. Portions Copyright 2002 Sun Microsystems, Inc. Portions Copyright * 2002 Mitsubishi Electric Research Laboratories. All Rights Reserved. Use is...
Java
jumbertoNetbeans7.2/src/sphinx4/edu/cmu/sphinx/frontend/util/VUMeter.java
juanma2268/jumbertoTeia2600
gpl-2.0
4,570
188
codeparrot/github-code
9511a0d791f1a0c6867b2bd0f57b07dac060ceba0167f13c91ecf1dcb70b6aac
// // PBCreateBranchSheet.h // GitX // // Created by Nathan Kinsinger on 12/13/09. // Copyright 2009 Nathan Kinsinger. All rights reserved. // #import <Cocoa/Cocoa.h> #import "PBGitRefish.h" @class PBGitRepository; @interface PBCreateBranchSheet : NSWindowController { PBGitRepository *repository; id <PBGitRe...
C
PBCreateBranchSheet.h
slazyk/gitx
gpl-2.0
895
42
codeparrot/github-code
e2dd4507b7d0f70f4783da4c10f33a801b62310e7ab5136660091d8e6035ace9
/* * linux/mm/memory_hotplug.c * * Copyright (C) */ #include <linux/stddef.h> #include <linux/mm.h> #include <linux/swap.h> #include <linux/interrupt.h> #include <linux/pagemap.h> #include <linux/bootmem.h> #include <linux/compiler.h> #include <linux/module.h> #include <linux/pagevec.h> #include <linux/writeback...
C
mm/memory_hotplug.c
CyanogenMod/geeksphone-kernel-zero
gpl-2.0
24,283
992
codeparrot/github-code
946fbf57904d15605e9c17b010f9db8ca8602587d2769564d29048636eb87168
/* * soundbeos.cc - Implementation of the BeOS sound device. * * Written by * Andreas Matthies <andreas.matthies@gmx.net> * * This file is part of VICE, the Versatile Commodore Emulator. * See README for copyright notice. * * This program is free software; you can redistribute it and/or modify * it under t...
C++
src/sounddrv/soundbeos.cc
AreaScout/vice-gles2
gpl-2.0
4,834
177
codeparrot/github-code
e8c0d6fe9996c174c6d03aaa2031e3ca7d4cbeea29b6262c5e646f856acb7ecc
/* * lib/kdb/kdb_ldap/ldap_fetch_mkey.c * * Copyright (c) 2004-2005, Novell, 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: * * * Redistributions of source code must retain the ab...
C
lib/libkrb5/plugins/kdb/ldap/libkdb_ldap/ldap_fetch_mkey.c
rhuitl/uClinux
gpl-2.0
4,564
143
codeparrot/github-code
908ddff44f7dbde0f96dbce392bad79af51bb50dd7158cebf33845dcc293c708
// // C++ Interface: MeshCollisionDetector // // Description: // // // Author: Erik Hjortsberg <erik.hjortsberg@gmail.com>, (C) 2008 // // 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 ...
C
src/components/ogre/MeshCollisionDetector.h
mpreisler/ember
gpl-3.0
2,219
70
codeparrot/github-code
e2646af1bb4de8f267bf3495520c7b3a36837aff7d74236feeb25b01565b58b0
using System; using System.Collections.ObjectModel; using System.IO; using System.Windows.Forms; using Microsoft.VisualStudio.TestTools.UITest.Common; using Microsoft.VisualStudio.TestTools.UITest.Common.UIMap; using UIMapToolbox.Core; using System.Reflection; using System.Diagnostics; using System.Text; n...
C#
VS2015/Source/UIMapToolbox.UI/MainForm.cs
nfowler-1/CodedUIMapToolbox
gpl-3.0
6,144
179
codeparrot/github-code
066e5c7a968893d03d4a1155bf137f0532dd8bbfab41aa129269c840229b1f27
/* === This file is part of Calamares - <http://github.com/calamares> === * * Copyright 2014, Teo Mrnjavac <teo@kde.org> * * Calamares 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 versi...
C++
src/modules/partition/gui/PrettyRadioButton.cpp
maui-packages/calamares
gpl-3.0
2,155
86
codeparrot/github-code
f80f3741f7645bd3579a4bccb3b8a1afd358be6dc252d1c0e64b0f76a1d74f80
#!/usr/bin/env python3 # Copyright © 2012-13 Qtrac Ltd. All rights reserved. # This program or module 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 ...
Python
texteditor2/Display.py
lovexiaov/python-in-practice
gpl-3.0
4,434
132
codeparrot/github-code
18f14eb0d4c58f07e7cddefad57284ed20fe4a0861e5f8eab317402d89a37a95
import store from "amplify-store"; import { Meteor } from "meteor/meteor"; import { Random } from "meteor/random"; import { Session } from "meteor/session"; import { Tracker } from "meteor/tracker"; import { SubsManager } from "meteor/meteorhacks:subs-manager"; import Reaction from "./main"; export const Subscriptions...
JavaScript
client/modules/core/subscriptions.js
levu48/reaction
gpl-3.0
3,683
97
codeparrot/github-code