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
a04bdbbcc569110b54ce8593eed0ac4d99d300f1193fa2fc4c354d5d2dc1e584
<?php /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will ...
PHP
PHP/include/classes/pdoinstance.php
mysticall/imslu
gpl-2.0
4,413
175
codeparrot/github-code
651a43f945fbf3e7735895ceb105418e3fde9dbb0614abc4292a2552420ec977
package org.emulinker.kaillera.controller.v086.action; import org.apache.commons.logging.*; import org.emulinker.kaillera.controller.messaging.MessageFormatException; import org.emulinker.kaillera.controller.v086.V086Controller; import org.emulinker.kaillera.controller.v086.protocol.*; import org.emulinker.kaillera.mo...
Java
src/org/emulinker/kaillera/controller/v086/action/CreateGameAction.java
monospacesoftware/emulinker
gpl-2.0
3,308
108
codeparrot/github-code
5f6ff199013fd177912703d05f363962b5b50f1f6a173da6cb6c2bddb94c81b1
package edu.harvard.med.screensaver.ui.arch.view; import org.apache.log4j.Logger; import edu.harvard.med.screensaver.model.Entity; import edu.harvard.med.screensaver.ui.arch.util.servlet.EntityViewerInitializerPhaseListener; import edu.harvard.med.screensaver.util.DevelopmentException; /** * Initializes an {@link ...
Java
web/src/main/java/edu/harvard/med/screensaver/ui/arch/view/EntityViewerInitializer.java
hmsiccbl/screensaver
gpl-2.0
1,318
44
codeparrot/github-code
13f0829220eb72b1b090396661000462cd054acaa3ef88d1ceb59eb449dade8d
<?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 INDEPNE...
PHP
src/PurgeLogs.php
flegastelois/glpi
gpl-2.0
12,012
437
codeparrot/github-code
7acfe7cc35520c8c62652b3f572030c7bdccbfddf94aee4a3721b4ad46916687
// // Copyright(C) 1993-1996 Id Software, Inc. // Copyright(C) 2005-2014 Simon Howard // // 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...
C
src/doom/st_lib.c
AlexMax/crispy-doom
gpl-2.0
5,133
298
codeparrot/github-code
b0e340e4239c8d1446fe13b4b8d32e52734b4d6c52eb39ebe1a31e7a81c813f3
/* * ThreadSyn.h * * Created on: Mar 18, 2013 * Author: RichardLv */ #ifndef THREADSYN_H_ #define THREADSYN_H_ #include <assert.h> #include <boost/utility.hpp> #include <pthread.h> namespace netlib{ namespace base{ class ThreadMutex : boost::noncopyable { public: ThreadMutex(){ ...
C
include/ThreadSyn.h
lvtaowx/networklib
gpl-2.0
2,181
134
codeparrot/github-code
4e04ce42907fa16ce19a52497b8201336b229c114ed338243c6819e483a11f3a
<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ /** * Eav Form Type Resource Collection * * @author Magento Core Team <core@magentocommerce.com> */ namespace Magento\Eav\Model\ResourceModel\Form\Type; use Magento\Eav\Model\Entity\Type; class Collection...
PHP
app/code/Magento/Eav/Model/ResourceModel/Form/Type/Collection.php
kunj1988/Magento2
gpl-2.0
1,455
63
codeparrot/github-code
e77803c8a37d7a531841a224f3a3ac04218d232904ae87a833eb2accc2e4a928
/* Convert xcf files to png * * Copyright (C) 2006 Henning Makholm * * 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 Free Software Foundation. * * This program is distributed in the hope that it wil...
C
xcf2png.c
dankamongmen/gnome-xcf-thumbnailer
gpl-2.0
11,941
426
codeparrot/github-code
48e3403a5c4f14fc8acb43daaa49cda940f24ef1e87bf78c4def7a2c9496e00c
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> <html> <head> <title>Description of supergauss_amp</title> <meta name="keywords" content="supergauss_amp"> <meta name="description" content="_________________________________________________...
HTML
7.Documentation_Package/Source_Code_Explorer/AODParentDir/Diffraction_Module/Existing_Propagators/supergauss_amp.html
IAPJena/ProjectOne
gpl-2.0
5,393
100
codeparrot/github-code
7f4a331da9b3e69e0e81f05c84f65a37be7eb746b84c3e7fa9620ee6693f4588
#!/usr/bin/env python import pyemma import numpy as np import mdtraj import time import os # Source directory source_directory = '/cbio/jclab/projects/fah/fah-data/munged3/no-solvent/11401' # Src ensembler ################################################################################ # Load reference topology ####...
Python
jchodera/src-11401/pyemma/cluster.py
jchodera/MSMs
gpl-2.0
3,309
90
codeparrot/github-code
aff8ff7239e728092051ab3e201eddc95b46a2e18c5a41312f8e671baea04dc2
/* _______ __ __ __ ______ __ __ _______ __ __ * / _____/\ / /\ / /\ / /\ / ____/\ / /\ / /\ / ___ /\ / |\/ /\ * / /\____\// / // / // / // /\___\// /_// / // /\_/ / // , |/ / / * / / /__ / / // / // / // / / / ___ / // ___ / // /| ' / / * / /_// /\ / /_// / // / // /_/_ ...
C++
libs/guichan-0.8.1/src/graphics.cpp
zeromus/kat5200-unibuild
gpl-2.0
5,205
178
codeparrot/github-code
ecd2639e9e8b2ae62f10e8e8d178374441fca907a11b085da5d8d128b1e4e95d
#------------------------------------------------------------------------------ # Copyright (c) 2007, Riverbank Computing Limited # All rights reserved. # # This software is provided without warranty under the terms of the BSD license. # However, when used with the GPL version of PyQt the additional terms described in ...
Python
enthought/traits/ui/qt4/menu.py
enthought/traitsbackendqt
gpl-2.0
10,680
313
codeparrot/github-code
9e931ca1b2ee47e0b37980cc5fc0992f458d5d343dfde2ce44766b3a2150cd75
#ifndef _ASM_SN_LAUNCH_H #define _ASM_SN_LAUNCH_H #include <asm/sn/types.h> #include <asm/sn/addrs.h> #define LAUNCH_MAGIC 0xaddbead2addbead3 #ifdef CONFIG_SGI_IP27 #define LAUNCH_SIZEOF 0x100 #define LAUNCH_PADSZ 0xa0 #endif #define LAUNCH_OFF_MAGIC 0x00 /* Struct offsets for assembly */ #define LAUNCH_OF...
C
kernel/arch/mips/include/asm/sn/launch.h
luckasfb/OT_903D-kernel-2.6.35.7
gpl-2.0
2,109
73
codeparrot/github-code
e63a3d4886bbc9a0a044e4dbd2ddfa7af57fa3aa1604c47d72d792a4e28f87ac
--扇風機塊プロペライオン function c81769387.initial_effect(c) --link summon aux.AddLinkProcedure(c,aux.FilterBoolFunction(Card.IsLinkSetCard,0x14b),1,1) c:EnableReviveLimit() --cannot link material local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABL...
Lua
c81769387.lua
Fluorohydride/ygopro-scripts
gpl-2.0
2,283
70
codeparrot/github-code
83f5951dc8c92e9a65d31fe3fafeba6bf4337b177f79e29ee084e338b7e4e64e
/* ==================================================================== 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 Y...
C#
AL.Utils/Document/Excel/NPOI/HSSF/Record/Chart/ChartStartObjectRecord.cs
alexchentao/AL.Web
gpl-2.0
3,371
94
codeparrot/github-code
2e6ed06b391e0a031712ad554ed268035f7cb378412936268e98e68dc5c15d6e
// CashShop.h: interface for the CCashShop class. // ////////////////////////////////////////////////////////////////////// #if !defined(AFX_CASHSHOP_H__B57A9271_3D21_40E0_B132_82F87B122CB4__INCLUDED_) #define AFX_CASHSHOP_H__B57A9271_3D21_40E0_B132_82F87B122CB4__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _...
C
Source/CashShop.h
TitansTech/GameServer
gpl-2.0
6,196
219
codeparrot/github-code
eceb62a569c4f940cc99f69d3d1d79884b61a02c37369350829826d74305f45b
#!/usr/bin/env python # # $Id: decrypt2.py 363 2006-01-01 18:03:07Z valos $ # # PyXMLSec example: Decrypting an encrypted file using keys manager. # # Decrypts encrypted XML file using keys manager and a list of # DES key from a binary file # # Usage: # decrypt2.py <xml-enc> <des-key-file1> [<des-key-file2> [...]] #...
Python
examples/decrypt2.py
aricaldeira/pyxmlsec
gpl-2.0
5,179
185
codeparrot/github-code
ae9d0e147e8c6fa3eb2894eb929da9753a4c7e7b9c6be4bef53983c5596e2af8
package co.bassan.validaciones; import co.bassan.general.model.ErrorCampo; import co.bassan.general.model.InfCampo; import co.bassan.general.util.UtilProcesador; import co.bassan.validaciones.core.Validacion; import java.util.Arrays; import java.util.List; /** * Created by sebas on 18/08/15. */ public class Valida...
Java
src/main/java/co/bassan/validaciones/ValidacionValoresPermitidos.java
sebasrock/ProcesadoraCsv
gpl-2.0
1,561
48
codeparrot/github-code
a74082a640ef0416b2ee6c5177c250e55e1d932f9323454593d6e870054b194b
/* * Copyright (C) 2002-2019 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/shell/shell.cpp
svn2github/dosbox
gpl-2.0
29,330
754
codeparrot/github-code
45c63865c67085b3beb19b767cf99f0be489ea0d94cff97e27522fdd469e7575
// $Id$ // $Locker$ // Author. Roar Thronæs. // Modified Linux source file, 2001-2004. /* * linux/kernel/acct.c * * BSD Process Accounting for Linux * * Author: Marco van Wieringen <mvw@planets.elm.net> * * Some code based on ideas and code from: * Thomas K. Dyas <tdyas@eden.rutgers.edu> * * This file...
C
linux/kernel/acct.c
rroart/freevms
gpl-2.0
10,656
398
codeparrot/github-code
ec909f3a7791a9f5e0b412e74a82078516ec2e4dba472a10d0dd2199d7475ac9
#include <math.h> #include <sys/types.h> #include <time.h> #include <stdlib.h> #include <stdio.h> #define TINY 1.0e-20; #define RIDICULOUS_NUMBER -1000000000 #define SQR( x ) ((x)*(x)) #define N 20000 #define PARAM_SIZE 5 void djacobi(), deigsrt(), inverse(), lubksb(), ludcmp(), nerror(),free_dvector(); double ...
C
libsegmentor/cyl_recover.c
ddksr/segmentor-meshlab
gpl-2.0
10,527
514
codeparrot/github-code
e9b0991a422767778771311c3cbe0122dd8c52085cd5986f6800e05c61496b7a
#ifndef BTREE_H #define BTREE_H #include <stdlib.h> #include "common.h" typedef struct binary_tree_node btnode; typedef struct binary_tree btree; struct binary_tree_node { btnode *left, *right; void *data; }; struct binary_tree { btnode *root; comp_fun comp; size_t size; visitor_t visitor; }; void ...
C
src/btree.h
deekox/ccontainers
gpl-2.0
902
72
codeparrot/github-code
593c382a6e0b293c6ee0bd19c1740ef97078620f1b29fd765ed55659e69a3392
/* ---------------------------------------------------------------------- LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator https://lammps.sandia.gov/, Sandia National Laboratories Steve Plimpton, sjplimp@sandia.gov Copyright (2003) Sandia Corporation. Under the terms of Contract DE-AC...
C++
src/USER-FEP/pair_lj_cut_soft.cpp
rbberger/lammps
gpl-2.0
22,672
753
codeparrot/github-code
116eedb2ca4150a88475e6a7acefd3af783b39eeef901e5747fbe5fc5b150c24
#include <stdio.h> #include <string.h> #include <shogun/mathematics/Math.h> #include <shogun/lib/config.h> #include <shogun/io/SGIO.h> #include <shogun/structure/IntronList.h> using namespace shogun; CIntronList::CIntronList() :CSGObject() { m_length = 0; m_all_pos = NULL; m_intron_list = NULL; m_quality_list =...
C++
src/shogun/structure/IntronList.cpp
ratschlab/ASP
gpl-2.0
3,661
129
codeparrot/github-code
f910a72690c9a545f085a3f0d9698d9520e8f595a3fb04bbbd64618ed29a1c5c
#!/usr/bin/perl # # This code was forked from the LiveJournal project owned and operated # by Live Journal, Inc. The code has been modified and expanded by # Dreamwidth Studios, LLC. These files were originally licensed under # the terms of the license supplied by Live Journal, Inc, which can # currently be found at: #...
Perl
bin/upgrading/d8d9-userpicrename.pl
nakengelhardt/dw-free
gpl-2.0
4,729
149
codeparrot/github-code
5527e8c4d9b5c0f5e08600937ebb60d9be34c22588a82cbaff3243f2478b4800
<?php /** * @file * Contains TrelloTaskHandlerBase. */ namespace Drupal\fluxtrello\TaskHandler; use Drupal\fluxservice_extension\TaskHandler\RepetitiveTaskHandlerBaseExtended; use Guzzle\Http\Exception\BadResponseException; /** * Base class for Trello task handlers that dispatch Rules events. */ abstract class...
PHP
lib/Drupal/fluxtrello/TaskHandler/TrelloTaskHandlerBase.php
Spezelechse/fluxtrello
gpl-2.0
1,455
54
codeparrot/github-code
e108e4e13ed61f4e5eef70af5b36fb4ac2f67cc1833706df492a0f54d15b80a0
/* * passive scan program file * See COPYING file for license details */ #define _BSD_SOURCE 1 #include "ipv4_conn.h" #include "netstr.h" #include "utils.h" static int xflag = 0; /* Xtra ports flag. Goes past 1024 */ static int port_threshold; /* the (connections/port)/protocol */ static int verify_port = 1; /*...
C
passive.c
jayrfink/netstr
gpl-2.0
8,007
306
codeparrot/github-code
4a09336e4b123e06f344e51e052e2e1106b74d96d4fd11610d958e5f53c2df37
<?php add_action('widgets_init', 'porto_tweets_load_widgets'); add_action('wp_ajax_porto_twitter_tweets', 'porto_twitter_tweets'); add_action('wp_ajax_nopriv_porto_twitter_tweets', 'porto_twitter_tweets'); function porto_tweets_load_widgets() { register_widget('Porto_Twitter_Tweets_Widget'); } function porto_tw...
PHP
wp-content/plugins/porto-widgets/widgets/twitter_tweets.php
rinodung/live-theme
gpl-2.0
9,665
197
codeparrot/github-code
570f83112e775a09cf5d6dc0f91dcf1e409fda94be590658a9067d9e43e5a9f8
package main import ( "os"//for os.Args "fmt"//for fmt.Println "simplemath"//for simplemath.Add simplemath.Sqrt "strconv"//for strconv.Atoi ) var Usage = func() { fmt.Println("USAGE: calc command [arguments] ...") fmt.Println("\tThe commands are:\n\tadd\tAddition of two values.") fmt.Println("\tsqrt\tSquare ro...
GO
code/calcproj/src/calc/calc.go
haboabc/mygo
gpl-2.0
1,117
58
codeparrot/github-code
14e83650b7542688ad53c59e984c1045456f377ab3b31c9cdae1ff6908d5e2df
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title></title> <link rel="stylesheet" media="screen" type="text/css" href="./style.css" /> <link rel="stylesheet" media="screen" type="text/css" href="./design.css" /> <link ...
HTML
docs/wiki/gsoc2009_projects.html
ee-lco/geda-gaf
gpl-2.0
3,999
97
codeparrot/github-code
41ec0aa0ad889e9d89451bf440faa8bb140aa71df3afb179997f3bee275b51fe
#include "tag_duel.h" #include "netserver.h" #include "game.h" #include "../ocgcore/ocgapi.h" #include "../ocgcore/card.h" #include "../ocgcore/duel.h" #include "../ocgcore/field.h" #include "../ocgcore/mtrandom.h" namespace ygo { TagDuel::TagDuel() { game_started = false; for(int i = 0; i < 4; ++i) { players[i] ...
C++
gframe/tag_duel.cpp
zhykzhykzhyk/ygopro
gpl-2.0
55,428
1,607
codeparrot/github-code
51ba611dbff441c447704145c81d830a91f05495f938cf1bc4889eebd2ba1337
/* SPDX-License-Identifier: GPL-2.0-or-later */ #include <bootmode.h> #include <console/console.h> #include <device/pci.h> #include <intelblocks/pmc_ipc.h> #include <intelblocks/systemagent.h> #include <intelblocks/tcss.h> #include <inttypes.h> #include <security/vboot/vboot_common.h> #include <soc/pci_devs.h> #includ...
C
src/soc/intel/common/block/tcss/tcss.c
felixsinger/coreboot
gpl-2.0
9,766
392
codeparrot/github-code
d0fbf445557084ce75e0171de389f061836910a34db3be7f9db78fae5623a78d
<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html" charset="utf-8"> <title>图书广场</title> <link rel="stylesheet" type="text/css" href="/passon/Public/css/squre.css"> <script type="text/javascript" src="/passon/Public/js/jq...
PHP
makerway/Application/Runtime/Cache/Home/b7c1ef1ff10822b8b63d32e7c8203d80.php
huran2014/huran.github.io
gpl-2.0
6,713
156
codeparrot/github-code
f3b49e5f539bc58ae21ae65dd2d14e9d0d2ab307f89b20a8f8e4cb49cd6d62ff
<?php if($this->is('post') || $this->is('page')): ?> <nav id="sidebar" <?php if ($this->fields->fm){ ?>data-behavior="3"<?php }else{ ?> <?php if ($this->fields->ys){ ?>data-behavior="<?php $this->fields->ys(); ?>"<?php }else{ ?> data-behavior="<?php $this->options->css(); ?>"<?php };?><?php };?>> <?php ...
PHP
sidebar.php
jrotty/Themia-for-TE
gpl-2.0
4,542
102
codeparrot/github-code
38092a645b62005e9ba9e4a09400366d3ef2c4989a47b25559c7d17927ab184c
package hu.paksyd.tictactoe; import org.junit.Assert; import org.junit.Before; import org.junit.Test; public class GameGeneralTest { private Game game; @Before public void setUp() { game = new Game(); } @Test public void activePlayerShouldBeDifferentAfterSwitch() { Player fi...
Java
src/test/java/hu/paksyd/tictactoe/GameGeneralTest.java
PDavid/TicTacToe
gpl-2.0
1,612
64
codeparrot/github-code
03e10115e996188d2f4bbb49a6151a9fbc3d79f8db07dc648c87e40ca35cb562
/* * Copyright 2006-2018 The MZmine 2 Development Team * * This file is part of MZmine 2. * * MZmine 2 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 yo...
Java
src/main/java/net/sf/mzmine/modules/peaklistmethods/isotopes/isotopepeakscanner/IsotopePeakScannerModule.java
photocyte/mzmine2
gpl-2.0
2,599
73
codeparrot/github-code
2a74f67fa81b692a7deb4c58b33514f4f1b744b88e0960731a593c8b3ecb8a5f
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- * * Copyright (C) 2018-2020 Matthias Klumpp <matthias@tenstral.net> * * Licensed under the GNU Lesser General Public License Version 2.1 * * This library is free software: you can redistribute it and/or modify * it under the terms of the GN...
C
src/as-validator-issue-tag.h
aleixpol/appstream
gpl-2.0
26,537
668
codeparrot/github-code
10b0478e0a59b88a3e719372c463e6c6434decd1fa200abe5222b8c7242e6d43
// graphstate.cpp // Siegfried Nijssen, snijssen@liacs.nl, jan 2004. #include "graphstate.h" #include "database.h" #include "misc.h" #include <queue> GraphState graphstate; #ifdef DEBUG // The functions in the DEBUG sections allow for reading in a graph from a file, // and to check during the run of the algorithm if...
C++
src/graphstate.cpp
mahito-sugiyama/significant-subgraph-mining
gpl-2.0
37,014
1,164
codeparrot/github-code
1a49289e034d1d3fe3bc9eddd09f89184d12854c928cac9c96189c505ace2650
"""This is (more-or-less) the example experiment described in the getting started section of the manual. In this experiment we simply measure the number of packets received as we ramp up the amount of traffic generated. """ import sys import random from network_tester import Experiment, to_csv # Take the SpiNNaker ...
Python
examples/getting_started_example.py
project-rig/network_tester
gpl-2.0
1,458
53
codeparrot/github-code
d0699bf60c30ce115efc6b44fec5896c0b98766b5da92ad544626760b6e67afc
/** * @created on : 31-jul-2017, 0:23:33 * @see * @since * @version * @author Raul Vela Salas */ package java_calculadora; import java.util.Scanner; public class T3__26_Calculadora1Objetos { private static Scanner sc; private static int valor; private static int con = 0; // private static int n...
Java
Java_Ejemplos/src/java_calculadora/T3__26_Calculadora1Objetos.java
NoTengoNombre/Java_ActualizarConocimientos
gpl-2.0
3,887
113
codeparrot/github-code
d6502d0dbfba9d56e928c09ea458fd59ff0410f4b0dbbacdd96521fb5ce8a655
<?php /*----------------------------------------------------------------------------------- Plugin Name: Custom Video Widget Plugin URI: http://www.premiumpixels.com Description: A widget that displays your latest video Version: 1.0 Author: Orman Clark Author URI: http://www.premiumpixels.com ...
PHP
wp-content/themes/creativoPuro/functions/widget-youtube.php
Bordepolitico/bordev2
gpl-2.0
4,691
147
codeparrot/github-code
b95e17a825e2509a6137f735e3ee80cfe3d5de0c55f8cb054dd4e4f0b2ab7fe5
/* ScummVM - Graphic Adventure Engine * * ScummVM is the legal property of its developers, whose names * are too numerous to list here. Please refer to the COPYRIGHT * file distributed with this source distribution. * * This program is free software; you can redistribute it and/or * modify it under the terms of ...
C++
engines/scumm/akos.cpp
MaddTheSane/scummvm
gpl-2.0
47,937
1,893
codeparrot/github-code
823e63d8dac62318d7d75c855d1989ff23116bd4023315bc43a0564259d4fc34
package org.iocaste.external.common; import java.io.IOException; import java.net.Socket; public abstract class AbstractExternalFunction extends Thread { private Socket socket; private IocasteConnector connector; protected External external; @Override public final void run() { try { ...
Java
src/external/lib/org/iocaste/external/common/AbstractExternalFunction.java
fprates/iocaste
gpl-2.0
1,013
41
codeparrot/github-code
7ba1690f0fd783f1cbb8b22a52788ae1cbbf0b2008e4d76f24b2b0a9ed3d4ff8
package com.miagebdx.website; import com.miagebdx.website.config.Constants; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.boot.SpringApplication; import org.springframework.boot.actuate.autoconfigure.MetricFilterAutoConfiguration; import org.springframework.boot.actuate.autoconfig...
Java
src/main/java/com/miagebdx/website/Application.java
miagebdx/website
gpl-2.0
3,123
82
codeparrot/github-code
9f6d1c5991aea6d0d5ab9c4dbbc9a2748ded090a6c4bfec02bc096c4e3c3b50c
<?php class formAdminCtypesField extends cmsForm { public function init($do, $ctype_name) { return array( 'basic' => array( 'type' => 'fieldset', 'childs' => array( new fieldString('name', array( 'title' => LANG_SYSTEM...
PHP
system/controllers/admin/forms/form_ctypes_field.php
solovkin/instantcms2
gpl-2.0
6,842
171
codeparrot/github-code
8ada7337e0f2d5e4fac33a8c84f2ee5cd880872739f5a1eeb960437a9b5974fa
package edu.towson.cis.cosc455.jseymour.project1.implementation; public class Token { public static final String DOCB = "#BEGIN"; public static final String DOCE = "#END"; public static final String HEAD = "^"; public static final String TITLEB = "<"; public static final String TITLEE = ">"; public st...
Java
src/edu/towson/cis/cosc455/jseymour/project1/implementation/Token.java
jseymo2/COSC455Project1
gpl-2.0
1,250
31
codeparrot/github-code
0aaa6d885490c99567a55fb66ddf9e5aa05127030e8eaeb6e9137464caed0ec0
/* This file is part of the KDE project Copyright (C) 2008 Marijn Kruisselbrink <m.kruisselbrink@student.tue.nl> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version ...
C
showcase/plugins/pageeffects/matrixwipe/snakewipe/SCSnakeWipeEffectFactory.h
KDE/koffice
gpl-2.0
1,800
45
codeparrot/github-code
62b7fdbd1d741e2962d46d6ad94a03a6efafdc332192cffa4cdcec17a764cb5d
/* * linux/fs/binfmt_elf.c * * These are the functions used to load ELF format executables as used * on SVr4 machines. Information on the format may be found in the book * "UNIX SYSTEM V RELEASE 4 Programmers Guide: Ansi C and Programming Support * Tools". * * Copyright 1993, 1994: Eric Youngdale (ericy@cais.c...
C
fs/binfmt_elf.c
Honor8Dev/android_kernel_huawei_FRD-L04
gpl-2.0
59,790
2,263
codeparrot/github-code
77305e82859590aad884d6da9659be4d1e7a12a9c2a80255b7b076faf0ad02eb
'======================================================================== 'Kartris - www.kartris.com 'Copyright 2021 CACTUSOFT 'GNU GENERAL PUBLIC LICENSE v2 'This program is free software distributed under the GPL without any 'warranty. 'www.gnu.org/licenses/gpl-2.0.html 'KARTRIS COMMERCIAL LICENSE 'If a ...
Visual Basic
App_Code/BLL/TaxBLL.vb
cactusoft/kartris
gpl-2.0
13,906
320
codeparrot/github-code
9f19e858a06677b052cb697c5565531a430cdf8880b7a5c4a1e3706d79b33bb7
/* * Stash: A Personal Finance app (Qt UI). * Copyright (C) 2020-2021 Peter Pearson * You can view the complete license in the Licence.txt file in the root * of the source tree. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as ...
C
qt/src/settings/pie_chart_page.h
ppearson/Stash
gpl-2.0
1,502
55
codeparrot/github-code
382a29b5c43cbc1a1bd6bed5d84d0b833a07d97cd73a67b8dba8257d52d48f0f
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Mupen64plus-input-sdltouch - plugin.h * * Mupen64Plus homepage: http://code.google.com/p/mupen64plus/ * * Copyright (C) 2014 Franz-Josef Anton Friedrich Haider * * Copyrig...
C
src/plugin.h
krnlyng/mupen64plus-input-sdltouch
gpl-2.0
4,848
136
codeparrot/github-code
fe749c2732e442d74e568f2f15ea86aa4a517f21a147ad2cb05c8e5095b8b162
/* ** vim: ts=4 sw=4 expandtab */ /* ** Copyright (C) 1998-2007 The University of Melbourne. ** This file may only be copied under the terms of the GNU Library General ** Public License - see the file COPYING.LIB in the Mercury distribution. */ /* ** This module implements the mdb commands in the "dd" category. ** ** ...
C
trace/mercury_trace_cmd_dd.c
mgudemann/mercury
gpl-2.0
13,529
374
codeparrot/github-code
3a28f2c366a56861ab48c8486b14971122a036ff62b9f5ba0181f2000409158e
/* * File: Endpoint.cpp * Author: HoelscJ * * Created on 28. Oktober 2011, 11:35 */ #include "Endpoint.h" namespace partitionservice { Endpoint::Endpoint(boost::asio::ip::tcp::endpoint ep) { _ep = ep; } Endpoint::~Endpoint() { } bool Endpoint::operator==(const Endpoint & a)const { return ...
C++
src/plugins/services/partitionservice/Endpoint.cpp
psychobob666/MediaEncodingCluster
gpl-2.0
504
32
codeparrot/github-code
c076a2362fd6e3c065145641769586ad7fba616a6c8b92fefbb5cd4847a58558
/* * Quill and Parchment, a WYSIWYN document editor and rendering engine. * * Copyright © 2009-2010 Operational Dynamics Consulting, Pty Ltd * * The code in this file, and the program it is a part of, is made available * to you by its authors as open source software: you can redistribute it * and/or modify it u...
Java
src/parchment/render/ReportRenderEngine.java
afcowie/quill
gpl-2.0
1,595
49
codeparrot/github-code
58da1f2495629db32a0a92bc65fb5c5babc4a3245ed25ad0dcbc755ed384aaa6
<?php /** * Readit Theme Customizer * * @package readit */ /** * Add postMessage support for site title and description for the Theme Customizer. * * @param WP_Customize_Manager $wp_customize Theme Customizer object. */ function readit_customize_register( $wp_customize ) { //allows donations class read...
PHP
wp-content/themes/readit/inc/customizer.php
imsashko/blog
gpl-2.0
31,176
930
codeparrot/github-code
fe65b07b3bc9ddf0e296856f0c458cca8f6fce40e9389790d9c0c649627df622
#!/usr/bin/env python import logging from .HTMLElement import HTMLElement from .HTMLFormControlsCollection import HTMLFormControlsCollection from .attr_property import attr_property log = logging.getLogger("Thug") class HTMLFormElement(HTMLElement): name = attr_property("name") acceptCharset = att...
Python
thug/DOM/W3C/HTML/HTMLFormElement.py
buffer/thug
gpl-2.0
1,891
57
codeparrot/github-code
cb903ade4d1204d51dabc2f1dfdf8088313df0d4a75eb462f62a84f3a083243a
package codes.achievement.plugin.idea.storage; import codes.achievement.plugin.idea.dto.EventDto; import com.google.gson.Gson; import com.squareup.tape.FileObjectQueue; import com.squareup.tape.ObjectQueue; import java.io.*; /** * Dozer @ 2015-02 * mail@dozer.cc * http://www.dozer.cc */ public class EventQueue i...
Java
src/codes/achievement/plugin/idea/storage/EventQueue.java
codes-achievement/codes-achievement-idea-plugin
gpl-2.0
2,247
91
codeparrot/github-code
c3ac31297bafa0c8b146373fe03da541a78ab69776bafbaeb9e8713e3acab292
/* * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
C++
hotspot/src/share/vm/classfile/systemDictionary.hpp
aducode/openjdk-source-code-learn
gpl-2.0
34,221
687
codeparrot/github-code
ff8ef4e6092fe8bce081e92d4bfe0f5eda3c00a3afb282cc7ceba636fcb42bb8
<?php /** * ZIP file directories reader, for the purposes of upload verification. * * 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) a...
PHP
includes/utils/ZipDirectoryReader.php
pierres/archlinux-mediawiki
gpl-2.0
21,966
720
codeparrot/github-code
3747da17be94d9176c7e6d1962fc56ccde7643168a48ff80d98d67620964654e
<?php namespace MkdCore\CPT\Slider; use MkdCore\Lib; /** * Class SliderRegister * @package MkdCore\CPT\Slider */ class SliderRegister implements Lib\PostTypeInterface { /** * @var string */ private $base; public function __construct() { $this->base = 'slides'; $this->taxBase ...
PHP
wp-content/plugins/mikado-core/post-types/slider/slider-register.php
peerapat-pongnipakorn/somphoblaws
gpl-2.0
3,373
102
codeparrot/github-code
9607b908db5d92dfa0f80065fcdee3799f4bd704c1c4219505db3803fefc93db
/* CPU data for openrisc. THIS FILE IS MACHINE GENERATED WITH CGEN. Copyright 1996-2010 Free Software Foundation, Inc. This file is part of the GNU Binutils and/or GDB, the GNU debugger. This file is free software; you can redistribute it and/or modify it under the terms of the GNU General Public Lic...
C
opcodes/openrisc-desc.c
caryhaynie/binutils
gpl-2.0
34,405
1,019
codeparrot/github-code
04fb7fe52d11067f96997826d8074d95c25e8ef4c8aab5e7c7d27d50b830d03f
/* * Copyright (C) 2007, Dave Watson <dwatson@mimvista.com> * Copyright (C) 2006-2007, Robin Rosenberg <robin.rosenberg@dewire.com> * Copyright (C) 2006-2007, Shawn O. Pearce <spearce@spearce.org> * and other copyright owners as documented in the project's IP log. * * This program and the accompanying materials a...
Java
src/org/eclipse/jgit/lib/CommitBuilder.java
DanielliUrbieta/ProjetoHidraWS
gpl-2.0
10,374
362
codeparrot/github-code
bcead6857307316f6b615ca67b231efcab96305fa49e739171ee4bee07ba41c5
<?php /** * @package MiwoVideos * @copyright Copyright (C) 2009-2014 Miwisoft, LLC. All rights reserved. * @license GNU General Public License version 2 or later */ # No Permission defined('MIWI') or die ; class MiwovideosViewPlaylist extends MiwovideosView { public function display($tpl = null) { ...
PHP
wp-content/plugins/miwovideos/site/views/playlist/view.html.php
dagi377/Job-search-site-wordpress-
gpl-2.0
3,873
74
codeparrot/github-code
b560b78c39312a51a421621de806b1751b31406858de64da04c219f85dcffa39
<? /**[N]** * JIBAS Education Community * Jaringan Informasi Bersama Antar Sekolah * * @version: 3.2 (September 03, 2013) * @notes: JIBAS Education Community will be managed by Yayasan Indonesia Membaca (http://www.indonesiamembaca.net) * * Copyright (C) 2009 Yayasan Indonesia Membaca (http://www.indon...
PHP
jibas/infoguru/buletin/beritasiswa/beritasiswa_add.php
nurulimamnotes/sistem-informasi-sekolah
gpl-2.0
7,601
170
codeparrot/github-code
7848f9fa3efc51d4da9ed709ca84e568db2ec7dd2bbd26b4fc4a4d06d0a347bc
package ca.benow.transmission.model; import java.util.Date; import org.json.JSONException; import org.json.JSONObject; public class TorrentStatus extends JSONAccessor { public static enum StatusField { stopped, finished, seeding, seedWait, downloading, downloadWait, checking, checkWait }; public static S...
Java
CustomP2P/src/ca/benow/transmission/model/TorrentStatus.java
juandavidblues/ProyectoRedesEntrega
gpl-2.0
17,593
321
codeparrot/github-code
e6a98af74260ee2039bfb0a498109c464d04f5c83e70a3b7c3a2e6a2340b9415
<?php /** * @version 1.1 $Id$ * @package Joomla * @subpackage EventList * @copyright (C) 2005 - 2009 Christoph Lukes * @license GNU/GPL, see LICENSE.php * EventList is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License 2 * as published by the Free Softwar...
PHP
administrator/components/com_eventlist/tables/eventlist_categories.php
ger4003/int14_ger_joomla
gpl-2.0
4,513
169
codeparrot/github-code
bb065a9fb7991e281271fd01bff8ae05f6e760fcb706a16fb055916ee3bc3e26
#include <linux/dma-mapping.h> #include "ipts.h" #include "ipts-mei-msgs.h" #include "ipts-kernel.h" static void free_common_resource(ipts_info_t *ipts) { char *addr; ipts_buffer_info_t *feedback_buffer; dma_addr_t dma_addr; u32 buffer_size; int i, num_of_parallels; if (ipts->resource.me2hid_buffer) { devm_k...
C
drivers/misc/ipts/ipts-resource.c
ipts-linux-org/ipts-linux-new
gpl-2.0
7,329
278
codeparrot/github-code
c7e4a8ac08579baff3bdfc8be7721b7f6be546122fb7efea0ec07f45c7d1f8c7
<?php /* [UCenter Home] (C) 2007-2008 Comsenz Inc. $Id: cp_friend.php 13178 2009-08-17 02:36:39Z liguode $ */ if(!defined('IN_UCHOME')) { exit('Access Denied'); } $op = empty($_GET['op'])?'':$_GET['op']; $uid = empty($_GET['uid'])?0:intval($_GET['uid']); $space['key'] = space_key($space); $actives...
PHP
user/uc/home/source/unused/cp_friend.php
Voskrese/mipsonqemu
gpl-2.0
22,812
724
codeparrot/github-code
661befebba5b96f7862abb073ba610ccf8c6c7eaa50d7d9931a9fce6d7c496dd
/* This file is part of the KDE project Copyright 2005,2007 Stefan Nikolaus <stefan.nikolaus@kdemail.net> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of th...
C++
kcells/commands/KCConditionCommand.cpp
KDE/koffice
gpl-2.0
2,080
63
codeparrot/github-code
3c0814f1fe57ae5340bfca6d7d82d2a9cf4938c6438da72f0ff8b3a3ccee468a
// main.cpp // includes #include <cstdio> #include <cstdlib> #include "attack.h" #include "book.h" #include "hash.h" #include "move_do.h" #include "option.h" #include "pawn.h" #include "piece.h" #include "protocol.h" #include "random.h" #include "square.h" #include "trans.h" #include "util.h" #include "value.h" #in...
C++
main.cpp
nescitus/growing_fruit
gpl-2.0
927
64
codeparrot/github-code
c4eef0ee6b79bdaa079e1dccf50166b1d05743a39c9e7edfd042ffca6291f328
/* * COPYRIGHT: GPL - See COPYING in the top level directory * PROJECT: ReactOS Virtual DOS Machine * FILE: subsystems/mvdm/ntvdm/dos/dem.c * PURPOSE: DOS 32-bit Emulation Support Library - * This library is used by the built-in NTVDM DOS32 and by * ...
C
subsystems/mvdm/ntvdm/dos/dem.c
sunnyden/reactos
gpl-2.0
45,570
1,529
codeparrot/github-code
3fba9ef6c4196eba050ea27cbc3c2188b23244411e2cbe1254649c07efc7cdbb
# Rock-paper-scissors-lizard-Spock import random # helper functions def name_to_number(name): if name == "rock": name = 0 elif name == "Spock": name = 1 elif name == "paper": name = 2 elif name == "lizard": name = 3 elif name == "scissors": name = 4 els...
Python
Rock-paper-scissors-lizard-Spock.py
reneisrael/coursera
gpl-2.0
1,947
69
codeparrot/github-code
c437f6e0951abb6ab7c13fe79f32713bc027a4089dfda7924eb9319b3fea222b
<? /* LibreSSL - CAcert web application Copyright (C) 2004-2008 CAcert 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; version 2 of the License. This program is distrib...
PHP
includes/general.php
CAcertOrg/cacert-devel
gpl-2.0
25,948
893
codeparrot/github-code
259ee229628aa505c8ca508a2939f5b36e1a908ab8ced9a3183c4278893f4efe
/****************************************************************** Theme Name: PanoPla Blue Theme URI: http://panoplay.com/w[/theme Description: A free theme developed to showcase our panoramas. Author: Bit Space Development Ltd. Author URI: http://www.bitspacedevelopment.com Version: 1.7 Tags: pano, viewer, panoplay,...
CSS
style.css
Trying-On-The-Trades/blue-theme
gpl-2.0
4,390
109
codeparrot/github-code
d286f825b7c01eaba01ea0a1599acefe49563b64d099ccd1dbe530a9cc1e625e
package de.tum.bgu.msm.utils; import cern.colt.Timer; import com.google.common.collect.HashBasedTable; import com.google.common.collect.HashMultiset; import com.google.common.collect.Multiset; import com.google.common.collect.Table; public class TimeTracker { private int currentYear; private final Multiset<S...
Java
siloCore/src/main/java/de/tum/bgu/msm/utils/TimeTracker.java
msmobility/silo
gpl-2.0
1,922
63
codeparrot/github-code
9295c11ffff2ac37568da76d18388a55d672d2617cc6caaf5b32f10d41590adb
/* * Copyright (c) 1995, 1996, 1997 Robert Gentleman and Ross Ihaka * Copyright (c) 1995-2014, The R Core Team * Copyright (c) 2002-2008, The R Foundation * Copyright (c) 2013, 2018, Oracle and/or its affiliates * * This program is free software; you can redistribute it and/or modify * it under the terms of the...
Java
com.oracle.truffle.r.nodes.builtin/src/com/oracle/truffle/r/nodes/builtin/base/Quit.java
graalvm/fastr
gpl-2.0
3,573
83
codeparrot/github-code
9b91ed0f0e5fc3d88eba910d74fa65e122af721db95f9e58e8305e4d99b2dc15
/* * Copyright (c) 2019, 2021, 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 3 only, as * published by the Free ...
Java
com.oracle.truffle.r.runtime/src/com/oracle/truffle/r/runtime/data/nodes/attributes/PropertyAccessNode.java
graalvm/fastr
gpl-2.0
3,391
84
codeparrot/github-code
47ff4bdddf5dba1d21106f9ac1ab115cdad81f36841be5604a2f343490ad9844
/* * Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/> * * Copyright (C) 2008-2009 Trinity <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 vers...
C++
src/game/CreatureAI.cpp
Bootz/TC-One
gpl-2.0
4,918
149
codeparrot/github-code
5070777dd038b11814b3910712e1d32832f57ee2aa636a292ff580c73a90b10d
/* * arch/s390/kernel/time.c * Time of day based timer functions. * * S390 version * Copyright IBM Corp. 1999, 2008 * Author(s): Hartmut Penner (hp@de.ibm.com), * Martin Schwidefsky (schwidefsky@de.ibm.com), * Denis Joseph Barrow (djbarrow@de.ibm.com,barrow_dj@yahoo.com) ...
C
arch/s390/kernel/time.c
broonie/regulator-2.6
gpl-2.0
46,151
1,737
codeparrot/github-code
d081e8ddd57a9c5297206f76e7379370deb5957840f8b66e57c42641565fc7de
/* -------------------------------------------------- ----------------------------------------- The frame content is protected by copyright law. In order to facilitate individual learning, allows to download the program source information, but does not allow individuals or a third party for profit, the commercial use ...
C#
Laurent.Lee.CLB.Ex/Emit/TmphPub.cs
LaurentLeeJS/Laurent.Lee.Framework
gpl-2.0
8,040
174
codeparrot/github-code
fedc33b55b3dda29ce58bcb6feb25da6fd1ebb4224ae01c54a5ff46b8d42f867
import os import ycm_core from clang_helpers import PrepareClangFlags # Set this to the absolute path to the folder (NOT the file!) containing the # compile_commands.json file to use that instead of 'flags'. See here for # more details: http://clang.llvm.org/docs/JSONCompilationDatabase.html # Most projects will NOT n...
Python
.ycm_extra_conf.py
matthiasvegh/LazyIterator
gpl-2.0
3,363
107
codeparrot/github-code
9e111b0429737d6e8d85d0d9d5dce8ed87db1a54019aca0487f79f022a828eb6
# -*- coding: utf-8 -*- # Copyright 2004-2009 Joe Wreschnig, Michael Urman, Iñigo Serna, # Steven Robertson # 2011-2017 Nick Boultbee # 2013 Christoph Reiter # 2014 Jan Path # # This program is free software; you can redistribute it and/or modify # it under th...
Python
quodlibet/quodlibet/qltk/prefs.py
elbeardmorez/quodlibet
gpl-2.0
31,081
751
codeparrot/github-code
c9ae95a0d5a6c495f19cee2900ca25f01bd144da09d20bc9402dae7872668abc
package servcommon; use config; use common; use CGI param,header; use DBI; use Date::Pcalc qw(Date_to_Days Add_Delta_Days Day_of_Week); use base 'Exporter'; use Socket; use POSIX; @EXPORT = qw($dbh Printable PrintTxt ShowHidden genMime SmtpSendMail $servstring $service $date); $dbh = DBI->connect("DBI:mysql:database...
Perl
cgi-bin/servcommon.pm
dleffler/worship_planner
gpl-2.0
9,671
327
codeparrot/github-code
ef7064f0a17e4314cf0c9c79522c687f5fe04e5b428bb00532b98c97ef826cb5
/***************************************************************** Copyright (c) 2000 Matthias Elter <elter@kde.org> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including...
C
kicker/extensions/dockbar/dockcontainer.h
iegor/kdebase
gpl-2.0
2,429
91
codeparrot/github-code
98432513538695bddf1467e426854bcd1bcf408e7a95a7f9eba8de3cc596cb18
/******************************************************************************* * This file is part of OpenNMS(R). * * Copyright (C) 2006-2011 The OpenNMS Group, Inc. * OpenNMS(R) is Copyright (C) 1999-2011 The OpenNMS Group, Inc. * * OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc. * * OpenNMS(...
Java
opennms-services/src/main/java/org/opennms/netmgt/config/JMXDataCollectionConfigDao.java
tharindum/opennms_dashboard
gpl-2.0
3,018
76
codeparrot/github-code
d641a103d25be3822ac88d370b3a78ed3b7c752a3456405d6fae63107990ec84
/* * Java Terrain and Stellar System Ports * * Copyright (C) 2006 Martin H. Smith based on work by original * authors. * * Released under the terms of the GNU General Public License * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public ...
Java
src/main/java/com/alvermont/terraj/planet/project/AbstractProjector.java
madebyjeffrey/TerraJ
gpl-2.0
31,898
929
codeparrot/github-code
5d5841ef16390023685308d28736e0782fa66f571db1d8dd1e427b8c2b6ffd3b
<?php /** * The default template for displaying content * * Used for both single and index/archive/search. * * @package WordPress * @subpackage Twenty_Twelve * @since Twenty Twelve 1.0 */ ?> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <?php if ( is_sticky() && is_home() && ! is_paged() ) :...
PHP
wp-content/themes/vihoangson/content.php
vihoangson/vihoangson.com
gpl-2.0
3,074
75
codeparrot/github-code
876cffb0f69a77792d40be126ba6c939fe1c11b36464d380c17c207ad8053770
/* This example code is placed in the public domain. */ #ifdef HAVE_CONFIG_H #include <config.h> #endif #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/types.h> #include <sys/socket.h> #include <arpa/inet.h> #include <unistd.h> #include <gnutls/gnutls.h> #include <gnutls/extra.h> /* A basic ...
C
doc/examples/ex-client-tlsia.c
sqs/gnutls
gpl-3.0
3,431
162
codeparrot/github-code
a3b362025e9777860ffe0f577c80837c5aadc6db1080d967ae75b41b5e58d1cc
import { browser, element, by, $ } from 'protractor'; import { NavBarPage } from './../page-objects/jhi-page-objects'; const path = require('path'); describe('Reinigung e2e test', () => { let navBarPage: NavBarPage; let reinigungDialogPage: ReinigungDialogPage; let reinigungComponentsPage: ReinigungCompon...
TypeScript
src/test/javascript/e2e/entities/reinigung-ff.spec.ts
t08094a/ffManagementSuite
gpl-3.0
2,865
92
codeparrot/github-code
9e910e57b9d6530597db68011f32f61929a50ca3f7468828bfc4fb022619b602
/************************************************************************** Lightspark, a free flash player implementation Copyright (C) 2009-2011 Alessandro Pignotti (a.pignotti@sssup.it) This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser Genera...
C
src/threading.h
leighman/lightspark
gpl-3.0
5,141
221
codeparrot/github-code
86166977d7efb483afc735fa55b785d5c2c927684531a05227d562c31f6611cd
/* Copyright (C) 2009 Frédéric Zubler, Rodney J. Douglas, Dennis Göhlsdorf, Toby Weston, Andreas Hauri, Roman Bauer, Sabina Pfister & Adrian M. Whatley. This file is part of CX3D. CX3D 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...
Java
src/main/java/ini/cx3d/spatialOrganization/OpenTriangleOrganizer.java
breitwieser/cx3d-cpp
gpl-3.0
39,824
1,082
codeparrot/github-code
ece6ee66a99845be2116b713f9f6acedcfdb46608d9e7c6b69927b3e4647a5f9
package com.lionsinvests.watchdb.app.ui; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentStatePagerAdapter; import com.lionsinvests.watchdb.app.movie.MovieList; import java.util.List; public class MovieListPagerAda...
Java
app/src/main/java/com/lionsinvests/watchdb/app/ui/MovieListPagerAdapter.java
monsharen/watchdb-android
gpl-3.0
1,125
42
codeparrot/github-code
0ba606185cc892317121e074b119ecb0d3d497bcb812d90175182fd793db7437
function widthOf(element) { return Number(window.getComputedStyle(element).width.replace(/[^\d\.\-]/g, '')); } function heightOf(element) { return Number(window.getComputedStyle(element).height.replace(/[^\d\.\-]/g, '')); } function parseNanoTime(input) { var module = Math.abs(input); var sign = input /...
JavaScript
static/chrono.js
niohiki/debate-server
gpl-3.0
3,090
79
codeparrot/github-code
ff16966066be1e39851864d9a044b1b077e16e7845413d5e4352afffed5d4960
/* * Copyright 2011-2012 Arx Libertatis Team (see the AUTHORS file) * * This file is part of Arx Libertatis. * * Arx Libertatis 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 Li...
C++
src/graphics/effects/DrawEffects.cpp
xoddark/libretro-arxlibertatis
gpl-3.0
11,333
398
codeparrot/github-code
613decc6f18b1b2610801b0ff4f78c42af2f7b47fc993d7e5bf4d5c188ad63b9
package diveboard; import diveboard.CommonActions; //import org.testng.annotations.Test; public class SimpleDiveActions extends CommonActions { public static String url_new_dive; public static String graph_small = "M1,15L1,15L2,82L183,82L185,15L189,15L189,110L1,110L1,15"; public static String p...
Java
test/Integration/src/diveboard/SimpleDiveActions.java
Diveboard/diveboard-web
gpl-3.0
7,088
230
codeparrot/github-code
1fe10c210b145d7e5c856cbfedf1a549fd10740099c170e106ffe2bd3e13f719
<?php /* Advanced custom fields functionality ----------------------------------------------------------------------------- ----------------------------------------------------------------------------- ----------------------------------------------------------------------------- */ //* Scripts for ACF functions add_a...
PHP
mono-brighton/lib/acf_functions.php
mbernth/mono_brighton
gpl-3.0
17,353
532
codeparrot/github-code
1691cd58bf7a39a94c5cb89b74056f028a7e3b9755128c758a090b821ed1fb54
#include <glog/logging.h> #include <queue> #include <map> #include <thread> #include <mutex> #include <condition_variable> #include <ros/ros.h> #include <cv_bridge/cv_bridge.h> #include <diagnostic_msgs/KeyValue.h> #include <execinfo.h> #include <csignal> #include "self_calibration_estimator.h" #include "visualizatio...
C++
self_calibration_estimator/src/self_calibration_estimator_node.cpp
dvorak0/VI-MEAN
gpl-3.0
10,428
336
codeparrot/github-code
46cf7722ace236534524819fa9d489b312c01dbaf67ab2bcd403e6a447582ea6
// Copyright 2019-2020 CERN and copyright holders of ALICE O2. // See https://alice-o2.web.cern.ch/copyright for details of the copyright holders. // All rights not expressly granted are reserved. // // This software is distributed under the terms of the GNU General Public // License v3 (GPL Version 3), copied verbatim...
C
Framework/Core/include/Framework/HistogramRegistry.h
sawenzel/AliceO2
gpl-3.0
17,676
421
codeparrot/github-code
b975aacdf07a9f8c0572e677ea743c3d8aab8f076b90df227796813c51a9d4bb
<!DOCTYPE html> <html lang="es"> <head> <meta charset="utf-8"> <!-- =================================================================================================== Instituto Municipal de Planeación y Competitividad (IMPLAN) de Torreón. 3er. generación de la Plataforma del Conocimiento De...
HTML
indicadores-lerdo/economia-productividad-media-laboral.html
TRCIMPLAN/trcimplan.github.io
gpl-3.0
35,396
479
codeparrot/github-code
835fea3ad83e5c1ed5754b5204705c760833278c69224ffc437109cb79267816
/****************************************************************************! * _ _ _ _ * * | |__ _ __ / \ | |_| |__ ___ _ __ __ _ * * | '_ \| '__/ _ \| __| '_ \ / _ \ '_ \ / _` | * * ...
C
src/map/itemdb.c
Mateuus/brAthena
gpl-3.0
77,792
2,350
codeparrot/github-code