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 |
|---|---|---|---|---|---|
// CodeContracts
//
// Copyright (c) Microsoft Corporation
//
// All rights reserved.
//
// MIT License
//
// 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 wit... | ndykman/CodeContracts | Microsoft.Research/Contracts/System.Web/Sources/System.Web.UI.WebControls.WebParts.TransformerTypeCollection.cs | C# | mit | 3,050 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Umbraco.Core.Xml.XPath
{
/// <summary>
/// Represents the type of a content that can be navigated via XPath.
/// </summary>
interface INavigableContentType
{
/// <summary>
/// Gets the n... | lars-erik/Umbraco-CMS | src/Umbraco.Core/Xml/XPath/INavigableContentType.cs | C# | mit | 637 |
package com.mozu.api.utils;
public class Endpoints {
public static final String AUTH_URL = "api/platform/applications/authtickets";
public static final String AUTH_REFRESH_URL = "api/platform/applications/authtickets/refresh-ticket/%s";
public static final String TENANT_END_POINT = "api/platform/tenants";
... | carsonreinke/mozu-java-sdk | src/main/java/com/mozu/api/utils/Endpoints.java | Java | mit | 1,200 |
/*=============================================================================
Copyright (c) 2001-2011 Joel de Guzman
Distributed under 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)
====================================... | nginnever/zogminer | tests/deps/boost/fusion/tuple/detail/make_tuple.hpp | C++ | mit | 3,058 |
<?php
namespace Bolt\Helpers;
use Cocur\Slugify\Slugify;
class Str
{
/**
* Returns a "safe" version of the given string - basically only US-ASCII and
* numbers. Needed because filenames and titles and such, can't use all characters.
*
* @param string $str
* @param boolean $strict
*... | CarsonF/bolt | src/Helpers/Str.php | PHP | mit | 2,298 |
import Ember from 'ember-metal'; // Ember as namespace
import {
A as emberA,
typeOf,
String as StringUtils,
Namespace,
Object as EmberObject
} from 'ember-runtime';
/**
@module ember
@submodule ember-extension-support
*/
/**
The `ContainerDebugAdapter` helps the container and resolver interface
with too... | duggiefresh/ember.js | packages/ember-extension-support/lib/container_debug_adapter.js | JavaScript | mit | 2,656 |
* {
box-sizing: border-box;
-webkit-overflow-scrolling: touch;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
-webkit-text-size-adjust: none;
-webkit-touch-callout: none;
-webkit-font-smoothing: antialiased;
}
.progress {
background-color: #000;
height: 2px;
left: 0px;
position: ... | PeterDaveHello/jsdelivr | files/docsify/1.5.2/themes/pure.css | CSS | mit | 8,937 |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model common\models\User */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="user-form">
<?php $form = ActiveForm::begin(); ?>
<?= $form->field($model, 'status')->textInput() ?>
<div class="form-group"... | wedigitalApps/foundation | themes/wedigital/backend/user/_form.php | PHP | mit | 555 |
<?php
/**
* WPSEO plugin file.
*
* @package WPSEO\Internals\Options
*/
/**
* Option: wpseo_taxonomy_meta.
*/
class WPSEO_Taxonomy_Meta extends WPSEO_Option {
/**
* @var string Option name.
*/
public $option_name = 'wpseo_taxonomy_meta';
/**
* @var bool Whether to include the option in the return f... | smpetrey/leahconstantine.com | web/app/plugins/wordpress-seo/inc/options/class-wpseo-taxonomy-meta.php | PHP | mit | 18,076 |
<?php
namespace Sonata\AdminBundle\Tests\Fixtures\Admin;
use Sonata\AdminBundle\Admin\Admin;
class PostAdmin extends Admin
{
protected $metadataClass = null;
public function setParentAssociationMapping($associationMapping)
{
$this->parentAssociationMapping = $associationMapping;
}
publi... | evgenikozlov/test-task | vendor/sonata-project/admin-bundle/Tests/Fixtures/Admin/PostAdmin.php | PHP | mit | 607 |
// CodeContracts
//
// Copyright (c) Microsoft Corporation
//
// All rights reserved.
//
// MIT License
//
// 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 wit... | ndykman/CodeContracts | Microsoft.Research/Contracts/MsCorlib/System.Collections.Generic.IList.cs | C# | mit | 5,963 |
namespace Merchello.Web.Models.ContentEditing
{
using System;
using System.Collections.Generic;
using Merchello.Core;
using Merchello.Core.Models.TypeFields;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
/// <summary>
/// The line item display base.
/// </summary>
... | MindfireTechnology/Merchello | src/Merchello.Web/Models/ContentEditing/LineItemDisplayBase.cs | C# | mit | 1,952 |
(function ($) {
'use strict';
$.extend(true, $.trumbowyg, {
langs: {
// jshint camelcase:false
en: {
fontFamily: 'Font'
},
es: {
fontFamily: 'Fuente'
},
da: {
fontFamily: 'Skrifttype'... | extend1994/cdnjs | ajax/libs/Trumbowyg/2.16.2/plugins/fontfamily/trumbowyg.fontfamily.js | JavaScript | mit | 3,157 |
CKEDITOR.plugins.setLang("uicolor","ro",{title:"Interfața cu utilizatorul a Selectorului de culoare",options:"Opțiuni culoare",highlight:"Evidențiere",selected:"Culoare selectată",predefined:"Seturi de culoare predefinite",config:"Copiază această expresie în fișierul tău config.js"}); | cdnjs/cdnjs | ajax/libs/ckeditor/4.17.2/plugins/uicolor/lang/ro.min.js | JavaScript | mit | 294 |
<html>
<head>
<meta charset="utf-8">
<meta name=viewport content="width=device-width, initial-scale=1">
{% if dev %}
{% style "css/site.css" %}
{% else %}
{% style "css/site.min.css" %}
{% endif %}
</head>
<body>
<div id="app"></div>
<script src="js/app.js" type="text/javas... | firthh/thoughtmule | resources/templates/index.html | HTML | epl-1.0 | 355 |
<?php
global $qode_options_proya;
$blog_hide_comments = "";
if (isset($qode_options_proya['blog_hide_comments'])) {
$blog_hide_comments = $qode_options_proya['blog_hide_comments'];
}
$blog_hide_author = "";
if (isset($qode_options_proya['blog_hide_author'])) {
$blog_hide_author = $qode_options_proya['blog_hide_a... | comc49/a2f_bridge_theme | wp-content/themes_bak/bridge/templates/blog_large_image_simple-loop.php | PHP | gpl-2.0 | 7,098 |
/*
* Builtin "git tag"
*
* Copyright (c) 2007 Kristian Høgsberg <krh@redhat.com>,
* Carlos Rica <jasampler@gmail.com>
* Based on git-tag.sh and mktag.c by Linus Torvalds.
*/
#include "cache.h"
#include "builtin.h"
#include "refs.h"
#include "tag.h"
#include "run-command.h"
#include "parse-opti... | TigerKid001/git | builtin/tag.c | C | gpl-2.0 | 13,238 |
// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Linux Socket Filter - Kernel level socket filtering
*
* Based on the design of the Berkeley Packet Filter. The new
* internal format has been designed by PLUMgrid:
*
* Copyright (c) 2011 - 2014 PLUMgrid, http://plumgrid.com
*
* Authors:
*
* Jay Schulist <jschl... | koct9i/linux | net/core/filter.c | C | gpl-2.0 | 234,767 |
<?php
namespace Drupal\Tests\rest\Functional\EntityResource\Media;
@trigger_error('The ' . __NAMESPACE__ . '\MediaResourceTestBase is deprecated in Drupal 8.6.x and will be removed before Drupal 9.0.0. Instead, use Drupal\Tests\media\Functional\Rest\MediaResourceTestBase. See https://www.drupal.org/node/2971931.', E_... | maskedjellybean/tee-prop | web/core/modules/rest/tests/src/Functional/EntityResource/Media/MediaResourceTestBase.php | PHP | gpl-2.0 | 701 |
/* savage_bci.c -- BCI support for Savage
*
* Copyright 2004 Felix Kuehling
* All Rights Reserved.
*
* 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 wit... | kv193/buildroot | linux/linux-kernel/drivers/gpu/drm/savage/savage_bci.c | C | gpl-2.0 | 31,167 |
/*
* 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... | npf-ati/linux-2.6-imx | drivers/mmc/card/block.c | C | gpl-2.0 | 67,016 |
/*
* Copyright (C) 2007 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... | bq/aquaris-E4 | sound/soc/mediatek/mt_soc_audio_v3/AudDrv_Clk.c | C | gpl-2.0 | 28,643 |
/* This file is part of the ScriptDev2 Project. See AUTHORS file for Copyright information
* 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 opti... | Exxenoz/mangos-wotlk | src/scriptdev2/scripts/northrend/gundrak/boss_moorabi.cpp | C++ | gpl-2.0 | 5,803 |
/*
* arch/arm/include/asm/cacheflush.h
*
* Copyright (C) 1999-2002 Russell King
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#ifndef _ASMARM_CACHEFLUSH_H
#define _ASM... | mlachwani/Android-4.4.2-Manta-Kernel | arch/arm/include/asm/cacheflush.h | C | gpl-2.0 | 11,383 |
/*
* drivers/gpu/ion/ion.c
*
* Copyright (C) 2011 Google, Inc.
*
* 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, and modified under those terms.
*
* This program is distributed in the hop... | HelllGuest/boom_kernel_sprout_kk | drivers/gpu/ion/ion.c | C | gpl-2.0 | 48,833 |
/**************************************************************************
* Copyright (c) 2007, Intel Corporation.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free Software Foundat... | BenzoPlayer/kernel_asus_fugu | drivers/staging/imgtec/intel/video/common/psb_mmu.c | C | gpl-2.0 | 29,451 |
/*
* Copyright (C) 2011-2014 MediaTek Inc.
*
* This program is free software: you can redistribute it and/or modify it under the terms of the
* GNU General Public License version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRAN... | vredniiy/sprout | drivers/misc/mediatek/accdet/accdet_drv.c | C | gpl-2.0 | 4,055 |
/*
* linux/kernel/seccomp.c
*
* Copyright 2004-2005 Andrea Arcangeli <andrea@cpushare.com>
*
* Copyright (C) 2012 Google, Inc.
* Will Drewry <wad@chromium.org>
*
* This defines a simple but solid secure-computing facility.
*
* Mode 1 uses a fixed list of allowed system calls.
* Mode 2 allows user-defined sy... | Elite-Kernels/Elite_angler | kernel/seccomp.c | C | gpl-2.0 | 22,899 |
/*--------------------------------------------------------------------*/
/*--- Platform-specific syscalls stuff. syswrap-ppc64-aix5.c ---*/
/*--------------------------------------------------------------------*/
/*
This file is part of Valgrind, a dynamic binary instrumentation
framework.
Copyright (... | MicroTrustRepos/microkernel | src/l4/pkg/valgrind/src/valgrind-3.6.0-svn/coregrind/m_syswrap/syswrap-ppc64-aix5.c | C | gpl-2.0 | 30,484 |
/**
* The CSS values that are wrapped in '/*variable' comments are intended for use
* by https://www.drupal.org/project/style_settings. Enable that module to
* have those CSS variables exposed in the settings UI.
*/
.flickr-photo-img,
img.flickr-photoset-img,
.flickr-wrap,
span.flickr-credit {
-webkit-border-rad... | jamidwyer/flickr | style/css/flickrstyle_rounded.css | CSS | gpl-2.0 | 521 |
(function(){tinymce.PluginManager.requireLangPack('codemagic');tinymce.create('tinymce.plugins.CodeMagic',{init:function(ed,url){ed.addCommand('mceCodeMagic',function(){ed.windowManager.open({file:url+'/codemagic.php',width:1200,height:600,inline:1,maximizable:true},{plugin_url:url})});ed.addButton('codemagic',{title:'... | tgrimault/manorhouseporto.wp | wp-content/plugins/ultimate-tinymce/addons/codemagic/editor_plugin.js | JavaScript | gpl-2.0 | 752 |
/* This file is part of the ScriptDev2 Project. See AUTHORS file for Copyright information
* 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 opti... | Exxenoz/mangos-wotlk | src/scriptdev2/scripts/northrend/violet_hold/boss_erekem.cpp | C++ | gpl-2.0 | 8,075 |
<header>ðÒÏÃÅÓÓ</header>
÷ ÜÔÏÍ ÐÏÌÅ ÎÁÈÏÄÉÔÓÑ ËÏÍÁÄÎÁÑ ÓÔÒÏËÁ ÐÒÏÇÒÁÍÍÙ, ËÏÔÏÒÁÑ ÂÕÄÅÔ ×ÙÚ×ÁÎÁ ÄÁÎÎÙÍ ÐÒÏÃÅÓÓÏÍ ÉÎÉÃÉÁÌÉÚÁÃÉÉ (ÎÁÐÒÉÍÅÒ: /etc/init.d/rc, /sbin/getty ...).<p>
<hr>
| pakohan/syso-kernel | webmin-1.660/inittab/help/process.ru_SU.html | HTML | gpl-2.0 | 182 |
/*!
\file GUILabel.h
\brief
*/
#pragma once
/*
* Copyright (C) 2005-2010 Team XBMC
* http://www.xbmc.org
*
* This Program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, ... | rsalveti/xbmc-eden | xbmc/guilib/GUILabel.h | C | gpl-2.0 | 8,056 |
<?php
/**
* Outputs the RSS2 XML format comment feed using the feed-rss2.php file in
* wp-includes folder. This file only sets the feed format and includes the
* feed-rss2-comments.php.
*
* This file is no longer used in WordPress and while it is not deprecated now.
* This file will most likely be deprecated or r... | localshred/dtraders | wp-commentsrss2.php | PHP | gpl-2.0 | 625 |
<?php
/**
* File contains: eZ\Publish\Core\Persistence\Legacy\Tests\Content\StorageRegistryTest class.
*
* @copyright Copyright (C) eZ Systems AS. All rights reserved.
* @license For full copyright and license information view LICENSE file distributed with this source code.
*
* @version //autogentag//
*/
namesp... | flovntp/BikeTutorialWebsite | vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/Persistence/Legacy/Tests/Content/StorageRegistryTest.php | PHP | gpl-2.0 | 2,076 |
<?php
/**
* Credits administration panel.
*
* @package WordPress
* @subpackage Administration
*/
/** WordPress Administration Bootstrap */
require_once __DIR__ . '/admin.php';
require_once __DIR__ . '/includes/credits.php';
$title = __( 'Credits' );
list( $display_version ) = explode( '-', get_bloginfo( 'versio... | TheThumbsupguy/Ross-Upholstery-Inc | wp-admin/credits.php | PHP | gpl-2.0 | 4,135 |
/*
* linux/arch/arm/mach-mmp/brownstone.c
*
* Support for the Marvell Brownstone Development Platform.
*
* Copyright (C) 2009-2010 Marvell International Ltd.
*
* 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
* publ... | chase2534/gtab47.freekern | arch/arm/mach-mmp/brownstone.c | C | gpl-2.0 | 7,186 |
/*
* INET An implementation of the TCP/IP protocol suite for the LINUX
* operating system. INET is implemented using the BSD Socket
* interface as the means of communication with the user level.
*
* Implementation of the Transmission Control Protocol(TCP).
*
* Authors: Ross Biro
* Fred N. van Kempen, <wa... | GameTheory-/android_kernel_g4stylusn2 | net/ipv4/tcp_input.c | C | gpl-2.0 | 170,266 |
from Source import Source
from Components.Element import cached
from Components.SystemInfo import SystemInfo
from enigma import eServiceReference
StreamServiceList = []
class StreamService(Source):
def __init__(self, navcore):
Source.__init__(self)
self.ref = None
self.__service = None
self.navcore = navcore... | Dima73/enigma2 | lib/python/Components/Sources/StreamService.py | Python | gpl-2.0 | 2,074 |
<?php
/**
* Template Name: Wide Page Template
*
* Description: A page template that provides a key component of WordPress as a CMS
* by meeting the need for a carefully crafted introductory page. The front page template
* in Twenty Twelve consists of a page content area for adding text, images, video --
* anythi... | as1anhawk/ICT2_Team3 | wp-content/themes/clickboutique/page-templates/page-wide.php | PHP | gpl-2.0 | 1,843 |
<html lang="en">
<head>
<title>Context management - Debugging with GDB</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="Debugging with GDB">
<meta name="generator" content="makeinfo 4.13">
<link title="Top" rel="start" href="index.html#Top">
<link rel="up" href="GDB_002fMI-... | byeonggonlee/lynx-ns-gb | toolchain/share/doc/arm-arm-none-eabi/html/gdb/Context-management.html | HTML | gpl-2.0 | 5,980 |
int main()
{
if(true) {return 1;}
else if(true) {return 1;}
else {return 1;}
} | brmqk3/uncrustify | tests/output/cpp/34171-i1181.cpp | C++ | gpl-2.0 | 81 |
#!/usr/bin/python
# -*- coding: utf-8 -*-
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
from __future__ import absolute_import, division, print_function
__metaclass__ = type
ANSIBLE_METADATA = {'metadata_version': '1.1',
'status': ['preview'],
... | hryamzik/ansible | lib/ansible/modules/network/aci/aci_tenant_span_dst_group.py | Python | gpl-3.0 | 6,414 |
/*
* libtcod 1.5.1
* Copyright (c) 2008,2009,2010,2012 Jice & Mingos
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* ... | pasoev/innfin | src/oldcot/zip.h | C | gpl-3.0 | 3,130 |
Clazz.declarePackage ("JSV.common");
Clazz.load (["java.lang.Enum", "JSV.source.JDXDataObject", "JU.Lst"], "JSV.common.Spectrum", ["java.lang.Boolean", "$.Double", "java.util.Hashtable", "JU.PT", "JSV.common.Coordinate", "$.Parameters", "$.PeakInfo", "JSV.source.JDXSourceStreamTokenizer", "JU.Logger"], function () {
... | davidbuzatto/CryProteinModelsComparisonLab | web/j2s/JSV/common/Spectrum.js | JavaScript | gpl-3.0 | 18,056 |
;; XSTORMY16 Machine description template
;; Copyright (C) 1997, 1998, 1999, 2001, 2002 Free Software Foundation, Inc.
;; Contributed by Red Hat, Inc.
;; This file is part of GNU CC.
;; GNU CC is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published ... | pumpkin83/OpenUH-OpenACC | osprey/kgccfe/gnu/config/stormy16/stormy16.md | Markdown | gpl-3.0 | 30,393 |
/* mpq_div -- divide two rational numbers.
Copyright 1991, 1994, 1995, 1996, 2000, 2001 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
The GNU MP 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 Fr... | carthy/beard.gmp | mpq/div.c | C | gpl-3.0 | 2,833 |
#ifndef The_Powder_Toy_Sample_h
#define The_Powder_Toy_Sample_h
#include "Particle.h"
class SimulationSample
{
public:
Particle particle;
int ParticleID;
int PositionX, PositionY;
float AirPressure;
float AirTemperature;
float AirVelocityX;
float AirVelocityY;
int WallType;
float Gravity;
float GravityVe... | GreenFireDragon/GreenFireDragon-s-TPTMod | src/simulation/Sample.h | C | gpl-3.0 | 650 |
s = new ShardingTest( "diffservers1" , 2 );
assert.eq( 2 , s.config.shards.count() , "server count wrong" );
assert.eq( 2 , s._connections[0].getDB( "config" ).shards.count() , "where are servers!" );
assert.eq( 0 , s._connections[1].getDB( "config" ).shards.count() , "shouldn't be here" );
test1 = s.getDB( "test1"... | wvdd007/robomongo | src/third-party/mongodb/jstests/sharding/diffservers1.js | JavaScript | gpl-3.0 | 726 |
// -*- mode: C++; c-indent-level: 4; c-basic-offset: 4; tab-width: 4 -*-
//
// IndexHash.h: Rcpp R/C++ interface class library -- hashing utility, inspired
// from Simon's fastmatch package
//
// Copyright (C) 2010, 2011 Simon Urbanek
// Copyright (C) 2012 Dirk Eddelbuettel and Romain Francois
// Copyright (C) 2014 ... | nafiux/portableR | site-library/Rcpp/include/Rcpp/hash/IndexHash.h | C | agpl-3.0 | 6,906 |
<?php
return array(
'group_exists' => 'குழு ஏற்கனவே உள்ளது!',
'group_not_found' => 'குழு [: id] இல்லை.',
'group_name_required' => 'பெயர் புலம் தேவை',
'success' => array(
'create' => 'குழு வெற்றிகரமாக உருவாக்கப்பட்டது.',
'update' => 'குழு வெற்றிகரமாக புதுப்பிக்கப்பட்டது.',
... | uberbrady/snipe-it | resources/lang/ta/admin/groups/message.php | PHP | agpl-3.0 | 1,553 |
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import api, fields, models
class ResConfigSettings(models.TransientModel):
_inherit = "res.config.settings"
google_drive_authorization_code = fields.Char(string='Authorization Code')
google_drive... | Aravinthu/odoo | addons/google_drive/models/res_config_settings.py | Python | agpl-3.0 | 1,634 |
#Track Items Using Barcode
A barcode is a value decoded into vertical spaced lines. Barcode scanners are the input medium, like Keyboard. When it scans a barcode, the data appears in the computer screens at the point of a cursor.
To enable barcode feature in ERPNext go to:
`Setup > Customize > Features Setup`
Check... | indictranstech/osmosis-erpnext | erpnext/docs/user/manual/en/stock/articles/track-items-using-barcode.md | Markdown | agpl-3.0 | 998 |
/**
* Orthanc - A Lightweight, RESTful DICOM Store
* Copyright (C) 2012-2015 Sebastien Jodogne, Medical Physics
* Department, University Hospital of Liege, Belgium
*
* 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... | rbetancor/orthanc-webviewer | Orthanc/Uuid.cpp | C++ | agpl-3.0 | 3,863 |
/*
* ref.c: reference counting
*
* Copyright (C) 2009-2011 David Lutterkort
*
* This 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 2.1 of the License, or (at your opti... | camptocamp/augeas-debian | src/ref.c | C | lgpl-2.1 | 1,339 |
// @(#)root/ged:$Id$
// Author: Ilka Antcheva 11/05/04
/*************************************************************************
* Copyright (C) 1995-2002, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* ... | dawehner/root | gui/ged/inc/TAxisEditor.h | C | lgpl-2.1 | 4,432 |
/**
* Copyright © 2002 Instituto Superior Técnico
*
* This file is part of FenixEdu Academic.
*
* FenixEdu Academic 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... | pedrosan7os/fenixedu-academic | src/main/java/org/fenixedu/academic/ui/faces/components/util/CalendarLink.java | Java | lgpl-3.0 | 5,981 |
// personal includes ".h"
#include "EUTELESCOPE.h"
#include "EUTelBaseDetector.h"
#include "EUTelTLUDetector.h"
// system includes <>
#include <iostream>
#include <iomanip>
#include <vector>
#include <string>
using namespace std;
using namespace eutelescope;
EUTelTLUDetector::EUTelTLUDetector() : EUTelBaseDetector(... | freidt/eudaq | nreader/detdescription/EUTelTLUDetector.cc | C++ | lgpl-3.0 | 1,905 |
package uk.co.alt236.bluetoothlelib.device.beacon.ibeacon;
/**
*
*/
public class IBeaconConstants {
public static final byte[] MANUFACTURER_DATA_IBEACON_PREFIX = {0x4C, 0x00, 0x02, 0x15};
}
| StuartGuo/Bluetooth-LE-Library---Android | library/src/main/java/uk/co/alt236/bluetoothlelib/device/beacon/ibeacon/IBeaconConstants.java | Java | apache-2.0 | 198 |
// 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 "chrome/browser/autocomplete/autocomplete_match.h"
#include "base/basictypes.h"
#include "testing/gtest/include/gtest/gtest.h"
TEST(Autocom... | plxaye/chromium | src/chrome/browser/autocomplete/autocomplete_match_unittest.cc | C++ | apache-2.0 | 4,260 |
// This is a generated file. Not intended for manual editing.
package com.intellij.sh.psi.impl;
import java.util.List;
import org.jetbrains.annotations.*;
import com.intellij.lang.ASTNode;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiElementVisitor;
import com.intellij.psi.util.PsiTreeUtil;
import st... | smmribeiro/intellij-community | plugins/sh/gen/com/intellij/sh/psi/impl/ShUnaryExpressionImpl.java | Java | apache-2.0 | 1,138 |
/*
* 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... | wso2/product-das | modules/integration/tests-common/integration-test-utils/src/main/java/org/wso2/das/analytics/rest/beans/DrillDownPathBean.java | Java | apache-2.0 | 2,162 |
/*
* 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... | gh351135612/presto | presto-main/src/test/java/com/facebook/presto/sql/planner/assertions/LimitMatcher.java | Java | apache-2.0 | 1,577 |
/*
* JBoss, Home of Professional Open Source.
* Copyright 2014 Red Hat, Inc., and individual contributors
* as indicated by the @author tags.
*
* 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 Licen... | TomasHofman/undertow | core/src/main/java/io/undertow/util/Methods.java | Java | apache-2.0 | 6,437 |
---
license: >
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
... | Icenium/cordova-docs | www/docs/en/2.3.0/cordova/globalization/globalization.getPreferredLanguage.md | Markdown | apache-2.0 | 2,849 |
package com.intellij.execution.configurations;
/**
* Configuration of such type can't be manually added or removed by the user; the template entry is hidden.
*/
public interface VirtualConfigurationType {
}
| siosio/intellij-community | platform/lang-api/src/com/intellij/execution/configurations/VirtualConfigurationType.java | Java | apache-2.0 | 210 |
@org.osgi.annotation.bundle.Export
@org.osgi.annotation.versioning.Version("2.0.0")
package bndtools.editor.model;
| psoreide/bnd | bndtools.core/src/bndtools/editor/model/package-info.java | Java | apache-2.0 | 115 |
/*
*
* Copyright 2014, Google Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of condi... | otsimo/analytics | vendor/src/google.golang.org/grpc/clientconn_test.go | GO | apache-2.0 | 7,643 |
/*
* Copyright 2003-2013 Dave Griffith, Bas Leijdekkers
*
* 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 applicab... | siosio/intellij-community | plugins/InspectionGadgets/src/com/siyeh/ig/abstraction/MagicNumberInspection.java | Java | apache-2.0 | 7,475 |
package main
import (
"fmt"
"os"
"path/filepath"
"github.com/karrick/godirwalk"
"github.com/pkg/errors"
)
func main() {
if len(os.Args) < 2 {
fmt.Fprintf(os.Stderr, "usage: %s dir1 [dir2 [dir3...]]\n", filepath.Base(os.Args[0]))
os.Exit(2)
}
scratchBuffer := make([]byte, 64*1024) // allocate once and re... | pweil-/origin | vendor/github.com/karrick/godirwalk/examples/clean-empties/main.go | GO | apache-2.0 | 1,592 |
/*
* Copyright 2014 Open Networking Laboratory
*
* 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 la... | packet-tracker/onos | providers/pcep/tunnel/src/test/java/org/onosproject/provider/pcep/tunnel/impl/PcepControllerAdapter.java | Java | apache-2.0 | 2,267 |
###########################################################################
#
# Copyright 2016 Samsung Electronics 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
#
# htt... | jsdosa/TizenRT | apps/system/i2c/Makefile | Makefile | apache-2.0 | 4,624 |
// "Replace 'collect(toUnmodifiableList())' with 'toList()'" "true"
import java.util.List;
import java.util.stream.*;
class X {
void test(Stream<String> stream) {
List<String> list = stream.collect<caret>(Collectors.toUnmodifiableList());
}
} | smmribeiro/intellij-community | java/java-tests/testData/inspection/streamApiCallChains/beforeUnmodifiableListJava16.java | Java | apache-2.0 | 251 |
/*
* Copyright 2005-2013 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... | likaiwalkman/spring-ldap | core/src/main/java/org/springframework/ldap/core/support/ContextMapperWithControls.java | Java | apache-2.0 | 1,490 |
# Copyright 2008-2015 Nokia Solutions and Networks
#
# 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 l... | caio2k/RIDE | src/robotide/lib/robot/output/librarylogger.py | Python | apache-2.0 | 2,175 |
/*
* 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 ... | AndreasAbdi/jackrabbit-oak | oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/nodetype/EffectiveType.java | Java | apache-2.0 | 11,952 |
/**
******************************************************************************
* @file stm32h7xx_hal_sram.c
* @author MCD Application Team
* @brief SRAM HAL module driver.
* This file provides a generic firmware to drive SRAM memories
* mounted as external device.
*
@verbatim... | adfernandes/mbed | targets/TARGET_STM/TARGET_STM32H7/STM32Cube_FW/STM32H7xx_HAL_Driver/stm32h7xx_hal_sram.c | C | apache-2.0 | 33,824 |
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package org.jetbrains.plugins.groovy.lang.psi.impl.synthetic;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.psi.*;
import org.jetbrains.annotations.NotNull;
... | siosio/intellij-community | plugins/groovy/groovy-psi/src/org/jetbrains/plugins/groovy/lang/psi/impl/synthetic/GrTraitField.java | Java | apache-2.0 | 2,141 |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft 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 the License at
// http://www.apa... | seanbamsft/azure-powershell | src/ResourceManager/Insights/Commands.Insights/Diagnostics/GetAzureRmDiagnosticSettingCommand.cs | C# | apache-2.0 | 2,092 |
#!/bin/bash
# Copyright 2015 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 ... | jawnsy/cri-o | vendor/k8s.io/kubernetes/cluster/gce/debian/master-helper.sh | Shell | apache-2.0 | 4,297 |
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | dmiszkiewicz/elasticsearch | src/main/java/org/elasticsearch/action/search/type/TransportSearchCountAction.java | Java | apache-2.0 | 3,920 |
/*=========================================================================
Program: Visualization Toolkit
Module: vtkDataSetTriangleFilter.h
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This so... | gisfromscratch/datavisualizer | lib/vtk/include/Filters/General/vtkDataSetTriangleFilter.h | C | apache-2.0 | 2,876 |
/**
* 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... | pkdevbox/stratos | components/org.apache.stratos.common/src/main/java/org/apache/stratos/common/beans/topology/ClusterBean.java | Java | apache-2.0 | 3,225 |
/*
* Copyright 2016 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... | romartin/kie-wb-common | kie-wb-common-screens/kie-wb-common-datasource-mgmt/kie-wb-common-datasource-mgmt-client/src/main/java/org/kie/workbench/common/screens/datasource/management/client/dbexplorer/schemas/DatabaseSchemaExplorerView.java | Java | apache-2.0 | 1,272 |
//===--- BasicInstructionPropertyDumper.cpp -------------------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http://swift.org/LI... | russbishop/swift | lib/SILOptimizer/UtilityPasses/BasicInstructionPropertyDumper.cpp | C++ | apache-2.0 | 1,568 |
// 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 "chrome/browser/ui/views/apps/chrome_native_app_window_views_aura.h"
#include "apps/ui/views/app_window_frame_view.h"
#include "ash/ash_constant... | Chilledheart/chromium | chrome/browser/ui/views/apps/chrome_native_app_window_views_aura.cc | C++ | bsd-3-clause | 15,174 |
<header>Program zewnętrzny używany zamiast doręczania do skrzynki pocztowej</header>
<center><tt>mailbox_command</tt></center>
<hr>
Ten parametr określa fakultatywne zewnętrzne polecenie wykorzystywane
zamiast doręczania do skrzynki pocztowej. Polecenie będzie uruchamiane
z prawami odbiorcy i z prawidł... | rcuvgd/Webmin22.01.2016 | postfix/help/opt_mailbox_command.pl.UTF-8.html | HTML | bsd-3-clause | 1,401 |
// 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.
#ifndef REMOTING_CLIENT_JNI_CHROMOTING_JNI_RUNTIME_H_
#define REMOTING_CLIENT_JNI_CHROMOTING_JNI_RUNTIME_H_
#include <jni.h>
#include <string>
#include ... | CTSRD-SOAAP/chromium-42.0.2311.135 | remoting/client/jni/chromoting_jni_runtime.h | C | bsd-3-clause | 5,739 |
// 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.
#ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_DATA_MODEL_H_
#define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_DATA_MODEL_H_
#include <string>
#inclu... | Chilledheart/chromium | components/autofill/core/browser/autofill_data_model.h | C | bsd-3-clause | 2,641 |
import warnings
from django.conf import settings
from django.contrib.auth.models import User, Group, Permission, AnonymousUser
from django.contrib.contenttypes.models import ContentType
from django.test import TestCase
class BackendTest(TestCase):
backend = 'django.contrib.auth.backends.ModelBackend'
def s... | towerjoo/mindsbook | django/contrib/auth/tests/auth_backends.py | Python | bsd-3-clause | 9,952 |
using FluentNHibernate.Conventions;
using FluentNHibernate.Conventions.Instances;
namespace Examples.FirstAutomappedProject
{
/// <summary>
/// This is a convention that will be applied to all entities in your application. What this particular
/// convention does is to specify that many-to-one, one... | HermanSchoenfeld/fluent-nhibernate | src/Examples.FirstAutomappedProject/CascadeConvention.cs | C# | bsd-3-clause | 923 |
from SimpleCV import Camera, Image, Color, TemporalColorTracker, ROI, Display
import matplotlib.pyplot as plt
cam = Camera(1)
tct = TemporalColorTracker()
img = cam.getImage()
roi = ROI(img.width*0.45,img.height*0.45,img.width*0.1,img.height*0.1,img)
tct.train(cam,roi=roi,maxFrames=250,pkWndw=20)
# Matplot Lib exampl... | beni55/SimpleCV | SimpleCV/MachineLearning/TestTemporalColorTracker.py | Python | bsd-3-clause | 1,136 |
# [Echo](https://github.com/labstack/echo) (Go) Benchmarking Test
This is the go portion of a [benchmarking test suite](https://www.techempower.com/benchmarks/) comparing a variety of web development platforms.
> High performance, extensible, minimalist Go web framework
## Test URLs
- http://localhost:8080/json
- h... | sumeetchhetri/FrameworkBenchmarks | frameworks/Go/echo/README.md | Markdown | bsd-3-clause | 495 |
// 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.
#ifndef CHROME_BROWSER_UI_BLOCKED_CONTENT_BLOCKED_WINDOW_PARAMS_H_
#define CHROME_BROWSER_UI_BLOCKED_CONTENT_BLOCKED_WINDOW_PARAMS_H_
#include "chrome/br... | SaschaMester/delicium | chrome/browser/ui/blocked_content/blocked_window_params.h | C | bsd-3-clause | 1,733 |
Объекты доступа к данным (DAO)
==============================
Построенные поверх [PDO](http://php.net/manual/ru/book.pdo.php), Yii DAO (объекты доступа к данным) обеспечивают
объектно-ориентированный API для доступа к реляционным базам данных. Это основа для других, более продвинутых, методов
доступа к базам данных, в... | janisto/yii2 | docs/guide-ru/db-dao.md | Markdown | bsd-3-clause | 35,417 |
// Copyright 2014 the V8 project 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 "src/base/bits.h"
#include "src/base/division-by-constant.h"
#include "src/compiler/js-graph.h"
#include "src/compiler/machine-operator-reducer... | sgraham/nope | v8/test/unittests/compiler/machine-operator-reducer-unittest.cc | C++ | bsd-3-clause | 59,530 |
/*
* Copyright 2016 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef GrResourceHandle_DEFINED
#define GrResourceHandle_DEFINED
#include "include/core/SkTypes.h"
// Opaque handle to a resource. Users should always use the macro below to... | youtube/cobalt | third_party/skia_next/third_party/skia/src/gpu/GrResourceHandle.h | C | bsd-3-clause | 1,131 |
require 'rubygems'
require 'rubygems/user_interaction'
require 'uri'
##
# RemoteFetcher handles the details of fetching gems and gem information from
# a remote source.
class Gem::RemoteFetcher
BuiltinSSLCerts = File.expand_path("./ssl_certs/*.pem", File.dirname(__FILE__))
include Gem::UserInteraction
##
#... | yob/debian-rubinius | lib/rubygems/remote_fetcher.rb | Ruby | bsd-3-clause | 14,114 |
namespace std {
template<typename T>
class allocator {
public:
void in_base();
};
template<typename T, typename Alloc = std::allocator<T> >
class vector : Alloc {
public:
void foo();
void stop();
};
template<typename Alloc> class vector<bool, Alloc>;
}
void f() {
std::vector<int> v;... | endlessm/chromium-browser | third_party/llvm/clang/test/CodeCompletion/templates.cpp | C++ | bsd-3-clause | 1,042 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.