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 |
|---|---|---|---|---|---|---|---|---|
4ed57848dd437f196d553236290bcd915b7017ae89fd38c2f0a11b385fc5f85c | // Copyright 2005-2016 The Mumble Developers. All rights reserved.
// Use of this source code is governed by a BSD-style license
// that can be found in the LICENSE file at the root of the
// Mumble source tree or at <https://www.mumble.info/LICENSE>.
#include "murmur_pch.h"
#include "Channel.h"
#include "User.h"
#in... | C++ | src/Channel.cpp | SuperNascher/mumble | bsd-3-clause | 4,315 | 219 | codeparrot/github-code |
8da8b2f56f6734f78db25c7d2f05b0c3043eafea65770c76261bc35cb409121e | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/autofill/browser/state_names.h"
#include "base/basictypes.h"
#include "base/strings/string_util.h"
#include "base/strings/utf_string... | C++ | components/autofill/browser/state_names.cc | hujiajie/pa-chromium | bsd-3-clause | 2,972 | 116 | codeparrot/github-code |
51d64be8d9a2c54adea449e9ad79cac9770b3b7ced4a1c8d58cc705a2257b3f2 | package main
import (
"fmt"
"strings"
"thezombie.net/libgojira"
)
func init() {
parser.AddCommand("rank",
"Rank Jira stories",
"The rank command allows a user to modify story ranks",
&rankCommand)
}
//Command made to list
type RankCommand struct {
}
func (rc *RankCommand) Usage() string {
return "gojir... | GO | rankcommand.go | seedboxtech/gojira | bsd-3-clause | 981 | 48 | codeparrot/github-code |
551c5ed67f5870b21adcf0880979163af0066b314ad665b56ade9b6f825673df | /**
******************************************************************************
* Xenia : Xbox 360 Emulator Research Project *
******************************************************************************
* Copyright 2014 Ben Vanik. All rights reserved. ... | C++ | src/xenia/cpu/compiler/passes/value_reduction_pass.cc | TingPing/xenia | bsd-3-clause | 4,321 | 149 | codeparrot/github-code |
3d52518aed90b9b1e061a2b4d852e5399a949952f6c8aa42361112712670a1e7 | /**
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @provides... | JavaScript | src/tools/testEditDistance.js | mroch/relay | bsd-3-clause | 2,607 | 103 | codeparrot/github-code |
c46ca9c2d9fef85f08c54538072576817a6719e7f9b146062cc9adfac23570ac | '''This allows running a bit of code on couchdb docs.
code should take a json python object, modify it and hand back to the code
Not quite that slick yet, need way to pass in code or make this a decorator
'''
import importlib
from harvester.collection_registry_client import Collection
from harvester.couchdb_init import... | Python | harvester/post_processing/run_transform_on_couchdb_docs.py | ucldc/harvester | bsd-3-clause | 3,271 | 84 | codeparrot/github-code |
47cd0947499b0ed7e5fe3d69548db5ffa5c68f8b3a61b9b40bc9bcbfd7c5c9c7 | <?php
/**
* Smarty plugin
* @package Smarty
* @subpackage plugins
*/
/**
* Prepend the cache information to the cache file
* and write it
*
* @param string $tpl_file
* @param string $cache_id
* @param string $compile_id
* @param string $results
* @return true|null
*/
// $tpl_file, $cach... | PHP | libs/module/smarty/internals/core.write_cache_file.php | superwmh/swoole | bsd-3-clause | 3,258 | 97 | codeparrot/github-code |
6d18137179e38bd2cd10bea799bfe2a4f1ca832ff9d8b1a7b6ee699c1b58c408 | // Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_BROWSER_RENDERER_HOST_FILE_UTILITIES_MESSAGE_FILTER_H_
#define CONTENT_BROWSER_RENDERER_HOST_FILE_UTILITIES_MESSAGE_FILTER_H_
#includ... | C | content/browser/renderer_host/file_utilities_message_filter.h | Crystalnix/house-of-life-chromium | bsd-3-clause | 1,597 | 49 | codeparrot/github-code |
99454a907f3d2ba4c247e75d15b4abfd14013c8381ac7f588411d0b4869e608d | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/printing/printer_manager_dialog.h"
#include <memory>
#include "base/bind.h"
#include "base/environment.h"
#include "base/me... | C++ | chrome/browser/printing/printer_manager_dialog_linux.cc | axinging/chromium-crosswalk | bsd-3-clause | 2,228 | 72 | codeparrot/github-code |
3ec7eab92cf45743560b5aec9da09bf61518b2c0e697a041ad767a6b67d5c5e3 | /*
* Copyright (c) Contributors, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must r... | C# | OpenSim/Data/RegionProfileData.cs | intari/OpenSimMirror | bsd-3-clause | 11,439 | 339 | codeparrot/github-code |
81a3ba5a1241c203c75265ed75baadaef609427941ee2d8d29f56dd534ce3707 | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
namespace Kooboo.CMS.Toolkit
{
public static class ObjectExtensions
{
private static readonly string[] Booleans = new string[] { "true", "yes", "on", "1" };
public static int AsIn... | C# | Kooboo.Toolkits/Kooboo.CMS.Toolkit/Common/Extensions/ObjectExtensions.cs | Kooboo/Extensions | bsd-3-clause | 3,658 | 136 | codeparrot/github-code |
c1c306a6adc316afc801a95d1b023bf6815c7adfba0a585da8389442a92c5ee2 | # Copyright 2020 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""Various custom data types for use throughout the unexpected pass finder."""
from __future__ import print_function
import collections
import copy
import f... | Python | testing/unexpected_passes_common/data_types.py | nwjs/chromium.src | bsd-3-clause | 22,630 | 643 | codeparrot/github-code |
99c8fb8891dd1dee5ae6fa28e6104a54290edb2e526b722ef16193025b31908d | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "net/proxy/proxy_config_service_linux.h"
#include <errno.h>
#if defined(USE_GCONF)
#include <gconf/gconf-client.h>
#endif // defined(USE_GC... | C++ | net/proxy/proxy_config_service_linux.cc | ds-hwang/chromium-crosswalk | bsd-3-clause | 69,337 | 1,786 | codeparrot/github-code |
ccc033756dd520827e2bef4f3fb01b492d8fb2ba641c0a2d5ce7a8be83faed3b | //===-- FindAllMacros.cpp - find all macros ---------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | C++ | third_party/llvm-project/clang-tools-extra/include-fixer/find-all-symbols/FindAllMacros.cpp | youtube/cobalt | bsd-3-clause | 2,374 | 71 | codeparrot/github-code |
a518715e121d93aef8c9d87a1132c617013b35ebaed47544f81893db328a6929 | /*
* Copyright (c) 2018, Alliance for Open Media. All rights reserved
*
* This source code is subject to the terms of the BSD 2 Clause License and
* the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
* was not distributed with this source code in the LICENSE file, you can
* obtain it at w... | C | third_party/libaom/source/libaom/av1/encoder/hash_motion.c | endlessm/chromium-browser | bsd-3-clause | 17,624 | 492 | codeparrot/github-code |
b6f2fecdf11d4e88135e1c3764de98191641c4dc914af2e50b6ac0fa0fe39de2 | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef EXTENSIONS_BROWSER_EVENT_LISTENER_MAP_H_
#define EXTENSIONS_BROWSER_EVENT_LISTENER_MAP_H_
#include <map>
#include <set>
#include <string>
#includ... | C | extensions/browser/event_listener_map.h | was4444/chromium.src | bsd-3-clause | 7,097 | 202 | codeparrot/github-code |
7708891e8911b00dd988855fe273d3d234f0a61f5469e510996eeb3f5ae14de6 | <!DOCTYPE HTML>
<html>
<head>
<title>Boomerang Howto #6: Configuring boomerang</title>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="../boomerang-docs.css">
</head>
<body>
<span style="float:right;"><a href="../">All Docs</a> | <a href="index.html">Inde... | HTML | doc/howtos/howto-6.html | levexis/boomerang | bsd-3-clause | 10,503 | 265 | codeparrot/github-code |
c5c6e136b0fff0025663c0b2e259aa7d37d2da0f49e7699c2b66d551bb02d6c8 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "net/socket/socks_client_socket.h"
#include "base/basictypes.h"
#include "base/bind.h"
#include "base/callback_helpers.h"
#include "base/com... | C++ | net/socket/socks_client_socket.cc | sgraham/nope | bsd-3-clause | 14,045 | 462 | codeparrot/github-code |
9a65e815e9f4bdcb0f2eca0b7693d0d5bab64e1b354066ce4e2b781801e4edaf | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.h"
#include "base/command_line.h"
#include "base/macros.h"
#include "base/string... | C++ | chrome/browser/ui/views/frame/opaque_browser_frame_view_layout_unittest.cc | ds-hwang/chromium-crosswalk | bsd-3-clause | 17,792 | 445 | codeparrot/github-code |
ede1b510fe2dfd95b09f4deb722a6ab457ea7c26c0199297bd94ea98fe875237 | /*
* Copyright (c) 2012 The Native Client Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include <map>
#include <string.h>
#include "native_client/src/include/build_config.h"
#include "native_client/src/shared/platform/nacl_c... | C++ | src/trusted/debug_stub/thread_common.cc | sbc100/native_client | bsd-3-clause | 7,024 | 214 | codeparrot/github-code |
861811a9cd0e6bad789987d2783eca4eff11f1b44ce66bfa2d19e758fab8efed | // Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.chrome.browser.ui.default_browser_promo;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.Mockito.when;
im... | Java | chromium/chrome/browser/ui/android/default_browser_promo/java/src/org/chromium/chrome/browser/ui/default_browser_promo/DefaultBrowserPromoUtilsTest.java | ric2b/Vivaldi-browser | bsd-3-clause | 10,718 | 247 | codeparrot/github-code |
c44083872159e3d4a2564aeb83fa34ef1ba961b76284c4e0d7a85c76c7c656e8 | /*
* Copyright 2011 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "include/core/SkCanvas.h"
#include "include/core/SkPath.h"
#include "samplecode/Sample.h"
#include "src/core/SkAAClip.h"
static void testop(const SkIRect& r0, const ... | C++ | third_party/skia/samplecode/SampleAAClip.cpp | endlessm/chromium-browser | bsd-3-clause | 2,752 | 107 | codeparrot/github-code |
0a1b568c3d3eebb3b60a87b10136da88a76c740f8541ece3845bcf9ccad4ac8f | /*=========================================================================
medInria
Copyright (c) INRIA 2013 - 2014. All rights reserved.
See LICENSE.txt for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE... | C | src/medVtkInria/vtkDataManagement/vtkMetaDataSetSequence.h | rdebroiz/medInria-public | bsd-3-clause | 17,531 | 564 | codeparrot/github-code |
0f274b7f2ca5c3865ab0688b0b93cb3491e837e40cb61bf278ba7d639b5cf56f | /* -----------------------------------------------------------------------------
*
* (c) The GHC Team 2000
*
* RTS GTK Front Panel (callbacks)
*
* ---------------------------------------------------------------------------*/
#ifdef RTS_GTK_FRONTPANEL
#include "Rts.h"
#include <gtk/gtk.h>
#include "VisCallback... | C | rts/VisCallbacks.c | nomeata/ghc | bsd-3-clause | 1,617 | 76 | codeparrot/github-code |
0a51c0304ea3297ea79cee23b7f8d2de1fe5afbe225b05b6af25be23ac6f0757 | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be found
// in the LICENSE file.
#ifndef RemoteBridgeFrameOwner_h
#define RemoteBridgeFrameOwner_h
#include "core/frame/FrameOwner.h"
#include "platform/scroll/ScrollTypes.h"
#include "p... | C | third_party/WebKit/Source/web/RemoteBridgeFrameOwner.h | ds-hwang/chromium-crosswalk | bsd-3-clause | 2,615 | 80 | codeparrot/github-code |
6318ae16485fe8f81b23500e20f14eae3d33bbc0a26acaa8c913497c5da6a66b | /* Copyright (c) 2017 Boundless and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Distribution License v1.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/org/documents/edl-v10.html
*
* Contribut... | Java | src/core/src/main/java/org/locationtech/geogig/storage/datastream/v2_3/FloatPackedCoordinateSequence.java | jdgarrett/geogig | bsd-3-clause | 3,554 | 106 | codeparrot/github-code |
262e117d1c417c85d981b0a44fbe214044e8ce420fea895a774480b94550a7e2 | // Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/gfx/skia_util.h"
#include "third_party/skia/include/core/SkBitmap.h"
#include "third_party/skia/include/core/SkColorPriv.h"
#include "th... | C++ | ui/gfx/skia_util.cc | Crystalnix/house-of-life-chromium | bsd-3-clause | 1,928 | 62 | codeparrot/github-code |
e8d4e4d7bb47738bf2636abe53d2cc6b6b63bb271a39fc5c39c47a9ac63c52ec | /*
* File: BayesianUtilTest.java
* Authors: Kevin R. Dixon
* Company: Sandia National Laboratories
* Project: Cognitive Foundry
*
* Copyright Apr 7, 2010, Sandia Corporation.
* Under the terms of Contract DE-AC04-94AL85000, there is a non-exclusive
* license f... | Java | Components/LearningCore/Test/gov/sandia/cognition/statistics/bayesian/BayesianUtilTest.java | codeaudit/Foundry | bsd-3-clause | 9,863 | 258 | codeparrot/github-code |
6a3e8c610016e6ccbf13092d2363ca29497cda49d766fe272ea484df3e66faeb | // Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chromeos/services/secure_channel/nearby_initiator_operation.h"
#include "base/bind.h"
#include "base/memory/ptr_util.h"
#include "base/no_destr... | C++ | chromium/chromeos/services/secure_channel/nearby_initiator_operation.cc | ric2b/Vivaldi-browser | bsd-3-clause | 5,548 | 143 | codeparrot/github-code |
4c0a34b2d25dd230a86d5bbf7ae5163ebe34566dc1ef066849f46542f777f3bd | --
-- Module Term_lib, library of functions that can be used with Term0, Term1 or Term2,
-- and can be dropped (DROP SCHEMA term_lib CASCADE) without direct side effect.
--
-- Usually user-adaptations occurs in jrpc_*(), normalizeterm() and score().
-- To rebuild system with changes, usa
-- psql -h localhost -U postg... | SQL | src/sql_mode2/term_lib.sql | ppKrauss/base-terminologia-controlada | mit | 12,435 | 343 | codeparrot/github-code |
ba853c64619f79b95fe5fdeb35788aaf62b4e7b05ec3752ee7256e0b3bff8c2c | <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* Name: Mahana Messaging Library for CodeIgniter
*
* Author: Jeff Madsen
* jrmadsen67@gmail.com
* http://www.codebyjeff.com
*
* Location: will be on github shortly
*
* Description: CI library for lin... | PHP | application/libraries/Mahana_messaging.php | weboservicesltd/crmsoftware | mit | 14,074 | 464 | codeparrot/github-code |
39271450bc08038ec4faba4e8a65a961dc97136161df530bffc700fd1092273c | /**
* \file
*
* \brief USB Device Human Interface Device (HID) generic interface.
*
* Copyright (c) 2009-2014 Atmel Corporation. All rights reserved.
*
* \asf_license_start
*
* \page License
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that th... | C | blinky/common/services/usb/class/hid/device/generic/udi_hid_generic.c | femtoio/femto-usb-blink-example | mit | 9,659 | 314 | codeparrot/github-code |
0e18cba025a37d2b3781de96943ab0a3ddb5b245cad8eb30961d1418e842bc0a | <!DOCTYPE html>
<html lang="en">
<head>
<title>three.js webgl - materials</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<style>
body {
font-family: Monospace;
background-color: #000;
margin: 0px;
ove... | HTML | threeJS/mrdoob-three.js-3b4457e/examples/webgl_materials.html | pixelsandcandy/sandbox-js | mit | 7,680 | 260 | codeparrot/github-code |
f7f401646236a9d7a6ccf82c948a81c4dcb8ffcfd4fb0ebe61410790f938a13b | import Model from 'flarum/Model';
import Discussion from 'flarum/models/Discussion';
import IndexPage from 'flarum/components/IndexPage';
import Tag from 'tags/models/Tag';
import TagsPage from 'tags/components/TagsPage';
import DiscussionTaggedPost from 'tags/components/DiscussionTaggedPost';
import addTagList from ... | JavaScript | js/forum/src/main.js | Luceos/flarum-tags | mit | 1,086 | 34 | codeparrot/github-code |
a9ac4a2b82d4f6ac13179a66e57730ec7898a177866f4649107dcc5351ece64b | /*
* RELIC is an Efficient LIbrary for Cryptography
* Copyright (c) 2009 RELIC Authors
*
* This file is part of RELIC. RELIC is legal property of its developers,
* whose names are not listed here. Please refer to the COPYRIGHT file
* for contact information.
*
* RELIC is free software; you can redistribute it a... | C | src/chiabls/contrib/relic/src/low/gmp/relic_fb_shift_low.c | PIVX-Project/PIVX | mit | 2,290 | 80 | codeparrot/github-code |
d17429610eaf0992ea736b8918aea646a37dc2394f8cfa2d0a501aa34120381b | var $content,
$deferred;
$(document).ready(function() {
// Bind ASAP events
$(window).on("request.asap", pageRequested)
.on("progress.asap", pageLoadProgress)
.on("load.asap", pageLoaded)
.on("render.asap", pageRendered)
.on("error.asap", pageLoadError);
$content = $("#content... | JavaScript | demo/site/extra/asap/js/main.js | LoganArnett/Formstone | mit | 1,400 | 64 | codeparrot/github-code |
27939d6bbdcd3a0f63685377759f2f643b4620907972b8bbcf6f52e2313561e9 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Minim : : BeatDetect</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="stylesheet.css" rel="stylesheet" type="text/css">
</head>
<body>
<center>
<table ... | HTML | libraries/minim/documentation/beatdetect_class_beatdetect.html | dibarbet/MusicComposer | mit | 9,513 | 206 | codeparrot/github-code |
b11953ac68be465ec8cd6e80ed637928dd595140334d2c51dd10c0fcaceff5cf | import { Class, clone, isArray } from './lib/objects';
import { diffs } from './lib/diffs';
import { eq } from './lib/eq';
import { PathNotFoundException } from './lib/exceptions';
/**
`Document` is a complete implementation of the JSON PATCH spec detailed in
[RFC 6902](http://tools.ietf.org/html/rfc6902).
A docum... | JavaScript | lib/orbit/document.js | beni55/orbit.js | mit | 14,393 | 463 | codeparrot/github-code |
99cffaefc9750d76d045f27c4cf080ba5e556a92da237caf5146b930610ba695 | function BxTimelineView(oOptions) {
this._sActionsUri = oOptions.sActionUri;
this._sActionsUrl = oOptions.sActionUrl;
this._sObjName = oOptions.sObjName == undefined ? 'oTimelineView' : oOptions.sObjName;
this._iOwnerId = oOptions.iOwnerId == undefined ? 0 : oOptions.iOwnerId;
this._sAnimationEffect = ... | JavaScript | modules/boonex/timeline/updates/8.0.6_8.0.7/source/js/view.js | camperjz/trident | mit | 5,516 | 182 | codeparrot/github-code |
6b9edb4892e7b6d40ca31f60590e2986c28a2deb2e7fdeba022ec1152e3ac3d5 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<title>MorTeam</title>
<link href='http://fonts.googleapis.com/css?famil... | HTML | login.html | mortorqrobotics/Morganizer-website | mit | 4,126 | 93 | codeparrot/github-code |
2b4893e8923c9d655455822389b1a515a1ed1cc9d905151372c63e9a09535f6f | from __future__ import absolute_import
import numpy.linalg as npla
from .numpy_wrapper import wrap_namespace, dot
from . import numpy_wrapper as anp
wrap_namespace(npla.__dict__, globals())
def atleast_2d_col(x):
# Promotes a 1D array into a column rather than a row.
return x if x.ndim > 1 else x[:,None]
# S... | Python | autograd/numpy/linalg.py | t1m0thy/autograd | mit | 1,757 | 41 | codeparrot/github-code |
547b9a95cc1539ef6ec98666821e257c2075c9451eaf40e96bb86234c9ea11d9 | using UnityEngine;
using System;
using LuaInterface;
using SLua;
using System.Collections.Generic;
public class Lua_UnityEngine_Event : LuaObject {
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static public int constructor(IntPtr l) {
try {
int argc = LuaDLL.lua_gettop(l);
UnityEngine.Event o;
if... | C# | luna/Assets/LuaObject/Unity/Lua_UnityEngine_Event.cs | LunaFramework/Luna | mit | 15,364 | 618 | codeparrot/github-code |
e92979115a38bd93553b8ec707a57f95d87e7f9e7453b27be59f3fb9b6fba776 | <!DOCTYPE html>
<html>
<head>
<title>SimpleWebRTC Demo</title>
</head>
<body>
<h1 id="title">Start a room</h1>
<style>
#remotes video {
height: 150px;
}
</style>
<button id="screenShareButton"></button>
<p id="subTitle">... | HTML | index.html | congnghia0609/SimpleWebRTC | mit | 3,704 | 103 | codeparrot/github-code |
585a46556ab1cc2ee5aae09bdc7817d1574968697ad1400fb76bd3de6194b215 | /*
* The trigger API
*
* - Documentation: ../docs/input-trigger.md
*/
+function ($) { "use strict";
var TriggerOn = function (element, options) {
var $el = this.$el = $(element);
this.options = options || {};
if (this.options.triggerCondition === false)
throw new Error('T... | JavaScript | themes/timmarner/assets/ui/js/input.trigger.js | timmarner/cms-backendtheme | mit | 5,644 | 180 | codeparrot/github-code |
69cbdbf8560a2c378f30a51b56db8e62fad1b9d02b9b00a9bbbe899957adefb2 | class Tag < ActiveRecord::Base
acts_as_paranoid
acts_as_duplicable
attr_accessible :name, :description, :icon_url, :tag_group_id, :course_id
#TODO, validates_uniqueness_of doesn't work when create new questions
# validates_uniqueness_of :name, scope: [:course_id]
belongs_to :course
belongs_to :tag_group... | Ruby | app/models/tag.rb | allenwq/coursemology.org | mit | 5,793 | 171 | codeparrot/github-code |
f6a50053279784808ae0a6664c9aa7f515a4e27a9cb131f68cf5474e85bd3126 | import {Component, ViewEncapsulation} from '@angular/core';
import {Router} from '@angular/router';
import {Observable} from 'rxjs/Observable';
@Component({
moduleId: module.id,
selector: 'tabs-demo',
templateUrl: 'tabs-demo.html',
styleUrls: ['tabs-demo.css'],
encapsulation: ViewEncapsulation.None,
})
expor... | TypeScript | src/demo-app/tabs/tabs-demo.ts | badjilounes/material2 | mit | 3,010 | 119 | codeparrot/github-code |
566e7cb0f753939603cd57c6baeff5bb9fb0385ce46fb070fddc588eef1895a9 | /*****************************************************************************
* *
* -------------------------------- heap.c -------------------------------- *
* *
****... | C | master-algorithm-with-c/src/source/heap.c | namoamitabha/StudyNotes | mit | 13,637 | 353 | codeparrot/github-code |
7885c7e89f73ff46dbe282b8d4d9ad09f144d0876ec78bf035782e03788aaeeb | package com.aspose.cells.model;
public class ValidationResponse {
private Validation Validation = null;
private String Code = null;
private String Status = null;
/**
* getValidation
* Gets Validation
* @return Validation
*/
public Validation getValidation() {
return Validation;
}
/**
* setV... | Java | SDKs/Aspose.Cells-Cloud-SDK-for-Java/src/main/java/com/aspose/cells/model/ValidationResponse.java | aspose-cells/Aspose.Cells-for-Cloud | mit | 1,325 | 73 | codeparrot/github-code |
426c9840a3511a6e2c2b220fd0445b0e85c12f906559ec5b108681f8c0008882 | require File.dirname(__FILE__) + '/../fixtures/classes'
describe :complex_math_atanh, :shared => true do
it "returns the inverse hyperbolic tangent of the argument" do
@object.send(:atanh, 0.0).should == 0.0
@object.send(:atanh, -0.0).should == -0.0
@object.send(:atanh, 0.5).should be_close(0.54930614433... | Ruby | library/complex/math/shared/atanh.rb | mattetti/rubyspec | mit | 3,443 | 92 | codeparrot/github-code |
eeb55a58fbea58509c9bac4a9b03210f4b27e1084f1811749400fa015a387c66 | /*
* 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 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope tha... | Java | Umplificator/UmplifiedProjects/weka-umplified-0/src/test/java/weka/filters/unsupervised/attribute/RenameNominalValuesTest.java | ahmedvc/umple | mit | 5,676 | 186 | codeparrot/github-code |
bda3ded7d5aa18957e3b7149dcc5cab6b79bc3bb2ff6b5fed84c99b82440ffcc | using System;
using System.Collections.Generic;
using System.Reflection;
using Orleans.Providers;
namespace Orleans.Runtime.Configuration
{
public static class BootstrapProviderConfiguration
{
public const string BOOTSTRAP_PROVIDER_CATEGORY_NAME = "Bootstrap";
/// <summary>
/// Registe... | C# | src/Orleans.Runtime.Legacy/Configuration/BootstrapProviderConfiguration.cs | dVakulen/orleans | mit | 2,468 | 44 | codeparrot/github-code |
62eed911af45719f84271cf84716a0dbf39d8f5bb3b313d395b24d95393d053c | #!/usr/bin/env ruby
#
# Check Banner
# ===
#
# Connect to a TCP port, read one line, test it against a pattern.
# Useful for SSH, ZooKeeper, etc.
#
# Copyright 2012 Sonian, Inc <chefs@sonian.net>
#
# Released under the same terms as Sensu (the MIT license); see LICENSE
# for details.
require 'rubygems' if RUBY_VERSION... | Ruby | plugins/network/check-banner.rb | JonathanHuot/sensu-community-plugins | mit | 1,709 | 74 | codeparrot/github-code |
f9dd4931c2dc60c30f075387526bcc7b85b33648c776d30e1ae4555df5506a79 | /****************************************************************************
** Meta object code from reading C++ file 'walletframe.h'
**
** Created: Sat Nov 8 12:17:28 2014
** by: The Qt Meta Object Compiler version 63 (Qt 4.8.2)
**
** WARNING! All changes made in this file will be lost!
************************... | C++ | build_linux/moc_walletframe.cpp | bitcrystal/bitcrystalxv20 | mit | 4,504 | 131 | codeparrot/github-code |
243a51c9fb1272a707c3198404d2f0636ccd0bf3cd28b3aeb016da95652ce09d | import * as gulp from 'gulp';
import * as gulpLoadPlugins from 'gulp-load-plugins';
import { join, sep, normalize } from 'path';
import * as slash from 'slash';
import Config from '../../config';
import { TemplateLocalsBuilder } from '../../utils';
const plugins = <any>gulpLoadPlugins();
/**
* Executes the build pr... | TypeScript | tools/tasks/seed/build.index.prod.ts | senthilkumar04/ysytweb | mit | 2,015 | 65 | codeparrot/github-code |
9c581919a8c483f5080487ae8ec1dd398d94027aedf8e77436085e7fab23951a | declare module "stream" {
import * as events from "events";
class internal extends events.EventEmitter {
pipe<T extends NodeJS.WritableStream>(destination: T, options?: { end?: boolean; }): T;
}
namespace internal {
class Stream extends internal { }
interface ReadableOptions {... | TypeScript | types/node/v12/stream.d.ts | mcliment/DefinitelyTyped | mit | 18,046 | 334 | codeparrot/github-code |
9f7feca4fe49a50af91cf010ec1b3f796d25f874c2f7c24ca7e2c9dd44ccdbd7 | Joshfire.define(['joshfire/class', 'joshfire/tree.ui', 'joshfire/uielements/list', 'joshfire/uielements/panel', 'joshfire/uielements/panel.manager', 'joshfire/uielements/button', 'src/ui-components'], function(Class, UITree, List, Panel, PanelManager, Button, UI) {
return Class(UITree, {
buildTree: function() {... | JavaScript | app/src/tree.ui.tablet-onepanel.js | joshfire-platform-templates/event | mit | 9,770 | 230 | codeparrot/github-code |
b76eecfed02a2f70264efd6c4c757db56e402a9482c36907cb49923b63bf5be7 | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Globalization;
using System.Management.Automation;
using System.Security.Cryptography.Pkcs;
using System.Security.Cryptography.X509Certificates;
... | C# | src/Microsoft.PowerShell.Security/security/CmsCommands.cs | JamesWTruher/PowerShell-1 | mit | 20,560 | 604 | codeparrot/github-code |
fe215e019dd7516254da2261ff85f2870d16dfef14abc45001b280924496a113 | package martini
import (
"bytes"
"fmt"
"io/ioutil"
"log"
"net/http"
"runtime"
)
const (
panicHtml = `<html>
<head><title>PANIC: %s</title>
<style type="text/css">
html, body {
font-family: "Roboto", sans-serif;
color: #333333;
background-color: #ea5343;
margin: 0px;
}
h1 {
color: #d04526;
background-colo... | GO | recovery.go | beatrichartz/martini | mit | 3,291 | 137 | codeparrot/github-code |
0e9f86e0d2d8b0b4ea2fbd2b2d1bccffb4b685a38021b89edd0bbdf80dd2a143 | //-------------------------------------------------------------------------------------------------------
// Copyright (C) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//------------------------------------------------------... | JavaScript | test/Function/apply3.js | Microsoft/ChakraCore | mit | 6,608 | 250 | codeparrot/github-code |
243d93b6752307b65e56f7319fb5de31b69ff4a406e7a447119dd8a1c64e6b27 | #==============================================================================
#
# ▼ Yanfly Engine Ace - Input Combo Skills v1.01
# -- Last Updated: 2011.12.26
# -- Level: Hard
# -- Requires: n/a
#
#==============================================================================
$imported = {} if $imported.nil?
$imp... | Ruby | Gameplay/Input_Combo_Skills.rb | caelin99/YEARepo | mit | 29,183 | 785 | codeparrot/github-code |
facbd9ff6c4a8df6d9baceca18659c3c305b719a2ff80224f4d366d8e25c4e86 | // Type definitions for dagre-d3.core.js
// Project: https://github.com/cpettitt/dagre-d3
// Definitions by: Mark Wong Siang Kai <https://github.com/markwongsk>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference path="../d3/d3.d.ts"/>
/// <reference path="../dagre/dagre.d.ts"/>
/// <refe... | TypeScript | dagre-d3/dagre-d3.d.ts | Litee/DefinitelyTyped | mit | 1,195 | 39 | codeparrot/github-code |
2b1f09c13d69e030666a1541462e871de06dc374983a279cd184d36e13e792d0 | using System;
namespace AldursLab.WurmAssistantWebService.Areas.HelpPage.SampleGeneration
{
/// <summary>
/// This represents an invalid sample on the help page. There's a display template named InvalidSample associated with this class.
/// </summary>
public class InvalidSample
{
public Inv... | C# | src/Services/WebServiceV2/WurmAssistantWebService/Areas/HelpPage/SampleGeneration/InvalidSample.cs | mdsolver/WurmAssistant3 | mit | 1,012 | 37 | codeparrot/github-code |
ec6413a2de7404669e024d5c52d8c650497785a9d5198323a14d6f2741667fe5 | using System;
using System.Linq;
using System.Threading.Tasks;
using Baseline;
using Marten.Testing.Events;
using Marten.Testing.Events.Projections;
using Shouldly;
namespace Marten.Testing.Examples
{
public class event_store_quickstart
{
public void capture_events()
{
// SAMPLE: event-store-q... | C# | src/Marten.Testing/Examples/event_store_quickstart.cs | jokokko/marten | mit | 5,103 | 153 | codeparrot/github-code |
fb2977e9cb28713d15ce78c4641abc986f2313c5e63c8c6e9e4f2bfe041edffe | /**
* Rooms
* Pokemon Showdown - http://pokemonshowdown.com/
*
* Every chat room and battle is a room, and what they do is done in
* rooms.js. There's also a global room which every user is in, and
* handles miscellaneous things like welcoming the user.
*
* @license MIT license
*/
const TIMEOUT_EMPTY_DEALLOCA... | JavaScript | rooms.js | Nineage/Showdown-Boilerplate | mit | 46,612 | 1,481 | codeparrot/github-code |
9e0fd567a51f0c76aa8607934fd963fe030295c51d98d0b39f59bac3018a75f6 | /**
* Copyright (c) 2008-2011 The Open Planning Project
*
* Published under the BSD license.
* See https://github.com/opengeo/gxp/raw/master/license.txt for the full text
* of the license.
*/
/**
* @requires plugins/ZoomToExtent.js
*/
/** api: (define)
* module = gxp.plugins
* class = ZoomToSelectedFeatu... | JavaScript | static/scripts/gis/gxp/plugins/ZoomToSelectedFeatures.js | flavour/porto | mit | 2,820 | 102 | codeparrot/github-code |
4078658de1f14f729f3da43e6f254009c324807d24a47f3202d53c7456b2fd82 | Rails.application.configure do
# Settings specified here will take precedence over those in config/application.rb.
# In the development environment your application's code is reloaded on
# every request. This slows down response time but is perfect for development
# since you don't have to restart the web serv... | Ruby | config/environments/development.rb | pefi-project/pefi | mit | 1,961 | 56 | codeparrot/github-code |
b2cb87ac57cad009acc9796d851dd14decf48351343035252de8eb1294aafb1d | <?php
/***************************************************************************\
* SPIP, Systeme de publication pour l'internet *
* *
* Copyright (c) 2001-2011 *
* ... | PHP | spip/ecrire/inc/filtres_images_mini.php | eyeswebcrea/espace-couture-sittler.fr | mit | 5,033 | 137 | codeparrot/github-code |
f694be29b24b906cce66367d6c35713fe971179fb1f3d4982d9cac79f767579f | <?php
/***************************************************************************\
* SPIP, Systeme de publication pour l'internet *
* *
* Copyright (c) 2001-2011 *
* ... | PHP | spip/ecrire/public/cacher.php | eyeswebcrea/espace-couture-sittler.fr | mit | 11,251 | 323 | codeparrot/github-code |
ff16dc472e0a7d32611ff63f4f6908d50994b4361c1622e8f6529f991cef069c | /****************************************************************************
Copyright (c) 2010-2011 cocos2d-x.org
Copyright (c) 2008-2010 Ricardo Quesada
Copyright (c) 2009 Jason Booth
Copyright (c) 2009 Robert J Payne
Copyright (c) 2011 Zynga Inc.
http://www.cocos2d-x.org
Permission is here... | C++ | cocos2dx/sprite_nodes/CCSpriteFrameCache.cpp | wyxy2005/Cocos2dxSimpleGame | mit | 13,052 | 401 | codeparrot/github-code |
e900197ae7dde434b7a227f364f048e42a1d641d699d82d50a533ece8d8abe0b | package com.reactnativenavigation.views;
import android.content.Context;
import android.graphics.PorterDuff;
import android.graphics.PorterDuffColorFilter;
import android.graphics.drawable.Drawable;
import android.support.annotation.NonNull;
import com.github.clans.fab.FloatingActionButton;
import com.reactnativenavi... | Java | lib/android/app/src/main/java/com/reactnativenavigation/views/Fab.java | Jpoliachik/react-native-navigation | mit | 2,363 | 84 | codeparrot/github-code |
19666b3bbd49b383235553dea67090cb0f3aea9f45d76665bb5904c8c79bc423 | <?php
declare(strict_types=1);
namespace Brick\Money\ExchangeRateProvider;
use Brick\Money\ExchangeRateProvider;
use Brick\Money\Exception\CurrencyConversionException;
/**
* Reads exchange rates from a PDO database connection.
*/
final class PDOProvider implements ExchangeRateProvider
{
/**
* The SELECT ... | PHP | src/ExchangeRateProvider/PDOProvider.php | brick/money | mit | 5,366 | 160 | codeparrot/github-code |
5ae11c8fdbeec46fa7431d1ae65104bddcb5b21a1f17bb7fbf3d3ba9b34b977e | /*
* Copyright (C) 2015 Freescale Semiconductor, Inc.
*
* Configuration settings for the Freescale i.MX6UL 14x14 EVK board.
*
* SPDX-License-Identifier: GPL-2.0+
*/
#ifndef __MX6UL_14X14_EVK_CONFIG_H
#define __MX6UL_14X14_EVK_CONFIG_H
#include <asm/arch/imx-regs.h>
#include <linux/sizes.h>
#include "mx6_common.h... | C | u-boot/include/configs/mx6ul_14x14_evk.h | guileschool/beagleboard | mit | 6,334 | 227 | codeparrot/github-code |
94121b61539fcf78cb56941c9ed7e1e2e2e373129b8bdc930bd87731aa1ee0d1 | import $ from 'jquery';
import ParsleyUI from '../../src/parsley/ui';
import Parsley from '../../src/parsley';
describe('ParsleyUI', () => {
before(() => {
Parsley.setLocale('en');
});
it('should create proper errors container when needed', () => {
$('body').append('<input type="text" id="element" data-... | JavaScript | static/polyphemus/assets/plugins/parsley/test/unit/ui.js | geoffroygivry/CyclopsVFX-Polyphemus | mit | 19,850 | 377 | codeparrot/github-code |
81ec5c9f44bdf255f390cf17db09aac305c11f0af87f7b6ae216ec27f99bb1f4 |
declare class AbrController implements ComponentAPI {
protected hls: Hls;
private lastLoadedFragLevel;
private _nextAutoLevel;
private timer?;
private onCheck;
private fragCurrent;
private partCurrent;
private bitrateTestDelay;
readonly bwEstimator: EwmaBandWidthEstimator;
const... | TypeScript | ajax/libs/hls.js/1.0.3-0.canary.7322/hls.js.d.ts | cdnjs/cdnjs | mit | 84,349 | 2,465 | codeparrot/github-code |
63ed47f8846bffaf864d0d29e8159e650e59dbe5b90b10ed958a0ac66b7816e6 | 'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var is = require('@redux-saga/is');
var __chunk_1 = require('./chunk-5caa0f1a.js');
var __chunk_2 = require('./chunk-062c0282.js');
require('@babel/runtime/helpers/extends');
require('@redux-saga/symbols');
require('@redux-saga/delay-p');
v... | JavaScript | ajax/libs/redux-saga/1.0.0-beta.3/redux-saga-effects.dev.cjs.js | extend1994/cdnjs | mit | 11,792 | 477 | codeparrot/github-code |
bc983ea2cff6d851013fd023c8a28c09a99587697a3b158d828774892c56e856 | /// <reference path="angular.d.ts" />
/// <reference path="angular-route.d.ts" />
/// <reference path="angular-sanitize.d.ts" />
/// <reference path="bootstrap.d.ts" />
/// <reference path="moment.d.ts" />
/// <reference path="moment-duration-format.d.ts" />
/// <reference path="d3.d.ts" />
/// <reference path="undersc... | JavaScript | cmd/bosun/web/static/js/bosun.js | dimamedvedev/bosun | mit | 97,399 | 2,566 | codeparrot/github-code |
53c4d0a2e9693ef907da8243120675119698670974fbb561692bf1a04af52150 | module ActiveMerchant #:nodoc:
module Billing #:nodoc:
class DigitzsGateway < Gateway
include Empty
self.test_url = 'https://beta.digitzsapi.com/sandbox'
self.live_url = 'https://beta.digitzsapi.com/v3'
self.supported_countries = ['US']
self.default_currency = 'USD'
self.supp... | Ruby | lib/active_merchant/billing/gateways/digitzs.rb | inspire/active_merchant | mit | 9,390 | 296 | codeparrot/github-code |
002c146c6b6fa54bf1a1fa46d5b65b399b503e3dc3998a04cee13a370b88006b | <?php
if(!function_exists('_cleanup_header_comment')){
function _cleanup_header_comment($str) {
return trim(preg_replace("/\s*(?:\*\/|\?>).*/", '', $str));
}
}
if(!defined('E_DEPRECATED')){ define('E_DEPRECATED', 8192); }
if(!function_exists('esc_textarea')):
function esc_textarea( $text ) ... | PHP | wp-content/plugins/sitepress-multilingual-cms/inc/hacks/missing-php-functions.php | mandino/hotelmilosantabarbara.com | mit | 9,608 | 315 | codeparrot/github-code |
261dc66f11a817733e9d622dc39cd87fbf2cddb95a1c049615f88714d1d6f9c3 | import _extends from "@babel/runtime/helpers/esm/extends";
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
import * as React from 'react';
import PropTypes from 'prop-types';
import clsx from 'clsx';
import Typography from '../Typography';
import withStyles from '../styles/wit... | JavaScript | ajax/libs/material-ui/5.0.0-alpha.9/esm/InputAdornment/InputAdornment.js | cdnjs/cdnjs | mit | 4,948 | 143 | codeparrot/github-code |
f3117dbe27d4240136871deeddcacef6bd7da17c8f9766e0ef57db9804af705f | /*jshint eqeqeq:false */
/*global jQuery, define */
(function( factory ) {
"use strict";
if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module.
define([
"jquery",
"./grid.base"
], factory );
} else {
// Browser globals
factory( jQuery );
}
}(function( $ ) {
"use... | JavaScript | ajax/libs/jqgrid/5.5.3/js/grid.aria.js | cdnjs/cdnjs | mit | 14,585 | 539 | codeparrot/github-code |
c89927bedb252401259cc3ad3277178fdeda23226165d2e9061e784b7265db8d | /*
* Copyright (c) 2012-2017 Red Hat, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Red H... | Java | plugins/plugin-java/che-plugin-java-ext-lang-client/src/main/java/org/eclipse/che/ide/ext/java/client/tree/JavaNodeFactory.java | TypeFox/che | epl-1.0 | 1,595 | 39 | codeparrot/github-code |
2e826b50c44817fa7d4007db35dc59c8cee621223ead659e8e94b0dbd4bf6bfe | /*******************************************************************************
* Copyright (c) 2015 IBH SYSTEMS GmbH.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available a... | Java | bundles/org.eclipse.packagedrone.job/src/org/eclipse/packagedrone/job/ErrorInformation.java | eclipse/packagedrone | epl-1.0 | 1,548 | 57 | codeparrot/github-code |
cd3e7bd64c9acb323f91d3fb23ab273b631279c51581205ecebc248a19a3f23c | <?php
/*******************************************************************************
Copyright 2013 Whole Foods Co-op
This file is part of IT CORE.
IT CORE 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 Softw... | PHP | fannie/modules/plugins2.0/WfcHoursTracking/reports/WfcHtCsvDump.php | FranklinCoop/IS4C | gpl-2.0 | 3,013 | 94 | codeparrot/github-code |
1541737958e3bfc205848e867450176604a34a33878becaefaec875a533c3e42 | /*
* (C) Copyright 2007
* Stefan Roese, DENX Software Engineering, sr@denx.de.
*
* See file CREDITS for list of people who contributed to this
* 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 So... | C | board/zeus/zeus.c | diverger/uboot-lpc32xx | gpl-2.0 | 9,830 | 444 | codeparrot/github-code |
b6d1a4759fab3d2237955da7b05d1f07ed125e037cf89eb916e14b1b864ecff5 | using System;
using System.Linq;
using System.Web.Mvc;
using CmsData;
using CmsWeb.Models;
using UtilityExtensions;
namespace CmsWeb.Areas.Main.Controllers
{
[Authorize(Roles = "Coupon")]
[RouteArea("Main", AreaPrefix = "Coupon"), Route("{action}/{id?}")]
public class CouponController : CmsStaffController
... | C# | CmsWeb/Areas/Main/Controllers/CouponController.cs | RGray1959/MyParish | gpl-2.0 | 1,520 | 58 | codeparrot/github-code |
a3ba06f47d0278e053384a670137e385e4e5cb3aa5ed866b4911546a2ef8a16e | /******************************************************************************
* Wormux is a convivial mass murder game.
* Copyright (C) 2001-2007 Wormux 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
* th... | C++ | old/wormux-0.8beta4/src/weapon/weapon_cfg.cpp | yeKcim/warmux | gpl-2.0 | 2,534 | 73 | codeparrot/github-code |
ea4f662ea1c3a921a48b91ccf6b07589602985a3d235ced881fd9f7c19966d95 | /*****************************************************************************
Copyright(c) 2012 FCI Inc. All Rights Reserved
File name : fc8150_spib.c
Description : fc8150 host interface
*******************************************************************************/
#include "fci_types.h"
#include "fc8150_re... | C | drivers/broadcast/oneseg/fc8150/drv/fc8150_spib.c | peat-psuwit/android_kernel_lge_w7ds | gpl-2.0 | 5,038 | 210 | codeparrot/github-code |
54f59eefc4eb69ddb13cd43bf538e0f71da128a0430890784dc3bd0c5562d49a | /*
* Linux IPv6 multicast routing support for BSD pim6sd
* Based on net/ipv4/ipmr.c.
*
* (c) 2004 Mickael Hoerdt, <hoerdt@clarinet.u-strasbg.fr>
* LSIIT Laboratory, Strasbourg, France
* (c) 2004 Jean-Philippe Andriot, <jean-philippe.andriot@6WIND.com>
* 6WIND, Paris, France
* Copyright (C)2007,2008 USAGI/WIDE... | C | net/ipv6/ip6mr.c | ryncsn/jordan-kernel | gpl-2.0 | 40,844 | 1,788 | codeparrot/github-code |
5e2c6b4b6b8ef23d66102e1299817747c52a25a35196d4c001a65f456721dde2 | <?php
/**
* Element: Note
*
* @package NoNumber Framework
* @version 15.12.7724
*
* @author Peter van Westen <peter@nonumber.nl>
* @link http://www.nonumber.nl
* @copyright Copyright © 2015 NoNumber All Rights Reserved
* @license http://www.gnu.org/licenses/gpl... | PHP | tmp/install_5673fef293210/packages/plg_system_nnframework/fields/note.php | esorone/efcpw | gpl-2.0 | 2,848 | 123 | codeparrot/github-code |
a7bbc2d3ab670a7b49a788d02e11d3376f061b79449e84e7f83bde7ab88f730b | /*
* An implementation of the Acorn Econet and AUN protocols.
* Philip Blundell <philb@gnu.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... | C | net/econet/af_econet.c | dduval/kernel-rhel4 | gpl-2.0 | 25,180 | 1,125 | codeparrot/github-code |
22870c4c1c9165fff1d31206419d2cbb78b53c3c284a2b818af2632fa6eba169 | BT=${BT-../../bin/bedtools}
check()
{
if diff $1 $2; then
echo ok
return 1
else
echo fail
return 0
fi
}
echo " fisher.t1...\c"
echo \
"# Number of query intervals: 3
# Number of db intervals: 2
# Number of overlaps: 2
# Number of possible intervals (estimated): 34
# phyper(2 - 1, 3, 34 - 3, 2, low... | Shell | test/fisher/test-fisher.sh | Debian/bedtools2 | gpl-2.0 | 2,595 | 96 | codeparrot/github-code |
eb8e6eb2db455664c8ca777fcc2053e845121f6590e9191ead321b981b02e5a6 | /*
* Copyright (c) 2002 The FFmpeg Project
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) an... | C | Extdeps/ffmpeg/src/libavcodec/wmv2dec.c | alts/silver_rocket | gpl-2.0 | 14,812 | 485 | codeparrot/github-code |
6c619b9f97e7b17fb856d17b83a1d563b403d741aa10e8cac134d4a3d0c9c8bb | <?php
/*
*
* Swift Page Builder - Campaign Detail Function Class
* ------------------------------------------------
* Swift Framework
* Copyright Swift Ideas 2015 - http://www.swiftideas.com
*
* sf_campaign_detail_media()
* sf_campaign_comments()
*
*/
/* CAMPAIGN DETAI... | PHP | wp-content/themes/atelier/swift-framework/content/sf-campaign-detail.php | mwin007/wordpress-fashion | gpl-2.0 | 18,094 | 381 | codeparrot/github-code |
11c4d0017f7441118bd17531c1ddff5dee903e6fa5065ece7b3cf96eb67f75c6 | /*
Q Light Controller
enttecdmxusb.h
Copyright (C) Heikki Junnila
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.
This program is distributed in the hope that it will be use... | C | plugins/enttecdmxusbout/src/enttecdmxusbout.h | alexpaulzor/ChaosDMX | gpl-2.0 | 2,661 | 98 | codeparrot/github-code |
6e0a5a201e770ef896bf4d3dc957726d16bcf7e8b065dc086908fc83b15d012b | /*
* GPL HEADER START
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 only,
* as published by the Free Software Foundation.
*
* This program is distributed... | C | drivers/staging/lustre/lustre/llite/llite_internal.h | ronenil/net-next | gpl-2.0 | 49,201 | 1,524 | codeparrot/github-code |
39b8a8d00a7edc3cc439a04cd4e31da787e6c206da46993d1692135d00b4b77a | /*
* Copyright (C) 2005-2013 Team XBMC
* http://xbmc.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 | xbmc/music/Song.h | pokowaka/xbmc | gpl-2.0 | 6,761 | 212 | codeparrot/github-code |
4f314c31c87df2bbfb7371b72fa12b73b52e990a84a9cf3a6e162ef94a5f6a57 | /****************************************************************************
**
** Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies).
** Contact: Qt Software Information (qt-info@nokia.com)
**
** This file is part of the Qt Linguist of the Qt Toolkit.
**
** Commercial Usage
** Licensees holding valid Qt... | C++ | qtopiacore/qt/tools/linguist/shared/profileevaluator.cpp | liuyanghejerry/qtextended | gpl-2.0 | 48,398 | 1,294 | codeparrot/github-code |
b65a9999b2e9580460a8a814c253340f1e8e5aa82c5ee3d7802f9b35661b1a59 | <?php
/**
* Load update chunk page
*
* @package modx
* @subpackage manager.controllers
*/
class ElementChunkUpdateManagerController extends modManagerController {
/** @var string $onChunkFormRender */
public $onChunkFormRender = '';
/** @var string $onChunkForPrerender */
public $onChunkFormPrerend... | PHP | manager_gl_xVCs4l0eEu/controllers/default/element/chunk/update.class.php | sergeiforward/gl | gpl-2.0 | 7,455 | 211 | codeparrot/github-code |
ba71a2300a79fcfefa657fb0bddbd95c5a6dd1423ff0117e3d10a4401b25ea22 | ///////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 1997-2008 Morgan Stanley All rights reserved.
// See .../src/LICENSE for terms of distribution
//
//
///////////////////////////////////////////////////////////////////////////////
#include <MSTypes/MSDefines.H>
#if d... | C++ | src/MSTypes/MSUnsignedVector.C | rdm/aplus-fsf | gpl-2.0 | 5,057 | 191 | codeparrot/github-code |
2c89a855470cd65d3d97136f7c77886eb668a32b04888fe11ab512244637f7a1 | /* Misc. support for CPU family crisv10f.
THIS FILE IS MACHINE GENERATED WITH CGEN.
Copyright 1996-2020 Free Software Foundation, Inc.
This file is part of the GNU simulators.
This file is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by... | C | sim/cris/cpuv10.c | mattstock/binutils-bexkat1 | gpl-2.0 | 8,742 | 501 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.