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
765d4ae16baa6b2b673e0983e88dfe01278540f110dae628ffedc50cfe1a9141
#pragma once #include "AudioData.h" #include <string> //2D indexing: column-major order, 0-based: #define IDX2D(row, column) (((column) * rows) + (row)) class ImageToSoundscapeConverter { private: double freq_lowest; double freq_highest; int sample_freq_Hz; double total_time_s; bool use_exponential; bool use_...
C
raspivoice_standalone/ImageToSoundscape.h
aftersight/After-Sight-Model-1
cc0-1.0
1,470
58
codeparrot/github-code
015f792beea024cb748a6868b7a7ef28aea17d05af302df5d4f60428dd942205
/** * Copyright (c) 2014-2015 openHAB UG (haftungsbeschraenkt) and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.htm...
Java
bundles/io/org.eclipse.smarthome.io.rest.core/src/main/java/org/eclipse/smarthome/io/rest/core/link/ItemChannelLinkResource.java
marinmitev/smarthome
epl-1.0
5,631
140
codeparrot/github-code
470f18b14dd621e448aaed555b4bc50884fdcabfda55760594579e7207f8a875
/******************************************************************************* * Copyright (c) 2017, 2021 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, an...
Java
dev/com.ibm.ws.security.social_fat.commonTest.LibertyOP/fat/src/com/ibm/ws/security/social/fat/LibertyOP/LibertyOP_BasicTests_oauth_usingSocialConfig.java
OpenLiberty/open-liberty
epl-1.0
3,772
85
codeparrot/github-code
c4e8a9947d4cd449f22757dbe8c1154feb6fbdc6aa7f2ee024daac4564c30b25
/* * Copyright (c) 2012-2017 Red Hat, Inc. * 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 * * Contributors: * Red H...
Java
multiuser/machine-auth/che-multiuser-machine-authentication/src/main/java/org/eclipse/che/multiuser/machine/authentication/server/MachineLoginFilter.java
TypeFox/che
epl-1.0
3,592
104
codeparrot/github-code
6f827cc12826445ac0a772db34c5c2dac0719fde268acfb454a4e4d5578ace6e
/* * 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
dev/com.ibm.websphere.javaee.jsf.2.2/src/javax/faces/_FactoryFinderProviderFactory.java
OpenLiberty/open-liberty
epl-1.0
12,732
279
codeparrot/github-code
e46450070b93b6dafc62b64f385e984cbdb31dd96b49c8ae756325dd37fd9377
/** * Copyright (c) 2010-2020 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.http/src/main/java/org/openhab/binding/http/internal/config/HttpChannelConfig.java
openhab/openhab2
epl-1.0
4,709
138
codeparrot/github-code
66c334ce1b26b010fffb6ef98489a8627c0d1794a3b02f80766574ed8f25e65c
/* * Hibernate, Relational Persistence for Idiomatic Java * * Copyright (c) 2008, Red Hat Middleware LLC or third-party contributors as * indicated by the @author tags or express copyright attribution * statements applied by the authors. All third-party contributions are * distributed under license by Red Hat Mi...
Java
thirdparty/plugins/org.csstudio.platform.libs.hibernate/project/core/src/main/java/org/hibernate/hql/ast/util/JoinProcessor.java
ControlSystemStudio/cs-studio
epl-1.0
9,793
259
codeparrot/github-code
3b4af716ebcad1b65b89393be27c4c9cc4f745c98bd971bf9fc9ce3a42206214
/** * Copyright (c) 2010-2016 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
bundles/binding/org.openhab.binding.tinkerforge/src/main/java/org/openhab/binding/tinkerforge/internal/model/impl/MIndustrialQuadRelayImpl.java
sytone/openhab
epl-1.0
28,553
898
codeparrot/github-code
95323cc1ccabc612749df8a83ffd09de6c5c369d22467cdf20afa36b9b751bd0
package org.hibernate.envers.tools; import org.hibernate.mapping.Collection; import org.hibernate.mapping.OneToMany; import org.hibernate.mapping.ToOne; import org.hibernate.mapping.Value; /** * @author Adam Warski (adam at warski dot org) */ public class MappingTools { /** * @param componentName Name of the co...
Java
thirdparty/plugins/org.csstudio.platform.libs.hibernate/project/envers/src/main/java/org/hibernate/envers/tools/MappingTools.java
ControlSystemStudio/cs-studio
epl-1.0
1,365
41
codeparrot/github-code
4a47651b55568d8de990367e4bc64f2d3a8e27081035b73fe29c184a211aeca0
/******************************************************************************* * Copyright (c) 2012 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is a...
Java
dev/com.ibm.ws.security.oauth/src/com/ibm/ws/security/oauth20/web/OAuth20EndpointServices.java
kgibm/open-liberty
epl-1.0
60,040
1,221
codeparrot/github-code
20d3dfaaf3e5c3ec9c60b16be4ba277d7bfc120376996677ebb10994a428d3ba
/******************************************************************************* * Copyright (c) 2020 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is a...
Java
dev/com.ibm.ws.install/src/com/ibm/ws/install/internal/MavenRepository.java
OpenLiberty/open-liberty
epl-1.0
1,293
48
codeparrot/github-code
e72db47ae9ed7acc6c441060fada5ca8efcf7c95a39a0b3176f7fb184cf320f1
/******************************************************************************* * Copyright (c) 2011, 2016 Eurotech and/or its affiliates and others * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this...
Java
service/datastore/internal/src/main/java/org/eclipse/kapua/service/datastore/internal/model/query/AbstractStorableListResult.java
muros-ct/kapua
epl-1.0
1,524
54
codeparrot/github-code
e9726deaa602eabc4efa9610a83d396083e60cd40e4f77d767551b47a8cddd73
/******************************************************************************* * Copyright (c) 2017, 2020 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, an...
Java
dev/com.ibm.ws.transaction.core_fat.startMultiEJB/fat/src/com/ibm/ws/transaction/test/FATSuite.java
OpenLiberty/open-liberty
epl-1.0
1,724
42
codeparrot/github-code
fb60ccd3ae13c93e8a44d720c4712395e721ee478fbbcf5f9735698802ac20e5
/** * Copyright (c) 2010-2021 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.loxone/src/test/java/org/openhab/binding/loxone/internal/controls/LxControlTrackerTest.java
MikeJMajor/openhab2-addons-dlinksmarthome
epl-1.0
1,684
59
codeparrot/github-code
483ba8b5a3e44c485f7833642aee891b30c59b9ad8155e14c9841cce1dced75d
package moCreatures.items; import net.minecraft.src.EntityPlayer; import net.minecraft.src.Item; import net.minecraft.src.ItemStack; import net.minecraft.src.World; import moCreatures.entities.EntitySharkEgg; // Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.kpdus.com/...
Java
moCreatures/server/debug/sources/moCreatures/items/ItemSharkEgg.java
sehrgut/minecraft-smp-mocreatures
epl-1.0
1,137
35
codeparrot/github-code
b1cb995f847f391734aad01026bf985c91ae319ff8893c9fd6d3c979f86da803
/******************************************************************************* * Copyright (C) 2008, 2009 Robin Rosenberg <robin.rosenberg@dewire.com> * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies t...
Java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/decorators/GitDocument.java
jdcasey/EGit
epl-1.0
8,708
245
codeparrot/github-code
9e0c8573bef047ac76ab46b625739b7249d5fd48a3e633f75ef199fa947c8d6f
/******************************************************************************* * Copyright (c) 2017, 2021 Red Hat Inc and others * * This program and the accompanying materials are made * available under the terms of the Eclipse Public License 2.0 * which is available at https://www.eclipse.org/legal/epl-2.0/ *...
Java
simulator-kura/src/main/java/org/eclipse/kapua/kura/simulator/app/deploy/DeploymentUninstallPackageRequest.java
stzilli/kapua
epl-1.0
1,787
77
codeparrot/github-code
39f263dc67234ce2fc2afd5361bff0a3a46bdb2b5cc0e807a5fc33154b2b846f
/** * Copyright (c) 2020 Bosch.IO GmbH and others. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html */ package org.ecl...
Java
hawkbit-ui/src/main/java/org/eclipse/hawkbit/ui/common/tagdetails/TagAssignementComboBox.java
eclipse/hawkbit
epl-1.0
6,274
201
codeparrot/github-code
213ee85a453e6db7397d29fd845c40c72ab5e24e798ba25d782328eb4cba4b13
/** * Copyright (c) 2010-2021 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.fronius/src/main/java/org/openhab/binding/fronius/internal/api/HeadRequestArguments.java
paulianttila/openhab2
epl-1.0
1,893
77
codeparrot/github-code
56f60b9efb714a75235eea890f166cf9a2c60849a158c6d188df705b680cec38
/******************************************************************************* * Copyright (c) 2009-04-24 Joacim Jacobsson. * 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 avail...
C
libs/btree/source/parser/parser.h
AntonioModer/calltree
epl-1.0
1,461
46
codeparrot/github-code
cd3fdbff891cc5e1f07f912d0fb6054e07ddd6e3b971ed066e2a0a0e4f1abf52
/******************************************************************************* * Copyright (c) 2016, 2021 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, an...
Java
dev/com.ibm.ws.security.oidc.server_fat.jaxrs.config/fat/src/com/ibm/ws/security/openidconnect/server/fat/jaxrs/config/OAuth/OAuthMapToUserRegistryWithRegMismatch2ServerTests.java
OpenLiberty/open-liberty
epl-1.0
4,019
83
codeparrot/github-code
31bb3f0b76085a42005682f5308b064c04e16332dd8279961b04548cc25493d2
<!-- This file is part of YunWebUI. YunWebUI 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 ...
HTML
package/dragino/luci-app-iot-webpanel/www/keystore_manager_example/index.html
geog-opensource/geog-linino
gpl-2.0
7,148
235
codeparrot/github-code
12e781095cfecb0a63c20fb7a41c7a173dc18f376c76f372875477f49fb69137
/* * Copyright (c) 2000, 2001, 2002 Fabrice Bellard * Copyright (c) 2007 Mans Rullgard * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * versi...
C
dipendenze/dacompilare/ffmpeg-2.6.3/libavutil/avstring.c
devintaietta/Remote-Player-Audio
gpl-2.0
10,363
474
codeparrot/github-code
ef96465db59488495cb0e990affa485f9184d6d71491547c4d4021661e6781ef
<?php /** * Community Builder (TM) cbconditional Chinese (China) language file Frontend * @version $Id:$ * @copyright (C) 2004-2014 www.joomlapolis.com / Lightning MultiCom SA - and its licensors, all rights reserved * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU/GPL version 2 */ /** * WARNING: *...
PHP
components/com_comprofiler/plugin/language/zh-cn/cbplugin/cbconditional-language.php
bobozhangshao/HeartCare
gpl-2.0
5,636
86
codeparrot/github-code
3dbbfdee746a60d3e836ac10086b9151b937d3df3913fbf193105139bfc3ed50
/* * Copyright (C) 2014 Michael Joyce <ubermichael@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 version 2. * * This program is distributed in the hope that it will be usefu...
Java
src/main/java/ca/nines/ise/util/LocationAnnotator.java
emmental/isetools
gpl-2.0
5,912
194
codeparrot/github-code
d19ee33e13c644e5858ae58d805c4548c4c614663c961511ac084db23da28c83
package net.indrix.arara.servlets.pagination; import java.sql.SQLException; import java.util.List; import net.indrix.arara.dao.DatabaseDownException; public class SoundBySpeciePaginationController extends SoundPaginationController { /** * Creates a new PaginationController object, ...
Java
core/trunk/src/main/java/net/indrix/arara/servlets/pagination/SoundBySpeciePaginationController.java
BackupTheBerlios/arara-svn
gpl-2.0
1,289
37
codeparrot/github-code
e1e1344ef818a187b680145a2799eec4d1a66b38b8136118ae6950bdef920e0a
package dataservice.businessdataservice; import java.rmi.Remote; import java.rmi.RemoteException; import java.util.ArrayList; import po.BusinessPO; import po.DistributeReceiptPO; import po.DriverPO; import po.EnVehicleReceiptPO; import po.GatheringReceiptPO; import po.OrderAcceptReceiptPO; import po.OrganizationPO; i...
Java
ELS_SERVICE/src/main/java/dataservice/businessdataservice/BusinessDataService.java
Disguiser-w/SE2
gpl-2.0
4,887
154
codeparrot/github-code
5e736be8053341a9e0d63391d3312296f77113147d534f7183e51a5b632a690a
FusionCharts.ready(function () { var gradientCheckBox = document.getElementById('useGradient'); //Set event listener for radio button if (gradientCheckBox.addEventListener) { gradientCheckBox.addEventListener("click", changeGradient); } function changeGradient(evt, obj) { //Set...
JavaScript
backup/fiddles/Chart/Data_plots/Configuring_gradient_fill_for_columns_in_column_charts/demo.js
sguha-work/fiddletest
gpl-2.0
1,726
51
codeparrot/github-code
aa8db11a4b05743f3ee3adef2a3ed079ebc0e4f9144350e372826bb0f98c379c
/* Copyright (C) 2009 - 2012 by Bartosz Waresiak <dragonking@o2.pl> Part of the Battle for Wesnoth Project http://www.wesnoth.org/ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; eithe...
C++
src/ai/formula/function_table.hpp
asimonov-im/wesnoth
gpl-2.0
1,169
48
codeparrot/github-code
a904ec6a6dec4d6bec395c2abf600729765f559a48ee6391860c6ba333ad809c
/* * This file is part of the UCB release of Plan 9. It is subject to the license * terms in the LICENSE file found in the top-level directory of this * distribution and at http://akaros.cs.berkeley.edu/files/Plan9License. No * part of the UCB release of Plan 9, including this file, may be copied, * modified, pro...
C
sys/src/cmd/aux/vga/mach64xx.c
brho/plan9
gpl-2.0
30,671
1,408
codeparrot/github-code
aeb2917ca8974af0f8e0367cfbd77b62ad4ea1c27577ec65d35bb16dfdfdd0c4
/*! * address.js - Description * Copyright © 2012 by Ingenesis Limited. All rights reserved. * Licensed under the GPLv3 {@see license.txt} */ (function($) { jQuery.fn.upstate = function () { if ( typeof regions === 'undefined' ) return; $(this).change(function (e,init) { var $this = $(this), prefix =...
JavaScript
wp-content/plugins/shopp/core/ui/behaviors/address.js
sharpmachine/whiteantelopestudio.com
gpl-2.0
4,136
114
codeparrot/github-code
525e3aeb7d329bd2769d9738735c4ef1aaa809151c9fa19b9a8defc4e6bd5a01
/* soundeffects.c * An example on how to use libmikmod to play sound effects. * * (C) 2004, Raphael Assenat (raph@raphnet.net) * * This example is distributed in the hope that it will be useful, * but WITHOUT ANY WARRENTY; without event the implied warrenty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOS...
C
source/gcw/libmikmod-3.3.7/examples/soundeffects/soundeffects.c
gameblabla/methane
gpl-2.0
2,980
134
codeparrot/github-code
d0678e83332f398ad202443f848dac356ebbb7ba1ec2892b8f401ed86a9816bb
/*++ drivers/i2c/busses/wmt-i2c-bus-3.c Copyright (c) 2013 WonderMedia Technologies, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) an...
C
drivers/i2c/busses/wmt-i2c-bus-3.c
FOSSEE/FOSSEE-netbook-kernel-source
gpl-2.0
32,741
1,257
codeparrot/github-code
2f3c15ca49774ceae8fb947c913b6c4cc6d056de09f4e8ab5589343b54b3b494
/* BlueZ - Bluetooth protocol stack for Linux Copyright (C) 2010 Nokia Corporation Copyright (c) 2011-2012 The Linux Foundation. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by t...
C
net/bluetooth/mgmt.c
BrateloSlava/kernel_apq8064
gpl-2.0
77,823
3,567
codeparrot/github-code
97e07206ef05ca9a454a3fa8d00a07e15a1db21d78a673b98ee68d14d60a0a31
package org.xmlvm.ios; import java.util.*; import org.xmlvm.XMLVMSkeletonOnly; @XMLVMSkeletonOnly public class CFGregorianDate { /* * Variables */ public int year; public byte month; public byte day; public byte hour; public byte minute; public double second; /* * Constructors */ /** Default ...
Java
Ports/iOSPort/xmlvm/src/ios/org/xmlvm/ios/CFGregorianDate.java
skyHALud/codenameone
gpl-2.0
755
43
codeparrot/github-code
621eac39563990cdeb4800ba2aec6fb030c576952bd9b3ca6fef3146bf02ad85
/* * synergy -- mouse and keyboard sharing utility * Copyright (C) 2012 Bolton Software Ltd. * Copyright (C) 2012 Nick Bolton * * This package is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * found in the file COPYING that should have accompanied th...
C++
src/gui/src/IpcClient.cpp
thecubic/synergy-foss
gpl-2.0
3,524
148
codeparrot/github-code
dc7f58be6135ee6b1f0e0cbdf19bcd94ee660bfa3c0467390c8ecc51a5942607
#if UNITY_4_3 || UNITY_4_3_0 || UNITY_4_3_1 #define UNITY_4_3 #elif UNITY_4_0 || UNITY_4_0_1 || UNITY_4_1 || UNITY_4_2 #define UNITY_4 #elif UNITY_3_0 || UNITY_3_0_0 || UNITY_3_1 || UNITY_3_2 || UNITY_3_3 || UNITY_3_4 || UNITY_3_5 #define UNITY_3 #endif using UnityEngine; using UnityEditor; using System.Collections; u...
C#
Assets/6by7/ProBuilder/Editor/Actions/ExtrudeFace.cs
Jack423/TankGame
gpl-2.0
2,531
94
codeparrot/github-code
69ba5e1b064dde7cbe1ad072bb1361eef55a0fd3a795bfc9e859e42acca8c063
/** * OpenKM, Open Document Management System (http://www.openkm.com) * Copyright (c) 2006-2017 Paco Avila & Josep Llort * <p> * No bytes were intentionally harmed during the development of this application. * <p> * This program is free software; you can redistribute it and/or modify * it under the terms of the...
Java
src/main/java/com/openkm/frontend/client/bean/GWTUserConfig.java
Beau-M/document-management-system
gpl-2.0
1,807
74
codeparrot/github-code
8bacfadc59bfb9591ff583e8f000c01f8257a4b10a32fd7830589e2999216ea2
/*************************************************************************/ /*! @File @Title System Description Header @Copyright Copyright (c) Imagination Technologies Ltd. All Rights Reserved @Description This header provides system-specific declarations and macros @License Dual MIT/GPLv2 The...
C
drivers/gpu/mt8135/rgx_1.3_2876724/services/system/rgx_tc/apollo.h
jmztaylor/android_kernel_amazon_ariel
gpl-2.0
4,510
114
codeparrot/github-code
61b7069242ccb3b5cb4736f4e79d7072c5a3abe342558280ed215becb4699ae6
package com.avrgaming.civcraft.endgame; import java.util.ArrayList; import com.avrgaming.civcraft.main.CivGlobal; import com.avrgaming.civcraft.main.CivMessage; import com.avrgaming.civcraft.object.Civilization; import com.avrgaming.civcraft.object.Town; import com.avrgaming.civcraft.sessiondb.SessionEntry; import co...
Java
civcraft/src/com/avrgaming/civcraft/endgame/EndConditionScience.java
netizen539/civcraft
gpl-2.0
3,584
138
codeparrot/github-code
4df8b6bc6daabba6692e58da7e1ef52cfc69e65a29c9fbc5112847d5b82a21a0
/* * Copyright 2010 Sun Microsystems, Inc. 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 Software Foundati...
Java
visagejdi/src/org/visage/jdi/request/VisageStepRequest.java
pron/visage-compiler
gpl-2.0
2,405
75
codeparrot/github-code
a57c722a61564706147fe561f74bb70b5b039bd8c1f3aeeb690f3b6810bb4ab6
package gr.softaware.lib_1_3.data.convert.csv; import java.util.List; /** * * @author siggouroglou * @param <T> A class that implements the CsvGenerationModel interface. */ final public class CsvGenerator<T extends CsvGenerationModel> { private final List<CsvGenerationModel> modelList; public CsvGenerat...
Java
webnew/src/main/java/gr/softaware/lib_1_3/data/convert/csv/CsvGenerator.java
siggouroglou/innovathens
gpl-2.0
1,153
41
codeparrot/github-code
d53086a305614d44366b04bbfec42f37f46f01b38ff0da0e3f42e18abbc5dd92
<?php /** Author: Musavir Ifitkahr: kuala lumpur Malaysia */ class Admin_UserController extends Zend_Controller_Action { protected $user_session = null; protected $db; protected $language_id = null; protected $filter = null; protected $user = null; protected $baseurl = ''; public func...
PHP
application/admin/controllers/UserController.php
mussawir/netefct
gpl-2.0
8,735
311
codeparrot/github-code
b97f09d49b11d4c63d036680c82dff6d05300e145b046122f4d3ca6f56b4eb74
/* * This file is part of KITCard Reader. * Ⓒ 2012 Philipp Kern <phil@philkern.de> * * KITCard Reader 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 optio...
Java
src/de/Ox539/kitcard/reader/ReadCardTask.java
simontb/kitcard-reader
gpl-2.0
3,020
84
codeparrot/github-code
37e88fa5b1e7c97f73417bf2e1d6249e48e7b2deae25b967e47508df09959b67
/* * Copyright 2002-2005, Instant802 Networks, Inc. * Copyright 2005-2006, Devicescape Software, Inc. * Copyright 2007 Johannes Berg <johannes@sipsolutions.net> * Copyright 2008 Luis R. Rodriguez <lrodriguz@atheros.com> * * This program is free software; you can redistribute it and/or modify * it under the terms...
C
net/wireless/reg.c
maurillo71/beaglebone-linux
gpl-2.0
61,442
2,331
codeparrot/github-code
5b49c6622e827c519d250cc10677571704db5d2b2ab249b1d19faf042db400da
/*************************************************************************** qgssourcefieldsproperties.cpp --------------------- begin : July 2017 copyright : (C) 2017 by David Signer email : david at opengis dot ch *****************************************...
C++
src/app/qgssourcefieldsproperties.cpp
dwadler/QGIS
gpl-2.0
16,637
438
codeparrot/github-code
d9633fd31fdfcd7ad23024b7bc3d296247ecf9161f336a626f8996c2c4c44f91
/* * IMG Pistachio USB PHY driver * * Copyright (C) 2015 Google, Inc. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, * version 2, as published by the Free Software Foundation. */ #include <linux/clk.h> #include <li...
C
drivers/phy/phy-pistachio-usb.c
chrisdearman/kernel-common
gpl-2.0
5,778
222
codeparrot/github-code
651be75c649e03117de05f5ce61b928041de977d651b06e7e26f88ebd3d17d34
<?php /** * @package Joomla.Administrator * @subpackage com_supperadmin * * @copyright Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; $supperAdmin = JFactory::isSupperAdmin(...
PHP
components/website/website_supper_admin/com_supperadmin/views/modules/tmpl/default.php
cuongnd/test_pro
gpl-2.0
11,749
198
codeparrot/github-code
a55ec0e66cbf7d285897a1442901938cf62a1b3cf03fd2a961cc1ff1e3edc9e8
/* Copyright (c) 2010, 2015, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by the Free Software Foundation. This program is also distributed with certain so...
C++
storage/perfschema/pfs_setup_object.cc
grooverdan/mariadb-server
gpl-2.0
10,104
359
codeparrot/github-code
36fbdda392d4c45e8e34c512780c52ea530a7596bb811ef5792702b58a61bf8e
// SPDX-License-Identifier: GPL-2.0 #include "core/subsurface-string.h" #include "qPrefDisplay.h" #include "qPrefPrivate.h" #include <QApplication> #include <QFont> static const QString group = QStringLiteral("Display"); QPointF qPrefDisplay::st_tooltip_position; static const QPointF st_tooltip_position_default = QP...
C++
core/settings/qPrefDisplay.cpp
dirkhh/subsurface
gpl-2.0
6,241
205
codeparrot/github-code
3ce561a1016877875e657b5a041ded9e0a623007d612e1c766e35203317eacfc
from datetime import datetime from flask import current_app from flask.cli import with_appcontext from invenio_db import db from hepdata.cli import fix from hepdata.ext.elasticsearch.api import index_record_ids, push_data_keywords from hepdata.modules.submission.models import HEPSubmission, DataSubmission from hepdat...
Python
fixes/missing_record_ids.py
HEPData/hepdata3
gpl-2.0
2,910
66
codeparrot/github-code
3029a6b238195c7630a85d87856b7ed6822c2e9fbb14c7f32ea2c66c274dffcd
/****************************************************************************** * * rawverse.cpp - code for class 'RawVerse'- a module that reads raw text * files: ot and nt using indexs ??.bks ??.cps ??.vss * and provides lookup and parsing functions based on * class VerseKey * * $Id$ * * Copyright 19...
C++
src/modules/common/rawverse.cpp
greg-hellings/sword
gpl-2.0
8,079
313
codeparrot/github-code
75b6079dae01fb0734801d8b25c16d8c5b5d0157598751794d842cfce8be447e
// KinematicObjectSphereConstraint.h // // Breannan Smith // Last updated: 09/16/2015 #ifndef KINEMATIC_OBJECT_SPHERE_CONSTRAINT_H #define KINEMATIC_OBJECT_SPHERE_CONSTRAINT_H #include "scisim/Constraints/Constraint.h" class KinematicObjectSphereConstraint final : public Constraint { public: // sphere_idx: index...
C
rigidbody3d/Constraints/KinematicObjectSphereConstraint.h
horzelski/scisim
gpl-2.0
3,156
82
codeparrot/github-code
23e876ec4119bca70b92de716db76aa7a329e5d55eb88b713cbed236755127fb
package gitmad.bitter.ui; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.TextView; import gitmad.bitter.R; import gitmad.bitter.model.Comment; import gitmad.bitter.model.User; import...
Java
app/src/main/java/gitmad/bitter/ui/CommentAdapter.java
nareddyt/Bitter
gpl-2.0
1,425
49
codeparrot/github-code
1e3c7dd5ff775b00efe19a0aee81f2c204831e66970c5518a6d40dffb93c6c32
/* * Created on 5 Sep 2007 * * Copyright (c) 2004-2007 Paul John Leonard * * http://www.frinika.com * * This file is part of Frinika. * * Frinika 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; e...
Java
src/com/frinika/tootX/midi/MidiHashUtil.java
petersalomonsen/frinika
gpl-2.0
2,069
71
codeparrot/github-code
9f38ddd5916a1da4ce712b55c461b2e30cdf6048e7442b20722ac3ef3c19ec70
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- * * Copyright (C) 2013 Richard Hughes <richard@hughsie.com> * * Licensed under the GNU General Public License Version 2 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public ...
C
lib/huey/huey-enum.c
heysion/colord-clone
gpl-2.0
2,937
109
codeparrot/github-code
218fca9201dae038c28229dab9afd14ea594a76665d464180d23f62fcbf8a2e7
#include <iostream> using namespace std; long long n, ans = 0; long long dn[500][500]; long long rec(long long prlvl, long long sum) { if (sum < 0) return 0; else if (sum == 0) return 1; else { if (dn[prlvl][sum] != -1) return dn[prlvl][sum]; else { long long res = 0; for (int ...
C++
acm.timus.1017.cpp
Andriy963/e-olimp.com
gpl-2.0
640
41
codeparrot/github-code
20fc40054e9e48aa4397452d23aa9c58fbac074d29b576b3d66ff3290f00c2c1
/* * Copyright (C) 2001-2004 by David Brownell * * 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 progra...
C
drivers/usb/host/ehci-hub.c
btolfa/kernel_tion_pro28
gpl-2.0
31,050
1,132
codeparrot/github-code
a09a70cdf7cf72dad42a90c4ce233eb8504989a9cb0e3370a11cce698ea7cf9a
var EFA = { log: [], /* Prevent backspace being used as back button in infopath form in modal. Source: http://johnliu.net/blog/2012/3/27/infopath-disabling-backspace-key-in-browser-form.html grab a reference to the modal window object in SharePoint */ OpenPopUpPage: function( u...
JavaScript
TwitterBootstrapMasterPage/pkg/Debug/TwitterBootstrapMasterPage/Layouts/TB/js/helper.js
jwykeham/SharePoint-Bootstrap3-Master
gpl-2.0
5,718
182
codeparrot/github-code
d89263ea65686acf935731a592c97c7a1785f269ca55e0e2423350adb4d3ca66
""" Small event module ======================= """ import numpy as np import logging logger = logging.getLogger(__name__) from ...utils.decorators import face_lookup from ...geometry.sheet_geometry import SheetGeometry from ...topology.sheet_topology import cell_division from .actions import ( exchange, r...
Python
tyssue/behaviors/sheet/basic_events.py
CellModels/tyssue
gpl-2.0
6,721
247
codeparrot/github-code
fe569b0576d0d02c8f6aed318555103f5d11cfa8c3e1cf547893cdb023a98926
<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>Qt 4.3: mainwindow.cpp Example File (sql/masterdetail/mainwindow.cpp)</title> <link href="classic.css" r...
HTML
qtopiacore/qt/doc/html/sql-masterdetail-mainwindow-cpp.html
muromec/qtopia-ezx
gpl-2.0
17,275
455
codeparrot/github-code
f18636665113260749a91f2a3aed03a19c266fbf3fffa0b9a08e2a27bfec40cd
/* * rtl_tcp_andro is a library that uses libusb and librtlsdr to * turn your Realtek RTL2832 based DVB dongle into a SDR receiver. * It independently implements the rtl-tcp API protocol for native Android usage. * Copyright (C) 2016 by Martin Marinov <martintzvetomirov@gmail.com> * * This program is free softwar...
C
app/src/main/jni/queue.c
AnthonyQuan/AndroidRTLPower
gpl-2.0
2,396
91
codeparrot/github-code
623a113eeb7d478f57f7bdfffd56fdbbacc86baf9a93494dd02c5ee1129128f6
/********************************************************************\ * BitlBee -- An IRC to other IM-networks gateway * * * * Copyright 2002-2004 Wilmer van der Gaast and others * \*************************...
C
nick.h
jianingy/bitlbee-clone
gpl-2.0
1,717
38
codeparrot/github-code
d52a09d3edaf0cdbac0beec8c455384bb3e8d588bee7c2f19a59e9054f01bac2
/* =========================================================================== Copyright (C) 1999-2005 Id Software, Inc. This file is part of Quake III Arena source code. Quake III Arena source code is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as publish...
C
trunk/code/botlib/be_aas_file.c
entdark/q3mme
gpl-2.0
24,509
583
codeparrot/github-code
b474ab20f5c527c1bdde541de9aea3a8a3ea2c137052c07f6cf73678cf61c893
/* Copyright (C) 2012 - 2015 Evan Teran evan.teran@gmail.com Copyright (C) 1995-2003,2004,2005,2006,2007,2008,2009,2010,2011 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public Lic...
C
plugins/BinaryInfo/elf/elf_verdaux.h
Northern-Lights/edb-debugger
gpl-2.0
1,257
40
codeparrot/github-code
ab5b65dbeaf25a134361eacd28519be160824bdd2778a54c400c86b360e3a59a
/* * linux/drivers/usb/gadget/s3c2410_udc.h * Samsung on-chip full speed USB device controllers * * Copyright (C) 2004-2007 Herbert Pötzl - Arnaud Patard * Additional cleanups by Ben Dooks <ben-linux@fluff.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the ...
C
drivers/usb/gadget/s3c2410_udc.h
janrinze/loox7xxport.loox2-6-22
gpl-2.0
2,840
113
codeparrot/github-code
1aca191c605a304fcedc5ca459ec81475ca012de2c4157b8d863506c77513be0
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MediaBrowser.Api.Reports { public class ReportRow { /// <summary> /// Initializes a new instance of the ReportRow class. /// </summary> public ReportRow() { Columns = new List<R...
C#
MediaBrowser.Api/Reports/Model/ReportRow.cs
mtlott/Emby
gpl-2.0
2,889
76
codeparrot/github-code
1e4cd78a0bf222948c775e66c6ca4b157134053809519ce323e331c2d8961341
/* * Copyright (C) 2000 Ulrich Czekalla * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This libr...
C
src/dbghelpw/include/wininet.h
jfoote/verysleepy
gpl-2.0
76,854
1,730
codeparrot/github-code
17e2c9b58e84b896e04c7db9cdb194189b818b4152aee23035ff4906e6e4e9b6
/* Core Hardware driver for Hx4700 (ASIC3, EGPIOs) * * Copyright (c) 2005 SDG Systems, LLC * * 2005-03-29 Todd Blumer Converted basic structure to support hx4700 * 2005-04-30 Todd Blumer Add IRDA code from H2200 */ #include <linux/module.h> #include <linux/version.h> #include <linux/interrupt.h> ...
C
arch/arm/mach-pxa/hx4700/hx4700_core.c
janrinze/loox7xxport.loox2-6-22
gpl-2.0
9,113
363
codeparrot/github-code
0ecaa5efa86357912329337ceffe85d1a8da987d0d6562972e254f5114c366a0
/****************************************************************************** * * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms of version 2 of the GNU General Public License as * published by the ...
C
drivers/net/wireless/rtl8723au_lwfinger/include/rtw_led.h
olegk0/rk3x_kernel_3.0.36
gpl-2.0
6,499
203
codeparrot/github-code
e558e7012a6122c040db25d0c5460fed9598716e8d88a8d93b570b7d8cbc3ad2
<?php // +---------------------------------------------------------------------- // | TOPThink [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2013 http://thinkphp.cn All rights reserved. // +-----------------------------------------...
PHP
ThinkPHP/Library/Think/Db/Driver/Mongo.class.php
545038947/haisys
gpl-2.0
25,800
753
codeparrot/github-code
601486ad0041ed5214c0f9098dbcb1c2cd0965cb750367810428d45d760bd418
package mpicbg.spim.segmentation; import fiji.tool.SliceListener; import fiji.tool.SliceObserver; import ij.IJ; import ij.ImageJ; import ij.ImagePlus; import ij.ImageStack; import ij.WindowManager; import ij.gui.OvalRoi; import ij.gui.Overlay; import ij.gui.Roi; import ij.io.Opener; import ij.plugin.PlugIn; import ij....
Java
src/main/java/mpicbg/spim/segmentation/InteractiveDoG.java
psteinb/SPIM_Registration
gpl-2.0
30,536
999
codeparrot/github-code
ed077140c3709e1a25bb79eec75647302fcf0ecdd0d2a8ffb30401a3f6a6c625
#ifndef __EVENT_BROWSER_TAB_INDICES_GET_ALL_H__ #define __EVENT_BROWSER_TAB_INDICES_GET_ALL_H__ /*LICENSE_START*/ /* * Copyright (C) 2014 Washington University School of Medicine * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as pu...
C
src/Common/EventBrowserTabIndicesGetAll.h
Washington-University/workbench
gpl-2.0
1,920
63
codeparrot/github-code
1937c9d31a8cfcd22323c932a29af9c27e0b34fcd5647cb54201632d6c1d8285
/* Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. This program is distributed in t...
C
storage/myisam/ft_parser.c
tempesta-tech/mariadb_10.2
gpl-2.0
11,421
412
codeparrot/github-code
330f092dd0cf8d12daeaa02439f0671aeed840ac04c69606e4a46fe361362a85
<?php /** * File containing ezcomNotification class * * @copyright Copyright (C) 1999-2011 eZ Systems AS. All rights reserved. * @license http://www.gnu.org/licenses/gpl-2.0.txt GNU General Public License v2 * */ /** * ezcomNotification persistent object class definition * */ class ezcomNotification extends e...
PHP
extension/ezcomments/classes/ezcomnotification.php
ETSGlobal/ezpublish_built
gpl-2.0
4,981
138
codeparrot/github-code
619e58a7d2025ccab1d24e42168d8a3f3230ce2f1490b1d7a1030f66d6d4cbfb
/* * linux/fs/ext4/ialloc.c * * Copyright (C) 1992, 1993, 1994, 1995 * Remy Card (card@masi.ibp.fr) * Laboratoire MASI - Institut Blaise Pascal * Universite Pierre et Marie Curie (Paris VI) * * BSD ufs-inspired inode and directory allocation by * Stephen Tweedie (sct@redhat.com), 1993 * Big-endian to litt...
C
fs/ext4/ialloc.c
CurtisMJ/g800f_custom_kernel
gpl-2.0
33,970
1,200
codeparrot/github-code
a096fa77b81141b79e1239b9b04026405c8f651238d975ace26cc179dda15d31
from flask import request, jsonify from sql_classes import UrlList, Acl, UserGroup, User, Role def _node_base_and_rest(path): """ Returns a tuple: (the substring of a path after the last nodeSeparator, the preceding path before it) If 'base' includes its own baseSeparator - return only a string after it ...
Python
python3/app/backend/maintree.py
Aclz/Tentacles
gpl-2.0
10,404
359
codeparrot/github-code
55d5f18637099887b53ea3d491f970027154943e1b07203224cc3a7398dccbbb
<?php /* core/themes/stable/templates/navigation/menu--toolbar.html.twig */ class __TwigTemplate_6d5e9324ee90ee9b5c8803c6bf39943fec4c217cff21756d529e71138cf50b3a extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; ...
PHP
sites/drupal-8.dd/files/php/twig/596d9f9815a73_menu--toolbar.html.twig_tygcDb3aAI8l_rxPgfBnz0oJU/TsdWiV50UGMMzQDbKZxdPubu_ft8_iB9Bvy9p1rB-z8.php
suruchi10/newrepo
gpl-2.0
8,688
215
codeparrot/github-code
240d33572897561fabfce6c26b28a7d49a59d1b4a5fe2eb9c31dea97ae4720d7
<?php /** * --------------------------------------------------------------------- * GLPI - Gestionnaire Libre de Parc Informatique * Copyright (C) 2015-2021 Teclib' and contributors. * * http://glpi-project.org * * based on GLPI - Gestionnaire Libre de Parc Informatique * Copyright (C) 2003-2014 by the INDEPNET...
PHP
ajax/selectUnaffectedOrNewItem_Device.php
smartcitiescommunity/Civikmind
gpl-2.0
2,921
92
codeparrot/github-code
6eff00e5b4357d603760a835b0bba7639d6ccb4f5a6e2f5231c79aab8f355963
/* *************************************************************************** * Ralink Tech Inc. * 4F, No. 2 Technology 5th Rd. * Science-based Industrial Park * Hsin-chu, Taiwan, R.O.C. * * (c) Copyright 2002, Ralink Technology, Inc. * * All rights reserved. Ralink's source code is an unpublished work and th...
C
package/lean/mt/drivers/mt7615d/src/mt_wifi/os/linux/rbus_prop_dev.c
tossp/lede-k3
gpl-2.0
7,562
277
codeparrot/github-code
050fcdd88c77cc9cca185359191cb8a64094f45f7facdeb1bf8d85a36436b327
/* * Copyright (c) 2003, 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
Java
test/javax/xml/jaxp/functional/test/auctionportal/AuctionController.java
lostdj/Jaklin-OpenJDK-JAXP
gpl-2.0
14,668
359
codeparrot/github-code
50226db40f0e89fbb25ade24039826379db8d6a2d695c739d09a8e936b8bda2f
<?php /** * Custom functions that act independently of the theme templates * * Eventually, some of the functionality here could be replaced by core features * * @package Decode */ /** * Get our wp_nav_menu() fallback, wp_page_menu(), to show a home link. */ if ( ! function_exists( 'decode_page_menu_args' ) ) ...
PHP
wp-content/themes/decode/inc/extras.php
casrep/wordpress-blog
gpl-2.0
4,335
153
codeparrot/github-code
83ddf404170873170023e0e3243335750659b07583ce513298a1a90a57dae35a
/* Definitions for bytecode */ #ifndef Py_COMPILE_H #define Py_COMPILE_H #ifdef __cplusplus extern "C" { #endif /* Bytecode object */ typedef struct { PyObject_HEAD int co_argcount; /* #arguments, except *args */ int co_nlocals; /* #local variables */ int co_stacksize; /* #entries needed for evalu...
C
tools/local/bas-release/bas,3.9/lib/python/include/python2.3/compile.h
trivoldus28/pulsarch-verilog
gpl-2.0
3,391
93
codeparrot/github-code
dcc206e1014d7c84d5e191f1a0de380e4d7c9355058790346f1b572579b84cf5
<?php /** * GISMO block * * @package block_gismo * @copyright eLab Christian Milani * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ // error mode $error_mode = (isset($error_mode) AND in_array($error_mode, array("json", "moodle"))) ? $error_mode : "moodle"; // define constants if ...
PHP
blocks/gismo/common.php
lglopezf/Moodle2.8.2_Adaptativo_Trus_Model
gpl-2.0
5,932
221
codeparrot/github-code
611e7bfdef7f28dbc11b3c2ab7e5975b18ca695f65f3e3de97369b915d7d82ae
#!/usr/bin/env python """ gateway tests - Users Copyright 2009 Glencoe Software, Inc. All rights reserved. Use is subject to license terms supplied in LICENSE.txt """ import unittest import omero import gatewaytest.library as lib from omero.gateway.scripts import dbhelpers class UserTest (lib.GTest): ...
Python
components/tools/OmeroPy/test/gatewaytest/user.py
rleigh-dundee/openmicroscopy
gpl-2.0
6,878
167
codeparrot/github-code
ba33abd5de0b3cebc0486f7eb91fd5330de9f64ee8d27d7fd874658a1878fa3d
/* Copyright 2007-2011 David Robillard <http://drobilla.net> Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. THIS SOFTWARE IS PROVIDED "AS IS" AND...
C
dependencies/lilvbundle/lilv-0.5.0/src/node.c
ccherrett/oom
gpl-2.0
10,040
425
codeparrot/github-code
483a34dc333877e6d6719a1b0dbd8505bbb1515c0ece0ba054f271b698726b86
/* * #%L * BSD implementations of Bio-Formats readers and writers * %% * Copyright (C) 2005 - 2016 Open Microscopy Environment: * - Board of Regents of the University of Wisconsin-Madison * - Glencoe Software, Inc. * - University of Dundee * %% * Redistribution and use in source and binary forms, with or...
Java
components/formats-bsd/src/loci/formats/codec/LosslessJPEGCodec.java
imunro/bioformats
gpl-2.0
12,867
352
codeparrot/github-code
757f9bf169aab0aa5e24b5e0b7134f6003d957b5ff9f588ecd2366d849aa7962
<?php /** * The template for displaying all pages * * This is the template that displays all pages by default. * Please note that this is the WordPress construct of pages and that * other 'pages' on your WordPress site will use a different template. * * @package WordPress * @subpackage Twenty_Fourteen * @since...
PHP
wp-content/themes/twentyfourteen/page.php
richardbota/WordPress-Theme-Development-with-Bootstrap
gpl-2.0
1,451
51
codeparrot/github-code
2ea4221d36a7f07c731a6b8c5ba9bef6ea344725025f64ff1be03346597171d7
#ifndef WSITileGraphicsItem_H #define WSITileGraphicsItem_H #include <QGraphicsItem> #include <memory> class TileManager; class MultiResolutionImage; class WSITileGraphicsItem : public QGraphicsItem { public: // make sure to set `item` to NULL in the constructor WSITileGraphicsItem(QPixmap* item, uns...
C
workstation/WSITileGraphicsItem.h
mcd8604/ASAP
gpl-2.0
1,461
49
codeparrot/github-code
766eed6f5d7b4838a274dcf3f165dea8763eea17bf384945a286dfd47afd4da9
/*************************************************************************** * Copyright (C) 2003 by Roberto Raggi * * roberto@kdevelop.org * * * * This progra...
C
languages/cpp/cppsupport_events.h
serghei/kde3-kdevelop
gpl-2.0
2,051
76
codeparrot/github-code
7ccf9565b7f6f43ba8809d3b043dabd40af5eabff36428fc7339127033f5398d
/* * Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Softwa...
Java
test/sun/java2d/marlin/ScaleClipTest.java
JetBrains/jdk8u_jdk
gpl-2.0
8,526
242
codeparrot/github-code
685602ad8a83942ad8191a6789c9aba275806e5cbfdc2ae8f0b42acab9424633
/* SPDX-License-Identifier: GPL-2.0-only */ #ifndef EC_GOOGLE_WILCO_COMMANDS_H #define EC_GOOGLE_WILCO_COMMANDS_H #include <types.h> enum { /* Read and clear power state information */ KB_POWER_SMI = 0x04, /* Read but do not clear power state information */ KB_POWER_STATUS = 0x05, /* Inform the EC about the rea...
C
src/ec/google/wilco/commands.h
coreboot/coreboot
gpl-2.0
8,557
343
codeparrot/github-code
aeb2437c9ff4c01f3d33448526ad9e6f01f4d360af8fb6a6814d1e1786b1782a
# Twisted, the Framework of Your Internet # Copyright (C) 2001 Matthew W. Lefkowitz # # This library is free software; you can redistribute it and/or # modify it under the terms of version 2.1 of the GNU Lesser General Public # License as published by the Free Software Foundation. # # This library is distributed in t...
Python
PythonD/site_python/twisted/internet/stdio.py
fxia22/ASM_xf
gpl-2.0
3,287
110
codeparrot/github-code
e42d86819f32d6eb6bac13cbe52a295a9f7aa59702624385875bc3dc35956506
/** Copyright 2008, 2009 UFPE - Universidade Federal de Pernambuco Este arquivo é parte do programa Amadeus Sistema de Gestão de Aprendizagem, ou simplesmente Amadeus LMS O Amadeus LMS é um software livre; você pode redistribui-lo e/ou modifica-lo dentro dos termos da Licença Pública Geral GNU como publicada ...
Java
src/br/ufpe/cin/amadeus/amadeus_mobile/util/Conversor.java
phcp/AmadeusLMS
gpl-2.0
24,368
571
codeparrot/github-code
ac75c2faab0555245c8cc46aa51af1f6ee6d6b5b147e696d0c82877c93b0d119
package net.sf.memoranda.ui.htmleditor; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Dimension; import java.awt.FlowLayout; import java.awt.Frame; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.Image; import java.awt.Insets; import java.awt.event.ActionEvent;...
Java
src/net/sf/memoranda/ui/htmleditor/ImageDialog.java
jzalden/SER316-Karlsruhe
gpl-2.0
13,558
414
codeparrot/github-code
fc2c4d7d9f7bdd6975f3bc71ca0591d4bcdb5fbabe1a67106d251bef23aa5d88
/* * Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/> * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, or (at your * option) any later ve...
C
src/server/scripts/OutdoorPvP/OutdoorPvPTF.h
Macavity/SkyFireEMU
gpl-2.0
4,669
188
codeparrot/github-code
74289e6d2de462deb424c1f3bfe58e67f44ea8e222ad7bf50825b3e52c0874eb
/* * QEMU Audio subsystem header * * Copyright (c) 2003-2005 Vassili Karpov (malc) * * 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...
C
qemu/audio/audio.h
Cisco-Talos/pyrebox
gpl-2.0
5,740
179
codeparrot/github-code
eba1bbefd7a273b9d3b9e4b44e5558ec14382513409bf2a85e317a44cecbfe1f
/* Copyright (C) 2008-2016 Vana Development 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; version 2 of the License. This program is distributed in the hope that it will be useful, but WITHOUT...
C++
src/channel_server/party.cpp
diamondo25/Vana
gpl-2.0
9,610
335
codeparrot/github-code
ecb0f8cf09dea46e3c821606069edd2527a27b6d20a312a0cadba747a83c4e04
<?php /** * @package angifw * @copyright Copyright (C) 2009-2013 Nicholas K. Dionysopoulos. All rights reserved. * @author Nicholas K. Dionysopoulos - http://www.dionysopoulos.me * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL v3 or later * * Akeeba Next Generation Installer Framework */ defined('_AKEEB...
PHP
installation/framework/model/model.php
chr1x2/linux.org.ph
gpl-2.0
11,299
518
codeparrot/github-code
c36795a58456f4dd8c8f013f64b61551b2a28bbb86d09c43212c1ab9a50edec8
// SPDX-License-Identifier: GPL-2.0 #include "color.h" #include <QMap> #include <array> // Note that std::array<QColor, 2> is in every respect equivalent to QColor[2], // but allows assignment, comparison, can be returned from functions, etc. static QMap<color_index_t, std::array<QColor, 2>> profile_color = { { SAC_1...
C++
core/color.cpp
janmulder/subsurface
gpl-2.0
4,063
101
codeparrot/github-code