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
55a0bae5f953a75616a938e1b903d6ff375a8dfcec5d3afdc2bfa05a9157443a
/* * 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/entrypoint/JobClusterEntrypoint.java
lincoln-lil/flink
apache-2.0
1,563
39
codeparrot/github-code
ec773d7c06ee118d815ba3c0751d61002af2508de3817668005158bb18e49dce
/** * @@@ START COPYRIGHT @@@ Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "Licen...
Java
core/rest/src/main/java/org/trafodion/rest/TrafodionRest.java
apache/incubator-trafodion
apache-2.0
11,067
277
codeparrot/github-code
e5cbdb7037acfb47c1b00ebb210eff310ab1aa26c4818bb68309d4709a0713ec
package org.wildfly.swarm.container.runtime.wildfly; import java.io.Closeable; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.net.URI; import java.net.URISyntaxException; import java.security.CodeSigner; import java.util.Collections; import java.util.HashMap; import java.util....
Java
core/container/src/main/java/org/wildfly/swarm/container/runtime/wildfly/ShrinkWrapFileSystem.java
swarmsandbox/wildfly-swarm
apache-2.0
4,967
188
codeparrot/github-code
c00417fdf14c2bd234b69789a80a9553a3ac04e2a8086ed1b46df60cdf22a786
/** * Copyright 2010 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
Java
src/org/waveprotocol/wave/model/experimental/schema/DocInitializationParser.java
gburd/wave
apache-2.0
5,287
167
codeparrot/github-code
1f1f76fe33cc6b4a10220ff484ec7945de44a72735f6c90050c2f795aa4cc825
{% extends "templates/base.html" %} {% block head %} {{ super() }} <link rel="import" href="/bower_components/paper-icon-button/paper-icon-button.html"> <link rel="import" href="/static/action-bar.html"> {% endblock head %} {% block content %} {% if reports is none %} <div align="center"> <h1> ...
HTML
server/templates/admin.html
adhintz/password-alert
apache-2.0
1,514
51
codeparrot/github-code
91eea3673e78f821de4516938378ac05c72fe634d07ad89484d9f3b632ae360f
/* Definitions of target machine for the GNU compiler collection for Atmel AVR micro controller. Copyright (C) 2012 Free Software Foundation, Inc. Contributed by Georg-Johann Lay (avr@gjlay.de) This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the ...
C
gccsrc/gcc-4.7.2/gcc/config/avr/avrlibc.h
the-linix-project/linix-kernel-source
bsd-2-clause
1,211
32
codeparrot/github-code
2b50441729f39af7519ffe3b85ba1602a2fe8dd7f296fec7ddeb25f656bdefe5
// Copyright (c) 2013, Matt Godbolt // 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 conditions ...
C
third_party/seasocks/src/main/c/seasocks/ResponseBuilder.h
comran/SpartanBalloon2016
bsd-2-clause
2,773
78
codeparrot/github-code
691e497ed6f477b264b0296e4a3f6de89932d4ae8cc604557a88eeb899a320a6
using System; using Org.BouncyCastle.Crypto.Parameters; namespace Org.BouncyCastle.Crypto.Engines { /** * A class that provides a basic International Data Encryption Algorithm (IDEA) engine. * <p> * This implementation is based on the "HOWTO: INTERNATIONAL DATA ENCRYPTION ALGORITHM" * implementati...
C#
3rdParty/bccrypto-net-05282015/crypto/src/crypto/engines/IdeaEngine.cs
korusdipl/OutlookPrivacyPlugin
bsd-3-clause
10,383
332
codeparrot/github-code
fbd7520caa4a7c632f58e8a2225d6638d1eb3ebafdfc0c615094317551d8e032
/* ============================================================================= * * client.c * * ============================================================================= * * Copyright (C) Stanford University, 2006. All Rights Reserved. * Author: Chi Cao Minh * * =========================================...
C
vacation/client.c
chrisseaton/stamp
bsd-3-clause
11,854
328
codeparrot/github-code
2cca64c53de8e52155d5cfb78e263ebeb06219bea14012e4c98be4beeddbe8c4
# # OpenSSL/fips/rand/Makefile # DIR= rand TOP= ../.. CC= cc INCLUDES= CFLAG=-g INSTALL_PREFIX= OPENSSLDIR= /usr/local/ssl INSTALLTOP=/usr/local/ssl MAKEDEPPROG= makedepend MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) MAKEFILE= Makefile AR= ar r CFLAGS= $(INCLUDES) $(CFLAG) GENERAL=Makefile TEST= fips...
Makefile
src/C/openssl/openssl-fips-ecp-2.0.9/fips/rand/Makefile
GaloisInc/hacrypto
bsd-3-clause
13,774
268
codeparrot/github-code
de27544cb3004ae3fa9f3a5c87d9d676f0f3163102776a6b89b7f592e4280b18
// Copyright 2021 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 COMPONENTS_COMPONENT_UPDATER_INSTALLER_POLICIES_CLIENT_SIDE_PHISHING_COMPONENT_INSTALLER_POLICY_H_ #define COMPONENTS_COMPONENT_UPDATER_INSTALLER_...
C
components/component_updater/installer_policies/client_side_phishing_component_installer_policy.h
chromium/chromium
bsd-3-clause
3,134
77
codeparrot/github-code
85f733ff93fc6c877c2f49664e30db76d42b8e32a2a8e69990a9ef8658150c85
// Copyright 2022 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/chrome_content_browser_client.h" #include "chrome/browser/profiles/profile.h" #include "chrome/browser/ui/browser.h" #include "ch...
C++
chrome/browser/web_applications/alternative_error_page_override_info_browsertest.cc
chromium/chromium
bsd-3-clause
12,515
292
codeparrot/github-code
f9296bd416556c957744c2271f6c7e52a38ad9f44bfd6dbe417f30f1a6cbbbc1
// 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. #ifndef CONTENT_PUBLIC_BROWSER_PRESENTATION_SESSION_MESSAGE_H_ #define CONTENT_PUBLIC_BROWSER_PRESENTATION_SESSION_MESSAGE_H_ #include <string> #include ...
C
content/public/browser/presentation_session_message.h
TheTypoMaster/chromium-crosswalk
bsd-3-clause
2,298
67
codeparrot/github-code
6025ca896208311450efa0e40762b5c960f157fff673cda416274fd3f3c8f1b9
package micromod; public class Macro { private Scale scale; private int rootKey; private Pattern notes; public Macro( String scale, String rootKey, Pattern notes ) { this.scale = new Scale( scale != null ? scale : Scale.CHROMATIC ); this.rootKey = Note.parseKey( rootKey != null ? rootKey : "C-2" ); this.n...
Java
micromod/src/main/java/micromod/Macro.java
Arcnor/micromod
bsd-3-clause
10,260
287
codeparrot/github-code
6b3ffb9033084fe6d63e426125f4cd2ad6809118190136b0118d0ed3b1d50d18
/* * Copyright (C) 2006 Friedemann Kleint <fkleint@trolltech.com> * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * ...
C++
src/webkit/Source/WebCore/platform/graphics/qt/ImageDecoderQt.cpp
klim-iv/phantomjs-qt5
bsd-3-clause
9,035
283
codeparrot/github-code
51e07fb15b33c20d4044fcb59c03a66cba63d03cabe3959d34ac9155f7b47b13
package de.plushnikov.intellij.plugin.action.lombok; import com.intellij.psi.PsiClass; import lombok.Data; import lombok.EqualsAndHashCode; import lombok.Getter; import lombok.Setter; import lombok.ToString; import org.jetbrains.annotations.NotNull; public class LombokDataHandler extends BaseLombokHandler { privat...
Java
lombok-plugin/src/main/java/de/plushnikov/intellij/plugin/action/lombok/LombokDataHandler.java
lilianaziolek/lombok-intellij-plugin
bsd-3-clause
1,001
35
codeparrot/github-code
31d815032f487440a530d1ad18193c669a39c84f43572fc45fb2cf5c928a4482
//===--- ArrayRef.h - Array Reference Wrapper -------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
C
wpiutil/include/llvm/ArrayRef.h
333fred/ntcore
bsd-3-clause
12,651
398
codeparrot/github-code
721849f976058e5b83f1ff0884596a5e101fc00bdc8be07a0eec63e1d00a8f89
/* * Copyright (c) 2004 Mellanox Technologies Ltd. All rights reserved. * Copyright (c) 2004 Infinicon Corporation. All rights reserved. * Copyright (c) 2004 Intel Corporation. All rights reserved. * Copyright (c) 2004 Topspin Corporation. All rights reserved. * Copyright (c) 2004 Voltaire Corporation. All ri...
C
sys/ofed/include/rdma/ib_smi.h
jrobhoward/SCADAbase
bsd-3-clause
4,404
130
codeparrot/github-code
413e7958c045b3500ac582aa31120db552ce263bb135a2b520e90f5e3f5f2d1e
// 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 "components/url_formatter/elide_url.h" #include <stddef.h> #include "base/check_op.h" #include "base/i18n/rtl.h" #include "base/strings/strcat....
C++
components/url_formatter/elide_url.cc
chromium/chromium
bsd-3-clause
17,126
446
codeparrot/github-code
5a3c343bb52937a9e003a06aec2c245fed51b6dcddf07d9f113e1be903644c2b
\section{Introduction} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \label{sec:intro} %Motivate the problem %Give a summary of the paper: what you did and how %Explicitly state your contribution Classic algebraic data types as seen in functional languages are closed and their variants are disjoint, whic...
TeX
media/papers/TypeSwitch/sec-introduction.tex
akrzemi1/Mach7
bsd-3-clause
11,199
207
codeparrot/github-code
7ed744115afa4b43e86840f6c0b00cb7c30b6e2d4a7f306c5d1c8fc9440e5bf8
/*========================================================================= Copyright (c) 2007, Los Alamos National Security, LLC All rights reserved. Copyright 2007. Los Alamos National Security, LLC. This software was produced under U...
C
Utilities/Cosmo/CosmoHaloFinder.h
jeffbaumes/jeffbaumes-vtk
bsd-3-clause
9,246
237
codeparrot/github-code
03935f9ac39254359a4bd0f4cb2ede77a7fed1bcaebface534423882a205f1c6
# - Try to find how to link to the standard math library, if anything at all is needed to do. # On most platforms this is automatic, but for example it's not automatic on QNX. # # Once done this will define # # STANDARD_MATH_LIBRARY_FOUND - we found how to successfully link to the standard math library # STANDARD_MAT...
CMake
lib/eigen_3.3.9/cmake/FindStandardMathLibrary.cmake
stan-dev/math
bsd-3-clause
2,243
68
codeparrot/github-code
532bcf870bb4aba44f5c91c5029478f9f2a2873c3653ae0895c41933ee846685
""" @author: Deniz Altinbuken, Emin Gun Sirer @note: Bounded Semaphore Coordination Object @copyright: See LICENSE """ from threading import Lock from concoord.exception import * class DBoundedSemaphore(): def __init__(self, count=1): if count < 0: raise ValueError self.__count = int(co...
Python
concoord/threadingobject/dboundedsemaphore.py
tempbottle/concoord
bsd-3-clause
1,447
45
codeparrot/github-code
f7fa1a745fad4b3fb21c30efdf0b09a26d7722fba145d2b14f9c175f64b33622
/* * Copyright 2016 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifndef GrWindowRectangles_DEFINED #define GrWindowRectangles_DEFINED #include "include/core/SkRect.h" #include "src/gpu/GrNonAtomicRef.h" class GrWindowRectangles { public:...
C
third_party/skia/src/gpu/GrWindowRectangles.h
youtube/cobalt
bsd-3-clause
3,526
124
codeparrot/github-code
ef83c5bf1ee0dfcdb6571aaca12cd6d2971d7eb504202c7298a2277fc9fc81d5
// 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/media/router/discovery/dial/dial_service_impl.h" #include <stddef.h> #include <memory> #include "base/memory/ref_counted.h...
C++
chrome/browser/media/router/discovery/dial/dial_service_impl_unittest.cc
chromium/chromium
bsd-3-clause
10,859
283
codeparrot/github-code
2ad48927f9b031538cf36a46af7dc61ceae1b0c64c50a66a62eca3315de5c7ca
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chromecast/base/cast_features.h" #include <algorithm> #include <utility> #include "base/command_line.h" #include "base/containers/contains.h" ...
C++
chromecast/base/cast_features.cc
chromium/chromium
bsd-3-clause
14,737
358
codeparrot/github-code
1b42624231573e276d4b368ff41bee69164415e1ec858efac8b95dc703522e6e
# Authors: David Goodger, Ueli Schlaepfer # Contact: goodger@users.sourceforge.net # Revision: $Revision: 3892 $ # Date: $Date: 2005-09-20 22:04:53 +0200 (Tue, 20 Sep 2005) $ # Copyright: This module has been placed in the public domain. """ This package contains modules for standard tree transforms available to Docut...
Python
libs/external_libs/docutils-0.4/docutils/transforms/__init__.py
pombreda/django-hotclub
mit
6,690
177
codeparrot/github-code
de4cf6fb40ad7534f53df382d4fe7788419fb626568948230505b443073aedee
# This challenge is based off of problem 1 # modify it such that it also accepts in the hash, a color (whose values are red("#FF0000"), green("#00FF00"), and blue(#0000FF) ) # if the color is set, then it should show up in the style # It should also not be necessary to pass in the hash, if you don't want to specify opt...
Ruby
session3/challenge/7_hashes.rb
onespeed/ruby-kickstart2
mit
2,123
59
codeparrot/github-code
dfbc6705071510788987e0e4f41e8a4c45cb57b17154bf6f41724de3350cbf27
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Diagnostics; using System.Globalization; using System.Threading; using System.Transactions.Diagnostics;...
C#
src/System.Transactions/src/System/Transactions/Enlistment.cs
shmao/corefx
mit
18,976
541
codeparrot/github-code
7444d5834d6c20ae51f83d7b79384a952474a300dfb0011d75cfb96348e70373
// Copyright (c) 2011-2016 The Cryptonote developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #pragma once #include <atomic> #include <condition_variable> #include <deque> #include <mutex> #include <thread> templat...
C
src/Common/BlockingQueue.h
Boter/SIT
mit
2,296
115
codeparrot/github-code
eabcb001451baf3d0db46a73eb6654e7c33bf4800d721d6cfd3758c73b2a7d79
Template.mugenRoleActionsManage.helpers({ mugenRoleGroups: function() { return MugenRoleGroups.find({}, {sort: {name: 1}}); }, mugenRoleCollections: function() { return MugenRoleCollections.find({}, {sort: {name: 1}}); }, }); Template.mugenRoleActionsManage.events = { 'click #btnRem...
JavaScript
packages/meteoris-core/mugen/client/role/views/mugenRoleActions/manage.js
radiegtya/meteoris2
mit
2,234
67
codeparrot/github-code
ae99da0b260486e699f791d71e4413d5b973953b26e490bb6048e59a0486cdce
package View; import java.util.ArrayList; import java.util.List; import SuperAwesomeDemo.CollisionEngineAwesome; import SuperAwesomeDemo.RangeEngineAwesome; import javafx.application.Application; import javafx.stage.Stage; import xml.DataManager; import engine.events.ConcreteQueue; import engine.events.ConstantSpacing...
Java
src/View/GameWriter.java
keikumata/CS308_Tower_Defense
mit
7,451
214
codeparrot/github-code
3095edc38b2b7db21da7401c0f1eb1a4a9db835f2bb9a0ab9b1c0503b30b1005
use v6; unit module File::Find; sub checkrules ($elem, %opts) { if %opts<name>.defined { if %opts<name> ~~ Str { return False unless $elem.basename ~~ %opts<name> } else { return False unless $elem ~~ %opts<name> } } if %opts<type>.defined { given %o...
Perl
lib/File/Find.pm
laben/File-Find
mit
3,646
125
codeparrot/github-code
5c8e0877dc6ad2058ebafcd57e34a1ce833aa0ccb042a850d8dbbe2494b5f4ba
/* * $Id: sample.cpp,v 1.23 2006/11/01 23:33:56 nathanst Exp $ * * sample.cpp * hog * * Created by Nathan Sturtevant on 5/31/05. * Copyright 2005 Nathan Sturtevant, University of Alberta. All rights reserved. * * This file is part of HOG. * * HOG is free software; you can redistribute it and/or modify *...
C++
apps/directional/directional.cpp
nathansttt/hog2
mit
17,668
556
codeparrot/github-code
671331dc46f0c1eae1417d5f3f72cf517d1695faf2db01992a3a5d21712cce10
require 'English' require 'json' require 'time' module Job::Worker def self.included(base) base.extend(ClassMethods) end module ClassMethods @job_options_hash def call_async(*args, &block) enqueue_job( class_name: self.to_s, args: args, &block) end def call_in...
Ruby
app/models/job/worker.rb
toyodundy/shirasagi
mit
1,659
73
codeparrot/github-code
f27f2fa76ff8f8b97720249a8766c51dc7ec7a8322c05fdf2f7362967f15e0b2
/** * Created on Sep 19, 2009 * Course: CS5620 (Interactive Computer Graphics) by Kavita Bala * Originally written for CS467/468 (Computer Graphics II and Practicum) by Kavita Bala * Copyright 2009 Computer Science Department, Cornell University * * @author Adam Arbree -- arbree@cs.cornell.edu * @author Wenzel...
JavaScript
Série 06/js/objloader.js
Diego999/Infographie
mit
14,144
573
codeparrot/github-code
25bd4fbc68536b4205cf3784b68012ee8ad623d5f5b008bb142fc605c53ff592
import sys if sys.version_info < (3, 7): from ._symbolsrc import SymbolsrcValidator from ._symbol import SymbolValidator from ._sizesrc import SizesrcValidator from ._sizeref import SizerefValidator from ._sizemode import SizemodeValidator from ._sizemin import SizeminValidator from ._size ...
Python
packages/python/plotly/plotly/validators/splom/marker/__init__.py
plotly/python-api
mit
2,113
57
codeparrot/github-code
aa2ea863c8083d7acc1f445075dfd23c74f6a472c737d8254886d72029c5548f
import Ember from 'ember'; import { assert } from "ember-data/-private/debug"; var Promise = Ember.RSVP.Promise; var get = Ember.get; /** A `PromiseArray` is an object that acts like both an `Ember.Array` and a promise. When the promise is resolved the resulting value will be set to the `PromiseArray`'s `conten...
JavaScript
tmp/babel-output_path-Ihxrnc4F.tmp/modules/ember-data/-private/system/promise-proxies.js
hoka-plus/p-01-web
mit
3,514
134
codeparrot/github-code
980e538445e49406a795e058548b4ba916efe2b90241e7468a369b13e08ccf41
#region Copyright // // DotNetNuke® - http://www.dotnetnuke.com // Copyright (c) 2002-2014 // by DotNetNuke Corporation // // 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 restrict...
C#
DNN Platform/Library/ExtensionPoints/EditPagePanelExtensionControl.cs
raphael-m/Dnn.Platform
mit
5,646
145
codeparrot/github-code
c158a09d12f55005286da129cc431fc68c98c2de7da4ae793eb8cc9b5207c139
# frozen_string_literal: true module RuboCop module Cop # FIXME class Team DEFAULT_OPTIONS = { auto_correct: false, debug: false }.freeze Investigation = Struct.new(:offenses, :errors) attr_reader :errors, :warnings, :updated_source_file alias updated_source_f...
Ruby
lib/rubocop/cop/team.rb
Drenmi/rubocop
mit
5,387
189
codeparrot/github-code
008519d2866490e94c0696f6bae111eeabff69160d1af11d8a1db273a18d8c68
# # The Python Imaging Library. # $Id$ # # TIFF tags # # This module provides clear-text names for various well-known # TIFF tags. the TIFF codec works just fine without it. # # Copyright (c) Secret Labs AB 1999. # # See the README file for information on usage and redistribution. # ## # This module provides constant...
Python
venv/lib/python2.7/site-packages/PIL/TiffTags.py
FreddieShoreditch/image_folder_organiser
mit
9,273
316
codeparrot/github-code
26bd06c8f316fe94f722c3c4a3d88df71af79d4f2a06bb3a11b979ba464148e3
<?php /* * This file is part of the Geotools library. * * (c) Antoine Corcy <contact@sbin.dk> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace League\Geotools\CLI\Command\Geocoder; use Geocoder\Formatter\Formatter; use ...
PHP
src/CLI/Command/Geocoder/Reverse.php
tix/geotools
mit
6,307
122
codeparrot/github-code
6c159cfb2ecf0a64823e4a5f89f8ee12e9aa61cf71bfa84c0702efa0014feee3
//Basic build process. Nothing too fancy const gulp = require('gulp-help')(require('gulp')), concat = require('gulp-concat'), prettify = require('gulp-jsbeautifier'), minify = require('gulp-minify'), jsdoc = require("gulp-jsdoc"), pkg = require('./package.json'), template = require(...
JavaScript
gulpfile.js
Sha-Grisha/anything.js
mit
1,997
72
codeparrot/github-code
89495f441f121e600cca8716fbddf00f0089d450f505fc4b8896052255f66415
using System.Linq; using System.Reflection; using Orleans.ApplicationParts; using Orleans.Metadata; using Orleans.Runtime; namespace Orleans.Configuration.Validators { /// <summary> /// Validates that application libraries (grains, serializers, etc) have been configured. /// </summary> internal class ...
C#
src/Orleans.Core/Configuration/Validators/ApplicationPartValidator.cs
jokin/orleans
mit
1,965
45
codeparrot/github-code
204a3343028a9b1cda58674dbe916d17a4fe04043ca40b69caac89c5f8080846
/** * @license * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt * The complete set of contributors may be f...
JavaScript
core/components/components/bower_components/webcomponentsjs/src/ShadowDOM/wrappers/Element.js
ArcherSys/ArcherSys
mit
4,726
157
codeparrot/github-code
c272a1910939301f449cc8949b02e7594c314844b5ad3580f6775e46ee3ac620
/* Copyright (c) Marshall Clow 2011-2012. 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) For more information, see http://www.boost.org */ #include <iostream> #include <boost/config.hpp> #include <boost...
C++
src/deps/boost/libs/algorithm/test/is_permutation_test1.cpp
mxrrow/zaicoin
mit
1,471
50
codeparrot/github-code
a8e246a6ee249c50e72a5bd9d546c005b2d55db952e3d3840529e1beceee5e05
<?php /** * Edit a user role to change its permissions. */ $this->require_acl ('admin', 'user', 'user/roles'); if (! isset ($_GET['role']) || ! isset (User::acl ()->rules[$_GET['role']])) { $this->redirect ('/user/roles'); } $page->title = __ ('Edit Role') . ': ' . ucfirst ($_GET['role']); $page->layout = 'admin...
PHP
apps/user/handlers/role/edit.php
twheel/elefant
mit
2,216
89
codeparrot/github-code
d5ea755b59ff600b242d7d478f87a13835800bee76d3a3b740875c9460458055
/* * Copyright (c) 2012 Adobe Systems Incorporated. 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...
JavaScript
src/nls/nb/strings.js
xavortm/brackets
mit
11,349
232
codeparrot/github-code
4985e60e6371c920609fc090f66e52ea607a0a175263d9c8291f0f7754ba0a43
<!-- Copyright (C) Microsoft Corporation. All rights reserved. --> <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> </head> <body class="monaco-shell vs-dark" aria-label=""> <script> (function() { function getConfig() { let queryParams = window.location.search.substring(1).split('&'); for ...
HTML
src/vs/workbench/electron-browser/bootstrap/index.html
matthewshirley/vscode
mit
1,370
46
codeparrot/github-code
2ba35b83732a2e046c6dabc0d3965e62274b8f6b13cfd4dfb7019b3277603ad0
// // Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"). // You may not use this file except in compliance with the License. // A copy of the License is located at // // http://aws.amazon.com/apache2.0 // // or in the "licen...
C
Pods/AWSMobileAnalytics/AWSMobileAnalytics/Internal/AWSMobileAnalyticsFileEventStore.h
iSkore/Metawear_AWSConnection
mit
2,121
69
codeparrot/github-code
bf5201f0634b923a4c4352560cd75d39fe42fdd034af3524efcd65b292731a6a
/*========================================================================= Program: Visualization Toolkit Module: vtkRectilinearGridToTetrahedra.h Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. T...
C
src/OsiriXAPI.framework/Versions/Current/Headers/vtkRectilinearGridToPointSet.h
byvernault/xnat_osirix_plugin
mit
2,344
66
codeparrot/github-code
011accee9dcd5c10be872365805043235b7fbd6286125e55e10655de2f1f60cc
/******************************************************************************* * Copyright (c) 1998, 2015 Oracle and/or its affiliates. All rights reserved. * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0 ...
Java
moxy/eclipselink.moxy.test/src/org/eclipse/persistence/testing/jaxb/inheritance/typeElem/Child.java
RallySoftware/eclipselink.runtime
epl-1.0
1,482
40
codeparrot/github-code
8812dc47edef5ec16332f19efc4dd001f01051f0552fd7c9a42615919876f52b
/******************************************************************************* * Copyright (c) 1998, 2015 Oracle and/or its affiliates. All rights reserved. * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0 ...
Java
utils/eclipselink.utils.workbench/mappingsplugin/source/org/eclipse/persistence/tools/workbench/mappingsplugin/ui/schema/UiSchemaResourceBundle.java
RallySoftware/eclipselink.runtime
epl-1.0
6,049
139
codeparrot/github-code
a85f5cf2702b1c0ea7fe6703d77616cc0905e351a69ac33c5d9bb1903b1c012e
/* * Read-Copy Update mechanism for mutual exclusion * * 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. * * This ...
C
kernel/rcupdate.c
madprogrammer/linux-e8-rt
gpl-2.0
8,843
297
codeparrot/github-code
9b972af2b362d6a5d787fcf83e7f2c738d90825a2411909cbecd9f3ae3a25737
/* * TI Divider Clock * * Copyright (C) 2013 Texas Instruments, Inc. * * Tero Kristo <t-kristo@ti.com> * * 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 ...
C
drivers/clk/ti/divider.c
jmc8/linux
gpl-2.0
12,159
512
codeparrot/github-code
35a9beaae393b54437c8cd864c9b020b7cfdfc7ebceb8293d3dc5dc11de7a6f4
/* * PowerPC version * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org) * * Modifications by Paul Mackerras (PowerMac) (paulus@cs.anu.edu.au) * and Cort Dougan (PReP) (cort@cs.nmt.edu) * Copyright (C) 1996 Paul Mackerras * * Derived from "arch/i386/mm/init.c" * Copyright (C) 1991, 1992, 1993...
C
arch/powerpc/mm/init_64.c
AshishNamdev/linux
gpl-2.0
10,469
395
codeparrot/github-code
c848bb4c5b0e9a0b5c58567c6a854b8c6ff228abfbc15c0078fbcdc0e7bb6250
/* * agg_table - Aggregate Table Header * Copyright (C) 2018 Cumulus Networks, Inc. * Donald Sharp * * FRR 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 opt...
C
lib/agg_table.h
freerangerouting/frr
gpl-2.0
4,288
178
codeparrot/github-code
e4ce4e87ff09ba92b57535e729b4f2cd33fc028b322449d9c9656eaf95d638ed
/* * Ingenic mensa setup code * * Copyright (c) 2013 Ingenic Semiconductor Co.,Ltd * Author: Zoro <ykli@ingenic.cn> * * 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 ...
C
uboot/u-boot-dm6291-new/board/ingenic/phoenix/board.c
lxl1140989/6291-xl
gpl-2.0
2,886
156
codeparrot/github-code
f9d136ab39286ca34cc2b413cee84fb3ec572c7dfc8ef507980160d845c07068
/* * Universal Flash Storage Host controller driver * * This code is based on drivers/scsi/ufs/ufshcd.h * Copyright (C) 2011-2013 Samsung India Software Operations * Copyright (c) 2013-2016, The Linux Foundation. All rights reserved. * * Authors: * Santosh Yaraganavi <santosh.sy@samsung.com> * Vinayak Holikatt...
C
drivers/scsi/ufs/ufshcd.h
AshishNamdev/linux
gpl-2.0
30,237
972
codeparrot/github-code
c6a6f282355383219dadf7e51378e12656aafd55f73af7df0b54b3ecf4038eaa
/* BlueZ - Bluetooth protocol stack for Linux Copyright (c) 2000-2001, 2011-2012 Code Aurora Forum. All rights reserved. Copyright (C) 2009-2010 Gustavo F. Padovan <gustavo@padovan.org> Copyright (C) 2010 Google Inc. Written 2000,2001 by Maxim Krasnyansky <maxk@qualcomm.com> This program is free so...
C
net/bluetooth/l2cap_sock.c
javelinanddart/bricked-pyramid-3.0
gpl-2.0
29,433
1,328
codeparrot/github-code
eb1973c500d59730554eebac844976652f6db399aa7dc34e9c301d820e570b2e
/****************************************************************************** * Wormux, a free clone of the game Worms from Team17. * Copyright (C) 2001-2004 Lawrence Azzoug. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as pub...
C
old/wormux-0.7.4/src/interface/mouse.h
yeKcim/warmux
gpl-2.0
2,140
83
codeparrot/github-code
3586d82c1b1316f24d634ee995f311cf6b977ccdc515277bfc7833d71ec1dad8
/* Copyright (c) 2009-2012, 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 ho...
C
drivers/video/msm/mdp4_overlay_lcdc.c
TeamVee/SKernel_Vee
gpl-2.0
23,217
968
codeparrot/github-code
1ea16e7c35cf3101847b3fa19498fc3f72176f33d4036087660da9fb8383aa05
<?php namespace TYPO3\CMS\Install\Controller\Action\Step; /* * This file is part of the TYPO3 CMS project. * * It is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License, either version 2 * of the License, or any later version. * * For the full copyright an...
PHP
typo3/sysext/install/Classes/Controller/Action/Step/DatabaseData.php
famelo/TYPO3-Base
gpl-2.0
5,146
139
codeparrot/github-code
bbf956cb75aafad73710db6fd0b9906d64369523c4716a0fbe04ad7f29133cc3
/* MICE Xbox 360 Controller driver for Mac OS X Copyright (C) 2006-2013 Colin Munro Controller.cpp - driver class for the 360 controller This file is part of Xbox360Controller. Xbox360Controller is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as p...
C++
360Controller/Controller.cpp
lee-dohm/osx-360-controller
gpl-2.0
6,333
212
codeparrot/github-code
de818912b9133d77bd04cc3b473c0bdadf9d43a72aac211d7487fef5f0454240
/** * $Id$ * * IDE interface test cases. Covers all (known) IDE registers in the * 5F7000 - 5F74FF range including DMA, but does not cover any GD-Rom * device behaviour (ie packet comands). * * These tests should be run with the drive empty. * * Copyright (c) 2006 Nathan Keynes. * * This program is free sof...
C
test/testide.c
GCEManager/lxdream
gpl-2.0
15,486
567
codeparrot/github-code
69741f85908b7f52713f151a8adc9369111466751e57c84d1c2fd2ec5c52f13d
/* * Copyright (c) 2008-2011 Atheros Communications Inc. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" A...
C
drivers/net/wireless/ath/ath9k/main.c
sjurbren/modem-ipc
gpl-2.0
61,453
2,466
codeparrot/github-code
bc709c5ca2bc298d79823a11349638989a475c77239fcf28275fb751b3c69958
/* linux/arch/arm/mach-s5pv210/mach-smdkc110.c * * Copyright (c) 2010 Samsung Electronics Co., Ltd. * http://www.samsung.com/ * * 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. ...
C
arch/arm/mach-s5pv210/mach-smdkc110.c
minghuadev/chromeos-kernel-3-8
gpl-2.0
4,134
162
codeparrot/github-code
a8a4636538054aed9a8b8e96df57b6730bc3ac5faabc3886e717bcc74cbfc90b
/* Copyright (c) 2010, 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/input/misc/pmic8058-othc.c
genokolar/u8800-kernel
gpl-2.0
16,308
630
codeparrot/github-code
34efd05f24c59a64f43f2172215fc398f6b7a007ed74e15c5107660c4fb43ed6
<?php /** * Generic class to handle caching * * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) * @author Chris Smith <chris@jalakai.co.uk> */ if(!defined('DOKU_INC')) die('meh.'); /** * Generic handling of caching */ class cache { public $key = ''; // primary identifier for this item...
PHP
inc/cache.php
seanxyh/dokuwiki
gpl-2.0
10,891
338
codeparrot/github-code
586b99f50502006c1c21c765d1e0cd5b34e4d99346d400de0181a7f178087f3e
/* * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd. * http://www.samsung.com * * Common Codes for EXYNOS * * 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. */ #include...
C
arch/arm/mach-exynos/common.c
sigma-random/linux
gpl-2.0
26,740
1,082
codeparrot/github-code
006a217f73221d75de3559f66479d547b99fbeaddf5cf7d7249e224af00db636
/* * jQuery timepicker addon * By: Trent Richardson [http://trentrichardson.com] * Version 1.3.1 * Last Modified: 07/07/2013 * * Copyright 2013 Trent Richardson * You may use this project under MIT or GPL licenses. * http://trentrichardson.com/Impromptu/GPL-LICENSE.txt * http://trentrichardson.com/Impromptu/MI...
JavaScript
docs/aliyun/006Node30上海独享/web/Ganglia hadoop_cluster_workers Report_files/jquery-ui-timepicker-addon.js
xubo245/CloudSW
gpl-2.0
71,991
2,132
codeparrot/github-code
efc24d43ba665eff8bce1a667e5ac6f47483ed3cfab2568902cab0cb5373b214
include "constants.lua" include "rockPiece.lua" include "trackControl.lua" include "pieceControl.lua" local dynamicRockData local scriptReload = include("scriptReload.lua") local base, turret, sleeve = piece ('base', 'turret', 'sleeve') local missiles = { piece ('dummy1'), piece ('dummy2'), } local isLoaded = { ...
Lua
scripts/tankriot.lua
lhog/Zero-K
gpl-2.0
5,747
247
codeparrot/github-code
97174271db7a3696e306358d4f0e39c4be80ce49f3d0aee76f3f7b3a12c84d7b
#include "AmbiguousRule.h" #include "Builder.h" #include "RandomStreams.h" #include "../../SyntopiaCore/Logging/Logging.h" using namespace SyntopiaCore::Logging; namespace StructureSynth { namespace Model { QList<RuleRef*> AmbiguousRule::getRuleRefs() const { QList<RuleRef*> list; for (i...
C++
src/other/structuresynth/ssynth/StructureSynth/Model/AmbiguousRule.cpp
guerrerocarlos/meshlab
gpl-2.0
1,163
53
codeparrot/github-code
0cfeca113eddf21e7af876b4fe02489ffc44b035de3161147e9e46afa53ca494
<?php class FrmProEntriesListHelper extends FrmEntriesListHelper { function get_bulk_actions() { $actions = array( 'bulk_delete' => __( 'Delete')); if ( ! current_user_can('frm_delete_entries') ) { unset($actions['bulk_delete']); } //$actions['bulk_export'] = __( 'Export...
PHP
wp-content/plugins/formidable/pro/classes/helpers/FrmProEntriesListHelper.php
samliew/wpbase
gpl-2.0
3,742
91
codeparrot/github-code
d6c37dcfb6bce9895b42fb8b74745faf1ef7601de912775ab949f6eae65c0215
<script type="text/javascript"> // <![CDATA[ function enableSubmit(optionValue, formObj) { var bttnEnabled = document.getElementById('importDatabaseEnabled'); var bttnDisabled = document.getElementById('importDatabaseDisabled'); if (optionValue != -1) { bttnEnabled.style.displ...
HTML
photos/lib/support/templates/ImportRequest.html
jcannava/bleedcrimson.net
gpl-2.0
2,653
56
codeparrot/github-code
0b6aa9beb47a951271ad2bd355f2c1384a73e922c97ccf2cf4034bce087f0c50
/* * MAPI utility header file * * Copyright 2009 Owen Rudge for CodeWeavers * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (...
C
third-party/reactos/dll/win32/mapi32/util.h
GreenteaOS/Kernel
gpl-2.0
2,940
65
codeparrot/github-code
2e6a94bf94655370159d92127ec267428df2c8dea71e2cc6227fe76872ac1d10
/* * HT Editor * sysvaccel.cc * * Copyright (C) 2004 Stefan Weyergraf * * 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 w...
C++
src/system/arch/x86/sysvaccel.cc
sebastianbiallas/pearpc
gpl-2.0
4,788
125
codeparrot/github-code
7db272dfd50560173bb2696e1299b618318df3ba2f38c80e72d6cf4e346c4713
/* * 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
examples/math_32/src/main/java/org/apache/commons/math3/optimization/BaseMultivariateMultiStartOptimizer.java
SpoonLabs/astor
gpl-2.0
7,610
192
codeparrot/github-code
dab9418361312fa6a3b9de785e634d628e473823e0888718cc957358916a56b4
<?php /* * class WPSupersized * * Contains the functions for the plugin * WP Supersized that * adds Supersized 3.2.7 to WordPress * */ if ( !class_exists('WPSupersized') ): class WPSupersized { const plugin_name = 'WP Supersized'; const plugin_version = '3.1.6'; const min_php_version = '5.2'; const min_wor...
PHP
wp-content/plugins/wp-supersized/includes/WPSupersized.php
daedaluss/Nazareth
gpl-2.0
67,620
1,355
codeparrot/github-code
3daae4d7ea138adf9b47ff69929e96f0cf1f0335fc9fe778469e8a637939a254
/* * Block driver for Hyper-V VHDX Images * * Copyright (c) 2013 Red Hat, Inc., * * Authors: * Jeff Cody <jcody@redhat.com> * * This is based on the "VHDX Format Specification v1.00", published 8/25/2012 * by Microsoft: * https://www.microsoft.com/en-us/download/details.aspx?id=34750 * * This work i...
C
block/vhdx.c
objectkuan/qemu_reverse
gpl-2.0
65,377
1,966
codeparrot/github-code
6bfd7652854bdad4dde0fb0e03eab3f3a49261833dec3ce2593fc5780c3f91ea
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <link rel="stylesheet" href="../support/help.css" charset="ISO-8859-1" type="text/css" /> <title>Reciprocal Space Refinement...
HTML
Schrodinger/Schrodinger_2015-2_docs/maestro/help_MaterialsScience_advanced/primex/reciprocal_space_maps_tab.html
platinhom/ManualHom
gpl-2.0
5,126
148
codeparrot/github-code
8abbc0de34dc8da2066c028e97a5962705e308c4283c6debf23e385ef96c72ac
/* * ./bash_cv_must_reinstall_sighandlers && echo 'no' || echo 'yes' */ #include <signal.h> #include <unistd.h> #define RETSIGTYPE void typedef RETSIGTYPE sigfunc(); int nsigint; #define HAVE_POSIX_SIGNALS 1 #ifdef HAVE_POSIX_SIGNALS sigfunc * set_signal_handler(sig, handler) int sig; sigfunc *handler; ...
C
make/target-tester/src/bash_cv_must_reinstall_sighandlers.c
Freetz/freetz
gpl-2.0
772
47
codeparrot/github-code
58340a5482e953dc23624ceff5ab5c1ed8d824015cd7a601043ef39e210c358f
/* * Samsung TV Mixer driver * * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd. * * Tomasz Stanislawski, <t.stanislaws@samsung.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 Foundiat...
C
drivers/media/video/exynos/tv/mixer_grp_layer.c
rutvik95/android_kernel_samsung_universal-5260
gpl-2.0
5,310
201
codeparrot/github-code
5d891812ad34e903fc89a916d6554ae86669e5179915457d5721ebc796bb0df6
/* Print and select stack frames for GDB, the GNU debugger. Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2007, 2008 Free Software Foundation, Inc. This file is part of GDB. This program is free software; you can r...
C
user/gdb/gdb/stack.c
rhuitl/uClinux
gpl-2.0
62,179
2,101
codeparrot/github-code
8726d7ab8e57f94c08d76630afde0ee162584b1a6d052cc6600899a21a121b40
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // //============================================================================= #ifndef KEYREPEAT_H #define KEYREPEAT_H #ifdef _WIN32 #pragma once #endif #include <vgui_controls/Panel.h> namespace vgui { enum KEYREPEAT_A...
C
src/public/vgui_controls/KeyRepeat.h
OnePointSeven/onepointseven
gpl-3.0
1,541
80
codeparrot/github-code
9319f9522dcc87f2d16367b7c83770943db709ff0b2505b80f816682bf93634d
window.app = window.app || {}; (function(ns){ ns.math = { degreeToRadian : function(angle) { return ((angle*Math.PI) / 180); }, radianToDegree : function(angle) { return ((angle*180) / Math.PI); }, getDistance : function(x1, y1...
JavaScript
client/lib/ngen/app.math.js
rezn8d/netentionjs2
gpl-3.0
4,746
154
codeparrot/github-code
ed740ad102ae579dcb78d14dc48a455ad701754c66d052b5aa1b018218ae9e2b
// // Mach7: Pattern Matching Library for C++ // // Copyright 2011-2013, Texas A&M University. // Copyright 2014 Yuriy Solodkyy. // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // ...
C++
vhdlpp/mach7/ptrtools.hpp
forflo/yodl
gpl-3.0
25,556
537
codeparrot/github-code
37acf2ac087fc4e88d389d1defba2dcf6b3d2b374f32f1079ad7be10665940c8
#!/usr/bin/env python # # Copyright 2005-2007,2010,2013 Free Software Foundation, Inc. # # This file is part of GNU Radio # # GNU Radio 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, or (at ...
Python
gr-filter/python/filter/qa_rational_resampler.py
iohannez/gnuradio
gpl-3.0
8,932
259
codeparrot/github-code
3b693e26bdbf788c81cde0a30944b5a340d113481098ff2cb166d2140328e1f9
package net.minecraft.server; import java.util.ArrayList; import java.util.HashMap; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; // CraftBukkit start import java.util.UUID; import org.bukkit.craftbukkit.CraftServer; import org.bukkit.craftbukkit.CraftWorld; import org.bukkit.craftbukk...
Java
src/main/java/net/minecraft/server/WorldMap.java
Teg-MC/CraftBukkit
gpl-3.0
8,844
244
codeparrot/github-code
fab7f68c7156796dc21d81f36f83863870371bc635bc6c60102efee76c0e464a
<?php $param = array(); if (is_admin() === false && is_read() === false) { $perms_sql .= ' LEFT JOIN `devices_perms` AS `DP` ON `D`.`device_id` = `DP`.`device_id`'; $where .= ' AND `DP`.`user_id`=?'; $param[] = array($_SESSION['user_id']); } list($address,$prefix) = explode('/', $_POST['address'])...
PHP
html/includes/table/address-search.inc.php
Exa-Omicron/librenms
gpl-3.0
4,012
118
codeparrot/github-code
269f5b25db3250ab7bfb0cd7e203b628787e9701b742e00255d1a25fcb26b007
/* Unix SMB/CIFS implementation. kpasswd Server implementation Copyright (C) Andrew Bartlett <abartlet@samba.org> 2005 Copyright (C) Andrew Tridgell 2005 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 ...
C
source4/kdc/kpasswdd.c
javierag/samba
gpl-3.0
20,569
664
codeparrot/github-code
1e2a1fdaae15240b9295c1bb6c35e4cb203d7a4be125b6ea7a4ed31be7b47a59
/************************************************************************** * Otter Browser: Web browser controlled by the user, not vice-versa. * Copyright (C) 2015 - 2017 Michal Dutkiewicz aka Emdek <michal@emdek.pl> * * This program is free software: you can redistribute it and/or modify * it under the terms of the ...
C++
src/core/SpellCheckManager.cpp
developing4all/waterphoenix
gpl-3.0
3,443
135
codeparrot/github-code
55f8634615d56f64557b73696d7b11a6e6cbbee253b23b748c802868039ff0d4
// SuperTux // Copyright (C) 2006 Matthias Braun <matze@braunis.de> // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later ...
C++
src/object/display_effect.cpp
GrumbelsTrashbin/supertux.auto_export
gpl-3.0
4,567
200
codeparrot/github-code
98d0d6b78a8d176da36a358f0fae74298201bfebc6f3045e1573021f31589997
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | \\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation \\/ M anipulation | --------...
C++
src/OpenFOAM/primitives/strings/lists/hashedWordList.H
OpenCFD/OpenFOAM-history
gpl-3.0
4,153
147
codeparrot/github-code
60bc91f718477b2f6b7008751e3ac5b5667b4e9f5058a3536404d89783a7f4d6
// This file is part of Moodle - http://moodle.org/ // // Moodle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Moodle is dis...
JavaScript
media/player/videojs/amd/src/loader.js
marcusgreen/moodle
gpl-3.0
4,882
146
codeparrot/github-code
1fc913b3f1b0343f444d9e57916b0a18d52b8cdde8450fc5dc7d2a86ff7349f5
// Copyright (C) by Ashton Mason. See LICENSE.txt for licensing information. #ifndef THERON_DETAIL_TRANSPORT_OUTPUTMESSAGE_H #define THERON_DETAIL_TRANSPORT_OUTPUTMESSAGE_H #include <Theron/Defines.h> // NOTE: Must include xs.h before standard headers to avoid warnings in MS headers! #if THERON_XS #include <xs/xs.h>...
C
modules/Theron/Include/Theron/Detail/Transport/OutputMessage.h
manojgudi/sandhi
gpl-3.0
2,787
126
codeparrot/github-code
feec7bff9e8448f88ea97f62f35577cda807e3cdbf9d95a7d81158da4ae872a6
#region Copyright & License Information /* * Copyright 2007-2021 The OpenRA Developers (see AUTHORS) * This file is part of OpenRA, which is free software. It is made * available to you under the terms of the GNU General Public License * as published by the Free Software Foundation, either version 3 of * the Lice...
C#
OpenRA.Mods.Common/UpdateRules/Rules/20200503/CreateFlashPaletteEffectWarhead.cs
abcdefg30/OpenRA
gpl-3.0
1,963
56
codeparrot/github-code
85a462926fcee9fe0dfe3d65eb9204d0ff33f74ce916cfff13ce1bf05a0b7bb0
// This file is part of BOINC. // http://boinc.berkeley.edu // Copyright (C) 2008 University of California // // BOINC 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 Licens...
C
clientgui/WizardAttach.h
keyz182/BOINC-7.0
gpl-3.0
10,370
311
codeparrot/github-code
ed95b7ee115f5692d087a796218d0721dfcadf5e4415baa75cb8760796e94afa
/* Copyright (c) 2013 yvt This file is part of OpenSpades. OpenSpades is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. OpenSpades...
C
Sources/Draw/GLFXAAFilter.h
Chameleonhider/noleafclover
gpl-3.0
974
38
codeparrot/github-code
e7bd4832b536d00e1b05c9f0b0be49952dd36c8002286cfbe4c8504d61ec2dfe
#ifndef QEMU_HW_ACPI_MEMORY_HOTPLUG_H #define QEMU_HW_ACPI_MEMORY_HOTPLUG_H #include "hw/qdev-core.h" #include "hw/acpi/acpi.h" #include "migration/vmstate.h" #include "hw/acpi/aml-build.h" /** * MemStatus: * @is_removing: the memory device in slot has been requested to be ejected. * * This structure stores memor...
C
qemu/include/hw/acpi/memory_hotplug.h
SurajAnil/KernelVirtualMachine
gpl-3.0
1,897
58
codeparrot/github-code