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 |
|---|---|---|---|---|---|---|---|---|
88c0ea06543316913da19624447b9192581f30a4ae1579c58f34f49a5b296d74 | /* GStreamer
* Copyright (C) <1999> Erik Walthinsen <omega@cse.ogi.edu>
* <2005> Wim Taymans <wim@fluendo.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; eithe... | C | ext/dv/gstdvdemux.c | mrchapp/gst-plugins-good | lgpl-2.1 | 57,851 | 1,906 | codeparrot/github-code |
d6c8a8a64c7a1af89f56e97fcd3f576b564bf20bb48c7a1ab2311d13784df477 | #!/usr/bin/env bash
set -xe
# default value for NJOBS
: "${NJOBS:=1}"
export NJOBS
# We add $PWD/_install_ci/lib unconditionally due to a hack in the
# ci-menhir script, which will install some OCaml libraries outside
# our docker-opam / Nix setup; we have to do this for all the 3 cases
# below; would we fix ci-menh... | Shell | dev/ci/ci-common.sh | coq/coq | lgpl-2.1 | 5,995 | 183 | codeparrot/github-code |
4c733040c2aff6f49c41551cae19db51e2f8e0d915aa7da6e7208811765119db | /*
* Javascript terminal
*
* Copyright (c) 2011 Fabrice Bellard
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to us... | JavaScript | third_party/bellard/term.js | ubercomp/jslm32 | lgpl-2.1 | 18,674 | 635 | codeparrot/github-code |
b7bcd59e31d71aeb71b1da2f2280bdfd12ff6cc381f4d57f703ebe0978f4cfce | /*
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/test/t-divrem2_precomp.c | jpflori/flint2 | lgpl-2.1 | 1,319 | 59 | codeparrot/github-code |
fc8cbeba60bec5be159767e745f3df997a5bd893d4691efd8fd8790cb2b9d10e | /*
* Copyright (C) 2005 Tommi Maekitalo
*
* 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.
*
* As a sp... | C | include/tntdb/mysql/bindvalues.h | OlafRadicke/tntdb | lgpl-2.1 | 6,116 | 154 | codeparrot/github-code |
755f07a43c0cce84f181f70859fb0ec637f17758478d2b9e537704cb090c3727 | /*
* ws protocol handler plugin for "lws-minimal-broker"
*
* Written in 2010-2019 by Andy Green <andy@warmcat.com>
*
* This file is made available under the Creative Commons CC0 1.0
* Universal Public Domain Dedication.
*
* This implements a minimal "broker", for systems that look like this
*
* [ publisher w... | C | minimal-examples/ws-server/minimal-ws-broker/protocol_lws_minimal.c | sartura/libwebsockets | lgpl-2.1 | 6,377 | 251 | codeparrot/github-code |
201382a744e2dcf240254649e6ab58b5c5700925b15e1588820eba82cbd81a95 | /*
* This library is part of OpenCms -
* the Open Source Content Management System
*
* Copyright (c) Alkacon Software GmbH & Co. KG (http://www.alkacon.com)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by th... | Java | src/org/opencms/ui/dialogs/history/diff/CmsImageDiff.java | ggiudetti/opencms-core | lgpl-2.1 | 4,356 | 100 | codeparrot/github-code |
adfb3bfc4a538631ebfedabde43eef7a117e2530ce2ea44f85bf32f001b905f1 | #region Disclaimer / License
// Copyright (C) 2015, The Duplicati Team
// http://www.duplicati.com, info@duplicati.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
... | C# | Duplicati/Library/Compression/FileArchiveZip.cs | gerco/duplicati | lgpl-2.1 | 21,007 | 513 | codeparrot/github-code |
395a2caa67746eeff48604cb1ff73fb2e95c44154eee128412caca1daea5ba02 | <?php
// (c) Copyright 2002-2016 by authors of the Tiki Wiki CMS Groupware Project
//
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id: searchstatslib.php 57965 2016-03-17 20:04:49Z jonnybra... | PHP | lib/search/searchstatslib.php | lorddavy/TikiWiki-Improvement-Project | lgpl-2.1 | 1,759 | 73 | codeparrot/github-code |
4b8c91f573c97f17df89a5bfa25fd957bad96a53618abf2a98806e0c0ddb521e | #!/usr/bin/env python3
import os, sys, glob, pickle, subprocess
sys.path.insert(0, os.path.dirname(__file__))
from clang import cindex
sys.path = sys.path[1:]
def configure_libclang():
llvm_libdirs = ['/usr/lib/llvm-3.2/lib', '/usr/lib64/llvm']
try:
libdir = subprocess.check_output(['llvm-config', '... | Python | tools/coverage.py | chergert/libgit2-glib | lgpl-2.1 | 6,729 | 260 | codeparrot/github-code |
ba8b97cd9d06a851bfc026a3e9640eaa77544c9c4376a544d606d4b9266bb51b | /**************************************************************************
**
** 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/projectexplorer/customwizard/customwizardpage.cpp | yinyunqiao/qtcreator | lgpl-2.1 | 15,232 | 415 | codeparrot/github-code |
4d233558eca4e1329896769de0419d5d6d58a6cb16d2267866903e31e32f7297 | /* libinfinity - a GObject-based infinote implementation
* Copyright (C) 2007-2015 Armin Burgmeier <armin@arbur.net>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* versi... | C | libinfgtk/inf-gtk-account-creation-dialog.c | gobby/libinfinity | lgpl-2.1 | 23,379 | 858 | codeparrot/github-code |
4f5d91025d41be6327dc3ae70858ceaecbe3150dc3c6f9747d7c6b894754c854 | /****************************************************************************
**
** Copyright (C) 2014 Kurt Pattyn <pattyn.kurt@gmail.com>.
** Contact: http://www.qt-project.org/legal
**
** This file is part of the QtWebSockets module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licen... | C++ | src/websockets/qwebsocketprotocol.cpp | SfietKonstantin/qtwebsockets | lgpl-2.1 | 8,694 | 226 | codeparrot/github-code |
9593d18a175099c5164d09b9f0b8c7f05f1aeed2f93f2650e57c42b4ef7326d8 | /****************************************************************/
/* DO NOT MODIFY THIS HEADER */
/* MOOSE - Multiphysics Object Oriented Simulation Environment */
/* */
/* (c) 2010 Battelle Energy Alliance, LLC ... | C | framework/include/base/ComputeMaterialsObjectThread.h | liuwenf/moose | lgpl-2.1 | 3,033 | 75 | codeparrot/github-code |
4c6aa5254093619c7858e41b27cc15fec11bc4b5073deb553d9f9e470bf5a67c | # -*- coding: utf-8 -*-
# ***************************************************************************
# * Copyright (c) 2014 Yorik van Havre <yorik@uncreated.net> *
# * *
# * This program is free software; you can redistribute it a... | Python | src/Mod/Path/PathScripts/PathDressupDogbone.py | Fat-Zer/FreeCAD_sf_master | lgpl-2.1 | 49,206 | 1,219 | codeparrot/github-code |
2fb4212227c1c3bd2794ac4ca31b021d9ae6e5312d637820de13a7e2baa81b53 | /*
Copyright (C) 2014 Fredrik Johansson
This file is part of Arb.
Arb 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 | acb_modular/test/t-psl2z_inv.c | fredrik-johansson/arb | lgpl-2.1 | 1,930 | 73 | codeparrot/github-code |
192ff4c210e2edd315b06e45b8c9faa6b8bb42315d22efe7fd72aea61802060c | /*
Copyright (C) 2005 Steven L. Scott
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 is dis... | C++ | src/cpputil/read_file.cpp | cran/Boom | lgpl-2.1 | 1,230 | 40 | codeparrot/github-code |
f7c7147f6c5e6d8b6d23c30cfaa64938c434fa7ea0e1f9cf556a8f9d76248884 | YUI.add('event-simulate', function (Y, NAME) {
(function() {
/**
* Simulate user interaction by generating native DOM events.
*
* @module event-simulate
* @requires event
*/
//shortcuts
var L = Y.Lang,
isFunction = L.isFunction,
isString = L.isString,
isBoolean = L.isBoolean,
isObject ... | JavaScript | tomcat-7.0.57/webapps/ROOT/html/js/aui/event-simulate/event-simulate.js | FuadEfendi/lpotal | lgpl-2.1 | 37,238 | 954 | codeparrot/github-code |
ab12666dfbbfab0f04845c07203a75e8ba187be8f56777e08e4e67a47a3b85fe | //
// DockObject.cs
//
// Author:
// Lluis Sanchez Gual
//
//
// 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
// "Software"), to deal in the Software without restri... | C# | src/core/MonoDevelop.Ide/MonoDevelop.Components.Docking/DockObject.cs | mono/linux-packaging-monodevelop | lgpl-2.1 | 7,753 | 299 | codeparrot/github-code |
d3acc498c8fab674a65362a742eb77ebca7f3a1f4ac0551718f27fde8b67b223 | /****************************************************************************
**
** 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 | src/connectivity/nfc/qnearfieldtagtype3_symbian_p.h | enthought/qt-mobility | lgpl-2.1 | 4,484 | 115 | codeparrot/github-code |
1412e276ce86d84f4d270f35475d803eeae59fd2afebc850cc91779725ec9ef5 | /* $Id$
*
* OpenMAMA: The open middleware agnostic messaging API
* Copyright (C) 2011 NYSE Technologies, Inc.
*
* 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.... | C# | mamda/dotnet/src/cs/Options/MamdaOptionContract.cs | philippreston/OpenMAMA | lgpl-2.1 | 7,728 | 312 | codeparrot/github-code |
21b31badb2223dd771df10592238ccbdef32203f647db7dec77a04f9f68a1afb | // IFC SDK : IFC2X3 C++ Early Classes
// Copyright (C) 2009 CSTB
//
// 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 late... | C++ | src/ifc2x3/IfcElementType.cpp | cstb/ifc2x3-SDK | lgpl-2.1 | 3,037 | 111 | codeparrot/github-code |
e8cad8d218058c00b6a729c13dae10a82844d6d83258a10363dca35a178b32b1 | /*********************************************************************
*
* 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/SQLExtendedFetch.c | JasonDyalog/unixODBC | lgpl-2.1 | 9,847 | 338 | codeparrot/github-code |
461777f391b014b115115e0608083581380e90771ed41b526853a5f39874471c | /**
* Copyright (C) 2013 Orbeon, Inc.
*
* This program is free software; you can redistribute it and/or modify it under the terms of the
* GNU Lesser General Public License as published by the Free Software Foundation; either version
* 2.1 of the License, or (at your option) any later version.
*
* This program i... | Scala | src/main/scala/org/orbeon/oxf/fr/FormRunnerSummary.scala | wesley1001/orbeon-forms | lgpl-2.1 | 1,904 | 47 | codeparrot/github-code |
59c6d6c57791cd0483b18ccf1c0217f671080aea1acd65aa51fca8d5f6d680f7 | /*BHEADER**********************************************************************
* Copyright (c) 2008, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* This file is part of HYPRE. See file COPYRIGHT for details.
*
* HYPRE is free software; you can redistribute... | C | src/sstruct_ls/maxwell_PNedelec_bdy.c | jbakosi/HYPRE | lgpl-2.1 | 20,599 | 453 | codeparrot/github-code |
25e4280dbdfb2e14c5c6a0f111ba2453670c7e2ebe94e8d45e586d93ab467579 | /*
* JBoss, Home of Professional Open Source.
* Copyright 2014, 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 | clustering/server/src/main/java/org/wildfly/clustering/server/registry/CacheRegistry.java | tomazzupan/wildfly | lgpl-2.1 | 13,247 | 293 | codeparrot/github-code |
61fa1c5e8ad0455263b3411765823e7ae38bcb91cc93222fdd4a4c84bc893d12 |
\chapter{Executing \whyml Programs}
\label{chap:exec}\index{whyml@\whyml}
This chapter shows how \whyml code can be executed, either by being
interpreted or compiled to some existing programming language.
\begin{latexonly}
Let us consider the program in Figure~\ref{fig:MaxAndSum}
on page~\pageref{fig:MaxAndSum} that... | TeX | doc/exec.tex | douglas-larocca/why3 | lgpl-2.1 | 3,630 | 102 | codeparrot/github-code |
1f9b4e9f7010031fe24662eaa06f41ff3ad1dfb193901b2a6f56289527dd1852 | /*****************************************************************************
* This file is part of Kvazaar HEVC encoder.
*
* Copyright (C) 2013-2015 Tampere University of Technology and others (see
* COPYING file).
*
* Kvazaar is free software: you can redistribute it and/or modify it under
* the terms of the... | C | libkvz/strategies/sse41/picture-sse41.c | TimotF/hevc-encryption | lgpl-2.1 | 3,492 | 102 | codeparrot/github-code |
330f5f999b3dd8db89adc7a31d1c66125ee910d4cf35dbe0f86f17d47c99ccee | /*
* $Id: ossl_pkey_dsa.c 16691 2008-05-29 17:45:47Z knu $
* 'OpenSSL for Ruby' project
* Copyright (C) 2001-2002 Michal Rokos <m.rokos@sh.cvut.cz>
* All rights reserved.
*/
/*
* This program is licenced under the same licence as Ruby.
* (See the file 'LICENCE'.)
*/
#if !defined(OPENSSL_NO_DSA)
#include "ossl... | C | ruby_1_8_7/ext/openssl/ossl_pkey_dsa.c | funkaster/shinycocos | lgpl-2.1 | 10,491 | 485 | codeparrot/github-code |
763785b68f45b2d91260cf062a31fb5697d5e9858f3e60d018cf3b46d7be7a1b | /****************************************************************************
**
** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the QtCore module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
**... | C | src/gui/graphicsview/qgraphicsscenebsptreeindex_p.h | igor-sfdc/qt-wk | lgpl-2.1 | 6,087 | 207 | codeparrot/github-code |
667f637c43caecc629fe7b98795ead6fe816e7ad2b6794d9269f79400a4deda9 | /* FeatureAlgorithm.cpp */
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
/* */
/* Copyright (C) 2007 Open Microscopy Environment */
/* Massachusetts Institue of Techno... | C++ | src/FeatureAlgorithms.cpp | chris-allan/pychrm | lgpl-2.1 | 18,943 | 535 | codeparrot/github-code |
8eb7e548facee6882d33b2db6bf97e64d8d2e0062f2596f450c149a2b0c98fce | /////////////////////////////////////////////////////////////////////////////////
//
// Multilayer Feature Graph (MFG), version 1.0
// Copyright (C) 2011-2015 Yan Lu, Dezhen Song
// Netbot Laboratory, Texas A&M University, USA
//
// This program is free software; you can redistribute it and/or modify
// it under t... | C++ | src/mfgcore/twoview.cpp | chen0510566/MFG | lgpl-3.0 | 7,585 | 250 | codeparrot/github-code |
973ce8dc60de59942bbe6bb79a6642ac7a1ccac41786dd3b1f909a2ce8d81114 | /**
* Kopernicus Planetary System Modifier
* ====================================
* Created by: BryceSchroeder and Teknoman117 (aka. Nathaniel R. Lewis)
* Maintained by: Thomas P., NathanKell and KillAshley
* Additional Content by: Gravitasi, aftokino, KCreator, Padishar, Kragrathea, OvenProofMars, zengei, MrHappy... | C# | Kopernicus/Kopernicus.Components/Ring.cs | Borisbee1/Kopernicus | lgpl-3.0 | 7,416 | 190 | codeparrot/github-code |
1ff31687af8fb32c1c3ae9a863f2c863d9d8a646801cee85145c7e70bde0a30b | //
// XmlSchemaWriter.cs - DataSet.WriteXmlSchema() support
//
// Author:
//
// Atsushi Enomoto <atsushi@ximian.com>
//
// Original WriteXml/WriteXmlSchema authors are:
// Ville Palo, Alan Tam, Lluis Sanchez and Eran Domb.
//
//
// Copyright (C) 2004-05 Novell, Inc (http://www.novell.com)
//
// Permission is hereby g... | C# | class/System.Data/System.Data/XmlSchemaWriter.cs | edwinspire/VSharp | lgpl-3.0 | 26,773 | 902 | codeparrot/github-code |
41dcff8f06324dc6359f56adaf8861f7de9e22fd8cde4f2df33bb8e32649b758 | package org.hy.commons.lang.timer;
import java.util.Timer;
import java.util.TimerTask;
import org.apache.commons.logging.LogFactory;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* *
*
* @author uwaysoft 魏韶颖 时间:2009年4月20日15:02:58
*/
public class TimerTaskProxy extends TimerTask {
... | Java | java/commons/commons-lang/src/main/java/org/hy/commons/lang/timer/TimerTaskProxy.java | hy2708/hy2708-repository | lgpl-3.0 | 1,254 | 57 | codeparrot/github-code |
955c64112b391661781b9156ed267cee6890aaa0596e2bf5e5676f1693d67416 | <?php
/*
*
* ____ _ _ __ __ _ __ __ ____
* | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \
* | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) |
* | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/
* |_| \___/ \___... | PHP | src/pocketmine/CrashDump.php | Hydreon/Katana | lgpl-3.0 | 8,822 | 262 | codeparrot/github-code |
fd1c62a7e2bca8a7ebbd95af2c336c5c5fc2b8d51125de305c75fd2806b0bdc8 | /*
cencoder.c - c source to a base64 encoding algorithm implementation
This is part of the libb64 project, and has been placed in the public domain.
For details, see http://sourceforge.net/projects/libb64
*/
#include <cencode.h>
const int CHARS_PER_LINE = 72;
void base64_init_encodestate(base64_encodestate* state_i... | C | Common/sys/libb64/cencode.c | trigrass2/STM32491_CPLR | lgpl-3.0 | 2,656 | 113 | codeparrot/github-code |
5585b586dc0be10053ee6980e536371c1147278bbcc10106af2e0c6eb5f45083 | /* GStreamer
* Copyright (C) <1999> Erik Walthinsen <omega@cse.ogi.edu>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any... | C | third-party/gstreamer/gst-plugins-good-0.10.23/ext/aalib/gstaasink.c | cpopescu/whispermedialib | lgpl-3.0 | 16,349 | 562 | codeparrot/github-code |
74cd87c63d0e3eca73771d0edf0e447846d4323c59a66b1d4570ee6af1f02621 | /*
* Copyright (C) 2005-2013 Alfresco Software Limited.
*
* This file is part of Alfresco
*
* Alfresco 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
... | Java | modules/sharepoint/amp/source/java/org/alfresco/module/vti/web/actions/VtiIfHeaderAction.java | loftuxab/community-edition-old | lgpl-3.0 | 3,337 | 111 | codeparrot/github-code |
e6c0e02bf8aa0d87fcd81ab55c0df22551d46cc2ea61403951c33efdbea7fd21 | /* =========================================================================
* This file is part of NITRO
* =========================================================================
*
* (C) Copyright 2004 - 2017, MDA Information Systems LLC
*
* NITRO is free software; you can redistribute it and/or modify
... | C++ | modules/c++/nitf/source/NITFBufferList.cpp | mdaus/nitro | lgpl-3.0 | 5,423 | 164 | codeparrot/github-code |
dea9e581cad6981fe074f99438e986094809c034e5c0e3db94a350a0cb7228cc | "use strict";
var Activity = require("./activity");
var util = require("util");
function Falsy() {
Activity.call(this);
this.value = false;
this.is = true;
this.isNot = false;
}
util.inherits(Falsy, Activity);
Falsy.prototype.run = function (callContext, args) {
callContext.schedule(this.value,... | JavaScript | lib/es5/activities/falsy.js | unbornchikken/workflow-4-node | lgpl-3.0 | 823 | 39 | codeparrot/github-code |
9e18b2cb0a4a8847063d789b2f9e692b49da667794c1b9adb0a0bf40f82c6a94 | /**
* <copyright>
* </copyright>
*
* $Id$
*/
package orgomg.cwm.analysis.transformation.impl;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.impl.ENotificationImpl;
import orgomg.cwm.analysis.transformation.TransformationPackag... | Java | plugins/org.dresdenocl.tools.CWM/src/orgomg/cwm/analysis/transformation/impl/TransformationUseImpl.java | dresden-ocl/dresdenocl | lgpl-3.0 | 3,832 | 169 | codeparrot/github-code |
3ca69a3b0b802bde205133c39beadaa1d89bcd70d651b2dff03e4b81608f1966 | /**
* 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.
*/
/***************************************************************************
* ... | C | src/action_class_gen.c | erdc-cm/grib_api | lgpl-3.0 | 7,773 | 239 | codeparrot/github-code |
621e7f93a854f3ca8f222198d6a29243e70c8793910fd51634817d0abac29b7f | /*
Copyright (C) 2007 National Institute For Space Research (INPE) - Brazil.
This file is part of TerraMA2 - a free and open source computational
platform for analysis, monitoring, and alert of geo-environmental extremes.
TerraMA2 is free software: you can redistribute it and/or modify
it under the terms of... | C++ | src/terrama2/core/utility/JSonUtils.cpp | janosimas/terrama2 | lgpl-3.0 | 24,685 | 725 | codeparrot/github-code |
3851dd24f19252e8192c3602438e75da937a47c9e290b6e3a81ac8d2cce5dd4b | /* Mesquite source code. Copyright 1997-2006 W. Maddison and D. Maddison.
Version 1.12, September 2006.
Disclaimer: The Mesquite source code is lengthy and we are few. There are no doubt inefficiencies and goofs in this code.
The commenting leaves much to be desired. Please approach this source code with the sp... | Java | releases/Mesquite1.12/Mesquite Project/Source/mesquite/lib/table/RowNamesPanel.java | MesquiteProject/MesquiteArchive | lgpl-3.0 | 17,430 | 477 | codeparrot/github-code |
2839ff0c9d51dc2a0c010e1e17acdf69fb2b29ab1c5f313998d5573358a6c3d4 | /* Mesquite source code. Copyright 1997 and onward, W. Maddison and D. Maddison.
Disclaimer: The Mesquite source code is lengthy and we are few. There are no doubt inefficiencies and goofs in this code.
The commenting leaves much to be desired. Please approach this source code with the spirit of helping out.
Per... | Java | Source/mesquite/charMatrices/ReshuffleCharacter/ReshuffleCharacter.java | wmaddisn/MesquiteCore | lgpl-3.0 | 12,391 | 260 | codeparrot/github-code |
65bd565f06e6a007fa708c7e44206e157d92efb9d6c6f79709d92e28d35c5122 | 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/generic/static/tatooine/jano.py | ProjectSWGCore/NGECore2 | lgpl-3.0 | 1,147 | 33 | codeparrot/github-code |
0824f15b4a2c540005df10aa69056b30d4d80de936480b3c58087844a79e8a92 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;
namespace CSharpSyntax
{
public sealed partial class SwitchLabelSyntax : SyntaxNode
{
public CaseOrDefault Kind { get; set; }
private ExpressionSyntax _value;
... | C# | CSharpSyntax/Generated/SwitchLabelSyntax.cs | modulexcite/CSharpSyntax | lgpl-3.0 | 1,355 | 54 | codeparrot/github-code |
139a4d515a885526a325f097b9e682f9e2cd52aea551d202a2cfdd977affe803 | #include "forme.h"
///
/// \brief Forme::Forme
///
Forme::Forme()
{
}
///
/// \brief Forme::GetSize
/// \return Nombre de points constituant la forme
///
int Forme::GetSize() const
{
return L.size();
}
///
/// \brief Forme::GetPoint
/// \param i Indice du point
/// \return Retourne le i-ème point(s) de la forme
//... | C++ | forme.cpp | Alexsaphir/Fractale | lgpl-3.0 | 1,323 | 81 | codeparrot/github-code |
b0e16f62df29087a6ba6ad324dae81004badb2a0f7c2a4060e58d3f626a000e3 | /**
*
*/
package com.databasepreservation.model.data;
import java.io.InputStream;
import java.sql.Blob;
import com.databasepreservation.common.BlobInputStreamProvider;
import com.databasepreservation.common.InputStreamProvider;
import com.databasepreservation.common.TemporaryPathInputStreamProvider;
import com.data... | Java | dbptk-model/src/main/java/com/databasepreservation/model/data/BinaryCell.java | magenta-aps/db-preservation-toolkit | lgpl-3.0 | 2,407 | 85 | codeparrot/github-code |
6c8dff153fbe324ddf9d573005f4c83b6750537cf57d8d6fcb9b4dafbecb36e4 | # Copyright 2012-2013 Greg Horn
#
# This file is part of rawesome.
#
# rawesome 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) any later version.
... | Python | rawe/newton/nmhe.py | ghorn/rawesome | lgpl-3.0 | 10,700 | 298 | codeparrot/github-code |
5771955209108ce7a86ce9b732a2f4f86db519c4c2636b66bd72fa5903a8b2b5 | /****************************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing/
**
** This file is part of the QtDeclarative module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** Licensees holding valid... | C++ | src/plugins/qmltooling/qmldbg_inspector/editor/boundingrecthighlighter.cpp | qtproject/qtquick1 | lgpl-3.0 | 7,253 | 234 | codeparrot/github-code |
a7405cf7f882812a89e8a1c9ad627c6805c2ef652d200a920df3e69e284b5d3e | package nota.oxygen.epub.notes;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import java.beans.*;
import java.io.File;
import java.util.HashSet;
import java.util.Set;
import nota.oxygen.epub.EpubUtils;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.... | Java | addins/src/nota/oxygen/epub/notes/NoteRefRemover.java | ybk/nota.oxygen | lgpl-3.0 | 6,848 | 216 | codeparrot/github-code |
eed0796242a9874cb027243b80c5ed1b88c3ad8e742cee412bd239889f52a615 | /*--------------------------------------------------------------------
(C) Copyright 2006-2012 Barcelona Supercomputing Center
Centro Nacional de Supercomputacion
This file is part of Mercurium C/C++ source-to-source compiler.
See AUTHORS file in the top level directory for informa... | C | lib/mcxx_refcount.h | drpicox/mcxx | lgpl-3.0 | 3,856 | 125 | codeparrot/github-code |
6e4d23453c5e9376163ba800c85b0730c42ebf2be32b01240deb74afd002af7b | <?php
/**
* 任务指派模块------任务指派默认控制器
*
* @link http://www.ibos.com.cn/
* @copyright Copyright © 2008-2013 IBOS Inc
* @author gzhzh <gzhzh@ibos.com.cn>
*/
/**
* 任务指派模块------任务指派默认控制器,继承AssignmentBaseController
* @package application.modules.assignment.controllers
* @version $Id: DefaultController.php 3297 20... | PHP | system/modules/assignment/controllers/DefaultController.php | vlinhd11/IBOS | lgpl-3.0 | 12,722 | 295 | codeparrot/github-code |
b6b4cfbda9c264c6667b863a654674a189fb643f5ebba4b117f51b4e9f729ece | /*
Copyright (C) 2000-2012 Novell, Inc
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) version 3.0 of the License. This library
... | C | src/NCPopupTextEntry.h | anaselli/libyui-ncurses | lgpl-3.0 | 1,648 | 66 | codeparrot/github-code |
1035bef642e37e7b27415a4aac1e8eef6ba81fe3d5ddc9e467b3b1d96c0ed926 | /*
* @BEGIN LICENSE
*
* Psi4: an open-source quantum chemistry software package
*
* Copyright (c) 2007-2022 The Psi4 Developers.
*
* The copyrights for code used from other parties are included in
* the corresponding files.
*
* This file is part of Psi4.
*
* Psi4 is free software; you can redistribute it an... | C++ | psi4/src/psi4/libmints/sobasis.cc | psi4/psi4 | lgpl-3.0 | 16,063 | 454 | codeparrot/github-code |
e8fa32b8c6b47f6d3746593f4216ae9dda941533e9c8c15bcbbc91c52a80926a | rem ---------------------------------------------------------------------------
rem Set CLASSPATH and Java options
rem
rem $Id: setclasspath.bat 289088 2005-02-15 22:17:53Z markt $
rem ---------------------------------------------------------------------------
rem Make sure prerequisite environment variables are set
i... | Batchfile | 3rdparty/apache-tomcat-4.1.39/bin/setclasspath.bat | simeshev/parabuild-ci | lgpl-3.0 | 2,171 | 65 | codeparrot/github-code |
977d9251d83772b2c9e14229147814995a259dc4d3abb75880d44432e375167b | <?php
/*************************************************************************************/
/* This file is part of the Thelia package. */
/* */
/* Copyright (c) OpenStudio ... | PHP | WebService/Model/BaseModel.php | thelia-modules/TNTFrance | lgpl-3.0 | 3,114 | 85 | codeparrot/github-code |
e1347730c840bae9fdd564499b3e2e975e89058f3bf4c3d3ecb91f710ac4a327 |
package archie.editor.commands;
import org.eclipse.gef.commands.Command;
import archie.model.Tim;
import archie.model.shapes.CodeElement;
import archie.monitoring.MonitoringManager;
public class UnmarkCodeElementCommand extends Command
{
CodeElement ce = null;
Tim tim = null;
public UnmarkCodeElementCommand()
... | Java | src/archie/editor/commands/UnmarkCodeElementCommand.java | SoftwareEngineeringToolDemos/FSE-2014-Archie-Smart-IDE | lgpl-3.0 | 824 | 50 | codeparrot/github-code |
f47d5cf8bd41116ae84d2c57e0836f92c0be8ed96df0f45bb81daa208ca58bfe | # unpack nominal resolution
# Reader - ADIwg JSON to internal data structure
# History:
# Stan Smith 2019-09-22 original script
require_relative 'module_measure'
module ADIWG
module Mdtranslator
module Readers
module MdJson
module NominalResolution
def self.unpack(hRes... | Ruby | lib/adiwg/mdtranslator/readers/mdJson/modules/module_nominalResolution.rb | adiwg/mdTranslator | unlicense | 2,650 | 79 | codeparrot/github-code |
4e4f58274954b73e90012ad14bfacdfed5f9aa05f59ed035151e7368acbc2afc | package gov.usgs.wma.wqp.dao.count;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.test.context.SpringBootTest.WebEnvironment;
import com.github.springtestdbunit.annotation.DatabaseSetup;
import com.github.springtestdbunit.annotation.DbU... | Java | src/test/java/gov/usgs/wma/wqp/dao/count/CountDaoStationKmlIT.java | mbucknell/WQP-WQX-Services | unlicense | 3,656 | 73 | codeparrot/github-code |
4bbace43e4a568a845ac88830ee42dfd21004c619676150c036d2ebd859e4bf1 | /*
* Copyright (C) 2009 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... | C | vm/compiler/codegen/arm/FP/ThumbVFP.c | gokutek/ReverseKit | unlicense | 8,699 | 262 | codeparrot/github-code |
d1e7d32f9e949db6c131140b3ce022f9e8dfed89b8cfbf333ef41963ecc60457 | //Sample code for SmartStore
// This file assumes that all of the javascript and css files required
// as well as the required DOM objects are specified in the index.html file.
var SAMPLE_SOUP_NAME = "myPeopleSoup";
var lastSoupCursor = null;
var sfSmartstore = cordova.require("salesforce/plugin/smartstore");
funct... | JavaScript | forcedroid/hybrid/SampleApps/SmartStoreExplorer/assets/www/smartstoreexplorer.js | marcus-bessa/MobileCampaign | unlicense | 13,221 | 376 | codeparrot/github-code |
af5963003e47ae372350c6288a7effe2e03efc5763b8f06bdd27de509210b4e6 |
#include "geogrid_index.h"
#include "geogrid_tiles.h"
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
const int GEO_DEBUG=1;
void print_usage(FILE* f,const char* name) {
fprintf(f,"Usage: %s [OPTIONS]\n",name);
fprintf(f,"\n");
fprintf(f,"Converts geotiff file `FileName' into g... | C | tester.c | openwfm/convert_geotiff | unlicense | 4,722 | 177 | codeparrot/github-code |
ce2d34c54fa28920741669478bd7b8bb94f8cc18eb6d98840da406b233d72eca | <?php
//发表评论
function AddPl($username,$password,$nomember,$key,$saytext,$id,$classid,$repid,$add){
global $empire,$dbtbpre,$public_r,$class_r,$level_r;
//验证本时间允许操作
eCheckTimeCloseDo('pl');
//验证IP
eCheckAccessDoIp('pl');
$id=(int)$id;
$repid=(int)$repid;
$classid=(int)$classid;
//验证码
$keyvname='checkplkey';
i... | PHP | e/pl/plfun.php | liangpz521/b2b | unlicense | 8,835 | 346 | codeparrot/github-code |
9ef88370e67d3655c9f5ed50b7c4e242098a19bd0c5a4f3a32d04fe698ea3626 | package com.huawei.esdk.fusioncompute.local.model.net;
import java.util.List;
/**
* Subnet详细信息
* <p>
* @since eSDK Cloud V100R003C50
*/
public class Subnet
{
/**
* Subnet 标识。
*/
private String urn;
/**
* 访问subnet所用的uri。
*/
private String uri;
/**
* Subnet名称,长... | Java | source/src/main/java/com/huawei/esdk/fusioncompute/local/model/net/Subnet.java | eSDK/esdk_cloud_fc_native_java | apache-2.0 | 3,577 | 210 | codeparrot/github-code |
cb2e9b2679ba099b601a7b1ae70e5b7ceee5116b1b4bcda0a752a1233f121538 | package org.ansj.recognition.arrimpl;
import org.ansj.domain.Term;
import org.ansj.recognition.TermArrRecognition;
import org.ansj.util.MyStaticValue;
import org.ansj.util.TermUtil;
public class NumRecognition implements TermArrRecognition {
/**
* 数字+数字合并,zheng
*
* @param terms
*/
public voi... | Java | src/main/java/org/ansj/recognition/arrimpl/NumRecognition.java | waiteryee1/ansj_seg | apache-2.0 | 1,670 | 64 | codeparrot/github-code |
0415347d264d95eb38319e90480c6eb6f56f46f0da01df51db8e315b7ef74329 | /*
* Copyright 2016 Coursera 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 t... | Scala | naptime/src/main/scala/org/coursera/naptime/models.scala | josh-newman/naptime | apache-2.0 | 21,112 | 579 | codeparrot/github-code |
5fb549d9ace0c0065c947bddffaa1aee399c306bad7a403362fc9cb6890c9e73 | /*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
*
* 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 ... | C# | Common/Data/SubscriptionDataConfig.cs | desimonk/Lean | apache-2.0 | 8,450 | 226 | codeparrot/github-code |
c2b2bd1581ced9b5165322cc28d0c393b2f9891f7e4595101a49835ce85df19c | ;(function($){
/**
* jqGrid extension for manipulating Grid Data
* Tony Tomov tony@trirand.com
* http://trirand.com/blog/
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl-2.0.html
**/
//jsHint options
/*global alert, $, jQuery... | JavaScript | sampleWebApp/src/main/webapp/scripts/jqgrid/src/grid.inlinedit.js | fdcmessenger/framework | apache-2.0 | 19,833 | 583 | codeparrot/github-code |
428931a48ef8e17d612a1098b1b7c10c994f282a9160351aa0cb1c70d728d641 | /* Copyright 2016 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 ... | Java | src/main/java/com/google/api/codegen/viewmodel/DynamicLangDefaultableParamView.java | geigerj/toolkit | apache-2.0 | 1,165 | 38 | codeparrot/github-code |
e5f8383c2e729ef09b20225b10b8fbdca30e1cbb51624fbaa99fee96b1f67439 | /**
* Copyright (C) 2012 Eric Bottard / Guillaume Lederrey (eric.bottard+ghpublic@gmail.com / guillaume.lederrey@gmail.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* ... | Java | src/main/java/org/springframework/social/bitbucket/api/impl/InvitationsTemplate.java | gehel/spring-social-bitbucket | apache-2.0 | 1,982 | 46 | codeparrot/github-code |
486c12ffe59955531b981b86c7d61e96462d6c1c1e5a2c1188ecaf25d16c2dc4 | /*
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 | batik-css/src/main/java/org/apache/batik/css/engine/value/svg12/DeviceColor.java | apache/batik | apache-2.0 | 3,839 | 138 | codeparrot/github-code |
a632260f93078894c7df51aa5642bbe72e9bdf2aee4e44870bcb867b0ff57d1e | /*
* 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 | samza-core/src/main/java/org/apache/samza/table/caching/guava/GuavaCacheTable.java | prateekm/samza | apache-2.0 | 5,858 | 211 | codeparrot/github-code |
9cc242f0e84b14ea35451853b0f300a5ae1336bab699bc442b8619a7f3553afb | // Copyright 2017 CoreOS, 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... | GO | pluton/harness/run.go | quantum/coreos-mantle | apache-2.0 | 2,882 | 115 | codeparrot/github-code |
21f6402f1e5b2d545288ec49b88c0c70520fb7520c4674a1549b90f8752d9979 | #!/usr/bin/env python
# encoding: utf-8
#
# 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, Versi... | Python | nltkrest/nltkrest/server.py | chrismattmann/NLTKRest | apache-2.0 | 4,079 | 120 | codeparrot/github-code |
ecb9a5d7b6a1c114673dc839bae5694cedbd406d7c70cfa624a102943b1a9eb8 |
/* Copyright 2012 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | JavaScript | B2G/gaia/apps/email/js/ext/mailapi/activesync/protocollayer.js | sergecodd/FireFox-OS | apache-2.0 | 98,854 | 2,960 | codeparrot/github-code |
0cd01cdf03f9bf112c2ba1eb26c281cf6f3f59948e1b4224dddcf2db46f5d9d8 | /**
* @license Copyright 2017 Google 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 by applicable law or a... | JavaScript | lighthouse-viewer/app/src/drag-and-drop.js | tkadlec/lighthouse | apache-2.0 | 2,079 | 64 | codeparrot/github-code |
2b0144efeca979d24ba62336a13c4126a0d32171c556b02cedeafd5208b4b1dd | <!DOCTYPE html>
<html lang="en">
<head>
<title>RouterMethod Enum Reference</title>
<link rel="stylesheet" type="text/css" href="../css/jazzy.css" />
<link rel="stylesheet" type="text/css" href="../css/highlight.css" />
<meta charset="utf-8">
<script src="../js/jquery.min.js" defer></script>
<s... | HTML | docs/docsets/Kitura.docset/Contents/Resources/Documents/Enums/RouterMethod.html | naithar/Kitura | apache-2.0 | 50,311 | 1,122 | codeparrot/github-code |
4720b218edf0949366abb8ce69d03271c4ab935effbd9ae6ad18914ac21eac91 | #!/usr/bin/env python
# Copyright 2016 Criteo
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agree... | Python | biggraphite/cli/command_list.py | Thib17/biggraphite | apache-2.0 | 2,668 | 89 | codeparrot/github-code |
fcc3a8afea1c6c735bebf7cc68ec9750cbd3b0e5348187f73ea266c04254cda5 | /*
* Copyright 2012 Google 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 by applica... | C++ | src/platform/linux/chromium/base/file_util_shell.cc | snibug/gyp_example | apache-2.0 | 23,574 | 763 | codeparrot/github-code |
b4015b1b56b6c95f4eb6d8494f1d1d2d00a3856382be2ef7e5c69984370845fe | from sys import maxsize
class Group:
def __init__(self, group_name=None, group_header=None, group_footer=None, id=None):
self.group_name = group_name
self.group_header = group_header
self.group_footer = group_footer
self.id = id
def __repr__(self):
return '%s:%s' % (se... | Python | tests_group/group_lib.py | werbk/task-5.14 | apache-2.0 | 3,504 | 115 | codeparrot/github-code |
1ed4d48cf6b1a0148f0f849dfb44bfdde4f69de43f5f20989a5a03ad8644c906 | #ifndef WORLD_H
#define WORLD_H
#include <string>
#include <vector>
#include "vec.h"
class World
{
public:
World(const std::string& filename);
virtual ~World();
void LoadFromFile(const std::string& filename);
virtual void Draw();
public:
enum ShapeType {SPHERE, GROUND, CUBE, CYLINDER};
class... | C | Homework1/jellocube-basecode/src/world.h | SteveUCF/IDS6938-SimulationTechniques | apache-2.0 | 1,068 | 60 | codeparrot/github-code |
990716791ca2d2a1404d7abc8210c39d57e5fa83b01c9ea623019272699e8248 | // Copyright 2011-2016 Google LLC
//
// 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 ... | Java | src/main/java/com/google/security/zynamics/binnavi/config/DebugColorsConfigItem.java | google/binnavi | apache-2.0 | 5,605 | 149 | codeparrot/github-code |
9c73ef2087b45ad7da00bf3e4756ce9b0b21016108b5c0e51a79c52e364537c8 | /*
* Copyright 2000-2013 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | Java | plugins/ui-designer/src/com/intellij/uiDesigner/snapShooter/CreateSnapShotAction.java | romankagan/DDBWorkbench | apache-2.0 | 23,500 | 561 | codeparrot/github-code |
ebee5d3e16a19fb43d8830101317b6df6a29bae55735fe2ed6f68b98c086b3ec | /**
* Copyright (c) 2013-2020 Contributors to the Eclipse Foundation
*
* <p> See the NOTICE file distributed with this work for additional information regarding copyright
* ownership. All rights reserved. This program and the accompanying materials are made available
* under the terms of the Apache License, Versio... | Java | core/store/src/test/java/org/locationtech/geowave/core/store/query/gwql/SelectStatementTest.java | locationtech/geowave | apache-2.0 | 15,592 | 300 | codeparrot/github-code |
de419652a73053a0414b5580b461b22aa2938caa25b2646b9e3ac6f180bb845d | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | Java | presto-hive/src/main/java/io/prestosql/plugin/hive/RcFileFileWriterFactory.java | hgschmie/presto | apache-2.0 | 7,137 | 170 | codeparrot/github-code |
95ba7191a029df220da8f4531809ba3468ff14ece3168951b5a3a7f415326606 | /**
* Copyright 2017 Goldman Sachs.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | Java | obevo-db/src/main/java/com/gs/obevo/db/api/platform/DbDeployerAppContext.java | shantstepanian/obevo | apache-2.0 | 2,854 | 76 | codeparrot/github-code |
74822a17fb09abc58ee549fbf0487604f421cca9979b79604531cbd8044c44e7 | <?xml version="1.0" encoding="iso-8859-1"?>
<!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" xml:lang="en" lang="en">
<head>
<title>File: which_command.rb</title>
<meta http-equiv="Content... | HTML | tools/ironruby/lib/ironruby/gems/1.8/doc/rubygems-1.3.6/rdoc/files/lib/rubygems/commands/which_command_rb.html | ThoughtWorksStudios/excel-2010-mingle-addin | apache-2.0 | 2,249 | 109 | codeparrot/github-code |
e69f42d59ee3f6cf7fe68673364b78e1810bd82b5c13927899f60161a430bdb7 | /*
* Copyright 2016 MongoDB, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | Java | driver-core/src/test/unit/com/mongodb/client/ImmutableDocumentCodec.java | jsonking/mongo-java-driver | apache-2.0 | 2,742 | 77 | codeparrot/github-code |
c0236204b914c9005116d23a195aa696f9122501f51d76c45c8f86e7d02e4ec7 | # encoding: UTF-8
# Copyright 2012 Twitter, Inc
# http://www.apache.org/licenses/LICENSE-2.0
module TwitterCldr
module Resources
module Properties
class PropertyImporter < Importer
private
def execute
load.each_pair do |property_name, property_values|
property_value... | Ruby | lib/twitter_cldr/resources/properties/property_importer.rb | surfdome/twitter-cldr-rb | apache-2.0 | 1,886 | 75 | codeparrot/github-code |
ae18ff9be5653647b24dd2362fded9a4a460b3fa49c764c20dacccf6c68cb47e | package org.apereo.cas.config;
import org.apache.commons.lang3.StringUtils;
import org.apereo.cas.authentication.AuthenticationEventExecutionPlan;
import org.apereo.cas.authentication.AuthenticationHandler;
import org.apereo.cas.authentication.StormpathAuthenticationHandler;
import org.apereo.cas.authentication.princi... | Java | support/cas-server-support-stormpath/src/main/java/org/apereo/cas/config/StormpathAuthenticationConfiguration.java | petracvv/cas | apache-2.0 | 3,528 | 76 | codeparrot/github-code |
9d2ce53870ee612ebf35eb3466c82c323316ffd2cd5e6c141a1dbdcfb41b118e | /*
* Copyright 2000-2014 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | Java | platform/vcs-log-graph-api/src/com/intellij/vcs/log/graph/actions/GraphMouseAction.java | ernestp/consulo | apache-2.0 | 946 | 38 | codeparrot/github-code |
05f45615b8a19842d2da3ccde2101d0a8c15c69605074c6ee9a3793f000b8b0c | /*
* 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 | uimaj-tools/src/main/java/org/apache/uima/tools/cvd/control/AboutHandler.java | apache/uima-uimaj | apache-2.0 | 2,611 | 78 | codeparrot/github-code |
97426601a09243eee3fb2e627459a28f79996417cf29f139d15db9de5beda93b | package com.mossle.bpm.data;
import java.util.List;
import java.util.Map;
import javax.annotation.PostConstruct;
import javax.annotation.Resource;
import com.mossle.bpm.persistence.manager.BpmConfBaseManager;
import com.mossle.bpm.persistence.manager.BpmConfListenerManager;
import com.mossle.bpm.persistence.manager.... | Java | src/main/java/com/mossle/bpm/data/ProcessListenerDeployer.java | xuhuisheng/lemon | apache-2.0 | 2,001 | 58 | codeparrot/github-code |
eaefc48c1cae2a8e9876252189704a3af627f2a273589f25eabca547fc0c534a | #
# Copyright (c) 2013 Juniper Networks, Inc. All rights reserved.
#
import os
import gevent
import logging
import kazoo.client
import kazoo.exceptions
import kazoo.handlers.gevent
import kazoo.recipe.election
from kazoo.client import KazooState
from kazoo.retry import KazooRetry
from bitarray import bitarray
from cfg... | Python | src/config/common/zkclient.py | tcpcloud/contrail-controller | apache-2.0 | 14,983 | 424 | codeparrot/github-code |
8b197653cc51eb1686bac11fa5dd9e81b84acccb7829b59728e265a14648c5f6 | #==========================================================================
#
# Copyright NumFOCUS
#
# 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... | Python | Modules/Segmentation/LevelSets/wrapping/test/GeodesicActiveContourImageFilterTest.py | malaterre/ITK | apache-2.0 | 6,301 | 192 | codeparrot/github-code |
c97b0f65e408715cdfeced6afbc2dfd37b9d64fbcb8cacd980256fa96f479466 | <?php
/**
* Copyright (c) 2017 Cornell University
*
* 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 applicabl... | PHP | orderflex/src/App/ResAppBundle/Controller/ResAppUserRequestController.php | victorbrodsky/order-lab | apache-2.0 | 3,130 | 102 | codeparrot/github-code |
9de77cd7ac4cd06b56e9e784f34581717b53608c5552d1ea7d921ec7e7ca6904 | /*global emp, cmapi */
// Register a channel handler for MAP_FEATURE_PLOT_URL.
cmapi.channel.handler[cmapi.channel.names.MAP_FEATURE_PLOT_URL] = {
// args will have a message and sender property
process: function (args) {
var featureTransaction,
mapServiceTransaction,
i,
len... | JavaScript | src/sdk/core/api/cmapi/channel/handler/map.feature.plot.url.js | missioncommand/emp3-web | apache-2.0 | 6,584 | 187 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.