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 |
|---|---|---|---|---|---|---|---|---|
2cc73aa827373351971ef5e2432aa1fca5692f10b347ad128d5e3e42b813df11 | /*
* Copyright 2020 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "experimental/skrive/include/SkRive.h"
#include "experimental/skrive/src/reader/StreamReader.h"
#include "include/core/SkCanvas.h"
namespace skrive {
namespace inte... | C++ | third_party/skia_next/third_party/skia/experimental/skrive/src/Rectangle.cpp | youtube/cobalt | bsd-3-clause | 1,056 | 45 | codeparrot/github-code |
b0178c5ebeb5a3fbafd2887ec66c48b93c5684f30db0736358d2230369e8ef10 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_UI_GTK_ZOOM_BUBBLE_GTK_H_
#define CHROME_BROWSER_UI_GTK_ZOOM_BUBBLE_GTK_H_
#include "base/basictypes.h"
#include "base/timer.h... | C | chrome/browser/ui/gtk/zoom_bubble_gtk.h | junmin-zhu/chromium-rivertrail | bsd-3-clause | 2,404 | 80 | codeparrot/github-code |
5d11c7cdf42822f53bd874a3638add11efc8e42127733e53bc57185f8d3071b9 | /*
* Copyright (C) 2003 Sistina Software.
* Copyright (C) 2004-2005 Red Hat, Inc. All rights reserved.
*
* Module Author: Heinz Mauelshagen
*
* This file is released under the GPL.
*
* Round-robin path selector.
*/
#include <linux/device-mapper.h>
#include "dm-path-selector.h"
#include <linux/slab.h>
#inclu... | C | packages/wbsairback-kernel-image/wbsairback-kernel-image-3.2.43/drivers/md/dm-round-robin.c | WhiteBearSolutions/WBSAirback | apache-2.0 | 4,699 | 219 | codeparrot/github-code |
8a186b353dd3852d822187dfb4a50c47ceeef93c5b56141e63ed98f3c5b5efa4 | /*
* This file is part of the Chelsio T4 Ethernet driver for Linux.
*
* Copyright (c) 2003-2010 Chelsio Communications, Inc. All rights reserved.
*
* This software is available to you under a choice of one of two
* licenses. You may choose to be licensed under the terms of the GNU
* General Public License (GPL)... | C | unionfs-3.10.y/drivers/net/ethernet/chelsio/cxgb4/sge.c | prasidh09/cse506 | gpl-2.0 | 77,302 | 2,739 | codeparrot/github-code |
c897bccee0910e953a5ba56b79537e6b0798c84196a93b4734fe82520420eb13 | #include "config.h"
#if HAVE_GETLINE
int dummy;
#else
/* $Id: compat_getline.c,v 1.1 2015/11/07 20:52:52 schwarze Exp $ */
/*
* Copyright (c) 2015 Ingo Schwarze <schwarze@openbsd.org>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provi... | C | FreeBSD/contrib/mdocml/compat_getline.c | TigerBSD/TigerBSD | isc | 1,624 | 69 | codeparrot/github-code |
d0209a6aa5818989ba7a3c8dfbeb7d73df48a918564f16062ccd35d8e1de0104 | /* SPDX-License-Identifier: BSD-3-Clause
* Copyright(c) 2010-2018 Intel Corporation.
* Copyright(c) 2017-2018 Linaro Limited.
*/
#ifndef __L3FWD_LPM_NEON_H__
#define __L3FWD_LPM_NEON_H__
#include <arm_neon.h>
#include "l3fwd_neon.h"
/*
* Read packet_type and destination IPV4 addresses from 4 mbufs.
*/
static i... | C | examples/l3fwd/l3fwd_lpm_neon.h | john-mcnamara-intel/dpdk | mit | 4,130 | 165 | codeparrot/github-code |
9d6c34ea4878408fe8f417dd9a0373a6e682f8996ea7abc0d0f59cfe1c7f0210 | /**
* Buttons.js
*
* Released under LGPL License.
* Copyright (c) 1999-2017 Ephox Corp. All rights reserved
*
* License: http://www.tinymce.com/license
* Contributing: http://www.tinymce.com/contributing
*/
define(
'tinymce.plugins.legacyoutput.ui.Buttons',
[
],
function () {
var register = functio... | JavaScript | tinymce/src/plugins/legacyoutput/src/main/js/ui/Buttons.js | pvskand/addictionRemoval | mit | 4,023 | 135 | codeparrot/github-code |
aa550682b78d19ef599368a7f32df3f5242ba8808d8e815f8e77efe673bdce4b | /*************************************************************************/
/* gdscript_highlighter.h */
/*************************************************************************/
/* This file is part of: */
/* ... | C | modules/gdscript/editor/gdscript_highlighter.h | honix/godot | mit | 3,554 | 92 | codeparrot/github-code |
5d5db34a408c0de623421f97353d8238ac43aa3666da13b2efe9b012db15974c | /*!
* Angular Material Design
* https://github.com/angular/material
* @license MIT
* v0.9.7
*/
goog.provide('ng.material.components.input');
goog.require('ng.material.core');
/**
* @ngdoc module
* @name material.components.input
*/
angular.module('material.components.input', [
'material.core'
])
.directive... | JavaScript | staticfiles/bower_components/angular-material/modules/closure/input/input.js | radhikabhanu/crowdsource-platform | mit | 11,760 | 369 | codeparrot/github-code |
4826ee5fb173c5a3d250599828410fac8b31540e61294bba56d2287090d2cd02 | <?php
namespace Concrete\Core\Search\Field;
use Concrete\Core\Attribute\SetManagerInterface;
use Concrete\Core\Search\Field\AbstractField;
class Manager implements ManagerInterface
{
/**
* The groups of fields.
*
* @var GroupInterface[]
*/
protected $groups = [];
/**
* {@inheritd... | PHP | concrete/src/Search/Field/Manager.php | mlocati/concrete5 | mit | 3,882 | 139 | codeparrot/github-code |
1e7229372de8e385ec12130a865270188cb6d4b7b5181e4596da7fe84862ab9e | /* entity.c
========
Author R.J.Barnes
*/
/*
LICENSE AND DISCLAIMER
Copyright (c) 2012 The Johns Hopkins University/Applied Physics Laboratory
This file is part of the Radar Software Toolkit (RST).
RST is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser Genera... | C | linux/home/radar/ros.3.6/codebase/base/src.lib/xml/xmldb.1.6/src/entity.c | jspaleta/SuperDARN_MSI_ROS | mit | 12,583 | 536 | codeparrot/github-code |
3a86d34730ed93d8812a1d294ec050887ae409a033620738943ed4d1d7205701 | import { SemanticSIZES } from '../..';
import * as React from 'react';
interface ModalProps {
/** An element type to render as (string or function). */
as?: any;
/** A modal can reduce its complexity */
basic?: boolean;
/** Primary content. */
children?: React.ReactNode;
/** Additional classes. */
... | TypeScript | src/modules/Modal/index.d.ts | vageeshb/Semantic-UI-React | mit | 2,787 | 136 | codeparrot/github-code |
80e4576d8c85d16ff33c5b09775fc2b5b0d741172f0f3771b1b15315c7ab4cf2 | using System;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OpenProtocolInterpreter.Job.Advanced;
namespace MIDTesters.Job.Advanced
{
[TestClass]
public class TestMid0133 : MidTester
{
[TestMethod]
public void Mid0133Revision1()
{
string p... | C# | src/MIDTesters/Job/Advanced/TestMid0133.cs | Rickedb/OpenProtocolIntepreter | mit | 905 | 33 | codeparrot/github-code |
f2d54238fd21f1c5b1449b1c0671a8a9ab8e1204c48cfc0b6c8c11da5f4f648c | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Microsoft.Protocols.TestSuites.FileSharing.Common.Adapter;
using Microsoft.Protocols.TestTools;
using Microsoft.Protocols.TestTools.StackSdk.FileAccessService.Smb... | C# | TestSuites/FileServer/src/Common/TestSuite/CommonTestBase.cs | JessieF/WindowsProtocolTestSuites | mit | 11,623 | 289 | codeparrot/github-code |
623114f9b58ca98a7635c80b3cffb3d90f91af5dc9914664e6929d7f3ecaf472 | // 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.
#include "mojo/services/network/http_connection_impl.h"
#include <stddef.h>
#include <stdint.h>
#include <limits>
#include <utility>
#include "base/bin... | C++ | src/mojo/services/network/http_connection_impl.cc | junhuac/MQUIC | mit | 13,648 | 428 | codeparrot/github-code |
3e9b6460fb334884bb59ea608801593d073b28ff83bb169bfdf4970813f002f2 | package org.c4sg.controller;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import org.c4sg.dto.SkillDTO;
import org.c4sg.exception.NotFoundException;
import org.c4sg.service.SkillService;
import org.springframework.beans.factory.annotation.Autow... | Java | src/main/java/org/c4sg/controller/SkillController.java | Code4SocialGood/c4sg-services | mit | 3,954 | 97 | codeparrot/github-code |
b2789593055c43038b592c4686f01420547c4968ed6fb728023f56818e08fb98 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html" charset="iso-8859-1">
<title>Uses of Class org.apache.commons.net.imap.IMAPClient.SEARCH_CRITERIA (Commons Net 3.3 API)... | HTML | lib/commons-net-3.3/apidocs/org/apache/commons/net/imap/class-use/IMAPClient.SEARCH_CRITERIA.html | asad/MCEDS | mit | 7,732 | 167 | codeparrot/github-code |
7e4964e9ffa0b52415dcfb548cd2c9d95a9d50395afda368287357592ae804d5 | <?php defined('BX_DOL') or die('hack attempt');
/**
* Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
* CC-BY License - http://creativecommons.org/licenses/by/3.0/
*
* @defgroup TridentView Trident Studio Representation classes
* @ingroup TridentStudio
* @{
*/
class BxBaseStudioFormsField exten... | PHP | upgrade/files/8.0.0.A10-8.0.0.A11/files/studio/template/scripts/BxBaseStudioFormsField.php | camperjz/trident | mit | 50,943 | 1,351 | codeparrot/github-code |
5a8d2f5c36fa97451b8cecff8698477fa911ca983f89be99f12669dd6c715fa9 | //
// LESS - Leaner CSS v1.0.36
// http://lesscss.org
//
// Copyright (c) 2010, Alexis Sellier
// Licensed under the Apache 2.0 License.
//
(function(y){function q(e){return y.less[e.split("/")[1]]}function U(){for(var e=document.getElementsByTagName("style"),b=0;b<e.length;b++)if(e[b].type.match(V))(new o.Parser).par... | JavaScript | vim/janus.symlink/gundo/site/less.js | WideEyeLabs/dotfiles | mit | 31,237 | 67 | codeparrot/github-code |
1c4d6023901e405f2cd3752da22a14bd16b9128d40b3d049ca023b12b6ca271e | #pragma once
#if HECL_HAS_NOD
#include <vector>
#include <string>
#include "ToolBase.hpp"
#include <cstdio>
#include "nod/DiscGCN.hpp"
#include "nod/DiscWii.hpp"
#include "athena/FileReader.hpp"
class ToolImage final : public ToolBase {
std::unique_ptr<hecl::Database::Project> m_fallbackProj;
hecl::Database::Pro... | C++ | hecl/driver/ToolImage.hpp | AxioDL/PathShagged | mit | 5,123 | 138 | codeparrot/github-code |
c5076a8083c23eea8123d1525b020b0c9004e0aca71aaf889194a7d21eb2e716 | using System;
using TrueCraft.API.Server;
using TrueCraft.API.World;
using TrueCraft.API.Entities;
using TrueCraft.API.Networking;
using System.ComponentModel;
using TrueCraft.Core.Entities;
using System.Linq;
using System.Threading.Tasks;
using TrueCraft.Core.Networking.Packets;
using TrueCraft.Core;
using System.Col... | C# | TrueCraft/EntityManager.cs | Mitch528/TrueCraft | mit | 14,105 | 325 | codeparrot/github-code |
142894ec268da65ad11c91436c096a3b82d23e8cb41f7ba191841dcf420aeee3 | /*
Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
Available via Academic Free License >= 2.1 OR the modified BSD license.
see: http://dojotoolkit.org/license for details
*/
if(!dojo._hasResource["dojox.lang.functional.curry"]){
dojo._hasResource["dojox.lang.functional.curry"]=true;
dojo.provide(... | JavaScript | src/main/webapp/js/dojox/lang/functional/curry.js | bjorns/logger | mit | 1,457 | 65 | codeparrot/github-code |
fad0aa81701cd10f9826ecd41b5e27ed6de3d83e08c2be9d58e2f04912eeabbe | #ifndef INCLUDED_CORE_I_PULSE_COMPONENT_H
#define INCLUDED_CORE_I_PULSE_COMPONENT_H
#include "component.h"
class IPulseComponent : public Component
{
public:
DEFINE_COMPONENT_BASE(IPulseComponent)
struct PulseDesc
{
// maximum duration this pulse goes in seconds
double mDuration = 0.0;
... | C | src/core/i_pulse_component.h | HalalUr/Reaping2 | mit | 1,558 | 55 | codeparrot/github-code |
3a39bd523c7d130db5a6326ab54bd6bab9c5913e6d589f98162c23c04e728676 | <?php
namespace OCA\OJSXC\Db;
use Sabre\Xml\Reader;
use Sabre\Xml\Writer;
use Sabre\Xml\XmlSerializable;
/**
* Class Message
*
* @package OCA\OJSXC\Db
* @method void setType($type)
* @method void setValue(array $value)
* @method string getType()
* @method array getValue()
*/
class Message extends Stanza impl... | PHP | lib/db/message.php | jsxc/jsxc.owncloud | mit | 756 | 46 | codeparrot/github-code |
41df96c8c93a3cfee8f31654f566453c0d33796e69475ffaba634637b550f632 | //---------------------------------------------------------------------
// <copyright file="PatchInstallation.cs" company="Microsoft Corporation">
// Copyright (c) 1999, Microsoft Corporation. All rights reserved.
// </copyright>
// <summary>
// Part of the Deployment Tools Foundation project.
// </summary>
//------... | C# | src/Microsoft.PackageManagement.MsiProvider/Deployment/WindowsInstaller/PatchInstallation.cs | KarolKaczmarek/PowerShell | mit | 16,568 | 431 | codeparrot/github-code |
b84690879d536ec378487f45c50337e14f3d9c94f15b6339cbf86d84b7279b74 | // 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.
using System.Diagnostics;
using System.Diagnostics.Contracts;
using System.Runtime.InteropServices.WindowsRuntime;
... | C# | src/System.Runtime.WindowsRuntime/src/System/IO/WinRtToNetFxStreamAdapter.cs | mokchhya/corefx | mit | 33,539 | 865 | codeparrot/github-code |
97dde667a95831fbc3bb431165d51216a4ca9dd0ce6042479b7f362003fa3e55 | /*
*
* history.js
* all the magic needed to save and load each entry
* that is made in the repl.
*
*/
var path = require('path');
var fs = require('fs');
module.exports = function setupHistory(repl, args) {
var f = path.join(args.path, '.lev_history');
try {
var history = fs.readFileSync(f, 'utf8');
... | JavaScript | lib/history.js | 0xxff/lev | mit | 675 | 36 | codeparrot/github-code |
afc2d2319c73c6ed7dcab0cc9268717f51df8f5916b5106afc43bfc0ad77bdc8 | <?php
/**
*
* Shipment table
*
* @package VirtueMart
* @subpackage Shipment
* @author RickG
* @link https://virtuemart.net
* @copyright Copyright (c) 2004 - 2010 VirtueMart Team. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
* VirtueMart is free software. This... | PHP | web2/administrator/components/com_virtuemart/tables/shipmentmethods.php | yaelduckwen/lo_imaginario | mit | 2,323 | 82 | codeparrot/github-code |
5e66097b0857c571ee3c69692a80b350b2aa2c55a5ad53c33b8018af4136ba95 | package edu.uic.ncdm.venn;
/*
* EVL temperature visualization.
*
* Copyright 2011 by Tuan Dang.
*
* The contents of this file are subject to the Mozilla Public 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://w... | Java | src/edu/uic/ncdm/venn/Venn_Overview.java | CreativeCodingLab/PathwayMatrix | mit | 9,632 | 311 | codeparrot/github-code |
69b5a03924c3099ed8cca9796cf5b1f4f366b708db9dff3967305ead02d7ba36 | /*
* Copyright (c) 2000 Andrew Ferguson <andrew@owsla.cjb.net>
* Copyright (c) 1998 Sasha Vasko <sasha at aftercode.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 ... | C | libAfterConf/Animate.c | born2late/afterstep-devel | mit | 6,888 | 269 | codeparrot/github-code |
7447ef7b3f7d620fe328f0addd07d1dc03bddde07a22e9a6f0d9090bca872389 | import _ = require('lodash');
import {CompositeDisposable, Subject, Observable, Disposable} from "rx";
import Omni = require('../../omni-sharp-server/omni')
import {dock} from "../atom/dock";
import {TestResultsWindow} from "../views/test-results-window";
import childProcess = require('child_process');
// Using this e... | TypeScript | lib/omnisharp-atom/features/run-tests.ts | joerter/omnisharp-atom | mit | 3,512 | 107 | codeparrot/github-code |
9e310e58f21a224ebf767d120fa7de52d9c4dc5261fd6d62d5f01ad2a2aecbe7 | /*************************************************************************/
/* method_bind.h */
/*************************************************************************/
/* This file is part of: */
/* ... | C | core/method_bind.h | azurvii/godot | mit | 10,095 | 349 | codeparrot/github-code |
0146ed20d11d49f74c91635d8aa50d85a895d821725abee3c4fcdc1860a5bd0a | # -*- coding: utf-8 -*-
from plexapi import utils
from plexapi.base import PlexObject
class PlayQueue(PlexObject):
""" Control a PlayQueue.
Attributes:
key (str): This is only added to support playMedia
identifier (str): com.plexapp.plugins.library
initpath (str): Rela... | Python | plexapi/playqueue.py | adamredfern92/PlexDownload | mit | 3,815 | 76 | codeparrot/github-code |
de7b71558bf97752ea0f19e12c9f342264c7da9749706497caf8730c87e56f1e | /* ===========================
Copyright (c) 2013 Philippe Tillet
UMinTL - Unconstrained Minimization Template Library
License : MIT X11 - See the LICENSE file in the root folder
* ===========================*/
#ifndef UMINTL_STOPPING_CRITERION_GRADIENT_TRESHOLD_HPP_
#define UMINTL_STOPPING_CRITERION_GRADIENT_... | C++ | umintl/stopping_criterion/gradient_treshold.hpp | canesin/umintl | mit | 958 | 38 | codeparrot/github-code |
ffc2ccfa42438f7410c0931d764469d9ad7f5b9b46c7e14e78fb044ae45f57e9 | //*********************************************************************************************************************
// All Winner Tech, All Right Reserved. 2014-2015 Copyright (c)
//
// File name : de_tr.c
//
// Description : display engine 2.0 transform processing base functions implement
//
// History :... | C | libwayland_for_mali/h64/sunxi/subdev/sun50iw1_transform.c | mosajjal/r6p2 | mit | 10,119 | 390 | codeparrot/github-code |
5778e51d8bf1af2d42f85cb05a0c17231e2ce760f66c99e0d5682cecc1540c81 | package com.aspose.cells.model;
public class CommentsResponse {
private Comments Comments = null;
private String Code = null;
private String Status = null;
/**
* getComments
* Gets Comments
* @return Comments
*/
public Comments getComments() {
return Comments;
}
/**
* setComments
* Sets C... | Java | SDKs/Aspose.Cells-Cloud-SDK-for-Java/src/main/java/com/aspose/cells/model/CommentsResponse.java | asposecells/Aspose_Cells_Cloud | mit | 1,283 | 73 | codeparrot/github-code |
bbf4bc7f799bd37f6a52eb032b1708583ca401e778a85c0e58cbeed4c71ef3c7 | tinymce.addI18n('zh_CN',{
"Redo": "\u91cd\u505a",
"Undo": "\u64a4\u9500",
"Cut": "\u526a\u5207",
"Copy": "\u590d\u5236",
"Paste": "\u7c98\u8d34",
"Select all": "\u5168\u9009",
"New document": "\u65b0\u6587\u4ef6",
"Ok": "\u786e\u5b9a",
"Cancel": "\u53d6\u6d88",
"Visual aids": "\u7f51\u683c\u7ebf",
"Bold": "\u7c97\u4f53... | JavaScript | tinymce/static/tinymce/langs/zh_CN.js | aljosa/django-tinymce | mit | 21,254 | 462 | codeparrot/github-code |
5bbb01744da7b71287166ec88ed1330913695ef16b53565b5983b73665de5f97 | var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
/* Tabulator v4.2.6 (c) Oliver Folkerd */
var So... | JavaScript | ajax/libs/tabulator/4.2.6/js/modules/sort.js | sufuf3/cdnjs | mit | 13,681 | 560 | codeparrot/github-code |
b6bf05f33402ca45d271cf49e579e6ff7bf72333eeef01159b3c1af9005c9b63 | /*
Copyright 2009-2013 Urban Airship 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:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the... | C | theGoodPush/libAirship/Airship/UI/Default/Push/Classes/Shared/UAMapPresentationController.h | hylander0/theGoodPush_iOS_Client | mit | 2,014 | 45 | codeparrot/github-code |
2637efb8793aacc1b7365e1d0efed9a5b77a2b0664c9ec8f87e8ffc3c61601a6 | /*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... | TypeScript | extensions/typescript/src/typescriptMain.ts | oneplus1000/vscode | mit | 8,621 | 228 | codeparrot/github-code |
52b65b2e4dca635a869e71b2705176b426eaf344168d1bc6a2a5345585e24f40 | // Type definitions for dockerode 2.5
// Project: https://github.com/apocas/dockerode
// Definitions by: Carl Winkler <https://github.com/seikho>
// Nicolas Laplante <https://github.com/nlaplante>
// ByeongHun Yoo <https://github.com/isac322>
// Ray Fang <https://github.c... | TypeScript | types/dockerode/index.d.ts | borisyankov/DefinitelyTyped | mit | 34,090 | 1,258 | codeparrot/github-code |
c33fa598772d1c4bbd7abd02261008210b2dddf0b38fbdc7a219b24e67d2fcb9 | /*************************************************************************/
/* pluginscript_language.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... | C++ | modules/gdnative/pluginscript/pluginscript_language.cpp | okamstudio/godot | mit | 14,488 | 438 | codeparrot/github-code |
96df198b54806ec115ea5ebd97961f1dc39f45f7611b92dc65c31cd228ddcdcf | <html><!-- Created using the cpp_pretty_printer from the dlib C++ library. See http://dlib.net for updates. --><head><title>dlib C++ Library - ranking_tools.h</title></head><body bgcolor='white'><pre>
<font color='#009900'>// Copyright (C) 2012 Davis E. King (davis@dlib.net)
</font><font color='#009900'>// License: B... | HTML | include/dlib-18.9/docs/dlib/svm/ranking_tools.h.html | eldilibra/mudsling | mit | 56,502 | 451 | codeparrot/github-code |
c52e6a095772f956c68b8d4f0cc9f2b4923582d10ae4f3e63afed99c1f8fb01c | require 'active_record'
class ActiveRecordArticle < ActiveRecord::Base
has_many :comments, :class_name => "ActiveRecordComment", :foreign_key => "article_id"
has_many :stats, :class_name => "ActiveRecordStat", :foreign_key => "article_id"
include Tire::Model::Search
include Tire::Model::Callbacks
tir... | Ruby | test/models/active_record_models.rb | fcheung/tire | mit | 2,980 | 123 | codeparrot/github-code |
d40244220e56fa2c6a7097bee3cae5b9ac7839c2646acc4a8248b60c4349a71d | /*
The MIT License
Copyright (c) 2012 by Jorrit Tyberghein
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, modify, merge... | C | include/iassetmanager.h | LaughingSun/ares | mit | 7,950 | 248 | codeparrot/github-code |
16822522c3c2563bef372d21fc276ac7063c99e6634ff82e8728205df68ed480 | /**
*/
package org.eclipse.vorto.core.api.model.mapping.impl;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.impl.ENotificationImpl;
import org.eclipse.vorto.core.api.model.mapping.InfoModelAttributeSource;
import org.eclipse.vorto.core.api.mode... | Java | bundles/org.eclipse.vorto.core/src/org/eclipse/vorto/core/api/model/mapping/impl/InfoModelAttributeSourceImpl.java | erlemantos/eclipse-vorto | epl-1.0 | 3,961 | 164 | codeparrot/github-code |
6874c087b33c540b4ffc54b35035bbc6f04b2fba2cc5de899c8921c30a3b816f | /*******************************************************************************
* Copyright (c) 2000, 2008 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, an... | Java | plugin-java/che-plugin-java-ext-java/src/test/java/org/eclipse/che/ide/ext/java/emul/Messages.java | riuvshin/che-plugins | epl-1.0 | 10,155 | 254 | codeparrot/github-code |
c503055e0f20b2187e41260390a162c1f24e33088ede00c7a70b4e894da51825 | /**
* Copyright © 2012 Akiban Technologies, Inc. All rights
* reserved.
*
* This program and the accompanying materials are made available
* under the terms of the Eclipse Public License v1.0 which
* accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* This progra... | Java | src/test/java/com/akiban/sql/parser/SQLParserTest.java | storyeah/sql-parser | epl-1.0 | 3,926 | 127 | codeparrot/github-code |
06f818e2a62161aafbe55a826ac321b4ae5ffda29e352fb77611dd62c707451e | /**
* Copyright 2005-2010 Noelios Technologies.
*
* The contents of this file are subject to the terms of one of the following
* open source licenses: LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL 1.0 (the
* "Licenses"). You can select the license that you prefer but you may not use
* this file except in compliance wi... | Java | org.mwc.asset.comms/docs/restlet_src/org.restlet.ext.httpclient/org/restlet/ext/httpclient/internal/HttpMethodCall.java | debrief/debrief | epl-1.0 | 12,500 | 368 | codeparrot/github-code |
f0cd832abd406c4a2db34ab37b06829b3420b66dc51939fe5cacd56449ff3d2c | /*******************************************************************************
* Copyright (c) 2012-2016 Codenvy, S.A.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available ... | Java | ide/che-core-ide-app/src/main/java/org/eclipse/che/ide/part/explorer/project/FoldersOnTopFilter.java | codenvy/che-core | epl-1.0 | 1,490 | 51 | codeparrot/github-code |
3b1de987a5c4e27ab26aeb39a9970bcce778df6007e8e71985a6070d45cc3f01 | /*
* Copyright (C) 2005-2013 Team XBMC
* http://xbmc.org
*
* This Program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* ... | C++ | xbmc/peripherals/devices/PeripheralNyxboard.cpp | cisco-open-source/kodi | gpl-2.0 | 2,020 | 65 | codeparrot/github-code |
6c640179aaa8d181eb24419635fe32c43966b6384290d95a8618ad3a513af5ca | /*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2002-2014 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2014 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(... | Java | opennms-config/src/main/java/org/opennms/netmgt/config/ViewsDisplayFactory.java | jeffgdotorg/opennms | gpl-2.0 | 7,330 | 243 | codeparrot/github-code |
dce8e6bf858a42f42f14c51a0a88b2a7ad9ad8e1e842ced97be5eef868793e1c | # This class takes the params from the DataTables javascript plugin and parses
# them so they can be used by our own ruby classes
class BsRequest
module DataTable
class ParamsParser
def initialize(requested_params)
@requested_params = requested_params
end
def parsed_params
{
... | Ruby | src/api/app/models/bs_request/data_table/params_parser.rb | ChrisBr/open-build-service | gpl-2.0 | 1,675 | 65 | codeparrot/github-code |
78a403816ac52668f86aa9f8dcfd5faaa00d231cf818afbd41bf51286a23bc66 | function Out-DataTable
{
<#
.SYNOPSIS
Creates a DataTable for an object
.DESCRIPTION
Creates a DataTable based on an object's properties.
.PARAMETER InputObject
One or more objects to convert into a DataTable
.PARAMETER NonNullable
A list of columns to set disable AllowDBNull on
.INPUTS
Object
... | PowerShell | Out-DataTable.ps1 | ITpixie/RamblingCookieMonster_PowerShell | gpl-2.0 | 5,848 | 193 | codeparrot/github-code |
8db61f223809b4121ae93d4c63decc202b38ffe498d007a5b1e1082c60cb39b6 | /* This file is part of the KDE project
Copyright (C) 2007 Matthias Kretz <kretz@kde.org>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License version 2 as published by the Free Software Foundation.
This library is distr... | C | qtopiacore/qt/src/3rdparty/kdelibs/phonon/addoninterface.h | liuyanghejerry/qtextended | gpl-2.0 | 2,326 | 86 | codeparrot/github-code |
d0293c7eb51d72c270a9c59928e3a2872a2dd01d78ddf4e0be1d6e751612462f | /*
* Copyright (c) 1999-2002, Darren Hiebert
*
* This source code is released for free distribution under the terms of the
* GNU General Public License version 2 or (at your option) any later version.
*
* This module contains functions for reading command line arguments.
*/
/*
* INCLUDE FILES
*/
#include "ge... | C | main/args.c | ffes/ctags | gpl-2.0 | 6,095 | 293 | codeparrot/github-code |
9ccbccb2f808a081d0a5d81780301aa1063bbea6b8ccadb3fe5e1641d6b414ce | /* 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/sci/engine/object.h | Risca/scummvm | gpl-2.0 | 10,239 | 386 | codeparrot/github-code |
7098db9b82cae3fac37ef0b148c6d923bc25f81770397f014321ed344be5a15a | /*
* This file is part of the coreboot project.
*
* Copyright (C) 2008-2009 coresystems GmbH
*
* 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; version 2 of the License.
*
* This program... | C | src/mainboard/google/rambi/mainboard_smi.c | jackun/coreboot | gpl-2.0 | 3,176 | 123 | codeparrot/github-code |
6874aaf6f8d2265719ca1aa129ce858725a0ede282b739606a208f7ae07e820e | /* e_fmodl.c -- long double version of e_fmod.c.
* Conversion to IEEE quad long double by Jakub Jelinek, jj@ultra.linux.cz.
*/
/*
* ====================================================
* Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
*
* Developed at SunPro, a Sun Microsystems, Inc. business.
... | C | sysdeps/ieee754/ldbl-128ibm/e_remainderl.c | pexip/os-eglibc | gpl-2.0 | 1,889 | 72 | codeparrot/github-code |
870977f82260d2fba9ae2ac85e89beb7d1097ff8bd3a3482a079cd1259fefc99 | // 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 | api/src/org/apache/cloudstack/api/command/user/vm/ResetVMSSHKeyCmd.java | ikoula/cloudstack | gpl-2.0 | 5,888 | 155 | codeparrot/github-code |
e68ea04e118b1ccfcf2d68f728dd6c700f772012df8b1be74faaf44d4708ec01 | //
// blocking_tcp_client.cpp
// ~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under 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)
//
#include <boost/asio/... | C++ | coflo-0.0.4/third_party/boost_1_48_0/libs/asio/example/timeouts/blocking_tcp_client.cpp | charlesDGY/coflo | gpl-2.0 | 9,034 | 242 | codeparrot/github-code |
616621024f44178203b3b9d93f6c5cbdd1c188142407c7ca6f5073a26044e5e1 | /****************************************************************************************
* Copyright (c) 2010 Sergey Ivanov <123kash@gmail.com> *
* Copyright (c) 2013 Alberto Villa <avilla@FreeBSD.org> *
* ... | C | src/musicbrainz/MusicBrainzTagsItem.h | mikatammi/amarok-spotify | gpl-2.0 | 3,292 | 76 | codeparrot/github-code |
416e13638550a5ea93e21c8d24359d43047bc808a6a1b312b39a495496e2439b |
#ifdef __cplusplus
double round(double a) throw();
double fmin(double a, double b) throw();
double fmax(double a, double b) throw();
#else
double round(double a);
double fmin(double a, double b);
double fmax(double a, double b);
#endif
void unif(double* r, int N, int inseed);
void gauss(double * g, int N, int seed);
v... | C | problems/bbob/benchmarkshelper.h | eexcalibur/partition_downhill_simplex | gpl-2.0 | 1,824 | 53 | codeparrot/github-code |
d600a7341778c41ae18988957613a5088eca9b0afa69f7aa7247c65854cdaca3 | /* linux/arch/arm/mach-exynos/setup-sdhci.c
*
* Copyright (c) 2010-2011 Samsung Electronics Co., Ltd.
* http://www.samsung.com
*
* EXYNOS4 - Helper functions for settign up SDHCI device(s) (HSMMC)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General P... | C | arch/arm/mach-exynos/setup-sdhci.c | sktjdgns1189/android_kernel_samsung_SHV-E220S | gpl-2.0 | 2,483 | 89 | codeparrot/github-code |
53def97a04596817d63faae907918f3f71e2db12cbb863e56b6d797a7d4a5452 | #ifndef PDB_H
#define PDB_H
#include <stdio.h>
#include <climits>
#include <string>
#include <queue>
#include <vector>
#include <unordered_set>
#include <iostream>
#include <fstream>
#include <list>
#include <algorithm>
#include <stdlib.h>
#include <time.h>
typedef unsigned char byte;
class node
{
public:
byte pos_c... | C | Busqueda/pdb_gen/24/gen_pdb.h | Sealos/AI | gpl-2.0 | 570 | 41 | codeparrot/github-code |
8932347ee05cd72bb8a490c5df9d1cff24ea689a29c4777cb2a3df54961be19d | /*
* Copyright (C) 2005-2012 Team XBMC
* http://www.xbmc.org
*
* This Program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
... | C++ | xbmc/input/ButtonTranslator.cpp | inn1983/teropi | gpl-2.0 | 53,191 | 1,355 | codeparrot/github-code |
7b7895cdccbde08717af2fa6587f24dc8887818992e8aac47c5a5f1b9c4c6272 | #!/usr/bin/env python
#############################################################################
##
## Copyright (C) 2010 Hans-Peter Jansen <hpj@urpla.net>.
## Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
## All rights reserved.
##
## This file is part of the examples of PyQt.
##
## $QT_BEGIN_... | Python | examples/draganddrop/delayedencoding/delayedencoding.py | Khilo84/PyQt4 | gpl-2.0 | 4,777 | 135 | codeparrot/github-code |
e2f38d625d92056d1393235f8d7238c9328d4ef2a0250424ef33b516d67c4854 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/kernel/qmetaobject.cpp:844 -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>QMetaProperty Class</title>
<style type="text/css"><!--
fn { margin... | HTML | doc/html/qmetaproperty.html | OS2World/LIB-QT3_Toolkit_Vbox | gpl-2.0 | 8,652 | 174 | codeparrot/github-code |
9a95299056e25ccc7ff501dd2deef0805207bbba4f7dec6d352d057c37500982 | package io.mycat.sqlengine;
import java.nio.ByteBuffer;
import java.util.List;
import java.util.concurrent.atomic.AtomicBoolean;
import java.util.concurrent.atomic.AtomicInteger;
import java.util.concurrent.locks.ReentrantLock;
import org.slf4j.Logger; import org.slf4j.LoggerFactory;
import io.mycat.manager.handler.... | Java | src/main/java/io/mycat/sqlengine/EngineCtx.java | gavin57688/Mycat-Server-1.6 | gpl-2.0 | 5,516 | 194 | codeparrot/github-code |
0b15b81dee8698839b2bacbc280032031d6b0f6769a253e8f8c95f4d58ec0c01 | // Copyright (C) 2020-2021 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published by the
// Free Software Foundation; either version 3, or (at your op... | C++ | libstdc++-v3/testsuite/25_algorithms/replace_copy_if/constrained.cc | Gurgel100/gcc | gpl-2.0 | 3,327 | 119 | codeparrot/github-code |
70320b11a51df3b5dd7542d82ddd022f298237ac623f13e5324c1b89bfe621ab | // Copyright 2014 Citra Emulator Project
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#pragma once
#include <cstring>
#include "common/common_types.h"
#include "common/swap.h"
#include "common/vector_math.h"
namespace Color {
/// Convert a 1-bit color component to 8 bit
c... | C | src/common/color.h | starlightknight/citra | gpl-2.0 | 7,869 | 272 | codeparrot/github-code |
04a93786a5f1a3057df47059114b8fdf466e903eedc356dcc558337fd74d4fb7 | --盗賊の極意
function c99351431.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(c99351431.target)
e1:SetOperation(c99351431.activate)
c:RegisterEffect(e1)
end
function c99351431.target(e,tp... | Lua | c99351431.lua | destdev/ygopro-scripts | gpl-2.0 | 1,854 | 47 | codeparrot/github-code |
ac5aa7149cb56a2de540f77a3334627cb51675f22e25daaded799192d1113ea4 | package edu.stanford.nlp.parser.server;
import java.io.IOException;
import edu.stanford.nlp.util.Lazy;
import junit.framework.TestCase;
import edu.stanford.nlp.net.Ports;
import edu.stanford.nlp.parser.common.ParserGrammar;
import edu.stanford.nlp.parser.lexparser.LexicalizedParser;
import edu.stanford.nlp.parser.sh... | Java | itest/src/edu/stanford/nlp/parser/server/LexicalizedParserServerITest.java | intfloat/CoreNLP | gpl-2.0 | 7,596 | 227 | codeparrot/github-code |
70feab8e976787ce9aa63d6133630966aaa3d01c0e53bd221c85c01cc146d82d | #/bin/env python
# -*-coding:utf8-*-
'''
# Any issues or improvements please contact jacob-chen@iotwrt.com
'''
import urllib
import json
if __name__ == '__main__':
choose = int(raw_input('1.write 2.read 3.edit 4.remove 5.history'))
domain = raw_input('domain(as 192.168.10.106:8000) : ')
sensor_i... | Python | PiBox/sh/datapoint_tools/num.py | wzyy2/PiBox | gpl-2.0 | 3,324 | 87 | codeparrot/github-code |
baae79525fed0795db874723c654a40e7384d56cfdb9c0b565d360ca57dc57f4 | /*
* This is the source code of Telegram for Android v. 3.x.x.
* It is licensed under GNU GPL v. 2 or later.
* You should have received a copy of the license in this archive (see LICENSE).
*
* Copyright Nikolai Kudashov, 2013-2017.
*/
package org.telegram.messenger.camera;
public final class Size {
public ... | Java | TMessagesProj/src/main/java/org/telegram/messenger/camera/Size.java | shazangroup/Mobograph | gpl-2.0 | 1,844 | 73 | codeparrot/github-code |
390623c77cf67068e96abfccd16e8b829668a6cd19101d5e76ca98ff47ef4d50 | /* Software floating-point emulation.
Convert a to 32bit signed integer
Copyright (C) 1997-2017 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Richard Henderson (rth@cygnus.com) and
Jakub Jelinek (jj@ultra.linux.cz).
The GNU C Library is free software; you can ... | C | soft-fp/fixdfsi.c | NicoleRobin/glibc | gpl-2.0 | 1,720 | 48 | codeparrot/github-code |
515c09a7992d166ceef1d276780691337de1b5662e68d5f1e3bcb7641ad1f882 | #include <QMenu>
#include <QAction>
#include <QGraphicsSceneMouseEvent>
#include <QDebug>
#include "cardzone.h"
#include "carditem.h"
#include "player.h"
#include "zoneviewzone.h"
#include "pb/command_move_card.pb.h"
#include "pb/serverinfo_user.pb.h"
CardZone::CardZone(Player *_p, const QString &_name, bool _hasCardA... | C++ | cockatrice/src/cardzone.cpp | ideocl4st/Cockatrice | gpl-2.0 | 9,091 | 267 | codeparrot/github-code |
bf6e87c874bef2995cec89ebbbe18b38653cb39bbbaf0a6fa2e1a7416017c10d | /** @file
* @gradient meshpatch class.
*/
/* Authors:
* Lauris Kaplinski <lauris@kaplinski.com>
* bulia byak
* Johan Engelen <j.b.c.engelen@ewi.utwente.nl>
* Jon A. Cruz <jon@joncruz.org>
* Tavmjong Bah <tavjong@free.fr>
*
* Copyright (C) 1999,2005 authors
* Copyright (C) 2010 Jon A. Cruz
* Copyrig... | C++ | src/sp-mesh-patch.cpp | tik0/inkscapeGrid | gpl-2.0 | 3,103 | 132 | codeparrot/github-code |
e57ce09186706951aa24fb1d0d101c6ac5becb0644785f5c8516c30a229029a7 | <?php
/**
* @package AkeebaBackup
* @copyright Copyright (c)2009-2016 Nicholas K. Dionysopoulos
* @license GNU General Public License version 3, or later
* @since 3.5
*/
// Protect from unauthorized access
defined('_JEXEC') or die();
use Akeeba\Engine\Platform;
use Akeeba\Engine\Factory;
class AkeebaMod... | PHP | administrator/components/com_akeeba/models/browsers.php | panickylemon/joomlastayn | gpl-2.0 | 3,208 | 136 | codeparrot/github-code |
a9944d29b5e766270772d6286655bf8aeca9170693af48613e5a7e1232764d8a | /* $OpenLDAP: pkg/ldap/libraries/liblunicode/ucdata/ucgendat.c,v 1.43 2008/01/07 23:20:05 kurt Exp $ */
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
*
* Copyright 1998-2008 The OpenLDAP Foundation.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or withou... | C | lib/libkrb5/lib/krb5/unicode/ucdata/ucgendat.c | rhuitl/uClinux | gpl-2.0 | 49,630 | 1,943 | codeparrot/github-code |
ba135210b684b128514ba0c4613c3eb3ab3db73faa1b613443608135dda6bd9e | /* -*- c++ -*- ----------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
https://www.lammps.org/, Sandia National Laboratories
Steve Plimpton, sjplimp@sandia.gov
Copyright (2003) Sandia Corporation. Under the terms of Contract
DE-AC04-... | C | src/reset_mol_ids.h | stanmoore1/lammps | gpl-2.0 | 1,775 | 75 | codeparrot/github-code |
6c52f7efc68a5e48a7e09ec38ede91df71c0a903b819bb11bb7cc9b91d72a1ef | /****************************************************************************
**
** Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies).
** Contact: Qt Software Information (qt-info@nokia.com)
**
** This file is part of the QtNetwork module of the Qt Toolkit.
**
** Commercial Usage
** Licensees holding val... | C++ | qtopiacore/qt/src/network/ssl/qsslerror.cpp | rk34cj/qt-extend-4.4.3 | gpl-2.0 | 10,290 | 301 | codeparrot/github-code |
850e1254be6305eeb91d47254bf09009c8b1e9c3144ca78931d1fa329b4955ee | /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* 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 l... | C | plugins/novatel/mm-plugin-novatel.c | E3V3A/ModemManager | gpl-2.0 | 4,117 | 113 | codeparrot/github-code |
00af0511f0648001520a9af8c15a07b2dad90b5c0907166d550b03d41079ae64 | /*
* Copyright 2006-2015 The MZmine 2 Development Team
*
* This file is part of MZmine 2.
*
* MZmine 2 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... | Java | src/main/java/net/sf/mzmine/modules/projectmethods/projectload/version_2_5/RawDataFileOpenHandler_2_5.java | DrewG/mzmine2 | gpl-2.0 | 11,117 | 309 | codeparrot/github-code |
2ef2ca9e882f22b67b10df42e1be3c2dfbe5fa95b01afc0a251eb8cd0f43a6e2 | /* BFD backend for SunOS binaries.
Copyright (C) 1990-2014 Free Software Foundation, Inc.
Written by Cygnus Support.
This file is part of BFD, the Binary File Descriptor library.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as... | C | bfd/sunos.c | gergap/binutils-gdb | gpl-2.0 | 87,684 | 2,846 | codeparrot/github-code |
0d72bf837824727d0a6661deb6dbb8ef19e195ea5b96c474cfb23380d96f360d | /*
* Author: illuz <iilluzen[at]gmail.com>
* File: AC_stack_n.cpp
* Create Date: 2015-09-07 19:07:22
* Descripton:
*/
#include <bits/stdc++.h>
using namespace std;
const int N = 0;
class Solution {
public:
int calculate(string s) {
stack<int> nums;
stack<int> signs;
int... | C++ | solutions/224.Basic_Calculator/AC_stack_n.cpp | yxping/leetcode | gpl-2.0 | 1,124 | 51 | codeparrot/github-code |
3f264249682aeb8b63180a96e317cc919a8677e06860bd628a76c63584e8c1dc | <?php
/***************************************************************
* Copyright notice
*
* (c) 2004-2007 René Fritz (r.fritz@colorcube.de)
* All rights reserved
*
* This script is part of the Typo3 project. The Typo3 project is
* free software; you can redistribute it and/or modify
* it under the terms of the ... | PHP | typo3conf/ext/static_info_tables/class.tx_staticinfotables_encoding.php | markochalupa/bsportal | gpl-2.0 | 2,703 | 76 | codeparrot/github-code |
a21d0fe283ae63730607e5a1c000d6eb625467ff8b77bb408dd307d523b42c2e | /* $Id$ */
/** @file
* IPRT - Multiprocessor Notifications, Ring-0 Driver, Generic Stubs.
*/
/*
* Copyright (C) 2008 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* you can redistribute it and/or modif... | C++ | src/VBox/Runtime/r0drv/generic/mpnotification-r0drv-generic.cpp | dezelin/vbox-haiku | gpl-2.0 | 1,968 | 66 | codeparrot/github-code |
2842b3d644eefc1668620ae081f1c4c0765b80c42fb80015bbcded6f7e5d2e9a | #ifndef _UMLBASEDEPLOYMENTVIEW_H
#define _UMLBASEDEPLOYMENTVIEW_H
#include "UmlItem.h"
#include "anItemKind.h"
#include <qcstring.h>
class UmlDeploymentView;
class UmlPackage;
// Manage the deployment views
class UmlBaseDeploymentView : public UmlItem {
public:
// returns a new deployment view named 's' crea... | C | genplugouts/xmi/UmlBaseDeploymentView.h | gregsmirnov/bouml | gpl-2.0 | 833 | 33 | codeparrot/github-code |
1f391044899c79fb73b30b4572b5a7fe02f79eae25fab8b40b890865c17408e0 | /*
* Copyright (c) 2010, 2013, 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 | src/jdk/nashorn/internal/objects/NativeJSAdapter.java | malaporte/kaziranga | gpl-2.0 | 27,712 | 749 | codeparrot/github-code |
ad0d20d5c0331407a6a0a4966b45e39001477ab3e29850877bf06b2ecd732cfa | /*
* Copyright (C) 2012, Samsung Electronics Co. Ltd. All Rights Reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any... | C | drivers/sensorhub/brcm/ssp_data.c | gundal/zerofltetmo | gpl-2.0 | 16,092 | 446 | codeparrot/github-code |
aefc356f273810916708a35cbca431f86f9fec0c97f07af563e6011f98df9986 | /*
* kernel/power/suspend.c - Suspend to RAM and standby functionality.
*
* Copyright (c) 2003 Patrick Mochel
* Copyright (c) 2003 Open Source Development Lab
* Copyright (c) 2009 Rafael J. Wysocki <rjw@sisk.pl>, Novell Inc.
*
* This file is released under the GPLv2.
*/
#include <linux/string.h>
#include <linu... | C | kernel/power/suspend.c | HTC-MSM8916/android_kernel_htc_msm8916 | gpl-2.0 | 10,038 | 419 | codeparrot/github-code |
1f38d72bc08cc2bca02de98e3a25da1f9325167fb67078a7f7c57717cd72248e | /*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2012 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2012 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(R) is... | Java | opennms-util/src/main/java/org/opennms/core/concurrent/WaterfallExecutor.java | qoswork/opennmszh | gpl-2.0 | 2,947 | 77 | codeparrot/github-code |
a18d580c73402ba0f51256d5f7f4a38e7578c0bf925be41da3bec5bacd3e925c | /*
* Copyright (c) 1997, 2009, 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 ... | C++ | src_orig/share/vm/adlc/filebuff.hpp | shchiu/hotspot | gpl-2.0 | 4,055 | 102 | codeparrot/github-code |
a5fadc4fe994d97afdc7de7610a3313cc06e0730ba0d4c854bf0730207924f72 | /*
* rt5639_ioctl.h -- RT5639 ALSA SoC audio driver IO control
*
* Copyright (c) 2011-2013 REALTEK SEMICONDUCTOR CORP. All rights reserved.
* Author: Bard Liao <bardliao@realtek.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License ... | C | sound/soc/codecs/rt5639_ioctl.c | sbdags/tf701t_kernel_source | gpl-2.0 | 13,966 | 482 | codeparrot/github-code |
3601bd74c1d857e2c28316d09a0ea1d07804f93a1289d80b86a4c7db75246a4d | /*
===========================================================================
Copyright (C) 2005 - 2015, ioquake3 contributors
Copyright (C) 2013 - 2015, OpenJK contributors
This file is part of the OpenJK source code.
OpenJK is free software; you can redistribute it and/or modify it
under the terms of the GNU Gener... | C++ | shared/sys/sys_win32.cpp | JACoders/OpenJK | gpl-2.0 | 12,552 | 594 | codeparrot/github-code |
a5a0123e78209f710c3c4d0fbd376e225dd8a5d56794224b8eca0114c4d24edd | /* Copyright (c) 2011, Code Aurora Forum. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope th... | C | drivers/media/video/msm_zsl/csi/msm_csid.c | eugene373/ApexqJB | gpl-2.0 | 10,291 | 352 | codeparrot/github-code |
c9acd6251ddcbf8939b1eebee5c6175e3227c6ad28ac26c9c83cf56873d52b30 | use std::ffi::CString;
use std::os::raw::c_char;
pub mod nom7 {
use nom7::bytes::streaming::{tag, take_until};
use nom7::error::{Error, ParseError};
use nom7::ErrorConvert;
use nom7::IResult;
/// Reimplementation of `take_until_and_consume` for nom 7
///
/// `take_until` does not consume t... | Rust | rust/src/common.rs | jasonish/suricata | gpl-2.0 | 3,662 | 124 | codeparrot/github-code |
7fd14b1226479f096e2bc5e56037edb21032937fe4e35c717692f9b3299101c9 | /*
* TriCore Baseboard System emulation.
*
* Copyright (c) 2013-2014 Bastian Koppelmann C-Lab/University Paderborn
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* versi... | C | hw/tricore/tricore_testboard.c | shannonz88/qemu | gpl-2.0 | 4,333 | 130 | codeparrot/github-code |
fc6d267a23d529fe6c6ee9a06288044f161e32144751bf629ea98f0ec5c20865 | /* Copyright (C) 2014 Jesper K. Pedersen <blackie@kde.org>
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This... | C++ | AndroidRemoteControl/Client.cpp | astifter/kphotoalbum-astifter-branch | gpl-2.0 | 1,997 | 69 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.