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
RTGUI 0.6.1 Release Notes This is mainly a bug fixing release. Now the window system can be used intensively. # Running Environment In theory, new RTGUI can run on all the devices running old RTGUI. There is a simulator which run on Windows to help evaluating the new RTGUI. The default running environment is RealTou...
RT-Thread/realboard-lpc4088
software/rtthread_examples/rtgui/doc/ANNOUNCE.0.6.1.md
Markdown
gpl-2.0
1,891
<?php /** * Magento * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-3.0.php * If you did not receive a co...
keegan2149/magento
sites/default/app/code/core/Mage/Paypal/Block/Express/Form.php
PHP
gpl-2.0
2,041
/* Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'elementspath', 'si', { eleLabel: 'මුලද්‍රව්‍ය මාර්ගය', eleTitle: '%1 මුල' } );
gmuro/dolibarr
htdocs/includes/ckeditor/ckeditor/_source/plugins/elementspath/lang/si.js
JavaScript
gpl-3.0
291
/* * * (c) 2010-2019 Torstein Honsi * * License: www.highcharts.com/license */ 'use strict'; import H from './Globals.js'; import './Utilities.js'; import './Options.js'; import './Series.js'; var pick = H.pick, seriesType = H.seriesType; /** * Spline series type. * * @private * @class * @name Highchar...
blue-eyed-devil/testCMS
externals/highcharts/es-modules/parts/SplineSeries.js
JavaScript
gpl-3.0
8,806
#!/usr/bin/python # -*- coding: utf-8 -*- from __future__ import (absolute_import, division, print_function) __metaclass__ = type # # Copyright (C) 2017 Lenovo, Inc. # # 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 Licens...
hryamzik/ansible
lib/ansible/modules/network/cnos/cnos_factory.py
Python
gpl-3.0
5,299
/* -*- c++ -*- */ /* * Copyright 2002 Free Software Foundation, Inc. * * This file is part of GNU Radio * * GNU Radio is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3, or (at your option...
tyc85/nwsdr-3.6.3-dsc
gr-atsc/src/lib/qa_interleaver_fifo.h
C
gpl-3.0
1,390
package org.zarroboogs.weibo.dao; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import org.zarroboogs.util.net.HttpUtility; import org.zarroboogs.util.net.WeiboException; import org.zarroboogs.util.net.HttpUtility.HttpMethod; import org.zarroboogs.utils.ImageUtility; import org...
tsdl2013/iBeebo
app/src/main/java/org/zarroboogs/weibo/dao/MapDao.java
Java
gpl-3.0
2,199
/** * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder */ /** * Class: mxHandle * * Implements a single custom handle for vertices. * * Constructor: mxHandle * * Constructs a new handle for the given state. * * Parameters: * * state - <mxCellState> of the cell to be handle...
kyro46/assMxGraphQuestion
templates/mxgraph/js/handler/mxHandle.js
JavaScript
gpl-3.0
7,788
# Deploy 64-bit Mac OS X standalones You can now deploy both 32-bit and 64-bit standalones for Mac OS X, and you can select which engines you'd like to include in the standalone builder. **This feature was sponsored by the community Feature Exchange.**
PaulMcClernan/livecode
docs/notes/feature-mac64-deployment.md
Markdown
gpl-3.0
255
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> <html> <head> <title>[ 593705 ] Use of &lt; comparison symbol confuses Tidy</title> <script type="text/javascript"> function foo( bar, baz ) { return ( bar < baz ? true : false ); } </script> </head> <body> <p>Does the script confuse Tidy?</p> </body>...
GerHobbelt/htmltidy
test/input/in_593705.html
HTML
gpl-3.0
329
--- version: 8.0.0-dp-3 --- # LiveCode Builder Language ## Handler definitions * The syntax for declaring the type of the return value from a handler (or handler type) is now `[ 'returns' 'nothing' | 'returns' <Type> ]`. # [14906] Change 'as <Type>' to 'returns nothing' or 'returns <Type>' in handler return type d...
hwbehrens/livecode
docs/lcb/notes/14906.md
Markdown
gpl-3.0
402
#region License // Copyright (c) 2013, ClearCanvas Inc. // All rights reserved. // http://www.clearcanvas.ca // // This file is part of the ClearCanvas RIS/PACS open source project. // // The ClearCanvas RIS/PACS open source project is free software: you can // redistribute it and/or modify it under the terms...
chinapacs/ImageViewer
Ris/Client/Admin/LocationEditorComponent.cs
C#
gpl-3.0
6,291
#region License // Copyright (c) 2013, ClearCanvas Inc. // All rights reserved. // http://www.clearcanvas.ca // // This file is part of the ClearCanvas RIS/PACS open source project. // // The ClearCanvas RIS/PACS open source project is free software: you can // redistribute it and/or modify it under the terms...
chinapacs/ImageViewer
ImageServer/Services/WorkQueue/CleanupReconcile/CleanupReconcileItemProcessor.cs
C#
gpl-3.0
5,141
/* -*- c++ -*- */ /* * Copyright 2015,2016 Free Software Foundation, Inc. * * This is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3, or (at your option) * any later version. * * This...
pinkavaj/gnuradio
gr-dtv/lib/dvbt/dvbt_reference_signals_impl.cc
C++
gpl-3.0
41,320
/* YUI 3.8.0 (build 5744) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ YUI.add('anim-scroll', function (Y, NAME) { /** * Adds support for the <code>scroll</code> property in <code>to</code> * and <code>from</code> attributes. * @module anim * @su...
relipse/cworklog
public_html/js/yui/3.8.0/build/anim-scroll/anim-scroll.js
JavaScript
gpl-3.0
1,067
/** * * Spacebrew Library for Javascript * -------------------------------- * * This library was designed to work on front-end (browser) envrionments, and back-end (server) * environments. Please refer to the readme file, the documentation and examples to learn how to * use this library. * * Spacebrew is...
RyanteckLTD/RTK-000-001-Controller
touchClient/js/sb-1.3.0.js
JavaScript
gpl-3.0
15,832
#!/bin/bash # ---------------------------------------------------------------------- # Numenta Platform for Intelligent Computing (NuPIC) # Copyright (C) 2013, Numenta, Inc. Unless you have an agreement # with Numenta, Inc., for a separate license for this software code, the # following terms and conditions apply: # #...
oxtopus/nupic
ci/travis/before_install-osx.sh
Shell
gpl-3.0
1,501
/* * Unix SMB/CIFS implementation. * collected prototypes header * * frozen from "make proto" in May 2008 * * Copyright (C) Michael Adam 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 Free Software Foun...
sathieu/samba
source3/utils/ntlm_auth_proto.h
C
gpl-3.0
1,648
#region License // Copyright (c) 2013, ClearCanvas Inc. // All rights reserved. // http://www.clearcanvas.ca // // This file is part of the ClearCanvas RIS/PACS open source project. // // The ClearCanvas RIS/PACS open source project is free software: you can // redistribute it and/or modify it under the term...
testdoron/ClearCanvas
Dicom/Samples/EditSop.cs
C#
gpl-3.0
6,331
<!DOCTYPE html> <html> <title>Service Workers: ServiceWorker</title> <head> <link rel="help" href="https://w3c.github.io/ServiceWorker/#service-worker-obj"> <script src="/resources/testharness.js"></script> <script src="/resources/testharnessreport.js"></script> <script src=/resourc...
bbansalWolfPack/servo
tests/wpt/web-platform-tests/service-workers/stub-3.1-service-worker-obj.html
HTML
mpl-2.0
1,893
// Copyright 2019 The go-ethereum Authors // This file is part of the go-ethereum library. // // The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License...
status-im/status-go
vendor/github.com/ethereum/go-ethereum/p2p/netutil/addrutil.go
GO
mpl-2.0
1,106
<?php if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point'); /********************************************************************************* * SugarCRM Community Edition is a customer relationship management program developed by * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc. * * This ...
KadJ/amazon_sugar
modules/lm_FaxMan/metadata/SearchFields.php
PHP
agpl-3.0
3,742
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Iterators and Ranges</title> <link rel="stylesheet" href="../../../../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../../index.html" ti...
ntonjeta/iidea-Docker
examples/sobel/src/boost_1_63_0/libs/numeric/odeint/doc/html/boost_numeric_odeint/odeint_in_detail/iterators_and_ranges.html
HTML
agpl-3.0
59,447
<?php if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point'); /********************************************************************************* * SugarCRM Community Edition is a customer relationship management program developed by * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc. * * This ...
KadJ/amazon_sugar
upload/upload/upgrades/patch/SugarCE-Upgrade-6.5.x-to-6.5.9-restore/modules/Meetings/metadata/additionalDetails.php
PHP
agpl-3.0
3,933
# Contributor Code of Conduct As contributors and maintainers of this project, and in the interest of fostering an open and welcoming community, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other acti...
nathanbwright/exercism.io
CODE_OF_CONDUCT.md
Markdown
agpl-3.0
2,392
/* ** I/O library. ** Copyright (C) 2005-2017 Mike Pall. See Copyright Notice in luajit.h ** ** Major portions taken verbatim or adapted from the Lua interpreter. ** Copyright (C) 1994-2011 Lua.org, PUC-Rio. See Copyright Notice in lua.h */ #include <errno.h> #include <stdio.h> #define lib_io_c #define LUA_LIB #incl...
team-parasol/parasol
src/fluid/luajit-2.0.5/src/lib_io.c
C
lgpl-2.1
13,724
/* * Copyright (C) 2014 Loci Controls Inc. * 2018 HAW Hamburg * * 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. */ /** * @defgroup cpu_cc2538_gptimer CC2538 General Purpo...
aabadie/RIOT
cpu/cc2538/include/cc2538_gptimer.h
C
lgpl-2.1
3,721
/* * Copyright (C) 2016 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. */ /** * @defgroup cpu_nrf52 Nordic nRF52 MCU * @ingroup cpu * @brief ...
yogo1212/RIOT
cpu/nrf52/include/cpu_conf.h
C
lgpl-2.1
2,224
/** * Copyright (C) 2014 Martin Landsmann <Martin.Landsmann@HAW-Hamburg.de> * * 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 net_fib * @{ * * @file * @brief Fu...
yogo1212/RIOT
sys/net/network_layer/fib/fib.c
C
lgpl-2.1
56,622
/*= -*- c-basic-offset: 4; indent-tabs-mode: nil; -*- * * librsync -- the library for network deltas * $Id: msg.c,v 1.15 2003/06/12 05:47:22 wayned Exp $ * * Copyright (C) 2000, 2001 by Martin Pool <mbp@samba.org> * * This program is free software; you can redistribute it and/or * modify it under the terms of...
kaseya/librsync
msg.c
C
lgpl-2.1
2,883
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (version 1.7.0_25) on Thu Sep 26 14:06:50 PDT 2013 --> <meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> <title>LognormalDistr</tit...
Nishi-Inc/WorkflowSim-1.0
docs/org/cloudbus/cloudsim/distributions/LognormalDistr.html
HTML
lgpl-3.0
11,073
package crazypants.enderio.machine.capbank.network; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.inventory.IInventory; import net.minecraft.item.ItemStack; import cofh.api.energy.IEnergyContainerItem; import crazypants.enderio.EnderIO; import crazypants.enderio.machine.capbank.TileCapBank; pu...
Samernieve/EnderIO
src/main/java/crazypants/enderio/machine/capbank/network/InventoryImpl.java
Java
unlicense
3,083
/* * 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 ...
tkpanther/ignite
modules/platforms/dotnet/Apache.Ignite.Core/Impl/Messaging/MessageListenerHolder.cs
C#
apache-2.0
5,939
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 1.0 Transitional//EN"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" href="../includes/main.css" type="text/css"> <l...
apache/cloudstack-www
source/api/apidocs-4.9/apis/extractIso.html
HTML
apache-2.0
5,014
/* Copyright 2019 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, ...
cjwagner/test-infra
prow/plugins/milestoneapplier/milestoneapplier_test.go
GO
apache-2.0
5,704
/** * 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 ...
bit1129/open-source-projects
src/java/test/org/apache/zookeeper/server/quorum/WatchLeakTest.java
Java
apache-2.0
12,847
/* * Copyright 2010-2014 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...
ykbarros/aws-sdk-xamarin
AWS.XamarinSDK/AWSSDK_iOS/Amazon.DynamoDBv2/Model/Internal/MarshallTransformations/GlobalSecondaryIndexMarshaller.cs
C#
apache-2.0
3,183
-- +goose Up -- SQL in section 'Up' is executed when this migration is applied alter table deliveryservice add logs_enabled tinyint(1); -- +goose Down -- SQL section 'Down' is executed when this migration is rolled back alter table deliveryservice drop column logs_enabled;
smalenfant/traffic_control
traffic_ops/app/db/migrations/20160603084204_add_logs_enabled.sql
SQL
apache-2.0
278
// Copyright John Maddock 2008. // Use, modification and distribution are subject to the // Boost Software License, Version 1.0. (See accompanying file // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // # include <pch.hpp> #ifndef BOOST_MATH_TR1_SOURCE # define BOOST_MATH_TR1_SOURCE #...
flingone/frameworks_base_cmds_remoted
libs/boost/libs/math/src/tr1/nexttowardl.cpp
C++
apache-2.0
727
"""Support for MySensors covers.""" from homeassistant.components import mysensors from homeassistant.components.cover import ATTR_POSITION, DOMAIN, CoverDevice from homeassistant.const import STATE_OFF, STATE_ON async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): """Se...
MartinHjelmare/home-assistant
homeassistant/components/mysensors/cover.py
Python
apache-2.0
3,195
/* * Copyright 2012-2018 the original author or 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 ap...
hello2009chen/spring-boot
spring-boot-project/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/shell/RunProcessCommand.java
Java
apache-2.0
1,906
"""Tests for Airly."""
nkgilley/home-assistant
tests/components/airly/__init__.py
Python
apache-2.0
23
/** * This class is generated by jOOQ */ package io.cattle.platform.core.model.tables; /** * This class is generated by jOOQ. */ @javax.annotation.Generated(value = { "http://www.jooq.org", "3.3.0" }, comments = "This class is generated by jOOQ") @java.lang.SuppressWarnings({ "all", ...
sonchang/cattle
code/iaas/model/src/main/java/io/cattle/platform/core/model/tables/AgentTable.java
Java
apache-2.0
7,604
/* * Version.h * * Created on: Mar 9, 2017 * Author: eski */ #ifndef INC_VERSION_H_ #define INC_VERSION_H_ #define SDK_VERSION "2.0" #endif /* INC_VERSION_H_ */
commoninvestor/NanoleafHackathon
Examples/WeirdWheel/inc/Version.h
C
apache-2.0
177
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 1.0 Transitional//EN"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" href="../includes/main.css" type="text/css"> <l...
resmo/cloudstack-www
source/api/apidocs-4.2/user/deleteVpnCustomerGateway.html
HTML
apache-2.0
2,649
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 1.0 Transitional//EN"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" href="../includes/main.css" type="text/css"> <l...
resmo/cloudstack-www
source/api/apidocs-4.4/user/deleteIso.html
HTML
apache-2.0
2,844
/* * 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, software * distribut...
prestodb/presto
presto-ml/src/test/java/com/facebook/presto/ml/AbstractTestMLFunctions.java
Java
apache-2.0
1,068
/* * * 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 m...
adufilie/flex-sdk
mustella/tests/Managers/StyleManager/SparkStyles/SWFs/assets/globalStyles2.css
CSS
apache-2.0
1,045
/* * Copyright 2011 Google 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 to...
ajayanandgit/mod_pagespeed
pagespeed/system/system_thread_system.h
C
apache-2.0
1,776
import { expect } from 'chai'; import parse from 'url-parse'; import { buildDfpVideoUrl, buildAdpodVideoUrl } from 'modules/dfpAdServerVideo.js'; import adUnit from 'test/fixtures/video/adUnit.json'; import * as utils from 'src/utils.js'; import { config } from 'src/config.js'; import { targeting } from 'src/targeting...
prebid/Prebid.js
test/spec/modules/dfpAdServerVideo_spec.js
JavaScript
apache-2.0
21,329
partial_search Cookbook CHANGELOG ================================= This file is used to list changes made in each version of the partial_search cookbook. v1.0.6 ------ - **Hotfix** - Revert client-side caching bug v1.0.4 ------ ### New Feature - **[COOK-2584](https://tickets.opscode.com/browse/COOK-2584)** - Add c...
nfuentes/chef-glassfish-example
partial_search/CHANGELOG.md
Markdown
apache-2.0
504
# Copyright 2015 Google 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 to in writing,...
hanpanpan200/google-api-ruby-client
generated/google/apis/books_v1/service.rb
Ruby
apache-2.0
126,385
/* * Copyright 2017 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
droolsjbpm/jbpm
jbpm-services/jbpm-kie-services/src/test/java/org/jbpm/kie/test/objects/Building.java
Java
apache-2.0
720
#include <Wt/WApplication> #include <Wt/WStandardItemModel> #include <Wt/WTableView> #include "../treeview-dragdrop/CsvUtil.h" SAMPLE_BEGIN(SmallTableView) Wt::WTableView *tableView = new Wt::WTableView(); tableView->setModel(csvToModel(Wt::WApplication::appRoot() + "table.csv", tableView)); tableView->setC...
sanathkumarv/RestAPIWt
tools/wt-3.3.5-rc1/examples/widgetgallery/examples/SmallTableView.cpp
C++
apache-2.0
1,047
/* * 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 ...
samaitra/ignite
modules/core/src/main/java/org/apache/ignite/internal/client/util/GridClientConsistentHash.java
Java
apache-2.0
12,863
/* * 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...
MagicWiz/log4j2
log4j-api/src/test/java/org/apache/logging/log4j/AbstractLoggerTest.java
Java
apache-2.0
26,624
/* * Licensed to Metamarkets Group Inc. (Metamarkets) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Metamarkets licenses this file * to you under the Apache License, Version 2.0 (the * "License"); yo...
erikdubbelboer/druid
processing/src/main/java/io/druid/segment/data/SingleValueIndexedIntsWriter.java
Java
apache-2.0
1,515
/* * Copyright 2013 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
pleacu/jbpm
jbpm-services/jbpm-executor-cdi/src/test/java/org/jbpm/executor/cdi/ExecutorDatabaseProducer.java
Java
apache-2.0
1,548
// "Replace with 'Stream.mapToLong().sum()'" "true" import java.util.Collection; import java.util.List; class Test { void foo(List<List<String>> s) { long count = s.stream().peek(System.out::println).flatMap(Collection::stream).c<caret>ount(); } }
smmribeiro/intellij-community
java/java-tests/testData/inspection/inefficientStreamCount/beforePeekFlatMapCount.java
Java
apache-2.0
257
#!/usr/bin/env python import xml.etree.ElementTree as ET class brocade_ip_access_list(object): """Auto generated class. """ def __init__(self, **kwargs): self._callback = kwargs.pop('callback') def ip_acl_ip_access_list_standard_name(self, **kwargs): """Auto Generated Cod...
BRCDcomm/pynos
pynos/versions/ver_7/ver_7_1_0/yang/brocade_ip_access_list.py
Python
apache-2.0
93,629
#include "board.h" #include "uart.h" #include "app_util_platform.h" #include "nrf_drv_common.h" #include "nrf_systick.h" #include "nrf_rtc.h" #include "nrf_drv_clock.h" #include "softdevice_handler.h" #include "nrf_drv_uart.h" #include "nrf_gpio.h" #include <rtthread.h> #include <rthw.h> #if 0 /*********************...
igou/rt-thread
bsp/nrf52832/board/board.c
C
apache-2.0
6,920
// Copyright 2013 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 ...
bombless/rust
src/test/run-pass/deriving-cmp-generic-enum.rs
Rust
apache-2.0
1,453
cask "paragon-ntfs" do version "15" sha256 :no_check # required as upstream package is updated in-place url "https://dl.paragon-software.com/demo/ntfsmac#{version}_trial.dmg" name "Paragon NTFS for Mac" homepage "https://www.paragon-software.com/ufsdhome/ntfs-mac/" auto_updates true installer manual: "...
kingthorin/homebrew-cask
Casks/paragon-ntfs.rb
Ruby
bsd-2-clause
818
<?php /** * Zend Framework (http://framework.zend.com/) * * @link http://github.com/zendframework/zf2 for the canonical source repository * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ namespace ...
julianodecezaro/zf2
vendor/zendframework/zendframework/tests/ZendTest/Feed/Writer/Renderer/Entry/RssTest.php
PHP
bsd-3-clause
15,279
def test_is_generator_alias(): from nose.util import is_generator, isgenerator
DESHRAJ/fjord
vendor/packages/nose/unit_tests/test_issue_064.py
Python
bsd-3-clause
83
/* * Copyright 2008 Ayman Al-Sairafi ayman.alsairafi@gmail.com * * 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...
zqq90/webit-editor
src/main/java/jsyntaxpane/components/Markers.java
Java
bsd-3-clause
4,976
# The absolute import feature is required so that we get the root celery # module rather than `amo.celery`. from __future__ import absolute_import from inspect import isclass from celery.datastructures import AttributeDict from tower import ugettext_lazy as _ __all__ = ('LOG', 'LOG_BY_ID', 'LOG_KEEP',) class _LOG...
muffinresearch/addons-server
apps/amo/log.py
Python
bsd-3-clause
16,053
/****** Form Header File *******/ #ifndef FORM_H #define FORM_H /***** Shared Definitions *****/ #include "form.d" /***** Function Declarations *****/ PublicFnDecl FORM *FORM_read(char const *filename, int isBuffer); PublicFnDecl PAGE_Action FORM_handler( FORM *form, CUR_WINDOW *win, PAGE_Action action ); Publi...
MichaelJCaruso/vision
software/src/master/src/frontend/form.h
C
bsd-3-clause
1,149
// Copyright 2018 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 PPAPI_TESTS_TEST_TCP_SOCKET_PRIVATE_CRASH_H_ #define PPAPI_TESTS_TEST_TCP_SOCKET_PRIVATE_CRASH_H_ #include <string> #include "ppapi/c/pp_stdint....
scheib/chromium
ppapi/tests/test_tcp_socket_private_crash.h
C
bsd-3-clause
691
// Copyright 2013 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 "cc/scheduler/scheduler_settings.h" #include "cc/trees/layer_tree_settings.h" namespace cc { SchedulerSettings::SchedulerSettings() : begi...
boundarydevices/android_external_chromium_org
cc/scheduler/scheduler_settings.cc
C++
bsd-3-clause
2,639
// Copyright 2007 The Closure Library 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 requ...
scheib/chromium
third_party/google-closure-library/closure/goog/dom/pattern/sequence.js
JavaScript
bsd-3-clause
4,393
/* * Copyright (c) 2014, Facebook, Inc. * 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. * */ #pragma onc...
SEC-squad/osquery
osquery/remote/utility.h
C
bsd-3-clause
6,930
/** * PANDA 3D SOFTWARE * Copyright (c) Carnegie Mellon University. All rights reserved. * * All use of this software is subject to the terms of the revised BSD * license. You should have received a copy of this license along * with this source code in a file named "LICENSE." * * @file fltRecord.h * @author ...
chandler14362/panda3d
pandatool/src/flt/fltRecord.h
C
bsd-3-clause
3,311
// Copyright 2015 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 <stdint.h> #include <utility> #include <vector> #include "base/strings/string16.h" #include "content/common/content_export.h" #include "ipc/ipc...
hujiajie/chromium-crosswalk
content/common/dwrite_font_proxy_messages.h
C
bsd-3-clause
1,801
"""test a warning is triggered when using for a lists comprehension variable""" __revision__ = 'yo' TEST_LC = [C for C in __revision__ if C.isalpha()] print C # WARN C = 4 print C # this one shouldn't trigger any warning B = [B for B in __revision__ if B.isalpha()] print B # nor this one for var1, var2 in TEST_LC:...
dbbhattacharya/kitsune
vendor/packages/pylint/test/input/func_use_for_or_listcomp_var.py
Python
bsd-3-clause
560
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/ui/app_list/search/people/people_result.h" #include <vector> #include "base/bind.h" #include "base/memory/ref_counted.h" #inclu...
boundarydevices/android_external_chromium_org
chrome/browser/ui/app_list/search/people/people_result.cc
C++
bsd-3-clause
7,006
#include <set> #include <string> #include <math.h> #include <gtest/gtest.h> #include "agent.h" #include "bid.h" #include "bid_portfolio.h" #include "composition.h" #include "equality_helpers.h" #include "exchange_context.h" #include "facility.h" #include "material.h" #include "request.h" #include "request_portfolio.h...
rwcarlsen/cyclus
tests/resource_exchange_tests.cc
C++
bsd-3-clause
9,917
<?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 an...
sadeq89/smoothieme
tests/Zend/Loader/Autoloader/_files/models/Baz.php
PHP
bsd-3-clause
998
<!DOCTYPE html> <!-- DO NOT EDIT! This test has been generated by /html/canvas/tools/gentest.py. --> <title>OffscreenCanvas test: 2d.composite.uncovered.fill.copy</title> <script src="/resources/testharness.js"></script> <script src="/resources/testharnessreport.js"></script> <script src="/html/canvas/resources/canvas-...
scheib/chromium
third_party/blink/web_tests/external/wpt/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.copy.html
HTML
bsd-3-clause
1,169
// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_CHROME_PAGE_ZOOM_H_ #define CHROME_BROWSER_CHROME_PAGE_ZOOM_H_ #pragma once #include <vector> namespace chrome_page_zoom { /...
ropik/chromium
chrome/browser/chrome_page_zoom.h
C
bsd-3-clause
852
# Copyright 2017 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import py_utils from telemetry import story as story_module from telemetry.page import page as page_module from telemetry.page import shared_page_state clas...
chromium/chromium
tools/perf/contrib/leak_detection/page_sets.py
Python
bsd-3-clause
10,066
/* * Copyright (c) 2016, Alliance for Open Media. All rights reserved * * This source code is subject to the terms of the BSD 2 Clause License and * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License * was not distributed with this source code in the LICENSE file, you can * obtain it at w...
endlessm/chromium-browser
third_party/libaom/source/libaom/aom_dsp/x86/blend_sse4.h
C
bsd-3-clause
7,290
// libjingle // Copyright 2004 Google Inc. // // 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 conditions and the follo...
wangscript/libjingle-1
trunk/talk/media/devices/filevideocapturer.cc
C++
bsd-3-clause
12,792
package collectors import ( "encoding/json" "fmt" "net/http" "net/url" "strings" "bosun.org/metadata" "bosun.org/opentsdb" ) var ( rmqQueueStatusMap = map[string]int{ "running": 0, "syncing": 1, "flow": 2, "idle": 3, "down": 4, } ) const ( defaultRabbitmqURL string = "http://guest:guest...
augporto/bosun
cmd/scollector/collectors/rabbitmq.go
GO
mit
25,540
require "spec_helper" describe ProjectWiki, models: true do let(:project) { create(:empty_project) } let(:repository) { project.repository } let(:user) { project.owner } let(:gitlab_shell) { Gitlab::Shell.new } let(:project_wiki) { ProjectWiki.new(project, user) } subject { project_wiki } before { proje...
mr-dxdy/gitlabhq
spec/models/project_wiki_spec.rb
Ruby
mit
8,476
class StaticController < ApplicationController def guidelines @title = t('static.guidelines.title') end def guidelines_tips @title = t('static.guidelines_tips.title') end def faq @title = t('static.faq.title') end def thank_you backer = Backer.find session[:thank_you_backer_id] redi...
alexandred/catarse
app/controllers/static_controller.rb
Ruby
mit
983
// 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.Diagnostics; using System.Runtime.ExceptionServices; using System.Threading; using System.Threading.Tas...
Ermiar/corefx
src/System.Net.Sockets/src/System/Net/Sockets/MultipleConnectAsync.cs
C#
mit
18,925
package org.knowm.xchange.ccex.dto.account; import com.fasterxml.jackson.annotation.JsonProperty; import java.math.BigDecimal; public class CCEXBalance { private String Currency; private BigDecimal Balance; private BigDecimal Available; private BigDecimal Pending; private String CryptoAddress; public CC...
timmolter/XChange
xchange-ccex/src/main/java/org/knowm/xchange/ccex/dto/account/CCEXBalance.java
Java
mit
1,759
angular.module('ordercloud-address', []) .directive('ordercloudAddressForm', AddressFormDirective) .directive('ordercloudAddressInfo', AddressInfoDirective) .filter('address', AddressFilter) ; function AddressFormDirective(OCGeography) { return { restrict: 'E', scope: { addr...
Four51/OrderCloud-Seed-AngularJS
src/app/common/address/address.js
JavaScript
mit
1,620
#pragma once namespace graphic { class cCube { public: cCube(); cCube(const Vector3 &vMin, const Vector3 &vMax ); void SetCube(const Vector3 &vMin, const Vector3 &vMax ); void SetTransform( const Matrix44 &tm ); void SetColor( DWORD color); const Matrix44& GetTransform() const; const Vector3& GetMi...
sgajaejung/3D-Lecture-2
Shadow Study/base/cube.h
C
mit
823
// RUN: %clang_cc1 -verify -fopenmp=libiomp5 %s void foo() { } bool foobool(int argc) { return argc; } struct S1; // expected-note {{declared here}} template <class T, typename S, int N, int ST> // expected-note {{declared here}} T tmain(T argc, S **argv) { //expected-note 2 {{declared here}} #pragma omp parall...
Rapier-Foundation/rapier-script
src/rapierlang/test/OpenMP/parallel_for_collapse_messages.cpp
C++
mit
6,389
#!/bin/bash export ORIGINAL_PATH=`pwd` for name in builtin/* do if [ -d "${name}" ]; then echo ------------------------------------------ echo ${name} echo ------------------------------------------ cd ${name} # check if we have uncommit changes result=$(git cherr...
jarradh/nucliasm
utils/git-push.sh
Shell
mit
456
// ========================================================================== // SeqAn - The Library for Sequence Analysis // ========================================================================== // Copyright (c) 2006-2013, Knut Reinert, FU Berlin // All rights reserved. // // Redistribution and us...
wwood/fxtract
third_party/seqan-1.4.1/include/seqan/random/random_shuffle.h
C
mit
4,110
<?php /** * @author Mark van der Velden <mark@dynom.nl> */ namespace Faker\Test\Provider; use Faker; /** * Class ProviderOverrideTest * * @package Faker\Test\Provider * * This class tests a large portion of all locale specific providers. It does not test the entire stack, because each * locale...
i-chengl/Student-activity-management-system
vendor/fzaninotto/faker/test/Faker/Provider/ProviderOverrideTest.php
PHP
mit
5,228
<HTML> <HEAD> <TITLE> Changes in TIFF v3.6.0 </TITLE> </HEAD> <BODY BGCOLOR=white> <FONT FACE="Helvetica, Arial, Sans"> <FONT FACE="Helvetica, Arial, Sans"> <BASEFONT SIZE=4> <B><FONT SIZE=+3>T</FONT>IFF <FONT SIZE=+2>C</FONT>HANGE <FONT SIZE=+2>I</FONT>NFORMATION</B> <BASEFONT SIZE=3> <UL> <HR SIZE=4 WIDTH=65% ALI...
mbelicki/warp
libs/SDL_Image/external/tiff-4.0.8/html/v3.6.0.html
HTML
mit
16,777
// Approach: // // 1. Get the minimatch set // 2. For each pattern in the set, PROCESS(pattern, false) // 3. Store matches per-set, then uniq them // // PROCESS(pattern, inGlobStar) // Get the first [n] items from pattern that are all strings // Join these together. This is PREFIX. // If there is no more remaining, ...
ealbertos/dotfiles
vscode.symlink/extensions/ms-mssql.mssql-1.11.1/node_modules/glob/glob.js
JavaScript
mit
19,362
<?php /* * This file is part of the symfony package. * (c) 2004-2006 Fabien Potencier <fabien.potencier@symfony-project.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ /** * sfGeneratorManager helps generate classes, views a...
serg-smirnoff/symfony-pposter
symfony/lib/symfony/generator/sfGeneratorManager.class.php
PHP
mit
3,181
.noscript-two { color: blue; }
pingjiang/uncss
tests/selectors/unused/noscript.css
CSS
mit
33
require 'rails_helper' RSpec.describe "Stylesheets", type: :request do require "sprockets" let(:css) do assets = Rails.application.assets assets.find_asset("active_admin.css") end it "should successfully render the scss stylesheets using sprockets" do expect(css).to_not eq nil end it "should ...
cmunozgar/activeadmin
spec/requests/stylesheets_spec.rb
Ruby
mit
415
// Boost.Geometry (aka GGL, Generic Geometry Library) // Copyright (c) 2007-2012 Barend Gehrels, Amsterdam, the Netherlands. // Copyright (c) 2008-2012 Bruno Lalande, Paris, France. // Copyright (c) 2009-2012 Mateusz Loskot, London, UK. // Copyright (c) 2014 Adam Wulkiewicz, Lodz, Poland. // Parts of Boost.Geo...
nginnever/zogminer
tests/deps/boost/geometry/algorithms/correct.hpp
C++
mit
9,374