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
6b670d86fe8270a1c471afa4a4f8314094bf24ec0274a5992ebd780c8d2c3bc8
/* * 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
modules/core/src/test/java/org/apache/ignite/internal/processors/service/GridServiceProxyClientReconnectSelfTest.java
tkpanther/ignite
apache-2.0
3,966
125
codeparrot/github-code
b00d71618f5aaa34a268b8b1f47499027194a1d3c9f5b89456123b5574dd14f1
/* * 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/search/suggest/completion/context/GeoQueryContext.java
rhoml/elasticsearch
apache-2.0
6,797
191
codeparrot/github-code
bcaebe3ede63e234a86f44abdec23e70c56fec8233bbcfa02bde2e7ac6538f58
/* * 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
zeppelin-zengine/src/main/java/org/apache/zeppelin/notebook/repo/GitNotebookRepo.java
HeartSaVioR/incubator-zeppelin
apache-2.0
4,168
127
codeparrot/github-code
a82614c4d59620c07ae73865268bd6d67b81c00a107ca1ba71ad43b6d4a971ec
/*=================================================================== BlueBerry Platform Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS...
C
Plugins/org.blueberry.ui.qt/src/internal/berryPresentationFactoryUtil.h
iwegner/MITK
bsd-3-clause
1,297
54
codeparrot/github-code
2db9de87b79e2f05cfe3cbdd117683b1989e670e8fd9624c91e61dbf7df92ee9
// Copyright 2013 The Flutter 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 "handle.h" #include <algorithm> #include "third_party/tonic/dart_binding_macros.h" #include "third_party/tonic/dart_class_library.h" using toni...
C++
shell/platform/fuchsia/dart-pkg/zircon/sdk_ext/handle.cc
rmacnak-google/engine
bsd-3-clause
3,499
139
codeparrot/github-code
3c13c414c2cf8d3986927ed3b8b08a7ce3e0b8abb8dff92961605b4d4b94457e
/** * Copyright (C) 2015 Dato, Inc. * All rights reserved. * * This software may be modified and distributed under the terms * of the BSD license. See the LICENSE file for details. */ #ifndef GRAPHLAB_SFRAME_QUERY_ENGINE_OPERATORS_QUERY_OPERATOR_HPP #define GRAPHLAB_SFRAME_QUERY_ENGINE_OPERATORS_QUERY_OPERATOR_HP...
C++
oss_src/sframe_query_engine/operators/operator.hpp
thirdwing/SFrame
bsd-3-clause
4,666
166
codeparrot/github-code
ed96390598db518cce85ff537137efa45c8c2028e119c1a0f8a1caf00d88820c
""" Contains things to detect changes - either using options passed in on the commandline, or by using autodetection, etc. """ from __future__ import print_function from django.db import models from django.contrib.contenttypes.generic import GenericRelation from django.utils.datastructures import SortedDict from sou...
Python
vendor-local/lib/python/south/creator/changes.py
glogiotatidis/mozillians-new
bsd-3-clause
24,279
507
codeparrot/github-code
3e898c7ce6370edd1f0426435eeb5b88c9f54805c74cb522660a1a50554d2c4c
// 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 "media/filters/audio_video_metadata_extractor.h" #include <memory> #include "base/hash/sha1.h" #include "base/logging.h" #include "build/build_...
C++
third_party/chromium/media/filters/audio_video_metadata_extractor_unittest.cc
youtube/cobalt
bsd-3-clause
11,226
287
codeparrot/github-code
82a8b6e9babe966cc01e08e704e7f00b9234ec8eea35f5baa536f66b81c75094
// 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 "chrome/browser/android/content_view_util.h" #include "base/android/jni_android.h" #include "chrome/browser/browser_process.h" #include "chr...
C++
chrome/browser/android/content_view_util.cc
TeamEOS/external_chromium_org
bsd-3-clause
1,261
35
codeparrot/github-code
f3be6c1b498cfe6b17356488a5fb7ea2f70b0619bf118b6fda2b4bec338c4d11
/* * Copyright (c) 1997 - 2000 Kungliga Tekniska Högskolan * (Royal Institute of Technology, Stockholm, Sweden). * All rights reserved. * * Portions Copyright (c) 2009 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided th...
C
src/C/FreeBSD/FreeBSD-10.0/heimdal/lib/kadm5/ent_setup.c
GaloisInc/hacrypto
bsd-3-clause
6,872
216
codeparrot/github-code
470c5b28c5d9a9986b20311e30191801e042d1efb94c1985f6650ee95de21f67
var rush = rush || {}; rush.Obstacle = (function(){ function Obstacle() { this.initialize(); } var p = Obstacle.prototype = new rush.GameObject(); p.category = 'obstacle'; p.width = 40; p.height = 20; // put registration point to the bottom center. p.regX = p.width/2; p.regY = p.height; p.Ga...
JavaScript
V5886_07_2ndDraft_Code/V5886_07_VID02_2ndDraft_code/rush/js/rush-obstacle.js
makzan/HTML5-Games-Dev-Video-Code-Example
mit
614
30
codeparrot/github-code
053278d0d535afc1644147d984b416d0367e9592c1e7d6e6eea2a2213d522b69
package org.knowm.xchange.bibox.dto.trade; import com.fasterxml.jackson.annotation.JsonCreator; import org.knowm.xchange.dto.Order.OrderType; import org.knowm.xchange.exceptions.ExchangeException; /** @author odrotleff */ public enum BiboxOrderSide { BID(1, OrderType.BID), ASK(2, OrderType.ASK); private int or...
Java
xchange-bibox/src/main/java/org/knowm/xchange/bibox/dto/trade/BiboxOrderSide.java
stachon/XChange
mit
1,169
51
codeparrot/github-code
213c0638e7d6afe3c1ed824a6c329c0d6f48944c8f3f8d2827a48d3244e972e5
/* LodePNG version 20151024 Copyright (c) 2005-2015 Lode Vandevenne This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, incl...
C
src_blending_SIMD_optimized/third-party/lodepng/lodepng.h
stitchit/StitchIt
mit
79,481
1,713
codeparrot/github-code
5beaa97c519e7831e385c9bd059ce5358486d8e8e2a272f358f15a031da2c972
<header class="site-header"> <div class="branding"> {% if site.theme.gravatar %} <a href="{{ site.baseurl }}/"> <img class="avatar" src="https://secure.gravatar.com/avatar/{{ site.theme.gravatar }}?s=100" alt=""/> </a> {% else if site.theme.avatar %} <a href="{{ site.baseurl }}/"> <img class...
HTML
_includes/header.html
anssea/anssea.github.io
mit
869
35
codeparrot/github-code
fcf3819beafc59287c72868942ce850919275c36362d71daf2053424c975fb6a
'use strict'; /** * @ngdoc directive * @name ng.directive:ngController * * @description * The `ngController` directive assigns behavior to a scope. This is a key aspect of how angular * supports the principles behind the Model-View-Controller design pattern. * * MVC components in angular: * * * Model — The M...
JavaScript
src/ng/directive/ngController.js
christianv/angular.js
mit
3,878
104
codeparrot/github-code
bea068a12961ccef22444b4f773d9e5c8d1a4cf19c379335b9e04c3c4fc64845
from info import __doc__ from numpy.version import version as __version__ from type_check import * from index_tricks import * from function_base import * from shape_base import * from stride_tricks import * from twodim_base import * from ufunclike import * import scimath as emath from polynomial import * #import conv...
Python
proj/external/numpy-1.7.0/numpy/lib/__init__.py
lthurlow/Network-Grapher
mit
972
41
codeparrot/github-code
c4c969acb278ead2906f3723b31eec47e6b527bfa41ebb4b4e91dc4040624739
// // traits/prefer_free.hpp // ~~~~~~~~~~~~~~~~~~~~~~ // // Copyright (c) 2003-2020 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) // #ifndef BOOST_ASIO_TRAI...
C++
third_lib/boost/1.75.0/boost/asio/traits/prefer_free.hpp
kumakoko/KumaGL
mit
2,852
111
codeparrot/github-code
12b790d7304c6414ff7c6dcd700a1493f46c7c200356668b3e00dc586bb172f6
<?php /** * This file is part of phpDocumentor. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * * @copyright 2010-2015 Mike van Riel<mike@phpdoc.org> * @license http://www.opensource.org/licenses/mit-license.php MIT * @link ...
PHP
src/phpDocumentor/FilesystemFactory.php
Maxim-Mazurok/phpDocumentor2
mit
1,655
65
codeparrot/github-code
2b62a2a46f76561e667efaf4d6703bd0fdce807d399e29fc67b235c472b41865
// SPDX-License-Identifier: GPL-2.0-or-later /* * Linux NET3: IP/IP protocol decoder modified to support * virtual tunnel interface * * Authors: * Saurabh Mohan (saurabh.mohan@vyatta.com) 05/07/2012 */ /* This version of net/ipv4/ip_vti.c is cloned of net/ipv4/ipip.c For comments look at net/ipv4/ip...
C
net/ipv4/ip_vti.c
chenshuo/linux-study
gpl-2.0
17,459
724
codeparrot/github-code
290dce5a42629b140b7ce82673713553e5fb73b0baca6260385efc9fcb0a9e56
<?php namespace GuzzleHttp\Cookie; use GuzzleHttp\ToArrayInterface; /** * Set-Cookie object */ class SetCookie implements ToArrayInterface { /** @var array */ private static $defaults = array( 'Name' => null, 'Value' => null, 'Domain' => null, 'Path' => '/', ...
PHP
libraries/CBLib/GuzzleHttp/Cookie/SetCookie.php
azharu53/kuwithome
gpl-2.0
9,631
411
codeparrot/github-code
318c857664f753b9f55bc1e6fc5de6eb26bcd40135747aed4d40baa399265e56
/* * Copyright (c) 2018, 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 Softwa...
Java
test/jdk/java/nio/channels/DatagramChannel/ConnectExceptions.java
md-5/jdk10
gpl-2.0
3,156
89
codeparrot/github-code
e99b5f07d2b31572ee8a5c491fafdaa48133296b4f5a4fcbfc95085ee546b549
/***********************************************************************************/ /* File Name: MHL_SiI8334.c */ /* File Description: this file is used to make sii8334 driver to be added in kernel or module. */ /* Copyright (c) 2002-2010, Silicon Image, Inc. All rights reserved. */ /* No part of thi...
C
drivers/video/msm/mhl_sii8334/MHL_SiI8334.c
stedman420/android_kernel_zte_warplte
gpl-2.0
19,638
664
codeparrot/github-code
1d1aa354ce1edf2c25d9dabe482ea916ca924da3790d20256098ac798aeb161c
/* * include/linux/sunrpc/xdr.h * * Copyright (C) 1995-1997 Olaf Kirch <okir@monad.swb.de> */ #ifndef _SUNRPC_XDR_H_ #define _SUNRPC_XDR_H_ #ifdef __KERNEL__ #include <linux/uio.h> #include <asm/byteorder.h> /* * Buffer adjustment */ #define XDR_QUADLEN(l) (((l) + 3) >> 2) /* * Generic opaque `network obje...
C
nsc/linux-2.6/include/linux/sunrpc/xdr.h
binhqnguyen/lena
gpl-2.0
6,232
199
codeparrot/github-code
d6b1ea2ff82d3acb3d77429e5d35bcd70ab00b8c46196eaf60c1ac3e6fc3a5c6
/*************************************************************************** * Copyright (C) 2014 by Marian Cingel * * cingel.marian@gmail.com * * * * This pr...
C
src/rtos/mqx.c
arduino/OpenOCD
gpl-2.0
16,220
562
codeparrot/github-code
f83baa4bccd264b0b8414c2b68f9d0bd4022babf13254481ed06c4062e421d3c
<?php /** * @file * @ingroup SMWDataItems */ /** * This class implements Boolean data items. * * @since 1.6 * * @author Markus Krötzsch * @ingroup SMWDataItems */ class SMWDIBoolean extends SMWDataItem { /** * Internal value. * @var bool */ protected $m_boolean; public function __construct( $boole...
PHP
extensions/semanticmediawiki/includes/dataitems/smw_di_bool.php
guerciobr/wiki
gpl-2.0
1,105
59
codeparrot/github-code
e083b07669787b859333fe9e039b7b7abfd41d0a8d8da2ab95145e1ce793f187
/* * Copyright (C) 2005-2012 Team XBMC * http://www.xbmc.org * * 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, or (at your option) * any later version. * ...
C++
xbmc/utils/Observer.cpp
rellla/xbmca10
gpl-2.0
3,985
156
codeparrot/github-code
b39d0647080d282745505d86c1fdf0bb64610ec7f86cf2db9075ab2d5ce8fc83
<?php /* +--------------------------------------------------------------------+ | CiviCRM version 4.4 | +--------------------------------------------------------------------+ | Copyright CiviCRM LLC (c) 2004-2013 | +---------------------...
PHP
sites/all/modules/civicrm/bin/deprecated/UpdateMembershipReminderDate.php
ChrisChinchilla/greenrenters.org
gpl-2.0
4,232
111
codeparrot/github-code
56751dff7979ae22c9a7941f081f89712bb4a405ff94fdf77ada767d9f62476c
/* * Copyright (C) 2008-2014 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/zone_arathi_highlands.cpp
Lyill/TrinityD
gpl-2.0
5,223
163
codeparrot/github-code
4a5b0773b7ad49d0eaf8dff50fb30b20b32fd69a6ca6d57962d81425bc0be3d0
<?php /* +--------------------------------------------------------------------+ | CiviCRM version 4.4 | +--------------------------------------------------------------------+ | Copyright (C) 2011 Marty Wright | | Licensed to CiviCRM ...
PHP
sites/all/modules/civicrm/CRM/Core/BAO/LabelFormat.php
lizmestres/bf
gpl-2.0
17,405
560
codeparrot/github-code
185d8b94c87a327f4cd15e4b8b75fcb89ea0e9c43499b595744e3ee9f28d453b
/* * (C) Copyright 2012 * Emcraft Systems, <www.emcraft.com> * Alexander Potashev <aspotashev@emcraft.com> * * See file CREDITS for list of people who contributed to this * project. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License a...
C
arch/arm/mach-kinetis/dmac.c
thanhnhiel/linux-emcraft
gpl-2.0
15,132
601
codeparrot/github-code
6cb78eba7fbba7bbc3801d57b221acaa15066f934ceaa3f8b90e792420c19967
<?php /** * @package AkeebaBackup * @copyright Copyright (c)2009-2014 Nicholas K. Dionysopoulos * @license GNU General Public License version 3, or later * @since 3.3.b1 */ // Protect from unauthorized access defined('_JEXEC') or die(); /** * MVC View for Profiles management * */ class AkeebaViewPostsetup ext...
PHP
log/administrator/components/com_akeeba/views/postsetup/view.html.php
apachish/tariin
gpl-2.0
2,692
113
codeparrot/github-code
9427264301c6c5d91518558880c46b82895c89d528049fba3ba904223b5412db
<?php namespace Drupal\colorbox\Form; use Drupal\Core\Form\ConfigFormBase; use Drupal\Core\Form\FormStateInterface; /** * General configuration form for controlling the colorbox behaviour.. */ class ColorboxSettingsForm extends ConfigFormBase { /** * A state that represents the custom settings being enabled....
PHP
modules/contrib/colorbox/src/Form/ColorboxSettingsForm.php
richs5812/vejdrupal
gpl-2.0
18,143
392
codeparrot/github-code
57679d3e0723d90b0956ab844fd92baf245765bdad76baf3cda377a35db79449
/* Copyright (c) 2014, 2016, Oracle and/or its affiliates. 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 as published by the Free Software Foundation; version 2 of the License. This program is distributed in the...
C++
storage/perfschema/table_replication_group_member_stats.cc
ltangvald/mysql
gpl-2.0
10,181
366
codeparrot/github-code
70a81ac703b35454504503e8fdf632231511a53b1b4e2de102a96747d999c515
/* * Copyright (c) 2016 Mark Liversedge (liversedge@gmail.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 version 2 of the License, or (at your option) * any later version. ...
C++
src/R/RSyntax.cpp
amtriathlon/GoldenCheetah
gpl-2.0
5,522
150
codeparrot/github-code
a5682a7d7af3e6fa18e81360ad4e592f8cf3ed43faad136a8717ff064e883bcb
/* * WPA Supplicant - background scan and roaming module: learn * Copyright (c) 2009-2010, Jouni Malinen <j@w1.fi> * * 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. * * Alterna...
C
wpa_supplicant/wpa_supplicant/bgscan_learn.c
robacklin/uclinux-users
gpl-2.0
14,501
611
codeparrot/github-code
332b369c582f4957192882a6c1a373980d41e0ba53d03ed3c06c24e0a12faabc
/* This file is part of Telegram Desktop, the official desktop version of Telegram messaging app, see https://telegram.org Telegram Desktop 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 ...
C
Telegram/SourceFiles/boxes/usernamebox.h
jtsengyc/tdesktop
gpl-3.0
1,555
65
codeparrot/github-code
a67334dbbcfd33bb176f4003e3c1f21f11d428063ee4df35c96e1698886f8a8d
<?php /* * Copyright © 2013-2014 The Hyve B.V. * * This file is part of transmart-data. * * Transmart-data 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 op...
PHP
ddl/postgres/_scripts/classes.php
JanKanis/transmart-data
gpl-3.0
14,586
500
codeparrot/github-code
62e10136c0f73fda248cf491a113266b8f49ffa8209065870f5c04191b1e2ed2
// Inflater.cs // // Copyright (C) 2001 Mike Krueger // Copyright (C) 2004 John Reilly // // This file was translated from java, it was part of the GNU Classpath // Copyright (C) 2001 Free Software Foundation, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of the G...
C#
de4dot.code/SharpZipLib/Zip/Compression/Inflater.cs
OhSoGood/de4dot
gpl-3.0
24,598
895
codeparrot/github-code
4799efd81696e4b4f8de292fb7a01bf97288260de0d4d39395a7e3ca5c51a4ab
#pragma once #include "AP_Logger_Backend.h" class LoggerMessageWriter { public: virtual void reset() = 0; virtual void process() = 0; virtual bool finished() { return _finished; } virtual void set_logger_backend(class AP_Logger_Backend *backend) { _logger_backend = backend; } bool o...
C
libraries/AP_Logger/LoggerMessageWriter.h
meee1/ardupilot
gpl-3.0
3,331
152
codeparrot/github-code
29de075b808543e88669c65d5bf585004abd0ff2db2348b3e4a6ee8a8eb9ae37
/* * 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/main/java/org/sonar/server/issue/notification/ChangesOnMyIssueNotificationDispatcher.java
vamsirajendra/sonarqube
lgpl-3.0
3,547
88
codeparrot/github-code
8d083cbcbac54a21e3f96e2f0c29dd82cb92ff71066506850a74be1032ae2540
/* * 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; you may not use this file except in compliance with the Elastic License * 2.0. */ package org.elasticsearch.xpack.core.transform.transforms; import...
Java
x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/transform/transforms/TransformStateTests.java
robin13/elasticsearch
apache-2.0
3,234
86
codeparrot/github-code
fa36126eaf04c181c6d55668ae4aac2be8ec033a63ddcc606ac6859083a8833c
/* * 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/test/java/org/apache/drill/exec/store/easy/text/compliant/TestTextReader.java
apache/drill
apache-2.0
4,387
127
codeparrot/github-code
d068c952f8eb947e1cda4dba5050c25dc860a31407d48d47d01940e46c2da8f6
/* * 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 n...
Java
connect/api/src/test/java/org/apache/kafka/connect/sink/SinkRecordTest.java
KevinLiLu/kafka
apache-2.0
5,850
128
codeparrot/github-code
0700f249236ad3a0a47afca0c4a7b5a6625bd5c037e277a37fbeee67fbcf598e
/* * 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 ...
JavaScript
template/images/checkoutProcess.js
ORRTIZ/oshop
apache-2.0
25,424
638
codeparrot/github-code
834206001059fd720fc95046f5f6cfa0292549fc8a3893c9d5246ac0f053fb19
package com.pushtorefresh.storio.sample.ui.activity; import android.support.annotation.LayoutRes; import android.support.annotation.Nullable; import android.support.v7.app.ActionBarActivity; import android.support.v7.widget.Toolbar; import android.view.MenuItem; import com.pushtorefresh.storio.sample.R; public abstr...
Java
storio-sample-app/src/main/java/com/pushtorefresh/storio/sample/ui/activity/BaseActivity.java
awesome-niu/storio
apache-2.0
1,146
48
codeparrot/github-code
6b75c1bb9f125670ef3db0609ed566a29eb12d2136a3d688e7b746110336b54b
/* * Copyright 2009, The Android Open Source Project * * 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 conditions and ...
C++
webkit/Source/WebKit/android/jni/GeolocationPermissionsBridge.cpp
mogoweb/webkit_for_android5.1
apache-2.0
4,251
114
codeparrot/github-code
fe923ba148472ab7fe96610b8f25d557bd6ed554be02c4c06fd6be20d688a9a1
/* Copyright 2007-2015 QReal Research Group * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
C++
plugins/robots/common/trikKit/src/blocks/details/drawPixelBlock.cpp
RomanBelkov/qreal
apache-2.0
1,300
42
codeparrot/github-code
3afa18bbbbddf26b0e7231b591cbe871539a15c2d8363e316e53348c45d06566
package com.djs.learn.spring_sample.music; import java.util.List; import org.apache.log4j.Logger; public class OneManBand implements Performer { private final Logger log = Logger.getLogger( OneManBand.class ); private final String name; private String song; private List<Instrument> instruments; public OneMan...
Java
Java_Test/AppSpringSample1/src/main/java/com/djs/learn/spring_sample/music/OneManBand.java
djsilenceboy/LearnTest
apache-2.0
1,645
104
codeparrot/github-code
bf56f2de643084b64cc511f393174594d6ce4952b2199b8f40f237b32bd2b6a0
/* * Copyright 2014-present Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. You may obtain * a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
Java
src/com/facebook/buck/util/ByteBufferReplacer.java
raviagarwal7/buck
apache-2.0
5,493
163
codeparrot/github-code
6fce46c2eec540ea16128c60ca8c5e718dc472fee964472f3592304d60f15bc3
/* * 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/main/java/org/apache/flink/runtime/rest/handler/cluster/ClusterConfigHandler.java
apache/flink
apache-2.0
2,901
69
codeparrot/github-code
fa1306dbdf6a9e30304563c9d510233043e69fe8cf50352d3451e61768ebd52c
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics; using System.Globalization; using System.IO; us...
C#
src/Compilers/Core/Portable/CommandLine/CommonCompiler.cs
VPashkov/roslyn
apache-2.0
38,402
852
codeparrot/github-code
726edf9ae0b66a647e990eed7ea743c0e8ce9f2cff55f57ee60d361181e0aee2
package com.crawljax.browser.matchers; import static org.hamcrest.Matchers.containsString; import static org.hamcrest.core.Is.is; import static org.hamcrest.core.IsEqual.equalTo; import static org.hamcrest.core.IsNot.not; import static org.junit.Assert.assertThat; import static org.mockito.Mockito.mock; import static ...
Java
core/src/test/java/com/crawljax/browser/matchers/StateFlowGraphMatchers.java
fivejjs/crawljax
apache-2.0
2,408
83
codeparrot/github-code
674689dee6045b24b52c3e8b32617e657380ec6b556d654d660916d11f8ad5b2
/* * 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
server/src/main/java/org/elasticsearch/search/fetch/StoredFieldsContext.java
ern/elasticsearch
apache-2.0
6,347
184
codeparrot/github-code
5a6d4b0dd66e3b3c67a50e51873847402d9232a39023732d803f469049354fa0
/* * 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/index/fielddata/RamAccountingTermsEnum.java
arowla/elasticsearch
apache-2.0
3,319
101
codeparrot/github-code
2ce9fe82ecf3f7e528bb46e670602fcae76857a909cb182131e34102fefa04de
/* Print GENERIC declaration (functions, variables, types) trees coming from the C and C++ front-ends as well as macros in Ada syntax. Copyright (C) 2010 Free Software Foundation, Inc. Adapted from tree-pretty-print.c by Arnaud Charlet <charlet@adacore.com> This file is part of GCC. GCC is free software; yo...
C
gccsrc/gcc-4.7.2/gcc/c-family/c-ada-spec.c
the-linix-project/linix-kernel-source
bsd-2-clause
82,428
3,333
codeparrot/github-code
26ee845d3a3cf4f6a3f85b5382ab87bad9b198e5565ea46346f025eb82669961
#ifndef LM_BUILDER_DEBUG_PRINT_H #define LM_BUILDER_DEBUG_PRINT_H #include "lm/builder/payload.hh" #include "lm/common/print.hh" #include "lm/common/ngram_stream.hh" #include "util/file_stream.hh" #include "util/file.hh" #include <boost/lexical_cast.hpp> namespace lm { namespace builder { // Not defined, only specia...
C++
mosesdecoder-master/lm/builder/debug_print.hh
yang1fan2/nematus
bsd-3-clause
2,410
71
codeparrot/github-code
9916b0a7108d6f0c50e62f0b5b8dd1a18acc169f57de01b690828c21435e948a
#ifndef Vca_VcaOIDL_Interface #define Vca_VcaOIDL_Interface /************************ ***** Components ***** ************************/ #include "Vca_VcaOID.h" #include "VkMapOf.h" /************************** ***** Declarations ***** **************************/ #include "Vca_VCallbackTicket.h" /**********...
C
software/src/master/src/kernel/Vca_VcaOIDL.h
VCommitter/vision
bsd-3-clause
5,525
248
codeparrot/github-code
9370b3f1fa5e9504ab5ef8832659332784d49728f7238fc8f1b8ead45bbc8595
// 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 "ui/views/style/mac/dialog_button_border_mac.h" #include "base/macros.h" #include "base/strings/utf_string_conversions.h" #include "third_party/...
C++
ui/views/style/mac/dialog_button_border_mac_unittest.cc
js0701/chromium-crosswalk
bsd-3-clause
6,932
198
codeparrot/github-code
a98d370564d08a93cebc635d862ecdf0f542509668005cabf2fe57cd02d7f1ec
// Copyright (c) 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 NET_TOOLS_TRANSPORT_SECURITY_STATE_GENERATOR_TRANSPORT_SECURITY_STATE_ENTRY_H_ #define NET_TOOLS_TRANSPORT_SECURITY_STATE_GENERATOR_TRANSPORT_...
C
net/tools/transport_security_state_generator/transport_security_state_entry.h
scheib/chromium
bsd-3-clause
2,087
66
codeparrot/github-code
ada2f693b84589a3c0b824de20178ba6fe4491e6da2f0eccf3e3e17a98d79a5f
/* * Copyright (C) 2010 Google 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 list of conditio...
C++
Source/core/timing/PerformanceNavigation.cpp
hgl888/blink-crosswalk-efl
bsd-3-clause
2,865
87
codeparrot/github-code
5a7e26db9a246e84cd5e4f44c4595427aa3d5adf9d1132669877571bbf0c60e1
/* GDB routines for manipulating the minimal symbol tables. Copyright (C) 1992-2015 Free Software Foundation, Inc. Contributed by Cygnus Support, using pieces from other GDB modules. This file is part of GDB. This program is free software; you can redistribute it and/or modify it under the terms of the...
C
measurer/gdb-7.9/gdb/minsyms.c
armoredsoftware/protocol
bsd-3-clause
46,723
1,477
codeparrot/github-code
add51a22209daf938794ef585828049d4574a25a28ede30e2e72a5a164b6585a
/* * NETJet mISDN driver * * Author Karsten Keil <keil@isdn4linux.de> * * Copyright 2009 by Karsten Keil <keil@isdn4linux.de> * * 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 Foun...
C
openplatform/sdk/os/kernel-2.6.32/drivers/isdn/hardware/mISDN/netjet.c
go2ev-devteam/Gplus_2159_0801
gpl-2.0
29,010
1,157
codeparrot/github-code
35f9cf35804c07bb04797f1de349a931228f6e2b3a98184743e048f1d61b04e4
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Diagnostics.Contracts; namespace Microsoft.Research.CodeAnalysis { ...
C#
Microsoft.Research/CodeAnalysis/WeakestPreconditionProver.csToSMT2.cs
ndykman/CodeContracts
mit
16,046
512
codeparrot/github-code
382e6cdc68897077d316747cf99c655304c3d487c153579596ce374df2e95437
// Type definitions for svgo 1.3 // Project: https://github.com/svg/svgo // Definitions by: Bradley Ayers <https://github.com/bradleyayers> // Gilad Gray <https://github.com/giladgray> // Aankhen <https://github.com/Aankhen> // Jan Karres <https://github.com/jankarres> //...
TypeScript
types/svgo/index.d.ts
dsebastien/DefinitelyTyped
mit
9,320
373
codeparrot/github-code
97ae5aac458789f9a68744673acf7974f96c9aadccfba4485bcaa3b383e1946c
<?php namespace Concrete\Core\Editor; use Exception; class PluginManager { /** * The list of available plugins. * * @var \Concrete\Core\Editor\Plugin[] */ protected $plugins = []; /** * The handles of the selected plugins. * * @var string[] */ protected $selec...
PHP
concrete/src/Editor/PluginManager.php
biplobice/concrete5
mit
4,461
167
codeparrot/github-code
7018099eba1396d39abd4fa7566553b1534ce18b4c547a975e2819834ac3ffdd
/* * TI Common Platform Time Sync * * Copyright (C) 2012 Richard Cochran <richardcochran@gmail.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 version 2 of the License, or ...
C
drivers/net/ethernet/ti/cpts.c
pratyushanand/linux
gpl-2.0
14,521
601
codeparrot/github-code
ea85c7974eee417da669cc2839097d3938edb0a73cf2f20178a55cd637bde084
<?php /** * lessphp v0.3.7 * http://leafo.net/lessphp * * LESS css compiler, adapted from http://lesscss.org * * Copyright 2012, Leaf Corcoran <leafot@gmail.com> * Licensed under MIT or GPLv3, see LICENSE */ /** * The less compiler and parser. * * Converting LESS to CSS is a three stage process. The incom...
PHP
wp-content/themes/pagelines/includes/less.plugin.php
c-vergara/fongsp
gpl-2.0
83,713
3,334
codeparrot/github-code
6f4e50909680a86ae83605171f8bb8eaecc2271974502b837e5b6ce82d60ca73
/* * Copyright (C) ST-Ericsson SA 2010 * * ST-Ericsson MCDE DPI display driver * The VUIB500 is an user interface board the can be attached to an HREF. It * supports the DPI pixel interface and converts this to an analog VGA signal, * which can be connected to a monitor using a DSUB connector. The VUIB board * u...
C
drivers/video/mcde/display-vuib500-dpi.c
oschmidt/kernel_I8160P
gpl-2.0
5,717
217
codeparrot/github-code
1533d8f96ca24520639617249221674360fe8195571a2a245bae373460bf25c8
/* * PCIe driver for Renesas R-Car SoCs * Copyright (C) 2014 Renesas Electronics Europe Ltd * * Based on: * arch/sh/drivers/pci/pcie-sh7786.c * arch/sh/drivers/pci/ops-sh7786.c * Copyright (C) 2009 - 2011 Paul Mundt * * This file is licensed under the terms of the GNU General Public * License version 2. ...
C
drivers/pci/host/pcie-rcar.c
Grarak/android_kernel_oneplus_msm8996
gpl-2.0
25,593
1,004
codeparrot/github-code
c336a852c95f525258f21e330dd63d74ec45247202a7a540a1d0ea59367ee6bb
/* * Universal power supply monitor class * * Copyright © 2007 Anton Vorontsov <cbou@mail.ru> * Copyright © 2004 Szabolcs Gyurko * Copyright © 2003 Ian Molton <spyro@f2s.com> * Copyright (C) 2013-2014 Sony Mobile Communications AB. * * Modified: 2004, Oct Szabolcs Gyurko * * You may use this cod...
C
include/linux/power_supply.h
fxTHaxxorX/android_kernel_sony_msm8974
gpl-2.0
10,786
340
codeparrot/github-code
411f5f8fb04de5edc6e4a818d66f80ee2012449e83ab8796a5b3f1f19515715d
/* * Copyright (C) 2008, 2009 Intel Corporation * Authors: Andi Kleen, Fengguang Wu * * This software may be redistributed and/or modified under the terms of * the GNU General Public License ("GPL") version 2 only as published by the * Free Software Foundation. * * High level machine check handler. Handles page...
C
mm/memory-failure.c
zanezam/boeffla-kernel-samsung-n51x0
gpl-2.0
40,553
1,505
codeparrot/github-code
3cd61b7edb35636d7968970cebea4ec2f3063f2658484de76838d1bf97df7e8f
/* * net/sched/em_text.c Textsearch ematch * * 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, or (at your option) any later version. * * Authors: Th...
C
net/sched/em_text.c
gerboland/linux-2.6.15-neuros-eabi
gpl-2.0
3,672
155
codeparrot/github-code
36a4be87d0cb6111ab57419e11ffe942897d6c85844afdb9b2e04bde530ee24e
<?php /** * @package MasterSlider * @author averta [averta.net] * @license LICENSE.txt * @link http://masterslider.com * @copyright Copyright © 2014 averta */ // no direct access allowed if ( ! defined('ABSPATH') ) { die(); } if( ! class_exists( 'MSP_WP_Post' ) ) include_once( 'class-msp-wp-po...
PHP
wp-content/plugins/masterslider/admin/includes/classes/class-msp-post-sliders.php
lydianblues/dmind
gpl-2.0
4,312
137
codeparrot/github-code
6a4d893b140216bb4904d27162275a549ad00264c5af4473d21420e0c740e786
<?php /** * ElggVolatileMetadataCache * In memory cache of known metadata values stored by entity. * * @package Elgg.Core * @subpackage Cache * * @access private */ class ElggVolatileMetadataCache { /** * The cached values (or null for known to be empty). If the portion of the cache * is synchronized, ...
PHP
engine/classes/ElggVolatileMetadataCache.php
djtyree/Fusion-web
gpl-2.0
10,133
356
codeparrot/github-code
da12a469b5dc84259416623d982b9598f14390d6da6ad9549825e2eed0a7f1fa
class CfgVehicles { class ACE_Module; class GVAR(module): ACE_Module { author = ECSTRING(common,ACETeam); category = "ACE_missionModules"; displayName = CSTRING(DisplayName); function = QFUNC(moduleInit); scope = 2; isGlobal = 1; isTriggerActivated = 0; ...
C++
addons/slideshow/CfgVehicles.hpp
SzwedzikPL/ACE3
gpl-2.0
1,957
56
codeparrot/github-code
72f17c062285486c14ac6263cadafa85c7214320e79b86917735f1c7c04e9a7d
/* * Copyright (C) 2005-2013 Team XBMC * http://xbmc.org * * 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, or (at your option) * any later version. * * ...
C++
xbmc/MediaSource.cpp
TRex22/xbmc
gpl-2.0
3,303
125
codeparrot/github-code
e4a0d2981ae75ac2d840b46d0cf44d2be72e657a6ba6af0f7dff23b0a07641e3
/** * GeoDa TM, Copyright (C) 2011-2014 by Luc Anselin - all rights reserved * * This file is part of GeoDa. * * GeoDa 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 Lic...
C++
DialogTools/SaveToTableDlg.cpp
tony601818/geoda
gpl-3.0
12,773
415
codeparrot/github-code
6a48ae38bb2370d3a4afcb2fe6f0819c276b43c55dccbff44049e0c78647b221
package edu.stanford.rsl.conrad.filtering.multiprojection.anisotropic; import ij.IJ; import java.util.Arrays; import edu.stanford.rsl.conrad.cuda.CUDAVolume3D; import edu.stanford.rsl.conrad.utils.CONRAD; import edu.stanford.rsl.conrad.volume3d.FFTVolumeHandle; import edu.stanford.rsl.conrad.volume3d.Volu...
Java
src/edu/stanford/rsl/conrad/filtering/multiprojection/anisotropic/AnisotropicFilterFunction.java
upretiraman/CONRAD
gpl-3.0
18,369
651
codeparrot/github-code
dbdb65ac098a28544d25acf31ed319d312625be04630f3bdfc731a95847d8412
/** * GeoDa TM, Copyright (C) 2011-2014 by Luc Anselin - all rights reserved * * This file is part of GeoDa. * * GeoDa 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, o...
C++
Explore/LisaScatterPlotView.cpp
tony601818/geoda
gpl-3.0
19,038
598
codeparrot/github-code
b6b11fdbefac2779813e536017530ba173ae090a642ea02cc4a10f5af8a1880f
<script type="text/javascript" src="/js/angular/services/form_validation.js"></script> <script type="text/javascript"> angular.module('pencilblueApp', ['validation']) .controller('PencilBlueController', function($scope, $http, $window, $timeout, validationService) { ^angular_objects^ ...
HTML
plugins/tintuc/templates/angular/admin/sites/site_form.html
ngole/nuicam_project
gpl-3.0
8,213
166
codeparrot/github-code
57a0b8f0f61b3c1e0ab264f6adc356264e58212cc561ab534e730ace62716709
package org.numenta.nupic.algorithms; import java.util.Arrays; import gnu.trove.map.TIntObjectMap; import gnu.trove.map.hash.TIntObjectHashMap; /** * Container for the results of a classification computation by the * {@link CLAClassifier} * * @author David Ray * * @param <T> */ public class ClassifierResult<...
Java
src/main/java/org/numenta/nupic/algorithms/ClassifierResult.java
user405/test
agpl-3.0
5,194
197
codeparrot/github-code
34c7bc6802e30768f26006cdf0549db46007c2f7039a0ee5c6af26fcda225c38
"""SCons.Tool.JavaCommon Stuff for processing Java. """ # # Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 The SCons Foundation # # 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 Softw...
Python
scons/scons-local-1.2.0/SCons/Tool/JavaCommon.py
carlos-lopez-garces/mapnik-trunk
lgpl-2.1
12,539
318
codeparrot/github-code
2f54466234ff6d9c547f610d38e905ed966d084b52d99e45b70e60de428731ad
<?php /*************************************************************************************/ /* This file is part of the Thelia package. */ /* */ /* Copyright (c) OpenStudio ...
PHP
local/modules/TheliaSmarty/Template/Plugins/DataAccessFunctions.php
vigourouxjulien/thelia
lgpl-3.0
26,217
787
codeparrot/github-code
4eabb9aecffa1590a18115d2052ef56a7c24ccf0379c73e1fa31287408533a0f
package weibo4j.model; public class Source implements java.io.Serializable{ private static final long serialVersionUID = -8972443458374235866L; private String url; //来源连接 private String relationShip; private String name; //来源文案名称 public Source(String str) { super(); ...
Java
weibo4j/src/main/java/weibo4j/model/Source.java
hhFate/FateCms
apache-2.0
997
55
codeparrot/github-code
3b9d0d572ee5abd62d359f2869ad1084aa91af7cb851b746a48ff79933fdda48
/* * %CopyrightBegin% * * Copyright Ericsson AB 1998-2018. 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 * ...
C
erts/emulator/beam/erl_debug.c
lrascao/otp
apache-2.0
18,241
637
codeparrot/github-code
17feee11c7fa4ff87a04c07e4e7ff34349a880074bdcad8ddc01ecf907df8eb1
/* * 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-table/flink-table-common/src/main/java/org/apache/flink/table/types/inference/strategies/MapTypeStrategy.java
apache/flink
apache-2.0
1,807
48
codeparrot/github-code
ae395cd7e6bc6f49accae1eccf8254b8da65b3e08856e15d88cf3a3855aa75c0
/* * 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-table/flink-table-planner/src/main/java/org/apache/flink/table/planner/operations/RichTableSourceQueryOperation.java
wwjiang007/flink
apache-2.0
2,904
76
codeparrot/github-code
5731804f17e0fd7d02d6ae3376a344930058328dd17fbd005a7a8acc101c331c
/* * Copyright 2015 LG CNS. * * 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 t...
Scala
scouter.server/src/scouter/server/core/Auto5MSampling.scala
jw0201/scouter
apache-2.0
2,645
84
codeparrot/github-code
448ab0b337d765c5d6d594dca37e1085cba983885567397077007e97406930cb
/** * Node Metadata Retrieval Service GET method */ function main() { var json = "{}"; // allow for content to be loaded from id if (args["nodeRef"] != null) { var nodeRef = args["nodeRef"]; node = search.findNode(nodeRef); if (node != null) { // if the node ...
JavaScript
webscripts/org/alfresco/repository/metadata/metadata.get.js
Alfresco/alfresco-ms-office-plugin
apache-2.0
581
32
codeparrot/github-code
0613cb50bbf8b31f7d8637404f18b6264238b9b556a09f33471374b146744fb6
// -*- c++ -*- /*========================================================================= Program: Visualization Toolkit Module: vtkUnstructuredGridVolumeRayCastIterator.h Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyrigh...
C
lib/vtk/include/Rendering/Volume/vtkUnstructuredGridVolumeRayCastIterator.h
gisfromscratch/datavisualizer
apache-2.0
3,493
95
codeparrot/github-code
0ca3891ebde85cf726289092b573bd928c0ece7e0490c7b5d920b041bf9a86fb
package com.alibaba.weex.uitest.TC_AG; import com.alibaba.weex.WXPageActivity; import com.alibaba.weex.util.TestFlow; import java.util.TreeMap; import org.junit.Before; import org.junit.Test; public class AG_Border_Text_Border_Bottom_Right_Radius extends TestFlow { public AG_Border_Text_Border_Bottom_Right_Radius() {...
Java
android/playground/app/src/androidTest/java/com/alibaba/weex/uitest/TC_AG/AG_Border_Text_Border_Bottom_Right_Radius.java
acton393/weex
apache-2.0
1,006
40
codeparrot/github-code
fbc5b4afabb440cb603e5ff1b22b5c3cf7d975cb88668f7cb2e36c77afcf16de
// FIXME keep cluster cache by resolution ? // FIXME distance not respected because of the centroid goog.provide('ol.source.Cluster'); goog.require('goog.array'); goog.require('goog.asserts'); goog.require('goog.events.EventType'); goog.require('goog.object'); goog.require('ol.Feature'); goog.require('ol.coordinate')...
JavaScript
src/ol/source/clustersource.js
hafenr/ol3
bsd-2-clause
4,269
170
codeparrot/github-code
336887bc88bd8cebe43157c989f64716f918dfdfc000e46c248a3f13542f2683
/* * Copyright (C) 2008 Nicolai Haehnle. * * All Rights Reserved. * * 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 u...
C
third_party/mesa/src/src/gallium/drivers/r300/compiler/radeon_program_alu.c
guorendong/iridium-browser-ubuntu
bsd-3-clause
39,667
1,286
codeparrot/github-code
74b8963433a41e77682a40e10a7cfdebc49b8b4a40f469aafc555051c3f27131
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : typeof define === 'function' && define.amd ? define(['exports'], factory) : (global = global || self, factory(global.uz = {})); }(this, (function (exports) { 'use strict'; var fp = typeof window !== ...
JavaScript
webapp/js/locales/bootstrap-flatpickr.uz.js
rzara/lutece-core
bsd-3-clause
1,863
76
codeparrot/github-code
93724d91b998fedbc8a701091b6df89723b231c538d5b3355c141fb6a057101e
using System; using System.Collections.Generic; using System.Linq; using FluentNHibernate.Conventions.Inspections; namespace FluentNHibernate.Conventions { public static class EnumerableExtensionsForConventions { /// <summary> /// Checks whether a collection contains an inspector iden...
C#
src/FluentNHibernate/Conventions/EnumerableExtensionsForConventions.cs
HermanSchoenfeld/fluent-nhibernate
bsd-3-clause
1,637
48
codeparrot/github-code
db6335613f3d704d93bccd5f8f77ffee55277514529c46a42a22ebff134a5a7f
"""Logging for Python YQL.""" import os import logging import logging.handlers LOG_DIRECTORY_DEFAULT = os.path.join(os.path.dirname(__file__), "../logs") LOG_DIRECTORY = os.environ.get("YQL_LOG_DIR", LOG_DIRECTORY_DEFAULT) LOG_LEVELS = {'debug': logging.DEBUG, 'info': logging.INFO, 'warni...
Python
yql/logger.py
project-fondue/python-yql
bsd-3-clause
1,435
45
codeparrot/github-code
b6248775af4e67e26a485bc64730dc47f9c574a473691b1159b11b2c8014f8d2
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (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.mozilla.org/MPL/ * ...
C#
UniversalDetector/Core/LangCyrillicModel.cs
MediaBrowser/UniversalDetector
mit
21,227
346
codeparrot/github-code
8207f69522108190a2aa6bbe2d611788c5c7b7bfda47ac5b1e7dd0e1ec43af05
/** * React Starter Kit (https://www.reactstarterkit.com/) * * Copyright © 2014-2016 Kriasoft, LLC. All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE.txt file in the root directory of this source tree. */ import React from 'react'; import withStyles from 'isomorp...
JavaScript
src/components/Header/Header.js
koistya/react-starter-kit
mit
1,054
36
codeparrot/github-code
ebd75e047821ed991d630635773dded8ffe9ced531f764de5689b7e9e05ea02c
#!/usr/bin/env python #encoding: UTF-8 ''' 网易云音乐 Api ''' import re import json import requests import hashlib # list去重 def uniq(arr): arr2 = list(set(arr)) arr2.sort(key=arr.index) return arr2 default_timeout = 10 class NetEase: def __init__(self): self.header = { 'Accept': '*...
Python
src/api.py
liujianpc/NetEase-MusicBox
mit
9,369
272
codeparrot/github-code
5b97354dbb107a9aa04cfb7d2fdd2609caf50a415bde200983ec5abb7714dd2b
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Blockly Demo: JS Interpreter</title> <script src="acorn_interpreter.js"></script> <script src="../../blockly_compressed.js"></script> <script src="../../blocks_compressed.js"></script> <script src="../../javascript_compressed.js"></script> <scrip...
HTML
src/web/blockly/demos/interpreter/index.html
jeroenpx/scratchity
mit
6,384
201
codeparrot/github-code