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
8792b13a2dc681d1f320f4ae31da47606229987c13048ba0137694b14d922939
#!/usr/bin/env python2 # # Copyright (C) 2013-2017(H) # Max Planck Institute for Polymer Research # # This file is part of ESPResSo++. # # ESPResSo++ 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,...
Python
testsuite/pi_water/water.py
niktre/espressopp
gpl-3.0
8,192
212
codeparrot/github-code
cbf62a9cb577d5142aa49b44fa937974f5b3da6f62f07eb5c3a29977e8e0ccf8
/***************************************************************************** * Copyright (c) 2014 Ted John * OpenRCT2, an open source clone of Roller Coaster Tycoon 2. * * This file is part of OpenRCT2. * * OpenRCT2 is free software: you can redistribute it and/or modify * it under the terms of the GNU General...
C
src/scenario.h
xperia64/OpenRCT2
gpl-3.0
10,904
440
codeparrot/github-code
6d214474eb7d3a0a856f09be796605e214d616b848115413491b7c53f0d7b4d1
def test_waveform(**args): import numpy from pycbc.types import TimeSeries flow = args['f_lower'] # Required parameter dt = args['delta_t'] # Required parameter fpeak = args['fpeak'] # A new parameter for my model t = numpy.arange(0, 10, dt) f = t/t.max() * (fpeak - flow) + flow a =...
Python
examples/waveform/add_waveform.py
ligo-cbc/pycbc
gpl-3.0
1,513
48
codeparrot/github-code
018c2db2325a91e103f61084fdbc8640afe024bdc251fc3106cb2e29d3992a4e
package C4::ILSDI::Services; # Copyright 2009 SARL Biblibre # # This file is part of Koha. # # Koha is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any l...
Perl
C4/ILSDI/Services.pm
uniedpa/Koha
gpl-3.0
24,294
785
codeparrot/github-code
e8fa14a4c989decbfd10a05921651028a844baef8284796b9f328d4920ff4d05
#pragma once #include <vector> #include <string> namespace gloop { class FrameBuffer { static std::vector<GLuint> s_bound_fbo; GLuint fbo; unsigned width; unsigned height; std::pair<GLenum, Surface::Ptr> depth; std::pair<GLenum, Surface::Ptr> stencil; std::vector<std::pair<GLen...
C++
external/GLOOP/include/gloop/gl/fbo.hpp
haifeng60902/carve
gpl-3.0
745
31
codeparrot/github-code
2dc811a220d3a9bd64c505e1be8f53b8796350ba58d37bdde3dd7ea4e0853161
Info<< "Reading field p_rgh\n" << endl; volScalarField p_rgh ( IOobject ( "p_rgh", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE ), mesh ); Info<< "Reading field U\n" << endl; volVectorField U ( IOobject ( "U", runTim...
C++
applications/solvers/multiphase/interPhaseChangeFoam/createFields.H
CONSELF/conselfcae-dev
gpl-3.0
1,920
110
codeparrot/github-code
c8302c0d7c106ab57f2698a1c9c5540c78207fde5b570f884fb2427354d7ceb9
//===- llvm/CodeGen/MachineFunction.h ---------------------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
C
3rd/templight/llvm/include/llvm/CodeGen/MachineFunction.h
sabel83/metashell
gpl-3.0
46,312
1,187
codeparrot/github-code
239bef832ca004d4c286d0cfe5e9aeb5b11ea785f1b0a1d037493e3f6ccde856
/******************************************************************************* * Copyright (c) 2008, 2010 Xuggle Inc. All rights reserved. * * This file is part of Xuggle-Xuggler-Main. * * Xuggle-Xuggler-Main is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser Gener...
Java
test/src/com/xuggle/xuggler/UtilsTest.java
luisvt/xuggle-xuggler
gpl-3.0
11,825
393
codeparrot/github-code
3c201eb059cdfdc55c759477ff8db4829fa5d8709f3daf18aa56b90f86527f36
<?php /* Copyright (C) 2005 Rodolphe Quiedeville <rodolphe@quiedeville.org> * Copyright (C) 2005-2008 Laurent Destailleur <eldy@users.sourceforge.net> * Copyright (C) 2005-2009 Regis Houssin <regis.houssin@capnetworks.com> * * This program is free software; you can redistribute it and/or modify * it u...
PHP
htdocs/core/modules/modMailing.class.php
hanaa-abdelgawad/mgc_pos
gpl-3.0
5,189
168
codeparrot/github-code
88034872c9ecb482b3f74b352de8d4edd5d62cd33b0e6d0dcb71b5d5c8084480
/* Copyright (c) 2010, Carl Burch. License information is located in the * com.cburch.logisim.Main source code and at www.cburch.com/logisim/. */ package com.cburch.logisim.std.plexers; import java.awt.Color; import java.awt.Graphics; import com.cburch.logisim.data.Attribute; import com.cburch.logisim.data.Attribut...
Java
src/main/java/com/cburch/logisim/std/plexers/PriorityEncoder.java
aaorellana/Logisim-SeniorProject
gpl-3.0
7,331
187
codeparrot/github-code
83be10dabda1e0cb88e34d76109ac9c2e34bbb45401b84c4897048fdf359a9f0
#pragma once /* This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it...
C
libraries/AP_AHRS/AP_AHRS_Backend.h
diydrones/ardupilot
gpl-3.0
12,735
325
codeparrot/github-code
62bb73bc1df9352e326ca8e7b45053d1f2f08b50e10cabb70647c65c1c2136bb
/*! * Piwik - free/libre analytics platform * * @link http://piwik.org * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later */ /** * Controller to save archiving settings */ (function () { angular.module('piwikApp').controller('ArchivingController', ArchivingController); ArchivingControl...
JavaScript
plugins/CoreAdminHome/angularjs/archiving/archiving.controller.js
mneudert/piwik
gpl-3.0
1,476
45
codeparrot/github-code
ac9388a6bf0e0448fde5e3c3d27d3c5ea96daaf068e7fdc0172d6dfbeaa83b8b
<?php // Version define('VERSION', '1.5.4'); // Configuration require_once('config.php'); // Install if (!defined('DIR_APPLICATION')) { header('Location: install/index.php'); exit; } // Startup require_once(DIR_SYSTEM . 'startup.php'); // Application Classes require_once(DIR_SYSTEM . 'library...
PHP
upload/index.php
mullerivan/weke
gpl-3.0
6,809
236
codeparrot/github-code
78e4eb7906ddf76dc06b89661af3126bc96a6f65fba6c8e8d3bec818133a1853
package org.bukkit.craftbukkit.event; import java.net.InetAddress; import java.util.ArrayList; import java.util.EnumMap; import java.util.HashMap; import java.util.List; import java.util.Map; import com.google.common.base.Function; import com.google.common.base.Functions; import net.minecraft.entity.Entity; import o...
Java
src/main/java/org/bukkit/craftbukkit/event/CraftEventFactory.java
Scrik/Cauldron-1
gpl-3.0
50,559
1,009
codeparrot/github-code
decd15633660f2eb57a598a26839ac496c95e97777f7feac3e4e756457f5e69f
/*global $, document, window, location */ function editCategory() { "use strict"; var id, value; $('.categorycomments').bind('blur', function(event) { event.stopImmediatePropagation(); id = event.target.id; value = $("#" + id).text(); id = id.replace("categorycomment", ""); $.get(loris.B...
JavaScript
modules/document_repository/js/document_repository_helper.js
aces/Loris
gpl-3.0
8,893
348
codeparrot/github-code
8e3e607c26345c9bb637c14c8ca56ce315811ca4472351cea43282b8e848ccb4
/* Complex square root of float value. Copyright (C) 1997-2016 Free Software Foundation, Inc. This file is part of the GNU C Library. Based on an algorithm by Stephen L. Moshier <moshier@world.std.com>. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. The GNU C Library is free software; you can...
C
oss/glibc/glibc-2.24/math/s_csqrtf.c
geminy/aidear
gpl-3.0
4,327
164
codeparrot/github-code
abb2d61a4742ea55a53192ee75deb1fbcfab06ae1057b90ea84b4e36a3ca4182
#region Copyright & License Information /* * Copyright 2007-2019 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, either version 3 of * the Licen...
C#
OpenRA.Mods.Common/UpdateRules/Rules/20171014/RenameBurstDelay.cs
SoScared/OpenRA
gpl-3.0
1,141
38
codeparrot/github-code
6dc656fdea9acd733946750fc3add9939071fdfffecfd5632017ce236c04065d
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /* ---------------------------------------------------------------------------- * Easy!Appointments - Open Source Web Scheduler * * @package EasyAppointments * @author A.Tselegidis <alextselegidis@gmail.com> * @copyright Copyrig...
PHP
src/application/controllers/errors.php
sis-direct/easyappointments
gpl-3.0
1,536
49
codeparrot/github-code
3d7067505abd1ca8c76b5277601c71586836c7b3a2131933ef1ece6de4d093ea
/* * ArcEmu MMORPG Server * Copyright (C) 2008-2012 <http://www.ArcEmu.org/> * * 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, either version 3 of the License, or * any late...
C++
src/arcemu-world/WorldStatesHandler.cpp
sysuzhang/arcemu
agpl-3.0
2,928
89
codeparrot/github-code
e0547f54d477c7d628212a3884744aff54f5e5771772a8d5eb981b7b9ddec0cc
<?php /* * eyeos - The Open Source Cloud's Web Desktop * Version 2.0 * Copyright (C) 2007 - 2010 eyeos Team * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU Affero General Public License version 3 as ...
PHP
eyeos/apps/taskbar/taskbar.php
cloudspaces/eyeos-u1db
agpl-3.0
3,579
104
codeparrot/github-code
743c3325ac3b6d913b6f0c139187357a82029c95820c60efeb1522fc3b729f3b
/**************************************************************** * * * Copyright 2001, 2013 Fidelity Information Services, Inc * * * * This source code contains the intellectual property * * of its copyright holder(s), and is made available * * under a license. If you do not know the terms of * *...
C
sr_port/jnl_send_oper.c
CoherentLogic/fis-gtm-netbsd
agpl-3.0
3,635
109
codeparrot/github-code
df32483162c4b331d395712a5c974e68375937df1c034c5aaa95e152ce02de5d
# -- # Kernel/System/AutoResponse.pm - lib for auto responses # Copyright (C) 2001-2015 OTRS AG, http://otrs.com/ # -- # This software comes with ABSOLUTELY NO WARRANTY. For details, see # the enclosed file COPYING for license information (AGPL). If you # did not receive this file, see http://www.gnu.org/licenses/agpl....
Perl
Kernel/System/AutoResponse.pm
StCyr/otrs
agpl-3.0
13,774
526
codeparrot/github-code
b571597cb9c629bc50563d9f174cf8cf2ea5a8254a1fe34544db3794d3507580
# coding=utf-8 """ Layer that support point clustering =================================== """ from os.path import dirname, join from math import sin, log, pi, atan, exp, floor, sqrt from mapview.view import MapLayer, MapMarker from kivy.lang import Builder from kivy.metrics import dp from kivy.properties import (Obje...
Python
pydelhiconf/libs/garden/garden.mapview/mapview/clustered_marker_layer.py
shivan1b/pydelhi_mobile
agpl-3.0
13,896
442
codeparrot/github-code
7b26c939221d2801bbde35d245beb525567d699617b264dcf421b4a8d806be28
/* lang-de.js German translation for SNAP! written by Jens Mönig Copyright (C) 2012 by Jens Mönig This file is part of Snap!. Snap! 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, either versi...
JavaScript
web/lang-fr.js
clintonblackmore/enchanting2
agpl-3.0
31,011
1,167
codeparrot/github-code
ca311401279c53c3bed1c97de238f78b49aa4ee9856cb46d8290258e7f0259b8
<?php // (c) Copyright 2002-2013 by authors of the Tiki Wiki CMS Groupware Project // // All Rights Reserved. See copyright.txt for details and a complete list of authors. // Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details. // $Id: mod-func-calendar_new.php 47089 2013-08-15 16:45:52Z l...
PHP
modules/mod-func-calendar_new.php
shailendrairis/tikiwiki
lgpl-2.1
6,199
174
codeparrot/github-code
f0febc010b27810cf2308fa4305b4b4be2dd88b064d7292cd1709667e3255f04
/*! * Ext JS Library 4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ /** * @class Ext.ux.desktop.Wallpaper * @extends Ext.Component * <p>This component renders an image that stretches to fill the component.</p> */ Ext.define('Ext.ux.desktop.Wallpaper', { ...
JavaScript
webapp/lazyplanner/ext-4.0.0/examples/desktop/js/Wallpaper.js
bibryam/lazyplanner
lgpl-2.1
1,850
75
codeparrot/github-code
c42a1c353b02aafe5491eb31a5ca3eded098b90f1d76bbad21b5189e40527fc1
// --------------------------------------------------------------------- // // Copyright (C) 2002 - 2015 by the deal.II authors // // This file is part of the deal.II library. // // The deal.II library is free software; you can use it, redistribute // it, and/or modify it under the terms of the GNU Lesser General // Pu...
C
include/deal.II/lac/matrix_lib.h
johntfoster/dealii
lgpl-2.1
18,695
757
codeparrot/github-code
ee888599dd5d5193fad42ce18a1a5f9de271ffb0ab2114f17c8d571d64a318b3
/* Copyright (C) 2011, Michael Pruett. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the fol...
C++
test/AES.cpp
Distrotech/audiofile
lgpl-2.1
3,849
111
codeparrot/github-code
7317b0ed5f5e2d1d49a170399d645ebc592bec39b909adf1c1be1ce88fe829f9
<?php /** * Authentication source for username & hashed password. * * This class is an authentication source which stores all username/hashes in an array, * and authenticates users against this array. * * @author Dyonisius Visser, TERENA. * @package SimpleSAMLphp */ class sspmod_authcrypt_Auth_Source_Hash ext...
PHP
modules/authcrypt/lib/Auth/Source/Hash.php
sitya/simplesamlphp
lgpl-2.1
3,571
104
codeparrot/github-code
8dcf351a2fa9c171505cea6e4abb3c72b71c530f31d4f031f09affe3916a00bf
/***************************************************************************** * * This file is part of Mapnik (c++ mapping toolkit) * * Copyright (C) 2015 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 p...
C++
include/mapnik/memory_datasource.hpp
stefanklug/mapnik
lgpl-2.1
2,190
65
codeparrot/github-code
7a76dcd4ff257fcdc4d2ff77f698f304578b9c6efb8069e7af52c4646bfa559d
/* * Copyright (C) 2013 INRIA. * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @file network_layer/sixlowpan/lowpan.h * @brief 6lowpan header * * @author Steph...
C
sys/net/network_layer/sixlowpan/lowpan.h
AnonMall/RIOT
lgpl-2.1
1,600
60
codeparrot/github-code
5bc744591020169f66ef87b53e3d21cf99ab7bee85207d41fe3e4f6cb6a20c2d
/** * Copyright © 2002 Instituto Superior Técnico * * This file is part of FenixEdu Academic. * * FenixEdu Academic 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...
Java
src/main/java/org/fenixedu/academic/ui/struts/action/teacher/executionCourse/EvaluationMethodDA.java
andre-nunes/fenixedu-academic
lgpl-3.0
6,422
127
codeparrot/github-code
6a45271057099cf25169d21dc13ddcc8afb5f2d067e6d692d728bc392ec9c014
/*************************************************************************\ * Copyright (C) Michael Kerrisk, 2014. * * * * This program is free software. You may use, modify, and redistribute it * * under the term...
C
filesys/t_mount.c
statonb/tlpi
lgpl-3.0
5,747
160
codeparrot/github-code
7d7e539d4b0a982c19629220cfb3cc9700becb18ea38563ce24c5367fa9fa1c2
// Copyright 2017 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
GO
docs/storage/commit_log/simelection/election.go
RJPercival/trillian
apache-2.0
1,583
60
codeparrot/github-code
6ead0f1af4730a88b3489411eaf58284e2d7a878646d0ed5f0f9b1f90bf2beaf
/* * Licensed to Metamarkets Group Inc. (Metamarkets) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Metamarkets licenses this file * to you under the Apache License, Version 2.0 (the * "License"); yo...
Java
indexing-hadoop/src/test/java/io/druid/indexer/UtilsTest.java
erikdubbelboer/druid
apache-2.0
4,298
136
codeparrot/github-code
0767db005c6e244147dbb8aba355ef6ecaf6119bb85ddf2835a95e86ba836782
/* * Copyright 2017 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 ...
Java
profiler/src/main/java/com/navercorp/pinpoint/profiler/monitor/collector/deadlock/UnsupportedDeadlockMetricCollector.java
jiaqifeng/pinpoint
apache-2.0
1,016
37
codeparrot/github-code
f47e1a86e771942ed639b429d01ee34f75bbe3719c33489e00ea066206ed6e0e
/* * 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
exec/java-exec/src/main/java/org/apache/drill/exec/planner/index/rules/DbScanSortRemovalRule.java
arina-ielchiieva/drill
apache-2.0
10,649
239
codeparrot/github-code
81eba53a04ec7c02fad55042aae6d9d7a965a55f4f9a9a66a7b0fd5810c1f20f
__author__ = 'Daan Wierstra and Tom Schaul' from scipy import tanh from neuronlayer import NeuronLayer from module import Module from pybrain.structure.parametercontainer import ParameterContainer from pybrain.tools.functions import sigmoid, sigmoidPrime, tanhPrime class LSTMLayer(NeuronLayer, ParameterContainer): ...
Python
src/pybrain/structure/modules/lstm.py
hassaanm/stock-trading
apache-2.0
5,940
150
codeparrot/github-code
b3be55c6034031b0fe0f9671d532ca582451155aeef6ea117d47ef76d383ff90
/* 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
modules/flowable5-test/src/test/java/org/activiti/examples/bpmn/servicetask/JavaServiceTaskTest.java
dbmalkovsky/flowable-engine
apache-2.0
8,983
204
codeparrot/github-code
5e4404cd55beb626782473bf80376a305854e1116a1284b98e1c7a93d31648d7
/* * 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/main/java/org/elasticsearch/index/termvectors/ShardTermVectorsService.java
jw0201/elastic
apache-2.0
16,556
377
codeparrot/github-code
3dad56079cbc1d46d445213f7d813d9162580c2c60649ce22b39b6fabff3fa3d
// ---------------------------------------------------------------------------------- // // Copyright Microsoft 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.apa...
C#
src/Common/Commands.Common.Authentication.Abstractions/Utilities/FileUtilities.cs
devigned/azure-powershell
apache-2.0
15,163
399
codeparrot/github-code
64ae1efb9e62a8eff88dba5d2690aa1996a4778f68589627e05b950c927e2470
package org.cocos2d.actions.interval; import java.util.ArrayList; import org.cocos2d.nodes.CCAnimation; import org.cocos2d.nodes.CCNode; import org.cocos2d.nodes.CCSprite; import org.cocos2d.nodes.CCSpriteFrame; /** Animates a sprite given the name of an Animation */ public class CCAnimate extends CCIntervalAction {...
Java
cocos2d-android/src/org/cocos2d/actions/interval/CCAnimate.java
owant/cocos2d
apache-2.0
3,925
123
codeparrot/github-code
bf192aff24a9d74b6a20e9fc417a1bde897a546d50ffe4077fe3a9e055cade8f
#include "includes.h" DWORD EventLogAllocateStringA( PCSTR pszString, PSTR * ppszString ) { DWORD dwError = 0; PSTR pszNewString = NULL; DWORD dwLen = 0; if (!pszString || !ppszString) { if (ppszString) { *ppszString = NULL; } return 0; } dwLen = EventLogSt...
C
vmafd/vmevent/common/memory.c
schatt/lightwave
apache-2.0
2,016
123
codeparrot/github-code
60822e1314dadaef3c3722325b0dd022ad8b884cf1a47bf5722c8ea308b66f0a
/*========================================================================= Program: Visualization Toolkit Module: vtkWrapPythonEnum.h Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This software ...
C
lib/vtk/include/Wrapping/Tools/vtkWrapPythonEnum.h
gisfromscratch/datavisualizer
apache-2.0
1,608
46
codeparrot/github-code
493cfadc6348f8bba4109974e9600daeaa35ba1a4f49422b7bf1729415bbe3b2
package container import ( "encoding/base64" "encoding/json" "fmt" "io" "strings" "syscall" "time" "github.com/Sirupsen/logrus" "github.com/docker/docker/api/server/httputils" "github.com/docker/docker/api/types" "github.com/docker/docker/api/types/backend" containertypes "github.com/docker/docker/api/typ...
GO
daemon/cluster/executor/container/adapter.go
stevvooe/docker
apache-2.0
12,411
456
codeparrot/github-code
865db665ddb8d0d5fafdb837eee09423ed834afacedf2a7f9577d5b0cea0362b
package main // Encodes eries Type information type seriesType int const ( routerRequest seriesType = iota routerEvent dynoMem dynoLoad dynoEvents numSeries ) var ( seriesColumns = [][]string{ []string{"time", "status", "service"}, // Router []string{"time", "code"}, // EventsRouter []strin...
GO
points.go
getlantern/lumbermill
apache-2.0
1,185
45
codeparrot/github-code
dc31f9a443e5546119ebb9d348cf5586cbf4befcc221ab6a7e0df08e009b0bda
/* * pthread_setname_np.c * * -------------------------------------------------------------------------- * * Pthreads4w - POSIX Threads for Windows * Copyright 1998 John E. Bossom * Copyright 1999-2018, Pthreads4w contributors * * Homepage: https://sourceforge.net/projects/pthreads4w/ * *...
C
win32/pthread/pthread_setname_np.c
JFLarvoire/the_silver_searcher
apache-2.0
4,784
191
codeparrot/github-code
1f2e2a1c2030db46c300f18e9222d15ea25d07c8bc9b1c613492ba6b8cd4ef12
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
Java
flink-connectors/flink-connector-elasticsearch-base/src/test/java/org/apache/flink/table/descriptors/ElasticsearchTest.java
rmetzger/flink
apache-2.0
7,082
160
codeparrot/github-code
07cd0f656e4b4bc56665a69fb5ac8c87ff71e9d6252920a11ecf6e127abd8f6f
/* * Copyright (c) WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you 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/licens...
Java
components/identity/org.wso2.carbon.identity.authorization.core/src/main/java/org/wso2/carbon/identity/authorization/core/jdbc/dao/JDBCConstantsDAO.java
rswijesena/carbon-identity
apache-2.0
9,198
197
codeparrot/github-code
9f67b4a4df482fc075fc47ad3d86c4b13fa8aa13632bf4f443040366afa2b27b
/* * 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
core/trino-main/src/main/java/io/trino/sql/gen/JoinFilterFunctionCompiler.java
ebyhr/presto
apache-2.0
14,799
359
codeparrot/github-code
d98653fbe2c38677d7479763b14e88e87ffcbe9932af8e97c3b8bab8c87c79b1
/* * 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-netty/src/main/java/org/apache/camel/component/netty/SharedSingletonObjectPool.java
DariusX/camel
apache-2.0
3,067
98
codeparrot/github-code
eff6a420bea32b823de55665cbb0e70e5946c132416e2d54ad27c373f9ab933d
#include "search/search_quality/assessment_tool/results_view.hpp" #include "search/result.hpp" #include "search/search_quality/assessment_tool/result_view.hpp" #include "base/assert.hpp" #include <QtWidgets/QListWidgetItem> ResultsView::ResultsView(QWidget & parent) : QListWidget(&parent) { setAlternatingRowColors(...
C++
search/search_quality/assessment_tool/results_view.cpp
goblinr/omim
apache-2.0
2,603
104
codeparrot/github-code
0ca3d54017a4cd96de85db0c884e728ee33d36ff2d7c7903f2f47e28a345332d
/* * Copyright 2009 The Apache Software Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
Java
src/main/java/org/mybatis/generator/codegen/mybatis3/xmlmapper/elements/BlobColumnListElementGenerator.java
hahaduo/mybatis-generator-core
apache-2.0
2,106
71
codeparrot/github-code
8781217921890e1a217999c0c098d0b41aa7a43ff196fdfcc175e3b4b9f5582c
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
Java
flink-metrics/flink-metrics-core/src/test/java/org/apache/flink/metrics/MeterViewTest.java
apache/flink
apache-2.0
3,723
108
codeparrot/github-code
dc112cc192361aea5ebf58ef91f584985ec2f28d4fb477928273cb34376231cb
/* * 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...
Scala
kernel/src/main/scala/org/apache/toree/boot/layer/HookInitialization.scala
chipsenkbeil/incubator-toree
apache-2.0
3,203
105
codeparrot/github-code
3398e32717e1d0b01f4cf7b75c3b398bb44173efad1fd59dc176175eb93233ff
/* * Copyright 2010-2015 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" file...
C++
aws-cpp-sdk-rds/source/model/CreateDBInstanceResult.cpp
d9magai/aws-sdk-cpp
apache-2.0
1,757
61
codeparrot/github-code
da2f15e7acddfa21626319e30ce6d16565077103f5aecb51d161c285f85e5584
/** * 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/TestLocalHBaseCluster.java
mahak/hbase
apache-2.0
3,582
101
codeparrot/github-code
fac0a302b5838f379b19b75c8c6e73ebaf05cdf9397f0ce55680ebeae0153676
/* * JBoss, Home of Professional Open Source * Copyright 2013, Red Hat, Inc. and/or its affiliates, and individual * contributors by the @authors tag. See the copyright.txt in the * distribution for a full listing of individual contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * y...
Java
kitchensink-spring/basic/src/main/java/org/jboss/as/quickstarts/kitchensink/spring/basic/controller/MemberRestController.java
rhusar/jboss-as-quickstart
apache-2.0
1,959
50
codeparrot/github-code
f0bc4b1f771b8a35a0c2ef73a403d1ff6cf7864dfa281395811d9bc143d3bef6
"""Copyright 2008 Orbitz WorldWide 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...
Python
webapp/graphite/user_util.py
criteo-forks/graphite-web
apache-2.0
1,975
58
codeparrot/github-code
3718e5439f5c193f9eb296885bf1ff28cbd7ee55a92d3721a44d2d378c2c9287
/* * 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/issues/RetryWhileSimpleExpressionIssueTest.java
DariusX/camel
apache-2.0
2,252
70
codeparrot/github-code
2bd13d156c52151165f54ca191c3b536bdde394bd38c0be0cf5bc85322c1f3ac
/* Copyright 2013 Google Inc Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, sof...
C#
Src/GoogleApis.Auth.DotNet4/OAuth2/ServiceAccountCredential.cs
LPAMNijoel/google-api-dotnet-client
apache-2.0
14,079
308
codeparrot/github-code
28f1e7ad564639a5cc2b5a67bdf124bdbf37ac27375fdb96d5708b34bc134b04
/* * 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
hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/ITestS3AFileOperationCost.java
soumabrata-chakraborty/hadoop
apache-2.0
9,850
276
codeparrot/github-code
74e1dca6c2a77d017d0cb293214594c201a1e71b48af1dd8932bdb0f5789ed72
/* * Copyright (c) 2008-2021, Hazelcast, Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
Java
hazelcast/src/main/java/com/hazelcast/collection/impl/queue/operations/QueueBackupAwareOperation.java
emre-aydin/hazelcast
apache-2.0
1,454
48
codeparrot/github-code
23d35f96866064cde6a7c6cb222b060aa3c40cefe422245d92314c00cc4727d6
/* * 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-lucene/src/test/java/org/apache/jackrabbit/oak/plugins/index/lucene/directory/ActiveDeletedBlobSyncTrackerTest.java
mduerig/jackrabbit-oak
apache-2.0
7,618
155
codeparrot/github-code
1672acf8e619d23ccfd86b639522b946e79e5d3117f1b23c5146a8d9f9a59ebd
package org.ovirt.engine.ui.uicommonweb.models.hosts; import java.util.Arrays; import java.util.List; import java.util.Map; import org.ovirt.engine.core.common.businessentities.network.VdsNetworkInterface; import org.ovirt.engine.ui.uicommonweb.models.EntityModel; import org.ovirt.engine.ui.uicompat.ConstantsManager;...
Java
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/hosts/SetupNetworksEditBondModel.java
walteryang47/ovirt-engine
apache-2.0
1,854
49
codeparrot/github-code
6f441741030beed1145a97531f4ad22942b48f929d23065c9fe482d1594d626c
/* * Copyright 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
Java
closure-compiler/test/com/google/javascript/jscomp/graph/StandardUnionFindTest.java
erichocean/js-symbolic-executor
apache-2.0
7,049
242
codeparrot/github-code
9901c31b6ebeed4ffd66e5979dea5f4ffb0120f35c11a52e9ae87bf5859c916e
/** * 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
hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/TestFsShellCopy.java
JingchengDu/hadoop
apache-2.0
23,495
710
codeparrot/github-code
94b454c22f901b7551bc47d0047eb8cd8ee8352d610eea4f5343ba3d18858422
package alien4cloud.application; import java.util.Date; import java.util.UUID; import javax.annotation.Resource; import org.junit.Assert; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.test.context.ContextConfiguration; import org.springframework.test.context.junit4.SpringJUnit4Cl...
Java
alien4cloud-core/src/test/java/alien4cloud/application/ApplicationVersionServiceTest.java
loicalbertin/alien4cloud
apache-2.0
3,647
74
codeparrot/github-code
4a15e48386821e0208c1a5b26b8e7d14c1897030d877b6a2318e5939ea81b2de
package org.mifos.platform.rest.ui.controller; import java.io.IOException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.springframework.core.Ordered; import org.springframework.web.bind.MissingServletRequestParameterException; import org.springframework.web....
Java
rest/src/main/java/org/mifos/platform/rest/ui/controller/RESTDefaultHandlerExceptionResolver.java
madhav123/gkmaster
apache-2.0
1,921
49
codeparrot/github-code
c3c049c4cc0480113ded91303c931085d3c67df403b2c749b8778669033d2fa8
/* Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may...
Java
sources/org/apache/batik/dom/util/IntTable.java
sflyphotobooks/crp-batik
apache-2.0
7,752
293
codeparrot/github-code
08229d9d9a3c70348549a22103da883735dec8a135d9b6321031849bd72c893c
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
Java
asterixdb/asterix-external-data/src/test/java/org/apache/asterix/external/classad/object/pool/OperationPool.java
ty1er/incubator-asterixdb
apache-2.0
1,312
42
codeparrot/github-code
c8f2009a07de48b8f9704e90b7dd6c7a535b8747af230c68d0952b5f42b96ac1
"""Support for Mailgun.""" import hashlib import hmac import json import logging import voluptuous as vol import homeassistant.helpers.config_validation as cv from homeassistant.const import CONF_API_KEY, CONF_DOMAIN, CONF_WEBHOOK_ID from homeassistant.helpers import config_entry_flow _LOGGER = logging.getLogger(__n...
Python
homeassistant/components/mailgun/__init__.py
MartinHjelmare/home-assistant
apache-2.0
2,900
103
codeparrot/github-code
6bc7bcf75ba8a0237322a60fa8fef52b5ca7a5944c32f94b9b7c574e596c25f2
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
Java
oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/nodetype/TypePredicate.java
mduerig/jackrabbit-oak
apache-2.0
7,436
212
codeparrot/github-code
782a7ae62532f972de31baf81f529700569c54d6119ded49858d67ff61c37dc3
/* * 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
gobblin-data-management/src/main/java/org/apache/gobblin/data/management/version/finder/AbstractHiveDatasetVersionFinder.java
jinhyukchang/gobblin
apache-2.0
4,082
101
codeparrot/github-code
097fc0019b4bf1f90468bd1b0cdb6a19842162fcdd73d81439fb645ce6f51b64
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
Java
flink-runtime/src/test/java/org/apache/flink/runtime/state/SharedStateRegistryTest.java
tzulitai/flink
apache-2.0
4,621
140
codeparrot/github-code
81af171a30145049fa542452a537b1065071bf8759d890d5a6df3943f280e7f2
/* * Copyright 2000-2017 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
Java
java/debugger/impl/src/com/intellij/debugger/ui/overhead/OverheadView.java
jk1/intellij-community
apache-2.0
9,563
273
codeparrot/github-code
881b9fcfe67db4224536837526496e43e4f4b6c59092799874dc1ba395d763ba
package bboss.org.jgroups; import bboss.org.jgroups.conf.ClassConfigurator; import bboss.org.jgroups.protocols.SCOPE; import bboss.org.jgroups.util.UUID; /** * Globals used by JGroups packages. * * @author Bela Ban Mar 29, 2004 * @version $Id: Global.java,v 1.59 2010/05/10 10:35:43 belaban Exp $ */ ...
Java
bboss-rpc/src-jgroups/bboss/org/jgroups/Global.java
WilliamRen/bbossgroups-3.5
apache-2.0
6,116
140
codeparrot/github-code
4a2da69c34b3c70a437186770c8f40df94c450c0806c85e2d9609d74827f7e70
#import "MWMSearchManager.h" #import "MWMSearchTabbedViewProtocol.h" #import "MWMSearchTextField.h" #import "MWMViewController.h" #include "Framework.h" namespace search { class Result; } @protocol MWMSearchTableViewProtocol <MWMSearchTabbedViewProtocol> @property (weak, nonatomic) MWMSearchTextField * searchText...
C
iphone/Maps/Classes/CustomViews/MapViewControls/Search/TableView/MWMSearchTableViewController.h
gardster/omim
apache-2.0
951
35
codeparrot/github-code
d42b92d428954ec80995bde76789ed6ac547e9fc32f7ef37100c4ab9f6347340
/*************************************************************************/ /* */ /* Centre for Speech Technology Research */ /* University of Edinburgh, UK */ /* ...
C++
usr_local/src/speech_tools/ling_class/item_feats.cc
mjansche/tts-tutorial
apache-2.0
5,653
150
codeparrot/github-code
f6a85725defebf60c28501c78326b335050f88d6f516eda7adf352a2658db44e
package com.fincatto.documentofiscal.nfe400.classes; public enum NFFinalidade { NORMAL("1", "Normal"), COMPLEMENTAR("2", "Complementar"), AJUSTE("3", "Ajuste"), DEVOLUCAO_OU_RETORNO("4", "Devolu\u00e7\u00e3o ou retorno"); private final String codigo; private final String descricao; NFFin...
Java
src/main/java/com/fincatto/documentofiscal/nfe400/classes/NFFinalidade.java
fincatto/nfe
apache-2.0
947
39
codeparrot/github-code
b99f7428c29bd8654022a0559371aed806fb09c08a9d185339c9eaab048e03cc
/* * 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
guacamole-common/src/main/java/org/apache/guacamole/websocket/GuacamoleWebSocketTunnelEndpoint.java
mike-jumper/incubator-guacamole-client
apache-2.0
13,358
374
codeparrot/github-code
89d56beade9db01cce5812bf7adcba6088b6b61b46eaea573540b92b52e0cf4e
/* * Copyright 2018 The Netty Project * * The Netty Project licenses this file to you 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 ...
Java
handler/src/main/java/io/netty/handler/ssl/OpenSslTlsv13X509ExtendedTrustManager.java
bryce-anderson/netty
apache-2.0
16,732
499
codeparrot/github-code
9aa5ec592f65351184fa3a2ceaec610583cd5ffd27bfc4f171665bdc69f12d61
/* * Copyright 2012 - 2018 Anton Tananaev (anton@traccar.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 b...
Java
src/main/java/org/traccar/protocol/XexunFrameDecoder.java
tananaev/traccar
apache-2.0
1,800
59
codeparrot/github-code
9c677eb4d952e874638d6cb797f97d1eb63aa77ebe52a8caca0f284333843a3f
/* * Licensed to ElasticSearch and Shay Banon 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...
Java
src/main/java/org/elasticsearch/index/merge/scheduler/ConcurrentMergeSchedulerProvider.java
Kreolwolf1/Elastic
apache-2.0
5,492
132
codeparrot/github-code
57b67ee38b02151afc779f763af558d9d93838b42c39f3be5350ffc58efce602
/* * 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/test/java/org/elasticsearch/search/aggregations/bucket/global/InternalGlobalTests.java
gingerwizard/elasticsearch
apache-2.0
1,776
46
codeparrot/github-code
0f4c8bb88615026e705840ac781b8d0a7a7e9bed3f351c09f221bbd6501e0db1
""" Make sure the frame variable -g, -a, and -l flags work. """ from __future__ import print_function import lldb import lldbsuite.test.lldbutil as lldbutil from lldbsuite.test.lldbtest import * class TestFrameVar(TestBase): mydir = TestBase.compute_mydir(__file__) # If your test case doesn't stress debu...
Python
packages/Python/lldbsuite/test/commands/frame/var/TestFrameVar.py
apple/swift-lldb
apache-2.0
3,699
97
codeparrot/github-code
09b5edf9808b8899a6cf84f9b39c791a975d981f091311a7f4d9d6f5b0707d5b
//===-- main.cpp ------------------------------------------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
C++
packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-synth/main.cpp
apple/swift-lldb
apache-2.0
1,568
86
codeparrot/github-code
85ad8748d3300eddad0a8ee522174f1796e0b9dc8da630e7c00c982b2a348b6f
/* * 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
hyracks/hyracks-dataflow-std/src/main/java/edu/uci/ics/hyracks/dataflow/std/file/FileRemoveOperatorDescriptor.java
lwhay/hyracks
apache-2.0
3,047
82
codeparrot/github-code
3bf219c81c1fe71d8accac1e474eeb516b1ad132b70fdc07c44af09d371bc50a
/* * 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 ...
Scala
core/src/main/scala/org/apache/spark/status/api/v1/ApiRootResource.scala
ron8hu/spark
apache-2.0
6,452
177
codeparrot/github-code
d0d209d0d767c5036f42fe4dcc2be9598a4d55807ac85adeb28f124552d5b502
/* * 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-jetty/src/test/java/org/apache/camel/component/jetty/HttpConverterTest.java
nikhilvibhav/camel
apache-2.0
5,570
133
codeparrot/github-code
b7f1a5f2980aa581c5535801cf9426f66e5a58becb322b8956b53522cf88e8da
/* * Copyright (C) 2016 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
Java
library/core/src/main/java/com/google/android/exoplayer2/text/SimpleSubtitleDecoder.java
MaTriXy/ExoPlayer
apache-2.0
3,100
98
codeparrot/github-code
1a125344004ee1461dd680f319937d3a59bf9578e583098e5a06446ba70e66ee
/** * 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
tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/PackageDataFormatMojo.java
isavin/camel
apache-2.0
25,705
623
codeparrot/github-code
c18a279e0c7728db9632548ced63e2812cc2b1917cf21c6b4e7f272829d09d85
<!doctype html> <html> <title>npm-scripts</title> <meta http-equiv="content-type" value="text/html;utf-8"> <link rel="stylesheet" type="text/css" href="../../static/style.css"> <body> <div id="wrapper"> <h1><a href="../misc/npm-scripts.html">npm-scripts</a></h1> <p>How npm handles the &quot;scripts&quot; f...
HTML
zeppelin-web/node/npm/html/doc/misc/npm-scripts.html
nikste/visualizationDemo
apache-2.0
12,031
258
codeparrot/github-code
433e04a13c93d05a51e5323b327ce88466468531e1207146f1bfd91aa8750f89
/* * Copyright (C) Igor Sysoev * Copyright (C) Nginx, Inc. */ #include <ngx_config.h> #include <ngx_core.h> #include <ngx_event.h> #define DEFAULT_CONNECTIONS 512 extern ngx_module_t ngx_kqueue_module; extern ngx_module_t ngx_eventport_module; extern ngx_module_t ngx_devpoll_module; extern ngx_module_t ngx_e...
C
src/event/ngx_event.c
abhishekmunie/nginx-binary-builder
bsd-2-clause
32,746
1,330
codeparrot/github-code
e5ae026761c9fdb916fd49212c4754a1c99e45cd12f010564987c3bcc2d20bd9
/** * Copyright (c) 2014 Samsung Electronics, Inc., * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, this * li...
Java
project/dexter-core/src/java/com/samsung/sec/dexter/core/defect/Defect.java
Minjung-Baek/Dexter
bsd-2-clause
11,058
361
codeparrot/github-code
4cdaa14085b0f312b2f6ea8d48f6566461ed4b8f6f9cb434a9a0127e60502071
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chromecast/media/cma/pipeline/audio_decoder_software_wrapper.h" #include "base/bind.h" #include "base/logging.h" #include "base/threading/threa...
C++
chromecast/media/cma/pipeline/audio_decoder_software_wrapper.cc
danakj/chromium
bsd-3-clause
4,636
145
codeparrot/github-code
e7cc2b3a85e61f29b96533030dc070ac637f6325fa65d52c0d895a6111c0937a
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_ENGINE_H_ #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_ENGINE_H_ #include <map> #i...
C
chrome/browser/chromeos/input_method/input_method_engine.h
Chilledheart/chromium
bsd-3-clause
5,297
155
codeparrot/github-code
ffe59f9469d48e436ab8a5012920e0e4a749a44ca5168a3aa963645b4380a469
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/app_list/views/speech_view.h" #include "base/strings/utf_string_conversions.h" #include "third_party/skia/include/core/SkPath.h" #include "u...
C++
ui/app_list/views/speech_view.cc
Pluto-tv/chromium-crosswalk
bsd-3-clause
8,380
251
codeparrot/github-code
38bb6abd2c29cfaa627d16dc02c1b18b95201ff31e6f0a02f22a8330d1c86ea9
#include <CGAL/basic.h> #include <CGAL/Fraction_traits.h> #include <CGAL/IO/io.h> #ifdef CGAL_USE_GMP #include <CGAL/Gmpz.h> #include <CGAL/Gmpq.h> int main(){ typedef CGAL::Fraction_traits<CGAL::Gmpq> FT; typedef FT::Numerator_type Numerator_type; typedef FT::Denominator_type Denominator_type; CGAL_s...
C++
graphics/cgal/Algebraic_foundations/examples/Algebraic_foundations/fraction_traits.cpp
hlzz/dotfiles
bsd-3-clause
1,139
34
codeparrot/github-code
726f6cdf43da56ad879b2e9102e6ca25366a4b87da07cb1e6e72e10f0a658252
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "weblayer/browser/browser_process.h" #include "base/memory/ptr_util.h" #include "base/memory/ref_counted.h" #include "base/path_service.h" #incl...
C++
weblayer/browser/browser_process.cc
chromium/chromium
bsd-3-clause
4,608
144
codeparrot/github-code