code
stringlengths
3
1.05M
repo_name
stringlengths
4
116
path
stringlengths
3
942
language
stringclasses
30 values
license
stringclasses
15 values
size
int32
3
1.05M
--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...
nosun/php-protobuf
tests/set_int_field.phpt
PHP
bsd-3-clause
421
// (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...
stonier/ecto
include/ecto/python/std_map_indexing_suite.hpp
C++
bsd-3-clause
17,030
struct test { int val : 1; }; int main() { struct test t; t.val = 1; // -1 long val = t.val; return val + 1; }
lxp/sulong
tests/sulong/c/truffle-c/bitFields/simpleStructTest4.c
C
bsd-3-clause
122
// 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...
chromium/chromium
components/autofill_assistant/android/java/src/org/chromium/components/autofill_assistant/user_data/AssistantLoginSection.java
Java
bsd-3-clause
4,011
/*** 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...
iPlantCollaborativeOpenSource/irods-3.3.1-iplant
server/api/src/rsFileGetFsFreeSpace.c
C
bsd-3-clause
2,855
// 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...
oopos/go
src/cmd/godoc/template.go
GO
bsd-3-clause
5,495
// // 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...
ptosco/rdkit
Code/RDGeneral/types.h
C
bsd-3-clause
15,891
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...
felixmulder/scala
test/disabled/scalacheck/HashTrieSplit.scala
Scala
bsd-3-clause
1,021
// 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...
chromium/chromium
android_webview/java/src/org/chromium/android_webview/AwWebContentsDelegateAdapter.java
Java
bsd-3-clause
14,739
<!-- * 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" ...
tectronics/afrimesh
dashboard/www/modules/utility.settings.potato.html
HTML
bsd-3-clause
12,597
// 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...
chromium/chromium
chrome/browser/download/download_shelf_context_menu.h
C
bsd-3-clause
4,311
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'); ...
thcode/nico
tests/sdk.option.test.js
JavaScript
bsd-3-clause
1,096
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...
shacker/django
django/views/generic/dates.py
Python
bsd-3-clause
25,251
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...
hongliang5623/sentry
src/sentry/utils/raven.py
Python
bsd-3-clause
3,051
/* 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 ...
shaotuanchen/sunflower_exp
tools/source/gcc-4.2.4/gcc/c-typeck.c
C
bsd-3-clause
266,010
////////////////////////////////////////////////////////////////////////// // // 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: // // ...
appleseedhq/cortex
include/IECore/FromCoreConverter.h
C
bsd-3-clause
2,945
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...
yannisgu/shouldly
src/Shouldly.Tests/Strings/DetailedDifference/CaseInsensitive/LongStrings/MultipleDiffs/DiffsCloseToEachOtherAreConsolidatedBorderConditionOne.cs
C#
bsd-3-clause
3,647
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 ...
serge-sans-paille/pythran
docs/papers/wpmvp14/experiments/run_xp_sum0.sh
Shell
bsd-3-clause
518
<!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...
danakj/chromium
third_party/WebKit/LayoutTests/bluetooth/requestDevice/chooser/new-scan-device-added.html
HTML
bsd-3-clause
991
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) + ' ...
mfroeling/DTITools
docs/htmldoc/standard/javascript/search.js
JavaScript
bsd-3-clause
723
{-# 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 ...
haskell-streaming/streaming
benchmarks/old/Stream/Folding/ByteString.hs
Haskell
bsd-3-clause
7,155
// // 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...
fxtentacle/Telephone
Classes/AKKeychain.h
C
bsd-3-clause
2,278
// 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/...
chromium/chromium
ash/in_session_auth/auth_dialog_contents_view.h
C
bsd-3-clause
5,874
// 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...
chromium/chromium
components/segmentation_platform/internal/ukm_data_manager.h
C
bsd-3-clause
2,862
# 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...
anusornc/vitess
test/framework.py
Python
bsd-3-clause
2,552
/* 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...
pdalpra/sbt
main/src/main/scala/sbt/SessionSettings.scala
Scala
bsd-3-clause
13,670
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...
hadess/spksrc
toolchains/syno-ppc824x/Makefile
Makefile
bsd-3-clause
376
/* * 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...
igor-m/retrobsd-active
src/cmd/wc.c
C
bsd-3-clause
2,235
/** * 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...
tobspr/panda3d
pandatool/src/lwo/lwoSurfaceBlockCoordSys.h
C
bsd-3-clause
1,325
#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 ...
MKV21/glimpse_client
src/console/consoletools_win.cpp
C++
bsd-3-clause
1,142
// 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...
chromium/chromium
extensions/common/permissions/api_permission_set.cc
C++
bsd-3-clause
11,420
include $(SUBDIR)../config.mak NAME = avutil HEADERS = adler32.h \ aes.h \ attributes.h \ audio_fifo.h ...
leighpauls/k2cro4
third_party/ffmpeg/libavutil/Makefile
Makefile
bsd-3-clause
8,501
/* * * 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 ...
vsco/grpc
src/core/lib/iomgr/ev_poll_posix.h
C
bsd-3-clause
1,913
# 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...
chromium/chromium
chrome/test/chromedriver/client/websocket_connection.py
Python
bsd-3-clause
1,471
{% 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 %}
DuVale/snapboard
extras/registration/templates/registration/logout.html
HTML
bsd-3-clause
192
// 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...
chromium/chromium
components/autofill/core/browser/payments/test_authentication_requester.cc
C++
bsd-3-clause
2,142
// 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
NeuroRoboticTech/AnimatLabPublicSource
Libraries/VortexAnimatSim/Vortex_UnitTests/stdafx.cpp
C++
bsd-3-clause
297
/* * 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...
endlessm/chromium-browser
third_party/webrtc/test/layer_filtering_transport.h
C
bsd-3-clause
2,470
/***************************************************************************** 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...
ryanrhymes/openblas
lib/OpenBLAS-0.2.19/lapack-netlib/LAPACKE/src/lapacke_dgeqlf.c
C
bsd-3-clause
3,285
=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...
jens-maus/amissl
openssl/doc/man3/BN_security_bits.pod
Perl
bsd-3-clause
1,496
/* 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...
CSE3320/kernel-code
linux-5.8/include/uapi/linux/can/error.h
C
gpl-2.0
6,625
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...
willglynn/go-ipfs
p2p/protocol/ping/ping.go
GO
mit
1,786
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...
j-f1/forked-desktop
app/src/ui/diff/image-diffs/onion-skin.tsx
TypeScript
mit
2,059
'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...
hexojs/hexo-util
scripts/build_highlight_alias.js
JavaScript
mit
583
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...
suvjunmd/ScintillaNET
src/ScintillaNET/DoubleClickEventArgs.cs
C#
mit
2,400
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]) ...
t-zuehlsdorff/gitlabhq
lib/gitlab/slash_commands/issue_show.rb
Ruby
mit
529
'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) { ...
mabotech/maboss-admin
public/kanban/scripts/directives/sortable.js
JavaScript
mit
8,434
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() { } ...
GabrieleCastellani/SCAMP
ProvisioningLibrary/VolatileStorage/GroupBudgetState.cs
C#
mit
755
<?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/GoogleBase/Model/Item.php
PHP
mit
12,442
some text `**foo**`
showdownjs/showdown
test/functional/makemarkdown/cases/standard/emphasis-inside-inline-code.md
Markdown
mit
20
extern zend_class_entry *phalcon_events_exception_ce; ZEPHIR_INIT_CLASS(Phalcon_Events_Exception);
jingwug/public
phalcon2/cphalcon/ext/phalcon/events/exception.zep.h
C
mit
102
// 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 ...
enclose-io/compiler
lts/deps/v8/src/snapshot/roots-serializer.cc
C++
mit
2,307
<!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="../....
cybercircuits/jQTouch
demos/ext_autotitles/index.html
HTML
mit
1,707
--- 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...
burakkp/code-guide
index.html
HTML
mit
20,948
// 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...
Teamxrtc/webrtc-streaming-node
third_party/webrtc/src/chromium/src/gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.cc
C++
mit
22,247
/** * 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...
jianghaolu/azure-sdk-for-java
azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/implementation/PageImpl.java
Java
mit
1,747
<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...
toyodundy/shirasagi
db/seeds/childcare/layouts/general.layout.html
HTML
mit
1,049
@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-...
thekordy/ticketit
src/Views/bootstrap3/admin/category/edit.blade.php
PHP
mit
781
<?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/Api2/Model/Request/Interpreter.php
PHP
mit
2,436
$(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 ...
wakanpaladin/mybackbone
test/collection.js
JavaScript
mit
35,957
/*************************************************************************/ /* control_editor_plugin.cpp */ /*************************************************************************/ /* This file is part of: */ /* ...
tomasy23/evertonkrosnodart
tools/editor/plugins/control_editor_plugin.cpp
C++
mit
22,889
// // 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...
praeclarum/Netjs
Netjs/Dependencies/NRefactory/ICSharpCode.NRefactory.CSharp/Refactoring/CodeActions/ConvertLambdaBodyExpressionToStatementAction.cs
C#
mit
2,431
<!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...
louisgv/eat
www/lib/angular-tooltips/index.html
HTML
mit
14,939
/* 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...
OpenSmalltalk/vm
processors/ARM/gdb-8.3.1/bfd/cpu-tic80.c
C
mit
1,537
<?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/Cms/controllers/IndexController.php
PHP
mit
3,373
"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...
raymonddavis/Angular-SailsJs-SocketIo
web/node_modules/@angular/cli/blueprints/class/index.js
JavaScript
mit
2,492
<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">&nbsp;</i>Improve this Doc</a> <a href='https://github.com/angular/angular.js/tree/v1.3.3/...
viral810/ngSimpleCMS
web/bundles/sunraangular/js/angular/angular-1.3.3/docs/partials/api/ngAnimate/provider/$animateProvider.html
HTML
mit
1,446
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Struct template on_codomain_model&lt;Type, true&gt;</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...
djsedulous/namecoind
libs/boost_1_50_0/libs/icl/doc/html/boost/icl/interval_base_map/on_codomain_model_Type__id510081.html
HTML
mit
8,211
<?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 ...
drBenway/siteResearch
vendor/phpunit/dbunit/PHPUnit/Extensions/Database/Operation/Composite_1.php
PHP
mit
3,983
export { default, DimmerProps } from './Dimmer';
aabustamante/Semantic-UI-React
src/modules/Dimmer/index.d.ts
TypeScript
mit
49
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}) } ...
dav009/peco
keyseq/ternary.go
GO
mit
3,295
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; ...
JonDouglas/XamarinComponents
XPlat/DropboxCoreApi/iOS/samples/DropboxCoreApiSample/DropboxCoreApiSample/TextViewController.cs
C#
mit
3,244
// 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...
adilmughal/OpenLiveWriter
src/managed/OpenLiveWriter.PostEditor/PostPropertyEditing/PostPropertiesBandControl.cs
C#
mit
13,831
<?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->...
spi-ke/Socialman
src/vendors/herrera-io/cli-app/src/tests/Herrera/Cli/Tests/Provider/ErrorHandlingServiceProviderTest.php
PHP
mit
828
<?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...
ALTELMA/OfficeEquipmentManager
application/libraries/PHPExcel/branches/v1.1.1/Build/build.php
PHP
mit
3,220
<!-- #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...
gkalpak/angular
aio/content/examples/lazy-loading-ngmodules/src/app/app.component.html
HTML
mit
342
<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"...
nchoudhary-ishir/InnovativeSolutionBuyerApp2
src/app/catalog/templates/category.list.tpl.html
HTML
mit
756
// 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...
dr-em/BotBuilder
CSharp/Library/Microsoft.Bot.Connector/ConnectorAPI/Models/AttachmentView.cs
C#
mit
1,269
<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">&nbsp;</i>Improve this Doc</a> <a href='https://github.com/angular/angular.js/tree/v1.3.3/src/ng/...
viral810/ngSimpleCMS
web/bundles/sunraangular/js/angular/angular-1.3.3/docs/partials/api/ng/filter/lowercase.html
HTML
mit
1,047
'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...
slattery/Haraka
tests/plugins/auth/auth_vpopmaild.js
JavaScript
mit
2,773
// 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...
mavasani/roslyn
src/Compilers/CSharp/Portable/Symbols/Symbol.cs
C#
mit
68,726
//= require locastyle/templates/_popover.jst.eco //= require locastyle/templates/_dropdown.jst.eco
diegoeis/locawebstyle
source/assets/javascripts/templates.js
JavaScript
mit
99
<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...
rkq/cxxexp
third-party/src/boost_1_56_0/doc/html/boost_asio/reference/basic_socket_acceptor/bind/overload2.html
HTML
mit
7,421
<!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 ...
AzureZhao/android-developer-cn
sdk/api_diff/8/changes/classes_index_changes.html
HTML
mit
36,742
// # 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...
jordanwalsh23/jordanwalsh23.github.io
core/server/api/mail.js
JavaScript
mit
3,802
<!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=...
TeamTorch5942/ftc_app
docs-FTC/javadoc/com/qualcomm/robotcore/util/ElapsedTime.html
HTML
mit
16,485
/**************************************************************************** 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...
TukekeSoft/jacos2d-x
src/cocos2dx/platform/mac/CCApplication.h
C
mit
2,853
<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...
heladio/my-blog
themes/chunk/templates/disqus_script.html
HTML
mit
407
/** * 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...
john-bixly/Morsel
app/vendor/lodash-amd/compat/collections/map.js
JavaScript
mit
2,696
// 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> #...
davehorton/drachtio-server
deps/boost_1_77_0/libs/histogram/examples/guide_histogram_serialization.cpp
C++
mit
1,128
<?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...
saberyounis/Sonata-Project
vendor/stephpy/timeline-bundle/DependencyInjection/SpyTimelineExtension.php
PHP
mit
8,842
window.Reactable = require('../build/reactable.common');
wemcdonald/reactable
src/reactable.global.js
JavaScript
mit
57
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...
pfnet/chainer
chainer/backends/intel64.py
Python
mit
5,920
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...
netcosports/material-calendarview
library/src/main/java/com/prolificinteractive/materialcalendarview/TitleChanger.java
Java
mit
5,089
/**************************************************************************** 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...
h-iwata/MultiplayPaint
proj.ios_mac/Photon-iOS_SDK/Demos/etc-bin/cocos2dx/cocos2dx/script_support/CCScriptSupport.cpp
C++
mit
5,005
/** * 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...
sufuf3/cdnjs
ajax/libs/ag-grid/21.0.0/lib/dragAndDrop/dragService.js
JavaScript
mit
13,765
<?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...
Kunstmaan/KunstmaanBundlesCMS
src/Kunstmaan/AdminBundle/Helper/Menu/SettingsMenuAdaptor.php
PHP
mit
2,981
/* * 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 ...
glennrub/micropython
ports/samd/main.c
C
mit
3,125
/* 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...
rsantellan/ventanas-html-proyecto
ventanas/src/AppBundle/Resources/public/admin/vendor/calculator/jquery.calculator-ca.js
JavaScript
mit
1,535
/** * 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...
michalgraczyk/calculus
web/js/tiny_mce/js/tinymce/classes/EditorCommands.js
JavaScript
mit
29,362