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 |
|---|---|---|---|---|---|---|---|---|
9667d9aebbe19bef2f1a1a107185d7ba99c435e83f8691b41ee0d26dac2f3601 |
module IB
module SimpleStop
extend OrderPrototype
class << self
def defaults
super.merge order_type: :stop
end
def aliases
super.merge aux_price: :price
end
def requirements
super.merge aux_price: 'Price where the action is triggert. Aliased as :price'
end... | Ruby | lib/ib/order_prototypes/stop.rb | ib-ruby/ib-ruby | lgpl-2.1 | 6,301 | 203 | codeparrot/github-code |
6d67374dd335e3f507e492d857a7128f671c6efc36afca8b3fc4210e5c274d11 | /* GTK - The GIMP Toolkit
* Copyright (C) 2011 Benjamin Otte <otte@gnome.org>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option... | C | gtk/gtkcssselector.c | Adamovskiy/gtk | lgpl-2.1 | 61,575 | 2,148 | codeparrot/github-code |
1628b9a12970c40b5e2370b2dade2a9b7c087a9819ae51790e72ab48ce48f498 | /*
Copyright (c) 2013, 2014 Daniel Vrátil <dvratil@redhat.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 lat... | C | server/src/search/searchrequest.h | xrg/akonadi | lgpl-2.1 | 2,319 | 84 | codeparrot/github-code |
9836cef372aedd1a120a3191504ffdcbb8acc97783994a1640c565db77419215 | /**
* Phoebe DOM Implementation.
*
* This is a C++ approximation of the W3C DOM model, which follows
* fairly closely the specifications in the various .idl files, copies of
* which are provided for reference. Most important is this one:
*
* http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/idl-definition... | C++ | src/dom/svgreader.cpp | step21/inkscape-osx-packaging-native | lgpl-2.1 | 18,248 | 750 | codeparrot/github-code |
635fc84a453dc72086506d4e1d42fea9bd7d61cdd74d0c0f05b6b9efa32bb91a | /****************************************************************************
**
** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the QtOpenGL module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** License... | C++ | src/opengl/qgl_x11.cpp | nonrational/qt-everywhere-opensource-src-4.8.6 | lgpl-2.1 | 64,669 | 1,908 | codeparrot/github-code |
c35e5a9e539e3117ed6a09fb38fa8572336f3cde0fe8fd751c7dd6a66b0f3e2b | /**************************************************************************
**
** This file is part of Qt Creator
**
** Copyright (c) 2011 Nokia Corporation and/or its subsidiary(-ies).
**
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** No Commercial Usage
**
** This file contains pre-release code and may not b... | C | src/plugins/texteditor/generichighlighter/highlighter.h | yinyunqiao/qtcreator | lgpl-2.1 | 6,976 | 208 | codeparrot/github-code |
94767dcbcce11ffb9ace0d36cee97e6a1b1a1774f3021677a4fd4ba44b74ee2e | /****************************************************************************
**
** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the QtDeclarative module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Li... | C++ | src/declarative/util/qdeclarativestate.cpp | nonrational/qt-everywhere-opensource-src-4.8.6 | lgpl-2.1 | 25,066 | 743 | codeparrot/github-code |
b449c9aaa7f800cd71dd9c0aef4f17fdbb008436f2de3ac40a36dd2cc32373a5 | package techcore
import "github.com/nsf/termbox-go"
type Color int
const (
ColorBlack Color = 1 << iota
ColorBlue
ColorCyan
ColorGreen
ColorMagenta
ColorRed
ColorWhite
ColorYellow
ColorAlpha
)
func (c Color) GetTermboxColor() termbox.Attribute {
switch c {
case ColorBlack:
return termbox.ColorBlack
ca... | GO | colors.go | christianap/TechCore | lgpl-2.1 | 730 | 43 | codeparrot/github-code |
c185996a0b64c1890d3212f983eac1cd02647c6ee682cf19542b03f0df6c83b5 | /****************************************************************************
**
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this f... | C++ | src/plugins/projectexplorer/ldparser.cpp | duythanhphan/qt-creator | lgpl-2.1 | 5,136 | 118 | codeparrot/github-code |
aa3bdb9a0ee5c8ac780a7733c49b675c1b1e230be8ac7a7691578a808e7b37a0 | #ifndef AVIO_H
#define AVIO_H
#include "patch.h"
/* output byte stream handling */
typedef INT64 offset_t;
/* unbuffered I/O */
typedef struct {
unsigned char *buffer;
int buffer_size;
unsigned char *buf_ptr, *buf_end;
void *opaque;
int (*read_packet)(void *opaque, UINT8 *buf, int buf_size);
... | C | video/libavformat/avio.h | pymedia/pymedia | lgpl-2.1 | 2,217 | 70 | codeparrot/github-code |
9de99839515c018c9e4766cf7c2638a7a94faef49e92ef759a3cf0f490029577 | /*
This file is part of the Grantlee template system.
Copyright (c) 2008 Stephen Kelly <steveire@gmail.com>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either version
2.1 of t... | C++ | textdocument/lib/texthtmlbuilder.cpp | cutelyst/grantlee | lgpl-2.1 | 11,981 | 465 | codeparrot/github-code |
8d1d093b346ae0f7c8b30855f5011fb9e851f02eb267217b7cc46fab286f869c | /******************************************************************************
* SOFA, Simulation Open-Framework Architecture, development version *
* (c) 2006-2017 INRIA, USTL, UJF, CNRS, MGH *
* *
... | C | applications/plugins/RigidScale/mapping/RigidScaleToRigidMultiMapping.h | FabienPean/sofa | lgpl-2.1 | 10,019 | 214 | codeparrot/github-code |
b770bc32d982180256981cafb928b3ad49ae4107f44612d00219c7c991ff8ff5 | /****************************************************************************
**
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the QtQml module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licensees ... | C | qt/qtdeclarative/src/qml/jsruntime/qv4context_p.h | CodeDJ/qt5-hidpi | lgpl-2.1 | 7,637 | 251 | codeparrot/github-code |
cf40617b8c189487e329c9fc97bfa1d59ec28c154783410b4151068628ec7ca9 | // ---------------------------------------------------------------------
//
// Copyright (C) 2004 - 2013 by the deal.II authors
//
// This file is part of the deal.II library.
//
// The deal.II library is free software; you can use it, redistribute
// it, and/or modify it under the terms of the GNU Lesser General
// Pu... | C++ | source/lac/petsc_vector.cc | flow123d/dealii | lgpl-2.1 | 2,571 | 123 | codeparrot/github-code |
52b90cf713632cdb5b8addeb4d64c7e94b79b5ada9cd21f447394110c8a395dd | <?php
class Provider_Ucloud extends Provider {
var $url_prefix = 'https://openapi.ucloud.com/ucloud/oauth/1.0a/';
function __construct($provider,$oauth_config){
parent::__construct($provider,$oauth_config);
}
function _getRequestTokenURL(){
return $url = $this->url_prefix.'request_token' ;
}
function _get... | PHP | application/libraries/oauth/provider/Provider_Ucloud.php | saegeul/saegeul | lgpl-2.1 | 5,256 | 151 | codeparrot/github-code |
a7773f4b6708beca62a83888b98e9534b5bed6436a07cc08c08b030d84df0c7e | /*
题目:定义Fibonacci 数列如下:
/ 0 n=0
f(n)= 1 n=1
\ f(n-1)+f(n-2) n=2
输入n,用最快的方法求该数列的第n 项。
分析:在很多C 语言教科书中讲到递归函数的时候,都会用Fibonacci 作为例子。
因此很多程序员对这道题的递归解法非常熟悉,但....呵呵,你知道的。。
ANSWER:
This is the traditional problem of application of mathematics...
let A=
{1 1}
{1 0}
f(n) = A^(n-1)[0,0]
this gives a O(log n) solution.
int f(int n)... | C | C/windows_c/src/Case019.c | lolodo/algorithm | lgpl-2.1 | 2,085 | 112 | codeparrot/github-code |
e16052355618e380d3c722b5a8b38e7babd422b80c6ed789657596b84ac65462 | /*
Copyright (C) 2018 Daniel Schultz
This file is part of FLINT.
FLINT is free software: you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License (LGPL) as published
by the Free Software Foundation; either version 2.1 of the License, or
(at your option)... | C | nmod_mpoly/mpolyd.c | wbhart/flint2 | lgpl-2.1 | 10,274 | 426 | codeparrot/github-code |
f54c858e51650fea7de7a80fa2906e70f939571e9b23003c31ad14c8ebadaa3d | /****************************************************************************
**
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the QtDeclarative module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Li... | C++ | src/declarative/debugger/qpacketprotocol.cpp | kobolabs/qtquick1 | lgpl-2.1 | 15,319 | 559 | codeparrot/github-code |
d2bd2adc3e335a21d816b2c2d6c657ad3ccc44011f6cde341278492af01cbb07 | asynctest(
'browser.tinymce.core.keyboard.BoundaryLocationTest',
[
'ephox.agar.api.Assertions',
'ephox.agar.api.GeneralSteps',
'ephox.agar.api.Logger',
'ephox.agar.api.Pipeline',
'ephox.agar.api.Step',
'ephox.katamari.api.Fun',
'ephox.sugar.api.dom.Hierarchy',
'ephox.sugar.api.node.E... | JavaScript | src/core/src/test/js/browser/keyboard/BoundaryLocationTest.js | MediehusetTek/tinymce | lgpl-2.1 | 11,571 | 216 | codeparrot/github-code |
db4812d4f7f74966d6d80d19510bd8251e92339a34879088f23ee429c00d7055 | package com.digitalcraftinghabitat.forgemod.util;
import org.apache.logging.log4j.Level;
import cpw.mods.fml.relauncher.FMLRelaunchLog;
/**
* Created by christopher on 02/08/15.
*/
public class DCHLog {
public static final FMLRelaunchLog INSTANCE = FMLRelaunchLog.log;
private DCHLog(){
}
publi... | Java | src/main/java/com/digitalcraftinghabitat/forgemod/util/DCHLog.java | digital-crafting-habitat/dch_forge_mod | lgpl-2.1 | 1,264 | 55 | codeparrot/github-code |
4d241bb6ccf466f7e3926dabdbf72552f7ab3808f0c98c9cd63e832428c85b02 | /* -*- mode: C++ ; c-file-style: "stroustrup" -*- *****************************
* Qwt Widget Library
* Copyright (C) 1997 Josef Wilgen
* Copyright (C) 2002 Uwe Rathmann
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the Qwt License, Version 1.0
**************... | C++ | src/qwt_spline.cpp | spetroce/qwt | lgpl-2.1 | 31,139 | 1,179 | codeparrot/github-code |
d70f6c0361f38c609135dc30aed2eafd13dd153f605f77e780683954207138b1 | /**
* Encodes and decodes to and from Base64 notation.
*
* <p>
* Change Log:
* </p>
* <ul>
* <li>v2.1 - Cleaned up javadoc comments and unused variables and methods. Added
* some convenience methods for reading and writing to and from files.</li>
* <li>v2.0.2 - Now specifies UTF-8 encoding in places where ... | Java | applet/src/main/java/Base64.java | Chandrashar/jradius | lgpl-2.1 | 53,360 | 1,450 | codeparrot/github-code |
ff895234f82be7c2d23aa941cba518f34a67f2572420c0bac4918fe3606e8fcd | /* radare - LGPL - Copyright 2010-2019 - pancake, maijin */
#include <r_types.h>
#include <r_list.h>
#include <r_flag.h>
#include <r_core.h>
#define USE_R2 1
#include <spp/spp.h>
static bool is_valid_project_name(const char *name) {
int i;
if (r_str_endswith (name, ".zip")) {
return false;
}
for (i = 0; name[i]... | C | libr/core/project.c | ret2libc/radare2 | lgpl-3.0 | 23,220 | 939 | codeparrot/github-code |
9e0cf699e3b12918ec8f4418ead51f8cdd07ebb9b07d0eb887adc944458eede9 | // -*- mode: c++; c-basic-style: "bsd"; c-basic-offset: 4; -*-
/*
* ecore/EParameterImpl.cpp
* Copyright (C) Cátedra SAES-UMU 2010 <andres.senac@um.es>
*
* EMF4CPP 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 Softw... | C++ | emf4cpp/ecore/EParameterImpl.cpp | wurfkeks/emf4cpp | lgpl-3.0 | 7,908 | 246 | codeparrot/github-code |
e1e48a9592d8352d9fec1f2b6ac689ce9644433d91fd4c845cab726fe20b7f73 | /*
* FindBugs - Find bugs in Java programs
* Copyright (C) 2003,2004 University of Maryland
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, ... | Java | 3rdparty/findbugs086src/src/java/edu/umd/cs/findbugs/detect/NoteSuppressedWarnings.java | simeshev/parabuild-ci | lgpl-3.0 | 4,473 | 131 | codeparrot/github-code |
b626752349382f116fdb504f6f0e164eacfaf731227d333c6de52bd802105637 | /**
* Copyright 2005-2007 ECMWF
*
* Licensed under the GNU Lesser General Public License which
* incorporates the terms and conditions of version 3 of the GNU
* General Public License.
* See LICENSE and gpl-3.0.txt for details.
*/
/***************************************************************************
* Enrico ... | C | src/action_class_write.c | erdc-cm/grib_api | lgpl-3.0 | 5,456 | 193 | codeparrot/github-code |
c9a939132e19e5b5258c774483cba9bb99a39a3dc526eb01538c3668b7f0c4c8 | //
// MenuTest.cs: Test cases for Menu, MainMenu
//
// Author:
// Ritvik Mayank (mritvik@novell.com)
//
// (C) 2005 Novell, Inc. (http://www.novell.com)
//
using System;
using System.Windows.Forms;
using System.Drawing;
using System.Reflection;
using NUnit.Framework;
namespace MonoTests.System.Windows.Forms
{
[Tes... | C# | class/Managed.Windows.Forms/Test/System.Windows.Forms/MenuTest.cs | edwinspire/VSharp | lgpl-3.0 | 3,873 | 141 | codeparrot/github-code |
642bfb67dff73ae20b449bf1c8f284c3c51c979c20729e37e977a1ea8afdfa83 | using System;
using System.Net;
using System.Net.Sockets;
using JetBrains.Annotations;
using NetMQ.Sockets;
namespace NetMQ
{
/// <summary>
/// A NetMQBeaconEventArgs is an EventArgs that provides a property that holds a NetMQBeacon.
/// </summary>
public class NetMQBeaconEventArgs : EventArgs
{
... | C# | src/NetMQ/NetMQBeacon.cs | NetMQ/NetMQ3-x | lgpl-3.0 | 18,650 | 525 | codeparrot/github-code |
6bfe1df93d0914432c6c026b4cf45efe6dfc380145d974ba7488e71991997678 | ///////////////////////////////////////////////////////////////////////////////
// Name: src/msw/gdiplus.cpp
// Purpose: implements wrappers for GDI+ flat API
// Author: Vadim Zeitlin
// Created: 2007-03-14
// Copyright: (c) 2007 Vadim Zeitlin <vadim@wxwindows.org>
// Licence: wxWindows ... | C++ | thirdparty/wxWidgets-3.0.0/src/msw/gdiplus.cpp | dariusliep/LogViewer | lgpl-3.0 | 85,342 | 923 | codeparrot/github-code |
1fb5664d435efecd9897c2e6b3e9ebbea5c29d21a3c0983dc55a79e813b08812 | /****************************************************************************
**
** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the QtNetwork of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** GNU... | C++ | qt-everywhere-opensource-src-4.7.4/src/network/kernel/qnetworkinterface_symbian.cpp | ssangkong/NVRAM_KWU | lgpl-3.0 | 9,698 | 239 | codeparrot/github-code |
5c2c32e7d20f590de1f58f559e02d7ba0cc595b859f0a57c6e8ae57f42570ad4 | <?php
class boxberryShippingSettingsCountriesValidateController extends waJsonController
{
public function execute()
{
$selected_countries = waRequest::post('selected_countries', array(), waRequest::TYPE_ARRAY);
$all_countries = waRequest::post('all_countries', 1, waRequest::TYPE_INT);
... | PHP | wa-plugins/shipping/boxberry/lib/actions/settings/boxberryShippingSettingsCountriesValidate.controller.php | webasyst/webasyst-framework | lgpl-3.0 | 1,590 | 36 | codeparrot/github-code |
a98c1cf9edae1b763d9009800121d8bab6ea04a61fb2569f7218663bf061b6a9 | // Catalano Imaging Library
// The Catalano Framework
//
// Copyright © Diego Catalano, 2015
// diego.catalano at live.com
//
// Copyright © Andrew Kirillov, 2007-2008
// andrew.kirillov@gmail.com
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU... | Java | Catalano.Image/src/Catalano/Imaging/Filters/FrequencyFilter.java | cswaroop/Catalano-Framework | lgpl-3.0 | 3,541 | 116 | codeparrot/github-code |
73cd04b3452cdc35ebe1bc7d0d6861b4cd58fa341a816eb8e506daa1b65ebf72 | /*
* Copyright 2009-2014 PrimeTek.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | Java | htmlOffiline/Volverine/tag/src/main/java/org/primefaces/adamantium/view/data/datatable/ColumnsView.java | salviof/SBJSFComp | lgpl-3.0 | 3,441 | 124 | codeparrot/github-code |
21d5bb7b27feb629a6ea464c6918342b7c0de511df3103370831133e28649f16 | <form action="action.php" method="post" target="postframe">
<table width="100%" class="table">
<colgroup>
<col width="200" />
<col />
</colgroup>
<tr class="tableheader"><td colspan="2">{LANG[TITLE_GALLERY_ADD]}</td></tr>
{if SET_GALLERY_SUBGALS}<tr>
<td>{LANG[CREATEIN]}:</td>
<td><select name="parent" onchange="refres... | HTML | src/modules/gallery/admin/add.html | White4Shadow/open-apexx | lgpl-3.0 | 4,630 | 100 | codeparrot/github-code |
abe19129aa325ea7b7e3bb266c014e567399fe0fec57d56cac20c387e954c9c7 | package es.uvigo.esei.sing.bdbm.gui.configuration;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.File;
import java.util.EventListener;
import java.util.EventObject;
import java.util.concurrent.Callable;
import javax.swing.AbstractAction;
import javax.swing.GroupLayout;
import... | Java | gui/es/uvigo/esei/sing/bdbm/gui/configuration/ConfigurationPanel.java | mrjato/BDBM | lgpl-3.0 | 16,988 | 534 | codeparrot/github-code |
225d180bcb3b5cab194ef65dae8ad02c4e55104b33662296ad18e5c0360aba8d | /* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Copyright (c) 2016,2017 The plumed team
(see the PEOPLE file at the root of the distribution for a list of names)
See http://www.plumed.org for more information.
This file is part of plumed, version 2.
plumed is free software... | C++ | src/reference/IntermolecularDRMSD.cpp | JFDama/plumed2 | lgpl-3.0 | 2,489 | 69 | codeparrot/github-code |
43e71ce4320fe7798282f34abc503f7c9badc09c0f7d75c8d5dfa2d18863c624 | /*
* SonarQube, open source software quality management tool.
* Copyright (C) 2008-2014 SonarSource
* mailto:contact AT sonarsource DOT com
*
* SonarQube 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 Found... | Java | server/sonar-server/src/main/java/org/sonar/server/batch/GlobalAction.java | ayondeep/sonarqube | lgpl-3.0 | 4,163 | 113 | codeparrot/github-code |
8b02558ff5b6a36cd228055011e95a32552c291a0f4d2d82bd87d761502fda8c | package spitter.web;
import static org.hamcrest.Matchers.*;
import static org.mockito.Mockito.*;
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.*;
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.*;
import static org.springframework.test.web.servlet.setu... | Java | spring/springinaction/SpringInActionExamples/Chapter_06/thymeleaf/src/test/java/spitter/web/SpittleControllerTest.java | qiqjiao/study | lgpl-3.0 | 3,786 | 99 | codeparrot/github-code |
50423668a2d82974edf8643c048df44dddaa8f19216bc8f57390d2ea8e59fcaa | using Microsoft.AspNetCore.Authentication;
using Microsoft.Extensions.DependencyInjection.Extensions;
using Microsoft.Extensions.Options;
using Sustainsys.Saml2.AspNetCore2;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Microsoft.Extensio... | C# | Sustainsys.Saml2.AspNetCore2/Saml2AuthExtensions.cs | KentorIT/authservices | lgpl-3.0 | 3,183 | 83 | codeparrot/github-code |
4ec9c62c859b4a2e2061c3282fd241078fb6245174633247fccfd41a6d303499 | // <copyright file="ExpansionCase.cs" company="Allors bvba">
// Copyright (c) Allors bvba. All rights reserved.
// Licensed under the LGPL license. See LICENSE file in the project root for full license information.
// </copyright>
namespace Autotest.Html
{
using System.Linq;
using Autotest.Angular;
using N... | C# | Core/Workspace/Scaffold/Model/Core/Html/ExpansionCase.cs | Allors/platform | lgpl-3.0 | 1,468 | 53 | codeparrot/github-code |
fd1bdfaa2b9d41a9c8a2eabba3f9607231e4edfbd17528edfae12d2c3e2bba2b | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html xmlns="http://www.w3.org/TR/xhtml1/strict">
<head>
<title>Quick Start HowTo</title>
<!--
Copyright 1999-2004 The Apache Software Foundation
Licensed under the Apache License, Version 2.0 (the "License");
you may ... | HTML | 3rdparty/tomcat4131/webapps/tomcat-docs/jk2/jk/printer/quickhowto.html | simeshev/parabuild-ci | lgpl-3.0 | 11,308 | 366 | codeparrot/github-code |
8704a94c05ce24582df956ba148354493dacff315483c4ecfeb546cdf391dee8 | //
// System.Drawing.Design.ToolboxService
//
// Authors:
// Sebastien Pouliot <sebastien@ximian.com>
//
// Copyright (C) 2007 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Softwar... | C# | class/System.Drawing.Design/System.Drawing.Design/ToolboxService.cs | edwinspire/VSharp | lgpl-3.0 | 7,694 | 309 | codeparrot/github-code |
626783bac6c788a08c3de0b4bdfd99f7932356d12786da58b51143eaa4325ec9 | <?php
/*
*
* ____ _ _ __ __ _ __ __ ____
* | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \
* | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) |
* | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/
* |_| \___/ \___... | PHP | src/item/Potato.php | JackNoordhuis/PocketMine-MP | lgpl-3.0 | 1,081 | 43 | codeparrot/github-code |
6e2091b5e5f3af3a30e1328af59e3420ff23b5281fe6b49720fd5d4e088b2256 | // Copyright (c) 2012-2015, The CryptoNote developers, The Bytecoin developers
//
// This file is part of Bytecoin.
//
// Bytecoin 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 t... | C | src/P2p/PeerListManager.h | richieledude/poopcoin | lgpl-3.0 | 3,479 | 99 | codeparrot/github-code |
c88bd3821e20af876e155c4a7266247f1f5b9f992470b4c98cc1b144a214b083 | //
// System.Net.WebResponse
//
// Author:
// Lawrence Pit (loz@cable.a2000.nl)
//
//
// 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
// withou... | C# | v#/System/System.Net/WebResponse.cs | edwinspire/VSharp | lgpl-3.0 | 3,611 | 142 | codeparrot/github-code |
8de1cd7d5bc66fd5aad8867bd5b98dc3e710e7a4a9c59aa0b9a717c9b748ddb6 | #Special rules for nouns, to avoid suggesting wrong lemmas. Nothing is done for other POS.
import pymorphy2
blacklist1 = ['ъб', 'ъв', 'ъг', 'ъд', 'ъж', 'ъз', 'ък', 'ъл', 'ъм', 'ън', 'ъп', 'ър', 'ъс', 'ът', 'ъф', 'ъх', 'ъц', 'ъч', 'ъш', 'ъщ', 'йй', 'ьь', 'ъъ', 'ыы', 'чя', 'чю', 'чй', 'щя', 'щю', 'щй', 'шя', 'шю', 'шй',... | Python | gdictionary/postprocessing.py | azilya/Zaliznyak-s-grammatical-dictionary | lgpl-3.0 | 6,924 | 128 | codeparrot/github-code |
f736a8d2534bf7153ed8b13a6321111c37464733e97224045685f2a0efb9a949 | /*
{{ jtdavids-reflex }}
Copyright (C) 2015 Jake Davidson
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is dist... | Java | jtdavids-reflex/src/main/java/com/example/jake/jtdavids_reflex/StatisticCalc.java | jtdavids/jtdavids-reflex | lgpl-3.0 | 8,131 | 192 | codeparrot/github-code |
8a97e172f4927322aa9945439b4ab75c092318e0885ffbe0c84f552055aae1d2 | /****************************************************************************
**
** Jreen
**
** Copyright © 2012 Ruslan Nigmatullin <euroelessar@yandex.ru>
**
*****************************************************************************
**
** $JREEN_BEGIN_LICENSE$
** Jreen is free software: you can redistribute it and/... | C | src/experimental/jingletransportice_p.h | nico-izo/jreen | lgpl-3.0 | 2,767 | 100 | codeparrot/github-code |
0191cb0e7aa4991dfac99335bc848b182cfaa5e7ef87f97f914edbd6ac39a8c6 | using System.Data.Entity;
using System.Linq;
namespace EntityProfiler.Tools.MessageGenerator
{
public sealed class AppDbContext : DbContext {
public DbSet<Product> Products { get; set; }
public DbSet<Price> Prices { get; set; }
/// <summary>
/// Constructs a new context instance ... | C# | tools/EntityProfiler.Tools.MessageGenerator/AppDbContext.cs | julianpaulozzi/EntityProfiler | lgpl-3.0 | 1,818 | 48 | codeparrot/github-code |
c6a0c10def785c0beaef112427b752fa600840a3686058beff6fef3ece6144ef | // -*- SystemC -*-
// DESCRIPTION: Verilator Example: Top level main for invoking SystemC model
//
// This file ONLY is placed under the Creative Commons Public Domain, for
// any use, without warranty, 2017 by Wilson Snyder.
// SPDX-License-Identifier: CC0-1.0
//========================================================... | C++ | examples/make_tracing_sc/sc_main.cpp | verilator/verilator | lgpl-3.0 | 4,137 | 140 | codeparrot/github-code |
fad6a64ef0c76d7dc988411a3c0c45e51507c15fb49d558f43aff391d15f375a | /*
pkTriggerCord
Copyright (C) 2011-2014 Andras Salamon <andras.salamon@melda.info>
Remote control of Pentax DSLR cameras.
Support for K200D added by Jens Dreyer <jens.dreyer@udo.edu> 04/2011
Support for K-r added by Vincenc Podobnik <vincenc.podobnik@gmail.com> 06/2011
Support for K-30 added b... | C | pslr_model.h | samop/pktriggercord | lgpl-3.0 | 5,197 | 153 | codeparrot/github-code |
6455b645cefbdc8ddf95b5d728b42aba38b416d513f7008cc75b4eb14398d737 | #pragma once
#include "SamplingMethod.h"
namespace PcapDotNet { namespace Core
{
/// <summary>
/// This sampling method defines that we have to return 1 packet every given time-interval.
/// In other words, if the interval is set to 10 milliseconds, the first packet is returned to the caller; the next re... | C | its/PcapDotNet-71480/PcapDotNet.Core/SamplingMethodFirstAfterInterval.h | peterstevens130561/sonarlint-vs | lgpl-3.0 | 1,850 | 46 | codeparrot/github-code |
486411ae59b21582fe61951a70240b8e5e965ddd10d7026e29bb09e3149cc3f4 | /**
* <copyright>
* </copyright>
*
* $Id$
*/
package orgomg.cwm.analysis.olap.impl;
import java.util.Collection;
import org.eclipse.emf.common.notify.NotificationChain;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.InternalEObject;
... | Java | plugins/org.dresdenocl.tools.CWM/src/orgomg/cwm/analysis/olap/impl/LevelBasedHierarchyImpl.java | dresden-ocl/dresdenocl | lgpl-3.0 | 4,857 | 170 | codeparrot/github-code |
5ba106641cb002d3b1a78432cdf6f252bffea9be372261bba6346146262e8997 | ///////////////////////////////////////////////////////////////////////////////
// Name: src/ribbon/gallery.cpp
// Purpose: Ribbon control which displays a gallery of items to choose from
// Author: Peter Cawley
// Modified by:
// Created: 2009-07-22
// Copyright: (C) Peter Cawley
// Licenc... | C++ | thirdparty/wxWidgets-3.0.0/src/ribbon/gallery.cpp | dariusliep/LogViewer | lgpl-3.0 | 25,662 | 871 | codeparrot/github-code |
4d7f9e9f752b90d7eedac77a60c5e5f14a37f14293e7688228d1a9e003b23d69 | package com.wavpack.decoder;
import java.io.RandomAccessFile;
/*
** WavpackContext.java
**
** Copyright (c) 2007 - 2008 Peter McQuillan
**
** All Rights Reserved.
**
** Distributed under the BSD Software License (see license.txt)
**
*/
public class WavpackContext {
Wavpac... | Java | dependencies/wavpack/src/main/java/com/wavpack/decoder/WavpackContext.java | jacky8hyf/musique | lgpl-3.0 | 1,036 | 41 | codeparrot/github-code |
72801ed3ba237906c28c10b6d7195cc1a853e8c946730d491a265e3af24849b5 | /**
* 基于jquery.select2扩展的select插件,基本使用请参考select2相关文档
* 默认是多选模式,并提供了input模式下的初始化方法,对应的数据格式是{ id: 1, text: "Hello" }
* 这里的参数只对扩展的部分作介绍
* filter、includes、excludes、query四个参数是互斥的,理论只能有其一个参数
* @method ibosSelect
* @param option.filter
* @param {Function} option.filter 用于过滤源数据的函数
* @param {Array} option.includes... | JavaScript | static/js/src/base/ibos.select2.js | SeekArt/IBOS | lgpl-3.0 | 4,358 | 164 | codeparrot/github-code |
5c5db87647c8b93bf2684934fd6f9ee602359bfe6910c8996fec300a8b3057fc | #include <cstdio>
#include <cstring>
#define MAXX 50
#define MAXY 50
#define MAXLEN 100
#define Zero(v) memset((v), 0, sizeof(v))
int X, Y;
char ins[MAXLEN + 1];
int x, y, d;
bool scent[MAXX + 1][MAXY + 1];
const char dirs_str[] = "NESW";
const int dirs[4][2] = {
{ 0, 1 },
{ 1, 0 },
{ 0, -1 },
... | C++ | solved/l-n/mutant-flatworld-explorers/explorers.cpp | lbv/pc-code | unlicense | 1,276 | 76 | codeparrot/github-code |
debd73e7442b05b1488485a5c478101e8e252dc532e1b4639b50c8f1c72dc5b1 | import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
function Square(props) {
return (
<button className="square" onClick={props.onClick}>
{props.value}
</button>
);
}
class Board extends React.Component {
renderSquare(i) {
return (
<Square
value={thi... | JavaScript | HTML/前端/my-react-app-spring-boot-yao/src/index.js | xiaoxiaoyao/MyApp | unlicense | 2,690 | 127 | codeparrot/github-code |
2c7e3e4a06e5593dd40d30f2539831e46a6435a3f4ac524777390dd6e511b0df | /**********************************************************************************
Copyright (C) 2012 Syed Reza Ali (www.syedrezaali.com)
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software w... | C | ciUI/src/ciUIRotarySlider.h | Grulfen/air_guitar | unlicense | 13,486 | 482 | codeparrot/github-code |
67a2b38a1f8d0315ca10d4a61be29d9306fb9a4ee21ccaef56d897fa9fbeb208 | require('babel-core/register')({plugins: ['babel-plugin-rewire']})
import packageJson from '../package.json'
import conformToMask from '../src/conformToMask'
import {placeholderChar} from '../src/constants'
const createTextMaskInputElement = (isVerify()) ?
require(`../${packageJson.main}`).createTextMaskInputElemen... | JavaScript | core/test/createTextMaskInputElement.spec.js | CrisDan1905/text-mask | unlicense | 13,794 | 364 | codeparrot/github-code |
a03e52a99f633e55e51fdf350983713d43c43d15ed4918282b9f0d48143670d2 | #include "buffer_manager.hh"
#include "assert.hh"
#include "buffer.hh"
#include "client_manager.hh"
#include "exception.hh"
#include "file.hh"
#include "ranges.hh"
#include "string.hh"
namespace Kakoune
{
BufferManager::~BufferManager()
{
// Move buffers to avoid running BufClose with buffers remaining in that l... | C++ | src/buffer_manager.cc | casimir/kakoune | unlicense | 3,157 | 119 | codeparrot/github-code |
fdda2f84beed939ff7ca15fed5d717a6218bb70ca326ad42d103122a0c5856c7 | //
// Mixer.h
// Tonic
//
// Created by Nick Donaldson on 2/9/13.
//
// See LICENSE.txt for license and usage information.
//
//! A mixer is like an adder but acts as a source and allows dynamic removal
#ifndef __Tonic__Mixer__
#define __Tonic__Mixer__
#include "Synth.h"
#include "CompressorLimiter.h"
using s... | C | src/Tonic/Mixer.h | TonicAudio/ofxTonic | unlicense | 1,553 | 81 | codeparrot/github-code |
cb6412c26a954fd565150cc6941f4bb7e162fda17dccd6144d80a42c2e208ca3 | // Implements http://rosettacode.org/wiki/N-queens_problem
#![feature(test)]
extern crate test;
use std::vec::Vec;
use std::thread::spawn;
use std::sync::mpsc::channel;
#[cfg(test)]
use test::Bencher;
#[cfg(not(test))]
fn main() {
for num in 0i32..16 {
println!("Sequential: {}: {}", num, n_queens(num));... | Rust | src/n_queens.rs | ghotiphud/rust-rosetta | unlicense | 5,630 | 164 | codeparrot/github-code |
12b3becdee665ed369b4effaa1e8f05d4a3fd1cca82bfc991faba0470dfafd62 | /*
* 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")... | Java | core/metamodel/src/main/java/org/apache/isis/core/metamodel/facets/object/callbacks/remove/RemovingCallbackFacetViaMethod.java | kidaa/isis | apache-2.0 | 2,249 | 76 | codeparrot/github-code |
d768b7f8de22f9d687917512ad632780a9d976f9e658d04c6dbbbadeef448c53 | <!DOCTYPE html>
<html itemscope lang="en-us">
<head><meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta charset="utf-8">
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta name="g... | HTML | static/events/2017-vancouver/registration/index.html | gomex/devopsdays-web | apache-2.0 | 15,806 | 243 | codeparrot/github-code |
0f689e95d2cdd6fd35b804bf274bf8292d986379e8b46c86cc89dae14b195d14 | /* Copyright 2020 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
... | C++ | projects/xpdf/fuzz_pdfload.cc | skia-dev/oss-fuzz | apache-2.0 | 3,787 | 129 | codeparrot/github-code |
76df1321c2eac4b10303b7c9be4b5f9a910cb355391a8717a5901b1490cb7d13 | using System;
using System.IO;
using EnvDTE;
namespace NuGet.VisualStudio
{
public class NativeProjectSystem : VsProjectSystem
{
public NativeProjectSystem(Project project, IFileSystemProvider fileSystemProvider)
: base(project, fileSystemProvider)
{
}
public overr... | C# | src/VisualStudio/ProjectSystems/NativeProjectSystem.cs | chester89/nugetApi | apache-2.0 | 2,945 | 90 | codeparrot/github-code |
bd7aadc2d4cbe7f43c896508a12bb8910e31b5c7852eacf9682e7082c0faac6a | /**
* 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 | jstorm-core/src/main/java/com/alibaba/jstorm/message/netty/NettyContext.java | alibaba/jstorm | apache-2.0 | 4,482 | 116 | codeparrot/github-code |
f0c6374d2202fbc06d9759c815a05e21a8700e9d377817dfc780b3c1b15bfc0c | /*!
* ${copyright}
*/
// Provides class sap.ui.rta.plugin.Combine.
sap.ui.define([
'sap/ui/rta/plugin/Plugin',
'sap/ui/dt/Selection',
'sap/ui/dt/OverlayRegistry',
'sap/ui/rta/Utils'
], function(
Plugin,
Selection,
OverlayRegistry,
Utils
) {
"use strict";
/**
* Constructor for a new Combine Plugin.
*
... | JavaScript | src/sap.ui.rta/src/sap/ui/rta/plugin/Combine.js | SQCLabs/openui5 | apache-2.0 | 5,703 | 192 | codeparrot/github-code |
cd722597a1254d2d72d88a31fbfca21e3ae023f80fc75411e0aedad68ae69499 | package helpers
import (
"fmt"
"github.com/SpectraLogic/ds3_go_sdk/ds3"
ds3Models "github.com/SpectraLogic/ds3_go_sdk/ds3/models"
helperModels "github.com/SpectraLogic/ds3_go_sdk/helpers/models"
"github.com/SpectraLogic/ds3_go_sdk/sdk_log"
"sync"
"time"
)
type putProducer struct {
JobM... | GO | helpers/putProducer.go | SpectraLogic/ds3_go_sdk | apache-2.0 | 13,579 | 335 | codeparrot/github-code |
daf844e56fb8c83d38e78895b64a0197965238d99173507626a88cec87cc99d1 | /*
* Copyright 2015 The Kythe Authors. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | C | kythe/cxx/indexer/cxx/KytheVFS.h | kythe/kythe | apache-2.0 | 7,086 | 166 | codeparrot/github-code |
c6572cdca666233864f0ec0c296485c31c9ef26f1ff327e4df024f5109d0009d | /*
* Copyright 2017 PayPal
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... | Scala | squbs-actormonitor/src/test/scala/org/squbs/actormonitor/TestCube/TestCube.scala | akara/squbs | apache-2.0 | 930 | 39 | codeparrot/github-code |
4e308fc9b637a9fcfdb8a5394f55e065d839a94178618196c5a58d687a7564c1 | # -*- coding: utf-8 -*-
#
# Copyright 2013 - Mirantis, 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 requir... | Python | mistral/api/controllers/v1/workbook_definition.py | TimurNurlygayanov/mistral | apache-2.0 | 1,511 | 48 | codeparrot/github-code |
2a36066914e3f9e244c7b793b5c776482d2e480d186d1fdc7234d167419dc2fa | // Copyright(C) David W. Jeske, 2013
// Released to the public domain. Use, modify and relicense at will.
using System;
using System.Threading;
using System.Globalization;
using System.Drawing;
using OpenTK;
using OpenTK.Graphics;
using OpenTK.Graphics.OpenGL;
using OpenTK.Audio;
using OpenTK.Audio.OpenAL;
using Ope... | C# | Demos/TestBench1/TestBench1.cs | RealRui/SimpleScene | apache-2.0 | 1,698 | 64 | codeparrot/github-code |
9bc9b757f9ee247e4c8a771e572bc7f2e85adaeabb207fd3ecc2e28763c64c60 | from trex_astf_lib.api import *
# IPV6 tunable example
#
# ipv6.src_msb
# ipv6.dst_msb
# ipv6.enable
#
class Prof1():
def __init__(self):
pass
def get_profile(self, **kwargs):
# ip generator
ip_gen_c = ASTFIPGenDist(ip_range=["16.0.0.0", "16.0.0.255"], distribution="seq")
... | Python | scripts/astf/param_tcp_rxbufsize_8k.py | kisel/trex-core | apache-2.0 | 1,298 | 45 | codeparrot/github-code |
cba21db569e1dbb1e12e9058c1116a0a512a14df031ab1cd6d253d67e8487748 | /*
* Copyright 2005-2014 The Kuali Foundation
*
* Licensed under the Educational Community 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.opensource.org/licenses/ecl1.php
*
* Unless required by... | Java | src/main/java/org/kuali/kra/irb/ProtocolDaoOjb.java | vivantech/kc_fixes | apache-2.0 | 6,383 | 151 | codeparrot/github-code |
331ec66fb4e1da88d3adf5211b99ecf22bdd93aff05eb56199088f1c70cbeaf3 | /**
* Copyright (c) 2005-20010 springside.org.cn
*
* Licensed under the Apache License, Version 2.0 (the "License");
*
* $Id: PropertyFilter.java 1205 2010-09-09 15:12:17Z calvinxiu $
*/
package com.snakerflow.framework.orm;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.u... | Java | src/main/java/com/snakerflow/framework/orm/PropertyFilter.java | snakerflow/snaker-web | apache-2.0 | 4,342 | 171 | codeparrot/github-code |
1ed0caebf11a6091a5f54421f200a67efdf8d4e8a5e02dc633bf86d185f7d1b7 | /*
* 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 | sdks/java/harness/src/test/java/org/apache/beam/fn/harness/state/MultimapSideInputTest.java | tgroh/incubator-beam | apache-2.0 | 2,861 | 74 | codeparrot/github-code |
6b30e7a04062dddb88cd93772b5f0196f857fa7cbcfd2449f50ea82c2d2f1c1f | package com.mc.phonefinder.usersettings;
import android.content.Intent;
import android.content.SharedPreferences;
import android.net.Uri;
import android.preference.PreferenceManager;
import android.support.v7.app.ActionBarActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.Menu;
import and... | Java | ParseStarterProject/src/main/java/com/mc/phonefinder/usersettings/FindPhoneInterface.java | Rakesh627/PhoneFinder | apache-2.0 | 10,791 | 244 | codeparrot/github-code |
adc5d630824cdf86ac56d1f8eafce188d59bd44bd91cb9124805d203c72f9945 | import AttributeCompression from "../Core/AttributeCompression.js";
import Cartesian3 from "../Core/Cartesian3.js";
import Cartographic from "../Core/Cartographic.js";
import Ellipsoid from "../Core/Ellipsoid.js";
import IndexDatatype from "../Core/IndexDatatype.js";
import CesiumMath from "../Core/Math.js";
import Rec... | JavaScript | Source/WorkersES6/createVectorTilePolylines.js | progsung/cesium | apache-2.0 | 6,753 | 231 | codeparrot/github-code |
0080b84e917e783c641ed23e9f0fe62ca3729a6ad472851f0c58a20fd063ef08 | /*
* 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 not ... | Java | geode-core/src/main/java/org/apache/geode/internal/cache/DiskStoreAttributes.java | jdeppe-pivotal/geode | apache-2.0 | 8,257 | 311 | codeparrot/github-code |
b4c3b90f07d2a1317c114802dcec8dc9fc29ad84cd261dc50fbf79b0eb7bd553 | /*
* SVG Salamander
* Copyright (c) 2004, Mark McKay
* 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
* copy... | Java | launcher/desktop_lwjgl/src/com/kitfox/svg/pathcmd/Arc.java | Longri/cachebox3.0 | apache-2.0 | 9,856 | 270 | codeparrot/github-code |
daed236df6c10d808c013883518d9574bd868456171fd061257dae23ba7d01a2 | // Copyright (C) 2011-2012 the original author or authors.
// See the LICENCE.txt file distributed with this work for additional
// information regarding copyright ownership.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You ... | Scala | src/test/scala/org/scalastyle/file/HeaderMatchesCheckerTest.scala | scalastyle/scalastyle | apache-2.0 | 6,008 | 137 | codeparrot/github-code |
88867efced2dcd01ab98ae9c752077fb7dcabe46491d75a1209b8e82ad1957ef | /*
* Copyright (c) 2008-2020, Hazelcast, Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... | Java | hazelcast/src/test/java/com/hazelcast/cache/CacheSerializationTest.java | mdogan/hazelcast | apache-2.0 | 7,031 | 173 | codeparrot/github-code |
20696d5dfdfb617f36c48eb12f0860fa26d6f0f76991653ea5aef2a06d6ca9dd | package com.sean.im.client.push.handler;
import com.alibaba.fastjson.JSON;
import com.sean.im.client.constant.Global;
import com.sean.im.client.core.ApplicationContext;
import com.sean.im.client.core.PushHandler;
import com.sean.im.client.form.MainForm;
import com.sean.im.client.tray.TrayManager;
import com.sean.im.cl... | Java | seatalk/im/im-client/src/main/java/com/sean/im/client/push/handler/KickOutFlockHandler.java | seanzwx/tmp | apache-2.0 | 954 | 35 | codeparrot/github-code |
210cea388c33e573db6c72dc18cecba4fc5fb88623cdcda31934a8962316b1a6 | # ===============================================================================
# Copyright 2013 Jake Ross
#
# 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/licens... | Python | pychron/pipeline/plot/flow_label.py | USGSDenverPychron/pychron | apache-2.0 | 3,470 | 111 | codeparrot/github-code |
58d1716adc974e8bb4fee049e9a1ca043b931f11ba6a3f02b5e5721ae0fb7131 | /*
* 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")... | Java | modules/core/src/main/java/org/apache/synapse/deployers/TaskDeployer.java | asanka88/apache-synapse | apache-2.0 | 7,123 | 173 | codeparrot/github-code |
acca43e05f454a12baac42449beaad2ab36a9892290830b3f2f7f7ecbf01984b | /*
Copyright 2017 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, ... | GO | prow/plugins/milestone/milestone.go | mindprince/test-infra | apache-2.0 | 5,550 | 163 | codeparrot/github-code |
cd7ebf38abc2060275f0cd5de1380123b9446d400a320d5f9a29c52d12d88df3 | /*
* Copyright 2012 Rolando Martins, CRACS & INESC-TEC, DCC/FCUP
*
* 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
*
* Unle... | C | stheno/src/org/cracs/stheno/core/p2p/discovery/peer_provider/PeerProvider.h | rolandomar/stheno | apache-2.0 | 1,840 | 63 | codeparrot/github-code |
c805223e1437a0a8b89093940db35a70b4e2481097db093ae557f8b6cbe81be5 | //
// Copyright 2014, Sander van Harmelen
//
// 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 a... | GO | cloudstack44/StoragePoolService.go | benjvi/go-cloudstack | apache-2.0 | 9,719 | 305 | codeparrot/github-code |
c3b4d8d4469626f9a29edd2f5d20fde07dbe2233b8fe1b18f949e7384300fc88 | /*
* Copyright (C) 2013 The Android Open Source Project
*
* 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 app... | Java | android/android/src/com/android/tools/idea/lang/rs/RenderscriptParser.java | consulo/consulo-android | apache-2.0 | 1,189 | 39 | codeparrot/github-code |
ab57f5b7e68d33ebd5fa2695f1900c482ee92da70cc1a6c31bc7f79ac1aae36c | <?php
namespace edu\wisc\services\caos;
class GetCourseByCatalogNumberRequest
{
/**
* @var termCodeType $termCode
*/
protected $termCode = null;
/**
* @var string $subjectCode
*/
protected $subjectCode = null;
/**
* @var string $catalogNumber
*/
protected $cata... | PHP | src/main/GetCourseByCatalogNumberRequest.php | ahoffmann-wi/caos-php-client | apache-2.0 | 1,771 | 90 | codeparrot/github-code |
ef56f1e3a008bb521b93609ffd2cba4a23599a7712b8eb0c81ae5a05baa8b353 | /**
* 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 m... | Java | ws-security-stax/src/main/java/org/apache/wss4j/stax/impl/securityToken/UsernameSecurityTokenImpl.java | asoldano/wss4j | apache-2.0 | 7,035 | 206 | codeparrot/github-code |
0972b7f2101082d2b36b7d9cf0fd2b8fd06949d45b14a59dae3011ad3b31aa32 | /**********************************************************************
Copyright (c) 2005 Erik Bengtson and others.
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/l... | Java | jdo/general/src/java/org/datanucleus/samples/metadata/datastoreidentity/D3.java | datanucleus/tests | apache-2.0 | 1,143 | 45 | codeparrot/github-code |
ee4aa5d830945c157998fdf4c917abbb997f3a0ee9a9ee7fa84becda295a29c4 | package com.mic.log.spouts;
import java.util.Map;
import backtype.storm.spout.SpoutOutputCollector;
import backtype.storm.task.TopologyContext;
import backtype.storm.topology.OutputFieldsDeclarer;
import backtype.storm.topology.base.BaseRichSpout;
import backtype.storm.tuple.Fields;
import backtype.storm.tup... | Java | src/jvm/com/mic/log/spouts/AppLogWriterSpout.java | yifzhang/storm-miclog | apache-2.0 | 885 | 35 | codeparrot/github-code |
1f789494099a5c57913e29551f1fc582af91fd862c40adb220aaa892db58b961 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/nix/mime_util_xdg.h"
#include <cstdlib>
#include <list>
#include <map>
#include <vector>
#include "base/environment.h"
#include "base... | C++ | base/nix/mime_util_xdg.cc | elvestar/chromium-base-library | apache-2.0 | 20,684 | 654 | codeparrot/github-code |
185d32330fe466f3009e1e2aad75263bfd265f14147d953364c4bc6de9fd68f4 | package ca.uhn.fhir.cql.dstu3.builder;
/*-
* #%L
* HAPI FHIR JPA Server - Clinical Quality Language
* %%
* Copyright (C) 2014 - 2022 Smile CDR, 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 ... | Java | hapi-fhir-jpaserver-cql/src/main/java/ca/uhn/fhir/cql/dstu3/builder/MeasureReportBuilder.java | jamesagnew/hapi-fhir | apache-2.0 | 2,503 | 70 | codeparrot/github-code |
92dd6064769fa119b0c90e9f8f43a25b0d0ff3eac5d1c16b54fd532e31e08a50 | /*
* Copyright (c) 2005 - 2014, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy
* of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | Java | components/event-publisher/event-output-adapters/org.wso2.carbon.event.output.adapter.wso2event/src/main/java/org/wso2/carbon/event/output/adapter/wso2event/WSO2EventAdapter.java | kasungayan/carbon-analytics-common | apache-2.0 | 8,571 | 181 | codeparrot/github-code |
e9f1d7703b78d0b28f41725f8c90bea66177dc9cfdc8d48cfa7d866e1bb7d459 | """
websocket - WebSocket client library for Python
Copyright (C) 2010 Hiroki Ohtani(liris)
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, ... | Python | vertx-web/src/test/sockjs-protocol/websocket/_logging.py | vert-x3/vertx-web | apache-2.0 | 2,165 | 85 | codeparrot/github-code |
3fa4db9280c1338b78ae31fa096506124f3b12655a313d14154f7fa8068beb2c | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Search — Paramiko documentation</title>
... | HTML | windows/win32/paramiko-1.14.0/docs/search.html | mytliulei/DCNRobotInstallPackages | apache-2.0 | 6,532 | 189 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.