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 |
|---|---|---|---|---|---|
/*
* arch/sparc64/include/klibc/archsignal.h
*
* Architecture-specific signal definitions
*
*/
#ifndef _KLIBC_ARCHSIGNAL_H
#define _KLIBC_ARCHSIGNAL_H
#define __WANT_POSIX1B_SIGNALS__
#include <asm/signal.h>
/* Not actually used by the kernel... */
#define SA_RESTORER 0x80000000
#endif
| carlobar/uclinux_leon3_UD | user/klibc/usr/include/arch/sparc64/klibc/archsignal.h | C | gpl-2.0 | 296 |
// { dg-do compile }
// 2007-09-20 Benjamin Kosnik <bkoz@redhat.com>
// Copyright (C) 2007-2017 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 publish... | mickael-guene/gcc | libstdc++-v3/testsuite/25_algorithms/for_each/requirements/explicit_instantiation/2.cc | C++ | gpl-2.0 | 1,221 |
/* mpi-mul.c - MPI functions
* Copyright (C) 1994, 1996 Free Software Foundation, Inc.
* Copyright (C) 1998, 2001 Free Software Foundation, Inc.
*
* This file is part of GnuPG.
*
* GnuPG is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published ... | holyangel/LGE_G3 | lib/mpi/mpi-mul.c | C | gpl-2.0 | 4,642 |
MACHINE=
SCRIPT_NAME=elf
OUTPUT_FORMAT="elf32-littlearm"
BIG_OUTPUT_FORMAT="elf32-bigarm"
LITTLE_OUTPUT_FORMAT="elf32-littlearm"
TEXT_START_ADDR=0x8000
TEMPLATE_NAME=elf32
EXTRA_EM_FILE=armelf
OTHER_TEXT_SECTIONS='*(.glue_7t) *(.glue_7) *(.vfp11_veneer)'
OTHER_BSS_SYMBOLS='__bss_start__ = .;'
OTHER_BSS_END_SYMBOLS='_bs... | seank/FreeScale-s12x-binutils-jm | ld/emulparams/armelf.sh | Shell | gpl-2.0 | 1,130 |
#ifndef QEMU_MEMFD_H
#define QEMU_MEMFD_H
#include "config-host.h"
#include <stdbool.h>
#ifndef F_LINUX_SPECIFIC_BASE
#define F_LINUX_SPECIFIC_BASE 1024
#endif
#ifndef F_ADD_SEALS
#define F_ADD_SEALS (F_LINUX_SPECIFIC_BASE + 9)
#define F_GET_SEALS (F_LINUX_SPECIFIC_BASE + 10)
#define F_SEAL_SEAL 0x0001 /* prev... | BCLinux/qga-bc | qemu-win/include/qemu/memfd.h | C | gpl-2.0 | 764 |
// g2o - General Graph Optimization
// Copyright (C) 2011 R. Kuemmerle, G. Grisetti, W. Burgard
// 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 r... | CreativeCimmons/ORB-SLAM-Android-app | slam_ext/Thirdparty/g2o/g2o/types/slam3d/vertex_pointxyz.cpp | C++ | gpl-2.0 | 3,993 |
/*
* moon-tables.c -- data tables for MOON class codecs
*
* Copyright 2015 Cirrus Logic
*
* Author: Nikesh Oswal <nikesh@opensource.wolfsonmicro.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... | SlimRoms/kernel_cyanogen_msm8916 | drivers/mfd/moon-tables.c | C | gpl-2.0 | 117,373 |
/*
Implementation of GPTData class derivative with basic text-mode interaction
Copyright (C) 2010-2013 Roderick W. Smith
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either ver... | Shihta/gdisk | gpttext.h | C | gpl-2.0 | 2,515 |
<?php
/**
* Floating Social Bar is the best social media plugin for WordPress
* that adds a floating bar with share buttons to your content
* without slowing down your site.
*
* @package Floating Social Bar
* @author Syed Balkhi
* @author Thomas Griffin
* @license GPL-2.0+
* @link http://wpbegin... | AhmedSayedAhmed/MM_Portal | wp-content/plugins/floating-social-bar/floating-social-bar.php | PHP | gpl-2.0 | 2,794 |
/* Specific implementation of the UNPACK intrinsic
Copyright 2008, 2009 Free Software Foundation, Inc.
Contributed by Thomas Koenig <tkoenig@gcc.gnu.org>, based on
unpack_generic.c by Paul Brook <paul@nowt.org>.
This file is part of the GNU Fortran 95 runtime library (libgfortran).
Libgfortran is free softwa... | embecosm/avr32-gcc | libgfortran/generated/unpack_c10.c | C | gpl-2.0 | 8,739 |
/*
* Software async crypto daemon.
*
* Copyright (c) 2006 Herbert Xu <herbert@gondor.apana.org.au>
*
* Added AEAD support to cryptd.
* Authors: Tadeusz Struk (tadeusz.struk@intel.com)
* Adrian Hoban <adrian.hoban@intel.com>
* Gabriele Paoloni <gabriele.paoloni@intel.com>
* ... | damienyong/Kernel-3.0.8 | kernel/crypto/cryptd.c | C | gpl-2.0 | 25,547 |
/* @(#)e_lgamma.c 1.3 95/01/18 */
/*
* ====================================================
* Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
*
* Developed at SunSoft, a Sun Microsystems, Inc. business.
* Permission to use, copy, modify, and distribute this
* software is freely granted, provide... | infraredbg/Lenovo_A820_kernel_kk | bionic/libm/upstream-freebsd/lib/msun/src/e_lgamma.c | C | gpl-2.0 | 730 |
//=set test "Test" | AlexanderDolgan/juliawp | wp-content/themes/node_modules/gulp-rigger/node_modules/rigger/test/input-settings/stringval.js | JavaScript | gpl-2.0 | 18 |
/* $NoKeywords:$ */
/**
* @file
*
* Internal access to HT Interface.
*
* This file provides definitions used by HT internal modules. The
* external HT interface (in agesa.h) is accessed using these methods.
* This keeps the HT Feature implementations abstracted from the HT
* interface.
*
* This file includes... | latelee/coreboot | src/vendorcode/amd/agesa/f15/Proc/HT/htInterface.h | C | gpl-2.0 | 18,096 |
/*
* cdc-acm.c
*
* Copyright (c) 1999 Armin Fuerst <fuerst@in.tum.de>
* Copyright (c) 1999 Pavel Machek <pavel@suse.cz>
* Copyright (c) 1999 Johannes Erdfelt <johannes@erdfelt.com>
* Copyright (c) 2000 Vojtech Pavlik <vojtech@suse.cz>
* Copyright (c) 2004 Oliver Neukum <oliver@neukum.name>
* Copyright (c) 2005 ... | mturquette/linux-omap | drivers/usb/class/cdc-acm.c | C | gpl-2.0 | 43,490 |
/* drivers/misc/akm8962.c - akm8962 compass driver
*
* Copyright (C) 2007-2008 HTC Corporation.
* Author: Hou-Kun Chen <houkun.chen@gmail.com>
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distribute... | agat63/N861_ZTE_kernel | drivers/hwmon/akm8962.c | C | gpl-2.0 | 33,334 |
/**
* @file definition of host message ring functionality
* Provides type definitions and function prototypes used to link the
* DHD OS, bus, and protocol modules.
*
* Copyright (C) 1999-2016, Broadcom Corporation
*
* Unless you and Broadcom execute a separate written software license
* agreement governin... | Tilde88/android_kernel_lge_msm8996 | drivers/net/wireless/bcmdhd/src/dhd/sys/dhd_msgbuf.c | C | gpl-2.0 | 193,687 |
/* Release secure chunk memory for normal world usage.
*
* For better utilization, part of secure chunk memory (pre-defined size) can be used by
* normal world through memory TA.
* After release, pre-defined secure memory can be read/write by normal world through memroy TA,
* and can not be used by secure world. ... | rimistri/mediatek | mt6732/mediatek/kernel/drivers/trustzone/tz_mem.c | C | gpl-2.0 | 8,746 |
// license:BSD-3-Clause
// copyright-holders:Vas Crabb
#include "emu.h"
#include "ti8x.h"
#define LOG_GENERAL (1U << 0)
#define LOG_BITPROTO (1U << 1)
#define LOG_BYTEPROTO (1U << 2)
//#define VERBOSE (LOG_GENERAL | LOG_BITPROTO | LOG_BYTEPROTO)
#define LOG_OUTPUT_FUNC device().logerror
#include "logmacr... | johnparker007/mame | src/devices/bus/ti8x/ti8x.cpp | C++ | gpl-2.0 | 14,113 |
#!/usr/bin/env python
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)
See the file 'doc/COPYING' for copying permission
"""
from lib.core.enums import PRIORITY
__priority__ = PRIORITY.LOWEST
def dependencies():
pass
def tamper(payload, **kwargs):
"""
Replaces apostrophe character wit... | golismero/golismero | tools/sqlmap/tamper/apostrophenullencode.py | Python | gpl-2.0 | 503 |
<?php
//============================================================+
// File name : example_2d_png.php
// Version : 1.0.000
// Begin : 2011-07-21
// Last Update : 2013-03-17
// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
// License : GNU-LGPL v3 (http://www.gnu.org... | siteslab/profile | sites/all/libraries/tcpdf/examples/barcodes/example_2d_pdf417_png.php | PHP | gpl-2.0 | 1,979 |
/***************************************************************************
tag: The SourceWorks Tue Sep 7 00:55:18 CEST 2010 ServiceRequester.hpp
ServiceRequester.hpp - description
-------------------
begin : Tue September 07 2010
copyrig... | shyamalschandra/rtt | rtt/ServiceRequester.hpp | C++ | gpl-2.0 | 7,747 |
<?php
/**
* @package Joomla.Site
* @subpackage com_users
*
* @copyright Copyright (C) 2005 - 2018 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
JLoader::register('UsersController', JPATH_COMPONENT ... | tkaniowski/bj25 | components/com_users/controllers/registration.php | PHP | gpl-2.0 | 6,815 |
# -*- coding: utf-8 -*-
"""
This script initializes the plugin, making it known to QGIS.
"""
def classFactory(iface):
from HelloWorld import HelloWorld
return HelloWorld(iface)
| qgis/QGIS-Django | qgis-app/plugins/tests/HelloWorld/2.3-full-changed-repository/HelloWorld/__init__.py | Python | gpl-2.0 | 183 |
/* Machine-dependent ELF dynamic relocation inline functions. i386 version.
Copyright (C) 1995-2015 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
Licens... | wjflyhigh/glibc-2.21 | sysdeps/i386/dl-machine.h | C | gpl-2.0 | 23,316 |
/*
* originally based on the dummy device.
*
* Copyright 1999, Thomas Davis, tadavis@lbl.gov.
* Licensed under the GPL. Based on dummy.c, and eql.c devices.
*
* bonding.c: an Ethernet Bonding driver
*
* This is useful to talk to a Cisco EtherChannel compatible equipment:
* Cisco 5500
* Sun Trunking (Solaris)
... | evaautomation/linux | drivers/net/bonding/bond_main.c | C | gpl-2.0 | 136,682 |
<?php
/**
* @author JoomlaShine.com http://www.joomlashine.com
* @copyright Copyright (C) 2008 - 2011 JoomlaShine.com. All rights reserved.
* @license GNU/GPL v2 http://www.gnu.org/licenses/gpl-2.0.html
*/
// No direct access
defined('_JEXEC') or die('Restricted index access');
// Load template framework
if ... | Galene/svitanok.ck.ua | templates/jsn_yoyo_pro/error.php | PHP | gpl-2.0 | 4,569 |
-- 7907 La baraja de Bestias de la Luna Negra
-- https://es.classic.wowhead.com/quest=7907
SET @ID := 7907;
DELETE FROM `quest_request_items_locale` WHERE `ID` = @ID AND `locale` IN ('esES', 'esMX');
INSERT INTO `quest_request_items_locale` (`ID`, `locale`, `CompletionText`, `VerifiedBuild`) VALUES
(@ID, 'esES', 'Oh qu... | pete318/TrinityCore | sql/old/3.3.5a/world/20082_2020_09_15/2020_09_04_02_world_335.sql | SQL | gpl-2.0 | 24,722 |
#ifndef __CONFIG_M6TV_SKT_V1_H__
#define __CONFIG_M6TV_SKT_V1_H__
#define CONFIG_MACH_MESON6TV_SKT // generate M6TV SKT machid number
//ddrtest and d2pll command support
#define CONFIG_CMD_DDR_TEST 1 //ddrtest & d2pll
//#define TEST_UBOOT_BOOT_SPEND_TIME
//UART Sectoion
#define CONFIG_CONS_INDEX 2
... | InternetBowser/plutos | u-boot-s805/board/amlogic/configs/m6tv_skt_v1.h | C | gpl-2.0 | 8,361 |
/*
* linux/arch/m68knommu/platform/68328/ints.c
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file COPYING in the main directory of this archive
* for more details.
*
* Copyright 1996 Roman Zippel
* Copyright 1999 D. Jeff Dionne <jeff@rt-control.com>
*/
#in... | holyangel/LGE_G3 | arch/m68k/platform/68328/ints.c | C | gpl-2.0 | 4,291 |
/*
* Copyright (C) 2012-2013 Team XBMC
* http://kodi.tv
*
* This Program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* T... | ironman771/xbmc | xbmc/platform/android/activity/EventLoop.cpp | C++ | gpl-2.0 | 4,826 |
<?php
/**
* The template for displaying posts in the Audio post format
*
* @package WordPress
* @subpackage Twenty_Fourteen
* @since Twenty Fourteen 1.0
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php twentyfourteen_post_thumbnail(); ?>
<header class="entry-header">
<?php if ( in_a... | di0fref/wordpress_fahlslstad | wp-content/themes/twentyfourteen/content-audio.php | PHP | gpl-2.0 | 2,316 |
#
# Copyright (C) 2013-2015 OpenWrt.org
# Copyright (C) 2020 Sartura
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=lxc
PKG_VERSION:=4.0.12
PKG_RELEASE:=$(AUTORELEASE)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.... | artynet/openwrt-packages | utils/lxc/Makefile | Makefile | gpl-2.0 | 6,730 |
<?php
namespace Drupal\Tests\node\Kernel\Migrate\d6;
use Drupal\Tests\migrate_drupal\Kernel\d6\MigrateDrupal6TestBase;
/**
* Test D6NodeDeriver.
*
* @group migrate_drupal_6
*/
class MigrateNodeDeriverTest extends MigrateDrupal6TestBase {
/**
* The migration plugin manager.
*
* @var \Drupal\migrate\Plu... | tobiasbuhrer/tobiasb | web/core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeDeriverTest.php | PHP | gpl-2.0 | 1,430 |
/*
LUFA Library
Copyright (C) Dean Camera, 2014.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purp... | ruriwo/ErgoThumb072_firmware | tmk_core/protocol/lufa/LUFA-git/Demos/Host/LowLevel/AudioInputHost/AudioInputHost.h | C | gpl-2.0 | 2,746 |
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
/// @file GCS_MAVLink.h
/// @brief One size fits all header for MAVLink integration.
#ifndef GCS_MAVLink_h
#define GCS_MAVLink_h
#include <AP_HAL.h>
#include <AP_Param.h>
// we have separate helpers disabled to make it possible
// to selec... | MegaPirateNG/ardupilot-mpng | libraries/GCS_MAVLink/GCS_MAVLink.h | C | gpl-3.0 | 4,158 |
/*
* This file is part of the libsigrok project.
*
* Copyright (C) 2014 Uwe Hermann <uwe@hermann-uwe.de>
* Copyright (C) 2014 Matthias Heidbrink <m-sigrok@heidbrink.biz>
*
* 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... | uwehermann/libsigrok | src/hardware/manson-hcs-3xxx/api.c | C | gpl-3.0 | 11,116 |
#!/usr/bin/perl
# Copyright 2010 Koha Development team
#
# This file is part of Koha.
#
# Koha 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 ... | Rana-TheCodeWizard/Koha | help.pl | Perl | gpl-3.0 | 2,292 |
@extends('layouts.loggedout')
@section('content')
@if(Session::has('error'))
<div class="clearfix">
<div class="alert alert-danger">
{{ Session::get('error') }}
</div>
</div>
@endif
<h1 class="col-sm-12">{{ trans('reminders.password_reset') }}</h1>
{{ Form::open(array('route' => ... | ubc/learninglocker | app/views/system/password/reset.blade.php | PHP | gpl-3.0 | 953 |
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2017 Google
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
# ----------------------------------------------------------------------------
#
# *** AUTO GENERATED CODE *** AUTO GENERATED CODE ***
#
... | anryko/ansible | lib/ansible/modules/cloud/google/gcp_redis_instance_info.py | Python | gpl-3.0 | 9,179 |
<h1>Allow overbooking</h1>
<p>When "Allow overbooking" is checked, learners will be able to sign up for a face-to-face session even if it is already full.</p>
<p>When a learner signs up for a session that is already full, they will receive an email advising that they have been waitlisted for the session and will be n... | xavilal/moodle | mod/facetoface/lang/en_utf8/help/facetoface/allowoverbook.html | HTML | gpl-3.0 | 365 |
<?php
/**
* Implements safety checks for safe iframes.
*
* @warning This filter is *critical* for ensuring that %HTML.SafeIframe
* works safely.
*/
class HTMLPurifier_URIFilter_SafeIframe extends HTMLPurifier_URIFilter
{
/**
* @type string
*/
public $name = 'SafeIframe';
/**
* @type bo... | TheCrowsJoker/mahara | htdocs/lib/htmlpurifier/HTMLPurifier/URIFilter/SafeIframe.php | PHP | gpl-3.0 | 1,996 |
INSERT INTO config VALUES ('','alert.transports.msteams.url','','','Microsoft Teams Webhook URL','alerting',0, 'transports', 0, 0, 0);
| wrgeorge1983/librenms | sql-schema/151.sql | SQL | gpl-3.0 | 135 |
#region References
using System;
using System.Collections.Generic;
using Server.Engines.ConPVP;
using Server.Items;
using Server.Misc;
using Server.Mobiles;
using Server.Network;
using Server.Spells.Bushido;
using Server.Spells.Necromancy;
using Server.Spells.Ninjitsu;
using Server.Spells.Second;
using Server.Spells.S... | zerodowned/JustUO | Scripts/Spells/Base/Spell.cs | C# | gpl-3.0 | 28,192 |
# coding=utf-8
"""Test for GIS utilities functions."""
import unittest
# noinspection PyUnresolvedReferences
import qgis # pylint: disable=unused-import
from qgis.core import QgsRectangle
from safe.definitions.constants import INASAFE_TEST
from safe.utilities.gis import (
is_polygon_layer,
is_raster_y_inve... | AIFDR/inasafe | safe/utilities/test/test_gis.py | Python | gpl-3.0 | 4,837 |
<?php
namespace App\Console\Commands;
use App\Console\LnmsCommand;
use App\Models\Device;
use Illuminate\Database\Eloquent\Builder;
use LibreNMS\Config;
use LibreNMS\Polling\ConnectivityHelper;
use Symfony\Component\Console\Input\InputArgument;
class DevicePing extends LnmsCommand
{
protected $name = 'device:pin... | arrmo/librenms | app/Console/Commands/DevicePing.php | PHP | gpl-3.0 | 1,546 |
package net.minecraft.server;
import org.bukkit.craftbukkit.event.CraftEventFactory; // CraftBukkit
public class EntityPig extends EntityAnimal {
private final PathfinderGoalPassengerCarrotStick bp;
public EntityPig(World world) {
super(world);
this.a(0.9F, 0.9F);
this.getNavigation(... | starlis/EMC-CraftBukkit | src/main/java/net/minecraft/server/EntityPig.java | Java | gpl-3.0 | 4,987 |
// Copyright 2018 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 protoreflect provides interfaces to dynamically manipulate messages.
//
// This package includes type descriptors which describe the structure of typ... | pberndro/smartpi_exporter | vendor/google.golang.org/protobuf/reflect/protoreflect/proto.go | GO | gpl-3.0 | 15,836 |
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.mozilla.mozstumbler.service.stumblerthread.datahandling;
import org.json.JSONObject;
import org.mozil... | petercpg/MozStumbler | libraries/stumbler/src/main/java/org/mozilla/mozstumbler/service/stumblerthread/datahandling/ReportBatchBuilder.java | Java | mpl-2.0 | 1,691 |
/*
* ################################################################
*
* ProActive Parallel Suite(TM): The Java(TM) library for
* Parallel, Distributed, Multi-Core Computing for
* Enterprise Grids & Clouds
*
* Copyright (C) 1997-2012 INRIA/University of
* Nice-Sophia Antipolis/ActiveEon
... | moliva/proactive | src/Core/org/objectweb/proactive/core/util/ProActiveCounter.java | Java | agpl-3.0 | 2,303 |
/*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2013-2014 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2014 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(... | rdkgit/opennms | features/vaadin-node-maps/src/main/java/org/opennms/features/vaadin/nodemaps/internal/gwt/client/SearchResult.java | Java | agpl-3.0 | 2,174 |
/*
* ################################################################
*
* ProActive Parallel Suite(TM): The Java(TM) library for
* Parallel, Distributed, Multi-Core Computing for
* Enterprise Grids & Clouds
*
* Copyright (C) 1997-2012 INRIA/University of
* Nice-Sophia Antipolis/ActiveEon
... | moliva/proactive | src/Extensions/org/objectweb/proactive/extensions/annotation/common/BogusAnnotationProcessor.java | Java | agpl-3.0 | 2,065 |
<?php
/**
* @package api
* @subpackage filters.enum
*/
class KalturaFileAssetOrderBy extends KalturaStringEnum
{
const CREATED_AT_ASC = "+createdAt";
const CREATED_AT_DESC = "-createdAt";
const UPDATED_AT_ASC = "+updatedAt";
const UPDATED_AT_DESC = "-updatedAt";
}
| ratliff/server | api_v3/lib/types/fileAsset/filters/orderEnums/KalturaFileAssetOrderBy.php | PHP | agpl-3.0 | 272 |
/*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2007-2014 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2014 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(... | tdefilip/opennms | opennms-services/src/main/java/org/opennms/netmgt/vacuumd/AutomationException.java | Java | agpl-3.0 | 2,125 |
#
# Copyright (C) 2011 Instructure, Inc.
#
# This file is part of Canvas.
#
# Canvas is free software: you can redistribute it and/or modify it under
# the terms of the GNU Affero General Public License as published by the Free
# Software Foundation, version 3 of the License.
#
# Canvas is distributed in the hope that ... | SaranNV/canvas-lms | spec/views/quizzes/submission_versions.html.erb_spec.rb | Ruby | agpl-3.0 | 1,143 |
/*
* Copyright (C) 2011 JTalks.org Team
* 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.
* This library i... | illerax/jcommune | jcommune-view/jcommune-web-view/src/main/webapp/resources/javascript/app/utils.js | JavaScript | lgpl-2.1 | 4,376 |
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="hr" sourcelanguage="en">
<context>
<name>CmdWebBrowserBack</name>
<message>
<location filename="../../Command.cpp" line="75"/>
<source>Web</source>
<translation type="unfinished">Web</translation>
</mess... | wood-galaxy/FreeCAD | src/Mod/Web/Gui/Resources/translations/Web_hr.ts | TypeScript | lgpl-2.1 | 6,073 |
#include "private-libwebsockets.h"
#include "extension-deflate-frame.h"
#include "extension-deflate-stream.h"
struct libwebsocket_extension libwebsocket_internal_extensions[] = {
#ifdef LWS_EXT_DEFLATE_STREAM
{
"deflate-stream",
lws_extension_callback_deflate_stream,
sizeof(struct lws_ext_deflate_stream_conn)
... | lukasz-skalski/libwebsockets | lib/extension.c | C | lgpl-2.1 | 4,677 |
/*
* pthreads_delay_np.c
*
* Description:
* This translation unit implements non-portable thread functions.
*
* --------------------------------------------------------------------------
*
* Pthreads-win32 - POSIX Threads Library for Win32
* Copyright(C) 1998 John E. Bossom
* Copyright(C) 1999,... | Pistachioman/pcsx2 | 3rdparty/w32pthreads/pthread_delay_np.c | C | lgpl-3.0 | 4,827 |
'use strict';
/**
* @module br/util/Number
*/
var StringUtility = require('br/util/StringUtility');
/**
* @class
* @alias module:br/util/Number
*
* @classdesc
* Utility methods for numbers
*/
function NumberUtil() {
}
/**
* Returns a numeric representation of the sign on the number.
*
* @param {Number} n... | andreoid/testing | brjs-sdk/workspace/sdk/libs/javascript/br-util/src/br/util/Number.js | JavaScript | lgpl-3.0 | 4,499 |
/*
Copyright 2012 Twitter, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distr... | ogre0403/hraven | hraven-etl/src/main/java/com/twitter/hraven/etl/JobRunner.java | Java | apache-2.0 | 2,525 |
/*
* Copyright (C) 2015 Stratio (http://stratio.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | darroyocazorla/crossdata | testsIT/src/test/scala/com/stratio/crossdata/driver/querybuilder/QueryBuilderSpec.scala | Scala | apache-2.0 | 13,639 |
//// [tests/cases/compiler/moduleAugmentationsImports4.ts] ////
//// [a.ts]
export class A {}
//// [b.ts]
export class B {x: number;}
//// [c.d.ts]
declare module "C" {
class Cls {y: string; }
}
//// [d.d.ts]
declare module "D" {
import {A} from "a";
import {B} from "b";
module "a" {
... | weswigham/TypeScript | tests/baselines/reference/moduleAugmentationsImports4.js | JavaScript | apache-2.0 | 1,844 |
// run-rustfix
#[allow(unused_macros)]
macro_rules! foo! { //~ ERROR macro names aren't followed by a `!`
() => {};
}
fn main() {}
| graydon/rust | src/test/ui/macros/bang-after-name.rs | Rust | apache-2.0 | 137 |
"""
Component-level Specification
This module is called component to mirror organization of storm package.
"""
from ..storm.component import Component
class Specification(object):
def __init__(self, component_cls, name=None, parallelism=1):
if not issubclass(component_cls, Component):
raise ... | hodgesds/streamparse | streamparse/dsl/component.py | Python | apache-2.0 | 976 |
/*
* 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 ... | adrapereira/jena | jena-fuseki2/jena-fuseki-core/src/main/java/org/apache/jena/fuseki/servlets/SPARQL_QueryDataset.java | Java | apache-2.0 | 2,072 |
### `tf.contrib.layers.batch_norm(*args, **kwargs)` {#batch_norm}
Adds a Batch Normalization layer from http://arxiv.org/abs/1502.03167.
"Batch Normalization: Accelerating Deep Network Training by Reducing
Internal Covariate Shift"
Sergey Ioffe, Christian Szegedy
Can be used as a normalizer function for conv2... | laosiaudi/tensorflow | tensorflow/g3doc/api_docs/python/functions_and_classes/shard4/tf.contrib.layers.batch_norm.md | Markdown | apache-2.0 | 3,965 |
/*
* 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... | HonzaKral/elasticsearch | server/src/test/java/org/elasticsearch/search/basic/TransportTwoNodesSearchIT.java | Java | apache-2.0 | 19,747 |
/*
* Copyright 2014 Click Travel Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | clicktravel-james/Cheddar | cheddar/cheddar-rest/src/main/java/com/clicktravel/cheddar/rest/exception/mapper/cdm1/JsonParseExceptionMapper.java | Java | apache-2.0 | 1,551 |
// Copyright 2000-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.psi.impl;
import com.intellij.lang.ASTFactory;
import com.intellij.lang.Commenter;
import com.intellij.lang.Language;
import com.intellij.lang.LanguageComme... | siosio/intellij-community | platform/core-impl/src/com/intellij/psi/impl/PsiParserFacadeImpl.java | Java | apache-2.0 | 4,617 |
/*
* 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 ... | jbonofre/beam | sdks/java/core/src/test/java/org/apache/beam/sdk/values/TypeDescriptorsTest.java | Java | apache-2.0 | 5,295 |
/*
* %CopyrightBegin%
*
* Copyright Ericsson AB 2003-2016. 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
*
... | neeraj9/otp | erts/emulator/beam/erl_goodfit_alloc.c | C | apache-2.0 | 17,740 |
/*
* Copyright 2015 Open Networking Laboratory
*
* 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 la... | Zhengzl15/onos-securearp | core/api/src/main/java/org/onosproject/net/intent/MplsPathIntent.java | Java | apache-2.0 | 5,350 |
interface JavaInterface {
void foo(Object p);
}
class JavaClass1 implements JavaInterface {
@Override
public void foo(Object <caret>p) {
System.out.println(<flown1>p);
}
}
class JavaClass2 implements JavaInterface {
@Override
public void foo(Object p) {
System.err.println(p);
}
} | siosio/intellij-community | java/java-tests/testData/codeInsight/slice/forward/OneInterfaceTwoImplementations.java | Java | apache-2.0 | 304 |
/*
* Copyright 2011 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 ... | oujesky/closure-templates | java/src/com/google/template/soy/msgs/restricted/SoyMsgPluralCaseSpec.java | Java | apache-2.0 | 3,688 |
/*
* Copyright 2019 Red Hat, Inc. and/or its affiliates.
*
* 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 app... | jomarko/kie-wb-common | kie-wb-common-dmn/kie-wb-common-dmn-client/src/test/java/org/kie/workbench/common/dmn/client/editors/included/IncludedModelsPageStateTest.java | Java | apache-2.0 | 3,116 |
/*
* 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 ... | BigData-Lab-Frankfurt/HiBench-DSE | common/mahout-distribution-0.7-hadoop1/math/src/test/java/org/apache/mahout/math/jet/random/GammaTest.java | Java | apache-2.0 | 5,887 |
/*
* Copyright 2017 NAVER Corp.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | barneykim/pinpoint | web/src/main/java/com/navercorp/pinpoint/web/dao/stat/DeadlockDao.java | Java | apache-2.0 | 825 |
// +build linux
package main
import (
"bytes"
"encoding/json"
"fmt"
"io/ioutil"
"math/rand"
"net"
"net/http"
"os"
"strings"
"time"
"github.com/openshift/origin/pkg/network/node/cniserver"
"github.com/containernetworking/cni/pkg/skel"
"github.com/containernetworking/cni/pkg/types"
"github.com/container... | maxamillion/origin | pkg/network/sdn-cni-plugin/openshift-sdn.go | GO | apache-2.0 | 5,969 |
/// <reference path='fourslash.ts' />
//@Filename: file.tsx
//// declare module JSX {
//// interface Element { }
//// interface IntrinsicElements {
//// [|[|{| "isWriteAccess": true, "isDefinition": true, "contextRangeIndex": 0 |}div|]: {
//// name?: string;
//// isOpen?... | microsoft/TypeScript | tests/cases/fourslash/tsxFindAllReferences1.ts | TypeScript | apache-2.0 | 600 |
/****************************************************************************
*
* Copyright 2016-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 Licen... | jsdosa/TizenRT | os/logm/logm_process.c | C | apache-2.0 | 2,907 |
/**
* 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... | amyvmiwei/hbase | hbase-server/src/test/java/org/apache/hadoop/hbase/coprocessor/TestRowProcessorEndpoint.java | Java | apache-2.0 | 22,973 |
/*
* $Id: newmail.h 1266 2009-07-14 18:39:12Z hubert@u.washington.edu $
*
* ========================================================================
* Copyright 2009 University of Washington
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with ... | nysan/alpine | alpine/newmail.h | C | apache-2.0 | 697 |
/*
* Copyright (c) 2014 Juniper Networks, Inc. All rights reserved.
*/
#include <stdio.h>
#include <string.h>
#include <fcntl.h>
#include <assert.h>
#include <sys/ioctl.h>
#include <sys/socket.h>
#include <net/if.h>
#include <linux/if_ether.h>
#include <linux/if_tun.h>
#include <linux/if_packet.h>
#include "base/... | facetothefate/contrail-controller | src/vnsw/agent/contrail/linux/pkt0_interface.cc | C++ | apache-2.0 | 6,144 |
/*
* 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 ... | xuegongzi/rabbitframework | rabbitframework-security-pom/rabbitframework-security/src/main/java/org/apache/shiro/authz/ModularRealmAuthorizer.java | Java | apache-2.0 | 19,390 |
# Copyright 2013 Josh Durgin
# Copyright 2013 Red Hat, Inc.
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-... | ntt-sic/nova | nova/tests/api/openstack/compute/contrib/test_volumes.py | Python | apache-2.0 | 32,169 |
/*
* 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 ... | tmess567/syncope | core/persistence-api/src/main/java/org/apache/syncope/core/persistence/api/entity/anyobject/ARelationship.java | Java | apache-2.0 | 1,023 |
package org.apache.maven.plugins.install.stubs;
import java.io.File;
/*
* 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
... | apache/maven-plugins | maven-install-plugin/src/test/java/org/apache/maven/plugins/install/stubs/AttachedArtifactStub0.java | Java | apache-2.0 | 1,311 |
/*
* Copyright 2018 NAVER Corp.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | barneykim/pinpoint | commons-server/src/main/java/com/navercorp/pinpoint/common/server/cluster/zookeeper/exception/NoNodeException.java | Java | apache-2.0 | 1,056 |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 1.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../includes/main.css" type="text/css">
<l... | pdion891/cloudstack-www | source/api/apidocs-4.8/root_admin/listEvents.html | HTML | apache-2.0 | 7,196 |
//// [augmentedTypesExternalModule1.ts]
export var a = 1;
class c5 { public foo() { } }
module c5 { } // should be ok everywhere
//// [augmentedTypesExternalModule1.js]
define(["require", "exports"], function (require, exports) {
"use strict";
exports.__esModule = true;
exports.a = 1;
var c5 = ... | domchen/typescript-plus | tests/baselines/reference/augmentedTypesExternalModule1.js | JavaScript | apache-2.0 | 467 |
/* /////////////////////////////////////////////////////////////////////////
* File: winstl/window/textmetrics_functions.h (originally MWGdi.h, ::SynesisWin)
*
* Purpose: TEXTMETRICS functions.
*
* Created: 20th October 1994
* Updated: 10th August 2009
*
* Home: http://stlsoft.org/
*
... | RichieSams/thehalflingproject | libs/stlsoft/include/winstl/window/textmetrics_functions.h | C | apache-2.0 | 6,257 |
/*
* 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 ... | AlienQueen/wicket | wicket-core/src/main/java/org/apache/wicket/resource/ResourceUtil.java | Java | apache-2.0 | 8,028 |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Overview</title>
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="../index.html" title="Context">
<link ... | NixaSoftware/CVis | venv/bin/libs/context/doc/html/context/overview.html | HTML | apache-2.0 | 5,485 |
/* Copyright 2015 Samsung Electronics Co., LTD
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... | rahul27/GearVRf | GVRf/Framework/framework/src/main/jni/vulkan/vulkanCore.cpp | C++ | apache-2.0 | 46,740 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_31) on Mon Jul 22 15:25:23 PDT 2013 -->
<TITLE>
Uses of Class org.apache.hadoop.mapred.InvalidFileTypeException (Hadoop 1.2.1 API)
</TITLE>
<META NA... | determinedcheetahs/cheetah_juniper | hadoop/docs/api/org/apache/hadoop/mapred/class-use/InvalidFileTypeException.html | HTML | apache-2.0 | 6,104 |
# Copyright 2012 Nebula, 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 agree... | newrocknj/horizon | openstack_dashboard/dashboards/identity/projects/tests.py | Python | apache-2.0 | 82,571 |
/*
* Copyright 2000-2013 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | jk1/intellij-community | platform/vcs-impl/src/com/intellij/openapi/vcs/configurable/VcsGeneralConfigurationPanel.java | Java | apache-2.0 | 10,031 |
// 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 not... | cpcloud/arrow | csharp/test/Apache.Arrow.Tests/BitUtilityTests.cs | C# | apache-2.0 | 7,010 |
---
title: "Artist: Sequence"
view: page_curriculum
theme: none
---
<%= partial('curriculum_header', :unittitle=>'Course 1', :lesson=>8, :title=> 'Artist: Sequence', :unplugged=>false, :time=>30) %>
[content]
[together]
## Lesson Overview
In this lesson students will take control of the Artist to complete simple d... | dillia23/code-dot-org | pegasus/sites/virtual/curriculum-course1/8/Teacher.md | Markdown | apache-2.0 | 6,516 |