repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
nosun/php-protobuf | tests/set_int_field.phpt | 421 | --TEST--
Protocol Buffers setting integer value
--SKIPIF--
<?php require 'skipif.inc' ?>
--FILE--
<?php
require 'test.inc';
$foo = new Foo();
/* from int type */
$foo->setInt32Field(2);
var_dump($foo->getInt32Field());
/* from float type */
$foo->setInt32Field(3.0);
var_dump($foo->getInt32Field());
/* from string t... | bsd-3-clause |
stonier/ecto | include/ecto/python/std_map_indexing_suite.hpp | 17030 | // (C) Copyright Joel de Guzman 2003.
// 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)
// Modified by Troy D. Straszheim and Jakob van Santen, 2009-03-26
// Pulled in to ecto in 2010-11 by Troy D. Straszheim... | bsd-3-clause |
lxp/sulong | tests/sulong/c/truffle-c/bitFields/simpleStructTest4.c | 122 | struct test {
int val : 1;
};
int main() {
struct test t;
t.val = 1; // -1
long val = t.val;
return val + 1;
}
| bsd-3-clause |
chromium/chromium | components/autofill_assistant/android/java/src/org/chromium/components/autofill_assistant/user_data/AssistantLoginSection.java | 4011 | // Copyright 2019 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.
package org.chromium.components.autofill_assistant.user_data;
import static org.chromium.components.autofill_assistant.AssistantAccessibilityUtils.setAcc... | bsd-3-clause |
iPlantCollaborativeOpenSource/irods-3.3.1-iplant | server/api/src/rsFileGetFsFreeSpace.c | 2855 | /*** Copyright (c), The Regents of the University of California ***
*** For more information please refer to files in the COPYRIGHT directory ***/
/* This is script-generated code (for the most part). */
/* See fileGetFsFreeSpace.h for a description of this API call.*/
#include "fileGetFsFreeSpace.h"
#in... | bsd-3-clause |
oopos/go | src/cmd/godoc/template.go | 5495 | // Copyright 2011 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Template support for writing HTML documents.
// Documents that include Template: true in their
// metadata are executed as input to text/template.
//
// Thi... | bsd-3-clause |
ptosco/rdkit | Code/RDGeneral/types.h | 15891 | //
// Copyright 2001-2021 Greg Landrum and other RDKit contributors
//
// @@ All Rights Reserved @@
// This file is part of the RDKit.
// The contents are covered by the terms of the BSD license
// which is included in the file license.txt, found at the root
// of the RDKit source tree.
//
#include <RDGeneral/ex... | bsd-3-clause |
felixmulder/scala | test/disabled/scalacheck/HashTrieSplit.scala | 1021 |
import collection._
// checks whether hash tries split their iterators correctly
// even after some elements have been traversed
object Test {
def main(args: Array[String]) {
doesSplitOk
}
def doesSplitOk = {
val sz = 2000
var ht = new parallel.immutable.ParHashMap[Int, Int]
// println... | bsd-3-clause |
chromium/chromium | android_webview/java/src/org/chromium/android_webview/AwWebContentsDelegateAdapter.java | 14739 | // 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.
package org.chromium.android_webview;
import android.annotation.SuppressLint;
import android.content.Context;
import android.media.AudioManager;
import a... | bsd-3-clause |
tectronics/afrimesh | dashboard/www/modules/utility.settings.potato.html | 12597 | <!--
* Afrimesh: easy management for B.A.T.M.A.N. wireless mesh networks
* Copyright (C) 2008-2009 Meraka Institute of the CSIR
* All rights reserved.
*
* This software is licensed as free software under the terms of the
* New BSD License. See /LICENSE for more information.
-->
<form class="two-column"
... | bsd-3-clause |
chromium/chromium | chrome/browser/download/download_shelf_context_menu.h | 4311 | // Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_DOWNLOAD_DOWNLOAD_SHELF_CONTEXT_MENU_H_
#define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_SHELF_CONTEXT_MENU_H_
#include <memory>
#incl... | bsd-3-clause |
thcode/nico | tests/sdk.option.test.js | 1096 | require('should');
var option = require('..').sdk.option;
describe('option', function() {
it('can get default values', function() {
option.get('encoding').should.equal('utf8');
});
it('can set values', function() {
option.set('encoding', 'unicode');
option.get('encoding').should.equal('unicode');
... | bsd-3-clause |
shacker/django | django/views/generic/dates.py | 25251 | import datetime
from django.conf import settings
from django.core.exceptions import ImproperlyConfigured
from django.db import models
from django.http import Http404
from django.utils import timezone
from django.utils.functional import cached_property
from django.utils.translation import gettext as _
from django.views... | bsd-3-clause |
hongliang5623/sentry | src/sentry/utils/raven.py | 3051 | from __future__ import absolute_import, print_function
import inspect
import logging
import raven
import sentry
from django.conf import settings
from django.db.utils import DatabaseError
from raven.contrib.django.client import DjangoClient
from . import metrics
UNSAFE_FILES = (
'sentry/event_manager.py',
's... | bsd-3-clause |
shaotuanchen/sunflower_exp | tools/source/gcc-4.2.4/gcc/c-typeck.c | 266010 | /* Build expressions with type checking for C compiler.
Copyright (C) 1987, 1988, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
Free Software Foundation, Inc.
This file is part of GCC.
GCC is free software; you can redistribute it and/or modify it under
... | bsd-3-clause |
appleseedhq/cortex | include/IECore/FromCoreConverter.h | 2945 | //////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2008-2010, Image Engine Design 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:
//
// ... | bsd-3-clause |
yannisgu/shouldly | src/Shouldly.Tests/Strings/DetailedDifference/CaseInsensitive/LongStrings/MultipleDiffs/DiffsCloseToEachOtherAreConsolidatedBorderConditionOne.cs | 3647 | using Shouldly.Tests.TestHelpers;
namespace Shouldly.Tests.Strings.DetailedDifference.CaseInsensitive.LongStrings.MultipleDiffs
{
// Just before the edge case for consolidation. 2 differences are exactly the required length apart to be consolidated into one diff
public class DiffsCloseToEachOtherAreConsolidat... | bsd-3-clause |
serge-sans-paille/pythran | docs/papers/wpmvp14/experiments/run_xp_sum0.sh | 518 | rm *.so
export PATH=../../../../scripts:$PATH
export PYTHONPATH=../../../..
sed 's/vsum/sum/' sum0.py > ssum0.py
python -m timeit -s 'from ssum0 import sum0 as s; import numpy as np ; r = np.random.rand(1000000)' 's(r)'
rm -f ssum0.py
pythran -O2 sum0.py
python -m timeit -s 'from sum0 import sum0 as s; import numpy as ... | bsd-3-clause |
danakj/chromium | third_party/WebKit/LayoutTests/bluetooth/requestDevice/chooser/new-scan-device-added.html | 991 | <!DOCTYPE html>
<script src="../../../resources/testharness.js"></script>
<script src="../../../resources/testharnessreport.js"></script>
<script src="../../../resources/bluetooth/bluetooth-helpers.js"></script>
<script>
'use strict';
promise_test(() => {
testRunner.setBluetoothManualChooser(true);
let requestDevi... | bsd-3-clause |
mfroeling/DTITools | docs/htmldoc/standard/javascript/search.js | 723 | function setSearchTextField(paramname, field) {
var passed = location.search.substring(1);
var query = getParm(passed,paramname);
var query = getParm(passed,paramname);
query = query.replace(/\+/g," ");
var loc = document.location;
if(/.*search.html/.test(loc)) {
document.title = decodeURIComponent(query) + ' ... | bsd-3-clause |
haskell-streaming/streaming | benchmarks/old/Stream/Folding/ByteString.hs | 7155 | {-# LANGUAGE LambdaCase, RankNTypes, ScopedTypeVariables #-}
module Stream.Folding.ByteString where
import Stream.Types
import Stream.Folding.Prelude hiding (fromHandle)
import Control.Monad hiding (filterM, mapM)
import Data.Functor.Identity
import Control.Monad.Trans
... | bsd-3-clause |
fxtentacle/Telephone | Classes/AKKeychain.h | 2278 | //
// AKKeychain.h
// Telephone
//
// Copyright (c) 2008-2012 Alexei Kuznetsov. 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 source code must retain the above co... | bsd-3-clause |
chromium/chromium | ash/in_session_auth/auth_dialog_contents_view.h | 5874 | // 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 ASH_IN_SESSION_AUTH_AUTH_DIALOG_CONTENTS_VIEW_H_
#define ASH_IN_SESSION_AUTH_AUTH_DIALOG_CONTENTS_VIEW_H_
#include <string>
#include "ash/login/... | bsd-3-clause |
chromium/chromium | components/segmentation_platform/internal/ukm_data_manager.h | 2862 | // Copyright 2022 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_SEGMENTATION_PLATFORM_INTERNAL_UKM_DATA_MANAGER_H_
#define COMPONENTS_SEGMENTATION_PLATFORM_INTERNAL_UKM_DATA_MANAGER_H_
namespace bas... | bsd-3-clause |
anusornc/vitess | test/framework.py | 2552 | # Copyright 2012, Google Inc. All rights reserved.
# Use of this source code is governed by a BSD-style license that can
# be found in the LICENSE file.
import os
import shlex
from subprocess import Popen, PIPE
import time
import unittest
import utils
class TestCase(unittest.TestCase):
@classmethod
def setenv(cl... | bsd-3-clause |
pdalpra/sbt | main/src/main/scala/sbt/SessionSettings.scala | 13670 | /* sbt -- Simple Build Tool
* Copyright 2011 Mark Harrah
*/
package sbt
import java.io.File
import java.net.URI
import Def.{ ScopedKey, Setting }
import Types.Endo
import compiler.Eval
import SessionSettings._
import sbt.internals.parser.SbtRefactorings
/**
* Represents (potentially) transient settings added into... | bsd-3-clause |
hadess/spksrc | toolchains/syno-ppc824x/Makefile | 376 | TC_NAME = syno-ppc824x
TC_DIST_NAME = gcc334_glibc233_ppc824x-GPL.tgz
TC_EXT = tgz
TC_DIST_SITE = http://sourceforge.net/projects/dsgpl/files/DSM%204.2%20Tool%20Chains/PowerPC%20824x%20Linux%202.6.24
TC_BASE_DIR = powerpc-linux
TC_PREFIX = powerpc-linux
TC_TARGET = powerpc-unknown-linux
TC_CFLAGS =
TC_CPPFLAGS =
TC... | bsd-3-clause |
igor-m/retrobsd-active | src/cmd/wc.c | 2235 | /*
* wc line and word count
*
* Copyright (c) 1980 Regents of the University of California.
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*/
#include <stdio.h>
#include <stdlib.h>
long linect, wordct, charct, pagect;
long tlinect, t... | bsd-3-clause |
tobspr/panda3d | pandatool/src/lwo/lwoSurfaceBlockCoordSys.h | 1325 | /**
* PANDA 3D SOFTWARE
* Copyright (c) Carnegie Mellon University. All rights reserved.
*
* All use of this software is subject to the terms of the revised BSD
* license. You should have received a copy of this license along
* with this source code in a file named "LICENSE."
*
* @file lwoSurfaceBlockCoordSys... | bsd-3-clause |
MKV21/glimpse_client | src/console/consoletools_win.cpp | 1142 | #include "consoletools.h"
#include "log/logger.h"
#include <QTextStream>
#include <Windows.h>
LOGGER(ConsoleTools);
class ConsoleTools::Private
{
public:
Private()
{
hConsole = ::GetStdHandle(STD_INPUT_HANDLE);
if (hConsole == INVALID_HANDLE_VALUE)
{
LOG_ERROR("Unable to ... | bsd-3-clause |
chromium/chromium | extensions/common/permissions/api_permission_set.cc | 11420 | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "extensions/common/permissions/api_permission_set.h"
#include "base/containers/contains.h"
#include "base/logging.h"
#include "base/ranges/algor... | bsd-3-clause |
leighpauls/k2cro4 | third_party/ffmpeg/libavutil/Makefile | 8501 | include $(SUBDIR)../config.mak
NAME = avutil
HEADERS = adler32.h \
aes.h \
attributes.h \
audio_fifo.h ... | bsd-3-clause |
vsco/grpc | src/core/lib/iomgr/ev_poll_posix.h | 1913 | /*
*
* Copyright 2015-2016, 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 ... | bsd-3-clause |
chromium/chromium | chrome/test/chromedriver/client/websocket_connection.py | 1471 | # Copyright 2019 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import os
import sys
import json
from command_executor import CommandExecutor
_THIS_DIR = os.path.abspath(os.path.dirname(__file__))
_PARENT_DIR = os.path.j... | bsd-3-clause |
DuVale/snapboard | extras/registration/templates/registration/logout.html | 192 | {% extends "registration/base.html" %}
{% load i18n %}
{% block registration_content %}
{% trans "You have been logged out. Thank you for your visit and see you soon!" %}
{% endblock %}
| bsd-3-clause |
chromium/chromium | components/autofill/core/browser/payments/test_authentication_requester.cc | 2142 | // Copyright 2019 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 "components/autofill/core/browser/payments/test_authentication_requester.h"
#include <string>
#include "build/build_config.h"
#include "compone... | bsd-3-clause |
NeuroRoboticTech/AnimatLabPublicSource | Libraries/VortexAnimatSim/Vortex_UnitTests/stdafx.cpp | 297 | // stdafx.cpp : source file that includes just the standard includes
// StdUtils_UnitTests.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
// TODO: reference any additional headers you need in STDAFX.H
// and not in this file
| bsd-3-clause |
endlessm/chromium-browser | third_party/webrtc/test/layer_filtering_transport.h | 2470 | /*
* Copyright (c) 2015 The WebRTC 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 in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | bsd-3-clause |
ryanrhymes/openblas | lib/OpenBLAS-0.2.19/lapack-netlib/LAPACKE/src/lapacke_dgeqlf.c | 3285 | /*****************************************************************************
Copyright (c) 2014, Intel Corp.
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 cod... | bsd-3-clause |
jens-maus/amissl | openssl/doc/man3/BN_security_bits.pod | 1496 | =pod
=head1 NAME
BN_security_bits - returns bits of security based on given numbers
=head1 SYNOPSIS
#include <openssl/bn.h>
int BN_security_bits(int L, int N);
=head1 DESCRIPTION
BN_security_bits() returns the number of bits of security provided by a
specific algorithm and a particular key size. The bits of se... | bsd-3-clause |
CSE3320/kernel-code | linux-5.8/include/uapi/linux/can/error.h | 6625 | /* SPDX-License-Identifier: ((GPL-2.0-only WITH Linux-syscall-note) OR BSD-3-Clause) */
/*
* linux/can/error.h
*
* Definitions of the CAN error messages to be filtered and passed to the user.
*
* Author: Oliver Hartkopp <oliver.hartkopp@volkswagen.de>
* Copyright (c) 2002-2007 Volkswagen Group Electronic Research... | gpl-2.0 |
willglynn/go-ipfs | p2p/protocol/ping/ping.go | 1786 | package ping
import (
"bytes"
"errors"
"io"
"time"
context "github.com/ipfs/go-ipfs/Godeps/_workspace/src/golang.org/x/net/context"
host "github.com/ipfs/go-ipfs/p2p/host"
inet "github.com/ipfs/go-ipfs/p2p/net"
peer "github.com/ipfs/go-ipfs/p2p/peer"
logging "github.com/ipfs/go-ipfs/vendor/go-log-v1.0.0"
u... | mit |
j-f1/forked-desktop | app/src/ui/diff/image-diffs/onion-skin.tsx | 2059 | import * as React from 'react'
import { ICommonImageDiffProperties } from './modified-image-diff'
import { ImageContainer } from './image-container'
interface IOnionSkinState {
readonly crossfade: number
}
export class OnionSkin extends React.Component<
ICommonImageDiffProperties,
IOnionSkinState
> {
public c... | mit |
hexojs/hexo-util | scripts/build_highlight_alias.js | 583 | 'use strict';
const hljs = require('highlight.js');
const languages = hljs.listLanguages();
const fs = require('fs');
const result = {
languages: languages,
aliases: {}
};
languages.forEach(lang => {
result.aliases[lang] = lang;
const def = require('highlight.js/lib/languages/' + lang)(hljs);
const aliase... | mit |
suvjunmd/ScintillaNET | src/ScintillaNET/DoubleClickEventArgs.cs | 2400 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace ScintillaNET
{
/// <summary>
/// Provides data for the <see cref="Scintilla.DoubleClick" /> event.
/// </summary>
public class DoubleClickEventArgs : EventArgs
{
priv... | mit |
t-zuehlsdorff/gitlabhq | lib/gitlab/slash_commands/issue_show.rb | 529 | module Gitlab
module SlashCommands
class IssueShow < IssueCommand
def self.match(text)
/\Aissue\s+show\s+#{Issue.reference_prefix}?(?<iid>\d+)/.match(text)
end
def self.help_message
"issue show <id>"
end
def execute(match)
issue = find_by_iid(match[:iid])
... | mit |
mabotech/maboss-admin | public/kanban/scripts/directives/sortable.js | 8434 | 'use strict';
/*
jQuery UI Sortable plugin wrapper
@param [ui-sortable] {object} Options to pass to $.fn.sortable() merged onto ui.config
*/
angular.module('mpk').value('uiSortableConfig',{}).directive('uiSortable', [
'uiSortableConfig', '$timeout', '$log',
function(uiSortableConfig, $timeout, $log) {
... | mit |
GabrieleCastellani/SCAMP | ProvisioningLibrary/VolatileStorage/GroupBudgetState.cs | 755 | using System;
using ProvisioningLibrary;
using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Table;
namespace ProvisioningLibrary
{
public class GroupBudgetState : TableEntity
{
private string _ResourceId = string.Empty;
public GroupBudgetState()
{
}
... | mit |
hansbonini/cloud9-magento | www/app/code/core/Mage/GoogleBase/Model/Item.php | 12442 | <?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... | mit |
showdownjs/showdown | test/functional/makemarkdown/cases/standard/emphasis-inside-inline-code.md | 20 | some text `**foo**`
| mit |
jingwug/public | phalcon2/cphalcon/ext/phalcon/events/exception.zep.h | 102 |
extern zend_class_entry *phalcon_events_exception_ce;
ZEPHIR_INIT_CLASS(Phalcon_Events_Exception);
| mit |
enclose-io/compiler | lts/deps/v8/src/snapshot/roots-serializer.cc | 2307 | // Copyright 2018 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/snapshot/roots-serializer.h"
#include "src/execution/isolate.h"
#include "src/heap/heap.h"
#include "src/objects/objects-inl.h"
#include ... | mit |
cybercircuits/jQTouch | demos/ext_autotitles/index.html | 1707 | <!doctype html>
<html>
<head>
<meta charset="UTF-8" />
<title>jQT.AutoTitles</title>
<style type="text/css" media="screen">@import "../../themes/css/jqtouch.css";</style>
<script src="../../lib/zepto/zepto.js" type="text/javascript" charset="utf-8"></script>
<script src="../.... | mit |
burakkp/code-guide | index.html | 20948 | ---
layout: default
---
<div class="heading" id="toc">
<h2>Table of contents</h2>
</div>
<div class="section toc">
<div class="col">
<h4><a href="#html">HTML</a></h4>
<ul>
<li><a href="#html-syntax">Syntax</a></li>
<li><a href="#html-doctype">HTML5 doctype</a></li>
<li><a href="#html-lan... | mit |
Teamxrtc/webrtc-streaming-node | third_party/webrtc/src/chromium/src/gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.cc | 22247 | // 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 "gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.h"
#include <algorithm>
#include "base/basictypes.h"
#include "gpu/command_buff... | mit |
jianghaolu/azure-sdk-for-java | azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/implementation/PageImpl.java | 1747 | /**
* 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.
*/
package com.microsoft.azure.management.resources.implementation;
import com.fasterxml.j... | mit |
toyodundy/shirasagi | db/seeds/childcare/layouts/general.layout.html | 1049 | <html>
<head>
<meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=yes,minimum-scale=1.0,maximum-scale=2.0">
<link href="/css/style.css" media="all" rel="stylesheet" />
<script src="/js/common.js"></script>
<script src="/js/flexibility.js"></script>
<script src="/js/heightLi... | mit |
thekordy/ticketit | src/Views/bootstrap3/admin/category/edit.blade.php | 781 | @extends($master)
@section('page', trans('ticketit::admin.category-edit-title', ['name' => ucwords($category->name)]))
@section('content')
@include('ticketit::shared.header')
<div class="well bs-component">
{!! CollectiveForm::model($category, [
'route' => [$setting-... | mit |
hansbonini/cloud9-magento | www/app/code/core/Mage/Api2/Model/Request/Interpreter.php | 2436 | <?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... | mit |
wakanpaladin/mybackbone | test/collection.js | 35957 | $(document).ready(function() {
var a, b, c, d, e, col, otherCol;
module("Backbone.Collection", {
setup: function() {
a = new Backbone.Model({id: 3, label: 'a'});
b = new Backbone.Model({id: 2, label: 'b'});
c = new Backbone.Model({id: 1, label: 'c'});
d ... | mit |
tomasy23/evertonkrosnodart | tools/editor/plugins/control_editor_plugin.cpp | 22889 | /*************************************************************************/
/* control_editor_plugin.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... | mit |
praeclarum/Netjs | Netjs/Dependencies/NRefactory/ICSharpCode.NRefactory.CSharp/Refactoring/CodeActions/ConvertLambdaBodyExpressionToStatementAction.cs | 2431 | //
// ConvertLambdaBodyExpressionToStatementAction.cs
//
// Author:
// Mansheng Yang <lightyang0@gmail.com>
//
// Copyright (c) 2012 Mansheng Yang <lightyang0@gmail.com>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (t... | mit |
louisgv/eat | www/lib/angular-tooltips/index.html | 14939 | <!doctype html>
<html ng-app="720kb">
<head>
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.4.0/css/font-awesome.min.css"/>
<link rel="stylesheet" type="text/css" href="dist/angular-tooltips.css">
<style media="screen">
body {
margin: 100p... | mit |
OpenSmalltalk/vm | processors/ARM/gdb-8.3.1/bfd/cpu-tic80.c | 1537 | /* bfd back-end for TI TMS320C80 (MVP) support
Copyright (C) 1996-2019 Free Software Foundation, Inc.
Written by Fred Fish at Cygnus support (fnf@cygnus.com)
This file is part of BFD, the Binary File Descriptor library.
This program is free software; you can redistribute it and/or modify
it under the t... | mit |
hansbonini/cloud9-magento | www/app/code/core/Mage/Cms/controllers/IndexController.php | 3373 | <?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... | mit |
raymonddavis/Angular-SailsJs-SocketIo | web/node_modules/@angular/cli/blueprints/class/index.js | 2492 | "use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const app_utils_1 = require("../../utilities/app-utils");
const dynamic_path_parser_1 = require("../../utilities/dynamic-path-parser");
const config_1 = require("../../models/config");
const stringUtils = require('ember-cli-string-utils');
con... | mit |
viral810/ngSimpleCMS | web/bundles/sunraangular/js/angular/angular-1.3.3/docs/partials/api/ngAnimate/provider/$animateProvider.html | 1446 | <a href='https://github.com/angular/angular.js/edit/v1.3.x/src/ngAnimate/animate.js?message=docs($animateProvider)%3A%20describe%20your%20change...#L394' class='improve-docs btn btn-primary'><i class="glyphicon glyphicon-edit"> </i>Improve this Doc</a>
<a href='https://github.com/angular/angular.js/tree/v1.3.3/... | mit |
djsedulous/namecoind | libs/boost_1_50_0/libs/icl/doc/html/boost/icl/interval_base_map/on_codomain_model_Type__id510081.html | 8211 | <html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Struct template on_codomain_model<Type, true></title>
<link rel="stylesheet" href="../../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.74.0">
<link rel="h... | mit |
drBenway/siteResearch | vendor/phpunit/dbunit/PHPUnit/Extensions/Database/Operation/Composite_1.php | 3983 | <?php
/**
* PHPUnit
*
* Copyright (c) 2002-2014, Sebastian Bergmann <sebastian@phpunit.de>.
* 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 ... | mit |
aabustamante/Semantic-UI-React | src/modules/Dimmer/index.d.ts | 49 | export { default, DimmerProps } from './Dimmer';
| mit |
dav009/peco | keyseq/ternary.go | 3295 | package keyseq
type TernaryTrie struct {
root TernaryNode
}
func NewTernaryTrie() *TernaryTrie {
return &TernaryTrie{}
}
func (t *TernaryTrie) Root() Node {
return &t.root
}
func (t *TernaryTrie) GetList(k KeyList) Node {
return Get(t, k)
}
func (t *TernaryTrie) Get(k Key) Node {
return Get(t, KeyList{k})
}
... | mit |
JonDouglas/XamarinComponents | XPlat/DropboxCoreApi/iOS/samples/DropboxCoreApiSample/DropboxCoreApiSample/TextViewController.cs | 3244 | using System;
using System.IO;
using Foundation;
using UIKit;
using CoreGraphics;
using Dropbox.CoreApi.iOS;
namespace DropboxCoreApiSample
{
public partial class TextViewController : UIViewController
{
// A TextField with Placeholder
CustomUITextView textView;
RestClient restClient;
string filename;
... | mit |
adilmughal/OpenLiveWriter | src/managed/OpenLiveWriter.PostEditor/PostPropertyEditing/PostPropertiesBandControl.cs | 13831 | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for details.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.Data;
using System.Drawing.Drawing2D;
usi... | mit |
spi-ke/Socialman | src/vendors/herrera-io/cli-app/src/tests/Herrera/Cli/Tests/Provider/ErrorHandlingServiceProviderTest.php | 828 | <?php
namespace Herrera\Cli\Tests\Provider;
use Herrera\Cli\Provider\ErrorHandlingServiceProvider;
use Herrera\PHPUnit\TestCase;
use Herrera\Service\Container;
class ErrorHandlingServiceProviderTest extends TestCase
{
public function testRegister()
{
$container = new Container();
$container->... | mit |
ALTELMA/OfficeEquipmentManager | application/libraries/PHPExcel/branches/v1.1.1/Build/build.php | 3220 | <?php
/**
* PHPExcel
*
* Copyright (c) 2006 - 2007 PHPExcel, Maarten Balliauw
*
* 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... | mit |
gkalpak/angular | aio/content/examples/lazy-loading-ngmodules/src/app/app.component.html | 342 | <!-- #docplaster -->
<!-- #docregion app-component-template -->
<h1>
{{title}}
</h1>
<button type="button" routerLink="/customers">Customers</button>
<button type="button" routerLink="/orders">Orders</button>
<button type="button" routerLink="">Home</button>
<router-outlet></router-outlet>
<!-- #enddocregion app-c... | mit |
nchoudhary-ishir/InnovativeSolutionBuyerApp2 | src/app/catalog/templates/category.list.tpl.html | 756 | <article id="CategoryList">
<h3 ng-if="categorylist.length > 0" class="page-header">
{{categorylist.length > 1 ? 'Categories' : 'Category'}}
</h3>
<div class="category-list row">
<div class="category-list-item col-md-3" ng-repeat="category in categorylist">
<div class="thumbnail"... | mit |
dr-em/BotBuilder | CSharp/Library/Microsoft.Bot.Connector/ConnectorAPI/Models/AttachmentView.cs | 1269 | // Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
namespace Microsoft.Bot.Connector
{
using System;
using System.Linq;
using System.Collections.Generic;
using Newtonsoft.Json;
using Microsoft.R... | mit |
viral810/ngSimpleCMS | web/bundles/sunraangular/js/angular/angular-1.3.3/docs/partials/api/ng/filter/lowercase.html | 1047 | <a href='https://github.com/angular/angular.js/edit/v1.3.x/src/ng/filter/filters.js?message=docs(lowercase)%3A%20describe%20your%20change...#L529' class='improve-docs btn btn-primary'><i class="glyphicon glyphicon-edit"> </i>Improve this Doc</a>
<a href='https://github.com/angular/angular.js/tree/v1.3.3/src/ng/... | mit |
slattery/Haraka | tests/plugins/auth/auth_vpopmaild.js | 2773 | 'use strict';
var path = require('path');
var fixtures = require('haraka-test-fixtures');
var Connection = fixtures.connection;
var Plugin = fixtures.plugin;
var _set_up = function(done) {
this.backup = {};
// needed for tests
this.plugin = new Plugin('auth/auth_vpopmaild');
thi... | mit |
mavasani/roslyn | src/Compilers/CSharp/Portable/Symbols/Symbol.cs | 68726 | // 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.
#nullable disable
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System... | mit |
diegoeis/locawebstyle | source/assets/javascripts/templates.js | 99 | //= require locastyle/templates/_popover.jst.eco
//= require locastyle/templates/_dropdown.jst.eco
| mit |
rkq/cxxexp | third-party/src/boost_1_56_0/doc/html/boost_asio/reference/basic_socket_acceptor/bind/overload2.html | 7421 | <html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>basic_socket_acceptor::bind (2 of 2 overloads)</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" hre... | mit |
AzureZhao/android-developer-cn | sdk/api_diff/8/changes/classes_index_changes.html | 36742 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<HTML style="overflow:auto;">
<HEAD>
<meta name="generator" content="JDiff v1.1.0">
<!-- Generated by the JDiff Javadoc doclet -->
<!-- (http://www.jdiff.org) -->
<meta name="description" content="JDiff is a Javadoc doclet which ... | mit |
jordanwalsh23/jordanwalsh23.github.io | core/server/api/mail.js | 3802 | // # Mail API
// API for sending Mail
var Promise = require('bluebird'),
pipeline = require('../utils/pipeline'),
errors = require('../errors'),
mail = require('../mail'),
Models = require('../models'),
utils = require('./utils'),
notifications = requir... | mit |
TeamTorch5942/ftc_app | docs-FTC/javadoc/com/qualcomm/robotcore/util/ElapsedTime.html | 16485 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_80) on Tue Feb 09 12:58:20 EST 2016 -->
<title>ElapsedTime</title>
<meta name="date" content="2016-02-09">
<link rel="stylesheet" type=... | mit |
TukekeSoft/jacos2d-x | src/cocos2dx/platform/mac/CCApplication.h | 2853 | /****************************************************************************
Copyright (c) 2010 cocos2d-x.org
http://www.cocos2d-x.org
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 res... | mit |
heladio/my-blog | themes/chunk/templates/disqus_script.html | 407 | <script type="text/javascript">
var disqus_shortname = '{{ DISQUS_SITENAME }}';
(function () {
var s = document.createElement('script'); s.async = true;
s.type = 'text/javascript';
s.src = 'http://' + disqus_shortname + '.disqus.com/count.js';
(document.getElementsByTagName('HEAD... | mit |
john-bixly/Morsel | app/vendor/lodash-amd/compat/collections/map.js | 2696 | /**
* Lo-Dash 2.4.1 (Custom Build) <http://lodash.com/>
* Build: `lodash modularize exports="amd" -o ./compat/`
* Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/>
* Based on Underscore.js 1.5.2 <http://underscorejs.org/LICENSE>
* Copyright 2009-2013 Jeremy Ashkenas, DocumentCloud and Investigat... | mit |
davehorton/drachtio-server | deps/boost_1_77_0/libs/histogram/examples/guide_histogram_serialization.cpp | 1128 | // Copyright 2015-2018 Hans Dembinski
//
// 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)
//[ guide_histogram_serialization
#include <boost/archive/text_iarchive.hpp>
#include <boost/archive/text_oarchive.hpp>
#... | mit |
saberyounis/Sonata-Project | vendor/stephpy/timeline-bundle/DependencyInjection/SpyTimelineExtension.php | 8842 | <?php
namespace Spy\TimelineBundle\DependencyInjection;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\Config\FileLocator;
use Symfony\Component\DependencyInjection\Reference;
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
use Symfony\Component\DependencyInjection\L... | mit |
wemcdonald/reactable | src/reactable.global.js | 57 | window.Reactable = require('../build/reactable.common');
| mit |
pfnet/chainer | chainer/backends/intel64.py | 5920 | from __future__ import absolute_import
import numpy
import chainer
from chainer import _backend
from chainer.backends import _cpu
from chainer.configuration import config
_ideep_version = None
_error = None
try:
import ideep4py as ideep # NOQA
from ideep4py import mdarray # type: ignore # NOQA
_ideep... | mit |
netcosports/material-calendarview | library/src/main/java/com/prolificinteractive/materialcalendarview/TitleChanger.java | 5089 | package com.prolificinteractive.materialcalendarview;
import android.animation.Animator;
import android.content.res.Resources;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.ViewPropertyAnimator;
import android.view.animation.DecelerateInterpolator;
import android.view.animation.Int... | mit |
h-iwata/MultiplayPaint | proj.ios_mac/Photon-iOS_SDK/Demos/etc-bin/cocos2dx/cocos2dx/script_support/CCScriptSupport.cpp | 5005 | /****************************************************************************
Copyright (c) 2010-2012 cocos2d-x.org
http://www.cocos2d-x.org
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... | mit |
sufuf3/cdnjs | ajax/libs/ag-grid/21.0.0/lib/dragAndDrop/dragService.js | 13765 | /**
* ag-grid-community - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v20.2.0
* @link http://www.ag-grid.com/
* @license MIT
*/
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.leng... | mit |
Kunstmaan/KunstmaanBundlesCMS | src/Kunstmaan/AdminBundle/Helper/Menu/SettingsMenuAdaptor.php | 2981 | <?php
namespace Kunstmaan\AdminBundle\Helper\Menu;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface;
/**
* SettingsMenuAdaptor to add the Settings MenuItem to the top menu and build the Settings tree
*/
class SettingsMenuAdaptor implement... | mit |
glennrub/micropython | ports/samd/main.c | 3125 | /*
* This file is part of the MicroPython project, http://micropython.org/
*
* The MIT License (MIT)
*
* Copyright (c) 2019 Damien P. George
*
* 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 ... | mit |
rsantellan/ventanas-html-proyecto | ventanas/src/AppBundle/Resources/public/admin/vendor/calculator/jquery.calculator-ca.js | 1535 | /* http://keith-wood.name/calculator.html
Catalan initialisation for the jQuery calculator extension
Written by Esteve Camps (ecamps at google dot com) June 2010. */
(function($) { // hide the namespace
$.calculator.regionalOptions['ca'] = {
decimalChar: ',',
buttonText: '...', buttonStatus: 'Obrir la... | mit |
michalgraczyk/calculus | web/js/tiny_mce/js/tinymce/classes/EditorCommands.js | 29362 | /**
* EditorCommands.js
*
* Released under LGPL License.
* Copyright (c) 1999-2015 Ephox Corp. All rights reserved
*
* License: http://www.tinymce.com/license
* Contributing: http://www.tinymce.com/contributing
*/
/**
* This class enables you to add custom editor commands and it contains
* overrides for nati... | mit |