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
bff80e5e4ad7e008c53e6df42492735a1ecf2837f11c320f5e61e868e556847b
/* * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
C++
third_party/webrtc/logging/rtc_event_log/events/rtc_event_audio_network_adaptation.cc
endlessm/chromium-browser
bsd-3-clause
1,562
48
codeparrot/github-code
7045fd22d7a89d3b40bec138b49d3727eb3feb8cc47a46a4f644769fdc2cef19
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/search_engines/detect_desktop_search_win.h" #include <stddef.h> #include "base/macros.h" #include "base/strings/string16.h" #includ...
C++
components/search_engines/detect_desktop_search_win_unittest.cc
js0701/chromium-crosswalk
bsd-3-clause
1,896
48
codeparrot/github-code
39068eee35f561f751ab1bd69d253e7e8f25708ff9e3f2bf91f23cb4e751d992
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ash/system/chromeos/audio/audio_detailed_view.h" #include "ash/system/tray/fixed_sized_scroll_view.h" #include "ash/system/tray/hover_highlight...
C++
ash/system/chromeos/audio/audio_detailed_view.cc
sencha/chromium-spacewalk
bsd-3-clause
5,527
179
codeparrot/github-code
a2a741db46ba18d176b5821221d037ecb120b4c55169a4002acb327e2ce48c3c
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "media/filters/vp9_compressed_header_parser.h" #include "base/logging.h" namespace media { namespace { // 6.3.6 Inv recenter noneg syntax, in...
C++
media/filters/vp9_compressed_header_parser.cc
chromium/chromium
bsd-3-clause
10,507
317
codeparrot/github-code
27af8043c91290f004c4b7cb03e635576aee9ba2802ca39d138832699446c0df
// 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. #include <stdint.h> #include <utility> #include "base/at_exit.h" #include "base/base_switches.h" #include "base/command_line.h" #include "base/files/sco...
C++
content/test/fuzzer/code_cache_host_mojolpm_fuzzer.cc
chromium/chromium
bsd-3-clause
20,029
509
codeparrot/github-code
482a3eb033004c83241b2f78f31bf46eec2b9402a327eeea26e76b701b2844b5
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/chromeos/login/screens/error_screen.h" #include "base/bind.h" #include "base/bind_helpers.h" #include "base/command_line.h" ...
C++
chrome/browser/chromeos/login/screens/error_screen.cc
Pluto-tv/chromium-crosswalk
bsd-3-clause
11,825
347
codeparrot/github-code
73dbf779f281583bd4fa2bd908af2aba9ee25295b171839f06c0cadf9477ecf3
// Copyright 2021 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "third_party/blink/renderer/platform/image-decoders/jxl/jxl_image_decoder.h" #include "base/logging.h" #include "base/time/time.h" #include "thir...
C++
third_party/blink/renderer/platform/image-decoders/jxl/jxl_image_decoder.cc
chromium/chromium
bsd-3-clause
23,778
636
codeparrot/github-code
c08936534ddbde45a419aff9a5c581f14ddd7403571d978f58422330c1624a0a
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/push_messaging/push_messaging_notification_manager.h" #include <bitset> #include "base/metrics/histogram_macros.h" #include "ba...
C++
chrome/browser/push_messaging/push_messaging_notification_manager.cc
Chilledheart/chromium
bsd-3-clause
13,790
331
codeparrot/github-code
8beef13f817fb73f3986f8faa1f421db7276f3d8d6380018cc574c801f0a7771
#!/usr/bin/env python # Copyright (c) 2012 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """ This script is based on chromium/chromium/master/tools/clang/scripts/update.py. It is used on Windows platforms to copy the co...
Python
tools/dia_dll.py
chinmaygarde/flutter_engine
bsd-3-clause
2,094
76
codeparrot/github-code
0a9ae9a4521453b95d73b7f625a4773a89901aace31ddb7c48ce82f9f77eb871
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_SPEECH_SPEECH_RECOGNITION_TRAY_ICON_CONTROLLER_H_ #define CHROME_BROWSER_SPEECH_SPEECH_RECOGNITION_TRAY_ICON_CONTROLLER_H_ #in...
C
chrome/browser/speech/speech_recognition_tray_icon_controller.h
junmin-zhu/chromium-rivertrail
bsd-3-clause
1,332
45
codeparrot/github-code
02850ee9d0e6a572e07fca686fabc67229bf74ead3b175d2576f5beadf41baf9
using System; using System.Collections.Concurrent; using System.Linq; namespace Pizza.WaitTimeService { public class WaitTimeCounter : IWaitTimeCounter { private readonly ConcurrentDictionary<string, PizzaTime> _pizzaTimes = new ConcurrentDictionary<string, PizzaTime>(); public void RecordNew...
C#
src/Samples/PizzaSample/Pizza.WaitTimeService/WaitTimeCounter.cs
rebase42/Anubus
mit
1,123
36
codeparrot/github-code
a61b7c450eebda984ed3867b9998b21af57a9ef44848ce22217db42a7c3bfa6f
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2013 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_HASH_H #define BITCOIN_HASH_H #include "crypto/ripemd160.h" #inc...
C
src/hash.h
shaulkf/bitcoin
mit
5,371
175
codeparrot/github-code
8682273ad0a9c7a466281103c0126ae3147bd870f4c5f9697b70f864b0217bed
using System; using System.Linq; using Duality; using AdamsLair.WinForms.PropertyEditing.Templates; namespace Duality.Editor.Controls.PropertyEditors { [PropertyEditorAssignment(typeof(Point2))] public class Point2PropertyEditor : VectorPropertyEditor { public override object DisplayedValue { get { ...
C#
Source/Editor/DualityEditor/Controls/PropertyEditors/Point2PropertyEditor.cs
RockyTV/duality
mit
1,812
69
codeparrot/github-code
b5d950ce902d2422c61b5970174e058ab464ea5c4a6d79a6997f09d232d10049
// This example will show how to use sound effects such as echo, reverb and distortion. // irrKlang supports the effects Chorus, Compressor, Distortion, Echo, Flanger // Gargle, 3DL2Reverb, ParamEq and WavesReverb. using System; using IrrKlang; namespace CSharp._05._Effects { class Class1 { [STAThread] static v...
C#
external/irrklang/irrKlang-1.5.0/examples.net/CSharp.05.SoundEffects/Class1.cs
redagito/CG2015
mit
3,220
107
codeparrot/github-code
5be3357ff197b5964df2e2981ecbb3ebabafa83854fbf696aab5dd19151fd859
""" Sleep sort is a proof of concept sorting algorithm that creates threads for each number in the sorting queue and sleeps for the amount of time before giving the result. It has no practical usage and doesn't works for negative numbers. Also for very close positive numbers, results are not guaranteed to be consisten...
Python
sleep_sort/sleep_sort.py
Enether/algos
mit
1,634
59
codeparrot/github-code
3a07f2bcbe3117316f5313b1a6cf4becc8fbac2e9df09edce3da9782c5709148
/* * (I)RDFT transforms * Copyright (c) 2009 Alex Converse <alex dot converse at gmail dot com> * * This file is part of Libav. * * Libav is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either ...
C
src/libav/libavcodec/rdft.c
fillest/rtmp_load
mit
4,231
134
codeparrot/github-code
a7a819186b0607e766898cc88d17848934c3fdd6245f5b8d834512e5786e70a1
package com.prolificinteractive.materialcalendarview.sample; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import com.prolificinteractive.materialcalendarview.CalendarDay; import com.prolificinteractive.materialcalendarview.DayViewDecorator; import com.prolificinteractive.materialcalendar...
Java
sample/src/main/java/com/prolificinteractive/materialcalendarview/sample/DisableDaysActivity.java
BlackAngel1991/material-calendarview
mit
3,393
115
codeparrot/github-code
41fe3672cecd45486b18a85f897546bf368b31f2a9cb8b744cdf84008c92430f
# This file is part of beets. # Copyright 2015, Pedro Silva. # # Permission is hereby granted, free of charge, to any person obtaining # a copy of this software and associated documentation files (the # "Software"), to deal in the Software without restriction, including # without limitation the rights to use, copy, mod...
Python
beetsplug/duplicates.py
ruippeixotog/beets
mit
13,370
322
codeparrot/github-code
274bf0ea8635f809f22731a9fc79e10fceab97c97b0691fe74b4d0ad2769d83d
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices; using Microsoft.DotNet.ProjectModel; using Microsoft.DotNet.ProjectModel.Graph; using Microsoft.Extensions.PlatformAbstractions; using NuGet.Frameworks; using NuGet.Packaging; namespace Microsoft.D...
C#
src/Microsoft.DotNet.Cli.Utils/CommandResolution/DefaultCommandResolverPolicy.cs
marono/cli
mit
2,186
52
codeparrot/github-code
3d29c346454e9be35bbba156c663ef14189e80f0d33d568b7160aa4a183fc1f8
using UnityEngine; namespace HoloToolkit { /// <summary> /// DirectionIndicator creates an indicator around the cursor showing /// what direction to turn to find this GameObject. /// </summary> public class DirectionIndicator : MonoBehaviour { [Tooltip("The Cursor object an on-cursor d...
C#
Holograms-211-Template/Starting/ModelExplorer/Assets/HoloToolkit/Utilities/Scripts/DirectionIndicator.cs
holoacademy/holograms-211
mit
6,528
159
codeparrot/github-code
3d37a109413e4b49b5826485215aa0573b55d6c55776f153656b02a295861426
/* globals Reflect */ import { DEBUG } from '@glimmer/env'; const setPrototypeOf = Object.setPrototypeOf; const getPrototypeOf = Object.getPrototypeOf; const hasReflectConstruct = typeof Reflect === 'object' && typeof Reflect.construct === 'function'; const nativeWrapperCache = new Map(); // Super minimal version ...
JavaScript
packages/external-helpers/lib/external-helpers.js
sly7-7/ember.js
mit
5,773
196
codeparrot/github-code
7fdcd166cc5e377d553b8ef9c28d6f1f38f2560c24bfffb1d5db4439728b618b
<!DOCTYPE html> <html lang="en"> <head> <title>three.js webgl - materials - anisotropic texture filtering</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0"> <link type="text/css" rel="stylesheet" href="main.css"> <style> ...
HTML
public/js/three.js/examples/webgl_materials_texture_anisotropy.html
billroy/jchart
mit
5,263
217
codeparrot/github-code
5fa647e2796ed99fd186e985d85c1c62e27028bbcef9e96d9b86d6cdaeba6019
/******************************************************************************* * Copyright (c) 2012-2017 Codenvy, S.A. * 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 ...
Java
ide/che-core-ide-api/src/main/java/org/eclipse/che/ide/api/action/AbstractPerspectiveAction.java
gazarenkov/che-sketch
epl-1.0
4,940
128
codeparrot/github-code
bf1cc20c7156103aaa782221d87bb63c9ac1539588f143397e2da47da257bfa8
/* * Copyright (c) 2015, 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
jdk9/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.replacements.verifier/src/org/graalvm/compiler/replacements/verifier/GeneratedPlugin.java
YouDiSN/OpenJDK-Research
gpl-2.0
10,165
245
codeparrot/github-code
fb3d40412d0d6e36d719b64656765e6922e200afdf5b4bd02dbf6e60d2118e9d
#!/usr/bin/env php <?php /** * File containing the contentwaittimeout.php script * * @copyright Copyright (C) 1999-2012 eZ Systems AS. All rights reserved. * @license http://www.gnu.org/licenses/gpl-2.0.txt GNU General Public License v2 * @version 2012.6 * @package */ /** * This script starts parallel publish...
PHP
bin/php/ezpublishingbenchmark.php
navyhod/helpfriend
gpl-2.0
6,910
182
codeparrot/github-code
304c276d5c4cd35ed72dcd7f94e6634aa016d4b7eaf031f74bf5fd5867a1622b
/* Copyright (c) 2008-2012, Code Aurora Forum. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the ho...
C
drivers/video/msm/mipi_dsi.c
asis92/defroost-kernel
gpl-2.0
16,837
693
codeparrot/github-code
36d8703021aa49cc3077c8d818a5836e681213edf6f33456495c1d0c5a51a58e
/* * Copyright 2006-2015 The MZmine 2 Development Team * * This file is part of MZmine 2. * * MZmine 2 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 opti...
Java
src/main/java/net/sf/mzmine/modules/visualization/neutralloss/NeutralLossToolBar.java
DrewG/mzmine2
gpl-2.0
1,620
57
codeparrot/github-code
b784f9ba8bb4351ede2e7688c38b5d9f80c009d3593ea7c56e8903604af06a2e
/* * Silicon Image SiI9022 Encoder Driver * * Copyright (C) 2014 Texas Instruments * Author: Jyri Sarha <jsarha@ti.com> * * This file is licensed under the terms of the GNU General Public License * version 2. This program is licensed "as is" without any warranty of any * kind, whether express or implied. * */...
C
drivers/video/fbdev/omap2/displays-new/encoder-sii9022-audio.c
rickyzhang82/bbb-linux
gpl-2.0
11,911
445
codeparrot/github-code
199e21e54e525db78ad019ab3635cab584b1419dddcd8c26703aec36bcf9cdee
#ifndef _LINUX_PAGEMAP_H #define _LINUX_PAGEMAP_H /* * Copyright 1995 Linus Torvalds */ #include <linux/mm.h> #include <linux/fs.h> #include <linux/list.h> #include <linux/highmem.h> #include <linux/compiler.h> #include <asm/uaccess.h> #include <linux/gfp.h> #include <linux/bitops.h> #include <linux/hardirq.h> /* fo...
C
include/linux/pagemap.h
DevriesL/HeroQLTE_ImageBreaker
gpl-2.0
20,501
705
codeparrot/github-code
1803d0a4976128af41add22feca5bf75027d098419dfe26d0850ee95deb9c433
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ #ifndef __SHELL_RECORDER_H__ #define __SHELL_RECORDER_H__ #include <clutter/clutter.h> G_BEGIN_DECLS /** * SECTION:shell-recorder * @short_description: Record from a #ClutterStage * * The #ShellRecorder object is used to make recordings ("screenc...
C
src/shell-recorder.h
linuxdeepin/deepin-gnome-shell
gpl-2.0
2,112
47
codeparrot/github-code
0944d893b4972680a88eff7e555e610df33f27863e43b21b71f663df2d866ea1
<?php /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ /** * A concrete renderer for HTML_QuickForm, makes an object from form contents * * PHP versions 4 and 5 * * LICENSE: This source file is subject to version 3.01 of the PHP license * that is available through the world-wide-web at the followin...
PHP
profiles/civicrm_starterkit/modules/civicrm/packages/HTML/QuickForm/Renderer/Object.php
kreynen/civicrm-starterkit-drops-7
gpl-2.0
11,199
462
codeparrot/github-code
e38d7da6b99ace637433edb564e82fd4b53dfb96f1c46c75f8d6a3a47e9b5fd8
// -*- mode: C++; c-indent-level: 4; c-basic-offset: 4; tab-width: 8 -*- // // Callbacks.h: R/C++ interface class library -- Easier R embedding into C++ // // Copyright (C) 2010 Dirk Eddelbuettel and Romain Francois // // This file is part of RInside. // // RInside is free software: you can redistribute it and/o...
C
rcpp/include/Callbacks.h
experimentalDataAesthetics/smallOFmodules
gpl-2.0
2,391
71
codeparrot/github-code
4a10734c4d26fc9ab9ae57083f548260ba7bc411881036af0b1d6588d6761971
/* //@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/src/Cuda/Kokkos_Cuda_WorkGraphPolicy.hpp
jeremiahyan/lammps
gpl-2.0
4,067
117
codeparrot/github-code
5d3fa76e6ca2133a188e93034efb27339cef49aa1dd7b1ad9d27521e633861fa
/********************************************************************** Freeciv - Copyright (C) 1996 - A Kjeldberg, L Gregersen, P Unold 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; eith...
C
client/gui-stub/mapview.c
Feudalciv/Feudalciv
gpl-2.0
9,206
266
codeparrot/github-code
6cd7807e2c7845119e9abd122b04dc43085ab65bf1de1d938e88e45020a47515
/* * cx18 functions to query card hardware * * Derived from ivtv-cards.c * * Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl> * Copyright (C) 2008 Andy Walls <awalls@md.metrocast.net> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Pu...
C
drivers/media/video/cx18/cx18-cards.c
jeeb/spica-2.6.38
gpl-2.0
18,666
581
codeparrot/github-code
918dab6895c1f565bebf0e1c46e17d179c3ea9986fb79bb7a889786a0e08499f
/* 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/hwmon/qpnp-adc-voltage.c
Alex-the-black/android_kernel_huawei_msm8212
gpl-2.0
39,593
1,555
codeparrot/github-code
b77aa0637ad1152679345598d560d9c1beee728dfc274f6ccc6536f723ffb6a1
# -*- coding: utf-8 -*- # # Copyright (C) 2006 Ali Sabil <ali.sabil@gmail.com> # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later...
Python
papyon/gnet/message/SOAP.py
billiob/papyon
gpl-2.0
5,704
155
codeparrot/github-code
e21a6f876018ef50afac17f4b79b01ee83046fc7a1fa0991d212bdab35e47fe7
/* * Copyright (C) 2010-2013 Motorola Mobility LLC * * 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 * published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but W...
C
drivers/misc/moto-sensorhub/motosh_wake_irq.c
jbats/android_kernel_motorola_msm8992
gpl-2.0
16,014
571
codeparrot/github-code
1baf3eeefe0b1c575aa4c07fc0b9aef46e47b05a82c68501648c7d84a8fa8de5
/* * Copyright © 2012 Intel Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, pub...
C
drivers/gpu/drm/i915/intel_ddi.c
uoaerg/linux-dccp
gpl-2.0
83,762
2,768
codeparrot/github-code
01ec1073c83fa05ce75501a776441b1e4de8b006d434838db91fb31353726c1f
/* * Copyright (c) 1997, 2013, 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 ...
C++
src/share/vm/utilities/growableArray.hpp
mohlerm/hotspot
gpl-2.0
18,009
511
codeparrot/github-code
3ec11ef8f216fdfa6916dc019f84a3fd2dcc15842082fbd47f793387e71167fc
/***************************************************************************** Copyright (c) 1995, 2009, Innobase Oy. All Rights Reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 o...
C
storage/innodb_plugin/include/thr0loc.h
ngaut/mysql
gpl-2.0
2,989
91
codeparrot/github-code
809e74ac6b0968ef1dd69f34175a12f9bc50b5ede255593a16f68a76a9f9c783
/* ld.h -- general linker header file Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc. This file is part of the GNU Binutils. This program is free software; you can redistribute it...
C
ld/ld.h
embecosm/avr32-binutils-gdb
gpl-2.0
10,405
342
codeparrot/github-code
f9d2b186f709f4bcf3e874affb1723bb05f68e1ab51659c1aabd655abc5a20d2
/* * dvb_frontend.c: DVB frontend tuning interface/thread * * * Copyright (C) 1999-2001 Ralph Metzler * Marcus Metzler * Holger Waechtler * for convergence integrated media GmbH * * Copyright (C) 2004 Andrew de Quincey (tuning thread cleanup) * * This program is free software; you can red...
C
drivers/media/dvb/dvb-core/dvb_frontend.c
Stane1983/buildroot-linux-kernel-m6
gpl-2.0
70,056
2,485
codeparrot/github-code
1f4115dba6d32203355b9ca0ea795772e747f58b5b13c2837868240760e65c1a
using System; using Server; namespace Server.Items { public class MuggSatchel : Backpack { [Constructable] public MuggSatchel() { Hue = Utility.RandomBrightHue(); DropItem( new Pickaxe() ); DropItem( new Pickaxe() ); } public MuggSatchel( Serial serial ) : base( serial ) { } public ove...
C#
Scripts/Engines/MLQuests/Items/MuggSatchel.cs
jackuoll/Pre-AOS-RunUO
gpl-2.0
582
36
codeparrot/github-code
0d8c9707d32772613fa5aaac4790136d8a5a6c7c09db251d1b62101c99d8e61b
/* * Copyright (c) 2012-2017 The Linux Foundation. All rights reserved. * * Previously licensed under the ISC license by Qualcomm Atheros, Inc. * * * 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 noti...
C
drivers/staging/prima/CORE/MAC/src/pe/lim/limFT.c
M8s-dev/kernel_htc_msm8939
gpl-2.0
67,350
1,756
codeparrot/github-code
9627002e2178ea1c8d044e35bbfc677d5aa3ec06f3483da5f5928102534a5e97
#include <string.h> #include <glib.h> #include "extract-uri.h" // FIXME: kill this ugliness when we have a proper CSS parser // Functions as per 4.3.4 of CSS 2.1 // http://www.w3.org/TR/CSS21/syndata.html#uri gchar *extract_uri( gchar const *s, gchar const** endptr ) { if (!s) return NULL; gchar* re...
C++
src/extract-uri.cpp
tik0/inkscapeGrid
gpl-2.0
2,299
99
codeparrot/github-code
ea3ad38939abc7ce83a51a812364d50294b7c5f7d986a106c4987c68c514da6b
/* * PPC440GX system library * * Eugene Surovegin <eugene.surovegin@zultys.com> or <ebs@ebshome.net> * Copyright (c) 2003 - 2006 Zultys Technologies * * 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 Soft...
C
linux-2.6.18-xen.hg/arch/ppc/syslib/ibm440gx_common.c
zhoupeng/spice4xen
gpl-2.0
8,155
295
codeparrot/github-code
1c143d2dd5919295c03aad98c889838a9311946e6ebd82b9e960e9d3c20dd3a8
/* * 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. * * Definitions for the Interfaces handler. * * Version: @(#)dev.h 1.0.10 08/12/93 * * Authors: Ross Biro * ...
C
include/linux/netdevice.h
geeknik/StupidFast
gpl-2.0
58,274
1,901
codeparrot/github-code
b8e485df209a4d5f0300fe88f960144e6646149c13f81e5ea968535c51dcd789
/* * ProGuard -- shrinking, optimization, obfuscation, and preverification * of Java bytecode. * * Copyright (c) 2002-2009 Eric Lafortune (eric@graphics.cornell.edu) * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as publ...
Java
external/proguard/src/proguard/classfile/attribute/preverification/DoubleType.java
qtekfun/htcDesire820Kernel
gpl-2.0
2,370
67
codeparrot/github-code
0e739f44d1e8ee431e9f186259729b8fc8d8b95d31f8fc7100c3c714566bfa7b
/* ** License Applicability. Except to the extent portions of this file are ** made subject to an alternative license as permitted in the SGI Free ** Software License B, Version 1.1 (the "License"), the contents of this ** file are subject only to the provisions of the License. You may not use ** this file except in co...
C++
third-party/reactos/dll/opengl/glu32/src/libnurbs/nurbtess/primitiveStream.cc
GreenteaOS/Kernel
gpl-2.0
4,901
193
codeparrot/github-code
28f4a96ebee1f5147749bf127952f0eb6cc9d44929994a654d580ad7a833c4c3
/* * Driver for Nvidia TEGRA spi controller. * * Copyright (C) 2010 Google, Inc. * * Author: * Erik Gilling <konkers@android.com> * * Copyright (C) 2010-2011 NVIDIA Corporation * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software F...
C
drivers/spi/spi_tegra.c
PAC-lge/lge-kernel-star
gpl-2.0
46,697
1,726
codeparrot/github-code
0cabd7d4fd3e00aa417852d352373cdbc85cc4a135628292eee5f60037312e20
<?php /** * @version $Id: config.php 221 2011-06-11 17:30:33Z happy_noodle_boy $ * @package JCE * @copyright Copyright (C) 2005 - 2009 Ryan Demmer. All rights reserved. * @author Ryan Demmer * @license GNU/GPL * JCE is free software. This version may have been modified pursuant * to the GNU Genera...
PHP
components/com_jce/editor/tiny_mce/plugins/media/classes/config.php
smartti/newsig
gpl-2.0
1,833
58
codeparrot/github-code
03b0a09ab41489327786eae8f82239bcdf76bf9b6fc8add86cc6e2be2c1c7625
# Copyright (C) 2007-2015 by the Free Software Foundation, Inc. # # This file is part of GNU Mailman. # # GNU Mailman is free software: you can redistribute it and/or modify it under # the terms of the GNU General Public License as published by the Free # Software Foundation, either version 3 of the License, or (at you...
Python
src/mailman/interfaces/runner.py
yland/mailman3
gpl-2.0
4,700
144
codeparrot/github-code
c460f306e55522f1267b786b74943074867768fe8ac61ea331a2cbc1c33e2439
/* * Copyright (C) 2005-2008 Team XBMC * http://www.xbmc.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, or (at your option) * any later version. * ...
C++
xbmc/music/Album.cpp
xbmc/xbmc-rbp
gpl-2.0
6,151
186
codeparrot/github-code
4dc6da7d86d96c9d70b9338fe31cce81955142f22408cda662a12e300d455031
// 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
engine/storage/src/org/apache/cloudstack/storage/db/ObjectInDataStoreDaoImpl.java
ikoula/cloudstack
gpl-2.0
4,787
112
codeparrot/github-code
be7c7476666fd53ab8532b154b4aa08f1d68fbbd646a5becb11b3788ebfab52c
/* Copyright (c) 2003-2008 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, but WITHO...
C++
storage/ndb/test/ndbapi/testNodeRestart.cpp
Abner-Sun/vx_mysql5.1_git
gpl-2.0
62,428
2,517
codeparrot/github-code
95f309f9dd7a0f5d28d99c55ebdc76c1074b0e8f4bcbeae3922178cfb0407ded
/* * This file is part of the coreboot project. * * Copyright (C) 2008 Advanced Micro Devices, Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; version 2 of the License. * * This ...
C
src/mainboard/siemens/sitemp_g1p1/fadt.c
coolstar/coreboot
gpl-2.0
6,213
199
codeparrot/github-code
ca213897e36226625d9fa196d647b74b6026526cc681e99bdbc17ff7bb411cec
/* * Mesa 3-D graphics library * Version: 6.3 * * Copyright (C) 2005 Brian Paul 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"), * to deal in the Software without restriction,...
C
nx-X11/extras/Mesa/src/mesa/shader/slang/slang_assemble_typeinfo.c
fcarvajaldev/nx-libs
gpl-2.0
11,222
431
codeparrot/github-code
ca029d7447738fe2ff12bf73d22cdee0393818f1cd41b6889eab1e669ae163f5
/* * Copyright (C) 2005-2008 MaNGOS <http://www.mangosproject.org/> * * Copyright (C) 2008 Trinity <http://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 ...
C
src/shared/vmap/VMapTools.h
ForsakenMyst/trinityzero
gpl-2.0
4,783
154
codeparrot/github-code
d53cbc68ea19ccb3cb6bc4f7d237c2e81e601c4a2f812cae52f13e0b46aea74c
# # Makefile for the Linux kernel device drivers. # # 15 Sep 2000, Christoph Hellwig <hch@infradead.org> # Rewritten to use lists instead of if-statements. # obj-y += irqchip/ obj-y += bus/ # GPIO must come after pinctrl as gpios may need to mux pins etc obj-y += pinctrl/ obj-y += gpio/ obj-y += pwm/ o...
Makefile
drivers/Makefile
Khaon/android_kernel_samsung_a3xelte
gpl-2.0
5,089
185
codeparrot/github-code
4f4d787d6e6d4fd799cc6ade0ed3c2cec51aa68f300578000943cbcfba2ba91d
/* * Copyright 2008-2013 Various Authors * Copyright 2004-2006 Timo Hirvonen * * 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 l...
C
player.c
jarv/cmus
gpl-2.0
31,558
1,419
codeparrot/github-code
b9582a7b9c492027215cb82cea7e586f29275e2773935dbcace10bbd922eb939
<?php namespace Drupal\captcha\Form; use Drupal\Core\Entity\EntityConfirmFormBase; use Drupal\Core\Form\FormStateInterface; use Drupal\Core\Url; /** * Builds the form to delete a Captcha Point. */ class CaptchaPointEnableForm extends EntityConfirmFormBase { /** * {@inheritdoc} */ public function getQues...
PHP
web/modules/contrib/captcha/src/Form/CaptchaPointEnableForm.php
maskedjellybean/tee-prop
gpl-2.0
1,096
53
codeparrot/github-code
0cd4c435bdd675a1090f0b6d33b8c403a657059c05c7fced05945229c62d228f
<?php /** * This file belongs to the YIT Framework. * * This source file is subject to the GNU GENERAL PUBLIC LICENSE (GPL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://www.gnu.org/licenses/gpl-3.0.txt */ if (!defined('Y...
PHP
wp-content/themes/regency/core/yit/Options.php
jabue/wordpress
gpl-2.0
18,522
537
codeparrot/github-code
7226a2c2c93cf5efd87b552eed4510abeab78ce14aef9f6aba3ef44737b56b93
from os import path from enigma import eServiceCenter, eServiceReference, eTimer, pNavigation, getBestPlayableServiceReference, iPlayableService from Components.ParentalControl import parentalControl from Components.config import config from Components.PluginComponent import plugins from Plugins.Plugin import PluginDes...
Python
Navigation.py
schleichdi2/OpenNfr_E2_Gui-6.0
gpl-2.0
15,954
396
codeparrot/github-code
5949193686ff0fbdeebeca49a28c39a13cf24e174cd36a4eb72b51a3c5e6d820
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | foam-extend: Open Source CFD \\ / O peration | \\ / A nd | For copyright notice see file Copyright \\/ M anipulation | ---------------------...
C++
src/foam/db/functionObjects/functionObjectList/functionObjectList.C
WensiWu/openfoam-extend-foam-extend-3.1
gpl-3.0
8,023
326
codeparrot/github-code
dc6cc3a0ab10d21eca14c59fd16cd0d8013c4191760b5d5e22b21dab37007099
/* Copyright (C) 2012,2013,2015,2016 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 ...
C++
src/interaction/CoulombTruncated.hpp
kkreis/espressopp
gpl-3.0
3,505
111
codeparrot/github-code
6eee265ab1e091e96c04e928fe73a632bb7a28deba21a49cb920006b3b50b62f
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | foam-extend: Open Source CFD \\ / O peration | \\ / A nd | For copyright notice see file Copyright \\/ M anipulation | ---------------------...
C++
src/finiteVolume/fields/fvPatchFields/derived/partialSlip/partialSlipFvPatchField.C
WensiWu/openfoam-extend-foam-extend-3.1
gpl-3.0
4,936
192
codeparrot/github-code
13d9f75533530ecf093463edbb03b2b1d6d33ab31cb46408b24497c424301f55
#pragma once #include "AP_HAL_Linux.h" #include "RCInput.h" #include <signal.h> #include <pthread.h> #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <string.h> #include <errno.h> #include <stdarg.h> #include <stdint.h> #include <time.h> #include <sys/time.h> #include <sys/types.h> #include <sys/sta...
C
libraries/AP_HAL_Linux/RCInput_RPI.h
lthall/Leonard_ardupilot
gpl-3.0
3,662
152
codeparrot/github-code
35dcb191fd18d3587f1f75fb89e9a578d9b3d90856cd0d39b0311a495936c4c6
<?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
admin/settings/plugins.php
ewallah/moodle
gpl-3.0
38,757
728
codeparrot/github-code
528906809b89592de79bbeddd9c6079d63955d53ee656afae2c0fd3d7a99c55a
/* =========================================================================== Copyright (C) 1999-2010 id Software LLC, a ZeniMax Media company. This file is part of Spearmint Source Code. Spearmint Source Code is free software; you can redistribute it and/or modify it under the terms of the GNU General Public Licens...
C
code/cgame/cg_particles.c
zturtleman/mint-arena
gpl-3.0
41,419
2,038
codeparrot/github-code
0d33b3e8117b400662c512ce4c328791d9f59e02e0bff5de0d920aa405bad329
/* ************************************************************************************************************************** ** CORAL Resources Module v. 1.2 ** ** Copyright (c) 2010 University of Notre Dame ** ** This file is part of CORAL. ** ** CORAL is free software: you can redistribute it and/or modify it under ...
JavaScript
js/forms/detailedSubjectForm.js
UCSCLibrary/resources
gpl-3.0
2,406
80
codeparrot/github-code
a143590945d6f22b09a179b1cf73b0c3885aa7015f35a65169af979c883d1fb4
#ifndef LINUX_PROCINFO_H_ #define LINUX_PROCINFO_H_ #ifdef __cplusplus extern "C" { #endif typedef target_ulong target_ptr; /** Data structure that helps keep things organized. **/ typedef struct _ProcInfo { char strName[32]; target_ulong init_task_addr; target_ulong init_task_size; target_ulong ts_tasks; tar...
C
decaf/shared/linux_procinfo.h
nnamon/DECAF
gpl-3.0
2,271
86
codeparrot/github-code
eb7b97c415a773b80641376dcde929a54a480df6fa3c7915d1520629204e3a94
/* -*- c++ -*- */ /* * Copyright 2004,2010 Free Software Foundation, Inc. * * This file is part of GNU Radio * * GNU Radio 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, or (at your o...
C++
gnuradio/gnuradio-core/src/lib/general/gr_simple_correlator.cc
RedhawkSDR/integration-gnuhawk
gpl-3.0
5,806
234
codeparrot/github-code
5595efc1d8462ebb16785530d4477c4f79317892378db826f371aa8cf1223fe6
/* * TLS interface functions and an internal TLS implementation * Copyright (c) 2004-2011, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. * * This file interface functions for hostapd/wpa_supplicant to use the * integrated TLSv1 im...
C
trunk/user/wpa_supplicant/src/crypto/tls_internal.c
anoidgit/padavan
gpl-3.0
18,426
780
codeparrot/github-code
8e532711b3f4cc1ff7338debaadef19378c648551d6aae05d2fddbc2ccfa6144
/* * This file is part of Cleanflight. * * Cleanflight 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. * * Cleanflight is distr...
C
src/main/drivers/flash_m25p16.c
pinkywafer/cleanflight
gpl-3.0
10,041
350
codeparrot/github-code
64764262ef9a049860ddbad1c5f08586eabb150a407a3911a6dcff18c1d3b3f7
(function($) { var s = 0; var w = 0; var h = 0; var t = 0; var ts = 0; $.fn.setSize = function(width, height){ w = width; h = height; $(this).find("ul").css('width',s*w); $("ul", $(this)).animate( { marginLeft: (t*w*-1) ...
JavaScript
resources/library/interactivities/Slider.wgt/js/easySlider1.5.js
DIP-SEM/OpenBoard
gpl-3.0
6,247
198
codeparrot/github-code
6308428216ead1418ddf0ddcc6da2307d56065d1fb828382b146ca5e9bae3d11
var $ticketFilterForm = $("#ticket-filter-form"); var base_url = [location.protocol, '//', location.host, location.pathname].join(''); $(".ticket-filter-open").click(function() { $ticketFilterForm.show(); $ticketFilterForm.find("select").val(""); }); function make_request() { var from_date = $("#from_date...
JavaScript
app/static/js/events/ticket_sales/attendees.js
Achint08/open-event-orga-server
gpl-3.0
1,544
62
codeparrot/github-code
0732850a83614bb33ac17cedbf4f42191cea1d61ab3325d51cbd5ee8c8e52ad6
#!/usr/bin/python # -*- coding: utf-8 -*- # (c) 2013, Chatham Financial <oss@chathamfinancial.com> # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type ANSIBLE_METADATA = {'metadata_version'...
Python
lib/ansible/modules/messaging/rabbitmq_parameter.py
Tatsh-ansible/ansible
gpl-3.0
4,458
160
codeparrot/github-code
7e82bbb1739641f2e59e2eec1b782a484af1a833854ea1b98249511a00009a05
/** * The contents of this file are subject to the Mozilla Public License * Version 1.1 (the "License"); you may not use this file except in * compliance with the License. You may obtain a copy of the License at * http://www.mozilla.org/MPL/ * * Software distributed under the License is distributed on an "AS IS" * ba...
Java
app/src/us/mn/state/health/lims/common/daoimpl/DatabaseChangeLogDAOImpl.java
mark47/OESandbox
mpl-2.0
1,909
59
codeparrot/github-code
36db0d1a9c96adc27c051ef4020dc26b09ffdb1996fa4631e6b3965031a2a662
/* * ################################################################ * * ProActive Parallel Suite(TM): The Java(TM) library for * Parallel, Distributed, Multi-Core Computing for * Enterprise Grids & Clouds * * Copyright (C) 1997-2012 INRIA/University of * Nice-Sophia Antipolis/ActiveEon ...
Java
src/Examples/org/objectweb/proactive/examples/nbody/common/Start.java
moliva/proactive
agpl-3.0
9,636
250
codeparrot/github-code
0c28c89d8de557bfe8bb64590699ea6d35f93e7200fd348452a3a57ea1a581da
/* This file is part of VoltDB. * Copyright (C) 2008-2015 VoltDB Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any la...
Java
src/frontend/org/voltcore/utils/COWNavigableSet.java
wolffcm/voltdb
agpl-3.0
6,125
197
codeparrot/github-code
6cf83e367c3585891acd79c9d72e9bdccecf3572161049f6196c4058440e3468
package prefetch import ( "context" "fmt" "io" "koding/klient/machine/index" "koding/klient/machine/transport/rsync" ) // Prefetcher defines a set of methods that are needed to safely prefetch // remote files. type Prefetcher interface { // Available checks if it's possible to apply provided prefetcher since ...
GO
go/src/koding/klient/machine/mount/prefetch/prefetch.go
gokmen/koding
agpl-3.0
3,300
114
codeparrot/github-code
d6a7869fadbb01ac179e948e20104506e4e0488976f6b0fc24d30a7a6e13371b
# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2009-today OpenERP SA (<http://www.openerp.com>) # # This program is free software: you can redistribute it and/or modify # it under the terms o...
Python
openerp/addons/mail/mail_thread.py
thresholdsoftware/asylum-v2.0
agpl-3.0
79,884
1,492
codeparrot/github-code
e7d76483d07aeea160170e977c566b0f7ed86bf4a9ca0654de3f2d78abb488ef
# -*- coding: utf-8 -*- # Copyright(C) 2013 Laurent Bachelier # # This file is part of weboob. # # weboob is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at ...
Python
modules/citelis/module.py
sputnick-dev/weboob
agpl-3.0
2,035
62
codeparrot/github-code
6a6d538fbaf54e0465669b440a54d892040db0524aba2dc9d3519461d6ca091b
/* * Copyright (C) 2016 Inria * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup drivers_tsl2561 * @{ * * @file * @brief Device driver implementation for the TSL...
C
drivers/tsl2561/tsl2561.c
Ell-i/RIOT
lgpl-2.1
7,888
292
codeparrot/github-code
6fbaa643514537a5e1a5645bebfa3e0e5355aaf6baff4316a0fa6cbcb3d19860
<?php if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가 // 이벤트 정보 $hsql = " select ev_id, ev_subject, ev_subject_strong from {$g5['g5_shop_event_table']} where ev_use = '1' order by ev_id desc "; $hresult = sql_query($hsql); if(sql_num_rows($hresult)) { // add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨 add_...
PHP
youngcart/theme/basic/mobile/skin/shop/basic/main.event.skin.php
davis00/youngcart
lgpl-2.1
1,452
48
codeparrot/github-code
bb7c0ece606775f11b0c41df5d09d3cc776f76692f4a012ce898d87b20c04e20
//* This file is part of the MOOSE framework //* https://www.mooseframework.org //* //* All rights reserved, see COPYRIGHT for full restrictions //* https://github.com/idaholab/moose/blob/master/COPYRIGHT //* //* Licensed under LGPL 2.1, please see LICENSE for details //* https://www.gnu.org/licenses/lgpl-2.1.html #in...
C++
test/src/materials/StatefulMaterial.C
nuclear-wizard/moose
lgpl-2.1
1,389
49
codeparrot/github-code
d039bca78767cae76c495375a3a6c97bdfb4faaef1124f00d860370e45e5a1aa
/*************************************************************************** * Copyright (c) 2002 Jürgen Riegel <juergen.riegel@web.de> * * * * This file is part of the FreeCAD CAx development system. * * ...
C++
src/Base/PyObjectBase.cpp
sanguinariojoe/FreeCAD
lgpl-2.1
23,360
556
codeparrot/github-code
11a5ef26d38552c8f024f78563c9532aa46afd7397b4452ac4668aabf78f53ce
// ---------------------------------------------------------------------------- // PSP Player Emulation Suite // Copyright (C) 2006 Ben Vanik (noxa) // Licensed under the LGPL - see License.txt in the project root for details // ---------------------------------------------------------------------------- using S...
C#
Noxa.Emulation.Psp.Player.Development/Debugger.cs
BradFuller/pspplayer
lgpl-2.1
3,621
183
codeparrot/github-code
9108cd4b0f4ab0dc6d4e0d3c47df780e6eeb777d69a318daa6af31518bd56478
/******************************************************************** * Description: tp_types.h * Trajectory planner types and constants * * Derived from a work by Fred Proctor & Will Shackleford * * Author: * License: GPL Version 2 * System: Linux * * Copyright (c) 2004 All rights reserved. * *****************...
C
src/emc/tp/tp_types.h
bmwiedemann/linuxcnc-mirror
lgpl-2.1
4,000
136
codeparrot/github-code
22bc1211d08c68df593d8a2690ec593726c79fd149bba95268e16f36892740b5
/// \file ROOT/THistView.h /// \ingroup Hist ROOT7 /// \author Axel Naumann <axel@cern.ch> /// \date 2015-08-06 /// \warning This is part of the ROOT 7 prototype! It will change without notice. It might trigger earthquakes. Feedback is welcome! /*************************************************************************...
C
hist/hist/v7/inc/ROOT/THistView.h
perovic/root
lgpl-2.1
3,078
95
codeparrot/github-code
d5fa1401716f74878a4a149267af92b28e447651164d12a4336d31f035c68983
/* 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 Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the ...
C
gdk/x11/gdkcursor-x11.c
Unity-Technologies/gtk
lgpl-2.1
29,361
1,095
codeparrot/github-code
066041c063d98561759f207b91c5e4b68a87abb8f74c714e63d125ed3e07ee50
/* * Copyright 2014 Ludwig M Brinckmann * * This program 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, or (at your option) any later version. * * This program i...
Java
mapsforge-core/src/test/java/org/mapsforge/core/model/LineSegmentTest.java
lfern/mapsforge
lgpl-3.0
3,886
116
codeparrot/github-code
30075d40028409ff71cee0fb3ff50a977de7a1153ea6dfaa210307ca7797e7a2
#include "common_header.h" #include "timing_functions.h" extern void printMatrix( const char* name, const real_t* mat, uint nRows, uint nCols ); real_t vec[NX*(1+NX+NU)+NU]; real_t k1[NX*(1+NX+NU)]; real_t k2[NX*(1+NX+NU)]; real_t k3[NX*(1+NX+NU)]; real_t k4[NX*(1+NX+NU)]; real_t tmp[NX*(1+NX+NU)]; int integrate( co...
C
experimental/rien/rk4_example/rk4_integrator.c
rienq/acados
lgpl-3.0
1,542
52
codeparrot/github-code
51ae9133fcc4106e805ab68b44b34cb08713d82c56aa0fcd13943ec0bef6a3ef
/* this file is a part of amp software, (C) tomislav uzelac 1996,1997 */ /* misc2.h * * Created by: tomislav uzelac May 1996 * Last modified by: tomislav uzelac Jan 8 1997 */ extern void requantize_mono(int gr,int ch,struct SIDE_INFO *info,struct AUDIO_HEADER *header); extern void requantize_ms(int gr,struct...
C
phantom/apps/amp/misc2.h
tectronics/phantomuserland
lgpl-3.0
20,614
254
codeparrot/github-code
aaa1d50cd1f0ce94424b1a0cce66d9f04fe27a98a9470996206272ecc8f96213
/* Copyright (C) 2007 National Institute For Space Research (INPE) - Brazil. This file is part of TerraMA2 - a free and open source computational platform for analysis, monitoring, and alert of geo-environmental extremes. TerraMA2 is free software: you can redistribute it and/or modify it under the terms of the ...
C++
src/terrama2/impl/DataAccessorOccurrenceLightning.cpp
TerraMA2/terrama2
lgpl-3.0
9,860
268
codeparrot/github-code
d8797aa9f4746c1b110c9f6c65d30186a99472821c0563b38c3b963240ac809b
/* * \file libpeprotocol.c * \author A.G. * \brief */ #include "libpeprotocol.h" #include "3rdparty/ini/minIni.h" #ifdef _WIN32 /* Windows/Linux Switch */ #include <winsock2.h> #include <ws2tcpip.h> #else #include <sys/socket.h> #include <arpa/inet.h> #endif #include <stdarg.h> #include <time.h> /* Commands */ ...
C
peinjector/libpeprotocol.c
0x0mar/peinjector
unlicense
33,498
1,067
codeparrot/github-code
22eb8472ce04eb6c06b5549a2c87ea215615d00ac8e1cac6277e6b78dec4fe0b
/** * 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...
C
heron/common/src/cpp/network/httputils.h
twitter/heron
apache-2.0
5,772
189
codeparrot/github-code
e05a7b78f334c1e20bd788d49e2cdc1e8b928b85170ad498e2bd2aef0c3a8990
package org.edx.mobile.view.adapters; import android.content.Context; import android.os.SystemClock; import android.view.View; import android.view.View.OnClickListener; import android.widget.AdapterView; import android.widget.LinearLayout; import android.widget.TextView; import org.edx.mobile.R; import org.edx.mobile...
Java
VideoLocker/src/main/java/org/edx/mobile/view/adapters/LectureAdapter.java
KirillMakarov/edx-app-android
apache-2.0
5,795
138
codeparrot/github-code
a124ff35947fa239e0502fef913116aa49e4dbc7e1d32f14649b6e5bcd95e825
#!/usr/bin/python from lib import sensu import argparse import json import time parser = argparse.ArgumentParser(description='Sensu Silence Actions') parser.add_argument('--client', nargs='?', required=True) parser.add_argument('--check', nargs='?', default=False) parser.add_argument('--expiration', nargs='?', defau...
Python
packs/sensu/actions/silence.py
armab/st2contrib
apache-2.0
833
36
codeparrot/github-code