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
394216cf752b85289e23aed252139188adc7120454b13bae42b224cd7bb06d09
/***************************************************************************** * * This file is part of Mapnik (c++ mapping toolkit) * * Copyright (C) 2008 Tom Hughes * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as publi...
C++
bindings/python/python_cairo.cpp
ake-koomsin/mapnik_nvpr
lgpl-2.1
2,034
72
codeparrot/github-code
207a96e1c2005ce18a8a52f52717e2f6165a2233677b7ab502ef06f8a4e3ef3f
#pragma once #include <parser/gmlobjectparser.h> #include <citygml/cityobject.h> #include <string> #include <functional> namespace citygml { class ImplicitGeometry; class ImplicitGeometryElementParser : public GMLObjectElementParser { public: ImplicitGeometryElementParser(CityGMLDocumentParser&...
C
sources/include/parser/implicitgeometryelementparser.h
jklimke/libcitygml
lgpl-2.1
1,541
40
codeparrot/github-code
9f3204eee35cb7fa54487892739f0f42804074eeb44bf6b79d2a3e9728d1da9a
/** * This file is part of TelepathyQt * * @copyright Copyright (C) 2008-2009 Collabora Ltd. <http://www.collabora.co.uk/> * @copyright Copyright (C) 2008-2009 Nokia Corporation * @license LGPL 2.1 * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser Ge...
C++
TelepathyQt/test-backdoors.cpp
TelepathyQt/telepathy-qt
lgpl-2.1
1,646
51
codeparrot/github-code
5109d48ff4d5370f9376a3a35c188008a90a7966ca58350924ee2f635bee3fd7
/* * CustomEvent.h * * * Created by Samvel Khalatian on August 16, 2010. * Copyright 2010, All rights reserved */ #ifndef CUSTOM_EVENT #define CUSTOM_EVENT #include "interface/MET.h" #include "interface/Muon.h" namespace test { class CustomEvent { public: CustomEvent(); ...
C
CustomTree/interface/CustomEvent.h
ksamdev/ROOT
lgpl-2.1
727
45
codeparrot/github-code
7a3edf0041d847abc5e98f28aa6a9e33bb7356fab18d2a00fcd506b574dc56d7
require 'rubygems' require 'intermine/model' require "intermine/query" require "intermine/lists" require "rexml/document" require "forwardable" require "cgi" module InterMine # A Representation of Connection to an InterMine Webservice # # == Synopsis # # require "intermine/service" # serv...
Ruby
intermine/ruby/intermine/lib/intermine/service.rb
drhee/toxoMine
lgpl-2.1
9,875
275
codeparrot/github-code
17268806ab3a1dffd1aa249a9a489735b2ac03edd264137137fb9ad0cf7c0c06
/* * JBoss, Home of Professional Open Source. * Copyright 2011, Red Hat, Inc., and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * unde...
Java
remoting/subsystem/src/main/java/org/jboss/as/remoting/GenericOutboundConnectionResourceDefinition.java
aloubyansky/wildfly-core
lgpl-2.1
3,793
82
codeparrot/github-code
fc7ba52238018ba5ff76fc5437a9da0a5291dfa15a5de0cde4c14020b274d15b
/* Copyright (C) 2015 Vladimir Glazachev 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 opt...
C
aprcl/is_prime_divisors_in_residue.c
wbhart/flint2
lgpl-2.1
1,107
47
codeparrot/github-code
9f092eededee0eaa16424dbd965e57f72b9aad8c0cb811dd37b9372b709b2d5f
/************************************************************************** ** ** 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/debugger/watchdelegatewidgets.h
yinyunqiao/qtcreator
lgpl-2.1
4,165
123
codeparrot/github-code
f9423504dd96124f9cae252fec485f037fb859b20f91138d30f2b9e9a54b0f44
/** * $RCSfile: editor_plugin_src.js,v $ * $Revision: 1.7 $ * $Date: 2006/02/06 20:02:38 $ * * @author Moxiecode * @copyright Copyright � 2004-2006, Moxiecode Systems AB, All rights reserved. */ var TinyMCE_NonEditablePlugin = { getInfo : function() { return { longname : 'Non editable elements', author...
JavaScript
web/src/main/webapp/tiny_mce/plugins/noneditable/editor_plugin_src.js
i2geo/i2gCurrikiFork
lgpl-2.1
4,963
165
codeparrot/github-code
ceb394cc3c32122b6cb018c8099ae4d925b9e6e5125f48489af9ff23f2593086
/* * peas-plugin-manager-view.c * This file is part of libpeas * * Copyright (C) 2002 Paolo Maggi and James Willcox * Copyright (C) 2003-2006 Paolo Maggi, Paolo Borelli * Copyright (C) 2007-2009 Paolo Maggi, Paolo Borelli, Steve Frécinaux * Copyright (C) 2010 Garrett Regier * * libpeas is free software; you ca...
C
libpeas-gtk/peas-gtk-plugin-manager-view.c
gregier/libpeas
lgpl-2.1
31,501
1,001
codeparrot/github-code
49f26a1724ceca159cd819f8a192662e6695887b2dba1d69b3e744381e4f584a
/************************************************************************** ** ** 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/shared/cplusplus/Type.h
yinyunqiao/qtcreator
lgpl-2.1
6,714
153
codeparrot/github-code
270762ef62a584e6ab9e7c017fb5bd80502311de130e35fe05dfd97765afe8f3
import { LegacyUnit } from '@ephox/mcagar'; import { Pipeline } from '@ephox/agar'; import Schema from 'tinymce/core/api/html/Schema'; import { UnitTest } from '@ephox/bedrock'; UnitTest.asynctest('browser.tinymce.core.html.SchemaTest', function () { const success = arguments[arguments.length - 2]; const failure =...
TypeScript
src/core/test/ts/browser/html/SchemaTest.ts
danielpunkass/tinymce
lgpl-2.1
19,408
580
codeparrot/github-code
9fea6561c4d3660660719f9b947c91d8923378166b175d96d1209fb3bbf14b51
/* Quicktime muxer plugin for GStreamer * Copyright (C) 2010 Thiago Santos <thiago.sousa.santos@collabora.co.uk> * * 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 ...
C
gst/isomp4/atomsrecovery.c
shelsonjava/gst-plugins-good
lgpl-2.1
30,675
1,110
codeparrot/github-code
cff0f98b9244f3af32dce6a58558a7058442f3a5d11e7df274456c9c177c7baa
/** * Copyright (C) 2011 JTalks.org Team * 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, or (at your option) any later version. * This library ...
Java
poulpe-view/poulpe-web-controller/src/test/java/org/jtalks/poulpe/web/controller/section/ForumStructureTreeModelTest.java
standpoint/poulpe
lgpl-2.1
13,467
359
codeparrot/github-code
290e942537faf674c6646be55eeafc7b8ea7f4a6a67b2c6c371ac8615e161dd3
#include <string.h> #include "gskstringmatcher.h" #include "gskmempool.h" typedef struct _MatchStateTransition MatchStateTransition; typedef struct _MatchState MatchState; typedef struct _ResultList ResultList; typedef struct _TreeDataPos TreeDataPos; typedef struct _TreeData TreeData; struct _MatchStateTransition {...
C
src/gskstringmatcher.c
novator24/zgsk
lgpl-2.1
9,384
305
codeparrot/github-code
c3956af28020a461cbc700e2a71d9bfbd170f865c4134c7e6650b2668548460d
/**************************************************************************** ** ** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the QtNetwork module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ** Licens...
C++
src/network/socket/qtcpserver.cpp
RLovelett/qt
lgpl-2.1
19,277
644
codeparrot/github-code
746296cf084dabe5332f5c088b02e129417201841db04864722e6072410f7083
/* * Copyright (C) the libgit2 contributors. All rights reserved. * * This file is part of libgit2, distributed under the GNU GPL v2 with * a Linking Exception. For full terms see the included COPYING file. */ #ifndef INCLUDE_util_h__ #define INCLUDE_util_h__ #include "common.h" #include "strnlen.h" #define ARRA...
C
src/util.h
Aorjoa/libgit2_maked_lib
lgpl-2.1
10,458
418
codeparrot/github-code
6fb3627236814917f5559dc8ea95cddce5868fafb321aadf2165e476323ad0e3
/* Copyright (C) 2009 William Hart 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) a...
C
ulong_extras/factor_partial.c
wbhart/flint2
lgpl-2.1
2,728
100
codeparrot/github-code
78ddcb36e3f6af573d9a12a25ea684723fe06fc14a3ab9453c19ba746daee15d
///////////////////////////////////////////////////////////////////////////// // Name: dcbuffer.h // Purpose: interface of wxBufferedDC // Author: wxWidgets team // RCS-ID: $Id$ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// // Assum...
C
src/wxWidgets-2.9.4/interface/wx/dcbuffer.h
enachb/freetel-code
lgpl-2.1
7,768
203
codeparrot/github-code
5b98bbb76e099209912fcc7ae6936f66d62a5ef0fe5d9340675a9e670609ea3e
/* * eXist Open Source Native XML Database * Copyright (C) 2001-08 The eXist Project * http://exist-db.org * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2 ...
Java
src/org/exist/xquery/modules/ModuleUtils.java
joewiz/exist
lgpl-2.1
15,768
418
codeparrot/github-code
f57f229b56782bcafc6af4e5175b6e357ae8d640a9e584c315bf4ae6cffdac59
#include "AdaptiveTransient.h" //Moose includes #include "Kernel.h" #include "Factory.h" #include "SubProblem.h" #include "Function.h" #include "MooseApp.h" //libMesh includes #include "libmesh/implicit_system.h" #include "libmesh/nonlinear_implicit_system.h" #include "libmesh/transient_system.h" #include "libmesh/nu...
C++
modules/solid_mechanics/src/executioners/AdaptiveTransient.C
zzyfisherman/moose
lgpl-2.1
22,634
773
codeparrot/github-code
bc83a1226908b2ce9d354f5a847020778d3e5f735014412487ac2e550a70f9bb
// file IndexView.js /* Vosao CMS. Simple CMS for Google App Engine. Copyright (C) 2009-2011 Vosao development team. 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 ...
JavaScript
web/src/main/webapp/cms/view/page/IndexView.js
vdog/vosao
lgpl-2.1
14,072
497
codeparrot/github-code
0075210ba65335b91ea4612e137dc21201b03c89945b2624953f88cfdb4357bd
/**************************************************************************** ** ** 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/gl2paintengineex/qglcustomshaderstage.cpp
eric100lin/Qt-4.8.6
lgpl-2.1
4,462
139
codeparrot/github-code
cfb6d5f9a812443d90eaa8649e9e9193f829c72f32cf715455c2d758078097d4
/* SDL - Simple DirectMedia Layer Copyright (C) 1997-2006 Sam Lantinga 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, or (at your op...
C
src/audio/ums/SDL_umsaudio.c
tigerjibo/SDL
lgpl-2.1
16,925
548
codeparrot/github-code
a6facaf5ddf19ae6da9c4cf1a56eb01543f5cc6cf6f38d0da5367ab8a3b8a2d4
//#include "common_stuff.h" #include "google_connector.h" #include "../xml/google_xml.h" #include "data.h" #include "webmounter.h" #include <QFile> #include <fstream> #include <iostream> #include <string.h> namespace Connector { class FileHandle { public: FileHandle(FILE* ptr) { pFile = ptr; } ~FileHa...
C++
src/wm-plugins/google/connector/google_connector.cpp
ershovdz/WebMounter
lgpl-2.1
30,859
1,166
codeparrot/github-code
cc48415221e05d9625aa7b2b4e65907ce70d4d1d64ddaaaee1a952b9b8c7d372
/**************************************************************************** ** ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the Qt3Support module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL...
C++
src/qt3support/widgets/q3rangecontrol.cpp
igor-sfdc/qt-wk
lgpl-2.1
14,921
551
codeparrot/github-code
8019fbb1bc2d8f86e1060f6b8cdb9aa4ce30421d9b61adab4704c9b69b2af3ad
/**************************************************************************** ** ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the Qt Mobility Components. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ** Licensees holding ...
C
plugins/multimedia/directshow/camera/dsvideowidgetcontrol.h
enthought/qt-mobility
lgpl-2.1
4,539
155
codeparrot/github-code
bed94fe47039f0667dd8611605f19c1518f188191ea67c50234525fd17c1f935
<?php /** * PHP Default automatic login class definition. */ /** JOSSO: Java Open Single Sign-On Copyright 2004-2009, Atricore, Inc. This 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 ...
PHP
agents/josso-php-agent/src/main/php/josso-php-agent/autologin/class.default_automatic_login_strategy.php
atricore/josso1
lgpl-2.1
3,350
108
codeparrot/github-code
ae3a5770cca64de0134aac66d2c0ce4cbe7859302c7c60c221f2b795f721a81d
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_US" lang="en_US"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- qmap.cpp --> ...
HTML
doc/html/qmap-iterator-members.html
eric100lin/Qt-4.8.6
lgpl-2.1
11,786
227
codeparrot/github-code
555cc4498d58ac06d3726031f7a3b30c728a5ff6a5fd22d61b0248f1936b618d
/**************************************************************************** ** ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the QtGui module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** ...
C
src/gui/inputmethod/qcoefepinputcontext_p.h
igor-sfdc/qt-wk
lgpl-2.1
5,539
164
codeparrot/github-code
cd3d01150f7ad5da7f2be3640705e91c3d0c5da3380ff7db2a72dfa00532383e
/* Copyright (C) 2011 William Hart Copyright (C) 2011 Sebastian Pancratz Copyright (C) 2013 Mike Hansen 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 Soft...
C
fq_poly_templates/test/t-gcd_hgcd.c
wbhart/flint2
lgpl-2.1
4,866
161
codeparrot/github-code
6c1291a86cf67ebf95f3b9cd21f10bd72637edae9bddc5ae23b3a4cc6e960f78
/* Copyright (C) 2014 Abhinav Baid 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) a...
C
fmpz_lll/test/t-lll_d_with_removal.c
jpflori/flint2
lgpl-2.1
13,884
437
codeparrot/github-code
8fb255d98348b312adebf1f45274492ceaabf385c1c58994a8907539e99de5c5
/****************************************************************************** * This file is part of the Gluon Development Platform * Copyright (c) 2011 Laszlo Papp <lpapp@kde.org> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * Li...
C
creator/plugins/tools/vcs/vcstool.h
KDE/gluon
lgpl-2.1
1,859
66
codeparrot/github-code
97140fd3a8bad642fb322d9f1f6eefd0d08b436d01c5c7a1b095d15d357e7b91
/* * RELIC is an Efficient LIbrary for Cryptography * Copyright (C) 2007-2014 RELIC Authors * * This file is part of RELIC. RELIC is legal property of its developers, * whose names are not listed here. Please refer to the COPYRIGHT file * for contact information. * * RELIC is free software; you can redistribute...
C
src/fpx/relic_fp3_sqr.c
rajeevakarv/relic-toolkit
lgpl-2.1
2,852
126
codeparrot/github-code
cb7daa410e578efb1b334d4cd481eec98233db202b46d06d1f8c5b443bf8badd
/* * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * This 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 * th...
Java
xwiki-platform-core/xwiki-platform-containers/xwiki-platform-container-servlet/src/main/java/org/xwiki/container/servlet/ServletSession.java
pbondoer/xwiki-platform
lgpl-2.1
1,349
41
codeparrot/github-code
67ef9e1be6fd89b2c0f363566f0f15af94ba1545377be3edfa6c8dbf1cad305e
# # $Id: htmlutils.rb 2227 2006-05-13 00:09:08Z aamine $ # # Copyright (c) 2002-2006 Minero Aoki # # This program is free software. # You can distribute or modify this program under the terms of # the GNU LGPL, Lesser General Public License version 2.1. # module ReVIEW module HTMLUtils ESC = { '&' => '&am...
Ruby
lib/review/htmlutils.rb
kuad9/review_study
lgpl-2.1
2,206
91
codeparrot/github-code
bdb23c73b4fe38e0a1898235d53bfd2ec6473e185d21cea5ea74d17f59a70eba
/* -*- mode: C; indent-tabs-mode: t; tab-width: 8; c-basic-offset: 2; -*- */ /* * This file is part of Seed, the GObject Introspection<->Javascript bindings. * * Seed 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 So...
C
libseed/seed-types.h
danilocesar/seed
lgpl-2.1
9,941
233
codeparrot/github-code
b06548c5a1d509cf528e00d4f57b5214fec9173c6a3678e2d72eb75e867a1f39
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Runtime.InteropServices; using System.Text; using System.Threading; #if V2 || V3 || V3_5 #else using System.Dynamic; #endif namespace V8.Net { // ==============================================================...
C#
Source/V8.Net/ObjectTemplate.cs
CharlesZHENG/V8.NET
lgpl-2.1
24,602
549
codeparrot/github-code
7e5c378e9686e7a795b9f38e25933b92e3f8a1d768e5c86c42f926363c8b036e
/**************************************************************************** ** ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the Qt Mobility Components. ** ** $QT_BEGIN_LICENSE:LGPL$ ** GNU Less...
C++
plugins/sensors/meego/meegoproximitysensor.cpp
tmcguire/qt-mobility
lgpl-2.1
3,067
85
codeparrot/github-code
6e877751ca4e4cb5097223a37b854c379ae14bf0d42e571e3aded243b4b9f141
/*************************************************************************************************************************************** * Copyright (C) 2001-2012 LearnLift USA * * Contact: Learnlift USA, 12 Greenway Plaza, Suite 1510, Houston, Texas 77046, support@memorylifter.com * * ...
C#
Main/MLifter.DAL/XML/XmlCardStyle.cs
Stoner19/Memory-Lifter
lgpl-2.1
27,453
804
codeparrot/github-code
c0420499b6e49958cabec0f380b8ea63918b227006b10be12d0d1a6dacc3216a
/* bzflag * Copyright (c) 1993-2016 Tim Riker * * This package is free software; you can redistribute it and/or * modify it under the terms of the license found in the file * named COPYING that should have accompanied this file. * * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR * IMPLIED WARRAN...
C
include/FlagSceneNode.h
khonkhortisan/bzflag
lgpl-2.1
2,136
83
codeparrot/github-code
c124b13c90cbfdace0f4f37aa24f922ab06ddd8b02ec17aebabf8cdd624d9e8d
/********************************************************************* * * This is based on code created by Peter Harvey, * (pharvey@codebydesign.com). * * Modified and extended by Nick Gorham * (nick@lurcher.org). * * Any bugs or problems should be considered the fault of Nick and not * Peter. * * copyright...
C
DriverManager/SQLDriverConnectW.c
thorstenhirsch/odbc-trace-and-reply
lgpl-2.1
26,850
925
codeparrot/github-code
3450991f70e017ec5aacc37b357b2577226c18b316c6ddee8c4e3e574302094e
/********************************************************************* * * This is based on code created by Peter Harvey, * (pharvey@codebydesign.com). * * Modified and extended by Nick Gorham * (nick@lurcher.org). * * Any bugs or problems should be considered the fault of Nick and not * Peter. * * copyright...
C
DriverManager/SQLSetEnvAttr.c
thorstenhirsch/odbc-trace-and-reply
lgpl-2.1
10,444
372
codeparrot/github-code
7ecf7726a7a72040a5cebb9546ec37bf1499632ddaf45872b1898a2ef7085b77
using System; using System.Collections.Generic; using System.Runtime.CompilerServices; using AsmResolver.PE.DotNet.Cil; namespace AsmResolver.DotNet.Code.Cil { internal struct CilLabelVerifier { private readonly CilMethodBody _body; private List<Exception>? _diagnostics; private string?...
C#
src/AsmResolver.DotNet/Code/Cil/CilLabelVerifier.cs
JerreS/AsmResolver
lgpl-3.0
5,224
138
codeparrot/github-code
88feb9324dbcf499cc669b1e592df406354ba6b119a179d814392ae0363878f3
using System; using JetBrains.Annotations; using Microsoft.AspNetCore.Html; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Razor; using Microsoft.AspNetCore.Mvc.Rendering; using Microsoft.AspNetCore.Routing; using Newtonsoft.Json; namespace StardewModdingAPI.Web.Framewo...
C#
src/SMAPI.Web/Framework/Extensions.cs
cjsu/SMAPI
lgpl-3.0
2,963
67
codeparrot/github-code
b737a201fcdd5c05bda3be42a20beebc5df34a6161b73d378b3d9de68e4dd0da
package e4.handler; import java.util.ResourceBundle; import org.eclipse.e4.core.contexts.EclipseContextFactory; import org.eclipse.e4.core.contexts.IEclipseContext; import org.eclipse.e4.core.di.annotations.Execute; import org.eclipse.jface.text.ITextViewer; import org.eclipse.ui.texteditor.ITextEditorActi...
Java
org.eclipse.xtext.ui/e4-src/e4/handler/Handler.java
JKatzwinkel/bts
lgpl-3.0
1,116
33
codeparrot/github-code
6796ec0d4ae9a141697b3596352824fae63c5eda2dafd49873382cd36285bb59
package org.effortless.core; import java.io.PrintWriter; //import java.util.Arrays; import org.apache.tika.metadata.Metadata; import org.xml.sax.helpers.DefaultHandler; public class NoDocumentMetHandler extends DefaultHandler { protected final Metadata metadata; protected PrintWriter writer; priva...
Java
core/classes/org/effortless/core/NoDocumentMetHandler.java
javaeffortless/effortless-community
lgpl-3.0
991
43
codeparrot/github-code
44d78a15fef73417a26d1f89d8a2413ab0b0aa23e059d02bbb7d932906b1a4ef
/* * $Id: JavaScriptAction.java 3373 2008-05-12 16:21:24Z xlv $ * * This code is part of the 'iText Tutorial'. * You can find the complete tutorial at the following address: * http://itextdocs.lowagie.com/tutorial/ * * This code is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; with...
Java
www/examples/com/lowagie/examples/objects/anchors/JavaScriptAction.java
yogthos/itext
lgpl-3.0
1,644
65
codeparrot/github-code
2e767e5e76c8820aace96979c4828f6c0c47eb751bc7e11874874f2023f1bb44
import importlib from .base import BaseTransport from ..service import Service class LocalTransport(BaseTransport): def __init__(self): super(LocalTransport, self).__init__() self.__service = None def __repr__(self): return self.__class__.__name__ def configure(self, service_na...
Python
servant/transport/local.py
brianz/servant
lgpl-3.0
2,255
71
codeparrot/github-code
aedefa01556744475b685aa31a084f56af3b421522be814274001218b21d86ae
<?php /* * * ____ _ _ __ __ _ __ __ ____ * | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \ * | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) | * | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/ * |_| \___/ \___...
PHP
src/network/mcpe/protocol/types/entity/EntityMetadataProperties.php
JackNoordhuis/PocketMine-MP
lgpl-3.0
6,349
150
codeparrot/github-code
3d9b3d4a179aba8348bad1e977a0e646cf5c31844154bc37a146ad0c1ca5405c
/* KIARA - Middleware for efficient and QoS/Security-aware invocation of services and exchange of messages * * Copyright (C) 2014 German Research Center for Artificial Intelligence (DFKI) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public ...
Java
src/main/java/org/fiware/kiara/netty/NettyTransportFactory.java
Fiware/i2nd.KIARA
lgpl-3.0
5,360
143
codeparrot/github-code
cdabd0dd754827162a1410d0edd89261d30d7e71cf927f3ddc9f145c3cddc150
/////////////////////////////////////////////////////////////////////////////// // Name: src/common/platinfo.cpp // Purpose: implements wxPlatformInfo class // Author: Francesco Montorsi // Modified by: // Created: 07.07.2006 (based on wxToolkitInfo) // Copyright: (c) 2006 Francesco Montorsi...
C++
thirdparty/wxWidgets-3.0.0/src/common/platinfo.cpp
dariusliep/LogViewer
lgpl-3.0
9,786
350
codeparrot/github-code
ed80ffc4523b941f132731923915800f8b183795a46b0396929bd99a0a77bbb5
const Sequelize = require('sequelize'); const UsersModel = require('../models/users'); const GroupsModel = require('../models/groups'); require('../models/usersGroupsRelations'); const enumMode = require('../managers/rights').enumMode; module.exports.findAll = () => new Promise((fulfill, reject) => { GroupsModel.fin...
JavaScript
adapters/groups.js
EIP-SAM/SAM-Solution-Server
lgpl-3.0
3,698
125
codeparrot/github-code
5764d9ff6c78450cf273ccef2de6b00f5bf4c4442b6f019d43f6505d2a31e4e2
/* * Copyright 2014 Jacopo Aliprandi, Dario Archetti * * This file is part of SPF. * * SPF is free software: you can redistribute it and/or modify it under the * terms of the GNU Lesser General Public License as published by the Free * Software Foundation, either version 3 of the License, or (at your option)...
Java
apps/SPFChatDemo/src/it/polimi/spf/demo/chat/QuerySettingActivity.java
Ks89/SPF1
lgpl-3.0
8,296
228
codeparrot/github-code
7e6ff0306ef8d5404f274945c945216aa611171104afbc957654c6d225e693a0
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.Extensions.Logging; using SampleAspNetCore2ApplicationNETFramework.Data; namespace SampleAspNe...
C#
Samples/SampleAspNetCore2ApplicationNETFramework/Pages/Account/Manage/GenerateRecoveryCodes.cshtml.cs
KentorIT/authservices
lgpl-3.0
1,694
49
codeparrot/github-code
046ae94f14334daaabc16b399d6533180a9c3cf3bde5f831d22fbd62a936151e
/************************************************************************** * * Copyright 2014 by Petr Gargulak. eGUI/D4CD Community. * Copyright 2011-2013 by Petr Gargulak. Freescale Semiconductor, Inc. * *************************************************************************** * This program is free software: you ...
C
D4CD/common_files/d4cd_lldapi.h
Gargy007/D4CD
lgpl-3.0
3,775
123
codeparrot/github-code
85e115c9fa3368ea8efd6a2bed30fd73f3ac1b17b246346d60e0219f986000eb
package codechicken.lib.vec; import codechicken.lib.math.MathHelper; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; import net.minecraft.entity.EntityLivingBase; import net.minecraft.entity.player.EntityPlayer; import org.lwjgl.opengl.GL11; import java.math.BigDecimal; import java.math....
Java
src/main/java/codechicken/lib/vec/Rotation.java
Mazdallier/AdventureBackpack2
lgpl-3.0
10,048
359
codeparrot/github-code
f7478b1d2c1d3e4dd6b353c6e603561ac76ea500d1972897cbf2619d9ea0b598
// Sticky Plugin v1.0.0 for jQuery // ============= // Author: Anthony Garand // Improvements by German M. Bravo (Kronuz) and Ruud Kamphuis (ruudk) // Improvements by Leonardo C. Daronco (daronco) // Created: 2/14/2011 // Date: 2/12/2012 // Website: http://labs.anthonygarand.com/sticky // Description: Makes an element ...
JavaScript
Resources/public/js/jquery.sticky.js
ezpublishlegacy/LiveVotingBundle
lgpl-3.0
5,331
162
codeparrot/github-code
515c948da636197d2f07bbaa6d79e5b5c786c292fe522e4763112b123dc5d715
// // Copyright(C) 2005--2010 FirteX Development Team. // All rights reserved. // This file is part of FirteX (www.firtex.org) // // Use of the FirteX is subject to the terms of the software license set forth in // the LICENSE file included with this software, and also available at // http://www.firtex.org/license.ht...
C
include/firtex/queryparser/QueryExprLexer.h
ruijieguo/firtex2
lgpl-3.0
1,565
65
codeparrot/github-code
58b5b5fc75a72b7c4e0c960bb297b6908ecbde78117575d397c18cdcd257df27
package modpacktweaks.client.gui.library.gui.element; import modpacktweaks.client.gui.library.gui.IGuiBase; import net.minecraft.util.ResourceLocation; import org.lwjgl.opengl.GL11; public class ElementScrollPanelOverlay extends ElementScrollPanel { ResourceLocation overlayTexture; int paddingSize; boole...
Java
src/main/java/modpacktweaks/client/gui/library/gui/element/ElementScrollPanelOverlay.java
TPPIDev/Modpack-Tweaks
lgpl-3.0
1,612
60
codeparrot/github-code
ac7cf740c36edb633f5e45723563e9df05863dbe9343c435fbce31cde7d8a401
package com.lasthopesoftware.bluewater.client.playback.service.receivers.notification.GivenAStandardNotificationBroadcaster; import com.lasthopesoftware.bluewater.client.playback.service.broadcasters.PlaylistEvents; import com.lasthopesoftware.bluewater.client.playback.service.notification.NotifyOfPlaybackEvents; impo...
Java
projectBlueWater/src/test/java/com/lasthopesoftware/bluewater/client/playback/service/receivers/notification/GivenAStandardNotificationBroadcaster/WhenRegisteringForActions.java
danrien/projectBlue
lgpl-3.0
1,321
39
codeparrot/github-code
e39f1a1e314b30f8411e862c95c780f9f30808770687d80b1aceb2961f2be939
/** * DataCleaner (community edition) * Copyright (C) 2014 Free Software Foundation, Inc. * * This copyrighted material is made available to anyone wishing to use, modify, * copy, or redistribute it subject to the terms and conditions of the GNU * Lesser General Public License, as published by the Free Software F...
Java
components/pattern-finder/src/main/java/org/datacleaner/beans/stringpattern/PatternFinderResult.java
datacleaner/DataCleaner
lgpl-3.0
6,416
170
codeparrot/github-code
298403d29b1d35087479e43f1e6ef5274f1736b59550ab78c97589e42f906dad
/******************************************************************************* * This file is part of PlexyDesk. * Maintained by : Siraj Razick <siraj@kde.org> * Authored By : * * PlexyDesk is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as pu...
C++
extensions/data/bbconn/bbconn.cpp
plexydesk/plexydesk-0.5-depricated-codebase
lgpl-3.0
1,803
73
codeparrot/github-code
70cf0de5bd506b2fa42c3d3040d649a3d886af24ed5d16f9a246fcef3da16948
// Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // // The go-ethereum 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 3 of the License...
GO
trie/secure_trie.go
fireblock/go-ethereum
lgpl-3.0
6,984
204
codeparrot/github-code
3ab66a02e96d96a68e2946ee5823359c3ffe188ba95a97c9ea9eccd88e301714
/*! *********************************************************************** \par Copyright \verbatim ________ _____ _____ _____ ____ ____ ____ / / / / / / / / / \ / / /___ / /___ / /____ / / /____/ \___ ...
C
v0.9/camera/tcc/vpu_clk_ctrl.c
Stevenwork/Innov_code
lgpl-3.0
16,769
656
codeparrot/github-code
bb901dfb1ef55bd092eb9613f99f23049763834e8046af7e20a7c3fd7ab29b65
import sys from services.spawn import MobileTemplate from services.spawn import WeaponTemplate from resources.datatables import WeaponType from resources.datatables import Difficulty from resources.datatables import Options from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() mobi...
Python
scripts/mobiles/tatooine/tusken_king.py
agry/NGECore2
lgpl-3.0
1,337
40
codeparrot/github-code
65fa9d5681fb8576f18d44448a457b5a61f0c1749df1b3f13b480a30baea3233
/* * SonarQube CSS Plugin * Copyright (C) 2013-2016 Tamas Kende and David RACODON * mailto: kende.tamas@gmail.com and david.racodon@gmail.com * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software ...
Java
css-frontend/src/main/java/org/sonar/plugins/css/api/visitors/DoubleDispatchVisitor.java
SonarQubeCommunity/sonar-css
lgpl-3.0
5,976
253
codeparrot/github-code
53bae05c0e7bbf44d664bf3c9e86c6865076ac9d826138223231ba6b006db2b9
// // System.ComponentModel.Design.DesignerActionListCollection // // Authors: // Ivan N. Zlatev (contact i-nZ.net) // // (C) 2006-2007 Ivan N. Zlatev // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to de...
C#
class/System.Design/System.ComponentModel.Design/DesignerActionListCollection.cs
edwinspire/VSharp
lgpl-3.0
3,134
127
codeparrot/github-code
b7398748cc765b585f5e5126158ddf7178d639d1adf1ae91f66a0a8bba607ab8
#include "command.hpp" Command::Command() : m_getter(false) { } Command::Command(const Command &other) { m_name = other.m_name; m_arguments = other.m_arguments; m_getter = other.m_getter; m_client = other.m_client; } void Command::setName(const QString &name) { m_name = name; } QString Comma...
C++
lib/core/command.cpp
gustavosbarreto/electric-webview
lgpl-3.0
1,445
84
codeparrot/github-code
231ecefaafa40f09fea020402e32a5790ab83d57d6b43ed66cda4802be2a1818
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using System.Threading.Tasks; using Consul; using RpcLite.Config; namespace RpcLite.Registry.Consul { public class ConsulRegistry : IRegistry { private readonly ConcurrentD...
C#
src/Registry/RpcLite.Registry.Consul/ConsulRegistry.cs
chrishaly/RpcLite
lgpl-3.0
4,530
183
codeparrot/github-code
8b830252c78a30813168ef0ad7f6cc24d18f39952209ddcb8c61b14e42d3dd82
<!DOCTYPE html> <html lang="pt"> <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="generator" content="HelpNDoc Standard Edition 5.4.2.416"> <meta name="viewport" content="width=device-width, initial-scale=1" /> <link rel="icon" href="favicon.ic...
HTML
helper/projects.html
jeansouza/terrama2
lgpl-3.0
23,031
326
codeparrot/github-code
044d9adf82c95e1349df4e29b4469c04f7e17a53e39e8ffc23fefb0579a571ce
/* =========================================================== * JFreeChart : a free chart library for the Java(tm) platform * =========================================================== * * (C) Copyright 2000-2004, by Object Refinery Limited and Contributors. * * Project Info: http://www.jfree.org/jfreechart/in...
Java
3rdparty/jfreechart0921/source/org/jfree/chart/entity/junit/TickLabelEntityTests.java
simeshev/parabuild-ci
lgpl-3.0
4,798
151
codeparrot/github-code
db55383b88d79093c031afb3f32a373420b362ed6ec4913a3769128c172dbedf
<?php /** * @package Dnst_Json */ /** * Handle a response tipe, with singleton pattarn */ class Dnst_Json_Response{ protected $_json; public function __construct(){ $this->_json = (object) array(); } public function setStatus( $status ){ $this->_json->status = $status; } public function setAct...
PHP
library/Dnst/Json/Response.php
medialab/ANTA
lgpl-3.0
821
46
codeparrot/github-code
fdbffed494434b183abc6f146c9a0f3763537686b9252ed3bb6eb58bbb438f14
/* =========================================================================== Doom 3 GPL Source Code Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company. This file is part of the Doom 3 GPL Source Code (?Doom 3 Source Code?). Doom 3 Source Code is free software: you can redistribute it and/or modify it...
C++
neo/game/SmokeParticles.cpp
revelator/Revelation-Engine
lgpl-3.0
11,570
369
codeparrot/github-code
bc88e6a0b563c6fe0c2497e879fc2aa507915ab1d8956fa4bf54fc39e43e8382
// Copyright (C) 2000-2007, Luca Padovani <padovani@sti.uniurb.it>. // // This file is part of GtkMathView, a flexible, high-quality rendering // engine for MathML documents. // // GtkMathView is free software; you can redistribute it and/or modify it // either under the terms of the GNU Lesser General Public License ...
C++
src/backend/MathVariants.cc
khaledhosny/libmathview
lgpl-3.0
32,834
1,289
codeparrot/github-code
34a9edef87f0e7fac4926e2f12a688dafccee73bceb6ecb2697d1b332cfb794f
/* * JSmart Framework - Java Web Development Framework * Copyright (c) 2015, Jeferson Albino da Silva, All rights reserved. * * 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...
Java
src/main/java/com/jsmartframework/web/tag/util/RefAction.java
jefalbino/jsmart5
lgpl-3.0
1,998
66
codeparrot/github-code
36973d21e1252cdc67454889cf562a2b97b3f45ef00ec2d884972e98accabaa2
/* Copyright 2015 Mathieu Blond - Ijinus ( mathieu.blond@ijinus.fr ) This file is part of CS2JXmlEditor. CS2JXmlEditor is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the...
Java
src/com/ijinus/cs2j/xmleditor/javaFXui/MainWindow.java
rafal184365/XML_editor
lgpl-3.0
2,527
95
codeparrot/github-code
4a123ccaabfb0c793be7d5701b975265c008fbf7845c7bc2a9e02b7b2bf48227
package net.minecraft.client.gui.mco; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; import net.minecraft.client.mco.ExceptionMcoService; import net.minecraft.client.mco.McoClient; @SideOnly(Side.CLIENT) class GuiScreenMcoWorldTemplateDownloadThread extends Thread { final GuiScreenM...
Java
forge/mcp/src/minecraft/net/minecraft/client/gui/mco/GuiScreenMcoWorldTemplateDownloadThread.java
HATB0T/RuneCraftery
lgpl-3.0
1,039
32
codeparrot/github-code
a175c9cebe0af8443cb5e11b53919b37751dcd651176b7e1b36e70e6ad714655
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CSharpSyntax.Test.SyntaxPrinterTrivia { public abstract class TestBase : Test.TestBase { protected void Test(string expected, SyntaxNode node, Action<Printer.Configur...
C#
CSharpSyntax.Test/SyntaxPrinterTrivia/TestBase.cs
modulexcite/CSharpSyntax
lgpl-3.0
2,197
68
codeparrot/github-code
d68d6094f54556e1356abc1af89d3d15473e1ab7e1f0cb0fa0cb3080952c23de
// Generated on 2013-10-03 using generator-angular 0.4.0 'use strict'; var LIVERELOAD_PORT = 35729; var lrSnippet = require('connect-livereload')({ port: LIVERELOAD_PORT }); var mountFolder = function (connect, dir) { return connect.static(require('path').resolve(dir)); }; // # Globbing // for performance reasons we...
JavaScript
yeoman/Gruntfile.js
pascalleclercq/angularjs-sandbox
unlicense
8,217
363
codeparrot/github-code
e3bb8aec64138a09f70801acc1ba65a80671471c121ceb30e5b421f9ed20f462
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.Net; namespace CSharp_Chatprojekt_Client { public partial class Form1 : Form { ...
C#
Client/CSharp_Chatprojekt_Client/Form1.cs
ivayloivanof/C-Sharp-Chat-Programm
unlicense
4,048
137
codeparrot/github-code
be440ff19e31e435bccfee070336fb2976d84c4dea18395ca5455aa34f1afc24
<?php /** * RssBridgeOpenClassrooms * Retrieve lastest tutorials from OpenClassrooms. * Returns the most recent tutorials, sorting by date (most recent first). * 2014-05-25 * * @name OpenClassrooms Bridge * @homepage http://fr.openclassrooms.com/ * @description Returns latest tutorials from OpenClassrooms. * @maintaine...
PHP
bridges/OpenClassroomsBridge.php
Nyutag/rss-bridge
unlicense
1,526
48
codeparrot/github-code
b663f06b8405941fbcdabeb9b7721f810cb338559e63e2056e1fe06905d2397f
#include <cmath> #include <cstdio> #include <vector> using namespace std; typedef long long i64; typedef vector<int> IV; #define cFor(t,v,c) for(t::const_iterator v=c.begin(); v != c.end(); v++) // Number Theory #define ISCOMP(n) (_c[(n)>>5]&(1<<((n)&31))) #define SETCOMP(n) _c[(n)>>5]|=(1<<((n)&31)) namespace N...
C++
solved/r-t/trailing-zeroes-i/trailing.cpp
lbv/pc-code
unlicense
1,284
61
codeparrot/github-code
6e00827025ce9fbe2fa0073e8ea0327275942a55e5e6e011e3fa3315e817f1a8
/** ****************************************************************************** * @file USB_Device/CDC_Standalone/Src/usbd_conf.c * @author MCD Application Team * @version V1.3.0 * @date 18-December-2015 * @brief This file implements the USB Device library callbacks and MSP ************...
C
stm32cubef1/STM32Cube_FW_F1_V1.3.0/Projects/STM3210C_EVAL/Applications/USB_Device/CDC_Standalone/Src/usbd_conf.c
hyller/CodeLibrary
unlicense
14,589
472
codeparrot/github-code
5859beb7fdb46c47919ed6b4d34e571df7cbaff6069db7de236020487d8fae5a
/* * element.h * * Created on: Mar 27, 2012 * Author: refops */ #ifndef ELEMENT_H_ #define ELEMENT_H_ #include "../data/IdataType.h" template <class K,class V1> class Ielement { protected: K id; V1 value; public: Ielement():id(),value(){ } Ielement(K inId):id(inId),value(){ } Ielement(K inId,V1 inV...
C
src/dataManager/dataStructures/graph/Ielement.h
khayyatzy/Mizan
unlicense
521
35
codeparrot/github-code
cef58f66d130ee7aa75405df3ffbe5a1bd9b7e3353cdfce77e3cdb05d40a69d8
import gc import pandas as pd import numpy as np import os import arboretum import json import sklearn.metrics from sklearn.metrics import f1_score, roc_auc_score from sklearn.model_selection import train_test_split from scipy.sparse import dok_matrix, coo_matrix from sklearn.utils.multiclass import type_of_target i...
Python
instacart/imba/arboretum_submition.py
bataeves/kaggle
unlicense
15,544
315
codeparrot/github-code
db3382f7adc4a26e381ae1dfddec1a39354d1e25423569ecf934d704d76ef311
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ package org.elasticsearch.xpack.search; import org.apache.lucene.search.Total...
Java
x-pack/plugin/async-search/src/main/java/org/elasticsearch/xpack/search/MutableSearchResponse.java
HonzaKral/elasticsearch
apache-2.0
8,951
197
codeparrot/github-code
0754a34ad97b77a83a2943c92216e1ccbfcf6375ad12e46b42e38dc0fd13cdd0
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
Java
asterixdb/asterix-om/src/main/java/org/apache/asterix/om/base/ADate.java
kisskys/incubator-asterixdb
apache-2.0
3,072
107
codeparrot/github-code
174a04d32e383172b3e02170fd8a067330847649735f75310a5dcbce4e45c6d0
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
Java
src/main/java/org/elasticsearch/index/mapper/internal/TimestampFieldMapper.java
zuoyebushiwo/ElasticSearch-Final
apache-2.0
17,262
383
codeparrot/github-code
f77f96eae5d8be40d547c0a9357b863b1d6cd8632956dc37e5c30f4d4e011bdf
#!/usr/bin/env python # encoding: utf-8 """ Utility script to generate/modify Firebreath plug-in projects. Original Author(s): Ben Loveridge, Richard Bateman Created: 14 December 2009 License: Dual license model; choose one of two: New BSD License http://www.opensource.org/licenses/bsd-li...
Python
open_src/firebreath/fbgen.py
eSDK/esdk_uc_control_js
apache-2.0
7,056
184
codeparrot/github-code
6bebcf92e5b587e879634b69a1c39c757fb171fcabfb40d317d83085bbad86f3
/* * 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
java/vector/src/main/java/org/apache/arrow/vector/ipc/message/ArrowFooter.java
renesugar/arrow
apache-2.0
4,997
159
codeparrot/github-code
e4e632be60f6ff57122003abb3ab1c76973da9d55bfe21ff3e998abc975e889b
/** * Function: 拦截器 * * File Created at 2011-08-11 * * Copyright 2011 Alibaba.com Croporation Limited. * All rights reserved. */ package com.alibaba.dubbo.governance.web.common.interceptor; import java.io.IOException; import java.io.InputStream; import java.util.HashMap; import java.util.Map; im...
Java
dubbo-admin/src/main/java/com/alibaba/dubbo/governance/web/common/interceptor/AuthorizationValve.java
xiaoyuQi/JavaProject
apache-2.0
8,867
228
codeparrot/github-code
d0dc31def1ee7b14fac28780ab95b0358e107921f402f94da58bedd623509be5
/* * Copyright 2012-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
Java
spring-boot-project/spring-boot/src/test/java/org/springframework/boot/SpringApplicationTests.java
bclozel/spring-boot
apache-2.0
52,411
1,491
codeparrot/github-code
e038e3528bfbf7e40b0f943d21b7130e3edab7eb764f4a3579a813970607e9f3
/** * 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"); yo...
Java
framework/modules/geronimo-crypto/src/main/java/org/apache/geronimo/crypto/asn1/x509/GeneralSubtree.java
apache/geronimo
apache-2.0
4,019
143
codeparrot/github-code
c95e0473e121db867c247d34978c732fdc425be10bee391a4ba8e3d57b055aa8
import { deepClone, getParameterByName, logInfo, logError } from '../src/utils.js'; import adapter from '../src/AnalyticsAdapter.js'; import CONSTANTS from '../src/constants.json'; import adapterManager from '../src/adapterManager.js'; import includes from 'prebidjs-polyfill/includes.js'; import {ajaxBuilder} from '../...
JavaScript
modules/roxotAnalyticsAdapter.js
PubWise/Prebid.js
apache-2.0
13,946
511
codeparrot/github-code
508f7e2cff76dcdfecf1c4018c1156e8f8b24dcb990be3bd516926c577e50c37
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #nullable enable using System.Reflection; #if DEBUG || BOOTSTRAP using System; using System.Collections.Concurren...
C#
src/Compilers/Core/MSBuildTask/ValidateBootstrap.cs
davkean/roslyn
apache-2.0
6,567
177
codeparrot/github-code
0f03bfdef4edaf3b97a029f55f73df08c8fd44ce1a1a85fc7d62c9e5a4ca15b1
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
Java
flink-state-backends/flink-statebackend-rocksdb/src/main/java/org/apache/flink/contrib/streaming/state/RocksDBStateUploader.java
tillrohrmann/flink
apache-2.0
6,205
160
codeparrot/github-code
a4f6259215a5b7be40779bc52bd3bebe44fffabd0433800d1b95b8a96d84b6e1
/* * 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 n...
Java
clients/src/test/java/org/apache/kafka/common/metrics/MetricsTest.java
KevinLiLu/kafka
apache-2.0
39,301
878
codeparrot/github-code
6181179f329955e386518834687e2b9d82b010ae55426abb002eb85613b4774a
package utils import ( "os" "os/user" "path/filepath" ) // HomeDir returns the system current user home directory func HomeDir() string { homeDir := os.Getenv("HOME") if homeDir != "" { return homeDir } currentUser, err := user.Current() if err != nil { panic(err) } return currentUser.HomeDir } // Con...
GO
utils/home.go
aisk/lean-cli
apache-2.0
529
32
codeparrot/github-code
f22d8f4fccfb04b4b0affd79f4cae15d60881d3587f1e81e4d2e091637461340
import functools import json import logging import traceback from flask import g, redirect, Response, flash, abort from flask_babel import gettext as __ from flask_appbuilder import BaseView from flask_appbuilder import ModelView from flask_appbuilder.widgets import ListWidget from flask_appbuilder.actions import act...
Python
superset/views/base.py
BRD-CD/superset
apache-2.0
11,040
329
codeparrot/github-code