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
64215057a9ccd4a619e460f36b3ba16fd2ffc2df0a492e5ce10f290b868bdf50
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef BASE_TASK_THREAD_POOL_TASK_SOURCE_SORT_KEY_H_ #define BASE_TASK_THREAD_POOL_TASK_SOURCE_SORT_KEY_H_ #include "base/base_export.h" #include "base/...
C
chromium/base/task/thread_pool/task_source_sort_key.h
ric2b/Vivaldi-browser
bsd-3-clause
1,964
60
codeparrot/github-code
9196f2b8ae2987f05f4ff7a9566a8c3e370151a2f31501d1385baa2bac4e1486
import React, {Component, PropTypes} from 'react' import style from './style.js' import ErrorStackParser from 'error-stack-parser' import assign from 'object-assign' import {isFilenameAbsolute, makeUrl, makeLinkText} from './lib' export default class RedBox extends Component { static propTypes = { error: PropTyp...
JavaScript
src/index.js
PixnBits/redbox-react
mit
1,683
55
codeparrot/github-code
4e7d1cd25e9238b91eee02e89ec8654f5ba7df3d7ba911a809a3063a4aecf3f2
describe('ng-table-dynamic', function() { interface IPerson { id?: number; name?: string; age: number; money?: number; } interface IExtendedDynamicTableColDef extends NgTable.Columns.IDynamicTableColDef { field: NgTable.Columns.DynamicTableColField<str...
TypeScript
public/lib/ng-table/test/tableDynamicSpec.ts
ronnyp07/pdv
mit
29,056
699
codeparrot/github-code
262ee438b645c1377927f918c843bcd6faaa59520ec69625e8fa19791fd7841f
/** * Themes: Velonic Admin theme * **/ ! function($) { "use strict"; /** Sidebar Module */ var SideBar = function() { this.$body = $("body"), this.$sideBar = $('aside.left-panel'), this.$navbarToggle = $(".navbar-toggle"), this.$navbarItem = $("aside.left-pane...
JavaScript
web/asst/js/jquery.app.js
proyectobufete/ProyectoBufete
mit
5,422
178
codeparrot/github-code
c0103254db179d6ce3c22b65008cf611ff5117879913e982b8374728820ae878
// Copyright Louis Dionne 2013-2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) #include <boost/hana/assert.hpp> #include <boost/hana/tuple.hpp> #include <string> namespace hana = boost::hana; template <typename ...>...
C++
deps/boost_1_77_0/libs/hana/test/tuple/cnstr.variadic_copy.cpp
davehorton/drachtio-server
mit
3,738
126
codeparrot/github-code
0d9655ac2771abdf487e1755b90ff50ad997ca841d1df6d8471ad23a9325d601
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Test Programmatic Dijit Layout</title> <meta name="viewport" content="width=570"> <style> @import "../../dijit/themes/claro/document.css"; @import "../../dijit/themes/claro/claro.css"; @import "../css/skins/claro.css"; html, body { pad...
HTML
web/js/dojo/dgrid/test/dijit_layout_programmatic.html
algogr/Site
mit
2,969
132
codeparrot/github-code
45d64e8d1d0a2d559e38810e4175743f86ceb39db784614a15933d17621ba983
# The MIT License # # Copyright (c) 2008 William T. Katz # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to # deal in the Software without restriction, including without limitation # the rights to use, copy, modify,...
Python
stashboard/handlers/api.py
unixboy/stashboard
mit
20,209
655
codeparrot/github-code
ae386f85b4f5fc5aed33b0c7393cd0718e7c3d6328ce8b5c9c788a0d27f752c8
/********************************************************************** Audacity: A Digital Audio Editor DeviceManager.h Created by Michael Chinen (mchinen) on 2/12/11 Audacity(R) is copyright (c) 1999-2011 Audacity Team. License: GPL v2. See License.txt. *************************************************...
C
src/DeviceManager.h
AndrewSmart/audacity
gpl-2.0
2,327
92
codeparrot/github-code
7d975865100a4c39e3a376d4446072144154b857d0ee78be070c99a96c7dfeab
/* * Marvell MV88W8618 / Freecom MusicPal emulation. * * Copyright (c) 2008 Jan Kiszka * * This code is licensed under the GNU GPL v2. * * Contributions after 2012-01-13 are licensed under the terms of the * GNU GPL, version 2 or (at your option) any later version. */ #include "hw/sysbus.h" #include "hw/arm/a...
C
hw/arm/musicpal.c
xsilon/qemu
gpl-2.0
48,330
1,722
codeparrot/github-code
74584748dacebff9c33a1a72cb796670ab0a448636670fb845eed6886ea2431a
/* * [The "BSD license"] * Copyright (c) 2010 Terence Parr * 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 * ...
Java
submodules/externals/antlr3/tool/src/test/java/org/antlr/test/TestRewriteAST.java
helloiloveit/VkxPhoneProject
gpl-2.0
47,005
1,460
codeparrot/github-code
99595acf8703e079c7291dbbf534d1ea6e1c2c3e8852acf20fc4e72fbed5b211
/* ResidualVM - A 3D game interpreter * * ResidualVM is the legal property of its developers, whose names * are too numerous to list here. Please refer to the COPYRIGHT * file distributed with this source distribution. * * This program is free software; you can redistribute it and/or * modify it under the terms ...
C
engines/wintermute/base/gfx/x/meshx.h
vanfanel/scummvm
gpl-2.0
4,053
125
codeparrot/github-code
93d0dec7b8fd35a6c27511a52f728b879ff74f08d83756c3a92e43a8c48a0d5d
/* * Copyright(c) 2012, LG Electronics Inc. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the hope...
C
drivers/video/slimport/slimport7816.c
holyangel/LGG3
gpl-2.0
36,679
1,470
codeparrot/github-code
109a57b2122faa1048abc67373202a07276eb2ee10a802719f0d28acd3560466
/** * Copyright (c) 2015 Red Hat, Inc. * * This software is licensed to you under the GNU General Public License, * version 2 (GPLv2). There is NO WARRANTY for this software, express or * implied, including the implied warranties of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. You should have received a...
Java
java/code/src/com/redhat/rhn/frontend/action/groups/SSMGroupManageAction.java
wraiden/spacewalk
gpl-2.0
3,899
113
codeparrot/github-code
faf251af3235ec9383aa6754ab96c94ab38724a863f328237354cc08656cf7a6
/* * This file is part of the coreboot project. * * Copyright (C) 2014 Rockchip Electronics * * 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; version 2 of the License. * * This program ...
C
payloads/libpayload/drivers/usb/dwc2_rh.c
librecore-org/librecore
gpl-2.0
4,185
185
codeparrot/github-code
95b0c9344d4ca2a0dab86b986b545207ac12b78ceea277f6c8edf3a6c1799dde
/* * Routines for driver control interface * Copyright (c) by Jaroslav Kysela <perex@perex.cz> * * * 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 2 of the License,...
C
sound/core/control.c
civato/P900-Lollipop
gpl-2.0
45,796
1,751
codeparrot/github-code
b14a793ee485fccf36903b3fefe7a609b8c52c5e71d06479f5c934a839786a8e
/* ScriptData SDName: Western_Plaguelands SD%Complete: 90 SDComment: Quest support: 5216,5219,5222,5225,5229,5231,5233,5235. To obtain Vitreous Focuser (could use more spesifics about gossip items) SDCategory: Western Plaguelands EndScriptData */ /* ContentData npcs_dithers_and_arbington npc_myranda_hag npc_the_scourg...
C++
src/scripts/eastern_kingdoms/western_plaguelands/western_plaguelands.cpp
Dahkelor/theorycraft
gpl-2.0
12,721
379
codeparrot/github-code
42f59541b96d5c50f25e5d531019f9cc89ff31491c74640be491190b294d6877
from __future__ import print_function import lammps import ctypes import traceback import numpy as np class LAMMPSFix(object): def __init__(self, ptr, group_name="all"): self.lmp = lammps.lammps(ptr=ptr) self.group_name = group_name class LAMMPSFixMove(LAMMPSFix): def __init__(self, ptr, group...
Python
examples/python/py_nve.py
quang-ha/lammps
gpl-2.0
3,986
119
codeparrot/github-code
38de34ec7745975b701f9dfbaa73c4db89e8e2695cd979574256076213f933d2
/* ScummVM - Graphic Adventure Engine * * ScummVM is the legal property of its developers, whose names * are too numerous to list here. Please refer to the COPYRIGHT * file distributed with this source distribution. * * This program is free software; you can redistribute it and/or * modify it under the terms of ...
C++
engines/bladerunner/script/scene/rc03.cpp
somaen/scummvm
gpl-2.0
16,695
406
codeparrot/github-code
5b3d02c2bb87683b796770c6d30d20fb01738e35338512cfaf7dc511af28c803
<?php /** * BuddyPress Activity Classes * * @package BuddyPress * @subpackage Activity */ // Exit if accessed directly. defined( 'ABSPATH' ) || exit; /** * Database interaction class for the BuddyPress activity component. * * Instance methods are available for creating/editing an activity, * static methods f...
PHP
wp-content/plugins/buddypress/bp-activity/classes/class-bp-activity-activity.php
socialray/surfied-2-0
gpl-2.0
62,171
1,794
codeparrot/github-code
f0b98ff410dee7495b9b59ebd2f6f73a6b47cff85456e3c08084e0afacef4516
/* Copyright © 2014-2015 by The qTox Project This file is part of qTox, a Qt-based graphical interface for Tox. qTox is libre 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 L...
C
src/widget/form/addfriendform.h
dmshynk/qTox
gpl-3.0
1,865
69
codeparrot/github-code
6bd395e010b4a0c997104db2470129faf5a23043cd9c6b4d19aa1464caea8066
/* * jQuery mmenu {ADDON} add-on * mmenu.frebsite.nl * * Copyright (c) Fred Heusschen */ (function( $ ) { var _PLUGIN_ = 'mmenu', _ADDON_ = '{ADDON}'; $[ _PLUGIN_ ].addons[ _ADDON_ ] = { // setup: fired once per menu setup: function() { var that = this, opts = this.opts[ _ADDON_ ], conf...
JavaScript
taxi/jQuery.mmenu-master/src/jquery,mmenu.addon-template.js
474846718/taxi_website
gpl-3.0
1,605
82
codeparrot/github-code
5c048bc772b11f5414ca7fa176c898002b0f99dde0286fa91c3a98de08683750
#!/bin/bash # Try to run a command in an appropriate type of terminal window # depending on whats available # Sigh: theres no common way of handling command line args :-( name="$1" shift echo "RiTW: Starting $name : $*" if [ -z "$SITL_RITW_MINIMIZE" ]; then SITL_RITW_MINIMIZE=1 fi if [ -n "$SITL_RITW_TERMINAL" ]...
Shell
Tools/autotest/run_in_terminal_window.sh
dgrat/ardupilot
gpl-3.0
1,990
56
codeparrot/github-code
beff89b1175104a2c288373299d2f5577a28856df76d0b39535aad955b31f8fb
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" /> <meta name="generator" content="AsciiDoc 8.6.6" /> <title>zmq_msg...
HTML
third-party/zeromq-4.0.5/doc/zmq_msg_init_size.html
PaulosV/ntopng
gpl-3.0
19,345
835
codeparrot/github-code
687a9a500eff8b8561a501121102ee884340611dfe5aa0fe547e3143cdf2a6ad
// Copyright 2010-2014 RethinkDB, all rights reserved. #include "rdb_protocol/protocol.hpp" #include <algorithm> #include <functional> #include "btree/operations.hpp" #include "btree/reql_specific.hpp" #include "concurrency/cross_thread_signal.hpp" #include "concurrency/cross_thread_watchable.hpp" #include "container...
C++
src/rdb_protocol/protocol.cc
yakovenkodenis/rethinkdb
agpl-3.0
48,029
1,256
codeparrot/github-code
2a6b0cb017da33ae528eb3577ffbbd9d81005d82b166f5fb93255f3e5b0d82db
/* * SonarQube, open source software quality management tool. * Copyright (C) 2008-2014 SonarSource * mailto:contact AT sonarsource DOT com * * SonarQube is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Found...
Java
server/sonar-server/src/test/java/org/sonar/server/computation/formula/counter/DoubleVariationValueTest.java
abbeyj/sonarqube
lgpl-3.0
3,045
83
codeparrot/github-code
ce1f187778cb449ce0f9310126067a2edee4fbcf840df89735b7904c8e8cbaa1
/** * 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/domain/phd/thesis/activities/RequestJuryReviews.java
andre-nunes/fenixedu-academic
lgpl-3.0
8,102
182
codeparrot/github-code
98d9b56e66697431b8d4aaf703512dcd615cc62a9c8ac6f0ad7615a0df23943c
/* Copyright 2007 Albert Strasheim <fullung@gmail.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law ...
C++
src/main/MapMessage.cpp
tabish121/pyActiveMQ
apache-2.0
6,225
101
codeparrot/github-code
c97974a00f8ef794afd07f669aff3a747a1073918dc720b30f07970a91671991
/* * 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/vector/src/main/java/org/apache/drill/exec/vector/accessor/writer/SimpleListShim.java
apache/drill
apache-2.0
5,780
213
codeparrot/github-code
c11d878363fba62a902bf6cd6cb9965cd41bb5abef75e6280fa34e12da90d639
/* * Copyright 2012 gitblit.com. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
Java
src/main/java/com/gitblit/wicket/pages/ProjectsPage.java
gitblit/gitblit
apache-2.0
4,357
139
codeparrot/github-code
4e13673d6743d1b43894faa9a54a6d13c96e0aaa0829b4556901aef445e46183
// ---------------------------------------------------------------------------------- // // 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/ResourceManager/Network/Stack/Commands.Network/ApplicationGateway/FrontendPort/AzureApplicationGatewayFrontendPortBase.cs
devigned/azure-powershell
apache-2.0
2,014
52
codeparrot/github-code
469079f9a3369596b119901038e81cb95cb8fac9227d8e6e18ae39a0e278ce4b
/*! ****************************************************************************** * * Pentaho Data Integration * * Copyright (C) 2002-2015 by Pentaho : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version 2.0 (th...
Java
plugins/kettle-xml-plugin/test-src/org/pentaho/di/job/entries/xsdvalidator/JobEntryXSDValidatorTest.java
yshakhau/pentaho-kettle
apache-2.0
1,760
54
codeparrot/github-code
bad535990b57116c1af8184d8170aa5c746cbce33c53e80f63ab4486ddd18231
/* * 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-metastore/src/main/java/org/apache/gobblin/metastore/database/DatabaseJobHistoryStoreV100.java
jinhyukchang/gobblin
apache-2.0
40,040
916
codeparrot/github-code
bd75984b33a826e0b9a97ae0310425e907584919830dbfd87b1e5d35f2c627b6
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright 2012 Isaku Yamahata <yamahata at private email ne jp> # 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 #...
Python
neutron/plugins/ryu/db/api_v2.py
Juniper/neutron
apache-2.0
8,246
216
codeparrot/github-code
33b0a1272ba74df7c98209cf19f774302b948a42b47c383de000285e3162bd42
/* * 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/vcs-api/vcs-api-core/src/com/intellij/openapi/diff/impl/patch/FilePatch.java
goodwinnk/intellij-community
apache-2.0
2,630
97
codeparrot/github-code
b3973867345c1a48619237c11f62b4037dcae2b72f06274045bd187bcd4f0c4f
/* Copyright 2014-2015 QReal Research Group, Dmitry Chernov, Dmitry Mordvinov * * 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 * * Un...
C++
qrgui/mainWindow/scriptAPI/hintReporter.cpp
danilaml/qreal
apache-2.0
1,793
59
codeparrot/github-code
dafe3ec63d69f804336d0bdcaf532b16d5d65c69d8e9b58743c2fee5ef64574d
/* mbed Microcontroller Library ******************************************************************************* * Copyright (c) 2014, STMicroelectronics * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following condition...
C
targets/TARGET_STM/TARGET_STM32F1/serial_device.c
fahhem/mbed-os
apache-2.0
23,079
752
codeparrot/github-code
d22fae51c3c7945546ca835a324e4900da3bdb90ad5844623319dc9f83a07e32
// <copyright file="WebElementProxy.cs" company="WebDriver Committers"> // Copyright 2007-2013 WebDriver committers // Portions copyright 2013 Software Freedom Conservancy // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You ma...
C#
dotnet/src/support/PageObjects/WebElementProxy.cs
jknguyen/josephknguyen-selenium
apache-2.0
9,349
268
codeparrot/github-code
14ebeb05574deef5351b84e9cd33c2662e3ac2fd08aacf4a903fa752ea2eeadd
/* A Bison parser, made by GNU Bison 3.0.4. */ /* Bison interface for Yacc-like parsers in C Copyright (C) 1984, 1989-1990, 2000-2015 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by t...
C++
support/xhpast/parser.yacc.hpp
r4nt/libphutil
apache-2.0
5,213
203
codeparrot/github-code
0710dc44897b8cbef53ab58f76507164078973ee7382515e166d0b94daee2168
/* * Copyright 2000-2010 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/java-impl/src/com/intellij/codeInsight/completion/JavaCompletionSession.java
asedunov/intellij-community
apache-2.0
3,488
107
codeparrot/github-code
3561a824c3b3dd2a2ea52517004ffa55da24656ae485531e6f266576addb5833
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>transformed</title> <link rel="stylesheet" href="../../../../../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.75.2"> <link rel="home" href="../../../../index.html" ti...
HTML
venv/bin/libs/range/doc/html/range/reference/adaptors/reference/transformed.html
NixaSoftware/CVis
apache-2.0
13,256
167
codeparrot/github-code
faf6ee0c16bc8b561a0a26dc9db51ece66eeeea418046887eb2b1695c45b6382
/* * 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
src/main/java/org/elasticsearch/action/indexedscripts/put/TransportPutIndexedScriptAction.java
Flipkart/elasticsearch
apache-2.0
2,605
57
codeparrot/github-code
23eb8766c819adf1939cd51da03594ac9333444dac6580230ae34d6b2634f53b
/* * Copyright 2014 NAVER Corp. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
Java
commons/src/main/java/com/navercorp/pinpoint/common/util/ThreadMXBeanUtils.java
citywander/pinpoint
apache-2.0
4,438
130
codeparrot/github-code
8505ea0bd9a5e90078b4a7e1a060490e2d26a8e78796c7d484e16c0c4f695e3c
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License * 2.0 and the Server Side Public License, v 1; you may not use this file except * in compliance with, at your election, the Elastic License 2.0 or the Server...
Java
modules/transport-netty4/src/test/java/org/elasticsearch/transport/netty4/Netty4UtilsTests.java
ern/elasticsearch
apache-2.0
4,296
88
codeparrot/github-code
b91e2f1ad7190d691e249f1bf7cbda5c7fe7dd26c49f00ae366763eabd0c9db5
package org.springframework.samples.mvc.validation; import java.util.Date; import javax.validation.constraints.Future; import javax.validation.constraints.Max; import javax.validation.constraints.NotNull; import org.springframework.format.annotation.DateTimeFormat; import org.springframework.format.annotation.DateTi...
Java
workspace/fits/spring-mvc-showcase/src/main/java/org/springframework/samples/mvc/validation/JavaBean.java
CChengz/dot.r
apache-2.0
701
40
codeparrot/github-code
e13579eeff6b44a82d76d51b14f91fc5925911451e0f34f03d43782eabebc6f4
/** * Copyright (c) 2016 Intel Corporation  * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * *       http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicabl...
Scala
sparktk-core/src/main/scala/org/apache/spark/mllib/org/trustedanalytics/sparktk/deeptrees/tree/model/Predict.scala
trustedanalytics/spark-tk
apache-2.0
1,423
44
codeparrot/github-code
3ff19203a58893200aee78d44dc3c00dde3134b592a2f7c005557cb72a0270f2
/* * Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org> * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org> * * 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 Foundatio...
C++
Source/core/svg/SVGFEBlendElement.cpp
hgl888/blink-crosswalk-efl
bsd-3-clause
6,412
169
codeparrot/github-code
b5ebc9bc2b41e58d58cde957904f8ed14aa1178d5e851d5816c179e3a46e910a
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/memory/scoped_ptr.h" #include "base/memory/weak_ptr.h" #include "content/browser/gamepad/gamepad_data_fetcher.h" #include "content/brow...
C++
content/browser/gamepad/gamepad_provider_unittest.cc
TeamEOS/external_chromium_org
bsd-3-clause
5,296
163
codeparrot/github-code
a4429b8fe60a3e2bf64a27c65e82b55ac4381f4c47c1dd29b9cd293fa3040fd4
// Copyright 2013 Intel Corporation. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef OZONE_WAYLAND_SHELL_SHELL_SURFACE_H_ #define OZONE_WAYLAND_SHELL_SHELL_SURFACE_H_ #include <wayland-client.h> #include "base/basictypes.h" #include...
C
wayland/shell/shell_surface.h
kleopatra999/ozone-wayland
bsd-3-clause
1,392
50
codeparrot/github-code
e998c8fba3e4e2fcdd34e8477ce93ba1a2ed51f534f3c1d6593582e3b51053ce
// 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 "cc/trees/latency_info_swap_promise_monitor.h" #include <stdint.h> #include "base/threading/platform_thread.h" #include "cc/output/latency_info...
C++
cc/trees/latency_info_swap_promise_monitor.cc
hujiajie/chromium-crosswalk
bsd-3-clause
3,889
106
codeparrot/github-code
7d8f47fd37880715b449723688aaee568785325a46f1c360a05bdca13252278e
s! { pub struct shmid_ds { pub shm_perm: ::ipc_perm, pub shm_segsz: ::size_t, pub shm_amp: *mut ::c_void, pub shm_lkcnt: ::c_ushort, pub shm_lpid: ::pid_t, pub shm_cpid: ::pid_t, pub shm_nattch: ::shmatt_t, pub shm_cnattch: ::c_ulong, pub shm_a...
Rust
third_party/rust/libc/v0_2/crate/src/unix/solarish/illumos.rs
chromium/chromium
bsd-3-clause
1,602
53
codeparrot/github-code
eb3a5d17f28e0b8c9f90b0f0f99b657c3e213eaebf2f696341038693109e5164
// Run only by vendor node. // In an ideal world this would be run in the same process/context of // atom-shell but there are many hurdles atm, see // https://github.com/atom/atom-shell/issues/533 // increase the libuv threadpool size to 1.5x the number of logical CPUs. process.env.UV_THREADPOOL_SIZE = Math.ceil(Math....
JavaScript
index-server.js
tizzybec/mapbox-studio
bsd-3-clause
2,464
86
codeparrot/github-code
440ccc427f68c5b04ed60ca57e450777cd72c26601d32dd6ec52f84c03cca101
/** * * Apache License * Version 2.0, January 2004 * http://www.apache.org/licenses/ * * TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION * * 1. Definitions. * * "License" shall mean the terms and condi...
Java
platforms/android/WeexSDK/src/main/java/com/taobao/weex/utils/WXResourceUtils.java
erguotou520/weex-uikit
mit
27,028
638
codeparrot/github-code
588e63b4d3ee0b11040446e1a045da1bbff5a8b60d4fe650332e007c78337444
<?php $key = "Selection"; $pageTitle = "AngularJS Angular Grid Selection"; $pageDescription = "AngularJS Angular Grid Selection"; $pageKeyboards = "AngularJS Angular Grid Selection"; include '../documentation_header.php'; ?> <div> <h2>Selection</h2> <p> All the currently selected rows are stored on t...
PHP
lib/ag-grid/docs/angular-grid-selection/index.php
pjsvis/TraceGen
mit
4,452
121
codeparrot/github-code
811ac58c86e4b7b214e25ed695410d7e6032227be9b6eb7d41fc52e252ec8afe
/* * Copyright (c) 2007, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
Java
testing/openjdk2/jdk/src/windows/classes/java/net/DualStackPlainDatagramSocketImpl.java
rokn/Count_Words_2015
mit
10,133
292
codeparrot/github-code
3f060c695c41066974c37c47f1914ab37108bc130fa7db2046eebe2ab299e427
// // daemon.cpp // ~~~~~~~~~~ // // Copyright (c) 2003-2014 Christopher M. Kohlhoff (chris at kohlhoff dot com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // #include <boost/asio/io_service.hpp> #include <...
C++
third-party/src/boost_1_56_0/libs/asio/example/cpp03/fork/daemon.cpp
rkq/cxxexp
mit
5,804
190
codeparrot/github-code
b22f27b192b7a5e07d7258af7fecbe35418ac9cc6ad184296bd0afc81af59663
using System; using System.Globalization; using System.Threading.Tasks; using Orleans; using Orleans.Runtime; using Xunit; using Xunit.Abstractions; // ReSharper disable ConvertToLambdaExpression namespace UnitTests { /// <summary> /// Summary description for UnitTest1 /// </summary> public class Asy...
C#
test/TesterInternal/Async_AsyncExecutorWithRetriesTests.cs
ticup/orleans
mit
6,893
178
codeparrot/github-code
9dba21a96dddbf89c97f15a71fb162211fec74f7b7b6f44aa39f0585bfd056cd
// Copyright 2009 the V8 project authors. 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 list of ...
JavaScript
plugins/languageAPI/jsAPI/3rdParty/nodejs/10.1.0/source/deps/v8/tools/codemap.js
MTASZTAKI/ApertusVR
mit
8,722
321
codeparrot/github-code
0d4ed6595fe038c40ea0615c1e060354d8be68772805273ed02da32022824ebb
(function (global, factory) { if (typeof define === "function" && define.amd) { define('element/locale/it', ['module', 'exports'], factory); } else if (typeof exports !== "undefined") { factory(module, exports); } else { var mod = { exports: {} }; factory(mod, mod.exports); global.EL...
JavaScript
ajax/libs/element-ui/2.8.2/locale/it.js
sufuf3/cdnjs
mit
3,306
130
codeparrot/github-code
c2969bccaaf39ec617a055753575fd58659c86cb7a9c1358a95cde505116dd1a
/* Copyright (c) 2011, Code Aurora Forum. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the hope th...
C
drivers/video/msm/mipi_samsung_oled-8930.c
GalaxyTab4/android_kernel_samsung_msm8930-common
gpl-2.0
57,336
2,309
codeparrot/github-code
da166e914c8b7e6e0621031858946e5759686de7886de155193acd13f38c5425
/* * Copyright (c) 1998, 2012, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
Java
src/java.corba/share/classes/com/sun/corba/se/impl/io/ValueHandlerImpl.java
FauxFaux/jdk9-corba
gpl-2.0
35,698
927
codeparrot/github-code
4fa747d871ea9de0efd42f5b9f686de49b4269a77d9ec725a0956c87cd244373
/* * Copyright (C) 2008-2016 TrinityCore <http://www.trinitycore.org/> * Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/> * * 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 ver...
C++
src/server/game/Entities/Object/Updates/UpdateData.cpp
imbavirus/TrinityCore
gpl-2.0
2,108
73
codeparrot/github-code
3fcd70046b95f14301b55729189da85b89b227b86536c6702fe27a5d854160cc
#include <utils/String16.h> #include "AudioMTKStreamManagerBase.h" #include "AudioUtility.h" #include "AudioMTKStreamOut.h" #include "AudioMTKStreamIn.h" #include "AudioMTKStreamInManager.h" #include "AudioCompFltCustParam.h" #define LOG_TAG "AudioMTKStreamManagerBase" #ifndef ANDROID_DEFAULT_CODE #include <cutils/xlo...
C++
mt6732/mediatek/platform/common/hardware/audio/V2/aud_drv/AudioMTKStreamManagerBase.cpp
rimistri/mediatek
gpl-2.0
5,241
227
codeparrot/github-code
e11ce1feb3642b6605ee61cdd6db2d2c118abb56762948ec5e3bafc594cea889
/* Python frame filters Copyright (C) 2013-2014 Free Software Foundation, Inc. This file is part of GDB. 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 Licen...
C
gdb/python/py-framefilter.c
SaberMod/binutils-saber
gpl-2.0
42,825
1,561
codeparrot/github-code
adf9416907221fedcbb3ceda8ed119d1d21a373a5035ce9fc7d4e65cbafd48ab
/* Copyright (c) 2011, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the hope...
C
arch/arm/mach-msm/sdio_tty.c
SlimRoms/kernel_samsung_msm8660
gpl-2.0
22,254
854
codeparrot/github-code
db887f4338c9628dda042f2cdda84e72a64c639d6af58a57ec8fa871f6282a34
<html lang="en"> <head> <title>GMTIME - The GNU Fortran Compiler</title> <meta http-equiv="Content-Type" content="text/html"> <meta name="description" content="The GNU Fortran Compiler"> <meta name="generator" content="makeinfo 4.13"> <link title="Top" rel="start" href="index.html#Top"> <link rel="up" href="Intrinsic-P...
HTML
toolchain/share/doc/gcc-linaro-arm-linux-gnueabihf/html/gfortran/GMTIME.html
vic3t3chn0/Samsung_Wave_Kernel_SD_NAND
gpl-2.0
4,375
98
codeparrot/github-code
bdd5bb3815f8ca7aca626039b537478421effac2d813a82f788fc6e65fb70f44
/* wow64.cc Copyright 2011, 2012 Red Hat, Inc. This file is part of Cygwin. This software is a copyrighted work licensed under the terms of the Cygwin license. Please consult the file "CYGWIN_LICENSE" for details. */ #ifndef __x86_64__ /* WOW64 only plays a role in the 32 bit version. Don't use any of this ...
C++
winsup/cygwin/wow64.cc
hzq1001/or1k-src
gpl-2.0
8,972
218
codeparrot/github-code
6710bc6493655e5bf99fab4baad2f872f15e3a806beed5046d77c36a3164e1d0
/* * CPU-agnostic ARM page table allocator. * * ARMv7 Short-descriptor format, supporting * - Basic memory attributes * - Simplified access permissions (AP[2:1] model) * - Backwards-compatible TEX remap * - Large pages/supersections (if indicated by the caller) * * Not supporting: * - Legacy access permission...
C
linux-4.19/drivers/iommu/io-pgtable-arm-v7s.c
BPI-SINOVOIP/BPI-Mainline-kernel
gpl-2.0
26,025
934
codeparrot/github-code
b5ed257e2df3555bd48bd8bdd94bdcf8a8cd323bd821c17cbcbe83d194386687
/* ScummVM - Graphic Adventure Engine * * ScummVM is the legal property of its developers, whose names * are too numerous to list here. Please refer to the COPYRIGHT * file distributed with this source distribution. * * This program is free software; you can redistribute it and/or * modify it under the terms of ...
C++
engines/fullpipe/interaction.cpp
alexbevi/scummvm
gpl-2.0
14,012
553
codeparrot/github-code
576e03fb8ebb75d01f5b9b4eb33cedf230fe9abaefcbdbe3eed05209ec4d0623
/* * Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/> * Copyright (C) 2006-2009 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/> * * 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 ...
C++
src/server/scripts/EasternKingdoms/wetlands.cpp
Aero100/ReanEmu
gpl-2.0
4,670
176
codeparrot/github-code
ec9b6f4d839e9d269960f83329cb25cf9ccb39339ae20119863cb439c7903adc
<?php /** * Akeeba Engine * The modular PHP5 site backup engine * @copyright Copyright (c)2006-2015 Nicholas K. Dionysopoulos * @license GNU GPL version 3 or, at your option, any later version * @package akeebaengine */ namespace Akeeba\Engine\Driver; // Protection against direct access defined('AKEEBAENGIN...
PHP
www/administrator/components/com_akeeba/engine/Driver/Postgresql.php
SirPiter/folk
gpl-2.0
34,210
1,334
codeparrot/github-code
b593324700f4d14f9ef7263f6f73cf33587918c96d81f39402625239b75bc9eb
/* * Copyright (C) 2011-2014 MediaTek Inc. * * This program 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. * * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRAN...
C
drivers/misc/mediatek/imgsensor/inc/kd_camera_feature_id.h
eagleeyetom/android_kernel_mediatek
gpl-2.0
4,700
146
codeparrot/github-code
cc3c542761b6e9093ebd06fc819ccaa215c5ee305e36fc9a62d3c1b7d4fa0630
/* * Copyright (c) 2007-2012 Niels Provos and Nick Mathewson * * 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 conditi...
C
libevent/test/regress_thread.c
sigecoin/sigecoin
gpl-3.0
14,998
591
codeparrot/github-code
8a82526deada44f8ce90302fbf7f0acf7ce74ad89445c4af8c27d473bb01f7fb
----------------------------------------- -- ID: 5862 -- Item: galkan_sausage_-1 -- Food Effect: 30Min, All Races ----------------------------------------- -- Strength -3 -- Dexterity -3 -- Vitality -3 -- Agility -3 -- Mind -3 -- Intelligence -3 -- Charisma -3 ----------------------------------------- require("scripts...
Lua
scripts/globals/items/galkan_sausage_-1.lua
Scavenge/darkstar
gpl-3.0
1,588
64
codeparrot/github-code
f1d133672399a0d64e069ece114bd9afb91128d7778d526fa59cf94e6ed10d3e
----------------------------------------- -- Spell: Bind ----------------------------------------- require("scripts/globals/status") require("scripts/globals/magic") require("scripts/globals/msg") ----------------------------------------- function onMagicCastingCheck(caster,target,spell) return 0 end function onS...
Lua
scripts/globals/spells/bindga.lua
zynjec/darkstar
gpl-3.0
1,190
44
codeparrot/github-code
24d7ba2ef4910632d7230bc9950ee0377da9f4a21137446271881276a251bcda
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * * This program 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; * * This pro...
C++
tools/ns-allinone-3.14.1/ns-3.14.1/src/uan/model/uan-noise-model-default.cc
JBonsink/GSOC-2013
gpl-3.0
2,504
83
codeparrot/github-code
04d0be0bed047b72ec8b8d74368d447bedb2336b9300541aef499219ff04b909
----------------------------------- -- Area: Bastok_Markets_[S] -- NPC: HomePoint#1 -- @pos -293.048 -10.000 -102.558 87 ----------------------------------- package.loaded["scripts/zones/Bastok_Markets_[S]/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Bastok_Markets_[S]/TextID...
Lua
scripts/zones/Bastok_Markets_[S]/npcs/HomePoint#1.lua
The-HalcyonDays/darkstar
gpl-3.0
1,276
55
codeparrot/github-code
09b46261eedad8e0158d9f7da9fedece9d330a142525f4b8ed5eee4dccb646cf
#!/usr/bin/python # -*- coding: utf-8 -*- # # Copyright (c) 2016 Red Hat, Inc. # # This file is part of Ansible # # Ansible 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 #...
Python
lib/ansible/modules/cloud/ovirt/ovirt_host_pm.py
kaarolch/ansible
gpl-3.0
7,687
237
codeparrot/github-code
70658cb61c95c4919b79ae34e732cf8fb3e71bdebd5b38f415b364350869a44c
(function() { var instance = openerp; openerp.web.search = {}; var QWeb = instance.web.qweb, _t = instance.web._t, _lt = instance.web._lt; _.mixin({ sum: function (obj) { return _.reduce(obj, function (a, b) { return a + b; }, 0); } }); /** @namespace */ var my = instance.web.search = {}; var B = B...
JavaScript
addons/web/static/src/js/search.js
fdvarela/odoo8
agpl-3.0
91,980
2,521
codeparrot/github-code
f48773e37f252357c705aaa86030ea76bac6944a1db09b5339d0c3f9d12d1b25
define([ 'domReady', 'jquery', 'underscore', 'gettext', 'common/js/components/views/feedback_notification', 'common/js/components/views/feedback_prompt', 'js/utils/date_utils', 'js/utils/module', 'js/utils/handle_iframe_binding', 'edx-ui-toolkit/js/dropdown-menu/dropdown-menu-vie...
JavaScript
cms/static/js/base.js
BehavioralInsightsTeam/edx-platform
agpl-3.0
4,363
132
codeparrot/github-code
302c40890b849edc5b93959106ffbfc72b765a1940d546685629105a8af80ada
#ifndef __OpenViBE_AcquisitionServer_CConfigurationEmotivEPOC_H__ #define __OpenViBE_AcquisitionServer_CConfigurationEmotivEPOC_H__ #if defined TARGET_HAS_ThirdPartyEmotivAPI #include "../ovasCConfigurationBuilder.h" #include "../ovasIDriver.h" #include "../ovasCHeader.h" #include <gtk/gtk.h> #include <windows.h> ...
C
openvibe-applications/acquisition-server/trunc/src/emotiv-epoc/ovasCConfigurationEmotivEPOC.h
antoche/openvibe
lgpl-2.1
1,344
46
codeparrot/github-code
59df80056eaf15c0d94e491c9f9fe59e168a7b741a707a47d34507624a6aa916
// @(#)root/mathcore:$Id$ // Authors: W. Brown, M. Fischler, L. Moneta 2005 /********************************************************************** * * * Copyright (c) 2005 , LCG ROOT MathLib Team * * ...
C
math/genvector/inc/Math/Point2Dfwd.h
benni0815/root
lgpl-2.1
1,953
63
codeparrot/github-code
01571c42d39290027cf104fd3dc7531e36c5bc4d0d276d1a476c9d98b3fc015a
/*************************************************************************** * Copyright (c) Jürgen Riegel (juergen.riegel@web.de) 2002 * * * * This file is part of the FreeCAD CAx development system. * * ...
C
src/App/Property.h
cypsun/FreeCAD
lgpl-2.1
5,691
149
codeparrot/github-code
9a844628719ae6ba73d73db07e65d8b7e919541713602408abe04f373ae7f88b
/* GStreamer * * Copyright (C) 2001-2002 Ronald Bultje <rbultje@ronald.bitfreak.net> * 2006 Edgard Lima <edgard.lima@indt.org.br> * * gstv4l2object.h: base class for V4L2 elements * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library Gener...
C
sys/v4l2/gstv4l2object.h
shelsonjava/gst-plugins-good
lgpl-2.1
13,388
324
codeparrot/github-code
42a6714857246b5c87b9720cc275d2e5c1fdb4ecba5c1d4c296eee598ae37b34
/********************************************************************* * * Copyright (C) 2002 Andrew Khan * * 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 th...
Java
src/jxl/format/Pattern.java
miraculix0815/jexcelapi
lgpl-3.0
3,725
134
codeparrot/github-code
f993ab96e5075d45da56ba9c06d8f061a12027eb9f362f07a7f253eb86aed2bd
/* * 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
xml/dom-impl/src/com/intellij/util/xml/stubs/builder/DomStubBuilder.java
Lekanich/intellij-community
apache-2.0
3,675
98
codeparrot/github-code
7d4a138d86ffdc3241609e1dcd8030dbfacb5830af6f927485836b4393ec418d
/* * Copyright 2008, 2009 Google Inc. * Copyright 2006, 2007 Nintendo Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
C++
os/kernel/port/alarm.cpp
LambdaLord/es-operating-system
apache-2.0
7,587
425
codeparrot/github-code
2fb5b2d1fd23832a46d4e10493fdacf51395e452e20d85dd35dba7416f178577
/* * Copyright 2000-2016 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
Java
plugins/InspectionGadgets/InspectionGadgetsAnalysis/src/com/siyeh/ig/junit/MakePublicStaticFix.java
dahlstrom-g/intellij-community
apache-2.0
2,298
71
codeparrot/github-code
928a7190b1bd171bb0b83f80ed06f85bc99003e2f35cd389f31e0875e9c72b86
package org.nutz.lang.util; import java.io.BufferedReader; import java.io.IOException; import java.io.Reader; import java.util.ArrayList; import java.util.Collection; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.Set; import org.nutz.lang.Strings; /** *...
Java
src/org/nutz/lang/util/MultiLineProperties.java
sdgdsffdsfff/nutz
apache-2.0
3,904
151
codeparrot/github-code
aee9cc97fe8232230037297d4da5f354574510fe271f1bff816965a377b90672
// Copyright 2012 Cloudera 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 wr...
C++
be/src/util/table-printer.cc
mapr/impala
apache-2.0
2,843
105
codeparrot/github-code
7c8f614abf5c2e3e88d32508d1f997d936a9c2dec6cdffc44efb5db8e142dd55
/* * Copyright (C) 2011 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-libraries/guava-gwt/src-super/com/google/common/math/super/com/google/common/math/LongMath.java
congdepeng/java-guava-lib-demo
apache-2.0
12,327
318
codeparrot/github-code
3f6af40caa2f0ac4dc518a02e476570be82de6a3dff46c33172e5238e5054f3f
/* * 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
java/compiler/impl/src/com/intellij/packaging/impl/elements/LibraryElementType.java
smmribeiro/intellij-community
apache-2.0
3,193
81
codeparrot/github-code
5dad46a255518ed7566c6035f96546c8727aa2530db2faaee5f842effef3483d
/* * 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
indexing-service/src/main/java/org/apache/druid/indexing/common/actions/SegmentInsertAction.java
nishantmonu51/druid
apache-2.0
2,825
91
codeparrot/github-code
358aba12f16ec6018d83ba8f5125e14eb3c60e098df24e21902271243f152b29
/** * Copyright 2010 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
Java
taokeeper-common/src/main/java/org/I0Itec/zkclient/ContentWatcher.java
DavidBate/taokeeper
apache-2.0
2,789
98
codeparrot/github-code
1584637501a087e5fa45c19e4d6fecde2af5545c3d56f66ba578991c8bf3c35d
package org.rocksdb.util; public class Environment { private static String OS = System.getProperty("os.name").toLowerCase(); private static String ARCH = System.getProperty("os.arch").toLowerCase(); public static boolean isPowerPC() { return ARCH.contains("ppc"); } public static boolean isWindows() { ...
Java
thirdparty/rocksdb/java/src/main/java/org/rocksdb/util/Environment.java
minifirocks/nifi-minifi-cpp
apache-2.0
2,597
91
codeparrot/github-code
a741a38465da594115fb661dc3dd7381d311c0144ebb003b5f5b7ff31b16021f
(function () { var print = (function () { 'use strict'; var global = tinymce.util.Tools.resolve('tinymce.PluginManager'); var register = function (editor) { editor.addCommand('mcePrint', function () { editor.getWin().print(); }); }; var $_brqngvjljjgwecz3 = { register: register }; var regis...
JavaScript
src/main/webapp/mirador-2.6.1/plugins/print/plugin.js
glenrobson/SimpleAnnotationServer
apache-2.0
835
39
codeparrot/github-code
71173821f565f9a2d6b999e428a7a895db32feeee7f43aadc5ac2c70c47405f7
// 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 "components/nacl/broker/nacl_broker_listener.h" #include "base/base_switches.h" #include "base/bind.h" #include "base/command_line.h" #include "...
C++
components/nacl/broker/nacl_broker_listener.cc
Chilledheart/chromium
bsd-3-clause
5,230
138
codeparrot/github-code
e0c97882b216dae59cec1691d69f42077a7fdec588a6f158e49a43b31050f23c
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <set> #include "base/run_loop.h" #include "base/strings/string_number_conversions.h" #include "chrome/browser/extensions/extension_browsertest.h...
C++
chrome/browser/extensions/extension_storage_monitor_browsertest.cc
Chilledheart/chromium
bsd-3-clause
12,659
338
codeparrot/github-code
c141e5b90f42f9cd392ff21ed0cf5f3e73069368e70ced54e2562e413a123d55
//===-- AArch64CleanupLocalDynamicTLSPass.cpp ---------------------*- C++ -*-=// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
C++
riscv/llvm/3.5/llvm-3.5.0.src/lib/Target/AArch64/AArch64CleanupLocalDynamicTLSPass.cpp
tangyibin/goblin-core
bsd-3-clause
5,498
148
codeparrot/github-code
fb48b68628d9c7fd0884f57469b9813d9b74d14aa73751ab82048e6c667a948c
// Filename: dxfFile.h // Created by: drose (04May04) // //////////////////////////////////////////////////////////////////// // // PANDA 3D SOFTWARE // Copyright (c) Carnegie Mellon University. All rights reserved. // // All use of this software is subject to the terms of the revised BSD // license. You should have...
C
pandatool/src/dxf/dxfFile.h
hj3938/panda3d
bsd-3-clause
4,910
175
codeparrot/github-code
5b76134660c5c5c4bed81918e9a1fe9cfb874b757d0da4b1dadef430d30e66be
# Copyright 2014 Google Inc. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
Python
y/google-cloud-sdk/platform/gsutil/third_party/oauth2client/oauth2client/tools.py
ychen820/microblog
bsd-3-clause
8,468
245
codeparrot/github-code