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 |
|---|---|---|---|---|---|---|---|---|
a77f793d0992b4e23abd97fd975afc3f1a083022065fd05bc5d9e7ff5e5b22e9 | package tasslegro.base;
import java.io.IOException;
import java.net.URI;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.ParseException;
import org.apache.http.annotation.NotThreadSafe;
import org.apache.http.client.ClientProtocolException;
import org.apache.http.client.... | Java | Client/src/main/java/tasslegro/base/Http_Delete.java | kaczla/TAS | gpl-2.0 | 2,256 | 80 | codeparrot/github-code |
2c48a107fd7820d42895ae3495753121a0af698533352cd8ad0f992887f5f3a4 | package com.fjaviermo.dropdroid;
import java.io.ByteArrayOutputStream;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.os.Bundle;
import android.support.v4.app.DialogFragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import andr... | Java | app/src/com/fjaviermo/dropdroid/CoverImageDialogFragment.java | fjaviermo/dropdroid | gpl-2.0 | 1,793 | 52 | codeparrot/github-code |
bec3e2b66617d67ae963499eafbe3dc7e8d3e87e332e0237919859489f108c4c | (function() {
var preview = true;
var themeShortcuts = {
insert: function(where) {
switch(where) {
case 'st_button_more':
var href = jQuery("#btn_more_src").val();
var what = '[st_button_more href="'+href+'"]';
break;
case 'st_button':
var text = jQuery("#text").val()... | JavaScript | wp-content/plugins/SupremeShortcodes/js/editor_plugin.js | vinciteng/bookitforward | gpl-2.0 | 66,280 | 1,538 | codeparrot/github-code |
866278e90a66388b381fbe472ff27f6221d3cb4c75caecc3f6f27895bc46ae6b | do
-- Check Member
local function check_member_autorealm(cb_extra, success, result)
local receiver = cb_extra.receiver
local data = cb_extra.data
local msg = cb_extra.msg
for k,v in pairs(result.members) do
local member_id = v.id
if member_id ~= our_id then
-- Group configuration
data[tostr... | Lua | plugins/ingroup.lua | iranianboy/iran-bot | gpl-2.0 | 44,210 | 1,266 | codeparrot/github-code |
fed562137c6e9dfbe814b6af448960af6ad1cd23a6da04ee742fec9534e35df0 | <?php
namespace MediaWiki\Extension\AbuseFilter\Variables;
use ContentHandler;
use Diff;
use Language;
use MediaWiki\Extension\AbuseFilter\Hooks\AbuseFilterHookRunner;
use MediaWiki\Extension\AbuseFilter\Parser\AFPData;
use MediaWiki\Extension\AbuseFilter\TextExtractor;
use MediaWiki\Permissions\PermissionManager;
us... | PHP | includes/Variables/LazyVariableComputer.php | wikimedia/mediawiki-extensions-AbuseFilter | gpl-2.0 | 15,514 | 498 | codeparrot/github-code |
6dd12353c468d85291a162457bd7bd3b43ccd2de22e70075a3be382461abfb29 | /* Yet Another Forum.NET
* Copyright (C) 2006-2013 Jaben Cargman
* http://www.yetanotherforum.net/
*
* 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... | C# | YetAnotherForum.NET/controls/smileys.ascx.cs | chiadem/YET | gpl-2.0 | 5,905 | 192 | codeparrot/github-code |
eaab1a602124b2bbc993b39d43da4cc791569152b6e197789db72e5990805e4c | /*
* Copyright (C) 2002-2015 The DOSBox Team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This p... | C++ | src/dos/drives.cpp | petmac/DOSBox | gpl-2.0 | 8,709 | 328 | codeparrot/github-code |
e64425d9dac98835a5f0354b51622e6e2f7e77e21efaa989cafd313554b65583 | // Copyright (C) 2003--2005 Carnegie Mellon University
// Copyright (C) 2011--2014 Google Inc
//
// This file is part of Ymer.
//
// Ymer 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 t... | C | src/parser-state.h | hlsyounes/ymer | gpl-2.0 | 2,182 | 77 | codeparrot/github-code |
e54c8e0a3654c2e96ee866d890c0cc51328b64c127fe93a2ccdeac9dac73ccc3 | class UsersController < ApplicationController
before_filter :init
before_action :require_login
def index
@users = User.all.where.not(email: current_user.email).order('created_at DESC')
end
def create
@user = User.new(user_params)
if @user.save
@activity = Activity.new({'user_id' => current... | Ruby | app/controllers/users_controller.rb | bl4ckdu5t/vitabiotics | gpl-2.0 | 1,808 | 60 | codeparrot/github-code |
23a2542fb378ee31efdbd7fb396af29a21f4f91121546276132c794a2ffc1a51 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="ru">
<head>
<title>FormulaEvaluator (POI API Documentation)</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
</head>
<body>
<scrip... | HTML | lib/docs/apidocs/org/apache/poi/ss/usermodel/FormulaEvaluator.html | setu9760/Jade_project_repo | gpl-2.0 | 19,103 | 410 | codeparrot/github-code |
d35d2745e0158df88bd0c712e3bfa834a3ae0ad5f3c2285d7056e5da585f4582 | <?php
/**
* @file
* @brief sigplus Image Gallery Plus metadata extraction
* @author Levente Hunyadi
* @version 1.3.0
* @remarks Copyright (C) 2009-2010 Levente Hunyadi
* @remarks Licensed under GNU/GPLv3, see http://www.gnu.org/licenses/gpl-3.0.html
* @see http://hunyadi.info.hu/projects/sigplus
*/
/*
* s... | PHP | plugins/content/sigplus/metadata.php | lucashappy/ibmodels | gpl-2.0 | 8,735 | 292 | codeparrot/github-code |
b8f97a52859d96644e529b86fa982574c3a481f4f9a10f44169947dfe3521973 | package MultiplyStrings;
/**
* Created by gzhou on 6/1/15.
*/
public class Solution {
public static void main(String[] args) {
System.out.println(multiply("123", "20"));
}
public static String multiply(String num1, String num2) {
String n1 = new StringBuilder(num1).reverse().toString();... | Java | MultiplyStrings/Solution.java | hyattgra/leetcode | gpl-2.0 | 1,253 | 42 | codeparrot/github-code |
f5bf70f12cd0cc937eaeba5ec63725a3f224c474ff2b024132eba22385b55654 | /*
LZ4 HC - High Compression Mode of LZ4
Header File
Copyright (C) 2011-2012, Yann Collet.
BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php)
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following condit... | C | include/linux/lz4hc.h | Frank77GLD/android_kernel_YG_m805_892x | gpl-2.0 | 3,522 | 123 | codeparrot/github-code |
f8ef3dd0bce0fe77daff6fb1fa42cfb52c5f014f88b45e371a2dd6335f7c34db | #
# bootloader_advanced.py: gui advanced bootloader configuration dialog
#
# Jeremy Katz <katzj@redhat.com>
#
# Copyright 2001-2002 Red Hat, Inc.
#
# This software may be freely redistributed under the terms of the GNU
# library public license.
#
# You should have received a copy of the GNU Library Public License
# alo... | Python | iw/bootloader_advanced_gui.py | sergey-senozhatsky/anaconda-11-vlan-support | gpl-2.0 | 3,639 | 112 | codeparrot/github-code |
f405910034cb51fb1d21e3c8844d61a92da1e480392564c42f6b3c279608bf7a | // Copyright (C) 1999,2000 Bruce Guenter <bruceg@em.ca>
//
// 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.
//
// Thi... | C++ | lib/misc/response_message.cc | hetznerZApackages/vmailmgr | gpl-2.0 | 1,297 | 40 | codeparrot/github-code |
aaea52e8e766df91c765bb50af1caa01849be3e8fe921e4fd0925e53c5421205 | /* LibTomCrypt, modular cryptographic library -- Tom St Denis
*
* LibTomCrypt is a library that provides various cryptographic
* algorithms in a highly modular and flexible manner.
*
* The library is free for all purposes without any express
* guarantee it works.
*/
#include "tomcrypt_private.h"
/**
@file rsa... | C | dep/tomlib/Crypt/src/pk/rsa/rsa_import.c | mangosthree/server | gpl-2.0 | 4,169 | 131 | codeparrot/github-code |
b31badbbe3e08ce2ab97e7e93146761beebbe073707f45d6d95274605b4d536d | /*
* Copyright (c) 2013, 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 | graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/calc/ReinterpretNode.java | BunnyWei/truffle-llvmir | gpl-2.0 | 4,000 | 106 | codeparrot/github-code |
5a8bccaedc70926fc89da627728c2919b7c8cc53dbdeb5a373e519384b3559dd | #!/usr/bin/env python
# **********************************************************************
#
# Copyright (c) 2003-2011 ZeroC, Inc. All rights reserved.
#
# This copy of Ice is licensed to you under the terms described in the
# ICE_LICENSE file included in this distribution.
#
# *************************************... | Python | cpp/test/Freeze/dbmap/run.py | joshmoore/zeroc-ice | gpl-2.0 | 1,137 | 36 | codeparrot/github-code |
ab0d10725908503a28078603a7725213ba6be03a5275a3ea305caf7a6bab3741 | <?php
/**
* HTML helper class
*
* This class was developed to provide some standard HTML functions.
*
* @package VirtueMart
* @subpackage Helpers
* @author RickG
* @copyright Copyright (c) 2004-2008 Soeren Eberhardt-Biermann, 2009 VirtueMart Team. All rights reserved.
*/
// Check to ensure this file is includ... | PHP | administrator/components/com_virtuemart/helpers/html.php | kenbabu/emproj | gpl-2.0 | 12,034 | 391 | codeparrot/github-code |
b365874bcf91d24b3377575bafb769d6d8b87cca0c84dd6f04933332a709abb4 | #!/usr/bin/python
import os
import sys
import re
# file name unified by the following rule:
# 1. always save the osm under ../osmFiles directory
# 2. the result automatically generate to ../trajectorySets
# 3.1. change variable "osmName", or
# 3.2. use command argument to specify osm file name
# 4. this script genera... | Python | Services/Mapping/fixProgram/script.py | nesl/mercury | gpl-2.0 | 1,925 | 61 | codeparrot/github-code |
4779d6f28aa522f58f4ae2be59e42d0c312f9c6a2a08b72c5285f3bbfe5f9d67 | package com.cf.tradeprocessor.web.rest.response;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
public class JsonResponse {
private Boolean success;
@JsonInclude(Include.NON_NULL)
private Object result;
public JsonResponse() {
}
private J... | Java | trade-processor/src/main/java/com/cf/tradeprocessor/web/rest/response/JsonResponse.java | camposer/cf | gpl-2.0 | 855 | 44 | codeparrot/github-code |
171ccbeb2fef1b50ddf41f8cb28947195955a0dfe56d4206a2953a1420c357d5 | /*jslint browser: true */ /*global jQuery: true */
/**
* jQuery Cookie plugin
*
* Copyright (c) 2010 Klaus Hartl (stilbuero.de)
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
*
*/
// TODO JsDoc
/**
* Create a cookie... | JavaScript | sites/default/files/js/js_FxzL6y_vG1Dd9B-MsolHGVlVoN_lbUIGopU6FCDDV9U.js | tungcan1501/hdtv | gpl-2.0 | 29,612 | 911 | codeparrot/github-code |
f087e14e6bf0fa4ecfdd2b3f972585ddae9c460fd611ef93b371087b66b2c0b4 | <?php
/**
* Profiler showing execution trace.
*
* 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... | PHP | includes/profiler/ProfilerSimpleTrace.php | flamusdiu/mediawiki | gpl-2.0 | 2,680 | 83 | codeparrot/github-code |
16e759dd2a42e7e4797b5cc2bbc00e88e96a60c3a8ed75260bb3a628ccfb1a66 | /* ***** BEGIN LICENSE BLOCK *****
* Source last modified: $Id: hxstat.h,v 1.7 2004/07/09 18:21:50 hubbe Exp $
*
* Portions Copyright (c) 1995-2004 RealNetworks, Inc. All Rights Reserved.
*
* The contents of this file, and the files included with this file,
* are subject to the current version of the RealNetwor... | C | src/3rdparty/libraries/helix/src/common/dbgtool/pub/hxstat.h | muromec/qtopia-ezx | gpl-2.0 | 7,488 | 236 | codeparrot/github-code |
75b840807b90c160392a0733b84deab42a4f68174dde3e47d0f7cce955178991 |
# OpenSSL is more stable then ssl
# but OpenSSL is different then ssl, so need a wrapper
import sys
import os
import OpenSSL
SSLError = OpenSSL.SSL.WantReadError
import select
import time
import socket
import logging
ssl_version = ''
class SSLConnection(object):
"""OpenSSL Connection Wrapper"""
def __ini... | Python | XX-Net/goagent/3.1.49/local/openssl_wrap.py | lichuan261/wuand | gpl-2.0 | 4,813 | 144 | codeparrot/github-code |
af8d076adfa9a269fa70df94662330673524d605b476b8315314e9d20aedecca | /*
Lucy the Diamond Girl - Game where player collects diamonds.
Copyright (C) 2005-2015 Joni Yrjänä <joniyrjana@gmail.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version ... | C | src/widget_set_navigation_right.c | Peanhua/diamond-girl | gpl-2.0 | 1,292 | 39 | codeparrot/github-code |
20739e620d679291914156911296a1d867fc91c4de3daedf7d672e5e73a423ff | <?php
chdir('../../');
require_once ('pika-danio.php');
pika_init();
$report_title = 'LSC Interim Case Services';
$report_name = "lsc_interim";
$base_url = pl_settings_get('base_url');
if(!pika_report_authorize($report_name))
{
$main_html = array();
$main_html['base_url'] = $base_url;
$main_html['page_title']... | PHP | blawlor/reports/lsc_interim/report.php | brianlawlor/ocm | gpl-2.0 | 6,045 | 245 | codeparrot/github-code |
deca8408bc0493d0f6ddda115fc17ea0d6590af8e6d6fb49f3eef89d7a735438 | <?php
namespace Gh\Gloggiheime\Controller;
use FluidTYPO3\Flux\Controller\AbstractFluxController;
/**
* My custom ContentController to render my package's Content templates.
*
* @package Gloggiheime
* @subpackage Controller
*/
class ContentController extends AbstractFluxController {
/**
* bookingRepository
... | PHP | Classes/Controller/ContentController.php | boris85/gloggiheime | gpl-2.0 | 2,227 | 98 | codeparrot/github-code |
76a82e6fc6264aeb020e5df7bcfb52f689904a64378e8fa8d61709a32b36e89e | #!/bin/sh
#
# git-submodule.sh: add, init, update or list git submodules
#
# Copyright (c) 2007 Lars Hjemli
dashless=$(basename "$0" | sed -e 's/-/ /')
USAGE="[--quiet] add [-b <branch>] [-f|--force] [--name <name>] [--reference <repository>] [--] <repository> [<path>]
or: $dashless [--quiet] status [--cached] [--r... | Shell | git-submodule.sh | ajshastri/git | gpl-2.0 | 27,546 | 1,205 | codeparrot/github-code |
50a9a97d01bba6cd6f15e6844623498e84a9443a5dedf5058dee526467dd2d3b | /*
* Implementation of the security services.
*
* Authors : Stephen Smalley, <sds@epoch.ncsc.mil>
* James Morris <jmorris@redhat.com>
*
* Updated: Trusted Computer Solutions, Inc. <dgoeddel@trustedcs.com>
*
* Support for enhanced MLS infrastructure.
* Support for context based audit filters.
*
* Updated... | C | security/selinux/ss/services.c | bju2000/android_kernel_samsung_slteskt | gpl-2.0 | 77,340 | 3,283 | codeparrot/github-code |
1b9b88f1bd8904c79e7d7658a438c5c5e53d0e75b85e9603cf324245d288f41c | /*
* linux/arch/arm/mm/flush.c
*
* Copyright (C) 1995-2002 Russell King
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#include <linux/module.h>
#include <lin... | C | arch/arm/mm/flush.c | Jackeagle/android_kernel_sony_c2305 | gpl-2.0 | 9,199 | 342 | codeparrot/github-code |
75c4d93fd770d4b24adbb7ddec7abd8e97dfc11d7b73ec453fc83749857fca27 | // STLport regression testsuite component.
// To compile as a separate example, please #define MAIN.
#include <iterator>
#include <vector>
#include <algorithm>
#include <iostream>
#include <numeric>
#include <iterator>
#ifdef MAIN
#define partsum1_test main
#endif
#if !defined (STLPORT) || defined(__STL_USE_NAMESPA... | C++ | lib/STLport/test/regression/partsum1.cpp | atmark-techno/atmark-dist | gpl-2.0 | 724 | 32 | codeparrot/github-code |
1ad1a688d3373ce665e60a9f19553e9046c94cc35bfdc79736fef206b9301dbc | /*
* Copyright (c) 2011-2012, Code Aurora Forum. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the... | C | arch/arm/mach-msm/acpuclock-8064.c | GruesomeWolf/Slippery_Sloth | gpl-2.0 | 28,898 | 663 | codeparrot/github-code |
4629cc4e16eebb1a098b5e5bd3d1beb48af9b0dd8222e375ba302da7d00e2488 | import json
import bottle
from pyrouted.util import make_spec
def route(method, path):
def decorator(f):
f.http_route = path
f.http_method = method
return f
return decorator
class APIv1(object):
prefix = '/v1'
def __init__(self, ndb, config):
self.ndb = ndb
... | Python | pyrouted/api.py | svinota/pyrouted | gpl-2.0 | 2,803 | 84 | codeparrot/github-code |
1efadc2d1459ece8bf20f32d343c3436b67123c8783de19d196db592406154aa | /* Copyright (C) 2022, Specify Collections Consortium
*
* Specify Collections Consortium, Biodiversity Institute, University of Kansas,
* 1345 Jayhawk Boulevard, Lawrence, Kansas, 66045, USA, support@specifysoftware.org
*
* This program is free software; you can redistribute it and/or
* modify it under the term... | Java | src/edu/ku/brc/specify/datamodel/busrules/BaseTreeBusRules.java | specify/specify6 | gpl-2.0 | 58,365 | 1,639 | codeparrot/github-code |
5c13f108fe00c1f5a525457606c736638ef3f6d49ed51cc05de91290715d932f | <?php
/**
* @package WordPress Plugin
* @subpackage CMSMasters Content Composer
* @version 1.1.0
*
* Profiles Post Type
* Created by CMSMasters
*
*/
class Cmsms_Profiles {
function Cmsms_Profiles() {
$cmsms_option = cmsms_get_global_options();
$profile_labels = array(
'name' => __('... | PHP | wp-content/plugins/cmsms-content-composer/inc/profile/profiles-posttype.php | d8ta/CMS_Skiclub | gpl-2.0 | 4,628 | 176 | codeparrot/github-code |
e6989296a8fee05477e5de4b7106adfe64f023697b6129c46627189462114bf6 | // Copyright 2017 Dolphin Emulator Project
// Licensed under GPLv2+
// Refer to the license.txt file included.
#include <QComboBox>
#include <QDialogButtonBox>
#include <QGroupBox>
#include <QHBoxLayout>
#include <QMessageBox>
#include <QPushButton>
#include <QTabWidget>
#include <QVBoxLayout>
#include "DolphinQt2/Co... | C++ | Source/Core/DolphinQt2/Config/Mapping/MappingWindow.cpp | Freyaday/dolphin | gpl-2.0 | 10,097 | 361 | codeparrot/github-code |
2a160145211058517c3361470a5b81f1c88aa95696182cbe2c9b3b90a48fc97f |
#ifdef CONFIG_COMPAT
#include <linux/compat.h> /* for compat_old_sigset_t */
#endif
#include <linux/sched.h>
#include <linux/kernel.h>
#include <linux/signal.h>
#include <linux/errno.h>
#include <linux/wait.h>
#include <linux/ptrace.h>
#include <linux/tracehook.h>
#include <linux/unistd.h>
#include <linux/mm.h>
#incl... | C | kernel/arch/sparc/kernel/signal_64.c | luckasfb/OT_903D-kernel-2.6.35.7 | gpl-2.0 | 18,267 | 611 | codeparrot/github-code |
32919c9e9c5e5c31b7a217cb188f3dc67b7a25e6f028a144c68ba048f97d6acd | /*
* * Copyright (C) 2009-2011 Ali <aliov@xfce.org>
* * Copyright (C) 2012-2013 Sean Davis <smd.seandavis@gmail.com>
* * Copyright (C) 2012-2013 Simon Steinbeiß <ochosi@xfce.org
*
* Licensed under the GNU General Public License Version 2
*
* This program is free software; you can redistribute it and/or modify
*... | C | src/parole-module.h | aquaherd/parole-mpris2 | gpl-2.0 | 3,127 | 79 | codeparrot/github-code |
2c3fd099a94c1fd6835a42d3d0e98a7a3267b2ffc3e2747f17d9689ff668f76f | /**
* @file cp_campaign.h
* @brief Header file for single player campaign control.
*/
/*
Copyright (C) 2002-2010 UFO: Alien Invasion.
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 versio... | C | src/client/cgame/campaign/cp_campaign.h | chrisglass/ufoai | gpl-2.0 | 26,068 | 642 | codeparrot/github-code |
1337040b4f63b7afaa9362d2d22238e9209363063e1b5a6e64d8a153d11c7578 | /*
* symlink.c
*
* Symlink methods.
*
* Author: Steve Longerbeam <stevel@mvista.com, or source@mvista.com>
*
* 2003 (c) MontaVista Software, Inc.
* Copyright 2003 Sony Corporation
* Copyright 2003 Matsushita Electric Industrial Co., Ltd.
*
* This software is being distributed under the terms of the GNU Gener... | C | fs/pramfs/symlink.c | robacklin/celinux | gpl-2.0 | 2,227 | 77 | codeparrot/github-code |
23cf2eaf93b140a6f0cf30d30619c5b73f71c0c897d153f47c0999c78e16c903 | --犬タウルス
function c91754175.initial_effect(c)
--atk up
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(91754175,0))
e1:SetCategory(CATEGORY_TOGRAVE+CATEGORY_ATKCHANGE)
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetCode(EVENT_PRE_DAMAGE_CALCULATE)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1)
e1:SetCond... | Lua | assets/script/c91754175.lua | anshkumar/yugioh-glaze | gpl-2.0 | 1,522 | 42 | codeparrot/github-code |
15e705f58031e2c3722abbe5b2acac56b35a95bbb24fb637d51077da709ed0ec | /*
* ux_text.c - Unix interface, text functions
*
* This file is part of Frotz.
*
* Frotz 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 late... | C | src/curses/ux_text.c | holzman/frotz | gpl-2.0 | 8,410 | 373 | codeparrot/github-code |
b4568e118e170605cc72a4618e2f1ae1c3def4eccb05e009c52293c7cf723394 | import sys,os
#sys.path.append(os.path.join(os.path.dirname(__file__), '../../..'))
#from ethosgame.ethos.level import Level
from ..level import Level
#from ethosgame.ethos.gameobject import GameObject
from ..gameobject import GameObject
#from ethosgame.ethos.drawnobject import DrawnObject
from ..drawnobject import Dra... | Python | ethos/levels/level0.py | Berulacks/ethosgame | gpl-2.0 | 2,904 | 98 | codeparrot/github-code |
96d4a6fc49e7028b73d0e711549f40d5cd294015ef214d6e8e10cbdfe708d345 | <?php
/**
* Sample implementation of the Custom Header feature.
*
* You can add an optional custom header image to header.php like so ...
*
<?php if ( get_header_image() ) : ?>
<a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home">
<img src="<?php header_image(); ?>" width="<?php echo esc_attr( get_cus... | PHP | wp-content/themes/sachyya/inc/custom-header.php | sachyya/portfolio | gpl-2.0 | 2,080 | 77 | codeparrot/github-code |
9a51513ba78ff046a83335b5c0228d1409364bcdd4646b87e86c1e9125fc0347 | <?php
require_once(sfConfig::get('sf_lib_dir').'/filter/base/BaseFormFilterPropel.class.php');
/**
* CatArt filter form base class.
*
* @package sf_sandbox
* @subpackage filter
* @author Your name here
* @version SVN: $Id: sfPropelFormFilterGeneratedTemplate.php 16976 2009-04-04 12:47:44Z fabien $
*/... | PHP | lib/filter/profit/base/BaseCatArtFormFilter.class.php | luelher/gescob | gpl-2.0 | 3,869 | 102 | codeparrot/github-code |
0f78d360df07c9b8e67fcc5b04ff3e29a90b440f3587cae2cd519c3b1fcd4330 | // RUN: %clang_cc1 -triple x86_64-unknown-unknown %s -fsyntax-only -verify
#define SA(n, p) int a##n[(p) ? 1 : -1]
struct A { int a; };
SA(0, sizeof(A) == 4);
struct B { };
SA(1, sizeof(B) == 1);
struct C : A, B { };
SA(2, sizeof(C) == 4);
struct D { };
struct E : D { };
struct F : E { };
struct G : E, F { };
SA... | C++ | clang/test/SemaCXX/empty-class-layout.cpp | vrtadmin/clamav-bytecode-compiler | gpl-2.0 | 1,034 | 69 | codeparrot/github-code |
543c7edc95d6105f7aed78d4b3a13f27729485978c30469139d57fded4922acf | using Halsign.DWM.Framework;
using System;
using System.Collections.Generic;
using System.Data;
using System.Text;
using System.Threading;
namespace Halsign.DWM.Domain
{
public class DwmHost : DwmBase
{
private int _numCpus = 1;
private int _numVCpus;
private int _cpuSpeed;
private int _numNics = 1;
private... | C# | wlb/Halsign.Dwm.Domain/Domain/DwmHost.cs | yimng/wlb | gpl-2.0 | 29,482 | 889 | codeparrot/github-code |
e87a77caed0bd05249f8237aa94904b2f12b26de6d5e707da0499c350eab5d19 | #include <algorithm>
#include <bitset>
#include <cassert>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <deque>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <utility>
#include <vector>
// #pragma GCC optimize("Ofast")
// #pragma GCC opti... | C++ | complete/LG-1199.cpp | Chaigidel/luogu-code | gpl-2.0 | 4,935 | 164 | codeparrot/github-code |
a36509528fb50cb6d54595c4cd6a9cd6f8929af3a5e1b3a9c764f41ca8895bae | <?
if (!defined("_GNUBOARD_")) exit; // °³º° ÆäÀÌÁö Á¢±Ù ºÒ°¡
if ($is_dhtml_editor) {
include_once("$g4[path]/lib/cheditor.lib.php");
echo "<script src='$g4[editor_path]/cheditor.js'></script>";
echo cheditor1('wr_content', $content);
}
?>
<script language="javascript">
// ±ÛÀÚ¼ö Á¦ÇÑ
var char_min = parse... | PHP | skin/board/basic_old/write.skin.php | mrquestion/gnuboard4 | gpl-2.0 | 12,050 | 310 | codeparrot/github-code |
03beb2655d41569cd2a664c86965fd2ef78f851b81cde9f3e0e1bea66baeaa70 | var wocs_loading_first_time = true;//simply flag var
jQuery(function () {
if (woocs_drop_down_view == 'chosen') {
try {
if (jQuery("select.woocommerce-currency-switcher").length) {
jQuery("select.woocommerce-currency-switcher").chosen({
disable_search_thresho... | JavaScript | wp-content/plugins/woocommerce-currency-switcher/js/front.js | asshurimrepo/mont8 | gpl-2.0 | 2,447 | 67 | codeparrot/github-code |
748e02bb65b684918aace5798118afcc88b83489457faf5efedc437065aa33f0 | # -*- coding: utf-8 -*-
#
from rest_framework import viewsets
from rest_framework.exceptions import ValidationError
from django.db import transaction
from django.utils.translation import ugettext as _
from django.conf import settings
from orgs.mixins.api import RootOrgViewMixin
from common.permissions import IsValidUs... | Python | apps/ops/api/command.py | zsjohny/jumpserver | gpl-2.0 | 2,150 | 56 | codeparrot/github-code |
5600f8820912341b7a8bfe4fb9a72bc2936d37791291e39a0e3818c4e9bb4065 | <?php
namespace Sidus\EAVDataGridBundle\Model;
use Sidus\DataGridBundle\Model\DataGrid as BaseDataGrid;
use Sidus\EAVFilterBundle\Configuration\EAVFilterConfigurationHandler;
use Sidus\EAVModelBundle\Model\FamilyInterface;
use Sidus\EAVModelBundle\Translator\TranslatableTrait;
use Symfony\Component\Translation\Transl... | PHP | Model/DataGrid.php | VincentChalnot/SidusEAVDataGridBundle | gpl-2.0 | 1,823 | 74 | codeparrot/github-code |
0e4f16cf013aa8f933255ed052658f46f43d50d991f2fb9670ae3aba5edae63b | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>food blogging | Introduction to New Media</title>
<m... | HTML | 51-2007/node/48/index.html | kfitz/machines | gpl-2.0 | 12,028 | 201 | codeparrot/github-code |
2a0158053bafe91afafc1ccd879d9612b32d8ccca7f3c0f446230cf5c359f8cd | <?php
/**********************************************************************************
*
* #####
* # # ##### ## ##### # # #### ###### # # #### # # # ######
* # # # # # # # # # ## # # # # ## # #
* ##### # # # # # # #### ##### # # #... | PHP | cakephp/app/Console/Command/Task/GraphiteBackendTask.php | nook24/statusengine | gpl-2.0 | 5,656 | 202 | codeparrot/github-code |
98a5074dcb13dfc7ed9ca543f45b8be07166424d43bf7d4b789578bfe170cb1e | <?php
// Global variables
global $map_count, $ish_options;
$map_count++;
// Default SC attributes
$defaults = array(
'color' => '',
'zoom' => '15',
'invert_colors' => '',
'height' => '',
);
// Extract all attributes
$sc_atts = $this->extract_sc_attributes( $defaults, $atts );
// Add ID if empty... | PHP | wp-content/plugins/ishyoboy-boldial-assets/ishyoboy-shortcodes/assets/backend/vc_extend/shortcodes_templates/ish_map.php | tywzdbsd/wp_yanze | gpl-2.0 | 2,476 | 72 | codeparrot/github-code |
f961bd2ea7b3c01c95a17d984f7877b46b2c9b6051c33d61076bc2a903e42719 | <?php
class acf_Wysiwyg extends acf_Field
{
/*--------------------------------------------------------------------------------------
*
* Constructor
*
* @author Elliot Condon
* @since 1.0.0
* @updated 2.2.0
*
*------------------------------------------------------------------------------------... | PHP | wp-content/plugins/acf-master/core/fields/wysiwyg.php | SAEBelgradeWeb/vencanje | gpl-2.0 | 7,948 | 290 | codeparrot/github-code |
30b314f2d7f7c153cae0af2621d067405f374a50494eb61b206aa01dc53bd4fb | <?php
/**
* @package Adminimize
* @subpackage Backend Options
* @author Frank Bültge
*/
if ( ! function_exists( 'add_action' ) ) {
echo "Hi there! I'm just a part of plugin, not much I can do when called directly.";
exit;
}
?>
<div id="poststuff" class="ui-sortable meta-box-sortables">
<div class="postbox"... | PHP | wp-content/plugins/adminimize/inc-options/backend_options.php | overneath42/wp-custom-install | gpl-2.0 | 14,170 | 199 | codeparrot/github-code |
f1d7c9f13f3d6395f868523072e78c532ea2a333cac742dd65b6ab873d8e1790 | <?php
/**
* Footer functions.
*
* @package Sento
*/
/* ----------------------------------------------------------------------------------
FOOTER WIDGETS LAYOUT
---------------------------------------------------------------------------------- */
/* Assign function for widget area 1 */
function thinkup_input_foot... | PHP | wp-content/themes/sento/admin/main/options/04.footer.php | JulioKno/Portal-UNIVIM-2016 | gpl-2.0 | 8,650 | 226 | codeparrot/github-code |
544abc9ad90af5ecc10797bb930db081c96478827c17b5cabbbf425478207c68 | <script>
var panels = new Array();
function addcattab(id, text, title)
{
var ccc = document.getElementById('categories');
var tab_id = id + '-tab';
var tab_title = (title) ? (' title="' + title + '"') : '';
var _li = document.createElement('li');
_li.id = tab_id;
_li.className = 'tab';
_li.innerHTML =... | HTML | styles/prosilver/template/event/index_body_markforums_after.html | Tatiana5/CategoriesInTabs | gpl-2.0 | 929 | 34 | codeparrot/github-code |
e2a02a8b37a7e6a1a9f68f4a2a0234d90a0e3b2b4e8d634891f26397338493bd | /*
Copyright (C) 2005 Michael K. McCarty & Fritz Bronner
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
... | C | future.c | raceintospace/raceintospace-cvs | gpl-2.0 | 27,931 | 1,180 | codeparrot/github-code |
3339631a67a52c6d029f620e072d9ecf11f73beae2bca32e19f6b85788ea5269 | // Copyright (C) 1999-2000 Id Software, Inc.
//
#include "ui_local.h"
/*********************************************************************************
SPECIFY SERVER
*********************************************************************************/
#define MAX_LISTBOXITEMS 128
#define MAX_LISTBOXWIDTH 4... | C | reference/bots_q3_127/code/q3_ui/ui_specifyleague.c | tectronics/battle-of-the-sexes | gpl-2.0 | 9,959 | 314 | codeparrot/github-code |
9b2379c23a62f0146363827971b75ec69cf02bc70ad1658af12ce9cf2bb455f9 | /*
* Copyright 2010, Intel Corporation
*
* This file is part of PowerTOP
*
* This program file 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... | C++ | src/calibrate/calibrate.cpp | AllenDou/powertop | gpl-2.0 | 9,814 | 490 | codeparrot/github-code |
acd49088a99994172568f6a9e3b8e493777d4f22ee4e693edcf5cf85725fad75 | /* This file is part of the KDE project
Copyright (C) 2007, 2012 Dag Andersen danders@get2net>
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 the License, or (a... | C++ | plan/libs/ui/kptdocumentseditor.cpp | wyuka/calligra | gpl-2.0 | 9,173 | 305 | codeparrot/github-code |
177696baf0564c685b7c75e7c9cf285253ed9b8daefde2fc66d0d1c59cd7b46f | /**
* Copyright (C) 2004 - 2012 Nils Asmussen
*
* 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... | Java | bbcodeeditor/control/actions/AddImageAction.java | script-solution/BBCodeEditor | gpl-2.0 | 2,158 | 85 | codeparrot/github-code |
43ef4175911ce0b8246a35f9a38db7542c31822295da553e30d9efd2ba3d3c64 | <?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 o... | PHP | factions.php | maudigan/charbrowser | gpl-2.0 | 7,654 | 210 | codeparrot/github-code |
83f0642fe804177a45cfaaa7aeadd9885e65d458c4b7121ee7ea2d8f2253ec19 | var elixir = require('laravel-elixir');
var gulp = require("gulp");
require('laravel-elixir-wiredep');
/*
|--------------------------------------------------------------------------
| Elixir Asset Management
|--------------------------------------------------------------------------
|
| Elixir provides a clean, f... | JavaScript | gulpfile.js | levofski/web-2-cv | gpl-2.0 | 1,696 | 50 | codeparrot/github-code |
33a056b334bf5caba27cd206762488161a6a621e4f4943b360211388ff880e1b | package thesis;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
import java.io.UnsupportedEncodingException;
import termo.component.Compound;
import termo.eos.Cubic;
import termo.eos.EquationsOfState;
import termo.eos.alpha.Alphas;
import termo.matter.Mixture;
import termo.matte... | Java | src/main/java/thesis/CubicFileGenerator.java | HugoRedon/thesis-examples | gpl-2.0 | 4,031 | 131 | codeparrot/github-code |
fe22609f886aef59812c41547687c731d272f233c22db38fc3701959d7602370 | /*
* FileBrowser.cpp - implementation of the project-, preset- and
* sample-file-browser
*
* Copyright (c) 2004-2014 Tobias Doerffel <tobydox/at/users.sourceforge.net>
*
* This file is part of LMMS - http://lmms.io
*
* This program is free software; you can redistribute it and/or
* modify i... | C++ | src/gui/FileBrowser.cpp | badosu/lmms | gpl-2.0 | 22,711 | 1,056 | codeparrot/github-code |
0a398c396d34b059bda0dcbf4a4f6fb9c850571e348efc5384bf4a41899e6d20 | /*
* Copyright (c) 2002-2009 BalaBit IT Ltd, Budapest, Hungary
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation.
*
* Note that this permission is granted for only version 2 of t... | C | src/gprocess.c | ystk/debian-syslog-ng | gpl-2.0 | 37,305 | 1,350 | codeparrot/github-code |
7522ad6e12b2eb13d6122331c3eea85a9b0e6501b6c306aceed3482454436b17 | # -*- coding: utf-8 -*-
"""
Created on Tue May 28 12:20:59 2013
=== MAYAXES (v1.1) ===
Generates a set of MayaVI axes using the mayavi.mlab.axes() object with a
white background, small black text and a centred title. Designed to better
mimic MATLAB style plots.
Unspecified arguments will be set to default values... | Python | mayaxes.py | Nate28/mayaxes | gpl-2.0 | 6,007 | 164 | codeparrot/github-code |
e274fc44de236449c805d576c833fde88dea14750c762d9bd83e4922446c56bf | /*
This file is a part of the Depecher (Telegram client)
Copyright (C) 2017 Alexandr Akulich <akulichalexander@gmail.com>
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either ve... | C++ | main.cpp | depecher/depecher | gpl-2.0 | 1,505 | 38 | codeparrot/github-code |
1773ad424a2d2760880696ea1aacbb348797281f23d14664a6d4b1d2e4719d60 | <?php
/**
* @version 1.0.0
* @package com_farmapp
* @copyright Copyright (C) 2012. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
* @author Created by com_combuilder - http://www.notwebdesign.com
*/
// No direct access.
defined('_JEXEC') or die;
... | PHP | administrator/components/com_farmapp/controllers/crops.php | yogendra9891/farmapplication | gpl-2.0 | 4,429 | 192 | codeparrot/github-code |
60af5870715a550aceb1b55dafd78237a1d3b1c1d2e46c973ee6bfbe7641832a | /*
* PROJECT: Boot Loader
* LICENSE: BSD - See COPYING.ARM in the top level directory
* FILE: boot/armllb/hw/versatile/hwclcd.c
* PURPOSE: LLB CLCD Routines for Versatile
* PROGRAMMERS: ReactOS Portable Systems Group
*/
#include "precomp.h"
#define LCDTIMING0_PPL(x) ((((... | C | third-party/reactos/boot/armllb/hw/versatile/hwclcd.c | GreenteaOS/Kernel | gpl-2.0 | 1,933 | 78 | codeparrot/github-code |
eca87bfdd9cfe9ac8d14b47400db3e46ad9054bd26a399aae74fec8b0bb10a29 | /*
* Copyright (C) 2011 ST-Ericsson SA.
* Copyright (C) 2009 Motorola, Inc.
*
* License Terms: GNU General Public License v2
*
* Simple driver for National Semiconductor LM3530 Backlight driver chip
*
* Author: Shreshtha Kumar SAHU <shreshthakumar.sahu@stericsson.com>
* based on leds-lm3530.c by Dan M... | C | drivers/leds/leds-lm3530.c | Jackeagle/android_kernel_sony_c2305 | gpl-2.0 | 13,280 | 486 | codeparrot/github-code |
25ee55194efc4df8c672473eac2723bc9deef303165d258f6b9291fd90265dd4 | package sergio;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Calendar;
import java.util.GregorianCalendar;
//Ejercicio Metodos 18
//Realiza una clase llamada milibreria que contenga al menos cinco de los metodos realizados.
//Usalas de 3 formas diferent... | Java | Java/CFGS/Interfaces-Ejercicios/Ejercicios propuestos de metodos/sergio/EjerMetods18.java | set92/Small-Programs | gpl-2.0 | 3,145 | 113 | codeparrot/github-code |
61effc7601d9862edf32a00fd3dd4b0ed5a841f2f6c9cdb15a5e5ef631731e44 | @import judgels.fs.FileInfo
@import org.iatoki.judgels.sandalphon.problem.programming.grading.blackbox.BatchGradingConfigForm
@import play.api.mvc.Call
@(batchGradingConfigForm: Form[BatchGradingConfigForm], postUpdateGradingConfigCall: Call, testDataFiles: List[FileInfo], helperFiles: List[FileInfo])
@implicitFieldC... | HTML | judgels-backends/sandalphon/sandalphon-app/app/org/iatoki/judgels/sandalphon/problem/programming/grading/blackbox/batchGradingConfigView.scala.html | ia-toki/judgels | gpl-2.0 | 12,567 | 337 | codeparrot/github-code |
fe81239aee48c93218b858e2c8f45de350a50ca52f268e8c78c01e98353fba13 | #!/bin/sh
#
# Support routines for hand-crafting weird or malicious packs.
#
# You can make a complete pack like:
#
# pack_header 2 >foo.pack &&
# pack_obj e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 >>foo.pack &&
# pack_obj e68fe8129b546b101aee9510c5328e7f21ca1d18 >>foo.pack &&
# pack_trailer foo.pack
# Print th... | Shell | t/lib-pack.sh | bboyfeiyu/git | gpl-2.0 | 2,593 | 101 | codeparrot/github-code |
383d938028c1ce34f0625e1577e739340e49026e8c1a9240d01e3221f50f57a9 | /**
* $Id$
* Copyright (C) 2008 - 2014 Nils Asmussen
*
* 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... | C++ | source/lib/esc/dns.cc | Nils-TUD/Escape | gpl-2.0 | 5,678 | 233 | codeparrot/github-code |
ff3c9f10145bdf98770ac866a95fbde314a0b2ac62aa0b61d5ecc4b9b7dcbb04 | /*
* Copyright (C) 2008 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | C | frameworks/av/include/media/AudioRecord.h | rex-xxx/mt6572_x201 | gpl-2.0 | 17,125 | 431 | codeparrot/github-code |
e6ea834f40f08b1228dd294fcb90a4222b6263e7f64beeca820d735b39b79cd1 | <?php /* included from WPML_Translation_Management::icl_dashboard_widget_content */?>
<p><?php if ($docs_sent)
printf(__('%d documents sent to translation.<br />%d are complete, %d waiting for translation.', 'wpml-translation-management'),
$docs_sent... | PHP | wp-content/plugins/wpml-translation-management/menu/_icl_dashboard_widget.php | ilfungo/stefanopierini | gpl-2.0 | 5,985 | 87 | codeparrot/github-code |
6a70777ea279e5e54ac9c0d8749b45acaa385066ac53ba5d0a8417b7d7d037d2 | #include <cstdio>
#include <cstdlib>
#include <cstdarg>
#include <cstring>
#include "../../Port.h"
#include "../../NLS.h"
#include "../GBA.h"
#include "../GBAGlobals.h"
#include "../GBAinline.h"
#include "../GBACheats.h"
#include "GBACpu.h"
#include "../GBAGfx.h"
#include "../GBASound.h"
#include "../EEprom.h"
#includ... | C++ | src/gba/V8/GBA.cpp | TASVideos/vba-rerecording | gpl-2.0 | 91,319 | 4,339 | codeparrot/github-code |
84f8bbf62028b546c2bfe5cdb804f526c88165e0e2b00855b7113acd6655ba91 | using UnityEngine;
using System.Collections;
[RequireComponent(typeof(SpriteRenderer))]
public class SpriteRandomiser : MonoBehaviour {
[System.Serializable]
public class PossibleState
{
public Sprite texture = null;
public Color color = Color.white;
};
public PossibleState[] possibleStates = new PossibleS... | C# | Assets/Scripts/Utility/SpriteRandomiser.cs | Almax27/LD31 | gpl-2.0 | 757 | 34 | codeparrot/github-code |
14917cfdbe72d6b43e0cff26974bca7d5ae4242ed413614959812f7c068de5e0 | <!doctype html>
<!--[if lt IE 7]><html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if (IE 7)&!(IEMobile)]><html class="no-js lt-ie9 lt-ie8" lang="en"><![endif]-->
<!--[if (IE 8)&!(IEMobile)]><html class="no-js lt-ie9" lang="en"><![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"><!--<!... | HTML | stage/_layouts/post.html | junjiemao/junjiemao.github.com | gpl-2.0 | 4,146 | 68 | codeparrot/github-code |
b46fd585253ebf2ce7a8565b5ce331a426db4214714ff1b284c8739a08cec4f2 | #include<stdio.h>
#include<string.h>
#include<stdlib.h>
#include<math.h>
#define MAX_SIZE 1010
int getarray(int a[])
{
int i=0,count;
scanf("%d",&count);
for(; i<count ; i++)
scanf("%d",&a[i]);
return count;
}
int find(int a[], int n, int val)
{
int i,true=0;
for(i=0; i<n... | C | Program/CLanguage/exp/exp7/exA.c | zning1994/practice | gpl-2.0 | 890 | 49 | codeparrot/github-code |
f43645a4c8850d1931b8507463418c0dd6130b88b4b31d3ad940b87aa8c96001 | /*
The GTKWorkbook Project <http://gtkworkbook.sourceforge.net/>
Copyright (C) 2008, 2009 John Bellone, Jr. <jvb4@njit.edu>
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
v... | C++ | src/realtime/Realtime.cpp | johnbellone/gtkworkbook | gpl-2.0 | 10,844 | 310 | codeparrot/github-code |
2c5c4db8d96fee793b9b86a4364270bd1dc494c2516a148892db6d6dd317abe9 | /***************************************************************************
qgscalloutwidget.cpp
---------------------
begin : July 2019
copyright : (C) 2019 by Nyall Dawson
email : nyall dot dawson at gmail dot com
*****************************************... | C++ | src/gui/callouts/qgscalloutwidget.cpp | JamesShaeffer/QGIS | gpl-2.0 | 15,015 | 325 | codeparrot/github-code |
31b8855934d856aa939227881f3507b6b94170583ae3b836317298309c9cba49 | /*
* ws2san.h
*
* WinSock Direct (SAN) support
*
* This file is part of the w32api package.
*
* Contributors:
* Created by Casper S. Hornstrup <chorns@users.sourceforge.net>
*
* THIS SOFTWARE IS NOT COPYRIGHTED
*
* This source code is offered for use in the public domain. You may
* use, modify or distrib... | C | include/ddk/ws2san.h | alji2106/CS1300Terminal | gpl-2.0 | 6,546 | 253 | codeparrot/github-code |
33b160f402501b15514f27d3facc1ed86e2d346c60d66afb1c06df98ad80b355 | (function ($) {
$(document).ready(function(){
$("#edit-title-0-value").change(update);
$("#edit-field-carac1-0-value").click(update);
$("#edit-field-carac1-0-value").change(update);
$("#edit-field-carac2-0-value").change(update);
$("#edit-field-carac3-0-value").change(update);
$("#edit-field-carac4-0-val... | JavaScript | modules/custom/cardform/js/gamecards.js | TGR05/POEI-mini-projet | gpl-2.0 | 6,227 | 153 | codeparrot/github-code |
b2802c4f1240d5ba4c8c7d52c94ab926aa55a760003cb81fe9f9176e23722903 | /*
* Copyright (C) 2019 Paul Davis <paul@linuxaudiosystems.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
... | C | libs/ardour/ardour/transport_api.h | tartina/ardour | gpl-2.0 | 1,784 | 52 | codeparrot/github-code |
98645da50f89252c5b804db56e7e8de22cf88ee907c83f38405d4f38cc39d125 | /*
* Copyright (C) 2015-2016 FixCore <FixCore Develops>
*
* 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.
*
* Th... | C | src/server/game/AI/CoreAI/GameObjectAI.h | Desarrollo-zeros/ZerosCore | gpl-2.0 | 2,867 | 74 | codeparrot/github-code |
ecb1d3de5bd09b094bee5ce947e3f8944da3734d6d0dfadefe994fb3246b3149 | /****************************************************************************
**
** This file is part of the Qtopia Opensource Edition Package.
**
** Copyright (C) 2008 Trolltech ASA.
**
** Contact: Qt Extended Information (info@qtextended.org)
**
** This file may be used under the terms of the GNU General Public Licen... | C | src/plugins/viewers/generic/browser.h | muromec/qtopia-ezx | gpl-2.0 | 2,706 | 93 | codeparrot/github-code |
693ddb6c1645fb1af6225b18d68d6444a4eace3ab8a646708fa735cc832ae527 | package edu.stanford.nlp.time;
import java.io.Serializable;
import java.util.Calendar;
import java.util.Map;
import java.util.regex.Pattern;
import edu.stanford.nlp.util.Pair;
import org.w3c.dom.Element;
/**
* Stores one TIMEX3 expression. This class is used for both TimeAnnotator and
* GUTimeAnnotator for storin... | Java | src/edu/stanford/nlp/time/Timex.java | rupenp/CoreNLP | gpl-2.0 | 19,256 | 585 | codeparrot/github-code |
f64416d8cc314c7ac5c6871861eb116711859e8e8a3e38af097eebc6a4358f74 | /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* This file is part of guh. *
* *
* Guh is f... | C++ | plugins/deviceplugins/openweathermap/devicepluginopenweathermap.cpp | mzanetti/guh | gpl-2.0 | 17,008 | 447 | codeparrot/github-code |
0bb0961117ff42b586d1b66d832d10574e902b719ad00c06ea462054a3a61683 | /*************************************************************************/ /*!
@File
@Title Services definitions required by external drivers
@Copyright Copyright (c) Imagination Technologies Ltd. All Rights Reserved
@Description Provides services data structures, defines and prototypes
required b... | C | drivers/gpu/mt8135/rgx_1.3_2876724/include/servicesext.h | jmztaylor/android_kernel_amazon_ariel | gpl-2.0 | 7,801 | 192 | codeparrot/github-code |
4e49bd2671af7535516780c146c05a677447d63ee115e1dffdbdf5f15f9e1b37 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible"content="IE=9; IE=8; IE=7; IE=EDGE">
<meta http-equiv="Content-Type... | HTML | logs/meng/q0502601.html | ForAEdesWeb/AEW25 | gpl-2.0 | 17,668 | 432 | codeparrot/github-code |
5e243a25f36b8741a4eaee627d16365533fb771b89bc8a5badeee59150489c1a | #!/usr/bin/env python
#
# Copyright (C) 2007 Sascha Peilicke <sasch.pe@gmx.de>
#
# 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 ... | Python | gnomepicross/game.py | saschpe/gnome_picross | gpl-2.0 | 5,836 | 226 | codeparrot/github-code |
9eff9792efaaec44c31edfe570dfbcd4587d9379af5caa092530c75754b4c917 | /*
* Copyright (C) 2001-2015 Jacek Sieka, arnetheduck on gmail point com
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any ... | C++ | client/Mapper_WinUPnP.cpp | airdcnano/airdcnano | gpl-2.0 | 5,723 | 228 | codeparrot/github-code |
36204640560a17448fea89ee7bcb0d6e3cba7e25cd03b49edda523543e8f960c | <?php
/*******************************************************************************
* HA2.php
* year : 2014
*
* The HA2 algorithm is a combination between two algorithms (CBA and WBA), where
* the first one is based on the language characters, and the second one is
* based on the language and common words. T... | PHP | HA2.php | xprogramer/Language-Identification | gpl-2.0 | 5,238 | 126 | codeparrot/github-code |
19011635f2a2fe8457377adb8e844c424de77d48857d0525f9e64e8e13643407 | # ----------------------------------------------------------------------------
# pyglet
# Copyright (c) 2006-2008 Alex Holkner
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# * Redistribu... | Python | lib/pyglet/window/__init__.py | ajhager/copycat | gpl-2.0 | 65,226 | 1,889 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.