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
0571fcb2406d9565ca19e47609a75228322cc36c5348000d2afefa4a0691f48b
/* 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...
C
tensorflow/compiler/mlir/lite/utils/stateful_ops_utils.h
tensorflow/tensorflow
apache-2.0
1,186
32
codeparrot/github-code
22ae20bd708415677ba0318671ef2f608362a7b5a47da8c7e83643bdbcea9fb1
/* * #%L * Wisdom-Framework * %% * Copyright (C) 2013 - 2015 Wisdom Framework * %% * 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...
Java
core/wisdom-ipojo-module/src/test/java/org/wisdom/bnd/plugins/ImportedPackageRangeFixerTest.java
CRDNicolasBourbaki/wisdom
apache-2.0
15,210
342
codeparrot/github-code
5da78b9efd3400d46db80437723a8bb9676033e0daaa7a6af627fa3a8351ab1e
/* * Copyright (c) 2008-2021, Hazelcast, Inc. 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 ...
Java
hazelcast/src/main/java/com/hazelcast/cp/internal/datastructures/spi/AbstractCPMigrationAwareService.java
emre-aydin/hazelcast
apache-2.0
3,510
98
codeparrot/github-code
b22435d8c72707d5be6cc5a607906f20092cc5ae9e732632c990947b48b34a23
/* * 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
hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/s3guard/ITestDynamoDBMetadataStore.java
littlezhou/hadoop
apache-2.0
25,081
692
codeparrot/github-code
e47ecb82a5b331c995d43f0a5c12092cd4f762a55e51e1aea9f030c0ed2988fc
/* * 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/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/opt/GridH2MetaTable.java
psadusumilli/ignite
apache-2.0
10,150
386
codeparrot/github-code
372164828908b708f8bb901c55fdfc23d4b0c60121780e33769d81e348c57a26
/* * 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-cli/src/main/java/com/facebook/presto/cli/Console.java
bd-dev-mobileum/presto
apache-2.0
13,407
337
codeparrot/github-code
0e91253d1c64262430993b793bf32f1bc529068f7d9aef7476b77265f95e44fb
/* * 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
core/src/main/scala/org/apache/spark/network/nio/ConnectionId.scala
ArvinDevel/onlineAggregationOnSparkV2
apache-2.0
1,475
37
codeparrot/github-code
a7e58181ada1f8a9fc8a346caabdaa5b66052c90cc69b65f3dbf0b79d0dcc874
/* * 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-elasticsearch/src/test/java/com/facebook/presto/elasticsearch/TestingElasticsearchConnectorFactory.java
facebook/presto
apache-2.0
2,418
75
codeparrot/github-code
ce636c27e32873ff22a0777a09753cdba0147de727cf22922860475675fa0792
/****************************************************************************** Copyright (c) 2007-2011, Intel Corp. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of sou...
C
thirdparty/inteldfp/LIBRARY/src/inteldfp/bid_internal.h
bowlofstew/bde
apache-2.0
94,759
2,980
codeparrot/github-code
15320fdcfa97f6ca6ad899277cf1ecc0766f00b94377c9a0e8c37df1add8b3a2
/* * ModeShape (http://www.modeshape.org) * * 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 o...
Java
modeshape-jcr/src/test/java/org/modeshape/jcr/ClusteredRepositoryTest.java
phantomjinx/modeshape
apache-2.0
16,068
357
codeparrot/github-code
f67334da02d85149c455f244850ad81da4924e0e395e900a9f531f748dedc978
/* * Copyright (c) 2008-2021, Hazelcast, Inc. 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 ...
Java
hazelcast/src/main/java/com/hazelcast/map/impl/operation/MapFlushOperationFactory.java
emre-aydin/hazelcast
apache-2.0
1,584
57
codeparrot/github-code
3fe1ebffe8051cd6bc11957ae7504668b3184502840633f745dc9585805ff1f6
// Copyright 2015 Traceur 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 ...
JavaScript
src/codegeneration/RewriteTailCallsTransformer.js
rossberg-chromium/traceur-soundscript
apache-2.0
2,702
78
codeparrot/github-code
cb758fde34959dc6f10b48c557ad3e9e72b083a8a0e522276f718088de8895ec
/*++ Copyright (c) 2004 - 2006, Intel Corporation. All rights reserved.<BR> This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be fou...
C
third_party/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/UefiLib/Console.c
google/google-ctf
apache-2.0
10,306
289
codeparrot/github-code
4677ac6ce7a7517efadd8fea6ad82839f9ce2986bbaf3f949d13841b1ea20714
using System; namespace Lucene.Net.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 ...
C#
src/Lucene.Net.TestFramework/Util/TestRuleFieldCacheSanity.cs
mdissel/lucene.net
apache-2.0
2,734
91
codeparrot/github-code
105958ec2e1fc5556e02fd8964112eb3935df444e0a9034ce4ff6bfccd8a5809
/* * Copyright 2011 JBoss 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
drools-informer/drools-informer-core/src/test/java/org/drools/informer/rules/DomainModelRulesTest.java
lanceleverich/drools-chance
apache-2.0
21,966
429
codeparrot/github-code
468e904c3303c5f2c2f77908f0ea8b50586bb74e6a8677ac9c51cd2201c82495
/* * 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
src/main/java/org/elasticsearch/index/fielddata/ordinals/InternalGlobalOrdinalsIndexFieldData.java
fabiofumarola/elasticsearch
apache-2.0
5,692
138
codeparrot/github-code
ecfc790fd2a5c7aa7059a9fe3f2dff410593cb3881a3a710a0579a66b76b7ba4
package org.nutz.dao.impl.entity.info; import java.lang.reflect.Field; import java.lang.reflect.Method; import org.nutz.dao.DaoException; import org.nutz.dao.entity.annotation.ColDefine; import org.nutz.dao.entity.annotation.Column; import org.nutz.dao.entity.annotation.Comment; import org.nutz.dao.entity.annotation....
Java
src/org/nutz/dao/impl/entity/info/_Infos.java
nutzam/nutz
apache-2.0
6,110
151
codeparrot/github-code
f59f785333eca90f8626f8e252906268e86eb544b0cc3c9b0ffaea2d458f4151
/* * 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-cdi/src/test/java/org/apache/camel/cdi/test/XmlRoutesDefinitionTest.java
objectiser/camel
apache-2.0
2,623
75
codeparrot/github-code
a8a96b701da3bafa2cb9d2e5a9aa90eebda209afa0f151a49e04a5df8f898df8
package org.jetbrains.plugins.scala package lang package transformation package calls /** * @author Pavel Fatin */ class CanonizeZeroArityCallTest extends TransformerTest(new CanonizeZeroArityCall()) { override protected val header: String = """ object O { def f(): A = _ def g: A = _ ...
Scala
test/org/jetbrains/plugins/scala/lang/transformation/calls/CanonizeZeroArityCallTest.scala
loskutov/intellij-scala
apache-2.0
583
33
codeparrot/github-code
9643b024116c4cb8be6a0e7f700b52295f4fbfca4c02e68613c89b5ecfc3616c
/* * Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you 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/li...
JavaScript
components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.operation-bar/operation-bar.js
prithvi66/carbon-device-mgt
apache-2.0
2,793
64
codeparrot/github-code
5126070e585c3189d9ee47f88d08e6095e7952951c796debcb7021c5c6e80916
/* * 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
gobblin-modules/gobblin-kafka-09/src/test/java/org/apache/gobblin/kafka/source/extractor/extract/kafka/KafkaSimpleStreamingTest.java
pcadabam/gobblin
apache-2.0
10,760
268
codeparrot/github-code
88751f6d4d367a58543706577e6f61981ab9dbbb30e5c8c56354c7b72e8c9eb2
/** @file Close an open directory. Copyright (c) 2010 - 2011, Intel Corporation. All rights reserved.<BR> This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the li...
C
third_party/edk2/StdLib/PosixLib/Gen/closedir.c
google/google-ctf
apache-2.0
3,098
89
codeparrot/github-code
b663520732a19054be934633ea4392c428048589194bb96090cdfa1c51d1bb17
<?php /** * Time Helper class file. * * PHP versions 4 and 5 * * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) * Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice....
PHP
site/cake/libs/view/helpers/time.php
faisalthaheem/denovo-voucher-script
apache-2.0
25,812
788
codeparrot/github-code
e38b317e80e288ac17b133a7c919cd0443bb5b05d4099b6abeba0f096b37af58
/* * Copyright (c) 2002, 2006, 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 ...
Java
test/J2s/java/openjdk-6-src-b27/jdk/src/share/classes/sun/nio/cs/ext/ISO2022_KR.java
andreagenso/java2scala
apache-2.0
3,017
98
codeparrot/github-code
06a34c7a3ce147c558107e762de3ea44c841e3005b66cdea9a8b623b46a69dae
/** * Copyright (C) 2014 JBoss 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 agree...
Java
dashbuilder-shared/dashbuilder-dataset-api/src/main/java/org/dashbuilder/dataset/events/DataSetPushingEvent.java
porcelli-forks/dashbuilder
apache-2.0
1,215
41
codeparrot/github-code
bdb22bfe8d854d1673b2f4d173994c1019f50bb558a2c6b12c25e30b35f52b38
#!/bin/bash set -e # List of etcd servers (http://ip:port), comma separated export ETCD_ENDPOINTS= # Specify the version (vX.Y.Z) of Kubernetes assets to deploy export K8S_VER=v1.0.6 # The CIDR network to use for pod IPs. # Each pod launched in the cluster will be assigned an IP out of this range. # Each node will b...
Shell
multi-node/generic/controller-install.sh
chancez/coreos-kubernetes
apache-2.0
17,341
580
codeparrot/github-code
9480e411af1146a7901238675e30565055f315d041ea829ad51f78aae8945b95
/* * Copyright 2000-2009 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/editor/actions/EnterAction.java
android-ia/platform_tools_idea
apache-2.0
3,638
104
codeparrot/github-code
baed02d4b1b33a9c29fefec96a2b280a926b96dd749568b341b22dd6000ef943
//***************************************************************************** // @@@ START COPYRIGHT @@@ // // 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 owne...
C
core/sql/sqlcomp/PrivMgrComponents.h
apache/incubator-trafodion
apache-2.0
4,257
134
codeparrot/github-code
cfd1f8917bb96f7d64e0401eeae720982fbe041bc5ee3abc90724e8ffec43673
// Copyright 2015 Google Inc. All rights reserved. // Use of this source code is governed by the Apache 2.0 // license that can be found in the LICENSE file. package bookshelf // Book holds metadata about a book. type Book struct { ID int64 Title string Author string PublishedDate string...
GO
getting-started/bookshelf/book.go
danicat/golang-samples
apache-2.0
1,635
59
codeparrot/github-code
b70e04a54023e8495ce7ed86e54a873ca04c4c2c4f113786a5a14f1767e59a7f
// Copyright 2011 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. // +build dragonfly freebsd linux netbsd openbsd solaris package x509 import ( "io/ioutil" "os" ) // Possible directories with certificate files; stop afte...
GO
x509/root_unix.go
google/certificate-transparency-go
apache-2.0
2,160
89
codeparrot/github-code
35abe9166abdda75a8fea26d55872a96dae392b2292f27b07980a61ceafe43b5
/* * 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 not ...
Java
geode-core/src/distributedTest/java/org/apache/geode/internal/cache/execute/CustomResultCollector.java
smgoller/geode
apache-2.0
1,643
51
codeparrot/github-code
c3a6e3ad31ae19c7bf29285eb13bc44d8c11906762777ef21de4e7e940f9af07
/* * 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
dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/router/tag/model/TagRouterRule.java
qtvbwfn/dubbo
apache-2.0
2,783
91
codeparrot/github-code
fa05c1592fc61772b7fe501af6d52e658f63324bce3642447906a09e61cce1f9
#region License // Copyright (c) 2007 James Newton-King // // Permission is hereby granted, free of charge, to any person // obtaining a copy of this software and associated documentation // files (the "Software"), to deal in the Software without // restriction, including without limitation the rights to use, //...
C#
sonos-xsn-service/Libraries/Newtonsoft.Json/JsonWriter.cs
bietiekay/sonos-xsn-service
bsd-2-clause
57,711
1,523
codeparrot/github-code
e21678fc5ce1b5526db6d941fd811d52a14f09c006ecba8c575f5280b5a34662
/* * Copyright 2011-2015 Branimir Karadzic. All rights reserved. * License: http://www.opensource.org/licenses/BSD-2-Clause */ #include "common.h" #include "bgfx_utils.h" #include "imgui/imgui.h" struct PosColorVertex { float m_x; float m_y; float m_z; uint32_t m_abgr; static void init() { ms_decl .beg...
C++
examples/19-oit/oit.cpp
BlueCrystalLabs/bgfx
bsd-2-clause
12,105
468
codeparrot/github-code
34763373e2b2dbeebcd76060a771037374ee9ddf456134cee1e79d7852a63780
/*Daala video codec Copyright (c) 2012 Daala project contributors. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this list o...
C
src/laplace_decoder.c
luctrudeau/daala
bsd-2-clause
10,615
338
codeparrot/github-code
e4eaf259152d9a03a9bd7348455ecc2fdd9191aa7f8452f65faf4a45d3ed35fb
/* * RandomForest.h * TTree * * Created by Vincent Botta on 02/03/09. * Copyright 2009 University of Liège. All rights reserved. * */ #ifndef __RANDOMFOREST__ #define __RANDOMFOREST__ #include "Learner.h" #include "ClassicTree.h" class RandomForest : public Learner { protected: unsigned int nbtree; unsi...
C
RandomForest.h
siolag161/TTree-source
bsd-2-clause
1,554
63
codeparrot/github-code
e09a3f4509c0e56810e962e15571417d81436a5308c515f538b4d9264a52d976
/***** Time Series Primitive Function Services Facility *****/ /*************************** ***** Facility Name ***** ***************************/ #define FacilityName pfTS /******************************************* ****** Header and Declaration Files ***** *******************************************/ /...
C++
software/src/8.0/src/backend/PFts.cpp
MichaelJCaruso/vision
bsd-3-clause
11,172
379
codeparrot/github-code
f3d7849538f6b51335353291c28f1fc2d5af96da2a32451951ba7f0974791da4
// Copyright 2014 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #include "../../../include/fpdfapi/fpdf_page.h" #include "../../../include/fpd...
C++
core/src/fpdfapi/fpdf_page/fpdf_page.cpp
rouault/pdfium
bsd-3-clause
32,401
1,076
codeparrot/github-code
72b3d298f99a7bd4686cb16f12d37070581b331db6e65ce52021a639e9ce2e24
// Copyright 2021 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/segmentation_platform/internal/signals/signal_filter_processor.h" #include <set> #include "base/logging.h" #include "components/seg...
C++
components/segmentation_platform/internal/signals/signal_filter_processor.cc
chromium/chromium
bsd-3-clause
4,664
120
codeparrot/github-code
10975e21fc867dcc6c95d07d4ed07d3db7fde0a1fccebb1c38be7d15f484601f
package org.hisp.dhis.period; /* * Copyright (c) 2004-2017, University of Oslo * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above...
Java
dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/period/DefaultPeriodService.java
troyel/dhis2-core
bsd-3-clause
11,200
348
codeparrot/github-code
46d70885afe111e8fcaca03cd97a8b5ea0ff4aed64afad83efc0a0e9be7fec73
// // Copyright (c) 2013 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // Blit11.cpp: Texture copy utility class. #include "libGLESv2/renderer/d3d/d3d11/Blit11.h" #include "libGLESv2/renderer/d3d/d3d11/Rendere...
C++
src/libGLESv2/renderer/d3d/d3d11/Blit11.cpp
jgcaaprom/android_external_chromium_org_third_party_angle
bsd-3-clause
46,117
1,045
codeparrot/github-code
ac906b4601f299b12ef73c5ead6c1c751a5575e7b10e7906d1b0a573df0bc150
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/performance_monitor/performance_monitor_util.h" #include "base/json/json_writer.h" #include "base/memory/scoped_ptr.h" #incl...
C++
chrome/browser/performance_monitor/performance_monitor_util.cc
nacl-webkit/chrome_deps
bsd-3-clause
3,606
88
codeparrot/github-code
a44cad063cc853fd523e0c0b26f42a22a4de852cdaecda8bc7ade9db6ae974cb
<?php // php cron.php -s site_admin -c cron/util/generate_translation_file $arrayTranslationsProcess = array(); $items = erLhcoreClassModelChatConfig::getItems(array('limit' => 500, 'filter' => array('hidden' => 0))); foreach ($items as $item) { $arrayTranslationsProcess['listchatconfig'][] = $item->explain; } $fi...
PHP
web/lhc/modules/lhcron/util/generate_translation_file.php
czechcamus/knihovna-dacice
bsd-3-clause
3,955
116
codeparrot/github-code
8c553f9fa698ebea171575d41583b95a6676f7440e4be2c13f7c9e5e9618747f
/* * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
C++
video_engine/test/auto_test/primitives/input_helpers.cc
lukeweber/webrtc-src-override
bsd-3-clause
5,534
173
codeparrot/github-code
8298b526e77ef8f1277b47209775bb1680e47ce8a130e1db109b5a09831a7e97
/*========================================================================= Library : Image Registration Toolkit (IRTK) Module : $Id$ Copyright : Imperial College, Department of Computing Visual Information Processing (VIP), 2008 onwards Date : $Date$ Version : $Revision$ Changes ...
C++
packages/registration/src/irtkSurfaceRigidRegistration.cc
trustswz/IRTK
bsd-3-clause
1,374
56
codeparrot/github-code
e94d54a18345f3c5757bf7ee490f5c75643a65f7c6b97c2e36173475e0cf84aa
/* * Copyright 2011 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "Sample.h" #include "SkCanvas.h" #include "SkFontMetrics.h" #include "SkGraphics.h" #include "SkPath.h" #include "SkRandom.h" #include "SkString.h" #include "SkTextUt...
C++
samplecode/SamplePolyToPoly.cpp
Hikari-no-Tenshi/android_external_skia
bsd-3-clause
5,177
162
codeparrot/github-code
6a258bfb81f36773cb17d865463fdfc967d860e2ef78ca967b72ad850ecc6f09
'''Tests the RPC "calculator" example.''' import unittest import types from pulsar import send from pulsar.apps import rpc, http from pulsar.apps.test import dont_run_with_thread from .manage import server, Root, Calculator class TestRpcOnThread(unittest.TestCase): app_cfg = None concurrency = 'thread' ...
Python
examples/calculator/tests.py
nooperpudd/pulsar
bsd-3-clause
9,018
252
codeparrot/github-code
e2f9eaa0763cdb765437d5aaafbd4fed51538a3c202e29a451433ebdd2ca3b7b
/* * libjingle * Copyright 2007, 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...
C
src/sslsocketfactory.h
teknobingo/txmpp
bsd-3-clause
3,547
100
codeparrot/github-code
258ecee11a5136fef921f1e152cdd48ab55026258c19b0bcbee5889574518651
// Copyright 2021 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ash/app_list/app_list_presenter_event_filter.h" #include <memory> #include <utility> #include "ash/app_list/app_list_controller_impl.h" #inclu...
C++
ash/app_list/app_list_presenter_event_filter.cc
chromium/chromium
bsd-3-clause
5,804
165
codeparrot/github-code
87f07742c57eb0a7f550264465f68c254d9280d8a635348b834c535d00462f27
using System; using Org.BouncyCastle.Crypto.Parameters; using Org.BouncyCastle.Math; using Org.BouncyCastle.Security; using Org.BouncyCastle.Utilities; namespace Org.BouncyCastle.Crypto.Generators { class DHKeyGeneratorHelper { internal static readonly DHKeyGeneratorHelper Instance = new DHKeyGenerator...
C#
src/C#/BouncyCastle/BouncyCastle-1.7/crypto/src/crypto/generators/DHKeyGeneratorHelper.cs
GaloisInc/hacrypto
bsd-3-clause
1,115
54
codeparrot/github-code
461a03b145765becdfe98a4c1f769174a530a52e2b40cb88d593213abf2bfbe8
// Copyright 2022 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/autofill_assistant/browser/base_browsertest.h" #include "content/public/test/content_browser_test_utils.h" #include "net/test/embedd...
C++
components/autofill_assistant/browser/base_browsertest.cc
chromium/chromium
bsd-3-clause
1,812
47
codeparrot/github-code
3e3d16ae88a88b0c497c986c475282522c3509ebf0a36d895201359e05bb2688
// 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. #ifndef UI_EVENTS_OZONE_EVDEV_LIBGESTURES_GLUE_GESTURE_PROPERTY_PROVIDER_H_ #define UI_EVENTS_OZONE_EVDEV_LIBGESTURES_GLUE_GESTURE_PROPERTY_PROVIDER_H_ #...
C
ui/events/ozone/evdev/libgestures_glue/gesture_property_provider.h
chromium/chromium
bsd-3-clause
13,723
352
codeparrot/github-code
23552e11e3f5a47b1b25106bd98ec4c26beb04b1ca71f533ddee99e946940ece
// Copyright (C) Pash Contributors. License: GPL/BSD. See https://github.com/Pash-Project/Pash/ using System; using System.Collections.Generic; using System.Management.Automation; namespace System.Management.Automation.Language { public class ConstantExpressionAst : ExpressionAst { public ConstantExpr...
C#
Source/System.Management/Automation/Language/ConstantExpressionAst.cs
ForNeVeR/Pash
bsd-3-clause
1,310
38
codeparrot/github-code
013dba6d3df2f7dc77a46d42746952eff0a643cd461cc54ab4820dc3a7cb915d
'use strict'; var grunt = require('grunt'); var BOWER_PATH = '../react-bower/'; var BOWER_GLOB = [BOWER_PATH + '*.{js}']; var BOWER_FILES = [ 'react.js', 'react.min.js', 'JSXTransformer.js', 'react-with-addons.js', 'react-with-addons.min.js' ]; var GH_PAGES_PATH = '../react-gh-pages/'; var GH_PAGES_GLOB = [GH_PAG...
JavaScript
grunt/tasks/release.js
lyip1992/react
bsd-3-clause
4,295
175
codeparrot/github-code
71fa0482485c7238da69c70ac0ef7e8e1d58d51d83b05cb32002354333db391e
/* * Software License Agreement (BSD License) * * Point Cloud Library (PCL) - www.pointclouds.org * Copyright (c) 2015-, Open Perception, Inc. * Copyright (c) 2015 The MITRE Corporation * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are pe...
C++
io/src/vlp_grabber.cpp
damienjadeduff/pcl
bsd-3-clause
7,194
208
codeparrot/github-code
3dfad56b30d44499bc60a3bb5f6b57c474f513f75bb2dfad8b4d311eddbbd608
//===-- UnwindAssemblyInstEmulation.cpp -----------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
C++
third_party/llvm/lldb/source/Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.cpp
endlessm/chromium-browser
bsd-3-clause
28,542
687
codeparrot/github-code
3599978aca8d543d1afaf6c1fdf7e27f204612eaa3d250acdf0fa2d5c1533750
// Copyright 2019 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef V8_SNAPSHOT_EMBEDDED_PLATFORM_EMBEDDED_FILE_WRITER_WIN_H_ #define V8_SNAPSHOT_EMBEDDED_PLATFORM_EMBEDDED_FILE_WRITER_WIN_H_ #include "src/base/...
C
lts/deps/v8/src/snapshot/embedded/platform-embedded-file-writer-win.h
enclose-io/compiler
mit
2,586
79
codeparrot/github-code
90356d0c4d1c047c7699353b886d11ea091e6757af986c7a13ec8c0b1d466afc
/* iroundf4 - for each of four float slots, round to the nearest integer, halfway cases are rounded away form zero. Copyright (C) 2006, 2007 Sony Computer Entertainment Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted p...
C
ThirdParty/bullet-2.75/Extras/simdmathlibrary/spu/simdmath/iroundf4.h
palestar/medusa
mit
2,357
62
codeparrot/github-code
d7f8a72762c13b7463dcb8b443ed554ef9a4e222d6c685096a41298f9a28b4c3
/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2014 Torus Knot Software Ltd Permission is hereby granted, free of charge, to any person obta...
C++
plugins/render/ogreRender/3rdParty/ogre/Tools/XSIExport/src/OgreXSISkeletonExporter.cpp
MTASZTAKI/ApertusVR
mit
21,920
548
codeparrot/github-code
f4e913f5d3c8923f2b4d010e8e0b7140dc4628a892737b9ae6b59ed3dc9b54bd
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Copyright (c) Microsoft Corporation. All rights reserved. /////////////////////////////////////////////////////////...
C#
Zelig/Zelig/Test/RunTime/NETMF/mscorlib/structs/StructsTests.cs
smaillet-ms/llilum
mit
33,726
1,136
codeparrot/github-code
0128dcad7055fab30a54a89b2f4d17fa2cbc105867058880916f097aaa7caa52
<?php namespace Concrete\Core\Cache\Page; use Concrete\Core\Logging\Channels; use Stash\Pool; use Concrete\Core\Page\Page as ConcretePage; use Concrete\Core\Support\Facade\Facade; use Concrete\Core\Cache\Driver\RedisStashDriver as Redis; /** * Class RedisPageCache * @author Derek Cameron <info@derekcameron.com> *...
PHP
concrete/src/Cache/Page/RedisPageCache.php
deek87/concrete5
mit
2,611
113
codeparrot/github-code
e87feee00c05e9aaae2ff62292c3ebd91e0da7617a4802590701aca2eff23775
using System; using System.Drawing; using MonoTouch.Foundation; using MonoTouch.UIKit; namespace HelloiOS { public partial class HelloiOSViewController : UIViewController { public HelloiOSViewController(IntPtr handle) : base(handle) { } public override void DidRec...
C#
module1/HelloiOS/HelloiOSViewController.cs
haithemaraissia/oakville-heritage-properties
mit
1,552
62
codeparrot/github-code
989df96797c23a3fe73614ce83512983847ac4e77310196cfe96b5b218c4accc
#-- # Ruby Whois # # An intelligent pure Ruby WHOIS client and parser. # # Copyright (c) 2009-2014 Simone Carletti <weppos@weppos.net> #++ require 'whois/record/parser/base_afilias' module Whois class Record class Parser # Parser for the whois.registrypro.pro server. # # @see Whois::Record:...
Ruby
lib/whois/record/parser/whois.registrypro.pro.rb
ex0s/whois-bundle
mit
759
42
codeparrot/github-code
9b4b04d27ae1eecaad07799dadf867c30dcb9f6c30bdebbae8854bfa89ff6391
// // LastfmActions.cs // // Authors: // Gabriel Burt <gburt@novell.com> // // Copyright (C) 2007-2008 Novell, Inc. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction...
C#
src/Extensions/Banshee.Lastfm/Banshee.Lastfm/LastfmActions.cs
mono-soc-2011/banshee
mit
9,322
272
codeparrot/github-code
7e6fd0b0b18d2071c2a5a37febe5f1e5a3d4978d36ea14fb1d48ffd68bd38f84
// 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 Dnn.PersonaBar.Security.Components.Checks { using System; using System.Collections.Generic; ...
C#
Dnn.AdminExperience/Dnn.PersonaBar.Extensions/Components/Security/Checks/CheckUnexpectedExtensions.cs
nvisionative/Dnn.Platform
mit
1,493
44
codeparrot/github-code
97d2be95e0af9e4f7605c1316b824deecfa8edd998051fedecf141edc742b2cb
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Collections.Generic; using osu.Framework.Bindables; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework....
C#
osu.Game/Screens/Play/HUD/ModFlowDisplay.cs
UselessToucan/osu
mit
2,302
84
codeparrot/github-code
f87e57632cd03a064a21ccdabba5b987717cb36f0d7861bd51f043892caea0ba
#region Copyright // // DotNetNuke® - http://www.dotnetnuke.com // Copyright (c) 2002-2014 // by DotNetNuke Corporation // // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated // documentation files (the "Software"), to deal in the Software without restricti...
C#
DNN Platform/Library/Obsolete/FolderPermissionController.cs
raphael-m/Dnn.Platform
mit
6,996
137
codeparrot/github-code
301cd38709c628ffd10619bcd1ea56e6d1d5fac42d0b30c78b4c20288a8df323
/* * Copyright (C) 2014 Camptocamp * * This file is part of MapFish Print * * MapFish Print 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 l...
Java
core/src/test/java/org/mapfish/print/map/style/json/MapfishJsonStyleVersion2Test.java
tsauerwein/mapfish-print
mit
1,781
48
codeparrot/github-code
087accd28b448ea16e9b70c075297c2238abe1dc0f96d29628d74fb562f1cee6
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.Azure.Devices.Common.Exceptions { using System; using System.Runtime.Serialization; using System.Web.UI; [Serializable] public ...
C#
csharp/service/Microsoft.Azure.Devices/Common/Exceptions/PreconditionFailedException.cs
5e8a91/Azure_C_Library_new
mit
988
34
codeparrot/github-code
bb464cbb4276cc5942fd2ef4f34c66cb803e2a0fb11b0825bd1d34b22429aecd
/** * The MIT License (MIT) * * Copyright (c) 2011-2016 Incapture Technologies LLC * * 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 t...
Java
Libs/Reflex/src/main/java/reflex/file/CSVFileReadAdapterHeader.java
jonathan-major/Rapture
mit
3,335
93
codeparrot/github-code
33c081b87d3b4295c8e9c0fd2c87c5adb5d9d0fe5ec62f6af497b2128afa371e
/* * Copyright (c) 2014 Travis Geiselbrecht * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files * (the "Software"), to deal in the Software without restriction, * including without limitation the rights to use, copy, modify, merge,...
C
lib/iovec/iovec.c
GCrean/lk
mit
2,734
93
codeparrot/github-code
761d8c9af2ec88de82fd339aabe6017b5020ffe49583ca3f02743b5833501a0c
// // Copyright (c) Microsoft Corporation. All rights reserved. // using System; using Windows.Devices.Gpio.Provider; using Windows.Foundation; using Llilum = Microsoft.Llilum.Devices.Gpio; namespace Windows.Devices.Gpio { internal class DefaultPinProvider : IGpioPinProvider { private Llilum.Gpio...
C#
Zelig/Zelig/RunTime/Framework/Windows/Devices/Gpio/DefaultPinProvider.cs
NETMF/llilum
mit
4,544
159
codeparrot/github-code
1699a94c1e09ef4d4674aa57f074fc5f7b25291e0ae9617522f95fd37d56765d
// Type definitions for tap 14.10 // Project: https://github.com/tapjs/node-tap // Definitions by: Tomas Della Vedova <https://github.com/delvedor> // Ulf Winkelvos <https://github.com/uwinkelvos> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TODO: can be removed as soon as http...
TypeScript
types/tap/index.d.ts
mcliment/DefinitelyTyped
mit
16,410
347
codeparrot/github-code
4853913c0579a8a989d27bcc01f8d88155f33a6c2fb46651ae2814444683c55b
package org.spongycastle.cert.dane; import java.io.IOException; import org.spongycastle.cert.X509CertificateHolder; import org.spongycastle.util.Arrays; /** * Carrier class for a DANE entry. */ public class DANEEntry { static final int CERT_USAGE = 0; static final int SELECTOR = 1; static final int MAT...
Java
pkix/src/main/java/org/spongycastle/cert/dane/DANEEntry.java
Skywalker-11/spongycastle
mit
2,309
84
codeparrot/github-code
864723352963c996fe5578fc9105bdd7e834025bb7fb27f9e8d536ee5f748ef5
<!DOCTYPE html> <html lang="en"> <head> <!-- BIOCONDA POSTER BADGE GENERATOR To add more templates, create in Inkscape, export. Be sure to make the page size wider than the bounding box so long package names will fit. Add an entry below to point to the new svg file. Modify the SVG file to include <tspan> ...
HTML
docs/source/static/badge-generator/index.html
bioconda/bioconda-utils
mit
9,106
251
codeparrot/github-code
f1fc514039028d24ccdfcff50caef1d6eab96144a24bd1331c2c05699ff18d5f
<!DOCTYPE html > <html> <head> <title>root - _root_</title> <meta name="description" content="root - root " /> <meta name="keywords" content="root root " /> <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> <link href="lib/template.css...
HTML
scalation_1.3/package.html
NBKlepp/fda
mit
2,488
91
codeparrot/github-code
bea1229efe6ce5345bd9f1a5fb3b412142e5ccdbf914dd7c97b72d2249403146
/* * The MIT License (MIT) * * Copyright (c) 2007-2015 Broad Institute * * 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 *...
Java
src/org/broad/igv/renderer/MappedColorScale.java
itenente/igv
mit
3,998
142
codeparrot/github-code
570a23cbfb7c55b41af211807940af3d8c792399fa54214cdd5f7c2cb808198c
import acorn from 'acorn/dist/acorn.js'; import acornJsx from 'acorn-jsx/inject'; import acornObjectSpread from 'acorn-object-spread/inject'; import Program from './program/Program.js'; import { features, matrix } from './support.js'; import getSnippet from './utils/getSnippet.js'; const { parse } = [ acornObjectSpre...
JavaScript
src/index.js
TimMensch/buble
mit
2,509
82
codeparrot/github-code
81d3a68de5b14c312c39f82941c599df5cbb6c9e2b497972169136513caf0627
# coding=utf-8 """ Openstack swift collector. #### Dependencies * swift-dispersion-report commandline tool (for dispersion report) if using this, make sure swift.conf and dispersion.conf are reable by diamond also get an idea of the runtime of a swift-dispersion-report call and make sure the collect interv...
Python
src/collectors/openstackswift/openstackswift.py
datacratic/Diamond-old
mit
3,925
96
codeparrot/github-code
e93c5161149477d8437bb04c67b614a4eab12e02d0394aac7aa0c45691757f72
/* */ var moment = require('moment'); var Parser = require('../parser').Parser; var ParsedResult = require('../../result').ParsedResult; var util = require('../../utils/EN'); var DAYS_OFFSET = { 'sunday': 0, 'sun': 0, 'monday': 1, 'mon': 1,'tuesday': 2, 'tue':2, 'wednesday': 3, 'wed': 3, 'thursda...
JavaScript
src/parsers/EN/ENMonthNameLittleEndianParser.js
penne12/chrono
mit
3,602
110
codeparrot/github-code
74b6fcb1fd224e558e9f3b0859dab39375be83603247f6d5b74c5ee1e25e3eaf
# -*- coding: utf-8 -*- """ oauthlib.parameters ~~~~~~~~~~~~~~~~~~~ This module contains methods related to `section 3.5`_ of the OAuth 1.0a spec. .. _`section 3.5`: http://tools.ietf.org/html/rfc5849#section-3.5 """ from __future__ import absolute_import, unicode_literals try: from urlparse import urlparse, url...
Python
twitter-winner/oauthlib/oauth1/rfc5849/parameters.py
lucasrangit/twitter-winner
mit
4,909
137
codeparrot/github-code
7c1019ca3588c9243b10214de3c30e65a8d413d81a53337c2203034bd71f8a39
<?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
engine/libs/DklabCache/Zend/Cache/Backend/Memcached.php
Azany/altocms
mit
8,395
250
codeparrot/github-code
f360402c4a81ca05eb1db1101c1def46b458d49817fde10f7c0199971ae68de4
/** * The MIT License (MIT) * * Copyright (c) 2011-2016 Incapture Technologies LLC * * 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 t...
Java
Libs/RaptureCore/src/test/java/rapture/kernel/user/GetDocsTest.java
amkimian/Rapture
mit
11,904
295
codeparrot/github-code
b1eefec86d795d02170b3da8c6a8b215e39a31a52fbb0915411d9e9f1472ed25
<?php namespace App\Http\Controllers\Auth; use Illuminate\Foundation\Auth\AuthenticatesAndRegistersUsers; use Illuminate\Http\Request; use Illuminate\Contracts\Auth\Guard; use App\Http\Controllers\Controller; use App\Http\Requests\Auth\LoginRequest; use App\Http\Requests\Auth\RegisterRequest; use App\Repositories\Us...
PHP
app/Http/Controllers/Auth/AuthController.php
nitsmax/els
mit
3,338
145
codeparrot/github-code
de9351106aa6ea154d29652dbd870019e1fd88d0e67e927ffe5319cfa604da79
class Gws::Board::CategoriesController < ApplicationController include Gws::BaseFilter include Gws::CrudFilter navi_view "gws/board/settings/navi" model Gws::Board::Category def index #raise "403" unless @model.allowed?(:read, @cur_user, site: @cur_site) @search_params = params[:s] @search_par...
Ruby
app/controllers/gws/board/categories_controller.rb
toyodundy/shirasagi
mit
961
34
codeparrot/github-code
d944452a13a2440d1ac1b4812e686dce5036d2aaecec17a0a60a8ce61298b41a
<?php /* * This file is part of the Sylius package. * * (c) Paweł Jędrzejewski * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace Sylius\Bundle\ResourceBundle\Controller; use Doctrine\Common\Pers...
PHP
src/Sylius/Bundle/ResourceBundle/Controller/ResourceUpdateHandler.php
NeverResponse/Sylius
mit
1,024
44
codeparrot/github-code
df8398a58aa4d4402f774ab56cf02984ca268c71c8232b304e359648a04f6932
/** * Copyright (c) 2010-2018 by the respective copyright holders. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html */...
Java
addons/binding/org.openhab.binding.gardena/src/main/java/org/openhab/binding/gardena/internal/model/property/IrrigationControlWateringProperty.java
aogorek/openhab2-addons
epl-1.0
1,285
43
codeparrot/github-code
416c1ef8e3d58cbb68f42f7a9f9df66f8a35a588ce81e0a2fc97f4578ddc7798
<?php /** * JEvents Component for Joomla 1.5.x * * @version $Id: datamodel.php 3553 2012-04-20 10:18:59Z geraintedwards $ * @package JEvents * @copyright Copyright (C) 2008-2009 GWE Systems Ltd, 2006-2008 JEvents Project Group * @license GNU/GPLv2, see http://www.gnu.org/licenses/gpl-2.0.html * @li...
PHP
components/com_jevents/libraries/datamodel.php
oksuk/ecc
gpl-2.0
39,298
1,244
codeparrot/github-code
adfdc11d24298e3789cf39e141e7b06c9a0cafa32037844a2782b3e2c5e1933e
/*************************************************************************** qgsmaplayerlegend.h -------------------------------------- Date : July 2014 Copyright : (C) 2014 by Martin Dobias Email : wonder dot sk at gmail dot com *************************************...
C
src/core/qgsmaplayerlegend.h
sebastic/QGIS
gpl-2.0
4,450
139
codeparrot/github-code
a42ffb25a917f737d35f4be08ae3cf3e756489c8922106be88123100c55864f0
/* Instruction scheduling pass. Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. Contributed by Michael Tiemann (tiemann@cygnus.com) Enhanced by, and currently maintained by, Jim Wilson (wilson@cygnus.com) T...
C
gcc/sched-ebb.c
gittup/gcc
gpl-2.0
19,394
706
codeparrot/github-code
b73f86aaafc7067cbdf95c77fef216c88c7cf3fe7185de97002dfca38cd8ea0a
/* * Copyright(c) 2015, 2016 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 versi...
C
drivers/infiniband/hw/hfi1/platform.c
jmahler/linux-next
gpl-2.0
29,158
1,075
codeparrot/github-code
2188eff1dac89ab06d28397a09d839f32b0c0951fea7ef5cb8b8661d4eb24cc0
/* * Driver for Digigram miXart soundcards * * low level interface with interrupt handling and mail box implementation * * Copyright (c) 2003 by Digigram <alsa@digigram.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as pub...
C
sound/pci/mixart/mixart_core.c
davidmueller13/arter97_bb
gpl-2.0
18,507
599
codeparrot/github-code
a162fb58edbb6b0a4029b18adc412bade841e985ad79748aed2361a386432b9e
/* pcfdriver.c FreeType font driver for pcf files Copyright (C) 2000-2001 by Francesco Zappa Nardelli 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 ...
C
third_party/freetype/src/pcf/pcfdriver.c
Mailaender/aseprite
gpl-2.0
9,943
348
codeparrot/github-code
da321c0e05d9659412587297f3660a9c775888ab4444163eb428c33af389eb18
/* * Handle mapping of the flash memory access routines * on TQM8xxL based devices. * * $Id: tqm8xxl.c,v 1.11 2004/07/12 21:59:45 dwmw2 Exp $ * * based on rpxlite.c * * Copyright(C) 2001 Kirk Lee <kirk@hpc.ee.ntu.edu.tw> * * This code is GPLed * */ /* * According to TQM8xxL hardware manual, TQM8xxL seri...
C
drivers/mtd/maps/tqm8xxl.c
NandanPhadke/oslab
gpl-2.0
7,007
264
codeparrot/github-code
bb1b358b7f571248f8e2f3718421ebe8d5ac32219b271a97b6c509367866ae77
/* * x86_64 specific EFI support functions * Based on Extensible Firmware Interface Specification version 1.0 * * Copyright (C) 2005-2008 Intel Co. * Fenghua Yu <fenghua.yu@intel.com> * Bibo Mao <bibo.mao@intel.com> * Chandramouli Narayanan <mouli@linux.intel.com> * Huang Ying <ying.huang@intel.com> * * Code ...
C
arch/x86/platform/efi/efi_64.c
cwabbott0/samsung-chromebook-kernel
gpl-2.0
3,111
118
codeparrot/github-code
6f9bc6c3477208f57cf75537e0fbc06d99150abd785f3c21d5517ef461663409
package com.sokar.cpreviewtest; import android.content.Context; import android.hardware.Camera; import android.hardware.Camera.Parameters; import android.hardware.Camera.PreviewCallback; import android.hardware.Camera.Size; import android.util.AttributeSet; import android.view.SurfaceHolder; import android.vi...
Java
CPreviewTest2/src/com/sokar/cpreviewtest/CamSurfaceView.java
JimSeker/testing
gpl-2.0
12,126
386
codeparrot/github-code
4c82e6b2edb22c35a4fc40ad040e9ed3ed8b75711b777c4fb7544ece4301f3e9
/*************************************************************************** * * $Id$ * * This file is part of mscgen, a message sequence chart renderer. * Copyright (C) 2005 Michael C McTernan, Michael.McTernan.2001@cs.bris.ac.uk * * This program is free software; you can redistribute it and/or modify * it und...
C
src/svg_out.c
ruanpienaar/mscgen
gpl-2.0
17,388
618
codeparrot/github-code
fdcd2c704e198c2b79f9cd6bcc6253e33afd78b66a5d305a153aed844c568ead
/* * Copyright (C) 2002-2013 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/dos/cdrom.h
pedrotanaka/dosbox
gpl-2.0
12,158
398
codeparrot/github-code
6d7be5e27bb2f6ce296bdfa99f9a57d507bf20a54fac45fd60930a067ef39c21
/* * Copyright (c) 1999-2002, Darren Hiebert * * This source code is released for free distribution under the terms of the * GNU General Public License. * * This module contains functions for reading command line arguments. */ /* * INCLUDE FILES */ #include "general.h" /* must always come first */ #include...
C
main/args.c
simlrh/ctags
gpl-2.0
6,047
293
codeparrot/github-code
6d7380bdb71850c6b68b4c78eb28149660df414e781c02134dfecb0c0e77e3b0
// I, Howard Hinnant, hereby place this code in the public domain. // Test overlaod resolution among referece types // { dg-do compile } // { dg-options "-std=c++0x" } template <bool> struct sa; template <> struct sa<true> {}; struct one {char x[1];}; struct two {char x[2];}; struct three {char x[3];}; struct f...
C++
gcc/testsuite/g++.dg/cpp0x/rv6p.C
redstar3894/android-gcc
gpl-2.0
22,783
696
codeparrot/github-code