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 |
|---|---|---|---|---|---|
#!/bin/sh
#
# Added in support of https://github.com/Unidata/netcdf-c/gh425 and
# https://github.com/Unidata/netcdf-c/gh469
#
# The output isn't validated, but the regression it is fixing fails on nccopy.
#
if test "x$srcdir" = x ; then srcdir=`pwd`; fi
. ../test_common.sh
# For a netCDF-3 build, test nccopy on netCD... | Unidata/netcdf-c | ncdump/tst_nccopy3_subset.sh | Shell | bsd-3-clause | 883 |
<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1295998">
<div id="outer" style="columns:2; column-fill:auto; height:50px;">
<div id="inner" style="columns:2; padding-top:51px; column-fill:au... | chromium/chromium | third_party/blink/web_tests/external/wpt/css/css-multicol/crashtests/nested-with-tall-padding-and-oof.html | HTML | bsd-3-clause | 397 |
// Copyright (c) 2006-2008 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_AUTOMATION_AUTOMATION_PROVIDER_LIST_H_
#define CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_LIST_H_
#pragma once
#includ... | aYukiSekiguchi/ACCESS-Chromium | chrome/browser/automation/automation_provider_list.h | C | bsd-3-clause | 1,260 |
/*
* Copyright (c) 2013 Chun-Ying Huang
*
* This file is part of GamingAnywhere (GA).
*
* GA is free software; you can redistribute it and/or modify it
* under the terms of the 3-clause BSD License as published by the
* Free Software Foundation: http://directory.fsf.org/wiki/License:BSD_3Clause
*
* GA is distr... | yunyu-Mr/gaminganywhere | ga/server/event-posix/sdl12-audio.h | C | bsd-3-clause | 2,182 |
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "media/filters/audio_renderer_algorithm.h"
#include <algorithm>
#include <cmath>
#include "base/logging.h"
#include "media/base/audio_bus.h... | guorendong/iridium-browser-ubuntu | media/filters/audio_renderer_algorithm.cc | C++ | bsd-3-clause | 15,043 |
// Copyright 2015 The Crashpad 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 ... | js0701/chromium-crosswalk | third_party/crashpad/crashpad/client/crashpad_client_win.cc | C++ | bsd-3-clause | 18,374 |
<!DOCTYPE html>
<!-- DO NOT EDIT! This test has been generated by /html/canvas/tools/gentest.py. -->
<title>OffscreenCanvas test: 2d.shadow.outside</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/html/canvas/resources/canvas-tests.js"></scr... | scheib/chromium | third_party/blink/web_tests/external/wpt/html/canvas/offscreen/shadows/2d.shadow.outside.html | HTML | bsd-3-clause | 1,431 |
// 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.
#ifndef CHROME_BROWSER_POWER_PROCESS_POWER_COLLECTOR_H_
#define CHROME_BROWSER_POWER_PROCESS_POWER_COLLECTOR_H_
#include <map>
#include "base/macros.h"
... | js0701/chromium-crosswalk | chrome/browser/power/process_power_collector.h | C | bsd-3-clause | 4,960 |
// Copyright 2020 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 BASE_TRACING_PERFETTO_PLATFORM_H_
#define BASE_TRACING_PERFETTO_PLATFORM_H_
#include "third_party/perfetto/include/perfetto/tracing/platform.h"
... | ric2b/Vivaldi-browser | chromium/base/tracing/perfetto_platform.h | C | bsd-3-clause | 2,051 |
// RUN: %clang_cc1 -triple x86_64-pc-linux -emit-llvm %s -o - | FileCheck %s
extern void foo_alias (void) __asm ("foo");
inline void foo (void) {
return foo_alias ();
}
extern int abs_alias (int) __asm ("abs");
inline __attribute__ ((__always_inline__)) int abs (int x) {
return abs_alias(x);
}
extern char *strrchr... | endlessm/chromium-browser | third_party/llvm/clang/test/CodeGen/pr9614.c | C | bsd-3-clause | 1,310 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>TibiaAPI: Member List</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Genera... | gareox/tibiaapi | documentation/struct_tibia_1_1_objects_1_1_client_path_info-members.html | HTML | mit | 3,963 |
/*
* Copyright (C) 2012 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 ... | RomzesRover/HoloEverywhere | library/src/org/holoeverywhere/widget/datetimepicker/TouchExplorationHelper.java | Java | mit | 17,677 |
<?php
namespace Oro\Bundle\MigrationBundle\Tests\Unit\Event;
use Oro\Bundle\MigrationBundle\Event\MigrationEvent;
class MigrationEventTest extends \PHPUnit_Framework_TestCase
{
/**
* @var MigrationEvent
*/
protected $migrationEvent;
protected $connection;
protected function setUp()
{
... | MarkThink/OROCRM | vendor/oro/platform/src/Oro/Bundle/MigrationBundle/Tests/Unit/Event/MigrationEventTest.php | PHP | mit | 1,781 |
// Copyright (c) 2015 GitHub, Inc.
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.
#include "atom/browser/api/frame_subscriber.h"
#include "atom/common/node_includes.h"
#include "base/bind.h"
#include "media/base/video_frame.h"
#include "media/base/yuv_convert.h"
n... | ankitaggarwal011/electron | atom/browser/api/frame_subscriber.cc | C++ | mit | 2,252 |
<p>This is about</p> | nolazybits/ui-router-addons | sample_app/app/js/main/templates/about.tpl.html | HTML | mit | 20 |
/**
@module ember
@submodule ember-htmlbars
*/
import isEnabled from 'ember-metal/features';
import { keyword } from 'htmlbars-runtime/hooks';
import closureAction from 'ember-routing-htmlbars/keywords/closure-action';
/**
The `{{action}}` helper provides a useful shortcut for registering an HTML
element within a... | XrXr/ember.js | packages/ember-routing-htmlbars/lib/keywords/action.js | JavaScript | mit | 5,218 |
/*
* WYMeditor : what you see is What You Mean web-based editor
* Copyright (c) 2005 - 2009 Jean-Francois Hovinne, http://www.wymeditor.org/
* Dual licensed under the MIT (MIT-license.txt)
* and GPL (GPL-license.txt) licenses.
*
* For further information visit:
* http://www.wymeditor.org/
*
* File Name:... | samuelcole/wymeditor | src/wymeditor/plugins/fullscreen/jquery.wymeditor.fullscreen.js | JavaScript | mit | 4,141 |
/**
******************************************************************************
* @file stm32f30x_rcc.c
* @author MCD Application Team
* @version V1.2.2
* @date 27-February-2015
* @brief This file provides firmware functions to manage the following
* functionalities of the Reset and ... | bitmarker/STM32F3_IAR_Template | stm32f3/simple/Libraries/STM32F30x_StdPeriph_Driver/src/stm32f30x_rcc.c | C | mit | 73,915 |
// 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.Globalization;
namespace System.Numerics
{
/// <summary>
/// A structure encapsulating a four-... | BrennanConroy/corefx | src/System.Numerics.Vectors/src/System/Numerics/Quaternion.cs | C# | mit | 28,547 |
define("ace/snippets/plain_text",["require","exports","module"], function(require, exports, module) {
"use strict";
exports.snippetText = "";
exports.scope = "plain_text";
});
(function() {
window.require(["ace/snippets/plain_text"], function(m) {
if (typeof... | NPellet/jsGraph | web/site/js/ace-builds/src/snippets/plain_text.js | JavaScript | mit | 515 |
#
# This file is part of pyasn1 software.
#
# Copyright (c) 2005-2017, Ilya Etingof <etingof@gmail.com>
# License: http://pyasn1.sf.net/license.html
#
from pyasn1.type import univ
from pyasn1.codec.cer import decoder
__all__ = ['decode']
class BitStringDecoder(decoder.BitStringDecoder):
supportConstructedForm = ... | saurabhbajaj207/CarpeDiem | venv/Lib/site-packages/pyasn1/codec/der/decoder.py | Python | mit | 2,169 |
<?php
namespace Symfony\Component\Workflow\Tests;
use PHPUnit\Framework\TestCase;
use Symfony\Component\EventDispatcher\EventDispatcher;
use Symfony\Component\Workflow\Definition;
use Symfony\Component\Workflow\Event\Event;
use Symfony\Component\Workflow\Event\GuardEvent;
use Symfony\Component\Workflow\Marking;
use S... | dionisrbfx/test-task | vendor/symfony/symfony/src/Symfony/Component/Workflow/Tests/WorkflowTest.php | PHP | mit | 14,912 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
//
// This... | JasonYang-MSFT/azure-sdk-for-net | src/SDKs/Batch/dataPlane/Client/Src/Azure.Batch/Generated/JobScheduleExecutionInformation.cs | C# | mit | 2,757 |
module Fastlane
module Actions
class SetChangelogAction < Action
def self.run(params)
require 'spaceship'
UI.message("Login to iTunes Connect (#{params[:username]})")
Spaceship::Tunes.login(params[:username])
Spaceship::Tunes.select_team
UI.message("Login successful"... | powtac/fastlane | fastlane/lib/fastlane/actions/set_changelog.rb | Ruby | mit | 6,720 |
<html><!-- Created using the cpp_pretty_printer from the dlib C++ library. See http://dlib.net for updates. --><head><title>dlib C++ Library - scoped_ptr.h</title></head><body bgcolor='white'><pre>
<font color='#009900'>// Copyright (C) 2007 Davis E. King (davis@dlib.net)
</font><font color='#009900'>// License: Boos... | eldilibra/mudsling | include/dlib-18.9/docs/dlib/smart_pointers/scoped_ptr.h.html | HTML | mit | 14,284 |
/*
* Copyright (c) 2017, SLikeSoft UG (haftungsbeschränkt)
*
* This source code is licensed under the MIT-style license found in the
* license.txt file in the root directory of this source tree.
*
*
* Header file redirection to keep source compatibility with RakNet 4.082.
*/
#include "../include/slikenet/S... | lcs2/carpg | external/SLikeNet/Source/slikenet/SendToThread.h | C | mit | 336 |
package net.sf.jabref.gui.renderer;
import java.awt.Color;
import java.awt.Component;
import javax.swing.Icon;
import javax.swing.JLabel;
import javax.swing.JTable;
import javax.swing.table.DefaultTableCellRenderer;
/**
* Renderer for table cells, which supports both Icons, JLabels and plain text.
*/
public class ... | Mr-DLib/jabref | src/main/java/net/sf/jabref/gui/renderer/GeneralRenderer.java | Java | mit | 2,732 |
<?php
defined('C5_EXECUTE') or die("Access Denied.");
class DashboardFilesController extends Controller {
public function view() {
$this->redirect('/dashboard/files/search');
}
}
?> | homer6/concrete5 | concrete/controllers/dashboard/files/controller.php | PHP | mit | 191 |
// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
#include <iostream>
#include <memory>
#include <vector>
#include <v8.h>
#include <node.h>
#include "db/_wrapper.h"
#include "rocksdb/db.h"
#include "rocksdb/options.h"
#include "rocksdb/slice.h"
namespace {
void printWithBackSlashes(std::strin... | TeamSPoon/logicmoo_workspace | packs_lib/rocksdb/rocksdb/tools/rdb/db_wrapper.cc | C++ | mit | 16,625 |
<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Console\Tests\Helper;
use Symfony\Component\Console\H... | bijen/nform | vendor/symfony/symfony/src/Symfony/Component/Console/Tests/Helper/HelperSetTest.php | PHP | mit | 5,217 |
# Copyright (c) 2010-2013 Michael Dvorkin
#
# Awesome Print is freely distributable under the terms of MIT license.
# See LICENSE file or http://www.opensource.org/licenses/mit-license.php
#------------------------------------------------------------------------------
module AwesomePrint
module ActiveRecord
def ... | mnishiguchi/moving_estimator | vendor/cache/ruby/2.2.0/gems/awesome_print-1.6.1/lib/awesome_print/ext/active_record.rb | Ruby | mit | 2,780 |
/*
* This file is part of Sponge, licensed under the MIT License (MIT).
*
* Copyright (c) SpongePowered <https://www.spongepowered.org>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Softwar... | ryantheleach/SpongeCommon | src/main/java/org/spongepowered/common/mixin/api/event/cause/damage/MixinAbstractEntityDamageSource.java | Java | mit | 3,622 |
/**
* Copyright (c) 2014-2017 by the respective copyright holders.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*/
pa... | AchimHentschel/smarthome | extensions/transform/org.eclipse.smarthome.transform.regex.test/src/test/java/org/eclipse/smarthome/transform/regex/internal/AbstractTransformationServiceTest.java | Java | epl-1.0 | 2,197 |
/**
* Copyright (c) 2014-2016 by the respective copyright holders.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*/... | steand/openhab2-addons | addons/binding/org.openhab.binding.samsungtv/src/main/java/org/openhab/binding/samsungtv/internal/service/DataConverters.java | Java | epl-1.0 | 3,110 |
/* Declarations for System V style searching functions.
Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public License as
publishe... | ysleu/RTL8685 | uClinux-dist/lib/libc/include/search.h | C | gpl-2.0 | 4,395 |
/* 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 ... | MaddTheSane/scummvm | backends/timer/psp/timer.h | C | gpl-2.0 | 1,555 |
/* MD5C.C - RSA Data Security, Inc., MD5 message-digest algorithm
*/
/* Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All
rights reserved.
License to copy and use this software is granted provided that it
is identified as the "RSA Data Security, Inc. MD5 Message-Digest
Algorithm" in all mat... | reille/proj_ecos | src/ecos/packages/net/athttpd/current/src/md5c.c | C | gpl-2.0 | 10,682 |
#ifndef CYGONCE_LIBM_ASIN_H
#define CYGONCE_LIBM_ASIN_H
//===========================================================================
//
// asin.h
//
// Test vectors for testing of asin() math library function
//
//===========================================================================
// ####ECOSGPLCOPYR... | reille/proj_ecos | src/ecos/packages/language/c/libm/current/tests/vectors/asin.h | C | gpl-2.0 | 109,164 |
<?php
/**
* ARC2 RDF/JSON Serializer
*
* @author Benjamin Nowack <bnowack@semsol.com>
* @license W3C Software License and GPL
* @homepage <https://github.com/semsol/arc2>
* @package ARC2
*/
ARC2::inc('RDFSerializer');
class ARC2_RDFJSONSerializer extends ARC2_RDFSerializer {
function __construct($a, &$caller... | avatarr8/apeoplesguide7 | sites/all/libraries/ARC2/arc/serializers/ARC2_RDFJSONSerializer.php | PHP | gpl-2.0 | 2,678 |
#include <stdio.h>
#include <unistd.h>
/*
* Wrap the kernel time call so that it also
* returns a time_t (longlong). The kernel ABI
* doesn't deal in 64bit return values.
*/
int stime(const time_t *t)
{
__ktime_t tmp;
tmp.time = *t;
#if defined(NO_64BIT)
tmp.pad = 0;
#endif
return _stime(&tmp, 0);
}
| NoSuchProcess/FUZIX | Library/libs/stime.c | C | gpl-2.0 | 314 |
/***************************************************************************
qgsmesh3dsymbol.cpp
-------------------
Date : January 2019
Copyright : (C) 2019 by Peter Petrik
Email : zilolv at gmail dot com
*************************************************************... | mhugo/QGIS | src/3d/symbols/qgsmesh3dsymbol.cpp | C++ | gpl-2.0 | 2,812 |
<?php
/*
+--------------------------------------------------------------------+
| CiviCRM version 4.4 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2013 |
+---------------------... | lizmestres/bf | sites/all/modules/civicrm/CRM/Event/Import/Field.php | PHP | gpl-2.0 | 4,202 |
# SPDX-License-Identifier: GPL-2.0
# Copyright (c) 2015 Stephen Warren
# Copyright (c) 2015-2016, NVIDIA CORPORATION. All rights reserved.
import pytest
import u_boot_utils
@pytest.mark.buildconfigspec('cmd_memory')
def test_md(u_boot_console):
"""Test that md reads memory as expected, and that memory can be modi... | Digilent/u-boot-digilent | test/py/tests/test_md.py | Python | gpl-2.0 | 1,426 |
<?php
class INBOUND_InvalidArgumentException extends BaseInvalidArgumentException
{
public static function fileNotExists($fileName)
{
return new static(sprintf('File "%s" does not exist', $fileName));
}
}
| sugarday/urol | wp-content/plugins/leads/shared/tracking/sources/Snowplow/RefererParser/Exception/INBOUND_InvalidArgumentException.php | PHP | gpl-2.0 | 226 |
/* Copyright (c) 2006, 2015, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 of the License.
This program is distributed in t... | ltangvald/mysql | mysys/lf_hash.c | C | gpl-2.0 | 22,119 |
<div id="preview">
<div id="preview-header">
<div id="preview-logo"><img src="../../../themes/beta/logo.png" alt="Site Logo" /></div>
<div id="preview-site-name"><a>Site Title - Beta</a></div>
<div id="preview-site-slogan">An awesome site slogan about the stuff we do...</div>
</div>
<div id="pre... | lueimg/f4k16 | sites/default/themes/toronto/color/preview.html | HTML | gpl-2.0 | 2,610 |
/****************************************************************************
****************************************************************************
***
*** This header was automatically generated from a Linux kernel header
*** of the same name, to make information necessary for userspace to
*** call i... | infraredbg/Lenovo_A820_kernel_kk | bionic/libc/kernel/common/linux/netfilter_ipv4/ipt_state.h | C | gpl-2.0 | 1,374 |
<?php
namespace libphonenumber;
class CountryCodeToRegionCodeMapForTesting {
public static $countryCodeToRegionCodeMap = array(
1 => array('US', 'BS'),
39 => array('IT'),
44 => array('GB'),
48 => array('PL'),
49 => array('DE'),
52 => array('MX'),
54 => array('AR'),
55 => array('BR'),
61 => array('... | gowriabhaya/ghnV2 | sites/all/libraries/libphonenumber-for-php/CountryCodeToRegionCodeMapForTesting.php | PHP | gpl-2.0 | 532 |
/*
* Copyright (c) 2003, 2018, 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 ... | md-5/jdk10 | test/hotspot/jtreg/vmTestbase/nsk/jvmti/unit/MethodBind/JvmtiTest.java | Java | gpl-2.0 | 3,467 |
/*
* Copyright (c) 2001, 2018, 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 ... | md-5/jdk10 | test/hotspot/jtreg/vmTestbase/nsk/jdwp/ThreadReference/Status/status001a.java | Java | gpl-2.0 | 4,657 |
include(FindPkgConfig OPTIONAL)
# This is a hack to deal with Ubuntu's mess.
# Ubuntu's version of glew is 1.8, but they have patched in most of glew 1.9.
# So Ubuntu's version works for dolphin.
macro(test_glew)
set(CMAKE_REQUIRED_INCLUDES ${GLEW_INCLUDE_DIRS})
set(CMAKE_REQUIRED_LIBRARIES GLEW)
check_cxx_source_r... | skidau/dolphin | CMakeTests/FindGLEW.cmake | CMake | gpl-2.0 | 700 |
<?php
/*
Implementation of the get-php-details verb.
Written by Chris Jean for iThemes.com
Version 1.1.0
Version History
1.0.0 - 2013-11-14 - Chris Jean
Initial version
1.1.0 - 2014-01-20 - Chris Jean
Added $status_element_name and $show_in_status_by_default.
*/
class Ithemes_Sync_Verb_Get_PHP_Details extends... | annmcdermott/mcrrcsenecagre | wp-content/plugins/ithemes-sync/verbs/get-php-details.php | PHP | gpl-2.0 | 832 |
/*
* perm.h - header for at(1)
* Copyright (C) 1994 Thomas Koenig
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any lat... | rhuitl/uClinux | user/at/perm.h | C | gpl-2.0 | 813 |
# -*- coding: utf-8 -*-
import sys
import json
import binascii
import xbmc
from lib.yd_private_libs import util, servicecontrol, jsonqueue
sys.path.insert(0, util.MODULE_PATH)
import YDStreamExtractor # noqa E402
import threading # noqa E402
class Service(xbmc.Monitor):
def __init__(self):
self.download... | mrquim/mrquimrepo | script.module.youtube.dl/service.py | Python | gpl-2.0 | 2,091 |
-----------------------------------------
-- ID: 5984
-- Item: Branch of Gnatbane
-- Food Effect: 10 Mins, All Races
-----------------------------------------
-- Poison 10HP / 3Tic
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
---... | UnknownX7/darkstar | scripts/globals/items/branch_of_gnatbane.lua | Lua | gpl-3.0 | 937 |
/* -*- 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 opti... | trnewman/VT-USRP-daughterboard-drivers | gnuradio-core/src/lib/filter/qa_filter.h | C | gpl-3.0 | 1,101 |
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following lice... | sbbic/core | xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/sxc/package-info.java | Java | gpl-3.0 | 1,005 |
/* aacgm.h
=======
Author: R.J.Barnes
*/
/*
LICENSE AND DISCLAIMER
Copyright (c) 2012 The Johns Hopkins University/Applied Physics Laboratory
This file is part of the Radar Software Toolkit (RST).
RST is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General... | garimamalhotra/davitpy | models/aacgm/aacgm.h | C | gpl-3.0 | 1,103 |
/*
* Register map access API internal header
*
* Copyright 2011 Wolfson Microelectronics plc
*
* Author: Mark Brown <broonie@opensource.wolfsonmicro.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 t... | sdphome/UHF_Reader | linux-3.14.52/drivers/base/regmap/internal.h | C | gpl-3.0 | 6,699 |
/* If you use ICU in your program, then compile with -DHAVE_ICU -licui18n. If
* you don't use ICU, then this will use the Google implementation from Chrome.
* This has been modified from the original version to let you choose.
*/
// Copyright 2008, Google Inc.
// All rights reserved.
//
// Redistribution and use i... | vchahun/kenlm | util/string_piece.hh | C++ | gpl-3.0 | 8,829 |
define(["dojo/_base/declare", "dojox/app/ViewBase", "dijit/form/Button"],
function(declare, ViewBase, Button){
return declare([Button, ViewBase], {
postscript: function(){
// we want to avoid kickin the Dijit lifecycle at ctor time so that definition has been mixed into the
// widget when it is instanciat... | avz-cmf/zaboy-middleware | www/js/dojox/app/tests/customApp/WidgetView2.js | JavaScript | gpl-3.0 | 475 |
/*
* Copyright (c) 2015-2016 Dmitry V. Levin <ldv@altlinux.org>
* Copyright (c) 2015-2017 The strace developers.
* 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 s... | mgood7123/UPM | Sources/strace/tests/sendfile64.c | C | gpl-3.0 | 4,220 |
/*
** Ext.ux.upload.LogPanel.js for Ext.ux.upload
**
** Made by Gary van Woerkens
** Contact <gary@chewam.com>
**
** Started on Fri Jun 4 19:01:47 2010 Gary van Woerkens
** Last update Mon Jun 21 13:48:39 2010 Gary van Woerkens
*/
Ext.ns('Ext.ux.upload');
/**
* @class Ext.ux.upload.LogPanel
* @extends Ext.Panel
... | mbarto/mapstore | mapcomposer/app/static/externals/mapmanager/src/Ext.ux/Ext.ux.filebrowser/js/Ext.ux.upload/js/Ext.ux.upload.LogPanel.js | JavaScript | gpl-3.0 | 5,605 |
// Copyright (c) 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/extensions/api/identity/gaia_web_auth_flow.h"
#include <vector>
#include "base/message_loop/message_loop.h"
#include "base/... | geminy/aidear | oss/qt/qt-everywhere-opensource-src-5.9.0/qtwebengine/src/3rdparty/chromium/chrome/browser/extensions/api/identity/gaia_web_auth_flow_unittest.cc | C++ | gpl-3.0 | 8,853 |
/*
* jcmaster.h
*
* This file was part of the Independent JPEG Group's software:
* Copyright (C) 1991-1997, Thomas G. Lane.
* mozjpeg Modifications:
* Copyright (C) 2014, Mozilla Corporation.
* For conditions of distribution and use, see the accompanying README file.
*
* This file contains the master control s... | cedewey/sol | wp-content/themes/gulp-dev/node_modules/mozjpeg/f47f5773-89ce-4b83-810e-48145ecc3389/jcmaster.h | C | gpl-3.0 | 1,903 |
/**
* This Source Code Form is subject to the terms of the Mozilla Public License,
* v. 2.0. If a copy of the MPL was not distributed with this file, You can
* obtain one at http://mozilla.org/MPL/2.0/. OpenMRS is also distributed under
* the terms of the Healthcare Disclaimer located at http://openmrs.org/license.... | milankarunarathne/openmrs-core | api/src/main/java/org/openmrs/ConceptStopWord.java | Java | mpl-2.0 | 2,428 |
<?php
/**
* @copyright Copyright (c) 2016, ownCloud, Inc.
*
* @author Joas Schilling <coding@schilljs.com>
* @author Morris Jobke <hey@morrisjobke.de>
*
* @license AGPL-3.0
*
* This code is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, versi... | jbicha/server | lib/private/Preview/Photoshop.php | PHP | agpl-3.0 | 969 |
<html>
<head>
<link href="../../../Objects/sofa_white.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="contenu">
<center><h3>Creation of a Pendulum (2/8)</h3></center>
<div id="orangeText">Description</div>
<p>In the previous scene, no solver was present, so no simul... | FabienPean/sofa | examples/Tutorials/StepByStep/Pendulum/1_Pendulum.html | HTML | lgpl-2.1 | 2,735 |
/*
* Webasyst CUSTOM theme family
*
* Shop-Script app CSS
* (requires linking base custom.css file from the Site app)
*
* @link http://www.webasyst.com/
* @author Webasyst LLC
* @copyright 2013 Webasyst LLC
* @package Webasyst
*/
/* Misc layout and elements */
.sidebar { padding-top: 44px; }
... | dmitriyzhdankin/fonaricmarket | wa-data/public/shop/themes/old/custom.shop.css | CSS | lgpl-3.0 | 13,594 |
# Change Log
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
<a name="1.2.1"></a>
## [1.2.1](https://github.com/developit/mitt/compare/v1.1.3...v1.2.1) (2019-10-21)
<a name="1.1.3"></a>
##... | BigBoss424/portfolio | v8/development/node_modules/mitt/CHANGELOG.md | Markdown | apache-2.0 | 849 |
/**
* @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 'rxjs/add/operator/map';
import 'rxjs/add/operator/toPromise';
import { forkJoin } from 'rxjs/observable/forkJ... | oleksandr-minakov/northshore | ui/node_modules/@angular/router/esm/src/resolve.js | JavaScript | apache-2.0 | 1,365 |
/*
* 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/test/java/org/elasticsearch/index/IndexTests.java | Java | apache-2.0 | 2,875 |
/* @flow */
// These util functions are split into its own file because Rollup cannot drop
// makeMap() due to potential side effects, so these variables end up
// bloating the web builds.
import { makeMap, noop } from 'shared/util'
export const isReservedTag = makeMap(
'template,script,style,element,content,slot,... | BigBoss424/portfolio | v6/node_modules/vue/src/platforms/weex/util/element.js | JavaScript | apache-2.0 | 1,538 |
package org.apache.solr.spelling.suggest;
/*
* 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 Licens... | williamchengit/TestRepo | solr/core/src/java/org/apache/solr/spelling/suggest/SuggesterParams.java | Java | apache-2.0 | 2,682 |
// Copyright 2007-2012 Chris Patterson, Dru Sellers, Travis Smith, et. al.
//
// 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... | phatboyg/Topshelf | src/Topshelf/Runtime/Windows/RunProgramRecoveryAction.cs | C# | apache-2.0 | 1,269 |
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Globalization;
using System.Linq;
using System.Reflection;
namespace NuGet
{
[Export(typeof(ICommandManager))]
public class CommandManager : ICommandManager
{
private readonly IList<ICommand> _comm... | mrward/NuGet.V2 | src/V3/NuGet.Client.CommandLine/Common/CommandManager.cs | C# | apache-2.0 | 3,714 |
/*
* 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 ... | akuznetsov-gridgain/ignite | modules/core/src/main/java/org/apache/ignite/internal/util/typedef/CAX.java | Java | apache-2.0 | 1,396 |
/*
* 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 ... | spark0001/spark2.1.1 | mllib/src/main/scala/org/apache/spark/ml/feature/Word2Vec.scala | Scala | apache-2.0 | 11,719 |
package org.zstack.header.vm;
import org.zstack.header.message.MessageReply;
/**
* Created by xing5 on 2016/3/29.
*/
public class HaStartVmInstanceReply extends MessageReply {
}
| winger007/zstack | header/src/main/java/org/zstack/header/vm/HaStartVmInstanceReply.java | Java | apache-2.0 | 182 |
//========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============//
//
// Purpose: Core types for the response rules -- criteria, responses, rules, and matchers.
//
// $NoKeywords: $
//=============================================================================//
#ifndef RESPONSE_HOST_INTERFACE_... | ppittle/AlienSwarmDirectorMod | trunk/src/public/responserules/response_host_interface.h | C | apache-2.0 | 2,147 |
/*=========================================================================
* Copyright (c) 2002-2014 Pivotal Software, Inc. All Rights Reserved.
* This product is protected by U.S. and international copyright
* and intellectual property laws. Pivotal products are covered by
* more patents listed at http://www.pivo... | nchandrappa/incubator-geode | gemfire-core/src/main/java/com/gemstone/gemfire/cache/LowMemoryException.java | Java | apache-2.0 | 1,966 |
/*
* 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 ... | jinhyukchang/gobblin | gobblin-modules/google-ingestion/src/main/java/org/apache/gobblin/ingestion/google/webmaster/GoogleWebmasterClientImpl.java | Java | apache-2.0 | 4,421 |
/*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
*
* 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... | young-zhang/Lean | Algorithm.CSharp/BasicTemplateFillForwardAlgorithm.cs | C# | apache-2.0 | 2,260 |
package handlers
import (
"bytes"
"encoding/json"
"fmt"
"net/http"
"strings"
"github.com/docker/distribution"
ctxu "github.com/docker/distribution/context"
"github.com/docker/distribution/digest"
"github.com/docker/distribution/manifest/schema1"
"github.com/docker/distribution/registry/api/errcode"
"github... | rhuss/gofabric8 | vendor/github.com/docker/distribution/registry/handlers/images.go | GO | apache-2.0 | 7,972 |
/* Copyright 2020 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | sarvex/tensorflow | tensorflow/compiler/tf2tensorrt/common/utils.cc | C++ | apache-2.0 | 3,212 |
ITK Release 4.1
===============
Announcement: ITK 4.1.0 has been released!
We are happy to announce the release of the InsightToolkit 4.1.0!
Download links can be found at:
[`http://itk.org/ITK/resources/software.html`](http://itk.org/ITK/resources/software.html)
This release is the first since ITK 4.0.0 and includ... | blowekamp/ITK | Documentation/ReleaseNotes/4.1.md | Markdown | apache-2.0 | 12,697 |
// RUN: %clang_cc1 -fsyntax-only -verify %s -fblocks
template<typename T>
struct is_unary_block {
static const bool value = false;
};
template<typename T, typename U>
struct is_unary_block<T (^)(U)> {
static const bool value = true;
};
int is_unary_block0[is_unary_block<int>::value ? -1 : 1];
int is_unary_block1[... | jeltz/rust-debian-package | src/llvm/tools/clang/test/SemaTemplate/temp_class_spec_blocks.cpp | C++ | apache-2.0 | 1,578 |
// Copyright (C) 2014 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable ... | Saulis/gerrit | gerrit-plugin-js-archetype/src/main/resources/archetype-resources/src/main/java/MyJsExtension.java | Java | apache-2.0 | 876 |
/*
* Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you 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/li... | irham0019/product-as | modules/samples/JavaEE-TomEE/javaee-examples/src/main/java/org/superbiz/servlet/WebserviceClient.java | Java | apache-2.0 | 2,938 |
/*-------------------------------------------------------------------------
*
* execUtils.h
*
* Copyright (c) 2005-2008, Greenplum inc
*
*-------------------------------------------------------------------------
*/
#ifndef _EXECUTILS_H_
#define _EXECUTILS_H_
#include "executor/execdesc.h"
struct EState;
struct... | royc1/gpdb | src/include/executor/execUtils.h | C | apache-2.0 | 914 |
/*
* Copyright (c) 2010-2014. Axon Framework
*
* 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 ... | christiaandejong/AxonFramework | core/src/main/java/org/axonframework/common/property/BeanPropertyAccessStrategy.java | Java | apache-2.0 | 1,334 |
# Squirrel - fluent SQL generator for Go
```go
import "gopkg.in/Masterminds/squirrel.v1"
```
or if you prefer using `master` (which may be arbitrarily ahead of or behind `v1`):
**NOTE:** as of Go 1.6, `go get` correctly clones the Github default branch (which is `v1` in this repo).
```go
import "github.com/Mastermind... | stellar/gateway-server | vendor/src/github.com/Masterminds/squirrel/README.md | Markdown | apache-2.0 | 3,211 |
package mysql
import (
"database/sql"
"fmt"
"strings"
"sync"
_ "github.com/go-sql-driver/mysql"
"github.com/hashicorp/vault/logical"
"github.com/hashicorp/vault/logical/framework"
)
func Factory(conf *logical.BackendConfig) (logical.Backend, error) {
return Backend().Setup(conf)
}
func Backend() *backend {
... | pulcy/vault-monkey | deps/github.com/hashicorp/vault/builtin/logical/mysql/backend.go | GO | apache-2.0 | 2,536 |
/*
* 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 ma... | LightGuard/incubator-deltaspike | deltaspike/modules/data/impl/src/main/java/org/apache/deltaspike/data/impl/meta/verifier/EntityVerifier.java | Java | apache-2.0 | 1,198 |
public class J {
public static void main(String[] args) {
int a = 0, b = 1, c = 2;
c ^= a & b;
System.out.print(c);
}
} | jwren/intellij-community | plugins/kotlin/j2k/new/tests/testData/newJ2k/assignmentExpression/compoundAssignmentPriority2.java | Java | apache-2.0 | 151 |
/*
* Copyright 2000-2011 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | asedunov/intellij-community | java/idea-ui/src/com/intellij/openapi/roots/ui/configuration/dependencyAnalysis/ModuleDependenciesAnalyzer.java | Java | apache-2.0 | 12,803 |
/**
* @license http://www.JSON.org/json2.js
*/
/*
http://www.JSON.org/json2.js
2011-02-23
Public Domain.
NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.
See http://www.JSON.org/js.html
This code should be minified before deployment.
See http://javascript.crockford.com/jsmin.h... | huguijian/webIM | webroot/static/assets/lib/bootstrap/plugins/ie/json2.js | JavaScript | apache-2.0 | 17,647 |
/**
******************************************************************************
* @file us_ticker_api.h
* @brief Implementation of a Timer driver
* @internal
* @author ON Semiconductor
* $Rev: $
* $Date: 2015-11-15 $
******************************************************************************
* Copyright... | fahhem/mbed-os | targets/TARGET_ONSEMI/TARGET_NCS36510/ncs36510_us_ticker_api.c | C | apache-2.0 | 6,609 |
/*
* 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 ma... | siddaartha/spork | test/org/apache/pig/test/TestFRJoin.java | Java | apache-2.0 | 23,396 |
/*
* Copyright (C) 2011 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | Ant-Droid/android_frameworks_base_OLD | tests/RenderScriptTests/FBOTest/src/com/android/fbotest/FBOSyncRS.java | Java | apache-2.0 | 7,120 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.