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
4a726d5c19195006c48baa09a9cb8fd182efb1885a49c5a9b84cf37b2b1adb82
/* * drivers/mtd/nand/diskonchip.c * * (C) 2003 Red Hat, Inc. * (C) 2004 Dan Brown <dan_brown@ieee.org> * (C) 2004 Kalev Lember <kalev@smartlink.ee> * * Author: David Woodhouse <dwmw2@infradead.org> * Additional Diskonchip 2000 and Millennium support by Dan Brown <dan_brown@ieee.org> * Diskonchip Millennium Pl...
C
linux_kernel_galaxyplayer-master/drivers/mtd/nand/diskonchip.c
KOala888/GB_kernel
gpl-2.0
50,661
1,778
codeparrot/github-code
3c24cd90fd1a13750e4a36747f044dcebec2b0a016014a3cf97aa00d1081175e
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\HttpFoundation; /** * HTTP header utility functions....
PHP
src/Symfony/Component/HttpFoundation/HeaderUtils.php
andrerom/symfony
mit
7,369
226
codeparrot/github-code
146741f94619858365731d2ba29ee3549fcbec4f5c2a1a3cb919380baa383987
<div class="share sticky-top sticky-top-offset"> <p> Share </p> <ul> <li class="ml-1 mr-1"> <a target="_blank" href="https://twitter.com/intent/tweet?text={{ page.title }}&url={{ page.url | absolute_url }}" onclick="window.open(this.href, 'twitter-share', 'width=550,height=235');...
HTML
_includes/share.html
mackuntu/mackuntu.github.io
mit
1,239
35
codeparrot/github-code
8a9056807000e7e6d33c73fa966d24de8cf8f28533bb2c796f04aafee3ba81ff
// CodeContracts // // Copyright (c) Microsoft Corporation // // All rights reserved. // // MIT License // // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including wit...
C#
Microsoft.Research/Contracts/PresentationCore/Sources/System.Windows.Media.Effects.BevelBitmapEffect.cs
Microsoft/CodeContracts
mit
4,064
139
codeparrot/github-code
7516c4971e2847df5eb9540d4209b71a887be9297eacb614a9a94d73e4455c7d
<?php /* * This file is part of the symfony package. * (c) 2004-2006 Fabien Potencier <fabien.potencier@symfony-project.com> * (c) 2004-2006 Sean Kerr <sean@code-box.org> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ /** * sfP...
PHP
symfony/lib/symfony/database/sfPDODatabase.class.php
serg-smirnoff/symfony-pposter
mit
3,236
128
codeparrot/github-code
7bf79014da37a358a434d922c9c8c74b98d0949c2facf7e846addf474ef80277
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="stylesheet" href="./../../assets/css/combined.css"> <link rel="shortcut icon" href="./../../favicon.ico" /> <script src="http://www.google.com/jsapi" type="text/javascrip...
HTML
docs/classes/database/dbutil.html
jinrok/training-fuelphp-01
mit
35,954
1,331
codeparrot/github-code
a7226dd48a9ba8162905560a9a8c2afaac1034e13dd5b262faf2adc75322fdf1
# Copyright Niall Douglas 2005. # Distributed under the Boost Software License, Version 1.0. # (See accompanying file LICENSE_1_0.txt or copy at # http://www.boost.org/LICENSE_1_0.txt) """ >>> from voidptr_ext import * Check for correct conversion >>> use(get()) Check that None is conver...
Python
thirdparty/boost-python/libs/python/test/voidptr.py
alexa-infra/negine
mit
1,168
55
codeparrot/github-code
4e02a806496cf2910e22d8af1cdcd71461dc820abc1c44299daaca83ac7528aa
/* * hx8369 TFT-LCD Panel Driver for the Samsung Universal board * * Derived from drivers/video/samsung/s3cfb_hx8369.c * * 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 o...
C
linux_kernel_galaxyplayer-master/drivers/video/samsung/s3cfb_hx8369.c
KOala888/GB_kernel
gpl-2.0
18,986
829
codeparrot/github-code
eb2d77e7a25c1e9feeb261351ea1e10e6d67bbeee37aba861177ecc083f472e8
// Default ECO Layout // KLE here : http://www.keyboard-layout-editor.com/#/gists/0733eca6b4cb88ff9d7de746803f4039 #include QMK_KEYBOARD_H extern keymap_config_t keymap_config; // Each layer gets a name for readability, which is then used in the keymap matrix below. // The underscores don't mean anything - you can ...
C
keyboards/eco/keymaps/default/keymap.c
chancegrissom/qmk_firmware
gpl-2.0
5,679
99
codeparrot/github-code
7e2524fe2bc0c0e1243fa719764bff1a1e8daa982f18b0af9f890eaf6156a608
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _SCSI_SCSI_EH_H #define _SCSI_SCSI_EH_H #include <linux/scatterlist.h> #include <scsi/scsi_cmnd.h> #include <scsi/scsi_common.h> struct scsi_device; struct Scsi_Host; extern void scsi_eh_finish_cmd(struct scsi_cmnd *scmd, struct list_head *done_q); extern void...
C
include/scsi/scsi_eh.h
Fe-Pi/linux
gpl-2.0
1,682
57
codeparrot/github-code
f0154087a941cd823131bebef628462ff19283c3ab6af803603b2cdef8d23957
package com.cloupia.feature.purestorage.tasks; import java.util.Arrays; import com.cisco.cuic.api.client.WorkflowInputFieldTypeDeclaration; import com.cloupia.feature.purestorage.constants.PureConstants; import com.cloupia.service.cIM.inframgr.TaskOutputDefinition; import com.cloupia.service.cIM.inframgr.customactio...
Java
UCSD 6.0 Connector/FlashArray UCSD Adapter and Source Code/src/com/cloupia/feature/purestorage/tasks/ScheduleVolumeSnapshotTask.java
maheshonecloud/Testrepo
gpl-2.0
5,177
123
codeparrot/github-code
7a0010b29d01cbde90dddf23d982285e6454a24502b2ede5acff74604b16607c
/************************************************************************ * Unreal Internet Relay Chat Daemo, src/aln.c * (C) 2000 Carsten Munk (Techie/Stskeeps) <stskeeps@tspre.org> * Copyright (C) 2000 Lucas Madar [bahamut team] * * See file AUTHORS in IRC package for additional names of * the program...
C
src/aln.c
morria/Unreal
gpl-2.0
6,488
285
codeparrot/github-code
48df64f6caab51e72d41880398640eb8ad33e7838b8341c8223b1c1ec97d0628
// binary.cc -- binary input files for gold // Copyright (C) 2008-2016 Free Software Foundation, Inc. // Written by Ian Lance Taylor <iant@google.com>. // This file is part of gold. // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as publ...
C++
gold/binary.cc
swigger/gdb-ios
gpl-2.0
10,859
371
codeparrot/github-code
71c538dcc171a2049646aa263a46039e1c9078c66c5ff1d8215ae8bd5b5d5f50
// Copyright (c) 2011 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 "base/time.h" #include "base/synchronization/waitable_event.h" #include "base/threading/platform_thread.h" #include "testing/gtest/include/gt...
C++
graphics/skia/third_party/base/synchronization/waitable_event_unittest.cc
xzmagic/src
gpl-2.0
2,570
107
codeparrot/github-code
de991fdaa1f777d6c59bb951aacba4b641468b52a0d4d4d9b9197a68204f00e1
/* SPDX-License-Identifier: GPL-2.0 */ /* * System Control and Management Interface (SCMI) Message Protocol * driver common header file containing some definitions, structures * and function prototypes used in all the different SCMI protocols. * * Copyright (C) 2018 ARM Ltd. */ #ifndef _SCMI_COMMON_H #define _SCM...
C
drivers/firmware/arm_scmi/common.h
aristeu/linux-2.6
gpl-2.0
8,909
268
codeparrot/github-code
dcbae6b7a26ae358ece4f6c3ed512bc7c2816f8ba94cc10ae20809ac83571cfb
// Copyright 2009 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Per-thread (in Go, per-M) malloc cache for small objects. // // See malloc.h for an overview. #include "runtime.h" #include "arch.h" #include "malloc.h" vo...
C
libgo/runtime/mcache.c
ptriller/dcpu-gcc
gpl-2.0
3,001
135
codeparrot/github-code
1f436a236e634987b5b7e0e5f4a503663fd591f1f287464eba8bff899e5df81e
/* * inet_diag.c Module for monitoring INET transport protocols sockets. * * Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; ...
C
net/ipv4/inet_diag.c
awid777/android_kernel_htc_k2-CM
gpl-3.0
28,604
1,176
codeparrot/github-code
f53ee15c14cb0a98b9051882dab3bf8ab8b34577780e0a16a8cf5af1dea4524d
----------------------------------------- -- ID: 5581 -- Item: Slice of Ziz Meat -- Effect: 5 Minutes, food effect, Galka Only ----------------------------------------- -- Strength +4 -- Intelligence -6 ----------------------------------------- require("scripts/globals/status"); --------------------------------------...
Lua
scripts/globals/items/slice_of_ziz_meat.lua
UnknownX7/darkstar
gpl-3.0
1,349
54
codeparrot/github-code
7c7e2de3f95ae9c19f9b84a9609909adde54ef8422f6b10f6c86ac8ca0bbba6c
/* * software YUV to RGB converter * * Copyright (C) 2009 Konstantin Shishkov * * 1,4,8bpp support and context / deglobalize stuff * by Michael Niedermayer (michaelni@gmx.at) * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Le...
C
third_party/android/ffmpeg_2.0/jni/ffmpeg/libswscale/yuv2rgb.c
ShawnKoo/avplayer-1
gpl-3.0
32,152
929
codeparrot/github-code
5ccd3d85ce9789ae8d1be91301c66e3c7299e523d6680caaeb14ca3d4f17c248
// ----------------------------------------------------------------------------- // Globals // Major version of Flash required var requiredMajorVersion = 8; // Minor version of Flash required var requiredMinorVersion = 0; // Minor version of Flash required var requiredRevision = 0; // the version of javascript ...
JavaScript
dotCMS/html/js/flash/detectFlash.js
zhiqinghuang/core
gpl-3.0
3,505
87
codeparrot/github-code
ebdcb0a0ad8a1037094dff2a4e22cae7f0d70bdbcc4f4ee864c306d61b84f1d1
# # (c) 2016 Red Hat Inc. # # (c) 2017 Dell EMC. # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later ve...
Python
lib/ansible/plugins/terminal/dellos6.py
roadmapper/ansible
gpl-3.0
3,474
94
codeparrot/github-code
8f27d2d2281092f4ea7e9c814f05e434a62bf3bdef6f920cbaf96eb967ef6f0c
package com.puppycrawl.tools.checkstyle.checks.design; public class InputMutableException { public class FooException extends Exception { private final int finalErrorCode; private int errorCode = 1; public FooException() { finalErrorCode = 1; } public class Foo...
Java
src/test/resources/com/puppycrawl/tools/checkstyle/checks/design/InputMutableException.java
Bhavik3/checkstyle
lgpl-2.1
1,239
49
codeparrot/github-code
f516a2a3d77cb478968fd353c5aa4953df24c465db714658d31996f3d1b67f83
/* LUFA Library Copyright (C) Dean Camera, 2011. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purp...
C
nova/hardware/nova/avr/bootloaders/Caterina-ORG/LUFA-111009/Demos/Device/ClassDriver/RNDISEthernet/Lib/TCP.h
StarLabMakeSpace/Nova4Mixly
lgpl-3.0
11,912
261
codeparrot/github-code
f38163822d886f6981c552fb46f24973f1f5b0b26bfeacd5c22ebe4e0efedea2
/* * Copyright 2011 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
Java
src/com/google/common/css/compiler/passes/ProcessKeyframes.java
buntarb/closure-stylesheets
apache-2.0
5,425
154
codeparrot/github-code
99b1bd0ba84a923c9dc4e0f9a5fa68368391ef0689443225cb7b966b68e166f2
/* * * Copyright 2015, Google Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of condi...
C
third_party/grpc/src/core/channel/client_channel.c
gameduell/kythe
apache-2.0
19,560
566
codeparrot/github-code
f5684d7d465f4a9a2c01c57bf238ac6c07a61287dd23945ff1a9d42b4e49bd73
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.task.impl; import com.intellij.task.ProjectTask; import org.jetbrains.annotations.Nls; import org.jetbrains.annotations.NotNull; import java.util.Collection...
Java
platform/lang-impl/src/com/intellij/task/impl/AbstractProjectTask.java
allotria/intellij-community
apache-2.0
1,005
41
codeparrot/github-code
ace5c1e32f0f420b0bebadafb750b6b472a6f0a300fc88125934a23f5c3b7517
/*************************************************************************/ /* */ /* Centre for Speech Technology Research */ /* University of Edinburgh, UK */ /* ...
C
usr_local/src/speech_tools/include/EST_track_aux.h
mjansche/tts-tutorial
apache-2.0
10,645
253
codeparrot/github-code
a406463aab596876951829ebc7d7bc02e85269bac9d045bcea5635b907d80e38
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
Java
server/src/main/java/org/elasticsearch/search/aggregations/pipeline/cumulativesum/CumulativeSumPipelineAggregationBuilder.java
fred84/elasticsearch
apache-2.0
8,317
197
codeparrot/github-code
f3f4ee591c3c165d920789f08a31a6e81d07961f296fee54c68e97a93743dff7
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
Java
bundles/scripting/core/src/test/java/org/apache/sling/scripting/core/impl/BindingsValuesProvidersByContextIT.java
tmaret/sling
apache-2.0
11,818
315
codeparrot/github-code
778d937af2a571888fedb3d29610b60ce8e2961057637740b77f3d450558932f
<?php /** * CakeTestSuiteDispatcher controls dispatching TestSuite web based requests. * * PHP 5 * * CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html> * Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org) * * Licensed under The MIT License * Redistributions...
PHP
lib/Cake/TestSuite/CakeTestSuiteDispatcher.php
binhhc/uni_admin
apache-2.0
6,343
277
codeparrot/github-code
da4b4e3521fdf9409b5b29c5898e431b591e913691b2af2874fc1179162da436
/* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
Java
engine/src/test/java/org/camunda/bpm/engine/test/examples/bpmn/gateway/ExclusiveGatewayTest.java
nagyistoce/camunda-bpm-platform
apache-2.0
2,644
71
codeparrot/github-code
9201086e6ef85a55b211e81979621c2e113a15d4ce90cb3ca00aa80ed56e6d82
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.jetbrains.python.codeInsight; import com.intellij.lang.Language; import com.intellij.lang.injection.MultiHostRegistrar; import com.intellij.openapi.util.TextRange; im...
Java
python/src/com/jetbrains/python/codeInsight/PyInjectionUtil.java
smmribeiro/intellij-community
apache-2.0
10,214
247
codeparrot/github-code
6b9ab645b70a5a812884a77d33957cc3f4677cd66021c485986e66aae77971c2
/* * 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")...
Java
src/main/org/codehaus/groovy/transform/trait/TraitComposer.java
antoaravinth/incubator-groovy
apache-2.0
28,377
549
codeparrot/github-code
1682d2e3f469bdda40d9025a8557861a3cb36378584e988a4067c565f3bb20e3
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #nullable disable using System; using System.Collections.Generic; using System.Collections.Immutable; using System...
C#
src/EditorFeatures/Core/Tagging/AbstractAsynchronousTaggerProvider.TagSource.cs
ErikSchierboom/roslyn
apache-2.0
15,646
382
codeparrot/github-code
997cccf047252cd6422818b3c453fb3219dcfd595cf7e49b8c7b79f8f058b5f4
#ifndef STD_HASH_HPP #define STD_HASH_HPP #include <functional> // this is largely inspired by boost's hash combine as can be found in // "The C++ Standard Library" 2nd Edition. Nicolai M. Josuttis. 2012. template <typename T> void hash_combine(std::size_t &seed, const T &val) { seed ^= std::hash<T>()(val) + 0x9...
C++
include/util/std_hash.hpp
KnockSoftware/osrm-backend
bsd-2-clause
1,018
42
codeparrot/github-code
6be4c308dd90fc5d1365ae9bf1544a70131002b1a6e36ae681563741fbbf2a8f
// 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/chromeos/file_system_provider/operations/execute_action.h" #include <algorithm> #include <string> #include "chrome/common/exten...
C++
chrome/browser/chromeos/file_system_provider/operations/execute_action.cc
Chilledheart/chromium
bsd-3-clause
2,091
65
codeparrot/github-code
0499a17eaa08a87f4294d4a2a16a6680b6839b8f2aac40b3825ced1a0e96c174
// Filename: bioStream.h // Created by: drose (25Sep02) // //////////////////////////////////////////////////////////////////// // // PANDA 3D SOFTWARE // Copyright (c) Carnegie Mellon University. All rights reserved. // // All use of this software is subject to the terms of the revised BSD // license. You should ha...
C
panda/src/downloader/bioStream.h
hj3938/panda3d
bsd-3-clause
2,727
100
codeparrot/github-code
cb567093043aa80581a5a6e1b42116c2cb46c4a255bcfd858ff26a247642feee
// Copyright 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. package org.chromium.content.browser; import android.content.Context; import android.util.Log; import android.util.SparseIntArray; import android.view.Su...
Java
content/public/android/java/src/org/chromium/content/browser/ChildProcessLauncher.java
cvsuser-chromium/chromium
bsd-3-clause
26,544
596
codeparrot/github-code
0aaddc17a11a65ecaebd2bee5b33898d7cd721b2dffe422a8b480b50f4fec567
using System; using System.Configuration; using System.DirectoryServices.AccountManagement; using System.Threading.Tasks; using Umbraco.Core.Models.Identity; namespace Umbraco.Core.Security { public class ActiveDirectoryBackOfficeUserPasswordChecker : IBackOfficeUserPasswordChecker { public virtual st...
C#
src/Umbraco.Core/Security/ActiveDirectoryBackOfficeUserPasswordChecker.cs
abryukhov/Umbraco-CMS
mit
1,535
41
codeparrot/github-code
09042cbff71320b6a23ec164f57026202472acb05b2ce048105266765c76fdcb
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Runtime.Serialization; using Newtonsoft.Json; using Umbraco.Core.Models; using Umbraco.Core.Models.Validation; using Umbraco.Web.WebApi; namespace Umbraco.Web.Models.ContentEditing { /// <summary> ...
C#
src/Umbraco.Web/Models/ContentEditing/ContentItemBasic.cs
aaronpowell/Umbraco-CMS
mit
3,536
108
codeparrot/github-code
c03b0c80dbb74d5e3f6b2f77bbcf0e8b7211f1791c48c47ea453d2b8bd7e755f
package levigo // #cgo LDFLAGS: -lleveldb // #include "leveldb/c.h" import "C" // CompressionOpt is a value for Options.SetCompression. type CompressionOpt int // Known compression arguments for Options.SetCompression. const ( NoCompression = CompressionOpt(0) SnappyCompression = CompressionOpt(1) ) // Option...
GO
options.go
influxdb/levigo
mit
7,553
230
codeparrot/github-code
fbeca2492cc36cb8ab6cc61ea3b4c119aa23d8d02d9602c475eb00bafdfbb1e1
<?php namespace Kunstmaan\AdminListBundle\AdminList\FilterType\DBAL; use DateTime; use Symfony\Component\HttpFoundation\Request; /** * DateTimeFilterType */ class DateTimeFilterType extends AbstractDBALFilterType { /** * @param Request $request The request * @param array &$data The data *...
PHP
src/Kunstmaan/AdminListBundle/AdminList/FilterType/DBAL/DateTimeFilterType.php
iBenito/KunstmaanBundlesCMS
mit
2,049
61
codeparrot/github-code
193aabe51d4627ba979291f28c8e567b65ae3558020a0474d2497b88049a4a47
// Type definitions for bufferstream v0.6.2 // Project: https://github.com/dodo/node-bufferstream // Definitions by: Bart van der Schoor <https://github.com/Bartvds> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// <reference path="../node/node.d.ts" /> declare module 'bufferstream' { import st...
TypeScript
bufferstream/bufferstream.d.ts
yuit/DefinitelyTyped
mit
3,538
120
codeparrot/github-code
43783d3859c224ac5ed6639d03a6657447ca5c2d6a8ab329cf28c63a6a034302
/** * Copyright (c) 2010-2015, openHAB.org and others. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html */ package org...
Java
bundles/binding/org.openhab.binding.ihc/src/main/java/org/openhab/binding/ihc/ws/IhcControllerService.java
rahulopengts/myhome
epl-1.0
6,258
192
codeparrot/github-code
15eb1d3cc4bcf345f50fa49b4757ab64c2a2d8759c0210dd1b0b37c6e2a68fcd
/* Copyright_License { XCSoar Glide Computer - http://www.xcsoar.org/ Copyright (C) 2000-2016 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/Driver/Volkslogger/Protocol.cpp
Exadios/XCSoar-the-library
gpl-2.0
11,013
447
codeparrot/github-code
2b1740bab4fe22aed45ee652b1049e3fe5a2fe1f8d002bdd61ddbc7f68208654
/* Copyright_License { XCSoar Glide Computer - http://www.xcsoar.org/ Copyright (C) 2000-2015 The XCSoar Project A detailed list of copyright holders can be found in the file "AUTHORS". This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License ...
C++
test/src/FakeListPicker.cpp
ahsparrow/xcsoar_orig
gpl-2.0
1,046
32
codeparrot/github-code
1c3785786537e70c32cb7ac22e8b66e1c1c189fee070e851ef6d5c3e33d0243e
/* Copyright (c) 2009, Code Aurora Forum. All rights reserved. * Copyright (C) 2010 Sony Ericsson Mobile Communications AB. * * 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 Softwar...
C
drivers/media/video/msm/msm_camera.c
nobodyAtall/nAa-kernel-ics
gpl-2.0
65,519
2,766
codeparrot/github-code
e0811c9285bbf145c7b8dd74e2525029cd2e2cccfb135548eb8f6d9f1e01ea3f
// license:BSD-3-Clause // copyright-holders:Aaron Giles /*************************************************************************** RIOT 6532 emulation The timer seems to follow these rules: - When the timer flag changes from 0 to 1 the timer continues to count down at a 1 cycle rate. - When the timer is being ...
C++
src/devices/machine/6532riot.cpp
johnparker007/mame
gpl-2.0
12,996
516
codeparrot/github-code
681d76d1c5a34e0b3260f345538c766a6e4adbd4cb76a3d4761dedb7931ddc8f
/* Unix SMB/Netbios implementation. Version 1.9. uid/user handling Copyright (C) Andrew Tridgell 1992-1998 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...
C
user/samba/source/smbd/uid.c
carlobar/uclinux_leon3_UD
gpl-2.0
10,933
424
codeparrot/github-code
af00f97024d5a2807eeae401bf1effe1c672f13a0f8186d84f173d5e7b737e2f
package net.oschina.app.ui; import java.io.File; import java.io.IOException; import java.text.SimpleDateFormat; import java.util.Date; import net.oschina.app.AppContext; import net.oschina.app.AppException; import net.oschina.app.R; import net.oschina.app.bean.FriendList; import net.oschina.app.bean.MyInfo...
Java
src/net/oschina/app/ui/UserInfo.java
ivaners/android-app
gpl-2.0
11,387
366
codeparrot/github-code
fb89d34235ca03c7b2cdecb7d2e3ba2d7627b32fe72d6ed66f83c9794508b78e
<html lang="en"> <head> <title>isdigit - Untitled</title> <meta http-equiv="Content-Type" content="text/html"> <meta name="description" content="Untitled"> <meta name="generator" content="makeinfo 4.13"> <link title="Top" rel="start" href="index.html#Top"> <link rel="up" href="Ctype.html#Ctype" title="Ctype"> <link rel...
HTML
toolchain/share/doc/arm-arm-none-eabi/html/libc/isdigit.html
byeonggonlee/lynx-ns-gb
gpl-2.0
2,436
66
codeparrot/github-code
4a723a2653439956f6f8e29b996bac99bf5c0f0f7e13ba260a7a24c9c77326c3
/* * Copyright (c) 2009 by Xuggle Incorporated. All rights reserved. * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License...
C
release/src/router/ffmpeg/libavcodec/libspeexenc.c
wkritzinger/asuswrt-merlin
gpl-2.0
6,253
179
codeparrot/github-code
0fd3936c120b5e3c0dc05aac4e4471d262cf6df1387f8bd52ca3780a0a051fcb
package com.objogate.wl.swing.driver; import javax.swing.JProgressBar; import java.awt.Component; import org.hamcrest.Description; import org.hamcrest.Matcher; import org.hamcrest.TypeSafeMatcher; import com.objogate.wl.Prober; import com.objogate.wl.swing.ComponentSelector; import com.objogate.wl.swing.gesture.Gestur...
Java
src/swing/main/com/objogate/wl/swing/driver/JProgressBarDriver.java
alienisty/windowlicker
gpl-3.0
3,570
97
codeparrot/github-code
da4c0e2ede49c351dfccf4453c7ee3fa48250bb0d8c5bdb35e819f903f073e7e
/* -*- c++ -*- */ /* * Copyright 2010-2012 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
gr-digital/include/gnuradio/digital/constellation.h
riveridea/gnuradio
gpl-3.0
22,569
621
codeparrot/github-code
41c7aab9afd95be6472a73313bda85e865d39b565965f2999efb7905885b98ae
----------------------------------- -- Area: Ordelles Caves -- NPC: Ruillont -- Involved in Mission: The Rescue Drill -- @pos -70 1 607 193 ----------------------------------- package.loaded["scripts/zones/Ordelles_Caves/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require...
Lua
scripts/zones/Ordelles_Caves/npcs/Ruillont.lua
rpetit3/darkstar
gpl-3.0
2,298
78
codeparrot/github-code
c58fffdd258fd3c04c3b97a043100eddaca85acd19b7f5ff2fa48becc407b989
/* 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/. */ use dom::bindings::cell::DOMRefCell; use dom::bindings::codegen::Bindings::ErrorEventBinding; use dom::bindings::c...
Rust
components/script/dom/errorevent.rs
rohlandm/servo
mpl-2.0
4,738
143
codeparrot/github-code
f4d18e95ce529052ea1efd75fa53dd057abe51841e2b2f965fae090a75746770
/* * ProActive Parallel Suite(TM): * The Open Source library for parallel and distributed * Workflows & Scheduling, Orchestration, Cloud Automation * and Big Data Analysis on Enterprise Grids & Clouds. * * Copyright (c) 2007 - 2017 ActiveEon * Contact: contact@activeeon.com * * This library is free software: y...
Java
rest/rest-client/src/main/java/org/ow2/proactive/scheduler/rest/ds/RemoteSource.java
tobwiens/scheduling
agpl-3.0
3,278
122
codeparrot/github-code
2d5678c96f428d51fd42f9c353842fe4f3045d047bbc032b42fbcb711dcd4942
/** src/utils.c Set of utility functions for debugging purposes Copyright (C) 2007-2009 STMicroelectronics Copyright (C) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public Licens...
C
src/utils.c
emrainey/libomxil-bellagio-staging
lgpl-2.1
4,917
211
codeparrot/github-code
44f6e1e54e35e8501a0f5d1bcede6d547eaeae43614718c015106136bf5692d6
/* Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@redhat.com>, 2002. 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 publ...
C
test/nptl/tst-mutex4.c
hjl-tools/uClibc
lgpl-2.1
3,990
191
codeparrot/github-code
f8459ec3c086b360b7536a85c5ed69c9420e62d7a167313927d4f9704abdccb2
package org.wso2.developerstudio.eclipse.gmf.esb.diagram.custom.provider; import org.eclipse.emf.common.ui.celleditor.ExtendedDialogCellEditor; import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; import org.eclipse.emf.edit.ui.provider.PropertyDescriptor; import org.eclipse.jface.viewers.CellEditor; import o...
Java
esb/plugins/org.wso2.developerstudio.eclipse.gmf.esb.diagram/src/org/wso2/developerstudio/eclipse/gmf/esb/diagram/custom/provider/FilterSourcePropertyDescriptor.java
nwnpallewela/developer-studio
apache-2.0
1,435
37
codeparrot/github-code
cc49c2c1f53317ed17bbd8553656ea7572a64d3d6c14ffed8e0b0f8fd8769333
package org.bouncycastle.crypto.tls; /** * RFC 4492 5.1.1 * <p> * The named curves defined here are those specified in SEC 2 [13]. Note that many of these curves * are also recommended in ANSI X9.62 [7] and FIPS 186-2 [11]. Values 0xFE00 through 0xFEFF are * reserved for private use. Values 0xFF01 and 0xFF02 indi...
Java
src/org/bouncycastle/crypto/tls/NamedCurve.java
thedrummeraki/Aki-SSL
apache-2.0
2,521
72
codeparrot/github-code
19a2352e6eb6e2473c41d60d045c10b35a13efa63aa284cf06d6d2bdf479d31d
/* * #%L * ACS AEM Commons Twitter Support Bundle * %% * Copyright (C) 2013 - 2014 Adobe * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/...
Java
bundle-twitter/src/main/java/com/adobe/acs/commons/twitter/impl/TwitterFeedScheduler.java
steffenrosi/acs-aem-commons
apache-2.0
2,833
80
codeparrot/github-code
9f49928c7eaf8768b45cfd131bb0bf69edd92f7c44388f1ce3d82ccc189b6640
/* * 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
eagle-core/eagle-query/eagle-storage-base/src/test/java/org/apache/eagle/storage/operation/TestRowkeyQueryStatement.java
baibaichen/eagle
apache-2.0
2,418
53
codeparrot/github-code
650edb05f89818cf628f8655e95c7dcae9102e23c246f52428028d71af64b6d4
/* CryptoJS v3.1.2 code.google.com/p/crypto-js (c) 2009-2013 by Jeff Mott. All rights reserved. code.google.com/p/crypto-js/wiki/License */ var CryptoJS=CryptoJS||function(s,l){var e={},n=e.lib={},p=function(){},b=n.Base={extend:function(c){p.prototype=this;var a=new p;c&&a.mixIn(c);a.hasOwnProperty("init")||(a.i...
JavaScript
static/scripts/libs/cryptojs/rollups/rc4.js
quenlang/NetopGO
apache-2.0
12,159
34
codeparrot/github-code
09226c622aa65f917834cd28dfbaa9f04903ebf7ab7d22c7cae7b4317dd61c2e
#include <winpr/crt.h> #include <winpr/error.h> #include <winpr/wtsapi.h> int TestWtsApiExtraDynamicVirtualChannel(int argc, char* argv[]) { BOOL bSuccess; ULONG length; ULONG bytesRead; ULONG bytesWritten; BYTE buffer[1024]; HANDLE hVirtualChannel; length = sizeof(buffer); hVirtualChannel = WTSVirtualChann...
C
winpr/libwinpr/wtsapi/test/TestWtsApiExtraDynamicVirtualChannel.c
xproax/FreeRDP
apache-2.0
1,211
55
codeparrot/github-code
ac4676ed85f3979cbcfffca742ba09b71c37e332000a7d9f36e01eeedb5737ba
/* Copyright 2017 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
C++
tensorflow/compiler/xla/reference_util.cc
karllessard/tensorflow
apache-2.0
27,741
679
codeparrot/github-code
34cffa3f6ce261c20cacff73ae5e46e1b4015297436498cb58965f8fb8f5dad2
/*========================================================================= * * Copyright Insight Software Consortium * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * h...
C
Modules/Numerics/NeuralNetworks/include/itkGaussianTransferFunction.h
biotrump/ITK
apache-2.0
2,219
72
codeparrot/github-code
93e232a0e140e103e5bb2e51eeb01b4352a7bba3c7f006f4d8bf98ab559d99c5
<?php final class DiffusionSubversionCommandEngine extends DiffusionCommandEngine { protected function canBuildForRepository( PhabricatorRepository $repository) { return $repository->isSVN(); } protected function newFormattedCommand($pattern, array $argv) { $flags = array(); $args = array(); ...
PHP
src/applications/diffusion/protocol/DiffusionSubversionCommandEngine.php
freebsd/phabricator
apache-2.0
1,221
53
codeparrot/github-code
a3189b24e4c977d9f38d989e7da1fc21c1524f48025772fdda1df23de47f63f2
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
Java
proton-j/src/test/java/org/apache/qpid/proton/engine/impl/TransportOutputAdaptorTest.java
datawire/qpid-proton
apache-2.0
5,474
154
codeparrot/github-code
40ad0f3c6149af7abff9adbc7d39d4041f4b8dfae5eae5bd91faede105969f43
/** * Copyright The Apache Software Foundation * * 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 Li...
Java
hbase-server/src/test/java/org/apache/hadoop/hbase/io/hfile/bucket/TestBucketWriterThread.java
juwi/hbase
apache-2.0
6,724
179
codeparrot/github-code
19487d5ba80febc1786d41b7ba3999840e6e8edaf1bb11a8e4a520e8d1898ce7
/* * Copyright 2012-2020 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
Java
spring-boot-project/spring-boot/src/test/java/org/springframework/boot/jdbc/metadata/CompositeDataSourcePoolMetadataProviderTests.java
shakuzen/spring-boot
apache-2.0
2,293
77
codeparrot/github-code
6ea63f34e9045ad8cecbfeb0035944e407a626212c0222bef0c6457b3d611d4d
// Author: mszal@google.com (Michael Szal) package com.google.libwebm.mkvmuxer; import com.google.libwebm.Common; public class Segment extends Common { public enum Mode { None, kLive, kFile }; public static final long kDefaultMaxClusterDuration = 30000000000L; public Segment() { nativePoin...
Java
src/plugins/jitsivideobridge/src/java/com/google/libwebm/mkvmuxer/Segment.java
wudingli/openfire
apache-2.0
5,592
173
codeparrot/github-code
f33e1632494700984392c6ccc519f57ddcfa26149fb88efd44d467a1672757b4
//===-- AMDGPUISelLowering.h - AMDGPU Lowering Interface --------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
C
third_party/webrtc/include/chromium/src/third_party/mesa/src/src/gallium/drivers/radeon/AMDGPUISelLowering.h
ssaroha/node-webrtc
bsd-2-clause
4,896
143
codeparrot/github-code
dba678fa69b1aed33c74a378b4ff1ecc60b6cd327a68be2431c5c061114c0a2e
/* Definitions of target machine for GCC for IA-32. Copyright (C) 1988-2013 Free Software Foundation, Inc. This file is part of GCC. GCC 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 (a...
C
src/sys/gcc-4.8.0/gcc/config/i386/i386.h
wilseypa/llamaOS
bsd-2-clause
93,374
2,427
codeparrot/github-code
12156e5caf9e3b0abcbf7f5ed7f7dc856da426bd676ad0e7c64ab0d79344118a
/** * Usage for accepting signatures: * $('.sigPad').signaturePad() * * Usage for displaying previous signatures: * $('.sigPad').signaturePad({displayOnly:true}).regenerate(sig) * or * var api = $('.sigPad').signaturePad({displayOnly:true}) * api.regenerate(sig) */ (function ($) { function SignaturePad (...
JavaScript
yii-dressing/assets/signature-pad/jquery.signaturepad.js
cornernote/yii-dressing
bsd-3-clause
25,256
892
codeparrot/github-code
5672d4903b1c981481ef17c73da92e1f380632b11554665f1db82cfda730f555
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_FEEDBACK_SYSTEM_LOGS_LOG_SOURCES_CHROME_INTERNAL_LOG_SOURCE_H_ #define CHROME_BROWSER_FEEDBACK_SYSTEM_LOGS_LOG_SOURCES_CHROME_INTER...
C
chrome/browser/feedback/system_logs/log_sources/chrome_internal_log_source.h
axinging/chromium-crosswalk
bsd-3-clause
1,226
37
codeparrot/github-code
e9af3d70c297281e41210fdff30deff7d4bac1246097c2b51da4b93263182d1e
// Copyright 2013 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package runtime import ( "runtime/internal/sys" "unsafe" ) type sigctxt struct { info *siginfo ctxt unsafe.Pointer } func (c *sigctxt) regs() *sigcontext...
GO
src/runtime/signal_linux_arm.go
ganboing/go-esx
bsd-3-clause
2,199
52
codeparrot/github-code
d2fb9a2f5ceb3b188fed435a8c42fc11366d6b645cb53b19b0808cb105ed110e
// // PodcastEpisodePage.cs // // Author: // Gabriel Burt <gburt@novell.com> // // Copyright (C) 2008 Novell, Inc. // // 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#
src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/PodcastEpisodePage.cs
mono-soc-2011/banshee
mit
3,948
125
codeparrot/github-code
984362767c300f8177797bdc30c9f1385821569264cf89b0b6f23be848e423fc
angular.module('examples', []) .factory('formPostData', ['$document', function($document) { return function(url, fields) { var form = angular.element('<form style="display: none;" method="post" action="' + url + '" target="_blank"></form>'); angular.forEach(fields, function(value, name) { var input = a...
JavaScript
docs/app/src/examples.js
niluka2a/angular.js
mit
2,355
72
codeparrot/github-code
22a7da508bbd6c63dc5b50919fb58b7f693ee29023843ff988a8cce68bf2f762
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Nonterminals</title> <link rel="stylesheet" href="../../../../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> <link rel="home" href="../../../index.html" title="...
HTML
src/deps/boost/libs/spirit/doc/html/spirit/karma/quick_reference/non_terminals.html
mxrrow/zaicoin
mit
17,235
340
codeparrot/github-code
c007194c39a77834c3df5ea51aa01a2e675aa8e40da6c0bce136409434cf56e4
import * as amqp from "amqplib"; import * as amqpConMgr from 'amqp-connection-manager'; // from README.md const connection = amqpConMgr.connect(['amqp://localhost']); const channelWrapper: amqpConMgr.ChannelWrapper = connection.createChannel({ json: true, setup: async (channel: amqp.ConfirmChannel): Promise<vo...
TypeScript
types/amqp-connection-manager/amqp-connection-manager-tests.ts
dsebastien/DefinitelyTyped
mit
1,888
69
codeparrot/github-code
555c8508b6c79ba35d6f45993238f1c944934182ee554895784d1af35a9398ea
<?php defined('C5_EXECUTE') or die("Access Denied."); ?> <?php $f = Loader::helper('form'); ?> <?php $co = Loader::helper('lists/countries'); ?> <div class="ccm-attribute-address-composer-wrapper ccm-attribute-address-<?php echo $key->getAttributeKeyID()?>"> <div class="control-group"> <?php echo $f->label($t...
PHP
concrete5/concrete/models/attribute/types/address/composer.php
win-k/CMSTV
mit
2,794
89
codeparrot/github-code
e15187625aded343546f9c64798784ba80cc89ce2a7926c6c70d932a1f119867
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. /*** *makepath.c - create path name from components * * *Purpose: * To provide support for creation of full pa...
C++
src/utilcode/makepath.cpp
poizan42/coreclr
mit
6,015
222
codeparrot/github-code
c6d7a570acda8783e8c51fc01297ba915b3eabe273684708fd3c57ad7ed15f96
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #ifndef __REGDISP_H #define __REGDISP_H #ifdef DEBUG_REGDISPLAY class Thread; struct REGDISPLAY; void CheckRegDisp...
C
src/inc/regdisp.h
poizan42/coreclr
mit
16,908
559
codeparrot/github-code
65c7f7999bb9959c538b39ddab1ff91e95c2b13557a3713b6dab40d26c13e060
#include <linux/types.h> #include <linux/errno.h> #include <linux/kmod.h> #include <linux/sched.h> #include <linux/interrupt.h> #include <linux/tty.h> #include <linux/tty_driver.h> #include <linux/file.h> #include <linux/mm.h> #include <linux/string.h> #include <linux/slab.h> #include <linux/poll.h> #include <linux/pro...
C
drivers/tty/tty_ldisc.c
prototype-U/prototype-kernel-dx
gpl-2.0
13,133
652
codeparrot/github-code
fa28255c98a978cad3126a96ffd3e361a6a55942306224054b301129db7516b5
/* * * BlueZ - Bluetooth protocol stack for Linux * * Copyright (C) 2000-2002 Maxim Krasnyansky <maxk@qualcomm.com> * Copyright (C) 2003-2007 Marcel Holtmann <marcel@holtmann.org> * * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public Li...
C
parser/parser.c
rowboat/external-bluetooth-hcidump
gpl-2.0
7,393
347
codeparrot/github-code
0502e3a429663194039e4e88ce56524b344fcc6ea7461bb22cd583e2cd76a862
/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/ /*** This file is part of systemd. Copyright 2013 Lennart Poettering systemd 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/libsystemd/sd-bus/bus-convenience.c
shaded-enmity/systemd
gpl-2.0
16,892
533
codeparrot/github-code
d922cacedc72661850615169f73e10c8ce96bdea0746c36c98efa8c9be003b1a
#ifndef _LINUX_SWAPOPS_H #define _LINUX_SWAPOPS_H #include <linux/radix-tree.h> #include <linux/bug.h> /* * swapcache pages are stored in the swapper_space radix tree. We want to * get good packing density in that tree, so the index should be dense in * the low-order bits. * * We arrange the `type' and `offset'...
C
include/linux/swapops.h
animalcreek/linux
gpl-2.0
9,028
371
codeparrot/github-code
efe683cdf4b81e9be42e8222c28b10c09a6111f5da64cf682697de6e0e6dcbd1
# MSM CPU/CODEC DAI Support snd-soc-msm-dai-objs := msm-dai.o obj-$(CONFIG_SND_MSM_DAI_SOC) += snd-soc-msm-dai.o snd-soc-msm7kv2-dai-objs := msm7kv2-dai.o obj-$(CONFIG_SND_MSM7KV2_DAI_SOC) += snd-soc-msm7kv2-dai.o # MSM Platform Support snd-soc-msm-objs := msm-pcm.o msm7k-pcm.o obj-$(CONFIG_SND_MSM_SOC) += snd-soc-ms...
Makefile
sound/soc/msm/Makefile
TeamApexQ/android_kernel_samsung_d2
gpl-2.0
3,715
116
codeparrot/github-code
d8608a41973fe9eac8b906f4e4d500d2cb460853442fee6c07e8da8f57c686b0
/* * 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. * * This program is distributed in the hope that it will be use...
C
drivers/usb/serial/mos7840.c
JonnyH/pandora-kernel
gpl-2.0
78,274
2,783
codeparrot/github-code
0a424cad2fecb84ae5a6bf0e101a65bfaf1dd195491304f558e1f9155e76d80b
<?php /** * Zend Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://framework.zend.com/license/new-bsd * If you did not receive a copy of the license a...
PHP
wp-content/plugins/zend-framework/Zend/Session/Abstract.php
MehdyOueriemi/Relais
gpl-2.0
6,044
186
codeparrot/github-code
7e47fe87166d7ef8b176cc7499f1d14a39ccafd70c81318d14b34a89b4c9e214
# -*- test-case-name: twisted.pb.test.test_promise -*- from twisted.python import util, failure from twisted.internet import defer id = util.unsignedID EVENTUAL, FULFILLED, BROKEN = range(3) class Promise: """I am a promise of a future result. I am a lot like a Deferred, except that my promised result is us...
Python
twisted/pb/promise.py
tquilian/exelearningTest
gpl-2.0
3,532
100
codeparrot/github-code
3aa8cab043a5a9e05d999e026a3ac391bc310f7cf814efea92d2034b8b78251f
/* * QLogic Fibre Channel HBA Driver * Copyright (c) 2003-2014 QLogic Corporation * * See LICENSE.qla2xxx for copyright and licensing details. */ #include "qla_def.h" #include "qla_gbl.h" #include "qla_target.h" #include <linux/moduleparam.h> #include <linux/vmalloc.h> #include <linux/slab.h> #include <linux/lis...
C
drivers/scsi/qla2xxx/qla_mid.c
Pingmin/linux
gpl-2.0
25,888
993
codeparrot/github-code
68534be62e44f824b24490a122434f955febd6338b9320e7b0b380dc588ede9a
local inspect ={ _VERSION = 'inspect.lua 3.0.2', _URL = 'http://github.com/kikito/inspect.lua', _DESCRIPTION = 'human-readable representations of tables', _LICENSE = [[ MIT LICENSE Copyright (c) 2013 Enrique García Cota Permission is hereby granted, free of charge, to any person obtaining a ...
Lua
soup-kitchen/library/inspect.lua
sirnuke/soup-kitchen-love
gpl-2.0
9,256
332
codeparrot/github-code
f6cfc9fa7e379b6004ae4d2f58aef4705a42b5e39eb635f457354dc9fe60e4e6
/* * Common LSM logging functions * Heavily borrowed from selinux/avc.h * * Author : Etienne BASSET <etienne.basset@ensta.org> * * All credits to : Stephen Smalley, <sds@tycho.nsa.gov> * All BUGS to : Etienne BASSET <etienne.basset@ensta.org> */ #ifndef _LSM_COMMON_LOGGING_ #define _LSM_COMMON_LOGGING_ #incl...
C
include/linux/lsm_audit.h
animalcreek/linux
gpl-2.0
2,753
124
codeparrot/github-code
2ff2a5918696a4563e5ad91ec4c361b581c1cc440f331ddc596bce1578772105
<?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
backup/util/dbops/restore_controller_dbops.class.php
evltuma/moodle
gpl-3.0
14,181
302
codeparrot/github-code
c7ac62febfe4ba355b4161dd0fdf9ee95bbb3c7f78025e0eaab72e395277defc
/* * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org> * * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. */ #include <dirent.h> #include <errno.h> #define __need_NULL #include <stddef.h> #include "dirstream.h" #ifndef __READDIR # define __READDIR readdir # define __DIRENT_TYPE ...
C
libc/misc/dirent/readdir.c
czankel/xtensa-uclibc
lgpl-2.1
1,317
63
codeparrot/github-code
99ca1bbf2878b58e45fba901e9b3b927581c71b04ff9c3291b42da88b5325ff8
/* * Copyright 2013 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
Java
src/com/google/gwt/inject/client/multibindings/SimpleMultimap.java
mehdikwa/google-gin
apache-2.0
1,365
46
codeparrot/github-code
283d2b192353c159dd74b0351d30f35f6d1010f5fdcefa37c7c6ee73b8918cdb
/**************************************************************** * @nolint * The author of this software is David M. Gay. * * Copyright (c) 1991, 2000, 2001 by Lucent Technologies. * * Permission to use, copy, modify, and distribute this software for any * purpose without fee is hereby granted, provided that th...
C
ext/libphenom/corelib/dtoa.c
jpeach/zfsd
apache-2.0
96,911
4,381
codeparrot/github-code
821d990d05c721194cb7617a60fa2d5a8004cec4fdd00f257c7ee3720909ce78
<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"> <style> .KEYW {color: #933;} .COMM {color: #bbb; font-style: italic;} .NUMB {color: #393;} .STRN {color: #393;} .REGX {color: #339;} .line {border-right: 1px dotted #666; color: #666; font-style: normal;} </style></head><body><pre><s...
HTML
doc/0.9.8/guacamole-common-js/symbols/src/src_main_webapp_modules_StringWriter.js.html
mike-jumper/incubator-guacamole-website
apache-2.0
29,622
214
codeparrot/github-code