code stringlengths 3 1.01M | repo_name stringlengths 5 116 | path stringlengths 3 311 | language stringclasses 30
values | license stringclasses 15
values | size int64 3 1.01M |
|---|---|---|---|---|---|
/*
* kernel/power/suspend.c - Suspend to RAM and standby functionality.
*
* Copyright (c) 2003 Patrick Mochel
* Copyright (c) 2003 Open Source Development Lab
* Copyright (c) 2009 Rafael J. Wysocki <rjw@sisk.pl>, Novell Inc.
*
* This file is released under the GPLv2.
*/
#define pr_fmt(fmt) "PM: " fmt
#include... | jmahler/linux-next | kernel/power/suspend.c | C | gpl-2.0 | 15,184 |
require 'faker'
FactoryBot.define do
factory :kudo do |f|
f.commentable_id { FactoryBot.create(:work).id }
f.commentable_type { "Work" }
end
end
| ariana-paris/otwarchive | factories/kudos.rb | Ruby | gpl-2.0 | 158 |
/*
* Copyright(c) 2009 Intel Corporation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free Software Foundation.
*
* This program is distributed in the hope it ... | curbthepain/revkernel_us990 | drivers/scsi/fcoe/fcoe.h | C | gpl-2.0 | 3,041 |
/****************************************************************************
**
** This file is part of the Qt Extended Opensource Package.
**
** Copyright (C) 2009 Trolltech ASA.
**
** Contact: Qt Extended Information (info@qtextended.org)
**
** This file may be used under the terms of the GNU General Public License
... | liuyanghejerry/qtextended | src/server/ui/abstractinterfaces/slideinmessagebox/slideinmessagebox.h | C | gpl-2.0 | 1,994 |
<?php
/**
* @version $Id: moduleposition.php 4795 2012-10-30 23:22:49Z steph $
* @author RocketTheme http://www.rockettheme.com
* @copyright Copyright (C) 2007 - 2015 RocketTheme, LLC
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
*/
defined('JPATH_BASE') or die;
jimport('joomla.form.f... | aarguellesuninorte/espanolsinrollos | tmp/install_5541379120743/mod_roknavmenu/fields/moduleposition.php | PHP | gpl-2.0 | 2,830 |
<?php
class UpdateObject
{
var $soapclient;
function UpdateObject()
{
$this->soapclient = new SoapClient("http://".$GLOBALS['apiusername'].":".$GLOBALS['apipassword']."@".$GLOBALS['epacehost']."/rpc/services/UpdateObject?wsdl", array("trace"=> 1,'login' => $GLOBALS['apiusername'], 'password' => $GLOBA... | tmansuri/dev.transport.tc | wp-content/plugins/orders/classes/pace/updateObject.php | PHP | gpl-2.0 | 448 |
@charset "iso-8859-1";
A:link {text-decoration: none; color: #000066;}
A:hover {text-decoration: underline; color: #3333ff; }
A:active {text-decoration: none;}
A:visited {text-decoration: none; color: #000066;}
A:visited:hover {text-decoration: underline; color: #3333ff; }
| timschofield/care2x | css/linkcolor.css | CSS | gpl-2.0 | 275 |
/*********************************************************************
*
* Filename: ircomm_tty_attach.h
* Version:
* Description:
* Status: Experimental.
* Author: Dag Brattli <dagb@cs.uit.no>
* Created at: Wed Jun 9 15:55:18 1999
* Modified at: Fri Dec 10 21:04:55 1999
* Modified by:... | davidmueller13/arter97_bb | include/net/irda/ircomm_tty_attach.h | C | gpl-2.0 | 3,199 |
<?php
/**
* @package Joomla.Platform
* @subpackage Google
*
* @copyright (C) 2013 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE
*/
defined('JPATH_PLATFORM') or die;
use Joomla\Registry\Registry;
/**
* Google+ data class for ... | zero-24/joomla-cms | libraries/joomla/google/data/plus/comments.php | PHP | gpl-2.0 | 3,539 |
/*
* Copyright (c) 2007, 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... | YouDiSN/OpenJDK-Research | jdk9/jdk/test/java/util/ArrayList/RangeCheckMicroBenchmark.java | Java | gpl-2.0 | 9,205 |
/*
* This file is part of the TrinityCore Project. See AUTHORS file for Copyright information
*
* 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
... | Regigicas/TrinityCore | src/server/bnetserver/Services/ConnectionService.h | C | gpl-2.0 | 1,635 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Aloha Editor</title>
<meta name="description" content="The world's most advanced browser HTML5 based WYSIWYG editor lets you experience a whole new way of editing." />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />... | scottkjameson/Aloha-Editor | doc/api/output/symbols/block.editor.EmailEditor.html | HTML | gpl-2.0 | 7,782 |
/*
*/
#include <linux/kernel.h>
#include <linux/device.h>
#include <linux/mutex.h>
#include <linux/module.h>
#include <linux/gpio.h>
#include <linux/i2c.h>
#include <linux/spi/spi.h>
#include <linux/spi/mcp23s08.h>
#include <linux/slab.h>
#include <asm/byteorder.h>
/*
... | holyangel/LGE_G3 | drivers/gpio/gpio-mcp23s08.c | C | gpl-2.0 | 16,031 |
<?php defined('_JEXEC') or die;
if (JFactory::getApplication()->isSite())
{
JSession::checkToken('get') or die(JText::_('JINVALID_TOKEN'));
}
JHtml::_('behavior.tooltip');
$function = JRequest::getCmd('function', 'jSelectCallback');
$listOrder = $this->escape($this->state->get('list.ordering'));
$listDirn =... | scarsroga/blog-soa | administrator/components/com_oziogallery3/views/galleries/tmpl/modal.php | PHP | gpl-2.0 | 4,459 |
using MediaBrowser.Common;
using MediaBrowser.Common.Configuration;
using MediaBrowser.Common.ScheduledTasks;
using MediaBrowser.Model.Logging;
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace MediaBrowser.Server.Implementations.ScheduledTasks
{
/// <... | AreaKode/Emby | MediaBrowser.Server.Implementations/ScheduledTasks/SystemUpdateTask.cs | C# | gpl-2.0 | 5,031 |
<?php
/**
* User utilities.
*
* Copyright: © 2009-2011
* {@link http://www.websharks-inc.com/ WebSharks, Inc.}
* (coded in the USA)
*
* Released under the terms of the GNU General Public License.
* You should have received a copy of the GNU General Public License,
* along with this software. In the main directory, see:... | rjlchris/network-buckets | wp-content/plugins/s2member/includes/classes/utils-users.inc.php | PHP | gpl-2.0 | 18,297 |
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>QDPlugin Class Reference</title>
<link href="classic.css" rel="stylesheet" type="text/css" />
</head>
<b... | librelab/qtmoko-test | doc/html/qtopiadesktop/qdplugin.html | HTML | gpl-2.0 | 6,800 |
<?php
/*
@author dhtmlx.com
@license GPL, see license.txt
*/
require_once("base_connector.php");
class CommonDataProcessor extends DataProcessor{
protected function get_post_values($ids){
if (isset($_GET['action'])){
$data = array();
if (isset($_POST["id"])){
$dataset = array();
foreach($_POST as $k... | casser/dhx | samples/dhtmlxList/common/connector/data_connector.php | PHP | gpl-2.0 | 14,410 |
@import url(http://fonts.googleapis.com/css?family=Nothing+You+Could+Do);
@import url(http://fonts.googleapis.com/css?family=Pacifico);
@import url(http://fonts.googleapis.com/css?family=Raleway:400,300,200,500,100,600,700,800,900);
@import url(http://fonts.googleapis.com/css?family=Droid+Serif:400,400italic,700,700ita... | mikeusry/lad | sites/all/themes/jollyness_sub/assets/css/style-darkblue.css | CSS | gpl-2.0 | 207,439 |
#ifndef _ASM_WORD_AT_A_TIME_H
#define _ASM_WORD_AT_A_TIME_H
/*
... | holyangel/LGE_G3 | arch/x86/include/asm/word-at-a-time.h | C | gpl-2.0 | 1,932 |
/*
* drivers/input/touchscreen/zt8031.h
*
* (C) Copyright 2007-2012
* Allwinner Technology Co., Ltd. <www.allwinnertech.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 vers... | christiantroy/linux-allwinner | drivers/input/touchscreen/zt8031.h | C | gpl-2.0 | 4,011 |
<?php
/**
* Cpdf
*
* http://www.ros.co.nz/pdf
*
* A PHP class to provide the basic functionality to create a pdf document without
* any requirement for additional modules.
*
* Note that they companion class CezPdf can be used to extend this class and dramatically
* simplify the creation of documents.
*
* IMPORTANT NOTE... | euqip/glpi-smartcities | plugins/barcode/lib/ezpdf/class.pdf.php | PHP | gpl-2.0 | 100,847 |
class Component {
/**
* Generic constructor for all components
* @constructor
* @param {Element} el
* @param {Object} options
*/
constructor(classDef, el, options) {
// Display error if el is valid HTML Element
if (!(el instanceof Element)) {
console.error(Error(el + ' is not an HTML El... | 5x5Game/5x5Game.github.io | node_modules/materialize-css/js/component.js | JavaScript | gpl-2.0 | 1,098 |
/* Measure bcopy functions.
Copyright (C) 2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C 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... | SanDisk-Open-Source/SSD_Dashboard | uefi/userspace/glibc/benchtests/bench-bcopy.c | C | gpl-2.0 | 858 |
/*
* Copyright (c) 2000, 2017, 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 ... | md-5/jdk10 | src/java.desktop/share/classes/javax/print/attribute/Size2DSyntax.java | Java | gpl-2.0 | 12,328 |
<?php
/**
* @package Joomla.Libraries
* @subpackage Less
*
* @copyright (C) 2014 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('JPATH_PLATFORM') or die;
/**
* Formatter ruleset for Joomla formatted CSS generate... | zero-24/joomla-cms | libraries/cms/less/formatter/joomla.php | PHP | gpl-2.0 | 678 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>Font Face Demo</title>
<link rel="stylesheet" href="s... | RemanenceStudio/intuisens | wp-content/themes/intuisens/css/fonts/yanone/demo.html | HTML | gpl-2.0 | 3,034 |
/* Copyright (c) 2009, 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... | bebek15/samsung_kernel_msm7x27 | drivers/media/video/msm/msm_camera_tass.c | C | gpl-2.0 | 61,108 |
/*
* Asterisk -- An open source telephony toolkit.
*
* Copyright (C) 1999 - 2005, Digium, Inc.
*
* Martin Pycko <martinp@digium.com>
*
* See http://www.asterisk.org for more information about
* the Asterisk project. Please do not directly contact
* any of the maintainers of this project for assistance;
* the ... | mehulsbhatt/asterisk | include/asterisk/causes.h | C | gpl-2.0 | 6,559 |
<?php
/**
* @package Joomla.Test
* @subpackage AcceptanceTester.Page
*
* @copyright Copyright (C) 2005 - 2016 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
namespace Page\Acceptance\Administrator;
/**
* Acceptance Page obj... | jatitoam/gsoc16_browser-automated-tests | tests/codeception/_support/Page/Acceptance/Administrator/ControlPanelPage.php | PHP | gpl-2.0 | 823 |
base-feature
============
Base Feature | electricthread/naacc | sites/all/modules/_features/d7_base_feature/README.md | Markdown | gpl-2.0 | 39 |
/* BGP Extended Communities Attribute.
Copyright (C) 2000 Kunihiro Ishiguro <kunihiro@zebra.org>
This file is part of GNU Zebra.
GNU Zebra 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 ... | robacklin/uclinux-users | zebra/bgpd/bgp_ecommunity.h | C | gpl-2.0 | 2,647 |
var searchData=
[
['_7emd_5fmax72xx',['~MD_MAX72XX',['../class_m_d___m_a_x72_x_x.html#afffa5b85187905f713477435187b3759',1,'MD_MAX72XX']]]
];
| Jaeger87/OpenBasiligotchi | BasilicoWiFi/libraries/MD_MAX72xx/doc/html/search/functions_9.js | JavaScript | gpl-3.0 | 144 |
-----------------------------------
-- Area: Garlaige Citadel
-- MOB: Over Weapon
-----------------------------------
require("scripts/globals/groundsofvalor");
-----------------------------------
-- onMobDeath
-----------------------------------
function onMobDeath(mob,killer,ally)
checkGoVregime(ally,mob,705,... | nesstea/darkstar | scripts/zones/Garlaige_Citadel/mobs/Over_Weapon.lua | Lua | gpl-3.0 | 364 |
<a href="#<%= id %>" class="figure_reference"><%= title %></a> | aic-collections/OSCI-Toolkit-Frontend | js/oscitk/templates/figure-reference.tpl.html | HTML | gpl-3.0 | 62 |
#!/usr/bin/python
#
# Copyright 2016 Red Hat | Ansible
#
# This file is part of Ansible
#
# Ansible is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any la... | ColOfAbRiX/ansible | lib/ansible/modules/cloud/docker/docker_image.py | Python | gpl-3.0 | 21,614 |
<html lang="en">
<head>
<title>Z8000-Regs - Using as</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="Using as">
<meta name="generator" content="makeinfo 4.13">
<link title="Top" rel="start" href="index.html#Top">
<link rel="up" href="Z8000-Syntax.html#Z8000-Syntax" title="... | darth-vader-lg/glcncrpi | tools/arm-bcm2708/gcc-linaro-arm-none-eabi-4.8-2014.04/share/doc/gcc-linaro-arm-none-eabi/html/as.html/Z8000_002dRegs.html | HTML | gpl-3.0 | 3,257 |
/*-------------------------------------------------------------------------*/
/**
@file iniparser.c
@author N. Devillard
@brief Parser for ini files.
*/
/*--------------------------------------------------------------------------*/
/*---------------------------- Includes --------------------------------... | ekapujiw2002/rpi-mmedia-ex4 | xkeys/iniparser.c | C | gpl-3.0 | 23,614 |
test_name 'Windows ACL Module - Deny "read, execute" Rights for Identity on File'
confine(:to, :platform => 'windows')
#Globals
rights = "'read','execute'"
target_parent = 'c:/temp'
target = "c:/temp/deny_re_rights_file.txt"
user_id = "bob"
file_content = 'Your forcefield is good, but my teleporting is better.'
veri... | nauskis/Puppet-for-dummies | windowsia/puppet/modules/acl/acceptance/tests/access_rights_file/deny_re_rights_file.rb | Ruby | gpl-3.0 | 1,534 |
/* This file is part of GEGL
*
* GEGL is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3 of the License, or (at your option) any later version.
*
* GEGL is distributed in the hope... | rggjan/gegl-global-matting | gegl/operation/gegl-operations.h | C | gpl-3.0 | 1,177 |
/****************************************************************************
**
** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the plugins of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** GNU L... | kleiinnn/LinkJVM | tools/kar-gen/qt4/QtGui/qmouselinuxinput_qws.h | C | gpl-3.0 | 2,337 |
/*
* 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... | OhmGeek/ThanCue | src/org/zeroturnaround/zip/extra/ZipLong.java | Java | gpl-3.0 | 5,578 |
package org.openpnp.vision.pipeline.stages;
import java.util.ArrayList;
import java.util.List;
import org.opencv.core.Mat;
import org.opencv.imgproc.Imgproc;
import org.openpnp.vision.pipeline.CvPipeline;
import org.openpnp.vision.pipeline.CvStage;
import org.openpnp.vision.pipeline.Property;
import org.openpnp.visio... | richard-sim/openpnp | src/main/java/org/openpnp/vision/pipeline/stages/ThresholdAdaptive.java | Java | gpl-3.0 | 2,829 |
/*
* Copyright 2020 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
* SPDX-License-Identifier: GPL-3.0-or-later
*
*/
#include "pydoc_macros.h"
#define D(...) DOC(gr, blocks, __VA_ARGS__)
/*
This file contains placeholders for docstrings for the Python bindings.
Do not edit! These were aut... | mbr0wn/gnuradio | gr-blocks/python/blocks/bindings/docstrings/keep_one_in_n_pydoc_template.h | C | gpl-3.0 | 796 |
<?php
namespace Alchemy\Tests\Phrasea\Controller\Admin;
/**
* @group functional
* @group legacy
* @group authenticated
* @group web
*/
class ConnectedUserTest extends \PhraseanetAuthenticatedWebTestCase
{
protected $client;
/**
* @covers \Alchemy\Phrasea\Controller\Admin\ConnectedUsers::connect
... | kwemi/Phraseanet | tests/Alchemy/Tests/Phrasea/Controller/Admin/ConnectedUserTest.php | PHP | gpl-3.0 | 517 |
<?php
require_once __DIR__ . '/../../Bridge_datas.inc';
/**
* @group functional
* @group legacy
*/
class Bridge_Api_Dailymotion_ContainerTest extends \PhraseanetTestCase
{
/**
* @var Bridge_Api_Dailymotion_Container
*/
protected $object;
public function setUp()
{
parent::setUp();... | kwemi/Phraseanet | tests/classes/Bridge/Api/Dailymotion/ContainerTest.php | PHP | gpl-3.0 | 3,169 |
package egoscale
import (
"net"
)
// Nic represents a Network Interface Controller (NIC)
//
// See: http://docs.cloudstack.apache.org/projects/cloudstack-administration/en/latest/networking_and_traffic.html#configuring-multiple-ip-addresses-on-a-single-nic
type Nic struct {
BroadcastURI string `json:"... | dave2/packer | vendor/github.com/exoscale/egoscale/nics.go | GO | mpl-2.0 | 5,529 |
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="utf-8"/>
<title>CSS3 Text, linebreaks: 2030 PER MILLE SIGN (normal,ja)</title>
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
<link rel='help' href='https://drafts.csswg.org/css-text-3/#line-break'>
<link rel="match" href="reference/css3-t... | canaltinova/servo | tests/wpt/web-platform-tests/css/css-text/i18n/css3-text-line-break-jazh-254.html | HTML | mpl-2.0 | 1,310 |
<!DOCTYPE HTML>
<html>
<head>
<title>Pixel rounding testcase</title>
<style type="text/css">
html, body { margin: 0; border: none; padding: 0; }
div { position: absolute; height: 10px; width: 11px; }
div.i1 { top: 10px; background-image: url(blue-1x1.png); }
div.i3 { top: 30px; background-image: url(blue-3x3.png); ... | Yukarumya/Yukarum-Redfoxes | layout/reftests/pixel-rounding/background-image-left-width-5.html | HTML | mpl-2.0 | 1,935 |
package org.mozilla.osmdroid.contributor;
/**
* Copyright by Christof Dallermassl
* This program is free software and licensed under GPL.
*
* Original JAVA-Code ported for Android compatibility by Nicolas 'plusminus' Gramlich.
*/
import org.mozilla.osmdroid.contributor.util.RecordedGeoPoint;
import org.mozilla.o... | petercpg/MozStumbler | android/src/main/java/org/mozilla/osmdroid/contributor/OSMUploader.java | Java | mpl-2.0 | 12,085 |
;
; Copyright (c) 2010 The WebM project authors. All Rights Reserved.
;
; Use of this source code is governed by a BSD-style license
; that can be found in the LICENSE file in the root of the source
; tree. An additional intellectual property rights grant can be found
; in the file PATENTS. All contributing proje... | artclarke/humble-video | humble-video-captive/src/main/gnu/libvpx/csrc/vp8/encoder/x86/dct_sse2.asm | Assembly | agpl-3.0 | 15,141 |
(function($) {
$.fn.tweet = function(o){
var s = $.extend({
username: ["seaofclouds"], // [string] required, unless you want to display our tweets. :) it can be an array, just do ["username1","username2","etc"]
list: null, // [string] optional name of ... | richhl/kalturaCE | package/app/app/api_v3/web/testme/js/jquery.tweet.js | JavaScript | agpl-3.0 | 12,076 |
<?php
return array(
'a_user_canceled' => '用户已取消物品申请',
'a_user_requested' => '用户已申请物品',
'accessory_name' => '配件名称:',
'additional_notes' => '备注:',
'admin_has_created' => '管理员已在 :web 为您新增帐号。',
'asset' => '资产:',
'asset_name' => '资产名称:',
'asset_requested' => '已申请资产',
'asset_tag' => '资产标签... | kpawelski/ITManager | resources/lang/zh-CN/mail.php | PHP | agpl-3.0 | 3,541 |
package com.android.uiautomator;
class UiAutomatorViewer {
class AttributeTableEditingSupport {
int mViewer;
}
int mDy;
int mDx;
int mScale;
int mTableViewer;
int mToggleNafAction;
int mScreenshotAction;
int mExpandAllAction;
int mOpenFilesAction;
int mTreeViewer;
int mScreenshotCanvas;
in... | mutantzombie/pfff | data/java_stdlib/android/com.android.uiautomator.java | Java | lgpl-2.1 | 826 |
/* GStreamer
* Copyright (C) <1999> Erik Walthinsen <omega@cse.ogi.edu>
* Copyright (C) <2004> Jan Schmidt <thaytan@mad.scientist.com>
* Copyright (C) <2004> Tim-Philipp Mueller <t.i.m@orange.net>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library Gene... | ahmedammar/platform_external_gst_plugins_good | ext/gdk_pixbuf/pixbufscale.c | C | lgpl-2.1 | 15,057 |
/****************************************************************************
**
** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the examples of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licensees hold... | RLovelett/qt | examples/tutorials/addressbook/part7/finddialog.cpp | C++ | lgpl-2.1 | 2,952 |
/* GStreamer
*
* Copyright (C) 2002 Ronald Bultje <rbultje@ronald.bitfreak.net>
* 2006 Edgard Lima <edgard.lima@indt.org.br>
*
* v4l2_calls.c - generic V4L2 calls handling
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Publi... | rikaunite/gst-opera_gst-plugins-good | sys/v4l2/v4l2_calls.c | C | lgpl-2.1 | 27,391 |
<?php
/**
* dwoo security exception class
*
* 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.
*
* @author Jordi Boggiano <j.boggiano@seld.be>
* @copyright Copyright (c) ... | JojoCMS/Jojo-CMS | plugins/jojo_core/external/dwoo/Dwoo/Security/Exception.php | PHP | lgpl-2.1 | 573 |
.util-border-radius-none {
-webkit-border-radius: none;
-moz-border-radius: none;
border-radius: none;
}
.util-text-ellipsis {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.util-textHidden {
text-indent: -9999px;
overflow: hidden;
}
.axtabs-style-normal {
background: #e5e5e5;
co... | axisj/axisj | ui/bulldog/AXTabs.css | CSS | lgpl-2.1 | 35,107 |
/**
******************************************************************************
* @file stm32f37x_sdadc.h
* @author MCD Application Team
* @version V1.0.0
* @date 20-September-2012
* @brief This file contains all the functions prototypes for the SDADC firmware
* library.
**... | prefetchnta/crhack | src/naked/arm-stm32/stm32f37x/stm32f37x_sdadc.h | C | lgpl-2.1 | 23,717 |
/*
* Copyright (c) 1997 Silicon Graphics, Inc. All Rights Reserved.
* Copyright (c) 2009 Aconex. 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; either version 2 ... | aeg-aeg/pcpfans | src/pmview/stackmod.h | C | lgpl-2.1 | 2,280 |
package test;
import java.util.*;
public class Expr extends Constants
{
public void eval()
{
int i = 1;
byte b1 = 2, b2;
boolean b;
String g;
if( b) {
g = "Hello ";
String h = "World!", k;
k = g + h;
}
if( i & 0x0F) {
// whoops!
i = "hello";
}
... | blue-systems-group/project.maybe.polyglot | tests/Expr.jl | Julia | lgpl-2.1 | 453 |
/*This file is generated by luagen.*/
#include "lua_ftk_file.h"
#include "lua_ftk_callbacks.h"
static void tolua_reg_types (lua_State* L)
{
tolua_usertype(L, "FtkFile");
}
static int lua_ftk_file_get_info(lua_State* L)
{
tolua_Error err = {0};
Ret retv;
const char* file_name;
FtkFileInfo* info;
int param_ok = t... | xuxiandi/ftk | script_binding/lua/lua_ftk_file.c | C | lgpl-3.0 | 1,339 |
local corner_nodebox = {
type = "fixed",
fixed = {{ -16/32-0.001, -17/32, -3/32, 0, -13/32, 3/32 },
{ -3/32, -17/32, -16/32+0.001, 3/32, -13/32, 3/32}}
}
local corner_selectionbox = {
type = "fixed",
fixed = { -16/32-0.001, -18/32, -16/32, 5/32, -12/32, 5/32 },
}
local corner_get_rules = function (node)
l... | MinetestForFun/minetest-minetestforfun-server | mods/mesecons/mesecons_extrawires/corner.lua | Lua | unlicense | 2,204 |
[#]: collector: (lujun9972)
[#]: translator: (Yufei-Yan)
[#]: reviewer: (wxy)
[#]: publisher: (wxy)
[#]: url: (https://linux.cn/article-12435-1.html)
[#]: subject: (Project OWL: IoT trying to hold connectivity together in disasters)
[#]: via: (https://www.networkworld.com/article/3564980/project-owl-iot-trying-to-hold-... | alim0x/TranslateProject | published/202007/20200706 Project OWL- IoT trying to hold connectivity together in disasters.md | Markdown | apache-2.0 | 4,784 |
---
id: version-2.1.0-incubating-io-cassandra
title: Cassandra Sink Connector
sidebar_label: Cassandra Sink Connector
original_id: io-cassandra
---
The Cassandra Sink connector is used to write messages to a Cassandra Cluster.
The tutorial [Connecting Pulsar with Apache Cassandra](io-quickstart.md) shows an example h... | massakam/pulsar | site2/website/versioned_docs/version-2.1.0-incubating/io-cassandra.md | Markdown | apache-2.0 | 1,322 |
/*******************************************************************************
*
* Pentaho Big Data
*
* Copyright (C) 2002-2013 by Pentaho : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (the "License... | mdamour1976/big-data-plugin | test-src/org/pentaho/di/ui/job/entries/sqoop/DatabaseItemTest.java | Java | apache-2.0 | 2,341 |
<div id="formDiaryDelete" class="dparts box"><div class="parts">
<div class="partsHeading">
<h3><?php echo __('Delete the diary') ?></h3>
</div>
<div class="block">
<p><?php echo __('Do you really delete this diary?') ?></p>
<form action="<?php echo url_for('@diary_delete?id='.$diary->id) ?>" method="post">
<div class=... | cripure/openpne3 | plugins/opDiaryPlugin/apps/pc_frontend/modules/diary/templates/deleteConfirmSuccess.php | PHP | apache-2.0 | 678 |
/**
* 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... | archanah24/lens | lens-api/src/main/java/org/apache/lens/api/error/LensHttpStatus.java | Java | apache-2.0 | 2,173 |
package com.tonicartos.superslim;
import android.app.Application;
import android.test.ApplicationTestCase;
/**
* <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a>
*/
public class ApplicationTest extends ApplicationTestCase<Application> {
public ApplicationTest() {
... | pacificIT/SuperSLiM | library/src/androidTest/java/com/tonicartos/superslim/ApplicationTest.java | Java | apache-2.0 | 355 |
/*
* Copyright 2003-2014 Dave Griffith, Bas Leijdekkers
*
* 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 applicab... | siosio/intellij-community | plugins/InspectionGadgets/InspectionGadgetsAnalysis/src/com/siyeh/ig/classlayout/FinalMethodInFinalClassInspection.java | Java | apache-2.0 | 2,583 |
using System;
using System.Linq;
using System.Management.Automation;
using Microsoft.SharePoint.Client;
using OfficeDevPnP.PowerShell.CmdletHelpAttributes;
using OfficeDevPnP.PowerShell.Commands.Base.PipeBinds;
namespace OfficeDevPnP.PowerShell.Commands.Lists
{
[Cmdlet(VerbsCommon.Set, "SPOListPermission")]
[... | rroman81/PnP | Solutions/PowerShell.Commands/Commands/Lists/SetListPermission.cs | C# | apache-2.0 | 3,597 |
// Copyright (C) 2009 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable ... | duboisf/gerrit | gerrit-server/src/main/java/com/google/gerrit/server/query/AndPredicate.java | Java | apache-2.0 | 2,984 |
/*
* 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")... | howepeng/isis | core/applib/src/main/java/org/apache/isis/applib/query/QueryFindAllInstances.java | Java | apache-2.0 | 1,663 |
# vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright 2013 Cloudbase Solutions Srl
# 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.ap... | ntt-sic/nova | nova/tests/virt/hyperv/test_vmutils.py | Python | apache-2.0 | 2,546 |
/*
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, ... | vwfs/fork-kubernetes | pkg/client/clientset_generated/internalclientset/typed/batch/internalversion/cronjob.go | GO | apache-2.0 | 5,283 |
# Copyright 2011 OpenStack LLC
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by... | nii-cloud/dodai-compute | nova/db/sqlalchemy/migrate_repo/versions/007_add_ipv6_to_fixed_ips.py | Python | apache-2.0 | 2,067 |
#region License
/*
* 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
... | jorgebay/tinkerpop | gremlin-dotnet/src/Gremlin.Net/Structure/IO/GraphSON/GraphSONTokens.cs | C# | apache-2.0 | 1,091 |
-- Source: https://github.com/soumith/imagenet-multiGPU.torch/blob/master/donkey.lua
--
-- Copyright (c) 2014, Facebook, Inc.
-- All rights reserved.
--
-- This source code is licensed under the BSD-style license found in the
-- LICENSE file in the root directory of this source tree. An additional grant
-- of pate... | nmabhi/Webface | training/donkey.lua | Lua | apache-2.0 | 3,091 |
/**
******************************************************************************
* @file stm32f3xx_hal_pcd_ex.h
* @author MCD Application Team
* @brief Header file of PCD HAL Extension module.
******************************************************************************
* @attention
*
* <h2><ce... | fbsder/zephyr | ext/hal/st/stm32cube/stm32f3xx/drivers/include/stm32f3xx_hal_pcd_ex.h | C | apache-2.0 | 5,732 |
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// re... | yugangw-msft/azure-sdk-for-net | sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/FirewallPolicyRuleNetworkProtocol.cs | C# | apache-2.0 | 745 |
/*
* #%L
* ACS AEM Commons Package
* %%
* Copyright (C) 2014 Adobe
* %%
* 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
*
* Unles... | dfoerderreuther/acs-aem-commons | ui.apps/src/main/content/jcr_root/apps/acs-commons/components/utilities/instant-package/clientlibs/js/app.js | JavaScript | apache-2.0 | 3,224 |
#!/usr/bin/env python
"""
Copyright (c) 2004-Present Pivotal Software, Inc.
This program and the accompanying materials are made available under
the terms of the 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... | edespino/gpdb | src/test/tinc/tincrepo/mpp/gpdb/tests/storage/walrepl/basebackup/test_xlog_cleanup.py | Python | apache-2.0 | 4,635 |
<html>
<head>
<script>
window.location.replace("{{ page.redirect }}" + window.location.hash);
</script>
<!-- Fall back to a <meta> redirect if the user has JavaScript disabled. -->
<meta http-equiv="refresh" content="0;url={{ page.redirect }}">
</head>
</html>
| twitter-forks/bazel | site/_layouts/redirect.html | HTML | apache-2.0 | 287 |
/*
* Copyright 2003-2017 Dave Griffith, Bas Leijdekkers
*
* 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 applicab... | jwren/intellij-community | plugins/InspectionGadgets/InspectionGadgetsAnalysis/src/com/siyeh/ig/controlflow/TrivialIfInspection.java | Java | apache-2.0 | 8,998 |
using System.Threading.Tasks;
using Nest;
using Tests.Framework;
using static Tests.Framework.UrlTester;
namespace Tests.Modules.SnapshotAndRestore.Restore.Restore
{
public class RestoreUrlTests
{
[U] public async Task Urls()
{
var repository = "repos";
var snapshot = "snap";
await POST($"/_snapshot/{... | CSGOpenSource/elasticsearch-net | src/Tests/Modules/SnapshotAndRestore/Restore/RestoreUrlTests.cs | C# | apache-2.0 | 633 |
/**
* 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... | ananthc/apex-malhar | contrib/src/main/java/org/apache/apex/malhar/contrib/redis/RedisKeyValueInputOperator.java | Java | apache-2.0 | 2,277 |
// 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... | cpcloud/arrow | cpp/src/gandiva/expression_registry.h | C | apache-2.0 | 2,486 |
/*
* Copyright (c) 2018 Nuvoton Technology Corp.
* Copyright (c) 2018 ARM Limited
* SPDX-License-Identifier: Apache-2.0
*
* 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:/... | adfernandes/mbed | connectivity/drivers/emac/TARGET_NUVOTON_EMAC/TARGET_NUC472/nuc472_eth.c | C | apache-2.0 | 14,958 |
package test
/* check availability of members defined locally and in hierarchy */
abstract class Base1 {
type tb1 = Int
val vb1 = 0
var rb1 = 0
def fb1 = 0
class Cb1
object Ob1
private type tb2 = Int
private val vb2 = 0
private var rb2 = 0
private def fb2 = 0
private class Cb2
private objec... | scala/scala | test/files/presentation/scope-completion-3/src/Completions.scala | Scala | apache-2.0 | 1,634 |
package org.radargun.service;
import org.jgroups.Event;
import org.jgroups.Message;
import org.radargun.protocols.SLAVE_PARTITION;
/**
* SLAVE_PARTITION adapted for JGroups 3.3.x
*
* @author Radim Vansa <rvansa@redhat.com>
*/
public class SLAVE_PARTITION_33 extends SLAVE_PARTITION {
@Override
public O... | vjuranek/radargun | plugins/infinispan52/src/main/java/org/radargun/service/SLAVE_PARTITION_33.java | Java | apache-2.0 | 620 |
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
package org.elasticsearch.xpack.sql.expression.predicate.logical;
import org.... | coding0011/elasticsearch | x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/logical/BinaryLogic.java | Java | apache-2.0 | 1,799 |
class AppFooterCtrl {
constructor(AppConstants) {
'ngInject';
this.appName = AppConstants.appName;
// Get today's date to generate the year
this.date = new Date();
}
}
let AppFooter = {
controller: AppFooterCtrl,
templateUrl: 'layout/footer.html'
};
export default AppFooter;
| gustavovaliati/training_Symfony2.8_Angular1.5_AdminLTE | symfony-root/web/webapp/js/layout/footer.component.js | JavaScript | apache-2.0 | 303 |
package com.importnew.importnewapp;
public class DateTest{
}
| leerduo/ImportNewApp | app/src/androidTest/java/com/importnew/importnewapp/DateTest.java | Java | apache-2.0 | 63 |
/*
* JBoss, Home of Professional Open Source
* Copyright 2006, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags.
* See the copyright.txt in the distribution for a
* full listing of individual contributors.
* This copyrighted material is made available to anyone wishing to ... | nmcl/scratch | graalvm/transactions/fork/narayana/ArjunaJTS/jts/tests/classes/com/hp/mwtests/ts/jts/orbspecific/interposition/ServerTopLevelStrictUnitTest.java | Java | apache-2.0 | 2,298 |
<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>api_shim.core.http.HttpServerFileUpload</title>
<link rel="stylesheet" href="epydoc.css" ty... | vietj/vertx | src/main/vertx2/api/epydoc/api_shim.core.http.HttpServerFileUpload-class.html | HTML | apache-2.0 | 18,002 |
// Copyright (c) 2015 Cesanta Software Limited
// All rights reserved
#include "mongoose.h"
static const char *s_http_port = "8000";
static struct mg_serve_http_opts s_http_server_opts;
static void ev_handler(struct mg_connection *nc, int ev, void *p) {
if (ev == MG_EV_HTTP_REQUEST) {
mg_serve_http(nc, p, s_ht... | bbxyard/bbxyard | yard/skills/mongoose/examples/connected_device_1/server.c | C | apache-2.0 | 1,067 |
# NuGet Package Restore Support
Support files for NuGet Package Restore. | JetBrains/ReSharperGallery | .nuget/README.md | Markdown | apache-2.0 | 73 |
/**
* 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-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/erasurecode/ErasureCodingWorker.java | Java | apache-2.0 | 6,722 |
//@target: ES6
function foo(...s: (symbol | number)[]) { }
class SymbolIterator {
next() {
return {
value: Symbol(),
done: false
};
}
[Symbol.iterator]() {
return this;
}
}
class _StringIterator {
next() {
return {
... | Microsoft/TypeScript | tests/cases/conformance/es6/spread/iteratorSpreadInCall6.ts | TypeScript | apache-2.0 | 493 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.