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 |
|---|---|---|---|---|---|---|---|---|
464887e51dec2872b7a9bce8c4bb72c53c3381110cbaea1c3cd6ad9b480e4887 | /* AARCH64 ELF shared library loader suppport
*
* Copyright (C) 2001-2004 Erik Andersen
* Copyright (C) 2016-2017 Waldemar Brodkorb <wbx@uclibc-ng.org>
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following condit... | C | ldso/ldso/aarch64/elfinterp.c | wbx-github/uclibc-ng | lgpl-2.1 | 8,981 | 318 | codeparrot/github-code |
aabf1bb94f199dec0143421c12bbda3b6a4e2372969779345113f89269d40264 | /****************************************************************************
**
** 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 examples of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Comm... | C++ | examples/qtconcurrent/progressdialog/main.cpp | kobolabs/qt-everywhere-opensource-src-4.6.2 | lgpl-2.1 | 3,538 | 101 | codeparrot/github-code |
572a124ca692a5708dd2ce118e86806211e4dfb67d18907586112127575f6431 | /*****************************************************************************
*
* This file is part of Mapnik (c++ mapping toolkit)
*
* Copyright (C) 2006 Artem Pavlenko
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as ... | C++ | src/graphics.cpp | carlos-lopez-garces/mapnik-trunk | lgpl-2.1 | 4,789 | 171 | codeparrot/github-code |
2d13c06636f850aeb235d584730fd2d88f133f9c91489f000b7cebadc275454d | /*
Copyright (C) 2016 Pascal Molin
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) any l... | C | dlog/precomp_n_init.c | fredrik-johansson/arb | lgpl-2.1 | 1,197 | 42 | codeparrot/github-code |
b09fbb30ae0e94d468188e31a463f18457cb899feb397e541427627507704780 | /****************************************************************************
**
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this f... | C++ | src/plugins/qmldesigner/designercore/model/qmlstate.cpp | syntheticpp/qt-creator | lgpl-2.1 | 9,884 | 311 | codeparrot/github-code |
284ea416f9f363d2b7439ad983cfae3eedc4e040611926e1443f74076e2d0b43 | /**
* This file is part of Simox.
*
* Simox is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2 of
* the License, or (at your option) any later version.
*
* Simox is distributed in the hope... | C++ | VirtualRobot/Workspace/VoxelTree6D.hpp | ajshort/simox | lgpl-2.1 | 3,563 | 135 | codeparrot/github-code |
8198fb8bc2da4cc6ff2c130343d6e66ae398b373c0c65f044fc7da6835820e8e | using System;
using System.Reflection;
using NUnit.Framework;
using System.Collections.Generic;
using System.Linq;
#if !NETFX
using System.IO;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Formatters.Binary;
using System.Xml.Serialization;
#endif
namespace NHibernate.Test
{
public static clas... | C# | src/NHibernate.Test/NHAssert.cs | lnu/nhibernate-core | lgpl-2.1 | 3,524 | 137 | codeparrot/github-code |
f1cc97f032570c988b8a14e2d6525f376dfd8de8681bb431be4940e22f77cbd1 | /* Copyright (C) 1991, 1992, 1993, 1994, 1995 Free Software Foundation, Inc.
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 later ver... | C | malloc/memalign.c | vruge/hqp | lgpl-2.1 | 1,897 | 67 | codeparrot/github-code |
e1ad7632362f3159b18ebaffb3a6057e83def7187c94d559f6383cb6c24d6e37 | namespace StockSharp.Hydra.Converters
{
using System;
using System.ComponentModel;
using System.Linq;
using Ecng.Collections;
using Ecng.Common;
using Ecng.Serialization;
using Ecng.Xaml;
using StockSharp.Algo;
using StockSharp.Algo.Candles;
using StockSharp.Algo.Storages;
using StockSharp.Hydra.Core;
usi... | C# | Hydra/Plugins/Converters/ConvertTask.cs | RomSunZ/StockSharp | lgpl-3.0 | 11,180 | 335 | codeparrot/github-code |
b21333e78aa2c15acbf2f7fd0cc7589e89af3a9c45b6d850e6eaef3696f20ce5 | /*
* FindBugs - Find bugs in Java programs
* Copyright (C) 2003,2004 University of Maryland
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, ... | Java | 3rdparty/findbugs086src/src/java/edu/umd/cs/findbugs/RecursiveFileSearch.java | simeshev/parabuild-ci | lgpl-3.0 | 2,790 | 99 | codeparrot/github-code |
f0722051ffa7ef09510080555b47171e9646b63183b9f7960c47e6419f205ff0 | /*
* SonarQube, open source software quality management tool.
* Copyright (C) 2008-2014 SonarSource
* mailto:contact AT sonarsource DOT com
*
* SonarQube is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Found... | Java | server/sonar-server/src/test/java/org/sonar/server/user/ws/DeactivateActionTest.java | ayondeep/sonarqube | lgpl-3.0 | 5,317 | 161 | codeparrot/github-code |
f840b4253f5b2ad6d90c8653437cd2ecf43e702e024ce81da59806d6e45e40eb | /* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Copyright (c) 2015-2020 The plumed team
(see the PEOPLE file at the root of the distribution for a list of names)
See http://www.plumed.org for more information.
This file is part of plumed, version 2.
plumed is free software... | C++ | src/multicolvar/XYDistances.cpp | jandom/plumed2 | lgpl-3.0 | 6,473 | 172 | codeparrot/github-code |
746f8161c05b13eb68e4894bb03540b781e8a20a0d58cdca94686405345eaadb | from hpp.corbaserver.rbprm.rbprmbuilder import Builder
from hpp.corbaserver.rbprm.rbprmfullbody import FullBody
from hpp.gepetto import Viewer
from hpp.gepetto import PathPlayer
import down_spidey_path as path_planner
#~ import hrp2_model as model
import time
tp = path_planner
packageName = 'hpp-rbprm-corba'
meshPa... | Python | script/scenarios/sandbox/siggraph_asia/spiderman/down_spidey_interp.py | pFernbach/hpp-rbprm-corba | lgpl-3.0 | 4,445 | 110 | codeparrot/github-code |
7e86c2c258b133bced1b562cad82080e1d2b91fcb5829090b7501db554aa8236 | /*******************************************************************************
* ===========================================================
* Ankush : Big Data Cluster Management Solution
* ===========================================================
*
* (C) Copyright 2014, by Impetus Technologies
*
* This i... | Java | ankush/src/main/java/com/impetus/ankush2/ganglia/GangliaRegister.java | zengzhaozheng/ankush | lgpl-3.0 | 9,510 | 277 | codeparrot/github-code |
d6200dbb72c14ee5c982e8f3a9f72d01d152713bd06b6a7c44d5b888fc189e4d | /* This file is part of P4
*
* Copyright (C) 1996-2018 J.C. Artés, P. De Maesschalck, F. Dumortier
* C. Herssens, J. Llibre, O. Saleta, J. Torregrosa
*
* P4 is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as publi... | C++ | src-gui/p4/structures.hpp | oscarsaleta/P4 | lgpl-3.0 | 17,628 | 592 | codeparrot/github-code |
5bcf0242fb47d7090b861202eac021ebb31597a261d140172f1f5b2ae99aa885 | /*
Example code for showing how to iterate specified nodes or all nodes in specified groups
*/
/*
* 2013+ Copyright (c) Kirill Smorodinnikov <shaitkir@gmail.com>
* All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public L... | C++ | example/iterate.cpp | bioothod/elliptics | lgpl-3.0 | 8,362 | 254 | codeparrot/github-code |
c34fa3441fb3f4f6089e85bbb54374f557b05a6757e130c07a25dc123bfc43d8 | /*
* Copyright Technophobia Ltd 2012
*
* This file is part of Substeps.
*
* Substeps 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... | Java | core/src/test/java/com/technophobia/substeps/runner/syntax/SubStepDefinitionParserTest.java | iantmoore/substeps-framework | lgpl-3.0 | 4,696 | 142 | codeparrot/github-code |
808d8ce24a3f06389bdbfa0ee2fa139dec43cb245a75e99999e8a9dcbc225197 | /*
Bullet Continuous Collision Detection and Physics Library
Copyright (c) 2013 Erwin Coumans http://bulletphysics.org
This software is provided 'as-is', without any express or implied warranty.
In no event will the authors be held liable for any damages arising from the use of this software.
Permission is gran... | C++ | QtxToolboxLib/Bullet3D/src/BulletDynamics/Featherstone/btMultiBodyPoint2Point.cpp | RDemers/org.rd.qtx.toolboxlib | lgpl-3.0 | 6,719 | 218 | codeparrot/github-code |
96b5b20716e05bf625dc4f1fb28bb1fe43189b10a918d6f18c23df6f48a67799 | #include "firtex/utility/DirectoryIterator.h"
#if defined(FX_WINDOWS)
#include "firtex/utility/DirectoryIterator_WIN32.h"
#elif defined(FX_POSIX) || defined(FX_MACOS)
#include "firtex/utility/DirectoryIterator_POSIX.h"
#else
#error "No DirectoryIterator Implementation"
#endif
FX_NS_DEF(utility);
Director... | C++ | src/utility/DirectoryIterator.cpp | ruijieguo/firtex2 | lgpl-3.0 | 3,459 | 143 | codeparrot/github-code |
a724e31569e8aa898c60e0a7487a47c5e353c6db37784b10e7bf2d37808d232b | /*
* *
* * Created on: 29 nov. 2013
* * Author: Bruno
* */
#ifndef PLY2LF_H_
#define PLY2LF_H_
#include <string>
#include "LidarFormat/LidarDataContainer.h"
#include "LidarFormat/geometry/LidarCenteringTransfo.h"
namespace Lidar
{
/// conversion from ply to lf type names DEPRECATED
std::string Ply2Lf(std::strin... | C | src/LidarFormat/file_formats/PlyArchi/Ply2Lf.h | yuchuqin/lidarformat | lgpl-3.0 | 1,380 | 46 | codeparrot/github-code |
464430e0534bfab21c8dc391d34b6b899db2c914bde047dffc148a65aae0fcf5 | #ifndef TEXTITEMDIALOG_HPP
#define TEXTITEMDIALOG_HPP
/*
Copyright (c) 2009-10 Qtrac Ltd. All rights reserved.
This program or module 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... | C++ | src/node/pagedesigner1/textitemdialog.hpp | xmd-project/prototype | lgpl-3.0 | 1,391 | 58 | codeparrot/github-code |
cbf60543a50ffb4378ddd1812cd3eeb4ee9091e75384de69b80cd3e1e0b898c5 | # -*- coding: utf-8 -*-
#
# This file is part of Glances.
#
# Copyright (C) 2014 Nicolargo <nicolas@nicolargo.com>
#
# Glances 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 Lic... | Python | glances/plugins/glances_diskio.py | jamesblunt/glances | lgpl-3.0 | 5,679 | 154 | codeparrot/github-code |
63b2c0fb8d72833b6b5abbdd44b3abd682685258125a2115b33c808349840586 | // This file is part of ScaViSLAM.
//
// Copyright 2011 Hauke Strasdat (Imperial College London)
//
// ScaViSLAM 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
// ... | C++ | scavislam/matcher.cpp | gaoxiang12/ScaViSLAM | lgpl-3.0 | 16,655 | 528 | codeparrot/github-code |
7236886b3d4c58b9b816ff4b2177727969dfe532ddfa850654ecb9f9c36306d3 | package org.xBaseJ.test;
import static org.junit.Assert.fail;
import org.junit.Test;
import org.xBaseJ.DBF;
import org.xBaseJ.fields.CharField;
public class Clipper_Large_CharFieldTest {
// @Test
// public void testWithBalsetFile() {
// try {
// DBF clipperDBF = new DBF("BALSET.DBF");
// for (int f=1; f <... | Java | src/test/java/org/xBaseJ/test/Clipper_Large_CharFieldTest.java | michael-newsrx/xBaseJ | lgpl-3.0 | 1,510 | 59 | codeparrot/github-code |
8a1e5adaf0b5fcd5d93bb58ef7befe7930adad1eaf7c6df4eeff63cf67d27bf2 | /*
* #%L
* Webmotion website
*
* $Id$
* $HeadURL$
* %%
* Copyright (C) 2011 - 2015 Debux
* %%
* 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 3 of the
* Lice... | Java | webmotion-test/src/main/java/org/debux/webmotion/test/InjectorListener.java | tchemit/webmotion | lgpl-3.0 | 2,186 | 68 | codeparrot/github-code |
c83b5d44e041440569cda518ef903fd45a01aa9213888fece5147b547d532f93 |
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy.orm import scoped_session, sessionmaker, mapper
from sqlalchemy.engine import Engine
from sqlalchemy import event, create_engine, func
from sqlalchemy import and_, or_, schema, types, MetaData, Sequence, Column, ForeignKey, UniqueConstraint, Tabl... | Python | fatools/lib/sqlmodels2/schema.py | edawine/fatools | lgpl-3.0 | 25,673 | 723 | codeparrot/github-code |
6c55c3f9fb7e4a40c033efdfccec0b9f0f76347223c49ccf4a7a19e57d7987de | /*
QMPlay2 is a video and audio player.
Copyright (C) 2010-2022 Błażej Szczygieł
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 3 of the License, or
(a... | C++ | src/modules/XVideo/XVideo.hpp | arthurzam/QMPlay2 | lgpl-3.0 | 1,377 | 52 | codeparrot/github-code |
9dbec2b1ead48466e9f7878cecea242937d1469a2966be29ab8637811c3b932f | __all__ = ['deque', 'defaultdict', 'namedtuple', 'UserDict', 'UserList',
'UserString', 'Counter', 'OrderedDict', 'ChainMap']
# For backwards compatibility, continue to make the collections ABCs
# available through the collections module.
from _collections_abc import *
import _collections_abc
__all__... | Python | kbe/src/lib/python/Lib/collections/__init__.py | Orav/kbengine | lgpl-3.0 | 43,096 | 1,133 | codeparrot/github-code |
6cc44177fdc35393902550792805a5471859366d9cfeb59cee686f9c95155d15 | /*
This source file is part of KBEngine
For the latest info, see http://www.kbengine.org/
Copyright (c) 2008-2012 KBEngine.
KBEngine 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 ... | C++ | kbe/src/lib/network/network_interface.hpp | theheros/kbengine | lgpl-3.0 | 4,914 | 149 | codeparrot/github-code |
fc5de8429f883ccf793d27d8b7e60c490ce9c0d71ff1eed11329ad213453c5f1 | #include "html.hpp"
#include "parsers/raw_html.hpp"
#include "../parser/page_parser.hpp"
#include "twisted-spirit/core/parse.hpp"
#include "../promote_component.hpp"
#include <iostream>
namespace WikiMarkup { namespace Components
{
//###########################################################################... | C++ | components/html.cpp | 5cript/wiki-markup | lgpl-3.0 | 4,700 | 133 | codeparrot/github-code |
da843c5cf4a2cee33a8e542b8aff200a92872f0df5c7f81dd830fd9e9bd3e839 | --
-- Simple timeevent demo that shows how to write portable FSM.
-- The rtp module is available here
-- https://github.com/kmarkus/rtp.gitg
--
require "rfsm"
require "rfsm_timeevent"
require "rtp"
if rtt then
require "rttlib"
gettime = rtt.getTime
print("using RTT timing services")
else
if pcall(require... | Lua | examples/timeevent.lua | kmarkus/rFSM | lgpl-3.0 | 1,303 | 49 | codeparrot/github-code |
043824c969fabc4968b2b834d7d8267ac8b8e5cf0c8349328e7936e82ed07f8e | // Copyright (C) 2002, International Business Machines
// Corporation and others. All Rights Reserved.
// This code is licensed under the terms of the Eclipse Public License (EPL).
#ifndef CglGomory_H
#define CglGomory_H
#include <string>
#include "CglCutGenerator.hpp"
class CoinWarmStartBasis;
/** Gomory Cut Gene... | C++ | thirdparty/OGDF/include/coin/CglGomory.hpp | tulip5/tulip | lgpl-3.0 | 6,339 | 203 | codeparrot/github-code |
d2177940e07e4859bfb6bccdcba0232759d5ef65a60ccc7eecfba3f0128eb8c2 | /****************************************************************************
**
** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the QtCore module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
**... | C++ | qt-everywhere-opensource-src-4.7.4/demos/sub-attaq/animationmanager.cpp | ssangkong/NVRAM_KWU | lgpl-3.0 | 3,115 | 99 | codeparrot/github-code |
ed20f5732ccb1d59c6e4d0089724acd72fdf8dd53932d9f160518d1072ce00ec | /*
This file is part of FaMaTS.
FaMaTS 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.
FaMaTS is distri... | Java | reasoner_choco_2/src/es/us/isa/ChocoReasoner/attributed/ChocoReasoner.java | isa-group/FaMA | lgpl-3.0 | 29,196 | 903 | codeparrot/github-code |
7ff6379eb0a09f11ecc92181768ef734dbad97970cf0a87d6e0845ebd7d3b219 | /**
* This file is part of Craftconomy3.
*
* Copyright (c) 2011-2016, Greatman <http://github.com/greatman/>
*
* Craftconomy3 is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of t... | Java | src/main/java/com/greatmancode/craftconomy3/commands/bank/BankBalanceCommand.java | greatman/craftconomy3 | lgpl-3.0 | 2,827 | 69 | codeparrot/github-code |
b49bb1ba74ecd575fe63c42a4c806b99946be057ac878be222bbff5c18478efa | /**************************************************************************
*
* Copyright 2014 by Petr Gargulak. eGUI Community.
* Copyright 2009-2013 by Petr Gargulak. Freescale Semiconductor, Inc.
*
***************************************************************************
* This program is free software: you can re... | C | D4D/graphic_objects/d4d_console.c | Gargy007/eGUI | lgpl-3.0 | 27,008 | 845 | codeparrot/github-code |
a2a9d92f4187e9e4960f714d067de733b7c3083110120f2b67f159c217e881dc | //
// System.Xml.Serialization.XmlDeserializationEvents.cs
//
// Author:
// Lluis Sanchez Gual (lluis@ximian.com)
//
// Copyright (C) Novell, Inc., 2004
//
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), ... | C# | class/System.XML/System.Xml.Serialization/XmlDeserializationEvents.cs | edwinspire/VSharp | lgpl-3.0 | 2,093 | 71 | codeparrot/github-code |
6341cf680607c5d7be07e2d4e272f942b2f39e3a937758b6db842b92e9c7e3b2 | #include "Nova_Matrix.h"
uint8_t const I2C_READ = 1;
uint8_t const I2C_WRITE = 0;
uint8_t const I2C_DELAY_USEC = 4;
#define USER 0x80
#define C0 USER+1
#define C1 USER+2
#define S0 USER+11
#define S1 USER+12
#define S2 USER+13
#define S3 USER+14
#define S4 USER+15
#define S5 USER+16
#define M0 USER+21
#define M1 US... | C++ | src/Nova_Matrix.cpp | StarLabMakerSpace/Nova | lgpl-3.0 | 15,201 | 683 | codeparrot/github-code |
0d5fd10c17beda0fad70bb56b34fce495e6cc8ece146718fb3f727df312170ed | <?php
/**
* The MetaModels extension allows the creation of multiple collections of custom items,
* each with its own unique set of selectable attributes, with attribute extendability.
* The Front-End modules allow you to build powerful listing and filtering of the
* data in each collection.
*
* PHP version 5
* ... | PHP | src/system/modules/metamodels/TableMetaModelFilterSetting.php | dmolineus/metamodels-core | lgpl-3.0 | 22,367 | 782 | codeparrot/github-code |
8e7b470863ddb11cc90a9c8146fc1725856f0376033a8a0136244359607c85f8 | #!/usr/bin/python
#
# Copyright (C) 2010-2015 Gordon Fraser, Andrea Arcuri and EvoSuite
# contributors
#
# This file is part of EvoSuite.
#
# EvoSuite is free software: you can redistribute it and/or modify it
# under the terms of the GNU Lesser Public License as published by the
# Free Software Foundation, either vers... | Python | release_results/script/experiments_base.py | SoftwareEngineeringToolDemos/FSE-2011-EvoSuite | lgpl-3.0 | 5,733 | 230 | codeparrot/github-code |
91d6c2e449747fa2dda01a6779886e71af984e0bb8a7072b4361bf3ae51a653f | <!DOCTYPE html>
<!-- //NAME : EGBEOLA ADEBAYO;
ELECTRICAL ELECTRONICS ENNGINEERING;
MATRIC No: 13ck015371;
JE means jump if equal.This will jump if the "equal flag" (also known as the "zero flag") in the FLAGS register is set.
This gets set as a result of arithmetic operations, or instructions like TEST an... | HTML | EGBEOLA ADEBAYO 13CK015371.html | adebayostark/EIE411-8086-Assembler | lgpl-3.0 | 2,673 | 100 | codeparrot/github-code |
c9f7e3ef9320095d62252df519853cbcd8eac85a50af920ec902aaafcd8f4fea | SIZE = 128
local thread = require("thread")
local queue = require("thread.queue")
local fifo = queue.newqueue(SIZE)
local output = thread.newmutex()
function newcount()
local mutex = thread.newmutex()
local value = 1
return function ()
mutex:lock()
local v = value
value = value + ... | Lua | Source/GCC4/3rdParty/luaplus51-all/Src/Modules/luathread/examples/prodcons-simple.lua | rekotc/game-engine-experimental-3 | lgpl-3.0 | 872 | 45 | codeparrot/github-code |
314eebb6f6e3606b0434bc907657f6833aa2da8ddf8222b2e57fa6274fa14cbf | <?php
/**
* IWStatDiarySummary class file.
*
* @author banyanCheung <banyan@ibos.com.cn>
* @link http://www.ibos.cn/
* @copyright 2008-2014 IBOS Inc
*/
/**
* 统计模块 - 日志 - 评阅底部挂件
* @package application.modules.diary.widgets
* @version $Id$
* @author banyan <banyan@ibos.com.cn>
*/
namespace application\module... | PHP | system/modules/diary/widgets/StatDiaryFooter.php | vlinhd11/IBOS | lgpl-3.0 | 1,931 | 78 | codeparrot/github-code |
547abf83aef5347eef1b168ef53ed676675ff82bbf096226125659e9ebb9c393 | /*
* tuProlog - Copyright (C) 2001-2006 aliCE team at deis.unibo.it
*
* 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 l... | Java | 2p/trunk/src/alice/tuprolog/OperatorManager.java | zakski/project-soisceal | lgpl-3.0 | 4,895 | 142 | codeparrot/github-code |
4796081c069e8ba055d1325102922d3d93a213f3fa1d9fd6748fd4cba6c598d6 | /**
* Copyright (C) 2010-2015 Gordon Fraser, Andrea Arcuri and EvoSuite
* contributors
*
* This file is part of EvoSuite.
*
* EvoSuite is free software: you can redistribute it and/or modify it
* under the terms of the GNU Lesser Public License as published by the
* Free Software Foundation, either version 3.0 ... | Java | master/src/test/java/org/evosuite/ga/problems/singleobjective/Beales.java | SoftwareEngineeringToolDemos/FSE-2011-EvoSuite | lgpl-3.0 | 2,453 | 76 | codeparrot/github-code |
c26a9592a67e5cacaeb147d0b24df87c5cb2fce934cb7b872392128d4bcffcfc | #!python3
"""
This script downloads the favicons
Usage:
python3 update_alexa path/to/data.csv
"""
import os
import requests
favicon_path = os.path.join(os.path.dirname(__file__), "..", "icons")
def download_favicons(links):
for link in links:
netloc = link['netloc']
url = 'http://' + netloc... | Python | docs/scripts/download_favicons.py | engineerapart/TheRemoteFreelancer | unlicense | 964 | 34 | codeparrot/github-code |
caaf168c58d323a76ab6ce5dcd09dfd12ac4aa478b73e7b7c4630b9a4a162946 | //-*****************************************************************************
//
// Copyright (c) 2009-2012,
// Sony Pictures Imageworks Inc. and
// Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with ... | C | LunaticPlatypus/Alembic/AbcGeom/IPoints.h | newincpp/LunaticPlatypus | unlicense | 9,461 | 272 | codeparrot/github-code |
c18e3f5dc91e77fc639c69645a2fed30e05a756a38fd5d5ccbff5a755d4f44fc | #!/usr/bin/perl
use strict;
use warnings;
use File::Basename;
use File::Find;
sub readfile {
my $file_name = shift;
open FILE, $file_name or die $!;
binmode FILE;
my $size = -s FILE;
my $data = "";
while ($size) {
my $tmp;
my $n = read FILE, $tmp, $size;
die "read error $!" unless defined ... | Perl | webapp/utils/u-fix-links.pl | ibukanov/hippyru-dock | unlicense | 5,139 | 172 | codeparrot/github-code |
d158fe85dcb49fdcacbf537c24519e20b1be4a13135e2d61cfea12543a9767e2 | <?php
declare(strict_types=1);
namespace BitWasp\Bitcoin\Signature;
use BitWasp\Bitcoin\Crypto\EcAdapter\Adapter\EcAdapterInterface;
use BitWasp\Bitcoin\Crypto\EcAdapter\EcSerializer;
use BitWasp\Bitcoin\Crypto\EcAdapter\Serializer\Signature\DerSignatureSerializerInterface;
use BitWasp\Bitcoin\Crypto\EcAdapter\Signa... | PHP | src/Signature/TransactionSignature.php | Bit-Wasp/bitcoin-php | unlicense | 4,192 | 145 | codeparrot/github-code |
9609b94df96045b856c1514f85a71217553fb8dd708bed14808acb999c91fbec | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DotVVM.Framework.Hosting;
using DotVVM.Framework.Binding;
using DotVVM.Framework.Binding.Expressions;
using DotVVM.Framework.Runtime;
namespace DotVVM.Framework.Controls
{
/// <summary>
///... | C# | src/DotVVM.Framework/Controls/Decorator.cs | kiraacorsac/dotvvm | apache-2.0 | 1,456 | 57 | codeparrot/github-code |
9e424c191121f52b8a0bb4d85452e1406b067ac99c23996c15426b645dff59f9 | /* Copyright 2007-2015 QReal Research Group
*
* 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... | C | plugins/robots/generators/trik/trikFSharpGeneratorLibrary/src/trikFSharpAdditionalPreferences.h | qreal/qreal | apache-2.0 | 1,242 | 45 | codeparrot/github-code |
c109a454966f9c656f017b441271f49c9a05a625fe1eed114bdd19bc1ccb4656 | <?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license an... | PHP | protected/vendors/Zend/Queue/Adapter/Array.php | calonso-conabio/intranet | apache-2.0 | 9,870 | 356 | codeparrot/github-code |
6d834f437e5739454532d6753a25570c6a94e1e58f2e432d4c6c6083c9cd0288 | /*
Copyright (c) 2005-2018 Intel 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 of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable la... | C | third_party/tbb/src/old/concurrent_vector_v2.h | RichieSams/lantern | apache-2.0 | 19,109 | 513 | codeparrot/github-code |
cd96c2c97aa2a60640b262a56fbcfe8026c4207a65229013f1e77493ce1f44f8 | /**
* Copyright (c) 2008-2013, http://www.snakeyaml.org
*
* 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 appl... | Java | src/test/java/org/yaml/snakeyaml/constructor/PrefixConstructorTest.java | henryyan/snakeyaml | apache-2.0 | 4,338 | 137 | codeparrot/github-code |
8322cbbbc4688db2c008413805568366417954208ac42d343218acd8925f3b3f | /*
* Copyright 2012-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | Java | spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/endpoint/EndpointIdTimeToLivePropertyFunction.java | lburgazzoli/spring-boot | apache-2.0 | 2,167 | 60 | codeparrot/github-code |
2060a6b4122b077c590ef0b50e3a6ea291af89d6ea32414311060a21756930a1 | /**
* vertigo - simple java starter
*
* Copyright (C) 2013, KleeGroup, direction.technique@kleegroup.com (http://www.kleegroup.com)
* KleeGroup, Centre d'affaire la Boursidiere - BP 159 - 92357 Le Plessis Robinson Cedex - France
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not us... | Java | vertigo-labs-test/src/main/java/io/vertigo/engines/command/TcpVCommandEngine.java | KleeGroup/vertigo-labs | apache-2.0 | 5,169 | 174 | codeparrot/github-code |
6d5798e65f0dad865f47a3f5a5eda056a04476970beaa71948be3379a5e7f9f8 | package com.elastisys.scale.cloudpool.kubernetes.config;
import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.CoreMatchers.nullValue;
import static org.junit.Assert.assertThat;
import static org.junit.Assert.fail;
import org.junit.Test;
import com.elastisys.scale.cloudpool.kubernetes.podpool.PodPoo... | Java | kubernetes/src/test/java/com/elastisys/scale/cloudpool/kubernetes/config/TestPodPoolConfig.java | elastisys/scale.cloudpool | apache-2.0 | 4,823 | 131 | codeparrot/github-code |
27a4a0807b270c63bfc2c867adfa6c2a01d0205f01ef96a5adf34208665d1b48 | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | C++ | aws-cpp-sdk-iam/source/model/GenerateCredentialReportResult.cpp | chiaming0914/awe-cpp-sdk | apache-2.0 | 2,400 | 71 | codeparrot/github-code |
d6f451751159da93f71040fb36b00bee35fe9710fa6ef0e5e88c3776358439b4 | /*
* Copyright (C) 2017 Genymobile
*
* 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 | relay-java/src/main/java/com/genymobile/gnirehtet/relay/AbstractConnection.java | Genymobile/gnirehtet | apache-2.0 | 2,999 | 107 | codeparrot/github-code |
8042eb56fb669af8dbe2d86a96e66b77cb29f91522e011015600859acc9d3d02 | /* The Image Registration Toolkit (IRTK)
*
* Copyright 2008-2015 Imperial College London
*
* 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... | C++ | Modules/Transformation/src/irtkBSplineFreeFormTransformationSV.cc | ghisvail/IRTK | apache-2.0 | 71,818 | 1,746 | codeparrot/github-code |
5451f62cfb8490d42c379038fa91cd5f73f4e94607059ee9f02b2e30dd903b0a | var m = require('mithril');
var osfHelpers = require('js/osfHelpers');
var Treebeard = require('treebeard');
function Submissions(data) {
// Treebeard 'All Submissions' Grid
var tbOptions = {
divID: 'submissions-grid',
filesData: data,
rowHeight : 30, // user can override or g... | JavaScript | website/static/js/submissions.js | icereval/osf.io | apache-2.0 | 4,203 | 114 | codeparrot/github-code |
8c1857400be9d24683fa3189a0f7ec65b6875b34c294227e1f72b3f186905f54 | /*
* Copyright 2002-2019 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 | config/src/test/java/org/springframework/security/config/annotation/web/configurers/AuthorizeRequestsTests.java | djechelon/spring-security | apache-2.0 | 20,833 | 671 | codeparrot/github-code |
3c0c884f91cf8815687d675f0b6dfbb3a784fe7c2574aa23396721c5133c9d26 | <!DOCTYPE html>
<html lang="en">
<head>
<title>3D Chess</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<link rel="stylesheet" href="style.css" media="screen" type="text/css" />
<style>
body {
color: #000;
f... | HTML | assets/projects/chess/index.html | agentflare/agentflare.github.io | apache-2.0 | 20,223 | 655 | codeparrot/github-code |
b64a77ce63f575b2e49465414266c56e876e97cf04744b91ddd6a5df138c172b | /*
* @Author: Paco
* @Date: 2017-02-10
* @lastModify 2017-04-13
* +----------------------------------------------------------------------
* | jqadmin [ jq酷打造的一款懒人后台模板 ]
* | Copyright (c) 2017 http://jqadmin.jqcool.net All rights reserved.
* | Licensed ( http://jqadmin.jqcool.net/licenses/ )
* | Author: Paco <... | JavaScript | public/static/system/js/jqmodules/dtable.js | BlueSimle/haiadmin | apache-2.0 | 13,656 | 409 | codeparrot/github-code |
936956232ec6c93abc97dcb72916f5551dbec9e0cd7d523fc8ef3814a15d1202 | /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim:set ts=2 sw=2 sts=2 et cindent: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.... | C | B2G/gecko/content/media/omx/mediaresourcemanager/MediaResourceManagerService.h | sergecodd/FireFox-OS | apache-2.0 | 3,369 | 96 | codeparrot/github-code |
c8bccb83f465266b05f7a36d694dbe7998c4905c4eb5b6797bd732b5b150870e | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | C++ | aws-cpp-sdk-gamelift/source/model/CreatePlayerSessionResult.cpp | chiaming0914/awe-cpp-sdk | apache-2.0 | 1,442 | 51 | codeparrot/github-code |
98a8c24c1744603b2f03c30ab0430f2443c0b96805e15545270528199344d0ac | /**
* 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 | core/camel-core/src/test/java/org/apache/camel/processor/async/AsyncEndpointWithHandleFaultTest.java | punkhorn/camel-upstream | apache-2.0 | 3,423 | 82 | codeparrot/github-code |
f351e77bc10cbba2a94404accfdaf1cfb17001724b640e77155c51016c20bc87 | /*
* Copyright 2014 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 applica... | Java | spring-social-linkedin/src/main/java/org/springframework/social/linkedin/api/impl/json/JobBookmarksMixin.java | pkdevbox/spring-social-linkedin | apache-2.0 | 1,254 | 39 | codeparrot/github-code |
3484af2e9d88d85eac7bc41d4724b6e7e68d1d7d3803b44fad3f2626763ce539 | #!/usr/bin/env bash
# A script for setting up environment for travis-ci testing.
# Sets up Lua and Luarocks.
# LUA must be "lua5.1", "lua5.2" or "luajit".
# luajit2.0 - master v2.0
# luajit2.1 - master v2.1
set -eufxo pipefail
LUAJIT_VERSION="2.0.4"
LUAJIT_BASE="LuaJIT-$LUAJIT_VERSION"
source .ci/platform.sh
LUA_H... | Shell | .ci/setup_lua.sh | zhaozg/luv | apache-2.0 | 3,334 | 138 | codeparrot/github-code |
db4c16662b26ee970825a10cbd4df334420bba33786df409a60e18dcf3deb236 | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
from builtins import *
import numpy as np
from .rnn_base import RNNBase
from .utils import SymbolTable
class TextRNN(RNNBase):
"""TextRNN for strings of text."""
... | Python | snorkel/learning/tensorflow/rnn/text_rnn.py | HazyResearch/snorkel | apache-2.0 | 1,044 | 31 | codeparrot/github-code |
d8702a8739b609efef5298335395c1cfa3132adb2ac8ce4a1d2502f76a8a60a4 | /*
* CPAchecker is a tool for configurable software verification.
* This file is part of CPAchecker.
*
* Copyright (C) 2007-2013 Dirk Beyer
* 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... | Java | src/org/sosy_lab/cpachecker/cpa/invariants/operators/interval/interval/tointerval/MultiplyOperator.java | TommesDee/cpachecker | apache-2.0 | 9,398 | 237 | codeparrot/github-code |
09b58852430c32ce7ffaca7bd28949b3f08d64beb95513904178db27fe84bbb6 | /*
* Copyright 2016-2020 Crown Copyright
*
* 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... | Java | store-implementation/federated-store/src/test/java/uk/gov/gchq/gaffer/federatedstore/operation/handler/impl/FederatedOperationChainHandlerTest.java | GovernmentCommunicationsHeadquarters/Gaffer | apache-2.0 | 11,727 | 281 | codeparrot/github-code |
03d2d3db3162dceb9f8216d65e6134060e8540152ecb4d5522ba989252d6bce1 | /*
* Copyright @ 2015 Atlassian Pty Ltd
*
* 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 ag... | Java | src/main/java/org/jitsi/videobridge/IceUdpTransportManager.java | matteocampana/jitsi-videobridge | apache-2.0 | 73,883 | 2,123 | codeparrot/github-code |
7027efd1972bd8d447fd0020922b300c26f19dec007ebb789528d0d799e233df | package com.ztiany.springf.web.servlet;
import org.springframework.web.context.WebApplicationContext;
import org.springframework.web.context.support.WebApplicationContextUtils;
import java.io.IOException;
import javax.servlet.ServletContext;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServle... | Java | JavaEE/SpringFramework-Base/src/main/java/com/ztiany/springf/web/servlet/TestServlet.java | Ztiany/CodeRepository | apache-2.0 | 1,142 | 37 | codeparrot/github-code |
366c99264d3e6b4f9cc84ee2af0a1d008b6b997106a4a1486fee4c5fbe6e8d2c | =begin
Copyright 2010-2012 Tasos Laskos <tasos.laskos@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
http://www.apache.org/licenses/LICENSE-2.0
Unless requi... | Ruby | plugins/defaults/meta/remedies/manual_verification.rb | LocalNomad10/arachni-bootstrap | apache-2.0 | 2,088 | 62 | codeparrot/github-code |
40dfbdd2bbbe86b1cb6deca5264dfce77091e8722f57c43591e1e364ff7a27c1 | package ${topLevelDomain}.${companyName}.${productName}.model;
import ${topLevelDomain}.${companyName}.${productName}.model.exception.SystemLoggedException;
import mockit.integration.junit4.JMockit;
import org.junit.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;
import java.util.Calendar;
import java... | Java | src/main/resources/shared-test-templates/TestModelHelper.java | dgestep/big-code-bang | apache-2.0 | 4,172 | 109 | codeparrot/github-code |
40748e0e138c55773f79aca10cd41787cebd7a686ce2bb501a6049d6a88ad698 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package org.netbeans.modules.android.project.proguard;
import org.antlr.runtime.Token;
import org.netbeans.spi.lexer.Lexer;
import org... | Java | nbandroid.proguard/src/main/java/org/netbeans/modules/android/project/proguard/ProguardLexer.java | NBANDROIDTEAM/NBANDROID-V2 | apache-2.0 | 1,268 | 46 | codeparrot/github-code |
20b1b2a1fa0342acf9c67da85269e47c073858722755d34def30df53e9172a6e | /*
* Copyright 2012 Facebook, 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... | C++ | folly/test/FBStringTest.cpp | fangf1/facebook-folly | apache-2.0 | 32,794 | 1,058 | codeparrot/github-code |
552cb904e4d9b73c3a37b045fd8b54a5115130c69e9037095f0e5bc5ccce6706 | /*
* Copyright 2012 Roman Nurik
*
* 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 | AlkitabFeedback/src/main/java/com/example/android/wizardpager/wizard/ui/MultipleChoiceFragment.java | Jaden-J/androidbible | apache-2.0 | 4,762 | 143 | codeparrot/github-code |
65d4d33811b2cd93b791c41e735aa6eb5c43ff24b3c41d7e42e63882d5a0bb68 | //
// SessionPool.h
//
// $Id: //poco/Main/Data/include/Poco/Data/SessionPool.h#4 $
//
// Library: Data
// Package: SessionPooling
// Module: SessionPool
//
// Definition of the SessionPool class.
//
// Copyright (c) 2006, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// SPDX-License-Identifie... | C | platform/Data/include/Poco/Data/SessionPool.h | nextsmsversion/macchina.io | apache-2.0 | 6,827 | 236 | codeparrot/github-code |
d8cfd19173d06ee4cae9bcf622bd08ab22013d13b609f66a88342735c11b60ce | /*
* Copyright 2009-2013 by The Regents of the University of California
* 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 from
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless... | Java | pregelix/pregelix-example/src/test/java/edu/uci/ics/pregelix/example/util/Record.java | sigmod/asterixdb-analytics | apache-2.0 | 3,185 | 105 | codeparrot/github-code |
ccccc733f4ae5668ab39b1161a22126021670101aabca463a9ce0e9d9a9f0a58 | /*
* Diff Match and Patch
*
* Copyright 2006 Google Inc.
* http://code.google.com/p/google-diff-match-patch/
*
* 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.... | Java | src/main/java/com/sksamuel/diffpatch/DiffMatchPatch.java | sksamuel/diffpatch | apache-2.0 | 88,825 | 2,465 | codeparrot/github-code |
6e3864aac1436b99b64cb5b17e59192a726f139471f37e3333fefd44a1db9976 | /*
* 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 | invertedindex/src/main/java/org/apache/kylin/invertedindex/IIManager.java | lemire/incubator-kylin | apache-2.0 | 11,189 | 318 | codeparrot/github-code |
c3625afa4e127346fc7165a4c3261976dae18dae33a434ddb2d5f794ea1eb913 | /**
* @author caspar - chengzhihang
* @contact 279397942@qq.com
* @date 2016/12/29
* @description normal application layout border container
* @file zh/widget/layout/TabBorderContainer
*/
define([
'zh/widget/_base/_WidgetBase',
'dijit/layout/AccordionContainer',
"dojo/sniff",
"dojo/dom-geometry",
... | JavaScript | zh-site-manager-web-ui-admin/target/classes/static/js/zh/widget/layout/AccordionContainer.js | Caspar12/zh.sw | apache-2.0 | 4,681 | 107 | codeparrot/github-code |
224c81a8f8b016fac52562803326ec914a8905f060adffed9855c667eac1b808 | /*
* Copyright 2014 TWO SIGMA OPEN SOURCE, 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 appl... | Java | kernel/base/src/main/java/com/twosigma/beakerx/chart/xychart/plotitem/ConstantLine.java | jpallas/beakerx | apache-2.0 | 2,597 | 127 | codeparrot/github-code |
0c8554abbff0777832bc6b43e858c4e45116bc78909beb937c005e280f70c319 | /*
* 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/test/java/org/apache/hadoop/hbase/security/access/TestAccessController2.java | lshmouse/hbase | apache-2.0 | 21,951 | 500 | codeparrot/github-code |
181a6709f525b86408e8c0f3c84174317ce293608b56055769f3de2999f86a7c | /*
* Copyright 2000-2017 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
*/
package com.intellij.codeInspection;
import com.intellij.analysis.AnalysisScope;
import com.intellij.codeInsight.daemon.impl.Divider;
import com.intellij.codeInspection.ex... | Java | platform/analysis-impl/src/com/intellij/codeInspection/InspectionEngine.java | mglukhikh/intellij-community | apache-2.0 | 16,546 | 341 | codeparrot/github-code |
0e549dbc14c246e93168b363cb7f20e36eaeaf94f21f25525ab3d5fcac1c45d2 | package storm.mesos.util;
import org.apache.curator.RetryPolicy;
import org.apache.curator.framework.CuratorFramework;
import org.apache.curator.framework.CuratorFrameworkFactory;
import org.apache.curator.retry.ExponentialBackoffRetry;
import org.apache.curator.framework.api.BackgroundCallback;
import org.apache.cura... | Java | storm/src/main/storm/mesos/util/ZKClient.java | erikdw/storm-mesos | apache-2.0 | 5,026 | 148 | codeparrot/github-code |
d8c09459eb34edb385f168b88baa999ec46909e79739e345d5314da33e4da707 | /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
package org.elasticsearch.xpack.autoscaling.storage;
import org.elasticsearc... | Java | x-pack/plugin/autoscaling/src/internalClusterTest/java/org/elasticsearch/xpack/autoscaling/storage/AutoscalingStorageIntegTestCase.java | nknize/elasticsearch | apache-2.0 | 2,953 | 58 | codeparrot/github-code |
775a02bb23fe11798160398a70ef9b0b29aca210210dd1e27bd25e26fbd05db6 | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Bootstrap Paginator Tests</title>
<link rel="stylesheet" href="../css/qunit-1.11.0.css">
<link rel="stylesheet" href="../css/bootstrap-responsive.css">
<link rel="stylesheet" href="../css/bootstrap.css">
<script src="../lib/jquery-1.9.1... | HTML | bootstrap/source/bootstrap-paginator-master/test/test.html | phpblogs/blogs_php | apache-2.0 | 53,339 | 1,747 | codeparrot/github-code |
c1443a86314f481171d403f16c1e5a9d37a788bc6ad862ec4e41a9f601ff651d | /*
* Copyright © 2009 Red Hat, Inc.
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
* the above copyright notice appear in all copies and that both that
* copyright notice and this permission notice appear... | C | B2G/gecko/gfx/cairo/libpixman/src/pixman-implementation.c | sergecodd/FireFox-OS | apache-2.0 | 7,303 | 228 | codeparrot/github-code |
4c8c7ea8adf47cbb833b789d0e9a46863463eaf0149b3d93bb288e62fb14ad71 | <!doctype html>
<html lang="en">
<head>
<title>Code coverage report for client/controller/admin/registrationnewadmin/</title>
<meta charset="utf-8">
<link rel="stylesheet" href="../../../../prettify.css">
<style>
body, html {
margin:0; padding: 0;
}
body {
... | HTML | target/test-classes/com/sequenziatore/client/coverage/Chrome 35.0.1916 (Mac OS X 10.9.3)/client/controller/admin/registrationnewadmin/index.html | MDaino/Seq | apache-2.0 | 13,611 | 364 | codeparrot/github-code |
1740e53cd8595d7247fee5dc42d2ea8dece8d23ca3c0d148c79a458fdb8d340d | /*
* 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-solr-core/src/test/java/org/apache/jackrabbit/oak/plugins/index/solr/query/SolrQueryIndexTest.java | bdelacretaz/jackrabbit-oak | apache-2.0 | 20,453 | 433 | codeparrot/github-code |
f4690b02f8f4bc82b56e3a1d9fa5a28964fe3d0dc711c1d118099cdd3d645dce | /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef mozilla_net_NeckoMessageUt... | C | B2G/gecko/netwerk/ipc/NeckoMessageUtils.h | sergecodd/FireFox-OS | apache-2.0 | 5,278 | 150 | codeparrot/github-code |
3eb9e0acb25c6f32d32b9dc9302c05a7575b831a5bb60e3c158cebb27fe66cae | // Copyright 2019 PingCAP, 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 i... | GO | util/rowcodec/row.go | coocood/tidb | apache-2.0 | 4,740 | 194 | codeparrot/github-code |
c19a0801d917985b8ace817afad01392639ecbd4d1369562685c0df677c72fbc | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include "mscorlib_System_IO_TextReader1561828458.h"
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic... | C | Xcode Project/Classes/Native/mscorlib_System_IO_TextReader_NullTextReader516142577.h | WestlakeAPC/unity-game | apache-2.0 | 539 | 36 | codeparrot/github-code |
124363bf0bbffb2529c8dc02e929cfb77f316cf422900e9241ff1c81424f5025 | from __future__ import absolute_import
import random
from six import text_type
from typing import Any, Dict, Optional, SupportsInt
from zerver.models import PushDeviceToken, UserProfile
from zerver.models import get_user_profile_by_id
from zerver.lib.timestamp import timestamp_to_datetime
from zerver.decorator import... | Python | zerver/lib/push_notifications.py | peguin40/zulip | apache-2.0 | 10,547 | 247 | codeparrot/github-code |
ac7b26bf5175cb5110473b5db12f7600edc36da72078d9d4ba28029ab62adbc8 | /*
* 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 | osgi/core/src/main/java/org/apache/karaf/webconsole/osgi/core/pkg/column/PackageColumn.java | apache/karaf-webconsole | apache-2.0 | 1,539 | 39 | codeparrot/github-code |
2e5d34178b2a889d4214bd18a32815b46aaa6ed2c6aeaf14eb9514b255d99dd0 | /*
* arcus-management-toolkit - Arcus management toolkit
* Copyright 2014 NAVER Corp.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*... | Java | management_toolkit/src/main/java/com/navercorp/arcus/model/ArcusClusterMembers.java | jam2in/arcus-misc | apache-2.0 | 967 | 35 | codeparrot/github-code |
d7da55d279645f940f08760d893675b201eb3eef4e9f04f92eb7d007a88a7f8c | /*
* 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 | shardingsphere-sql-parser/shardingsphere-sql-parser-statement/src/main/java/org/apache/shardingsphere/sql/parser/sql/constant/Paren.java | shardingjdbc/sharding-jdbc | apache-2.0 | 1,981 | 67 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.