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 |
|---|---|---|---|---|---|
# -*- coding: utf-8 -*-
"""API Request cache tests."""
#
# (C) Pywikibot team, 2012-2014
#
# Distributed under the terms of the MIT license.
#
from __future__ import unicode_literals
__version__ = '$Id$'
#
from pywikibot.site import BaseSite
import scripts.maintenance.cache as cache
from tests import _cache_dir
fro... | valhallasw/pywikibot-core | tests/cache_tests.py | Python | mit | 1,258 |
#!/bin/bash
cd "$(dirname "${BASH_SOURCE[0]}")" \
&& . "../../utils.sh"
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
print_in_purple "\n Dashboard\n\n"
execute "defaults write com.apple.dashboard mcx-disabled -bool true" \
"Disable Dashboard"
# `killall Dashboard` doesn't actua... | b-boogaard/dotfiles | src/os/preferences/macos/dashboard.sh | Shell | mit | 476 |
var expect = require('expect.js');
var path = require('path');
var fs = require('../extfs');
describe('extfs', function () {
var rootPath = path.join(__dirname, '../');
it('should return all directories', function (done) {
fs.getDirs(rootPath, function (err, dirs) {
expect(dirs).to.be.an(Array);
expect(dir... | codexar/npm-extfs | tests/extfsTest.js | JavaScript | mit | 3,671 |
require 'set'
require 'tsort'
module Librarian
class ManifestSet
class GraphHash < Hash
include TSort
alias tsort_each_node each_key
def tsort_each_child(node, &block)
self[node].each(&block)
end
end
class << self
def shallow_strip(manifests, names)
new(man... | phinze/librarian-puppet | vendor/librarian/lib/librarian/manifest_set.rb | Ruby | mit | 3,434 |
<?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... | hansbonini/cloud9-magento | www/app/code/core/Mage/CatalogSearch/Model/Session.php | PHP | mit | 1,136 |
<?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... | hansbonini/cloud9-magento | www/app/code/core/Mage/Rule/Block/Rule.php | PHP | mit | 1,025 |
describe("BASIC CRUD SCENARIOS", function() {
require("./basic");
});
describe("VALIDATE CRUD SCENARIOS", function() {
require("./validation");
});
describe("REPORT SCENARIOS", function() {
require("./report");
}); | AndreaZain/dl-module | test/production/finishing-printing/monitoring-event/index.js | JavaScript | mit | 228 |
var mongodb = process.env['TEST_NATIVE'] != null ? require('../../lib/mongodb').native() : require('../../lib/mongodb').pure();
var testCase = require('../../deps/nodeunit').testCase,
debug = require('util').debug,
inspect = require('util').inspect,
nodeunit = require('../../deps/nodeunit'),
gleak = require('.... | thebinarypenguin/tasty | server/node_modules/mongodb/test/auxilliary/single_server_kill_reconnect.js | JavaScript | mit | 5,743 |
// 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 0.17.0.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
... | ScottHolden/azure-sdk-for-net | src/SDKs/Resource/Management.ResourceManager/Generated/Models/DeploymentOperation.cs | C# | mit | 1,977 |
/**
* The MIT License
* Copyright (c) 2014-2016 Ilkka Seppälä
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, c... | Crossy147/java-design-patterns | factory-kit/src/main/java/com/iluwatar/factorykit/Bow.java | Java | mit | 1,281 |
Dir[File.join(Rails.root, "lib", "core_ext", "*.rb")].each {|l| require l } | edurange/edurange | config/initializers/core_ext.rb | Ruby | mit | 75 |
// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
namespace System.Runtime.CompilerServices
{
using System;
using System.Reflection;
// This Enum matchs the miImpl flags defined in corhdr.h. It is used to specify
// certain method properties.
[F... | jelin1/llilum | Zelig/Zelig/RunTime/Framework/mscorlib/System/Runtime/CompilerServices/MethodImplAttribute.cs | C# | mit | 2,378 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Threading;
using Microsoft.Build.Fram... | nikson/msbuild | src/OrcasEngine/LocalProvider/LocalNode.cs | C# | mit | 28,537 |
//******************************************************************************
//
// Copyright (c) 2015 Microsoft Corporation. All rights reserved.
//
// This code is licensed under the MIT License (MIT).
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LI... | rajsesh-msft/WinObjC | include/Platform/Universal Windows/UWP/WindowsDataXmlXsl.h | C | mit | 1,477 |
/**
* @license
* Copyright 2013 Palantir Technologies, 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... | AxelSparkster/axelsparkster.github.io | node_modules/tslint/lib/rules/noParameterPropertiesRule.d.ts | TypeScript | mit | 911 |
/*
FreeRTOS V8.2.3 - Copyright (C) 2015 Real Time Engineers Ltd.
All rights reserved
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
This file is part of the FreeRTOS distribution.
FreeRTOS is free software; you can redistribute it and/or modify it under
the... | PUCSIE-embedded-course/stm32f4-examples | firmware/freertos/semaphore/lib/FreeRTOSV8.2.3/FreeRTOS/Demo/PIC32MZ_MPLAB/ISRTriggeredTask.c | C | mit | 9,510 |
<?php get_header(); ?>
<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
<article role="main" class="primary-content type-post" id="post-<?php the_ID(); ?>">
<header>
<h1><?php the_title(); ?></h1>
</header>
<?php the_post_thumbnail('full');?>
<... | evanhuntley/ftg | single.php | PHP | mit | 1,237 |
# What is Plone?
[Plone](https://plone.org) is a free and open source content management system built on top of the Zope application server.
%%LOGO%%
## Features
- Images for Plone 5 and Plone 4
- Enable add-ons via environment variables
## Usage
### Start a single Plone instance
This will download and start the... | pydio/docs | plone/content.md | Markdown | mit | 3,440 |
/**
* Copyright (c) 2014,2015 NetEase, Inc. and other Pomelo contributors
* MIT Licensed.
*/
#include <assert.h>
#include <string.h>
#include <pomelo_trans.h>
#include "pc_lib.h"
#include "pc_pomelo_i.h"
void pc_trans_fire_event(pc_client_t* client, int ev_type, const char* arg1, const char* arg2)
{
int pend... | hitstanley/libpomelo2 | src/pc_trans.c | C | mit | 10,100 |
// Copyright (c) 2011-2016 The Cryptonote developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#pragma once
#include <cstddef>
#include <cstring>
#include <functional>
#define CRYPTO_MAKE_COMPARABLE(type) \
namespace... | Boter/SIT | src/crypto/generic-ops.h | C | mit | 1,079 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
namespace Azure.ResourceManager.Storage.Models
{
/// <summary> The resource model definition for a Azure Resource Manager resource with an etag. </summary>
public partial cla... | ayeletshpigelman/azure-sdk-for-net | sdk/storage/Azure.ResourceManager.Storage/src/Generated/Models/AzureEntityResource.cs | C# | mit | 1,326 |
//
// CCHDevice.h
// ContextHub
//
// Created by Kevin Lee on 7/24/14.
// Copyright (c) 2014 ChaiOne. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#define kDeviceErrorDomain @"com.contexthub.device.error"
/**
ContextHub Device error codes.
*/
typedef NS_ENUM(NSInteger, CCHDe... | contexthub/awareness-ios | ContextHub.framework/Versions/Current/Headers/CCHDevice.h | C | mit | 3,725 |
/* Copyright (c) 2016 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... | venkatamacha/google_password_manager | google_password_manager/Pods/GoogleAPIClient/Source/Services/Drive/Generated/GTLDriveReply.h | C | mit | 2,567 |
'use strict';
describe('Controller: AboutCtrl', function () {
// load the controller's module
beforeEach(module('e01App'));
var AboutCtrl,
scope;
// Initialize the controller and a mock scope
beforeEach(inject(function ($controller, $rootScope) {
scope = $rootScope.$new();
AboutCtrl = $control... | malaniz/cursoAngular | cl06ClienteB/test/spec/controllers/about.js | JavaScript | mit | 550 |
<!DOCTYPE html>
<html lang="en">
<head>
<title>three.js webgl - trackball camera</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<style>
body {
color: #000;
font-family:Monospace;
font-size:13px;
text-... | christopheschwyzer/StopheWebLab | three/source/three/examples/misc_camera_trackball.html | HTML | mit | 3,637 |
var searchData=
[
['digitalpin_2eh',['DigitalPin.h',['../_digital_pin_8h.html',1,'']]]
];
| cnorfleet/Feeder | libraries/SdFatCopy/html/search/files_2.js | JavaScript | mit | 92 |
namespace GraphQL.Types
{
public class UnionGraphType : GraphType
{
}
}
| bryanerayner/graphql-dotnet | src/GraphQL/Types/UnionGraphType.cs | C# | mit | 87 |
{% extends "base.html" %}
{% block title %}All notes ({{ notes|length }}){% endblock %}
{% block page_title %} <span>All notes ({{ notes|length }})</span> {% endblock %}
{% block content %}
{% if notes %}
<table class="notes">
<tr>
<th class="note">Note <a href="/?order=name" class="sort_arrow" >&... | williamn/notejam | flask/notejam/templates/notes/list.html | HTML | mit | 1,221 |
package org.knowm.xchange.ripple;
import static org.assertj.core.api.Assertions.assertThat;
import com.fasterxml.jackson.core.JsonParseException;
import com.fasterxml.jackson.databind.JsonMappingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import java.io.IOException;
import java.io.InputStream;
impo... | timmolter/XChange | xchange-ripple/src/test/java/org/knowm/xchange/ripple/RippleAdaptersTest.java | Java | mit | 24,065 |
<?php
namespace Oro\Bundle\EmailBundle\Tests\Unit\Entity;
use Oro\Bundle\EmailBundle\Entity\EmailFolder;
use Oro\Bundle\EmailBundle\Tests\Unit\ReflectionUtil;
class EmailFolderTest extends \PHPUnit_Framework_TestCase
{
public function testIdGetter()
{
$entity = new EmailFolder();
ReflectionUt... | minhnguyen-balance/oro_platform | vendor/oro/platform/src/Oro/Bundle/EmailBundle/Tests/Unit/Entity/EmailFolderTest.php | PHP | mit | 1,677 |
module Serverspec
module Helper
module Configuration
def subject
build_configurations
super
end
# You can create a set of configurations provided to all specs in your spec_helper:
#
# RSpec.configure { |c| c.pre_command = "source ~/.zshrc" }
#
# Any con... | netmarkjp/serverspec | lib/serverspec/helper/configuration.rb | Ruby | mit | 1,048 |
// <auto-generated>
// 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
// re... | yaakoviyun/azure-sdk-for-net | src/SDKs/Batch/Management/Management.Batch/Generated/Models/ComputeNodeFillType.cs | C# | mit | 1,801 |
/**
* @typedef {object} Phaser.Types.GameObjects.BitmapText.DisplayCallbackConfig
* @since 3.0.0
*
* @property {Phaser.GameObjects.DynamicBitmapText} parent - The Dynamic Bitmap Text object that owns this character being rendered.
* @property {Phaser.Types.GameObjects.BitmapText.TintConfig} tint - The tint of the... | mahill/phaser | src/gameobjects/bitmaptext/typedefs/DisplayCallbackConfig.js | JavaScript | mit | 1,291 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ScintillaNET
{
/// <summary>
/// Lexer property types.
/// </summary>
public enum PropertyType
{
/// <summary>
/// A Boolean property. This is the default.
/// </summary>
... | cqwang/ScintillaNET | src/ScintillaNET/PropertyType.cs | C# | mit | 623 |
from __future__ import print_function
import sys
def func():
print('{0}.{1}'.format(*sys.version_info[:2]))
print(repr(sys.argv[1:]))
print('Hello World')
return 0
| Teino1978-Corp/pre-commit | testing/resources/python3_hooks_repo/python3_hook/main.py | Python | mit | 183 |
/**
* @license
* Copyright Google LLC 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 '@angular/compiler';
import * as fs from 'fs';
import * as path from 'path';
const UTF8 = {
encoding: 'utf... | gkalpak/angular | packages/core/test/bundling/hello_world_r2/treeshaking_spec.ts | TypeScript | mit | 923 |
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex... | NeoVand/networks3d | js/vendor/ndarray.js | JavaScript | mit | 45,269 |
package com.aspose.cells.model;
public class SideWall {
private Link link = null;
public Link getLink() {
return link;
}
public void setLink(Link link) {
this.link = link;
}
}
| aspose-cells/Aspose.Cells-for-Cloud | SDKs/Aspose.Cells-Cloud-SDK-for-Java/src/main/java/com/aspose/cells/model/SideWall.java | Java | mit | 210 |
class Admin::BaseController < ApplicationController
end
| HakubJozak/barbecue | test/dummy/app/controllers/admin/base_controller.rb | Ruby | mit | 56 |
package com.punchthrough.bean.sdk.internal.upload.sketch;
public enum SketchUploadState {
INACTIVE, RESETTING_REMOTE, SENDING_START_COMMAND, SENDING_BLOCKS, FINISHED
}
| PunchThrough/bean-sdk-android | sdk/src/main/java/com/punchthrough/bean/sdk/internal/upload/sketch/SketchUploadState.java | Java | mit | 173 |
define('lodash/internal/createWrapper', ['exports', 'lodash/internal/baseSetData', 'lodash/internal/createBindWrapper', 'lodash/internal/createHybridWrapper', 'lodash/internal/createPartialWrapper', 'lodash/internal/getData', 'lodash/internal/mergeData', 'lodash/internal/setData'], function (exports, _lodashInternalBas... | hoka-plus/p-01-web | tmp/babel-output_path-hOv4KMmE.tmp/lodash/internal/createWrapper.js | JavaScript | mit | 3,598 |
//
// JDFAppDelegate.h
// JDFPeekaboo
//
// Created by CocoaPods on 02/01/2015.
// Copyright (c) 2014 Joe Fryer. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface JDFAppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
| justinyaoqi/JDFPeekaboo | Example/JDFPeekaboo/JDFAppDelegate.h | C | mit | 286 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Phaser Source: src/plugins/weapon/WeaponPlugin.js</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link type="text/css" rel="stylesheet" href="styles/default.css">
<link type="te... | fmflame/phaser | docs/src_plugins_weapon_WeaponPlugin.js.html | HTML | mit | 79,483 |
//
// Use this file to import your target's public headers that you would like to expose to Swift.
//
#import "example.h" | dolphilia/swift-lua-example | 09_lua_in_swift_multithreading/swiftobjctest/swiftobjctest-Bridging-Header.h | C | mit | 123 |
// 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 Xunit;
using System;
using System.Collections;
using System.Collections.Specialized;
namespace System.Collect... | mafiya69/corefx | src/System.Collections.Specialized/tests/NameObjectCollectionBase/GetEnumeratorTests.cs | C# | mit | 5,843 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections;
using System.Collections.Generic;
using Azure.Core;
namespace Azure.Graph.Rbac.Models
{
/// <summary> Active Directory Password Credentia... | jackmagic313/azure-sdk-for-net | sdk/testcommon/Azure.Graph.Rbac/src/Generated/Models/PasswordCredential.cs | C# | mit | 4,464 |
Clazz.declarePackage ("JU");
Clazz.load (["JU.V3"], "JU.Measure", ["java.lang.Float", "javajs.api.Interface", "JU.Lst", "$.P3", "$.P4", "$.Quat"], function () {
c$ = Clazz.declareType (JU, "Measure");
c$.computeAngle = Clazz.defineMethod (c$, "computeAngle",
function (pointA, pointB, pointC, vectorBA, vectorBC, as... | sandipde/Interactive-Sketchmap-Visualizer | static/jmol/j2s/JU/Measure.js | JavaScript | mit | 15,234 |
/*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org/
Copyright (c) 2000-2011 Torus Knot Software Ltd
Permission is hereby granted, free of charge, to any person ... | ruleless/ogre | PlugIns/BSPSceneManager/src/OgreQuake3Shader.cpp | C++ | mit | 11,012 |
<?php
/**
* Copyright © 2013-2017 Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\TestModuleMSC\Model;
use Magento\TestModuleMSC\Api\Data\CustomAttributeDataObjectInterfaceFactory;
use Magento\TestModuleMSC\Api\Data\ItemInterfaceFactory;
class AllSoapAndRest implement... | j-froehlich/magento2_wk | vendor/magento/magento2-base/dev/tests/api-functional/_files/Magento/TestModuleMSC/Model/AllSoapAndRest.php | PHP | mit | 3,062 |
# This file is auto-generated by the Perl DateTime Suite time zone
# code generator (0.07) This code generator comes with the
# DateTime::TimeZone module distribution in the tools/ directory
#
# Generated from /tmp/rnClxBLdxJ/northamerica. Olson data version 2013a
#
# Do not edit this file directly.
#
package DateTim... | Dokaponteam/ITF_Project | xampp/perl/vendor/lib/DateTime/TimeZone/America/St_Lucia.pm | Perl | mit | 1,498 |
import Ember from 'ember';
export default Ember.Object.extend({
content: {},
contentLength: 0,
add: function(obj) {
var id = this.generateId();
this.get('content')[id] = obj;
this.incrementProperty("contentLength");
return id;
},
getObj: function(key) {
var res = this.get('content')[key... | bdvholmes/ember-drag-drop | app/models/obj-hash.js | JavaScript | mit | 717 |
/*
* Core routines and tables shareable across OS platforms.
*
* Copyright (c) 1994-2002 Justin T. Gibbs.
* Copyright (c) 2000-2003 Adaptec Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* a... | impedimentToProgress/UCI-BlueChip | snapgear_linux/linux-2.6.21.1/drivers/scsi/aic7xxx/aic79xx_core.c | C | mit | 278,803 |
# Image Patches Differential Optical Flow Rotation/Scale
#
# This example shows off using your OpenMV Cam to measure
# rotation/scale by comparing the current and the previous
# image against each other. Note that only rotation/scale is
# handled - not X and Y translation in this mode.
#
# However, this examples goes b... | openmv/openmv | scripts/examples/OpenMV/22-Optical-Flow/image-patches-differential-rotation-scale.py | Python | mit | 3,596 |
import { Observable } from 'rxjs/Observable';
/**
* @name Keyboard
* @description
* @usage
* ```typescript
* import { Keyboard } from 'ionic-native';
*
*
*
* ```
*/
export declare class Keyboard {
/**
* Hide the keyboard accessory bar with the next, previous and done buttons.
* @param hide {bool... | Spect-AR/Spect-AR | node_modules/node_modules/ionic-native/dist/esm/plugins/keyboard.d.ts | TypeScript | mit | 1,153 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Jasmine Spec Runner</title>
<link rel="shortcut icon" type="image/png" href="lib/jasmine-1.3.1/jasmine_favicon.png">
<link rel="stylesheet" type="text/css" href="lib/jasmine-1.3.1/jasmine... | h3xagram/h3xagram.github.io | test/index.html | HTML | mit | 1,895 |
"""
categories: Types,bytes
description: Bytes subscr with step != 1 not implemented
cause: Unknown
workaround: Unknown
"""
print(b'123'[0:3:2])
| cwyark/micropython | tests/cpydiff/types_bytes_subscrstep.py | Python | mit | 145 |
#pragma once
// Do³¹czenie nag³ówka SDKDDKVer.h definiuje najwy¿sz¹ dostêpn¹ platformê systemu Windows.
// Jeli chcesz skompilowaæ aplikacjê dla wczeniejszej platformy systemu Windows, do³¹cz nag³ówek WinSDKVer.h i
// ustaw makro _WIN32_WINNT na platformê, któr¹ chcesz wspieraæ, przed do³¹czeniem nag³ówka SDKDDKVer... | andrzej151/ZMPO | ZMPO3/ZMPO/ZMPO/targetver.h | C | mit | 348 |
require('ember-runtime/core');
require('ember-runtime/system/core_object');
require('ember-runtime/mixins/mutable_enumerable');
require('ember-runtime/mixins/copyable');
require('ember-runtime/mixins/freezable');
/**
@module ember
@submodule ember-runtime
*/
var get = Ember.get, set = Ember.set, guidFor = Ember.guidF... | teddyzeenny/ember.js | packages/ember-runtime/lib/system/set.js | JavaScript | mit | 13,316 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="BoundingBoxWireFrameVisual3D.cs" company="Helix Toolkit">
// Copyright (c) 2014 Helix Toolkit contributors
// </copyright>
// <summary>
// A visual element that shows a w... | DynamoDS/helix-toolkit | Source/HelixToolkit.Wpf/Visual3Ds/ScreenSpaceVisuals/BoundingBoxWireFrameVisual3D.cs | C# | mit | 3,576 |
//
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
//
using UnityEngine;
using System;
using System.Collections.Generic;
namespace HUX.Utility
{
public class AABBTree<T> where T : class
{
#region Private Class... | AllBecomesGood/Share-UpdateHolograms | ShareAndKeepSynced/Assets/MRDesignLab/HUX/Scripts/Utility/AABBTree.cs | C# | mit | 8,882 |
/*!
* Bootstrap-select v1.13.2 (https://developer.snapappointments.com/bootstrap-select)
*
* Copyright 2012-2018 SnapAppointments, LLC
* Licensed under MIT (https://github.com/snapappointments/bootstrap-select/blob/master/LICENSE)
*/
(function (root, factory) {
if (root === undefined && window !== undefi... | extend1994/cdnjs | ajax/libs/bootstrap-select/1.13.2/js/i18n/defaults-bg_BG.js | JavaScript | mit | 1,838 |
<?php
/*
* This file is part of the Sylius package.
*
* (c) Paweł Jędrzejewski
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace Sylius\Component\Core\Promotion\Checker\Rule;
use Sylius\Componen... | videni/Sylius | src/Sylius/Component/Core/Promotion/Checker/Rule/HasTaxonRuleChecker.php | PHP | mit | 1,866 |
require 'faraday'
require 'json'
module Twitter
module REST
module Response
class ParseJson < Faraday::Response::Middleware
WHITESPACE_REGEX = /\A^\s*$\z/
def parse(body)
case body
when WHITESPACE_REGEX, nil
nil
else
JSON.parse(body, :s... | yukisako/omiyage | vendor/bundle/ruby/2.2.0/gems/twitter-5.15.0/lib/twitter/rest/response/parse_json.rb | Ruby | mit | 746 |
/*
* This file is part of SpongeAPI, 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 "Soft... | kashike/SpongeAPI | src/main/java/org/spongepowered/api/event/item/inventory/ChangeInventoryEvent.java | Java | mit | 1,942 |
<h2>設定</h2>
<p>このページでは、管理者が基本的な設定を実行することができます。
実際、このページでは、多くの管理者が必要とする最小設定のみ表示しています。
あなたが他の多くの (そして高度な) 設定を閲覧したい場合、<span class="filename">include/config_default.inc.php</span>ファイルを参照してください。</p>
<p>このページは、テーマにより設定パラメータを再編成するため、いくつかのセクションに分けられています。</p>
<h3>メイン</h3>
<ul>
<li><strong>ギャラリータイトル</strong>: RSSフィードおよびメール... | ale252/theatre | web/piwigo/language/ja_JP/help/configuration.html | HTML | mit | 6,959 |
/*! Tablesaw - v2.0.3 - 2016-05-02
* https://github.com/filamentgroup/tablesaw
* Copyright (c) 2016 Filament Group; Licensed MIT */
table.tablesaw {
empty-cells: show;
max-width: 100%;
width: 100%;
}
.tablesaw {
border-collapse: collapse;
width: 100%;
}
/* Structure */
.tablesaw {
border: 0;
padding: ... | jeffthemaximum/jeffline | templates/rubix/demo/public/bower_components/filament-tablesaw/dist/tablesaw.css | CSS | mit | 16,889 |
/*******************************************************************************
* Copyright (c) 1998, 2015 Oracle and/or its affiliates. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0
... | RallySoftware/eclipselink.runtime | utils/eclipselink.utils.workbench/framework/source/org/eclipse/persistence/tools/workbench/framework/context/ExpandedResourceRepositoryApplicationContext.java | Java | epl-1.0 | 2,433 |
/*******************************************************************************
* Copyright (c) 1998, 2015 Oracle and/or its affiliates. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0
... | RallySoftware/eclipselink.runtime | foundation/org.eclipse.persistence.core/src/org/eclipse/persistence/mappings/transformers/FieldTransformer.java | Java | epl-1.0 | 2,097 |
/*******************************************************************************
* Copyright (c) 1998, 2015 Oracle and/or its affiliates. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0
... | RallySoftware/eclipselink.runtime | foundation/eclipselink.core.test/src/org/eclipse/persistence/testing/tests/writing/ComplexUpdateTest.java | Java | epl-1.0 | 5,045 |
/*******************************************************************************
* Copyright (c) 1998, 2015 Oracle and/or its affiliates. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0
... | RallySoftware/eclipselink.runtime | jpa/eclipselink.jpa.test/src/org/eclipse/persistence/testing/tests/jpa/advanced/EntityMethodPostUpdateTest.java | Java | epl-1.0 | 1,234 |
<?php
/*
Plugin Name: Black Studio TinyMCE Widget
Plugin URI: https://wordpress.org/plugins/black-studio-tinymce-widget/
Description: Adds a new "Visual Editor" widget type based on the native WordPress TinyMCE editor.
Version: 2.2.10
Author: Black Studio
Author URI: http://www.blackstudio.it
Requires at least: 3.1
Tes... | bbiehl/The-Bronze-Horse | wp-content/plugins/black-studio-tinymce-widget/black-studio-tinymce-widget.php | PHP | gpl-2.0 | 6,595 |
/*! PopUp Free - v4.7.11
* https://wordpress.org/plugins/wordpress-popup/
* Copyright (c) 2015; * Licensed GPLv2+ */
/*global window:false */
/*global document:false */
/*global wp:false */
/*global wpmUi:false */
/*global ace:false */
/**
* Admin Javascript functions for PopUp
*/
jQuery(function init_admin() {
... | iAPT/producerroom | wp-content/plugins/wordpress-popup/js/popup-admin.js | JavaScript | gpl-2.0 | 15,341 |
/****************************************************************************
* *
* GNAT COMPILER COMPONENTS *
* *
* ... | aosm/llvmgcc42 | gcc/ada/decl.c | C | gpl-2.0 | 252,765 |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Introspecting member function</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... | FFMG/myoddweb.piger | myodd/boost/libs/tti/doc/html/the_type_traits_introspection_library/tti_detail_has_member_function.html | HTML | gpl-2.0 | 17,725 |
goog.provide('ol.source.ImageVector');
goog.require('goog.asserts');
goog.require('goog.events');
goog.require('goog.events.EventType');
goog.require('goog.vec.Mat4');
goog.require('ol.dom');
goog.require('ol.extent');
goog.require('ol.render.canvas.ReplayGroup');
goog.require('ol.renderer.vector');
goog.require('ol.s... | henriquespedro/Autarquia-Livre | vendor/openlayers/ol/ol/source/imagevectorsource.js | JavaScript | gpl-2.0 | 8,407 |
/*
* OCaml Support For IntelliJ Platform.
* Copyright (C) 2010 Maxim Manuylov
*
* 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 optio... | emmeryn/intellij-ocaml | OCamlSources/src/manuylov/maxim/ocaml/lang/parser/psi/element/impl/OCamlParenthesesTypeParametersImpl.java | Java | gpl-2.0 | 1,487 |
/*
* vendor/product IDs (VID/PID) of devices using FTDI USB serial converters.
* Please keep numerically sorted within individual areas, thanks!
*
* Philipp Gühring - pg@futureware.at - added the Device ID of the USB relais
* from Rudolf Gugler
*
*/
/**********************************/
/***** devices using FTD... | Bdaman80/BDA-Lexikon | drivers/usb/serial/ftdi_sio_ids.h | C | gpl-2.0 | 41,479 |
//
// Copyright (c) 2004-2006 Jaroslaw Kowalski <jaak@jkowalski.net>
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
//
// * Redistributions of source code must retain the above co... | WCell/WCell | Libraries/Source/NLog/Targets/Wrappers/PostFilteringWrapper.cs | C# | gpl-2.0 | 7,654 |
#
# Copyright (C) 2007-2014 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=mac80211
PKG_VERSION:=2014-11-04
PKG_RELEASE:=1
PKG_SOURCE_URL:=http://mirror2.openwrt.org/... | houzhenggang/openwrt-hc5661 | package/kernel/mac80211/Makefile | Makefile | gpl-2.0 | 66,895 |
/*
* Block driver for media (i.e., flash cards)
*
* Copyright 2002 Hewlett-Packard Company
* Copyright 2005-2008 Pierre Ossman
*
* Use consistent with the GNU GPL is permitted,
* provided that this copyright notice is
* preserved in its entirety in all copies and derived works.
*
* HEWLETT-PACKARD COMPANY MAK... | mahound/Cyanogenmod_kernel_samsung_loganreltexx | drivers/mmc/card/block.c | C | gpl-2.0 | 81,469 |
/* arch/arm/mach-msm/include/mach/vmalloc.h
*
* Copyright (C) 2007 Google, Inc.
* Copyright (c) 2009, Code Aurora Forum. All rights reserved.
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distributed... | Perferom/android_kernel_lge_msm7x27-3.0.x | arch/arm/mach-msm/include/mach/vmalloc.h | C | gpl-2.0 | 1,030 |
//# LCExtension.cc: Extend an LCRegion along straight lines to other dimensions
//# Copyright (C) 1998,2001
//# Associated Universities, Inc. Washington DC, USA.
//#
//# This library is free software; you can redistribute it and/or modify it
//# under the terms of the GNU Library General Public License as published by
... | bmerry/casacore | lattices/LRegions/LCExtension.cc | C++ | gpl-2.0 | 10,331 |
<?php
/*
* This file is part of Composer.
*
* (c) Nils Adermann <naderman@naderman.de>
* Jordi Boggiano <j.boggiano@seld.be>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Composer\Command;
use Composer\Composer;... | rsathishkumar/drupal8 | vendor/composer/composer/src/Composer/Command/DiagnoseCommand.php | PHP | gpl-2.0 | 28,267 |
/*
* drivers/media/video/msm/ov5642_reg_globaloptics.c
*
* Refer to drivers/media/video/msm/mt9d112_reg.c
* For IC OV5642 of Module GLOBALOPTICS: 5.0Mp 1/4-Inch System-On-A-Chip (SOC) CMOS Digital Image Sensor
*
* Copyright (C) 2009-2010 ZTE Corporation.
*
* This software is licensed under the terms of the GNU ... | ZTE-BLADE/ZTE-BLADE-2.6.32 | drivers/media/video/msm/mt9d113_qtech_sunny_socket.c | C | gpl-2.0 | 56,303 |
/*
* This file contains the RTC driver table for Motorola MCF5206eLITE
* ColdFire evaluation board.
*
* Copyright (C) 2000 OKTET Ltd., St.-Petersburg, Russia
* Author: Victor V. Vengerov <vvv@oktet.ru>
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution o... | yangxi/omap4m3 | c/src/lib/libbsp/m68k/mcf5206elite/tod/todcfg.c | C | gpl-2.0 | 2,267 |
/* { dg-do compile } */
/* { dg-options "-O2 -fdump-tree-forwprop2" } */
/* LLVM LOCAL test not applicable */
/* { dg-require-fdump "" } */
class YY { public:
YY(const YY &v) { e[0] = v.e[0]; e[1] = v.e[1]; e[2] = v.e[2]; }
double &y() { return e[1]; }
double e[3]; };
class XX { public:
YY direction() const ... | unofficial-opensource-apple/llvmgcc42 | gcc/testsuite/g++.dg/tree-ssa/pr14814.C | C++ | gpl-2.0 | 608 |
/**********************************************************************
* $Id$ lpc18xx_qei.c 2011-06-02
*//**
* @file lpc18xx_pwr.c
* @brief Contains all functions support for QEI firmware library on LPC18xx
* @version 1.0
* @date 02. June. 2011
* @author NXP MCU SW Application Team
*
* Copyright(C) 2011, NXP Semic... | Lindem-Data-Acquisition-AS/TM4C129-discontinued | libraries/FreeRTOSv8.0.1/FreeRTOS-Plus/Demo/FreeRTOS_Plus_UDP_and_CLI_LPC1830_GCC/ThirdParty/CMSISv2p10_LPC18xx_DriverLib/src/lpc18xx_qei.c | C | gpl-2.0 | 20,918 |
/*
* Driver O/S-independent utility routines
*
* $Copyright Open Broadcom Corporation$
* $Id: bcmutils.c,v 1.277.2.18 2011-01-26 02:32:08 $
*/
#include <typedefs.h>
#include <bcmdefs.h>
#include <stdarg.h>
#ifdef BCMDRIVER
#include <osl.h>
#include <bcmutils.h>
#include <siutils.h>
#if defined(BCMNVRAM)
#includ... | hroark13/n861_two_n860 | drivers/net/wireless/bcmdhd/bcmutils.c | C | gpl-2.0 | 45,582 |
#ifndef __SDCPP_H
#define __SDCPP_H
#ifdef _WIN32
/* declaration of alloca */
#include <malloc.h>
#include <string.h>
#ifdef __BORLANDC__
#define strcasecmp stricmp
#else
#define strcasecmp _stricmp
#endif
#endif
#define BYTES_BIG_ENDIAN 0
/*
* From defaults.h
*/
#ifndef GET_ENVIRONMENT
#define GET_ENVIRONMENT(V... | pfalcon/sdcc | support/cpp/sdcpp.h | C | gpl-2.0 | 7,065 |
/*
* 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 Software Foundation. Oracle designates this
* particular file as subject to th... | greghaskins/openjdk-jdk7u-jdk | src/share/native/sun/font/layout/OpenTypeLayoutEngine.h | C | gpl-2.0 | 14,528 |
// methods (functions of objects)
// see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Method_definitions
// http://www.ecma-international.org/ecma-262/6.0/#sec-method-definitions
var Obj = {
myMethod(a, b) {
},
*myGenerator(a, b) {
}
}
| masatake/ctags | Units/parser-javascript.r/js-methods.d/input.js | JavaScript | gpl-2.0 | 284 |
/* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the... | Spartonos/android_kernel_motorola_falcon_umts | drivers/video/msm/mdss/mdss_mdp_intf_video.c | C | gpl-2.0 | 19,252 |
/*
* Copyright (C) 2013 University of Dundee & Open Microscopy Environment.
* 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; either version 2 of the License, or
* ... | jballanc/openmicroscopy | components/tests/ui/library/java/src/org/openmicroscopy/shoola/keywords/ThumbnailCheckLibrary.java | Java | gpl-2.0 | 9,339 |
<?php
/**
* Akeeba Engine
* The modular PHP5 site backup engine
* @copyright Copyright (c)2009-2013 Nicholas K. Dionysopoulos
* @license GNU GPL version 3 or, at your option, any later version
* @package akeebaengine
*/
// Protection against direct access
defined('AKEEBAENGINE') or die();
/**
* Da... | effortlesssites/template | tmp/com_akeeba-3.9.2-core/backend/akeeba/abstract/driver.php | PHP | gpl-2.0 | 39,065 |
/*
* Creado por SharpDevelop.
* Usuario: jonathan
* Fecha: 09/12/2013
* Hora: 11:17 p. m.
*
* Para cambiar esta plantilla use Herramientas | Opciones | Codificación | Editar Encabezados Estándar
*/
using System;
using System.Drawing;
using System.Windows.Forms;
namespace Proyecto
{
/// <summary>
/// Descrip... | csaldana/Proyecto-final | ZombieSystem1.2.0/Proyecto V 1.1.1/Zombie System V1.2/Zombie System V1.3/Proyecto/MenuConsulta.cs | C# | gpl-2.0 | 939 |
/*
* linux/sound/oss/dmasound/dmasound_awacs.c
*
* PowerMac `AWACS' and `Burgundy' DMA Sound Driver
* with some limited support for DACA & Tumbler
*
* See linux/sound/oss/dmasound/dmasound_core.c for copyright and
* history prior to 2001/01/26.
*
* 26/01/2001 ed 0.1 Iain Sandoe
* - added version info.
... | waterice/Test-Git | sound/oss/dmasound/dmasound_awacs.c | C | gpl-2.0 | 86,835 |
//-----------------------------------------------------------------------------
// boost-libs variant/test/test8.cpp header file
// See http://www.boost.org for updates, documentation, and revision history.
//-----------------------------------------------------------------------------
//
// Copyright (c) 2003
// Eric ... | rprata/boost | libs/variant/test/test8.cpp | C++ | gpl-2.0 | 2,621 |
/*
* iaf_psc_alpha_presc.cpp
*
* This file is part of NEST.
*
* Copyright (C) 2004 The NEST Initiative
*
* NEST 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, o... | INM-6/nest-git-migration | precise/iaf_psc_alpha_presc.cpp | C++ | gpl-2.0 | 18,368 |
/*
Copyright (c) 2006-2009 by Jakob Schroeter <js@camaya.net>
This file is part of the gloox library. http://camaya.net/gloox
This software is distributed under a license. The full license
agreement can be found in the file LICENSE in this distribution.
This software may not be copied, modified, sold or dist... | segfault/gloox-clone | src/vcardupdate.cpp | C++ | gpl-2.0 | 1,874 |
<?php
/**
* TestLink Open Source Project - http://testlink.sourceforge.net/
* $Id: keywordBarChart.php,v 1.16.2.1 2010/12/10 15:52:23 franciscom Exp $
*
* @author Kevin Levy
*
* - PHP autoload feature is used to load classes on demand
*
* @internal revisions
*
*/
require_once('../../config.inc.php');
requi... | TabbedOut/testlink-1.9.9 | lib/results/keywordBarChart.php | PHP | gpl-2.0 | 3,079 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.