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
public class Introduce { void foo(String str) { final Runnable s = new Runnable() { }; } }
asedunov/intellij-community
java/java-tests/testData/refactoring/introduceVariable/AfterSemicolon.after.java
Java
apache-2.0
115
/* * 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 ...
elilevine/apache-phoenix
phoenix-core/src/main/java/org/apache/phoenix/compile/DropSequenceCompiler.java
Java
apache-2.0
2,605
/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import { CompileIdentifierMetadata } from '../compile_metadata'; import { EventHandlerVars } from '../compiler_util/e...
Torgo13/CarWashApp
platforms/ios/build/emulator/CarWashApp.app/app/tns_modules/@angular/compiler/src/view_compiler/compile_view.js
JavaScript
apache-2.0
6,036
/* * 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-ec2/src/main/java/com/amazonaws/services/ec2/model/ContainerFormat.java
Java
apache-2.0
1,480
SELECT CATENTRY_ID , PARTNUMBER , BUSCHN_ID , HEADNAME , VENDOR_ID , BRAND_KOR_NM , BRAND_CD , ITNCATENTRYNM , DISP_TYPE_CD , CATENTTYPE , PRIOD_DLVR_YN , DLVREXPNSCALCTYPE , ADLT_GOODS_YN , DCCP_EXCPT_YN , CHC_CHILD_YN , DEFSORT , DEFSORTCNT , JOIN_CNT , SCORE , CO_BUY_ID , EVERYCPEXCPTYN , CARDCHRGDCEXCPTYN , LUMPSUM...
minwoo-jung/pinpoint
commons/src/test/resources/sample-01.sql
SQL
apache-2.0
4,156
/* 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, ...
Stackdriver/heapster
vendor/k8s.io/kubernetes/staging/src/k8s.io/apiserver/pkg/endpoints/handlers/response.go
GO
apache-2.0
7,472
/* Copyright 2016 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, ...
rf232/dashboard
vendor/k8s.io/kubernetes/pkg/client/clientset_generated/internalclientset/typed/core/internalversion/pod.go
GO
apache-2.0
4,536
/* globals ansispan:true */ ansispan = function(str) { str = str.replace(/>/g, '&gt;'); str = str.replace(/</g, '&lt;'); Object.keys(ansispan.foregroundColors).forEach(function(ansi) { var span = '<span style="color: ' + ansispan.foregroundColors[ansi] + '">'; // // `\033[Xm` == `\033[0;Xm` sets foreground ...
YY030913/tg
packages/tagt-logger/ansispan.js
JavaScript
mit
1,062
*> \brief \b SPFTRI * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download SPFTRI + dependencies *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/spftr...
LighthouseHPC/lighthouse
src/lighthouseProject/lighthouseProject/static/Doxygen/lapack/spftri.f
FORTRAN
mit
13,420
// 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.Text; using Xunit; namespace System.Xml.Tests { //Unit testing class for all reading related metho...
shimingsg/corefx
src/System.Private.Xml/tests/XmlNodeReader/System.Xml.XmlNodeReader.Tests/XmlNodeReaderReadTests.cs
C#
mit
11,363
<?php /** * Check for common issues with the server environment and WordPress install. */ class MetaSliderSystemCheck { var $options = array(); /** * Constructor */ public function __construct() { $this->options = get_site_option( 'metaslider_systemcheck' ); } /** * Check...
jackcommon/vnusa
wp-content/plugins/ml-slider/inc/metaslider.systemcheck.class.php
PHP
gpl-2.0
5,227
<?php namespace Zumba\GastonJS\Tests; /** * Class BrowserPageTest * @package Zumba\GastonJS\Tests */ class BrowserPageTest extends BrowserCommandsTestCase { public function testGetStatusCodeNoPage() { try { $this->browser->getStatusCode(); } catch (\Exception $e) { $this->assertInstanceOf("Zu...
jsheffers/ussalescorp
vendor/jcalderonzumba/gastonjs/tests/unit/BrowserPageTest.php
PHP
gpl-2.0
2,777
#!/usr/bin/env php <?php /** * Observium * * This file is part of Observium. * * @package observium * @subpackage billing * @author Adam Armstrong <adama@memetic.org> * @copyright (C) 2006 - 2012 Adam Armstrong */ chdir(dirname($argv[0])); require 'includes/defaults.inc.php'; require 'config.php';...
paulgear/librenms
billing-calculate.php
PHP
gpl-3.0
6,571
/* Convert wide character to multibyte character. Copyright (C) 2008, 2009, 2010 Free Software Foundation, Inc. Written by Bruno Haible <bruno@clisp.org>, 2008. 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 F...
ystk/debian-coreutils
lib/wcrtomb.c
C
gpl-3.0
1,492
# -*- encoding: utf-8 -*- ############################################################################## # # Daniel Campos (danielcampos@avanzosc.es) Date: 07/10/2014 # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as publi...
InakiZabala/odoomrp-wip
product_pricelist_import/__init__.py
Python
agpl-3.0
966
#include "capabilities.h" virCapsPtr testQemuCapsInit(void);
leilihh/libvirt
tests/testutilsqemu.h
C
lgpl-2.1
63
const Hapi = require('hapi'); const Inert = require('inert'); const Path = require('path'); let connection = { port: process.env.PORT || 3000, host: process.env.IP || 'localhost' }; let routes = [ { method: 'GET', path: '/scripts/{path*}', handler: { directory: { ...
siscely/bloc-jams-angular
server.js
JavaScript
apache-2.0
1,716
/* Open Asset Import Library (assimp) ---------------------------------------------------------------------- Copyright (c) 2006-2012, assimp team All rights reserved. Redistribution and use of this software in source and binary forms, with or without modification, are permitted provided that the following ...
WalkingMachine/sara_commun
wm_ork/tabletop/src/object/assimp/code/MaterialSystem.h
C
apache-2.0
2,777
cask "pester" do version "1.1b24,71" sha256 "1a05282c1de4cde91048bac86a17e39bdf18990be98d43758ce248f67a124e46" url "https://sabi.net/nriley/software/Pester-#{version.before_comma}.dmg" name "Pester" homepage "https://sabi.net/nriley/software/index.html#pester" livecheck do url "https://sabi.net/nriley...
stephenwade/homebrew-cask
Casks/pester.rb
Ruby
bsd-2-clause
436
/* MultiViewPortUI.java -- Copyright (C) 2005 Free Software Foundation, Inc. This file is part of GNU Classpath. GNU Classpath 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 opt...
shaotuanchen/sunflower_exp
tools/source/gcc-4.2.4/libjava/classpath/javax/swing/plaf/multi/MultiViewportUI.java
Java
bsd-3-clause
11,212
/* QtListPeer.java -- Copyright (C) 2005 Free Software Foundation, Inc. This file is part of GNU Classpath. GNU Classpath 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...
shaotuanchen/sunflower_exp
tools/source/gcc-4.2.4/libjava/classpath/gnu/java/awt/peer/qt/QtListPeer.java
Java
bsd-3-clause
5,015
# # Makefile for the Ingenic JZ4740. # # Object file lists. obj-y += prom.o irq.o time.o reset.o setup.o dma.o \ gpio.o clock.o platform.o timer.o pwm.o serial.o obj-$(CONFIG_DEBUG_FS) += clock-debugfs.o # board specific support obj-$(CONFIG_JZ4740_QI_LB60) += board-qi_lb60.o # PM support obj-$(CONFIG_PM) += pm...
talnoah/android_kernel_htc_dlx
virt/arch/mips/jz4740/Makefile
Makefile
gpl-2.0
351
/*! * __ _____ ________ __ * / // _ /__ __ _____ ___ __ _/__ ___/__ ___ ______ __ __ __ ___ / / * __ / // // // // // _ // _// // / / // _ // _// // // \/ // _ \/ / * / / // // // // // ___// / / // / / // ___// / / / / // // /\ // // / /__ ...
Asaf-S/jsdelivr
files/jquery.terminal/1.0.1/jquery.terminal.css
CSS
mit
15,260
# common obj-$(CONFIG_IWLWIFI) += iwlwifi.o iwlwifi-objs += iwl-io.o iwlwifi-objs += iwl-drv.o iwlwifi-objs += iwl-debug.o iwlwifi-objs += iwl-eeprom-read.o iwl-eeprom-parse.o iwlwifi-objs += iwl-phy-db.o iwl-nvm-parse.o iwlwifi-objs += pcie/drv.o pcie/rx.o pcie/tx.o pcie/trans.o iwlwifi-objs += pcie/ctxt-info.o...
eva-oss/linux
drivers/net/wireless/intel/iwlwifi/Makefile
Makefile
gpl-2.0
767
/** * @version $Id: index.js 10702 2008-08-21 09:31:31Z eddieajau $ * @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved. * @license GNU/GPL, see LICENSE.php * Joomla! is free software. This version may have been modified pursuant * to the GNU General Public License, and as distributed it i...
macartuche/Bolsa-Empleo
tmp/install_4c05852e9ca12/administrator/templates/khepri/js/index.js
JavaScript
gpl-2.0
923
<?php if (!$os) { if (stristr($sysDescr, 'NetApp')) { $os = 'netapp'; } }
clinta/librenms
includes/discovery/os/netapp.inc.php
PHP
gpl-3.0
91
Tutorials =========
smagswagholla/CSToolsCourse
tutorials/README.md
Markdown
gpl-3.0
20
/** * jQuery yiiactiveform plugin file. * * @author Qiang Xue <qiang.xue@gmail.com> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2010 Yii Software LLC * @license http://www.yiiframework.com/license/ * @version $Id: jquery.yiiactiveform.js 3158 2011-04-02 22:48:01Z qiang.xue $ * @since...
anandaverma/ixpense
yii/yii/framework/web/js/source/jquery.yiiactiveform.js
JavaScript
gpl-3.0
13,303
/* 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, ...
bowei/kubernetes
test/e2e/storage/volume_metrics.go
GO
apache-2.0
23,196
package filters import ( "reflect" "strings" "testing" ) func TestFilters(t *testing.T) { type cEntry struct { Name string Other string Labels map[string]string } corpusS := []cEntry{ { Name: "foo", Labels: map[string]string{ "foo": "true", }, }, { Name: "bar", }, { Name: ...
pweil-/origin
vendor/github.com/containerd/containerd/filters/filter_test.go
GO
apache-2.0
5,947
cask "1clipboard" do version "0.1.8" sha256 "d1dee1594fa8b16a54bbcaf2d88b07e3bade0bb809416e535621ddb63b9e2b3d" url "http://1clipboard.io/download/darwin/#{version}/1Clipboard.zip" name "1Clipboard" desc "Clipboard managing app" homepage "http://1clipboard.io/" livecheck do url "http://1clipboard.io/...
malob/homebrew-cask
Casks/1clipboard.rb
Ruby
bsd-2-clause
852
/* * Copyright (c) 2015-present, Parse, LLC. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ package com.par...
Milstein/Parse-SDK-Android
Parse/src/test/java/com/parse/ParseRESTUserCommandTest.java
Java
bsd-3-clause
5,681
# Contributing to React Devtools ### Pull Requests The core team will be monitoring for pull requests. *Before* submitting a pull request, please make sure the following is done… 1. Fork the repo and create your branch from `master`. 2. If you've added code that should be tested, add tests! 3. If you've changed API...
woowe/react-dev-tools
CONTRIBUTING.md
Markdown
bsd-3-clause
2,237
vg.canvas.marks = (function() { var parsePath = vg.canvas.path.parse, renderPath = vg.canvas.path.render, sqrt3 = Math.sqrt(3), tan30 = Math.tan(30 * Math.PI / 180), tmpBounds = new vg.Bounds(); // path generators function arcPath(g, o) { var x = o.x || 0, y = o.y || 0, ...
luost/vega
src/canvas/marks.js
JavaScript
bsd-3-clause
13,687
// Type definitions for sticky-cluster 0.3 // Project: https://github.com/uqee/sticky-cluster // Definitions by: Austin Turner <https://github.com/paustint> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.3 /// <reference types="node"/> import * as http from 'http'; declare...
dsebastien/DefinitelyTyped
types/sticky-cluster/index.d.ts
TypeScript
mit
873
{% extends "base.html" %} {% load i18n %} {% load core_tags %} {% load gravatar %} {% block profile-bar-admin %}active{% endblock %} {# This is included here instead of subclassing base_profile because we don't control all the views, and can't set the `profile` variable reliably #} {% block subnav-bar %} <!-- BEGIN ...
SteveViss/readthedocs.org
readthedocs/templates/profiles/base_profile_edit.html
HTML
mit
2,120
import F1 = require("f1"); var ui = F1(); ui.states({ out: { itemToAnimate1: { variableToAnimate: 0 }, itemToAnimate2: { variableToAnimate: 0 } }, idle: { itemToAnimate1: { variableToAnimate: 1 }, itemToAnimate2:...
psnider/DefinitelyTyped
f1/f1-tests.ts
TypeScript
mit
533
// Type definitions for html-pdf v2.2.0 // Project: https://github.com/marcbachmann/node-html-pdf // Definitions by: Seth Westphal <https://github.com/westy92> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// <reference types="node" /> declare module 'html-pdf' { import * as fs from 'fs'; ...
dsebastien/DefinitelyTyped
types/html-pdf/index.d.ts
TypeScript
mit
2,421
/** * @author jbouny / https://github.com/jbouny * * Work based on : * @author Slayvin / http://slayvin.net : Flat mirror for three.js * @author Stemkoski / http://www.adelphi.edu/~stemkoski : An implementation of water shader based on the flat mirror * @author Jonas Wagner / http://29a.ch/ && http://29a.ch/slide...
AngelikiArup/wikihousear
wikihouse_animation/js/WaterShader.js
JavaScript
cc0-1.0
10,889
/* * Gadget Function Driver for MTP * * Copyright (C) 2010 Google, Inc. * Copyright (C) 2012 Sony Mobile Communications AB. * Author: Mike Lockwood <lockwood@android.com> * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Foundation, an...
Anik1199/android_kernel_sony_msm8930
drivers/usb/gadget/f_mtp.c
C
gpl-2.0
37,009
/* * Copyright 2012 Red Hat Inc. * * 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, publish, d...
aps243/kernel-imx
drivers/gpu/drm/nouveau/nouveau_drm.c
C
gpl-2.0
20,495
/* x509v3.h for libcurl */
yassl/yassl
include/openssl/x509v3.h
C
gpl-2.0
28
/*---------------------------------------------------------------------------- * * File: * eas_reverbdata.c * * Contents and purpose: * Contains the static data allocation for the Reverb effect * * * Copyright Sonic Network Inc. 2006 * Licensed under the Apache License, Version 2.0 (the "License"); * you ma...
pedrolcl/Linux-SonivoxEas
sonivox/lib_src/eas_reverbdata.c
C
gpl-2.0
1,129
#include <pthread.h> #include <stdio.h> void *threadfunc(void *parm) { printf("Entered secondary thread\n"); while (1) { printf("Secondary thread is looping\n"); pthread_testcancel(); sleep(1); } return NULL; } int main(int argc, char **argv) { pthread_t thread; int ...
TEMadsen/fieldtrip
peer/src/test_threadcancel.c
C
gpl-2.0
789
#!/usr/bin/python # Copyright (c) 2015 VMware, Inc. All Rights Reserved. # # This file is part of Ansible # # Ansible 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 ...
muffl0n/ansible-modules-extras
cloud/vmware/vca_fw.py
Python
gpl-3.0
14,207
<!DOCTYPE html> <!-- DO NOT EDIT! Generated by referrer-policy/generic/tools/generate.py using referrer-policy/generic/template/test.release.html.template. --> <html> <head> <title>Referrer-Policy: Referrer Policy is set to 'origin-only'</title> <meta name="description" content="Check that all subresources in...
raviflipsyde/servo
tests/wpt/web-platform-tests/referrer-policy/origin-only/attr-referrer/same-origin/http-http/img-tag/generic.keep-origin-redirect.http.html
HTML
mpl-2.0
1,919
/* * 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.ilm; import org.elasticsearch...
robin13/elasticsearch
x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ilm/InitializePolicyException.java
Java
apache-2.0
759
/* * Copyright 2015 The SageTV 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 ap...
JREkiwi/sagetv
java/sage/EPGDBPublic.java
Java
apache-2.0
8,567
#!/bin/bash # 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"); ...
sergeykolychev/mxnet
tests/nightly/test_image_classification.sh
Shell
apache-2.0
2,640
/* * 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 ...
irudyak/ignite
modules/indexing/src/test/java/org/apache/ignite/internal/processors/query/IgniteCacheGroupsSqlDistributedJoinSelfTest.java
Java
apache-2.0
1,259
require "chef/chef_fs/file_system/base_fs_dir" require "chef/chef_fs/file_system/memory/memory_file" class Chef module ChefFS module FileSystem module Memory class MemoryDir < Chef::ChefFS::FileSystem::BaseFSDir def initialize(name, parent) super(name, parent) @chi...
martinisoft/chef
lib/chef/chef_fs/file_system/memory/memory_dir.rb
Ruby
apache-2.0
1,401
/* * 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/action/admin/indices/rollover/RolloverAction.java
Java
apache-2.0
747
public class Res { void bar(R r){} interface R<S, T> { void la(S s, T t); } private void validateStructuresCookie(Res cookie) { cookie.bar(new <caret>R<String, Object>(){ final String param = ""; @Override public void la(String s, Object o) { ...
jwren/intellij-community
java/java-tests/testData/refactoring/inplaceIntroduceConstant/correctConstantPosition.java
Java
apache-2.0
390
/* Copyright (c) 2010 - 2018, Nordic Semiconductor ASA 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, this list of conditi...
mbedmicro/mbed
targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_SDK_15_0/modules/nrfx/mdk/nrf52_bitfields.h
C
apache-2.0
740,639
ο»Ώ' 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.Text Imports Microsoft.CodeAnalysis.VisualBasic.Symbols Imports Microsoft.CodeAnalysis.VisualBasic.Syntax Imports Microsoft.Cod...
ericfe-ms/roslyn
src/Compilers/VisualBasic/Test/Symbol/DocumentationComments/MethodDocumentationCommentTests.vb
Visual Basic
apache-2.0
10,195
/***************************************************************************** Copyright (c) 2010, Intel Corp. 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 cod...
sidward/bart
src/lapacke/lapacke_cge_nancheck.c
C
bsd-3-clause
2,847
//===----------------------------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------...
mxOBS/deb-pkg_trusty_chromium-browser
third_party/libc++/trunk/test/utilities/template.bitset/bitset.members/op_xor_eq.pass.cpp
C++
bsd-3-clause
1,223
// SPDX-License-Identifier: GPL-2.0 or BSD-3-Clause /* * Copyright(c) 2015, 2016 Intel Corporation. */ #include <linux/delay.h> #include <linux/pci.h> #include <linux/vmalloc.h> #include "hfi.h" /* for the given bus number, return the CSR for reading an i2c line */ static inline u32 i2c_in_csr(u32 bus_num) { retu...
rperier/linux
drivers/infiniband/hw/hfi1/qsfp.c
C
gpl-2.0
21,086
/* * Copyright (c) 1998, 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/com/sun/jdi/request/ThreadDeathRequest.java
Java
mit
2,297
const tabsInstance = ( <Tabs defaultActiveKey={2}> <Tab eventKey={1} title="Tab 1">Tab 1 content</Tab> <Tab eventKey={2} title="Tab 2">Tab 2 content</Tab> <Tab eventKey={3} title="Tab 3" disabled>Tab 3 content</Tab> </Tabs> ); React.render(tabsInstance, mountNode);
natlownes/react-bootstrap
docs/examples/TabsUncontrolled.js
JavaScript
mit
283
import copy from mongoengine.errors import InvalidQueryError from mongoengine.queryset import transform __all__ = ('Q',) class QNodeVisitor(object): """Base visitor class for visiting Q-object nodes in a query tree. """ def visit_combination(self, combination): """Called by QCombination objects...
elioth010/lugama
venv/lib/python2.7/site-packages/mongoengine/queryset/visitor.py
Python
gpl-2.0
4,434
/* * Copyright (C) 2012 - Virtual Open Systems and Columbia University * Author: Christoffer Dall <c.dall@virtualopensystems.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License, version 2, as * published by the Free Software Foundati...
stefanstrogin/linux
arch/arm/kvm/mmu.c
C
gpl-2.0
37,448
// Copyright 2010 the V8 project authors. 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 ...
rneiss/PocketTorah
ios/Pods/Flipper-DoubleConversion/Frameworks/double-conversion.xcframework/ios-arm64_i386_x86_64-simulator/double-conversion.framework/Headers/bignum.h
C
gpl-3.0
5,891
"""Constants for the Bluesound HiFi wireless speakers and audio integrations component.""" DOMAIN = "bluesound" SERVICE_CLEAR_TIMER = "clear_sleep_timer" SERVICE_JOIN = "join" SERVICE_SET_TIMER = "set_sleep_timer" SERVICE_UNJOIN = "unjoin"
nkgilley/home-assistant
homeassistant/components/bluesound/const.py
Python
apache-2.0
240
package org.keycloak.client.registration.cli.commands; import org.jboss.aesh.cl.CommandDefinition; import org.jboss.aesh.console.command.Command; import org.jboss.aesh.console.command.CommandException; import org.jboss.aesh.console.command.CommandResult; import org.jboss.aesh.console.command.invocation.CommandInvocati...
keycloak/keycloak
integration/client-cli/client-registration-cli/src/main/java/org/keycloak/client/registration/cli/commands/ConfigInitialTokenCmd.java
Java
apache-2.0
7,501
/* * 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...
njlawton/elasticsearch
core/src/test/java/org/elasticsearch/search/functionscore/RandomScoreFunctionIT.java
Java
apache-2.0
18,495
/*! * Copyright 2010 - 2017 Hitachi Vantara. 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 ...
pminutillo/pentaho-kettle
plugins/pur/core/src/main/java/org/pentaho/di/repository/pur/ITransformer.java
Java
apache-2.0
1,208
package org.openni; /** * The Point3D object encapsulate 3 Dimension point **/ public class Point3D<T> { /** * The Point3D constructor * * @param x coordinate of the point * @param y coordinate of the point * @param z coordinate of the point **/ public Point3D(T x, T y, T z) { this.mX = x;...
OpenNI/OpenNI2
Wrappers/java/OpenNI.java/src/org/openni/Point3D.java
Java
apache-2.0
722
/* * 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 ...
hequn8128/flink
flink-core/src/test/java/org/apache/flink/api/java/typeutils/runtime/TupleComparatorILDXC2Test.java
Java
apache-2.0
2,922
/*! ****************************************************************************** * * Pentaho Data Integration * * Copyright (C) 2002-2017 by Hitachi Vantara : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version...
tkafalas/pentaho-kettle
core/src/main/java/org/pentaho/di/core/metrics/MetricsSnapshot.java
Java
apache-2.0
5,720
package me.chanjar.weixin.mp.api; import com.google.inject.Inject; import me.chanjar.weixin.common.exception.WxErrorException; import me.chanjar.weixin.mp.bean.result.WxMpUser; import me.chanjar.weixin.mp.bean.result.WxMpUserList; import org.testng.Assert; import org.testng.annotations.Guice; import org.testng.annotat...
hkssitcloud/weixin-java-tools
weixin-java-mp/src/test/java/me/chanjar/weixin/mp/api/WxMpUserAPITest.java
Java
apache-2.0
2,146
*> \brief \b DLATTR * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * * Definition: * =========== * * SUBROUTINE DLATTR( IMAT, UPLO, TRANS, DIAG, ISEED, N, A, LDA, B, * WORK, INFO ) * * ...
ryanrhymes/openblas
lib/OpenBLAS-0.2.19/lapack-netlib/TESTING/LIN/dlattr.f
FORTRAN
bsd-3-clause
22,378
// 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 <stdlib.h> #include <sstream> #include <string> #include "mojo/public/cpp/environment/environment.h" #include "mojo/public/cpp/environment/logg...
7kbird/chrome
mojo/public/cpp/environment/tests/logging_unittest.cc
C++
bsd-3-clause
14,120
/* Copyright (C) Intel Corp. 2006. All Rights Reserved. Intel funded Tungsten Graphics (http://www.tungstengraphics.com) to develop this 3D driver. 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 ...
aYukiSekiguchi/ACCESS-Chromium
third_party/mesa/MesaLib/src/gallium/drivers/i965/brw_wm_fp.c
C
bsd-3-clause
30,221
*> \brief \b SBDT03 * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * * Definition: * =========== * * SUBROUTINE SBDT03( UPLO, N, KD, D, E, U, LDU, S, VT, LDVT, WORK, * RESID ) * * .. ...
ryanrhymes/openblas
lib/OpenBLAS-0.2.19/lapack-netlib/TESTING/EIG/sbdt03.f
FORTRAN
bsd-3-clause
7,550
/* * linux/arch/unicore32/kernel/ptrace.c * * Code specific to PKUnity SoC and UniCore ISA * * Copyright (C) 2001-2010 GUAN Xue-tao * * By Ross Biro 1/23/92 * * 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...
eabatalov/au-linux-kernel-autumn-2017
linux/arch/unicore32/kernel/ptrace.c
C
gpl-3.0
3,537
/* * Copyright (c) 2003, 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/openjdk/langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/builders/SerializedFormBuilder.java
Java
mit
22,648
ο»Ώ// -------------------------------------------------------------------------------------------------------------------- // <copyright file="StandardFonts.cs" company="OxyPlot"> // Copyright (c) 2014 OxyPlot contributors // </copyright> // <summary> // Defines the standard fonts that can be used in a <see cref="Por...
TheAlmightyBob/oxyplot
Source/OxyPlot/Pdf/StandardFonts.cs
C#
mit
33,288
// Copyright (c) 2013 GitHub, Inc. // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. #ifndef ATOM_BROWSER_API_ATOM_API_WINDOW_H_ #define ATOM_BROWSER_API_ATOM_API_WINDOW_H_ #include <string> #include <vector> #include "base/memory/scoped_ptr.h" #include "ui/gfx/image...
adcentury/electron
atom/browser/api/atom_api_window.h
C
mit
5,307
// javascript 'shim' to trigger the click event of element(s) // when the space key is pressed. // // Created since some Assistive Technologies (for example some Screenreaders) // Will tell a user to press space on a 'button', so this functionality needs to be shimmed // See https://github.com/alphagov/govuk_elements/p...
alphagov/govuk_frontend_alpha
src/assets/js/toolkit/govuk/shim-links-with-button-role.js
JavaScript
mit
1,054
'use strict'; /** * Module dependencies. */ var acl = require('acl'); // Using the memory backend acl = new acl(new acl.memoryBackend()); /** * Invoke Articles Permissions */ exports.invokeRolesPolicies = function() { acl.allow([{ roles: ['admin'], allows: [{ resources: '/api/articles', permissions: '...
christopher-weir/HealthMate
modules/solutions/server/policies/articles.server.policy.js
JavaScript
mit
1,541
module Fastlane module Actions class LastGitCommitAction < Action def self.run(params) Actions.last_git_commit_dict end ##################################################### # @!group Documentation ##################################################### def self.descrip...
powtac/fastlane
fastlane/lib/fastlane/actions/last_git_commit.rb
Ruby
mit
1,394
package cli import ( "flag" "fmt" "io/ioutil" "reflect" "runtime" "strconv" "strings" "syscall" ) const defaultPlaceholder = "value" // BashCompletionFlag enables bash-completion for all commands and subcommands var BashCompletionFlag Flag = BoolFlag{ Name: "generate-bash-completion", Hidden: true, } //...
ValeLint/vale
vendor/github.com/urfave/cli/flag.go
GO
mit
8,535
/* * Copyright 2007-11 Advanced Micro Devices, Inc. * Copyright 2008 Red Hat Inc. * * 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 * ...
tobw/linux-curie
drivers/gpu/drm/radeon/atombios_encoders.c
C
gpl-2.0
76,124
/* 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 ...
blorente/scummvm
engines/cine/gfx.h
C
gpl-2.0
10,206
# # Cookbook Name:: rabbitmq # Resource:: policy # # Author: Robert Choi <taeilchoi1@gmail.com> # Copyright 2013 by Robert Choi # # 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://...
AQORN/thunder-engine
thunder_web/chef-repo/cookbooks/rabbitmq/resources/policy.rb
Ruby
gpl-3.0
942
/* ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio 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 requi...
green-panther/ChibiOS
testhal/STM32/STM32F4xx/PWM-ICU/main.c
C
gpl-3.0
3,689
/****************************************************************************** * * Name: actypes.h - Common data types for the entire ACPI subsystem * *****************************************************************************/ /* * Copyright (C) 2000 - 2013, Intel Corp. * All rights reserved. * * Redistrib...
sdphome/UHF_Reader
linux-3.14.52/include/acpi/actypes.h
C
gpl-3.0
41,289
// Copyright 2014 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. // // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license // <LICENSE-MIT or ...
seanrivera/rust
src/test/compile-fail/issue-15167.rs
Rust
apache-2.0
826
<!-- BEGIN MUNGE: UNVERSIONED_WARNING --> <!-- BEGIN STRIP_FOR_RELEASE --> <img src="http://kubernetes.io/img/warning.png" alt="WARNING" width="25" height="25"> <img src="http://kubernetes.io/img/warning.png" alt="WARNING" width="25" height="25"> <img src="http://kubernetes.io/img/warning.png" alt="WARNING"...
windianita/kubernetes
docs/admin/accessing-the-api.md
Markdown
apache-2.0
4,778
/*************************GO-LICENSE-START********************************* * Copyright 2014 ThoughtWorks, 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...
tomwscott/GoCD
plugin-infra/go-plugin-api/src/com/thoughtworks/go/plugin/api/material/packagerepository/PackageMaterialConfiguration.java
Java
apache-2.0
2,194
<?php /* * 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"); ...
jcgruenhage/dendrite
vendor/src/github.com/apache/thrift/lib/php/lib/Thrift/Protocol/SimpleJSON/Context.php
PHP
apache-2.0
1,006
/* * %CopyrightBegin% * * Copyright Ericsson AB 1996-2013. 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 * ...
yangchengjian/otp
erts/emulator/beam/break.c
C
apache-2.0
23,965
cask 'kaleidoscope' do version '2.1.1-219' sha256 '660b105e03391e93a8dffe584cd5b26326b431786adcbaabbb60aa00afc5c8c7' url "https://cdn.kaleidoscopeapp.com/releases/Kaleidoscope-#{version}.zip" appcast 'https://updates.blackpixel.com/updates?app=ks', checkpoint: '7227f778900aa4f17dab7b1984cf58e19325d13...
mauricerkelly/homebrew-cask
Casks/kaleidoscope.rb
Ruby
bsd-2-clause
1,176
/* * INETPEER - A storage for permanent information about peers * * This source is covered by the GNU GPL, the same as all kernel sources. * * Authors: Andrey V. Savochkin <saw@msu.ru> */ #include <linux/module.h> #include <linux/types.h> #include <linux/slab.h> #include <linux/interrupt.h> #include <linux/sp...
wurikiji/ttFS
ulinux/linux-3.10.61/net/ipv4/inetpeer.c
C
gpl-2.0
17,174
/** * The MIT License (MIT) * * Copyright (c) 2015 Famous Industries Inc. * * 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 righ...
Bizboard/engine
utilities/test/clone.js
JavaScript
mit
1,772
// 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. #if USE_MDT_EVENTSOURCE using Microsoft.Diagnostics.Tracing; #else using System.Diagnostics.Tracing; #endif using Xu...
ptoonen/corefx
src/System.Diagnostics.Tracing/tests/BasicEventSourceTest/TestEventCounter.cs
C#
mit
16,845
import warning from 'warning'; const getName = (object) => object.displayName ? `${object.displayName} ` : object.muiName ? `${object.muiName} ` : ''; function deprecatedExport(object, deprecatedPath, supportedPath) { warning(false, `Importing ${getName(object)}from '${deprecatedPath}' has been deprecated, ...
frnk94/material-ui
src/utils/deprecatedExport.js
JavaScript
mit
408
/* * 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...
htc-msm8974/android_kernel_htc_msm8974
drivers/media/video/cx23885/cx23885.h
C
gpl-2.0
18,345
<p><strong>Custom 404 Error Page with Site Map Sample Text ...</strong></p> <p>Put your custom "page not found" message here. You can change this text in the Define Pages Editor located under Tools in the Admin.</p> <p>This file is located in<code> /languages/english/html_includes/classic/</code></p> <p><strong>NOTE: ...
jaclarke83/SaugatuckTeaPartyCafe
shop/includes/languages/english/html_includes/classic/define_page_not_found.php
PHP
gpl-2.0
420