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 |
|---|---|---|---|---|---|
/*
* Copyright (c) 2007-2008 Atheros Communications Inc.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" A... | wkritzinger/asuswrt-merlin | release/src-rt-7.x.main/src/linux/linux-2.6.36/drivers/staging/otus/usbdrv.c | C | gpl-2.0 | 35,420 |
<?php
/**
* AllControllersTest file
*
* PHP 5
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* Redistributions of files must retain the above copyright notice.
*
* @copyrig... | anoochit/wcbookstore | webstore/lib/Cake/Test/Case/AllControllerTest.php | PHP | gpl-3.0 | 1,463 |
// 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;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Composition;
using System.Diagnostics;
using System.Linq;
us... | MatthieuMEZIL/roslyn | src/Workspaces/Core/Portable/SemanticModelWorkspaceService/SemanticModelWorkspaceServiceFactory.cs | C# | apache-2.0 | 26,002 |
#ifndef __GLX_glxint_h__
#define __GLX_glxint_h__
/*
* SGI FREE SOFTWARE LICENSE B (Version 2.0, Sept. 18, 2008)
* Copyright (C) 1991-2000 Silicon Graphics, Inc. All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation fi... | execunix/vinos | xsrc/external/mit/glproto/dist/glxint.h | C | apache-2.0 | 4,706 |
#region License, Terms and Author(s)
//
// ELMAH - Error Logging Modules and Handlers for ASP.NET
// Copyright (c) 2004-9 Atif Aziz. All rights reserved.
//
// Author(s):
//
// Atif Aziz, http://www.raboof.com
// James Driscoll, mailto:jamesdriscoll@btinternet.com
//
// Licensed under the Apache Li... | kyleleeli/elmah.1x | src/Elmah/ConnectionStringHelper.cs | C# | apache-2.0 | 9,063 |
# encoding: utf-8
module Holidays
# This file is generated by the Ruby Holidays gem.
#
# Definitions loaded: data/pl.yaml
#
# To use the definitions in this file, load it right after you load the
# Holiday gem:
#
# require 'holidays'
# require 'holidays/pl'
#
# All the definitions are availab... | jak78/holidays | lib/holidays/pl.rb | Ruby | mit | 5,785 |
#run_test.sh
run_test()
{
prog=$1
mkdir -p ./dbenv
rm -f -r dbenv/*
echo "Auto commit btree transaction tests:" >&2
$prog -s b -m t -t a -T 200 -k 50 -l 100 -c 33554432 -n $total && mv gmon.out gmon${i}.out
i=`expr $i + 1`
echo "Transaction btree tests:" >&2
$prog -s b -m t -t e -T 200 -k 50 -l 100 -c 33554432... | mxrrow/zaicoin | src/deps/db/test_stl/run_base_profile.sh | Shell | mit | 1,654 |
/*-
* See the file LICENSE for redistribution information.
*
* Copyright (c) 2002-2009 Oracle. All rights reserved.
*
* $Id$
*/
package com.sleepycat.persist;
import com.sleepycat.db.DatabaseException;
import com.sleepycat.db.LockMode;
import com.sleepycat.util.keyrange.RangeCursor;
/**
* The cursor for a Su... | mxrrow/zaicoin | src/deps/db/java/src/com/sleepycat/persist/SubIndexCursor.java | Java | mit | 1,484 |
/*! jQuery UI - v1.11.1 - 2014-08-13
* http://jqueryui.com
* Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */
(function(t){"function"==typeof define&&define.amd?define(["jquery","./effect"],t):t(jQuery)})(function(t){return t.effects.effect.explode=function(e,i){function s(){b.push(this),b.lengt... | saintwilbur/bandwagon | yolo-octo-bear.bak/bower_components/jquery-ui/ui/minified/effect-explode.min.js | JavaScript | mit | 1,077 |
/*
* Copyright 2012-2014 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | rokn/Count_Words_2015 | testing/spring-boot-master/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/orm/jpa/DataSourceInitializedPublisher.java | Java | mit | 3,794 |
/*
* Intel Wireless Multicomm 3200 WiFi driver
*
* Copyright (C) 2009 Intel Corporation. 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... | hwlzc/2.6.34 | drivers/net/wireless/iwmc3200wifi/sdio.c | C | gpl-2.0 | 13,178 |
! { dg-do compile }
! Tests fix for PR25058 in which references to dummy
! parameters before the entry would be missed.
!
! Contributed by Joost VandeVondele <jv244@cam.ac.uk>
!
MODULE M1
CONTAINS
FUNCTION F1(I) RESULT(RF1)
INTEGER :: I,K,RE1,RF1
RE1=K ! { dg-error "before the ENTRY statement" }
RETURN
ENTRY E1(K)... | SanDisk-Open-Source/SSD_Dashboard | uefi/gcc/gcc-4.6.3/gcc/testsuite/gfortran.dg/entry_dummy_ref_2.f90 | FORTRAN | gpl-2.0 | 425 |
# Copyright (c) 2009 NHN 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 retain the above copyright
# notice, this list of conditions and the follow... | gleicher27/Tardigrade | moose/framework/contrib/nsiqcppstyle/nsiqcppstyle_rulemanager.py | Python | lgpl-2.1 | 10,691 |
# -*- coding: utf-8 -*-
#
# Copyright 2012-2015 Spotify AB
#
# 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... | ViaSat/luigi | luigi/format.py | Python | apache-2.0 | 14,652 |
/*
* 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... | corochoone/elasticsearch | src/main/java/org/elasticsearch/indices/cache/filter/terms/TermsLookup.java | Java | apache-2.0 | 2,322 |
/**
* Copyright 2011, Big Switch Networks, Inc.
* Originally created by David Erickson, Stanford University
*
* 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:/... | zsavvas/MPTCP-aware-SDN | src/main/java/net/floodlightcontroller/routing/BroadcastTree.java | Java | apache-2.0 | 2,036 |
/*
* 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 ... | mourao666/cassandra-sim | src/java/org/apache/cassandra/serializers/TimestampSerializer.java | Java | apache-2.0 | 5,562 |
cask 'qcma' do
version '0.4.1,-1'
sha256 'fc286229be41cbeb83fdb8800231f67d8f2f0d51c2fca07f09c7f6e9d4eecca7'
# github.com/codestation was verified as official when first introduced to the cask
url "https://github.com/codestation/qcma/releases/download/v#{version.before_comma}/Qcma_#{version.before_comma}#{versi... | troyxmccall/homebrew-cask | Casks/qcma.rb | Ruby | bsd-2-clause | 488 |
/*
* Copyright (C) 1999 Lars Knoll (knoll@kde.org)
* (C) 1999 Antti Koivisto (koivisto@kde.org)
* (C) 2000 Dirk Mueller (mueller@kde.org)
* Copyright (C) 2003, 2006, 2010, 2011 Apple Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under ... | underwriteme/phantomjs | src/qt/src/3rdparty/webkit/Source/WebCore/platform/graphics/Font.cpp | C++ | bsd-3-clause | 18,633 |
<?php
namespace Herrera\Json\Exception;
/**
* Used for JSON specific errors.
*
* @author Kevin Herrera <kevin@herrera.io>
*/
class JsonException extends Exception
{
/**
* The recognized JSON error codes.
*
* @var array
*/
private static $codes = array(
JSON_ERROR_CTRL_CHAR => '... | Urbannet/cleanclean | yii2/vendor/herrera-io/json/src/lib/Herrera/Json/Exception/JsonException.php | PHP | bsd-3-clause | 1,760 |
<div>
Use default maven settings (<tt>$HOME/.m2/settings.xml</tt>) as set on build node.
</div> | github-api-test-org/jenkins | core/src/main/resources/jenkins/mvn/DefaultSettingsProvider/help.html | HTML | mit | 99 |
/**
* Copyright (c) 2010-2016 by the respective copyright holders.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*/... | theoweiss/openhab | bundles/persistence/org.openhab.persistence.influxdb08/java/org/openhab/persistence/influxdb08/internal/InfluxdbItem.java | Java | epl-1.0 | 1,274 |
/*
* Driver core for serial ports
*
* Based on drivers/char/serial.c, by Linus Torvalds, Theodore Ts'o.
*
* Copyright 1999 ARM Limited
* Copyright (C) 2000-2001 Deep Blue Solutions Ltd.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public L... | thewisenerd/android_kernel_htc_pico | drivers/tty/serial/serial_core.c | C | gpl-2.0 | 63,333 |
svn export --force http://svn.red-bean.com/bob/macholib/trunk/macholib/ .
| apierz/fipp | source/build/exe.macosx-10.12-x86_64-3.6/lib/python3.6/ctypes/macholib/fetch_macholib.bat | Batchfile | gpl-2.0 | 75 |
// Copyright Eric Friedman 2002-2003
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// See http://www.boost.org/libs/mpl for documentation.
// $Id$
// $Date$
// $Revision$
#include <boost/mpl/max_elem... | gwq5210/litlib | thirdparty/sources/boost_1_60_0/libs/mpl/test/max_element.cpp | C++ | gpl-3.0 | 620 |
/*
* QEMU Floppy disk emulator (Intel 82078)
*
* Copyright (c) 2003, 2007 Jocelyn Mayer
* Copyright (c) 2008 Hervé Poussineau
*
* 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... | KernelAnalysisPlatform/KlareDbg | tracers/qemu/decaf/hw/fdc.c | C | gpl-3.0 | 61,584 |
package org.springframework.security.oauth2.provider.client;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashSet;
i... | 280455936/spring-security-oauth | spring-security-oauth2/src/test/java/org/springframework/security/oauth2/provider/client/JdbcClientDetailsServiceTests.java | Java | apache-2.0 | 12,900 |
/*
* Copyright (C) 2011 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... | dsyang/buck | third-party/java/dx/src/com/android/annotations/NonNull.java | Java | apache-2.0 | 1,331 |
/*
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, ... | jnewland/kops | vendor/k8s.io/kubernetes/staging/src/k8s.io/client-go/1.5/pkg/apis/batch/v1/register.go | GO | apache-2.0 | 1,437 |
/*! ******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2013 by Pentaho : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (th... | codek/pentaho-kettle | engine/src/org/pentaho/di/trans/step/StepAdapter.java | Java | apache-2.0 | 1,230 |
<?php
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/**
* A TestRunner for the Command Line Interface (CLI)
* PHP SAPI Module.
*
* @since C... | illyaAvdeuk/bella-v | vendor/phpunit/phpunit/src/TextUI/Command.php | PHP | bsd-3-clause | 40,388 |
/**
* ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v5.0.0-alpha.4
* @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 ? t... | dlueth/cdnjs | ajax/libs/ag-grid/5.0.0-alpha.4/lib/rendering/cellRendererService.js | JavaScript | mit | 5,277 |
#define _tmain main
#define _TCHAR char | gogoba/triglav | src/main/cmake/workarounds/tchar/tchar.h | C | gpl-2.0 | 39 |
/*
** $Id: //Department/DaVinci/BRANCHES/MT6620_WIFI_DRIVER_V2_3/include/nic_cmd_event.h#1 $
*/
/*! \file "nic_cmd_event.h"
\brief This file contains the declairation file of the WLAN OID processing routines
of Windows driver for MediaTek Inc. 802.11 Wireless LAN Adapters.
*/
/*
** $Log: nic_cmd_event.h $... | emceethemouth/kernel_androidone | drivers/misc/mediatek/combo/drv_wlan/mt6630/wlan/include/nic_cmd_event.h | C | gpl-2.0 | 74,754 |
<?php
/*
* LibreNMS
*
* Copyright (c) 2016 Søren Friis Rosiak <sorenrosiak@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 3 of the License, or (at your
* optio... | wrgeorge1983/librenms | includes/discovery/sensors/states/asa.inc.php | PHP | gpl-3.0 | 2,706 |
/**
* 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/. OpenMRS is also distributed under
* the terms of the Healthcare Disclaimer located at http://openmrs.org/license.... | joansmith/openmrs-core | api/src/main/java/org/openmrs/api/db/hibernate/search/LuceneQuery.java | Java | mpl-2.0 | 9,429 |
{{+partials.standard_extensions_article article:intros.api_index is_apps:false}}
| plxaye/chromium | src/chrome/common/extensions/docs/templates/public/extensions/api_index.html | HTML | apache-2.0 | 81 |
// +build go1.6
package gotool
import (
"go/build"
"path/filepath"
"runtime"
)
var gorootSrc = filepath.Join(runtime.GOROOT(), "src")
func shouldIgnoreImport(p *build.Package) bool {
return p == nil || len(p.InvalidGoFiles) == 0
}
| jcgruenhage/dendrite | vendor/src/github.com/alecthomas/gometalinter/_linters/src/github.com/kisielk/gotool/go16.go | GO | apache-2.0 | 239 |
/*
* Copyright 2000-2014 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... | akosyakov/intellij-community | python/src/com/jetbrains/python/codeInsight/stdlib/PyStdlibUtil.java | Java | apache-2.0 | 2,013 |
<html>
<head>
<script>
window.onunload = function () {
try {
var url = '1251.html';
var xhr = new XMLHttpRequest();
xhr.open('GET', url, false);
xhr.send(null);
window.parent.completed("PASS: sync XHR completed successfully");
} catch (e) {
window.parent.completed... | XiaosongWei/chromium-crosswalk | third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/resources/xmlhttprequest-in-unload-sync.html | HTML | bsd-3-clause | 494 |
<?php
/**
* Util
*
* @copyright Copyright (c) Gjero Krsteski (http://krsteski.de)
* @license http://krsteski.de/new-bsd-license New BSD License
*/
namespace Pimf\Util;
/**
* Due to PHP Bug #39736 - serialize() consumes insane amount of RAM.
*
* Now we can put objects, strings, integers or arrays. Even inst... | seem-sky/FrameworkBenchmarks | php-pimf/pimf-framework/core/Pimf/Util/Serializer.php | PHP | bsd-3-clause | 3,028 |
module ChunkyPNG
class Canvas
# Methods for encoding a Canvas instance into a PNG datastream.
#
# Overview of the encoding process:
#
# * The image is split up in scanlines (i.e. rows of pixels);
# * All pixels are encoded as a pixelstream, based on the color mode.
# * All the pixel b... | skynet-tx/photoblog | wp-content/themes/videoblog/resources/lib/compass/lib/ruby/gems/1.9.1/gems/chunky_png-1.2.7/lib/chunky_png/canvas/png_encoding.rb | Ruby | gpl-2.0 | 21,812 |
// +build !ignore_autogenerated
/*
Copyright 2017 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applica... | rhamilto/origin | vendor/k8s.io/kubernetes/pkg/apis/settings/v1alpha1/zz_generated.defaults.go | GO | apache-2.0 | 3,305 |
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_VIEWS_CONTROLS_BUTTON_CHECKBOX_H_
#define UI_VIEWS_CONTROLS_BUTTON_CHECKBOX_H_
#include <string>
#include "base/compiler_specific.h"
#inc... | 7kbird/chrome | ui/views/controls/button/checkbox.h | C | bsd-3-clause | 2,243 |
require "spec_helper"
describe Mongoid::Validatable::UniquenessValidator do
describe "#valid?" do
context "when the document is a root document" do
context "when adding custom persistence options" do
before do
Dictionary.validates_uniqueness_of :name
end
after do
... | eljojo/mongoid | spec/mongoid/validatable/uniqueness_spec.rb | Ruby | mit | 62,278 |
<html>
<head>
<title>Vorbisfile - function - ov_bitrate</title>
<link rel=stylesheet href="style.css" type="text/css">
</head>
<body bgcolor=white text=black link="#5555ff" alink="#5555ff" vlink="#5555ff">
<table border=0 width=100%>
<tr>
<td><p class=tiny>Vorbisfile documentation</p></td>
<td align=right><p class=ti... | xbmc/atv2 | xbmc/cores/paplayer/vorbisfile/libvorbis/doc/vorbisfile/ov_bitrate_instant.html | HTML | gpl-2.0 | 1,765 |
// { dg-do assemble }
// Bug: g++ doesn't notice the overflow in the enum values.
#include <limits.h>
enum COLOR
{
red,
green = ULONG_MAX,
blue // { dg-error "overflow in enumeration" }
};
| SanDisk-Open-Source/SSD_Dashboard | uefi/gcc/gcc-4.6.3/gcc/testsuite/g++.old-deja/g++.jason/rfg10.C | C++ | gpl-2.0 | 205 |
// SPDX-License-Identifier: GPL-2.0
/*
* Copyright (C) 2013 Davidlohr Bueso <davidlohr@hp.com>
*
* futex-requeue: Block a bunch of threads on futex1 and requeue them
* on futex2, N at a time.
*
* This program is particularly useful to measure the latency of nthread
* requeues without waking up an... | hannes/linux | tools/perf/bench/futex-requeue.c | C | gpl-2.0 | 5,901 |
/// @ref gtx_common
/// @file glm/gtx/common.hpp
///
/// @see core (dependence)
///
/// @defgroup gtx_common GLM_GTX_common
/// @ingroup gtx
///
/// Include <glm/gtx/common.hpp> to use the features of this extension.
///
/// @brief Provide functions to increase the compatibility with Cg and HLSL languages
#pragma once... | bugbit/mathematical-drawings | v2020/Dibuixos/3rdParty/glm-0.9.9.7/glm/gtx/common.hpp | C++ | apache-2.0 | 3,116 |
.dojoxFloatingPane {
background-color:#fff;
position:relative;
border: 1px solid #dedede;
overflow: hidden;
-webkit-box-shadow: 0px 5px 10px #adadad;
}
.dojoxFloatingPaneFg {
-webkit-box-shadow: 0px 8px 20px #525252;
}
/* titleNode */
.dojoxFloatingPaneTitle {
background: #cccccc;
background:#fafafa repeat-... | ozoneplatform/owf-framework | web-app/js-lib/dojo-release-1.5.0/dojox/layout/resources/FloatingPane.css | CSS | apache-2.0 | 4,128 |
#
# (C) Copyright 2008 Jelmer Vernooij <jelmer@samba.org>
# (C) Copyright 2011 Jacek Konieczny <jajcus@jajcus.net>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License Version
# 2.1 as published by the Free Software Foundation.
#
# This p... | pforret/python-for-android | python3-alpha/python-libs/pyxmpp2/sasl/gssapi.py | Python | apache-2.0 | 3,008 |
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _ASM_X86_AGP_H
#define _ASM_X86_AGP_H
#include <asm/pgtable.h>
#include <asm/cacheflush.h>
/*
* Functions to keep the agpgart mappings coherent with the MMU. The
* GART gives the CPU a physical alias of pages in memory. The alias
* region is mapped uncacheable. Make s... | BPI-SINOVOIP/BPI-Mainline-kernel | linux-5.4/arch/x86/include/asm/agp.h | C | gpl-2.0 | 1,070 |
// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2008-2010 Gael Guennebaud <gael.guennebaud@inria.fr>
// Copyright (C) 2006-2008 Benoit Jacob <jacob.benoit.1@gmail.com>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0... | dzorlu/sdc | unscented-kf/src/Eigen/src/Core/util/Macros.h | C | mit | 25,454 |
module Fog
module AWS
class AutoScaling
class Real
require 'fog/aws/parsers/auto_scaling/basic'
# Runs the policy you create for your Auto Scaling group in
# put_scaling_policy.
#
# ==== Parameters
# * 'PolicyName'<~String> - The name or PolicyARN of the poli... | jonpstone/portfolio-project-rails-mean-movie-reviews | vendor/bundle/ruby/2.3.0/gems/fog-aws-2.0.0/lib/fog/aws/requests/auto_scaling/execute_policy.rb | Ruby | mit | 1,413 |
using System;
using System.Collections.Generic;
using System.Text;
namespace UniRx
{
/// <summary>Event kind of CountNotifier.</summary>
public enum CountChangedStatus
{
/// <summary>Count incremented.</summary>
Increment,
/// <summary>Count decremented.</summary>
Decremen... | Stormancer/Stormancer-sdk-net-unity | src/libs/Unity/UniRx/Notifiers/CountNotifier.cs | C# | mit | 2,813 |
/**
* ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v4.2.2
* @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 : ... | joeyparrish/cdnjs | ajax/libs/ag-grid/4.2.3/lib/rowControllers/inMemory/filterStage.js | JavaScript | mit | 4,042 |
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
global.Dexie = factory();
}(this, function () { 'use strict';
// By default, debug will be true only if platform is a web ... | dakshshah96/cdnjs | ajax/libs/dexie/1.4.0-beta2/dexie.js | JavaScript | mit | 207,257 |
/**
* angular-permission-ng
* Extension module of angular-permission for access control within angular-route
* @version v3.1.0 - 2016-05-15
* @link https://github.com/Narzerus/angular-permission
* @author Rafael Vidaurre <narzerus@gmail.com> (http://www.rafaelvidaurre.com), Blazej Krysiak
* <blazej.krysiak@gmai... | hare1039/cdnjs | ajax/libs/angular-permission/3.1.0/angular-permission-ng.js | JavaScript | mit | 6,553 |
/*
* WPA Supplicant - RSN PMKSA cache
* Copyright (c) 2004-2008, Jouni Malinen <j@w1.fi>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* Alternatively, this software may ... | AOKP/external_wpa_supplicant_6 | wpa_supplicant/src/rsn_supp/pmksa_cache.c | C | gpl-2.0 | 14,321 |
<!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" lang="en_GB" xml:lang="en_GB">
<head>
<title>COM_ADMIN_HELP_EXTENSIONS_EXTENSION_MANAGER_DISCOVER</title>
<link href="css/help.css" rel="stylesheet" type="... | heqiaoliu/Viral-Dark-Matter | tmp/install_4f20924cbb0a1/administrator/help/en-GB/Extensions_Extension_Manager_Discover.html | HTML | gpl-2.0 | 801 |
// 2003-05-01 Petur Runolfsson <peturr02@ru.is>
// Copyright (C) 2002-2015 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published by the
// Free Sof... | evaautomation/gcc-linaro | libstdc++-v3/testsuite/27_io/objects/wchar_t/3647.cc | C++ | gpl-2.0 | 1,106 |
// { dg-options "-std=gnu++11" }
// { dg-do compile }
// Copyright (C) 2011-2015 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published by the
// Fre... | evaautomation/gcc-linaro | libstdc++-v3/testsuite/20_util/is_fundamental/requirements/explicit_instantiation.cc | C++ | gpl-2.0 | 1,002 |
all: libradius.a
clean:
rm -f *~ *.o *.d *.gcno *.gcda *.gcov libradius.a
install:
@echo Nothing to be made.
include ../lib.rules
CFLAGS += -DCONFIG_IPV6
LIB_OBJS= \
radius.o \
radius_client.o \
radius_das.o \
radius_server.o
libradius.a: $(LIB_OBJS)
$(AR) crT $@ $?
-include $(OBJS:%.o=%.d)
| anoidgit/padavan | trunk/user/wpa_supplicant/src/radius/Makefile | Makefile | gpl-3.0 | 307 |
require 'abstract_unit'
class SanitizerTest < Test::Unit::TestCase
def setup
@sanitizer = nil # used by assert_sanitizer
end
def test_strip_tags
sanitizer = HTML::FullSanitizer.new
assert_equal("<<<bad html", sanitizer.sanitize("<<<bad html"))
assert_equal("<<", sanitizer.sanitize("<<<bad html>"... | javan/rreset | vendor/rails/actionpack/test/controller/html-scanner/sanitizer_test.rb | Ruby | gpl-3.0 | 11,929 |
# OS X Setup Guide
This guide will walk you through running the new Go based [Docker registry](https://github.com/docker/distribution) on your local OS X machine.
## Checkout the Docker Distribution source tree
```
mkdir -p $GOPATH/src/github.com/docker
git clone https://github.com/docker/distribution.git $GOPATH/sr... | qiniu/distribution | docs/osx-setup-guide.md | Markdown | apache-2.0 | 1,309 |
package org.sakaiproject.section.api.coursemanagement;
import java.sql.Time;
public interface Meeting {
/**
* Gets the location where this CourseSection meets.
* @return
*/
public String getLocation();
/**
* Whether the CourseSection meets on Mondays.
*
* @return
*/
public boolean isMonday()... | marktriggs/nyu-sakai-10.4 | edu-services/sections-service/sections-api/src/java/org/sakaiproject/section/api/coursemanagement/Meeting.java | Java | apache-2.0 | 1,405 |
/*version.h
=========*/
#define MAJOR_VERSION "1"
#define MINOR_VERSION "7"
| jspaleta/SuperDARN_MSI_ROS | linux/home/radar/ros.3.6/usr/codebase/superdarn/src.bin/os/cp/themisscan.1.7/version.h | C | mit | 81 |
Imports System
Imports System.Reflection
Imports System.Runtime.InteropServices
' General Information about an assembly is controlled through the following
' set of attributes. Change these attribute values to modify the information
' associated with an assembly.
' Review the values of the assembly attributes
<Ass... | sndnvaps/ms-iot_samples | WeatherStation/VB/WeatherStationVB/My Project/AssemblyInfo.vb | Visual Basic | mit | 998 |
/*!
* numbro.js
* version : 1.8.1
* author : Företagsplatsen AB
* license : MIT
* http://www.foretagsplatsen.se
*/
(function () {
'use strict';
/************************************
Constants
************************************/
var numbro,
VERSION = '1.8.1',
binarySuff... | PaulZadorozhniy/handsontable | dist/numbro/numbro.js | JavaScript | mit | 43,505 |
/*!
* Angular Material Design
* https://github.com/angular/material
* @license MIT
* v1.0.1
*/
.md-dialog-is-showing {
max-height: 100%; }
.md-dialog-container {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-co... | ac-adekunle/secondlead | vendor/assets/javascripts/angular-material/modules/js/dialog/dialog.css | CSS | mit | 3,672 |
#include <sstream>
#include <algorithm>
#include <iostream>
#include <cstring>
#include "node.hpp"
#include "constants.hpp"
#include "error.hpp"
#include "sass_values.h"
#ifdef _WIN32
#include <stdlib.h>
#define realpath(N,R) _fullpath((R),(N),_MAX_PATH)
#endif
namespace Sass {
using namespace std;
using namespac... | Voxer/blog | wp-content/themes/voxer/node_modules/node-sass/libsass/old/node.cpp | C++ | gpl-2.0 | 12,909 |
/*
* Just-In-Time compiler for BPF filters on MIPS
*
* Copyright (c) 2014 Imagination Technologies Ltd.
* Author: Markos Chandras <markos.chandras@imgtec.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
* Fre... | sfumato77/Kernel-4.8_Android-x86_BayTrail | arch/mips/net/bpf_jit.c | C | gpl-2.0 | 32,413 |
/* ScummVM - Graphic Adventure Engine
*
* ScummVM is the legal property of its developers, whose names
* are too numerous to list here. Please refer to the COPYRIGHT
* file distributed with this source distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of ... | blorente/scummvm | engines/gob/sound/infogrames.h | C | gpl-2.0 | 1,566 |
\documentclass[12pt]{article}
\begin{document}
\begin{eqnarray*}
E^{ZBL}_{ij} & = & \frac{1}{4\pi\epsilon_0} \frac{Z_i Z_j \,e^2}{r_{ij}} \phi(r_{ij}/a)+ S(r_{ij})\\
a & = & \frac{0.46850}{Z_{i}^{0.23} + Z_{j}^{0.23}}\\
\phi(x) & = & 0.18175e^{-3.19980x} + 0.50986e^{-0.94229x} + 0.28022e^{-0.40290x} + 0.02817e^... | ovilab/atomify-lammps | libs/lammps/doc/src/Eqs/pair_zbl.tex | TeX | gpl-3.0 | 394 |
/*
* IBM PowerPC Virtual I/O Infrastructure Support.
*
* Copyright (c) 2003,2008 IBM Corp.
* Dave Engebretsen engebret@us.ibm.com
* Santiago Leon santil@us.ibm.com
* Hollis Blanchard <hollisb@us.ibm.com>
* Stephen Rothwell
* Robert Jennings <rcjenn@us.ibm.com>
*
* This program is f... | BlastarIndia/Blastarix | blastarix-3.12.7/arch/powerpc/kernel/vio.c | C | gpl-3.0 | 48,587 |
/* Common hooks for Motorola MCore.
Copyright (C) 1993-2015 Free Software Foundation, Inc.
This file is part of GCC.
GCC is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published
by the Free Software Foundation; either version 3, or (at yo... | KubaKaszycki/kubux | gcc/gcc/common/config/mcore/mcore-common.c | C | gpl-3.0 | 1,992 |
/* 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/. */
gTestsubsuite = 'LexicalConventions';
| sam/htmlunit-rhino-fork | testsrc/tests/js1_5/LexicalConventions/shell.js | JavaScript | mpl-2.0 | 244 |
---
layout: article
title: "Otimização de imagens"
description: "As imagens geralmente são responsáveis pela maior parte dos bytes transferidos em uma página da Web e muitas vezes ocupam uma parcela significativa do espaço visual. Como resultado, a otimização de imagens pode muitas vezes resultar em uma grande economia... | tzik/WebFundamentals | src/_langs/pt-br/fundamentals/performance/optimizing-content-efficiency/image-optimization.markdown | Markdown | apache-2.0 | 34,252 |
/*
* 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 ... | irudyak/ignite | examples/src/main/java/org/apache/ignite/examples/datagrid/store/auto/package-info.java | Java | apache-2.0 | 942 |
/**
* 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... | anoordover/camel | components/camel-schematron/src/test/java/org/apache/camel/component/schematron/processor/TemplatesFactoryTest.java | Java | apache-2.0 | 1,708 |
// Copyright ©2015 The gonum 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 mat64
import (
"math"
"github.com/gonum/blas"
"github.com/gonum/blas/blas64"
"github.com/gonum/matrix"
)
var (
symDense *SymDense
_ Matrix... | pweil-/origin | vendor/github.com/gonum/matrix/mat64/symmetric.go | GO | apache-2.0 | 12,411 |
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "net/spdy/spdy_protocol.h"
namespace net {
SpdyFrameWithNameValueBlockIR::SpdyFrameWithNameValueBlockIR(
SpdyStreamId stream_id) : Spdy... | androidarmv6/android_external_chromium_org | net/spdy/spdy_protocol.cc | C++ | bsd-3-clause | 2,165 |
#ifndef __SUN3_HEAD_H
#define __SUN3_HEAD_H
#define KERNBASE 0xE000000 /* First address the kernel will eventually be */
#define LOAD_ADDR 0x4000 /* prom jumps to us here unless this is elf /boot */
#define FC_CONTROL 3
#define FC_SUPERD 5
#define FC_CPU 7
#endif /* __SUN3_HEAD_H */
| AiJiaZone/linux-4.0 | virt/arch/m68k/include/asm/sun3-head.h | C | gpl-2.0 | 314 |
/******************************************************************************
*
* Module Name: utcopy - Internal to external object translation utilities
*
*****************************************************************************/
/*
* Copyright (C) 2000 - 2010, Intel Corp.
* All rights reserved.
*
* Red... | LinuxKernelDevelopment/lkd | drivers/acpi/acpica/utcopy.c | C | gpl-2.0 | 28,291 |
/*
* trace_export.c - export basic ftrace utilities to user space
*
* Copyright (C) 2009 Steven Rostedt <srostedt@redhat.com>
*/
#include <linux/stringify.h>
#include <linux/kallsyms.h>
#include <linux/seq_file.h>
#include <linux/debugfs.h>
#include <linux/uaccess.h>
#include <linux/ftrace.h>
#include <linux/module... | ggsamsa/sched_casio | kernel/trace/trace_export.c | C | gpl-2.0 | 4,318 |
/* visorchipset_umode.h
*
* Copyright © 2010 - 2013 UNISYS CORPORATION
* All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or (at
* ... | iwinoto/v4l-media_build | media/drivers/staging/unisys/visorchipset/visorchipset_umode.h | C | gpl-2.0 | 1,287 |
"""
Some scripts define objects that we want to import via yaml files
that we pass to the script, so this directory must be a python
module, rather than just a directory full of scripts.
"""
| fyffyt/pylearn2 | pylearn2/scripts/__init__.py | Python | bsd-3-clause | 191 |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var gridRole = {
abstract: false,
accessibleNameRequired: true,
baseConcepts: [{
module: 'HTML',
concept: {
name: 'table',
attributes: [{
name: 'role',
value: 'grid'
}]
}
}],
childrenP... | grshane/monthofmud | web/themes/custom/mom/node_modules/aria-query/lib/etc/roles/literal/gridRole.js | JavaScript | mit | 723 |
<?php
/*
* This file is part of Zippy.
*
* (c) Alchemy <info@alchemy.fr>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Alchemy\Zippy\Adapter;
use Alchemy\Zippy\Adapter\BSDTar\TarBSDTarAdapter;
use Alchemy\Zippy\Adapt... | kanei/vantuch.cz | wp-content/plugins/jekyll-exporter/vendor/alchemy/zippy/src/Adapter/AdapterContainer.php | PHP | gpl-2.0 | 7,057 |
<?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... | T0MM0R/magento | web/app/code/core/Zend/XmlRpc/Response.php | PHP | gpl-2.0 | 6,637 |
<?php
/**
* Short description for file.
*
* PHP 5
*
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html>
* Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* Redistributions of files must retain the above copyright notic... | anoochit/wcbookstore | webstore/lib/Cake/Test/Fixture/AdvertisementFixture.php | PHP | gpl-3.0 | 1,435 |
package context
import (
"context"
"time"
)
// Since looks up key, which should be a time.Time, and returns the duration
// since that time. If the key is not found, the value returned will be zero.
// This is helpful when inferring metrics related to context execution times.
func Since(ctx context.Context, key int... | HuKeping/notary | vendor/github.com/docker/distribution/context/util.go | GO | apache-2.0 | 716 |
#!/bin/bash
#
# https://bugzilla.redhat.com/show_bug.cgi?id=1415570
#
# In the initial release of OCP 3.4, paths for two objects,
# User and EgressNetworkPolicy, inadvertantly changed.
# This script migrates any of these resources created in
# version of OCP 3.4 without the fix to the proper location
# in etcd. Namely:... | tmckayus/oshinko-cli | vendor/github.com/openshift/origin/contrib/migration/fix-3.4-paths.sh | Shell | apache-2.0 | 4,022 |
#!/usr/bin/env bash
# Copyright 2011 OpenStack Foundation.
# 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... | jumpojoy/neutron | tools/with_venv.sh | Shell | apache-2.0 | 731 |
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef RTL8180_SA2400_H
#define RTL8180_SA2400_H
/*
* Radio tuning for Philips SA2400 on RTL8180
*
* Copyright 2007 Andrea Merello <andrea.merello@gmail.com>
*
* Code from the BSD driver and the rtl8181 project have been
* very useful to understand certain things
*
... | CSE3320/kernel-code | linux-5.8/drivers/net/wireless/realtek/rtl818x/rtl8180/sa2400.h | C | gpl-2.0 | 903 |
// SPDX-License-Identifier: GPL-2.0
/*
* Check for extended topology enumeration cpuid leaf 0xb and if it
* exists, use it for populating initial_apicid and cpu topology
* detection.
*/
#include <linux/cpu.h>
#include <asm/apic.h>
#include <asm/pat.h>
#include <asm/processor.h>
#include "cpu.h"
/* leaf 0xb SMT l... | BPI-SINOVOIP/BPI-Mainline-kernel | linux-5.4/arch/x86/kernel/cpu/topology.c | C | gpl-2.0 | 4,048 |
/* GCC Quad-Precision Math Library
Copyright (C) 2010, 2011 Free Software Foundation, Inc.
Written by Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
This file is part of the libquadmath library.
Libquadmath is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Pu... | SanDisk-Open-Source/SSD_Dashboard | uefi/gcc/gcc-4.6.3/libquadmath/quadmath.h | C | gpl-2.0 | 8,961 |
<?php
require_once realpath(dirname(__FILE__)) . '/../TestHelper.php';
class Braintree_MultipleValueOrTextNodeTest extends PHPUnit_Framework_TestCase
{
function testIn()
{
$node = new Braintree_MultipleValueOrTextNode('field');
$node->in(array('firstValue', 'secondValue'));
$this->asser... | vocxod/cintez | www/system/storage/vendor/braintree/braintree_php/tests/unit/MultipleValueOrTextNodeTest.php | PHP | gpl-3.0 | 1,459 |
/***
Copyright (c) 2008-2012 CommonsWare, LLC
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... | lexiaoyao20/cw-omnibus | Containers/Relative/src/com/commonsware/android/relative/RelativeLayoutDemo.java | Java | apache-2.0 | 949 |
/***
Copyright (c) 2008-2012 CommonsWare, LLC
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... | suclike/cw-omnibus | Database/Constants/src/com/commonsware/android/constants/ConstantsBrowser.java | Java | apache-2.0 | 1,261 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.