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 |
|---|---|---|---|---|---|---|---|---|
f7b1b16669df643d4bdc9cdbacc6a87ca926b6517bd7b43526dd7c0896e342a5 | var EventEmitter = require('events').EventEmitter;
var util = require('util');
var WSProcessor = require('./wsprocessor');
var TCPProcessor = require('./tcpprocessor');
var logger = require('pomelo-logger').getLogger('pomelo', __filename);
var HTTP_METHODS = [
'GET', 'POST', 'DELETE', 'PUT', 'HEAD'
];
var ST_STARTE... | JavaScript | lib/connectors/hybrid/switcher.js | zdqk/pomelo | mit | 2,721 | 109 | codeparrot/github-code |
fd1d160d1bdaa37b83de4d7b096cba754822bea1bfc9ffc48ba3740d38d83b10 | #ifndef MYSTRING_H_HEADER_INCLUDED
#define MYSTRING_H_HEADER_INCLUDED
#ifdef __cplusplus
extern "C" {
#endif
int mystrcasecmp (const char *s1, const char *s2);
int mystrncasecmp (const char *s1, const char *s2, size_t n);
int mystrcmp (const char *s1, const char *s2);
#ifndef mystrdup
char *mystrdup (const char *str... | C | libAfterBase/mystring.h | born2late/afterstep-devel | mit | 809 | 33 | codeparrot/github-code |
1c6afeecbc82f47519ef095124ec4069aef6acd2ddf04c4bce0c4c24c4a51993 | using System;
using PlainElastic.Net.Utils;
namespace PlainElastic.Net.IndexSettings
{
/// <summary>
/// Allows to configure token filters to be used in custom analyzers.
/// </summary>
public class TokenFilterSettings : SettingsBase<TokenFilterSettings>
{
#region Asciifolding
///... | C# | src/PlainElastic.Net/Builders/IndexSettings/Analysis/TokenFilters/TokenFilterSettings.cs | mbinot/PlainElastic.Net | mit | 25,174 | 579 | codeparrot/github-code |
4cdc19a9a64d1a6753cdb8141996f4174b219066520556593db68fecc7402151 | /*
Copyright (C) 2013-2014 by Kristina Simpson <sweet.kristas@gmail.com>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any pur... | C++ | src/kre/BlendModeScope.cpp | cbeck88/render_engine | mit | 1,753 | 66 | codeparrot/github-code |
a27c6644c0cb07027a7d3dd35aa581842bbe49961f590d0caf1d77d773350abf | 'use strict';
var app = angular.module('myApp.payloads.directives', []);
app.directive('runPayload', ['Payload', 'Command', '$routeParams', 'showToast', 'showErrors', 'gettextCatalog', function(Payload, Command, $routeParams, showToast, showErrors, gettextCatalog) {
var link = function( scope, element, attrs ) {
... | JavaScript | client/components/payloads/payloads.directives.js | ZakMooney/cucumber-frontend | mit | 1,390 | 57 | codeparrot/github-code |
7e0ac1d98bff1e1d74a4e5c2bf906fd6c24f4f488fce1bb9c9f4953ffc7095d9 | package org.knowm.xchange.dsx.service;
import java.io.IOException;
import java.math.BigDecimal;
import java.time.Instant;
import java.util.Date;
import java.util.List;
import java.util.Optional;
import org.knowm.xchange.Exchange;
import org.knowm.xchange.dsx.DsxAdapters;
import org.knowm.xchange.dsx.dto.DsxBalance;
im... | Java | xchange-dsx/src/main/java/org/knowm/xchange/dsx/service/DsxTradeServiceRaw.java | stachon/XChange | mit | 4,449 | 129 | codeparrot/github-code |
a69030b20b2c1e63190521220bd0d154ddc3a078dc73f3aac1787493396f78ad | /*-------------------------------------------------------------------------
* Filename: mini_inflate.c
* Version: $Id: mini_inflate.c,v 1.3 2002/01/24 22:58:42 rfeany Exp $
* Copyright: Copyright (C) 2001, Russ Dill
* Author: Russ Dill <Russ.Dill@asu.edu>
* Description: Mini inflate impleme... | C | u-boot/fs/jffs2/mini_inflate.c | guileschool/beagleboard | mit | 11,494 | 378 | codeparrot/github-code |
c598c937858d90473727c8338c6da1659ff792f2d65d71507e7f1fb3eda1a542 | <div class="sidebar">
<h2><?= t('Actions') ?></h2>
<ul>
<li <?= $this->app->getRouterAction() === 'show' ? 'class="active"' : '' ?>>
<?= $this->url->link(t('Summary'), 'project', 'show', array('project_id' => $project['id'])) ?>
</li>
<?php if ($this->user->isProjectManageme... | PHP | app/Template/project/sidebar.php | manishlad/kanboard | mit | 4,113 | 57 | codeparrot/github-code |
143248bed07b44da8a9ddb95daedde56a0f6a17db2aae28c551ce1990742f25a | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Cache;
use Symfony\Contracts\Cache\CacheInterface;
us... | PHP | src/Symfony/Component/Cache/LockRegistry.php | weaverryan/symfony | mit | 4,546 | 118 | codeparrot/github-code |
5a98d22518d74a71e1dbdbb4d5e48578b1af5dc57c6f354165a48cf13e25e2fe | import React, { memo } from 'react';
import SideBarItemTemplateWithData from '../RoomList/SideBarItemTemplateWithData';
import UserItem from './UserItem';
const Row = ({ item, data }) => {
const { t, SideBarItemTemplate, avatarTemplate: AvatarTemplate, useRealName, extended } = data;
if (item.t === 'd' && !item.u)... | JavaScript | client/sidebar/search/Row.js | VoiSmart/Rocket.Chat | mit | 782 | 35 | codeparrot/github-code |
c1b2ea8bc65d8ee72fd747eecb88acdf5eaadbe2b13398e1fa14271ae481864b | APPNAME="Jacos2DX"
# options
buildexternalsfromsource=
usage(){
cat << EOF
usage: $0 [options]
Build C/C++ code for $APPNAME using Android NDK
OPTIONS:
-s Build externals from source
-h this help
EOF
}
while getopts "sh" OPTION; do
case "$OPTION" in
s)
buildexternalsfromsource=1
;;
h)
usage
exit 0
;;
esac
done
#... | Shell | src/Jacos2d-x/proj.android/build_native.sh | TukekeSoft/jacos2d-x | mit | 1,948 | 92 | codeparrot/github-code |
9fa6a423d8a8a590155942cb3ec0990511b25ad4bb4df91b701e63f4e1680edd | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using Microsoft.Msagl.Core.DataStructures;
using Microsoft.Msagl.Core.Geometry;
using Microsoft.Msagl.Core.Geometry.Curves;
using Microsoft.Msagl.Core.GraphAlgorithms;
using Microsoft.Msagl.Core.Layout;
using Microsoft.Msagl.De... | C# | external_libs/Msagl/Msagl/Layout/LargeGraphLayout/LgLevel.cs | bilsaboob/RapidPliant | mit | 11,927 | 328 | codeparrot/github-code |
38386161f60892a7f33f48b53eddeb5ea42954741fbc97705a23c4110d29fb4a | from __future__ import print_function
__title__ = 'pif.utils'
__author__ = 'Artur Barseghyan'
__copyright__ = 'Copyright (c) 2013 Artur Barseghyan'
__license__ = 'GPL 2.0/LGPL 2.1'
__all__ = ('ensure_autodiscover', 'list_checkers', 'get_public_ip')
from pif.base import registry
from pif.discover import autodiscover
... | Python | bottle/dash/local/lib/pif-0.7/src/pif/utils.py | djabber/Dashboard | mit | 1,686 | 67 | codeparrot/github-code |
6395f1deef44de58be64dbbc92d7abb30d2030a09df42189ef8781e21cf30db4 | /*-----------------------------------------------------------------------------------------------
----- HisTEI framework customizations for Oxygen
----- CSS Styles for global fields - used in documents and contextual info
-----------------------------------------------------------------------------------------------... | CSS | frameworks/mib/css/global_fields.css | odaata/HisTEI | mit | 7,278 | 363 | codeparrot/github-code |
f91ec83617f65217a2b499574b6c80ac732966c1cfbd0097a965ee21af9260b2 | <?php defined('BX_DOL') or die('hack attempt');
/**
* Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
* CC-BY License - http://creativecommons.org/licenses/by/3.0/
*
* @defgroup TridentStudio Trident Studio
* @{
*/
bx_import('BxDolDb');
class BxDolStudioPageQuery extends BxDolDb
{
function __co... | PHP | upgrade/files/8.0.0.A9-8.0.0.A10/files/studio/classes/BxDolStudioPageQuery.php | camperjz/trident | mit | 4,919 | 111 | codeparrot/github-code |
99875256ff9ab71ca06bf50838c4cc03d8811f22c9b5043d30dbebd4a44878b2 | package com.aspose.cells.model;
import java.util.ArrayList;
import java.util.List;
public class Columns {
private Integer MaxColumn = null;
private Integer ColumnsCount = null;
private List<LinkElement> ColumnsList = new ArrayList<LinkElement>();
private Link link = null;
/**
* getMaxColumn
* Gets Intege... | Java | SDKs/Aspose.Cells-Cloud-SDK-for-Java/src/main/java/com/aspose/cells/model/Columns.java | asposecells/Aspose_Cells_Cloud | mit | 1,890 | 95 | codeparrot/github-code |
eb380705f84233a6ceb8fe473cb271ba3a84f40e02fa83baa76219666c4484a1 | /* Copyright (c) 2009 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | Java | tools/appengine-java-sdk/demos/jdoexamples/src/com/google/appengine/demos/jdoexamples/GuestbookServlet.java | dougkoellmer/swarm | mit | 1,159 | 34 | codeparrot/github-code |
964ba0e68fa80fc822d81046c8c252e55021eb1675c3ba1fb039fe0dec5c32f4 | package metrics
import (
"fmt"
"sort"
)
type Registry struct {
descriptors []*groupDesc
groups []groupRegistry
}
const (
// DefaultGroup is the identifier for the default group.
DefaultGroup = GID(0)
)
// NewRegistry creates a new Registry with a single group identified by DefaultGroup.
func NewRegistry(... | GO | pkg/metrics/registry.go | influxdb/influxdb | mit | 2,391 | 88 | codeparrot/github-code |
f9bd38dff9990de0fe2b71575f1f871057d3bd0f1b963cd8339652af847e97dd | //
// Copyright (c) 2008-2018 the Urho3D project.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, mod... | C | Source/Urho3D/Input/Input.h | victorholt/Urho3D | mit | 19,540 | 448 | codeparrot/github-code |
21d086b82aaca0fc158c6511f1ae639380fff9bba1f2f237e15aea1bb5348561 | /*
* This file is part of Poedit (http://poedit.net)
*
* Copyright (C) 2010-2015 Vaclav Slavik
*
* 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 wit... | C++ | src/concurrency.cpp | egoitzro/poedit | mit | 3,039 | 111 | codeparrot/github-code |
ce56ad715f83b1df8ccbc47a8e11ff2f3a9f73046b20d2257541f4e732890d83 | (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = global || self, factory(global.VueMask = {}));
}(this, function (exports) { 'use strict';
function _typeof(obj) {... | JavaScript | ajax/libs/v-mask/2.0.2/v-mask.js | sufuf3/cdnjs | mit | 13,896 | 439 | codeparrot/github-code |
65923c89ffed3abaf902c43e0e8f450b168031c9999e3c59ef0d66d94144ebb5 | module Locomotive
module Extensions
module ContentType
module Sync
extend ActiveSupport::Concern
included do
after_save :sync_relationships_order_by
end
protected
# If the user changes the order of the content type, we have to make
# sure that ot... | Ruby | app/models/locomotive/extensions/content_type/sync.rb | LaunchPadLab/engine | mit | 2,479 | 62 | codeparrot/github-code |
01358737886f5673d1674f242c913f42c4a75b445fb51c1704514749068d7324 | <?php
namespace Bolt\Storage\ContentRequest;
use Bolt\Config;
use Bolt\Exception\AccessControlException;
use Bolt\Helpers\Input;
use Bolt\Logger\FlashLoggerInterface;
use Bolt\Storage\Entity;
use Bolt\Storage\EntityManager;
use Bolt\Translation\Translator as Trans;
use Bolt\Users;
use Carbon\Carbon;
use Psr\Log\Logge... | PHP | src/Storage/ContentRequest/Save.php | Raistlfiren/bolt | mit | 14,859 | 417 | codeparrot/github-code |
a1ad6010b3042d8f3ecb9a3ea4c9f2955e4a84696557a09ef9eecbe6e335081e | <?php namespace Modules\Core\Console\Installers\Writers;
use Dotenv;
use Illuminate\Filesystem\Filesystem;
class EnvFileWriter
{
/**
* @var Filesystem
*/
private $finder;
/**
* @var array
*/
protected $search = [
"DB_HOST=localhost",
"DB_DATABASE=homestead",
... | PHP | Console/Installers/Writers/EnvFileWriter.php | mikemand/Core | mit | 1,355 | 67 | codeparrot/github-code |
db1b0cf2824b49c4283f2a017c38ec5c4de2aa2267f3f7c9d5f8e5d2f259c49f | // Copyright 2015 The Gogs Authors. All rights reserved.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
package user
import (
api "code.gitea.io/sdk/gitea"
"code.gitea.io/gitea/models"
"code.gitea.io/gitea/modules/context"
)
func responseAPIUsers(ctx *cont... | GO | routers/api/v1/user/follower.go | cybe/gitea | mit | 4,054 | 183 | codeparrot/github-code |
b6db686b65ec2cd9f18aef517e65b71c144e4fa275135befbc7e653409d8b5ec | # frozen_string_literal: true
module Ci
module BuildsHelper
def build_summary(build, skip: false)
if build.has_trace?
if skip
link_to _('View job log'), pipeline_job_url(build.pipeline, build)
else
build.trace.html(last_lines: 10).html_safe
end
else
... | Ruby | app/helpers/ci/builds_helper.rb | mmkassem/gitlabhq | mit | 980 | 41 | codeparrot/github-code |
65c215ba8311e07ae5706605c10851c86f7601302a1bfc76787daa70feaec680 | onOpenDialog = function(dialog) {
$('.ui-dialog').corner('6px').find('.ui-dialog-titlebar').corner('1px top');
$(document.body).addClass('hide-overflow');
}
onCloseDialog = function(dialog) {
$(document.body).removeClass('hide-overflow');
}
var wymeditor_inputs = [];
var wymeditors_loaded = 0;
// supply custom_... | JavaScript | public/javascripts/refinery/boot_wym.js | mdoyle13/haymarket-ref | mit | 7,963 | 207 | codeparrot/github-code |
16b6e33a83e56de597e481b69b0c8d62c3fc4256eda25f126a5839f8890c4ae2 | import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
import _extends from "@babel/runtime/helpers/esm/extends";
import * as React from 'react';
import PropTypes from 'prop-types';
import clsx from 'clsx';
import { integerPropType, deepmerge } from '@material-ui/utils';
im... | JavaScript | ajax/libs/material-ui/5.0.0-alpha.31/modern/MobileStepper/MobileStepper.js | cdnjs/cdnjs | mit | 6,518 | 220 | codeparrot/github-code |
da635cf378d11c9e5091142b38fc9761ebb3633a9e52cd211c678c867adece2f | /********************************************************************************
* The contents of this file are subject to the GNU General Public License *
* (GPL) Version 2 or later (the "License"); you may not use this file except *
* in compliance with the License. You may obtain a copy of the License at... | Java | courses/Other/Nand2Tetris(Partial)/Code/SimulatorsGUIPackageSource/SimulatorsGUI/MemorySegmentsComponent.java | andyandy1992/MyMOOCs | cc0-1.0 | 6,216 | 161 | codeparrot/github-code |
953f7ee2a386e2195802ff330624aa74c0ad85cbcbdf7436a0129fae144a3cc6 | /*******************************************************************************
* Copyright (c) 2006, 2009 David A Carlson.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is av... | Java | hl7/plugins/org.openhealthtools.mdht.uml.hdf.tooling.rsm/src/org/openhealthtools/mdht/uml/hdf/tooling/rsm/providers/RIMEditPolicyProvider.java | drbgfc/mdht | epl-1.0 | 2,440 | 70 | codeparrot/github-code |
7bed1293c1b47ca5540692c8333eeebee66fd4fb5d0a63085c5725ca5160e5b2 | /*******************************************************************************
* Copyright (c) 2016 Eurotech and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is availabl... | Java | kura/org.eclipse.kura.net.admin/src/main/java/org/eclipse/kura/net/admin/FirewallConfigurationServiceImpl.java | amitjoy/kura | epl-1.0 | 16,946 | 331 | codeparrot/github-code |
4ead448e757c3067d68269cbc8ac21c782c93fb5f2dd8ab4ed1c93c75b2be7b2 | #pragma once
#include "Account.h"
namespace AppSecInc
{
namespace LSA
{
//! A local group
namespace LocalGroup
{
//! create a local group
void Create(const std::wstring& name, const std::wstring& servername = L"");
//! create a local gr... | C | src/Common/Lsa/LocalGroup.h | dblock/msiext | epl-1.0 | 1,401 | 32 | codeparrot/github-code |
a1e8a5d7ab7d59fc9b56cbb99b9e36385e36d9be92a7569ee3906b6f2e711dcf | /*******************************************************************************
* Copyright (c) 2010-present Sonatype, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is availa... | Java | org.eclipse.sisu.plexus/src/org/eclipse/sisu/plexus/RequirementImpl.java | mcculls/sisu.plexus | epl-1.0 | 4,280 | 147 | codeparrot/github-code |
8506affb1260428dab4e7e23163cd328345cbf845830a8a372880acc4fa380ad | /**
* Copyright 2005-2010 Noelios Technologies.
*
* The contents of this file are subject to the terms of one of the following
* open source licenses: LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL 1.0 (the
* "Licenses"). You can select the license that you prefer but you may not use
* this file except in complia... | Java | org.mwc.asset.comms/docs/restlet_src/org.restlet.ext.xml/org/restlet/ext/xml/internal/ContextResolver.java | alastrina123/debrief | epl-1.0 | 3,540 | 106 | codeparrot/github-code |
f9ddc9432bbcf9d1048487fd134a4c1b1e7ea1ff1c77bb8a20d7ff8ba7a67898 | /**********************************************************************
Freeciv - Copyright (C) 1996 - A Kjeldberg, L Gregersen, P Unold
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; eith... | C | client/gui-xaw/colors.c | valisc/freeciv | gpl-2.0 | 8,621 | 309 | codeparrot/github-code |
c1d8300187043d8c7f12ebc9b198b3008a3f3ea3292ff624c212f7a0783cc752 | from gettext import gettext as _
import traceback
from pulp.client.commands.repo.sync_publish import StatusRenderer
from pulp.client.extensions.core import COLOR_FAILURE
from pulp_puppet.common import constants
from pulp_puppet.common.publish_progress import PublishProgressReport
from pulp_puppet.common.sync_progres... | Python | pulp_puppet_extensions_admin/pulp_puppet/extensions/admin/repo/status.py | dkliban/pulp_puppet | gpl-2.0 | 12,614 | 277 | codeparrot/github-code |
e799154e0a8a7eed726d63a5e12040d5f058971a78e9684a0e00d25b97d0475c | <?php
/* -------------------------------------
* MISSING WORDPRESS FUNCTIONS
* ------------------------------------- */
/**
* Retrieve the date that the first post/page was published.
*
* The server timezone is the default and is the difference between GMT and
* server time. The 'blog' value is the date whe... | PHP | wp-content/plugins/xml-sitemap-feed/hacks.php | jolay/maga2.0 | gpl-2.0 | 5,493 | 146 | codeparrot/github-code |
3d3a5390a42d730dbd888c629357c6d711dc8b68515dd578fdf6644586ea3867 |
// start the popup specefic scripts
// safe to use $
jQuery(document).ready(function($) {
var vibes = {
loadVals: function()
{
var shortcode = $('#_vibe_shortcode').text(),
uShortcode = shortcode;
// fill in the gaps eg {{param}}
$('.vibe-input').each(function() ... | JavaScript | wp-content/plugins/vibe-shortcodes/tinymce/js/popup.js | songlequang/myclass | gpl-2.0 | 8,606 | 277 | codeparrot/github-code |
ed74a96120092731a00b9e91707be3a5ffec1f5613f14f637f9da6d996a63b06 | <?php
/**
* A unique identifier is defined to store the options in the database and reference them from the theme.
* By default it uses the theme name, in lowercase and without spaces, but this can be changed if needed.
* If the identifier changes, it'll appear as if the options have been reset.
*
*/
function opt... | PHP | wp-content/themes/unite/options.php | haithan/11b5 | gpl-2.0 | 10,316 | 412 | codeparrot/github-code |
21fda744357fb7baf377db0da4932fce22483ddeae1a1e9601cd62be80b8855f | /* Declarations for value printing routines for GDB, the GNU debugger.
Copyright (C) 1986-2017 Free Software Foundation, Inc.
This file is part of GDB.
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 Sof... | C | gdb/valprint.h | totalspectrum/binutils-propeller | gpl-2.0 | 7,625 | 236 | codeparrot/github-code |
d8d90c5c49071450407866d335a09dc536b8974ac85300a74d67b2f0a2032bbd | /*************************************************************************/ /*!
@Title PVR Bridge Module (kernel side)
@Copyright Copyright (c) Imagination Technologies Ltd. All Rights Reserved
@Description Receives calls from the user portion of services and
despatches them to function... | C | drivers/staging/mrst/pvr/services4/srvkm/env/linux/pvr_bridge_k.c | coldnew-gp-revolution/gp-revolution-kernel | gpl-2.0 | 14,651 | 524 | codeparrot/github-code |
c25732b59e08525f0aa29a938c4e911163cc8611ed16dcbfd01782dfb51a78de | /* MI Command Set - stack commands.
Copyright (C) 2000-2016 Free Software Foundation, Inc.
Contributed by Cygnus Solutions (a Red Hat company).
This file is part of GDB.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as publishe... | C | gdb/mi/mi-cmd-stack.c | swigger/gdb-ios | gpl-2.0 | 19,885 | 714 | codeparrot/github-code |
504c6a7171e6b35b005ed9470f2812cb2b88c62595ce1c732bb2f1867291b95d | using System;
using System.Collections;
using Server.Engines.XmlSpawner2;
using Server.Items;
using Server.Network;
using Server.Targeting;
/*
** TeamLMSGump
** ArteGordon
** updated 12/06/04
**
*/
namespace Server.Gumps
{
public class TeamLMSGump : Gump
{
private const int textentrybackground = 0x24A8... | C# | Scripts/Services/XmlSpawner 2/XmlEngines/XmlPoints/ChallengeGames/TeamLMSGump.cs | jasegiffin/ServUO | gpl-2.0 | 33,127 | 748 | codeparrot/github-code |
f20f1ee46ddf759c8f20fd9b5e9ad635554dabccb8ec475c4a7c0b8d5afb5106 | <?php
/*
* @version $Id$
-------------------------------------------------------------------------
GLPI - Gestionnaire Libre de Parc Informatique
Copyright (C) 2015-2016 Teclib'.
http://glpi-project.org
based on GLPI - Gestionnaire Libre de Parc Informatique
Copyright (C) 2003-2014 by the INDEPNET Development ... | PHP | inc/item_devicedrive.class.php | Diegoromeropanes/glpi | gpl-2.0 | 1,694 | 63 | codeparrot/github-code |
054896d8ba53f50a6050d7ba5e942d4786e45aa3cb3c8531e68769ab3e098f5e | /*
* This file is part of the TrinityCore Project. See AUTHORS file for Copyright information
*
* 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
... | C++ | src/server/scripts/Commands/cs_scene.cpp | Regigicas/TrinityCore | gpl-2.0 | 4,542 | 143 | codeparrot/github-code |
8df969d989698608eaebba803233f40726b2dc8c67746b0c204245bb11e9c92d | /* Copyright (C) 2002 Rainmeter Project Developers
*
* This Source Code Form is subject to the terms of the GNU General Public
* License; either version 2 of the License, or (at your option) any later
* version. If a copy of the GPL was not distributed with this file, You can
* obtain one at <https://www.gnu.... | C | Library/MeterImage.h | haroruhomer/rainmeter | gpl-2.0 | 1,598 | 62 | codeparrot/github-code |
5b0e5140ebed04ad2effd3eccb6659e749e8cba1dbf5e7d7cbb78cde8703a9fd | #include "SDRDeviceInfo.h"
SDRDeviceInfo::SDRDeviceInfo() : name(""), serial(""), available(false) {
}
std::string SDRDeviceInfo::getDeviceId() {
std::string deviceId;
deviceId.append(getName());
deviceId.append(" :: ");
deviceId.append(getSerial());
return deviceId;
}
bool SDRDeviceI... | C++ | src/sdr/SDRDeviceInfo.cpp | hugewave/CubicSDR | gpl-2.0 | 1,308 | 66 | codeparrot/github-code |
fc2116cf32dec67f0364f6fc806e0c5f69c73f73829a86198f7218ccd8d99ee7 | <?php
require_once($root_path.'include/care_api_classes/class_core.php');
global $page_funct, $Headline;
class page_funct extends Core
{
function page_funct(){
return true;
}
function Display_Header(){
global $URL_APPEND, $LDBillingInsurance;
echo '<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.0//EN" "h... | PHP | include/inc_page_functions.php | victorkagimu/khl-care2x | gpl-2.0 | 5,535 | 142 | codeparrot/github-code |
bcab5f1feb25a417bcd1da3bf84a212e6bfbd54d20a426d3f2851184494d4010 | /*
* QEMU OpenRISC CPU
*
* Copyright (c) 2012 Jia Liu <proljc@gmail.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) a... | C | target-openrisc/cpu.c | AppliedMicro/qemu | gpl-2.0 | 7,374 | 270 | codeparrot/github-code |
e4d04fa8b66d6957f49f1355b8679ce8d1f8b15babc4cc200f6bf4f00a5c7123 | /*
* cmpci.c -- C-Media PCI audio driver.
*
* Copyright (C) 1999 C-media support (support@cmedia.com.tw)
*
* Based on the PCI drivers by Thomas Sailer (sailer@ife.ee.ethz.ch)
*
* For update, visit:
* http://www.cmedia.com.tw
*
* This program is free software; you can redistribute it ... | C | sound/oss/cmpci.c | waterice/Test-Git | gpl-2.0 | 96,307 | 3,380 | codeparrot/github-code |
1020b13f2a9000beb691e5bcc41c44bb09cbd65af3481d64bd0722142622333b | /* 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/director/archive.cpp | vanfanel/scummvm | gpl-2.0 | 27,260 | 917 | codeparrot/github-code |
60c9f01a298d84915f2a5a34f5d2d2946d87a72115d59e7a5226346b3dcbf1b5 | /*
Dungeon : Gate of the Setting Sun 90 Heroic
Instance General Script
*/
#include "gate_setting_sun.h"
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "Vehicle.h"
enum spells
{
SPELL_MANTID_MUNITION_EXPLOSION = 107153,
SPELL_EXPLOSE_GATE = 115456,
SPELL_BOMB_CA... | C++ | src/server/scripts/Pandaria/Neuer Ordner/Dungeons/GateoftheSettingSun/gate_setting_sun.cpp | NightCotRe0110/SkyFire.548 | gpl-2.0 | 6,470 | 233 | codeparrot/github-code |
0cbf46afe7f086017321657950b40a2244044da6e55a6c96a04b014b1c8f3bb4 | /******************************************************************************
* Copyright (C) 2009-2012, International Business Machines
* Corporation and others. All Rights Reserved.
*******************************************************************************
*/
#include "unicode/utypes.h"
#if U_PLATFOR... | C | modules/web/src/main/native/Source/ThirdParty/icu/source/tools/toolutil/pkg_genc.c | Debian/openjfx | gpl-2.0 | 35,612 | 1,181 | codeparrot/github-code |
de111af55fa113bc35c9dea3292f38380ef2a6319708d8c425fc641ea5696735 | /* mga_drv.c -- Matrox G200/G400 driver -*- linux-c -*-
* Created: Mon Dec 13 01:56:22 1999 by jhartmann@precisioninsight.com
*
* Copyright 1999 Precision Insight, Inc., Cedar Park, Texas.
* Copyright 2000 VA Linux Systems, Inc., Sunnyvale, California.
* All Rights Reserved.
*
* Permission is hereby granted, fre... | C | linux-2.6.x/drivers/char/drm/mga_drv.c | ipwndev/DSLinux-Mirror | gpl-2.0 | 5,227 | 176 | codeparrot/github-code |
11ef39d23dae65dd202cc8ba5916a25733d82042a681660bf5a53772f2260526 | /* Copyright (C) 2003, 2004, 2006, 2007, 2008, 2009
Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C 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; e... | C | nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h | jjones-cavium/glibc | gpl-2.0 | 11,935 | 421 | codeparrot/github-code |
bd694e396566709916b4b9f5b7d83658b87fd62d565d0aa00d21338c35e3def1 | /***************************************************************************
* (C) Copyright 2013 Faiumoni e.V. *
***************************************************************************
***************************************************************************
* ... | Java | src/games/stendhal/client/gui/chattext/CharacterMap.java | AntumDeluge/arianne-stendhal | gpl-2.0 | 3,472 | 102 | codeparrot/github-code |
50f5ebee4e5aa38c4eadbcf5810f9e4e87de3ff5a4ef9a711a687e284369db02 | #include <defs.h>
#include <x86.h>
#include <stdio.h>
#include <string.h>
#include <swap.h>
#include <swap_fifo.h>
#include <list.h>
/* [wikipedia]The simplest Page Replacement Algorithm(PRA) is a FIFO algorithm. The first-in, first-out
* page replacement algorithm is a low-overhead algorithm that requires little boo... | C | labcodes/lab7/kern/mm/swap_fifo.c | Weihonghao/ucore_lab | gpl-2.0 | 5,368 | 143 | codeparrot/github-code |
655bdc3d10ade4bd632ebb9a03778e34248b6c62e8e387100d21d169ef42e632 | /*
* Copyright (C) 2010 Andriy Rysin (rysin@kde.org)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* ... | C++ | kcontrol/keyboard/kcm_view_models.cpp | afiestas/kde-workspace | gpl-2.0 | 15,866 | 505 | codeparrot/github-code |
894b3b997be7e160dc8b3eb72726f7098e7328ea9f5901d76689deecbabab52d | /*
** PTYWindow.h
**
** Copyright (c) 2002, 2003
**
** Author: Fabian, Ujwal S. Setlur
** Initial code by Kiichi Kusama
**
** Project: iTerm
**
** Description: NSWindow subclass. Implements smart window placement and blur.
**
** This program is free software; you can redistribute it and/or modify... | C | sources/PTYWindow.h | choppsv1/iTerm2 | gpl-2.0 | 1,915 | 65 | codeparrot/github-code |
3a87c5764651f63c059208387827e093fad24a0de9c23a94e4f5af666dd5e7b2 | /*
*
* WPA supplicant library with GLib integration
*
* Copyright (C) 2012 Intel Corporation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
*... | C | gsupplicant/dbus.c | raininja/connman-release | gpl-2.0 | 13,045 | 557 | codeparrot/github-code |
4e09bc743657d7652526dc5be043c65ada1dce64608fa0235119b6ba66ff3be2 | <?php if (!defined('BASEPATH')) exit('No direct script access allowed');
/**
* Code Igniter
*
* An open source application development framework for PHP 4.3.2 or newer
*
* @package CodeIgniter
* @author Rick Ellis
* @copyright Copyright (c) 2006, pMachine, Inc.
* @license http://www.codeignitor.com/user_gui... | PHP | CodeIgniter_1.5.2/CodeIgniter_1.5.2/system/helpers/smiley_helper.php | Calico90/codeigniter-version-scanner | gpl-2.0 | 3,884 | 165 | codeparrot/github-code |
8e4de739c2ffe2d293a208ecbe88b77aec1fc61aaf385825f34c87075680c6c0 | /****************************************************************************
**
** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the QtGui module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** ... | C | contrib/i586-mingw32msvc/include/qt4/src/gui/widgets/qtextbrowser.h | repstd/modified_vlc | gpl-2.0 | 4,410 | 141 | codeparrot/github-code |
8d207e69b498e1048acdaa3ba12a866f93ff28af671fecda948a3568906c55f0 | /**
* Copyright (C) 2010-2013 ARM Limited. All rights reserved.
*
* This program is free software and is provided to you under the terms of the GNU General Public License version 2
* as published by the Free Software Foundation, and any use by you of this program is subject to the terms of such GNU licence.
*
*... | C | drivers/misc/mediatek/gpu/mt6580/mali/mali/linux/mali_kernel_linux.c | Mysteryagr/Mystery-Kernel-3.18 | gpl-2.0 | 26,003 | 811 | codeparrot/github-code |
4c86421bf5a4c4bae7c70c572b0cc3692eb408b968f45dd3e6804ded7458895b | /*
* Copyright (C) 2008 Google, Inc.
* Copyright (c) 2008-2011, Code Aurora Forum. All rights reserved.
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distributed, and modified under those terms.
*
*... | C | arch/arm/mach-msm/devices-msm7x30.c | maniacx/android_kernel_htcleo-3.0_old | gpl-2.0 | 30,293 | 1,410 | codeparrot/github-code |
04ace79b9640426b20b795cdd7a7c1fc1fdb85afd4f54eb5582e47f641de1d63 | /*
* Copyright © 2006-2008 Intel Corporation
* Jesse Barnes <jesse.barnes@intel.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitatio... | C | drivers/gpu/drm/i915/intel_tv.c | IGGYVIP/lge-kernel-e430 | gpl-2.0 | 50,119 | 1,711 | codeparrot/github-code |
321be7e236be29c067b3fa8fa82c801a2be31eb3d9d30bb3919d25b6624695fc | # asciixmas
# December 1989 Larry Bartz Indianapolis, IN
#
# $Id: xmas.py 36559 2004-07-18 05:56:09Z tim_one $
#
# I'm dreaming of an ascii character-based monochrome Christmas,
# Just like the one's I used to know!
# Via a full duplex communications channel,
# At 9600 bits per second,
# Even thou... | Python | xbmc/lib/libPython/Python/Demo/curses/xmas.py | xbmc/atv2 | gpl-2.0 | 25,498 | 907 | codeparrot/github-code |
f55d4124e56b8e4629c9918b3e566a1339316085fc06a94ed485d1db32fefa12 | /*
* E-UAE - The portable Amiga Emulator
*
* BeOS joystick driver
*
* (c) Richard Drummond 2005
*/
extern "C" {
#include "sysconfig.h"
#include "sysdeps.h"
#include "options.h"
#include "memory_uae.h"
#include "custom.h"
#include "inputdevice.h"
}
#include <device/Joystick.h>
#include <support/String.h>
//... | C++ | src/jd-beos/joystick.cpp | ErisBlastar/PUAE | gpl-2.0 | 7,504 | 320 | codeparrot/github-code |
fc6925cbcc81c213e43e084c2b5e53d29a3105231c4156602f5a49b16660da24 | /******************************************************************************
*
* Copyright(c) 2007 - 2013 Realtek Corporation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License as
* published by the ... | C | drivers/amlogic/wifi/rtl8822BU/include/osdep_service.h | alyubomirov/Amlogic_s905-kernel | gpl-2.0 | 21,793 | 631 | codeparrot/github-code |
a99ee47d5484ecf98b8815588c5578c2f18e25bc4cda7a5748517de4e0306192 | /*
Copyright_License {
XCSoar Glide Computer - http://www.xcsoar.org/
Copyright (C) 2000-2014 The XCSoar Project
A detailed list of copyright holders can be found in the file "AUTHORS".
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
... | C++ | src/Dialogs/Settings/Panels/ScoringConfigPanel.hpp | CnZoom/XcSoarWork | gpl-2.0 | 1,072 | 33 | codeparrot/github-code |
a686b4fb9afee060e1b9eb15b1236c3e89c99aea6f79927a3118786f9dd613ca | // -*-c++-*-
/* $Id$ */
/*
*
* Copyright (C) 2004 David Mazieres (dm@uun.org)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2, or (at
* your option) any later version.... | C | sfsmisc/sfssesscrypt.h | okws/sfslite | gpl-2.0 | 5,007 | 145 | codeparrot/github-code |
a98aad8de84650e52897173be5170cba9668ed326868ef174eed634b6452318b | /* -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
* vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
*
* Copyright (C) 2008 Sun Microsystems, 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... | C | drizzled/hybrid_type_traits_decimal.h | virtdb/drizzle | gpl-2.0 | 1,756 | 51 | codeparrot/github-code |
20c2a21dcd625146bfde3bfc2bf28d9ad1b1facde3124167073a72d990d13098 | /*
* sleep.c - x86-specific ACPI sleep support.
*
* Copyright (C) 2001-2003 Patrick Mochel
* Copyright (C) 2001-2003 Pavel Machek <pavel@ucw.cz>
*/
#include <linux/acpi.h>
#include <linux/bootmem.h>
#include <linux/memblock.h>
#include <linux/dmi.h>
#include <linux/cpumask.h>
#include <asm/segment.h>
#include <... | C | linux-3.14.37/arch/x86/kernel/acpi/sleep.c | AdaLovelance/lxcGrsecKernels | gpl-2.0 | 3,954 | 145 | codeparrot/github-code |
1b6adbbd7401e7af0981075cfce86bc1d101625534a77c67c7704df7be854b97 | /*
* Copyright (C) 2011-2013 Team XBMC
* http://kodi.tv
*
* 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, or (at your option)
* any later version.
*
* T... | C++ | xbmc/utils/AMLUtils.cpp | fritsch/xbmc | gpl-2.0 | 20,206 | 690 | codeparrot/github-code |
2867668632e9916b7d626197ab5e23a5e6f8a78b65bb172ae6200b4ba126170a | /* Copyright 2009 Gary Briggs
This file is part of obdgpslogger.
obdgpslogger 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.
obdgpslogger... | C | src/obdinfo/obdservicecommands.c | oesmith/obdgpslogger | gpl-2.0 | 3,617 | 151 | codeparrot/github-code |
ded7dd855d988cfd0ddba4c01ba23b53028dce654ad471deb26f2d30b15219f9 | /*****************************************************************************
* sepia.c : Sepia video plugin for vlc
*****************************************************************************
* Copyright (C) 2010 the VideoLAN team
* $Id: 7235537b25bcb9ed9ce30e38471655b0be92234f $
*
* Authors: Branko Kokanovic... | C | modules/video_filter/sepia.c | Jobq/vlc-mdc | gpl-2.0 | 21,477 | 503 | codeparrot/github-code |
0499678bc11b9c4226cff49e87dc7a694d69166a24b291e0f0c81d8cb4a4f71e | /*
mkvmerge -- utility for splicing together matroska files
from component media subtypes
Distributed under the GPL v2
see the file COPYING for details
or visit http://www.gnu.org/copyleft/gpl.html
ALAC output module
Written by Moritz Bunkus <moritz@bunkus.org>.
*/
#include "common/common_pch.h... | C++ | src/output/p_alac.cpp | egoitzro/mkvtoolnix | gpl-2.0 | 1,769 | 66 | codeparrot/github-code |
8f39164957dbec254ed38d5295453fb8d9c9c96c2bf4655776addd9334d634e2 | /* 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.
*
* Tom St Denis, tomstdenis@gmail.com, http://l... | C | src/tools/extractor/StormLib/src/libtomcrypt/src/pk/asn1/der_decode_printable_string.c | Macavity/SkyFireEMU | gpl-2.0 | 2,258 | 95 | codeparrot/github-code |
1fec8cc28d4302ff1bf5172cda321e032255977fae2b8af5ff1d6e0f75ba57f4 | /*
Õâ·ÝdemoÓÃÓÚÑÝʾ»·Ðλº³åÇø
*/
#include <rtthread.h>
#include "rtdevice.h" //for rt_ringbuffer
#ifdef RT_USING_FINSH
#include <finsh.h>
#include <shell.h>
#endif
static rt_sem_t sem = RT_NULL;
static rt_uint8_t working_buffer[256];
struct rt_ringbuffer rb;
/* Ö¸ÏòÏ߳̿ØÖÆ¿éµÄÖ¸Õë */
static rt_thread_t tid1 = ... | C | software/rtthread_examples/examples/1_kernel_mem_ringbuffer/applications/demo.c | kevin988/RealBoard4088 | gpl-2.0 | 2,173 | 102 | codeparrot/github-code |
94901b11b33060c29dd8c2a54c1f830e60840cd96699c99be9f0b48c1b8f3d8b | // $Id$
// This file is part of CDS Invenio.
// Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 CERN.
//
// CDS Invenio 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
// Lice... | C | modules/miscutil/lib/intbitset_impl.c | ppiotr/Bibedit-some-refactoring | gpl-2.0 | 13,509 | 403 | codeparrot/github-code |
c4e12127b7e96436b6188a2811dffcf719c4b2bd9252dbd72706a92289872cae | /**********************************************************************
Freeciv - Copyright (C) 2004 - The Freeciv Project
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, ... | C | src/ai/aiferry.c | eric-stanley/freeciv-android | gpl-2.0 | 40,254 | 1,155 | codeparrot/github-code |
e4cdc4618992497bfc1559fed3706a863dec199a0abaa176a42f70940c610a56 | <?php
/**
* JEvents Locations Component for Joomla 1.5.x
*
* @version $Id: jevboolean.php 1331 2010-10-19 12:35:49Z geraintedwards $
* @package JEvents
* @copyright Copyright (C) 2008-2015 GWE Systems Ltd
* @license GNU/GPLv2, see http://www.gnu.org/licenses/gpl-2.0.html
* @link http://www.... | PHP | administrator/components/com_jevents/fields/jevboolean.php | githubupttik/upttik | gpl-2.0 | 2,914 | 111 | codeparrot/github-code |
8a5c8e9fbf03657338fe3ecb2275eac175cf702d6447cc6ece024728eb80031e | <p>
<label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e( 'Title:', AGM_LANG ); ?></label>
<input class="widefat" id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" type="text" value="<?php echo $title; ?>" />
</p>
<p>
<label for="<?php ech... | PHP | wp-content/plugins/wpmu_dev_maps_plugin/views/widget_settings.php | graph-io/soundhouse-dev | gpl-2.0 | 8,536 | 142 | codeparrot/github-code |
5a5cffda2c9c22bcc100d4c1113c4763c666f3dcc5163a0fd8903317d37c93db | # ===========================================================================
# eXe
# Copyright 2004-2006, University of Auckland
#
# 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 ... | Python | exe/webui/reflectionblock.py | tquilian/exeNext | gpl-2.0 | 4,875 | 129 | codeparrot/github-code |
6da2a5c7d0f87eb07391345b05aa3e9c270984efffcacfba70b001ecbfb8eec9 | // { dg-options "-std=gnu++11" }
// Copyright (C) 2011-2014 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published by the
// Free Software Foundation... | C++ | libstdc++-v3/testsuite/20_util/scoped_allocator/1.cc | mageec/mageec-gcc | gpl-2.0 | 3,049 | 104 | codeparrot/github-code |
17ff425c09e84eb8d0e57b4a04e10a77997a2ec15d3af4766f6930ca16a221d4 | /* Freezer declarations */
#ifndef FREEZER_H_INCLUDED
#define FREEZER_H_INCLUDED
#include <linux/sched.h>
#include <linux/wait.h>
#ifdef CONFIG_FREEZER
/*
* Check if a process has been frozen
*/
static inline int frozen(struct task_struct *p)
{
return p->flags & PF_FROZEN;
}
/*
* Check if there is a request to ... | C | include/linux/freezer.h | onyx-intl/ak98_kernel | gpl-2.0 | 5,380 | 193 | codeparrot/github-code |
e0dceced893fded8246139f213dd679dbc17be5ce2f8158e2a0b40a6da4b6a0b | <?php
/* Copyright 2005 Flávio Ribeiro
This file is part of OCOMON.
OCOMON 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 Lic... | PHP | ocomon/geral/mostra_chamados.php | rafaelfoster/ocomon | gpl-2.0 | 9,382 | 222 | codeparrot/github-code |
a2e343301b0d804643b95687b0ecae52a5cf19b23171c0210daa264d2619211e | <html lang="en">
<head>
<title>Darwin Pragmas - Using the GNU Compiler Collection (GCC)</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="Using the GNU Compiler Collection (GCC)">
<meta name="generator" content="makeinfo 4.13">
<link title="Top" rel="start" href="index.html#... | HTML | toolchain/share/doc/gcc-linaro-arm-linux-gnueabihf/html/gcc/Darwin-Pragmas.html | vic3t3chn0/Samsung_Wave_Kernel_SD_NAND | gpl-2.0 | 3,948 | 82 | codeparrot/github-code |
8ab5c335c8ec6e730f36dea548d8fbe42a0f406c9d25d70bdc042804b87e39ab | --スターダスト・チャージ・ウォリアー
function c64880894.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,nil,aux.NonTuner(nil),1)
c:EnableReviveLimit()
--draw
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(64880894,0))
e1:SetCategory(CATEGORY_DRAW)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)... | Lua | c64880894.lua | mercury233/ygopro-scripts | gpl-2.0 | 1,280 | 41 | codeparrot/github-code |
e5858126467f545c698378c4a9d8e039d1a645da15839c14ab2e284905f258b9 | <?php
class AIOWPSecurity_Filescan_Menu extends AIOWPSecurity_Admin_Menu
{
var $menu_page_slug = AIOWPSEC_FILESCAN_MENU_SLUG;
/* Specify all the tabs of this menu in the following array */
var $menu_tabs;
var $menu_tabs_handler = array(
'tab1' => 'render_tab1',
'tab2' =... | PHP | wp-content/plugins/all-in-one-wp-security-and-firewall/admin/wp-security-filescan-menu.php | mattsteele/jonlambert | gpl-2.0 | 32,932 | 528 | codeparrot/github-code |
bbcdb2a1031ca8779b02796ce5e6d6f1409e67e40f47adc86dd1ff46740d9587 | /*
* Broadcom Home Gateway Reference Design
* Web Page Configuration Support Routines
*
* Copyright 2001-2003, Broadcom Corporation
* All Rights Reserved.
*
* THIS SOFTWARE IS OFFERED "AS IS", AND BROADCOM GRANTS NO WARRANTIES OF ANY
* KIND, EXPRESS OR IMPLIED, BY STATUTE, COMMUNICATION OR OTHERWISE. BROADCOM
... | C | package/ezp-httpd/src/wl.c | choushane/MaRa-a1a0a5aNaL | gpl-2.0 | 68,931 | 2,117 | codeparrot/github-code |
20d0db7d9a456fa735d85b2f5222824b318e1fb2c10c0b6f16fc92728191993b | /* ----------------------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
http://lammps.sandia.gov, Sandia National Laboratories
Steve Plimpton, sjplimp@sandia.gov
Copyright (2003) Sandia Corporation. Under the terms of Contract
DE-AC04... | C++ | src/USER-CGSDK/pair_lj_sdk_coul_msm.cpp | Pakketeretet2/lammps | gpl-2.0 | 9,995 | 299 | codeparrot/github-code |
4956c0265ffb634dd94c3843f2f3f1e1be22b92e727faef57557c4cd2a11bfdc | /*
* MC146818 RTC emulation
*
* All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is d... | C | emulators/rtc/mc146818rtc.c | hschauhan/xvisor-x86_64 | gpl-2.0 | 22,341 | 870 | codeparrot/github-code |
47a2ac04f330a16c9377c56f0c509dbe51f8b2929c32f271358652850a9288b0 | <?php
/**
*
* WhCountries.php
*
* Date: 06/09/14
* Time: 14:17
* @author Antonio Ramirez <amigo.cobos@gmail.com>
* @link http://www.ramirezcobos.com/
* @link http://www.2amigos.us/
*/
Yii::import('yiiwheels.widgets.formhelpers.WhInputWidget');
class WhPhone extends WhInputWidget
{
/**
* @var string t... | PHP | protected/extensions/yiiwheels/widgets/formhelpers/WhPhone.php | owliber/grand-time-auto | gpl-2.0 | 1,211 | 46 | codeparrot/github-code |
1db74931193034db366a05aa146de20dd85a28ad8ef50164a304ea2d11855509 | // { dg-do run { target c++11 } }
//
// Copyright (C) 2012-2021 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published by the
// Free Software Foundat... | C++ | libstdc++-v3/testsuite/23_containers/array/element_access/54388.cc | Gurgel100/gcc | gpl-2.0 | 1,033 | 41 | codeparrot/github-code |
71fc319eac0e34829ee21d7596ecb377eadd58100abcb687fc6a597f1b4021ef | /*
Theme Name: Twenty Ten
Theme URI: https://wordpress.org/themes/twentyten/
Description: The 2010 theme for WordPress is stylish, customizable, simple, and readable -- make it yours with a custom menu, header image, and background. Twenty Ten supports six widgetized areas (two in the sidebar, four in the footer) and f... | CSS | src/wp-content/themes/twentyten/style.css | Vagrantin/wp_nonces | gpl-2.0 | 23,706 | 1,393 | codeparrot/github-code |
c2046e264e286758b0fe891258cf1eeb5c1a61413f7d703575451b1a3607757b | /*****************************************************************************
* messages.cpp : Information about an item
****************************************************************************
* Copyright (C) 2006-2011 the VideoLAN team
* $Id$
*
* Authors: Jean-Baptiste Kempf <jb (at) videolan.org>
*
* Th... | C++ | modules/gui/qt4/dialogs/messages.cpp | thoaionline/vlc | gpl-2.0 | 12,069 | 379 | codeparrot/github-code |
435d21fae8b8a8666d0fd4f4d4fb298810b60f7ca7235659ecb558e0e71cc70c | <?php
class EditorExtensions {
var $ext = array();
function get_list(){
$this->get_themes();
$this->get_sections();
return $this->ext;
}
function get_themes(){
// Themes
$themes = wp_get_themes();
if(is_array($themes)){
foreach($themes as $theme => $t){
$class = array();
$tags = ... | PHP | wp-content/themes/dms/dms/editor/editor.extensions.php | calhouny/FR | gpl-2.0 | 1,707 | 91 | codeparrot/github-code |
afd5d69f6a46faf52e23212026cac200c82f7b7365de59588aa49834866ac769 | // BouncingBalls2014 is a program that lets you animate an LED strip
// to look like a group of bouncing balls
//
// https://github.com/fibonacci162/LEDs/blob/master/BouncingBalls2014/BouncingBalls2014.ino
//
// Daniel Wilson, 2014
//
// With BIG thanks to the FastLED community!
//////////////////////////////////... | C | ESP8266/tree/BouncingBalls2014.h | dmacias72/Arduino | gpl-2.0 | 3,060 | 62 | codeparrot/github-code |
f6780fd258a2aea7a7ebb1e3017334303961744ab705e73da518afaa487fa4ba | /******************************************************************************
*
* Module Name: tbxfroot - Find the root ACPI table (RSDT)
*
*****************************************************************************/
/*
* Copyright (C) 2000 - 2008, Intel Corp.
* All rights reserved.
*
* Redistribution and ... | C | drivers/acpi/tables/tbxfroot.c | janrinze/loox7xxport | gpl-2.0 | 8,359 | 274 | codeparrot/github-code |
e01c7c0a9caaea702509fe82aac8334e71a5cfd35e461b01aa839b5619a97332 | <?php
class all_around_functions {
static $wrapper, $main_object;
static public function get_filename_from_filepath($file) {
$file_info=pathinfo($file);
return $file_info['dirname'];
}
static public function get_directory_from_filepath($file) {
$file_info=pathinfo($file);
return $file_info['b... | PHP | wp-content/plugins/all_around/includes/functions.php | visitcasabacardi/backup-nov-15 | gpl-2.0 | 18,197 | 503 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.