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 |
|---|---|---|---|---|---|---|---|---|
9b546714b17c60f822324a506f1ce3cc3555c2b4c17caa60057f47da8a8f081c | /**
* The MIT License
* Copyright (c) 2014 Ilkka Seppälä
*
* 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, ... | Java | mediator/src/test/java/com/iluwatar/mediator/PartyImplTest.java | DevFactory/java-design-patterns | mit | 2,256 | 64 | codeparrot/github-code |
87d52c4c20efc936f86126147f41533bf505282bfa6816f2b3b0f870e49d04f5 | <?php
/**
* This component provides a button for opening the add new form provided by
* {@link GridFieldDetailForm}.
*
* Only returns a button if {@link DataObject->canCreate()} for this record
* returns true.
*
* @package forms
* @subpackage fields-gridfield
*/
class GridFieldAddNewButton implements GridFie... | PHP | src/framework/forms/gridfield/GridFieldAddNewButton.php | Widdershin/silverstripe-todo | mit | 1,274 | 52 | codeparrot/github-code |
72013c6ed1c18fe539ea287bc7b8676cf21e6e8699d0a8b217d8e3b34da45858 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Owl Carousel - Progress Bar</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="jQuery Responsive Carousel - Owl Carusel">
<meta name="author" content="Bartosz Wojciec... | HTML | resources/assets/global/plugins/carousel-owl-carousel/demos/progressBar.html | aafahad/laravel | mit | 15,304 | 488 | codeparrot/github-code |
bdc6ea74680528125cf2b429029b027ca99c7969aec606413dd7eedb901e31a5 | import os
from chainer import serializers
from chainer import utils
def save_and_load(src, dst, filename, saver, loader):
"""Saves ``src`` and loads it to ``dst`` using a de/serializer.
This function simply runs a serialization and deserialization to check if
the serialization code is correctly implemen... | Python | chainer/testing/serializer.py | rezoo/chainer | mit | 1,562 | 55 | codeparrot/github-code |
8f4fef6a7bac37c80bbf99615532f9c775b16885bdd6082e19a1e39142eaba56 | /* Intel i7 core/Nehalem Memory Controller kernel module
*
* This driver supports the memory controllers found on the Intel
* processor families i7core, i7core 7xx/8xx, i5core, Xeon 35xx,
* Xeon 55xx and Xeon 56xx also known as Nehalem, Nehalem-EP, Lynnfield
* and Westmere-EP.
*
* This file may be distributed un... | C | drivers/edac/i7core_edac.c | souljaboy11792/linux | gpl-2.0 | 65,692 | 2,512 | codeparrot/github-code |
53b7664acdc721f7db7649b9842c1a410a04e061b9c708bc1900c4b7b6b0a2dd | require_dependency 'version'
module Backlogs
module VersionPatch
def self.included(base) # :nodoc:
base.extend(ClassMethods)
base.send(:include, InstanceMethods)
base.class_eval do
unloadable
has_one :sprint_burndown, :class_name => RbSprintBurndown, :dependent => :destroy
... | Ruby | lib/backlogs_version_patch.rb | CantemoInternal/redmine_backlogs | gpl-2.0 | 1,408 | 48 | codeparrot/github-code |
6cd46c48f59beeb42cad2ccb69261783cc264e156e99b906494c9de257f39737 | /*
* Copyright (c) 2014 Fujitsu Ltd.
* Author: Zeng Linggang <zenglg.jy@cn.fujitsu.com>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License as
* published by the Free Software Foundation.
*
* This program is distributed in ... | C | testcases/kernel/syscalls/open/open12.c | liaoqingwei/ltp | gpl-2.0 | 5,901 | 270 | codeparrot/github-code |
bec954979e9bf0f05d5685dad7839428d34af02ac35a99e98a23db67f36c5fe8 | /***************************************************************************
qgslayoutguidewidget.cpp
------------------------
begin : July 2017
copyright : (C) 2017 by Nyall Dawson
email : nyall dot dawson at... | C++ | src/app/layout/qgslayoutguidewidget.cpp | geopython/QGIS | gpl-2.0 | 7,809 | 192 | codeparrot/github-code |
f008d1b2f498971bba6183811d759aae1d76a0bf94015be1737c35fc843410b4 | /*****************************************************************************
* rtmp.c: RTMP output.
*****************************************************************************
* Copyright (C) URJC - LADyR - Luis Lopez Fernandez
*
* Author: Miguel Angel Cabrera Moya
*
* This program is free software; you can ... | C | modules/access_output/rtmp.c | matthiasbock/VideoLAN-for-Allwinner-A10-VPU | gpl-2.0 | 14,588 | 417 | codeparrot/github-code |
fcfa35f3da6fc9c21d42a6435d12508251dd8f44b562436e5a95328bb25e517d | /*
* Copyright (c) 2001, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | Java | test/jdk/javax/imageio/stream/StreamFlush.java | md-5/jdk10 | gpl-2.0 | 4,104 | 109 | codeparrot/github-code |
eab3efa829c848175f2a5bff754b04b10e5d10b5b598bab04b7705eb908409e6 | /*
* soc-dapm.c -- ALSA SoC Dynamic Audio Power Management
*
* Copyright 2005 Wolfson Microelectronics PLC.
* Author: Liam Girdwood <lrg@slimlogic.co.uk>
*
* 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 | sound/soc/soc-dapm.c | souljaboy11792/linux | gpl-2.0 | 75,661 | 3,024 | codeparrot/github-code |
dfcdef49c10f3999175ae8e60b9a265a67fbb68695d5be7495243e484c2cde3f | /*
* u_serial.c - utilities for USB gadget "serial port"/TTY support
*
* Copyright (C) 2003 Al Borchers (alborchers@steinerpoint.com)
* Copyright (C) 2008 David Brownell
* Copyright (C) 2008 by Nokia Corporation
* Copyright (c) 2013-2015 The Linux Foundation. All rights reserved.
*
* This code also borrows from... | C | drivers/usb/gadget/u_serial.c | minz1/xosp_kernel_xiaomi_msm8956 | gpl-2.0 | 42,251 | 1,693 | codeparrot/github-code |
5bf551465d0513b07ecf4f853ff3a3e717ea10b9420cdbd48cf9cf472808f901 | /**
* @file
*
* IDS Option Install File
*
* This file generates the defaults tables for family 10h model 5 processors.
*
* @xrefitem bom "File Content Label" "Release Content"
* @e project: AGESA
* @e sub-project: Core
* @e \$Revision: 44323 $ @e \$Date: 2010-12-22 01:24:58 -0700 (Wed, 22 Dec 2010) $
... | C | src/vendorcode/amd/agesa/f10/Include/OptionIdsInstall.h | jpl888/coreboot | gpl-2.0 | 9,446 | 321 | codeparrot/github-code |
1ab335707abf7f2877306a1e3f6d1cf088b853cfa7a84c6240f2991df3eae54a | /*
* (C) Copyright 2002
* Brad Kemp, Seranoa Networks, Brad.Kemp@seranoa.com
*
* SPDX-License-Identifier: GPL-2.0+
*/
#include <common.h>
#include <mpc8260.h>
#include <asm/processor.h>
#undef DEBUG_FLASH
/*
* This file implements a Common Flash Interface (CFI) driver for U-Boot.
* The width of the port and t... | C | u-boot/board/ppmc8260/strataflash.c | vkrmsngh/new_pro | gpl-2.0 | 20,576 | 737 | codeparrot/github-code |
9ca24ae99347cad3dd453d536e8c9bfc7a80b907380499134f9ef2115b79ca6f | <?php
/* $Id: bookmark.lib.php 9763 2006-11-26 10:57:48Z lem9 $ */
// vim: expandtab sw=4 ts=4 sts=4:
/**
* Set of functions used with the bookmark feature
*/
/**
* Defines the bookmark parameters for the current user
*
* @return array the bookmark parameters for the current user
*
* @global integer the... | PHP | wp-content/plugins/portable-phpmyadmin/wp-pma-mod/libraries/bookmark.lib.php | mjleitch/lessonsprout | gpl-2.0 | 6,987 | 223 | codeparrot/github-code |
a383e6aa4d16cf4002cf9252d7f9d71d13271677fbbb5ad93d603392d6aa8903 | /*
* Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
* Copyright (C) 1999-2012 Hiroyuki Yamamoto and the Claws Mail team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; eit... | C | src/image_viewer.c | blaa/claws | gpl-3.0 | 12,584 | 430 | codeparrot/github-code |
4ee3256fdf7f5628203a052f7d7c135a34932005617eccde9ec9791fd7146b9f | //===----- HexagonPacketizer.cpp - vliw packetizer ---------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------... | C++ | interpreter/llvm/src/lib/Target/Hexagon/HexagonVLIWPacketizer.cpp | karies/root | lgpl-2.1 | 60,467 | 1,719 | codeparrot/github-code |
38a17f71be33e2ac7e451ec2a2f81fee39214cd08e1d15f078499499715674e1 | #!/usr/bin/python2.4
# Copyright (c) 2009 Google Inc. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""Visual Studio user preferences file writer."""
import common
import os
import re
import socket # for gethostname
import xml.dom
import xm... | Python | webkit/Source/ThirdParty/gyp/pylib/gyp/MSVSUserFile.py | nawawi/wkhtmltopdf | lgpl-3.0 | 6,250 | 183 | codeparrot/github-code |
92745d067fe0477ffa47a63899ad9454c7cc438dcd432255c796c904257bf1a2 | /*
* Copyright 2012-2020 the original author or authors.
*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | Java | spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/metrics/cache/CacheMetricsRegistrarConfiguration.java | Buzzardo/spring-boot | apache-2.0 | 3,324 | 93 | codeparrot/github-code |
9228dcfea61d675d3f59e196d8461a06838f978988e4920388d2f8e6631841ae | /*
* Copyright (c) 2019, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* 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
*
* Unles... | Java | components/apimgt/org.wso2.carbon.apimgt.gateway/src/main/java/org/wso2/carbon/apimgt/gateway/utils/OpenAPIUtils.java | ruks/carbon-apimgt | apache-2.0 | 12,297 | 265 | codeparrot/github-code |
efa7fba3a751c44e4888650f3c8bfb44cb4c694f2c3db036faaaf3bd0d24c986 | /**
* Copyright 2010 JBoss 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 | jbpm-flow/src/main/java/org/jbpm/ruleflow/core/factory/BoundaryEventNodeFactory.java | MetSystem/jbpm | apache-2.0 | 4,212 | 122 | codeparrot/github-code |
e72976f280ee86c7b5394a60455a272ca06f072366370afaa59ae5646190d10f | /*
* Copyright 2016 Red Hat, Inc. and/or its affiliates
* and other contributors as indicated by the @author tags.
*
* 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.apach... | Java | services/src/main/java/org/keycloak/storage/UserStorageManager.java | abstractj/keycloak | apache-2.0 | 33,353 | 750 | codeparrot/github-code |
0a8891cff9f3f11aa1764090bf3b025315fb9419e1a5421e15cc5091acde0b18 | /**
* Copyright (C) 2012-2015 the original author or authors.
*
* 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 b... | Java | ninja-servlet/src/main/java/ninja/servlet/util/ResponseExtractor.java | skyseazcq/ninja-1 | apache-2.0 | 1,447 | 48 | codeparrot/github-code |
8ed4619467a43bebfab7c2da9fb0b45c487427e627375e36350e5118104b1dc0 | // Copyright 2013 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | Rust | src/test/run-pass/issue-3743.rs | michaelballantyne/rust-gpu | apache-2.0 | 1,615 | 51 | codeparrot/github-code |
e4a4f46ecb24913c9b2f3bfae97f62e10a1d3466f6ce9f5f5094616cadb73a24 |
/*
* Copyright 2014-2015 Open Networking Laboratory
*
* 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 applica... | Java | cli/src/main/java/org/onosproject/cli/net/AddTestFlowsCommand.java | packet-tracker/onos | apache-2.0 | 6,507 | 171 | codeparrot/github-code |
2f3fa4bfb381fd53585c59adca9721a2113d1049374b205e9b46b474e1552093 | /**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | Java | components/camel-lra/src/main/java/org/apache/camel/service/lra/LRAConstants.java | rmarting/camel | apache-2.0 | 1,666 | 44 | codeparrot/github-code |
9e19a6214b8468daa8f08bce933e12ef450ef2c49676ab416610e68a86ef1243 | /*
* 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 in writing, software
* distribut... | Java | presto-tpch/src/main/java/com/facebook/presto/tpch/TpchSplitManager.java | ipros-team/presto | apache-2.0 | 2,821 | 70 | codeparrot/github-code |
ce115cb545d649204555e4d7e1ca6ea11323ee84f5df0ec22137fb8ef635526c | package com.intellij.openapi.externalSystem.model.project;
import org.jetbrains.annotations.Nullable;
/**
* Enumerates module source types.
*
* @author Denis Zhdanov
*/
public enum ExternalSystemSourceType implements IExternalSystemSourceType {
SOURCE(false, false, false, false),
TEST(true, false, false, fa... | Java | platform/external-system-rt/src/com/intellij/openapi/externalSystem/model/project/ExternalSystemSourceType.java | siosio/intellij-community | apache-2.0 | 2,489 | 82 | codeparrot/github-code |
faa7339f0e7f9d7d6b66697a56458e21e8c703824f18cd4c7da59f04a8572c5f | /**
* Copyright 2016 The AMP HTML Authors. All Rights Reserved.
*
* 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 require... | JavaScript | src/utils/promise.js | koshka/amphtml | apache-2.0 | 4,424 | 181 | codeparrot/github-code |
136c5e3b31d6d07a9d5d322af310ba08dc1b3aa43882ba504e247efc63d0323e | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | Java | components/camel-cxf/src/main/java/org/apache/camel/component/cxf/jaxrs/HostnameVerifierCxfRsConfigurer.java | nikhilvibhav/camel | apache-2.0 | 2,125 | 57 | codeparrot/github-code |
49f4bd8569751e6866036c67affc9dd4e8c30ce950c7e6e820f222525e43a687 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | Scala | core/src/main/scala/org/apache/spark/status/api/v1/OneApplicationResource.scala | WindCanDie/spark | apache-2.0 | 5,853 | 186 | codeparrot/github-code |
86842cd11b0b8bc720d1ec05c239ca0c3915558696218651e05bebc77d9c9726 | #!/usr/bin/env python
# Copyright (c) 2012 Google Inc. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""
Test that two targets with the same name generates an error.
"""
import os
import sys
import TestGyp
import TestCmd
# TODO(sbc): Remo... | Python | tools/gyp/test/errors/gyptest-errors.py | xforce/diorama-native-modding | bsd-3-clause | 2,537 | 69 | codeparrot/github-code |
de16fe8eb13e5522bc5abe1b4b899a443a151556ca54e4a94f7d2c3383f937c2 | // Copyright (c) 2011 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/net/referrer.h"
#include <limits.h>
#include <stddef.h>
#include "base/compiler_specific.h"
#include "base/logging.h"
#incl... | C++ | chrome/browser/net/referrer.cc | js0701/chromium-crosswalk | bsd-3-clause | 7,198 | 188 | codeparrot/github-code |
a8711585ac6310555cf06b8ceacc59ab70c002ca2de3d31770b196604e36682e | /**
* jQuery EasyUI 1.5.1
*
* Copyright (c) 2009-2016 www.jeasyui.com. All rights reserved.
*
* Licensed under the freeware license: http://www.jeasyui.com/license_freeware.php
* To use it on other terms please contact us: info@jeasyui.com
*
*/
(function($){
function _1(_2){
var _3=$.data(_2,"pagination");
var... | JavaScript | web/public/plugins/jquery.pagination.js | uoi00/basic | bsd-3-clause | 7,613 | 287 | codeparrot/github-code |
384316deac1792f131292563008ce340408eef13f7ca5f18fc4c90f7cfc8175b | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | Java | tomcat_files/7.0.61/SmapGenerator.java | plumer/codana | mit | 5,996 | 173 | codeparrot/github-code |
a528b242233e9b1eaf9853a780f6973f20f235cddc5f5adce7059f459f29c5a6 | //*********************************************************
//
// Copyright (c) Microsoft. All rights reserved.
// This code is licensed under the MIT License (MIT).
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
// IMPLIED WARRANTIES OF FITNESS FOR A PARTICUL... | C | Samples/Desktop/D3D12LinkedGpus/src/SingleGpu/DXSample.h | KevindeQ/DirectX-Graphics-Samples | mit | 1,919 | 66 | codeparrot/github-code |
afb1564ec1c3cb59c52bfeb1c62cb4a4301804ab1e87c20c216237d6df83ed16 | /* linux/arch/arm/mach-s3c2440/mach-osiris.c
*
* Copyright (c) 2005 Simtec Electronics
* http://armlinux.simtec.co.uk/
* Ben Dooks <ben@simtec.co.uk>
*
* 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 Fr... | C | snapgear_linux/linux-2.6.21.1/arch/arm/mach-s3c2440/mach-osiris.c | impedimentToProgress/UCI-BlueChip | mit | 7,115 | 304 | codeparrot/github-code |
f0ca648a72ebfee0aa04215049d521555ea52fdc2940ddfcade7d225dfdb0235 | // Copyright (c) 2018-2021 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <mutex>
#include <sstream>
#include <set>
#include <blockfilter.h>
#include <crypto/siphash.h>
#include <hash.h>
#i... | C++ | src/blockfilter.cpp | lateminer/bitcoin | mit | 8,022 | 278 | codeparrot/github-code |
078ce7e59f4e98992c77fe1d658d0bf755ad8d6c6e1c4e758d9c2c363b27f093 | // Type definitions for codemirror
// Project: https://github.com/marijnh/CodeMirror
// Definitions by: Nikolaj Kappler <https://github.com/nkappler>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// See docs https://codemirror.net/doc/manual.html#addon_comment
// Todo: add 'toggleComment' command... | TypeScript | types/codemirror/addon/comment/comment.d.ts | dsebastien/DefinitelyTyped | mit | 2,760 | 43 | codeparrot/github-code |
4cd6bfa7c7d07b3b20f60f8d9a216b84bb614ead0efceba4ac6da73fb4d3cec4 | (function($) {
$(document).ready( function() {
if ( cntctfrm_ajax.cntctfrm_delete_multi_link ) {
$( '#cntctfrm_show_multi_notice' ).removeAttr('href title').css('cursor', 'pointer');
};
$( '#cntctfrm_change_label' ).change( function() {
if ( $( this ).is( ':checked' ) ) {
$( '.cntctfrm_change_label_bl... | JavaScript | wp-content/plugins/contact-form-plugin/js/script_wp_before_3.5.js | wtoscn/my-bolg | gpl-2.0 | 7,255 | 128 | codeparrot/github-code |
59b79d9d8e201066573cd7e948a7cc5c9eb6c0217b863d7100fcc866c7b2f901 | <?php
// $Id: Function.php,v 1.3 2004/10/08 17:46:47 pmjones Exp $
class Text_Wiki_Render_Plain_Function extends Text_Wiki_Render {
/**
*
* Renders a token into text matching the requested format.
*
* @access public
*
* @param array $options The "options" portion of the token (seco... | PHP | xataface/lib/Text/Wiki/Render/Plain/Function.php | idoxlr8/HVAC | gpl-2.0 | 922 | 39 | codeparrot/github-code |
621c95b4026d09bd0f5d3f4803c8279ee0a28fb656c504167189005d9071bc3e | /*
* Copyright (C) 2016 Team Kodi
* 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.
*
* This P... | C++ | xbmc/addons/ContextMenus.cpp | cjmayo/xbmc | gpl-2.0 | 2,824 | 91 | codeparrot/github-code |
1ed17a8429d0770d109184fe265c9eab1c08e77a26e18e453f801763f18401d4 |
/*--------------------------------------------------------------------*/
/*--- Private exports of syswrap-main.c. priv_syswrap-main.h ---*/
/*--------------------------------------------------------------------*/
/*
This file is part of Valgrind, a dynamic binary instrumentation
framework.
Copyright (... | C | src/l4/pkg/valgrind/src/valgrind-3.6.0-svn/coregrind/m_syswrap/priv_syswrap-main.h | MicroTrustRepos/microkernel | gpl-2.0 | 1,782 | 50 | codeparrot/github-code |
1cf7e25751ae19839cc3d034d0a2fd666b8bee99e892040c2853d2f3c465e985 | /*
* Copyright (C) 2008-2009 Antoine Drouin <poinix@gmail.com>
*
* This file is part of paparazzi.
*
* paparazzi 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)
* ... | C | workspace/EclipsePapa/src/sw/airborne/subsystems/actuators/actuators_mkk_v2.c | monzie9000/rory | gpl-2.0 | 3,242 | 102 | codeparrot/github-code |
1d3a4b0ae575de1806618bb7c7dfefb66c66554aebf52989689bd7f495c6e6dd | /*
* Synopsys DesignWare Multimedia Card Interface driver
*
* Copyright (C) 2009 NXP Semiconductors
* Copyright (C) 2009, 2010 Imagination Technologies Ltd.
*
* 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 ... | C | drivers/mmc/host/dw_mmc-pltfm.c | TeamRegular/android_kernel_samsung_kminilte | gpl-2.0 | 3,258 | 147 | codeparrot/github-code |
af2692a61e12d1524021030e8880c2e95dfc3a96f72853315111c459f7f7d7b6 | <?php
/**
* @version $Id: default_item.php 21321 2011-05-11 01:05:59Z dextercowley $
* @package Joomla.Site
* @subpackage com_content
* @copyright Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// no direct ... | PHP | tmp/install_4f20924cbb0a1/components/com_content/views/featured/tmpl/default_item.php | heqiaoliu/Viral-Dark-Matter | gpl-2.0 | 6,625 | 164 | codeparrot/github-code |
87484af79d663ac738428ae49ab98dcecbd8e062810a8f59111039ace4aa4288 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of XBEE_PKT</TITLE>
</HEAD><BODY>
<H1>XBEE_PKT</H1>
Section: Linux Programmer's Manual (3)<BR>Updated: 04-Mar-2012<BR><A HREF="#index">Index</A>
<A HREF="../index.html">Return to Main Contents</A><HR>
<A NAME="lbAB"> </A>
... | HTML | sensor_node/arduino/libraries/libxbee_3.0.11/html/man3/xbee_pkt.3.html | Introsys/fresh | gpl-2.0 | 3,500 | 153 | codeparrot/github-code |
08736a80b7774fe76e191ce50fc73bcb15741bc6d6de906633f2e35fb08a75b1 | /* getroot.c - Get root device */
/*
* GRUB -- GRand Unified Bootloader
* Copyright (C) 1999,2000,2001,2002,2003,2006,2007,2008,2009,2010,2011 Free Software Foundation, Inc.
*
* GRUB is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published b... | C | util/getroot.c | dweeezil/grub | gpl-3.0 | 11,469 | 486 | codeparrot/github-code |
2a4bca8c8502476bd5c65bcf6b4587a85d9739f5788096d470194158e8772fb2 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Guillerme
-- Involved in Quest: Rosel the Armorer
-- @zone 231
-- @pos -4.500 0.000 99.000
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scri... | Lua | scripts/zones/Northern_San_dOria/npcs/Guilerme.lua | Scavenge/darkstar | gpl-3.0 | 2,093 | 74 | codeparrot/github-code |
2d07d1facc050e5cca706e28418bebb3f1caa59412170675c6d12b75a7f34710 | {% extends "admin/base_site.html" %}
{% load i18n static %}
{% block extrastyle %}{{ block.super }}<link rel="stylesheet" type="text/css" href="{% static "admin/css/login.css" %}" />
{{ form.media }}
{% endblock %}
{% block bodyclass %}{{ block.super }} login{% endblock %}
{% block usertools %}{% endblock %}
{% blo... | HTML | web/templates/admin/login.html | CarlosTenorio/vespapp-web | gpl-3.0 | 1,916 | 67 | codeparrot/github-code |
5e6fc5d185e583ed63e889df27dcd0339075fa152d56f73d322ef62bae5002cb | /*
*
* 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 in writing, software
* distri... | Java | traffic_router/core/src/main/java/com/comcast/cdn/traffic_control/traffic_router/core/config/WatcherConfig.java | jeffmart/incubator-trafficcontrol | apache-2.0 | 1,494 | 46 | codeparrot/github-code |
8b8f3b87ef4e64f3087bb7061c2a40032cb3d95ceef52254c90b6be9bb273201 | /*
* IzPack - Copyright 2001-2010 Julien Ponge, All Rights Reserved.
*
* http://izpack.org/
* http://izpack.codehaus.org/
*
* Copyright 2005,2009 Ivan SZKIBA
* Copyright 2010,2011 Rene Krell
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance wi... | Java | izpack-util/src/main/java/com/izforge/izpack/util/config/ConfigFileTask.java | rsharipov/izpack | apache-2.0 | 2,446 | 100 | codeparrot/github-code |
912ff9cea995e639175e049b531726dc6b62f4b5e4445aa82cba0d49c07ee0c1 | /*
* Copyright 2015 Red Hat, Inc. and/or its affiliates.
*
* 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 a... | Java | kie-wb-common-screens/kie-wb-common-data-modeller/kie-wb-common-data-modeller-client/src/main/java/org/kie/workbench/common/screens/datamodeller/client/widgets/editor/NewFieldPopupView.java | jomarko/kie-wb-common | apache-2.0 | 1,758 | 73 | codeparrot/github-code |
6a3cd97502d2b44c6f5043e8d6387287a12d6f12c4d27849bd406e62c1a82660 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | Java | jena-sdb/src/test/java/org/apache/jena/sdb/test/misc/TestExprMatch.java | samaitra/jena | apache-2.0 | 9,795 | 305 | codeparrot/github-code |
7b19867fe17e40cd819b5c94270e9f8e575d6f782eb478211c2197373a237fad | <?php
final class PhabricatorRepositoryManagementParentsWorkflow
extends PhabricatorRepositoryManagementWorkflow {
protected function didConstruct() {
$this
->setName('parents')
->setExamples('**parents** [options] [__repository__] ...')
->setSynopsis(
pht(
'Build parent ca... | PHP | src/applications/repository/management/PhabricatorRepositoryManagementParentsWorkflow.php | dannysu/phabricator | apache-2.0 | 4,814 | 181 | codeparrot/github-code |
a2efd1f11e86947f17cc9ea0ad3141c2eda757b21a6767d062773380dce30a83 | ' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
Imports System.Threading
Imports System.Threading.Tasks
Imports Microsoft.CodeAnalysis
Imports Microsoft.CodeAnalysis.Editor.UnitTests.Workspaces
Imports Micro... | Visual Basic | src/EditorFeatures/VisualBasicTest/EndConstructGeneration/MiscellaneousTests.vb | ericfe-ms/roslyn | apache-2.0 | 6,017 | 154 | codeparrot/github-code |
040e61eee6fb948d7f18ed6e6ed8c7793b786d581388655887a3677126a47c40 | /*
* Copyright 2016 Red Hat, Inc. and/or its affiliates
* and other contributors as indicated by the @author tags.
*
* 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.apach... | Java | server-spi-private/src/main/java/org/keycloak/utils/CredentialHelper.java | abstractj/keycloak | apache-2.0 | 7,608 | 145 | codeparrot/github-code |
3d09f62bef8c054c0546398f6d5bbcc7b6061cb3602e308fecb8cf9064047ca3 | /*
* [The "BSD license"]
* Copyright (c) 2012 Terence Parr
* Copyright (c) 2012 Sam Harwell
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code... | Java | tool/src/org/antlr/v4/semantics/BasicSemanticChecks.java | chienjchienj/antlr4 | bsd-3-clause | 20,118 | 638 | codeparrot/github-code |
9b38af8b6e62cc427f2ca443196cc45809e3088d5e41353f822c43d2dc1ad0f2 | /*
* Copyright (C) 2012-2013 Michael Niedermayer (michaelni@gmx.at)
*
* This file is part of libswresample
*
* libswresample 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 ... | C | third_party/ffmpeg/libswresample/dither.c | guorendong/iridium-browser-ubuntu | bsd-3-clause | 5,206 | 149 | codeparrot/github-code |
441915efaab791441186d4edad6b6fa3fa05096cfa49b6cb9334d33b902e2a38 | /**
* \file
*
* \brief Chip-specific PLL definitions.
*
* Copyright (c) 2011-2012 Atmel Corporation. All rights reserved.
*
* \asf_license_start
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
... | C | third_party/freertos/repo/FreeRTOS/Demo/CORTEX_M4_ATSAM4S_Atmel_Studio/src/asf/common/services/clock/sam4s/pll.h | openthread/ot-rtos | bsd-3-clause | 6,695 | 242 | codeparrot/github-code |
7a7e482666cf0a31e0c90a0fa8231f1255d4572f3d66b709f44039a29f4fd7ed | // 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 SKY_ENGINE_TONIC_DART_BUILTIN_H_
#define SKY_ENGINE_TONIC_DART_BUILTIN_H_
#include "base/macros.h"
#include "dart/runtime/include/dart_api.h"
na... | C | tonic/dart_builtin.h | jianglu/mojo | bsd-3-clause | 1,040 | 43 | codeparrot/github-code |
23db739ae91d4f25364c4311cf437e26e9cf5f09c4da6e348ee39cada298354a | {-# LANGUAGE PatternGuards, DeriveFunctor #-}
module IRTS.Lang where
import Control.Monad.State hiding (lift)
import Control.Applicative hiding (Const)
import Idris.Core.TT
import Idris.Core.CaseTree
import Data.List
import Debug.Trace
data Endianness = Native | BE | LE deriving (Show, Eq)
data LVar = Loc Int | G... | Haskell | src/IRTS/Lang.hs | osa1/Idris-dev | bsd-3-clause | 14,464 | 360 | codeparrot/github-code |
8019fad24fa86fe59475cb989bdec3a757059a055d718e89ec17958eac57c09e | #define COREROUTER_STATUS_FREE 0
#define COREROUTER_STATUS_CONNECTING 1
#define COREROUTER_STATUS_RECV_HDR 2
#define COREROUTER_STATUS_RESPONSE 3
#define cr_add_timeout(u, x) uwsgi_add_rb_timer(u->timeouts, uwsgi_now()+x->current_timeout, x)
#define cr_add_timeout_fast(u, x, t) uwsgi_add_rb_timer(u->timeouts, t+x->cur... | C | uw-plugins/corerouter/cr.h | jyotikamboj/container | mit | 12,737 | 367 | codeparrot/github-code |
5e1d969c57184f011c2fedc6443135dcc78deba7c34f5f6717593d8bed922cb5 | (function (Prism) {
Prism.languages.puppet = {
'heredoc': [
// Matches the content of a quoted heredoc string (subject to interpolation)
{
pattern: /(@\("([^"\r\n\/):]+)"(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r))*?[ \t]*\|?[ \t]*-?[ \t]*\2/,
lookbehind: true,
alias: 'string',
inside: ... | JavaScript | ajax/libs/prism/1.13.0/components/prism-puppet.js | joeyparrish/cdnjs | mit | 3,871 | 131 | codeparrot/github-code |
6564571f9b174d55428719a49ef6054753a63014d965b5ee6a0ee5ca3e948a44 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.SymbolSearch;... | C# | src/Features/Core/Portable/AddImport/References/AssemblyReference.cs | AlekseyTs/roslyn | mit | 2,451 | 55 | codeparrot/github-code |
e8686aa7f8691dcf0d878366750a52a712373ce0ab834e22b4a22890c6c5a875 | // PropID.h
#ifndef __7ZIP_PROP_ID_H
#define __7ZIP_PROP_ID_H
#include "../Common/MyTypes.h"
enum
{
kpidNoProperty = 0,
kpidMainSubfile,
kpidHandlerItemIndex,
kpidPath,
kpidName,
kpidExtension,
kpidIsDir,
kpidSize,
kpidPackSize,
kpidAttrib,
kpidCTime,
kpidATime,
kpidMTi... | C | src/lzma1512/CPP/7zip/PropID.h | dungeonsnd/PortOfLZMA | mit | 2,657 | 128 | codeparrot/github-code |
da5d699d6f248aae1338390664dac388e45b6961a65c822c9da8b0a40bda02ba | //---------------------------------------------------------------------
// <copyright file="ObjectContext.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//
// @owner daobando
// @backupOwner [....]
//----------------------------------------------------... | C# | System.Data.Entity/Util/AppSettings.cs | sekcheong/referencesource | mit | 2,400 | 72 | codeparrot/github-code |
9ef5a04c3f9ed2c774a38e92168783c8b3e05da0699af7922aca581f7c00d893 | /**
* Copyright (c) 2010-2019 Contributors to the openHAB project
*
* See the NOTICE file(s) distributed with this work for additional
* information.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.... | Java | bundles/org.openhab.binding.pentair/src/main/java/org/openhab/binding/pentair/internal/PentairBindingConstants.java | clinique/openhab2 | epl-1.0 | 4,844 | 109 | codeparrot/github-code |
f414b8eec5b030f01767ff8ca317ee36d8464c60066c632b0ef0c6cce656d2d3 | /**
* Product: Posterita Web-Based POS and Adempiere Plugin
* Copyright (C) 2007 Posterita Ltd
* This file is part of POSterita
*
* POSterita 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; eit... | Java | posterita/posterita/src/main/org/posterita/beans/PaymentAllocationBean.java | erpcya/adempierePOS | gpl-2.0 | 3,364 | 157 | codeparrot/github-code |
652805c5b19a5dfe8ae414eb03d6f21a1551b05b4fe015d14a0d45683edb32ed | /*
* Generic helpers for smp ipi calls
*
* (C) Jens Axboe <jens.axboe@oracle.com> 2008
*/
#include <linux/rcupdate.h>
#include <linux/rculist.h>
#include <linux/kernel.h>
#include <linux/export.h>
#include <linux/percpu.h>
#include <linux/init.h>
#include <linux/gfp.h>
#include <linux/smp.h>
#include <linux/cpu.h>
... | C | kernel/smp.c | burstlam/pantech_kernel_A850 | gpl-2.0 | 21,846 | 794 | codeparrot/github-code |
8a5d6a2f764dc317f7d62cca318e5b83e70621a176414e58b559cd5b1ef988a8 | /*
* Copyright (C) 2011-2014 Project SkyFire <http://www.projectskyfire.org/>
* Copyright (C) 2008-2014 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2005-2014 MaNGOS <http://getmangos.com/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Genera... | C | src/server/game/Conditions/DisableMgr.h | darkloveir/Skyfire-6.1.2-version | gpl-2.0 | 2,375 | 74 | codeparrot/github-code |
cf89e555e86b1d8831cf36d755ff55552fbedd523be16b48007b33206a326b77 | <?php
namespace Drupal\webform\Plugin\WebformElement;
use Drupal\webform\WebformElementBase;
use Drupal\webform\WebformSubmissionInterface;
/**
* Provides a 'machine_name' element.
*
* @WebformElement(
* id = "machine_name",
* api = "https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Render!Element!Mach... | PHP | modules/webform/src/Plugin/WebformElement/MachineName.php | Deepali-AddWeb/csv-import-d8 | gpl-2.0 | 1,672 | 52 | codeparrot/github-code |
29a4cacdc5b424f1ec41b6e4cda011eda0b8b46d3dd62587deb64dd920ccd60b | #!/usr/bin/env python
# File created on 10 Nov 2011
from __future__ import division
__author__ = "Jesse Stombaugh"
__copyright__ = "Copyright 2011, The QIIME project"
__credits__ = ["Jesse Stombaugh"]
__license__ = "GPL"
__version__ = "1.9.1-dev"
__maintainer__ = "Jesse Stombaugh"
__email__ = "jesse.stombaugh@colorado... | Python | scripts/clean_raxml_parsimony_tree.py | josenavas/qiime | gpl-2.0 | 3,356 | 98 | codeparrot/github-code |
eb3abf5032d778cc956acdd8b62c1ee8b359ad1b31ee1faf48f4ed7092e3c110 | <?php
/*
* This file is part of the Monolog package.
*
* (c) Jordi Boggiano <j.boggiano@seld.be>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/**
* Injects url/method and remote IP of the current web request in all records
*... | PHP | wp-content/plugins/worker/src/Monolog/Processor/WebProcessor.php | 414digital/414digital.org | gpl-2.0 | 2,171 | 66 | codeparrot/github-code |
c5b4c2c7917cf9ad84144489ffb14e3962b6c2df1d182312d3c8c73110135e7c | /* SPDX-License-Identifier: GPL-2.0 */
#ifndef _NET_FLOW_DISSECTOR_H
#define _NET_FLOW_DISSECTOR_H
#include <linux/types.h>
#include <linux/in6.h>
#include <linux/siphash.h>
#include <uapi/linux/if_ether.h>
struct sk_buff;
/**
* struct flow_dissector_key_control:
* @thoff: Transport header offset
*/
struct flow_d... | C | include/net/flow_dissector.h | Pingmin/linux | gpl-2.0 | 9,187 | 353 | codeparrot/github-code |
4f9e0070fc08deab3aeef17d720d9e978e33840745f93db83bf5eb5e48427c94 | /*
* kexec: Linux boots Linux
*
* modified from kexec-ppc.c
*
*/
#define _GNU_SOURCE
#include <stddef.h>
#include <stdio.h>
#include <errno.h>
#include <stdint.h>
#include <string.h>
#include <getopt.h>
#include "../../kexec.h"
#include "../../kexec-syscall.h"
#include "kexec-arm.h"
#include <arch/options.h>
#de... | C | kexec/arch/arm/kexec-arm.c | CyanogenMod/android_external_kexec-tools | gpl-2.0 | 2,217 | 107 | codeparrot/github-code |
5394b9524edb56f8a126ee4ee511745d907399669079bab2eba89aa5d9437a43 | /*
* 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/shared/Networking/Socket.h | pete318/TrinityCore | gpl-2.0 | 7,437 | 266 | codeparrot/github-code |
2db8b893f64b84c89d44bb5f95ae767fd71e7f2db2c0a455f18439ab72666908 | /* SPDX-License-Identifier: GPL-2.0 */
/*
* Cedrus VPU driver
*
* Copyright (C) 2016 Florent Revest <florent.revest@free-electrons.com>
* Copyright (C) 2018 Paul Kocialkowski <paul.kocialkowski@bootlin.com>
* Copyright (C) 2018 Bootlin
*
* Based on the vim2m driver, that is:
*
* Copyright (c) 2009-2010 Samsung... | C | drivers/staging/media/sunxi/cedrus/cedrus.h | codeaurora-unoffical/linux-msm | gpl-2.0 | 3,765 | 168 | codeparrot/github-code |
c22d62a156f023d805c24d108f477f1c836b3e5d2039c377ad3c62ba7364384f | /*
* usbmidi.c - ALSA USB MIDI driver
*
* Copyright (c) 2002-2009 Clemens Ladisch
* All rights reserved.
*
* Based on the OSS usb-midi driver by NAGANO Daisuke,
* NetBSD's umidi driver by Takuya SHIOZAKI,
* the "USB Device Class Definition for MIDI Devices" by Roland
*
* Redistribution and u... | C | sound/usb/midi.c | sagark/linux-pf-profile | gpl-2.0 | 68,344 | 2,377 | codeparrot/github-code |
9bbebab70bcfe61917333e7589492904ab8e4419f6ef96dd566cf26757740be6 | /* Detect write error on a stream.
Copyright (C) 2003, 2005-2006 Free Software Foundation, Inc.
Written by Bruno Haible <bruno@clisp.org>, 2003.
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 Fou... | C | tools/darwin/depends/gettext/gettext-tools/libgettextpo/fwriteerror.h | zarboz/XBMC-PVR-mac | gpl-2.0 | 2,587 | 56 | codeparrot/github-code |
6cc1ec34260b29f94db09215eae43e5eddb9a7dfdbce63019b2d9c33fc1ddf96 | /*
* eap_types.h Header file containing the interfaces for all EAP types.
*
* most contents moved from modules/rlm_eap/eap.h
*
* Version: $Id$
*
* 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 | src/modules/rlm_eap/libeap/eap_types.h | ubuntu-pkg/freeradius-server | gpl-2.0 | 4,645 | 163 | codeparrot/github-code |
017fc608a9c858e1b3adbe9b3dc82e12e9bab9f2fb5a793f08944cd3a086bf0c | <?php
/**
* @version $Id: library.php 20457 2011-01-27 07:51:58Z infograf768 $
* @copyright Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// No direct access
defined('JPATH_BASE') or die;
jimport('joomla.inst... | PHP | libraries/joomla/installer/adapters/library.php | nopticon/jcg | gpl-2.0 | 13,710 | 414 | codeparrot/github-code |
a5e5a400910a12a3d0c30446349964c54ed66e141fe29135abfd276eda7ee2dd | /* 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/fullpipe/scenes/scene21.cpp | jammm/scummvm | gpl-2.0 | 4,719 | 151 | codeparrot/github-code |
d9f5f5ad1f473881eed8b470d875a5254f1f426042a0bf0b10d9cc68feab2ed3 | /*
** Copyright (C) 2008-2013 Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
**
** 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 v... | C++ | lib/mu-msg-doc.cc | che2/mu | gpl-3.0 | 3,268 | 126 | codeparrot/github-code |
c8c7b2cc5b35856cc1d300960283525b89928c291d64543d4d61994535c4f128 | #include <ctype.h>
#include "hw/usb.h"
#include "hw/usb/desc.h"
#include "trace.h"
/* ------------------------------------------------------------------ */
static uint8_t usb_lo(uint16_t val)
{
return val & 0xff;
}
static uint8_t usb_hi(uint16_t val)
{
return (val >> 8) & 0xff;
}
int usb_desc_device(const ... | C | qemu/hw/usb/desc.c | SSLAB-HSA/HSAemu | gpl-3.0 | 23,040 | 785 | codeparrot/github-code |
adfef73b9a6e7b4af018283e405e8362562a267121f7db9067f237c7098b27ce | /* 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 in writing, software
* distribut... | JavaScript | modules/flowable-ui/flowable-ui-modeler-frontend/src/main/resources/static/modeler/editor-app/toolbar-controller.js | dbmalkovsky/flowable-engine | apache-2.0 | 7,619 | 186 | codeparrot/github-code |
688358469a57c44a27aa07bb53ac84c587b8e0c64c578829ef10b658debd0f83 | # Copyright 2012 Nebula, 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 agree... | Python | openstack_dashboard/dashboards/admin/info/tabs.py | zouyapeng/horizon-newtouch | apache-2.0 | 3,879 | 110 | codeparrot/github-code |
129d6cbe34c2dbd8ebac5fb5589e1abf86ce47e93ad442d0346cd3c233913912 | /*
* Copyright 2000-2014 JetBrains s.r.o.
*
* 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 agre... | Java | java/java-structure-view/src/com/intellij/ide/structureView/impl/java/KindSorter.java | siosio/intellij-community | apache-2.0 | 2,619 | 95 | codeparrot/github-code |
4deb1e93a71eca77e8747b20579f80e9ac1c336321a2bc787ebf711d09c2813f | /*
* Copyright 2014 JBoss by Red Hat.
*
* 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 agr... | Java | jbpm-services/jbpm-services-ejb/jbpm-services-ejb-impl/src/test/java/org/jbpm/services/ejb/test/identity/TestIdentityProvider.java | Salaboy/jbpm | apache-2.0 | 1,343 | 54 | codeparrot/github-code |
ba1b9b4d4d2ea9f228be7f63125fb451de4136317a2b7922b5e588b54368a308 | /* GObject - GLib Type, Object, Parameter and Signal Library
* Copyright (C) 1997-1999, 2000-2001 Tim Janik and Red Hat, Inc.
* Copyright © 2010 Christian Persch
*
* 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... | C | migrate/glib/gobject/gvaluetypes.c | zhongliangkang/twemproxy41 | apache-2.0 | 35,746 | 1,446 | codeparrot/github-code |
a190c2a77731ac14cd17c8af01d6ba770999b0da2d2508151148dc1a8b2495e4 | /*
* Copyright 2016 Red Hat, Inc. and/or its affiliates
* and other contributors as indicated by the @author tags.
*
* 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.apach... | Java | server-spi-private/src/main/java/org/keycloak/protocol/LoginProtocol.java | thomasdarimont/keycloak | apache-2.0 | 3,730 | 107 | codeparrot/github-code |
a333953b82544d980098d3c769b85f570d3e5e45680cd9e8bc2e2c92544cabbe |
<ul class="UIAPIPlugin-toc">
<li><a href="#overview">Overview</a></li>
<li><a href="#options">Options</a></li>
<li><a href="#events">Events</a></li>
<li><a href="#methods">Methods</a></li>
<li><a href="#theming">Theming</a></li>
</ul>
<div class="UIAPIPlugin">
<h1>jQuery UI Selectable</h1>
<div id="overview">
... | HTML | web/ui/development-bundle/docs/selectable.html | csgf/myjobs-portlet | apache-2.0 | 22,157 | 849 | codeparrot/github-code |
0cf5990ce766ce5835df056ba8077fb7551e8f7c9eb0ab59b3e5d969aabed7aa | /* $Id: sgi2tiff.c,v 1.5 2006/01/11 16:59:36 fwarmerdam Exp $ */
/*
* Copyright (c) 1991-1997 Sam Leffler
* Copyright (c) 1991-1997 Silicon Graphics, Inc.
*
* Permission to use, copy, modify, distribute, and sell this software and
* its documentation for any purpose is hereby granted without fee, provided
* tha... | C | lightcrafts/jnisrc/tiff/libtiff/tiff-3.8.2/tools/sgi2tiff.c | AntonKast/LightZone | bsd-3-clause | 8,936 | 329 | codeparrot/github-code |
3f377147f83be113414c293528e4ff978dd23345f31f95a89f0587d874938d7b | /* gnu/regexp/UncheckedRE.java
Copyright (C) 2001, 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath.
GNU Classpath 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 (a... | Java | tools/source/gcc-4.2.4/libjava/classpath/gnu/java/util/regex/UncheckedRE.java | shaotuanchen/sunflower_exp | bsd-3-clause | 4,719 | 110 | codeparrot/github-code |
79134bf01dac7f787ee2e68611a865f4cf5a6961ad5b681640c3bd5b43b39539 | /*********************************************************************/
/* Copyright 2009, 2010 The University of Texas at Austin. */
/* All rights reserved. */
/* */
/* Redistribution and use in sou... | C | lapack/getrf/getrf_parallel_omp.c | hpanderson/OpenBLAS | bsd-3-clause | 7,276 | 234 | codeparrot/github-code |
369441c391e821b4a5c0679ed1d7bb7c9cff727831c221e3484fe353019d6309 | package org.motechproject.commcare.testutil;
import org.motechproject.commcare.request.StockTransactionRequest;
/**
* Utility class for preparing sample stock transactions request.
*/
public class RequestTestUtils {
public static final String CASE_ID = "caseId";
public static final String SECTION_ID = "s1"... | Java | commcare/src/test/java/org/motechproject/commcare/testutil/RequestTestUtils.java | wstrzelczyk/modules | bsd-3-clause | 869 | 32 | codeparrot/github-code |
243c838ce774fa8a890f4284380427b790f766cbd8c95b9a13b8fffe666d9edf | //------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------
namespace System.IdentityModel
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Text... | C# | System.IdentityModel/System/IdentityModel/SamlDelegatingWriter.cs | sekcheong/referencesource | mit | 18,525 | 492 | codeparrot/github-code |
c52cd498f8070a104373e9e9dab2c14ec0af25d1a16d5139a09dda1e516999d3 | /*
* blueimp Gallery JS
* https://github.com/blueimp/Gallery
*
* Copyright 2013, Sebastian Tschan
* https://blueimp.net
*
* Swipe implementation based on
* https://github.com/bradbirdsall/Swipe
*
* Licensed under the MIT license:
* https://opensource.org/licenses/MIT
*/
/* global define, DocumentTouch */
... | JavaScript | src/main/resources/static/blueimpgallery-3.3.0/js/blueimp-gallery.js | fred4jupiter/fredbet | mit | 50,273 | 1,552 | codeparrot/github-code |
043ef1ac7411c075ca17ae8dd0714cfa01194f5e537fc166ba70f000be9b88b6 | /*
* ftp.c
*
* Copyright (C) 2009-2011 by ipoque GmbH
* Copyright (C) 2011-15 - ntop.org
*
* This file is part of nDPI, an open source deep packet inspection
* library based on the OpenDPI and PACE technology by ipoque GmbH
*
* nDPI is free software: you can redistribute it and/or modify
* it under the terms ... | C | uware/src/dpi/lib/ndpi/protocols/attic/ftp.c | nanshusu/nanshusu.github.cn | gpl-2.0 | 16,366 | 470 | codeparrot/github-code |
0c8544f9a385cb862de6fd714200567097e6ff6720d7ebaef0c8cbde51261c9e | <?php
/**
* @package Joomla.Platform
* @subpackage Installer
*
* @copyright Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
*/
defined('JPATH_PLATFORM') or die;
jimport('joomla.filesystem.file');
jimport('j... | PHP | tmp/install_4f20924cbb0a1/libraries/joomla/installer/packagemanifest.php | heqiaoliu/Viral-Dark-Matter | gpl-2.0 | 2,798 | 133 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.