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 |
|---|---|---|---|---|---|
/*
* 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 (C) 2008 Maxime Bizon <mbizon@freebox.fr>
* Copyright (C) 2009 Florian Fainelli <florian@openwrt.org>
*/
#include <linux/kern... | jameshilliard/m8-3.4.0-gb1fa77f | arch/mips/bcm63xx/cpu.c | C | gpl-2.0 | 5,924 |
/*
* Freescale PWM Register Definitions
*
* Copyright 2008 Embedded Alley Solutions, Inc All Rights Reserved.
* Copyright 2008-2010 Freescale Semiconductor, Inc.
*
* 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 ... | marek-g/kobo-kernel-2.6.35.3-marek | arch/arm/mach-mx23/include/mach/regs-pwm.h | C | gpl-2.0 | 4,960 |
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/device.h>
#include <linux/slab.h>
#include <linux/fs.h>
#include <linux/mm.h>
#include <linux/interrupt.h>
#include <linux/vmalloc.h>
#include <linux/platform_device.h>
#include <linux/miscdevice.h>
#include <linux/wait.h>
#incl... | rimistri/mediatek | mt6592/mediatek/platform/mt6592/kernel/drivers/accdet/accdet.h | C | gpl-2.0 | 2,410 |
/*
* SoftDog: A Software Watchdog Device
*
* (c) Copyright 1996 Alan Cox <alan@lxorguk.ukuu.org.uk>,
* 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... | jameshilliard/m8-3.4.0-gb1fa77f | drivers/watchdog/softdog.c | C | gpl-2.0 | 5,039 |
#include <linux/kernel.h>
#include <linux/ip.h>
#include <linux/sctp.h>
#include <net/ip.h>
#include <net/ip6_checksum.h>
#include <linux/netfilter.h>
#include <linux/netfilter_ipv4.h>
#include <net/sctp/checksum.h>
#include <net/ip_vs.h>
static int
sctp_conn_schedule(int af, struct sk_buff *skb, struct ip_vs_proto_da... | jameshilliard/m8-3.4.0-gb1fa77f | net/netfilter/ipvs/ip_vs_proto_sctp.c | C | gpl-2.0 | 18,826 |
/*
* OMAP2+ MPU WD_TIMER-specific code
*
* 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.
*/
#include <linux/kern... | jameshilliard/m8-3.4.0-gb1fa77f | arch/arm/mach-omap2/wd_timer.c | C | gpl-2.0 | 1,039 |
/*
* MobiCore client library device management.
*
* Device and Trustlet Session management Functions.
*
* <-- Copyright Giesecke & Devrient GmbH 2009 - 2012 -->
*
* 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
* publish... | jameshilliard/m8-3.4.0-gb1fa77f | drivers/gud/mobicore_kernelapi/device.c | C | gpl-2.0 | 4,475 |
#ifndef _OZURBPARANOIA_H
#define _OZURBPARANOIA_H
/* -----------------------------------------------------------------------------
* Released under the GNU General Public License Version 2 (GPLv2).
* Copyright (c) 2011 Ozmo Inc
* -----------------------------------------------------------------------------
*/
#ifd... | jameshilliard/m8-3.4.0-gb1fa77f | drivers/staging/ozwpan/ozurbparanoia.h | C | gpl-2.0 | 499 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>ATC: fix_modify AtC output</title>
<link href="tabs.css" rel="styleshee... | ovilab/atomify-lammps | libs/lammps/doc/src/USER/atc/man_output.html | HTML | gpl-3.0 | 2,975 |
//
// InviteViewController.h
// Funner
//
// Created by highjump on 14-11-9.
//
//
#import <UIKit/UIKit.h>
@interface InviteViewController : UIViewController
@end
| srsman/leya | Funner-2/Funner/View/ChatViewController/FriendViewController/InviteViewController/InviteViewController.h | C | unlicense | 169 |
// Copyright JS Foundation and other contributors, http://js.foundation
//
// 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 r... | grgustaf/jerryscript | tests/jerry/regression-test-issue-1855.js | JavaScript | apache-2.0 | 698 |
/*
* Copyright (C) 2010 The Guava 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 agre... | lshain-android-source/external-guava | guava-testlib/src/com/google/common/collect/testing/BaseComparable.java | Java | apache-2.0 | 1,415 |
local wrk = {
scheme = "http",
host = "localhost",
port = nil,
method = "GET",
path = "/",
headers = {},
body = nil,
thread = nil,
}
function wrk.resolve(host, service)
local addrs = wrk.lookup(host, service)
for i = #addrs, 1, -1 do
if not wrk.connect(addrs[i]) then
... | mneumann/wrk | src/wrk.lua | Lua | apache-2.0 | 1,571 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis.Features.RQName.SimpleTree;
namespace Microsoft.CodeAnalysis.Features.RQName.Nodes
{
internal class RQNullType : RQType
... | mmitche/roslyn | src/Features/Core/Portable/RQName/Nodes/RQNullType.cs | C# | apache-2.0 | 572 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Runtime.InteropServices;
using Microsoft.CodeAnalysis;
using Microsoft.VisualStudio.LanguageServices.Implementation.CodeModel.Collections;
using... | mmitche/roslyn | src/VisualStudio/Core/Impl/CodeModel/InternalElements/CodeClass.cs | C# | apache-2.0 | 7,917 |
<blockquote>
<h2>header</h2>
<p>paragraph</p>
<ul>
<li>li</li>
</ul>
<hr />
<p>paragraph</p>
</blockquote> | Urbannet/cleanclean | yii2/vendor/erusev/parsedown/test/data/compound_blockquote.html | HTML | bsd-3-clause | 106 |
YUI.add('anim-base', function(Y) {
/**
* The Animation Utility provides an API for creating advanced transitions.
* @module anim
*/
/**
* Provides the base Anim class, for animating numeric properties.
*
* @module anim
* @submodule anim-base
*/
/**
* A class for constructing animation instances.
* @cla... | jonathantneal/cdnjs | ajax/libs/yui/3.7.0pr1/anim-base/anim-base-debug.js | JavaScript | mit | 18,949 |
// Copyright 2014 Google Inc. All Rights Reserved.
//
// Use of this source code is governed by a BSD-style license
// that can be found in the COPYING file in the root of the source
// tree. An additional intellectual property rights grant can be found
// in the file PATENTS. All contributing project authors may
// be... | MrMaidx/godot | thirdparty/libwebp/dsp/lossless_sse2.c | C | mit | 29,485 |
using System;
using System.Collections.Concurrent;
using System.Web.Mvc;
using Umbraco.Core;
using Umbraco.Core.Logging;
using Umbraco.Core.Services;
using Umbraco.Web.Security;
using Umbraco.Web.WebApi;
namespace Umbraco.Web.Mvc
{
/// <summary>
/// A base class for all plugin controllers to inheri... | qizhiyu/Umbraco-CMS | src/Umbraco.Web/Mvc/PluginController.cs | C# | mit | 4,947 |
/*
* Copyright (c) 2002, 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... | rokn/Count_Words_2015 | testing/openjdk/hotspot/agent/src/share/classes/sun/jvm/hotspot/asm/sparc/SPARCV9FMOVccInstruction.java | Java | mit | 1,829 |
/******************************************************************************
*
* 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 ... | embeddedgeeks/rtl819xsu | os_dep/linux/recv_linux.c | C | gpl-2.0 | 7,193 |
;; PowerPC paired single and double hummer description
;; Copyright (C) 2007-2014 Free Software Foundation, Inc.
;; Contributed by David Edelsohn <edelsohn@gnu.org> and Revital Eres
;; <eres@il.ibm.com>
;; This file is part of GCC.
;; GCC is free software; you can redistribute it and/or modify it
;; under the terms o... | periclesroalves/gcc-conair | gcc/config/rs6000/paired.md | Markdown | gpl-2.0 | 16,016 |
// { dg-require-c-std "" }
// Copyright (C) 2011-2014 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 Software Foundation; eith... | xinchoubiology/gcc | libstdc++-v3/testsuite/26_numerics/complex/cons/48760.cc | C++ | gpl-2.0 | 1,595 |
// 2003-10-14 Paolo Carlini <pcarlini@unitus.it>
// Copyright (C) 2003-2014 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... | xinchoubiology/gcc | libstdc++-v3/testsuite/25_algorithms/unique/2.cc | C++ | gpl-2.0 | 2,615 |
<?php
/**
* @version $Id: AbstractRokMenuFormatter.php 4585 2012-10-27 01:44:54Z btowles $
* @author RocketTheme http://www.rockettheme.com
* @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
*/
require_once(dirname(__FILE__) . '/RokMe... | pdonaire1/gisaga | tmp/install_544db754ed102/mod_roknavmenu/lib/librokmenu/AbstractRokMenuFormatter.php | PHP | gpl-2.0 | 4,658 |
/*
* Copyright (c) 2006, 2007 QLogic Corporation. All rights reserved.
* Copyright (c) 2005, 2006 PathScale, Inc. All rights reserved.
*
* This software is available to you under a choice of one of two
* licenses. You may choose to be licensed under the terms of the GNU
* General Public License (GPL) Version 2, ... | kidmaple/CoolWall | linux-2.6.x/drivers/infiniband/hw/ipath/ipath_verbs_mcast.c | C | gpl-2.0 | 8,559 |
/* LibTomCrypt, modular cryptographic library -- Tom St Denis
*
* LibTomCrypt is a library that provides various cryptographic
* algorithms in a highly modular and flexible manner.
*
* The library is free for all purposes without any express
* guarantee it works.
*
* Tom St Denis, tomstdenis@gmail.com, http://l... | rhuitl/uClinux | user/dropbear/libtomcrypt/src/pk/asn1/der/bit/der_length_bit_string.c | C | gpl-2.0 | 1,416 |
/****************************************************************************
****************************************************************************
***
*** This header was automatically generated from a Linux kernel header
*** of the same name, to make information necessary for userspace to
*** call i... | s20121035/rk3288_android5.1_repo | bionic/libc/kernel/uapi/asm-mips/asm/resource.h | C | gpl-3.0 | 1,461 |
<!doctype html>
<html>
<head>
<title>Name test case 601</title>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
<link rel="stylesheet" href="/wai-aria/scripts/manual.css">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>... | UK992/servo | tests/wpt/web-platform-tests/accname/name_test_case_601-manual.html | HTML | mpl-2.0 | 1,661 |
# frozen_string_literal: true
class StatusFinder
attr_reader :url
def initialize(url)
@url = url
end
def status
verify_action!
raise ActiveRecord::RecordNotFound unless TagManager.instance.local_url?(url)
case recognized_params[:controller]
when 'statuses'
Status.find(recognized_p... | tootsuite/mastodon | app/lib/status_finder.rb | Ruby | agpl-3.0 | 616 |
/**********************************************************************************
* $URL$
* $Id$
***********************************************************************************
*
* Copyright (c) 2006, 2008 The Sakai Foundation
*
* Licensed under the Educational Community License, Version 2.0 (the "License"... | OpenCollabZA/sakai | common/import-parsers/common-cartridge/src/test/java/org/sakaiproject/importer/impl/CommonCartridgeTest.java | Java | apache-2.0 | 2,737 |
<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK IT ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006-2014 http://thinkphp.cn All rights reserved.
// +-----------------------------------------... | wangzhanjian/php_weiguanjia | weiguanjia/ThinkPHP/Library/Behavior/ContentReplaceBehavior.class.php | PHP | apache-2.0 | 1,974 |
cask 'xscreensaver' do
version '5.35'
sha256 '6ad392df82005b7a6915ebe18eb340e2fc8e1e1dc7d8e0e8a2822be1377f23b7'
url "https://www.jwz.org/xscreensaver/xscreensaver-#{version}.dmg"
name 'XScreenSaver'
homepage 'https://www.jwz.org/xscreensaver/'
license :bsd
screen_saver 'Screen Savers/Abstractile.saver'
... | asbachb/homebrew-cask | Casks/xscreensaver.rb | Ruby | bsd-2-clause | 10,327 |
#!/bin/bash
test_info()
{
cat <<EOF
Verify that a mounted NFS share is still operational after failover.
We mount an NFS share from a node, write a file via NFS and then
confirm that we can correctly read the file after a failover.
Prerequisites:
* An active CTDB cluster with at least 2 nodes with public addres... | SVoxel/R7800 | git_home/samba.git/ctdb/tests/complex/45_failover_nfs_kill.sh | Shell | gpl-2.0 | 2,179 |
/* SPDX-License-Identifier: MIT */
/*
* Copyright © 2019 Intel Corporation
*/
#ifndef __I915_GEM_REGION_H__
#define __I915_GEM_REGION_H__
#include <linux/types.h>
struct intel_memory_region;
struct drm_i915_gem_object;
struct sg_table;
void i915_gem_object_init_memory_region(struct drm_i915_gem_object *obj,
... | tprrt/linux-stable | drivers/gpu/drm/i915/gem/i915_gem_region.h | C | gpl-2.0 | 630 |
/* Copyright (c) 2008-2010, Code Aurora Forum. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
* * Redistributions of source code must retain the above copyright
* notice, this lis... | mwalt2/shooter-2.6.35_mr-kernel | drivers/video/msm_8x60/msm_fb_panel.h | C | gpl-2.0 | 5,894 |
// VirtualDub - Video processing and capture application
// System library component
// Copyright (C) 1998-2004 Avery Lee, All Rights Reserved.
//
// Beginning with 1.6.0, the VirtualDub system library is licensed
// differently than the remainder of VirtualDub. This particular file is
// thus licensed as follow... | zengweitotty/mpc-hc | src/thirdparty/VirtualDub/system/source/math.cpp | C++ | gpl-3.0 | 5,024 |
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
\\/ M anipulation |
-------------... | morgoth541/of_realFluid | applications/solvers/combustion/fireFoam/readPyrolysisTimeControls.H | C++ | gpl-3.0 | 1,322 |
/**
* Classes that ensure web requests are received over required transport channels.
* <p>
* Most commonly used to enforce that requests are submitted over HTTP or HTTPS.
*/
package org.springframework.security.web.access.channel;
| panchenko/spring-security | web/src/main/java/org/springframework/security/web/access/channel/package-info.java | Java | apache-2.0 | 237 |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Web.Http;
using System.Web.Http.Controllers;
using Syst... | filipw/apress-recipes-webapi | Chapter 12/10-1/Apress.Recipes.WebApi/Apress.Recipes.WebApi/Areas/HelpPage/HelpPageConfigurationExtensions.cs | C# | apache-2.0 | 22,777 |
//this file is autogenerated using stringify.bat (premake --stringify) in the build folder of this project
static const char* integrateKernelCL= \
"/*\n"
"Copyright (c) 2013 Advanced Micro Devices, Inc. \n"
"This software is provided 'as-is', without any express or implied warranty.\n"
"In no event will the authors be... | Naftoreiclag/VS7C | thirdparty/bullet3-2.83.4/include/Bullet3OpenCL/RigidBody/kernels/integrateKernel.h | C | apache-2.0 | 13,183 |
/* ========================================================================
* Bootstrap: modal.js v3.0.0
* http://twbs.github.com/bootstrap/javascript.html#modals
* ========================================================================
* Copyright 2012 Twitter, Inc.
*
* Licensed under the Apache License, Versio... | johannnallathamby/product-is | modules/jaggery-apps/user-dashboard/dashboard/js/d_modal.js | JavaScript | apache-2.0 | 7,003 |
//===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------... | mxOBS/deb-pkg_trusty_chromium-browser | third_party/libc++/trunk/test/depr/depr.auto.ptr/auto.ptr/auto.ptr.members/reset.pass.cpp | C++ | bsd-3-clause | 1,042 |
/**
* Defines Percent Chart Series.
*/
/**
* ============================================================================
* IMPORTS
* ============================================================================
* @hidden
*/
import { Series, SeriesDataItem, ISeriesProperties, ISeriesDataFields, ISeriesAd... | cdnjs/cdnjs | ajax/libs/amcharts4/4.9.37/.internal/charts/series/PercentSeries.d.ts | TypeScript | mit | 15,218 |
/*
* Copyright 2008 Jerome Glisse.
* All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy,... | cneira/ebpf-backports | linux-3.10.0-514.21.1.el7.x86_64/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | C | gpl-2.0 | 26,057 |
/**
* \file radeon_drv.c
* ATI Radeon driver
*
* \author Gareth Hughes <gareth@valinux.com>
*/
/*
* Copyright 2000 VA Linux Systems, Inc., Sunnyvale, California.
* All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documenta... | makarandk/linux | drivers/gpu/drm/radeon/radeon_drv.c | C | gpl-2.0 | 21,025 |
// SPDX-License-Identifier: GPL-2.0-only
/*
* kretprobe_example.c
*
* Here's a sample kernel module showing the use of return probes to
* report the return value and total time taken for probed function
* to run.
*
* usage: insmod kretprobe_example.ko func=<func_name>
*
* If no func_name is specified, _do_fork... | skalk/linux | samples/kprobes/kretprobe_example.c | C | gpl-2.0 | 3,060 |
using System;
namespace Server.Items
{
[Flipable(0xC17, 0xC18)]
public class BrokenCoveredChairComponent : AddonComponent
{
public BrokenCoveredChairComponent()
: base(0xC17)
{
}
public BrokenCoveredChairComponent(Serial serial)
: base(serial)
... | GenerationOfWorlds/GOW | Scripts/Systems/Items/Management/Anniversy_Collections/Broken Furniture Collection/BrokenCoveredChair.cs | C# | gpl-3.0 | 2,676 |
<?php
class ControllerFeedGoogleBase extends Controller {
public function index() {
if ($this->config->get('google_base_status')) {
$output = '<?xml version="1.0" encoding="UTF-8" ?>';
$output .= '<rss version="2.0" xmlns:g="http://base.google.com/ns/1.0">';
$output .= '<channel>';
$output .= '<title>' ... | zhoujiafei/opencart | upload/catalog/controller/feed/google_base.php | PHP | gpl-3.0 | 5,046 |
/*
* 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 n... | lburgazzoli/apache-activemq-artemis | artemis-core-client/src/main/java/org/apache/activemq/artemis/core/remoting/CloseListener.java | Java | apache-2.0 | 1,259 |
/*
* LZO 1x decompression
* Copyright (c) 2006 Reimar Doeffinger
*
* 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; either
* version 2.1 of the License,... | JREkiwi/sagetv | third_party/mplayer/libavutil/lzo.c | C | apache-2.0 | 8,004 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Linq.Expressions;
using Xunit;
namespace System.Linq.Tests
{
public class SingleTests : Enumerable... | iamjasonp/corefx | src/System.Linq.Queryable/tests/SingleTests.cs | C# | mit | 2,798 |
namespace Nancy.Tests.Unit.Conventions
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Nancy.Conventions;
using Xunit;
using System.Globalization;
public class DefaultCultureConventionsFixture
{
private readonly Nanc... | AlexPuiu/Nancy | src/Nancy.Tests/Unit/Conventions/DefaultCultureConventionsFixture.cs | C# | mit | 3,757 |
namespace Nancy.ViewEngines.DotLiquid.Tests.Functional
{
using Testing;
using Xunit;
public class PartialRenderingFixture
{
private readonly Browser browser;
public PartialRenderingFixture()
{
var bootstrapper = new ConfigurableBootstrapper(with => {
... | AlexPuiu/Nancy | src/Nancy.ViewEngines.DotLiquid.Tests/Functional/PartialRenderingFixture.cs | C# | mit | 2,078 |
/*
Copyright (c) 2002, 2014, Oracle and/or its affiliates. All rights reserved.
The MySQL Connector/J is licensed under the terms of the GPLv2
<http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>, like most MySQL Connectors.
There are special exceptions to the terms and conditions of the GPLv2 as it is appl... | seanbright/mysql-connector-j | src/com/mysql/jdbc/util/TimezoneDump.java | Java | gpl-2.0 | 2,696 |
<ul class="UIAPIPlugin-toc">
<li><a href="#overview">Overview</a></li>
<li><a href="#options">Options</a></li>
<li><a href="#events">Events</a></li>
<li><a href="#methods">Methods</a></li>
<li><a href="#theming">Theming</a></li>
</ul>
<div class="UIAPIPlugin">
<h1>jQuery UI Autocomplete</h1>
<div id="overview">
... | patdunlavey/williamstownbeat | sites/all/modules/jquery_ui/jquery.ui/docs/autocomplete.html | HTML | gpl-2.0 | 22,151 |
/*
* Copyright (c) 2002, 2013, Oracle and/or its affiliates. All rights reserved.
* Copyright 2012, 2013 SAP AG. 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... | mur47x111/JDK8-concurrent-tagging | src/cpu/ppc/vm/depChecker_ppc.hpp | C++ | gpl-2.0 | 1,258 |
/*
Copyright (c) 2013 Arduino LLC. All right reserved.
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.
Th... | snargledorf/Arduino | libraries/Bridge/src/BridgeClient.cpp | C++ | lgpl-2.1 | 3,823 |
package org.andengine.util.adt.trie;
import android.util.SparseArray;
/**
* (c) Zynga 2012
*
* @author Nicolas Gramlich <ngramlich@zynga.com>
* @since 12:25:47 - 30.01.2012
*/
public class Trie implements ITrie {
// ===========================================================
// Constants
// ==================... | zcwk/AndEngine | src/org/andengine/util/adt/trie/Trie.java | Java | apache-2.0 | 4,735 |
'use strict';
var pathFn = require('path');
var Promise = require('bluebird');
var fs = require('hexo-fs');
function getExtname(str) {
if (typeof str !== 'string') return '';
var extname = pathFn.extname(str);
return extname[0] === '.' ? extname.slice(1) : extname;
}
function Render(ctx) {
this.context = ct... | rocknamx8/rocknamx8.github.io | node_modules/hexo/lib/hexo/render.js | JavaScript | apache-2.0 | 3,280 |
/*
* The Clear BSD License
* Copyright (c) 2016, Freescale Semiconductor, Inc.
* Copyright 2016-2017 NXP
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted (subject to the limitations in the disclaimer below) provided
* that the following ... | mbedmicro/mbed | targets/TARGET_NXP/TARGET_MCUXpresso_MCUS/TARGET_MCU_LPC546XX/drivers/fsl_pint.h | C | apache-2.0 | 17,768 |
<!doctype html>
<html>
<head>
<meta charset=utf-8>
<title>Encrypted Media Extensions: Check encryptionScheme with DRM</title>
<link rel="help" href="https://w3c.github.io/encrypted-media/">
<!-- Web Platform Test Harness scripts -->
<script src=/resources/testharness.js></script>
<script src=... | chromium/chromium | third_party/blink/web_tests/external/wpt/encrypted-media/drm-check-encryption-scheme.https.html | HTML | bsd-3-clause | 955 |
/*
'src_ipsec_pgpIPsec.c' Obfuscated by COBF (Version 1.06 2006-01-07 by BB) at Mon Dec 22 18:00:49 2014
*/
#include"cobf.h"
#ifdef _WIN32
#if defined( UNDER_CE) && defined( bb334) || ! defined( bb341)
#define bb357 1
#define bb356 1
#else
#define bb335 bb350
#define bb358 1
#define bb348 1
#endif
#define bb360 1
#i... | lyfest/android_kernel_samsung_sltechn | drivers/net/wireless/ipsecdrvtl/bi.c | C | gpl-2.0 | 34,048 |
<?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
return arr... | JorikVartanov/zf2 | zf2_project/vendor/zendframework/zendframework/library/Zend/I18n/Validator/PhoneNumber/GG.php | PHP | bsd-3-clause | 1,631 |
/*!
* OOjs UI v0.9.3
* https://www.mediawiki.org/wiki/OOjs_UI
*
* Copyright 2011–2015 OOjs Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
* Date: 2015-03-19T23:19:18Z
*/
.oo-ui-icon-table {
background-image: /* @embed */ url(themes/mediawiki/images/icons/table.pn... | brix/cdnjs | ajax/libs/oojs-ui/0.9.3/oojs-ui-mediawiki-icons-editing-advanced.raster.rtl.css | CSS | mit | 1,322 |
/*
Copyright (c) 2016 Barrett Adair
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
HEADER GUARDS INTENTIONALLY OMITTED
DO NOT INCLUDE THIS HEADER DIRECTLY
macros used:
BOOST_CLBL_TRTS_INCLUDE_QUALIFIERS - the function-level q... | andrewchenshx/vnpy | vnpy/api/xtp/vnxtp/include/boost/callable_traits/detail/unguarded/function_3.hpp | C++ | mit | 9,508 |
/* radio */
.jcf-radio {
vertical-align: middle;
display: inline-block;
position: relative;
overflow: hidden;
cursor: default;
background: #fff;
border: 1px solid #777;
border-radius: 9px;
margin: 0 3px 0 0;
height: 16px;
width: 16px;
}
.jcf-radio span{
display:none;
position:absolute;
top:3px;
left:3px;... | sajochiu/cdnjs | ajax/libs/jcf/1.0.0/css/theme-minimal/jcf.css | CSS | mit | 9,719 |
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("react"), require("react-dom"));
else if(typeof define === 'function' && define.amd)
define(["react", "react-dom"], factory);
else if(typeof exports === 'obje... | AMoo-Miki/cdnjs | ajax/libs/react-bootstrap-table/2.1.2/react-bootstrap-table.js | JavaScript | mit | 249,065 |
/*************************************************************************/
/* position_3d.h */
/*************************************************************************/
/* This file is part of: */
/* ... | ricpelo/godot | scene/3d/position_3d.h | C | mit | 2,369 |
/* http://keith-wood.name/datepick.html
Urdu localisation for jQuery Datepicker.
Mansoor Munib -- mansoormunib@gmail.com <http://www.mansoor.co.nr/mansoor.html>
Thanks to Habib Ahmed, ObaidUllah Anwar. */
(function($) {
$.datepick.regionalOptions.ur = {
monthNames: ['جنوری','فروری','مارچ','اپریل','مئی','جو... | seogi1004/cdnjs | ajax/libs/datepick/5.1.0/js/jquery.datepick-ur.js | JavaScript | mit | 1,696 |
/*!
* Inheritance.js (0.4.3)
*
* Copyright (c) 2015 Brandon Sara (http://bsara.github.io)
* Licensed under the CPOL-1.02 (https://github.com/bsara/inheritance.js/blob/master/LICENSE.md)
*/
(function(root, factory) {
if (typeof define === 'function' && define.amd) {
define([], factory);
} else if (typeof e... | extend1994/cdnjs | ajax/libs/inheritance-js/0.4.3/modules/inheritance.objectdef.js | JavaScript | mit | 15,529 |
/*jshint curly:true, eqeqeq:true, laxbreak:true, noempty:false */
/*
The MIT License (MIT)
Copyright (c) 2007-2013 Einar Lielmanis and contributors.
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation files
(the "Software"), to deal in ... | maruilian11/cdnjs | ajax/libs/js-beautify/1.3.3/beautify.js | JavaScript | mit | 60,343 |
(function(L,O){"object"===typeof exports&&"undefined"!==typeof module?O(exports):"function"===typeof define&&define.amd?define(["exports"],O):L.async?O(L.neo_async=L.neo_async||{}):O(L.async=L.async||{})})(this,function(L){function O(a){var c=function(a){var d=J(arguments,1);setTimeout(function(){a.apply(null,d)})};Q="... | hare1039/cdnjs | ajax/libs/neo-async/2.0.1/async.min.js | JavaScript | mit | 35,775 |
/*
* tclInt.h --
*
* Declarations of things used internally by the Tcl interpreter.
*
* Copyright (c) 1987-1993 The Regents of the University of California.
* Copyright (c) 1993-1997 Lucent Technologies.
* Copyright (c) 1994-1998 Sun Microsystems, Inc.
* Copyright (c) 1998-1999 by Scriptics Corporation.
*... | byvernault/xnat_osirix_plugin | src/OsiriXAPI.framework/Versions/Current/Headers/tclInt.h | C | mit | 111,500 |
/*****************************************************************************
* Copyright 2001 - 2011 Broadcom Corporation. All rights reserved.
*
* Unless you and Broadcom execute a separate written software license
* agreement governing use of this software, this software is licensed to you
* under the terms of... | sai9615/MY-kernel-for-grand-I9082 | dragon/arch/arm/mach-island/include/chal/chal_rtc.h | C | gpl-2.0 | 26,117 |
// Copyright 2012 the V8 project authors. All rights reserved.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of ... | teeple/pns_server | work/install/node-v0.10.25/deps/v8/src/platform-posix.h | C | gpl-2.0 | 1,847 |
# README
README has been moved to [https://docs.openwrt.melmac.net/https-dns-proxy/](https://docs.openwrt.melmac.net/https-dns-proxy/).
| stintel/openwrt-packages | net/https-dns-proxy/files/README.md | Markdown | gpl-2.0 | 137 |
/*
Unix SMB/CIFS implementation.
a composite API for finding a DC and its name
Copyright (C) Volker Lendecke 2005
Copyright (C) Andrew Bartlett <abartlet@samba.org> 2006
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as publ... | sYnfo/samba-1 | source4/libcli/finddcs_nbt.c | C | gpl-3.0 | 9,323 |
package client
import (
"encoding/json"
"fmt"
"net/url"
"text/tabwriter"
"time"
"github.com/docker/docker/api/types"
Cli "github.com/docker/docker/cli"
"github.com/docker/docker/opts"
flag "github.com/docker/docker/pkg/mflag"
"github.com/docker/docker/pkg/parsers"
"github.com/docker/docker/pkg/parsers/filt... | nalind/graphc | vendor/src/github.com/docker/docker/api/client/images.go | GO | apache-2.0 | 3,816 |
# Copyright 2016 The TensorFlow Authors. 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 applica... | wangyum/tensorflow | tensorflow/python/debug/lib/stepper_test.py | Python | apache-2.0 | 45,190 |
/////////////////////////////////////////////////////////////////////////////
// Name: src/msw/icon.cpp
// Purpose: wxIcon class
// Author: Julian Smart
// Modified by: 20.11.99 (VZ): don't derive from wxBitmap any more
// Created: 04/01/98
// Copyright: (c) Julian Smart
// Licence: wxWindows ... | adouble42/nemesis-current | wxWidgets-3.1.0/src/msw/icon.cpp | C++ | bsd-2-clause | 4,317 |
module Admin::ProductPropertiesHelper
# Generates the appropriate field name for attribute_fu. Normally attribute_fu handles this but we've got a
# special case where we need text_field_with_autocomplete and we have to recreate attribute_fu's naming
# scheme manually.
def property_fu_name(product_property... | rafarubert/loja | vendor/spree/app/helpers/admin/product_properties_helper.rb | Ruby | bsd-3-clause | 812 |
require 'helper'
class TestPhoneNumberSG < Test::Unit::TestCase
def setup
@tester = Faker::PhoneNumberSG
end
def test_voip_number
assert_match /3\d{3}\s\d{4}/, @tester.voip_number
end
def test_fixed_line_number
assert_match /6\d{3}\s\d{4}/, @tester.fixed_line_number
end
def test_mobile_num... | samirahmed/ffaker | test/test_phone_number_sg.rb | Ruby | mit | 941 |
/*
* Copyright (C) 2008 Apple Inc. All Rights Reserved.
* Copyright (C) 2010 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retai... | arise-project/ganttmonotracker | libs/OpenWebKitSharp/WebKit.resources/inspector/Breakpoint.js | JavaScript | mit | 1,947 |
/**
* ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v6.0.1
* @link http://www.ag-grid.com/
* @license MIT
*/
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : ... | dlueth/cdnjs | ajax/libs/ag-grid/6.0.1/lib/templateService.js | JavaScript | mit | 3,730 |
require 'fastlane_core/string_filters'
describe WordWrap do
context 'wordwrapping will return an array of strings' do
let(:test_string) { 'some big long string with lots of characters i think there should be more than eighty carachters here!' }
it 'will return an empty array if the length is zero' do
... | danielbowden/fastlane | fastlane_core/spec/wordwrap_spec.rb | Ruby | mit | 747 |
dnl Copyright 1999, 2001 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl
dnl The GNU MP Library is free software; you can redistribute it and/or modify
dnl it under the terms of either:
dnl
dnl * the GNU Lesser General Public License as published by the Free
dnl Software Fou... | GarethNelson/BearLang | vendor/gmp-6.1.2/mpn/power/sdiv.asm | Assembly | gpl-2.0 | 1,245 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Search — django-auth-ldap 1.0.19 documentat... | vmanoria/bluemix-hue-filebrowser | hue-3.8.1-bluemix/desktop/core/ext-py/django-auth-ldap-1.2.0/docs/archive/versions/1.0.19/search.html | HTML | gpl-2.0 | 3,402 |
#ifndef SEC_MTD_H
#define SEC_MTD_H
#include <mach/sec_osal.h>
/**************************************************************************
* MTD INTERNAL DEFINITION
**************************************************************************/
typedef struct _MtdRCtx {
char *buf;
ASF_FILE fd;
} MtdRCtx;
/**********... | jmztaylor/android_kernel_amazon_ariel | drivers/misc/mediatek/masp/asf_inc/sec_mtd.h | C | gpl-2.0 | 1,302 |
/*
Unix SMB/CIFS implementation.
SMB parameters and setup, plus a whole lot more.
Copyright (C) Jeremy Allison 2006
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... | javierag/samba | source3/include/locking.h | C | gpl-3.0 | 2,854 |
class GeometricGraph<T extends Comparable<T>> {
public static <K extends Comparable<K>> GeometricGraph<K> createGraph(Point<K>... points) {
return null;
}
}
class Point<T1 extends Comparable<T1>> implements Comparable<Point<T1>> {
@Override public int compareTo(Point<T1> o) {
return 0;
}
static <M e... | idea4bsd/idea4bsd | java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/performance/PolyMethodCallArgumentPassedToVarargs.java | Java | apache-2.0 | 1,584 |
/*
* 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... | JSDemos/android-sdk-20 | src/java/lang/InterruptedException.java | Java | apache-2.0 | 1,560 |
/*
* Copyright (c) 2016 Nordic Semiconductor ASA
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this list... | RonEld/mbed | targets/TARGET_NORDIC/TARGET_NRF5_SDK13/sdk/libraries/bootloader/dfu/nrf_dfu_types.h | C | apache-2.0 | 9,414 |
<html>
<head>
<style>
progress {
width: 50px;
height: 50px;
-webkit-appearance: none;
background-color: red; /* should not be visible */
}
</style>
</head>
<body>
<progress min=0 value=30 max=100 style="-webkit-writing-mode: vertical-lr;"></progress>
<progress min=0 value=30 max=100 style="-webkit-writing-mode:... | hujiajie/chromium-crosswalk | third_party/WebKit/LayoutTests/fast/dom/HTMLProgressElement/progress-writing-mode.html | HTML | bsd-3-clause | 543 |
<section id='reportsSection'>
<section id='reportFilters'>
<h3>{{=T("Location")}}</h3>
<section class='locationFilters'>
<span id='l0_report'>
<label for='l0_reports'>{{=COUNTRY}}:</label>
<select id='l0_reports'>
<option value='' class='none'>{{=CHOOSE_COUNTRY}}</opt... | tudorian/eden | views/vulnerability/report.html | HTML | mit | 3,281 |
#include "../../src/gui/kernel/qplatformglcontext_qpa.h"
| dulton/vlc-2.1.4.32.subproject-2013-update2 | win32/include/qt4/include/QtGui/qplatformglcontext_qpa.h | C | gpl-2.0 | 57 |
/* This testcase is part of GDB, the GNU debugger.
Copyright 2012-2014 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
... | uarka/binutils | gdb/testsuite/gdb.cp/cplabel.cc | C++ | gpl-2.0 | 1,509 |
/*
Fujitsu MB86A16 DVB-S/DSS DC Receiver driver
Copyright (C) Manu Abraham (abraham.manu@gmail.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... | wkritzinger/asuswrt-merlin | release/src-rt-7.x.main/src/linux/linux-2.6.36/drivers/media/dvb/frontends/mb86a16.c | C | gpl-2.0 | 46,755 |
#include <lib/dvb/tstools.h>
#include <lib/dvb/specs.h>
#include <lib/base/eerror.h>
#include <lib/base/cachedtssource.h>
#include <unistd.h>
#include <fcntl.h>
#include <stdio.h>
static const int m_maxrange = 256*1024;
DEFINE_REF(eTSFileSectionReader);
eTSFileSectionReader::eTSFileSectionReader(eMainloop *context)... | sklnet/opendroid-enigma2 | lib/dvb/tstools.cpp | C++ | gpl-2.0 | 22,055 |
#============================================================================
# This library is free software; you can redistribute it and/or
# modify it under the terms of version 2.1 of the GNU Lesser General Public
# License as published by the Free Software Foundation.
#
# This library is distributed in the hope th... | flexiant/xen | tools/python/xen/util/xmlrpcclient.py | Python | gpl-2.0 | 4,533 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.