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
41b980192632801e0eb1a13bb3e23b9f2f6ad9d0c77fd06d7fec5b7658e084b9
/* Copyright 2019 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
Java
tensorflow/java/src/main/java/org/tensorflow/AbstractOperation.java
gunan/tensorflow
apache-2.0
2,874
88
codeparrot/github-code
65280242edb13938e214fb1a46b44740b991321861c1e0d64717248c1adf3dc0
/* * 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
sdks/java/core/src/main/java/org/apache/beam/sdk/util/BucketingFunction.java
amarouni/incubator-beam
apache-2.0
4,168
154
codeparrot/github-code
4a705eaa230b5db0116f9dc1c34adda0bb2f863cbe49e6646c3f96e95a61909f
/* * Copyright 2010-2015 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
Java
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/transform/DescribeVolumeStatusResultStaxUnmarshaller.java
mahaliachante/aws-sdk-java
apache-2.0
2,769
68
codeparrot/github-code
707dbf41aeb1b1715395d1af8a830d65fd9c8905687db2f95e623a89dfa1c586
/* * Copyright 2010-2015 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
Java
aws-java-sdk-elasticloadbalancing/src/main/java/com/amazonaws/services/elasticloadbalancing/model/transform/SetLoadBalancerPoliciesForBackendServerRequestMarshaller.java
mahaliachante/aws-sdk-java
apache-2.0
3,102
69
codeparrot/github-code
1a31cb741281088834868484b9ffcf1406897dcc541ebe928478752c91bb3488
# This file is dual licensed under the terms of the Apache License, Version # 2.0, and the BSD License. See the LICENSE file in the root of this repository # for complete details. from __future__ import absolute_import, division, print_function from collections import namedtuple from cryptography import utils from c...
Python
workspace/lib/python2.7/site-packages/cryptography/hazmat/backends/commoncrypto/backend.py
ARMmbed/yotta_osx_installer
apache-2.0
8,577
246
codeparrot/github-code
ff0aa701fddfb09752ea577f34121bb965c88b2a56c1649c8a59e731070b8ff3
/* * Copyright 2010-2015 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
Java
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/RouteOrigin.java
mahaliachante/aws-sdk-java
apache-2.0
1,816
59
codeparrot/github-code
583fea8096d7d9e4480fa53f7bab8bd9a240135a17a6f501a3d15059c319e01a
/* * 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/ast/DynamicVariable.java
antoaravinth/incubator-groovy
apache-2.0
2,090
77
codeparrot/github-code
baa8b554174a12600f11273eaa94fb219148c4806ee57bdebc288bc28cbcf3af
/** * 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
components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/FtpEndpoint.java
grgrzybek/camel
apache-2.0
8,541
235
codeparrot/github-code
02af6028188cc32fdd08dc3223ff56f7f889c071f1d7d2f59b1dfad9e4f0362d
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_S390X_COMPAT_H #define _ASM_S390X_COMPAT_H /* * Architecture specific compatibility types */ #include <linux/types.h> #include <linux/sched.h> #include <linux/sched/task_stack.h> #include <linux/thread_info.h> #define compat_mode_t compat_mode_t typedef u16 compat...
C
arch/s390/include/asm/compat.h
rperier/linux
gpl-2.0
5,333
239
codeparrot/github-code
c59f0cd4acdeb674f80a3e86880ca2b8666f71db90da8428664faa9981df76ab
/** * @author alteredq / http://alteredqualia.com/ * @author mrdoob / http://mrdoob.com/ * @author WestLangley / http://github.com/WestLangley */ THREE.DirectionalLightHelper = function ( light, size ) { THREE.Object3D.call( this ); this.light = light; this.light.updateMatrixWorld(); this.matrixWorld = ligh...
JavaScript
three/src/extras/helpers/DirectionalLightHelper.js
lyaunzbe/jessy
mit
2,020
72
codeparrot/github-code
2fc8a1179aa297a07a3b75d849da7e0715fc8e4e18a88080c02768354fed0475
// 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. namespace System.Drawing.Printing { /// <summary> /// Provides data for the <see cref='PrintDocument.PrintPa...
C#
src/System.Drawing.Common/src/System/Drawing/Printing/PrintPageEventArgs.Windows.cs
shimingsg/corefx
mit
3,225
112
codeparrot/github-code
58eba54cd9b314ca02ecd654f0cc092a4dab1bd66e45262da3f8fd2132d16fd9
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * acpi_bus.h - ACPI Bus Driver ($Revision: 22 $) * * Copyright (C) 2001, 2002 Andy Grover <andrew.grover@intel.com> * Copyright (C) 2001, 2002 Paul Diefenbaugh <paul.s.diefenbaugh@intel.com> */ #ifndef __ACPI_BUS_H__ #define __ACPI_BUS_H__ #include <linux/dev...
C
include/acpi/acpi_bus.h
c0d3z3r0/linux-rockchip
gpl-2.0
19,445
700
codeparrot/github-code
7eb4afd8368fcfa44e5e26f1baf3534b2cbcb073b57f2fcd6ffc209ab589c2f8
import os import platform import sys from logging.handlers import SysLogHandler LOG_LEVELS = ['DEBUG', 'INFO', 'WARNING', 'ERROR', 'CRITICAL'] def get_logger_config(log_dir, logging_env="no_env", tracking_filename="tracking.log", edx_filename="edx.log...
Python
common/lib/logsettings.py
yokose-ks/edx-platform
agpl-3.0
5,212
146
codeparrot/github-code
c664ef6e9c2bdad1490f0f7fd13dfc57a4cdd7397c9981e224d064edef415cdc
<?php /** * List Table API: WP_MS_Themes_List_Table class * * @package WordPress * @subpackage Administration * @since 3.1.0 */ /** * Core class used to implement displaying themes in a list table for the network admin. * * @since 3.1.0 * @access private * * @see WP_List_Table */ class WP_MS_Themes_List_T...
PHP
wp-core/5.1.1/wp-admin/includes/class-wp-ms-themes-list-table.php
drthomas21/WordPress_Tutorial
apache-2.0
20,538
764
codeparrot/github-code
e5eca368d8f7f17382d9c27209859bbee4f889d7752cc4837c3528b926d7d5eb
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
Scala
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/logical/statsEstimation/BasicStatsPlanVisitor.scala
pgandhi999/spark
apache-2.0
2,805
76
codeparrot/github-code
995147acd5d0dfee90133be65630ec68e91286cc3f5864bfcf8dfa6e8c281f93
// Copyright (C) 2009 The Android Open Source Project // // 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 ...
Java
gerrit-httpd/src/main/java/com/google/gerrit/httpd/rpc/RpcServletModule.java
hdost/gerrit
apache-2.0
1,805
51
codeparrot/github-code
fc25d23ad8610734384888669ad8b1b458f8d73c1efdd68c8662062a720008ca
/* * Copyright 2002-2014 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
Java
test/src/main/java/org/springframework/security/test/context/support/WithUserDetailsSecurityContextFactory.java
panchenko/spring-security
apache-2.0
2,223
57
codeparrot/github-code
d0ab9b0efb93b5bd1915319331a02369958bce368f1234076b697b407473a519
/* DynamicImpHandler.java -- Copyright (C) 2005 Free Software Foundation, Inc. This file is part of GNU Classpath. GNU Classpath 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 o...
Java
tools/source/gcc-4.2.4/libjava/classpath/gnu/CORBA/Poa/DynamicImpHandler.java
shaotuanchen/sunflower_exp
bsd-3-clause
3,072
85
codeparrot/github-code
b0bb2f997b27ed1019f6ab6a05552d965396cbc13a4e7c4ff71846fdbaa8b8d9
/* ClassPrepareEvent.java -- An event specifying that a class has been prepared by the virtual machine Copyright (C) 2005 Free Software Foundation This file is part of GNU Classpath. GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as pub...
Java
tools/source/gcc-4.2.4/libjava/classpath/gnu/classpath/jdwp/event/ClassPrepareEvent.java
shaotuanchen/sunflower_exp
bsd-3-clause
4,624
148
codeparrot/github-code
099d66e8520373a02079c59691ab737bfcec5540c34bca292a4a0721687caf9b
/** * Copyright (c) 2014-2015 openHAB UG (haftungsbeschraenkt) and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v1...
Java
bundles/core/org.eclipse.smarthome.core/src/main/java/org/eclipse/smarthome/core/library/items/DateTimeItem.java
ibaton/smarthome
epl-1.0
2,055
61
codeparrot/github-code
71794155182ae29c90da7452ddaee44649e6465c7cac71f416230bd620e05ffb
/* * 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
test/unit/org/apache/cassandra/cql3/validation/entities/udfverify/UseOfSynchronizedWithWaitLI.java
belliottsmith/cassandra
apache-2.0
2,059
60
codeparrot/github-code
98334a16d063ad8f93f7d4729a96eb1ed59897aedd327b0d11eabfc2efc90fd5
// Copyright (C) 2012 Vicente J. Botet Escriba // // 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) // <boost/thread/locks.hpp> // template <class Mutex> class unique_lock; // unique_lock<Mutex> make_unique_lock(M...
C++
venv/bin/libs/thread/test/sync/mutual_exclusion/locks/unique_lock/cons/make_unique_lock_try_to_lock_pass.cpp
NixaSoftware/CVis
apache-2.0
3,754
136
codeparrot/github-code
8e4497eaa3fe5eb3c256acf8abac71b47ce370e45d94d1e5fc1cb4d4784f173c
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html lang="en"> <head> <title>Apache License, Version 2.0</title> <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <meta property="og:image" content="http://www.apache.org/images/asf_logo.gif" /> <link rel="stylesheet...
HTML
annis-widgets/THIRD-PARTY/licenses/apache license, version 2.0 - license-2.0.html
zangsir/ANNIS
apache-2.0
34,696
442
codeparrot/github-code
ff54c1ce92e02f4f60230937685bd4be75f743dce5ed7238281f2a5b99e4fb3f
/* * libjingle * Copyright 2013, Google Inc. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * this list of conditions and the f...
Java
webrtc/src/main/java/org/webrtc/MediaConstraints.java
actorapp/droidkit-webrtc
bsd-3-clause
2,814
86
codeparrot/github-code
70eeccc9edf108b68fe598f7fbfac5fcea89d0a3cdae10bb99d7799ebe2b1a9e
// { dg-require-namedlocale "ta_IN" } // 2004-08-25 Paolo Carlini <pcarlini@suse.de> // Copyright (C) 2004, 2005, 2006, 2009, 2010 Free Software Foundation // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the // terms of the GNU Ge...
C++
uefi/gcc/gcc-4.6.3/libstdc++-v3/testsuite/22_locale/time_put/put/char/17038.cc
SanDisk-Open-Source/SSD_Dashboard
gpl-2.0
1,805
65
codeparrot/github-code
d8a61c642bc613a8b23cae38d5feed93a0ac945b91c2afe4fd7dad15d1475ea8
/* * raw.c - Raw sockets for protocol family CAN * * Copyright (c) 2002-2007 Volkswagen Group Electronic Research * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of...
C
net/can/raw.c
freak07/Kirisakura_Pixel
gpl-2.0
18,932
829
codeparrot/github-code
b2aaf78e00a75672e51839b74927e1c577dd2d6ccbe1e116a126933e904cc369
/* net/tipc/udp_media.c: IP bearer support for TIPC * * Copyright (c) 2015, Ericsson AB * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain th...
C
net/tipc/udp_media.c
jarodwilson/linux-muck
gpl-2.0
20,061
794
codeparrot/github-code
6dc705e82931e8cf6c95bd87a435e82a8151f275cf55f742b708951a97e08222
/* ScummVM - Graphic Adventure Engine * * ScummVM is the legal property of its developers, whose names * are too numerous to list here. Please refer to the COPYRIGHT * file distributed with this source distribution. * * This program is free software; you can redistribute it and/or * modify it under the terms of ...
C++
engines/prince/variatxt.cpp
jammm/scummvm
gpl-2.0
1,586
56
codeparrot/github-code
6eebf2b43f634f4268cb982429a70381ba991b0ca79bea3cb118f8a985be01d1
// SPDX-License-Identifier: GPL-2.0 /* * Copyright (c) 2013-2014, The Linux Foundation. All rights reserved. */ #include <linux/export.h> #include <linux/module.h> #include <linux/regmap.h> #include <linux/platform_device.h> #include <linux/clk-provider.h> #include <linux/reset-controller.h> #include <linux/of.h> #...
C
linux-4.19/drivers/clk/qcom/common.c
BPI-SINOVOIP/BPI-Mainline-kernel
gpl-2.0
6,632
284
codeparrot/github-code
f51e165f841f01efbb908c3230979b646e3d3677caef253c373ffb1a3106d9eb
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License * 2.0 and the Server Side Public License, v 1; you may not use this file except * in compliance with, at your election, the Elastic License 2.0 or the Server...
Java
server/src/test/java/org/elasticsearch/index/suggest/stats/CompletionsStatsTests.java
GlenRSmith/elasticsearch
apache-2.0
1,435
33
codeparrot/github-code
746c58d869f5815bbeb982a8944866a1c14fd0c1393fedc9e2b5be55dc6db06c
// 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. // DWARF type information structures. // The format is heavily biased toward C, but for simplicity // the String methods use a pseudo-Go syntax. package dwarf ...
GO
src/debug/dwarf/type.go
mwhudson/go
bsd-3-clause
17,755
727
codeparrot/github-code
7fae2727b287a5059a9081341737c4572727662c5bc9d419d7bcfbd4849e4bdc
// 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.android_webview; import android.content.pm.ActivityInfo; import android.graphics.Bitmap; import android.graphics.Picture; import and...
Java
external/chromium_org/android_webview/java/src/org/chromium/android_webview/AwContentsClient.java
s20121035/rk3288_android5.1_repo
gpl-3.0
8,483
218
codeparrot/github-code
d59c8dfa38ad25a67492dbafad67c0905c1cddc71e7c87844954ffcf16ad6426
from statsmodels.regression.linear_model import GLS gls = GLS.from_formula from statsmodels.regression.linear_model import WLS wls = WLS.from_formula from statsmodels.regression.linear_model import OLS ols = OLS.from_formula from statsmodels.regression.linear_model import GLSAR glsar = GLSAR.from_formula from statsmode...
Python
statsmodels/formula/api.py
hlin117/statsmodels
bsd-3-clause
1,392
34
codeparrot/github-code
055065cf00109de911f5ae1adf506bc9db01caf41f06d87cf6854f8ef2ad2eb5
/****************************************************************************** * * Name: actbl3.h - ACPI Table Definitions * *****************************************************************************/ /* * Copyright (C) 2000 - 2015, Intel Corp. * All rights reserved. * * Redistribution and use in source an...
C
virt/include/acpi/actbl3.h
AiJiaZone/linux-4.0
gpl-2.0
19,526
763
codeparrot/github-code
be3d7200f3c1548fdc8813691a2f30688c227b5bd30c86c8bbc76da0d763b18b
// 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. using System.Buffers; using System.Buffers.Text; using System.Diagnostics; namespace System.Text.Json { public...
C#
src/System.Text.Json/src/System/Text/Json/Writer/Utf8JsonWriter.WriteValues.Decimal.cs
shimingsg/corefx
mit
3,203
95
codeparrot/github-code
abb4fd0d6fc92675ee9bf0e65d90e885c1ddfcf454547f6c7d85182e372a7b18
<?php /** *## TbLabel class file. * * @author Christoffer Niska <ChristofferNiska@gmail.com> * @copyright Copyright &copy; Christoffer Niska 2011- * @license [New BSD License](http://www.opensource.org/licenses/bsd-license.php) */ Yii::import('booster.widgets.TbWidget'); /** *## Bootstrap label widget. * * @s...
PHP
yogurt/protected/extensions/booster/widgets/TbLabel.php
DeadLockMk1/Yogurt
gpl-2.0
1,490
70
codeparrot/github-code
30c109ce5e8b283feb329da8c7c3527285474adcb11dc6249594d24dca0dd653
/* Copyright (c) 2010-2012, Code Aurora Forum. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the ho...
C
drivers/video/msm/vidc/1080p/ddl/vcd_ddl_shared_mem.h
juston-li/mako
gpl-2.0
7,878
197
codeparrot/github-code
a82a5bdbf22f9b2cb0a81f1b99353eaf129b89c33550823b3c49401efc7d29d2
/***************************************************************************** * packetizer_helper.h: Packetizer helpers ***************************************************************************** * Copyright (C) 2009 Laurent Aimar * $Id$ * * Authors: Laurent Aimar <fenrir _AT_ videolan _DOT_ org> * * This pr...
C
vlc/modules/packetizer/packetizer_helper.h
DDTChen/CookieVLC
gpl-2.0
7,827
238
codeparrot/github-code
355411585bb990f4da374cfab1109e26c7b7e6c0c40a6f952026dac101b0ed19
/* Copyright (c) 2010, 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 hope th...
C
drivers/video/msm/vidc/common/enc/venc.c
vishal-android-freak/Super_Fusion
gpl-2.0
39,604
1,547
codeparrot/github-code
d8a57ea5860379577ce0ba99f10f7a8b03b2532df55f67ead5f06a4569ddd679
/* Copyright (c) 2003-2004 CrystalClear Software, Inc. * Subject to the Boost Software License, Version 1.0. * (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt) * Author: Jeff Garland, Bart Garst * $Date$ */ #include "boost/date_time/gregorian/gregorian.hpp" //#include "boost/date_...
C++
thirdparty/sources/boost_1_60_0/libs/date_time/test/local_time/testwposix_time_zone.cpp
gwq5210/litlib
gpl-3.0
10,259
225
codeparrot/github-code
aca4721d5b4dba75ca5d5c060fed4c9e7fd96c0597781cb251b0cb5ce14db060
/* * Copyright (C) 2007-2010 The Nouveau Project. * 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, including * without limitation the right...
C
utils/Mesa/Mesa-7.8.2/src/mesa/drivers/dri/nouveau/nv04_surface.c
CPFDSoftware-Tony/gmv
gpl-3.0
17,105
598
codeparrot/github-code
9c0a0092e69b90c3ee76f144dfd108d27514a7074bbcc87c9770a7202d4d855b
# Copyright (c) 2011 X.commerce, a business unit of eBay 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 req...
Python
nova/api/openstack/compute/floating_ip_pools.py
scripnichenko/nova
apache-2.0
2,196
70
codeparrot/github-code
4a8b76f826b2af51adc2b496cfe7d90a46889ed1d05d0452900a15996c523bf8
// 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 "remoting/host/fake_desktop_capturer.h" #include "base/bind.h" #include "base/logging.h" #include "base/memory/ref_counted.h" #include "base/tim...
C++
remoting/host/fake_desktop_capturer.cc
sencha/chromium-spacewalk
bsd-3-clause
4,914
152
codeparrot/github-code
8ccdf333ec0dc31ad8228ad391474c4d492227bacb0c1460c1ecfe4a5874437b
// 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_EXTENSIONS_CHROME_NOTIFICATION_OBSERVER_H_ #define CHROME_BROWSER_EXTENSIONS_CHROME_NOTIFICATION_OBSERVER_H_ #include "base/basict...
C
chrome/browser/extensions/chrome_notification_observer.h
Jonekee/chromium.src
bsd-3-clause
1,339
45
codeparrot/github-code
ef3ac1018bc4174751c8b9ae4c273f2b2c2b1162d6456f1b83b95daab63e1c60
// SPDX-License-Identifier: GPL-2.0-only /* * LED Class Core * * Copyright 2005-2006 Openedhand Ltd. * * Author: Richard Purdie <rpurdie@openedhand.com> */ #include <linux/kernel.h> #include <linux/leds.h> #include <linux/list.h> #include <linux/module.h> #include <linux/mutex.h> #include <linux/of.h> #include <...
C
drivers/leds/led-core.c
tprrt/linux-stable
gpl-2.0
13,339
495
codeparrot/github-code
c3cc43c6fe5a580f46fdfc2eb4a9e9f9181636b898e94a39c8e5915d608fce4d
/* Copyright (c) 2010-2012, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the...
C
drivers/video/msm/vidc/720p/ddl/vidc.c
mlachwani/Android-4.4.3-HTC-M8-Kernel-ATT
gpl-2.0
18,570
805
codeparrot/github-code
6c8ab2a20ed6661d452c054b847920d032b7cc193a8671b80d7e7b8ad7d6fb55
/* * arch/cris/mm/ioremap.c * * Re-map IO memory to kernel address space so that we can access it. * Needed for memory-mapped I/O devices mapped outside our normal DRAM * window (that is, all memory-mapped I/O devices). * * (C) Copyright 1995 1996 Linus Torvalds * CRIS-port by Axis Communications AB */ #inclu...
C
kernel/linux/arch/cris/mm/ioremap.c
z3bu/AH4222
gpl-2.0
3,617
147
codeparrot/github-code
dcbcacb52d276db42a44a6e6f454ca369870a6a2975a1f48ce92bc2543b4ece9
/* (C) 1999-2001 Paul `Rusty' Russell * (C) 2002-2004 Netfilter Core Team <coreteam@netfilter.org> * * 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. */ #include <linux/types.h>...
C
net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c
xianai/Ultra-KSM-for-Linux-2.6.33.2-
gpl-2.0
12,653
457
codeparrot/github-code
4f33d717a120a941b41d8e8506e6c30a9a7f32cd77ebf182ae99637ddc856446
/* * linux/fs/nfs/direct.c * * Copyright (C) 2003 by Chuck Lever <cel@netapp.com> * * High-performance uncached I/O for the Linux NFS client * * There are important applications whose performance or correctness * depends on uncached access to file data. Database clusters * (multiple copies of the same instanc...
C
linux/linux-kernel/fs/nfs/direct.c
kv193/buildroot
gpl-2.0
27,498
997
codeparrot/github-code
bc97da8df30c1920ff3b1776233c818364be2cf7d7087ae93ac739e3d87d93ea
/* * Keyboard class input driver for the NVIDIA Tegra SoC internal matrix * keyboard controller * * Copyright (c) 2009-2011, NVIDIA Corporation. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Fou...
C
drivers/input/keyboard/tegra-kbc.c
jameshilliard/m8-3.4.0-gb1fa77f
gpl-2.0
20,773
893
codeparrot/github-code
bd4ccd59cbd9182315a0993442b3b6061232ef747461c6900dcf909a232df76b
import os # toolchains options ARCH = 'arm' CPU = 'cortex-m3' CROSS_TOOL = 'gcc' if os.getenv('RTT_CC'): CROSS_TOOL = os.getenv('RTT_CC') if CROSS_TOOL == 'gcc': PLATFORM = 'gcc' EXEC_PATH = 'C:\Program Files (x86)\CodeSourcery\Sourcery G++ Lite\bin' #EXEC_PATH = 'C:\Program Files ...
Python
stm32_rtt_wifi/bsp/efm32/rtconfig.py
poranmeloge/test-github
gpl-2.0
2,289
80
codeparrot/github-code
96e2b3eab3850119344f18510a2edd382062fb32811df400394c0d44c24e40b5
/* * linux/include/asm-cris/fasttimer.h * * Fast timers for ETRAX100LX * Copyright (C) 2000-2007 Axis Communications AB */ #include <linux/time.h> #include <linux/timex.h> #ifdef CONFIG_ETRAX_FAST_TIMER typedef void fast_timer_function_type(unsigned long); struct fasttime_t { unsigned long tv_jiff; unsigne...
C
arch/cris/include/asm/fasttimer.h
jfdsmabalot/kernel_sense_m8
gpl-2.0
1,002
47
codeparrot/github-code
730c6f0848ecb761e99fcd66b5c5e8ed108af83ee3cca5494a36ce9fc9707c04
/* highlight v3 Highlights arbitrary terms. <http://johannburkard.de/blog/programming/javascript/highlight-javascript-text-higlighting-jquery-plugin.html> MIT license. Johann Burkard <http://johannburkard.de> <mailto:jb@eaio.com> */ jQuery.fn.highlight = function(pat) { function innerHighlight(node, pat) { va...
JavaScript
koha-tmpl/opac-tmpl/bootstrap/lib/jquery/plugins/jquery.highlight-3.js
mrenvoize/Koha
gpl-3.0
1,212
50
codeparrot/github-code
fd197771a9fee7c12c6a4e10e5e9b9979f59cc5548e98ec386edf0a15cdbbae5
"""Example: statsmodels.OLS """ from statsmodels.datasets.longley import load import statsmodels.api as sm from statsmodels.iolib.table import SimpleTable, default_txt_fmt import numpy as np data = load() data_orig = (data.endog.copy(), data.exog.copy()) #.. Note: In this example using zscored/standardized variable...
Python
examples/incomplete/ols_table.py
DonBeo/statsmodels
bsd-3-clause
1,999
70
codeparrot/github-code
a59b451ca236931609283891e29a361209f721de7916642cbd572553549888b2
#ifndef __CCB_KEYFRAME_H__ #define __CCB_KEYFRAME_H__ #include "cocos2d.h" #include "ExtensionMacros.h" NS_CC_EXT_BEGIN class CCBKeyframe : public CCObject { private: CCObject *mValue; float mTime; int mEasingType; float mEasingOpt; public: CCBKeyframe(); ~CCBKeyframe(); CCObjec...
C
src/extensions/CCBReader/CCBKeyframe.h
TukekeSoft/jacos2d-x
mit
630
37
codeparrot/github-code
69dcc43bf736cb3cea5178e130604b6adf9f70c16b5931dc757d46805397c560
// Copyright (C) 2005-2014 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the // terms of the GNU General Public License as published by the // Free Software Foundation; either version 3, or (at your op...
C++
libstdc++-v3/testsuite/25_algorithms/mismatch/1.cc
crystax/android-toolchain-gcc-4-9
gpl-2.0
2,323
91
codeparrot/github-code
58a94610c6280a46790cc7d456d1938c47a2a262dac228fb3e60a2ad08ae592a
/* * Copyright (c) 1997, 2010, 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/code/debugInfo.cpp
ikeji/openjdk7-hotspot
gpl-2.0
7,325
257
codeparrot/github-code
721df2dc944407d6e5ada5cb414209e4eb206749f30d22d6069d68b27eeba86b
/* Copyright 2015 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the 'License'); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agree...
TypeScript
tensorflow/tensorboard/components/tf_backend/test/backendTests.ts
wangyum/tensorflow
apache-2.0
10,205
303
codeparrot/github-code
0056dec3d4ec1550d42a26287213c1393340e891ec1502a003e7d4bd12dd20e2
using System; using System.Globalization; using Orchard.Localization.Services; using Orchard.Logging; using System.Web; using System.Linq; namespace Orchard.Localization { public class Text : IText { private readonly string _scope; private readonly IWorkContextAccessor _workContextAccesso...
C#
src/Orchard/Localization/Text.cs
TaiAivaras/Orchard
bsd-3-clause
2,286
64
codeparrot/github-code
1a429343f774c43763dab38e19711b37502f4ce251c4fefb08970fb910c82b3b
/****************************************************************************** * * Name: acutils.h -- prototypes for the common (subsystem-wide) procedures * *****************************************************************************/ /* * Copyright (C) 2000 - 2016, Intel Corp. * All rights reserved. * * Re...
C
drivers/acpi/acpica/acutils.h
bas-t/linux_media
gpl-2.0
21,454
739
codeparrot/github-code
7c876e7e1ad1337bcca448091541aae32a1c12815e1888d81199744515e9e518
/* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (C) 1994 - 1999, 2000, 01, 06 Ralf Baechle * Copyright (C) 1995, 1996 Paul M. Antoine * Copyright (C) 1998 Ulf Carlsson * Cop...
C
arch/mips/kernel/traps.c
c0d3z3r0/linux-rockchip
gpl-2.0
61,310
2,473
codeparrot/github-code
9d6b60b7b5427b7f38ecb13126420b9a0d11ee52cb07d1ed0cf0ba776fe205b1
/* * GTK plotting routines source file * * Copyright (c) 1999 Mark Taylor * * 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 License, or (at you...
C
lib/liblame/frontend/gtkanal.c
j2carv/xbmc-1
gpl-2.0
58,619
1,640
codeparrot/github-code
90f9a03bdbe8efc815e7b1ec18ee2f729009ab24182a89d797a33d9b84bf7518
#ifndef BOOST_DETAIL_SP_COUNTED_BASE_GCC_X86_HPP_INCLUDED #define BOOST_DETAIL_SP_COUNTED_BASE_GCC_X86_HPP_INCLUDED // MS compatible compilers support #pragma once #if defined(_MSC_VER) && (_MSC_VER >= 1020) # pragma once #endif // // detail/sp_counted_base_gcc_x86.hpp - g++ on 486+ or AMD64 // // Copyright (c) 20...
C++
third_party/libprocess/third_party/boost-1.37.0/boost/detail/sp_counted_base_gcc_x86.hpp
woggle/mesos-old
apache-2.0
3,508
174
codeparrot/github-code
edd33c1a781afb41d26bd97a87fa9ae6f30121dd82b6acd16372ae7dc634479f
dojo.provide("dojox.xmpp.PresenceService"); dojox.xmpp.presence = { UPDATE: 201, SUBSCRIPTION_REQUEST: 202, // SUBSCRIPTION_REQUEST_PENDING: 203, /* used when 'ask' attribute is absent on a roster item */ SUBSCRIPTION_SUBSTATUS_NONE: 204, SUBSCRIPTION_NONE: 'none', SUBSCRIPTION_FROM: 'from', SUBSCRIPTION_TO: '...
JavaScript
web-app/js-lib/dojo-release-1.5.0-src/dojox/xmpp/PresenceService.js
ozoneplatform/owf-framework
apache-2.0
8,730
308
codeparrot/github-code
486ca4e310211504f7212ff7fd912d6bb25514b72083a1b55c54f9b7b07f1d50
//===------------------------ private_typeinfo.h --------------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------...
C
third_party/webrtc/src/chromium/src/buildtools/third_party/libc++abi/trunk/src/private_typeinfo.h
Teamxrtc/webrtc-streaming-node
mit
8,988
249
codeparrot/github-code
7eb9e8211f23ef3570ead14cf2d6e45246180dc314052c4b61c746dabc1aa230
/* * File: drivers/pci/pcie/aspm.c * Enabling PCIe link L0s/L1 state and Clock Power Management * * Copyright (C) 2007 Intel * Copyright (C) Zhang Yanmin (yanmin.zhang@intel.com) * Copyright (C) Shaohua Li (shaohua.li@intel.com) */ #include <linux/kernel.h> #include <linux/module.h> #include <linux/moduleparam....
C
drivers/pci/pcie/aspm.c
ystk/linux-poky-debian
gpl-2.0
27,672
988
codeparrot/github-code
4eb8b7e443843ab370c3f552f98e0aaafaeb7f1e746e8b97b724d55719aeb74f
// Boost.Geometry (aka GGL, Generic Geometry Library) // Copyright (c) 2007-2015 Barend Gehrels, Amsterdam, the Netherlands. // Copyright (c) 2008-2015 Bruno Lalande, Paris, France. // Copyright (c) 2009-2015 Mateusz Loskot, London, UK. // This file was modified by Oracle on 2015. // Modifications copyright (c) 2015,...
C++
include/boost_1_58_0/boost/geometry/algorithms/detail/envelope/segment.hpp
YelaSeamless/mysql-server
gpl-2.0
11,172
340
codeparrot/github-code
a78613b81e7a3b86f73d1883546d54ffe38bc4cd4afc99e01b6d1de40315fd78
/* * layer2.c: Mpeg Layer-2 audio decoder * * Copyright (C) 1999-2010 The L.A.M.E. project * * Initially written by Michael Hipp, see also AUTHORS and README. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as publish...
C
lib/liblame/mpglib/layer2.c
inn1983/teropi
gpl-2.0
10,825
316
codeparrot/github-code
ff2632ad1b9ed5c39f4a64ee312dd96f9227ec3fce6751f46a5c3394f2b4c817
<?php /** * @package Joomla.Administrator * @subpackage com_plugins * * @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; JHtml::_('bootstrap.tooltip'); JHtml::_('b...
PHP
components/com_kunena/admin/template/joomla30/plugins/default.php
obsidev/Kunena-Forum
gpl-3.0
9,840
206
codeparrot/github-code
38452b7244039b67c416deda34b79e1f6943c02fc137a8f22b242342903aaeeb
/* Unix SMB/CIFS implementation. local testing of socket routines. Copyright (C) Andrew Tridgell 2005 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the L...
C
source4/lib/socket/testsuite.c
javierag/samba
gpl-3.0
6,705
199
codeparrot/github-code
d0b6f42b7ba8d25d6d29719e9eadd1ae3005e2ff9692dba245bfec97e548d3da
/** * 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
tseenliu/FedHDFS-hadoop-src/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/TestDataNodeVolumeFailureReporting.java
tseen/Federated-HDFS
apache-2.0
11,522
283
codeparrot/github-code
ee21f1d15f6c0bad10dd5f57016f18fc6b1998bd37f130455bda794f6d01d50d
/* * Copyright 2016 Red Hat, Inc. and/or its affiliates * and other contributors as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apach...
Java
model/jpa/src/main/java/org/keycloak/connections/jpa/entityprovider/JpaEntitySpi.java
thomasdarimont/keycloak
apache-2.0
1,430
52
codeparrot/github-code
cfb878d01343be4a93e75698fe08f54640d1c9f7a3bbc26bf8af6276490d0017
package org.andengine.util.modifier.ease; /** * (c) 2010 Nicolas Gramlich * (c) 2011 Zynga Inc. * * @author Gil * @author Nicolas Gramlich * @since 16:52:11 - 26.07.2010 */ public class EaseBounceInOut implements IEaseFunction { // =========================================================== // Constants // =...
Java
src/org/andengine/util/modifier/ease/EaseBounceInOut.java
zcwk/AndEngine
apache-2.0
1,822
64
codeparrot/github-code
33c4b90920b09cca84a20b5f60248761f061c58fc2aae875e56fa65b36cd4c6b
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
Scala
streaming/src/main/scala/org/apache/spark/streaming/ui/AllBatchesTable.scala
someorz/spark
apache-2.0
6,632
196
codeparrot/github-code
bf15b250b9e986e053a813a7e39d0a7bfbc2e30e4bbad0899cfc5c3657beac9f
/* * QEMU PowerPC 440 Bamboo board emulation * * Copyright 2007 IBM Corporation. * Authors: * Jerone Young <jyoung5@us.ibm.com> * Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com> * Hollis Blanchard <hollisb@us.ibm.com> * * This work is licensed under the GNU GPL license version 2 or later. * */ #include "co...
C
third-party/qemu-orp/hw/ppc/ppc440_bamboo.c
AnttiLukats/orp
apache-2.0
9,839
308
codeparrot/github-code
14ea2e567c168e2c9e8b4fc9564c1be9900ccb554d2fae60776aba2d1ddd6139
package org.andengine.entity.modifier; import org.andengine.entity.IEntity; import org.andengine.util.color.Color; import org.andengine.util.modifier.ease.EaseLinear; import org.andengine.util.modifier.ease.IEaseFunction; /** * (c) 2010 Nicolas Gramlich * (c) 2011 Zynga Inc. * * @author Nicolas Gramlich * @sinc...
Java
src/org/andengine/entity/modifier/ColorModifier.java
zcwk/AndEngine
apache-2.0
4,680
95
codeparrot/github-code
932ab1316e9361cff930320c138db3a8b6161553b55885e2d5eb3c874d64dd4e
from __future__ import print_function, division from sympy.core.numbers import nan from .function import Function class Mod(Function): """Represents a modulo operation on symbolic expressions. Receives two arguments, dividend p and divisor q. The convention used is the same as Python's: the remainder a...
Python
sympy/core/mod.py
Shaswat27/sympy
bsd-3-clause
4,488
156
codeparrot/github-code
163af038d37f4a26c443382a2557f43c4e8e311e9a9a6aa6eba99badac6d1c9d
/* * Copyright(c) 2015 - 2017 Intel Corporation. * * This file is provided under a dual BSD/GPLv2 license. When using or * redistributing this file, you may do so under either license. * * GPL LICENSE SUMMARY * * This program is free software; you can redistribute it and/or modify * it under the terms of vers...
C
drivers/infiniband/hw/hfi1/trace_ibhdrs.h
HarveyHunt/linux
gpl-2.0
14,001
447
codeparrot/github-code
622520b804ac199c1cf4c18e9a3f07eca5361042382c47300fcea879a52671be
/* * kernel/time/timer_list.c * * List pending timers * * Copyright(C) 2006, Red Hat, Inc., Ingo Molnar * * 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. */ #include <linux/...
C
kernel/time/timer_list.c
XXLRay/linux-2.6.32-rhel6.x86_64
gpl-2.0
7,479
299
codeparrot/github-code
6806b8a17172c777187b8a52d4579294f0a6cd4c23aefe38fe88c34a4dfc7c67
/* * Copyright (C) 2011-2014 MediaTek Inc. * * 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 WITHOUT ANY WARRANTY;...
C
drivers/misc/mediatek/cmdq/cmdq_record.c
Tesla-Redux-Devices/android_kernel_mediatek_sprout
gpl-2.0
22,442
854
codeparrot/github-code
cefacbd1beb7eec8f61658542a09bb21e1d3ae7e25d6b27a01a63c24f79f4729
/* * Copyright 2000-2014 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
Java
platform/lang-impl/src/com/intellij/codeInsight/generation/CommentByBlockCommentHandler.java
caot/intellij-community
apache-2.0
28,839
706
codeparrot/github-code
be57e2df7efb492f8fdb929a345a44fbaa8d1aee97ee52e754b8468cde1c824f
/* * Copyright © 2006 Sun Microsystems, Inc. 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, including without limitation * the rights to us...
C
src/VBox/Additions/x11/x11include/xorg-server-1.8.0/compint.h
yuyuyu101/VirtualBox-NetBSD
gpl-2.0
8,424
320
codeparrot/github-code
9686241fe88f9607d6ac250b57955674e1e23d82b7efe866e5d36136175d3b19
#ifndef __HID_ROCCAT_PYRA_H #define __HID_ROCCAT_PYRA_H /* * Copyright (c) 2010 Stefan Achatz <erazor_de@users.sourceforge.net> * Copyright (C) 2015 XiaoMi, 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...
C
drivers/hid/hid-roccat-pyra.h
rajib4/android_kernel_xiaomi_cancro
gpl-2.0
3,817
154
codeparrot/github-code
46a443e88d6a95c93fc942b9019d988425281fd40b2cb96a6f3c3f3901aa90b4
/****************************************************************************** * os_intfs.c * * Copyright(c) 2007 - 2010 Realtek Corporation. All rights reserved. * Linux device driver for RTL8192SU * * This program is free software; you can redistribute it and/or modify it * under the terms of version 2 of the...
C
drivers/staging/rtl8712/os_intfs.c
SerenityS/android_kernel_allwinner_a31
gpl-2.0
15,781
488
codeparrot/github-code
45074eb9f91ed46130618d24a2f21bc0673ee2ddcaeb44bc107fbc54c54e18dc
/* * (C) Copyright 2000-2004 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. * * See file CREDITS for list of people who contributed to this * project. * * 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 F...
C
qca/src/u-boot/common/cmd_load.c
itgb/opCloudRouter
gpl-2.0
26,238
1,120
codeparrot/github-code
3a32cfd4e05c3f59b6dab724e5622971759b91ef622db536949a5af7eb6b005a
/* * driver/dma/coh901318.c * * Copyright (C) 2007-2009 ST-Ericsson * License terms: GNU General Public License (GPL) version 2 * DMA driver for COH 901 318 * Author: Per Friden <per.friden@stericsson.com> */ #include <linux/init.h> #include <linux/module.h> #include <linux/kernel.h> /* printk() */ #include <li...
C
drivers/dma/coh901318.c
gazoo74/linux
gpl-2.0
82,564
2,816
codeparrot/github-code
509671024bf95c0f22e352b1f97b17532ced400419e1dfacf0ec57ad141b3b11
// x86-64.h -- ELF definitions specific to EM_X86_64 -*- C++ -*- // Copyright (C) 2006-2014 Free Software Foundation, Inc. // Written by Andrew Chatham. // This file is part of elfcpp. // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU Library General Public ...
C
third_party_backup/binutils-2.25/elfcpp/x86_64.h
jlspyaozhongkai/Uter
gpl-3.0
4,534
105
codeparrot/github-code
cf7caf7f772dee671efc5b0815aee5ead747d20acb18d2bab30c408b79e79b21
/********************************************************************** * File: normstrngs.cpp * Description: Utilities to normalize and manipulate UTF-32 and * UTF-8 strings. * Author: Ranjith Unnikrishnan * Created: Thu July 4 2013 * * (C) Copyright 2013, Google Inc. * Licensed un...
C++
training/normstrngs.cpp
ttacon/tesseract
apache-2.0
8,513
262
codeparrot/github-code
5ad1d38e70fc2daac3eb2ddfdc65048181f40140b5c6b6e0043cfc3dd649b9ee
/* * Copyright (c) 2007 Mellanox Technologies. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU * General Public License (GPL) Version 2, available from the file * COPYING in the main directory of this sou...
C
ulinux/linux-3.10.61/drivers/net/ethernet/mellanox/mlx4/mlx4_en.h
wurikiji/ttFS
gpl-2.0
18,894
701
codeparrot/github-code
1cdce2341416800004db40a89eae52579b5eb44177e5bbb7139b4227c66eaccc
/* ATM ioctl handling */ /* Written 1995-2000 by Werner Almesberger, EPFL LRC/ICA */ /* 2003 John Levon <levon@movementarian.org> */ #define pr_fmt(fmt) KBUILD_MODNAME ":%s: " fmt, __func__ #include <linux/module.h> #include <linux/kmod.h> #include <linux/net.h> /* struct socket, struct proto_ops */ #include <linu...
C
release/src-rt-7.x.main/src/linux/linux-2.6.36/net/atm/ioctl.c
wkritzinger/asuswrt-merlin
gpl-2.0
9,136
362
codeparrot/github-code
a991a286f196c271e89f0fa196b5dbb34e2b544f6e637d7884c1f71dd23eaa06
/** * @file * Provides JavaScript additions to the managed file field type. * * This file provides progress bar support (if available), popup windows for * file previews, and disabling of other file fields during Ajax uploads (which * prevents separate file fields from accidentally uploading files). */ (functio...
JavaScript
drupal/core/modules/file/file.js
drupal-ukraine/csua_d8
gpl-2.0
7,766
197
codeparrot/github-code
da17db9091e226a7454e57d7bd9509ca43b52c1b1d70b4eabff9a8aa519190b3
/* * JFFS2 -- Journalling Flash File System, Version 2. * * Copyright © 2001-2007 Red Hat, Inc. * Copyright © 2004-2010 David Woodhouse <dwmw2@infradead.org> * * Created by Arjan van de Ven <arjanv@redhat.com> * * For licensing information, see the file 'LICENCE' in this directory. * */ #include <linux/strin...
C
release/src-rt-7.x.main/src/linux/linux-2.6.36/fs/jffs2/compr_rubin.c
wkritzinger/asuswrt-merlin
gpl-2.0
8,683
450
codeparrot/github-code
1e16024b7cfd0235764a465277b1ffd6079a7439e434cae02b73c65a77aaeb64
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <base href="../../" /> <script src="list.js"></script> <script src="page.js"></script> <link type="text/css" rel="stylesheet" href="page.css" /> </head> <body> [page:Object3D] &rarr; <h1>[name]</h1> <div class="desc"> ...
HTML
lib/three/docs/api/objects/Sprite.html
albelax/SRA
lgpl-2.1
2,174
80
codeparrot/github-code
58eae9d0740e941016de2c564b14b5c17f1dca83de0f8e16fd25697dd3c1755d
#!/usr/bin/env python # 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. """Given the output of -t commands from a ninja build for a gyp and GN generated build, report on differences between the command line...
Python
tools/gn/bin/gyp_flag_compare.py
M4sse/chromium.src
bsd-3-clause
7,719
228
codeparrot/github-code
5414988b57e5aa319272d075778e864d576447dc32cbe97faa5ff89ce964131a
/// /// \file AliFemtoV0Cut.h /// #ifndef AliFemtoV0Cut_hh #define AliFemtoV0Cut_hh #include "AliFemtoTypes.h" #include "AliFemtoV0.h" #include "AliFemtoXi.h" #include "AliFemtoParticleCut.h" /// \class AliFemtoV0Cut /// \brief The pure virtual base class for the V0 cut /// /// All V0 cuts must inherit from this one...
C
PWGCF/FEMTOSCOPY/AliFemto/AliFemtoV0Cut.h
ppribeli/AliPhysics
bsd-3-clause
1,482
61
codeparrot/github-code
43a1d16ca71583ee2a1dc0dece282c5b488f1e7898170e5bd0597ae77186d806
/** * @file MakeChain.C * @author Christian Holm Christensen <cholm@dalsgaard.hehi.nbi.dk> * @date Tue Jul 12 10:20:07 2011 * * @brief Script to generate a chain of files * * @ingroup pwglf_forward_scripts */ /** * Check if a path points to a file * * @param path Path * * @return True if the pa...
C++
PWGLF/FORWARD/analysis2/scripts/MakeChain.C
akubera/AliPhysics
bsd-3-clause
5,298
196
codeparrot/github-code
8764b343b4f6c91f20113749954ef3da133c07f121efa4f51906bb36e004bf60
#ifndef INCLUDE_XEN_OPS_H #define INCLUDE_XEN_OPS_H #include <linux/percpu.h> #include <linux/notifier.h> #include <linux/efi.h> #include <asm/xen/interface.h> DECLARE_PER_CPU(struct vcpu_info *, xen_vcpu); void xen_arch_pre_suspend(void); void xen_arch_post_suspend(int suspend_cancelled); void xen_timer_resume(voi...
C
virt/include/xen/xen-ops.h
mericon/Xp_Kernel_LGH850
gpl-2.0
1,808
76
codeparrot/github-code
143d9a327d801c537141b00de872e2461ad19e4cca9211c6c504bb88700e9b35
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2009-2010 Gael Guennebaud <gael.guennebaud@inria.fr> // // Eigen 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...
C
third_party/Eigen/src/Core/ProductBase.h
master0567/MarkerLessAR
mit
11,109
289
codeparrot/github-code
44500e7e7c56d98c6890925bc096d7d031b2812c54e167a93e5469e3ad1e7a6b
/*- * See the file LICENSE for redistribution information. * * Copyright (c) 2002-2009 Oracle. All rights reserved. * * $Id$ */ package com.sleepycat.util.test; import java.io.IOException; import java.io.PrintWriter; import java.io.StringWriter; import junit.framework.Test; import junit.framework.TestCase; im...
Java
src/deps/db/test/scr024/src/com/sleepycat/util/test/ExceptionWrapperTest.java
mxrrow/zaicoin
mit
3,867
135
codeparrot/github-code
3de42e8cde039b02c64406ea3b26c9d17ef116ea2ea2dda1048c9b513d99b23e
/** * A Professional HTML Renderer You Will Use * * The BSD License (BSD) * Copyright (c) 2011 Jose Menendez Póo, http://www.codeproject.com/Articles/32376/A-Professional-HTML-Renderer-You-Will-Use * * Redistribution and use in source and binary forms, with or without modification, are * permitted provided th...
C#
winforms-modernui-master/MetroFramework/Drawing/Html/HtmlPanel.cs
BigMo/webimg
mit
6,532
217
codeparrot/github-code