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 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.
#include "chrome/browser/extensions/api/file_system/entry_watcher_service_factory.h"
#include "chrome/browser/extensions/api/file_system/entry_watcher_se... | s20121035/rk3288_android5.1_repo | external/chromium_org/chrome/browser/extensions/api/file_system/entry_watcher_service_factory.cc | C++ | gpl-3.0 | 1,309 |
<?php
use LibreNMS\Exceptions\InvalidIpException;
use LibreNMS\Util\IP;
echo '<div class="container-fluid">';
echo "<div class='row'>
<div class='col-md-12'>
<div class='panel panel-default panel-condensed'>
<div class='panel-heading'>";
if ($config['overview_show_sysDescr']) {
echo '... | wikimedia/operations-software-librenms | html/includes/dev-overview-data.inc.php | PHP | gpl-3.0 | 3,565 |
/*
* Copyright (C) 2012 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... | sipXtapi/sipXtapi | sipXmediaLib/contrib/android/android_4_4_2_headers/frameworks/av/include/media/nbaio/NBAIO.h | C | lgpl-2.1 | 17,829 |
/*
* Copyright (C) 2014 Freie Universität Berlin
*
* 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.
*/
/**
* @ingroup tests
* @{
*
* @file
* @brief Application for testing low-level S... | lazytech-org/RIOT | tests/periph_spi/main.c | C | lgpl-2.1 | 13,326 |
/*
* GStreamer
* Copyright (C) 2007-2009 Sebastian Dröge <sebastian.droege@collabora.co.uk>
*
* 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, o... | cpopescu/whispermedialib | third-party/gstreamer/gst-plugins-good-0.10.23/gst/audiofx/audiocheblimit.h | C | lgpl-3.0 | 2,242 |
/*
* Copyright 2000-2014 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | akosyakov/intellij-community | python/src/com/jetbrains/python/codeInsight/stdlib/PyStdlibCanonicalPathProvider.java | Java | apache-2.0 | 3,015 |
/*
* 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... | wimvds/elasticsearch | core/src/test/java/org/elasticsearch/script/GroovyScriptIT.java | Java | apache-2.0 | 7,046 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | esi-mineset/spark | core/src/test/scala/org/apache/spark/deploy/rest/SubmitRestProtocolSuite.scala | Scala | apache-2.0 | 12,949 |
/*
* Copyright 2010-2015 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "lice... | mahaliachante/aws-sdk-java | aws-java-sdk-efs/src/main/java/com/amazonaws/services/elasticfilesystem/model/FileSystemNotFoundException.java | Java | apache-2.0 | 2,190 |
/// <reference path='fourslash.ts' />
// @Filename: foo.ts
//// export function /*Destination*/bar() { return "bar"; }
//// import('./foo').then(({ [|ba/*1*/r|] }) => undefined);
verify.goToDefinition("1", "Destination"); | basarat/TypeScript | tests/cases/fourslash/goToDefinitionDynamicImport4.ts | TypeScript | apache-2.0 | 234 |
/*
* #%L
* BroadleafCommerce Open Admin Platform
* %%
* Copyright (C) 2009 - 2013 Broadleaf Commerce
* %%
* 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.... | cloudbearings/BroadleafCommerce | admin/broadleaf-open-admin-platform/src/main/java/org/broadleafcommerce/openadmin/web/filter/BroadleafAdminTimeZoneResolver.java | Java | apache-2.0 | 1,370 |
// Copyright 2012 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 ... | barosl/rust | src/test/compile-fail/variance-cell-is-invariant.rs | Rust | apache-2.0 | 853 |
/*
* 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 ... | alexzaitzev/ignite | modules/visor-console/src/main/scala/org/apache/ignite/visor/commands/alert/VisorAlertCommand.scala | Scala | apache-2.0 | 33,630 |
// Copyright 2012-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-MI... | barosl/rust | src/test/run-pass/intrinsic-return-address.rs | Rust | apache-2.0 | 1,043 |
/*
* #%L
* BroadleafCommerce Open Admin Platform
* %%
* Copyright (C) 2009 - 2014 Broadleaf Commerce
* %%
* 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.... | cengizhanozcan/BroadleafCommerce | admin/broadleaf-open-admin-platform/src/main/java/org/broadleafcommerce/openadmin/server/security/service/RowLevelSecurityService.java | Java | apache-2.0 | 1,996 |
var $ = require('common:widget/ui/jquery/jquery.js');
var UT = require('common:widget/ui/ut/ut.js');
var FBClient = {};
var TPL_CONF = require('home:widget/ui/facebook/fbclient-tpl.js');
/**
* Fackbook module init function
* @return {object} [description]
*/
var WIN = window,
DOC = document,
conf = WIN.conf.FBCli... | femxd/fxd | test/diff_fis3_smarty/product_code/hao123_fis3_smarty/home/widget/ui/facebook/fbclient.js | JavaScript | bsd-2-clause | 11,122 |
"""
Contains CheesePreprocessor
"""
#-----------------------------------------------------------------------------
# Copyright (c) 2013, the IPython Development Team.
#
# Distributed under the terms of the Modified BSD License.
#
# The full license is in the file COPYING.txt, distributed with this software.
#----------... | unnikrishnankgs/va | venv/lib/python3.5/site-packages/nbconvert/exporters/tests/cheese.py | Python | bsd-2-clause | 1,485 |
/* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */
/* JOrbis
* Copyright (C) 2000 ymnk, JCraft,Inc.
*
* Written by: 2000 ymnk<ymnk@jcraft.com>
*
* Many thanks to
* Monty <monty@xiph.org> and
* The XIPHOPHORUS Company http://www.xiph.org/ .
* JOrbis has been based on their awesome works, V... | XtremeMP-Project/xtrememp-fx | xtrememp-audio-spi-vorbis/src/com/jcraft/jorbis/PsyInfo.java | Java | bsd-3-clause | 2,222 |
/**
* @file
* Progress behavior.
*
* @see progress.js
*/
.progress {
position: relative;
}
.progress__track {
background-color: #fff;
border: 1px solid;
margin-top: 5px;
max-width: 100%;
min-width: 100px;
height: 16px;
}
.progress__bar {
background-color: #000;
height: 1.5em;
width: 3%;
min-... | JeramyK/training | web/core/themes/stable/css/system/components/progress.module.css | CSS | gpl-2.0 | 825 |
#ifndef __ASMPARISC_ELF_H
#define __ASMPARISC_ELF_H
/*
* ELF register definitions..
*/
#include <asm/ptrace.h>
#define EM_PARISC 15
/* HPPA specific definitions. */
/* Legal values for e_flags field of Elf32_Ehdr. */
#define EF_PARISC_TRAPNIL 0x00010000 /* Trap nil pointer dereference. */
#define EF_PARISC_E... | talnoah/android_kernel_htc_dlx | virt/arch/parisc/include/asm/elf.h | C | gpl-2.0 | 14,247 |
/**
* 404 (Not Found) Handler
*
* Usage:
* return res.notFound();
* return res.notFound(err);
* return res.notFound(err, 'some/specific/notfound/view');
*
* e.g.:
* ```
* return res.notFound();
* ```
*
* NOTE:
* If a request doesn't match any explicit routes (i.e. `config/routes.js`)
* or route blueprint... | Karnith/sails-generate-backend-gulp | templates/api/responses/notFound.js | JavaScript | mit | 2,543 |
// 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.
package org.chromium.base;
import android.os.Looper;
import android.os.MessageQueue;
import android.os.SystemClock;
import android.util.Log;
import andro... | Teamxrtc/webrtc-streaming-node | third_party/webrtc/src/chromium/src/base/android/java/src/org/chromium/base/TraceEvent.java | Java | mit | 11,372 |
(function(){var e=window.AmCharts;e.AmRectangularChart=e.Class({inherits:e.AmCoordinateChart,construct:function(a){e.AmRectangularChart.base.construct.call(this,a);this.theme=a;this.createEvents("zoomed","changed");this.marginRight=this.marginBottom=this.marginTop=this.marginLeft=20;this.depth3D=this.angle=0;this.plotA... | Asaf-S/jsdelivr | files/amcharts/3.21.0/xy.js | JavaScript | mit | 21,406 |
/*
* Copyright (c) 2007-2012 SlimDX Group
*
* 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, modify, merge, ... | dawnoble/slimdx | source/direct3d11/ImageLoadInformation11.h | C | mit | 7,609 |
/*
* Copyright (c) 1998, 1999, 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/openjdk/jdk/make/tools/src/build/tools/jdwpgen/AltNode.java | Java | mit | 4,156 |
/*
* Copyright (C) 2005-2020 Team Kodi
* This file is part of Kodi - https://kodi.tv
*
* SPDX-License-Identifier: GPL-2.0-or-later
* See LICENSES/README.md for more information.
*/
#include "DRMEncoder.h"
#include <cstring>
#include <errno.h>
#include <stdexcept>
#include <string>
using namespace KODI::WIN... | asavah/xbmc | xbmc/windowing/gbm/drm/DRMEncoder.cpp | C++ | gpl-2.0 | 562 |
/*
* Simplified MAC Kernel (smack) security module
*
* This file contains the smack hook function implementations.
*
* Author:
* Casey Schaufler <casey@schaufler-ca.com>
*
* Copyright (C) 2007 Casey Schaufler <casey@schaufler-ca.com>
* Copyright (C) 2009 Hewlett-Packard Development Company, L.P.
* ... | pichina/linux-bcache | security/smack/smack_lsm.c | C | gpl-2.0 | 70,465 |
/*
* Copyright (C) 2005-2018 Team Kodi
* This file is part of Kodi - https://kodi.tv
*
* SPDX-License-Identifier: GPL-2.0-or-later
* See LICENSES/README.md for more information.
*/
#pragma once
#include "IDirectory.h"
#include "addons/AddonManager.h"
class CURL;
typedef std::shared_ptr<CFileItem> CFileItem... | anthonyryan1/xbmc | xbmc/filesystem/AddonsDirectory.h | C | gpl-2.0 | 1,985 |
#
# Copyright (C) 2014 Instructure, Inc.
#
# This file is part of Canvas.
#
# Canvas is free software: you can redistribute it and/or modify it under
# the terms of the GNU Affero General Public License as published by the Free
# Software Foundation, version 3 of the License.
#
# Canvas is distributed in the hope that ... | Rvor/canvas-lms | spec/migrations/cleanup_duplicate_external_feeds_spec.rb | Ruby | agpl-3.0 | 2,707 |
/*
* Copyright (c) 2015, 张涛.
*
* 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... | supercwn/KJFrameForAndroid | KJFrame/app/src/main/java/org/kymjs/blog/ui/widget/RecordButtonUtil.java | Java | apache-2.0 | 5,318 |
/*! ******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2017 by Hitachi Vantara : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version... | tkafalas/pentaho-kettle | plugins/salesforce/core/src/test/java/org/pentaho/di/trans/steps/salesforce/SalesforceStepTest.java | Java | apache-2.0 | 6,334 |
/**
* Copyright 2015 IBM Corp.
*
* 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 wr... | mikestebbins/node-red | red/api/theme.js | JavaScript | apache-2.0 | 5,062 |
/**
******************************************************************************
* @file stm32l1xx_hal_tim_ex.c
* @author MCD Application Team
* @brief TIM HAL module driver.
* This file provides firmware functions to manage the following
* functionalities of the Timer extension pe... | mbedmicro/mbed | targets/TARGET_STM/TARGET_STM32L1/device/stm32l1xx_hal_tim_ex.c | C | apache-2.0 | 9,388 |
#include "test_db_base.h"
#include <cppcms/json.h>
test_db_base::test_db_base(cppcms::service &srv) : cppcms::application(srv) {
db_connection_str = settings().get<std::string>("app.db_connection_string");
}
void test_db_base::init() {
sql.open(db_connection_str);
}
void test_db_base::clear() {
sql.clos... | actframework/FrameworkBenchmarks | frameworks/C++/cppcms/src/test_db_base.cpp | C++ | bsd-3-clause | 326 |
<?php
/*
* This file is part of SwiftMailer.
* (c) 2004-2009 Chris Corbyn
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/*
* Autoloader and dependency injection initialization for Swift Mailer.
*/
//Load Swift utility class
r... | monokal/docker-orangehrm | www/symfony/lib/vendor/symfony/lib/vendor/swiftmailer/swift_required_pear.php | PHP | gpl-2.0 | 524 |
using System;
namespace fizz_buzz
{
class Program
{
static void Main(string[] args)
{
for (int i = 1; i < 101; i++)
{
if (i % 3 < 1)
Console.Write("fizz");
if (i % 5 < 1)
Console.Write("buzz");
... | aloisdg/code-problems | solutions/cs/shortest-fizz-buzz.cs | C# | mit | 477 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Phaser Class: LoaderParser</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link type="text/css" rel="stylesheet" href="styles/default.css">
<link type="text/css" rel="stylesheet... | clark-stevenson/phaser | v2/docs/Phaser.LoaderParser.html | HTML | mit | 53,122 |
#
# config.rb
#
#--
# Copyright (c) 1998-2003 Minero Aoki <aamine@loveruby.net>
#
# 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 right... | mjgiarlo/noidman | vendor/rails/actionmailer/lib/action_mailer/vendor/tmail/config.rb | Ruby | mit | 1,978 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Phaser Source: src/animation/Animation.js</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link type="text/css" rel="stylesheet" href="styles/default.css">
<link type="text/css" ... | clark-stevenson/phaser | v2/docs/src_animation_Animation.js.html | HTML | mit | 65,601 |
require "rack/chunked"
module ActionController #:nodoc:
# Allows views to be streamed back to the client as they are rendered.
#
# By default, Rails renders views by first rendering the template
# and then the layout. The response is sent to the client after the whole
# template is rendered, all queries are ... | lrosskamp/makealist-public | vendor/cache/ruby/2.3.0/gems/actionpack-5.1.2/lib/action_controller/metal/streaming.rb | Ruby | mit | 7,653 |
// 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.Buffers;
using System.Collections;
using System.Diagnostics;
using System.Runtime.InteropServices;
nam... | BrennanConroy/corefx | src/Common/src/CoreLib/System/Environment.Variables.Windows.cs | C# | mit | 6,424 |
export { Moon16 as default } from "../../";
| markogresak/DefinitelyTyped | types/carbon__icons-react/es/moon/16.d.ts | TypeScript | mit | 44 |
/*************************************************************************/
/* area_2d.h */
/*************************************************************************/
/* This file is part of: */
/* ... | OpenSocialGames/godot | scene/2d/area_2d.h | C | mit | 5,625 |
export { Mpeg16 as default } from "../../";
| georgemarshall/DefinitelyTyped | types/carbon__icons-react/es/MPEG/16.d.ts | TypeScript | mit | 44 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>RakNet: Member List... | JayStilla/AIEComplexSystems | dep/RakNet/Help/Doxygen/html/structRakNet_1_1Clans__GrantLeader-members.html | HTML | mit | 10,780 |
<?php
namespace Illuminate\Mail\Transport;
use Swift_Mime_Message;
use Illuminate\Support\Collection;
class ArrayTransport extends Transport
{
/**
* The collection of Swift Messages.
*
* @var \Illuminate\Support\Collection
*/
protected $messages;
/**
* Create a new array transpo... | vileopratama/portal-toyotadjakarta | vendor/laravel/framework/src/Illuminate/Mail/Transport/ArrayTransport.php | PHP | mit | 1,109 |
/*! asynquence-contrib
v0.13.0 (c) Kyle Simpson
MIT License: http://getify.mit-license.org
*/
(function UMD(dependency,definition){
if (typeof module !== "undefined" && module.exports) {
// make dependency injection wrapper first
module.exports = function $$inject$dependency(dep) {
// only try to `requ... | x112358/cdnjs | ajax/libs/asynquence-contrib/0.13.0/contrib.src.js | JavaScript | mit | 50,809 |
/*
* Copyright (C) 2013-2017 Oracle Corporation
* This file is based on ast_mode.c
* Copyright 2012 Red Hat Inc.
* Parts based on xf86-video-ast
* Copyright (c) 2005 ASPEED Technology Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated document... | jmahler/linux-next | drivers/staging/vboxvideo/vbox_mode.c | C | gpl-2.0 | 25,976 |
/***************************************************************************
qgslayoutviewtooladdnodeitem.h
--------------------------
Date : October 2017
Copyright : (C) 2017 Nyall Dawson
Email : nyall dot d... | ghtmtt/QGIS | src/gui/layout/qgslayoutviewtooladdnodeitem.h | C | gpl-2.0 | 2,751 |
<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>lxml.html</title>
<link rel="stylesheet" href="epydoc.css" type="text/css" />
<script typ... | vmanoria/bluemix-hue-filebrowser | hue-3.8.1-bluemix/desktop/core/ext-py/lxml/doc/html/api/lxml.html-module.html | HTML | gpl-2.0 | 56,518 |
/*
* Copyright (c) 1997 Adrian Sun (asun@zoology.washington.edu)
* All rights reserved.
*/
#ifndef _ATALK_SERVER_CHILD_H
#define _ATALK_SERVER_CHILD_H 1
#include <sys/types.h>
#include <arpa/inet.h>
#include <pthread.h>
/* useful stuff for child processes. most of this is hidden in
* server_child.c to ease chan... | ghmajx/asuswrt-merlin | release/src/router/netatalk-3.0.5/include/atalk/server_child.h | C | gpl-2.0 | 2,623 |
<?php
define( "MSG_TIMEOUT", 2.0 );
define( "MSG_DATA_SIZE", 4+256 );
if ( canEdit( 'Monitors' ) )
{
$zmuCommand = getZmuCommand( " -m ".validInt($_REQUEST['id']) );
switch ( validJsStr($_REQUEST['command']) )
{
case "disableAlarms" :
{
$zmuCommand .= " -n";
break... | seebaer1976/ZoneMinder | web/ajax/alarm.php | PHP | gpl-2.0 | 907 |
/* GStreamer dmabuf allocator
* Copyright (C) 2013 Linaro SA
* Author: Benjamin Gaignard <benjamin.gaignard@linaro.org> for Linaro.
*
* 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... | JulienMcJay/eclock | windows/gstreamer/include/gstreamer-1.0/gst/allocators/gstdmabuf.h | C | gpl-2.0 | 1,309 |
/*
* inode.c -- user mode filesystem api for usb gadget controllers
*
* Copyright (C) 2003-2004 David Brownell
* Copyright (C) 2003 Agilent Technologies
*
* 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 Soft... | DreamStar001/Vegito_vibe_k5 | drivers/usb/gadget/inode.c | C | gpl-2.0 | 53,765 |
/*
* Copyright (c) 2002-2003, Intel Corporation. All rights reserved.
* Created by: rusty.lynch REMOVE-THIS AT intel DOT com
* This file is licensed under the GPL license. For the full content
* of this license, see the COPYING file at the top level of this
* source tree.
Test case for assertion #4 of the si... | heluxie/LTP | testcases/open_posix_testsuite/conformance/interfaces/sigaction/4-93.c | C | gpl-2.0 | 904 |
/**
* Copyright 2014 Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... | Shance/newsaity74.ru | templates/blank_j3/node_modules/psi/node_modules/googleapis/apis/storage/v1.js | JavaScript | gpl-2.0 | 48,996 |
/*
CopyRight (C) 1999, Dmitry Obukhov, dso@usa.net
mailto: dso@usa.net
http://www.EmbeddedStuff.com
----------------------------------------------
Last modified 6 Apr 97
----------------------------------------------
Converts C (C++) source to HTML code fragment
with syntax highlighting.
Since program written... | kevintianbalance/.emacs.d | elisp/cscope-15.7a/contrib/webcscope/hilite.c | C | gpl-2.0 | 8,434 |
/*
* Copyright 2010-2011 Freescale Semiconductor, Inc.
*
* 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 Software Foundation; either... | JeremySavonet/Eurobot-2017-Moon-Village | software/custom_leds/fpga/software/spl_bsp/uboot-socfpga/board/freescale/p1_p2_rdb_pc/p1_p2_rdb_pc.c | C | gpl-3.0 | 11,737 |
/*
===========================================================================
Copyright (c) 2010-2015 Darkstar Dev Teams
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... | n0xus/darkstar | src/map/packets/char_sync.cpp | C++ | gpl-3.0 | 1,592 |
<?php
/**
* Locale data for 'saq_KE'.
*
* This file is automatically generated by yiic cldr command.
*
* Copyright © 1991-2007 Unicode, Inc. All rights reserved.
* Distributed under the Terms of Use in http://www.unicode.org/copyright.html.
*
* Copyright © 2008-2011 Yii Software LLC (http://www.yiiframework.com... | anandaverma/ixpense | yii/yii/framework/i18n/data/saq_ke.php | PHP | gpl-3.0 | 6,351 |
/* GStreamer
* Copyright (C) 2008 David Schleef <ds@entropywave.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 la... | cpopescu/whispermedialib | third-party/gstreamer/gst-plugins-bad-0.10.19/ext/cog/gstcms.h | C | lgpl-3.0 | 2,607 |
<?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license a... | dbashyal/MagentoStarterBase | trunk/lib/Zend/Gdata/YouTube/Extension/Statistics.php | PHP | lgpl-3.0 | 9,761 |
/*=========================================================================
Program: Visualization Toolkit
Module: TaskParallelismWithPorts.h
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This so... | gisfromscratch/datavisualizer | lib/vtk/include/Examples/ParallelProcessing/Generic/Cxx/TaskParallelismWithPorts.h | C | apache-2.0 | 1,405 |
/*
* Copyright 2010-2015 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | mahaliachante/aws-sdk-java | aws-java-sdk-glacier/src/main/java/com/amazonaws/services/glacier/model/transform/InvalidParameterValueExceptionUnmarshaller.java | Java | apache-2.0 | 2,012 |
.mblTextArea {overflow: auto;}.dj_ff3 .mblTextArea {-moz-border-radius: 0;} | aconyteds/Esri-Ozone-Map-Widget | vendor/js/esri/arcgis_js_api/library/3.12/3.12compact/dojox/mobile/themes/windows/TextArea-compat.css | CSS | apache-2.0 | 75 |
<?php
final class ArcanistPuppetLintLinterTestCase
extends ArcanistExternalLinterTestCase {
public function testLinter() {
$this->executeTestsInDirectory(dirname(__FILE__).'/puppet-lint/');
}
}
| codelabs-ch/arcanist | src/lint/linter/__tests__/ArcanistPuppetLintLinterTestCase.php | PHP | apache-2.0 | 207 |
### `tf.sigmoid(x, name=None)` {#sigmoid}
Computes sigmoid of `x` element-wise.
Specifically, `y = 1 / (1 + exp(-x))`.
##### Args:
* <b>`x`</b>: A Tensor with type `float32`, `float64`, `int32`, `complex64`, `int64`,
or `qint32`.
* <b>`name`</b>: A name for the operation (optional).
##### Returns:
A Tens... | anilmuthineni/tensorflow | tensorflow/g3doc/api_docs/python/functions_and_classes/shard6/tf.sigmoid.md | Markdown | apache-2.0 | 495 |
/*
* Copyright (C) 2010-2013 The SINA WEIBO 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 require... | zjupure/SneezeReader | weibosdk/src/main/java/com/sina/weibo/sdk/openapi/models/Status.java | Java | apache-2.0 | 5,659 |
// Random number generator - requires a PRNG backend, e.g. prng4.js
// For best results, put code like
// <body onClick='rng_seed_time();' onKeyPress='rng_seed_time();'>
// in your main HTML document.
var rng_state;
var rng_pool;
var rng_pptr;
// Mix in a 32-bit integer into the pool
function rng_seed_int(x) {
rng... | enketosurvey/mo | www/lib/rsa/rng.js | JavaScript | apache-2.0 | 2,112 |
/*=============================================================================
Copyright (c) 2001-2011 Joel de Guzman
Copyright (c) 2001-2011 Hartmut Kaiser
Copyright (c) 2011 Bryce Lelbach
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or co... | NixaSoftware/CVis | venv/bin/libs/spirit/test/qi/uint1.cpp | C++ | apache-2.0 | 6,465 |
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | corochoone/elasticsearch | src/main/java/org/elasticsearch/search/aggregations/bucket/filter/InternalFilter.java | Java | apache-2.0 | 2,222 |
/* ==========================================================
* bootstrap-formhelpers-countries.en_US.js
* https://github.com/vlamanna/BootstrapFormHelpers
* ==========================================================
* Copyright 2012 Vincent Lamanna
*
* Licensed under the Apache License, Version 2.0 (the "License... | Eonic/EonicWeb5 | wwwroot/ewcommon/bs3/addons/formHelpers/js/lang/en_US/bootstrap-formhelpers-countries.en_US.js | JavaScript | apache-2.0 | 6,201 |
<!DOCTYPE html>
<html lang="en">
<head>
<!-- head -->
<meta charset="utf-8">
<meta name="msapplication-tap-highlight" content="no" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="Owl Carousel Documentation">
<meta name="author" con... | chester0516/htc-prototype-bak | wip/pdp-2017/bower_components/owl.carousel/docs/docs/support-contact.html | HTML | mit | 5,521 |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="shortcut icon" type="image/ico" href="http://www.datatables.net/favicon.ico">
<meta name="viewport" content="initial-scale=1.0, maximum-scale=2.0">
<title>ColReorder example - State saving</title>
<link rel="stylesheet" type="text/css" href="../../../... | antho-firuze/_g.ene.sys_remake_ | templates/frontend_theme/adminlte/plugins/datatables/extensions/ColReorder/examples/integration/state_save.html | HTML | mit | 17,881 |
/*before*/"use strict";
/*after*/foo();
| zjmiller/babel | packages/babel-plugin-transform-strict-mode/test/fixtures/auxiliary-comment/use-strict-add/expected.js | JavaScript | mit | 41 |
/*
* Copyright (c) 1997, 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 ... | rokn/Count_Words_2015 | testing/openjdk2/jaxws/src/share/jaxws_classes/com/sun/xml/internal/xsom/impl/parser/ParserContext.java | Java | mit | 6,989 |
// 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.Generic;
using System.Reflection;
using Xunit;
namespace System.Globalization.Tests
{
... | shimingsg/corefx | src/System.Globalization/tests/NumberFormatInfo/NumberFormatInfoTests.cs | C# | mit | 6,144 |
/* govuk_frontend_toolkit includes */
@-ms-viewport {
width: device-width; }
@-o-viewport {
width: device-width; }
@font-face {
font-family: GDS-Logo;
src: local("HelveticaNeue"), local("Helvetica Neue"), local("Arial"), local("Helvetica"); }
@-ms-viewport {
width: device-width; }
@-o-viewport {
width: ... | littlednet/in-progress | node_modules/govuk_template_mustache/assets/stylesheets/govuk-template-ie7.css | CSS | mit | 22,249 |
' 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.
Imports System
Imports System.Collections.Immutable
Imports System.Reflection.Metadata
Imports Microsoft.CodeAnalysis.... | AlekseyTs/roslyn | src/ExpressionEvaluator/VisualBasic/Source/ExpressionCompiler/VisualBasicEESymbolProvider.vb | Visual Basic | mit | 4,500 |
// 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.Generic;
using Xunit;
namespace System.Globalization.Tests
{
public class StringInfoGe... | ellismg/corefx | src/System.Globalization/tests/StringInfo/StringInfoGetTextElementEnumerator.cs | C# | mit | 3,157 |
/* ScummVM - Graphic Adventure Engine
*
* ScummVM is the legal property of its developers, whose names
* are too numerous to list here. Please refer to the COPYRIGHT
* file distributed with this source distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU... | alexbevi/scummvm | engines/dm/inventory.cpp | C++ | gpl-2.0 | 40,443 |
/* Update additional symbol information in symbol table at the given index.
Copyright (C) 2000, 2001, 2002 Red Hat, Inc.
This file is part of Red Hat elfutils.
Written by Ulrich Drepper <drepper@redhat.com>, 2000.
Red Hat elfutils is free software; you can redistribute it and/or modify
it under the term... | AOKP/external_elfutils | libelf/gelf_update_syminfo.c | C | gpl-2.0 | 4,328 |
//===-- DWARFCompileUnit.h --------------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | rutgers-apl/Atomicity-Violation-Detector | tdebug-llvm/llvm/include/llvm/DebugInfo/DWARF/DWARFCompileUnit.h | C | gpl-2.0 | 988 |
/*
* Functions related to sysfs handling
*/
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/bio.h>
#include <linux/blkdev.h>
#include <linux/blktrace_api.h>
#include "blk.h"
struct queue_sysfs_entry {
struct attribute attr;
ssize_t (*show)(struct request_queue *, char *... | vinay94185vinay/Hybrid | block/blk-sysfs.c | C | gpl-2.0 | 15,179 |
/*
* Copyright 2004-2010 Freescale Semiconductor, Inc. All Rights Reserved.
*/
/*
* The code contained herein is licensed under the GNU General Public
* License. You may obtain a copy of the GNU General Public License
* Version 2 or later at the following locations:
*
* http://www.opensource.org/licenses/gpl-li... | WXrock/imx53_kernel | drivers/media/video/mxc/opl/opl_mod.c | C | gpl-2.0 | 664 |
/*
* lp5521.c - LP5521 LED Driver
*
* Copyright (C) 2007 Nokia Corporation
*
* Written by Mathias Nyman <mathias.nyman@nokia.com>
* Updated by Felipe Balbi <felipe.balbi@nokia.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as... | felixhaedicke/nst-kernel | src/drivers/leds/leds-lp5521.c | C | gpl-2.0 | 18,002 |
"""generated file, don't modify or your data will be lost"""
try:
__import__('pkg_resources').declare_namespace(__name__)
except ImportError:
pass
| GbalsaC/bitnamiP | venv/lib/python2.7/site-packages/logilab/__init__.py | Python | agpl-3.0 | 155 |
/*
Copyright 2014 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, ... | jprukner/origin | vendor/k8s.io/kubernetes/pkg/volume/plugins.go | GO | apache-2.0 | 21,701 |
<html>
<body>
<span>
This intention used to specify type for expression in docstring.
</span>
</body>
</html> | asedunov/intellij-community | python/resources/intentionDescriptions/SpecifyTypeInDocstringIntention/description.html | HTML | apache-2.0 | 111 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may n... | wangcy6/storm_app | frame/kafka-0.11.0/kafka-0.11.0.1-src/connect/runtime/src/main/java/org/apache/kafka/connect/runtime/standalone/StandaloneConfig.java | Java | apache-2.0 | 1,709 |
/**
* Update: 15-5-11
* Editor: qihongye
*/
var fs = require('fs');
var path = require('path');
var fis = require('../lib/fis.js');
var _ = fis.file;
var defaultSettings = (require('../lib/config.js')).DEFALUT_SETTINGS;
var expect = require('chai').expect;
var u = fis.util;
var config = null;
describe('config: co... | richard-chen-1985/fis3 | test/config.js | JavaScript | bsd-2-clause | 6,959 |
// 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 NET_QUIC_QUIC_DATA_WRITER_H_
#define NET_QUIC_QUIC_DATA_WRITER_H_
#include <string>
#include "base/basictypes.h"
#include "base/logging.h"
#... | aospx-kitkat/platform_external_chromium_org | net/quic/quic_data_writer.h | C | bsd-3-clause | 2,749 |
/* Global Settings
------------------------------------------------------------------------------------------------------ */
h1, h2, h3, h4, h5 { font-weight: bold; }
p, ol, ul, dl { margin: 0; }
/* Headings
------------------------------------------------------------------------------------------------------... | gladgod/zhiliao | zhiliao/grappellisafe/static/grappelli/css/typography.css | CSS | bsd-3-clause | 7,065 |
(function() {
var add, crispedges, feature, flexbox, fullscreen, gradients, logicalProps, prefix, readOnly, resolution, result, sort, writingMode,
slice = [].slice;
sort = function(array) {
return array.sort(function(a, b) {
var d;
a = a.split(' ');
b = b.split(' ');
if (a[0] > b[0]... | yuyang545262477/AfterWork | webpack/LittleTwo/node_modules/autoprefixer/data/prefixes.js | JavaScript | mit | 15,271 |
export interface IGridItem {
name: string;
}
export class Tests {
public items: KnockoutObservableArray<IGridItem>;
public selectedItems: KnockoutObservableArray<IGridItem>;
public gridOptionsAlarms: kg.GridOptions<IGridItem>;
constructor() {
this.items = ko.observableArray<IGridItem>();
... | markogresak/DefinitelyTyped | types/knockout.kogrid/knockout.kogrid-tests.ts | TypeScript | mit | 917 |
<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Serializer\Mapping;
/**
* Knows how to get the class... | hacfi/symfony | src/Symfony/Component/Serializer/Mapping/ClassDiscriminatorResolverInterface.php | PHP | mit | 991 |
/*
* 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 ... | rokn/Count_Words_2015 | testing/openjdk2/jdk/src/share/classes/sun/text/resources/sr/FormatData_sr_ME.java | Java | mit | 3,546 |
/*
* Copyright (c) 2007, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Softwa... | rokn/Count_Words_2015 | testing/openjdk/jdk/test/javax/sound/midi/Gervill/SoftAudioSynthesizer/GetFormat.java | Java | mit | 2,359 |
/*
* Copyright (c) 2010, 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 ... | rokn/Count_Words_2015 | testing/openjdk2/jdk/src/share/classes/java/lang/CharacterName.java | Java | mit | 4,017 |
// Copyright 2016 Dolphin Emulator Project
// Licensed under GPLv2+
// Refer to the license.txt file included.
#pragma once
#include "DolphinWX/Input/InputConfigDiag.h"
class WiimoteInputConfigDialog final : public InputConfigDialog
{
public:
WiimoteInputConfigDialog(wxWindow* parent, InputConfig& config, const wx... | degasus/dolphin | Source/Core/DolphinWX/Input/WiimoteInputConfigDiag.h | C | gpl-2.0 | 383 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.