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 |
|---|---|---|---|---|---|---|---|---|
8bf58174b5689d1d1c29d1cf411d7dfb280b10408dc38c8a9b06548b002218a4 | // Copyright (C) 2004-2016 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published by the
// Free Software Foundation; either version 3, or (at your op... | C++ | libstdc++-v3/testsuite/util/testsuite_shared.cc | paranoiacblack/gcc | gpl-2.0 | 2,961 | 131 | codeparrot/github-code |
cec94bdf02ef65186661a9db862406afd91c3e1e6aadd76b8e370a375467a1e5 | package com.sogou.qadev.service.cynthia.dao;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import com.sogou.qadev.service.cynthia.service.DbPoolConnection;
/**
* @description:home filter db processor
* @author:liming
* @mail:liming@sogou-inc.com
* @date:2014-5-6 下午5:37... | Java | src/main/java/com/sogou/qadev/service/cynthia/dao/HomeFilterAccessSessionMySQL.java | afrous/Cynthia | gpl-2.0 | 2,655 | 118 | codeparrot/github-code |
a9bbcb2acb6daf676eb346d0706ca5dafab03a056fe083f03c343569528feb9a | /* shared.h - definitions used in all GRUB-specific code */
/*
* GRUB -- GRand Unified Bootloader
* Copyright (C) 1999,2000,2001,2002,2003,2004 Free Software Foundation, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as pu... | C | stage2/shared.h | j717273419/grub4dos | gpl-2.0 | 51,871 | 1,613 | codeparrot/github-code |
4feab13ddb267743b3360d4e272f3b1d3610af3329867d2ff8e27fbcea439dd5 | <?php
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// REPORTE: Relacion de Notas de Debito / Credito
// ORGANISMO: Ninguno en particular
/////////////////////////////////////////////////////////////////////////////////////////////... | PHP | cxp/reportes/sigesp_cxp_rpp_relacionndnc.php | omerta/huayra | gpl-2.0 | 13,945 | 270 | codeparrot/github-code |
0d4995338a667852f6cb28ebe8a2b1887dc476c4f083f920de08a2fcbfce2287 | <?php
/**
* @package EasyBlog
* @copyright Copyright (C) 2010 - 2014 Stack Ideas Sdn Bhd. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* EasyBlog is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative... | PHP | components/com_easyblog/themes/wireframe/mediamanager/filegroup.php | BetterBetterBetter/B3App | gpl-2.0 | 2,783 | 62 | codeparrot/github-code |
ac594c16bdaf83251538453d2171c910c5bd63aa2d2fd6eeacbde8c716f3117d | <?PHP
/**
*
* portal_xl_install.php [English]
*
* @package language for phpBB3 Portal XL
* @version $Id: portal_xl_install.php,v 1.1.1.1 2009/05/15 04:03:35 portalxl group Exp $
* @copyright (c) 2008 DaMysterious
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
/**
* DO ... | PHP | contrib/languages/nl/mods/portal_xl_install.php | DaMysterious/portalxl50_plain | gpl-3.0 | 25,542 | 285 | codeparrot/github-code |
97ede8f3c854dbea86e95fff617316db2979b409ae752d97300e33ac6f1460ad | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/allocator/allocator_shim.h"
#include <malloc.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <memory>
#include <n... | C++ | chromium/src/base/allocator/allocator_shim_unittest.cc | golden1232004/webrtc_new | gpl-3.0 | 11,331 | 324 | codeparrot/github-code |
e618a94c3aa4b68c8f2813a40d874049e289a13545b01892cd72bc7c48dcb147 | package Koha::TrackedLinks;
# This file is part of Koha.
#
# Koha is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# Koha is distribu... | Perl | Koha/TrackedLinks.pm | PTFS-Europe/koha | gpl-3.0 | 988 | 50 | codeparrot/github-code |
28193f229c0f9b71677f53d8f31452a0a7fb97b587b0cfd44ca1cf25af81f6c2 | package org.area515.resinprinter.display;
import java.awt.Color;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.GraphicsDevice;
import java.awt.HeadlessException;
import java.awt.Rectangle;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
import javax.imagei... | Java | host/src/main/java/org/area515/resinprinter/display/PrinterDisplayFrame.java | Xtrememicrotech/XtremeD-Dev | gpl-3.0 | 5,168 | 162 | codeparrot/github-code |
7d145a48738b5f721af982e13d698b25eb7f204f608f7524e9bc1937c2b8e26a | #region Copyright & License Information
/*
* Copyright 2007-2015 The OpenRA Developers (see AUTHORS)
* This file is part of OpenRA, which is free software. It is made
* available to you under the terms of the GNU General Public License
* as published by the Free Software Foundation. For more information,
* see COP... | C# | OpenRA.Mods.Common/Traits/Render/WithSmoke.cs | Sithil-F/OpenRA | gpl-3.0 | 1,432 | 52 | codeparrot/github-code |
9bf299e23ec7a898e637be5678784a4b28356ba10d1bb7c3e9500d4880da76bd | // -*- Mode: Go; indent-tabs-mode: t -*-
/*
* Copyright (C) 2017 Canonical Ltd
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 3 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope tha... | GO | usersession/userd/launcher.go | sergiocazzolato/snapd | gpl-3.0 | 9,786 | 300 | codeparrot/github-code |
9c87641a30e767b8ac6fb2f80fb3ec6fa26f37c3584a6c9cee3574a5291937c8 | intelli.database = [];
$(function()
{
if ($('#query_out').text())
{
setTimeout( (function(){ $('#query_out').height(window.screen.height - $('#query_out').offset().top - 300) }), 1000);
}
$('a', '.js-selecting').on('click', function(e)
{
e.preventDefault();
var $ctl = $('#tbl option');
switch ($(this).... | JavaScript | js/admin/database.js | wildanSawaludin/subrion | gpl-3.0 | 5,357 | 267 | codeparrot/github-code |
cdc8a299b24c254cc316a7a5dcf246d14562abd76071e3b6ea0ebd80199fccc4 | <?php
/** ---------------------------------------------------------------------
* app/models/ca_object_lots_x_collections.php : table access class for table ca_object_lots_x_collections
* ----------------------------------------------------------------------
* CollectiveAccess
* Open-source collections management s... | PHP | pawtucket/app/models/ca_object_lots_x_collections.php | perryrothjohnson/artifact-database | gpl-3.0 | 8,361 | 209 | codeparrot/github-code |
6dc8a610dc56c23c3aa3bdbf57aab3be201d90b682a8d5f2796e999296476b12 | /*
* Unix SMB/CIFS implementation.
* status reporting
* Copyright (C) Andrew Tridgell 1994-1998
* Copyright (C) James Peach 2005-2006
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; ei... | C | source3/utils/status_profile.c | javierag/samba | gpl-3.0 | 9,531 | 360 | codeparrot/github-code |
213ce1d7e6257ad6eafd8e49ac782046c7255ed7bac5a0a3c1bbcaf266d9c2a4 | <?php defined('SYSPATH') or die('No direct script access.');
class Kohana extends Kohana_Core {
/**
* @var boolean True if Kohana is running from the command line
*/
public static $is_cli = FALSE;
/**
* original requested data
* @var array
*/
public static $_POST_ORIG;
... | PHP | oc/classes/kohana.php | open-classifieds/openclassifieds2 | gpl-3.0 | 4,945 | 176 | codeparrot/github-code |
8f36dbd930458be460960ae284ca45006cc60a37caa0b3abf65dc4ac9df66f4b | <?php
namespace Company\Model;
use Doctrine\ORM\Mapping as ORM;
//use Doctrine\Common\Collections\ArrayCollection;
//use Zend\Permissions\Acl\Role\RoleInterface;
//use Zend\Permissions\Acl\Resource\ResourceInterface;
/**
* CompanyFeaturedPackage model.
*
* @ORM\Entity
*/
class CompanyFeaturedPackage extends Com... | PHP | module/Company/src/Company/Model/CompanyFeaturedPackage.php | armandduijn/gewisweb | gpl-3.0 | 2,015 | 96 | codeparrot/github-code |
62c1c1b97eb26b6c4c7c6995f0bc5b87a618414878f944a33047682ca5e1ce0e | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef EXTENSIONS_BROWSER_API_SOCKET_SOCKET_H_
#define EXTENSIONS_BROWSER_API_SOCKET_SOCKET_H_
#include <stdint.h>
#include <queue>
#include <string>
#... | C | oss/qt/qt-everywhere-opensource-src-5.9.0/qtwebengine/src/3rdparty/chromium/extensions/browser/api/socket/socket.h | geminy/aidear | gpl-3.0 | 6,010 | 164 | codeparrot/github-code |
38e1d0c51c7567cc69ffec5aa4ffe2fd1860ecfb2c103fdeb290d141ef7ce1d6 |
#include <stdio.h>
#include <stdlib.h>
#include<limits.h>
typedef struct Stack
{
int top;
unsigned capacity;
int* array;
}Stack;
Stack* createStack(unsigned capacity)
{
struct Stack* stack = (Stack*) malloc(sizeof(Stack));
stack->capacity = capacity;
stack->top = -1;
stack->array = (int*)... | C | Dynamic_Stack_Arrays/Dynamic_Stack.c | algobook/Algo_Ds_Notes | gpl-3.0 | 1,266 | 68 | codeparrot/github-code |
00500a0d1b6f497333d0cf7a6542cf7747d8872dec46362a3d555512bb58e459 | /**
* License Agreement for OpenSearchServer
*
* Copyright (C) 2013-2015 Emmanuel Keller / Jaeksoft
*
* http://www.open-search-server.com
*
* This file is part of OpenSearchServer.
*
* OpenSearchServer is free software: you can redistribute it and/or
* modify it under the terms of the GNU General Public ... | Java | src/main/java/com/jaeksoft/searchlib/script/commands/IndexDocumentCommands.java | nvoron23/opensearchserver | gpl-3.0 | 4,085 | 129 | codeparrot/github-code |
669751062373c36506682861bc56862e0d0aa8e5a77c48925f34a6c663ceff0a | /*
*
* Copyright (c) Toon Knapen & Kresimir Fresl 2003
*
* Distributed under the Boost Software License, Version 1.0.
* (See accompanying file LICENSE_1_0.txt or copy at
* http://www.boost.org/LICENSE_1_0.txt)
*
* KF acknowledges the support of the Faculty of Civil Engineering,
* University of Zagreb, Croatia.... | C++ | moose-core/external/boost-numeric-bindings/boost/numeric/bindings/lapack/posv.hpp | BhallaLab/moose | gpl-3.0 | 11,117 | 355 | codeparrot/github-code |
7f567b3ffcf5fd55f92feb122d896c9f5862e22eb38d8c77525fac8e3f7a162d | /*
* Copyright (c) 2017, Miguel Gamboa
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is dis... | Java | aula33-weather-async/src/main/java/util/Comparators.java | isel-leic-mpd/mpd-2017-i41d | gpl-3.0 | 2,716 | 82 | codeparrot/github-code |
3f37ec199e0cd57565fbc3ec7365d0dcb919443c6c862db30c7ff7d3ce25e15d | using System;
using System.ComponentModel.Composition;
using System.IO;
using System.IO.Abstractions;
using System.Linq;
namespace GitCommands.Git
{
/// <summary>
/// Provides the ability to resolve the location of .git folder.
/// </summary>
public interface IGitDirectoryResolver
{
/// <s... | C# | GitCommands/Git/GitDirectoryResolver.cs | pmiossec/gitextensions | gpl-3.0 | 3,718 | 100 | codeparrot/github-code |
b362278e744f18a5a24c45fc8a51164b4e471cd1db094198fd930dfcfd7049a7 | /***
* itSIMPLE: Integrated Tool Software Interface for Modeling PLanning Environments
*
* Copyright (C) 2007,2008 Universidade de Sao Paulo
*
* This file is part of itSIMPLE.
*
* itSIMPLE is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
... | Java | src/gui/SplashScreen.java | jdahaldev/itsimple | gpl-3.0 | 3,009 | 116 | codeparrot/github-code |
6204ef9c68f081a9c31252d0a58f0fa5557d12a5d959e7ac87ebddead74d41fb | /*
* Copyright © 2011,2012 Google, Inc.
*
* This is part of HarfBuzz, a text shaping library.
*
* Permission is hereby granted, without written agreement and without
* license or royalty fees, to use, copy, modify, and distribute this
* software and its documentation for any purpose, provided that the
* above... | C++ | thirdparty/harfbuzz/util/options.cc | lophyel/mupdf-for-mac | gpl-3.0 | 25,654 | 819 | codeparrot/github-code |
1130e4eeb533d278a854cf1d43db542ea86f9fd4c3643544f99af2400fd0a0d5 | <?php
/**
* app/Models/Alert.php
*
* Model for access to alerts table data
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any la... | PHP | app/Models/Alert.php | rasssta/librenms | gpl-3.0 | 2,103 | 76 | codeparrot/github-code |
26c8da1f88ec31a74e18f3e65d2b38599a298830b63c9b31fa1363bd61e0d13d | function init() {
em.setProperty("state", "0");
em.setProperty("leader", "true");
}
function setup(eim, leaderid) {
em.setProperty("state", "1");
em.setProperty("leader", "true");
var eim = em.newInstance("2095_tokyo" + leaderid);
var map = eim.createInstanceMap(802000311);
map.killAllMonsters(false);
... | JavaScript | scripts/event/removed/2095_tokyo.js | Maxcloud/Mushy | gpl-3.0 | 1,620 | 76 | codeparrot/github-code |
58c03b83ca280ed59105e39e0d83eb7d4d60e6d644a73082a3975a14578d1e8a | // ======================================================================
//
// Copyright (c) 2002 SurfLab of CISE of University of Florida
//
// File : libs/src/cgalExt/Polyhedron_memory_builder.h
// Description : Build the polyhedron from the input stream
// (.10/.mesh format)
// Creation_... | C | src/mepp/Tools/Tools_Polyhedron_memory_builder.h | vincentleon/MEPP | gpl-3.0 | 3,781 | 124 | codeparrot/github-code |
17727c016a65e4fa284755cce2075fb7344eafbdd8a5982c2fc9f79c4aff7373 | using System;
using System.Collections.Generic;
using System.Linq;
using Antlr4.Runtime;
using Antlr4.Runtime.Misc;
using Rubberduck.CodeAnalysis.Inspections.Abstract;
using Rubberduck.CodeAnalysis.Inspections.Extensions;
using Rubberduck.CodeAnalysis.Inspections.Results;
using Rubberduck.Parsing;
using Rubberduck.Par... | C# | Rubberduck.CodeAnalysis/Inspections/Concrete/UnreachableCaseInspection.cs | rubberduck-vba/Rubberduck | gpl-3.0 | 9,099 | 226 | codeparrot/github-code |
6b6e0708989c97d69b9f286ab083ea27906a263f893e5eb347af2dc37384c3d6 | """
Copyright (c) 2012-2013 RockStor, Inc. <http://rockstor.com>
This file is part of RockStor.
RockStor is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published
by the Free Software Foundation; either version 2 of the License,
or (at your option) any la... | Python | src/rockstor/storageadmin/models/update_subscription.py | nkhare/rockstor-core | gpl-3.0 | 1,351 | 38 | codeparrot/github-code |
009ef285ac89f5ebb723cbe0311bae73ac72d6ad9e1e1979ee951db67d1c6f00 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_ITEM_IMPL_H_
#define CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_ITEM_IMPL_H_
#include <stdint.h>
#include <memory>
... | C | oss/qt/qt-everywhere-opensource-src-5.9.0/qtwebengine/src/3rdparty/chromium/content/browser/download/download_item_impl.h | geminy/aidear | gpl-3.0 | 28,354 | 688 | codeparrot/github-code |
b0949bc9eb218cd6353cdb1663d3aa16c390c2370f7740e5f9deba1d68ca62f0 | // This file is part of BOINC.
// http://boinc.berkeley.edu
// Copyright (C) 2008 University of California
//
// BOINC 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 Licens... | C++ | sched/sched_score.cpp | Ashod/Boinc | gpl-3.0 | 10,601 | 350 | codeparrot/github-code |
f39b175d8b756c596ec839927841337f0555021cd5bc29ffa9ae89ce011369c4 | <?php
/**
* ManiaPlanet dedicated server Xml-RPC client
*
* @license http://www.gnu.org/licenses/lgpl.html LGPL License 3
*/
namespace Maniaplanet\DedicatedServer\Structures;
class LadderStats extends AbstractStructure
{
/** @var float */
public $lastMatchScore;
/** @var int */
public $nbrMatchWins;
/** ... | PHP | libs/Maniaplanet/DedicatedServer/Structures/LadderStats.php | ManiaControl/ManiaControl | gpl-3.0 | 750 | 37 | codeparrot/github-code |
14853db8fb8d86429cfa256e29c07fabf605231dd33e34b169c3bd57e18a80a8 | <?php
/**
* @package jelix
* @subpackage dao
* @author Gérald Croes, Laurent Jouanneau
* @contributor Laurent Jouanneau
* @contributor Philippe Villiers
* @copyright 2001-2005 CopixTeam, 2005-2011 Laurent Jouanneau
* This class was get originally from the Copix project (CopixDAODefinitionV1, Copix 2.3dev200... | PHP | lib/jelix/dao/jDaoProperty.class.php | rldhont/lizmap-web-client | mpl-2.0 | 7,973 | 238 | codeparrot/github-code |
49a71b308fe3f309226e5109f13c515a19c809f86369969f5c15da8961661abb | # --
# Kernel/Modules/CustomerPreferences.pm - provides agent preferences
# Copyright (C) 2001-2015 OTRS AG, http://otrs.com/
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (AGPL). If you
# did not receive this file, see http://www.gnu.org/li... | Perl | Kernel/Modules/CustomerPreferences.pm | StCyr/otrs | agpl-3.0 | 8,496 | 271 | codeparrot/github-code |
a2835aa49bd44dba1744af82100991fad85de64af5feab83d975c158f77cedc9 | package com.cozmo.danar.util;
import android.content.Context;
import info.nightscout.androidaps.MainApp;
public class BleCommandUtil {
public static final int DANAR_PACKET__TYPE_ENCRYPTION_REQUEST = 0x01;
public static final int DANAR_PACKET__TYPE_ENCRYPTION_RESPONSE = 0x02;
public static final int DANAR... | Java | app/src/main/java/com/cozmo/danar/util/BleCommandUtil.java | AdrianLxM/AndroidAPS | agpl-3.0 | 7,137 | 121 | codeparrot/github-code |
b49f4364c9612c7ad6237c2920a8b709d356f72c577f6ed916276e3af61d9e1a | # -*- coding: utf-8 -*-
from datetime import datetime
import uuid
from werkzeug.exceptions import Forbidden
import logging
import openerp
from openerp import api, tools
from openerp import SUPERUSER_ID
from openerp.addons.website.models.website import slug
from openerp.exceptions import Warning
from openerp.osv impo... | Python | addons/website_forum/models/forum.py | Jgarcia-IAS/SITE | agpl-3.0 | 36,003 | 662 | codeparrot/github-code |
dc03514d8801602206ac6ca150b0fbc7d53eaf30e9061620ae01823d8db48fba | # -*- coding: utf-8 -*-
"""
Created on Tue Sep 22 09:47:41 2015
@author: thomas.douenne
"""
from __future__ import division
import statsmodels.formula.api as smf
from openfisca_france_indirect_taxation.examples.utils_example import simulate_df_calee_by_grosposte
if __name__ == '__main__':
import logging
lo... | Python | openfisca_france_indirect_taxation/examples/transports/regress/regress_determinants_ticpe.py | thomasdouenne/openfisca-france-indirect-taxation | agpl-3.0 | 4,100 | 97 | codeparrot/github-code |
773d3522bc87a60395be92996bbbe15bf5ed5c08fcf7cf5c7ea97441e9d8fd83 | /*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2010-2014 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2014 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(... | Java | features/system-report/src/main/java/org/opennms/systemreport/SystemReport.java | tdefilip/opennms | agpl-3.0 | 10,041 | 267 | codeparrot/github-code |
2ebdce4f8ccb35d4e2a38cb94625e160945e1a42f82510166f50882a9afb325b | import copy
import json
import logging
import os
import sys
from lxml import etree
from lxml.etree import Element, ElementTree, XMLParser
from xblock.core import XML_NAMESPACES
from xblock.fields import Dict, Scope, ScopeIds
from xblock.runtime import KvsFieldData
import dogstats_wrapper as dog_stats_api
from xmodule... | Python | common/lib/xmodule/xmodule/xml_module.py | hastexo/edx-platform | agpl-3.0 | 23,039 | 592 | codeparrot/github-code |
7aef5deff200161fc3f1b2a4c01618c5eb56de6ea4f8a65d3557d6296c85c6a6 | /*
* This is part of Geomajas, a GIS framework, http://www.geomajas.org/.
*
* Copyright 2008-2013 Geosparc nv, http://www.geosparc.com/, Belgium.
*
* The program is available in open source according to the GNU Affero
* General Public License. All contributions in this program are covered
* by the Geomajas Contr... | Java | face/geomajas-face-gwt/client/src/main/java/org/geomajas/gwt/client/map/event/LayerSelectedEvent.java | olivermay/geomajas | agpl-3.0 | 1,307 | 57 | codeparrot/github-code |
25d568a75908b7178c8da9f2ab8dbb4194d793007dbee985cae3179b7a6c29af | # Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
#
# Original Author: Mark Olesen <mark.olesen@esi-group.com>
#
# Legal Notice
# ------------
# OPENFOAM is a trademark own... | Python | var/spack/repos/builtin/packages/openfoam-org/package.py | LLNL/spack | lgpl-2.1 | 16,158 | 417 | codeparrot/github-code |
c5118d5fde37ef4fa760517f771468a9b116d7355c722e2e478ad7f174782480 | /*
Copyright (C) 2004 by Jorrit Tyberghein
(C) 2004 by Frank Richter
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 op... | C | include/cstool/rbuflock.h | garinh/cs | lgpl-2.1 | 5,375 | 214 | codeparrot/github-code |
4051b108800cd0f5882b3b82e2f2ec9b7e42984f8739df5c5c8b09a79f4bb868 | package org.timepedia.chronoscope.client.event;
import org.timepedia.chronoscope.client.XYPlot;
import org.timepedia.exporter.client.Export;
import org.timepedia.exporter.client.ExportPackage;
import org.timepedia.exporter.client.Exportable;
/**
* Fired by plot implementations when click occurs on chart which is not... | Java | chronoscope-api/src/main/java/org/timepedia/chronoscope/client/event/ChartClickEvent.java | KunjanSharma/gwt-chronoscope | lgpl-2.1 | 1,231 | 51 | codeparrot/github-code |
83201a97dd6c6fa01be10fc5732a27ce9cd3e316ab4121c8940751d40e6fd70c | /**
* MltFilter.h - MLT Wrapper
* Copyright (C) 2004-2015 Meltytech, LLC
* Author: Charles Yates <charles.yates@gmail.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
... | C | src/mlt++/MltFrame.h | xzhavilla/mlt | lgpl-2.1 | 1,993 | 61 | codeparrot/github-code |
f8e7d969f30930c8b36094d2c48f7c752b999dda12a3530b909e5b192a9b7755 | /****************************************************************/
/* DO NOT MODIFY THIS HEADER */
/* MOOSE - Multiphysics Object Oriented Simulation Environment */
/* */
/* (c) 2010 Battelle Energy Alliance, LLC ... | C | framework/include/partitioner/LibmeshPartitioner.h | backmari/moose | lgpl-2.1 | 1,557 | 43 | codeparrot/github-code |
4803fe60f119d70020bb1b755e7f2287b714aaf7b1c92402bfefa21d8d788be0 | /*
* This library is part of OpenCms -
* the Open Source Content Management System
*
* Copyright (c) Alkacon Software GmbH (http://www.alkacon.com)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free So... | Java | src/org/opencms/db/postgresql/CmsHistoryDriver.java | it-tavis/opencms-core | lgpl-2.1 | 3,735 | 99 | codeparrot/github-code |
192a2a0f84a8e79182b55c73c380fc5a0649c82c610d5c2cf5620c666dabead8 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>LCOV - doc-coverage.info - Cqrs/Bus/QueuedCommandBusReceiver.cs</title>
<link rel="stylesheet" type="text/css" href="../../gcov.css">
</head>
<body>... | HTML | wiki/docs/2.1/coverage-report/Cqrs/Bus/QueuedCommandBusReceiver.cs.gcov.html | cdmdotnet/CQRS | lgpl-2.1 | 26,498 | 294 | codeparrot/github-code |
a535a33518c1ed2b163e2f8b12553cdfd25ef0a5662d5f3ff5efb0114987d33b | /****************************************************************************
**
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this f... | C | src/libs/utils/classnamevalidatinglineedit.h | richardmg/qtcreator | lgpl-2.1 | 3,006 | 84 | codeparrot/github-code |
904a1003d4677fc8d2d6a1de42d2a1da72698918f0f826536517c32ccfee8b5e | /*!
* This program is free software; you can redistribute it and/or modify it under the
* terms of the GNU Lesser General Public License, version 2.1 as published by the Free Software
* Foundation.
*
* You should have received a copy of the GNU Lesser General Public License along with this
* program; if not, you ... | Java | core/src/main/java/org/pentaho/agilebi/modeler/geo/LatLngRole.java | kurtwalker/modeler | lgpl-2.1 | 2,170 | 68 | codeparrot/github-code |
231d440305ca46a56251a78936515ac34826ecf5b4c00d12c443d2787cea55fa | define([
'dojo/_base/declare',
'dojo/dom-construct',
'JBrowse/View/Track/BlockBased',
'JBrowse/Util'],
function(
declare,
dom,
BlockBased,
Util
) {
return declare(BlockBased,
/**
* @lends JBrowse.View.Track.Location... | JavaScript | src/JBrowse/View/Track/LocationScale.js | Arabidopsis-Information-Portal/jbrowse | lgpl-2.1 | 2,746 | 88 | codeparrot/github-code |
11b0c53bd34d8fc1d6bec641b45bc04634d4c75915d557c58a56bd33eaf9ae31 | /* Copyright (c) 2000 The Legion Of The Bouncy Castle
* (http://www.bouncycastle.org)
*
* 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 limit... | Java | src/jcifs/spnego/asn1/BERConstructedSequence.java | emmanuel-keller/jcifs-krb5 | lgpl-2.1 | 1,967 | 57 | codeparrot/github-code |
0b7df0465fdfe685c18f22e5bbc20cb466509eff021e38b2074006ba2bf9a696 | /****************************************************************/
/* DO NOT MODIFY THIS HEADER */
/* MOOSE - Multiphysics Object Oriented Simulation Environment */
/* */
/* (c) 2010 Battelle Energy Alliance, LLC ... | C | test/include/postprocessors/SetupInterfaceCount.h | Chuban/moose | lgpl-2.1 | 5,600 | 186 | codeparrot/github-code |
4a40baa12b33902dec9f71526c2cfbff0d4c6b5bf616ad519bb43b502ef49674 | /*
* This library is part of OpenCms -
* the Open Source Content Management System
*
* Copyright (c) Alkacon Software GmbH (http://www.alkacon.com)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free So... | Java | src/org/opencms/search/CmsSearchIndexSource.java | serrapos/opencms-core | lgpl-2.1 | 11,557 | 376 | codeparrot/github-code |
3a32102cdaf3ce1a3f8cc52ad9e20f6202af4c05ec562bc482ce8df58d5d07df | /*
* filter_freeze.c -- simple frame freezing filter
* Copyright (C) 2007 Jean-Baptiste Mardelle <jb@kdenlive.org>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* versio... | C | src/modules/kdenlive/filter_freeze.c | zzhhui/mlt | lgpl-2.1 | 5,318 | 137 | codeparrot/github-code |
b92a27c04fb319e8dee4d4f95a8a7816446948e714543042f0c778a93302e3ce | /***************************************************************************
* Copyright (C) 2007, Sly Technologies, Inc *
* Distributed under the Lesser GNU Public License (LGPL) *
***************************************************************************/
/*
* Util... | C++ | jni/packet_jsmall_scanner.cpp | universsky/diddler | lgpl-3.0 | 27,196 | 990 | codeparrot/github-code |
fa712ed64688161fc0cce3c17fbe26d7919d163a9b9c30a353907c1d4ad4d102 | /* GLIB - Library of useful routines for C programming
* Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
*
* 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; e... | C | celia-14.12/samples/c/gslist.h | mihasighi/celia | lgpl-3.0 | 6,293 | 167 | codeparrot/github-code |
b7350711795761cc23660a90534068d6959e1acedd286c474efba396adcdb7e2 | @echo off
set cosnames="omninames"
set orb="omniORB"
set port=%1
rem set OMNIORB_USEHOSTNAME=localhost
set PATH=%PATH%;%OMNI_ROOT%\bin\x86_win32
if NOT DEFINED port set port=2809
for /f %%x in ('hostname') do @set hosts=%%x
if %orb%=="omniORB" goto omni
if %orb%=="tao" goto tao
goto other
:omni
... | Batchfile | win32/OpenRTM-aist/bin/rtm-naming.bat | eisoku9618/openrtm_aist-release | lgpl-3.0 | 822 | 40 | codeparrot/github-code |
efded28150ca7fd1b71ec4dc7521e19b3e75492507ef80eb3c7783617eb64afd | /*****************************************************************************
* *
* OpenNI 2.x Alpha *
* Copyright (C) 2012 PrimeSense Ltd. *
* ... | C | openni/include/OniEnums.h | OpenGP/htrack | lgpl-3.0 | 2,749 | 86 | codeparrot/github-code |
b30fe2c6e7d4c47c28a122e5bf4296298195a6f957c643cb9305d2ea79cf0bee | #!/usr/bin/env python
# vim: set et ts=4 sw=4:
#coding:utf-8
#############################################################################
#
# mga-dialogs.py - Show mga msg dialog and about dialog.
#
# License: GPLv3
# Author: Angelo Naselli <anaselli@linux.it>
#######################################################... | Python | swig/python/examples/mga-dialogs.py | anaselli/libyui-bindings | lgpl-3.0 | 3,012 | 90 | codeparrot/github-code |
ce0f5c248fec55d373b1a66b47bfdb60f3d553c3e311f38fa800705696204eb9 | #!/usr/bin/env python
#
# Copyright 2007 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 o... | Python | sdk/google_appengine/google/appengine/tools/devappserver2/static_files_handler.py | ProfessionalIT/professionalit-webiste | lgpl-3.0 | 13,838 | 380 | codeparrot/github-code |
2a9c0102c3d70d1743f7c9f439097e387e9c683008502e761aaab01f6d7afb52 | /*
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 | lib/batik-1.8/sources/org/apache/batik/anim/dom/SVGOMMultiImageElement.java | git-moss/Push2Display | lgpl-3.0 | 2,733 | 79 | codeparrot/github-code |
25cfc274edd014f49327c42001fd22da60f099ac5ed2fd57a492c1ad9ef72e3c | package com.ctrip.hermes.producer.pipeline;
import java.util.HashMap;
import java.util.Map;
import java.util.Map.Entry;
import java.util.concurrent.Future;
import org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable;
import org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationE... | Java | hermes-producer/src/main/java/com/ctrip/hermes/producer/pipeline/DefaultProducerPipelineSinkManager.java | lejingw/hermes | apache-2.0 | 1,607 | 47 | codeparrot/github-code |
808b55b268bba66575ff59938f958656f4a85d14de145843f34ba5155ce3209c | # Natural Language Toolkit: Sun Tsu-Bot
#
# Copyright (C) 2001-2011 NLTK Project
# Author: Sam Huston 2007
# URL: <http://www.nltk.org/>
# For license information, see LICENSE.TXT
from util import *
"""
Tsu bot responds to all queries with a Sun Tsu sayings
Quoted from Sun Tsu's The Art of War
Translated by LIONEL ... | Python | third_party/nltk/chat/suntsu.py | tadgh/ArgoRevisit | apache-2.0 | 6,223 | 117 | codeparrot/github-code |
b6e74e43f5043dc09efb357bbcb2bec16949bfe07b8e8b133600ea527a7c5f80 | /*
* Copyright 2015 the original author or authors.
* @https://github.com/scouter-project/scouter
*
* 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... | Java | scouter.client/src/scouter/client/stack/data/StackAnalyzedValue.java | yuyupapa/OpenSource | apache-2.0 | 1,957 | 83 | codeparrot/github-code |
e7b7c64d2ec4b83d68d2013c5441c2443eb3eb8999d32069fa0af183aabe8a0e | // Copyright 2018 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | Rust | src/test/ui/consts/const-eval/dont_promote_unstable_const_fn.rs | GBGamer/rust | apache-2.0 | 1,210 | 36 | codeparrot/github-code |
ff166a2a1dad6d7de55f961bca7c7e1b8d826f63c4efef616b178e89caf14c0e | /*
* 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 | oak-core/src/test/java/org/apache/jackrabbit/oak/security/user/MembershipTest.java | anchela/jackrabbit-oak | apache-2.0 | 5,631 | 164 | codeparrot/github-code |
2931acf45fb4124f247b5db970d433e2caf5d1641bf6f8e81891c4caf7c15462 |
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use thi... | HTML | test/connect.html | apache/incubator-echarts | apache-2.0 | 6,829 | 199 | codeparrot/github-code |
0e2785d6921966b2601378e5ee5a9e041fc5e47a9b1e40966710be2db3393db8 | /**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | Java | components/camel-metrics/src/main/java/org/apache/camel/component/metrics/MetricsComponent.java | onders86/camel | apache-2.0 | 5,110 | 133 | codeparrot/github-code |
f3daa4d4599ea0f45f8d0698958fc0f2c44cc9ab9213392d64250776fb099687 | /*
* Copyright 2015 the original author or authors.
* @https://github.com/scouter-project/scouter
*
* 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... | Java | scouter.client/src/scouter/client/stack/config/preprocessor/ProcessorReplace.java | yuyupapa/OpenSource | apache-2.0 | 1,720 | 63 | codeparrot/github-code |
9ae676cf870c6745bffde2ef1cb4ae1a814639e7740ee489641a5b92b3808cd2 | /**********************************************************************************
* $URL$
* $Id$
***********************************************************************************
*
* Copyright (c) 2005, 2006, 2007, 2008 The Sakai Foundation
*
* Licensed under the Educational Community License, Version 2.0 (t... | Java | portal/portal-service-impl/impl/src/java/org/sakaiproject/portal/service/PortalServiceImpl.java | marktriggs/nyu-sakai-10.4 | apache-2.0 | 17,816 | 633 | codeparrot/github-code |
c05b96b0850c76da3d324eb44bec4e1053a273f6a4c1eb1430701bfe1939c68f | /*
* 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 | giraph-hive/src/main/java/org/apache/giraph/hive/input/vertex/SimpleHiveToVertex.java | basio/graph | apache-2.0 | 3,548 | 121 | codeparrot/github-code |
0654701ae4a920aeb17ae61b102f0090472ee0d148f9aa18a859a30c1c4a019e | /*
* This file is part of the Soletta Project
*
* Copyright (C) 2015 Intel Corporation. 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... | C | src/lib/common/sol-worker-thread-impl-riot.c | ibriano/soletta | apache-2.0 | 6,257 | 244 | codeparrot/github-code |
8b1795cb5592cea223c847d588537bb242fb5b519df7e5be073aee585f3f1ab0 | import { isLeapYear } from "../../Source/Cesium.js";
describe("Core/isLeapYear", function () {
it("Check for valid leap years", function () {
expect(isLeapYear(2000)).toEqual(true);
expect(isLeapYear(2004)).toEqual(true);
expect(isLeapYear(2003)).toEqual(false);
expect(isLeapYear(2300)).toEqual(false... | JavaScript | Specs/Core/isLeapYearSpec.js | likangning93/cesium | apache-2.0 | 878 | 32 | codeparrot/github-code |
e610ac98a8f161abeffeb72a7ec1c1a8bfc709b0dd272d929cb29c6feabd9d02 | /**
* Define a namespace for the application.
*/
window.app = {};
var app = window.app;
/**
* @constructor
* @extends {ol.interaction.Pointer}
*/
app.Drag = function() {
ol.interaction.Pointer.call(this, {
handleDownEvent: app.Drag.prototype.handleDownEvent,
handleDragEvent: app.Drag.prototype.handle... | JavaScript | bop-ui/assets/lib/ol3-google-maps/examples/concept.js | dsmiley/hhypermap-bop | apache-2.0 | 8,430 | 374 | codeparrot/github-code |
fa45accd449c4a937d4d2f56d8f96fade761266f2a175afa73c2f56d60c08cd0 | /*
* Copyright 2000-2016 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/lang-impl/src/com/intellij/codeInsight/daemon/impl/ChameleonSyntaxHighlightingPass.java | ThiagoGarciaAlves/intellij-community | apache-2.0 | 8,538 | 181 | codeparrot/github-code |
9cf2dae24d77a7a85d2e4399e83937c844ce4a5cfe39b543f1a55dffa33b0504 | /*
* Copyright 2000-2017 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 | json/src/com/jetbrains/jsonSchema/impl/JsonSchemaTreeNode.java | ThiagoGarciaAlves/intellij-community | apache-2.0 | 6,194 | 189 | codeparrot/github-code |
4755bda89b94787fd3207f95752eaec93e01e3ada88b08341fdd50f694791b45 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Senparc.Weixin.Entities;
namespace Senparc.Weixin.QY.Entities.Request.KF
{
public class RequestPack : IEntityBase
{
public AgentType AgentType { get; set; }
public string T... | C# | src/Senparc.Weixin.QY/Senparc.Weixin.QY/Entities/Request/KF/RequestMessagePack.cs | lishewen/WeiXinMPSDK | apache-2.0 | 696 | 31 | codeparrot/github-code |
916702d18d6d606b938b82bd7cda6f61fdf0ed5d68d4caa6590d4059e01d2a7c | /*
* Copyright 2014 Space Dynamics Laboratory - Utah State University Research 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/LICEN... | Java | server/openstorefront/openstorefront-web/src/main/java/edu/usu/sdl/openstorefront/web/test/system/DBQueryTest.java | tyler-travis/openstorefront | apache-2.0 | 2,799 | 83 | codeparrot/github-code |
67ed4a1532c131bc96cbd54384ff63a29ca5d23140092d457e40f11e3ada27ec | <!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>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="generator" content="JsDoc To... | HTML | docs/examples/symbols/google.ads.adwords.examples.v201109.AddNegativeCampaignCriterion.html | gileze33/google-api-adwords-js | apache-2.0 | 39,638 | 788 | codeparrot/github-code |
3331c5b10fce710b8aa0b6d2df95d2a9f627a2770fbd6f4edfad6c4f68ea7fdc | /* 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
* distributed... | Java | qa/performance-tests-engine/src/main/java/org/camunda/bpm/qa/performance/engine/util/JsonUtil.java | skjolber/camunda-bpm-platform | apache-2.0 | 2,134 | 77 | codeparrot/github-code |
45a60c301d784279ff2e64b57936335f20f5d9d21e6386ccecbb363d847efaad | /*
* Copyright (c) 2019 Intel Corporation.
* Copyright (c) 2020 Endian Technologies AB
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <logging/log.h>
LOG_MODULE_DECLARE(net_l2_ppp, CONFIG_NET_L2_PPP_LOG_LEVEL);
#include <net/net_core.h>
#include <net/net_pkt.h>
#include <net/ppp.h>
#include <net/dns_resolv... | C | subsys/net/l2/ppp/ipcp.c | zephyrproject-rtos/zephyr | apache-2.0 | 12,134 | 499 | codeparrot/github-code |
f5e0cf1ffc9c6e33d5491f65b17eba7279452283805ca17cb63cfb6ed8984515 | /*
* Copyright by 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 applicable... | Java | wallettemplate/src/main/java/wallettemplate/Main.java | paulminer/bitcoinj | apache-2.0 | 10,314 | 260 | codeparrot/github-code |
f59c202b9de8aa199799e7432b4de85c69092d1156f34e544d435aee3c0560d8 | /*
* Copyright 2012-2021 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | Java | spring-boot-project/spring-boot-docs/src/main/java/org/springframework/boot/docs/appendix/configurationmetadata/annotationprocessor/automaticmetadatageneration/MyServerProperties.java | spring-projects/spring-boot | apache-2.0 | 1,460 | 66 | codeparrot/github-code |
eb0d850f033ad824b29be95090178fcf64fe7a71bf0434b6706cda78591cfe7a | /**
* 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 | hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/StorefileRefresherChore.java | justintung/hbase | apache-2.0 | 5,683 | 136 | codeparrot/github-code |
a01626d94e4e558534ca800c1191ce821c222c751135d8edd64d923473f0453b | define(["require", "exports", "./base", "./layer", "./util", "./view"], function (require, exports, base_1, layer_1, util_1, view_1) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.COL_LABELS = base_1.COL_LABELS;
class Board extends view_1.View {
constructo... | JavaScript | minigui/static/board.js | tensorflow/minigo | apache-2.0 | 8,219 | 225 | codeparrot/github-code |
a9763ce40c0b714fd9ff560388f67951990acaf9c030989ebb9d551b0f61a8f4 | package com.way.beans;
import android.os.Parcel;
import android.os.Parcelable;
public class City implements Parcelable {
private String province;
private String city;
private String name;
private String pinyin;
private String py;
private String phoneCode;
private String areaCode;
private String postID;
priva... | Java | WayHoo/src/com/way/beans/City.java | hnyzwtf/WayHoo | apache-2.0 | 4,503 | 223 | codeparrot/github-code |
6fe1a5e2fc759e520ccb0c2ae41c3ecbc17674c536df1fc49813122b8027d770 | package org.wikidata.wdtk.dumpfiles.wmf;
/*
* #%L
* Wikidata Toolkit Dump File Handling
* %%
* Copyright (C) 2014 Wikidata Toolkit Developers
* %%
* 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 ... | Java | wdtk-dumpfiles/src/test/java/org/wikidata/wdtk/dumpfiles/wmf/WmfOnlineDailyDumpFileTest.java | zazi/Wikidata-Toolkit | apache-2.0 | 4,391 | 136 | codeparrot/github-code |
196049a9f49f5dac8d263237402825ef0e656fcc17f94ea86a32953ba73c0993 | #!/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... | Python | heron/tools/tracker/src/python/handlers/metricshandler.py | mycFelix/heron | apache-2.0 | 5,834 | 172 | codeparrot/github-code |
2c4d0c8987fad4579f7662a1abdd42ee01e80c939dc5adc3ddc36cabc334cbd0 | /*
* 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 | test/org/apache/pig/test/TestJsonLoaderStorage.java | siddaartha/spork | apache-2.0 | 4,897 | 127 | codeparrot/github-code |
b03ace2cd3b4068c0fbed29c13c842456c3cb0dcf276bbe516be3748791d3337 | """Support for Firmata switch output."""
import logging
from homeassistant.components.switch import SwitchEntity
from homeassistant.config_entries import ConfigEntry
from homeassistant.const import CONF_NAME
from homeassistant.core import HomeAssistant
from .const import (
CONF_INITIAL_STATE,
CONF_NEGATE_STA... | Python | homeassistant/components/firmata/switch.py | tchellomello/home-assistant | apache-2.0 | 2,287 | 76 | codeparrot/github-code |
b3d48be28df628fc11c422206e4d434a89c44159370cfd9e767ca1f8109c6a12 | # Copyright 2014, Jeff Buttars, A10 Networks.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by appli... | Python | acos_client/v30/slb/hm.py | dougwig/acos-client | apache-2.0 | 3,696 | 113 | codeparrot/github-code |
342ec24f4b2417af1d4b1775bce7904c34e236d8ef1771def2a3b4a0f0ec5773 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="de">
<head>
<title>API Help (ARX GUI Documentation)</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript... | HTML | doc/gui/help-doc.html | fstahnke/arx | apache-2.0 | 8,674 | 219 | codeparrot/github-code |
8e032953dca8ccc355686b32fb770de3262f9da13b6d7cfefad3251d14e55aee | 'use strict';
var assert = require('assert');
var fixtures = require('../fixtures');
var sharp = require('../../index');
var defaultConcurrency = sharp.concurrency();
describe('Utilities', function() {
describe('Cache', function() {
it('Can be disabled', function() {
var cache = sharp.cache(0, 0);
... | JavaScript | test/unit/util.js | mcanthony/sharp | apache-2.0 | 2,746 | 76 | codeparrot/github-code |
87384c1d8d04258039fa821b08b2922c704b46a13889c2f9c90d571a44027261 | package org.edx.mobile.view.custom;
import org.edx.mobile.R;
import org.edx.mobile.logger.Logger;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Typeface;
import android.util.AttributeSet;
import android.widget.TextView;
public class ETextView extends TextView {
p... | Java | VideoLocker/src/main/java/org/edx/mobile/view/custom/ETextView.java | miptliot/edx-app-android | apache-2.0 | 1,539 | 52 | codeparrot/github-code |
b455a7e0cf38e413c0712f5a55a6a8f42fa75d8e0fc035ad6852ba22eed2d7f1 | /**
* Copyright 2015 Netflix, 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 ... | Java | spectator-api/src/main/java/com/netflix/spectator/api/DefaultCounter.java | pstout/spectator | apache-2.0 | 1,572 | 61 | codeparrot/github-code |
f71b46cc2483188e04ff629f112e459aebd5ce536bec48b6d0e09a4c6f13fcdc | /*
* Copyright (C) 2008 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 ... | Java | uzaygezen-core/src/main/java/com/google/uzaygezen/core/LongBitVector.java | GrammarViz2/Uzaygezen | apache-2.0 | 15,293 | 600 | codeparrot/github-code |
3e05ca886fddfde580514673b0eb21638dd49656a9ca3e2a2f38e59811292ffc | /*
Copyright 2016 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 agreed to in writing... | Java | reladomo/src/main/java/com/gs/fw/common/mithra/util/fileparser/ClassReaderState.java | goldmansachs/reladomo | apache-2.0 | 2,312 | 66 | codeparrot/github-code |
9122c643354d737077d15eb2a9a73fbcc16217f3a4f82740442e794c8cfadf20 | /*! ******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2013 by Pentaho : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (th... | Java | integration/src/it/java/org/pentaho/di/trans/RowProducerIT.java | TatsianaKasiankova/pentaho-kettle | apache-2.0 | 5,094 | 179 | codeparrot/github-code |
d6dd8c3a2785215d004ddd8905990de53a25d3ae69c126e3d4acd48000bd3878 | /*
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 | sources/org/apache/batik/ext/awt/image/rendered/TileGenerator.java | Squeegee/batik | apache-2.0 | 1,080 | 32 | codeparrot/github-code |
1b1d0c42010cbe91bd6a96b008ce494d5a13fb33fd9a4390eb6465080fcfd7b1 | /*
* The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
* (the "License"). You may not use this work except in compliance with the License, which is
* available at www.apache.org/licenses/LICENSE-2.0
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI... | Java | core/server/worker/src/main/java/alluxio/worker/block/ClientRWLock.java | PasaLab/tachyon | apache-2.0 | 3,343 | 121 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.