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 |
|---|---|---|---|---|---|---|---|---|
3638776f5ac93283ee061d302e85c718c5b063ffc5898b31cbca4f3f32f91a73 | /*
* iplink_hsr.c HSR device support
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version
* 2 of the License, or (at your option) any later version.
*
* Authors: Arvid Br... | C | src/iproute2-4.8.0/ip/iplink_hsr.c | sora/mgcap | gpl-3.0 | 3,950 | 152 | codeparrot/github-code |
6fa16704eefb26daee4b6ddc27e8b9950e426d5b8a121e53bd2e0d77b7e062c4 | """
timeparse.py
Implements a single function, `timeparse`, which can parse various
kinds of time expressions.
Created By:
- Will Roberts <wildwilhelm@gmail.com>
Maintainer:
- Luke Rogers <https://github.com/lukeroge>
License:
MIT License
Copyright Will Roberts <wildwilhelm@gmail.com> - 1 February, ... | Python | cloudbot/util/timeparse.py | weylin/CloudBot | gpl-3.0 | 6,244 | 175 | codeparrot/github-code |
dda579c5a22ec6388124f3168facd9db6fa54cdd40035a0322efbdc72025fa59 | /**
* This file is part of lavagna.
*
* lavagna 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.
*
* lavagna is distributed in t... | Java | src/test/java/io/lavagna/service/ConfigurationRepositoryTest.java | KillerDesigner/lavagna | gpl-3.0 | 5,249 | 135 | codeparrot/github-code |
eefa141d92f9a69539a3dd20d5a6c864cb41886dd33134af19054dd008a83091 | // Copyright (c) 2015-2015 The SWP Authors. All rights reserved.
// Created on: 2016年12月30日 Author: kerry
#include "flashsale/flash_init.h"
#include "core/common.h"
#include "core/plugins.h"
#include "flashsale/flash_logic.h"
struct flashplugin {
char *id;
char *name;
char *version;
char *provider;
... | C++ | plugins/flashsale/flash_init.cc | flaght/starsvc | gpl-3.0 | 3,107 | 104 | codeparrot/github-code |
9082675a7726a02be9495a260abbdc5bd480d795c495345acda57b391e3ff5f1 | /*
Copyright (C) 1994, 1995, 1996, 1997, 2000, 2002, 2004, 2005, 2006,
2007 John W. Eaton
Copyright (C) 2008, 2009 Jaroslav Hajek
This file is part of Octave.
Octave is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published b... | C | linux26333/systems/redhat/usr/include/octave-3.2.4/octave/dbleQR.h | aJanker/TypeChef-LinuxAnalysis | gpl-3.0 | 2,320 | 115 | codeparrot/github-code |
c2d05395acf4c5aed703efe796b99d162d756e6e80e708186b3947181b495955 | /*
* openRatSLAM
*
* main_lv - ROS interface bindings for the local view cells
*
* Copyright (C) 2012
* David Ball (david.ball@qut.edu.au) (1), Scott Heath (scott.heath@uqconnect.edu.au) (2)
*
* RatSLAM algorithm by:
* Michael Milford (1) and Gordon Wyeth (1) ([michael.milford, gordon.wyeth]@qut.edu.au)
*
* ... | C++ | src/main_lv.cpp | Seneda/ratslam | gpl-3.0 | 3,819 | 127 | codeparrot/github-code |
c4ab42311f313cd79d6497f5637c7d7ebf53409ffed17347faa219f77743b2ac | /*
* Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997
* The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that: (1) source code distributions
* retain the above co... | C | external/tcpdump/print-nfs.c | s20121035/rk3288_android5.1_repo | gpl-3.0 | 43,010 | 1,887 | codeparrot/github-code |
7b7ed27bb04c97761bae2cb7825effa735d3177b83f91a298fcdf37f30aeca54 | /* w32_account.c - Account related W32 functions.
Copyright (C) 2007-2009 g10 Code GmbH
Copyright (C) 1999-2005 Nullsoft, Inc.
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any
damages arising from the use of this software.
... | C | src/common/w32_account.c | mpollmeier/claws-mail | gpl-3.0 | 4,767 | 150 | codeparrot/github-code |
5a9cdcf21eae4a2c056ce49442455ff0678f9b747b0dd67ca356864c0e5bd65c | // (C) Copyright Gennadiy Rozental 2005-2012.
// Use, modification, and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
// See http://www.boost.org/libs/test for the library home page.
//
// File ... | C++ | third_party/boost/boost/test/utils/runtime/cla/named_parameter.hpp | bottompawn/darkforce | gpl-3.0 | 2,845 | 94 | codeparrot/github-code |
5267fde978bd5d90202352e006ed25453e52768702e13b815665bb092a13c9b8 | # Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt
from __future__ import unicode_literals
import frappe, json
from frappe.utils.nestedset import get_root_of
from frappe.utils import cint
from erpnext.accounts.doctype.pos_profile.pos_profile i... | Python | erpnext/selling/page/point_of_sale/point_of_sale.py | Zlash65/erpnext | gpl-3.0 | 4,834 | 163 | codeparrot/github-code |
67100077f8bbddd815c5362696286d43edab157bd26c4d6507b2f10047e6393f | <form action="<?php echo $this->url(); ?>" method="post">
<?php if ( $Purchase->shippable ): ?>
<script id="shipment-ui" type="text/x-jquery-tmpl">
<?php ob_start(); ?>
<li class="inline-fields">
<span class="number">${num}.</span>
<span><input type="text" name="shipment[${id}][tracking]" value="${tracking}" size="3... | PHP | core/ui/orders/manage.php | meredevelopment/shopp | gpl-3.0 | 8,961 | 218 | codeparrot/github-code |
58a668a621339bc9da8136d7f1cd667cbea73f4bf0e3d7f948fa51a18091a751 | -- ToME - Tales of Middle-Earth
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- 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 la... | Lua | game/modules/tome/data/talents/cursed/gestures.lua | festevezga/ToME---t-engine4 | gpl-3.0 | 10,469 | 250 | codeparrot/github-code |
2e7aa8b99bb1022a325ca600f6dcb18de23be23597b8671cefe8685a90aad76d | /*
FreeRTOS V9.0.0 - Copyright (C) 2016 Real Time Engineers Ltd.
All rights reserved
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
This file is part of the FreeRTOS distribution.
FreeRTOS is free software; you can redistribute it and/or modify it under
the terms of... | C | Keil-FreeRTOS-Sample-Project/Keil-FreeRTOS/FreeRTOSv9.0.0/FreeRTOS/Demo/CORTEX_EFM32_Giant_Gecko_Simplicity_Studio/Full_Demo/RegTest.c | RobsonRojas/frertos-udemy | gpl-3.0 | 8,061 | 229 | codeparrot/github-code |
b90585ac9cafdd731ef84b7d524c07c3e5f30d3855a935daa1227dc1fbb858ce | /*
* Copyright 2011-2019 Arx Libertatis Team (see the AUTHORS file)
*
* This file is part of Arx Libertatis.
*
* Arx Libertatis is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the Li... | C++ | src/core/Application.cpp | Thoronador/ArxLibertatis | gpl-3.0 | 2,883 | 73 | codeparrot/github-code |
ab51c32cf5b2c413e1ca4f6fc2ae7d82dc32940fb26777536cdbe1428bb44c7e | Schema.user = new SimpleSchema({
emails: {
type: [Object],
},
"emails.$.address": {
type: String,
regEx: SimpleSchema.RegEx.Email,
},
"emails.$.verified": {
type: Boolean,
},
siteAdmin: {
type: Boolean,
defaultValue: false,
optional: true,
},
createdAt: {
type: Date
}... | JavaScript | both/collections/users.js | jfly/ccm | gpl-3.0 | 2,775 | 105 | codeparrot/github-code |
091f172e7ac7423f7b90bc8d1b764c84f772f67227450939e2a1c8ff5061f970 | /***************************************************************************
File : LegendWidget.h
Project : QtiPlot
--------------------------------------------------------------------
Copyright : (C) 2007 by Ion Vasilief
Email (use @ for *) : ion_vasilief*y... | C | MantidPlot/src/LegendWidget.h | dymkowsk/mantid | gpl-3.0 | 4,573 | 136 | codeparrot/github-code |
f0c6432dac400cccbab9921b3e93c607ce169342f1619df7e243aadc0d5106d6 | -----------------------------------------
-- ID: 5656
-- Item: coffeecake_muffin_+1
-- Food Effect: 1Hr, All Races
-----------------------------------------
-- Mind 2
-- Strength -1
-- MP % 10 (cap 90)
-----------------------------------------
require("scripts/globals/status");
---------------------------------------... | Lua | scripts/globals/items/coffeecake_muffin_+1.lua | Gwynthell/FFDB | gpl-3.0 | 1,264 | 53 | codeparrot/github-code |
fe132fcef37e661a032f478fb1c1620af2ab2b2c71ca889a02fe7bee145d7395 | /*
* This file is part of the Code::Blocks IDE and licensed under the GNU General Public License, version 3
* http://www.gnu.org/licenses/gpl-3.0.html
*
* $Revision$
* $Id$
* $HeadURL$
*/
#include "sdk.h"
#ifndef CB_PRECOMP
#include <wx/button.h>
#include <wx/combobox.h>
#include <wx/intl.h>
#i... | C++ | src/src/examinememorydlg.cpp | obfuscated/codeblocks_sf | gpl-3.0 | 4,963 | 162 | codeparrot/github-code |
6c0698a0df8ab79b34bfbf9b8a325ea9347fef6597403e70613327d6c2a312fc | <?php
/**
* BuddyPress Settings Actions
*
* @todo split actions into separate screen functions
* @package BuddyPress
* @subpackage SettingsActions
* @since 1.5.0
*/
// Exit if accessed directly.
defined( 'ABSPATH' ) || exit;
/**
* Handles the changing and saving of user email addresses and passwords.
*
* We... | PHP | wp-content/plugins/buddypress/bp-settings/bp-settings-actions.php | shazic/FirstWordPress | gpl-3.0 | 15,319 | 495 | codeparrot/github-code |
d634d9dd58924ce9585683b3fbbf8e653ffb639153ebb6feb0ae26a635955e7a | /*****************************************************************************
* Copyright (c) 2014-2018 OpenRCT2 developers
*
* For a complete list of all authors, please refer to contributors.md
* Interested in contributing? Visit https://github.com/OpenRCT2/OpenRCT2
*
* OpenRCT2 is licensed under the GNU Gener... | C++ | src/openrct2/core/Crypt.OpenSSL.cpp | wolfreak99/OpenRCT2 | gpl-3.0 | 9,684 | 354 | codeparrot/github-code |
ff648c6423e02889576926f10eef9c60a727d4372e11380813ec5f81e8b42fdd | <?php
if ($config['enable_bgp']) {
foreach (dbFetchRows('SELECT * FROM bgpPeers WHERE device_id = ?', array($device['device_id'])) as $peer) {
// Poll BGP Peer
$peer2 = false;
echo 'Checking BGP peer '.$peer['bgpPeerIdentifier'].' ';
if (!empty($peer['bgpPeerIdentifier'])) {
... | PHP | includes/polling/bgp-peers.inc.php | paszczus/librenms | gpl-3.0 | 20,738 | 330 | codeparrot/github-code |
16d06bba1beadf659c2f3daa6273431dbcd4907a4641f782effe34cdc7f4861d | /*
* Copyright (C) 2012 Yee Young Han <websearch@naver.com> (http://blog.naver.com/websearch)
*
* 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
*... | C | Version3/KSipServer3/RtpMap.h | YeeYoungHan/cppsipstack | gpl-3.0 | 2,276 | 91 | codeparrot/github-code |
a1b93e3b1b8f09404b72a841091142116a602b1f1edfae58332a226405b0ec35 | package kg.ash.javavi;
import java.util.ArrayList;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import java.util.List;
import kg.ash.javavi.searchers.ClassSearcher;
public class TargetParser {
private final Pattern pattern = Pattern.compile("^(.*?)<(.*)>$");
private final Pattern extendsPa... | Java | dcache/deps/.vim/bundle/vim-javacomplete2/libs/javavi/src/main/java/kg/ash/javavi/TargetParser.java | kschwank/dcache-docker | gpl-3.0 | 3,178 | 110 | codeparrot/github-code |
9e678e8e19bf450947cfd7f3cb1b975f25362dcdd0688a0a3d5a695ce2c1e077 | """
Description: class MorphML for loading MorphML from file or xml element into
MOOSE.
NeuroML.py is the preferred interface. Use this only if NeuroML L1,L2,L3 files
are misnamed/scattered. Instantiate MorphML class, and thence use methods:
readMorphMLFromFile(...) to load a standalone MorphML from file OR
readMorp... | Python | python/libmumbl/nml_parser/MorphML.py | rahulgayatri23/moose-core | gpl-3.0 | 32,632 | 767 | codeparrot/github-code |
b3401e7ddf99d4061e1ace1fa47af6808a51680509853f14fe61251345c8ebf2 | /**
* This Source Code Form is subject to the terms of the Mozilla Public License,
* v. 2.0. If a copy of the MPL was not distributed with this file, You can
* obtain one at http://mozilla.org/MPL/2.0/. OpenMRS is also distributed under
* the terms of the Healthcare Disclaimer located at http://openmrs.org/license.... | Java | api/src/main/java/org/openmrs/module/dataimporttool/DataImportToolActivator.java | Breta01/openmrs-module-dataimporttool | mpl-2.0 | 1,584 | 57 | codeparrot/github-code |
882115fa3b5e378d9dd1545da17be53d2f66d55baea89c846e12e839c55a1db0 |
$(document).ready(function() {
var magnificOptions = {
type: 'image',
closeOnContentClick: true,
closeBtnInside: true,
/*
image: {
titleSrc: function(item) {
return item.el.find('img').attr('alt');
}
},
*/
callbacks: {
open: function() {
// for firefox, which launches Magnific aft... | JavaScript | wire/modules/Inputfield/InputfieldImage/InputfieldImage.js | looeee/suzy | mpl-2.0 | 3,705 | 130 | codeparrot/github-code |
a975b065f92983774ae6fb8685a9e97edcd679c4ae312b02f29b674e590ee947 | #include "object_utils.hpp"
#include "memory.hpp"
#include "class/dir.hpp"
#include "class/array.hpp"
#include "class/class.hpp"
#include "class/encoding.hpp"
#include "class/exception.hpp"
#include "class/fixnum.hpp"
#include "class/string.hpp"
namespace rubinius {
rubinius::locks::spinlock_mutex Dir::readdir_lock... | C++ | machine/class/dir.cpp | jsyeo/rubinius | mpl-2.0 | 2,459 | 123 | codeparrot/github-code |
0a470cf7f48869ad46b8801d955f6d47d2d0e20ce562dcf197b4a20c4fb0e268 |
<!-- CDN地址 -->
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="Cache-Control" content="no-cache, must-... | HTML | jd_signup/jd_OeTNobRVGiNZ/1000100883__signActivity2.html | bobon/push_weibo_to_shequdaren | mpl-2.0 | 48,722 | 954 | codeparrot/github-code |
5213feb99a4b1f95146e37688ef72e98f706d9ecf00c6d5e890300b4266442dc | // Copyright 2008 Google Inc.
// All Rights Reserved.
//
// 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 retain the above copyright
// notice, this list of cond... | C | third_party/chromium/testing/gtest/include/gtest/internal/gtest-param-util.h | michaelforfxhelp/master | mpl-2.0 | 24,875 | 620 | codeparrot/github-code |
0e0f583aa2b272adaa46f9dde74dcdcc5b9f3397b3d186f84cfb3fcd56e40858 | /****************************************************************************
*
* (c) 2009-2020 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
*
* QGroundControl is licensed according to the terms in the file
* COPYING.md in the root of the source code directory.
*
***************************************... | C++ | src/uas/UASMessageHandler.cc | Hunter522/qgroundcontrol | agpl-3.0 | 6,301 | 239 | codeparrot/github-code |
fe4d854cd3d6541ff35b4af8371198b84b80c00bcfb47c14fd39f411629c571e | class Verification::LetterController < ApplicationController
before_action :authenticate_user!, except: [:edit, :update]
before_action :login_via_form, only: :update
before_action :verify_resident!, if: :signed_in?
before_action :verify_phone!, if: :signed_in?
before_action :verify_verified!, if: :signed_in?... | Ruby | app/controllers/verification/letter_controller.rb | hugobarthelemy/consul | agpl-3.0 | 1,535 | 60 | codeparrot/github-code |
5b0af61f6fcf4348f1c97c2bbc171a891bb36b130b4a7b827f08a3698cce452d | /******************************************************************************
* $Id: minidriver_tileservice.cpp 18020 2009-11-14 14:33:20Z rouault $
*
* Project: WMS Client Driver
* Purpose: Implementation of Dataset and RasterBand classes for WMS
* and other similar services.
* Author: Adam Nowac... | C++ | gdal/frmts/wms/minidriver_tileservice.cpp | AsherBond/MondocosmOS | agpl-3.0 | 3,617 | 91 | codeparrot/github-code |
9ed9ac67df69d5a75d1e00222400d6dbd8673b3374797a5736b096f917ec0138 | package org.yamcs.simulator;
import java.io.FileWriter;
import java.io.IOException;
import java.io.RandomAccessFile;
import org.yamcs.ConfigurationException;
import org.yamcs.YConfiguration;
import org.yamcs.xtce.Comparison;
import org.yamcs.xtce.DatabaseLoadException;
import org.yamcs.xtce.IntegerDataEncoding;
impor... | Java | simulator/src/main/java/org/yamcs/simulator/PerfMdbLoader.java | fqqb/yamcs | agpl-3.0 | 6,640 | 160 | codeparrot/github-code |
48af921b823429d6051d7689a168c65be33b1b4e819faf377e668f40b81fba44 | /*
* YamlUtil.hpp
*
* Copyright (C) 2009-2015 by RStudio, Inc.
*
* Unless you have received this program directly from RStudio pursuant
* to the terms of a commercial license agreement with RStudio, then
* this program is licensed to you under the terms of version 3 of the
* GNU Affero General Public License. T... | C++ | src/cpp/core/include/core/YamlUtil.hpp | jar1karp/rstudio | agpl-3.0 | 1,061 | 40 | codeparrot/github-code |
7082498bac19a21541d9719753720d23278c5040f0659fbe2bb45caa4d0997c6 | import React from 'react';
import Analyzer, { SELECTED_PLAYER } from 'parser/core/Analyzer';
import Events from 'parser/core/Events';
import SPELLS from 'common/SPELLS';
import { formatPercentage, formatThousands } from 'common/format';
import Statistic from 'interface/statistics/Statistic';
import BoringSpellValueT... | JavaScript | src/parser/warlock/affliction/modules/talents/SoulConduit.js | sMteX/WoWAnalyzer | agpl-3.0 | 2,922 | 69 | codeparrot/github-code |
a5061caf6da978cb42825d70f6669444b93aed1c4d6d9093f1ab3bdc54e843a4 | import sys
import logging
from xmodule.mako_module import MakoDescriptorSystem
from xmodule.x_module import XModuleDescriptor
from xmodule.modulestore.locator import BlockUsageLocator, LocalId
from xmodule.error_module import ErrorDescriptor
from xmodule.errortracker import exc_info_to_str
from xblock.runtime import Db... | Python | common/lib/xmodule/xmodule/modulestore/split_mongo/caching_descriptor_system.py | TangXT/GreatCatMOOC | agpl-3.0 | 6,524 | 143 | codeparrot/github-code |
516a69a0163ff7d14a8238eed256f4eedf5c8620bcdab22106dccce8bdef6835 | <?php
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
/**
* This file is part of Onlogistics, a web based ERP and supply chain
* management application.
*
* Copyright (C) 2003-2008 ATEOR
*
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU A... | PHP | BoardByCustomer.php | contactkarthikc/onlogistics | agpl-3.0 | 9,281 | 201 | codeparrot/github-code |
13ed43c9995d5863dabf06db01d7533e1dc69009d6d2c2c2c80320871b5ed448 | /******************************************************************************
Point Of Sale - Product Template module for Odoo
Copyright (C) 2014-Today Akretion (http://www.akretion.com)
@author Sylvain LE GAL (https://twitter.com/legalsylvain)
This program is free software: you can redistribute it a... | JavaScript | comunity_modules/pos_product_template/static/src/js/ppt.js | MarcosCommunity/odoo | agpl-3.0 | 23,157 | 563 | codeparrot/github-code |
9580754c2c733074cd505beef84a22a34566bf6a49c24fad50ba77bc4196cd20 | /*
* ADL Designer
* Copyright (c) 2013-2014 Marand d.o.o. (www.marand.com)
*
* This file is part of ADL2-tools.
*
* ADL2-tools is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of... | Java | designer/src/main/java/org/openehr/designer/json/AmMixinModule.java | lonangel/adl-designer | agpl-3.0 | 1,856 | 46 | codeparrot/github-code |
8dd380d63bc39d670346f3a52e9986aacb3b2b77f9f5fbb4b8b9b0433d32478d | /**
* Copyright (C) 2001-2015 by RapidMiner and the contributors
*
* Complete list of developers available at our web site:
*
* http://rapidminer.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the... | Java | src/generated/java/com/rapid_i/repository/wsimport/ObjectFactory.java | brtonnies/rapidminer-studio | agpl-3.0 | 21,950 | 563 | codeparrot/github-code |
fb996bba0c42217aee7d3f7fa5d37c0b7d8f96a8680cb36a1d3bf99828719c33 | /*
* S200_PlayerEvent.java Version-1.4, 2002/11/22 09:26:10 -0800 (Fri)
* ECTF S.410-R2 Source code distribution.
*
* Copyright (c) 2002, Enterprise Computer Telephony Forum (ECTF),
* All Rights Reserved.
*
* Use and redistribution of this file is subject to a License.
* For terms and conditions see: javax/tele... | Java | src/java/javax/telephony/media/provider/S200_PlayerEvent.java | kerr-huang/openss7 | agpl-3.0 | 5,655 | 160 | codeparrot/github-code |
d8a80464b4c8888a6fd1e45bff5a7738c97289dcaa3de20e806edf05a8bdd86d | /*=====================================================================
QGroundControl Open Source Ground Control Station
(c) 2009 - 2015 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
This file is part of the QGROUNDCONTROL project
QGROUNDCONTROL is free software: you can redistribute it and/or mod... | C++ | src/QGCLoggingCategory.cc | mihadyuk/qgroundcontrol | agpl-3.0 | 1,751 | 47 | codeparrot/github-code |
bd1fb751ee0ccdb7e6436cc707ad32410d72e9629c78eced298f7006b7e33441 | /*
* Block driver for the QCOW version 2 format
*
* Copyright (c) 2004-2006 Fabrice Bellard
*
* 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 lim... | C | qemu/block/qcow2-cluster.c | AsherBond/MondocosmOS | agpl-3.0 | 28,493 | 977 | codeparrot/github-code |
488713f96584e846a139659ebf6a9b40a6a7f21d3a63fdb5aef5af3482c9c2ad | package ee.ut.bpstruct.util;
import java.io.File;
import java.io.IOException;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import org.jdom.Document;
import org.jdom.Element;
import org.jdom.JDOMException;
import org.jdom.Namespace;
import org.jdom.input.SAXBuilde... | Java | src/ee/ut/bpstruct/util/BPMN2Reader.java | Sahlikhouloud/bpstruct | agpl-3.0 | 3,267 | 98 | codeparrot/github-code |
7e1e24f525c2c2cfaa7b85e2e09582572ac5194a8698407fb87924847d434792 | frappe.provide("erpnext.wiz");
frappe.pages['setup-wizard'].on_page_load = function(wrapper) {
if(sys_defaults.company) {
frappe.set_route("desk");
return;
}
};
function load_erpnext_slides() {
$.extend(erpnext.wiz, {
select_domain: {
domains: ["all"],
title: __('Select your Domain'),
fields: [
... | JavaScript | erpnext/public/js/setup_wizard.js | njmube/erpnext | agpl-3.0 | 15,461 | 461 | codeparrot/github-code |
f0b32f9ad284fc74ae9fed65ab7addb9e4bdaf5893e0bee1b7d9d650eb23ac1c | # ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2021, Numenta, Inc. Unless you have an agreement
# with Numenta, Inc., for a separate license for this software code, the
# following terms and conditions apply:
#
# This progra... | Python | projects/dendrites/profiling/forward_profile.py | mrcslws/nupic.research | agpl-3.0 | 4,642 | 122 | codeparrot/github-code |
2240e57e021244823788f9f4504e17fe352dbc963d3c1da27ca07866b4550d4b | /*
*
* (c) Copyright Ascensio System Limited 2010-2015
*
* This program is freeware. You can redistribute it and/or modify it under the terms of the GNU
* General Public License (GPL) version 3 as published by the Free Software Foundation (https://www.gnu.org/copyleft/gpl.html).
* In accordance with Section 7(a... | C# | web/studio/ASC.Web.Studio/Products/Projects/Core/Model/Services/NotifyService/NotifySource.cs | Khamull/CommunityServer | agpl-3.0 | 5,049 | 116 | codeparrot/github-code |
ee4a0731a69ec5b8159b288d1518bfa36d2eff3f05c400c71d115d4dd6e3543a | /**
* Copyright (C) 2001-2015 by RapidMiner and the contributors
*
* Complete list of developers available at our web site:
*
* http://rapidminer.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published b... | Java | src/main/java/com/rapidminer/operator/preprocessing/transformation/aggregation/VarianceAggregator.java | brtonnies/rapidminer-studio | agpl-3.0 | 1,890 | 64 | codeparrot/github-code |
9214108f0047d7c4c71778a36ce903324470203a2d31a111cbedd31b2737a66d | /*
* Copyright 2008 Free Software Foundation, Inc.
*
* This software is distributed under the terms of the GNU Public License.
* See the COPYING file in the main directory for details.
*
* This use of this software may be subject to additional restrictions.
* See the LEGAL file in the main directory for details.
T... | C | Transceiver52M/Transceiver.h | franzmathauser/Mobile-Netze | agpl-3.0 | 8,114 | 211 | codeparrot/github-code |
600f67e8797ad946ca87e8f460046d53baef4de875c657dd14c50d5a84e0c0c2 | # Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
class ArgpStandalone(AutotoolsPackage):
"""Standalone version of the argp interface from glibc ... | Python | var/spack/repos/builtin/packages/argp-standalone/package.py | rspavel/spack | lgpl-2.1 | 1,235 | 32 | codeparrot/github-code |
7d9652d53932c26ff1178505bd433e5d0e658ac93c549307070893f8570bb7d8 | /*
* This library is part of OpenCms -
* the Open Source Content Management System
*
* Copyright (C) Alkacon Software (http://www.alkacon.com)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free... | Java | src/org/opencms/ade/postupload/CmsPostUploadDialogActionElement.java | ggiudetti/opencms-core | lgpl-2.1 | 5,858 | 163 | codeparrot/github-code |
9753d30fd4a03721edc1265e05e0beebb914eebdd1480c268c9f99c55681720c | /**************************************************************************
**
** Copyright (C) 2014 BlackBerry Limited. All rights reserved.
**
** Contact: BlackBerry (qt@blackberry.com)
** Contact: KDAB (info@kdab.com)
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid co... | C | src/plugins/qnx/bardescriptoreditorwidget.h | omniacreator/qtcreator | lgpl-2.1 | 3,542 | 107 | codeparrot/github-code |
50368583d100b5d35b5c7d5f3c5e849429570ad4bcec4db531b2567c5f3c038b | /*
playlist: playlist logic
copyright 1995-2007 by the mpg123 project - free software under the terms of the LGPL 2.1
see COPYING and AUTHORS files in distribution or http://mpg123.org
initially written by Michael Hipp, outsourced/reorganized by Thomas Orgis
*/
#ifndef MPG123_PLAYLIST_H
#define MPG123_PLAYLIST_H
... | C | src/playlist.h | ThangBK2009/android-source-browsing.platform--external--mpg123 | lgpl-2.1 | 1,455 | 50 | codeparrot/github-code |
194b8897623ce3e2947f09046e1927d69b73b738f2e313eeea365375af044a5b | /****************************************************************************
**
** Copyright (C) 2007 Trolltech ASA. All rights reserved.
**
** This file is part of the Qt Concurrent project on Trolltech Labs.
**
** This file may be used under the terms of the GNU General Public
** License version 2.0 as published by ... | C++ | akonadi/akonadi_next/modeltest.cpp | lefou/kdepim-noakonadi | lgpl-2.1 | 23,929 | 610 | codeparrot/github-code |
2d7a2197c1c8ab394e61ba17b5236483280ed3955ccbb090e22efb13c047344d | /*
* GTK - The GIMP Toolkit
* Copyright (C) 1998, 1999 Red Hat, Inc.
* All rights reserved.
*
* This Library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public License as
* published by the Free Software Foundation; either version 2 of the
* License, o... | C | gtk/gtkactiongroup.h | davidt/gtk | lgpl-2.1 | 10,729 | 239 | codeparrot/github-code |
8577108a7018e3722074264d4ae7234f43a2b99c75b69063e6b8cadced896f72 | <?php
/**
* @package tikiwiki
*/
// (c) Copyright 2002-2013 by authors of the Tiki Wiki CMS Groupware Project
//
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id: tiki-read_article.php 510... | PHP | tiki-read_article.php | upsafety/ToCiteWiki | lgpl-2.1 | 11,195 | 253 | codeparrot/github-code |
fe3be92436d4e1abb7b8d175caea72ab3cba55ab9f4f275baa24e40bc8de5ce8 | /*
* Copyright (C) 2005, 2006, 2008 Apple Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) a... | C | wtf/HashFunctions.h | kitsilanosoftware/JavaScriptCore | lgpl-2.1 | 7,115 | 184 | codeparrot/github-code |
06872b2c6d51c060c9edb554e9bb7fb6aea59f1d8838f972e028928023d4be56 | /* GStreamer
* Copyright (C) <2010> Wim Taymans <wim.taymans@gmail.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any... | C | gst/rtp/gstrtpac3pay.c | chamois94/gst-plugins-good | lgpl-2.1 | 12,857 | 473 | codeparrot/github-code |
422531c7e2a100e586a1a053cd43547c6694c0e6ed3bfbc5c7e58d7e234332a9 | /**************************************************************************
**
** This file is part of Qt Creator
**
** Copyright (c) 2011 Nokia Corporation and/or its subsidiary(-ies).
**
** Contact: Nokia Corporation (info@qt.nokia.com)
**
** GNU Lesser General Public License Usage
**
** This file may be used under t... | C++ | src/plugins/remotelinux/maemoqemusettingswidget.cpp | pcacjr/qt-creator | lgpl-2.1 | 2,895 | 87 | codeparrot/github-code |
e26d1832bcb3b25ce1cd7d9446981d5262eddd0fb17d76fdc0647797bb7ed904 | <?php
/* The Computer Language Benchmarks Game
http://benchmarksgame.alioth.debian.org/
contributed by Thomas GODART (based on Greg Buchholz's C program)
modified by anon
*/
ob_implicit_flush(1);
ob_start(NULL, 4096);
$h = ($argc == 2) ? ((int)$argv[1]) : 600;
$w = $h;
printf ("P4\n%d %d\n", $w, $h);
$bi... | PHP | examples/php/mandelbrot.php | msipos/syntaxic | lgpl-2.1 | 1,192 | 62 | codeparrot/github-code |
3d7c3609d661527a24c225dda0a388b8eb2ecaa501ac224e7b14a32d614ae861 | // This file is part of OpenTSDB.
// Copyright (C) 2013 The OpenTSDB Authors.
//
// This program 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
// opti... | Java | test/tsd/TestQueryRpc.java | OpenTSDB/opentsdb | lgpl-2.1 | 31,900 | 802 | codeparrot/github-code |
3f7cc3628c1d8a75ab5480ca51122c1c4bc0679a74bebc7f5e2c4c5de71ac229 | /****************************************************************************
**
** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the QtCore module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
**... | C++ | src/corelib/plugin/qpluginloader.cpp | prapin/qmake-iphone | lgpl-2.1 | 14,449 | 435 | codeparrot/github-code |
748f2e21bd5f80e9882837bda7882fb7dc91730d72855a6d41cd3dc2d9111b32 | <?php
namespace Ss\User;
class User {
public $uid;
private $db;
private $table = "user";
function __construct($uid=0){
global $db;
$this->uid = $uid;
$this->db = $db;
}
function AllUser(){
$datas = $this->db->select($this->table,"*");
r... | PHP | lib/Ss/User/User.php | xuanhuan/ss-panel | lgpl-3.0 | 2,487 | 116 | codeparrot/github-code |
c1e0389d87ea7968408082f49fe51bef05f4d91c2f846aa72c9bbb3e998943d2 | /**
* Copyright (C) 2013 Inera AB (http://www.inera.se)
*
* This file is part of Inera Axel (http://code.google.com/p/inera-axel).
*
* Inera Axel is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, e... | Java | shs/shs-broker/shs-webconsole/src/main/java/se/inera/axel/shs/broker/webconsole/directory/AgreementDataProvider.java | sklaxel/inera-axel | lgpl-3.0 | 2,874 | 84 | codeparrot/github-code |
edb01db35f17a4302b763b2f5e1f23d83bd637b48d320a2c67e4b200fd84f641 | /* radare - LGPL - Copyright 2009-2021 - pancake */
#include <r_cons.h>
#include <limits.h>
// TODO: kill globals, and make this stackable
// cons_pipe should be using a stack pipe_push, pipe_pop
static int backup_fd = -1;
static int backup_fdn = 1;
#ifndef O_BINARY
#define O_BINARY 0
#endif
static bool __dupDescri... | C | libr/cons/cpipe.c | condret/radare2 | lgpl-3.0 | 1,704 | 75 | codeparrot/github-code |
918834afa76501d5fe713173a40842b3ce06a9ad247feaa7d6164ad23a7ccde5 | /* -*-c++-*- libcoin - Copyright (C) 2012 Michael Gronager
*
* libcoin 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
* any later version.
*
* libcoin is distributed... | C | include/coinChain/AlertFilter.h | namecoin/libcoin | lgpl-3.0 | 1,505 | 54 | codeparrot/github-code |
778952e2083ef71b676bcd6e357853bb44fde4ee2d642ef2b03899aa5b145fa6 | /*
__________ ____ ___
_____ __ _\______ \_____ _______ ______ __________\ \/ /
/ \| | \ ___/\__ \\_ __ \/ ___// __ \_ __ \ /
| Y Y \ | / | / __ \| | \/\___ \\ ___/| | \/ \
|__|_| /____/|____| (____ /__| /... | C | parser/mpOprtIndex.h | shouze/muparser | lgpl-3.0 | 2,031 | 60 | codeparrot/github-code |
6a76ab836aa35174131d999b7bc7ca2e071ce1431b5fcd399db5ec56b7ae43e6 | /**
* Copyright © 2002 Instituto Superior Técnico
*
* This file is part of FenixEdu Academic.
*
* FenixEdu Academic 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 3 of the License... | Java | src/main/java/org/fenixedu/academic/domain/studentCurriculum/NoCourseGroupCurriculumGroup.java | ricardorcr/fenixedu-academic | lgpl-3.0 | 8,284 | 245 | codeparrot/github-code |
f7db9e109b6e54017595fb2ae3dd7025857b1aa713fd7ea3adb20b44d9f9c451 | /* ************************************************************************
qooxdoo - the new era of web development
http://qooxdoo.org
Copyright:
2004-2008 1&1 Internet AG, Germany, http://www.1und1.de
License:
LGPL: http://www.gnu.org/licenses/lgpl.html
EPL: http://www.eclipse.org/org/d... | JavaScript | qooxdoo/application/demobrowser/source/class/demobrowser/demo/widget/ColorSelector.js | sebastienhupin/qxrad | lgpl-3.0 | 1,484 | 55 | codeparrot/github-code |
f3fdad13d8fd906fd015ce548b22e34ea53aa1f3d205b260f60194227320a9f9 | package org.molgenis.security.core.runas;
import org.aopalliance.intercept.MethodInvocation;
import org.springframework.security.core.Authentication;
import org.springframework.security.core.context.SecurityContext;
import org.springframework.security.core.context.SecurityContextHolder;
import org.testng.annotations.A... | Java | molgenis-security-core/src/test/java/org/molgenis/security/core/runas/RunAsSystemProxyTest.java | jjettenn/molgenis | lgpl-3.0 | 2,431 | 105 | codeparrot/github-code |
cda40e4822617f011e37914aa25add9164e0573e1487a212b90491043c19424c | /*
* @BEGIN LICENSE
*
* Psi4: an open-source quantum chemistry software package
*
* Copyright (c) 2007-2017 The Psi4 Developers.
*
* The copyrights for code used from other parties are included in
* the corresponding files.
*
* This file is part of Psi4.
*
* Psi4 is free software; you can redistribute it an... | C++ | psi4/src/psi4/libmints/integraliter.cc | jH0ward/psi4 | lgpl-3.0 | 19,675 | 662 | codeparrot/github-code |
8e0117101a6112caf9d1c2fa330d50f548a10550b17c3623801d44fa0f815ce5 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<title>Source code</title>
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<div class="sourceContainer">
<pre><span class="sourceLineNo">0... | HTML | lib/JCommon-1.0.21/jcommon-1.0/javadoc/src-html/org/jfree/ui/RefineryUtilities.html | GliderWinchItems/GliderWinchj2 | unlicense | 29,700 | 378 | codeparrot/github-code |
9d4a3aef2dbc73786f53bf677e6c84aed16e5b1be6b818e6636a515da7366c8f | module Network.Haskoin.Wallet.Settings
( SPVMode(..)
, OutputFormat(..)
, Config(..)
) where
import Control.Monad (forM, mzero)
import Control.Exception (throw)
import Control.Monad.Logger (LogLevel(..))
import Data.Default (Default, def)
import Data.FileEmbed (embedFile)
import Data.Yaml (decodeEither')
import Data.... | Haskell | haskoin-wallet/Network/Haskoin/Wallet/Settings.hs | tphyahoo/haskoin | unlicense | 7,015 | 174 | codeparrot/github-code |
b3e1b8246a7e166b990f0e18ee55fc7585f7467cb25dc72fbc57d0d692c25fbb |
/*========== @group Fundamentals ============*/
* { margin: 0; padding: 0 }
/* Is this portable? */
html {
background:#252525;
width: 100%;
height: 100%;
font-family: serif;
font-size: 2.0em;
margin-left: auto;
margin-right: auto;
margin-top: 2.0em;
}
body>div {
background: white;
borde... | CSS | sandbox/wiki/theme/style.css | caiorss/org-wiki | unlicense | 12,301 | 725 | codeparrot/github-code |
6a6401e42dae9a4221cc020909cb07b2d4f7f0c47860601755833e0e7fe71fd8 | //===- TargetTransformInfo.h ------------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | C | include/llvm/Analysis/TargetTransformInfo.h | cd80/UtilizedLLVM | unlicense | 49,885 | 1,083 | codeparrot/github-code |
2c7cd9379743a1e1722aa3200b550b2d38452b9909998f068a693175b1dc03ac | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/cloudsearch/CloudSearch_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
n... | C | aws-cpp-sdk-cloudsearch/include/aws/cloudsearch/model/DoubleOptions.h | jt70471/aws-sdk-cpp | apache-2.0 | 7,335 | 221 | codeparrot/github-code |
31ce16cff41176d834777fceda66726751bf94e61276e4eedfd07e4b9dc834d5 | /*
* 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 | streams-contrib/streams-amazon-aws/streams-persist-s3/src/main/java/org/apache/streams/s3/S3PersistReaderTask.java | jfrazee/incubator-streams | apache-2.0 | 2,872 | 91 | codeparrot/github-code |
490a3dc4b027aa20b84e5ddc42d492ea1cf16938e0ad90a488e2cb3204f47514 | --"INTEL CONFIDENTIAL"
--Copyright 2015 Intel Corporation All Rights Reserved.
--
--The source code contained or described herein and all documents related to the source code ("Material") are owned by Intel Corporation or its suppliers or licensors. Title to the Material remains with Intel Corporation or its suppliers... | SQL | engines/hive/queries/q27/q27.sql | XiaominZhang/Big-Data-Benchmark-for-Big-Bench | apache-2.0 | 3,757 | 60 | codeparrot/github-code |
2d7e78ba83f19e0d23ed194f289cdffa99208e1ff94d854b53fa50e3e7dfc072 | package scala.collection.immutable
import org.junit.Assert
object SeqTests {
def checkSearch[A](seq: Seq[A], needle: A, ord: Ordering[A]): Unit = {
import scala.collection.Searching.{Found, InsertionPoint}
val size = seq.size
val indices = List(-1, -10, -99, Int.MinValue, 0, size -1, size, size + 1, siz... | Scala | test/junit/scala/collection/SeqTests.scala | scala/scala | apache-2.0 | 1,272 | 32 | codeparrot/github-code |
2e9cd6257a8a2f053a49e6c193decab197e8d38b1dd69648aab70bdd84bb049e | /*
* Copyright 2020 ThoughtWorks, 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 agr... | Java | server/src/main/java/com/thoughtworks/go/server/domain/user/FilterValidator.java | ketan/gocd | apache-2.0 | 3,599 | 82 | codeparrot/github-code |
6eba95aecb098da7e58c1b452434f783a44bacfb34d69e5b3b01937fd5b46bc7 | // Copyright 2013 Square, Inc.
package retrofit;
import com.squareup.okhttp.HttpUrl;
import com.squareup.okhttp.MediaType;
import com.squareup.okhttp.OkHttpClient;
import com.squareup.okhttp.RequestBody;
import com.squareup.okhttp.ResponseBody;
import com.squareup.okhttp.mockwebserver.MockResponse;
import com.squareup... | Java | retrofit/src/test/java/retrofit/RetrofitTest.java | messipuyol/retrofit | apache-2.0 | 18,578 | 555 | codeparrot/github-code |
373c9d089ae708f3fb8dc0fdb17c67800e666eac515e6dd9465abc68a7631191 | /*
* Copyright 2019-present Open Networking Foundation
*
* 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 appli... | TypeScript | web/gui2-fw-lib/lib/layer/loading/loading.component.spec.ts | gkatsikas/onos | apache-2.0 | 1,705 | 50 | codeparrot/github-code |
a13112cba6fd7ae72a24a7f9b626f876d3a7524c42c3be065303fbf821d634d0 | /*
* 2014 SMEdit development team
* http://lazygamerz.org
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser Gereral Public Licence as published by the Free
* Software Foundation; either version 3 of the Licence, or (at your opinion) any
* later versio... | Java | jo_sm/src/main/java/jo/util/jgl/obj/JGLGroup.java | skunkiferous/SMEdit | apache-2.0 | 1,799 | 69 | codeparrot/github-code |
3c28d98ac91a039f6055284416bbc288d0fe9409ba9691fd91b3d548ef997d2c | /*
* Copyright 2016 Sam Sun <me@samczsun.com>
*
* 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... | Java | src/main/java/com/javadeobfuscator/deobfuscator/executor/values/JavaInteger.java | java-deobfuscator/deobfuscator | apache-2.0 | 1,152 | 42 | codeparrot/github-code |
64dbae955cf887a3402ed6c33cc6ef4fc5dcca3c79a7f82edd51f4c0c36bb20b | /*
* 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 | extensions-core/hdfs-storage/src/test/java/org/apache/druid/storage/hdfs/HdfsDataSegmentKillerTest.java | deltaprojects/druid | apache-2.0 | 7,303 | 223 | codeparrot/github-code |
ca61b039a5bf2d09054d23e01bd2afac9bbbbfeb6cec2bb33d94926b5c26f7bb | /*
* 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 | flink-table/flink-table-common/src/main/java/org/apache/flink/table/functions/TableFunctionDefinition.java | fhueske/flink | apache-2.0 | 2,519 | 94 | codeparrot/github-code |
ceeef7494b74c24585b69db19fe666aaed24871b922f27d2547d9018357261fb | # -*- coding: utf-8 -*-
# Copyright 2010 British Broadcasting Corporation and Kamaelia Contributors(1)
#
# (1) Kamaelia Contributors are listed in the AUTHORS file and at
# http://www.kamaelia.org/AUTHORS - please extend this file,
# not this notice.
#
# Licensed under the Apache License, Version 2.0 (the "Lice... | Python | Sketches/DL/modules/DL_Util.py | bbc/kamaelia | apache-2.0 | 1,725 | 66 | codeparrot/github-code |
b54a73cd0797f5c129f17424498ae0fc1f13870a45bb9d1d420fad392d5a5f15 | #!/bin/bash
# ------------------------------------------------------------------------
#
# Copyright 2016 WSO2, Inc. (http://wso2.com)
#
# 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... | Shell | wso2am/undeploy.sh | wso2-incubator/mesos-artifacts | apache-2.0 | 1,574 | 59 | codeparrot/github-code |
f96a522029a8a523e2e0f9b82d1787bbd65f81f4663888da408f11b636cdbcb4 | /**
* Created by harttle on 11/29/14.
*/
// 实现了缓存和单次请求限制
// 1. update 参数
// 当update为false且缓存hit时,会使用缓存。当update为false时,总会刷新缓存。
// 2. 缓存以resolver参数为key
// 按照resolver提供的参数建立多维缓存数组,参数一致且有数据时才会hit
// 2. 单次请求
// 同时的多次调用只会发生一次请求,当请求到达时所有promise被解析。
// @param resolver: 解析器,当需要更新资源时被调用,需要返回一个promise
// @return: fun... | JavaScript | frontend/kernel/src/main/resources/static/js/ng-modules/data/data-proxy-factory.js | idear1203/onboard | apache-2.0 | 2,481 | 85 | codeparrot/github-code |
702bd9f7b0b0d9837dbc100343a3c3964feadca644cfe23129760edc29f89287 | /*
* 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-hazelcast/src/test/java/org/apache/camel/component/hazelcast/HazelcastListProducerTest.java | DariusX/camel | apache-2.0 | 6,569 | 177 | codeparrot/github-code |
66eaa445be83801fd7ce29e6f9ab5763f4814b540f5687b11513b2c17fe95131 | /*
CEPrintAccessoryViewController.h
CotEditor
http://coteditor.com
Created by 1024jp on 2014-03-24.
------------------------------------------------------------------------------
© 2014-2015 1024jp
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in com... | C | CotEditor/Sources/CEPrintPanelAccessoryController.h | eric-seekas/CotEditor | apache-2.0 | 1,648 | 50 | codeparrot/github-code |
91baf71b49391ea1e9fea9fc8add1b64adc95416c53a331b10bac3922e0bf0f3 | package org.nutz.json.impl;
import java.io.IOException;
import java.io.Reader;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import org.nutz.json.JsonException;
import org.nutz.json.JsonParser;
import org.nutz.lang.Lang;
import or... | Java | src/org/nutz/json/impl/JsonCompileImplV2.java | qinqinnb/nutz | apache-2.0 | 8,675 | 434 | codeparrot/github-code |
aaa4f55646416815dba456b8020f2521bd890e29246fe3c6cdf7fe88beac8fa1 | /*
* This file is open source software, licensed to you under the terms
* of the Apache License, Version 2.0 (the "License"). See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. You may not use this file except in compliance with the License.
*
* You may ... | C++ | src/util/backtrace.cc | scylladb/seastar | apache-2.0 | 5,531 | 187 | codeparrot/github-code |
91cd1c4d7be23d1a0301d6531ad182d9247c547e891b51f7520601ad2cd0d810 | /**
* C Object System
* COS dispatch caches
*
* Copyright 2006+ Laurent Deniau <laurent.deniau@gmail.com>
*
* 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.o... | C | CosBase/src/cos_dispatch.c | zhuyadong/COS | apache-2.0 | 7,924 | 354 | codeparrot/github-code |
b8a2aa34f1e3861ab5ce907142eb21377cd2085a61be1ff8e31c9b75f48e4f0f | from rest_framework import generics, permissions as drf_permissions
from rest_framework.exceptions import NotFound
from framework.auth.oauth_scopes import CoreScopes, public_scopes
from api.base.filters import ListFilterMixin
from api.base import permissions as base_permissions
from api.scopes.serializers import Scope... | Python | api/scopes/views.py | icereval/osf.io | apache-2.0 | 2,283 | 70 | codeparrot/github-code |
a7e253112b4b828ef631faf96892681837f193330371bfe20d6a185c316b342c | #!/usr/bin/env python
"""
This is an example of playing music from Spotify using pyspotify.
The example use the :class:`spotify.AlsaSink`, and will thus only work on
systems with an ALSA sound subsystem, which means most Linux systems.
You can either run this file directly without arguments to play a default
track::... | Python | examples/play_track.py | felix1m/pyspotify | apache-2.0 | 1,694 | 76 | codeparrot/github-code |
9f231090e063feeaf7b04c381c5409462b3ad45cd2a975facac26e1433956b58 | /*
* 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 | asterixdb/asterix-runtime/src/main/java/org/apache/asterix/runtime/evaluators/constructors/AIntervalStartFromDateTimeConstructorDescriptor.java | ty1er/incubator-asterixdb | apache-2.0 | 10,664 | 180 | codeparrot/github-code |
71f35ef6e7d17e90d68cf579a9ffab201ba35f50993aa7f521a15258a0838ee0 | /*
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
* under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. Camunda licenses this file to you under the Apache License,
* Version 2.0; y... | Java | engine/src/test/java/org/camunda/bpm/engine/test/api/mgmt/DeploymentStatisticsQueryTest.java | camunda/camunda-bpm-platform | apache-2.0 | 15,885 | 410 | codeparrot/github-code |
487921394639f7d24dba347b72e79969f3c75afb750439a46e6cf991f344f168 | /*
* Based on JUEL 2.2.1 code, 2006-2009 Odysseus Software GmbH
*
* 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... | Java | runtime/src/modules/activiti-engine/src/main/java/org/activiti/engine/impl/javax/el/BeanELResolver.java | adbrucker/SecureBPMN | apache-2.0 | 25,242 | 646 | codeparrot/github-code |
d9d891c197eefca3fe541490fc0a74ad1f195d2331965128db9693f80986a4f6 | package org.deeplearning4j.regressiontest;
import org.deeplearning4j.nn.conf.NeuralNetConfiguration;
import org.deeplearning4j.nn.conf.distribution.*;
import org.junit.Test;
import org.nd4j.shade.jackson.databind.ObjectMapper;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
/*... | Java | deeplearning4j-core/src/test/java/org/deeplearning4j/regressiontest/TestDistributionDeserializer.java | shuodata/deeplearning4j | apache-2.0 | 3,397 | 79 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.