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
package butterknife; import android.view.View; import butterknife.internal.ListenerClass; import butterknife.internal.ListenerMethod; import java.lang.annotation.Retention; import java.lang.annotation.Target; import static android.widget.AdapterView.OnItemSelectedListener; import static java.lang.annotation.ElementTy...
carollynn2253/butterknife
butterknife/src/main/java/butterknife/OnItemSelected.java
Java
apache-2.0
2,447
/** ****************************************************************************** * @file misc.c * @author MCD Application Team * @version V3.5.0 * @date 11-March-2011 * @brief This file provides all the miscellaneous firmware functions (add-on * to CMSIS functions). *****************...
cnshaker/myrx
system/src/stm32f1-stdperiph/misc.c
C
apache-2.0
7,042
topojson = (function() { function merge(topology, arcs) { var arcsByEnd = {}, fragmentByStart = {}, fragmentByEnd = {}; arcs.forEach(function(i) { var e = ends(i); (arcsByEnd[e[0]] || (arcsByEnd[e[0]] = [])).push(i); (arcsByEnd[e[1]] || (arcsByEnd[e[1]] = [])).push(~i); ...
pzp1997/cdnjs
ajax/libs/topojson/0.0.28/topojson.js
JavaScript
mit
8,261
/* Public domain. */ #ifndef CDB_H #define CDB_H #include <string.h> #include "types.h" #define KVLSZ 4 #define CDB_MAX_KEY 0xff #define CDB_MAX_VALUE 0xffffff #define CDB_HASHSTART 5381 struct cdb { char *map; /* 0 if no map is available */ int fd; /* filedescriptor */ ut32 size; /* initialized if map...
alvarofe/sdb
src/cdb.h
C
mit
1,120
Package.describe({ summary: "Github OAuth flow", version: "1.1.4-plugins.0" }); Package.onUse(function(api) { api.use('oauth2', ['client', 'server']); api.use('oauth', ['client', 'server']); api.use('http', ['server']); api.use('underscore', 'client'); api.use('templating', 'client'); api.use('random',...
joannekoong/meteor
packages/github/package.js
JavaScript
mit
598
#-- # Copyright (c) 2006-2013 Philip Ross # # 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, publis...
apcomplete/devise_security_questions
vendor/ruby/gems/tzinfo-0.3.39/lib/tzinfo/timezone_offset_info.rb
Ruby
mit
3,439
define( "dijit/form/nls/ca/validate", ({ invalidMessage: "El valor introduït no és vàlid", missingMessage: "Aquest valor és necessari", rangeMessage: "Aquest valor és fora de l'interval" }) );
Caspar12/zh.sw
zh.web.site.admin/src/main/resources/static/js/dojo/dijit/form/nls/ca/validate.js.uncompressed.js
JavaScript
apache-2.0
201
# 打印 > 编写:[jdneo](https://github.com/jdneo) - 原文:<http://developer.android.com/training/printing/index.html> Android用户经常需要在设备上单独地阅览信息,但有时候也需要为了分享信息而不得不给其他人看自己设备的屏幕,这显然不是分享信息的好办法。如果我们可以通过Android应用把希望分享的信息打印出来,这将给用户提供一种从应用获取更多信息的好办法,更何况这么做还能将信息分享给其他那些不使用我们的应用的人。另外,打印服务还能创建信息的快照(生成PDF文件),而这一切不需要打印设备,无线网络连接,也不会消耗过多电量。 在...
dupengwei/android-training-course-in-chinese
multimedia/printing/index.md
Markdown
apache-2.0
1,325
html { overflow-y: auto; } body { padding: 1em; } .snippets { } .snippet { background: white; padding: 10px 20px 0px 20px; margin-top: 20px; border: 1px solid #ddd; } .snippet h2 { margin-top: 0; margin-left: -10px; } .snippet pre { font-size: 13px; overflow: auto; -webkit-user-select: initia...
Jabqooo/chrome-app-samples
samples/identity/sample_support/snippets.css
CSS
apache-2.0
482
/* Copyright © 2002, The KPD-Team All rights reserved. http://www.mentalis.org/ 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 n...
kolrabi/DesktopBooru
Sources/Network/ProxySocket/AuthUserPass.cs
C#
gpl-3.0
6,063
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. // Package glacier provides the client and types for making API // requests to Amazon Glacier. // // Amazon Glacier is a storage solution for "cold data." // // Amazon Glacier is an extremely low-cost storage service that provides secure, // durable,...
crobby/oshinko-cli
vendor/github.com/openshift/origin/cmd/cluster-capacity/go/src/github.com/kubernetes-incubator/cluster-capacity/vendor/github.com/aws/aws-sdk-go/service/glacier/doc.go
GO
apache-2.0
2,876
#include "builtin.h" #include "tree-walk.h" #include "xdiff-interface.h" #include "blob.h" #include "exec_cmd.h" #include "merge-blobs.h" static const char merge_tree_usage[] = "git merge-tree <base-tree> <branch1> <branch2>"; struct merge_list { struct merge_list *next; struct merge_list *link; /* other stages for...
overtherain/scriptfile
tool-kit/git-2.1.2/builtin/merge-tree.c
C
mit
9,196
// SPDX-License-Identifier: GPL-2.0-only /* Tom Kelly's Scalable TCP * * See http://www.deneholme.net/tom/scalable/ * * John Heffner <jheffner@sc.edu> */ #include <linux/module.h> #include <net/tcp.h> /* These factors derived from the recommended values in the aer: * .01 and and 7/8. */ #define TCP_SCALABLE_AI...
penberg/linux
net/ipv4/tcp_scalable.c
C
gpl-2.0
1,460
/* * include/linux/userfaultfd.h * * Copyright (C) 2007 Davide Libenzi <davidel@xmailserver.org> * Copyright (C) 2015 Red Hat, Inc. * */ #ifndef _LINUX_USERFAULTFD_H #define _LINUX_USERFAULTFD_H #include <linux/types.h> /* * If the UFFDIO_API is upgraded someday, the UFFDIO_UNREGISTER and * UFFDIO_WAKE ...
mkvdv/au-linux-kernel-autumn-2017
linux/include/uapi/linux/userfaultfd.h
C
gpl-3.0
6,242
/*! interpolate.js v1.0.0 | (c) 2014 @toddmotto | https://github.com/toddmotto/interpolate */ !function(t,e){"function"==typeof define&&define.amd?define(e):"object"==typeof exports?module.exports=e:t.interpolate=e()}(this,function(){"use strict";function t(t){"String"===e(t)&&(this.template=n(t))}function e(t){return ...
rteasdale/cdnjs
ajax/libs/interpolate.js/1.0.0/interpolate.min.js
JavaScript
mit
660
<?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\Config\Definition\Builder; use Symfony\Component\Conf...
LenLamberg/LenEntire_June_5
winkler/profiles/commerce_kickstart/libraries/yotpo-php/vendor/symfony/config/Symfony/Component/Config/Definition/Builder/EnumNodeDefinition.php
PHP
gpl-2.0
1,277
#!/bin/sh test_description="Test the svn importer's input handling routines. These tests provide some simple checks that the line_buffer API behaves as advertised. While at it, check that input of newlines and null bytes are handled correctly. " . ./test-lib.sh test_expect_success 'hello world' ' echo ">HELLO" >ex...
TextusData/Mover
thirdparty/git-1.7.11.3/t/t0081-line-buffer.sh
Shell
gpl-3.0
1,650
<?php /** * Order details table shown in emails. * * This template can be overridden by copying it to yourtheme/woocommerce/emails/plain/email-order-details.php. * * HOWEVER, on occasion WooCommerce will need to update template files and you * (the theme developer) will need to copy the new files to your theme to...
befair/soulShape
wp/soulshape.earth/wp-content/plugins/woocommerce/templates/emails/plain/email-order-details.php
PHP
agpl-3.0
1,630
!function(a,b){function c(){function a(){"undefined"!=typeof _wpmejsSettings&&(c=b.extend(!0,{},_wpmejsSettings)),c.success=c.success||function(a){var b,c;"flash"===a.pluginType&&(b=a.attributes.autoplay&&"false"!==a.attributes.autoplay,c=a.attributes.loop&&"false"!==a.attributes.loop,b&&a.addEventListener("canplay",fu...
abbasarezoo/wp-starter-pack
www/wp-includes/js/mediaelement/wp-mediaelement.min.js
JavaScript
gpl-3.0
796
' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. Imports Microsoft.CodeAnalysis.Editor.VisualBasic.KeywordHighlighting Namespace Microsoft.CodeAnalysis.Editor.VisualBasic.UnitTests.KeywordHighlighting Pu...
droyad/roslyn
src/EditorFeatures/VisualBasicTest/KeywordHighlighting/MultiLineIfBlockHighlighterTests.vb
Visual Basic
apache-2.0
2,847
/** * \file * * \brief Chip-specific oscillator management functions. * * Copyright (c) 2014-2015 Atmel Corporation. All rights reserved. * * \asf_license_start * * \page License * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following ...
YarivCol/mbed-os
targets/TARGET_Atmel/TARGET_SAM_CortexM4/services/clock/samg/osc.h
C
apache-2.0
6,843
/* filename: main.c */ #include "issp_revision.h" #ifdef PROJECT_REV_304 /* Copyright 2006-2007, Cypress Semiconductor Corporation. // //THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND //CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, //INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF //MERCH...
honeyx/S3mini_golden_kernel
drivers/input/keyboard/cypress/issp_main.c
C
gpl-2.0
132,606
/* * 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...
geminy/aidear
oss/linux/linux-4.7/drivers/staging/lustre/lustre/obdclass/llog_cat.c
C
gpl-3.0
7,203
<?php /*! * HybridAuth * http://hybridauth.sourceforge.net | http://github.com/hybridauth/hybridauth * (c) 2009-2012, HybridAuth authors | http://hybridauth.sourceforge.net/licenses.html */ /** * Hybrid_Providers_MySpace provider adapter based on OAuth1 protocol * * http://hybridauth.sourceforge.net/userguide/IDP...
tiltfactor/mg-game
www/protected/extensions/HybridAuth/hybridauth-2.1.2/hybridauth/Providers/MySpace.php
PHP
agpl-3.0
4,857
Shindo.tests('Fog::Compute::RackspaceV2 | network_tests', ['rackspace']) do service = Fog::Compute.new(:provider => 'Rackspace', :version => 'V2') network_format = { 'id' => String, 'label' => String, 'cidr' => Fog::Nullable::String } get_network_format = { 'network' => network_format } ...
jreichhold/chef-repo
vendor/ruby/2.0.0/gems/fog-1.20.0/tests/rackspace/requests/compute_v2/network_tests.rb
Ruby
apache-2.0
1,208
<?php namespace Gedmo\Uploadable\Stub; use Gedmo\Uploadable\FileInfo\FileInfoArray; class FileInfoStub extends FileInfoArray { }
bantudevelopment/smis
vendor/gedmo1/doctrine-extensions/tests/Gedmo/Uploadable/Stub/FileInfoStub.php
PHP
bsd-3-clause
132
// Copyright (c) 2009 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "net/disk_cache/blockfile/bitmap.h" #include <algorithm> #include "base/logging.h" namespace { // Returns the number of trailing zeros. i...
anirudhSK/chromium
net/disk_cache/blockfile/bitmap.cc
C++
bsd-3-clause
8,691
/* * 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/openjdk2/jdk/test/java/awt/im/4959409/bug4959409.java
Java
mit
2,168
/** * Copyright (c) 2011 Trusted Logic S.A. * All Rights Reserved. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * version 2 as published by the Free Software Foundation. * * This program is distributed in the hope that it will be...
prisciou/android_kernel_wiko_s9321
security/tf_driver/tee_client_api_ex.h
C
gpl-2.0
1,902
/* * Copyright (c) 2013-2015 by appPlant UG. All rights reserved. * * @APPPLANT_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apache License * Version 2.0 (the 'License'). You may not use this file except in * complia...
ElieSauveterre/cordova-plugin-local-notifications
src/android/ClickActivity.java
Java
apache-2.0
2,346
declare var a: number; var b: typeof a = "..."; var c: typeof a = "..."; type T = number; var x:T = "..."; // what about recursive unions?
kidaa/kythe
third_party/flow/tests/reflection/type.js
JavaScript
apache-2.0
141
/** * Italian translation for bootstrap-datepicker * Enrico Rubboli <rubboli@gmail.com> */ ;(function($){ $.fn.datepicker.dates['it'] = { days: ["Domenica", "Lunedì", "Martedì", "Mercoledì", "Giovedì", "Venerdì", "Sabato", "Domenica"], daysShort: ["Dom", "Lun", "Mar", "Mer", "Gio", "Ven", "Sab", "Dom"], daysM...
zxinStar/footshop
zxAdmin/assets/js/uncompressed/date-time/locales/bootstrap-datepicker.it.js
JavaScript
agpl-3.0
694
<?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\Security\Core\Tests\Authentication\Provider; use Symf...
rakeshsojitra/test
vendor/symfony/symfony/src/Symfony/Component/Security/Core/Tests/Authentication/Provider/LdapBindAuthenticationProviderTest.php
PHP
mit
2,513
<a href='https://github.com/angular/angular.js/edit/v1.5.x/docs/content/error/$compile/nodomevents.ngdoc?message=docs(error%2Fnodomevents)%3A%20describe%20your%20change...' class='improve-docs btn btn-primary'><i class="glyphicon glyphicon-edit">&nbsp;</i>Improve this Doc</a> <h1>Error: $compile:nodomevents <div><s...
keithbox/PPSP-360_Degree_Evaluation_System
web_root/third-party/angularjs/angular-1.5.0/docs/partials/error/$compile/nodomevents.html
HTML
gpl-3.0
1,792
/* * 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 version 2 of * the License, or (at your option) any la...
daydaygit/flrelse
uboot1.1.6/include/lh7a40x.h
C
gpl-3.0
8,214
/* * Copyright 2012 Twitter 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 agreed t...
siddhaism/zipkin
zipkin-web/src/main/scala/com/twitter/zipkin/common/json/JsonTraceTimeline.scala
Scala
apache-2.0
1,188
// Copyright 2007, 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 conditions ...
NeblioTeam/neblio
wallet/test/googletest/googletest/src/gtest-printers.cc
C++
mit
14,711
kitten_paw ========== This is the firmware for the 2016 revision of the Kitten Paw controller by Bathroom Epiphanies. Most of the boilerplate code is the work of [BathroomEpiphanies](https://github.com/BathroomEpiphanies). NKRO doesn't work at the moment, I don't know if I will take the time to find out how to fix th...
chancegrissom/qmk_firmware
keyboards/bpiphany/kitten_paw/readme.md
Markdown
gpl-2.0
882
/* * osd_initiator - Main body of the osd initiator library. * * Note: The file does not contain the advanced security functionality which * is only needed by the security_manager's initiators. * * Copyright (C) 2008 Panasas Inc. All rights reserved. * * Authors: * Boaz Harrosh <ooo@electrozaur.com> * Be...
geminy/aidear
oss/linux/linux-4.7/drivers/scsi/osd/osd_initiator.c
C
gpl-3.0
57,347
/*! formstone v0.8.26 [grid.ie.css] 2015-11-01 | MIT License | formstone.it */ .fs_grid_row { width: 300px; margin-left: auto; margin-right: auto; } @media screen and (min-width: 500px) { .fs_grid_row { width: 480px; } } @media screen and (min-width: 740px) { .fs_grid_row { width: 720px; } } @med...
ezekutor/jsdelivr
files/formstone/0.8.26/css/grid.ie.css
CSS
mit
5,988
/* * Driver for the Conexant CX23885 PCIe bridge * * Copyright (c) 2006 Steven Toth <stoth@linuxtv.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 of the Lice...
Asus-T100/kernel
drivers/media/pci/cx23885/cx23885.h
C
gpl-2.0
20,871
// Copyright 2012 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. // Extensions to the standard "os" package. package osext // import "github.com/kardianos/osext" import "path/filepath" // Executable returns an absolute path...
sg00dwin/origin
vendor/github.com/kardianos/osext/osext.go
GO
apache-2.0
781
/**************************************************************************** ** ** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the QtGui module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL21$ ** Commercial License Usage ** Licensee...
bmotlaghFLT/FLT_PhantomJS
src/qt/qtbase/src/plugins/printsupport/cups/qcupsprintengine_p.h
C
bsd-3-clause
3,245
Germany, 2016-04-20 initOS GmbH agrees to the terms of the Odoo Corporate Contributor License Agreement v1.0. I declare that I am authorized and able to make this agreement and sign this declaration. Signed, Frederik Kramer frederik.kramer@initos.com https://github.com/OSevangelist List of contributors: Markus S...
vileopratama/vitech
src/doc/cla/corporate/initos.md
Markdown
mit
912
# BSD LICENSE # # Copyright(c) 2010-2014 Intel Corporation. All rights reserved. # 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 ...
fatedier/studies
mtcp/dpdk-2.1.0/examples/l2fwd/Makefile
Makefile
gpl-3.0
2,035
<?php namespace PicoFeed\Scraper; use DomDocument; use DOMXPath; use PicoFeed\Logging\Logger; use PicoFeed\Parser\XmlParser; /** * Candidate Parser. * * @author Frederic Guillot */ class CandidateParser implements ParserInterface { private $dom; private $xpath; /** * List of attributes to try ...
bkostrowiecki/devnote
www/user/plugins/admin/vendor/fguillot/picofeed/lib/PicoFeed/Scraper/CandidateParser.php
PHP
gpl-3.0
6,365
<div class="modal" ng-controller="EditorUnsavedChangesPopupCrtl"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <h2 translate="EDITOR.POPUP.UNSAVED-CHANGES.TITLE"></h2> </div> <div class="modal-body"> <p tr...
NJU-STP/STP
webapp/widgets/modeler/editor-app/popups/unsaved-changes.html
HTML
apache-2.0
977
<?php /* vim: set expandtab sw=4 ts=4 sts=4: */ /** * Displays the 'User groups' sub page under 'Users' page. * * @package PhpMyAdmin */ require_once 'libraries/common.inc.php'; require_once 'libraries/server_users.lib.php'; require_once 'libraries/server_user_groups.lib.php'; PMA_getRelationsParam(); if (! $GLOB...
Dokaponteam/ITF_Project
xampp/phpMyAdmin/server_user_groups.php
PHP
mit
1,786
// SPDX-License-Identifier: GPL-2.0 /* Copyright(c) 2013 - 2018 Intel Corporation. */ /* ethtool support for iavf */ #include "iavf.h" #include <linux/uaccess.h> /* ethtool statistics helpers */ /** * struct iavf_stats - definition for an ethtool statistic * @stat_string: statistic name to display in ethtool -S o...
GuillaumeSeren/linux
drivers/net/ethernet/intel/iavf/iavf_ethtool.c
C
gpl-2.0
31,144
public class Foo { public void foo(boolean a, int x, int y, int z) { label1: do { try { if (x > 0) { int someVariable = a ? x : y; } ...
liveqmock/platform-tools-idea
java/java-tests/testData/psi/formatter/java/IfElse.java
Java
apache-2.0
1,720
# Copyright (c) 2007, Robert Coup <robert.coup@onetrackmind.co.nz> # All rights reserved. # # Redistribution and use in source and binary forms, with or without modification, # are permitted provided that the following conditions are met: # # 1. Redistributions of source code must retain the above copyright notice, #...
Vvucinic/Wander
venv_2_7/lib/python2.7/site-packages/Django-1.9-py2.7.egg/django/contrib/gis/measure.py
Python
artistic-2.0
12,272
/* * linux/kernel/printk.c * * Copyright (C) 1991, 1992 Linus Torvalds * * Modified to make sys_syslog() more flexible: added commands to * return the last 4k of kernel messages, regardless of whether * they've been read or not. Added option to suppress kernel printk's * to the console. Added hook for send...
CyanogenMod/android_kernel_sony_msm8974
kernel/printk.c
C
gpl-2.0
46,989
<?php /** * @file * Template file for Radix modal. */ ?> <!-- Button trigger modal --> <?php print render($trigger_button); ?> <!-- Modal --> <div class="modal fade" id="<?php print $modal_id; ?>" tabindex="-1" role="dialog" aria-labelledby="<?php print $modal_id; ?>" aria-hidden="true"> <div class="modal-dialog...
angrycactus/dkan
webroot/profiles/dkan/themes/contrib/radix/templates/radix/radix-modal.tpl.php
PHP
gpl-2.0
1,060
/* SPDX-License-Identifier: GPL-2.0 */ #include <stdio.h> #include <stdlib.h> #include <stdarg.h> #include <string.h> #include <sys/types.h> #include <sys/stat.h> #include <sys/mman.h> #include <fcntl.h> #include <unistd.h> #include <elf.h> #include "elfconfig.h" /* On BSD-alike OSes elf.h defines these according to ...
chenshuo/linux-study
scripts/mod/modpost.h
C
gpl-2.0
5,201
'use strict'; var $ = require('jquery'); require('./github-node-cfg.js'); var AddonHelper = require('js/addonHelper'); $(window.contextVars.githubSettingsSelector).on('submit', AddonHelper.onSubmitSettings);
ticklemepierce/osf.io
website/addons/github/static/node-cfg.js
JavaScript
apache-2.0
210
/* * Copyright (C) 2011-2012, LG Eletronics,Inc. All rights reserved. * LGIT LCD device driver * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * Th...
keeeener/nicki
kernel/drivers/video/msm/mipi_lgit.c
C
gpl-2.0
5,994
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ash/wm/event_client_impl.h" #include "ash/session/session_state_delegate.h" #include "ash/shell.h" #include "ash/shell_window_ids.h" #inclu...
s20121035/rk3288_android5.1_repo
external/chromium_org/ash/wm/event_client_impl.cc
C++
gpl-3.0
2,044
public enum A { ; A(String s){} }
asedunov/intellij-community
java/java-tests/testData/refactoring/moveMembers/enumConstant/before/A.java
Java
apache-2.0
37
class A { public void f() { Inner i = new Inner(); i.doStuff(); } private class <caret>Inner { public void doStuff() { } } }
asedunov/intellij-community
java/java-tests/testData/refactoring/inlineToAnonymousClass/NoInlineMethodUsage.java
Java
apache-2.0
173
class MyException extends RuntimeException{} class MyClass { public void foo() throws MyException { throw new MyException();<caret> } }
asedunov/intellij-community
java/java-tests/testData/codeInsight/completion/smartType/ExceptionTwice-out.java
Java
apache-2.0
139
/*! * https://github.com/es-shims/es5-shim * @license es5-shim Copyright 2009-2015 by contributors, MIT License * see https://github.com/es-shims/es5-shim/blob/master/LICENSE */ // vim: ts=4 sts=4 sw=4 expandtab // Add semicolon to prevent IIFE from being passed as argument to concatenated code. ; // UMD (Univer...
staticmatrix/Triangle
refer/modules/es5-shim/4.2.0/es5-shim.js
JavaScript
mit
61,950
// https://github.com/isaacs/sax-js/issues/124 require(__dirname).test ( { xml : "<!-- stand alone comment -->" , expect : [ [ "comment", " stand alone comment " ] ] , strict : true , opt : {} } )
apere/spark.blog
wp-content/themes/sheri-theme/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-svgo/node_modules/svgo/node_modules/sax/test/stand-alone-comment.js
JavaScript
gpl-2.0
225
<?php namespace Drupal\views_ui\Form\Ajax; use Drupal\Core\Form\FormStateInterface; use Drupal\views\ViewExecutable; use Drupal\views\ViewEntityInterface; use Drupal\views\Views; /** * Provides a form for adding an item in the Views UI. */ class AddHandler extends ViewsFormBase { /** * Constructs a new AddHa...
ngbentley/d8_devshop
web/core/modules/views_ui/src/Form/Ajax/AddHandler.php
PHP
gpl-2.0
6,305
<?php class meter { function __construct() { } function makeSVG($tag, $type, $value, $max, $min, $optimum, $low, $high) { $svg = ''; if ($tag == 'meter') { if ($type == '2') { ///////////////////////////////////////////////////////////////////////////////////// ///////// CUSTOM <meter type="2">...
wp-rio/wp-rio
wp-content/themes/wp-rio/inc/certificate/lib/mpdf/classes/meter.php
PHP
gpl-2.0
11,355
/* * TI OMAP2 32kHz sync timer emulation. * * Copyright (C) 2007-2008 Nokia Corporation * Written by Andrzej Zaborowski <andrew@openedhand.com> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foun...
SSLAB-HSA/HSAemu
qemu/hw/omap_synctimer.c
C
gpl-3.0
2,861
/************************************************************ Copyright 1996 by Thomas E. Dickey <dickey@clark.net> All Rights Reserved Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the abov...
execunix/vinos
xsrc/external/mit/xorg-server/dist/include/dixgrabs.h
C
apache-2.0
2,009
/* * mostcore.h - Interface between MostCore, * Hardware Dependent Module (HDM) and Application Interface Module (AIM). * * Copyright (C) 2013-2015, Microchip Technology Germany II GmbH & Co. KG * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the imp...
BPI-SINOVOIP/BPI-Mainline-kernel
linux-4.14/drivers/staging/most/mostcore/mostcore.h
C
gpl-2.0
11,695
// -*- C++ -*- // Copyright (C) 2005-2014 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 // Foundation; either version 3...
ruibarreira/linuxtrail
usr/include/c++/4.9/ext/pb_ds/detail/cc_hash_table_map_/cmp_fn_imps.hpp
C++
gpl-3.0
2,765
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>PolyK - pixi.js</title> <link rel="stylesheet" href="http://yui.yahooapis.com/3.9.1/build/cssgrids/cssgrids-min.css"> <link rel="stylesheet" href="../assets/vendor/prettify/prettify-min.css"> <link rel="stylesheet" href="../assets...
prshreshtha/LaseRun
site/docs/pixi/classes/PolyK.html
HTML
apache-2.0
18,177
/* Copyright 2014 The Kubernetes Authors 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 applicable law or ag...
nagarjung/kubernetes
plugin/pkg/scheduler/api/v1/types.go
GO
apache-2.0
6,999
/** * drivers/extcon/extcon-usb-gpio.c - USB GPIO extcon driver * * Copyright (C) 2015 Texas Instruments Incorporated - http://www.ti.com * Author: Roger Quadros <rogerq@ti.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version...
mkvdv/au-linux-kernel-autumn-2017
linux/drivers/extcon/extcon-usb-gpio.c
C
gpl-3.0
8,079
/* Copyright (c) 2006-2013 by OpenLayers Contributors (see authors.txt for * full list of contributors). Published under the 2-clause BSD license. * See license.txt in the OpenLayers distribution or repository for the * full text of the license. */ /** * @requires OpenLayers/BaseTypes/Class.js */ /** * Class: O...
savchukoleksii/beaversteward
www/settings/tools/mysql/js/openlayers/src/openlayers/lib/OpenLayers/Protocol.js
JavaScript
mit
8,407
(function($){ if(webshims.support.texttrackapi && document.addEventListener){ var trackOptions = webshims.cfg.track; var trackListener = function(e){ $(e.target).filter('track').each(changeApi); }; var trackBugs = webshims.bugs.track; var changeApi = function(){ if(trackBugs || (!trackOptions.override ...
ttitto/ttitto.github.io
js-webshim/dev/shims/track-ui.js
JavaScript
mit
10,440
/* * Copyright (c) 2015-2016, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in ...
butkevicius/motorola-moto-z-permissive-kernel
kernel/include/sound/adsp_err.h
C
gpl-2.0
679
/* { dg-do compile } */ /* { dg-skip-if "do not override -mfloat-abi" { *-*-* } { "-mfloat-abi=*" } {"-mfloat-abi=softfp" } } */ /* { dg-options "-O2 -fno-omit-frame-pointer -mabi=apcs-gnu -mfloat-abi=softfp" } */ struct super_block { int s_blocksize_bits; }; struct btrfs_fs_info { struct super_block *sb; }; stru...
selmentdev/selment-toolchain
source/gcc-latest/gcc/testsuite/gcc.target/arm/pr60650.c
C
gpl-3.0
903
#!/usr/bin/env python # -*- coding: utf-8 -*- # # GuessIt - A library for guessing information from filenames # Copyright (c) 2012 Nicolas Wack <wackou@gmail.com> # # GuessIt is free software; you can redistribute it and/or modify it under # the terms of the Lesser GNU General Public License as published by # the Free ...
loulich/Couchpotato
libs/guessit/transfo/guess_video_rexps.py
Python
gpl-3.0
1,837
//// [symbolDeclarationEmit8.ts] var obj = { [Symbol.isConcatSpreadable]: 0 } //// [symbolDeclarationEmit8.js] var obj = { [Symbol.isConcatSpreadable]: 0 }; //// [symbolDeclarationEmit8.d.ts] declare var obj: { [Symbol.isConcatSpreadable]: number; };
shanexu/TypeScript
tests/baselines/reference/symbolDeclarationEmit8.js
JavaScript
apache-2.0
279
/* * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * FFmpeg is distributed...
CTSRD-SOAAP/chromium-42.0.2311.135
third_party/ffmpeg/libavcodec/arm/vp8dsp_init_neon.c
C
bsd-3-clause
5,935
/* Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, ...
bparees/open-service-broker-sdk
vendor/k8s.io/kubernetes/staging/src/k8s.io/kube-aggregator/pkg/controllers/cache.go
GO
apache-2.0
1,390
using System; using System.Collections; using System.Collections.Generic; /// <summary> /// System.Array.Sort<T>(T[],System.Collections.Generic.IComparer<T>) /// </summary> public class ArraySort7 { #region Public Methods public bool RunTests() { bool retVal = true; TestLibrary.TestFramewo...
sejongoh/coreclr
tests/src/CoreMangLib/cti/system/array/arraysort7.cs
C#
mit
11,393
/* * Copyright (c) 2004,2012 Kustaa Nyholm / SpareTimeLabs * * 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...
subaklab/myflight
src/main/common/printf.c
C
gpl-3.0
6,103
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Collections; using System.Collections.Generic; namespace System.Data.Common { internal partial cla...
nbarbettini/corefx
src/System.Data.Common/src/System/Data/Common/DbConnectionOptions.Mono.cs
C#
mit
843
<html> <body> <pre>BEGINhtml body pre include:custom(opt='val' num=2) filters.include.custom.pug END</pre> </body> </html>
february29/Learning
web/vue/AccountBook-Express/node_modules/pug/test/cases/filters.include.custom.html
HTML
mit
144
<div class="loader"></div>
bleenco/abstruse
web/abstruse/src/app/shared/components/loader/loader.component.html
HTML
mit
27
/* * Kernel-based Virtual Machine driver for Linux * * This module enables machines with Intel VT-x extensions to run virtual * machines without emulation or binary translation. * * Copyright (C) 2006 Qumranet, Inc. * * Authors: * Avi Kivity <avi@qumranet.com> * Yaniv Kamay <yaniv@qumranet.com> * * T...
felixhaedicke/nst-kernel
src/arch/x86/kvm/vmx.c
C
gpl-2.0
96,797
// +build !windows package daemon import ( "github.com/docker/docker/container" "github.com/docker/docker/pkg/archive" "github.com/docker/docker/pkg/idtools" ) func (daemon *Daemon) tarCopyOptions(container *container.Container, noOverwriteDirNonDir bool) (*archive.TarOptions, error) { if container.Config.User =...
crobby/oshinko-cli
vendor/github.com/openshift/origin/cmd/cluster-capacity/go/src/github.com/kubernetes-incubator/cluster-capacity/vendor/github.com/docker/docker/daemon/archive_tarcopyoptions_unix.go
GO
apache-2.0
647
<?php /** * Memcache storage engine for cache * * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) * * Licensed under The MIT License * For full copyright and license information, please see the LICENSE.txt * Redistribution...
kcraam/rasp-fligthtime
webapp/lib/Cake/Cache/Engine/MemcacheEngine.php
PHP
bsd-3-clause
8,310
class Nasm < Formula desc "Netwide Assembler (NASM) is an 80x86 assembler" homepage "http://www.nasm.us/" revision 1 stable do url "http://www.nasm.us/pub/nasm/releasebuilds/2.11.08/nasm-2.11.08.tar.xz" sha256 "c99467c7072211c550d147640d8a1a0aa4d636d4d8cf849f3bf4317d900a1f7f" # http://repo.or.cz/n...
rokn/Count_Words_2015
fetched_code/ruby/nasm.rb
Ruby
mit
1,684
/* mbed Microcontroller Library * Copyright (c) 2006-2015 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 re...
ruriwo/ErgoThumb072_firmware
tmk_core/tool/mbed/mbed-sdk/libraries/mbed/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U34_421/device.h
C
gpl-2.0
1,504
/* * Copyright (c) 2007-2011 Nicira Networks. * * 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 Foundation. * * This program is distributed in the hope that it will be useful, but * WIT...
Andiry/Linux-xHCI-development
net/openvswitch/flow.c
C
gpl-2.0
35,704
/* * Copyright (C) 2005-2013 Team XBMC * http://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 version. * * ...
TRex22/xbmc
xbmc/windowing/WinEventsWayland.cpp
C++
gpl-2.0
3,936
/* * Copyright (C) 2007 Esmertec AG. * Copyright (C) 2007 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/LICEN...
jodson/TextSecure
src/ws/com/google/android/mms/pdu/ReadRecInd.java
Java
gpl-3.0
4,014
#include <string.h> #include <node.h> #include "macros.h" #include "database.h" #include "statement.h" using namespace node_sqlite3; Persistent<FunctionTemplate> Database::constructor_template; void Database::Init(Handle<Object> target) { NanScope(); Local<FunctionTemplate> t = NanNew<FunctionTemplate>(New...
diagonalfish/reddit-post-scheduler
web/node_modules/sqlite3/src/database.cc
C++
mit
18,996
/* * IOMMU implementation for Cell Broadband Processor Architecture * * (C) Copyright IBM Corporation 2006-2008 * * Author: Jeremy Kerr <jk@ozlabs.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 Soft...
BPI-SINOVOIP/BPI-Mainline-kernel
linux-4.19/arch/powerpc/platforms/cell/iommu.c
C
gpl-2.0
34,916
/* * Copyright (C) 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/gp...
fwmiller/Conserver-Freescale-Linux-U-boot
rpm/BUILD/linux-3.0.35/drivers/mxc/security/sahara2/km_adaptor.c
C
gpl-2.0
21,252
! { dg-do run } ! { dg-additional-options "-msse2" { target sse2_runtime } } ! { dg-additional-options "-mavx" { target avx_runtime } } integer :: a(1024), b(1024), k, m, i, s, t k = 4 m = 2 t = 1 do i = 1, 1024 a(i) = i - 513 b(i) = modulo (i - 52, 39) if (i.lt.52.and.b(i).ne.0) b(i) = b(i) - 39...
lapesd/libgomp
src/libgomp/testsuite/libgomp.fortran/simd2.f90
FORTRAN
gpl-3.0
2,682
/* * File: private/randompatch.h * --------------------------- * This file patches the implementation of the random number library * to avoid some serious bugs in standard implementations of rand, * particularly on Mac OS X. It also includes a hack to set the * seed from the RANDOM_SEED environment variable, whi...
ronny332/TA_CoE
lib/stanford-cpp-library/StanfordCPPLib/private/randompatch.h
C
gpl-3.0
1,708
package networks import ( "github.com/gophercloud/gophercloud" "github.com/gophercloud/gophercloud/pagination" ) // List returns a Pager that allows you to iterate over a collection of Network. func List(client *gophercloud.ServiceClient) pagination.Pager { return pagination.NewPager(client, listURL(client), func(...
ashetty1/kedge
vendor/github.com/openshift/origin/cmd/service-catalog/go/src/github.com/kubernetes-incubator/service-catalog/vendor/github.com/gophercloud/gophercloud/openstack/compute/v2/extensions/networks/requests.go
GO
apache-2.0
615
/* Test the `vld4f32' ARM Neon intrinsic. */ /* This file was autogenerated by neon-testgen. */ /* { dg-do assemble } */ /* { dg-require-effective-target arm_neon_ok } */ /* { dg-options "-save-temps -O0" } */ /* { dg-add-options arm_neon } */ #include "arm_neon.h" void test_vld4f32 (void) { float32x2x4_t out_fl...
the-linix-project/linix-kernel-source
gccsrc/gcc-4.7.2/gcc/testsuite/gcc.target/arm/neon/vld4f32.c
C
bsd-2-clause
648
/* * A driver for the Griffin Technology, Inc. "PowerMate" USB controller dial. * * v1.1, (c)2002 William R Sowerbutts <will@sowerbutts.com> * * This device is a anodised aluminium knob which connects over USB. It can measure * clockwise and anticlockwise rotation. The dial also acts as a pushbutton with * a spr...
EAVR/EV3.14
ev3sources/extra/linux-03.20.00.13/drivers/input/misc/powermate.c
C
gpl-2.0
15,205