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 |
|---|---|---|---|---|---|
#ifndef __ASM_MACH_IP32_KMALLOC_H
#define __ASM_MACH_IP32_KMALLOC_H
#if defined(CONFIG_CPU_R5000) || defined(CONFIG_CPU_RM7000)
#define ARCH_DMA_MINALIGN 32
#else
#define ARCH_DMA_MINALIGN 128
#endif
#endif /* __ASM_MACH_IP32_KMALLOC_H */
| talnoah/android_kernel_htc_dlx | virt/arch/mips/include/asm/mach-ip32/kmalloc.h | C | gpl-2.0 | 242 |
/*
* Copyright (c) 2011, 2012, 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 ... | rokn/Count_Words_2015 | testing/openjdk2/hotspot/agent/src/share/classes/sun/jvm/hotspot/ci/ciObjectFactory.java | Java | mit | 3,346 |
### Install Fish
Using Homebrew, you can now install [Fish](http://fishshell.com/), a smart and user-friendly command line shell. Remember, a shell is simply the user interface between you and your computer's operating system.
There are many command line shells availabe to choose from, each with their own strengths. ... | codefellows/pdx-w7-uge | prework/mac/3_fish.md | Markdown | mit | 3,195 |
// Copyright (c) 2006-2008 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/platform_file.h"
#include "base/file_path.h"
#include "base/logging.h"
#include "base/threading/thread_restrictions.h"
namespace... | xdajog/samsung_sources_i927 | external/chromium/base/platform_file_win.cc | C++ | gpl-2.0 | 6,732 |
// Copyright 2014 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Flags: --expose-debug-as debug --allow-natives-syntax
// Test debug events when we only listen to uncaught exceptions, the Promise
// throws, and a ... | victorzhao/miniblink49 | v8_4_5/test/mjsunit/es6/debug-promises/throw-caught-late.js | JavaScript | gpl-3.0 | 890 |
/**********************************************************************************
* $URL:$
* $Id:$
***********************************************************************************
*
* Copyright (c) 2008 The Sakai Foundation
*
* Licensed under the Educational Community License, Version 2.0 (the "License");
... | ouit0408/sakai | content/content-metadata/api/src/java/org/sakaiproject/content/metadata/logic/MetadataService.java | Java | apache-2.0 | 1,899 |
/*
* Copyright 2000-2015 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | asedunov/intellij-community | platform/platform-impl/src/com/intellij/externalDependencies/ExternalDependenciesManager.java | Java | apache-2.0 | 1,636 |
// ------------------------------------------------------------------
// Copyright (c) 2004-2007 Atheros Corporation. All rights reserved.
//
//
// 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... | Michael-Pizzileo/lichee-3.0.8-leaked | modules/wifi/ar6302/AR6K_SDK_ISC.build_3.1_RC.329/include/AR6002/hw6.0/hw/mbox_i2s_reg.h | C | gpl-2.0 | 20,584 |
/**
* Copyright (c) 2010-2015, openHAB.org and others.
*
* 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
*/
package org... | Greblys/openhab | bundles/binding/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/bus/HomematicBinding.java | Java | epl-1.0 | 6,517 |
/*
* grunt
* http://gruntjs.com/
*
* Copyright (c) 2012 "Cowboy" Ben Alman
* Licensed under the MIT license.
* https://github.com/gruntjs/grunt/blob/master/LICENSE-MIT
*/
var grunt = require('../grunt');
// Nodejs libs.
var path = require('path');
var fs = require('fs');
// In Nodejs 0.8.0, existsSync moved fr... | Dilts/GruntworkflowWordpress | wp-content/themes/testGRUNT/src/node_modules/grunt-css/node_modules/grunt/lib/grunt/task.js | JavaScript | gpl-2.0 | 14,837 |
/******************************************************************************
*
* Copyright(c) 2009-2012 Realtek Corporation.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License as
* published by the Free Software Foundati... | BPI-SINOVOIP/BPI-Mainline-kernel | linux-4.19/drivers/net/wireless/realtek/rtlwifi/ps.c | C | gpl-2.0 | 26,871 |
---
title: Chart Configuration
anchor: chart-configuration
---
Chart.js provides a number of options for changing the behaviour of created charts. These configuration options can be changed on a per chart basis by passing in an options object when creating the chart. Alternatively, the global configuration can be chan... | balirwa/logs | www/lib/chart.js/docs/01-Chart-Configuration.md | Markdown | apache-2.0 | 27,894 |
/**
* Copyright (c) 2014, WSO2 Inc. (http://www.wso2.org) 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... | kasungayan/product-is | modules/samples/mobile-proxy-idp/ios/ebuy/eBuy/User.h | C | apache-2.0 | 976 |
module Main where
import GHC
import MonadUtils
import System.Environment
main :: IO ()
main = do [libdir] <- getArgs
runGhc (Just libdir) doit
doit :: Ghc ()
doit = do
getSessionDynFlags >>= setSessionDynFlags
dyn <- dynCompileExpr "()"
liftIO $ print dyn
| siddhanathan/ghc | testsuite/tests/ghc-api/dynCompileExpr/dynCompileExpr.hs | Haskell | bsd-3-clause | 278 |
<!DOCTYPE html>
<html>
<head>
<title>CSS Test (Transforms): Simple Backface-Visibility, rotatex(180deg) on Table</title>
<link rel="author" title="Aryeh Gregor" href="mailto:ayg@aryeh.name">
<link rel="help" href="http://www.w3.org/TR/css-transforms-2/#propdef-backface-visibility">
<meta name="assert"... | scheib/chromium | third_party/blink/web_tests/external/wpt/css/css-transforms/transform3d-backface-visibility-003.html | HTML | bsd-3-clause | 867 |
// Karma configuration
// Generated on Fri Nov 08 2013 09:25:16 GMT-0600 (Central Standard Time)
var util = require('../lib/grunt/utils.js');
var grunt = require('grunt');
module.exports = function(config) {
config.set({
// base path, that will be used to resolve files and exclude
basePath: '../',
// f... | bartkiewicz/ui-grid | test/karma.conf.js | JavaScript | mit | 4,547 |
// Copyright 2004-present Facebook. All Rights Reserved.
#pragma once
#include <jschelpers/JavaScriptCore.h>
namespace facebook {
namespace react {
void initSamplingProfilerOnMainJSCThread(JSGlobalContextRef ctx);
}
}
| prayuditb/tryout-01 | websocket/client/Client/node_modules/react-native/ReactCommon/cxxreact/JSCSamplingProfiler.h | C | mit | 222 |
/*
Project: angular-gantt v1.2.7 - Gantt chart component for AngularJS
Authors: Marco Schweighauser, Rémi Alvergnat
License: MIT
Homepage: https://www.angular-gantt.com
Github: https://github.com/angular-gantt/angular-gantt.git
*/
(function(){
'use strict';
angular.module('gantt.drawtask', ['gantt']).directive(... | JJediny/angular-gantt | dist/angular-gantt-drawtask-plugin.js | JavaScript | mit | 4,070 |
/// <reference path="pgwmodal.d.ts" />
var $j: JQueryStatic;
var $z: ZeptoStatic;
function test_open(): void {
var r: boolean = $j.pgwModal({
content: 'Modal Example 1'
});
$j.pgwModal({
target: '#modalContent',
title: 'Modal title 2',
maxWidth: 800
});
$j.pgwModa... | rodzewich/playground | types/pgwmodal/pgwmodal-test.ts | TypeScript | mit | 779 |
/*
* 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/openjdk2/langtools/test/tools/javac/DefiniteAssignment/T4721062a.java | Java | mit | 1,328 |
#
# arch/x86/boot/Makefile
#
# 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) 1994 by Linus Torvalds
# Changed by many, many contributors over the years.
#
# If you want to preset ... | soap-DEIM/l4android | arch/x86/boot/Makefile | Makefile | gpl-2.0 | 6,801 |
module HTML
class Pipeline
# This filter rewrites image tags with a max-width inline style and also wraps
# the image in an <a> tag that causes the full size image to be opened in a
# new tab.
#
# The max-width inline styles are especially useful in HTML email which
# don't use a global styles... | fernandoandreotti/cibim | vendor/ruby/2.4.0/gems/html-pipeline-2.7.1/lib/html/pipeline/image_max_width_filter.rb | Ruby | apache-2.0 | 1,186 |
<?php
namespace Doctrine\Tests\Models\Cache;
/**
* @Entity
*/
class Bar extends Attraction
{
const CLASSNAME = __CLASS__;
} | tdutrion/rwe | vendor/doctrine/orm/tests/Doctrine/Tests/Models/Cache/Bar.php | PHP | bsd-3-clause | 134 |
/*
*
* (C) COPYRIGHT 2012-2013 ARM Limited. All rights reserved.
*
* This program is free software and is provided to you under the terms of the
* GNU General Public License version 2 as published by the Free Software
* Foundation, and any use by you of this program is subject to the terms
* of such GNU licence.... | nbars/Custom-Kernel-SM-P600 | kernel-src/drivers/gpu/arm/t6xx/kbase/mali_base_hwconfig.h | C | gpl-2.0 | 12,540 |
/*
* Copyright 2014 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.
*/
@import url("dialog.css");
@import url("inspectorStyle.css");
@import url("inspectorCommon.css");
@import url("inspectorSyntaxHighlight.css");
@imp... | wyicwx/bone-cli-proxy | public/inspector/inspector.css | CSS | mit | 438 |
/*
A version of malloc/free/realloc written by Doug Lea and released to the
public domain. Send questions/comments/complaints/performance data
to dl@cs.oswego.edu
* VERSION 2.6.6 Sun Mar 5 19:10:03 2000 Doug Lea (dl at gee)
Note: There may be an updated version of this malloc obtainable at
ftp://g.o... | lxl1140989/dmsdk | uboot/u-boot-dm6291/include/malloc.h | C | gpl-2.0 | 33,862 |
#include "layout.h"
#include "../vgmstream.h"
/* set up for the block at the given offset */
void filp_block_update(off_t block_offset, VGMSTREAM * vgmstream) {
int i;
vgmstream->current_block_offset = block_offset;
vgmstream->current_block_size = read_32bitLE(
vgmstream->current_block_offset+0x18,
vgmstr... | xbmc/atv2 | xbmc/cores/paplayer/vgmstream/src/layout/filp_blocked.c | C | gpl-2.0 | 662 |
/*
*
* Includes for cdc-acm.c
*
* Mainly take from usbnet's cdc-ether part
*
*/
/*
* CMSPAR, some architectures can't have space and mark parity.
*/
#ifndef CMSPAR
#define CMSPAR 0
#endif
/*
* Major and minor numbers.
*/
#define ACM_TTY_MAJOR 166
#define ACM_TTY_MINORS 256
/*
* Requests.
*/
#defin... | mkvdv/au-linux-kernel-autumn-2017 | linux/drivers/usb/class/cdc-acm.h | C | gpl-3.0 | 4,044 |
/* GPL HEADER START
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This program 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 Software Foundation.
*
* This program is distributed in... | ziqiaozhou/cachebar | source/drivers/staging/lustre/lustre/libcfs/linux/linux-crypto-adler.c | C | gpl-2.0 | 3,391 |
/*
jqGrid 4.9.1 - free jqGrid: https://github.com/free-jqgrid/jqGrid
Copyright (c) 2008-2014, Tony Tomov, tony@trirand.com
Copyright (c) 2014-2015, Oleg Kiriljuk, oleg.kiriljuk@ok-soft-gmbh.com
Dual licensed under the MIT and GPL licenses
http://www.opensource.org/licenses/mit-license.php
http://www.gnu.org/licen... | CTres/jsdelivr | files/free-jqgrid/4.9.1/js/jquery.jqgrid.min.js | JavaScript | mit | 309,414 |
<!DOCTYPE html><html><head><link rel="canonical" href="../../"/><meta http-equiv="content-type" content="text/html; charset=utf-8" /><meta http-equiv="refresh" content="0;url=../../" /></head></html> | RobertMyles/RobertMyles.github.io | tags/webscraping/page/1/index.html | HTML | mit | 199 |
class HostAggregateHost < ApplicationRecord
belongs_to :host
belongs_to :host_aggregate
end
| borod108/manageiq | app/models/host_aggregate_host.rb | Ruby | apache-2.0 | 96 |
// Copyright 2014 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | KokaKiwi/rust | src/test/compile-fail/lint-dead-code-5.rs | Rust | apache-2.0 | 1,072 |
{-# LANGUAGE TypeFamilies #-}
module T1897b where
import Control.Monad
import Data.Maybe
class Bug s where
type Depend s
next :: s -> Depend s -> Maybe s
start :: s
-- isValid :: (Bug s) => [Depend s] -> Bool
-- Inferred type should be rejected as ambiguous
isValid ds = isJust $ foldM next start ds
| forked-upstream-packages-for-ghcjs/ghc | testsuite/tests/indexed-types/should_fail/T1897b.hs | Haskell | bsd-3-clause | 316 |
#!/usr/bin/env python
# Copyright (c) 2011 Google Inc. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""
Verifies simple rules when using an explicit build target of 'all'.
"""
import TestGyp
import os
import sys
test = TestGyp.TestGyp(for... | sgraham/nope | tools/gyp/test/rules-dirname/gyptest-dirname.py | Python | bsd-3-clause | 1,475 |
{-# OPTIONS_GHC -fno-safe-infer #-}
-- | Basic test to see if no safe infer flag compiles
-- This module would usually infer safely, so it shouldn't be safe now.
-- We don't actually check that here though, see test '' for that.
module SafeFlags27 where
f :: Int
f = 1
| wxwxwwxxx/ghc | testsuite/tests/safeHaskell/flags/SafeFlags27.hs | Haskell | bsd-3-clause | 271 |
@font-face {
font-family: 'aller';
src: url('http://vader.binaryelysium.com/fonts/aller_rg-webfont.eot');
src: url('http://vader.binaryelysium.com/fonts/aller_rg-webfont.eot?#iefix') format('embedded-opentype'), url('http://vader.binaryelysium.com/fonts/aller_rg-webfont.woff') format('woff'), url('http://vader.bi... | kcopper8/RPGSheet | sheets/Firefly/firefly.css | CSS | mit | 97,088 |
<?php
/**
* @file
* Contains \Drupal\ckeditor\Plugin\CKEditorPlugin\Internal.
*/
namespace Drupal\ckeditor\Plugin\CKEditorPlugin;
use Drupal\ckeditor\CKEditorPluginBase;
use Drupal\Component\Utility\NestedArray;
use Drupal\Core\Cache\Cache;
use Drupal\Core\Cache\CacheBackendInterface;
use Drupal\Core\Plugin\Conta... | casivaagustin/drupalcon-mentoring | src/core/modules/ckeditor/src/Plugin/CKEditorPlugin/Internal.php | PHP | mit | 19,873 |
/** @file mlan_join.h
*
* @brief This file defines the interface for the WLAN infrastructure
* and adhoc join routines.
*
* Driver interface functions and type declarations for the join module
* implemented in mlan_join.c. Process all start/join requests for
* both adhoc and infrastructure networks
*
* ... | FG6Q-Dev/android_kernel_quanta_fg6q | drivers/net/wireless/sd8897/mlan/mlan_join.h | C | gpl-2.0 | 1,634 |
/*
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, ... | tangfeixiong/dashboard | vendor/k8s.io/kubernetes/pkg/client/clientset_generated/internalclientset/typed/extensions/internalversion/fake/fake_ingress.go | GO | apache-2.0 | 3,931 |
/*
* Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved.
* Copyright (C) 2009 Anthony Ricaud <rik@webkit.org>
*
* 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 ... | VikingsYip/webkitdotnet | webkit/WebKit.resources/inspector/panelEnablerView.css | CSS | bsd-2-clause | 5,100 |
/*
* Copyright 2015 Simon Arlott
*
* 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 distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANT... | mikedlowis-prototypes/albase | source/kernel/drivers/mtd/nand/brcmnand/bcm6368_nand.c | C | bsd-2-clause | 3,973 |
// functional_hash.h header -*- C++ -*-
// Copyright (C) 2007, 2009 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 Fo... | chcbaram/FPGA | zap-2.3.0-windows/papilio-zap-ide/hardware/tools/g++_arm_none_eabi/arm-none-eabi/include/c++/4.4.1/bits/functional_hash.h | C | mit | 2,043 |
// Copyright (c) 2013 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 retain the above copyright
// notice, this list of conditio... | BozhkoAlexander/mtasa-blue | vendor/google-breakpad/src/processor/exploitability_linux.h | C | gpl-3.0 | 2,338 |
;
; jfsseflt-64.asm - floating-point FDCT (64-bit SSE)
;
; Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB
; Copyright 2009 D. R. Commander
;
; Based on
; x86 SIMD extension for IJG JPEG library
; Copyright (C) 1999-2006, MIYASAKA Masaru.
; For conditions of distribution and use, see copyright notice in j... | zarboz/XBMC-PVR-mac | tools/darwin/depends/libjpeg-turbo/simd/jfsseflt-64.asm | Assembly | gpl-2.0 | 11,016 |
// Copyright (c) 2009-2014 Vladimir Batov.
// Use, modification and distribution are subject to the Boost Software License,
// Version 1.0. See http://www.boost.org/LICENSE_1_0.txt.
#ifndef BOOST_CONVERT_DETAIL_IS_CHAR_HPP
#define BOOST_CONVERT_DETAIL_IS_CHAR_HPP
#include <boost/mpl/bool.hpp>
#include <boost/type_tra... | gwq5210/litlib | thirdparty/sources/boost_1_60_0/boost/convert/detail/char.hpp | C++ | gpl-3.0 | 766 |
// TinyMCE helper, checks to see if TinyMCE editors in the given form are dirty
// Support for UMD: https://github.com/umdjs/umd/blob/master/jqueryPluginCommonjs.js
// This allows for tools such as Browserify to compose the components together into a single HTTP request.
(function (factory) {
if (typeof define ===... | NightOwl888/jquery.dirtyforms | helpers/tinymce.js | JavaScript | mit | 2,691 |
"""
This module implements connections for MySQLdb. Presently there is
only one class: Connection. Others are unlikely. However, you might
want to make your own subclasses. In most cases, you will probably
override Connection.default_cursor with a non-standard Cursor class.
"""
from MySQLdb import cursors
fr... | skycucumber/Messaging-Gateway | webapp/venv/lib/python2.7/site-packages/MySQLdb/connections.py | Python | gpl-2.0 | 11,777 |
// 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.Collections.Immutable;
using System.Diagnostics;
using System.Threading;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalys... | v-codeel/roslyn | src/Compilers/CSharp/Portable/Symbols/Source/SourceDelegateMethodSymbol.cs | C# | apache-2.0 | 15,517 |
package google
import (
"fmt"
"testing"
"github.com/hashicorp/terraform/helper/acctest"
"github.com/hashicorp/terraform/helper/resource"
"github.com/hashicorp/terraform/terraform"
)
func TestAccDnsRecordSet_basic(t *testing.T) {
zoneName := fmt.Sprintf("dnszone-test-%s", acctest.RandString(10))
resource.Test(... | stardog-union/stardog-graviton | vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_dns_record_set_test.go | GO | apache-2.0 | 4,866 |
/**
* @fileoverview A rule to disallow negated left operands of the `in` operator
* @author Michael Ficarra
* @deprecated in ESLint v3.3.0
*/
"use strict";
//------------------------------------------------------------------------------
// Rule Definition
//--------------------------------------------------------... | hellokidder/js-studying | 微信小程序/wxtest/node_modules/eslint/lib/rules/no-negated-in-lhs.js | JavaScript | mit | 1,010 |
<!--[metadata]>
+++
title = "Amazon CloudWatch Logs logging driver"
description = "Describes how to use the Amazon CloudWatch Logs logging driver."
keywords = ["AWS, Amazon, CloudWatch, logging, driver"]
[menu.main]
parent = "smn_logging"
+++
<![end-metadata]-->
# Amazon CloudWatch Logs logging driver
The `awslogs` l... | ulrichSchreiner/dockmon | vendor/github.com/docker/docker/docs/reference/logging/awslogs.md | Markdown | mit | 3,170 |
/***
* Copyright 2002-2010 jamod development team
*
* 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... | paolodenti/openhab | bundles/binding/org.openhab.binding.modbus/src/main/java/net/wimpi/modbus/procimg/Register.java | Java | epl-1.0 | 1,599 |
/*
* Context tracking: Probe on high level context boundaries such as kernel
* and userspace. This includes syscalls and exceptions entry/exit.
*
* This is used by RCU to remove its dependency on the timer tick while a CPU
* runs in userspace.
*
* Started by Frederic Weisbecker:
*
* Copyright (C) 2012 Red Hat... | ziqiaozhou/cachebar | source/kernel/context_tracking.c | C | gpl-2.0 | 6,982 |
// ParsleyConfig definition if not already set
window.ParsleyConfig = window.ParsleyConfig || {};
window.ParsleyConfig.i18n = window.ParsleyConfig.i18n || {};
// Define then the messages
window.ParsleyConfig.i18n.nl = jQuery.extend(window.ParsleyConfig.i18n.nl || {}, {
defaultMessage: "Deze waarde lijkt onjuist.",
... | thebykov/trufit | wp-content/themes/sportify/tesla_framework/static/js/parsley/locales/nl.js | JavaScript | gpl-3.0 | 1,519 |
//! moment.js locale configuration
//! locale : Luxembourgish [lb]
//! author : mweimerskirch : https://github.com/mweimerskirch
//! author : David Raison : https://github.com/kwisatz
;(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined'
&& typeof require === 'function' ... | gitee2008/glaf | webapps/glaf/static/AdminLTE/bower_components/moment/locale/lb.js | JavaScript | apache-2.0 | 4,506 |
/*
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, ... | mwringe/heapster | vendor/k8s.io/kubernetes/pkg/apis/batch/v1/defaults.go | GO | apache-2.0 | 1,212 |
<style>
div { width: 0px; }
span { text-decoration: underline; cursor: hand; }
</style>
<script>
function toggleFullScreen() {
if (document.webkitIsFullScreen)
document.webkitCancelFullScreen();
else
document.getElementsByTagName('div')[0].webkitRequestFullscreen();
}
</script>
<body>
... | nwjs/chromium.src | third_party/blink/manual_tests/fullscreen/full-screen-zero-width.html | HTML | bsd-3-clause | 531 |
/**************************************************************************
*
* isapnp.h -- Etherboot isapnp support for the 3Com 3c515
* Written 2002-2003 by Timothy Legge <tlegge@rogers.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Pu... | KernelAnalysisPlatform/KlareDbg | tracers/qemu/decaf/roms/ipxe/src/include/ipxe/isapnp.h | C | gpl-3.0 | 7,594 |
/*
Copyright 2015 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, ... | sallyom/origin | vendor/k8s.io/kubernetes/test/e2e/network/util_iperf.go | GO | apache-2.0 | 5,698 |
/*
* Copyright (c) 2005-2006 Intel Corporation. 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, available from the file
* COPYING in the main directory of this s... | talnoah/android_kernel_htc_dlx | virt/include/rdma/rdma_user_cm.h | C | gpl-2.0 | 5,030 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="robots" content="index, follow, all" />
<title>Thelia\Model\Base\ProductI18nQuery | </title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css">
</h... | Mertiozys/thelia.github.io | api/master/Thelia/Model/Base/ProductI18nQuery.html | HTML | mit | 102,558 |
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/leds.h>
#include <linux/err.h>
#include <linux/clk.h> /* only needed for hacked clk rate change */
#include <asm/hardware/scoop.h>
#include <asm/mach-types.h>
static void hacked_arm_clk_rate_change(enum led_brightness... | Grace5921/android_kernel_kylevexx | drivers/leds/leds-islands_ff.c | C | gpl-2.0 | 5,012 |
/*
* include/linux/writeback.h
*/
#ifndef WRITEBACK_H
#define WRITEBACK_H
#include <linux/sched.h>
#include <linux/fs.h>
DECLARE_PER_CPU(int, dirty_throttle_leaks);
/*
* The 1/4 region under the global dirty thresh is for smooth dirty throttling:
*
* (thresh - thresh/DIRTY_FULL_SCOPE, thresh)
*
* Further beyo... | AOSPA-legacy/android_kernel_lge_msm8974 | include/linux/writeback.h | C | gpl-2.0 | 6,290 |
<?php
require_once '_inc.php';
function test_Minify_Cache_Memcache()
{
$prefix = 'Minify_Cache_Memcache : ';
$thisFileActive = (__FILE__ === realpath($_SERVER['SCRIPT_FILENAME']));
if (! function_exists('memcache_set')) {
if ($thisFileActive) {
echo " {$prefix}To test this compone... | ellipsonic/thebuggenige_app | vendor/mrclay/minify/min_unit_tests/test_Minify_Cache_Memcache.php | PHP | mpl-2.0 | 1,495 |
/*
* Copyright 2000-2015 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | caot/intellij-community | python/src/com/jetbrains/commandInterface/console/ProcessModeConsumer.java | Java | apache-2.0 | 1,382 |
'------------------------------------------------------------------------------
' <auto-generated>
' This code was generated by a tool.
' Runtime Version:4.0.30319.0
'
' Changes to this file may cause incorrect behavior and will be lost if
' the code is regenerated.
' </auto-generated>
'---------------... | f14n/code-cracker | test/VisualBasic/CodeCracker.Test/My Project/Application.Designer.vb | Visual Basic | apache-2.0 | 424 |
class A:
def __init__(self, a:int, b:float, *args:tuple, c:complex, **kwargs:dict) -> None:
pass
class B(A):
def <warning descr="Call to __init__ of super class is missed">__i<caret>nit__</warning>(self, d:str, *, e:bytes) -> list:
pass | idea4bsd/idea4bsd | python/testData/inspections/AddCallSuperTypeAnnotationsPreserved.py | Python | apache-2.0 | 261 |
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.dialog.add( 'radio', function( editor )
{
return {
title : editor.lang.checkboxAndRadio.radioTitle,
minWidth : 350,
minHeight : 140,
onShow : func... | shridharsahil/libraryweb-site | www/sites/all/libraries/ckeditor/_source/plugins/forms/dialogs/radio.js | JavaScript | bsd-3-clause | 3,596 |
module.exports = function (obj, opts) {
if (!opts) opts = {};
if (typeof opts === 'function') opts = { cmp: opts };
var space = opts.space || '';
if (typeof space === 'number') space = Array(space+1).join(' ');
var cycles = (typeof opts.cycles === 'boolean') ? opts.cycles : false;
var replacer =... | february29/Learning | web/vue/AccountBook-Express/node_modules/json-stable-stringify-without-jsonify/index.js | JavaScript | mit | 2,792 |
# Generated from 'Aliases.h'
def FOUR_CHAR_CODE(x): return x
true = True
false = False
rAliasType = FOUR_CHAR_CODE('alis')
kARMMountVol = 0x00000001
kARMNoUI = 0x00000002
kARMMultVols = 0x00000008
kARMSearch = 0x00000100
kARMSearchMore = 0x00000200
kARMSearchRelFirst = 0x00000400
asiZoneName = -3
asiServerName = -2
as... | xbmc/atv2 | xbmc/lib/libPython/Python/Lib/plat-mac/Carbon/Aliases.py | Python | gpl-2.0 | 407 |
/*
* Copyright (c) 2011, 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/openjdk2/jdk/test/java/util/TreeMap/EmptyMapAndNulls.java | Java | mit | 4,124 |
/*
* This file is part of Cleanflight.
*
* Cleanflight 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.
*
* Cleanflight is distr... | opsidao/cleanflight | src/main/telemetry/msp.h | C | gpl-3.0 | 1,061 |
/*
* Copyright (C) 2005 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... | zhangximin/rk_jpeg | vpu_linux_dec_enc_user/libion/utils/SharedBuffer.h | C | apache-2.0 | 4,334 |
<html>
<frameset cols="50%,*">
<frame src="full_tab_sub_frame1.html" />
<frame src="full_tab_sub_frame2.html" />
</frameset>
</html> | plxaye/chromium | src/chrome_frame/test/data/full_tab_sub_frame_main.html | HTML | apache-2.0 | 136 |
--[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
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
$Id$
]]--
m = ... | shizhai/wprobe | staging_dir/target-mips_r2_uClibc-0.9.33.2/root-ar71xx/usr/lib/lua/luci/model/cbi/admin_system/leds.lua | Lua | gpl-2.0 | 3,272 |
/*
* Copyright (c) 1997, 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... | andreagenso/java2scala | test/J2s/java/openjdk-6-src-b27/jdk/src/windows/native/common/java_main_md.h | C | apache-2.0 | 1,349 |
// Copyright 2015 The etcd 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 t... | mahak/origin | vendor/go.etcd.io/etcd/server/v3/etcdserver/v3_server.go | GO | apache-2.0 | 30,901 |
describe("module:ng.directive:ngList", function() {
beforeEach(function() {
browser.get("./examples/example-ngList-directive/index.html");
});
var listInput = element(by.model('names'));
var names = element(by.binding('{{names}}'));
var valid = element(by.binding('myForm.namesInput.$valid'));
var error... | cjlyth/golang-resume | webapp/lib/angular/docs/ptore2e/example-ngList-directive/jqlite_test.js | JavaScript | apache-2.0 | 843 |
/* -*- Mode: js; js-indent-level: 2; -*- */
/*
* Copyright 2011 Mozilla Foundation and contributors
* Licensed under the New BSD license. See LICENSE or:
* http://opensource.org/licenses/BSD-3-Clause
*/
if (typeof define !== 'function') {
var define = require('amdefine')(module, require);
}
define(function (req... | yuyang545262477/Resume | 项目三jQueryMobile/node_modules/source-map-support/node_modules/source-map/lib/source-map/util.js | JavaScript | mit | 5,329 |
import * as React from 'react';
import { IconBaseProps } from 'react-icon-base';
export default class TiBatteryCharge extends React.Component<IconBaseProps> { }
| zuzusik/DefinitelyTyped | types/react-icons/ti/battery-charge.d.ts | TypeScript | mit | 161 |
/*
* class.c - basic device class management
*
* Copyright (c) 2002-3 Patrick Mochel
* Copyright (c) 2002-3 Open Source Development Labs
* Copyright (c) 2003-2004 Greg Kroah-Hartman
* Copyright (c) 2003-2004 IBM Corp.
*
* This file is released under the GPLv2
*
*/
#include <linux/device.h>
#include <linux/mo... | ychoijy/linux-3.12.24-custom | drivers/base/class.c | C | gpl-2.0 | 15,520 |
/*
* LuCI Template - Utility header
*
* Copyright (C) 2010-2012 Jo-Philipp Wich <jow@openwrt.org>
*
* 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/... | zhaoxin54430/zhaoxin_test | src_luci/modules/luci-base/src/template_utils.h | C | gpl-2.0 | 1,565 |
/*
Highcharts JS v5.0.10 (2017-03-31)
3D features for Highcharts JS
@license: www.highcharts.com/license
*/
(function(E){"object"===typeof module&&module.exports?module.exports=E:E(Highcharts)})(function(E){(function(a){var q=a.deg2rad,k=a.pick;a.perspective=function(p,n,u){var m=n.options.chart.options3d,g=u?n.in... | OfficialBAMM/PrIS | webapp/app/bower_components/highcharts/highcharts-3d.js | JavaScript | gpl-3.0 | 22,373 |
/*
* 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 ma... | jcgruenhage/dendrite | vendor/src/github.com/apache/thrift/lib/nodejs/test/binary.test.js | JavaScript | apache-2.0 | 5,920 |
class C(object):
def f(self, name):
return name
__getattr__ = f
c = C()
print(c.foo) #pass | asedunov/intellij-community | python/testData/inspections/PyUnresolvedReferencesInspection/getattrAttribute.py | Python | apache-2.0 | 108 |
a = [1 2 3] | smmribeiro/intellij-community | python/testData/psi/MissingListSeparators.py | Python | apache-2.0 | 11 |
class A:
def <weak_warning descr="Function name should be lowercase">fooBar</weak_warning>(self): pass
class B(A):
def fooBar(self): pass | kdwink/intellij-community | python/testData/inspections/PyPep8NamingInspection/overridden.py | Python | apache-2.0 | 142 |
alter table CM_COURSE_SET_CANON_ASSOC_T drop constraint FKBFCBD9AE7F976CD6;
alter table CM_COURSE_SET_CANON_ASSOC_T drop constraint FKBFCBD9AE2D306E01;
alter table CM_COURSE_SET_OFFERING_ASSOC_T drop constraint FK5B9A5CFD26827043;
alter table CM_COURSE_SET_OFFERING_ASSOC_T drop constraint FK5B9A5CFD2D306E01;
alter tabl... | harfalm/Sakai-10.1 | edu-services/cm-service/xdocs/db-conversion-2.3.1-2.4.0/hsql/cm-2.4-hsql.sql | SQL | apache-2.0 | 8,091 |
def x():
print "bar"
print "foo"
print "xyzzy" | asedunov/intellij-community | python/testData/copyPaste/SingleLine.after.py | Python | apache-2.0 | 58 |
// Context Menu Plugin for HTMLArea-3.0
// Sponsored by www.americanbible.org
// Implementation by Mihai Bazon, http://dynarch.com/mishoo/
//
// (c) dynarch.com 2003.
// Distributed under the same terms as HTMLArea itself.
// This notice MUST stay intact for use (see license.txt).
//
// $Id$
HTMLArea.loadStyle("menu.c... | ouit0408/sakai | jsf/jsf-resource/src/webapp/inputRichText/htmlarea/plugins/ContextMenu/context-menu.js | JavaScript | apache-2.0 | 12,996 |
/*
* Copyright (c) 2006 Oracle. 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, available from the file
* COPYING in the main directory of this source tree, or t... | sktjdgns1189/android_kernel_samsung_SHW-M290S | netasdf/rds/ib_send.c | C | gpl-2.0 | 26,757 |
/*
* linux/mm/page_io.c
*
* Copyright (C) 1991, 1992, 1993, 1994 Linus Torvalds
*
* Swap reorganised 29.12.95,
* Asynchronous swapping added 30.12.95. Stephen Tweedie
* Removed race in async swapping. 14.4.1996. Bruno Haible
* Add swap of shared pages through the page cache. 20.2.1998. Stephen Tweedie
... | DirtyUnicorns/android_kernel_htc_m4 | mm/page_io.c | C | gpl-2.0 | 3,607 |
/*
* Copyright (C) 2007 Ben Skeggs.
* 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... | talnoah/android_kernel_htc_dlx | virt/drivers/gpu/drm/nouveau/nv04_fifo.c | C | gpl-2.0 | 16,051 |
#ifndef SPI_ADIS16240_H_
#define SPI_ADIS16240_H_
#define ADIS16240_STARTUP_DELAY 220 /* ms */
/* Flash memory write count */
#define ADIS16240_FLASH_CNT 0x00
/* Output, power supply */
#define ADIS16240_SUPPLY_OUT 0x02
/* Output, x-axis accelerometer */
#define ADIS16240_XACCL_OUT 0x04
/* Output, y-axi... | AiJiaZone/linux-4.0 | virt/drivers/staging/iio/accel/adis16240.h | C | gpl-2.0 | 4,778 |
// 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.
/*=====================================================================
**
** Source: test3.c
**
** Purpose: Tests ... | cmckinsey/coreclr | src/pal/tests/palsuite/file_io/GetFullPathNameW/test3/test3.cpp | C++ | mit | 6,894 |
--
UPDATE `creature_loot_template` SET `Chance`=100 WHERE `Item` IN (6250, 6251, 6252);
| sidneeginger/TrinityCore | sql/updates/world/master/2017_02_28_02_world_2016_09_15_07_world.sql | SQL | gpl-2.0 | 88 |
package cascadia
import (
"bytes"
"fmt"
"regexp"
"strings"
"golang.org/x/net/html"
)
// the Selector type, and functions for creating them
// A Selector is a function which tells whether a node matches or not.
type Selector func(*html.Node) bool
// hasChildMatch returns whether n has any child that matches a.... | henrylee2cn/pholcus | vendor/github.com/andybalholm/cascadia/selector.go | GO | apache-2.0 | 14,659 |
require 'test_helper'
class ExpiryDateTest < Test::Unit::TestCase
def test_should_be_expired
last_month = 2.months.ago
date = CreditCard::ExpiryDate.new(last_month.month, last_month.year)
assert date.expired?
end
def test_today_should_not_be_expired
today = Time.now.utc
date = CreditCard::... | ashrafuzzaman/stips | vendor/plugins/active_merchant/test/unit/expiry_date_test.rb | Ruby | mit | 911 |
<!DOCTYPE html>
<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
<title>OffscreenCanvas test: 2d.pattern.paint.repeatx.basic</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/common/canvas-tests.js"></script>
<h1>2d.pa... | shinglyu/servo | tests/wpt/web-platform-tests/offscreen-canvas/fill-and-stroke-styles/2d.pattern.paint.repeatx.basic.html | HTML | mpl-2.0 | 1,381 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.