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) 2011 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 "chrome/browser/ui/views/status_icons/status_tray_linux.h"
#include "build/build_config.h"
#if !defined(OS_CHROMEOS)
#include "chrome/brows... | XiaosongWei/chromium-crosswalk | chrome/browser/ui/views/status_icons/status_tray_linux.cc | C++ | bsd-3-clause | 1,089 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<title>body</title>
<style type="text/css" media="screen">
body { margin: 1px; padding: 5px; }
#marker... | daejunpark/jsaf | tests/clone_detector_tests/jquery/test/data/offset/body.html | HTML | bsd-3-clause | 725 |
// Copyright 2009 the Sputnik authors. All rights reserved.
/**
* The production x >>>= y is the same as x = x >>> y
*
* @path ch11/11.13/11.13.2/S11.13.2_A4.8_T1.3.js
* @description Type(x) and Type(y) vary between primitive string and String object
*/
//CHECK#1
x = "1";
x >>>= "1";
if (x !== 0) {
$ERROR('#1:... | Oceanswave/NiL.JS | Tests/tests/sputnik/ch11/11.13/11.13.2/S11.13.2_A4.8_T1.3.js | JavaScript | bsd-3-clause | 1,023 |
/// Copyright (c) 2012 Ecma International. All rights reserved.
/**
* @path ch11/11.4/11.4.1/11.4.1-5-a-27-s.js
* @description Strict Mode - TypeError is thrown after deleting a property, calling preventExtensions, and attempting to reassign the property
* @onlyStrict
*/
function testcase() {
"use stric... | Oceanswave/NiL.JS | Tests/tests/sputnik/ch11/11.4/11.4.1/11.4.1-5-a-27-s.js | JavaScript | bsd-3-clause | 587 |
/*! Select2 4.0.0 | https://github.com/select2/select2/blob/master/LICENSE.md */
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/tr",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum,n=t+" karakter daha gi... | AndrewListat/paydoc | web/template_admin/plugins/select2/i18n/tr.js | JavaScript | bsd-3-clause | 722 |
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<!DOCTYPE html>
<title>CSS Test: Test declaring a variable that consists of a comma-separated font family list with the comma coming from a variable reference.</title>
<link rel="author" title="Cameron ... | scheib/chromium | third_party/blink/web_tests/external/wpt/css/css-variables/variable-declaration-18.html | HTML | bsd-3-clause | 769 |
/// Copyright (c) 2012 Ecma International. All rights reserved.
/**
* @path ch15/15.2/15.2.3/15.2.3.5/15.2.3.5-4-258.js
* @description Object.create - 'get' property of one property in 'Properties' is the primitive value null (8.10.5 step 7.b)
*/
function testcase() {
try {
Object.create({}, ... | Oceanswave/NiL.JS | Tests/tests/sputnik/ch15/15.2/15.2.3/15.2.3.5/15.2.3.5-4-258.js | JavaScript | bsd-3-clause | 543 |
module.exports = require('./lib/socket.io'); | thetomcraig/redwood | web/node_modules/socket.io/index.js | JavaScript | isc | 44 |
var _complement = require('./internal/_complement');
var _curry2 = require('./internal/_curry2');
var filter = require('./filter');
/**
* Similar to `filter`, except that it keeps only values for which the given predicate
* function returns falsy. The predicate function is passed one argument: *(value)*.
*
* Acts... | concertcoder/leaky-ionic-app | www/lib/ramda/src/reject.js | JavaScript | mit | 899 |
/*************************************************************
*
* MathJax/jax/output/HTML-CSS/fonts/Asana-Math/Size1/Regular/Main.js
*
* Copyright (c) 2013-2014 The MathJax Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with ... | uva/mathjax-rails-assets | vendor/assets/javascripts/jax/output/HTML-CSS/fonts/Asana-Math/Size1/Regular/Main.js | JavaScript | mit | 4,163 |
# Usage Comparison Between dojox/grid and dgrid
## Simple programmatic usage
Given the following programmatic example using `dojox/grid`...
```js
require(["dojox/grid/DataGrid", "dojo/store/Memory", "dojo/data/ObjectStore",
"dojo/domReady!"],
function(DataGrid, Memory, ObjectStore){
var memoryStore = new Mem... | khangiskhan/ScalableCrud | web-app/js/lib/dgrid/doc/migrating/Usage-Comparison.md | Markdown | mit | 13,593 |
/*************************************************************
*
* MathJax/jax/output/HTML-CSS/fonts/Neo-Euler/Variants/Regular/Main.js
*
* Copyright (c) 2013-2014 The MathJax Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance wit... | uva/mathjax-rails-assets | vendor/assets/javascripts/jax/output/HTML-CSS/fonts/Neo-Euler/Variants/Regular/Main.js | JavaScript | mit | 1,809 |
/**
* ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v9.0.3
* @link http://www.ag-grid.com/
* @license MIT
*/
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c <... | extend1994/cdnjs | ajax/libs/ag-grid/9.0.4/lib/xmlFactory.js | JavaScript | mit | 2,992 |
/**
* High performant way to check whether an element with a specific class name is in the given document
* Optimized for being heavily executed
* Unleashes the power of live node lists
*
* @param {Object} doc The document object of the context where to check
* @param {String} tagName Upper cased tag name
* @exa... | StepicOrg/wysihtml5 | src/dom/has_element_with_class_name.js | JavaScript | mit | 1,231 |
// $Id: UTF32_Encoding_Converter.cpp 80826 2008-03-04 14:51:23Z wotte $
// ======================================================================
//
// The actual conversion methods are covered by the copyright information
// below. It is not the actual code provided by Unicode, Inc. but is an
// ACE-ified and ... | drakeos/Dracore | dep/acelite/ace/UTF32_Encoding_Converter.cpp | C++ | gpl-2.0 | 7,464 |
#pragma once
/*
* Copyright (C) 2010 Team XBMC
* http://www.xbmc.org
*
* 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, or (at your option)
* any later vers... | opdenkamp/xbmc | xbmc/cores/dvdplayer/DVDCodecs/Video/DVDVideoCodecVideoToolBox.h | C | gpl-2.0 | 3,041 |
/*
* Copyright (C) 2005-2009 Junjiro R. Okajima
*
* This program, aufs 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.
*
* This... | ArthySundaram/firstrepo | ubuntu/aufs/inode.c | C | gpl-2.0 | 9,534 |
<?php
/*
Plugin Name: MediaFire API
Description: Check links to files hosted on MediaFire.
Version: 1.0
Author: Janis Elsts
ModuleID: mediafire-checker
ModuleCategory: checker
ModuleContext: on-demand
ModuleLazyInit: true
ModuleClassName: blcMediaFireChecker
ModulePriority: 100
ModuleCheckerUrlPattern: @^http://(?:w... | SayenkoDesign/playground | wp-content/plugins/broken-link-checker/modules/extras/mediafire.php | PHP | gpl-2.0 | 5,392 |
// SPDX-License-Identifier: GPL-2.0
/*
* USB4 specific functionality
*
* Copyright (C) 2019, Intel Corporation
* Authors: Mika Westerberg <mika.westerberg@linux.intel.com>
* Rajmohan Mani <rajmohan.mani@intel.com>
*/
#include <linux/delay.h>
#include <linux/ktime.h>
#include "tb.h"
#define USB4_DATA_DWORDS... | c0d3z3r0/linux-rockchip | drivers/thunderbolt/usb4.c | C | gpl-2.0 | 17,878 |
/*
* 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) 1996, 99, 2003 by Ralf Baechle
*/
#ifndef _ASM_BYTEORDER_H
#define _ASM_BYTEORDER_H
#include <linux/compiler.h>
#include <... | kzlin129/tt-gpl | go12/linux-2.6.28.10/arch/mips/include/asm/byteorder.h | C | gpl-2.0 | 1,265 |
/*
Simple DirectMedia Layer
Copyright (C) 1997-2018 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this ... | joncampbell123/dosbox-rewrite | vs2015/sdl2/src/audio/psp/SDL_pspaudio.c | C | gpl-2.0 | 5,604 |
/*
* Digital Audio (PCM) abstract layer
* Copyright (c) by Jaroslav Kysela <perex@perex.cz>
*
*
* 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; only version 2 of the License.
*
... | alexey6600/M8_Sense_7.00 | sound/core/pcm_native.c | C | gpl-2.0 | 100,040 |
source: API/PortGroups.md
### `get_graph_by_portgroup`
Get the graph based on the group type.
Route: `/api/v0/devices/portgroups/:group`
- group is the type of port group graph you want, I.e Transit, Peering, etc. You can specify multiple types comma separated.
Input:
- from: This is the date you would like t... | wiad/librenms | doc/API/PortGroups.md | Markdown | gpl-3.0 | 1,616 |
/* -*- c++ -*- */
/*
* Copyright 2002,2012 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
* GNU Radio 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 your o... | analogdevicesinc/gnuradio | gr-filter/include/gnuradio/filter/iir_filter.h | C | gpl-3.0 | 7,511 |
#ifndef __LWP_MUTEX_H__
#define __LWP_MUTEX_H__
#include <gctypes.h>
#include <lwp_threadq.h>
#define LWP_MUTEX_LOCKED 0
#define LWP_MUTEX_UNLOCKED 1
#define LWP_MUTEX_NEST_ACQUIRE 0
#define LWP_MUTEX_NEST_ERROR 1
#define LWP_MUTEX_NEST_BLOCK 2
#define LWP_MUTEX_FIFO 0
#define LWP_MUTEX_PRIORITY ... | Monroe88/RetroArch | wii/libogc/include/ogc/lwp_mutex.h | C | gpl-3.0 | 1,935 |
#!/usr/bin/env python
import vtk
from vtk.test import Testing
from vtk.util.misc import vtkGetDataRoot
VTK_DATA_ROOT = vtkGetDataRoot()
ren1 = vtk.vtkRenderer()
renWin = vtk.vtkRenderWindow()
renWin.AddRenderer(ren1)
iren = vtk.vtkRenderWindowInteractor()
iren.SetRenderWindow(renWin)
# create a scene with one of each ... | HopeFOAM/HopeFOAM | ThirdParty-0.1/ParaView-5.0.1/VTK/Rendering/Core/Testing/Python/pickCells.py | Python | gpl-3.0 | 16,540 |
#include <kccachedb.h>
using namespace std;
using namespace kyotocabinet;
// main routine
int main(int argc, char** argv) {
// create the database object
GrassDB db;
// open the database
if (!db.open("*", GrassDB::OWRITER | GrassDB::OCREATE)) {
cerr << "open error: " << db.error().name() << endl;
}
... | sapo/kyoto | kyotocabinet/example/kcgrassex.cc | C++ | gpl-3.0 | 983 |
/***************************************************************************//**
* \file cyutils.c
* \version 5.40
*
* \brief Provides a function to handle 24-bit value writes.
*
********************************************************************************
* \copyright
* Copyright 2008-2016, Cypress Semiconductor Co... | techdude101/code | PSoC BLE/WS_UARTDeepSleepWakeUp/UARTDeepSleepWakeUp.cydsn/codegentemp/cyutils.c | C | gpl-3.0 | 2,399 |
/****************************************************************
Siano Mobile Silicon, Inc.
MDTV receiver kernel modules.
Copyright (C) 2006-2008, Uri Shkolnik
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 F... | danialbehzadi/Nokia-RM-1013-2.0.0.11 | kernel/drivers/media/dvb/siano/smscharioctl.h | C | gpl-3.0 | 2,317 |
<?php
// This file is part of BOINC.
// http://boinc.berkeley.edu
// Copyright (C) 2011 University of California
//
// BOINC is free software; you can redistribute it and/or modify it
// under the terms of the GNU Lesser General Public License
// as published by the Free Software Foundation,
// either version 3 of the ... | hanxue/Boinc | html/user/submit_status.php | PHP | gpl-3.0 | 2,189 |
# -*- coding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution
# This module copyright (C) 2015 Therp BV (<http://therp.nl>).
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of ... | Ehtaga/account-financial-reporting | account_financial_report_horizontal/report/report_financial.py | Python | agpl-3.0 | 2,192 |
/* Copyright (c) 2001-2009, The HSQL Development Group
* 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... | kumarrus/voltdb | src/hsqldb19b3/org/hsqldb_voltpatches/lib/HsqlList.java | Java | agpl-3.0 | 2,168 |
#!/usr/bin/env python
# Copyright (C) 2017 Francisco Acosta <francisco.acosta@inria.fr>
#
# This file is subject to the terms and conditions of the GNU Lesser
# General Public License v2.1. See the file LICENSE in the top level
# directory for more details.
import os
import sys
sys.path.append(os.path.join(os.enviro... | dailab/RIOT | tests/xtimer_usleep/tests/01-run.py | Python | lgpl-2.1 | 1,745 |
//===- LiveDebugVariables.cpp - Tracking debug info variables -------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | cd80/UtilizedLLVM | lib/CodeGen/LiveDebugVariables.cpp | C++ | unlicense | 36,643 |
/*
* 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 ... | dulvac/sling | tooling/maven/slingstart-maven-plugin/src/main/java/org/apache/sling/maven/slingstart/run/StopMojo.java | Java | apache-2.0 | 3,583 |
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0; you may not use this file except in compliance with the Elastic License
* 2.0.
*/
package org.elasticsearch.xpack.core.ml.action;
import org.elastic... | GlenRSmith/elasticsearch | x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/UpdateProcessAction.java | Java | apache-2.0 | 6,629 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_11) on Tue Aug 12 11:16:05 PDT 2014 -->
<title>com.microsoft.windowsazure.mobileservices.table.serialization</title>
<meta name="date" content=... | pragnagopa/azure-mobile-services | sdk/android/src/sdk/doc/com/microsoft/windowsazure/mobileservices/table/serialization/package-summary.html | HTML | apache-2.0 | 6,164 |
{
"EL": {"custom":["org.nutz.el.issue279.Uuuid"]}
} | lzxz1234/nutz | test/org/nutz/el/issue279/279.js | JavaScript | apache-2.0 | 51 |
// 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.Generic;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp.Extensions;
using Microsoft.CodeAnalysis.CSharp.Syntax;
u... | KevinRansom/roslyn | src/Workspaces/CSharp/Portable/Formatting/Rules/SpacingFormattingRule.cs | C# | apache-2.0 | 19,660 |
#include <lib/lib.h>
int main(int argc, char* argv[]) {
return MACRO_IN_LIB;
}
| marcinkwiatkowski/buck | test/com/facebook/buck/cxx/testdata/reexport_header_deps/bin.c | C | apache-2.0 | 82 |
#![crate_name = "foo"]
#![doc(html_playground_url = "")]
// compile-flags:-Z unstable-options --playground-url https://play.rust-lang.org/
//! module docs
//!
//! ```
//! println!("Hello, world!");
//! ```
// @!has foo/index.html '//a[@class="test-arrow"]' "Run"
| graydon/rust | src/test/rustdoc/playground-empty.rs | Rust | apache-2.0 | 267 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.6.0_27) on Thu Dec 26 19:42:35 EST 2013 -->
<title>com.jwetherell.augmented_reality.ui.objects</title>
<meta name="date" content="2013-12-2... | gulingfengze/Guide-AR | javadocs/com/jwetherell/augmented_reality/ui/objects/package-frame.html | HTML | apache-2.0 | 2,266 |
/* GStreamer
* Copyright (C) <2013> Wim Taymans <wim.taymans@gmail.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any... | google/aistreams | third_party/gstreamer/tests/benchmarks/gstpoolstress.c | C | apache-2.0 | 2,862 |
/**
* Copyright (C) 2011, 2012 camunda services GmbH
*
* 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 applicab... | subhrajyotim/camunda-bpm-platform | qa/integration-tests-engine/src/test/java/org/camunda/bpm/integrationtest/deployment/war/TestWarDeployment.java | Java | apache-2.0 | 1,697 |
// 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 Xunit;
using System.Linq;
using Microsoft.CodeAnalysis.CSharp.Test.Utilities;
using Microsoft.CodeAnalysis.Test.Utilities;
using Roslyn.Test.Utilities;... | OmarTawfik/roslyn | src/Compilers/CSharp/Test/Syntax/Parsing/RefStructs.cs | C# | apache-2.0 | 10,279 |
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except
* in compliance with, at your election, the Elastic License 2.0 or the Server... | GlenRSmith/elasticsearch | server/src/main/java/org/elasticsearch/threadpool/ThreadPoolStats.java | Java | apache-2.0 | 5,488 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.6.0_27) on Thu Dec 26 19:42:35 EST 2013 -->
<title>Overview List</title>
<meta name="date" content="2013-12-26">
<link rel="stylesheet" typ... | gulingfengze/Guide-AR | javadocs/overview-frame.html | HTML | apache-2.0 | 1,753 |
/*
* Copyright 2003,2004 The Apache Software 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 required by a... | vongosling/cglib-ext | src/proxy/net/sf/cglib/proxy/CallbackGenerator.java | Java | apache-2.0 | 1,311 |
import unittest
import pysal
from pysal.core.IOHandlers.arcgis_swm import ArcGISSwmIO
import tempfile
import os
class test_ArcGISSwmIO(unittest.TestCase):
def setUp(self):
self.test_file = test_file = pysal.examples.get_path('ohio.swm')
self.obj = ArcGISSwmIO(test_file, 'r')
def test_close(se... | badjr/pysal | pysal/core/IOHandlers/tests/test_arcgis_swm.py | Python | bsd-3-clause | 1,219 |
//===-- NVPTXTargetMachine.h - Define TargetMachine for NVPTX ---*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | santoshn/softboundcets-34 | softboundcets-llvm-clang34/lib/Target/NVPTX/NVPTXTargetMachine.h | C | bsd-3-clause | 4,038 |
<!doctype html>
<title>line-height has no effect on placeholder</title>
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1714631">
<link rel="match" href="input-placeholder-line-height-ref.html">
<style>
input::placeholder {
line-height: 0;
}
</style>
<input placeholder=Foo>
| scheib/chromium | third_party/blink/web_tests/external/wpt/html/rendering/non-replaced-elements/form-controls/input-placeholder-line-height.html | HTML | bsd-3-clause | 303 |
// Inferno utils/5c/sgen.c
// http://code.google.com/p/inferno-os/source/browse/utils/5c/sgen.c
//
// Copyright © 1994-1999 Lucent Technologies Inc. All rights reserved.
// Portions Copyright © 1995-1997 C H Forsyth (forsyth@terzarima.net)
// Portions Copyright © 1997-1999 Vita Nuova Limited
// Portions Copyright © 20... | eternalNight/ucore_app_go | src/cmd/5c/sgen.c | C | bsd-3-clause | 5,060 |
Timepicker for Twitter Bootstrap 3
fork of https://github.com/jdewit/bootstrap-timepicker
===================== | afup/back-office | web/assets/plugins/bootstrap-timepicker/README.md | Markdown | mit | 111 |
RSpec::Matchers.define :have_rule do |rule|
match do |subject|
if subject.class.name == 'Serverspec::Type::Iptables'
subject.has_rule?(rule, @table, @chain)
else
subject.has_rule?(rule)
end
end
chain :with_table do |table|
@table = table
end
chain :with_chain do |chain|
@chai... | memelet/serverspec | lib/serverspec/matchers/have_rule.rb | Ruby | mit | 340 |
'use strict';
angular.module('showcase', [
'showcase.angularWay',
'showcase.angularWay.withOptions',
'showcase.withAjax',
'showcase.withOptions',
'showcase.withPromise',
'showcase.angularWay.dataChange',
'showcase.bindAngularDirective',
'showcase.changeOptions',
'showcase.dataReload... | Leo-g/Flask-Scaffold | app/templates/static/node_modules/angular-datatables/demo/app.js | JavaScript | mit | 3,736 |
// 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 SANDBOX_WIN_SRC_SANDBOX_TYPES_H_
#define SANDBOX_WIN_SRC_SANDBOX_TYPES_H_
namespace sandbox {
// Operation result codes returned by the sand... | Teamxrtc/webrtc-streaming-node | third_party/webrtc/src/chromium/src/sandbox/win/src/sandbox_types.h | C | mit | 3,552 |
/* $Id$ */
/*
* Written by Solar Designer <solar at openwall.com> in 2000-2011.
* No copyright is claimed, and the software is hereby placed in the public
* domain. In case this attempt to disclaim copyright and place the software
* in the public domain is deemed null and void, then the software is
* Copyrig... | vs0uz4/openshift-cartridge-php | usr/php-5.6.20/include/php/ext/standard/crypt_blowfish.h | C | mit | 1,080 |
/*
* Copyright 2012 Red Hat, Inc. and/or its affiliates.
*
* 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 a... | rokn/Count_Words_2015 | testing/drools-master/drools-workbench-models/drools-workbench-models-datamodel-api/src/main/java/org/drools/workbench/models/datamodel/rule/ExpressionUnboundFact.java | Java | mit | 1,906 |
// SPDX-License-Identifier: GPL-2.0
/*
* Workingset detection
*
* Copyright (C) 2013 Red Hat, Inc., Johannes Weiner
*/
#include <linux/memcontrol.h>
#include <linux/mm_inline.h>
#include <linux/writeback.h>
#include <linux/shmem_fs.h>
#include <linux/pagemap.h>
#include <linux/atomic.h>
#include <linux/module.h>
#... | openwrt-es/linux | mm/workingset.c | C | gpl-2.0 | 21,841 |
SET(CMAKE_CXX_COMPILER "/usr/bin/c++")
SET(CMAKE_CXX_COMPILER_ARG1 "")
SET(CMAKE_CXX_COMPILER_ID "GNU")
SET(CMAKE_CXX_COMPILER_VERSION "4.7.2")
SET(CMAKE_CXX_PLATFORM_ID "Linux")
SET(CMAKE_AR "/usr/bin/ar")
SET(CMAKE_RANLIB "/usr/bin/ranlib")
SET(CMAKE_LINKER "/usr/bin/ld")
SET(CMAKE_COMPILER_IS_GNUCXX 1)
SET(CMAKE_CX... | Wittyshare/wittyshare | src/WsModule/build/CMakeFiles/CMakeCXXCompiler.cmake | CMake | gpl-2.0 | 1,589 |
<?php
/**
* @file
* Initiates a browser-based installation of Drupal.
*/
// Change the directory to the Drupal root.
chdir('..');
/**
* Global flag to indicate the site is in installation mode.
*
* The constant is defined using define() instead of const so that PHP
* versions prior to 5.3 can display proper P... | drupaals/demo.com | d8/core/install.php | PHP | gpl-2.0 | 1,109 |
#ifndef X86_64_TARGET_SIGNAL_H
#define X86_64_TARGET_SIGNAL_H
/* this struct defines a stack used during syscall handling */
typedef struct target_sigaltstack {
abi_ulong ss_sp;
abi_long ss_flags;
abi_ulong ss_size;
} target_stack_t;
/*
* sigaltstack controls
*/
#define TARGET_SS_ONSTACK 1
#define TARGET_SS_DI... | Cisco-Talos/pyrebox | qemu/linux-user/x86_64/target_signal.h | C | gpl-2.0 | 460 |
// SPDX-License-Identifier: GPL-2.0
/*
* Volume Management Device driver
* Copyright (c) 2015, Intel Corporation.
*/
#include <linux/device.h>
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/msi.h>
#include <linux/pci.h>
#include <linux/srcu.h>... | BPI-SINOVOIP/BPI-Mainline-kernel | linux-5.4/drivers/pci/controller/vmd.c | C | gpl-2.0 | 23,241 |
import os, sys; sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..", ".."))
import codecs
from pattern.vector import Document, PORTER, LEMMA
# A Document is a "bag-of-words" that splits a string into words and counts them.
# A list of words or dictionary of (word, count)-items can also be given.
# Words ... | krishna11888/ai | third_party/pattern/examples/05-vector/01-document.py | Python | gpl-2.0 | 3,205 |
/* sam_header.c -- basic SAM/BAM header API.
Copyright (C) 2009-2013 Genome Research Ltd.
Author: Petr Danecek <pd3@sanger.ac.uk>
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... | hanfang/scikit-ribo | tools/samtools-1.2/sam_header.c | C | gpl-2.0 | 22,559 |
/*
* Dynamic To Top Plugin
* http://www.mattvarone.com
*
* By Matt Varone
* @sksmatt
*
*/
var mv_dynamic_to_top;(function($,mv_dynamic_to_top){jQuery.fn.DynamicToTop=function(options){var defaults={text:mv_dynamic_to_top.text,min:parseInt(mv_dynamic_to_top.min,10),fade_in:600,fade_out:400,speed:parseInt(mv_dynam... | richardPZH/wordpress-plus | wp-content/plugins/dynamic-to-top/js/dynamic.to.top.min.js | JavaScript | gpl-2.0 | 1,192 |
/* packet-smrse.c
* Routines for SMRSE Short Message Relay Service packet dissection
* Ronnie Sahlberg 2004
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>
* Copyright 1998 Gerald Combs
*
* This program is free software; you can redistribute it and/or
* modify it under the t... | frenos/wireshark | asn1/smrse/packet-smrse-template.c | C | gpl-2.0 | 5,066 |
// Copyright 2011 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build irix
package syscall
//sysnb raw_ptrace(request int, pid int, addr *byte, data *byte) (err Errno)
//ptrace(request _C_int, pid Pid_t, addr *byte, da... | krichter722/gcc | libgo/go/syscall/libcall_irix.go | GO | gpl-2.0 | 338 |
#if !defined(_FXFT_VERSION_) || _FXFT_VERSION_ == 2501
/***************************************************************************/
/* */
/* truetype.c */
/* ... | s20121035/rk3288_android5.1_repo | external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/truetype/fxft_truetype.c | C | gpl-3.0 | 1,828 |
html, body {
margin:0;
padding: 0;
font-family: "helvetica neue";
font-size: 14px;
color: #666666;
}
#ubwidget {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
background: url("images/bg.png");
}
.theme-pad #ubwidget {
border-radius: 40px;
border-width: 5... | DIP-SEM/OpenBoard | resources/library/interactivities/Train.wgt/css/ubw-main.css | CSS | gpl-3.0 | 6,268 |
<?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 ... | nagyistoce/moodle | lang/en/role.php | PHP | gpl-3.0 | 26,335 |
// 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.
#nullable disable
using System;
using Microsoft.CodeAnalysis.ErrorReporting;
using Roslyn.Test.Utilities;
using Ro... | AmadeusW/roslyn | src/Workspaces/CoreTest/UtilityTest/ExceptionHelpersTests.cs | C# | apache-2.0 | 1,686 |
"""
CMSIS-DAP Interface Firmware
Copyright (c) 2009-2013 ARM Limited
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 la... | flyhung/CMSIS-DAP | tools/get_binary.py | Python | apache-2.0 | 1,166 |
/*
* Copyright 2014 Soichiro Kashima
*
* 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 agree... | cymcsg/UltimateAndroid | deprecated/UltimateAndroidGradle/demoofui/src/main/java/com/marshalchen/common/demoofui/observablescrollview/ToolbarControlWebViewActivity.java | Java | apache-2.0 | 5,205 |
package create
import (
"fmt"
"io"
"github.com/spf13/cobra"
kapi "k8s.io/kubernetes/pkg/api"
"k8s.io/kubernetes/pkg/api/meta"
cmdutil "k8s.io/kubernetes/pkg/kubectl/cmd/util"
"k8s.io/kubernetes/pkg/runtime"
"github.com/openshift/origin/pkg/client"
"github.com/openshift/origin/pkg/cmd/util/clientcmd"
deplo... | rhuss/gofabric8 | vendor/github.com/openshift/origin/pkg/cmd/cli/cmd/create/deploymentconfig.go | GO | apache-2.0 | 3,854 |
/*
* Copyright (C) 2016 Square, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | zmarkan/okhttp | okhttp-tests/src/test/java/okhttp3/ResponseTest.java | Java | apache-2.0 | 3,177 |
<?php
/**
* HTML cache invalidation of all pages linking to a given title.
*
* 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 late... | BRL-CAD/web | wiki/includes/cache/HTMLCacheUpdate.php | PHP | bsd-2-clause | 2,065 |
cask :v1 => 'witgui' do
version '2.1.2'
sha256 '4e108153a2cce9fede1358b265dfcd7d9f03c15658e2c9278ddad8a04260cf9b'
url "http://desairem.altervista.org/witgui/download.php?version=#{version}"
name 'Witgui'
appcast 'http://desairem.altervista.org/witgui/appcast.xml',
:sha256 => 'f982fdb6f7cfe0a307fad7... | vmrob/homebrew-cask | Casks/witgui.rb | Ruby | bsd-2-clause | 566 |
// 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.
#ifndef CHROME_BROWSER_CHROMEOS_APP_MODE_KIOSK_EXTERNAL_UPDATE_VALIDATOR_H_
#define CHROME_BROWSER_CHROMEOS_APP_MODE_KIOSK_EXTERNAL_UPDATE_VALIDATOR_H_
#... | guorendong/iridium-browser-ubuntu | chrome/browser/chromeos/app_mode/kiosk_external_update_validator.h | C | bsd-3-clause | 2,596 |
import { MacOption24 } from "../../";
export = MacOption24;
| markogresak/DefinitelyTyped | types/carbon__icons-react/lib/mac--option/24.d.ts | TypeScript | mit | 61 |
export default (...modifiers): Array<string> => {};
| recipesjs/ingredients | test/fixtures/flow/type-annotations/102/actual.js | JavaScript | mit | 52 |
<?php
namespace Concrete\Core\Search;
use Concrete\Core\Application\EditResponse;
use Concrete\Core\Entity\Search\Query;
use Concrete\Core\Search\Result\Result as SearchResult;
interface SessionQueryProviderInterface
{
function setSessionCurrentQuery(Query $query);
function getSessionCurrentQuery();
func... | Akhenoth/Factorian | concrete/src/Search/SessionQueryProviderInterface.php | PHP | mit | 393 |
#ifndef NV_CORE_H
#error "Do not include this file directly."
#endif
//#include <cstddef> // size_t, NULL
// Function linkage
#define DLL_IMPORT __declspec(dllimport)
#define DLL_EXPORT __declspec(dllexport)
#define DLL_EXPORT_CLASS DLL_EXPORT
// Function calling modes
#if NV_CPU_X86
# define NV_CDECL ... | grendizerufo/nvidia-texture-tools | src/nvcore/DefsGnucWin32.h | C | mit | 1,410 |
import { LogoTumblr16 } from "../../";
export = LogoTumblr16;
| markogresak/DefinitelyTyped | types/carbon__icons-react/lib/logo--tumblr/16.d.ts | TypeScript | mit | 63 |
// Karma configuration
// Generated on Sun Apr 14 2013 18:31:17 GMT+0200 (CEST)
// base path, that will be used to resolve files and exclude
basePath = '';
// list of files / patterns to load in the browser
files = [
JASMINE,
JASMINE_ADAPTER,
'http://code.angularjs.org/1.1.4/angular.js',
'http://code.angula... | kyleiwaniec/yahoo-finance | yahoo-finance/bower_components/angularytics/karma.underscore.conf.js | JavaScript | mit | 1,447 |
/* ----------------------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
http://lammps.sandia.gov, Sandia National Laboratories
Steve Plimpton, sjplimp@sandia.gov
Copyright (2003) Sandia Corporation. Under the terms of Contract
DE-AC04... | ganzenmg/lammps_current | src/USER-OMP/pppm_omp.cpp | C++ | gpl-2.0 | 22,330 |
/*
* (C) Copyright 2002
* Daniel Engström, Omicron Ceti AB, daniel@omicron.se.
*
* See file CREDITS for list of people who contributed to this
* project.
*
* 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 So... | fwmiller/Conserver-Freescale-Linux-U-boot | rpm/BUILD/u-boot-2009.08/include/configs/sc520_spunk.h | C | gpl-2.0 | 8,075 |
/* eepro.c: Intel EtherExpress Pro/10 device driver for Linux. */
/*
Written 1994, 1995,1996 by Bao C. Ha.
Copyright (C) 1994, 1995,1996 by Bao C. Ha.
This software may be used and distributed
according to the terms of the GNU General Public License,
incorporated herein by reference.
The author may be reached ... | stevelord/PR30 | linux-2.6.31/drivers/net/eepro.c | C | gpl-2.0 | 52,171 |
#!/bin/bash
export "DEBIAN_FRONTEND=noninteractive"
VAGRANT_CORE_FOLDER=$(cat "/.puphpet-stuff/vagrant-core-folder.txt")
OS=$(/bin/bash "${VAGRANT_CORE_FOLDER}/shell/os-detect.sh" ID)
RELEASE=$(/bin/bash "${VAGRANT_CORE_FOLDER}/shell/os-detect.sh" RELEASE)
CODENAME=$(/bin/bash "${VAGRANT_CORE_FOLDER}/shell/os-detect... | OlyaRybak/vuxenforvaltningens_informationsportal | puphpet/shell/update-puppet.sh | Shell | gpl-2.0 | 2,189 |
(function (_, $, Backbone, Drupal, drupalSettings) {
"use strict";
/**
* State of an in-place editable entity in the DOM.
*/
Drupal.edit.EntityModel = Drupal.edit.BaseModel.extend({
defaults: {
// The DOM element that represents this entity. It may seem bizarre to
// have a DOM element in a Backbone Mode... | christopherhuntley/daphnedixon | sites/all/modules/edit/js/models/EntityModel.js | JavaScript | gpl-2.0 | 24,459 |
.wp-block-file{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;margin-bottom:0}.wp-block[data-align=left]>.wp-block-file,.wp-block[data-align=right]>.wp-block-file{height:auto}.wp-block-file .components-resizable-box__container{margin-bottom:1em}.wp-block-file .wp-block-file__preview{margin... | CityOfPhiladelphia/phila.gov | wp/wp-includes/blocks/file/editor-rtl.min.css | CSS | gpl-2.0 | 635 |
// SPDX-License-Identifier: GPL-2.0-only
/*
* QLogic Fibre Channel HBA Driver
* Copyright (c) 2003-2014 QLogic Corporation
*/
#include "qla_def.h"
#include "qla_gbl.h"
#include <linux/delay.h>
#include <linux/slab.h>
#include <linux/vmalloc.h>
#include "qla_devtbl.h"
#ifdef CONFIG_SPARC
#include <asm/prom.h>
#en... | openwrt-es/linux | drivers/scsi/qla2xxx/qla_init.c | C | gpl-2.0 | 250,879 |
<?php if (!defined('W3TC')) die(); ?>
<?php $this->checkbox('minify.html.strip.crlf', false, 'html_') ?> Line break removal</label><br />
| sudocoda/rs27 | wp-content/plugins/w3-total-cache/inc/options/minify/html.php | PHP | gpl-2.0 | 140 |
/*
* Copyright (c) 2007, 2013, 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 ... | FauxFaux/jdk9-jdk | src/java.desktop/share/classes/com/sun/media/sound/ModelDestination.java | Java | gpl-2.0 | 5,633 |
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
\\/ M anipulation |
--------... | OpenFOAM/OpenFOAM-2.3.x | src/mesh/extrudeModel/linearDirection/linearDirection.H | C++ | gpl-3.0 | 2,664 |
/*
YUI 3.5.1 (build 22)
Copyright 2012 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
YUI.add('event-valuechange', function(Y) {
/**
Adds a synthetic `valueChange` event that fires when the `value` property of an
`<input>` or `<textarea>` node changes as a result of ... | sergiomt/zesped | src/webapp/js/yui/event-valuechange/event-valuechange.js | JavaScript | agpl-3.0 | 13,297 |
"""
Read/Write AMQP frames over network transports.
2009-01-14 Barry Pederson <bp@barryp.org>
"""
# Copyright (C) 2009 Barry Pederson <bp@barryp.org>
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Softwa... | mzdaniel/oh-mainline | vendor/packages/amqplib/amqplib/client_0_8/transport.py | Python | agpl-3.0 | 7,349 |
$(document).delegate('.storage_graph_link', 'click', function(e){
var anchor = this,
el = $(anchor),
id = el.attr('data-status');
if(e.ctrlKey || e.metaKey){
return true;
}else{
e.preventDefault();
}
var cell = document.getElementById(id);
var text = el.html();
if (text == '[:: show ::]') {
ancho... | jialinsun/cat | cat-home/src/main/webapp/js/storage.js | JavaScript | apache-2.0 | 1,379 |
/*
* 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... | arunasujith/wso2-axis2 | modules/jaxws/src/org/apache/axis2/jaxws/message/databinding/impl/SOAPEnvelopeBlockImpl.java | Java | apache-2.0 | 5,741 |
/*
* 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 ... | yhnishi/cassandra | src/java/org/apache/cassandra/schema/KeyspaceParams.java | Java | apache-2.0 | 3,724 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.