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 |
|---|---|---|---|---|---|
from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers
def register_types(module):
root_module = module.get_root()
## ipv4-nix-vector-routing.h: ns3::Ipv4NixVectorRouting [class]
module.add_class('Ipv4NixVectorRouting', parent=root_module['ns3::Ipv4RoutingProtocol'])
typ... | annegabrielle/secure_adhoc_network_ns-3 | ns3_source_code/ns-3.10/bindings/python/apidefs/gcc-LP64/ns3_module_nix_vector_routing.py | Python | gpl-2.0 | 11,439 |
// { dg-do link }
// { dg-options "-x c -lsupc++" }
// Copyright (C) 2006-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 published by the
// Free S... | krichter722/gcc | libstdc++-v3/testsuite/abi/cxx_runtime_only_linkage.cc | C++ | gpl-2.0 | 910 |
/*
* FFV1 codec for libavcodec
*
* Copyright (c) 2003-2012 Michael Niedermayer <michaelni@gmx.at>
*
* This file is part of FFmpeg.
*
* FFmpeg 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; eit... | kingvuplus/xbmc | lib/ffmpeg/libavcodec/ffv1.c | C | gpl-2.0 | 6,478 |
#
# Makefile for ZTE FTM device drivers.
#
# Created by ZTE_BOOT_JIA_20120803 jia.jia
#
obj-$(CONFIG_ZTE_FTM) += ftm.o
| MingoAllenII/draconis_msm8226 | drivers/staging/zte_ftm/Makefile | Makefile | gpl-2.0 | 119 |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Table: Column Toggle - jQuery Mobile Demos</title>
<link rel="shortcut icon" href="../favicon.ico">
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:300,... | arthurtofani/libr-reader | www/jquerymob/demos/table-column-toggle/index.html | HTML | gpl-2.0 | 52,964 |
/*
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Softwa... | md-5/jdk10 | test/hotspot/jtreg/vmTestbase/nsk/jvmti/GetThreadState/thrstat004/TestDescription.java | Java | gpl-2.0 | 1,870 |
using System;
using Server;
using System.Collections.Generic;
using Server.Items;
namespace Server.Multis
{
public class GargishGalleon : BaseGalleon
{
public override int NorthID { get { return 0x24 + (DamageValue * 4); } }
public override int EastID { get { return 0x25 + (DamageValue * 4); ... | HankTheDrunk/ServUO | Scripts/Services/High Seas/Multis/GargishGalleon.cs | C# | gpl-2.0 | 26,461 |
/* i915_irq.c -- IRQ support for the I915 -*- linux-c -*-
*/
/*
* Copyright 2003 Tungsten Graphics, Inc., Cedar Park, Texas.
* All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the
* "Software"), to deal in... | rjmccabe3701/LinuxViewPageTables | ubuntu/i915/i915_irq.c | C | gpl-2.0 | 121,231 |
<?php
/**
* @version $Id: index.php 10885 2013-05-30 06:31:41Z btowles $
* @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
*/
/**
* @var $layout RokSprocket_Layout_Headlines
* @var... | moveloaded/moveloaded | wp-content/plugins/wp_roksprocket/layouts/headlines/themes/default/index.php | PHP | gpl-2.0 | 1,360 |
// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (C) 2008, 2009 Intel Corporation
* Authors: Andi Kleen, Fengguang Wu
*
* High level machine check handler. Handles pages reported by the
* hardware as being corrupted usually due to a multi-bit ECC memory or cache
* failure.
*
* In addition there is a "so... | Broadcom/linux-rdma-nxt | mm/memory-failure.c | C | gpl-2.0 | 55,032 |
/* atomic.c -- implement atomic routines for Go.
Copyright 2011 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. */
#include <stdint.h>
#include "runtime.h"
int32_t SwapInt32 (int32_t *, int32_t)
__asm__ (GOSYM_PREFIX ... | mickael-guene/gcc | libgo/go/sync/atomic/atomic.c | C | gpl-2.0 | 8,398 |
// license:GPL-2.0+
// copyright-holders:Juergen Buchmueller
/***************************************************************************
vtech2.c
machine driver
Juergen Buchmueller <pullmoll@t-online.de> MESS driver, Jan 2000
Davide Moretti <dave@rimini.com> ROM dump and hardware description
TODO... | johnparker007/mame | src/mame/machine/vtech2.cpp | C++ | gpl-2.0 | 10,474 |
/*
* Intel IXP4xx Ethernet driver for Linux
*
* Copyright (C) 2007 Krzysztof Halasa <khc@pm.waw.pl>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License
* as published by the Free Software Foundation.
*
* Ethernet port conf... | holyangel/LGE_G3 | drivers/net/ethernet/xscale/ixp4xx_eth.c | C | gpl-2.0 | 38,452 |
#! /bin/bash
# Haven't managed to have Android.mk put my static libraries in front of
# libgcc.a and libgnustl_static.a so that I had to resort to this manual
# build script.
rm -rf obj
./cplibs-static.py
ARCH=armeabi
NDK=${HOME}/android-ndk-r7
HOSTOS=`uname -s`
case ${HOSTOS} in
'Darwin')
HOSTOS="darwin"
;;
*)
... | xdggplus/cryptonite | cryptonite/manual_make.sh | Shell | gpl-2.0 | 2,583 |
/*
* drivers/media/video/tegra/tegra_camera.c
*
* Copyright (C) 2010 Google, Inc.
* Copyright (C) 2012 Nvidia Corp
*
* 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, distributed, and modified under those... | wooshy1/kernel-olympus-3.1 | drivers/media/video/tegra/tegra_camera.c | C | gpl-2.0 | 13,379 |
/* drivers/video/msm/msm_fb.c
*
* Core MSM framebuffer driver.
*
* Copyright (C) 2007 Google Incorporated
*
* 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, distributed, and modified under those terms.
... | NooNameR/k3_bravo | drivers3/video/msm/msm_fb.c | C | gpl-2.0 | 35,380 |
/*
* Copyright(C) NXP Semiconductors, 2012
* All rights reserved.
*
* Software that is described herein is for illustrative purposes only
* which provides customers with programming information regarding the
* LPC products. This software is supplied "AS IS" without any warranties of
* any kind, and NXP Semicond... | poranmeloge/test-github | stm32_rtt_wifi/bsp/xplorer4330/libraries/lpc_board/boards_18xx_43xx/ngx_xplorer_18304330/board_ngx_xplorer_18304330.c | C | gpl-2.0 | 11,657 |
/* Copyright (C) 1991, 1997 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
version 2.1 of the... | pirix/glibc-pirix | sysdeps/unix/bsd/stty.c | C | gpl-2.0 | 1,016 |
/******************************************************************************
*
* Name: actables.h - ACPI table management
* $Revision: 32 $
*
*****************************************************************************/
/*
* Copyright (C) 2000, 2001 R. Byron Moore
*
* This program is free software;... | robacklin/celinux | drivers/acpi/include/actables.h | C | gpl-2.0 | 4,357 |
<div class="slider-parent">
<div class="slider-wrapper theme-default container">
<div class="ribbon"></div>
<div id="slider" class="nivoSlider">
<a href='#'><img src='<?php echo get_template_directory_uri()."/defaults/images/dimg9.jpg"; ?>' title='#caption_1'></a>
<a href='#'><img src='<?php echo get_... | Yacenko/Solaris | wp-content/themes/tmp/defaults/slider.php | PHP | gpl-2.0 | 980 |
/******************************************************************************
*
* Copyright(c) 2007 - 2010 Realtek Corporation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License as
* published by the ... | holyangel/LGE_G3 | drivers/staging/rtl8712/rtl8712_debugctrl_bitdef.h | C | gpl-2.0 | 1,567 |
#.rst:
# FindFLTK2
# ---------
#
# Find the native FLTK2 includes and library
#
# The following settings are defined
#
# ::
#
# FLTK2_FLUID_EXECUTABLE, where to find the Fluid tool
# FLTK2_WRAP_UI, This enables the FLTK2_WRAP_UI command
# FLTK2_INCLUDE_DIR, where to find include files
# FLTK2_LIBRARIES, list of... | xiaohaidao007/pandoraBox-SDK-mt7620 | staging_dir/host/share/cmake-3.6/Modules/FindFLTK2.cmake | CMake | gpl-2.0 | 8,162 |
/*
* Copyright (c) 2015, 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/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot.aarch64/src/org/graalvm/compiler/hotspot/aarch64/AArch64HotSpotLIRKindTool.java | Java | gpl-2.0 | 1,643 |
/* sched.c - SPU scheduler.
*
* Copyright (C) IBM 2005
* Author: Mark Nutter <mnutter@us.ibm.com>
*
* 2006-03-31 NUMA domains added.
*
* 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; ei... | holyangel/LGE_G3 | arch/powerpc/platforms/cell/spufs/sched.c | C | gpl-2.0 | 30,242 |
<?php if( !defined( '_VALID_MOS' ) && !defined( '_JEXEC' ) ) die( 'Direct Access to '.basename(__FILE__).' is not allowed.' );
mm_showMyFileName(__FILE__); ?>
<?php if(!@is_object( $pagenav)) return; ?>
<!-- BEGIN PAGE NAVIGATION -->
<div align="center">
<?php $pagenav->writePagesLinks( $search_string ); ?>
<?... | dreamriks/gift | components/original_com_virtuemart/themes/default/templates/browse/includes/browse_pagenav.tpl.php | PHP | gpl-2.0 | 767 |
/*
* 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 app... | luquanhong/MyCodec | projects/stagefright/jni/src/codec/decoder/video/sw_opencore/OEM/jni/media/frameworks/base/media/libstagefright/include/AVCDecoder.h | C | gpl-2.0 | 2,397 |
// Hungarian
// from Google Translate -- please help improve this translation
if (typeof FlexibleMap != "undefined") {
FlexibleMap.prototype.i18n["hu"] = {
"Click for details" : "Kattintson a részletekért",
"Directions" : "Térkép irányban",
"From" : "Indulás helye",
"Get directions" : "Térkép irányban"
};
... | mathewhtc/cats-old | wp-content/plugins/wp-flexible-map/i18n/hu.js | JavaScript | gpl-2.0 | 331 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML
><HEAD
><TITLE
>òÅÇÉÓÔÒÁÃÉÑ ÐÏÉÓËÏ×ÙÈ ÚÁÐÒÏÓÏ×
</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
REL="HOME"
TITLE="DataparkSearch Engine 4.54"
HREF="index.ru.html"><L... | Letractively/dataparksearch | doc/dpsearch-track.ru.html | HTML | gpl-2.0 | 5,018 |
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any la... | mkotsbak/modemmanager-debian | libmm-glib/mm-bearer-ip-config.c | C | gpl-2.0 | 13,113 |
/*
* Copyright 2008 Christian Franke <cfchris6@ts2server.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*... | cfra/arora | src/sourcehighlighter.cpp | C++ | gpl-2.0 | 6,364 |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Function template extract_or_throw</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="../../ind... | rprata/boost | libs/log/doc/html/boost/log/extract_or_thr_idp42395488.html | HTML | gpl-2.0 | 5,805 |
#ifndef OF_CONSTANTS
#define OF_CONSTANTS
//-------------------------------
#define OF_VERSION 6
//-------------------------------
//-------------------------------
// find the system type --------
//-------------------------------
// helpful:
// http://www.ogre3d.org/docs/api/html/OgrePlatform_8h-s... | ehsan108190/ccv-hand | CCV-HAND_Windows/libs/openFrameworks/utils/ofConstants.h | C | gpl-2.0 | 11,186 |
/*
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/KeyboardHostWithParser/ConfigDescriptor.h | C | gpl-2.0 | 2,509 |
/////////////////////////////////////////////////////////////////////////////
// Name: src/msw/textctrl.cpp
// Purpose: wxTextCtrl
// Author: Julian Smart
// Modified by:
// Created: 04/01/98
// RCS-ID: $Id: textctrl.cpp 60394 2009-04-26 18:41:02Z VZ $
// Copyright: (c) Julian Smart
// Licenc... | radiaku/decoda | libs/wxWidgets/src/msw/textctrl.cpp | C++ | gpl-3.0 | 87,388 |
//*@@@+++@@@@******************************************************************
//
// Microsoft Windows Media Foundation
// Copyright (C) Microsoft Corporation. All rights reserved.
//
// Portions Copyright (c) Microsoft Open Technologies, Inc.
//
//*@@@---@@@@**********************************************************... | lazyjarvis/artoolkit5 | lib/SRC/VideoWinMC/CaptureFrameGrabber/MediaStreamSink.cpp | C++ | gpl-3.0 | 8,667 |
var nodeListTemplate = "<% _.each(nodes, function(name) { %> <li><%= nodes.name %></li> <% }); %>";
//<li><a href="#" class="list-link" data-slug='+nodes.slug+' >' + nodes.name + '</a></li> | PabloCastellano/nodeshot | nodeshot/ui/open311_demo/static/open311/js/templates.js | JavaScript | gpl-3.0 | 189 |
--TEST--
ldap_count_entries() - Testing counting LDAP entries that should fail
--CREDITS--
Patrick Allaert <patrickallaert@php.net>
# Belgian PHP Testfest 2009
--SKIPIF--
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
require "connect.inc";
$link = ldap_connect($host, $port);
var_dump(ldap_count_entries($link));
... | tukusejssirs/eSpievatko | spievatko/espievatko/prtbl/srv/php-5.5.11/ext/ldap/tests/ldap_count_entries_error.phpt | PHP | gpl-3.0 | 606 |
# -*- coding: utf-8 -*-
from ..internal.XFSAccount import XFSAccount
class ExashareCom(XFSAccount):
__name__ = "ExashareCom"
__type__ = "account"
__version__ = "0.06"
__status__ = "testing"
__description__ = """Exashare.com account plugin"""
__license__ = "GPLv3"
__authors__ = [("Walter ... | Arno-Nymous/pyload | module/plugins/accounts/ExashareCom.py | Python | gpl-3.0 | 388 |
<?php
namespace Neos\Neos\Controller;
/*
* This file is part of the Neos.Neos package.
*
* (c) Contributors of the Neos Project - www.neos.io
*
* This package is Open Source Software. For the full copyright and license
* information, please view the LICENSE file which was distributed with this
* source code.
*... | kdambekalns/neos-development-collection | Neos.Neos/Classes/Controller/CreateContentContextTrait.php | PHP | gpl-3.0 | 2,909 |
/*
Unix SMB/CIFS implementation.
Windows NT Domain nsswitch module
Copyright (C) Tim Potter 2000
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 3 of the ... | hef/samba | nsswitch/winbind_nss_linux.c | C | gpl-3.0 | 32,895 |
/*
* Copyright 2020 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
* SPDX-License-Identifier: GPL-3.0-or-later
*
*/
/***********************************************************************************/
/* This file is automatically generated using bindtool and can be manually edited */
/* ... | jdemel/gnuradio | gr-analog/python/analog/bindings/agc3_cc_python.cc | C++ | gpl-3.0 | 2,731 |
# Add support for launching apps in the iOS 10 simulator
| thierrydouez/livecode | docs/notes/bugfix-18332.md | Markdown | gpl-3.0 | 57 |
/*
ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010,
2011,2012 Giovanni Di Sirio.
This file is part of ChibiOS/RT.
ChibiOS/RT 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 F... | openrobots-dev/ChibiOS | os/kernel/include/ch.h | C | gpl-3.0 | 3,470 |
# redundant-alt
Enforce img alt attribute does not contain the word image, picture, or photo. Screenreaders already announce `img` elements as an image. There is no need to use words such as *image*, *photo*, and/or *picture*.
## Rule details
This rule takes no arguments. This rule will first check if `aria-hidden` ... | santosh-surya/pcb-cnc-machine | desktop-application/node_modules/eslint-plugin-jsx-a11y/docs/rules/redundant-alt.md | Markdown | gpl-3.0 | 875 |
// Copyright 2019 Google
//
// 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 writ... | EclipseSoundscapes/EclipseSoundscapes | Pods/FirebaseCrashlytics/Crashlytics/Crashlytics/Components/FIRCLSGlobals.h | C | gpl-3.0 | 1,029 |
<?php
/* Copyright (C) 2004-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2005-2012 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2005-2012 Regis Houssin <regis.houssin@capnetworks.com>
*
* This program is free software; you can redistribute it and/or modify
* it u... | maestrano/dolibarr | htdocs/viewimage.php | PHP | gpl-3.0 | 6,453 |
/*************************************************************
* keywords.h
* This file defines the pascal compilation environment
*
* Copyright (C) 2008 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modif... | evancich/apm_motor | modules/PX4NuttX/misc/pascal/nuttx/keywords.h | C | gpl-3.0 | 2,549 |
<html lang="en">
<head>
<title>Ln - 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="Pseudo-Ops.html#Pseudo-Ops" title="Pseudo Ops">... | 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/Ln.html | HTML | gpl-3.0 | 2,144 |
/**
* -----------------------------------------------------------------------------
* @package smartVISU
* @author Martin Gleiß
* @copyright 2012 - 2015
* @license GPL <http://www.gnu.de>
* -----------------------------------------------------------------------------
*/
{% extends "rooms.html"... | bjko/smartvisu | pages/alber.smarthome.py/room0.garten.html | HTML | gpl-3.0 | 1,637 |
-----------------------------------
-- Area: Pashhow Marshlands
-- MOB: Copper Quadav
-----------------------------------
require("scripts/globals/fieldsofvalor");
-----------------------------------
-- onMobDeath
-----------------------------------
function onMobDeath(mob,killer,ally)
checkRegime(ally,mob,60,1... | nesstea/darkstar | scripts/zones/Pashhow_Marshlands/mobs/Copper_Quadav.lua | Lua | gpl-3.0 | 328 |
/**
* Aptana Studio
* Copyright (c) 2005-2011 by Appcelerator, Inc. All Rights Reserved.
* Licensed under the terms of the GNU Public License (GPL) v3 (with exceptions).
* Please see the license.html included with this distribution for details.
* Any modifications to this file must keep this entire header intact.
... | HossainKhademian/Studio3 | plugins/com.aptana.editor.html/src/com/aptana/editor/html/parsing/HTMLParserTagRule.java | Java | gpl-3.0 | 5,168 |
#region License
// Copyright (c) 2013, ClearCanvas Inc.
// All rights reserved.
// http://www.clearcanvas.ca
//
// This file is part of the ClearCanvas RIS/PACS open source project.
//
// The ClearCanvas RIS/PACS open source project is free software: you can
// redistribute it and/or modify it under the terms... | testdoron/ClearCanvas | Dicom/IO/ByteBuffer.cs | C# | gpl-3.0 | 20,015 |
package com.earth2me.essentials.storage;
import org.bukkit.plugin.Plugin;
import org.yaml.snakeyaml.TypeDescription;
import org.yaml.snakeyaml.Yaml;
import org.yaml.snakeyaml.constructor.Constructor;
import java.io.Reader;
import java.lang.reflect.Field;
import java.util.*;
import java.util.concurrent.locks.Reentrant... | dordsor21/dordsentials | Essentials/src/com/earth2me/essentials/storage/YamlStorageReader.java | Java | gpl-3.0 | 3,995 |
/*
Copyright © 2014-2015 by The qTox Project Contributors
This file is part of qTox, a Qt-based graphical interface for Tox.
qTox is libre 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 versi... | Grokafar/qTox | src/widget/maskablepixmapwidget.cpp | C++ | gpl-3.0 | 2,972 |
package org.mozilla.osmdroid.tileprovider;
import android.content.Context;
import org.mozilla.mozstumbler.svclocator.services.log.LoggerUtil;
import org.mozilla.osmdroid.tileprovider.modules.INetworkAvailablityCheck;
import org.mozilla.osmdroid.tileprovider.modules.NetworkAvailabliltyCheck;
import org.mozilla.osmdroi... | petercpg/MozStumbler | android/src/main/java/org/mozilla/osmdroid/tileprovider/BetterTileProvider.java | Java | mpl-2.0 | 3,668 |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* 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/. */
//--------------------------------... | SlateScience/MozillaJS | js/src/tests/js1_8_1/regress/regress-452498-192.js | JavaScript | mpl-2.0 | 884 |
package egoscale
import (
"context"
"encoding/json"
"fmt"
"log"
"time"
)
// RunstatusPage runstatus page
type RunstatusPage struct {
Created *time.Time `json:"created,omitempty"`
DarkTheme bool `json:"dark_theme,omitempty"`
Domain string ... | bryson/packer | vendor/github.com/exoscale/egoscale/runstatus_page.go | GO | mpl-2.0 | 5,239 |
if (getJitCompilerOptions()["ion.warmup.trigger"] > 20)
setJitCompilerOption("ion.warmup.trigger", 20);
function callRegExpTest(i) {
var s = "" + i;
var re = /(\d+)/;
re.test(s);
assertEq(RegExp.$1, s);
}
function callRegExpExec(i) {
var s = "" + i;
var re = /(\d+)/;
var res = re.exec(s)... | cstipkovic/spidermonkey-research | js/src/jit-test/tests/ion/bug1132128.js | JavaScript | mpl-2.0 | 600 |
# This script does 1 unit-test on given relative dir path and on given language.
# Here's its syntax:
# .\unit-test.ps1 RELATIVE_PATH LANG
# It return 0 if result is OK
# -1 if result is KO
# -2 if exception
# 1 if unitTest file not found
$testRoot = ".\"
$dirName=$args[0]
$langName=$args... | papyrussolution/OpenPapyrus | Src/OSF/npp-gh20210917/PowerEditor/Test/FunctionList/unitTest.ps1 | PowerShell | agpl-3.0 | 1,097 |
<%! from django.utils.translation import ugettext as _ %>
<%! import django_comment_client.helpers as helpers %>
<%! from django.template.defaultfilters import escapejs %>
<%! from django.core.urlresolvers import reverse %>
<%inherit file="../main.html" />
<%namespace name='static' file='../static_content.html'/>
<%bl... | PepperPD/edx-pepper-platform | lms/templates/discussion/index.html | HTML | agpl-3.0 | 1,398 |
<?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... | conjoon/webmail | vendor/zendframework/tests/Zend/Service/Flickr/OnlineTest.php | PHP | agpl-3.0 | 7,320 |
<?php
/**
* @copyright Copyright (c) 2016, ownCloud, Inc.
*
* @author Joas Schilling <coding@schilljs.com>
* @author Victor Dubiniuk <dubiniuk@owncloud.com>
*
* @license AGPL-3.0
*
* This code is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License,... | jbicha/server | apps/files_trashbin/tests/BackgroundJob/ExpireTrashTest.php | PHP | agpl-3.0 | 1,405 |
# This file is part of OpenHatch.
# Copyright (C) 2010 Parker Phinney
# Copyright (C) 2010 Jack Grigg
# Copyright (C) 2011 Krzysztof Tarnowski (krzysztof.tarnowski@ymail.com)
# Copyright (C) 2009, 2010, 2011 OpenHatch, Inc.
# Copyright (C) 2011 Jairo E. Lopez
#
# This program is free software: you can redistribute it a... | nirmeshk/oh-mainline | mysite/base/tests.py | Python | agpl-3.0 | 25,144 |
/*
* ################################################################
*
* 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
... | acontes/programming | src/Extensions/org/objectweb/proactive/extensions/annotation/migratable/MigratableVisitorCTree.java | Java | agpl-3.0 | 4,461 |
/* /% C %/ */
/***********************************************************************
* The WildCard interpreter
************************************************************************
* parameter information file TCLTK.h
************************************************************************
* Description:
* ... | dawehner/root | cint/cint/lib/WildCard/TCLTK.h | C | lgpl-2.1 | 4,289 |
/*
Copyright (C) 2004, 2005 Nikolas Zimmermann <zimmermann@kde.org>
2004, 2005, 2006 Rob Buis <buis@kde.org>
This file is part of the KDE project
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as p... | RLovelett/qt | src/3rdparty/webkit/WebCore/svg/SVGFEFuncAElement.cpp | C++ | lgpl-2.1 | 1,302 |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.3053
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----... | nimore/n2cms | src/WebForms/WebFormsTemplates/Addons/Wiki/UI/WikiTemplates/LinkFromParameter.ascx.designer.cs | C# | lgpl-2.1 | 503 |
/****************************************************************/
/* DO NOT MODIFY THIS HEADER */
/* MOOSE - Multiphysics Object Oriented Simulation Environment */
/* */
/* (c) 2010 Battelle Energy Alliance, LLC ... | katyhuff/moose | framework/include/kernels/ODETimeKernel.h | C | lgpl-2.1 | 1,292 |
/*
* JBoss, Home of Professional Open Source
* Copyright 2007, 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 use... | gytis/narayana | qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Clients2/Client003.java | Java | lgpl-2.1 | 3,637 |
/*
* GPAC - Multimedia Framework C SDK
*
* Authors: Jean Le Feuvre
* Copyright (c) Telecom ParisTech 2000-2012
* All rights reserved
*
* This file is part of GPAC / Authoring Tools sub-project
*
* GPAC is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser ... | psteinb/gpac | include/gpac/ismacryp.h | C | lgpl-2.1 | 5,081 |
#!/usr/bin/perl
use r_bp;
$a = new r_bp::RBreakpoint ();
$a->use ("x86");
$a->add_hw (0x8048000, 10, 0);
$a->add_sw (0x8048000, 10, 0);
$a->list (0);
| skuater/radare2-bindings | perl/test-r_bp.pl | Perl | lgpl-3.0 | 152 |
/**
* Copyright 2013-2014 University Of Southern California
*
* 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 appl... | AnnanCheng/WorkflowSim_Annan | sources/org/workflowsim/scheduling/RoundRobinSchedulingAlgorithm.java | Java | lgpl-3.0 | 2,702 |
//
// ControlFloor.h
// TonicDemo
//
// Created by Morgan Packard on 3/4/13.
//
// See LICENSE.txt for license and usage information.
//
#ifndef __TonicDemo__ControlFloor__
#define __TonicDemo__ControlFloor__
#include "ControlConditioner.h"
namespace Tonic{
namespace Tonic_{
class ControlFloor_ : public ... | TheWindInTheWillows/Tonic | src/Tonic/ControlFloor.h | C | unlicense | 714 |
/*
* Copyright (c) 2012-2015 The original author or authors
* ------------------------------------------------------
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* and Apache License v2.0 which accompanies this distributi... | dant3/moquette | broker/src/main/java/org/eclipse/moquette/server/netty/metrics/BytesMetrics.java | Java | apache-2.0 | 1,042 |
/*
* Copyright 2013 Cloudera 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 ... | tinkujohn/kite | kite-data/kite-data-hive/src/test/java/org/kitesdk/data/spi/hive/TestManagedExternalHandling.java | Java | apache-2.0 | 8,205 |
contrail-puppet
===============
Puppet recipes for Contrail components
This repo contains modules that contain custom resources for contrail roles.
At present, following roles are defined.
1. contrail-common - Contains common resources to be instantiated for all the servers
regardless of other c... | dgautam/contrail-puppet | contrail/environment/modules/contrail/README.md | Markdown | apache-2.0 | 806 |
/*
* 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 "license" file... | d9magai/aws-sdk-cpp | aws-cpp-sdk-cloudformation/source/model/Capability.cpp | C++ | apache-2.0 | 1,375 |
require 'chef/provisioning/aws_driver/aws_resource'
class Chef::Resource::AwsServerCertificate < Chef::Provisioning::AWSDriver::AWSResource
aws_sdk_type AWS::IAM::ServerCertificate
attribute :name, kind_of: String, name_attribute: true
attribute :certificate_body, kind_of: String
attribute :private_key, kind... | tarak/chef-provisioning-aws | lib/chef/resource/aws_server_certificate.rb | Ruby | apache-2.0 | 592 |
# Encoding: utf-8
#
# Author:: api.dklimkin@gmail.com (Danial Klimkin)
#
# Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
#
# License:: 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 ... | SumitBisht/adwords-api-v201302 | lib/adwords_api/report_utils.rb | Ruby | apache-2.0 | 9,629 |
//! Platform-specific extensions to `std` for Unix platforms.
//!
//! Provides access to platform-level information on Unix platforms, and
//! exposes Unix-specific functions that would otherwise be inappropriate as
//! part of the core `std` library.
//!
//! It exposes more ways to deal with platform-specific strings ... | graydon/rust | library/std/src/os/unix/mod.rs | Rust | apache-2.0 | 3,768 |
/*
* Copyright 2000-2009 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 | plugins/svn4idea/src/org/jetbrains/idea/svn/actions/CleanupAction.java | Java | apache-2.0 | 2,000 |
/*
Q Light Controller
vcxypadfixtureeditor.h
Copyright (c) Heikki Junnila
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.txt
Unless... | nedmech/qlcplus | ui/src/virtualconsole/vcxypadfixtureeditor.h | C | apache-2.0 | 1,741 |
using Nop.Core.Domain.Messages;
using Nop.Tests;
using NUnit.Framework;
namespace Nop.Data.Tests.Messages
{
[TestFixture]
public class EmailAccountPersistenceTests : PersistenceTest
{
[Test]
public void Can_save_and_load_emailAccount()
{
var emailAccount = new EmailAcco... | jornfilho/nopCommerce | source/Tests/Nop.Data.Tests/Messages/EmailAccountPersistenceTests.cs | C# | apache-2.0 | 1,190 |
if(NOT CUSTOM_PLATFORM_DIR )
message(FATAL_ERROR "Custom platforms require the CUSTOM_PLATFORM_DIR parameter to be set")
endif()
file(TO_CMAKE_PATH "${CUSTOM_PLATFORM_DIR}" __custom_platform_dir)
if(NOT IS_DIRECTORY "${__custom_platform_dir}")
message(FATAL_ERROR "${CUSTOM_PLATFORM_DIR} is not a valid directo... | cedral/aws-sdk-cpp | cmake/platform/custom.cmake | CMake | apache-2.0 | 999 |
package net.floodlightcontroller.restserver;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.restlet.Application;
import org.restlet.Component;
import org.restlet.Context;
import org.restlet.Request;
import org.restlet.Response... | floodlight/ubuntu-packaging-floodlight | src/main/java/net/floodlightcontroller/restserver/RestApiServer.java | Java | apache-2.0 | 6,601 |
/*
* JBoss, Home of Professional Open Source.
* Copyright 2015, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* unde... | nmcl/scratch | graalvm/transactions/fork/narayana/XTS/WS-C/dev/src/com/arjuna/webservices11/util/PrivilegedMapBuilderFactory.java | Java | apache-2.0 | 1,820 |
/*
* JBoss, Home of Professional Open Source
* Copyright 2007, 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 use... | nmcl/scratch | graalvm/transactions/fork/narayana/XTS/localjunit/WSTFSC07-interop/src/main/java/com/jboss/transaction/wstf/test/TestRunner.java | Java | apache-2.0 | 5,135 |
/*
* 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 ... | YrAuYong/incubator-calcite | core/src/main/java/org/apache/calcite/sql/SqlAbstractDateTimeLiteral.java | Java | apache-2.0 | 4,501 |
/*
* Copyright 2000-2015 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... | vvv1559/intellij-community | platform/editor-ui-api/src/com/intellij/openapi/actionSystem/AnAction.java | Java | apache-2.0 | 12,200 |
/*
Copyright 2016 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, ... | luomiao/kops | vendor/k8s.io/kubernetes/cmd/kubernetes-discovery/pkg/client/informers/factory.go | GO | apache-2.0 | 4,393 |
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except
* in compliance with, at your election, the Elastic License 2.0 or the Server... | robin13/elasticsearch | modules/lang-painless/src/main/java/org/elasticsearch/painless/symbol/FunctionTable.java | Java | apache-2.0 | 5,168 |
define(
({
visible: "הצג מפת התמצאות כברירת מחדל",
minWidth: "רוחב מינימלי",
minHeight: "גובה מינימלי",
maxWidth: "אורך מקסימלי",
maxHeight: "גובה מקסימלי",
minText: "מינימום",
maxText: "מקסימום",
attachText: "ציין לאיזו פינה של המפה יש להצמיד וידג'ט זה.",
expandText: "הרחבה ראשו... | cob222/CPG | widgets/OverviewMap/setting/nls/he/strings.js | JavaScript | apache-2.0 | 648 |
/*
* 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/viewer-restfulobjects-applib/src/main/java/org/apache/isis/viewer/restfulobjects/applib/client/RestfulRequest.java | Java | apache-2.0 | 7,416 |
//// [recursiveSpecializationOfSignatures.ts]
class S0<B, A> {
set S1(S2: S0<any,any>) {
}
constructor(public S17: S0<any, (S18) => A>) { }
}
//// [recursiveSpecializationOfSignatures.js]
var S0 = /** @class */ (function () {
function S0(S17) {
this.S17 = S17;
}
Object.defineProperty(S0.pr... | weswigham/TypeScript | tests/baselines/reference/recursiveSpecializationOfSignatures.js | JavaScript | apache-2.0 | 467 |
/*
* 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 ... | Vansee/RocketMQ | common/src/main/java/org/apache/rocketmq/common/protocol/body/ConsumerConnection.java | Java | apache-2.0 | 3,072 |
//// [parserMemberAccessorDeclaration6.ts]
class C {
set 0(i) { }
}
//// [parserMemberAccessorDeclaration6.js]
var C = /** @class */ (function () {
function C() {
}
Object.defineProperty(C.prototype, 0, {
set: function (i) { },
enumerable: true,
configurable: true
}... | basarat/TypeScript | tests/baselines/reference/parserMemberAccessorDeclaration6.js | JavaScript | apache-2.0 | 346 |
//// [inheritance1.ts]
class Control {
private state: any;
}
interface SelectableControl extends Control {
select(): void;
}
class Button extends Control implements SelectableControl {
select() { }
}
class TextBox extends Control {
select() { }
}
class ImageBase extends Control implements SelectableCo... | ivogabe/TypeScript | tests/baselines/reference/inheritance1.js | JavaScript | apache-2.0 | 2,552 |
"""
* Copyright 2007 Google Inc.
# Copyright (C) 2009 Luke Kenneth Casson Leighton <lkcl@lkcl.net>
*
* 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.... | spaceone/pyjs | pyjswidgets/pyjamas/ui/RichTextAreaConsts.py | Python | apache-2.0 | 998 |
package start
import (
"crypto/tls"
"crypto/x509/pkix"
"fmt"
"io/ioutil"
"os"
"path/filepath"
"time"
"github.com/golang/glog"
kapi "k8s.io/kubernetes/pkg/api"
kerrors "k8s.io/kubernetes/pkg/api/errors"
"k8s.io/kubernetes/pkg/apis/certificates"
kclientset "k8s.io/kubernetes/pkg/client/clientset_generated/... | rawlingsj/gofabric8 | vendor/github.com/openshift/origin/pkg/cmd/server/start/bootstrap_node.go | GO | apache-2.0 | 12,831 |
/*
* 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 ... | shirshanka/gobblin | gobblin-modules/gobblin-kafka-09/src/main/java/org/apache/gobblin/kafka/serialize/LiAvroSerializer.java | Java | apache-2.0 | 1,521 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.