code
stringlengths
3
1.05M
repo_name
stringlengths
4
116
path
stringlengths
3
942
language
stringclasses
30 values
license
stringclasses
15 values
size
int32
3
1.05M
-- Scarlet Crusader (28529) DELETE FROM `creature_text` WHERE `CreatureID`=28529; INSERT INTO `creature_text` (`CreatureID`,`GroupID`,`ID`,`Text`,`Type`,`Language`,`Probability`,`Emote`,`Duration`,`Sound`,`BroadcastTextId`,`TextRange`,`comment`) VALUES (28529,0,0,'Death stalks us! Destroy it!',12,0,100,0,0,0,28488,0,'...
lasyan3/TrinityCore
sql/updates/world/3.3.5/2018_06_21_01_world.sql
SQL
gpl-2.0
1,225
<?php /** * @package Joomla.UnitTest * @subpackage Linkedin * * @copyright Copyright (C) 2005 - 2020 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ /** * Test class for JLinkedinPeople. * * @package Joomla.UnitTest * ...
810/joomla-cms
tests/unit/suites/libraries/joomla/linkedin/JLinkedinPeopleTest.php
PHP
gpl-2.0
13,369
<?php /** * Zend Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://framework.zend.com/license/new-bsd * If you did not receive a copy of the license an...
akellehe/Restructuring-the-Edifice
wp-includes/ZendGdata-1.11.11/tests/Zend/Gdata/Gbase/QueryTest.php
PHP
gpl-2.0
1,464
/* * Copyright © 2006-2016 Intel 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 restriction, including without limitation * the rights to use, copy, modify, merge...
uniphier/linux-unph
drivers/gpu/drm/i915/intel_dpll_mgr.c
C
gpl-2.0
89,887
/* * Copyright 2010-2011 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 your option) * any late...
gnu-sandhi/sandhi
modules/gr36/gnuradio-core/src/lib/general/gr_core_api.h
C
gpl-3.0
1,060
<?php /* Copyright (C) 2014 Laurent Destailleur <eldy@users.sourceforge.net> * Copyright (C) 2015 Frederic France <frederic.france@free.fr> * * 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 So...
atm-robin/dolibarr
htdocs/core/actions_fetchobject.inc.php
PHP
gpl-3.0
1,522
// Inspired from https://github.com/tsi/inlineDisqussions (function () { 'use strict'; var website = openerp.website, qweb = openerp.qweb; website.blog_discussion = openerp.Class.extend({ init: function(options) { var self = this ; self.discus_identifier; ...
jjscarafia/odoo
addons/website_blog/static/src/js/website_blog.inline.discussion.js
JavaScript
agpl-3.0
9,713
// $Id$ // Author: Sergey Linev 21/12/2013 #ifndef ROOT_TCivetweb #define ROOT_TCivetweb #ifndef ROOT_THttpEngine #include "THttpEngine.h" #endif class TCivetweb : public THttpEngine { protected: void *fCtx; //! civetweb context void *fCallbacks; //! call-back table for civetweb webserv...
perovic/root
net/http/inc/TCivetweb.h
C
lgpl-2.1
821
' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. Imports System.Threading.Tasks Namespace Microsoft.CodeAnalysis.Editor.UnitTests.ReferenceHighlighting Public Class CSharpReferenceHighlightingTests ...
mmitche/roslyn
src/EditorFeatures/Test2/ReferenceHighlighting/CSharpReferenceHighlightingTests.vb
Visual Basic
apache-2.0
19,609
<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="refresh" content="0;URL=fn.glob64.html"> </head> <body> <p>Redirecting to <a href="fn.glob64.html">fn.glob64.html</a>...</p> <script>location.replace("fn.glob64.html" + location.search + location.hash);</script> </body> </html>
nitro-devs/nitro-game-engine
docs/libc/unix/notbsd/linux/other/glob64.v.html
HTML
apache-2.0
297
/* * Copyright (c) 2005-2009, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.ap...
madhawa-gunasekara/carbon-commons
components/event/org.wso2.carbon.event.ws/src/main/java/org/wso2/carbon/event/ws/internal/builders/exceptions/InvalidExpirationTimeException.java
Java
apache-2.0
1,026
require "cmd/missing" require "formula" require "keg" require "language/python" require "version" class Volumes def initialize @volumes = get_mounts end def which path vols = get_mounts path # no volume found if vols.empty? return -1 end vol_index = @volumes.index(vols[0]) # ...
wolfd/homebrew
Library/Homebrew/cmd/doctor.rb
Ruby
bsd-2-clause
40,730
require 'formula' class Sratom < Formula homepage 'http://drobilla.net/software/sratom/' url 'http://download.drobilla.net/sratom-0.4.6.tar.bz2' sha1 '5f7d18e4917e5a2fee6eedc6ae06aa72d47fa52a' bottle do cellar :any sha256 "9023b8427d0e4068c7ca9e9a66a18545c51af3e30fcf9566db74aacceff18d2b" => :yosemite ...
robrix/homebrew
Library/Formula/sratom.rb
Ruby
bsd-2-clause
738
// 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 "ui/views/corewm/window_animations.h" #include <math.h> #include <algorithm> #include <vector> #include "base/command_line.h" #include "ba...
DirtyUnicorns/android_external_chromium-org
ui/views/corewm/window_animations.cc
C++
bsd-3-clause
21,476
// 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. #ifndef CHROME_BROWSER_PASSWORD_MANAGER_NATIVE_BACKEND_GNOME_X_H_ #define CHROME_BROWSER_PASSWORD_MANAGER_NATIVE_BACKEND_GNOME_X_H_ #include <gnome-k...
androidarmv6/android_external_chromium_org
chrome/browser/password_manager/native_backend_gnome_x.h
C
bsd-3-clause
4,543
/* @flow */ function a(x: {[key: string]: ?string}, y: string): string { if (x[y]) { return x[y]; } return ""; } function b(x: {y: {[key: string]: ?string}}, z: string): string { if (x.y[z]) { return x.y[z]; } return ""; } function c(x: {[key: string]: ?string}, y: {z: string}): string { if (x[...
JohnyDays/flow
tests/refinements/property.js
JavaScript
bsd-3-clause
1,303
// Copyright 2012-2015 Oliver Eilhard. All rights reserved. // Use of this source code is governed by a MIT-license. // See http://olivere.mit-license.org/license.txt for details. package elastic import ( "encoding/json" "fmt" "log" "net/url" "strings" "github.com/olivere/elastic/uritemplates" ) var ( _ = fm...
seekingalpha/bosun
vendor/github.com/olivere/elastic/put_mapping.go
GO
mit
5,940
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Linq; using System.Text; using System.Windows.Forms; using UICore; namespace SlimTuneUI.CoreVis { [DisplayName("Hotspots")] public partial class HotSpots : UserControl, IVisualizer { ...
mohdmasd/slimtune
CoreVis/HotSpots.cs
C#
mit
5,633
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="robots" content="index, follow, all" /> <title>Thelia\Action\Brand | </title> <link rel="stylesheet" type="text/css" href="../../stylesheet.css"> </head> <body...
bibich/thelia.github.io
api/master/Thelia/Action/Brand.html
HTML
mit
12,926
<?php /* * This file is part of the Sylius package. * * (c) Paweł Jędrzejewski * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace spec\Sylius\Bundle\UserBundle\Reloader; use Doctrine\Common\Persistence\ObjectManager; use ...
wwojcik/Sylius
src/Sylius/Bundle/UserBundle/spec/Reloader/UserReloaderSpec.php
PHP
mit
1,079
/* * Power BI Visualizations * * Copyright (c) Microsoft Corporation * All rights reserved. * MIT License * * 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, inc...
yduit/PowerBI-visuals
src/Clients/PowerBIVisualsPlayground/sampleDataViews/SalesByCountryData.ts
TypeScript
mit
5,374
// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause /* * Copyright (c) 2014 Raspberry Pi (Trading) Ltd. All rights reserved. * Copyright (c) 2010-2012 Broadcom. All rights reserved. */ #include <linux/kernel.h> #include <linux/module.h> #include <linux/sched/signal.h> #include <linux/types.h> #include <linux/errno....
penberg/linux
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c
C
gpl-2.0
73,481
<?php /** * @package Joomla.Site * @subpackage mod_custom * * @copyright Copyright (C) 2005 - 2020 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; if ($params->def('prepare_content', 1)) { JPluginHe...
810/joomla-cms
modules/mod_custom/mod_custom.php
PHP
gpl-2.0
626
/* * drivers/net/ethernet/mellanox/mlxsw/pci.h * Copyright (c) 2015 Mellanox Technologies. All rights reserved. * Copyright (c) 2015 Jiri Pirko <jiri@mellanox.com> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: ...
zzpu/linux-stack
drivers/net/ethernet/mellanox/mlxsw/pci.h
C
gpl-2.0
7,598
// license:BSD-3-Clause // copyright-holders:Ville Linde // TMS32082 MP Disassembler #ifndef MAME_CPU_TMS32082_DIS_MP_H #define MAME_CPU_TMS32082_DIS_MP_H #pragma once class tms32082_mp_disassembler : public util::disasm_interface { public: tms32082_mp_disassembler() = default; virtual ~tms32082_mp_disassembler() ...
johnparker007/mame
src/devices/cpu/tms32082/dis_mp.h
C
gpl-2.0
1,012
// license:BSD-3-Clause // copyright-holders:Ryan Holtz //============================================================ // // clearreader.cpp - BGFX clear state JSON reader // //============================================================ #include <bgfx/bgfx.h> #include "clearreader.h" #include "clear.h" clear_stat...
johnparker007/mame
src/osd/modules/render/bgfx/clearreader.cpp
C++
gpl-2.0
2,264
#pragma once #include "Panel.h" namespace ui { class ScrollPanel: public Panel { protected: int scrollBarWidth; Point maxOffset; float offsetX; float offsetY; float yScrollVel; float xScrollVel; bool isMouseInsideScrollbar; bool isMouseInsideScrollbarArea; bool scrollbarSelected; int scrollbarI...
Brilliant-Minds/BMN-Powder-Toy-Old
src/gui/interface/ScrollPanel.h
C
gpl-3.0
870
/*! \file gd32f4xx_misc.c \brief MISC driver \version 2016-08-15, V1.0.0, firmware for GD32F4xx \version 2018-12-12, V2.0.0, firmware for GD32F4xx \version 2018-12-25, V2.1.0, firmware for GD32F4xx (The version is for mbed) */ /* Copyright (c) 2018, GigaDevice Semiconductor Inc. All righ...
mbedmicro/mbed
targets/TARGET_GigaDevice/TARGET_GD32F4XX/GD32F4xx_standard_peripheral/Source/gd32f4xx_misc.c
C
apache-2.0
7,130
/* * linux/net/sunrpc/svcsock.c * * These are the RPC server socket internals. * * The server scheduling algorithm does not always distribute the load * evenly when servicing a single client. May need to modify the * svc_xprt_enqueue procedure... * * TCP support is largely untested and may be a little slow. Th...
WhiteBearSolutions/WBSAirback
packages/wbsairback-kernel-image/wbsairback-kernel-image-3.2.43/net/sunrpc/svcsock.c
C
apache-2.0
44,069
/**************************************************************************** * * Copyright 2017 Samsung Electronics 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...
jsdosa/TizenRT
os/arch/arm/src/tiva/chip/tm4c_memorymap.h
C
apache-2.0
40,424
/* Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, ...
shakamunyi/kubernetes
vendor/k8s.io/sample-apiserver/pkg/client/informers/externalversions/wardle/v1alpha1/interface.go
GO
apache-2.0
1,483
/* * 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 ...
dennishuo/hadoop
hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/util/TestFindClass.java
Java
apache-2.0
6,169
/* * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
tiarebalbi/spring-boot
spring-boot-project/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/web/servlet/AutoConfigureMockMvc.java
Java
apache-2.0
2,989
// 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 IPC_IPC_MESSAGE_TEMPLATES_IMPL_H_ #define IPC_IPC_MESSAGE_TEMPLATES_IMPL_H_ #include <tuple> namespace IPC { template <typename... Ts> class Pa...
ssaroha/node-webrtc
third_party/webrtc/include/chromium/src/ipc/ipc_message_templates_impl.h
C
bsd-2-clause
3,362
#!/usr/bin/python # -*- coding: utf-8 -*- # Copyright: (c) 2017, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type ANSIBLE_METADATA = {'metadata_version': '1.1', ...
e-gob/plataforma-kioscos-autoatencion
scripts/ansible-play/.venv/lib/python2.7/site-packages/ansible/modules/files/acl.py
Python
bsd-3-clause
11,261
// Copyright 2011 Google Inc. All Rights Reserved. // // Use of this source code is governed by a BSD-style license // that can be found in the COPYING file in the root of the source // tree. An additional intellectual property rights grant can be found // in the file PATENTS. All contributing project authors may // be...
redengineer/libwebp
src/enc/quant.c
C
bsd-3-clause
41,693
<!-- 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 found at http://polymer....
laperry1/android_external_chromium_org
third_party/polymer/components-chromium/paper-dialog/paper-dialog.html
HTML
bsd-3-clause
3,299
<?php /** * * This file is part of the phpBB Forum Software package. * * @copyright (c) phpBB Limited <https://www.phpbb.com> * @license GNU General Public License, version 2 (GPL-2.0) * * For full copyright and license information, please see * the docs/CREDITS.txt file. * */ namespace phpbb\template; interface temp...
kivi8/ars-poetica
www/forum/phpbb/template/template.php
PHP
bsd-3-clause
5,881
//################################################################################################################## // #TOOLBAR# /* global CMS */ (function ($) { 'use strict'; // CMS.$ will be passed for $ $(document).ready(function () { /*! * Toolbar * Handles all features relat...
josjevv/django-cms
cms/static/cms/js/modules/cms.toolbar.js
JavaScript
bsd-3-clause
22,476
Tratamento de Erros =============== Yii inclui um [[yii\web\ErrorHandler|error handler]] o que torna o tratamento de erros uma experiência muito mais agradável do que antes. Em particular, o manipulador de erro do Yii faz o seguinte para melhorar o tratamento de erros: * Todos os erros não-fatais do PHP (ex. advertên...
zhoujiafei/yii2-1
docs/guide-pt-BR/runtime-handling-errors.md
Markdown
bsd-3-clause
8,290
from __future__ import absolute_import import psycopg2 as Database # Some of these imports are unused, but they are inherited from other engines # and should be available as part of the backend ``base.py`` namespace. from django.db.backends.postgresql_psycopg2.base import ( # NOQA DatabaseWrapper, DatabaseFeatur...
Kryz/sentry
src/sentry/db/postgres/base.py
Python
bsd-3-clause
2,640
import foo from "foo"; import {default as foo2} from "foo";
hawkrives/6to5
test/fixtures/transformation/es6-modules-umd/imports-default/actual.js
JavaScript
mit
60
<!-- The MIT License Copyright (c) 2004-, Kohsuke Kawaguchi, Sun Microsystems, Inc., and a number of other of contributors 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, inc...
ydubreuil/ec2-plugin
src/main/resources/hudson/plugins/ec2/SlaveTemplate/help-idleTerminationMinutes.html
HTML
mit
2,138
/*********************************************************************** Copyright (c) 2006-2011, Skype Limited. 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 retai...
yagoazedias/plugue-discord-bot
node_modules/opusscript/opus-native/silk/NLSF_del_dec_quant.c
C
mit
11,912
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react"), require("react-onclickoutside"), require("moment")); else if(typeof define === 'function' && define.amd) define(["react", "react-onclickoutside", "mo...
tholu/cdnjs
ajax/libs/react-datepicker/0.59.0/react-datepicker.js
JavaScript
mit
229,566
// { dg-options "-std=gnu++0x" } // { dg-do compile } // Copyright (C) 2007-2013 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the // terms of the GNU General Public License as published by the // Fre...
Xilinx/gcc
libstdc++-v3/testsuite/23_containers/unordered_multiset/requirements/explicit_instantiation/3.cc
C++
gpl-2.0
953
<?php /** * OG behavior handler. */ class OgBehaviorHandler extends EntityReference_BehaviorHandler_Abstract { /** * Implements EntityReference_BehaviorHandler_Abstract::access(). */ public function access($field, $instance) { return $field['settings']['handler'] == 'og' || strpos($field['settings']['...
johnlaine1/installer
sites/all/modules/og/plugins/entityreference/behavior/OgBehaviorHandler.class.php
PHP
gpl-2.0
9,888
/* * Copyright (C)2003,2004 USAGI/WIDE Project * * 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. * * Author: * Yasuyuki Kozakai @USAGI <yasuyuki.kozakai@toshiba.co.jp> */ #in...
minipli/linux-grsec
net/ipv6/netfilter/nf_conntrack_proto_icmpv6.c
C
gpl-2.0
11,142
require("lua-xwrt.addon.string") require("lua-xwrt.addon.uci") require("lua-xwrt.html.form") require("lua-xwrt.xwrt.translator") require("lua-xwrt.addon.io") --io.stderr = io.stdout function upload(dir,file) print(dir,file) local algo = util.file_load("/etc/openssl/"..dir.."/"..file) print([[Pragma: public Expires: 0...
stevelord/PR30
feeds/xwrt/webif-iw-lua-openssl/files/usr/lib/lua/lua-xwrt/openssl.lua
Lua
gpl-2.0
38,586
// 2005-12-20 Paolo Carlini <pcarlini@suse.de> // Copyright (C) 2005-2013 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library 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 Sof...
skristiansson/eco32-gcc
libstdc++-v3/testsuite/23_containers/deque/modifiers/swap/2.cc
C++
gpl-2.0
3,966
# OMAP Platform Support snd-soc-omap-objs := omap-pcm.o snd-soc-omap-mcbsp-objs := omap-mcbsp.o obj-$(CONFIG_SND_OMAP_SOC) += snd-soc-omap.o obj-$(CONFIG_SND_OMAP_SOC_MCBSP) += snd-soc-omap-mcbsp.o # OMAP Machine Support snd-soc-n810-objs := n810.o snd-soc-osk5912-objs := osk5912.o obj-$(CONFIG_SND_OMAP_SOC_N810) +=...
ZhizhouTian/s3c-linux
sound/soc/omap/Makefile
Makefile
gpl-2.0
392
<?php require_once($CFG->libdir.'/simpletest/testportfoliolib.php'); require_once($CFG->dirroot.'/portfolio/download/lib.php'); /* * TODO: The portfolio unit tests were obselete and did not work. * They have been commented out so that they do not break the * unit tests in Moodle 2. * * At some point: * 1. These ...
dhamma-dev/SEA
web/portfolio/download/simpletest/testportfolioplugindownload.php
PHP
gpl-3.0
1,151
// 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. #ifndef CHROME_BROWSER_CHROMEOS_POLICY_ENROLLMENT_HANDLER_CHROMEOS_H_ #define CHROME_BROWSER_CHROMEOS_POLICY_ENROLLMENT_HANDLER_CHROMEOS_H_ #include ...
s20121035/rk3288_android5.1_repo
external/chromium_org/chrome/browser/chromeos/policy/enrollment_handler_chromeos.h
C
gpl-3.0
8,247
<# .SYNOPSIS Payload which could execute shellcode from DNS TXT queries. .DESCRIPTION This payload is able to pull shellcode from txt record of a domain. It has been tested for first stage of meterpreter shellcode generated using msf. Below commands could be used to generate shellcode to be usable with this payload ....
Luffin/webshell
aspx/nishang/Execution/Execute-DNSTXT-Code.ps1
PowerShell
gpl-3.0
3,342
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>CSS 2.1 Test Suite: Comments: Comment inside a declaration, with a space</title> <link rel="author" title="Gabriele...
shinglyu/servo
tests/wpt/web-platform-tests/css/work-in-progress/gabriele/basic/sec4/comments2.html
HTML
mpl-2.0
781
/********** This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. (See <http://www.gnu.org/copyleft/lesser.html>.) This libr...
hungld87/live555-for-win32
liveMedia/include/VP8VideoRTPSink.hh
C++
lgpl-2.1
1,917
/* * 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...
a2lin/elasticsearch
core/src/test/java/org/elasticsearch/search/aggregations/bucket/histogram/DateHistogramAggregatorTests.java
Java
apache-2.0
18,412
/* * Copyright 2013 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
ITVlab/neodash
module-dashclock/src/main/java/com/google/android/apps/dashclock/phone/SmsExtension.java
Java
apache-2.0
16,299
/* * 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...
mread/buck
src/com/facebook/buck/util/ThriftWatcher.java
Java
apache-2.0
1,473
/** * 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...
curso007/camel
components/camel-netty4-http/src/main/java/org/apache/camel/component/netty4/http/NettyHttpEndpoint.java
Java
apache-2.0
10,739
/* * 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 ...
mahak/spark
mllib/src/main/scala/org/apache/spark/ml/util/Instrumentation.scala
Scala
apache-2.0
7,562
function getElements(className) { return Array.from(document.getElementsByClassName(className)); } window.onload = function() { // Force a reflow before any changes. document.body.clientWidth; getElements('remove').forEach(function(e) { e.remove(); }); getElements('remove-after').forEach(function(e) { ...
nwjs/chromium.src
third_party/blink/web_tests/external/wpt/css/css-ruby/support/ruby-dynamic-removal.js
JavaScript
bsd-3-clause
374
// 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 "ash/metrics/task_switch_time_tracker.h" #include <string> #include "ash/test/task_switch_time_tracker_test_api.h" #include "base/test/histogra...
Chilledheart/chromium
ash/metrics/task_switch_time_tracker_unittest.cc
C++
bsd-3-clause
3,152
// { dg-do assemble { target fpic } } // { dg-options "-O0 -fpic" } // Origin: Jakub Jelinek <jakub@redhat.com> struct bar { bar() {} double x[3]; }; static bar y[4]; void foo(int z) { bar w; y[z] = w; }
shaotuanchen/sunflower_exp
tools/source/gcc-4.2.4/gcc/testsuite/g++.old-deja/g++.other/local-alloc1.C
C++
bsd-3-clause
215
/** * @license Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md or http://ckeditor.com/license */ 'use strict'; ( function() { var template = '<img alt="" src="" />', templateBlock = new CKEDITOR.template( '<figure class="{captionedClass}">' + ...
quepasso/dashboard
web/bundles/ivoryckeditor/plugins/image2/plugin.js
JavaScript
mit
58,206
<?php /** * Zend Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://framework.zend.com/license/new-bsd * If you did not receive a copy of the license an...
hansbonini/cloud9-magento
www/lib/Zend/Ldap/Filter/Logical.php
PHP
mit
2,952
/* * Copyright (C) 2015 Actor LLC. <https://actor.im> */ package im.actor.core; import com.google.j2objc.annotations.ObjectiveCName; import org.jetbrains.annotations.NotNull; import java.util.ArrayList; import im.actor.runtime.mtproto.ConnectionEndpoint; /** * Configuration builder for starting up messenger ob...
luoxiaoshenghustedu/actor-platform
actor-apps/core/src/main/java/im/actor/core/ConfigurationBuilder.java
Java
mit
8,199
using Microsoft.IdentityModel.Clients.ActiveDirectory; using Office365Api.Graph.Simple.MailAndFiles.Helpers; using Office365Api.Graph.Simple.MailAndFiles.Models; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Web; using System.Web.Mvc; namespace Office365...
yagoto/PnP
Samples/MicrosoftGraph.Office365.Simple.MailAndFiles/Office365Api.Graph.Simple.MailAndFiles/Controllers/HomeController.cs
C#
mit
3,267
from random import shuffle def bogosort(arr): while not sorted(arr) == arr: shuffle(arr) return arr
warreee/Algorithm-Implementations
Bogosort/Python/jcla1/bogosort.py
Python
mit
116
// 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. /*============================================================================= ** ** ** ** Purpose: The exception c...
bartonjs/coreclr
src/mscorlib/src/System/InsufficientExecutionStackException.cs
C#
mit
1,547
/////////////////////////////////////////////////////////////////////////////// // /// \file mytime.c /// \brief Time handling functions // // Author: Lasse Collin // // This file has been put into the public domain. // You can do whatever you want with this file. // //////////////////////////////////...
Speedy37/DiskImager
xz-5.2.2/src/xz/mytime.c
C
mit
2,056
/* * Copyright (c) 2007-2012 SlimDX Group * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, ...
Villacaleb/slimdx
source/xapo/BaseProcessor.h
C
mit
5,504
/* * Copyright 2008 Advanced Micro Devices, Inc. * Copyright 2008 Red Hat Inc. * Copyright 2009 Jerome Glisse. * * 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, in...
dancefire/hd806-kernel-android
drivers/gpu/drm/radeon/radeon_device.c
C
gpl-2.0
22,078
/* SPDX-License-Identifier: GPL-2.0 */ /* spinlock.h: 32-bit Sparc spinlock support. * * Copyright (C) 1997 David S. Miller (davem@caip.rutgers.edu) */ #ifndef __SPARC_SPINLOCK_H #define __SPARC_SPINLOCK_H #ifndef __ASSEMBLY__ #include <asm/psr.h> #include <asm/barrier.h> #include <asm/processor.h> /* for cpu_rel...
BPI-SINOVOIP/BPI-Mainline-kernel
linux-4.14/arch/sparc/include/asm/spinlock_32.h
C
gpl-2.0
4,740
/* * Copyright (c) 2008-2009 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...
pichina/linux-bcache
drivers/net/wireless/ath9k/phy.c
C
gpl-2.0
11,036
/***************************************************************************** * * @file pi_profiler.c * * Kona Power Island Profiler * * Copyright 2012 Broadcom Corporation. All rights reserved. * * Unless you and Broadcom execute a separate written software license * agreement governing use of this software, this so...
baran0119/kernel_samsung_baffinlitexx
arch/arm/plat-kona/pi_profiler.c
C
gpl-2.0
8,354
# mustache.js - Logic-less {{mustache}} templates with JavaScript > What could be more logical awesome than no logic at all? [mustache.js](http://github.com/janl/mustache.js) is an implementation of the [mustache](http://mustache.github.com/) template system in JavaScript. [Mustache](http://mustache.github.com/) is ...
oscaremr/ace
web/mustache/js/node_modules/mustache/README.md
Markdown
gpl-2.0
12,064
/* * Copyright (C) 2013 Fusion IO. 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 v2 as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WI...
IntelBUAP/Repo-Linux-RT
fs/btrfs/tests/extent-io-tests.c
C
gpl-2.0
10,833
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ // // Copyright (c) 2009 INESC Porto // // 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 distr...
Viyom/Implementation-of-TCP-Delayed-Congestion-Response--DCR--in-ns-3
src/flow-monitor/test/histogram-test-suite.cc
C++
gpl-2.0
2,452
<?php // 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...
dhamma-dev/SEA
web/grade/export/ods/export.php
PHP
gpl-3.0
2,057
use utf8; package Koha::Schema::Result::Permission; # Created by DBIx::Class::Schema::Loader # DO NOT MODIFY THE FIRST PART OF THIS FILE =head1 NAME Koha::Schema::Result::Permission =cut use strict; use warnings; use base 'DBIx::Class::Core'; =head1 TABLE: C<permissions> =cut __PACKAGE__->table("permissions");...
eskaaren/koha-dev
Koha/Schema/Result/Permission.pm
Perl
gpl-3.0
1,954
/* * Copyright 2010-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
xuzha/aws-sdk-java
aws-java-sdk-cloudformation/src/main/java/com/amazonaws/services/cloudformation/model/ResourceStatus.java
Java
apache-2.0
2,846
/* * 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 ...
tknandu/CommonsMath_Modifed
math (trunk)/src/test/java/org/apache/commons/math3/optimization/general/RandomCirclePointGenerator.java
Java
apache-2.0
3,637
# Copyright 2011 James McCauley # Copyright 2008 (C) Nicira, Inc. # # This file is part of POX. # # POX 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) an...
srijanmishra/RouteFlow
pox/pox/lib/packet/udp.py
Python
apache-2.0
5,386
// +build !ignore_autogenerated /* Copyright The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable l...
enj/origin
vendor/k8s.io/kubernetes/pkg/controller/replicaset/config/v1alpha1/zz_generated.conversion.go
GO
apache-2.0
5,131
cask "air-connect" do version "2.0.1,26526" sha256 "e8f93fbcb626241f9cbe0f934cf9dada319f3f80399ec83558aa696988575b2a" url "https://www.avatron.com/updates/software/airconnect_mac/acmac#{version.before_comma.no_dots}.zip" name "Air Connect" homepage "https://avatron.com/get-air-connect/" livecheck do u...
stephenwade/homebrew-cask
Casks/air-connect.rb
Ruby
bsd-2-clause
446
--- template: example.html title: Graticule example shortdesc: This example shows how to add a graticule overlay to a map. docs: > This example shows how to add a graticule overlay to a map. tags: "graticule" --- <div class="row-fluid"> <div class="span12"> <div id="map" class="map"></div> </div> </div>
tuwien-geoweb-2015/g01-block4
node_modules/openlayers/examples/graticule.html
HTML
bsd-2-clause
315
// Copyright 2017 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package iface_b import "testshared/iface_i" //go:noinline func F() interface{} { return (*iface_i.T)(nil) } //go:noinline func G() iface_i.I { return (*ifa...
akutz/go
misc/cgo/testshared/testdata/iface_b/b.go
GO
bsd-3-clause
335
// Copyright (c) 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/chromeos/login/hwid_checker.h" #include <cstdio> #include "base/chromeos/chromeos_version.h" #include "base/command_line.h"...
windyuuy/opera
chromium/src/chrome/browser/chromeos/login/hwid_checker.cc
C++
bsd-3-clause
4,448
export { VolumeMuteFilled16 as default } from "../../";
markogresak/DefinitelyTyped
types/carbon__icons-react/es/volume--mute--filled/16.d.ts
TypeScript
mit
56
// 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.Linq.Expressions; using System.Runtime.CompilerServices; using Tests.ExpressionCompiler...
comdiv/corefx
src/System.Linq.Expressions/tests/HelperTypes.cs
C#
mit
4,525
{% extends "registration/base.html" %} {% block title %}Logged out{% endblock %} {% block content %} <h1>You've been logged out.</h1> <p>Thanks for stopping by; when you come back, don't forget to <a href="/accounts/login/">log in</a> again.</p> {% endblock %}
GMadorell/cookiecutter_django_buildout
{{ cookiecutter.repo_name }}/src/templates/registration/logout.html
HTML
mit
262
/* * L2TPv3 IP encapsulation support * * Copyright (c) 2008,2009,2010 Katalix Systems Ltd * * 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...
val2k/linux
net/l2tp/l2tp_ip.c
C
gpl-2.0
16,646
/* * fs/dcache.c * * Complete reimplementation * (C) 1997 Thomas Schoebel-Theuer, * with heavy changes by Linus Torvalds */ /* * Notes on the allocation strategy: * * The dcache is a master of the icache - whenever a dcache entry * exists, the inode will always exist. "iput()" is done either when * the dcac...
semdoc/kernel_google_msm
fs/dcache.c
C
gpl-2.0
79,742
/* * * Copyright (C) 2011 Novell Inc. * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 as published by * the Free Software Foundation. */ #include <linux/fs.h> #include <linux/namei.h> #include <linux/xattr.h> #include <lin...
Blefish/kernel_common
fs/overlayfs/dir.c
C
gpl-2.0
22,541
<?php require_once('HTML/QuickForm/submit.php'); /** * HTML class for a submit type element * * @author Jamie Pratt * @access public */ class MoodleQuickForm_cancel extends MoodleQuickForm_submit { // {{{ constructor /** * Class constructor * * @since 1.0 * @access ...
feniix/moodle
lib/form/cancel.php
PHP
gpl-2.0
1,501
/* -*- c++ -*- ---------------------------------------------------------- LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator http://lammps.sandia.gov, Sandia National Laboratories Steve Plimpton, sjplimp@sandia.gov Copyright (2003) Sandia Corporation. Under the terms of Contract DE-AC04...
ganzenmg/lammps_current
src/USER-CG-CMM/pair_lj_sdk_coul_long.h
C
gpl-2.0
2,200
/* * Copyright 2012-16 Advanced Micro Devices, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify...
chenshuo/linux-study
drivers/gpu/drm/amd/display/dc/clk_mgr/dce112/dce112_clk_mgr.c
C
gpl-2.0
8,472
// Wrapper for underlying C-language localization -*- C++ -*- // Copyright (C) 2001-2013 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the // terms of the GNU General Public License as published by th...
atgreen/gcc
libstdc++-v3/config/locale/ieee_1003.1-2001/c_locale.h
C
gpl-2.0
1,684
package teammates.test.pageobjects; public class EntityNotFoundPage extends AppPage { public EntityNotFoundPage(Browser browser) { super(browser); } @Override protected boolean containsExpectedPageContents() { return getPageSource().contains("TEAMMATES could not locate what you were t...
LiHaoTan/teammates
src/test/java/teammates/test/pageobjects/EntityNotFoundPage.java
Java
gpl-2.0
349