repo_name
stringlengths
4
116
path
stringlengths
3
942
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
RT-Thread/realboard-lpc4088
software/rtthread_examples/rtgui/doc/ANNOUNCE.0.6.1.md
1891
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...
gpl-2.0
keegan2149/magento
sites/default/app/code/core/Mage/Paypal/Block/Express/Form.php
2041
<?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...
gpl-2.0
gmuro/dolibarr
htdocs/includes/ckeditor/ckeditor/_source/plugins/elementspath/lang/si.js
291
/* 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 මුල' } );
gpl-3.0
blue-eyed-devil/testCMS
externals/highcharts/es-modules/parts/SplineSeries.js
8806
/* * * (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...
gpl-3.0
hryamzik/ansible
lib/ansible/modules/network/cnos/cnos_factory.py
5299
#!/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...
gpl-3.0
tyc85/nwsdr-3.6.3-dsc
gr-atsc/src/lib/qa_interleaver_fifo.h
1390
/* -*- 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...
gpl-3.0
tsdl2013/iBeebo
app/src/main/java/org/zarroboogs/weibo/dao/MapDao.java
2199
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...
gpl-3.0
kyro46/assMxGraphQuestion
templates/mxgraph/js/handler/mxHandle.js
7788
/** * 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...
gpl-3.0
PaulMcClernan/livecode
docs/notes/feature-mac64-deployment.md
255
# 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.**
gpl-3.0
GerHobbelt/htmltidy
test/input/in_593705.html
329
<!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>...
gpl-3.0
hwbehrens/livecode
docs/lcb/notes/14906.md
402
--- 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...
gpl-3.0
chinapacs/ImageViewer
Ris/Client/Admin/LocationEditorComponent.cs
6291
#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...
gpl-3.0
chinapacs/ImageViewer
ImageServer/Services/WorkQueue/CleanupReconcile/CleanupReconcileItemProcessor.cs
5141
#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...
gpl-3.0
pinkavaj/gnuradio
gr-dtv/lib/dvbt/dvbt_reference_signals_impl.cc
41320
/* -*- 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...
gpl-3.0
relipse/cworklog
public_html/js/yui/3.8.0/build/anim-scroll/anim-scroll.js
1067
/* 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...
gpl-3.0
RyanteckLTD/RTK-000-001-Controller
touchClient/js/sb-1.3.0.js
15832
/** * * 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...
gpl-3.0
oxtopus/nupic
ci/travis/before_install-osx.sh
1501
#!/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: # #...
gpl-3.0
sathieu/samba
source3/utils/ntlm_auth_proto.h
1648
/* * 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...
gpl-3.0
testdoron/ClearCanvas
Dicom/Samples/EditSop.cs
6331
#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...
gpl-3.0
bbansalWolfPack/servo
tests/wpt/web-platform-tests/service-workers/stub-3.1-service-worker-obj.html
1893
<!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...
mpl-2.0
status-im/status-go
vendor/github.com/ethereum/go-ethereum/p2p/netutil/addrutil.go
1106
// 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...
mpl-2.0
KadJ/amazon_sugar
modules/lm_FaxMan/metadata/SearchFields.php
3742
<?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 ...
agpl-3.0
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
59447
<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...
agpl-3.0
KadJ/amazon_sugar
upload/upload/upgrades/patch/SugarCE-Upgrade-6.5.x-to-6.5.9-restore/modules/Meetings/metadata/additionalDetails.php
3933
<?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 ...
agpl-3.0
nathanbwright/exercism.io
CODE_OF_CONDUCT.md
2392
# 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...
agpl-3.0
team-parasol/parasol
src/fluid/luajit-2.0.5/src/lib_io.c
13724
/* ** 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...
lgpl-2.1
aabadie/RIOT
cpu/cc2538/include/cc2538_gptimer.h
3721
/* * 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...
lgpl-2.1
yogo1212/RIOT
cpu/nrf52/include/cpu_conf.h
2224
/* * 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 ...
lgpl-2.1
yogo1212/RIOT
sys/net/network_layer/fib/fib.c
56622
/** * 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...
lgpl-2.1
kaseya/librsync
msg.c
2883
/*= -*- 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...
lgpl-2.1
Nishi-Inc/WorkflowSim-1.0
docs/org/cloudbus/cloudsim/distributions/LognormalDistr.html
11073
<!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...
lgpl-3.0
Samernieve/EnderIO
src/main/java/crazypants/enderio/machine/capbank/network/InventoryImpl.java
3083
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...
unlicense
tkpanther/ignite
modules/platforms/dotnet/Apache.Ignite.Core/Impl/Messaging/MessageListenerHolder.cs
5939
/* * 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 ...
apache-2.0
apache/cloudstack-www
source/api/apidocs-4.9/apis/extractIso.html
5014
<!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-2.0
cjwagner/test-infra
prow/plugins/milestoneapplier/milestoneapplier_test.go
5704
/* 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, ...
apache-2.0
bit1129/open-source-projects
src/java/test/org/apache/zookeeper/server/quorum/WatchLeakTest.java
12847
/** * 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 ...
apache-2.0
ykbarros/aws-sdk-xamarin
AWS.XamarinSDK/AWSSDK_iOS/Amazon.DynamoDBv2/Model/Internal/MarshallTransformations/GlobalSecondaryIndexMarshaller.cs
3183
/* * 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...
apache-2.0
smalenfant/traffic_control
traffic_ops/app/db/migrations/20160603084204_add_logs_enabled.sql
278
-- +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;
apache-2.0
flingone/frameworks_base_cmds_remoted
libs/boost/libs/math/src/tr1/nexttowardl.cpp
727
// 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 #...
apache-2.0
MartinHjelmare/home-assistant
homeassistant/components/mysensors/cover.py
3195
"""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...
apache-2.0
hello2009chen/spring-boot
spring-boot-project/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/shell/RunProcessCommand.java
1906
/* * 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...
apache-2.0
nkgilley/home-assistant
tests/components/airly/__init__.py
23
"""Tests for Airly."""
apache-2.0
sonchang/cattle
code/iaas/model/src/main/java/io/cattle/platform/core/model/tables/AgentTable.java
7604
/** * 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", ...
apache-2.0
commoninvestor/NanoleafHackathon
Examples/WeirdWheel/inc/Version.h
177
/* * 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_ */
apache-2.0
resmo/cloudstack-www
source/api/apidocs-4.2/user/deleteVpnCustomerGateway.html
2649
<!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-2.0
resmo/cloudstack-www
source/api/apidocs-4.4/user/deleteIso.html
2844
<!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-2.0
prestodb/presto
presto-ml/src/test/java/com/facebook/presto/ml/AbstractTestMLFunctions.java
1068
/* * 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...
apache-2.0
adufilie/flex-sdk
mustella/tests/Managers/StyleManager/SparkStyles/SWFs/assets/globalStyles2.css
1045
/* * * 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...
apache-2.0
ajayanandgit/mod_pagespeed
pagespeed/system/system_thread_system.h
1776
/* * 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...
apache-2.0
prebid/Prebid.js
test/spec/modules/dfpAdServerVideo_spec.js
21329
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...
apache-2.0
nfuentes/chef-glassfish-example
partial_search/CHANGELOG.md
504
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...
apache-2.0
hanpanpan200/google-api-ruby-client
generated/google/apis/books_v1/service.rb
126385
# 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,...
apache-2.0
droolsjbpm/jbpm
jbpm-services/jbpm-kie-services/src/test/java/org/jbpm/kie/test/objects/Building.java
720
/* * 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...
apache-2.0
sanathkumarv/RestAPIWt
tools/wt-3.3.5-rc1/examples/widgetgallery/examples/SmallTableView.cpp
1047
#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...
apache-2.0
samaitra/ignite
modules/core/src/main/java/org/apache/ignite/internal/client/util/GridClientConsistentHash.java
12863
/* * 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 ...
apache-2.0
MagicWiz/log4j2
log4j-api/src/test/java/org/apache/logging/log4j/AbstractLoggerTest.java
26624
/* * 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...
apache-2.0
erikdubbelboer/druid
processing/src/main/java/io/druid/segment/data/SingleValueIndexedIntsWriter.java
1515
/* * 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...
apache-2.0
pleacu/jbpm
jbpm-services/jbpm-executor-cdi/src/test/java/org/jbpm/executor/cdi/ExecutorDatabaseProducer.java
1548
/* * 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...
apache-2.0
smmribeiro/intellij-community
java/java-tests/testData/inspection/inefficientStreamCount/beforePeekFlatMapCount.java
257
// "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(); } }
apache-2.0
BRCDcomm/pynos
pynos/versions/ver_7/ver_7_1_0/yang/brocade_ip_access_list.py
93629
#!/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...
apache-2.0
igou/rt-thread
bsp/nrf52832/board/board.c
6920
#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 /*********************...
apache-2.0
bombless/rust
src/test/run-pass/deriving-cmp-generic-enum.rs
1453
// 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 ...
apache-2.0
kingthorin/homebrew-cask
Casks/paragon-ntfs.rb
818
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: "...
bsd-2-clause
julianodecezaro/zf2
vendor/zendframework/zendframework/tests/ZendTest/Feed/Writer/Renderer/Entry/RssTest.php
15279
<?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 ...
bsd-3-clause
DESHRAJ/fjord
vendor/packages/nose/unit_tests/test_issue_064.py
83
def test_is_generator_alias(): from nose.util import is_generator, isgenerator
bsd-3-clause
zqq90/webit-editor
src/main/java/jsyntaxpane/components/Markers.java
4976
/* * 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...
bsd-3-clause
muffinresearch/addons-server
apps/amo/log.py
16053
# 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...
bsd-3-clause
MichaelJCaruso/vision
software/src/master/src/frontend/form.h
1149
/****** 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...
bsd-3-clause
scheib/chromium
ppapi/tests/test_tcp_socket_private_crash.h
691
// 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....
bsd-3-clause
boundarydevices/android_external_chromium_org
cc/scheduler/scheduler_settings.cc
2639
// 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...
bsd-3-clause
scheib/chromium
third_party/google-closure-library/closure/goog/dom/pattern/sequence.js
4393
// 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...
bsd-3-clause
SEC-squad/osquery
osquery/remote/utility.h
6930
/* * 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...
bsd-3-clause
chandler14362/panda3d
pandatool/src/flt/fltRecord.h
3311
/** * 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 ...
bsd-3-clause
hujiajie/chromium-crosswalk
content/common/dwrite_font_proxy_messages.h
1801
// 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...
bsd-3-clause
dbbhattacharya/kitsune
vendor/packages/pylint/test/input/func_use_for_or_listcomp_var.py
560
"""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:...
bsd-3-clause
boundarydevices/android_external_chromium_org
chrome/browser/ui/app_list/search/people/people_result.cc
7006
// 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...
bsd-3-clause
rwcarlsen/cyclus
tests/resource_exchange_tests.cc
9917
#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...
bsd-3-clause
sadeq89/smoothieme
tests/Zend/Loader/Autoloader/_files/models/Baz.php
998
<?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...
bsd-3-clause
scheib/chromium
third_party/blink/web_tests/external/wpt/html/canvas/offscreen/compositing/2d.composite.uncovered.fill.copy.html
1169
<!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-...
bsd-3-clause
ropik/chromium
chrome/browser/chrome_page_zoom.h
852
// 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 { /...
bsd-3-clause
chromium/chromium
tools/perf/contrib/leak_detection/page_sets.py
10066
# 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...
bsd-3-clause
endlessm/chromium-browser
third_party/libaom/source/libaom/aom_dsp/x86/blend_sse4.h
7290
/* * 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...
bsd-3-clause
wangscript/libjingle-1
trunk/talk/media/devices/filevideocapturer.cc
12792
// 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...
bsd-3-clause
augporto/bosun
cmd/scollector/collectors/rabbitmq.go
25540
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...
mit
mr-dxdy/gitlabhq
spec/models/project_wiki_spec.rb
8476
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...
mit
alexandred/catarse
app/controllers/static_controller.rb
983
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...
mit
Ermiar/corefx
src/System.Net.Sockets/src/System/Net/Sockets/MultipleConnectAsync.cs
18925
// 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...
mit
timmolter/XChange
xchange-ccex/src/main/java/org/knowm/xchange/ccex/dto/account/CCEXBalance.java
1759
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...
mit
Four51/OrderCloud-Seed-AngularJS
src/app/common/address/address.js
1620
angular.module('ordercloud-address', []) .directive('ordercloudAddressForm', AddressFormDirective) .directive('ordercloudAddressInfo', AddressInfoDirective) .filter('address', AddressFilter) ; function AddressFormDirective(OCGeography) { return { restrict: 'E', scope: { addr...
mit
sgajaejung/3D-Lecture-2
Shadow Study/base/cube.h
823
#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...
mit
Rapier-Foundation/rapier-script
src/rapierlang/test/OpenMP/parallel_for_collapse_messages.cpp
6389
// 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...
mit
jarradh/nucliasm
utils/git-push.sh
456
#!/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...
mit
wwood/fxtract
third_party/seqan-1.4.1/include/seqan/random/random_shuffle.h
4110
// ========================================================================== // SeqAn - The Library for Sequence Analysis // ========================================================================== // Copyright (c) 2006-2013, Knut Reinert, FU Berlin // All rights reserved. // // Redistribution and us...
mit
i-chengl/Student-activity-management-system
vendor/fzaninotto/faker/test/Faker/Provider/ProviderOverrideTest.php
5228
<?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...
mit
mbelicki/warp
libs/SDL_Image/external/tiff-4.0.8/html/v3.6.0.html
16777
<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...
mit
ealbertos/dotfiles
vscode.symlink/extensions/ms-mssql.mssql-1.11.1/node_modules/glob/glob.js
19362
// 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, ...
mit
serg-smirnoff/symfony-pposter
symfony/lib/symfony/generator/sfGeneratorManager.class.php
3181
<?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...
mit
pingjiang/uncss
tests/selectors/unused/noscript.css
33
.noscript-two { color: blue; }
mit
cmunozgar/activeadmin
spec/requests/stylesheets_spec.rb
415
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 ...
mit
nginnever/zogminer
tests/deps/boost/geometry/algorithms/correct.hpp
9374
// 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...
mit