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
93874fff5a3ee91c2d3416b07959a2bd5c06cd877b759eb78793dbb38a033407
/* * Copyright (C) 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...
Java
factory/src/test/resources/good/MixedDepsImplementingInterfaces.java
gk5885/auto
apache-2.0
1,238
43
codeparrot/github-code
037b03243598f82637990e3d7d62af34ddadd29cb84f871a4bf639249283da52
/* * Copyright 2014 NAVER Corp. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
Java
rpc/src/main/java/com/navercorp/pinpoint/rpc/stream/LoggingStreamChannelStateChangeEventHandler.java
dawidmalina/pinpoint
apache-2.0
1,432
40
codeparrot/github-code
f61c8deb400657c056e6c799335c4e34cb2a5a38d3ad3cc329d0ad39c377903e
/* * Copyright (C) 2016 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 app...
Java
Lesson02-GitHub-Repo-Search/T02.04-Exercise-ConnectingToTheInternet/app/src/main/java/com/example/android/datafrominternet/MainActivity.java
bwirgau/androidproject
apache-2.0
2,821
78
codeparrot/github-code
a2322d2d7152c5eadcee6e3f8f016b81d8a300a76ab11d605a09fca616e5fded
/* * 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
mllib/src/main/scala/org/apache/spark/ml/feature/StopWordsRemover.scala
zuotingbing/spark
apache-2.0
8,793
236
codeparrot/github-code
db9b2d113bb824a6c40dfdc35c0c56a0ca4e26b7d3ab6ad809977dd6b47a7733
package org.bouncycastle.cert.selector; import java.io.IOException; import org.bouncycastle.asn1.ASN1Encoding; import org.bouncycastle.asn1.x509.SubjectPublicKeyInfo; import org.bouncycastle.util.Pack; class MSOutlookKeyIdCalculator { // This is less than ideal, but it seems to be the best way of supporting this...
Java
src/org/bouncycastle/cert/selector/MSOutlookKeyIdCalculator.java
thedrummeraki/Aki-SSL
apache-2.0
10,705
423
codeparrot/github-code
2f4d58c33aead3e56b1d486639efbb7cc4727620d0bcc361584a73cc901eacbe
/* ------------------------------------------------------------------ * Copyright (C) 1998-2009 PacketVideo * * 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.o...
C++
src/frameworks/av/media/libstagefright/codecs/amrwb/src/pit_shrp.cpp
dAck2cC2/m3e
apache-2.0
4,898
133
codeparrot/github-code
07d50d49eb5def130fc3a9c701b5c11f14fe7e6c0348181efc3d9914d7d8bc00
<!DOCTYPE html> <html> <canvas id='c' width='400' height='400'></canvas> <script src='webgl-utils.js'></script> <script id="vshader" type="text/plain"> attribute vec2 aVertexPosition; varying vec2 vTexCoord; uniform vec2 uOffset; void main() { vTexCoord = aVertexPosition + uOffset; gl_Posi...
HTML
src/articles/raw-webgl-part-2-simple-shader/minimal-shader.html
operasoftware/devopera
apache-2.0
1,344
42
codeparrot/github-code
03701b695e3f41f47013d9c94f90edff95c9f83cd4560b79e95542c5cbe5c311
package org.apache.lucene.analysis.util; /* * 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...
Java
src/main/java/org/apache/lucene/analysis/util/AnalysisSPILoader.java
smartan/lucene
apache-2.0
5,322
132
codeparrot/github-code
b854d9e5c5ecc01ea09612cd5d6150f3ec7de3646a32c78906d4d0d3a31992d6
//------------------------------------------------------------------------------ // <copyright file="XmlSchemaDocumentation.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> // <owner current="true" primary="true">[....]</owner> ...
C#
System.Xml/System/Xml/Schema/XmlSchemaDocumentation.cs
sekcheong/referencesource
mit
2,231
55
codeparrot/github-code
41ab671c1c895bed0844a24a605750af133a70cf574c30f343c560b107d35225
/* * Power BI Visualizations * * 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 restric...
TypeScript
src/Clients/Visuals/visuals/basicShape.ts
vinnytheviking/PowerBI-visuals
mit
12,414
297
codeparrot/github-code
2d7331e07c829066f65083ddf7ec80723f9d966aefe07dbd6d0797c78422fea7
// Type definitions for @webpack-blocks/assets 2.0 // Project: https://github.com/andywer/webpack-blocks/tree/master/packages/assets // Definitions by: Max Boguslavskiy <https://github.com/maxbogus> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 3.7 import { Block } from 'web...
TypeScript
types/webpack-blocks__assets/index.d.ts
markogresak/DefinitelyTyped
mit
2,486
69
codeparrot/github-code
3787482239b5a66d0f2dce337403414627129042ed287ed3b702b9b8fa2b7933
'use strict'; // There's an example D script here to showcase a "slow" handler where it's // wildcard'd by the route name. In "real life" you'd probably start with a // d script that breaks down the route -start and -done, and then you'd want // to see which handler is taking longest from there. // // $ node demo.js ...
JavaScript
examples/dtrace/demo.js
mboudreau/node-restify
mit
5,705
181
codeparrot/github-code
5a287792b4a18d90be0e428339d4551668c3fe1901ddac000ec77a4bcc777834
// Type definitions for parallel.js // Project: https://github.com/parallel-js/parallel.js#readme // Definitions by: Josh Baldwin <https://github.com/jbaldwin> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /* Copyright(c) 2013 Josh Baldwin https://github.com/jbaldwin/parallel.d.ts Permission is h...
TypeScript
types/paralleljs/index.d.ts
markogresak/DefinitelyTyped
mit
5,682
109
codeparrot/github-code
68148a43027c7c572862b74e9b706531438950010106acc98d3c86f89ebf4d91
//--------------------------------------------------------------------- // <copyright file="Perspective.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> // // @owner [....] // @backupOwner [....] //---------------------------------------------------------...
C#
System.Data.Entity/System/Data/Metadata/Perspective.cs
sekcheong/referencesource
mit
10,452
230
codeparrot/github-code
e407f7e3b089561feac209a7170390ed14c0663b9ec4cda5cc421337b10be0a3
/** * Copyright (c) 2010-2019 Contributors to the openHAB project * * See the NOTICE file(s) distributed with this work for additional * information. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse....
Java
bundles/org.openhab.binding.powermax/src/main/java/org/openhab/binding/powermax/internal/PowermaxBindingConstants.java
theoweiss/openhab2
epl-1.0
2,871
68
codeparrot/github-code
e4ad797a64bb4f4d20de0fee2b84d4a744a9d028bd702c90fd09dc68746ca9dd
/** * Copyright (c) 2010-2019 Contributors to the openHAB project * * See the NOTICE file(s) distributed with this work for additional * information. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse....
Java
bundles/org.openhab.binding.lifx/src/main/java/org/openhab/binding/lifx/internal/protocol/SetDimAbsoluteRequest.java
clinique/openhab2
epl-1.0
1,951
78
codeparrot/github-code
c5e4a03c351d00cdf6c1c7ec98a3412eb9766b79f6193ceafb6b1494d9229686
/*************************************************************************** qgsattributeformeditorwidget.cpp ------------------------------- Date : March 2016 Copyright : (C) 2016 Nyall Dawson Email : nyall dot dawson at gmail dot com ********************...
C++
src/gui/qgsattributeformeditorwidget.cpp
minorua/QGIS
gpl-2.0
9,238
286
codeparrot/github-code
bab6c1f0fe4c9f80bc43b1b3d2fffe6e71aff9745803fe86331d9468f2c9b6cf
/* * File : dc.c * This file is part of RT-Thread RTOS * COPYRIGHT (C) 2006 - 2009, RT-Thread Development Team * * The license and distribution terms for this file may be * found in the file LICENSE in this distribution or at * http://www.rt-thread.org/license/LICENSE * * Change Logs: * Date Au...
C
components/rtgui/common/dc.c
GuoZhiyong/RTT_GPS
gpl-2.0
29,476
1,331
codeparrot/github-code
588ee9c66ab4f3c79740925ad4ce01f8aa59f18d398664101e8229306fe46afc
/* * INET An implementation of the TCP/IP protocol suite for the LINUX * operating system. INET is implemented using the BSD Socket * interface as the means of communication with the user level. * * Definitions for the IP module. * * Version: @(#)ip.h 1.0.2 05/07/93 * * Authors: Ross Biro * Fred N. van...
C
include/net/ip.h
xingrz/android_kernel_pifoundation_bcm2710
gpl-2.0
17,476
590
codeparrot/github-code
6c73a87eff3114cbec0eb8750ac539ad00b03acde708b11864e25b108e389e18
# # Makefile for the kernel character device drivers. # # # This file contains the font map for the default (hardware) font # FONTMAPFILE = cp437.uni ifeq ($(CONFIG_ARM),y) # This warning will never go away until a keyboard is defined for this target. CFLAGS_REMOVE_keyboard.o = -Werror endif obj-y += mem.o random.o...
Makefile
drivers/char/Makefile
mantera/WX_435_Kernel-CM7
gpl-2.0
5,069
160
codeparrot/github-code
38c47361a510c30a96d423b6f5dba96091df3eb88ac23dfd8273cd8a4efc55cf
using System; using System.Collections.Generic; using Server.Items; namespace Server.Mobiles { public class SBWeaver: SBInfo { private List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo(); private IShopSellInfo m_SellInfo = new InternalSellInfo(); public SBWeaver() { } publ...
C#
Scripts/Mobiles/Vendors/SBInfo/SBWeaver.cs
ggobbe/hyel
gpl-2.0
2,048
60
codeparrot/github-code
496a11ad97e4897284eb2c1844a9345d2a3f7bb09e3ae00ccf44b9a03eb27bdc
/**************************************************************************** Copyright (c) 2013-2017 Chukong Technologies Inc. http://www.cocos2d-x.org 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 th...
C++
src/Cocos2d-x/Colby/cocos2d/cocos/renderer/CCPrimitive.cpp
soniyj/basement
gpl-2.0
3,255
123
codeparrot/github-code
374ccc8fe0b0e7708bd5f18e80282a04f74005535f22bb512d7829a59ad42d1a
// ImagePixel.cpp: implementation of the CImagePixel class. // ////////////////////////////////////////////////////////////////////// #include "stdafx.h" #include "ImagePixel.h" #include "Image.h" CImagePixel::CImagePixel() { m_pInput=NULL; } CImagePixel::CImagePixel(CImage* pInput) { m_pInput=pInp...
C++
image/ImagePixel.cpp
kwangkim/papercrop
gpl-2.0
9,646
435
codeparrot/github-code
5dbf87f9aa314a7a6c244ffc5c0ba2be47a621cca0d9deac5837d058f9c02151
// { dg-options "-std=gnu++11" } // Copyright (C) 2005-2016 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...
C++
source/gcc-latest/libstdc++-v3/testsuite/20_util/shared_ptr/cons/pointer.cc
selmentdev/selment-toolchain
gpl-3.0
1,652
81
codeparrot/github-code
34928ee262529619d529e198e42ed4790514c2578983e738b8f4c38e1497fe1d
""" Boolean geometry utilities. """ from __future__ import absolute_import #Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module. import __init__ import sys __author__ = 'Enrique Perez (perez_enrique@yahoo.com)' ...
Python
skeinforge/fabmetheus_utilities/geometry/geometry_utilities/evaluate_fundamentals/print.py
dob71/x2swn
gpl-3.0
984
37
codeparrot/github-code
c5910c759ebac8b1b1c341760ec0ee5b381d4698bd5c0a49d66e7320dad2d303
<?php /** * 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...
PHP
wiki/maintenance/pageExists.php
Electro-Light/ElectroLight-WebSite
gpl-3.0
1,549
54
codeparrot/github-code
3f57fb278fc86874bfadd0db9d2a60bcfa7f6be0bce3d3f6962a9f515e6a5090
<?php /** * @package Mautic * @copyright 2014 Mautic Contributors. All rights reserved. * @author Mautic * @link http://mautic.org * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html */ namespace Mautic\CoreBundle\Helper; use Symfony\Component\HttpFoundation\Request; use Symfony\...
PHP
app/bundles/CoreBundle/Helper/TrackingPixelHelper.php
MAT978/mautic
gpl-3.0
2,052
68
codeparrot/github-code
edf9122151af3885cddadd84333e1b753ffc853247c89eec6738dc21eb304e6f
/* * Pixel Dungeon * Copyright (C) 2012-2014 Oleg Dolya * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * ...
Java
src/com/shatteredpixel/shatteredpixeldungeon/items/armor/glyphs/Entanglement.java
fictionalfridge/shattered-pixel-dungeon
gpl-3.0
2,360
67
codeparrot/github-code
fecb9de08c48a09df76ea35a2e7b34ce2f504fb9379515b93e94aeee7a87b6f9
## mako <%! from django.utils.translation import ugettext as _ from branding.api import get_footer %> <% footer = get_footer(is_secure=is_secure) %> <%namespace name='static' file='static_content.html'/> ## WARNING: These files are specific to edx.org and are not used in installations outside of that domain. Open ...
HTML
themes/edx.org/lms/templates/footer.html
waheedahmed/edx-platform
agpl-3.0
3,440
95
codeparrot/github-code
db24e0a38a4c59d70788513cfaa4438861619e8d13ad6ce4bfadfa582652745d
from openerp.osv import osv, fields from openerp.tools.translate import _ from openerp.addons.point_of_sale.point_of_sale import pos_session class pos_session_opening(osv.osv_memory): _name = 'pos.session.opening' _columns = { 'pos_config_id' : fields.many2one('pos.config', string='Point of Sale', ...
Python
addons/point_of_sale/wizard/pos_session_opening.py
addition-it-solutions/project-all
agpl-3.0
5,032
117
codeparrot/github-code
3c36ede66497418c58d7f7dfc9ffe662d116b621544eae3af681300d632d6c22
/*************************************************************************** * Copyright (c) 2013 Luke Parry <l.parry@warwick.ac.uk> * * Copyright (c) 2014 WandererFan <wandererfan@gmail.com> * * * * This fi...
C
src/Mod/TechDraw/Gui/QGIViewSymbol.h
sanguinariojoe/FreeCAD
lgpl-2.1
2,750
72
codeparrot/github-code
764d3c547e40aa411da30c9851dbdde134ca0960f1869dfe444b6b78a0d18d96
// Copyright 2011 Software Freedom Conservancy // 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...
C++
cpp/webdriver-server/command.cc
jknguyen/josephknguyen-selenium
apache-2.0
2,447
70
codeparrot/github-code
d454c647be8f195bcde449eb32d5c38df940568d8e923d47c49e826b21be6f2a
/* Copyright 2015 The Kubernetes 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 applicable law or agreed to in writing, ...
GO
test/e2e/kubelet.go
anguslees/kubernetes
apache-2.0
7,953
227
codeparrot/github-code
175a0cbcde6096d6d38d4c839d59f4e8dcd59ccdff58059ee55355129cc045a7
/* * 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
extendedset/src/main/java/org/apache/druid/extendedset/intset/EmptyIntIterator.java
deltaprojects/druid
apache-2.0
1,478
61
codeparrot/github-code
b9499100cb4463fc839df0890a938fd091539ff9ff45368b2f8660fb43201933
using Provisioning.Common.Authentication; using Provisioning.Common.Configuration; using Provisioning.Common.Configuration.Application; using Provisioning.Common.Utilities; using Microsoft.Online.SharePoint.TenantAdministration; using Microsoft.Online.SharePoint.TenantManagement; using Microsoft.SharePoint.Client; usi...
C#
Solutions/Provisioning.UX.App/Provisioning.Common/Office365SiteProvisioningService.cs
Rick-Kirkham/PnP
apache-2.0
5,416
131
codeparrot/github-code
a890e34417130488a23d9682fb5d8b094916af99b41f2863b80a86d54ffc11a7
package etcd import ( "k8s.io/apimachinery/pkg/runtime" "k8s.io/apiserver/pkg/registry/generic" "k8s.io/apiserver/pkg/registry/generic/registry" "k8s.io/apiserver/pkg/registry/rest" "k8s.io/apiserver/pkg/storage" "k8s.io/kubernetes/pkg/printers" printerstorage "k8s.io/kubernetes/pkg/printers/storage" "github....
GO
pkg/oauth/apiserver/registry/oauthauthorizetoken/etcd/etcd.go
imcsk8/origin
apache-2.0
2,028
56
codeparrot/github-code
b0b351d31729bde8ccbcc83d463f9c08fc4d5d0c58911101f200e6708fea6886
/* * 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
presto-parser/src/main/java/com/facebook/presto/sql/tree/Prepare.java
propene/presto
apache-2.0
2,348
90
codeparrot/github-code
08f34974b48c9e4713ddd73069635b066f1beb5b1a6bd04bad52e78cea03bca6
# Copyright 2014, Rackspace, US, 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...
Python
openstack_dashboard/api/rest/__init__.py
takeshineshiro/horizon
apache-2.0
1,343
34
codeparrot/github-code
25c836e20a29a59316d638b57880fa68e567aac8ffd648a593f477ae9eaa2f8b
/* * Copyright 2000-2012 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
plugins/cvs/cvs-plugin/src/com/intellij/cvsSupport2/CvsCheckinHandlerFactory.java
michaelgallacher/intellij-community
apache-2.0
2,645
69
codeparrot/github-code
4e475d8c26ac13e19ebc7d62181aa20c037eae9cbd3a82c6ab49a4eaf72b7437
/* * 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/core/src/test/scala/org/apache/spark/sql/streaming/DeduplicateSuite.scala
minixalpha/spark
apache-2.0
10,379
285
codeparrot/github-code
5d9f5a068d628f00d0ec05bccdac5ed63d51b6beb316891bac1efa3ef9a68b4f
# 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 applica...
Python
tensorflow/contrib/framework/python/ops/prettyprint_ops.py
cg31/tensorflow
apache-2.0
6,195
162
codeparrot/github-code
4224f57545bd4250fe356c110557a2c9e4ca6c0bb16e6fd2c341f2597a0a0b40
/* * Copyright 2000-2015 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/platform-impl/src/com/intellij/openapi/wm/impl/status/StatusBarUI.java
hurricup/intellij-community
apache-2.0
2,790
91
codeparrot/github-code
506db5b892ffc568812f8ce47b21049c45f85f802d3bf4d0383c8c990b089159
/* Processed by ecpg (regression mode) */ /* These include files are added by the preprocessor */ #include <ecpglib.h> #include <ecpgerrno.h> #include <sqlca.h> /* End of automatic include section */ #define ECPGdebug(X,Y) ECPGdebug((X)+100,(Y)) #line 1 "func.pgc" #include <stdio.h> #include <stdlib.h> #include <strin...
C
src/interfaces/ecpg/test/expected/sql-func.c
50wu/gpdb
apache-2.0
4,147
171
codeparrot/github-code
40b4b0299d753543187fa669c2600bc404118445b7fcea42b3b1e8dbe52adbe6
/* * Copyright 2000-2017 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
java/structuralsearch-java/src/com/intellij/structuralsearch/impl/matcher/predicates/FormalArgTypePredicate.java
jk1/intellij-community
apache-2.0
1,283
34
codeparrot/github-code
84be210886b81bee160c1d20e55b1a3d09d35d70b24bcfa4c7bae94115be190c
// Copyright 2012-2013 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. // // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license // <LICENSE-MI...
Rust
src/test/run-pass/fsu-moves-and-copies.rs
bombless/rust
apache-2.0
3,163
105
codeparrot/github-code
e7f31cc65d630fbcd1e7a9e1833e5f9e813cc04bf9f18abf96daf78e03a52b52
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "SerialExecutor.h" namespace facebook { namespace hermes { namespace inspector { namespace detail { SerialExecutor::Seri...
C++
android/versioned-react-native/ReactCommon/hermes/inspector/detail/SerialExecutor.cpp
exponent/exponent
bsd-3-clause
1,254
61
codeparrot/github-code
f2a1719ed7c977430ba1915846cb88d55ec8953ab04bb97972fcf9166da7ce00
// 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 "gsub.h" #include <limits> #include <vector> #include "gdef.h" #include "gpos.h" #include "layout.h" #include "maxp.h" // GSUB - The Glyph...
C++
third_party/ots/src/gsub.cc
mxOBS/deb-pkg_trusty_chromium-browser
bsd-3-clause
19,426
675
codeparrot/github-code
9c5abe65d0fe60e0592045a64725eb99eef36c3b82d7729007796b0281bf506c
/* * OF helpers for parsing display timings * * Copyright (c) 2012 Steffen Trumtrar <s.trumtrar@pengutronix.de>, Pengutronix * * based on of_videomode.c by Sascha Hauer <s.hauer@pengutronix.de> * * This file is released under the GPLv2 */ #include <linux/export.h> #include <linux/of.h> #include <linux/slab.h> #...
C
unionfs-3.10.y/drivers/video/of_display_timing.c
prasidh09/cse506
gpl-2.0
6,424
239
codeparrot/github-code
ddb9164db4745ce1b7dc7f1d32138027b9a980047181fe753c98d773a6b8391c
// Copyright 2009-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 #pragma once #include "../common/geometry.h" #include "../common/ray.h" #include "../common/hit.h" #include "../common/context.h" namespace embree { namespace isa { __forceinline bool runIntersectionFilter1Helper(RTCFilterFunctio...
C
thirdparty/embree/kernels/geometry/filter.h
honix/godot
mit
6,495
205
codeparrot/github-code
846faf607294c7227070adb071b055e802b9d4bd389571cc36025ad4c1732bbe
#!/usr/bin/env python3 # Copyright (c) 2014-2018 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test the getchaintips RPC. - introduce a network split - work on chains of different lengths - join th...
Python
test/functional/rpc_getchaintips.py
litecoin-project/litecoin
mit
2,291
63
codeparrot/github-code
62d18b7db78876496da18d11992a24fd1bcaf5f32b4109201f24c25b93167075
package com.appMobi.appMobiLib; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileWriter; import java.io.IOException; import java.net.URLEncoder; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Calendar; import java.util.Collec...
Java
appMobiLib/src/com/appMobi/appMobiLib/AppMobiAnalytics.java
jasonweng/android
mit
8,899
290
codeparrot/github-code
3900fdaa9ddf1c316dbbe1131510c6c725cf0869ee265ad1acde54851fca4d85
/* libs/graphics/animator/SkDisplayType.h ** ** Copyright 2006, 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...
C
src/cocos2dx/platform/third_party/blackberry/include/grskia/SkDisplayType.h
TukekeSoft/jacos2d-x
mit
5,819
217
codeparrot/github-code
fe326870661b7056127bbde6fb88dad4847d651806f1374aa880e8f59c0db48f
#!/usr/bin/perl # Copyright © 2011 Rafaël Carré <funman at videolanorg> # # 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 ver...
Perl
extras/package/win32/peflags.pl
Jobq/vlc-mdc
gpl-2.0
1,584
63
codeparrot/github-code
ff8bfe437b6fe4c1f357b1c82e16261c1247e6dd4b0265f3aef8e71250c477d2
/* * Copyright (c) 1999, 2011, 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/ci/ciSignature.hpp
BobZhao/HotSpotResearch
gpl-2.0
2,603
75
codeparrot/github-code
193138390b96c8f59a1726d20454c2ce09c01bb82d5e2f96afe745f4353c1b3f
#ifndef _VKMS_DRV_H_ #define _VKMS_DRV_H_ #include <drm/drmP.h> #include <drm/drm.h> #include <drm/drm_gem.h> #include <drm/drm_encoder.h> #include <linux/hrtimer.h> #define XRES_MIN 20 #define YRES_MIN 20 #define XRES_DEF 1024 #define YRES_DEF 768 #define XRES_MAX 8192 #define YRES_MAX 8192 extern bool...
C
drivers/gpu/drm/vkms/vkms_drv.h
uniphier/linux-unph
gpl-2.0
3,570
143
codeparrot/github-code
b15f941a58c88f0ef87e7f2ff4c0c2940be02121e44245acd751441b46fc9590
/* /linux/drivers/misc/modem_if/modem_modemctl_device_mdm6600.c * * Copyright (C) 2010 Google, Inc. * Copyright (C) 2010 Samsung Electronics. * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Foundation, and * may be copied, distributed...
C
drivers/misc/modem_if/modem_modemctl_device_mdm6600.c
ownhere/samsung-kernel-sgs3-ownhere
gpl-2.0
14,810
563
codeparrot/github-code
cabe79c173668d68fc78f5ff6630c5ed1ec877e15190c2b90e9f3ca9e7149a6f
/* PR middle-end/47893 */ /* { dg-do run } */ /* { dg-options "-O2" } */ /* { dg-options "-O2 -mtune=atom -fno-omit-frame-pointer -fno-strict-aliasing" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */ extern void abort (void); struct S { unsigned s1:4, s2:2, s3:2, s4:2, s5:2, s6:1, s7:1, s8:1, s9:1, s10:1; in...
C
uefi/gcc/gcc-4.6.3/gcc/testsuite/gcc.dg/pr47893.c
SanDisk-Open-Source/SSD_Dashboard
gpl-2.0
3,260
188
codeparrot/github-code
61ab464a4f684ae3f893f0d2ba2b3bf04d21b7e392eee7205e590730a6d53d81
package org.thoughtcrime.securesms.service; import android.app.Service; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.os.Binder; import android.os.Handler; import android.os.IBinder; import android.util.Log; ...
Java
src/org/thoughtcrime/securesms/service/RegistrationService.java
jocelynthode/TextSecure
gpl-3.0
15,468
387
codeparrot/github-code
0819369b1bc72f0430c8db15d67427e2f2adb2d818322051cfb875524393b891
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Why my application fails to link with Boost.Log? What's the fuss about library namespaces?</title> <link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XS...
HTML
thirdparty/sources/boost_1_60_0/libs/log/doc/html/log/rationale/namespace_mangling.html
gwq5210/litlib
gpl-3.0
7,173
92
codeparrot/github-code
4102bf2981e9900077da0bcbef77f11d2afa59d6a8784cc6aba4a50c8c7be33b
/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 University of California, Los Angeles * * 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...
C
utils/trie/lfu-policy.h
deepakar/DCNDN
gpl-3.0
4,282
162
codeparrot/github-code
6b5707fa343cba4d50b790afcfcb3f120f817dc02615549076d2c87539289ab6
/* Copyright (C) 2005-2016 Free Software Foundation, Inc. Contributed by Richard Henderson <rth@redhat.com>. This file is part of the GNU Offloading and Multi Processing Library (libgomp). Libgomp is free software; you can redistribute it and/or modify it under the terms of the GNU General Public Licen...
C
source/gcc-latest/libgomp/config/posix/lock.c
selmentdev/selment-toolchain
gpl-3.0
5,963
306
codeparrot/github-code
e67c93b02e369b7bc6f0d27d170a94dc73d5f866295590a8d2567d9fa287c7a7
----------------------------------- -- -- Zone: RoMaeve (122) -- ----------------------------------- package.loaded["scripts/zones/RoMaeve/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/RoMaeve/TextIDs"); require("scripts/globals/zone"); --...
Lua
scripts/zones/RoMaeve/Zone.lua
AlexandreCA/update
gpl-3.0
2,428
91
codeparrot/github-code
0f2ccbfbc4fc577d69928dad0eed44593da897553ff86e79436c430201071352
/* * ArcScripts for ArcEmu MMORPG Server * Copyright (C) 2009 ArcEmu Team <http://www.arcemu.org/> * Copyright (C) 2008-2009 Sun++ Team <http://www.sunscripting.com/> * Copyright (C) 2008 WEmu Team * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Pu...
C++
src/scripts/src/QuestScripts/Quest_LochModan.cpp
arcemu-ng/arcemu
agpl-3.0
3,075
83
codeparrot/github-code
44f0356e7993c698b8b307d333a5ac2ea0da1d6a38220a8daa0fea7a10f701b6
/* * ArcScripts for ArcEmu MMORPG Server * Copyright (C) 2009 ArcEmu Team <http://www.arcemu.org/> * Copyright (C) 2008-2009 Sun++ Team <http://www.sunscripting.com/> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * ...
C++
src/scripts/src/InstanceScripts/Raid_TheObsidianSanctum.cpp
sysuzhang/arcemu
agpl-3.0
12,532
462
codeparrot/github-code
bec9370305e83efae4596215ff17a3300074bb9282cbb7bd95154b9bae1e0629
from ..libmp.backend import xrange from .functions import defun, defun_wrapped, defun_static @defun def stieltjes(ctx, n, a=1): n = ctx.convert(n) a = ctx.convert(a) if n < 0: return ctx.bad_domain("Stieltjes constants defined for n >= 0") if hasattr(ctx, "stieltjes_cache"): stieltjes_c...
Python
venv/lib/python2.7/site-packages/sympy/mpmath/functions/zeta.py
GbalsaC/bitnamiP
agpl-3.0
35,983
1,147
codeparrot/github-code
f3625089c43d02b5e254bfc2c02a8d45039131d6e4b7944966561613a4092777
// Accord Math Library // The Accord.NET Framework // http://accord-framework.net // // Copyright © César Souza, 2009-2015 // cesarsouza at gmail.com // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as publish...
C#
Sources/Accord.Math/Optimization/Unconstrained/FanChenLinQuadraticOptimization.cs
AnnaPeng/framework
lgpl-2.1
29,678
880
codeparrot/github-code
dcab8bfd87bb74b0f7a535fc2ecd88c9c4eca0ac9f463a29ff7e89161445e291
/** * 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
curator-examples/src/main/java/discovery/InstanceDetails.java
digital-abyss/curator
apache-2.0
1,456
52
codeparrot/github-code
eaafae7254766acac0e193419db92542dd5d40d92c4217926246819f06744fda
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
Java
contrib/extensions/distribution/core/src/test/java/org/apache/sling/distribution/monitor/impl/ForwardDistributionAgentMBeanTest.java
cleliameneghin/sling
apache-2.0
3,984
80
codeparrot/github-code
5c4b337523b83634daab630d9f26af68b6a7db9aef277950f99857b644af3dec
/* * [The "BSD licence"] * Copyright (c) 2005-2008 Terence Parr * All rights reserved. * * Conversion to C#: * Copyright (c) 2008 Sam Harwell, Pixel Mine, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the followi...
C#
thirdparty/antlr3-antlr-3.5/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/DictionaryExtensions.cs
ekcs/congress
apache-2.0
4,625
136
codeparrot/github-code
7c03b4e24d21a3f2eb7c8409dee4fb69e2b5ebbd29200f2e3fd54d2b7224de6f
/* * 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
flink-core/src/test/java/org/apache/flink/util/ArrayUtilsTest.java
apache/flink
apache-2.0
2,126
60
codeparrot/github-code
b0547551880ffe45b2ebe2bb0a29e4d2589ba34faff83e3b23d5f77dfe954f4f
// -*- mode: java; c-basic-offset: 2; -*- // Copyright 2009-2011 Google, All Rights reserved // Copyright 2011-2012 MIT, All rights reserved // Released under the Apache License, Version 2.0 // http://www.apache.org/licenses/LICENSE-2.0 package com.google.appinventor.components.runtime; import com.google.appinventor....
Java
appinventor/components/src/com/google/appinventor/components/runtime/SoundRecorder.java
tvomf/appinventor-mapps
apache-2.0
8,379
243
codeparrot/github-code
26083118093687ddb3e407faec56071e33744da20d763eaa98eeddf69ff698e9
/* * Copyright 2005-2007 WSO2, Inc. (http://wso2.com) * * 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
modules/samples/product/Chad/src/org/wso2/appserver/sample/chad/data/ChadPollResult.java
sanethd/product-as
apache-2.0
2,258
91
codeparrot/github-code
ab75ef13df1c31def46e60ae3a818578b3fed1e5e4c034bff5feb285a16397ff
package org.zstack.test.storage.backup; import junit.framework.Assert; import org.junit.Before; import org.junit.Test; import org.zstack.core.Platform; import org.zstack.core.cloudbus.CloudBus; import org.zstack.core.componentloader.ComponentLoader; import org.zstack.core.db.DatabaseFacade; import org.zstack.header.me...
Java
test/src/test/java/org/zstack/test/storage/backup/TestAllocateBackupStorage3.java
zstackorg/zstack
apache-2.0
2,423
67
codeparrot/github-code
13877292cdd3d57e3b8e0db6e7d3939e8bd64d16dd6903365c72fc4538d3d22e
/* * Copyright 2009 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
Java
src/impl/java/com/google/template/soy/SoyModule.java
core9/closure-templates
apache-2.0
2,866
76
codeparrot/github-code
7c3fcf052353782880dad38ab19b573bed6c427a4eee7fe8a67669c19769ae10
//****************************************************************************** // // Copyright (c) 2016 Microsoft Corporation. All rights reserved. // // This code is licensed under the MIT License (MIT). // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LI...
C
include/StoreKit/SKPaymentTransaction.h
yweijiang/WinObjC
mit
1,888
49
codeparrot/github-code
eb6d8e708c35406f7cd2def3cc80cf58055b1d435f2332c4c1e1509a2f16b309
//---------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //---------------------------------------------------------------- namespace System.ServiceModel.Discovery { using System.Collections.Generic; using System.Collections.ObjectModel; ...
C#
System.ServiceModel.Discovery/System/ServiceModel/Discovery/FindResponse.cs
sekcheong/referencesource
mit
2,000
55
codeparrot/github-code
c7d7184f100c011a57d6482a5478a31c751d843943827001699f9e12914d72e9
//------------------------------------------------------------------------------ // <copyright file="LinqDataSource.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> //------------------------------------------------------------------------------ namespace Syste...
C#
System.Web.Extensions/ui/WebControls/LinqDataSource.cs
sekcheong/referencesource
mit
17,606
617
codeparrot/github-code
8db5ac6a0006b526cff05e789328f89c50d412f6015d965a28e4347a5ca26700
/** * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components * @version v12.0.1 * @link http://www.ag-grid.com/ * @license MIT */ "use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c ...
JavaScript
ajax/libs/ag-grid/12.0.1/lib/headerRendering/headerRenderer.js
sufuf3/cdnjs
mit
7,396
135
codeparrot/github-code
2b4281fb0bacbde56dcf3b77caeec920b3d887d467628bf491bcba5fba5b95bb
/** * Copyright (c) 2009--2014 Red Hat, Inc. * * This software is licensed to you under the GNU General Public License, * version 2 (GPLv2). There is NO WARRANTY for this software, express or * implied, including the implied warranties of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. You should have rece...
Java
java/code/src/com/redhat/rhn/domain/kickstart/KickstartPackage.java
xkollar/spacewalk
gpl-2.0
5,119
204
codeparrot/github-code
c918ca384253fb08c3e712bae3552ecaced6f36bb10d4f80b289dd27c84acaed
#pragma once namespace vm { using namespace ps3; } enum CELL_MOUSE_ERROR_CODE { CELL_MOUSE_ERROR_FATAL = 0x80121201, CELL_MOUSE_ERROR_INVALID_PARAMETER = 0x80121202, CELL_MOUSE_ERROR_ALREADY_INITIALIZED = 0x80121203, CELL_MOUSE_ERROR_UNINITIALIZED = 0x80121204, CELL_MOUSE_ERROR_RESOURCE_ALLOCATION_FAILED = 0x801...
C
rpcs3/Emu/SysCalls/Modules/cellMouse.h
Endika/rpcs3
gpl-2.0
1,077
54
codeparrot/github-code
960f62b8718cb60f482d39d9c280f7984bf64a7d13a34bb1e17a9f82152fb727
/* * dv1394-private.h - DV input/output over IEEE 1394 on OHCI chips * Copyright (C)2001 Daniel Maas <dmaas@dcine.com> * receive, proc_fs by Dan Dennedy <dan@dennedy.org> * * based on: * video1394.h - driver for OHCI 1394 boards * Copyright (C)1999,2000 Sebastien Rougeaux <sebastien.rougeaux@anu.edu.au...
C
linux-2.4.x/drivers/ieee1394/dv1394-private.h
sensysnetworks/uClinux
gpl-2.0
17,477
592
codeparrot/github-code
0d21dc21f6783194ff41b1c7c7bef8df9d621739effad39f9048eaf21b6c0890
<?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 an...
PHP
src/public/lib/Zend/View/Helper/HtmlElement.php
Eristoff47/P2
gpl-2.0
4,337
157
codeparrot/github-code
4079b7c6c82e8c30d7bf58360caa6bd044cb6f3877825f556d3e538316d60316
/* * This file is part of Cleanflight. * * Cleanflight is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * Cleanflight is distr...
C
src/main/drivers/accgyro_spi_mpu6000.c
alvins82/cleanflight
gpl-3.0
9,668
352
codeparrot/github-code
e35411e11d486656feda977d887a14ccf2a04fe652429e72054705fd751f14d1
/* * Licensed to Metamarkets Group Inc. (Metamarkets) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Metamarkets licenses this file * to you under the Apache License, Version 2.0 (the * "License"); yo...
Java
processing/src/test/java/io/druid/query/timeboundary/TimeBoundaryQueryTest.java
fjy/druid
apache-2.0
4,859
125
codeparrot/github-code
e451cee4d9ec830c7246ba6ba83db0b19624710a63b18d4fd0b0d09d8a6d5aa7
/* * 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
modules/clients/src/test/java/org/apache/ignite/internal/processors/rest/TestMemcacheClient.java
irudyak/ignite
apache-2.0
26,565
904
codeparrot/github-code
2a4cb266fc6b5a3591c5e80720d0fc27960dd9f95c58bd804bb45d29d931b2a1
/* * 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/test/java/org/elasticsearch/index/query/SpanTermQueryBuilderTests.java
strapdata/elassandra
apache-2.0
5,998
139
codeparrot/github-code
0f64dc5840dfe6e0e2ae714728f08f05cb6de723391c54c71aedcd991f5dc9fa
package com.mossle.ext; import java.util.Map; import javax.servlet.http.HttpServletRequest; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.util.LinkedMultiValueMap; import org.springframework.util.MultiValueMap; import org.springframework.web.multipart.MultipartFile; import org...
Java
src/main/java/com/mossle/ext/MultipartHandler.java
callmeyan/lemon
apache-2.0
3,091
88
codeparrot/github-code
ddabc0b48fcf61c6bb09fba2acf129df274efbec4acded8cf328363a47bcb2a6
#include <stdlib.h> #include <string.h> #ifndef WIN32 #include "config.h" #endif #ifdef ENABLE_NLS #include <libintl.h> #endif #define _ISOC9X_SOURCE 1 #define _ISOC99_SOURCE 1 #define __USE_ISOC99 1 #define __USE_ISOC9X 1 #include <math.h> #include "ladspa.h" #ifdef WIN32 #...
C
universal-daw/plugins/LadspaEffect/swh/wave_terrain_1412.c
universalprojectfile/universal-project-file
apache-2.0
6,290
243
codeparrot/github-code
f2f3798cf2e661ff6ab448b96cf41d54e18b73f48c9606c1b7985164bc938cd4
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_UI_WEBUI_PROFILER_UI_H_ #define CHROME_BROWSER_UI_WEBUI_PROFILER_UI_H_ #include "base/memory/weak_ptr.h" #include "components/...
C
chrome/browser/ui/webui/profiler_ui.h
guorendong/iridium-browser-ubuntu
bsd-3-clause
1,229
36
codeparrot/github-code
0e8406a4cbd622b997faf14bd205e2ac3eb6058dab2fa03b4ce57a07299845fd
////////////////////////////////////////////////////////////////////////// // Software License Agreement (BSD License) // // // // Copyright (c) 2009 // // Engin Tola ...
C
src/third_party/daisy/include/kutility/math.h
guivi01/libmv
mit
40,857
1,510
codeparrot/github-code
867adf54785c02e75800f95d6c336d2f3ce9d968ff3195eba7f7534a9cd626c7
/* * Copyright (C) 2002-2015 The DOSBox Team * * 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 p...
C
src/cpu/core_full/save.h
gammy/dosbox_ne2000
gpl-2.0
3,165
118
codeparrot/github-code
d57b38fcbd808f649e24db15e8a25b20d1f59b0f23c61384f62b91d14e28cb3b
/* * File: pci-acpi.c * Purpose: Provide PCI support in ACPI * * Copyright (C) 2005 David Shaohua Li <shaohua.li@intel.com> * Copyright (C) 2004 Tom Long Nguyen <tom.l.nguyen@intel.com> * Copyright (C) 2004 Intel Corp. */ #include <linux/delay.h> #include <linux/init.h> #include <linux/pci.h> #include <linux/mo...
C
drivers/pci/pci-acpi.c
JonnyH/pandora-kernel
gpl-2.0
10,108
389
codeparrot/github-code
177f3d3d9f4c41f5d4f0fbd54dd77d8662a78559c01b0203e55d961f43f8c2d5
/* Copyright 2016 Fred Sundvik <fsundvik@gmail.com> Jun Wako <wakojun@gmail.com> This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version...
C
qmk_firmware/keyboards/ergodox/infinity/matrix.c
hiro2016/ergodox_gui_configurator
gpl-2.0
5,499
174
codeparrot/github-code
628ac5eed9d4e659037cfa3cd61494fe448515ad3e33c7f3021eb2cf4cda8640
/* * Registrar protocol messages * * Copyright (C) 2012, Broadcom Corporation * All Rights Reserved. * * This is UNPUBLISHED PROPRIETARY SOURCE CODE of Broadcom Corporation; * the contents of this file may not be disclosed to third parties, copied * or duplicated in any form, in whole or in part, without the p...
C
release/src-rt/wps/common/include/reg_protomsg.h
wkritzinger/asuswrt-merlin
gpl-2.0
8,016
315
codeparrot/github-code
9311a2695590bb09c37a3b26f5c05a928838d48a10020ce715b38d16d5a522a0
/* * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client * Copyright (C) 2002-2012 Match Grun and the Claws Mail team * * 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 ver...
C
src/common/xmlprops.h
eworm-de/claws-mail
gpl-3.0
1,960
59
codeparrot/github-code
36cd3bd24a71a59451dea7e39b46248409167954f5192ae7b4f74bcca713f373
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; namespace ScottClayton.Neural { /// <summary> /// A list of NNVectors with an added size check and the ability to save the list. /// </summary> class DoubleVectorList : List<DoubleVector> ...
C#
ScottClayton.CAPTCHA/Neural/DoubleVectorList.cs
rss9051/captcha-breaking-library
gpl-3.0
1,463
51
codeparrot/github-code
8876e5673c1b580ff1d3d9f71c99a12e107501c833040249eb1f6bdf06e693df
/* Unix SMB/CIFS implementation. Winbind status program. Copyright (C) Tim Potter 2000-2003 Copyright (C) Andrew Bartlett <abartlet@samba.org> 2003-2004 Copyright (C) Francesco Chemolli <kinkie@kame.usr.dsi.unimi.it> 2000 Copyright (C) Robert O'Callahan 2006 (added cached credential code). C...
C
source3/utils/ntlm_auth.c
QGuLL/samba
gpl-3.0
82,796
2,929
codeparrot/github-code
ba6e817d391fd261aaaf8543c54d8c532c17035a68f710b42c2935694f05e768
----------------------------------- -- Shoulder Tackle -- Hand-to-Hand weapon skill -- Skill Level: 40 -- Stuns target. Chance of stunning varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Aqua Gorget & Thunder Gorget. -- Aligned with the Aqua Belt & Thunder Belt. -- Element: None -- Modifie...
Lua
scripts/globals/weaponskills/shoulder_tackle.lua
n0xus/darkstar
gpl-3.0
1,562
46
codeparrot/github-code
c4e052c5bd86290d5b44736f13026c66a999151bfc548aed877dc706cd153901
# pylint: disable=missing-docstring # pylint: disable=redefined-outer-name # pylint: disable=unused-argument from lettuce import step, world from common import * ############### ACTIONS #################### @step('There are no courses$') def no_courses(step): world.clear_courses() create_studio_user() @...
Python
cms/djangoapps/contentstore/features/courses.py
Stanford-Online/edx-platform
agpl-3.0
2,137
78
codeparrot/github-code
d8418ba4525fba2bbd3dc1885f054561d646aba0dd1451715b69af4e090c6b02
/** * * SugarCRM Community Edition is a customer relationship management program developed by * SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc. * * SuiteCRM is an extension to SugarCRM Community Edition developed by SalesAgility Ltd. * Copyright (C) 2011 - 2018 SalesAgility Ltd. * * This program is free so...
JavaScript
jssource/src_files/modules/ACLRoles/ACLRoles.js
lionixevolve/SuiteCRM
agpl-3.0
3,972
102
codeparrot/github-code