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 |
|---|---|---|---|---|---|
/*
* grunt-contrib-compress
* http://gruntjs.com/
*
* Copyright (c) 2016 Chris Talkington, contributors
* Licensed under the MIT license.
*/
'use strict';
var fs = require('fs');
var path = require('path');
var prettyBytes = require('pretty-bytes');
var chalk = require('chalk');
var zlib = require('zlib');
var ... | ph3l1x/realestate | sites/all/themes/default/bootstrap/node_modules/grunt-contrib-compress/tasks/lib/compress.js | JavaScript | gpl-2.0 | 7,527 |
/*
* Test program for MSA instruction DIV_U.H
*
* Copyright (C) 2019 Wave Computing, Inc.
* Copyright (C) 2019 Aleksandar Markovic <amarkovic@wavecomp.com>
* Copyright (C) 2019 RT-RK Computer Based Systems LLC
* Copyright (C) 2019 Mateja Marjanovic <mateja.marjanovic@rt-rk.com>
*
* This program is fre... | dslutz/qemu | tests/tcg/mips/user/ase/msa/int-divide/test_msa_div_u_h.c | C | gpl-2.0 | 7,665 |
#!/bin/bash
killall -q JSBSim
pkill -f runsim.py
set -e
set -x
autotest=$(dirname $(readlink -e $0))
cmd="../Tools/autotest/jsbsim/runsim.py --home=-35.362938,149.165085,584,270"
$autotest/run_in_terminal_window.sh "simulator" $cmd || exit 1
sleep 2
mavproxy.py --out 127.0.0.1:14550 --load-module=HIL $*
| gigglesninja/senior-design | ardupilot/Tools/autotest/sim_arduplane_hil.sh | Shell | gpl-2.0 | 311 |
#--
# $Id: text.rb,v 1.7 2009/02/28 23:52:28 rmagick Exp $
# Copyright (C) 2009 Timothy P. Hunter
#++
# Text-related classes
module Magick
class RVG
# Base class for Tspan, Tref and Text.
class TextBase
include Stylable
include Duplicatable
private
d... | mzemel/kpsu.org | vendor/gems/ruby/1.8/gems/rmagick-2.13.1/lib/rvg/text.rb | Ruby | gpl-3.0 | 5,772 |
<!DOCTYPE html>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="./resources/intersection-observer-test-utils.js"></script>
<style>
pre, #log {
position: absolute;
top: 0;
left: 200px;
}
#target {
width: 0px;
height: 0px;
}
</style>
<div ... | dsandeephegde/servo | tests/wpt/web-platform-tests/intersection-observer/zero-area-element-visible.html | HTML | mpl-2.0 | 1,079 |
tinyMCE.addI18n('th.advimage_dlg',{
tab_general:"\u0E17\u0E31\u0E48\u0E27\u0E44\u0E1B",
tab_appearance:"\u0E25\u0E31\u0E01\u0E29\u0E13\u0E30",
tab_advanced:"\u0E02\u0E31\u0E49\u0E19\u0E2A\u0E39\u0E07",
general:"\u0E17\u0E31\u0E48\u0E27\u0E44\u0E1B",
title:"\u0E0A\u0E37\u0E48\u0E2D",
preview:"\u0E14\u0E39\u0E15\u0... | numericube/twistranet | twistranet/themes/twistheme/static/js/tiny_mce/plugins/advimage/langs/th_dlg.js | JavaScript | agpl-3.0 | 3,520 |
# Makefile for Sphinx documentation
#
# You can set these variables from the command line.
SPHINXOPTS =
SPHINXBUILD = sphinx-build
SPHINXSOURCE = source
PAPER =
BUILDDIR = build
# Internal variables.
PAPEROPT_a4 = -D latex_paper_size=a4
PAPEROPT_letter = -D latex_paper_size=letter
ALLSPHINXOPTS... | tylertian/Openstack | openstack F/python-swiftclient/doc/Makefile | Makefile | apache-2.0 | 3,184 |
/*
* 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... | himanshuag/elasticsearch | core/src/main/java/org/elasticsearch/discovery/zen/fd/MasterFaultDetection.java | Java | apache-2.0 | 19,229 |
/*
* Copyright (c) 2012, Freescale Semiconductor, 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:
*
* o Redistributions of source code must retain the above copyright notice, this list... | ArdaFu/rt-thread | bsp/imx6sx/iMX6_Platform_SDK/sdk/drivers/cpu_utility/src/cpu_workpoint.c | C | apache-2.0 | 3,960 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../../../../style.css" type="text/css" media="screen">
<link rel="stylesheet" href="../../../../../prin... | recap/weevilscout | yui/as-docs/com/yahoo/astra/fl/utils/package-detail.html | HTML | apache-2.0 | 3,126 |
/* ***** BEGIN LICENSE BLOCK *****
* Distributed under the BSD license:
*
* Copyright (c) 2012, Ajax.org B.V.
* 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 sou... | jecelyin/920-text-editor-v2 | tools/assets/ace/lib/ace/mode/nsis.js | JavaScript | apache-2.0 | 2,369 |
/*
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... | RIVeR-Lab/walrus | walrus_firmware/walrus_bootloader/src/LUFA/Drivers/Board/AVR8/MICROPENDOUS/Board.h | C | bsd-3-clause | 5,586 |
<!DOCTYPE html>
<!--
Copyright (c) 2012 Intel Corporation.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of works must retain the original copyright notice, this list
of conditions and the following di... | hgl888/web-testing-service | wts/tests/backgrounds/CSS3BG_border-image-repeat_repeat-x_url_png_auto.html | HTML | bsd-3-clause | 3,571 |
import FixtureSet from '../../FixtureSet';
import TestCase from '../../TestCase';
import PasswordTestCase from './PasswordTestCase';
const React = window.React;
function NumberInputs() {
return (
<FixtureSet title="Password inputs">
<TestCase
title="The show password icon"
description={`
... | jdlehman/react | fixtures/dom/src/components/fixtures/password-inputs/index.js | JavaScript | mit | 835 |
/* ========================================================================== */
/* === ldlsymbolmex.c: LDLSYMBOL mexFunction =============================== */
/* ========================================================================== */
/* MATLAB interface for symbolic LDL' factorization using the LDL sparse mat... | pchrapka/brain-modelling | external/fieldtrip-20160128/external/dmlt/external/gpstuff/SuiteSparse/LDL/MATLAB/ldlsymbolmex.c | C | mit | 5,408 |
setopt correct_all
alias man='nocorrect man'
alias mv='nocorrect mv'
alias mysql='nocorrect mysql'
alias mkdir='nocorrect mkdir'
alias gist='nocorrect gist'
alias heroku='nocorrect heroku'
alias ebuild='nocorrect ebuild'
alias hpodder='nocorrect hpodder'
| TheDahv/dotfiles | zsh/oh-my-zsh/lib/correction.zsh | Shell | mit | 256 |
(function( $ ) {
/**
* Activity reply object for the activity index screen
*
* @since 1.6
*/
var activityReply = {
/**
* Attach event handler functions to the relevant elements.
*
* @since 1.6
*/
init : function() {
$(document).on( 'click', '.row-actions a.reply', activityReply.open );
... | jnishiyama/PebblesWP | wp-content/plugins/buddypress/bp-activity/admin/js/admin.dev.js | JavaScript | gpl-2.0 | 4,291 |
/* DO NOT EDIT THIS FILE
* Automatically generated by generate-def-headers.xsl
* DO NOT EDIT THIS FILE
*/
#ifndef __BFIN_DEF_ADSP_BF542_proc__
#define __BFIN_DEF_ADSP_BF542_proc__
#include "../mach-common/ADSP-EDN-core_def.h"
#include "ADSP-EDN-BF542-extended_def.h"
#define CHIPID 0xFFC00... | fwmiller/Conserver-Freescale-Linux-U-boot | rpm/BUILD/u-boot-2009.08/include/asm-blackfin/mach-bf548/BF542_def.h | C | gpl-2.0 | 10,544 |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Copyright by The HDF Group. *
* Copyright by the Board of Trustees of the University of Illinois. *
* All rights reserved. *
* ... | mishin/dwimperl-windows | strawberry-perl-5.20.0.1-32bit-portable/c/include/H5Tprivate.h | C | gpl-2.0 | 7,285 |
/**
* @preserve SelectNav.js (v. 0.1)
* Converts your <ul>/<ol> navigation into a dropdown list for small screens
* https://github.com/lukaszfiszer/selectnav.js
*/
window.selectnav = (function(){
"use strict";
var selectnav = function(element,options){
element = document.getElementById(element);
// r... | rtdean93/drupalengage | store.drupalengage.com/profiles/commerce_kickstart/libraries/selectnav.js/selectnav.js | JavaScript | gpl-2.0 | 3,924 |
/*
* kernel/power/suspend.c - Suspend to RAM and standby functionality.
*
* Copyright (c) 2003 Patrick Mochel
* Copyright (c) 2003 Open Source Development Lab
* Copyright (c) 2009 Rafael J. Wysocki <rjw@sisk.pl>, Novell Inc.
*
* This file is released under the GPLv2.
*/
#include <linux/string.h>
#include <linu... | HackerOO7/android_kernel_huawei_u8951 | kernel/power/suspend.c | C | gpl-2.0 | 8,165 |
#settings-tour-modal,
#settings-tour-overlay {
position: fixed;
z-index: 150000;
}
#settings-tour-modal {
background: #F9F9F9;
top: 50%;
left: 50%;
width: 1180px;
margin: -213px 0 0 -590px;
}
#settings-tour-modal #settings-tour-step-content {
padding: 20px;
}
#settings-tour-modal #settings-tour-step-con... | cristylk/hemeramarketing-website | wp-content/themes/vantage/extras/settings/css/tour.css | CSS | gpl-2.0 | 3,160 |
/*-
* Copyright (c) 1983, 1992, 1993
* The Regents of the University of California. 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 abov... | openrisc/or1k-src | winsup/cygwin/gmon.c | C | gpl-2.0 | 7,486 |
/*=============================================================================
Copyright (c) 2002-2015 Joel de Guzman
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)
=========================================... | gwq5210/litlib | thirdparty/sources/boost_1_60_0/libs/spirit/example/x3/complex_number.cpp | C++ | gpl-3.0 | 3,196 |
--------------------------------------
-- Spell: Boost-CHR
-- Boosts CHR for Allies in AoE
--------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
----------------------... | n0xus/darkstar | scripts/globals/spells/boost-chr.lua | Lua | gpl-3.0 | 546 |
# -*- coding: utf-8 -*-
#
# Copyright (C) 2013-2017 Vinay Sajip.
# Licensed to the Python Software Foundation under a contributor agreement.
# See LICENSE.txt and CONTRIBUTORS.txt.
#
from __future__ import absolute_import
import os
import re
import sys
try:
import ssl
except ImportError: # pragma: no cover
s... | RalfBarkow/Zettelkasten | venv/lib/python3.9/site-packages/pip/_vendor/distlib/compat.py | Python | gpl-3.0 | 41,408 |
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle ... | jethac/moodle | user/profile/field/checkbox/version.php | PHP | gpl-3.0 | 1,186 |
<?php
/**
* Shopware 5
* Copyright (c) shopware AG
*
* According to our dual licensing model, this program can be used either
* under the terms of the GNU Affero General Public License, version 3,
* or under a proprietary license.
*
* The texts of the GNU Affero General Public License with an additional
* perm... | jenalgit/shopware | engine/Shopware/Bundle/PluginInstallerBundle/Struct/CommentStruct.php | PHP | agpl-3.0 | 2,823 |
#include "PresetMerge.hpp"
#include <iostream>
void PresetMerger::MergePresets(PresetOutputs & A, PresetOutputs & B, mathtype ratio, int gx, int gy)
{
mathtype invratio = mathval(1.0f) - ratio;
//Merge Simple Waveforms
//
// All the mess is because of Waveform 7, which is two lines.
//
A.wave_rot = math... | neurocis/sagetv | third_party/VisEngine/PresetMerge.cpp | C++ | apache-2.0 | 7,592 |
function __processArg(obj, key) {
var arg = null;
if (obj) {
arg = obj[key] || null;
delete obj[key];
}
return arg;
}
function Controller() {
require("alloy/controllers/BaseController").apply(this, Array.prototype.slice.call(arguments));
this.__controllerPath = "index";
this... | jvkops/alloy | test/apps/testing/ALOY-262/_generated/mobileweb/alloy/controllers/index.js | JavaScript | apache-2.0 | 1,252 |
### `tf.contrib.distributions.normal_conjugates_known_sigma_predictive(prior, sigma, s, n)` {#normal_conjugates_known_sigma_predictive}
Posterior predictive Normal distribution w. conjugate prior on the mean.
This model assumes that `n` observations (with sum `s`) come from a
Normal with unknown mean `mu` (described ... | sandeepdsouza93/TensorFlow-15712 | tensorflow/g3doc/api_docs/python/functions_and_classes/shard9/tf.contrib.distributions.normal_conjugates_known_sigma_predictive.md | Markdown | apache-2.0 | 1,903 |
/*
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, ... | rawlingsj/gofabric8 | vendor/k8s.io/kubernetes/federation/cmd/federation-apiserver/app/core.go | GO | apache-2.0 | 3,587 |
<?php
final class PhabricatorPolicyConfigOptions
extends PhabricatorApplicationConfigOptions {
public function getName() {
return pht('Policy');
}
public function getDescription() {
return pht('Options relating to object visibility.');
}
public function getFontIcon() {
return 'fa-lock';
}
... | leolujuyi/phabricator | src/applications/policy/config/PhabricatorPolicyConfigOptions.php | PHP | apache-2.0 | 2,669 |
name1_0_1_0_0_4_0 = None
name1_0_1_0_0_4_1 = None
name1_0_1_0_0_4_2 = None
name1_0_1_0_0_4_3 = None
name1_0_1_0_0_4_4 = None | asedunov/intellij-community | python/testData/completion/heavyStarPropagation/lib/_pkg1/_pkg1_0/_pkg1_0_1/_pkg1_0_1_0/_pkg1_0_1_0_0/_mod1_0_1_0_0_4.py | Python | apache-2.0 | 128 |
/*
* 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... | nknize/elasticsearch | client/rest-high-level/src/test/java/org/elasticsearch/client/ml/StopDatafeedResponseTests.java | Java | apache-2.0 | 1,469 |
/**
* 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... | cshannon/activemq-artemis | tests/activemq5-unit-tests/src/test/java/org/apache/activemq/filter/DestinationFilterTest.java | Java | apache-2.0 | 3,298 |
import datetime
from decimal import Decimal
import types
import six
def is_protected_type(obj):
"""Determine if the object instance is of a protected type.
Objects of protected types are preserved as-is when passed to
force_unicode(strings_only=True).
"""
return isinstance(obj, (
six.inte... | unnikrishnankgs/va | venv/lib/python3.5/site-packages/external/org_mozilla_bleach/bleach/encoding.py | Python | bsd-2-clause | 2,277 |
#include "cpu_profile.h"
#include "cpu_profile_node.h"
namespace nodex {
using v8::Array;
using v8::CpuProfile;
using v8::CpuProfileNode;
using v8::Handle;
using v8::Number;
using v8::Integer;
using v8::Local;
using v8::Object;
using v8::ObjectTemplate;
using v8::FunctionTemplate;
using v8::Strin... | node-inspector/v8-profiler | src/cpu_profile.cc | C++ | bsd-2-clause | 3,600 |
/*
* Copyright (c) 2014, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/
#include <s... | honestme/osquery | osquery/events/linux/inotify.cpp | C++ | bsd-3-clause | 8,994 |
// Copyright (c) 2013 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 "webkit/common/gpu/grcontext_for_webgraphicscontext3d.h"
#include "third_party/WebKit/public/platform/WebGraphicsContext3D.h"
#include "thir... | aospx-kitkat/platform_external_chromium_org | webkit/common/gpu/grcontext_for_webgraphicscontext3d.cc | C++ | bsd-3-clause | 2,195 |
// SPDX-License-Identifier: GPL-2.0
/* ePAPR hypervisor byte channel device driver
*
* Copyright 2009-2011 Freescale Semiconductor, Inc.
*
* Author: Timur Tabi <timur@freescale.com>
*
* This driver support three distinct interfaces, all of which are related to
* ePAPR hypervisor byte channels.
*
* 1) An early-... | rperier/linux | drivers/tty/ehv_bytechan.c | C | gpl-2.0 | 22,295 |
---
layout: default
author_profile: false
---
<div id="main" role="main">
{% include sidebar.html %}
<div class="archive">
<h1 class="page__title">{{ page.title }}</h1>
{% include base_path %}
{% for post in page.posts %}
{% include archive-single.html %}
{% endfor %}
</div>
</div> | BiG-CZ/notebook_data_demo | webpage/jupyter_notebook_jekyll_theme/_layouts/archive-taxonomy.html | HTML | bsd-3-clause | 312 |
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang("placeholder","sv",{title:"Innehållsrutans egenskaper",toolbar:"Skapa innehållsruta",name:"Innehållsrutans namn",invalidName:"Inn... | Laravel-Backpack/crud | src/public/packages/ckeditor/plugins/placeholder/lang/sv.js | JavaScript | mit | 456 |
# encoding: utf-8
require 'ffaker/address'
module Faker
module AddressDE
include Faker::Address
extend ModuleUtils
extend self
def zip_code
Faker.numerify ZIP_FORMATS.rand
end
def state
STATE.rand
end
def city
CITY.rand
end
def street_name
case ra... | hyfn/ffaker | lib/ffaker/address_de.rb | Ruby | mit | 656 |
<?php
namespace Pagekit\Event;
interface EventSubscriberInterface
{
/**
* Returns an array of event names this subscriber wants to listen to.
*
* @return array
*/
public function subscribe();
}
| yaelduckwen/entretelas | web/app/modules/application/src/Event/EventSubscriberInterface.php | PHP | mit | 224 |
// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
// MIT License. See license.txt
get_server_fields = function(method, arg, table_field, doc, dt, dn, allow_edit, call_back) {
frappe.dom.freeze();
if($.isPlainObject(arg)) arg = JSON.stringify(arg);
return $c('runserverobj',
args={'method': m... | pawaranand/phr_frappe | frappe/public/js/legacy/clientscriptAPI.js | JavaScript | mit | 7,148 |
import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ActionThumbDown = (props) => (
<SvgIcon {...props}>
<path d="M15 3H6c-.83 0-1.54.5-1.84 1.22l-3.02 7.05c-.09.23-.14.47-.14.73v1.91l.01.01L1 14c0 1.1.9 2 2 2h6.31l-.95 4.57-.03.32c0 .41.17.79.44 1.06L9.83 23l6.5... | mmrtnz/material-ui | src/svg-icons/action/thumb-down.js | JavaScript | mit | 562 |
/* bnx2x_cmn.h: Broadcom Everest network driver.
*
* Copyright (c) 2007-2011 Broadcom Corporation
*
* 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.
*
* Maintained by: Eilon Greenstein <e... | qubir/PhoenixA20_linux_sourcecode | drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h | C | gpl-2.0 | 39,494 |
#include <errno.h>
#include <stdlib.h>
/*
static void (*__CTOR_LIST__[1]) __P((void))
__attribute__((__unused__))
__attribute__((section(".ctors"))) = { (void *)0 };
static void (*__DTOR_LIST__[1]) __P((void))
__attribute__((section(".dtors"))) = { (void *)-1 };
*/
extern void (*__DTOR_LIST__[]) __P((void)... | Bytewerk/uClinux-ipcam | uClibc/libc/sysdeps/linux/nios/crtbegin.c | C | gpl-2.0 | 834 |
/*
* Copyright (c) 2002 The FFmpeg Project
*
* 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, or (at your option) an... | ashishlal/pjproject-2.0.1 | third_party/ffmpeg/libavcodec/wmv2dec.c | C | gpl-2.0 | 14,797 |
class TagGroupSerializer < ApplicationSerializer
attributes :id, :name, :tag_names, :parent_tag_name, :one_per_topic
def tag_names
object.tags.map(&:name).sort
end
def parent_tag_name
[object.parent_tag.try(:name)].compact
end
end
| shirishgoyal/daemo-forum | app/serializers/tag_group_serializer.rb | Ruby | gpl-2.0 | 251 |
// 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 "base/bind.h"
#include "base/debug/trace_event.h"
#include "base/logging.h"
#include "base/metrics/histogram.h"
#include "base/stl_util.h"
#i... | s20121035/rk3288_android5.1_repo | external/chromium_org/content/common/gpu/media/vaapi_video_decode_accelerator.cc | C++ | gpl-3.0 | 30,302 |
// 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 CHROME_BROWSER_UI_WEBUI_OMNIBOX_OMNIBOX_UI_HANDLER_H_
#define CHROME_BROWSER_UI_WEBUI_OMNIBOX_OMNIBOX_UI_HANDLER_H_
#include "base/basictypes... | s20121035/rk3288_android5.1_repo | external/chromium_org/chrome/browser/ui/webui/omnibox/omnibox_ui_handler.h | C | gpl-3.0 | 2,944 |
package org.jsoup.parser;
import org.jsoup.helper.Validate;
import java.util.Arrays;
import java.util.Locale;
/**
CharacterReader consumes tokens off a string. To replace the old TokenQueue.
*/
final class CharacterReader {
static final char EOF = (char) -1;
private static final int maxCacheLen = 12;
... | rogerxaic/gestock | src/org/jsoup/parser/CharacterReader.java | Java | unlicense | 10,826 |
# (c) Copyright 2014 Hewlett-Packard Development Company, L.P.
# 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/LI... | nikesh-mahalka/cinder | cinder/tests/unit/fake_hp_client_exceptions.py | Python | apache-2.0 | 3,077 |
/*! ******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2017 by Hitachi Vantara : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version... | tkafalas/pentaho-kettle | engine/src/test/java/org/pentaho/di/job/entries/evaluatetablecontent/MockDriver.java | Java | apache-2.0 | 3,801 |
/*! ******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2017 by Hitachi Vantara : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version... | wseyler/pentaho-kettle | core/src/main/java/org/pentaho/di/core/KettleAttributeInterface.java | Java | apache-2.0 | 1,533 |
/*
* Copyright 2016 The Netty Project
*
* The Netty Project licenses this file to you 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 ... | bryce-anderson/netty | transport/src/main/java/io/netty/channel/DefaultSelectStrategy.java | Java | apache-2.0 | 1,101 |
all:
go build -o nsinit .
| jvgogh/docker | vendor/src/github.com/docker/libcontainer/nsinit/Makefile | Makefile | apache-2.0 | 27 |
drop table accounts;
drop table funny_jokes;
drop table companies;
drop table topics;
drop synonym subjects;
drop table developers_projects;
drop table computers;
drop table developers;
drop table projects;
drop table customers;
drop table orders;
drop table movies;
drop table subscribers;
drop table booleantests;
drop... | queso/signal-wiki | vendor/rails/activerecord/test/schema/oracle.drop.sql | SQL | mit | 1,749 |
/**
* Module dependencies.
*/
var Connection = require('../../connection')
, mongo = require('mongodb')
, Server = mongo.Server
, ReplSetServers = mongo.ReplSetServers;
/**
* Connection for mongodb-native driver
*
* @api private
*/
function NativeConnection() {
Connection.apply(this, arguments);
};
/*... | f14c0/rb-sensor | webapp/node_modules/mongoose/lib/drivers/node-mongodb-native/connection.js | JavaScript | mit | 2,154 |
CREATE TABLE country (id NVARCHAR(2) NOT NULL, name NVARCHAR(64) NOT NULL, PRIMARY KEY (id));
INSERT INTO [country] ([id], [name]) VALUES ('AF', 'Afghanistan');
INSERT INTO [country] ([id], [name]) VALUES ('ZA', 'Afrika Selatan');
INSERT INTO [country] ([id], [name]) VALUES ('AL', 'Albania');
INSERT INTO [country] ([i... | geosub/country-list | country/cldr/in/country.sqlserver.sql | SQL | mit | 16,244 |
<?php
// autoload_namespaces.php generated by Composer
$vendorDir = dirname(__DIR__);
$baseDir = dirname($vendorDir);
return array(
'Twig_Extensions_' => $vendorDir . '/twig/extensions/lib/',
'Twig_' => $vendorDir . '/twig/twig/lib/',
'Symfony\\Bundle\\SwiftmailerBundle' => $vendorDir . '/symfony/swiftma... | KammounHatem/projetgl | vendor/composer/autoload_namespaces.php | PHP | mit | 1,696 |
/*
* TEST SUITE FOR MB/WC FUNCTIONS IN C LIBRARY
*
* FILE: dat_towctrans.c
*
* TOWCTRANS: wint_t towctrans (wint_t wc, wctrans_t charclass);
*/
#include <errno.h>
#include <stdlib.h>
#include <wctype.h>
#include "tst_types.h"
#include "tgn_locdef.h"
/*
* NOTE:
* Set ret_flg = 1, when a return value is... | utds3lab/pemu | plugins/glibc-2.13-new/localedata/tests-mbwc/dat_towctrans.c | C | gpl-2.0 | 2,739 |
// $Id: ajax.js,v 1.26.2.2 2009/11/30 22:47:05 merlinofchaos Exp $
/**
* @file ajax_admin.js
*
* Handles AJAX submission and response in Views UI.
*/
Drupal.Views.Ajax = Drupal.Views.Ajax || {};
/**
* Handles the simple process of setting the ajax form area with new data.
*/
Drupal.Views.Ajax.setForm = function... | hugowetterberg/goodold_drupal | sites/all/modules/views/js/ajax.js | JavaScript | gpl-2.0 | 9,897 |
# -*- coding: utf-8 -*-
# (c) 2018 Matt Martz <matt@sivel.net>
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
from __future__ import absolute_import, division, print_function
__metaclass__ = type
from ansible.module_utils.six import PY3
from ansible.utils.unsafe_proxy imp... | azaghal/ansible | test/units/utils/test_unsafe_proxy.py | Python | gpl-3.0 | 3,234 |
/*
* Copyright (c) 2015, Freescale Semiconductor, Inc.
* Copyright 2016-2017 NXP
* All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef _FSL_CMP_H_
#define _FSL_CMP_H_
#include "fsl_common.h"
/*!
* @addtogroup cmp
* @{
*/
/*************************************************************... | butok/FNET | fnet_demos/common/startup/MIMXRT1062/drivers/fsl_cmp.h | C | apache-2.0 | 9,878 |
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no"/>
<title>Página web no disponible</title>
<style type="text/css">
body { margin-top: 0px; padding-top: 0px; }
h2 { margin-top: 5px; padding-top: 0px; }
... | baidurom/devices-base | vendor/aosp/framework-res/res/raw-es/loaderror.html | HTML | apache-2.0 | 705 |
---
layout: global
title: DESCRIBE TABLE
displayTitle: DESCRIBE TABLE
license: |
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file... | shaneknapp/spark | docs/sql-ref-syntax-aux-describe-table.md | Markdown | apache-2.0 | 8,681 |
esprima.tokenize(null);
| supriyantomaftuh/esprima | test/fixtures/api/migrated_0010.run.js | JavaScript | bsd-2-clause | 24 |
!function(e){e.calendarsPicker.regionalOptions.km={renderer:e.calendarsPicker.defaultRenderer,prevText:"ថយក្រោយ",prevStatus:"",prevJumpText:"<<",prevJumpStatus:"",nextText:"ទៅមុខ",nextStatus:"",nextJumpText:">>",nextJumpStatus:"",currentText:"ថ្ងៃនេះ",currentStatus:"",todayText:"ថ្ងៃនេះ",todaySt... | bedegaming-aleksej/Orchard | src/Orchard.Web/Modules/Orchard.Resources/Scripts/Calendars/jquery.calendars.picker-km.min.js | JavaScript | bsd-3-clause | 651 |
<!DOCTYPE html>
<html>
<head>
<title>
Test case for https://bugs.webkit.org/show_bug.cgi?id=61338
</title>
<style>
.rotated {
transform:rotate(50deg);
}
</style>
<script src="resources/text-based-repaint.js" type="text/java... | XiaosongWei/chromium-crosswalk | third_party/WebKit/LayoutTests/fast/repaint/transform-rotate-and-remove.html | HTML | bsd-3-clause | 980 |
// Copyright 2013 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 "mojo/public/cpp/bindings/lib/bindings_serialization.h"
#include "mojo/public/cpp/bindings/lib/bindings_internal.h"
#include "mojo/public/cpp/bi... | 7kbird/chrome | mojo/public/cpp/bindings/lib/bindings_serialization.cc | C++ | bsd-3-clause | 3,424 |
// Copyright 2015 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 <stddef.h>
#include <stdint.h>
#include "base/files/memory_mapped_file.h"
#include "media/base/test_data_util.h"
#include "media/filters/ivf_par... | youtube/cobalt | third_party/chromium/media/filters/ivf_parser_unittest.cc | C++ | bsd-3-clause | 1,948 |
using Orchard.ContentManagement.MetaData;
using Orchard.Core.Contents.Extensions;
using Orchard.Data.Migration;
namespace Orchard.CustomForms {
public class Migrations : DataMigrationImpl {
public int Create() {
ContentDefinitionManager.AlterTypeDefinition("CustomForm",
cfg => ... | leonhaft/LearnOrchard | src/Orchard.Web/Modules/Orchard.CustomForms/Migrations.cs | C# | bsd-3-clause | 2,131 |
/* tmp421.c
*
* Copyright (C) 2009 Andre Prendel <andre.prendel@gmx.de>
* Preliminary support by:
* Melvin Rook, Raymond Ng
*
* 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 versi... | SanDisk-Open-Source/SSD_Dashboard | uefi/linux-source-3.8.0/drivers/hwmon/tmp421.c | C | gpl-2.0 | 8,505 |
/****************************************************************************
Copyright (c) 2010-2012 cocos2d-x.org
Copyright (c) 2008-2010 Ricardo Quesada
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "So... | slightair/yamiHikariGame | yamiHikariGame/libs/cocos2dx/label_nodes/CCLabelTTF.cpp | C++ | mit | 15,254 |
// 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.Collections;
using System.Diagnostics;
using System.Runtime.InteropServices;
namespace System.Director... | nbarbettini/corefx | src/System.DirectoryServices/src/System/DirectoryServices/ActiveDirectory/GlobalCatalog.cs | C# | mit | 17,313 |
/*
* Copyright (C) 1999, 2000, 2004 MIPS Technologies, Inc.
* All rights reserved.
* Authors: Carsten Langgaard <carstenl@mips.com>
* Maciej W. Rozycki <macro@mips.com>
*
* This program is free software; you can distribute it and/or modify it
* under the terms of the GNU General Public License (Version 2) a... | jameshilliard/m8-3.4.0-gb1fa77f | arch/mips/pci/ops-gt64xxx_pci0.c | C | gpl-2.0 | 3,755 |
#ifndef MSP3400_DRIVER_H
#define MSP3400_DRIVER_H
#include <media/msp3400.h>
#include <media/v4l2-device.h>
#include <media/v4l2-ctrls.h>
#define MSP_CARRIER(freq) ((int)((float)(freq / 18.432) * (1 << 24)))
#define MSP_MODE_AM_DETECT 0
#define MSP_MODE_FM_RADIO 2
#define MSP_MODE_FM_TERRA 3
#define MSP_MO... | Evervolv/android_kernel_htc_msm8974 | drivers/media/video/msp3400-driver.h | C | gpl-2.0 | 2,993 |
#ifndef _IP6T_LOG_H
#define _IP6T_LOG_H
#warning "Please update iptables, this file will be removed soon!"
#define IP6T_LOG_TCPSEQ 0x01
#define IP6T_LOG_TCPOPT 0x02
#define IP6T_LOG_IPOPT 0x04
#define IP6T_LOG_UID 0x08
#define IP6T_LOG_NFLOG 0x10
#define IP6T_LOG_MACDECODE 0x20
#define IP6T_LOG_MASK 0x2f
... | jfdsmabalot/kernel_sense_m8 | include/linux/netfilter_ipv6/ip6t_LOG.h | C | gpl-2.0 | 421 |
#ifndef LINUX_SSB_EMBEDDED_H_
#define LINUX_SSB_EMBEDDED_H_
#include <linux/types.h>
#include <linux/ssb/ssb.h>
extern int ssb_watchdog_timer_set(struct ssb_bus *bus, u32 ticks);
u32 ssb_gpio_in(struct ssb_bus *bus, u32 mask);
u32 ssb_gpio_out(struct ssb_bus *bus, u32 mask, u32 value);
u32 ssb_gpio_outen(struct ssb... | jameshilliard/m8-3.4.0-gb1fa77f | include/linux/ssb/ssb_embedded.h | C | gpl-2.0 | 555 |
#ifndef _SPARC_PGALLOC_H
#define _SPARC_PGALLOC_H
#include <linux/kernel.h>
#include <linux/sched.h>
#include <asm/page.h>
#include <asm/btfixup.h>
struct page;
extern struct pgtable_cache_struct {
unsigned long *pgd_cache;
unsigned long *pte_cache;
unsigned long pgtable_cache_sz;
unsigned long pgd_cache_sz;
} ... | jameshilliard/m8-3.4.0-gb1fa77f | arch/sparc/include/asm/pgalloc_32.h | C | gpl-2.0 | 2,532 |
/*
* This code is derived from the VIA reference driver (copyright message
* below) provided to Red Hat by VIA Networking Technologies, Inc. for
* addition to the Linux kernel.
*
* The code has been merged into one source file, cleaned up to follow
* Linux coding style, ported to the Linux 2.6 kernel tree and cl... | standak3/m8_ul_4.4.2_original | drivers/net/ethernet/via/via-velocity.c | C | gpl-2.0 | 69,701 |
#ifndef __ARCH_ORION5X_MPP_H
#define __ARCH_ORION5X_MPP_H
#define MPP(_num, _sel, _in, _out, _F5181l, _F5182, _F5281) ( \
((_num) & 0xff) | \
(((_sel) & 0xf) << 8) | \
((!!(_in)) << 12) | \
((!!(_out)) << 13) | \
((!!(_F5181l)) << 14) | \
((!!(_F5182)) << 15) | \
((!!(_F5281)) << 16))
#define MP... | jameshilliard/m8-3.4.0-gb1fa77f | arch/arm/mach-orion5x/mpp.h | C | gpl-2.0 | 5,622 |
/*
* Driver for S3 SonicVibes soundcard
* Copyright (c) by Jaroslav Kysela <perex@perex.cz>
*
* BUGS:
* It looks like 86c617 rev 3 doesn't supports DDMA buffers above 16MB?
* Driver sometimes hangs... Nobody knows why at this moment...
*
* This program is free software; you can redistribute it and/or... | Evervolv/android_kernel_htc_msm8974 | sound/pci/sonicvibes.c | C | gpl-2.0 | 49,942 |
#include <linux/buffer_head.h>
#include <linux/hdreg.h>
#include <linux/slab.h>
#include <asm/dasd.h>
#include <asm/ebcdic.h>
#include <asm/uaccess.h>
#include <asm/vtoc.h>
#include "check.h"
#include "ibm.h"
static sector_t
cchh2blk (struct vtoc_cchh *ptr, struct hd_geometry *geo) {
sector_t cyl;
__u16 head;
... | jameshilliard/m8-3.4.0-gb1fa77f | block/partitions/ibm.c | C | gpl-2.0 | 5,511 |
/*
* OpenRISC Linux
*
* Linux architectural port borrowing liberally from similar works of
* others. All original copyrights apply as per the original source
* declaration.
*
* OpenRISC implementation:
* Copyright (C) 2003 Matjaz Breskvar <phoenix@bsemi.com>
* Copyright (C) 2010-2011 Jonas Bonn <jonas@southpo... | jameshilliard/m8-3.4.0-gb1fa77f | arch/openrisc/include/asm/linkage.h | C | gpl-2.0 | 734 |
/*
*
* Author Karsten Keil <kkeil@novell.com>
*
* Copyright 2008 by Karsten Keil <kkeil@novell.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is dis... | jameshilliard/m8-3.4.0-gb1fa77f | drivers/isdn/mISDN/layer2.c | C | gpl-2.0 | 50,588 |
<?php
/**
* @package Joomla.UnitTest
* @subpackage Facebook
*
* @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
*/
/**
* Test class for JFacebookGroup.
*
* @package Joomla.UnitTest
* @subp... | yiendos/pomander | tests/unit/suites/libraries/joomla/facebook/JFacebookGroupTest.php | PHP | gpl-2.0 | 16,864 |
/*
* net/core/netprio_cgroup.c Priority Control Group
*
* 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.
*
* ... | jameshilliard/m8-3.4.0-gb1fa77f | net/core/netprio_cgroup.c | C | gpl-2.0 | 7,152 |
/* Copyright (c) 2012-2016, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the... | SlimRoms/kernel_htc_msm8994 | include/linux/ipa.h | C | gpl-2.0 | 52,061 |
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle ... | AmrataRamchandani/moodle | report/completion/index.php | PHP | gpl-3.0 | 23,390 |
{% spaceless %}
{% block js %}
<script type="text/javascript">
alert("test using multiple inheritance and block.super");
</script>
{% endblock %}
{% block css %}
<style type="text/css">
body {
background: red;
}
</style>
{% endblock %}
{% endspaceless %}
| hzlf/openbroadcast | website/tools/compressor/tests/test_templates/test_block_super_multiple_cached/base.html | HTML | gpl-3.0 | 308 |
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
/*
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 option) any la... | wingboys/ardupilot | libraries/AP_Compass/AP_Compass_LSM303D.cpp | C++ | gpl-3.0 | 15,994 |
<?php
/**
* SCSSPHP
*
* @copyright 2012-2018 Leaf Corcoran
*
* @license http://opensource.org/licenses/MIT MIT
*
* @link http://leafo.github.io/scssphp
*/
namespace Leafo\ScssPhp;
use Leafo\ScssPhp\Block;
use Leafo\ScssPhp\Compiler;
use Leafo\ScssPhp\Exception\ParserException;
use Leafo\ScssPhp\Node;
use Leaf... | Felix-Ho/opencart | upload/system/storage/vendor/leafo/scssphp/src/Parser.php | PHP | gpl-3.0 | 60,401 |
/**
* @file
* SNMP Agent message handling structures.
*/
/*
* Copyright (c) 2006 Axon Digital Design B.V., The Netherlands.
* 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. Redist... | BrewPi/firmware | platform/spark/firmware/hal/src/photon/wiced/network/LwIP/ver1.4.1/src/include/lwip/snmp_msg.h | C | agpl-3.0 | 9,544 |
// 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/debugger/do_help.js | JavaScript | apache-2.0 | 651 |
/**************************************************************************
*
* Copyright 2010 VMware, Inc.
* 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 wit... | execunix/vinos | xsrc/external/mit/MesaLib7/dist/src/gallium/auxiliary/util/u_format_yuv.c | C | apache-2.0 | 26,432 |
/*
* 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... | RyanTech/DexHunter | art/runtime/dex_file.cc | C++ | apache-2.0 | 36,454 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.