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
c38cdd05e728870c34cd817d340ff524e85a8092fe58ffbfdb799a684a2eab83
/**************************************************************************** ** ** Copyright (C) 2015 The Qt Company Ltd. ** Contact: http://www.qt.io/licensing ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use this file in ** accordance wit...
C++
src/plugins/git/branchmodel.cpp
frostasm/qt-creator
gpl-3.0
21,355
736
codeparrot/github-code
80ca6784a15de4bf89d983faa14e130730357b014aa89edd23dbd93aa1ad1947
/* This file is part of the FreeRTOS.org distribution. FreeRTOS.org is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License (version 2) as published by the Free Software Foundation and modified by the FreeRTOS exception. FreeRTOS.org is distrib...
C
Keil-FreeRTOS-Sample-Project/Keil-FreeRTOS/FreeRTOSv9.0.0/FreeRTOS/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/FEC.c
RobsonRojas/frertos-udemy
gpl-3.0
20,040
706
codeparrot/github-code
0827bdf52ee9ee16158b04c84b62c53a33ed485b0c168b5e246a143634a77f15
/**CFile**************************************************************** FileName [ioReadBaf.c] SystemName [ABC: Logic synthesis and verification system.] PackageName [Command processing package.] Synopsis [Procedures to read AIG in the binary format.] Author [Alan Mishchenko] Affiliatio...
C
lib/abc/src/base/io/ioReadBaf.c
Kinghsy/490_core
gpl-3.0
5,781
178
codeparrot/github-code
ae17e08ec29aac38abe5ce896e52c4d4ca51bfe63fd5f66a6d2df25606fa331e
package com.github.bordertech.wcomponents.examples; import com.github.bordertech.wcomponents.RadioButtonGroup; import com.github.bordertech.wcomponents.Size; import com.github.bordertech.wcomponents.WLabel; import com.github.bordertech.wcomponents.WPanel; import com.github.bordertech.wcomponents.WRadioButton; import c...
Java
wcomponents-examples/src/main/java/com/github/bordertech/wcomponents/examples/RadioButtonExample.java
bordertechorg/wcomponents
gpl-3.0
2,008
72
codeparrot/github-code
e6f80efffd5492c438a94b212f0c5368e7b8cc1e095210f7837f23fb2095a08c
/* * Crafter Studio Web-content authoring solution * Copyright (C) 2007-2016 Crafter Software Corporation. * * 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...
Java
src/main/java/org/craftercms/studio/impl/v1/service/activity/ActivityServiceImpl.java
dejan-brkic/studio2
gpl-3.0
20,008
441
codeparrot/github-code
f0315e92afd75f02459ab98ccf024e1cdd2e2ece093d16731442175b761f6b07
package org.thoughtcrime.securesms.testutil; import org.signal.core.util.logging.Log; public final class SystemOutLogger extends Log.Logger { @Override public void v(String tag, String message, Throwable t, boolean keepLonger) { printlnFormatted('v', tag, message, t); } @Override public void d(String t...
Java
app/src/test/java/org/thoughtcrime/securesms/testutil/SystemOutLogger.java
WhisperSystems/Signal-Android
gpl-3.0
1,332
46
codeparrot/github-code
d38e47fd26846377c9382cc4be7eae03e2bcb3b865727cf89b2d268bfd1cde21
// Openbravo POS is a point of sales application designed for touch screens. // Copyright (C) 2007-2009 Openbravo, S.L. // http://www.openbravo.com/product/pos // // This file is part of Openbravo POS. // // Openbravo POS is free software: you can redistribute it and/or modify // it under the terms of...
Java
src-pos/com/openbravo/pos/printer/escpos/CodesIthaca.java
ZarGate/OpenbravoPOS
gpl-3.0
2,760
63
codeparrot/github-code
f5bf63cc6cdba24e0301485e52a8127da1bd9a2202e3efc753cdd9fbd474547a
#ifndef UTIL_BIT_PACKING__ #define UTIL_BIT_PACKING__ /* Bit-level packing routines */ #include <assert.h> #ifdef __APPLE__ #include <architecture/byte_order.h> #elif __linux__ #include <endian.h> #else #include <arpa/nameser_compat.h> #endif #include <inttypes.h> namespace util { /* WARNING WARNING WARNING: * T...
C++
util/bit_packing.hh
kpm/kenlm-rb
gpl-3.0
4,424
146
codeparrot/github-code
c391cb658acc0f26d5c90860fd02155f132250c1f9b26069b0a0440bcbaaa06c
#region Copyright & License Information /* * Copyright 2007-2011 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 CO...
C#
OpenRA.Mods.RA/RallyPoint.cs
obrakmann/OpenRA
gpl-3.0
2,262
79
codeparrot/github-code
e587ab1d26560a8f0f728102bd0d7117382c0b41f4cedd3fcf0ca410b4062ae0
#include <parmetislib.h> /* Byte-wise swap two items of size SIZE. */ #define QSSWAP(a, b, stmp) do { stmp = (a); (a) = (b); (b) = stmp; } while (0) /* Discontinue quicksort algorithm when partition gets below this size. This particular magic number was chosen to work best on a Sun 4/260. */ #define MAX_THRESH 20...
C
lib/ParMetis-3.1.1/ParMETISLib/ikeyvalsort.c
DominicJones/cfdpack
gpl-3.0
4,929
152
codeparrot/github-code
d8ff6e69aa0e0237aa8b7a5c659b5dacadea5a4a073e8abea6cc91970f150d71
/* This file is part of HSPlasma. * * HSPlasma 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. * * HSPlasma is distributed in th...
C++
core/SDL/plSDL.cpp
NadnerbD/libhsplasma
gpl-3.0
1,145
36
codeparrot/github-code
3a5b34fb7ace52cbfea6f38f5708edcf186d142afddbccc836b4bf1c6744049a
package com.redhat.jcliff; import java.io.StringBufferInputStream; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.util.Set; import org.junit.Assert; import org.junit.Before; import org.junit.Test; import org.jboss.dmr.ModelNode; public class DeploymentTest { @Test pub...
Java
src/test/java/com/redhat/jcliff/DeploymentTest.java
mkrakowitzer/jcliff
gpl-3.0
2,307
52
codeparrot/github-code
200fa6a50b75d5cb02a1294457937a9b40551a67608597381dafa877fc224c6a
/* * The contents of this file are subject to the OpenMRS Public License * Version 1.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://license.openmrs.org * * Software distributed under the License is distributed on an "AS IS" *...
JavaScript
omod/src/main/webapp/resources/scripts/navigator/exitHandlers.js
yadamz/first-module
mpl-2.0
1,610
43
codeparrot/github-code
52b9e2b4b63b059d2da39b905ba9aba3a9843e51544dc1b5bcbdca777fefd362
/* * This file is part of LibrePlan * * Copyright (C) 2009-2010 Fundación para o Fomento da Calidade Industrial e * Desenvolvemento Tecnolóxico de Galicia * Copyright (C) 2010-2011 Igalia, S.L. * * This program is free software: you can redistribute it and/or modify * it under the terms ...
Java
libreplan-business/src/main/java/org/libreplan/business/resources/entities/Machine.java
PaulLuchyn/libreplan
agpl-3.0
3,679
138
codeparrot/github-code
c26abfd1e9fe91976054e1a98878cbaeec660e6b0c677650ee4e367b6253f0c2
<?php /** * Live media server object, represents a media server association with live stream entry * * @package Core * @subpackage model * */ class kLiveMediaServer { /** * @var int */ protected $mediaServerId; /** * @var int */ protected $index; /** * @var int */ protected $dc; /** *...
PHP
alpha/lib/data/live/kLiveMediaServer.php
doubleshot/server
agpl-3.0
1,582
111
codeparrot/github-code
47a8db562b00a185b03a50c3682c831101a4c7dd66f18dbf7769dffdc5e0cd46
// // Copyright (C) 2016 - present Instructure, Inc. // // This file is part of Canvas. // // Canvas is free software: you can redistribute it and/or modify it under // the terms of the GNU Affero General Public License as published by the Free // Software Foundation, version 3 of the License. // // Canvas is distribut...
JavaScript
app/coffeescripts/api/enrollmentTermsApi.js
venturehive/canvas-lms
agpl-3.0
1,662
50
codeparrot/github-code
0ba492ad3a06999310bcbfb039b52717ef627759cf7584651dba06240f392af6
/******************************************************************************* * This file is part of OpenNMS(R). * * Copyright (C) 2016-2016 The OpenNMS Group, Inc. * OpenNMS(R) is Copyright (C) 1999-2016 The OpenNMS Group, Inc. * * OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc. * * OpenNMS(...
Java
features/poller/remote/src/test/java/org/opennms/netmgt/poller/remote/metadata/EmailValidatorTest.java
aihua/opennms
agpl-3.0
2,394
65
codeparrot/github-code
284fd87d8414e949ef1457561fdd4dc4de61ed3be09fd8c06a5aeb17ee9d7979
<?php /** * Copyright (C) 2020 Xibo Signage Ltd * * Xibo - Digital Signage - http://www.xibo.org.uk * * This file is part of Xibo. * * Xibo is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, eithe...
PHP
lib/Widget/TwitterBase.php
xibosignage/xibo-cms
agpl-3.0
4,380
140
codeparrot/github-code
c010071c2d59bbe76eddeeec09a965c8990a87a13b8bdc58edf7ac56d8c7e515
/* * Kuali Coeus, a comprehensive research administration system for higher education. * * Copyright 2005-2016 Kuali, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, eithe...
Java
coeus-impl/src/main/java/org/kuali/coeus/propdev/impl/action/ProposalDevelopmentRejectionRule.java
kuali/kc
agpl-3.0
1,586
40
codeparrot/github-code
ab586721f681bab016b7283b507791ce090b607e9242f1402e9740ba575654ce
"""Capa's specialized use of codejail.safe_exec.""" import hashlib from codejail.safe_exec import SafeExecException, json_safe from codejail.safe_exec import not_safe_exec as codejail_not_safe_exec from codejail.safe_exec import safe_exec as codejail_safe_exec from edx_django_utils.monitoring import function_trace i...
Python
common/lib/capa/capa/safe_exec/safe_exec.py
eduNEXT/edx-platform
agpl-3.0
6,279
193
codeparrot/github-code
77c3c2dab72cff830db5283854f0c3592a1d7cd9c295d014ed24be0a3a9c292d
# -*- coding: utf-8 -*- # Part of Odoo. See LICENSE file for full copyright and licensing details. import time from odoo import api, fields, models class ProductProduct(models.Model): _inherit = "product.product" date_from = fields.Date(compute='_compute_product_margin_fields_values', string='Margin Date F...
Python
addons/product_margin/models/product_product.py
ygol/odoo
agpl-3.0
9,711
158
codeparrot/github-code
7a7b4b3ddc545e0d65a3676035b5f1860740c418521e887c1e0f3c4a505cd6ce
# clean sequences after alignment, criteria based on sequences # make inline with canonical ordering (no extra gaps) import os, datetime, time, re from itertools import izip from Bio.Align import MultipleSeqAlignment from Bio.Seq import Seq from scipy import stats import numpy as np class virus_clean(object): """doc...
Python
augur/src/virus_clean.py
doerlbh/Indie-nextflu
agpl-3.0
3,403
100
codeparrot/github-code
c12d0d084bffd663c344df8fa5d0e027c564b1f0a50b252d68e11ece4a01cf6c
/** \file * \author John Bridgman * \brief */ #include <Variant/Blob.h> #include <stdlib.h> #include <new> #include <string.h> #include <algorithm> namespace libvariant { static void MallocFree(void *ptr, void *) { free(ptr); } shared_ptr<Blob> Blob::Create(void *ptr, unsigned len, BlobFreeFunc ffunc, void ...
C++
third_party/variant/src/Blob.cc
telefonicaid/fiware-IoTAgent-Cplusplus
agpl-3.0
3,102
123
codeparrot/github-code
25c458b71b69edd24b5e4db794c697e9f4fa9bb258f0dd25656227146031a4ef
<?php /********************************************************************************* * Zurmo is a customer relationship management program developed by * Zurmo, Inc. Copyright (C) 2014 Zurmo Inc. * * Zurmo is free software; you can redistribute it and/or modify it under * the terms of t...
PHP
app/protected/modules/emailTemplates/elements/actions/MergeTagGuideAjaxLinkActionElement.php
speixoto/zurmo-for-school
agpl-3.0
4,382
104
codeparrot/github-code
8cb6e452d0f2afc97c4fa37191d279bc7a1997914c00364b2aace065357643d9
<?php /********************************************************************************* * Zurmo is a customer relationship management program developed by * Zurmo, Inc. Copyright (C) 2014 Zurmo Inc. * * Zurmo is free software; you can redistribute it and/or modify it under * the terms of t...
PHP
app/protected/modules/reports/controllers/DefaultController1.php
maruthisivaprasad/zurmo
agpl-3.0
30,234
552
codeparrot/github-code
6c464f1645079fbd326cd7e944915f25f74845dfa8c6749aa6d6cbcf0526cb2a
<%page expression_filter="h"/> <%inherit file="../main.html" /> <%! from django.utils.translation import ugettext as _ from django.urls import reverse from openedx.core.djangolib.js_utils import js_escaped_string from openedx.core.djangolib.markup import HTML, Text %> <%block name="bodyclass">register verification-pro...
HTML
lms/templates/course_modes/choose.html
philanthropy-u/edx-platform
agpl-3.0
16,775
243
codeparrot/github-code
909f9b32dd66b18607820d4c2977bd80e3be838ae05ac47866f95fb5c22d703d
/* eXokernel Development Kit (XDK) Based on code by Samsung Research America Copyright (C) 2013 The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of t...
C++
drivers/nvme-ssd/nvme_common.cc
dwaddington/xdk
lgpl-2.1
1,621
53
codeparrot/github-code
896414bb49416ab415ef45607da78fa90f1e53e0fc700136199a3b383ba8290a
/* * Portable Object Compiler (c) 1997,98,2003. All Rights Reserved. * * 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 l...
C
objpak/hdr/Set.h
JX7P/PCPlusPlus
lgpl-2.1
3,158
131
codeparrot/github-code
a98f233fe3b01a4e2b7fc47fbf9896fa8b22818e7ed26cc00214b5a8f84b1ac8
/**************************************************************************** ** ** 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 QtXmlPatterns module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:L...
C
src/xmlpatterns/expr/qoperandsiterator_p.h
kobolabs/qt-everywhere-4.8.0
lgpl-2.1
5,802
194
codeparrot/github-code
fb59d1523a90b863e32c43f8e0161f4915e53370ebf4f0cb47c6d72e2502572f
package org.hivedb.hibernate; import org.hibernate.HibernateException; import org.hibernate.Session; import org.hibernate.shards.session.OpenSessionEvent; import java.sql.SQLException; public class RecordNodeOpenSessionEvent implements OpenSessionEvent { public static ThreadLocal<String> node = new ThreadLocal<Str...
Java
src/main/java/org/hivedb/hibernate/RecordNodeOpenSessionEvent.java
britt/hivedb
lgpl-2.1
834
38
codeparrot/github-code
e7f1035e286a12179cbaf8a4e43afc824d8d81f2eb3094baf4c426fe74d266dd
using System; using System.Collections; using System.Collections.Generic; using NHibernate.Driver; using NHibernate.Test.SecondLevelCacheTests; using NUnit.Framework; namespace NHibernate.Test.QueryTest { [TestFixture] public class MultipleMixedQueriesFixture : TestCase { protected override string MappingsAssembl...
C#
src/NHibernate.Test/QueryTest/MultipleMixedQueriesFixture.cs
nkreipke/nhibernate-core
lgpl-2.1
11,919
435
codeparrot/github-code
c95e5c52eb30dec019394c8fc470be352030afb7617749deba1622e646a09cf9
/** * Copyright (c) 2014, 2015, Oracle and/or its affiliates. * All rights reserved. */ "use strict"; /* Copyright 2013 jQuery Foundation and other contributors Released under the MIT license. http://jquery.org/license Copyright 2013 jQuery Foundation and other contributors Released under the MIT license. http...
JavaScript
src/main/webapp/js/libs/oj/v1.1.2/min/ojdialog.js
afsinka/jet_jsp
lgpl-2.1
24,005
59
codeparrot/github-code
946bf7aba3dc17e1258d348083c811b6fefad17342b9c788162ae48ab549db9f
/**************************************************************************** ** ** 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/qmlprofiler/qmlprofilertraceview.cpp
duythanhphan/qt-creator
lgpl-2.1
22,504
605
codeparrot/github-code
68ea733d875745a613b72d0a8269b705a7bc11e221393591e949298d32bba7a7
// @(#)root/tmva $Id$ // Author: Peter Speckmayer /********************************************************************************** * Project: TMVA - a Root-integrated toolkit for multivariate data analysis * * Package: TMVA * * Class : Metho...
C
tmva/tmva/inc/TMVA/MethodDNN.h
karies/root
lgpl-2.1
8,107
224
codeparrot/github-code
e8a2c4d91e2ccd835209276feda8d2fd4064e311e920969350733ee2aea9fc23
/* GIO - GLib Input, Output and Streaming Library * * Copyright (C) 2006-2007 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the License, or ...
C
gio/gappinfo.c
staceyson/glib-2.0
lgpl-2.1
28,691
1,030
codeparrot/github-code
a540ad5d57a627365ae0ab68a0475610ce5ecd7ddf949e214bd8d9bc9c2507e7
/* -*- mode: C++; c-file-style: "gnu" -*- This file is part of KMail, the KDE mail client. Copyright (c) 2009 Martin Koller <kollix@aon.at> 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; e...
C
messageviewer/attachmentdialog.h
lefou/kdepim-noakonadi
lgpl-2.1
1,769
64
codeparrot/github-code
798b082257de493c14574470c8337f2d841ce8440a54a2cb2938a37cb27e1f8b
package railo.runtime.functions.dateTime; import java.util.TimeZone; import railo.runtime.PageContext; import railo.runtime.exp.ExpressionException; import railo.runtime.ext.function.Function; import railo.runtime.tag.util.DeprecatedUtil; import railo.runtime.type.dt.DateTime; import railo.runtime.type.dt.DateTimeImp...
Java
railo-java/railo-core/src/railo/runtime/functions/dateTime/NowServer.java
JordanReiter/railo
lgpl-2.1
870
32
codeparrot/github-code
4d13098590afa8a7877e86575ab43e5d51fd73b0ec7d23035e14ff6963c837dc
/* * Copyright (c) 2012 Citrix Systems, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * Th...
C
plugins/glgfx/glgfx.c
OpenXT/surfman
lgpl-2.1
31,356
1,162
codeparrot/github-code
5d4213e535492a1622c0f99ed4748701f0e503e6ae185a5e380b202c3c7e8657
/***************************************************************************** * schroedinger.c: Dirac decoder module making use of libschroedinger. * (http://www.bbc.co.uk/rd/projects/dirac/index.shtml) * (http://diracvideo.org) ********************************************************************...
C
modules/codec/schroedinger.c
xkfz007/vlc
lgpl-2.1
57,647
1,620
codeparrot/github-code
ec7ca97bd516cd1d364ed7a3a970063a2c3099bde06f62034da82427e7f221e4
/** ****************************************************************************** * @file stm32wbxx_hal_pcd_ex.c * @author MCD Application Team * @brief PCD Extended HAL module driver. * This file provides firmware functions to manage the following * functionalities of the USB...
C
src/naked/arm-stm32/stm32wbxx/stm32wbxx_hal_pcd_ex.c
prefetchnta/crhack
lgpl-2.1
9,702
339
codeparrot/github-code
77712d14c277184a29fe77cb1c144b5406ee3b7ebd468e6b4a7c3aef9e9e528a
/****************************************************************/ /* MOOSE - Multiphysics Object Oriented Simulation Environment */ /* */ /* All contents are licensed under LGPL V2.1 */ /* See LICENSE for full restrictions ...
C++
modules/phase_field/src/kernels/KKSACBulkF.C
raghavaggarwal/moose
lgpl-2.1
2,419
75
codeparrot/github-code
d8bf8cb03b960c41c7c6c1c14221278ff69f8dfa3cd889715d9931da5c4378e6
// Boost.Geometry Index // // R-tree spatial query visitor implementation // // Copyright (c) 2011-2014 Adam Wulkiewicz, Lodz, Poland. // // This file was modified by Oracle on 2019-2021. // Modifications copyright (c) 2019-2021 Oracle and/or its affiliates. // Contributed and/or modified by Adam Wulkiewicz, on behalf ...
C++
cpp_component/3rdparty/boost/boost/geometry/index/detail/rtree/visitors/spatial_query.hpp
qianqians/abelkhan
lgpl-2.1
8,657
274
codeparrot/github-code
a8953702f1c81e3e06b5b946d6afbd4596f0dbe2bc2ca9354b5564d101638141
# # Secret Labs' Regular Expression Engine # # various symbols used by the regular expression engine. # run this script to update the _sre include files! # # Copyright (c) 1998-2001 by Secret Labs AB. All rights reserved. # # See the sre.py file for information on usage and redistribution. # """Internal su...
Python
kbe/res/scripts/common/Lib/sre_constants.py
harmy/kbengine
lgpl-3.0
7,444
263
codeparrot/github-code
495adf7e5ff65eba6b867fa31572fc864866d91818e51b6aa18366cc6ef40958
/* radare - LGPL - Copyright 2014-2015 - pancake */ #include "r_util/r_str.h" #include <r_util.h> /* dex/dwarf uleb128 implementation */ R_API const ut8 *r_uleb128(const ut8 *data, int datalen, ut64 *v, const char **error) { ut8 c; ut64 s, sum = 0; const ut8 *data_end; bool malformed_uleb = true; if (v) { *v ...
C
libr/util/uleb128.c
wargio/radare2
lgpl-3.0
8,753
357
codeparrot/github-code
05f16b75b5bbb543621e43e4f3173e8efbd89d17bcfccb3aca10fd4818cac1af
/////////////////////////////////////////////////////////////////////////////// // Name: wx/msw/private/hiddenwin.h // Purpose: Helper for creating a hidden window used by wxMSW internally. // Author: Vadim Zeitlin // Created: 2011-09-16 // Copyright: (c) 2011 Vadim Zeitlin <vadim@wxwidgets.o...
C
thirdparty/wxWidgets-3.0.0/include/wx/msw/private/hiddenwin.h
dariusliep/LogViewer
lgpl-3.0
1,355
31
codeparrot/github-code
138e92afc38015714c84f20851029f4fcf94706b0ba08084d2d95d44955a97a7
/* * @BEGIN LICENSE * * Psi4: an open-source quantum chemistry software package * * Copyright (c) 2007-2017 The Psi4 Developers. * * The copyrights for code used from other parties are included in * the corresponding files. * * This file is part of Psi4. * * Psi4 is free software; you can redistribute it an...
C
psi4/src/psi4/libfock/apps.h
rmcgibbo/psi4public
lgpl-3.0
7,398
263
codeparrot/github-code
ec582c47fdd5bf8deda398055b60b6dfcd7dc780fbaaeb155bccb5fcd2c2f51c
// // System.Web.UI.HtmlControls.HtmlSelect.cs // // Author: // Dick Porter <dick@ximian.com> // // Copyright (C) 2005-2010 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), ...
C#
class/System.Web/System.Web.UI.HtmlControls/HtmlSelect.cs
edwinspire/VSharp
lgpl-3.0
17,515
769
codeparrot/github-code
7d84abaa32fced382c04649c4be32c294a74aa71a601bb582c8ce1d3a68fe303
// // ServiceCredentials.cs // // Author: // Atsushi Enomoto <atsushi@ximian.com> // // Copyright (C) 2005 Novell, Inc. http://www.novell.com // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Sof...
C#
class/System.ServiceModel/System.ServiceModel.Description/ServiceCredentials.cs
edwinspire/VSharp
lgpl-3.0
4,458
142
codeparrot/github-code
43995d85f06e7be7b1320866ac08a97bcb4a40b3af4ab934a3564532fd679fc8
"use strict"; var express = require('express'); var less = require('less-middleware'); function HttpServer(port, staticServedPath, logRequest) { this.port = port; this.staticServedPath = staticServedPath; this.logRequest = (typeof logRequest === "undefined") ? true : logRequest; } HttpServer.prototype.start = ...
JavaScript
src/server/HttpServer.js
o-schneider/heroesdesk-front-web
lgpl-3.0
917
41
codeparrot/github-code
d0dda847538a3830bd53fb3512d829cbc285173ddd5c0486fca21849e9690bdb
package org.opennaas.client.rest; import java.io.FileNotFoundException; import java.util.List; import javax.ws.rs.core.MediaType; import javax.xml.bind.JAXBException; import org.apache.log4j.Logger; import org.opennaas.extensions.router.model.EnabledLogicalElement.EnabledState; import org.opennaas.extensions.router....
Java
utils/rest-client/src/test/java/org/opennaas/client/rest/GRETunnelTest.java
dana-i2cat/opennaas
lgpl-3.0
3,036
94
codeparrot/github-code
4a3e4d0dbe9bcc1a1a3dd671ca4201d2fbb7c1cdaa295acaff3fb5396923db75
///////////////////////////////////////////////////////////////////////////// // Name: wx/spinbutt.h // Purpose: wxSpinButtonBase class // Author: Julian Smart, Vadim Zeitlin // Modified by: // Created: 23.07.99 // Copyright: (c) Julian Smart // Licence: wxWindows licence /////////////...
C
thirdparty/wxWidgets-3.0.0/include/wx/spinbutt.h
dariusliep/LogViewer
lgpl-3.0
4,861
143
codeparrot/github-code
609aa169e12b84e01ca53d9c7afc93a626f68fc30b8ea768553ad5faffa707dc
{extends file="layout.tpl"} {block name="init"} {$product_id={product attr="id"}} {$pse_count=1} {$product_virtual={product attr="virtual"}} {$check_availability={config key="check-available-stock" default="1"}} {/block} {* Body Class *} {block name="body-class"}page-product{/block} {* Page Title *} ...
HTML
templates/frontOffice/default/product.html
Yochima/thelia
lgpl-3.0
21,000
413
codeparrot/github-code
6233eba0a37ed058615c8ee5ad46b2d872615ebf5e1979da2359125d22bbdcae
/* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Copyright (c) 2013-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/reference/SingleDomainRMSD.h
PabloPiaggi/plumed2
lgpl-3.0
2,389
52
codeparrot/github-code
dc7afd2cf7694a2622d7c5985cacb3934d6da89483a99901c465cb0d8a4ce415
/*** *mbsupr.c - Convert string upper case (MBCS) * * Copyright (c) 1985-1997, Microsoft Corporation. All rights reserved. * *Purpose: * Convert string upper case (MBCS) * *******************************************************************************/ #ifdef _MBCS #if defined (_WIN32) #incl...
C++
The_Standard_C_Library/MBSUPR.C
hyller/CodeLibrary
unlicense
2,615
104
codeparrot/github-code
765c3d9df4b3fa52475dfd75d7666fbf5bcca1dc0d955869480b1cfdf14d6a18
'use strict'; import EventMap from 'eventmap'; import Log from './log'; var audioTypes = { 'mp3': 'audio/mpeg', 'wav': 'audio/wav', 'ogg': 'audio/ogg' }; var imageTypes = { 'png': 'image/png', 'jpg': 'image/jpg', 'gif': 'image/gif' }; class AssetLoader extends EventMap { constructor(assets) { supe...
JavaScript
src/assetloader.js
maxwerr/gamebox
unlicense
599
37
codeparrot/github-code
6edc790c71583f647a704b88455947f7958a3debbf397ed4b1b958303c1056cb
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/docdb/model/DescribePendingMaintenanceActionsResult.h> #include <aws/core/utils/xml/XmlSerializer.h> #include <aws/core/AmazonWebServiceResult.h> #include <aws/core/utils/StringUtils.h> ...
C++
aws-cpp-sdk-docdb/source/model/DescribePendingMaintenanceActionsResult.cpp
jt70471/aws-sdk-cpp
apache-2.0
2,356
66
codeparrot/github-code
e425eb66864dd2d8941e937c6fc4cec623794b386c6dae17d471c810a8b9fcaa
<!-- Copyright 2019 Google LLC Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software d...
HTML
drive/picker/helloworld.html
googleworkspace/browser-samples
apache-2.0
3,433
106
codeparrot/github-code
888b5ee860784f78c1e12e78e4f82129a203d819030b2dae157f2f8c7d201b41
/** * Copyright 2015 LinkedIn Corp. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Java
wherehows-ingestion/src/test/java/wherehows/ingestion/converters/KafkaLogCompactionConverterTest.java
alyiwang/WhereHows
apache-2.0
2,728
70
codeparrot/github-code
db480fd9988098a3eb5b8a4a1e0cbcbf8faa5ae845a7436d8e220453e4eaead6
/* Copyright (C) 2013 Interactive Brokers LLC. All rights reserved. This code is subject to the terms * and conditions of the IB API Non-Commercial License or the IB API Commercial License, as applicable. */ using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace IBApi { ...
C#
testIBPython/csharpclient/EClientErrors.cs
AvengersPy/MyPairs
apache-2.0
6,911
87
codeparrot/github-code
b8cb4350b6c80bfdd6a5d1ebbe45ed733a50490991fbd823666431282cae3711
/** * 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
camel-core/src/test/java/org/apache/camel/util/DumpModelAsXmlChoiceFilterRouteTest.java
engagepoint/camel
apache-2.0
2,322
61
codeparrot/github-code
6cad0c61c2b532a3f3bcb33339100cbbdcb39d1b32b6c02c179bfe868286e340
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you m...
Java
fineract-provider/src/main/java/org/apache/fineract/template/api/TemplatesApiResource.java
RanjithKumar5550/RanMifos
apache-2.0
9,902
213
codeparrot/github-code
9a196d0312578345d22d37df3777c3089747b0389a402af8291fd8b320e33b9a
/* * 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 * distri...
Java
jsmpp/src/main/java/org/jsmpp/bean/SimpleDataCoding.java
amdtelecom/jsmpp
apache-2.0
3,967
123
codeparrot/github-code
3715df1dd6203ed9b84dff467f619abe3dc20729ae72bae8216558412c6bd9cf
/* File: CASharedLibrary.h Abstract: Part of CoreAudio Utility Classes Version: 1.0.3 Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple Inc. ("Apple") in consideration of your agreement to the following terms, and your use, installation, modification or redistribution of thi...
C
external_libraries/CoreAudioUtilityClasses/CoreAudio/PublicUtility/CASharedLibrary.h
samplecount/methcla
apache-2.0
3,085
65
codeparrot/github-code
1f2247e2c9ed67497f979284a784ae82c0d97cc4c2950c23a8bb167a4631f74d
/* * Copyright 2000-2015 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/usageView/src/com/intellij/usages/impl/rules/NonCodeUsageGroupingRule.java
signed/intellij-community
apache-2.0
4,612
153
codeparrot/github-code
8ba09340d8f537ea3c1ad75d8b22e3eeded230711ba9865b57e231cbf5e39cdb
(function () { function remap(fromValue, fromMin, fromMax, toMin, toMax) { // Compute the range of the data var fromRange = fromMax - fromMin, toRange = toMax - toMin, toValue; // If either range is 0, then the value can only be mapped to 1 value if (fromRange ==...
JavaScript
前端练习/10canvas/文档/KineticJS-master/src/filters/Enhance.js
puyanLiu/LPYFramework
apache-2.0
4,121
116
codeparrot/github-code
2e354ae5ef000f96fbec950e6b599a5df8a0c2e16c2146a921b06fd1a944dcca
/* * Copyright 2010-2016 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 "l...
Java
aws-java-sdk-gamelift/src/main/java/com/amazonaws/services/gamelift/model/transform/CreateAliasResultJsonUnmarshaller.java
flofreud/aws-sdk-java
apache-2.0
2,842
83
codeparrot/github-code
66dfb29934c3749a64c12dd4344076377eaddec4560990e7c964ddf217dd9b35
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- info: The String.prototype.charAt.length property has the attribute DontEnum es5id: 15.5.4.4_A8 description: > Checking if enumerating the String.prototype.charAt.length pro...
JavaScript
3rdParty/V8/V8-5.0.71.39/test/test262/data/test/built-ins/String/prototype/charAt/S15.5.4.4_A8.js
m0ppers/arangodb
apache-2.0
1,510
42
codeparrot/github-code
cf99c24a7c9948ba02ed5a9895f23742bd845699e21dd79ff2f43db32f367533
package imagestreamimport import ( "fmt" "net/http" "time" "github.com/golang/glog" gocontext "golang.org/x/net/context" kapierrors "k8s.io/apimachinery/pkg/api/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/util/diff" utilruntime "k8s.io/ap...
GO
pkg/image/registry/imagestreamimport/rest.go
chlunde/origin
apache-2.0
18,453
527
codeparrot/github-code
467b5f459c172401ea55e8b5869e233c238ea0238213248f8034090da3207137
/** * JBoss, Home of Professional Open Source. * Copyright 2014-2022 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * 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
build-coordinator/src/test/java/org/jboss/pnc/coordinator/test/OutsideGroupDependentConfigsTest.java
project-ncl/pnc
apache-2.0
3,646
101
codeparrot/github-code
2f932cdae6d5c7d5d84480739e55f4a0fab833baadde0932cf35297d62f3046d
# # Copyright 2017 Centreon (http://www.centreon.com/) # # Centreon is a full-fledged industry-strength solution that meets # the needs in IT infrastructure and application monitoring for # service performance. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in com...
Perl
storage/hp/lefthand/snmp/mode/components/device.pm
maksimatveev/centreon-plugins
apache-2.0
6,350
109
codeparrot/github-code
308090daaa993239e4ddf0b5b89361d0da5d0c192904e482a65c34f167d92de2
#!/usr/bin/env bash ## Users, roles, tenants ## adminUser=${1:-neutron} adminRole=admin l3AdminTenant=L3AdminTenant serviceTenant=service # Below user is just for demos so that we don't see all logical instances. regularUser=viewer password=viewer echo -n "Checking if $l3AdminTenant tenant exists ..." tenantId=`open...
Shell
devstack/csr1kv/setup_keystone_for_csr1kv_l3.sh
Gitweijie/first_project
apache-2.0
2,739
71
codeparrot/github-code
9bbb7eeb1f7ed2efb79e3e39807c76a2069d9085147b4c47fc20ccabd12d0bc1
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
Java
presto166/presto-main/src/main/java/com/facebook/presto/operator/OperatorStats.java
marsorp/blog
apache-2.0
15,302
459
codeparrot/github-code
32bf94349c58db65eb405363bb67619153348e981c46c05ee4ecf7009fc52ef0
// See www.openfst.org for extensive documentation on this weighted // finite-state transducer library. // // Class to compute the difference between two FSAs. #ifndef FST_DIFFERENCE_H_ #define FST_DIFFERENCE_H_ #include <memory> #include <fst/cache.h> #include <fst/complement.h> #include <fst/compose.h> namespac...
C
3rdParty/iresearch/external/openfst/fst/difference.h
wiltonlazary/arangodb
apache-2.0
6,964
206
codeparrot/github-code
cc5f83c4e1fd4f7b135587e4fab09817c8a464434907b87cc4ea602b3dbcd2de
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
Java
core/src/test/java/org/elasticsearch/client/AbstractClientHeadersTestCase.java
nezirus/elasticsearch
apache-2.0
9,899
210
codeparrot/github-code
8c178ee1312c7bdf585bf1d663a4b25822b598ee493179c9aa0dca599ca53409
package org.jetbrains.plugins.scala.lang.formatter; import com.intellij.openapi.application.ApplicationManager; import com.intellij.openapi.command.CommandProcessor; import com.intellij.openapi.editor.Document; import com.intellij.openapi.editor.EditorFactory; import com.intellij.openapi.editor.impl.DocumentImpl; impo...
Java
test/org/jetbrains/plugins/scala/lang/formatter/AbstractScalaFormatterTestBase.java
ilinum/intellij-scala
apache-2.0
7,072
205
codeparrot/github-code
541a979a4623649dda91494f772e17ea06d80e85e2b3489b5a406fac7d125e31
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <title>HashGroupify (ARX Developer Documentation)</title> <link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style"> </head> <body> <script t...
HTML
doc/dev/org/deidentifier/arx/framework/check/groupify/HashGroupify.html
TheRealRasu/arx
apache-2.0
28,537
560
codeparrot/github-code
c4ea0add2eb5a05503ff3aa89dc1358a94064ec0c751feaba5987a83637d7dbc
/* * Copyright 2000-2009 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/indexing-impl/src/com/intellij/openapi/module/impl/scopes/LibraryRuntimeClasspathScope.java
liveqmock/platform-tools-idea
apache-2.0
6,421
172
codeparrot/github-code
573d7a2932b193ae26ce1f5575e785fc75d79211b5129232e19bf1ad2537bc29
/** * Copyright (C) 2013-2014 EaseMob Technologies. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * Unles...
Java
src/com/easemob/chatuidemo/widget/photoview/ScrollerProxy.java
cf0566/CarMarket
apache-2.0
3,945
130
codeparrot/github-code
3bf15a223a6275008cfda5f1914b3c15d48476a333b6ce09e9b69abba45260ac
/* * 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
sql/src/main/java/org/apache/druid/sql/calcite/expression/builtin/LikeOperatorConversion.java
implydata/druid
apache-2.0
3,331
99
codeparrot/github-code
f8bff3749f21acf4340b89ff8c24174323dd8b4fa42c488a860d4d8b4bf23420
/* * Copyright (C) 2015 The Guava Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
Java
guava-testlib/src/com/google/common/collect/testing/ConcurrentNavigableMapTestSuiteBuilder.java
DavesMan/guava
apache-2.0
1,706
52
codeparrot/github-code
b68f17d1655d3333d0f5290afb1e49f06c66e2041ec7c2be5ae6cd3dea2e89a3
// Copyright 2012 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/run-pass/issue-2834.rs
j16r/rust
apache-2.0
780
31
codeparrot/github-code
8143817e2db5771a1142bd62ddb4e11fd303f7c9bb266c9bd70a64158bebd9f8
/* * 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 * "Licen...
Java
phoenix-pherf/src/main/java/org/apache/phoenix/pherf/rules/SequentialIntegerDataGenerator.java
ankitsinghal/phoenix
apache-2.0
2,431
65
codeparrot/github-code
5181d8dfb0170c2bbcde46484e5786d7b31e04c5ddead7971b6f844fae1abb30
/* * 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-infinispan/camel-infinispan/src/test/java/org/apache/camel/component/infinispan/remote/InfinispanRemoteConfigurationIT.java
christophd/camel
apache-2.0
4,826
106
codeparrot/github-code
2cd92e74e79a6bdb20e8abf279f9d23e4cc2476847e63effbaaa93dd89b65fcb
/* * 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.runtimefields.query; import org.apache.lucen...
Java
x-pack/plugin/runtime-fields/src/main/java/org/elasticsearch/xpack/runtimefields/query/StringScriptFieldRangeQuery.java
nknize/elasticsearch
apache-2.0
3,629
116
codeparrot/github-code
daf99e5ae494859620151102f41ff52d3fd3064a0e40eecd44af74f7bd73db15
/* * Copyright 2014 Dominick Baier, Brock Allen * * 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#
source/Core/Extensions/IdentityManagerResultExtensions.cs
Ernesto99/IdentityManager
apache-2.0
1,054
36
codeparrot/github-code
e5551e846bcf5784415021918fd3a2c46981db970818d4fb7357316ef01c9021
/* * Copyright © 2013-2018 camunda services GmbH and various authors (info@camunda.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...
Java
distro/wildfly8/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/marker/ProcessApplicationAttachments.java
xasx/camunda-bpm-platform
apache-2.0
5,339
144
codeparrot/github-code
54f29da816e299438066974d51582b45fe3655fa065bc6ad6abf60e53f28f638
/* Copyright 2010, Object Management Group, Inc. * Copyright 2010, PrismTech, Inc. * Copyright 2010, Real-Time Innovations, Inc. * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of...
Java
srcJava/org/omg/dds/type/typeobject/UnionType.java
steveturner/datadistrib4j
apache-2.0
1,765
56
codeparrot/github-code
e905cd2a4eee8843c02a6bd139e85fa1c14e0da262c7656bb618c75c30f84ac2
/* Copyright IBM Corp. All Rights Reserved. SPDX-License-Identifier: Apache-2.0 */ package protoutil import ( "bytes" "crypto/sha256" "encoding/asn1" "math/big" "github.com/golang/protobuf/proto" cb "github.com/hyperledger/fabric-protos-go/common" "github.com/pkg/errors" ) // NewBlock constructs a block wit...
GO
protoutil/blockutils.go
hyperledger/fabric
apache-2.0
6,557
221
codeparrot/github-code
7ecd9a5b8d62a7ee839c02e8c9b75e718673789581b5d5c1cd1c128f4519e5f3
/* * Copyright 2021 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 * * Unless required by applicable law or agreed to in w...
Java
profiler/src/main/java/com/navercorp/pinpoint/profiler/plugin/config/DefaultPluginLoadingConfig.java
emeroad/pinpoint
apache-2.0
2,527
77
codeparrot/github-code
52c5213608bbef4afd28f8454fd2a3a6b2f228d7d2c6e9a268418784c338ced2
/* * 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 ...
C++
enhanced/java/jdktools/modules/jpda/src/main/native/jdwp/common/agent/core/OptionParser.cpp
freeVM/freeVM
apache-2.0
5,843
187
codeparrot/github-code
1d8bd99d071996c1fb17760df8025484da852289a010980a109ce16fe2f66bb9
package org.jaudiotagger.audio.mp4; import org.jaudiotagger.audio.generic.GenericAudioHeader; import org.jaudiotagger.audio.mp4.atom.Mp4EsdsBox; /** * Store some additional attributes not available for all audio types */ public class Mp4AudioHeader extends GenericAudioHeader { /** * The key for the kind fi...
Java
src/java/org/jaudiotagger/audio/mp4/Mp4AudioHeader.java
dubenju/javay
apache-2.0
1,542
76
codeparrot/github-code
639f9f8f8fd793e8e78be894788c39e41560e5d4a2cb3c16f8200977a2c41832
######################################################################## # # Linux on Hyper-V and Azure Test Code, ver. 1.0.0 # Copyright (c) Microsoft 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 Licen...
PowerShell
WS2012R2/lisa/setupscripts/SR-IOV_Ping_DisableVF.ps1
bogdancarpusor/lis-test
apache-2.0
7,327
243
codeparrot/github-code
19e8b07da34bf99a288cf4d9c61c6961ac782d5a250faf94ef8370b0ad6319ce
/** * @license * Copyright 2020 The FOAM Authors. All Rights Reserved. * http://www.apache.org/licenses/LICENSE-2.0 */ foam.CLASS({ package: 'foam.nanos.crunch.lite', name: 'MinMaxCapabilityRefinement', refines: 'foam.nanos.crunch.MinMaxCapability', implements: [ 'foam.nanos.crunch.lite.CapableCompati...
JavaScript
src/foam/nanos/crunch/lite/MinMaxCapabilityRefinement.js
jacksonic/vjlofvhjfgm
apache-2.0
3,413
96
codeparrot/github-code
ff822b0c562e75c7d2efdf24b35c87bc81000787a341ad8ada9d8358494dadda
/* * Copyright 2016 ThoughtWorks, 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 agr...
Java
common/src/com/thoughtworks/go/serverhealth/HealthStateScope.java
VibyJocke/gocd
apache-2.0
9,950
273
codeparrot/github-code
ce0d890b44fa2b34b49f87054677b922a4afe166740d09fe42471e1a83dfab21
/* * Copyright 2019 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
Java
kie-wb-common-stunner/kie-wb-common-stunner-sets/kie-wb-common-stunner-bpmn/kie-wb-common-stunner-bpmn-marshalling/src/test/java/org/kie/workbench/common/stunner/bpmn/client/marshall/converters/customproperties/AssociationListTest.java
porcelli-forks/kie-wb-common
apache-2.0
1,713
51
codeparrot/github-code
4824fee93383b7db3aa8437af9d69b797fd83d856484f9164d14aa10aa106c6f
/* * Copyright 2008-2013 LinkedIn, 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 agre...
Java
src/java/voldemort/cluster/Cluster.java
HB-SI/voldemort
apache-2.0
13,745
393
codeparrot/github-code
9209d014407ad28adc663bd171dfe789ccdfc5dae3684b0a60536b18bfd07023
<?php final class PhabricatorSetupCheckRepositories extends PhabricatorSetupCheck { protected function executeChecks() { $repo_path = PhabricatorEnv::getEnvConfig('repository.default-local-path'); if (!$repo_path) { $summary = pht( "The configuration option '%s' is not set.", 'reposit...
PHP
src/applications/config/check/PhabricatorSetupCheckRepositories.php
WuJiahu/phabricator
apache-2.0
1,597
44
codeparrot/github-code
9c55ac45c6d061ed3b5d152f46edbf714fbbdd4c6d9ab618af4cf55f995013e5
# Copyright 2015 Rackspace US, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wri...
Python
fastfood/book.py
samstav/fastfood
apache-2.0
10,125
274
codeparrot/github-code
cbb394d4d15b6d8d417ae298df17526ef56d9ff4f26b2478582c92f002624d5a
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
Java
server/src/main/java/org/elasticsearch/search/aggregations/bucket/composite/CompositeValuesComparator.java
qwerty4030/elasticsearch
apache-2.0
5,333
145
codeparrot/github-code
1529e8bc406c422fb9d9931ab268d1ea4dab0ddde15fce839f2cb8529f7768ec
class UsersController < ApplicationController include BatchProcessable # special find method before load_resource before_filter :build_user_with_proper_mission, :only => [:new, :create] # authorization via CanCan load_and_authorize_resource def index # sort and eager load @users = @users.by_name ...
Ruby
app/controllers/users_controller.rb
nmckahd/AHDBurundi
apache-2.0
4,362
155
codeparrot/github-code