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
# Makefile for Sphinx documentation # # You can set these variables from the command line. SPHINXOPTS = SPHINXBUILD = sphinx-build PAPER = BUILDDIR = _build # User-friendly check for sphinx-build ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1) $(error The '$(SPHINXBUILD)' command w...
Laufire/ec
docs/Makefile
Makefile
bsd-3-clause
6,746
package gengateway import ( "strings" "testing" "github.com/golang/protobuf/proto" protodescriptor "github.com/golang/protobuf/protoc-gen-go/descriptor" "github.com/ilius/grpc-gateway/protoc-gen-grpc-gateway/descriptor" "github.com/ilius/grpc-gateway/protoc-gen-grpc-gateway/httprule" ) func crossLinkFixture(f ...
ilius/grpc-gateway
protoc-gen-grpc-gateway/gengateway/template_test.go
GO
bsd-3-clause
13,223
/* * Copyright (c) 2013 ARM Limited * All rights reserved * * The license below extends only to copyright in the software and shall * not be construed as granting a license to any other intellectual * property including but not limited to intellectual property relating * to a hardware implementation of the funct...
SteveXiSong/ECE757-SnoopingPredictions
src/mem/snoop_filter.cc
C++
bsd-3-clause
13,192
// RobotBuilder Version: 1.0 // // This file was generated by RobotBuilder. It contains sections of // code that are automatically generated and assigned by robotbuilder. // These sections will be updated in the future when you export to // Java from RobotBuilder. Do not put any code or make any change in // the ...
Bionics4909/Aerial-Assist
src/org/usfirst/frc4909/RealRobo2/OI.java
Java
bsd-3-clause
3,765
/* * $Id: GridAttributeDialog.java,v 1.2 2006/01/19 14:45:50 luca Exp $ * * This software is provided by NOAA for full, free and open release. It is * understood by the recipient/user that NOAA assumes no liability for any * errors contained in the code. Although this software is released without * conditions o...
luttero/Maud
src/gov/noaa/pmel/sgt/swing/prop/GridAttributeDialog.java
Java
bsd-3-clause
32,899
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Zend Framework API Documentation</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta><link rel="stylesheet" href="css/black-tie/jquery-ui-1.8.2.custom.css" type="text/css"></link><link rel="stylesheet" href="css/jquery.treeview.css" ty...
wukchung/Home-development
documentation/api/core/db_Form_Decorator_Form.html
HTML
bsd-3-clause
24,599
// 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 "net/proxy/proxy_service_v8.h" #include "base/logging.h" #include "base/thread_task_runner_handle.h" #include "base/threading/thread_checker...
Chilledheart/chromium
net/proxy/proxy_service_v8.cc
C++
bsd-3-clause
1,609
<?php /** * PradoBase class file. * * This is the file that establishes the PRADO component model * and error handling mechanism. * * @author Qiang Xue <qiang.xue@gmail.com> * @link http://www.pradosoft.com/ * @copyright Copyright &copy; 2005-2011 PradoSoft * @license http://www.pradosoft.com/license/ * @vers...
wiccano/WDEPRDO
framework/PradoBase.php
PHP
bsd-3-clause
19,078
/* * get_systemconfiguration_proxies.c * $Id: get_systemconfiguration_proxies.c 113342 2013-11-13 20:51:15Z toby@macports.org $ * * Copyright (c) 2008-2009, The MacPorts Project. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided ...
centip3de/GSoC
src/macports1.0/get_systemconfiguration_proxies.c
C
bsd-3-clause
7,575
// 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. // +build !cgo,!windows,!plan9 android vita package user import ( "errors" "fmt" "os" "runtime" "strconv" ) func init() { groupImplemented = false } f...
codestation/go
src/os/user/lookup_stubs.go
GO
bsd-3-clause
1,709
package main import "fmt" import "time" type Ball struct{ hits int } func main() { table := make(chan *Ball) go player("ping", table) go player("pong", table) table <- new(Ball) // game on; toss the ball time.Sleep(1 * time.Second) <-table // game over; grab the ball panic("show the stack") } func player(n...
immortal/sandbox
go/goroutine/ping-pong/main.go
GO
bsd-3-clause
480
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2011.0...
svoos/CorpusConverter
src/main/java/tigerxml/Head.java
Java
bsd-3-clause
3,131
package main // Single sender // Multiple receivers - round-robin // Durable // Delayed acknowledgment import ( "fmt" "time" "github.com/streadway/amqp" ) const ( broker = "amqp://localhost" queue1 = "gs3-queue" // Should queue persist beyond broker restart? durable = true // Should queue be deleted once ...
dterei/Scraps
amqp/gs3/recv.go
GO
bsd-3-clause
1,522
# This file is dual licensed under the terms of the Apache License, Version # 2.0, and the BSD License. See the LICENSE file in the root of this repository # for complete details. from __future__ import absolute_import, division, print_function import collections import itertools from contextlib import contextmanager...
sholsapp/cryptography
src/cryptography/hazmat/backends/openssl/backend.py
Python
bsd-3-clause
49,028
$(function(){ function openPanel(){ require(['panel']); $('#admin_link').hide(); } if($.cookie('grass_panel')){ openPanel(); } $('#admin_link').on('click', function(e){ e.preventDefault(); openPanel(); }); }); require.config({ baseUrl: 'media/scripts'...
grnrbt/grass
web/media/scripts/link.js
JavaScript
bsd-3-clause
781
-- {-# LANGUAGE DeriveFunctor #-} -- {-# LANGUAGE DeriveFoldable #-} -- {-# LANGUAGE DeriveTraversable #-} -- {-# LANGUAGE DeriveGeneric #-} -- {-# LANGUAGE BangPatterns #-} -- {-# LANGUAGE TemplateHaskell #-} -- {-# LANGUAGE RecordWildCards #-} -- {-# LANGUAGE TypeSynonymInstances #-} {-# LANGUAGE FlexibleConte...
reuleaux/pire
src/Pire/Refactor/Range.hs
Haskell
bsd-3-clause
30,759
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE78_OS_Command_Injection__wchar_t_environment_w32_spawnvp_44.c Label Definition File: CWE78_OS_Command_Injection.strings.label.xml Template File: sources-sink-44.tmpl.c */ /* * @description * CWE: 78 OS Command Injection * BadSource: environment Read input from...
JianpingZeng/xcc
xcc/test/juliet/testcases/CWE78_OS_Command_Injection/s07/CWE78_OS_Command_Injection__wchar_t_environment_w32_spawnvp_44.c
C
bsd-3-clause
4,166
/* * Copyright (c) 1999 Global Technology Associates, 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: * 1. Redistributions of source code must retain the above copyright * notice...
dcui/FreeBSD-9.3_kernel
sys/boot/i386/kgzldr/kgzldr.h
C
bsd-3-clause
1,717
<!DOCTYPE html> <!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]--> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Level2File &mdash; MetPy 0.8</title> ...
metpy/MetPy
v0.8/api/generated/metpy.io.Level2File.html
HTML
bsd-3-clause
28,273
<link rel="import" href="../../bower_components/polymer/polymer.html"> <dom-module id="account-dialog"> <style> :host { display: block; } paper-dialog { width: 400px; } </style> <template> <iron-a11y-keys target="{{}}" keys="enter" on-keys-pressed="_confirm"></ir...
capira12/capira-socrates-channels
app/elements/account-dialog/account-dialog.html
HTML
bsd-3-clause
2,977
<?php use yii\helpers\Html; use kartik\grid\GridView; use yii\widgets\ActiveForm; use yii\bootstrap\Modal; use yii\widgets\Pjax; /* @var $this yii\web\View */ /* @var $searchModel app\modules\fct\models\FctSearch */ /* @var $dataProvider yii\data\ActiveDataProvider */ $this->title = 'ผู้ป่วยในระบบ FCT'; $this->param...
inamjung/fct
modules/fct/views/fct/indexcaseok.php
PHP
bsd-3-clause
8,182
#!/bin/bash root="${1%/}/" n=1 leadingchas() { for ((i=0; i<$n; i++)) do echo -n " " done } recursiverm() { ((n++)) for d in *; do if [ -d $d ]; then (leadingchas) echo "<folder name='$d'>" (cd $d; recursiverm) (leadingchas) echo "</folder>" else x="`pwd`/$d"...
abstools/easyinterface
server/config/envisage/offlineabsexamples.sh
Shell
bsd-3-clause
652
// 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. #ifndef THIRD_PARTY_BLINK_RENDERER_CORE_INSPECTOR_INSPECTOR_EMULATION_AGENT_H_ #define THIRD_PARTY_BLINK_RENDERER_CORE_INSPECTOR_INSPECTOR_EMULATION_AGENT...
nwjs/chromium.src
third_party/blink/renderer/core/inspector/inspector_emulation_agent.h
C
bsd-3-clause
7,396
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package RobotCode2014.commands.manipulator; import RobotCode2014.commands.CommandBase; /** * * @author me */ public c...
HarkerRobo/robocode14
src/RobotCode2014/commands/manipulator/PitchAccelerationCommand.java
Java
bsd-3-clause
1,076
<?php /** * This file is part of the Nette Framework (https://nette.org) * Copyright (c) 2004 David Grudl (https://davidgrudl.com) */ namespace Nette\DI; use Nette; use Nette\Utils\Validators; use Nette\Utils\Strings; use Nette\PhpGenerator\Helpers as PhpHelpers; use ReflectionClass; /** * Basic container buil...
kivi8/ars-poetica
vendor/nette/di/src/DI/ContainerBuilder.php
PHP
bsd-3-clause
27,588
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width,initial-scale=1"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <meta name="lang:clipboard.copy" conte...
statsmodels/statsmodels.github.io
v0.12.2/generated/statsmodels.regression.quantile_regression.QuantRegResults.cov_params.html
HTML
bsd-3-clause
23,365
/** *============================================================================ * Copyright The Ohio State University Research Foundation, The University of Chicago - * Argonne National Laboratory, Emory University, SemanticBits LLC, and * Ekagra Software Technologies Ltd. * * Distributed under the OSI-approved B...
NCIP/cagrid-core
caGrid/projects/dorian/src/org/cagrid/gaards/dorian/federation/ReportUtils.java
Java
bsd-3-clause
9,870
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta charset="utf-8" /> <title>statsmodels.sandbox.regression.gmm.IV2SLS.hessian &#8212; statsmodels v0.10.2 documentation</title> <link rel="stylesheet" href="../_static/nature.css" type="text/css" /> <link rel="stylesheet" href="...
statsmodels/statsmodels.github.io
v0.10.2/generated/statsmodels.sandbox.regression.gmm.IV2SLS.hessian.html
HTML
bsd-3-clause
7,515
// Copyright 2017 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 CONTENT_BROWSER_DEVTOOLS_PROTOCOL_DEVTOOLS_DOWNLOAD_MANAGER_DELEGATE_H_ #define CONTENT_BROWSER_DEVTOOLS_PROTOCOL_DEVTOOLS_DOWNLOAD_MANAGER_DELEGA...
scheib/chromium
content/browser/devtools/protocol/devtools_download_manager_delegate.h
C
bsd-3-clause
3,868
//===--- SemaStmtAsm.cpp - Semantic Analysis for Asm Statements -----------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
endlessm/chromium-browser
third_party/llvm/clang/lib/Sema/SemaStmtAsm.cpp
C++
bsd-3-clause
36,063
/** * Copyright (c) 2009-2016, rultor.com * 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 * copyright notice, this list of conditio...
dalifreire/rultor
src/test/java/com/rultor/spi/package-info.java
Java
bsd-3-clause
1,692
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2beta1/dlp.proto package com.google.privacy.dlp.v2beta1; /** * <pre> * Description of the information type (infoType). * </pre> * * Protobuf type {@code google.privacy.dlp.v2beta1.InfoTypeDescription} */ public final cla...
pongad/api-client-staging
generated/java/proto-google-cloud-dlp-v2beta1/src/main/java/com/google/privacy/dlp/v2beta1/InfoTypeDescription.java
Java
bsd-3-clause
37,925
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "media/filters/vpx_video_decoder.h" #include <stddef.h> #include <stdint.h> #include <algorithm> #include <string> #include <vector> #incl...
nwjs/chromium.src
media/filters/vpx_video_decoder.cc
C++
bsd-3-clause
21,197
<!DOCTYPE html> <html> <meta charset="utf-8"> <title>Date parser test — 0&lt;=x&lt;=69 and 0&lt;=y&lt;=69 and 1000&lt;=z&lt;=9999 — 65 65 7311</title> <script src="../date_test.js"></script> <p>Failed (Script did not run)</p> <script> test_date("65 65 7311", 7316, 6, 3, 22, 0, 0) </script> </html>
operasoftware/presto-testo
core/features/dateParsing/TestCases/individual/SpaceSeparator/170.html
HTML
bsd-3-clause
318
"""Workflow for uploading many many many log files at once.""" from __future__ import absolute_import import os from os.path import isfile, getsize import logging import re import luigi import psycopg2 import pandas as pd # import sqlalchemy try: from .pylog_parse import LogFile except: from pylog_parse impor...
sethmenghi/pylog_parse
pylog_parse/workflow.py
Python
bsd-3-clause
4,335
namespace NHibernate.ZMQLogPublisher { using System.Collections.Concurrent; using System.Collections.Generic; using ZMQ; public class SocketManager { private readonly Context context; private ConcurrentDictionary<string, Socket> sockets; private object synclock = new obj...
seif/NHibernate.ZMQLogPublisher
src/NHibernate.ZMQLogPublisher/SocketManager.cs
C#
bsd-3-clause
1,545
module BinaryTree ( BinaryTree(..), newNode, value, left, right, getNode, safeGetValue, modifyNode, setNode, listToTree, append, flatten, Bit.natToBits ) where import Bit import Data.List(...
cullina/Extractor
src/BinaryTree.hs
Haskell
bsd-3-clause
2,206
# Contributing - Maintenance on this module is a shared effort of those who use it - To contribute improvements to the code, ensure you raise a pull request and discuss with the module maintainers - Please follow the SilverStripe [code contribution guidelines](https://docs.silverstripe.org/en/contributing/code/) and [M...
dynamic/silverstripe-flexslider
CONTRIBUTING.md
Markdown
bsd-3-clause
1,248
//====================================================================== //----------------------------------------------------------------------- /** * @file syntax_tests.cpp * @brief syntax test * * @author t.shirayanagi * @par copyright * Copyright (C) 2013-2021, Takazumi Shirayanagi...
srz-zumix/iutest
test/syntax_tests.cpp
C++
bsd-3-clause
29,693
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <memory> #include <vector> #include "base/bind.h" #include "base/bind_helpers.h" #include "base/callback.h" #include "base/macros.h" #include "b...
danakj/chromium
chrome/browser/services/gcm/gcm_profile_service_unittest.cc
C++
bsd-3-clause
8,567
-- -- DMA.hs --- STM32F427 DMA driver. -- -- Copyright (C) 2015, Galois, Inc. -- All Rights Reserved. -- module Ivory.BSP.STM32F427.DMA where import Ivory.BSP.STM32.Peripheral.DMA import Ivory.Language import Ivory.HW import Ivory.BSP.STM32.Interrupt import Ivory.BSP.STM32F427.RCC import Ivory.BSP.STM32F427.MemoryM...
GaloisInc/ivory-tower-stm32
ivory-bsp-stm32/src/Ivory/BSP/STM32F427/DMA.hs
Haskell
bsd-3-clause
1,945
/** * @decription mock file config * * 该文件实现路由的配置,在没有test准备好的情况下可以直接走这个mock数据 * key: 为要匹配的路由 * value: 为对应的参数配置 * method: get或者post,router的方法 * filename: 对应的mock文件 */ module.exports = { '/api/realtime': { method: "post", filename: "realtime.js" } };
changfuguo/vuejs-boilerplate
server/config/route.js
JavaScript
bsd-3-clause
383
// 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_assistant/browser/selector.h" #include "base/macros.h" #include "components/autofill_assistant/browser/service.pb.h" #inclu...
endlessm/chromium-browser
components/autofill_assistant/browser/selector_unittest.cc
C++
bsd-3-clause
3,076
# Minimal makefile for Sphinx documentation # # You can set these variables from the command line. SPHINXOPTS = SPHINXBUILD = sphinx-build SPHINXPROJ = {{ app_name }} SOURCEDIR = source BUILDDIR = build # Put it first so that "make" without argument is like "make help". help: @$(SPHINXBUILD) -M help...
idlesign/makeapp
makeapp/app_templates/__default__/docs/Makefile
Makefile
bsd-3-clause
616
using System; using SevenDigital.Messaging.MessageReceiving; namespace SevenDigital.Messaging { /// <summary> /// A receiver node source that can produce competitive or co-operative consumers /// </summary> public interface IReceiver { /// <summary> /// Map handlers to a listener on a named endpoin...
i-e-b/SevenDigital.Messaging
src/SevenDigital.Messaging/IReceiver.cs
C#
bsd-3-clause
2,465
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width,initial-scale=1"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <meta name="lang:clipboard.copy" conte...
statsmodels/statsmodels.github.io
v0.12.1/generated/statsmodels.discrete.discrete_model.DiscreteResults.predict.html
HTML
bsd-3-clause
21,391
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Namespace app</title> <link rel="stylesheet" href="resources/style.css?e99947befd7bf673c6b43ff75e9e0f170c88a60e"> </head> <body> <div id="left"> <div id="menu"> <a href="index.html" title="Overview"><span>Overview</span></a> <div id="groups"> ...
rpeerbits/demo-yii
api/namespace-app.html
HTML
bsd-3-clause
1,705
<?php namespace Base\Form\Hydrator; use Zend\Stdlib\Hydrator\HydratorInterface; use Base\Constants as C; class User implements HydratorInterface { public function extract($object) { $filter = function($value) { return !(($value === null) || ($value === '')); }; ...
fhsctv/ctv2base
module/Base/src/Base/Form/Hydrator/User.php
PHP
bsd-3-clause
1,947
import os from setuptools import setup, find_packages setup( name='django-scrape', version='0.1', author='Luke Hodkinson', author_email='furious.luke@gmail.com', maintainer='Luke Hodkinson', maintainer_email='furious.luke@gmail.com', url='https://github.com/furious-luke/django-scrape', ...
furious-luke/django-scrape
setup.py
Python
bsd-3-clause
990
# GO Rules This folder contains the metadata for all annotation and ontology QC rules in GO. Each rule has an identifier, metadata and descriptions. Some rules are automatable, in which case the metadata contains the information required to execute it. For more details for GOC members on how to create rules, see [SOP...
geneontology/go-site
metadata/rules/ABOUT.md
Markdown
bsd-3-clause
335
<?php return [ 'adminEmail' => 'shockedbear@shockedbear.myjino.ru', ];
shockedbear/board
frontend/config/params.php
PHP
bsd-3-clause
75
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width,initial-scale=1"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <meta name="lang:clipboard.copy" conte...
statsmodels/statsmodels.github.io
v0.12.2/generated/statsmodels.stats.power.NormalIndPower.html
HTML
bsd-3-clause
21,919
/* -*- css -*- * * Sphinx haiku theme CSS customization for SPORCO docs. * */ body { line-height: 1.4; font-size: 90%; } h2 { padding-bottom: 5px; border-bottom: 1px solid #d0d0d0; margin-bottom: 16px; } h3 { padding-bottom: 5px; border-bottom: none; margin-bottom: 16px; font-size: 1.05em; } h4, ...
bwohlberg/sporco
docs/source/_static/sporco.css
CSS
bsd-3-clause
4,859
from __future__ import absolute_import import base64 import json import unittest import urllib import urllib2 import urlparse from celery.exceptions import RetryTaskError from mock import MagicMock as Mock import mock from . import tasks from .conf import settings as mp_settings class TestCase(unittest.TestCase):...
bss/mixpanel-celery
mixpanel/tests.py
Python
bsd-3-clause
7,560
#Copyright ReportLab Europe Ltd. 2000-2004 #see license.txt for license details #history http://www.reportlab.co.uk/cgi-bin/viewcvs.cgi/public/reportlab/trunk/reportlab/rl_config.py __version__=''' $Id$ ''' __doc__='''Configuration file. You may edit this if you wish.''' allowTableBoundsErrors = 1 # set to 0 to di...
makinacorpus/reportlab-ecomobile
src/reportlab/rl_config.py
Python
bsd-3-clause
10,215
// Copyright 2017 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_FEATURE_ENGAGEMENT_INTERNAL_NEVER_EVENT_STORAGE_VALIDATOR_H_ #define COMPONENTS_FEATURE_ENGAGEMENT_INTERNAL_NEVER_EVENT_STORAGE_VALIDAT...
nwjs/chromium.src
components/feature_engagement/internal/never_event_storage_validator.h
C
bsd-3-clause
1,266
/* zmalloc - total amount of allocated memory aware version of malloc() * * Copyright (c) 2009-2010, Salvatore Sanfilippo <antirez at gmail dot com> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions ar...
plum-umd/c-strider
examples/redis-2.0.2/zmalloc.c
C
bsd-3-clause
5,173
/*================================================================================ Copyright (c) 2009 VMware, 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 ...
mikem2005/vijava
src/com/vmware/vim25/DiagnosticManagerLogCreator.java
Java
bsd-3-clause
2,018
//********************************************************************************************************************* // EthernetIfaceDO.java // // Copyright 2014 ELECTRIC POWER RESEARCH INSTITUTE, INC. All rights reserved. // // PT2 ("this software") is licensed under BSD 3-Clause license. // // Redistribution and u...
epri-dev/PT2
src/main/java/org/epri/pt2/DO/EthernetIfaceDO.java
Java
bsd-3-clause
2,820
/* Copyright (c) 2016, <your name>. All rights reserved. Use of this source code */ /* is governed by a BSD-style license that can be found in the LICENSE file. */ body { font-family: RobotoDraft, sans-serif; color: #333; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; ...
EasonPai/using-neon-animation
web/styles.css
CSS
bsd-3-clause
445
package j2x import ( "encoding/json" "fmt" "testing" ) func TestMashalIndent(t *testing.T) { var s = `{ "head":[ "one", 2, true, { "key":"value" } ] }` fmt.Println("\nTestMashalIndent ... list :", s) v, err := MarshalIndent(s," "," ") if err != nil { fmt.Println("err:",err.Error()) } fmt.Printf("v:\n%s...
clbanning/j2x
j2xindent_test.go
GO
bsd-3-clause
788
package sodium; class LazyCell<A> extends Cell<A> { LazyCell(final Stream<A> event, final Lazy<A> lazyInitValue) { super(event, null); this.lazyInitValue = lazyInitValue; } @Override A sampleNoTrans() { if (value == null && lazyInitValue != null) { value = lazyI...
kevintvh/sodium
java/src/sodium/LazyCell.java
Java
bsd-3-clause
411
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="X-UA-Compatible" content="IE=Edge" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <t...
statsmodels/statsmodels.github.io
0.9.0/generated/statsmodels.sandbox.regression.gmm.IVGMM.html
HTML
bsd-3-clause
15,943
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta charset="utf-8" /> <title>statsmodels.discrete.discrete_model.Poisson.loglikeobs &#8212; statsmodels v0.10.0 documentation</title> <link rel="stylesheet" href="../_static/nature.css" type="text/css" /> <link rel="stylesheet" h...
statsmodels/statsmodels.github.io
v0.10.0/generated/statsmodels.discrete.discrete_model.Poisson.loglikeobs.html
HTML
bsd-3-clause
8,374
import os from google.appengine.api import memcache from google.appengine.ext import webapp from google.appengine.ext.webapp import template from google.appengine.ext.webapp.util import run_wsgi_app from twimonial.models import Twimonial, User from twimonial.ui import render_write import config class HomePage(webap...
livibetter-backup/twimonial
src/index.py
Python
bsd-3-clause
2,779
# incremental Template for incremental game.
bryantmakesprog/incremental
README.md
Markdown
bsd-3-clause
45
#!/bin/bash #input set -xv debug=1 USAGE='usage: sh $1 $2 ;'\ '$1: is value of [1,2] create file or directory '\ '$2: is number ' echo $USAGE echo $0 echo $1 echo $2 echo $# if [ $# -eq 2 ]
1GHL/2013y
exercise/816/create_file.sh
Shell
bsd-3-clause
194
FROM ubuntu:19.10 ARG DEBIAN_FRONTEND=noninteractive RUN apt-get update -yqq && apt-get install -yqq software-properties-common > /dev/null RUN LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php > /dev/null RUN apt-get update -yqq > /dev/null && \ apt-get install -yqq wget git unzip libxml2-dev cmake make systemtap...
matt-42/FrameworkBenchmarks
frameworks/PHP/php-ngx/php-ngx.dockerfile
Dockerfile
bsd-3-clause
1,193
#pragma once namespace BulletAnimatSim { namespace Environment { btHeightfieldTerrainShape BULLET_PORT *CreateBtHeightField(osg::HeightField *osgHeightField, float fltSegWidth, float fltSegLength, float &fltMinHeight, float &fltMaxHeight, btScalar **aryHeightData); btConvexHullShape BULLET_PORT *Osg...
NeuroRoboticTech/AnimatLabPublicSource
Libraries/BulletAnimatSim/BlOsgGeometry.h
C
bsd-3-clause
711
using HtmlRenderer.TestLib.Dom; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace HtmlRenderer.DomParseTester.DomComparing.ViewModels { public sealed class Comment : CharacterData<ReferenceComment> { public Comment(Context con...
todor-dk/HTML-Renderer
Source/Testing/HtmlRenderer.DomParseTester/DomComparing/ViewModels/Comment.cs
C#
bsd-3-clause
403
// Copyright 2018 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/ash/policy/reporting/arc_app_install_event_logger.h" #include <stdint.h> #include <algorithm> #include <iterator> #include "as...
ric2b/Vivaldi-browser
chromium/chrome/browser/ash/policy/reporting/arc_app_install_event_logger.cc
C++
bsd-3-clause
8,972
<?php namespace CLIFramework\Component\Table; use CLIFramework\Ansi\Colors; class CellAttribute { const ALIGN_RIGHT = 1; const ALIGN_LEFT = 2; const ALIGN_CENTER = 3; const WRAP = 1; const CLIP = 2; const ELLIPSIS = 3; protected $alignment = 2; protected $formatter; protec...
marcioAlmada/CLIFramework
src/CLIFramework/Component/Table/CellAttribute.php
PHP
bsd-3-clause
3,942
/**************************************************************************** * Copyright (c) 2012-2020 by the DataTransferKit authors * * All rights reserved. * * * * This ...
Rombur/DataTransferKit
packages/Interface/src/DTK_DOFMap.hpp
C++
bsd-3-clause
3,843
// // Copyright 2019 The ANGLE 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. // // capture_gles3_params.cpp: // Pointer parameter capture functions for the OpenGL ES 3.0 entry points. #include "libANGLE/capture_gles_2_0_a...
endlessm/chromium-browser
third_party/angle/src/libANGLE/capture_gles_3_0_params.cpp
C++
bsd-3-clause
34,588
#region License // Copyright (c) 2010-2019, Mark Final // 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 // ...
markfinal/BuildAMation
tests/CodeGenTest/bam/Scripts/TestApp.cs
C#
bsd-3-clause
1,985
// // NodeBuffer.h // NodeLight // #import <JavaScriptCore/JavaScriptCore.h> JSClassRef NodeBufferClass(); void NodeBufferExpose(JSContextRef context, JSValueRef* exception); JSValueRef JSValueFromNSData(JSContextRef context, NSData *data);
fleurdeswift/webdeveloper
Runtime/NodeLight/NodeBuffer.h
C
bsd-3-clause
245
<?php // # Cancel Invoice Sample // This sample code demonstrate how you can cancel // an invoice. /** @var Invoice $invoice */ $invoice = require 'SendInvoice.php'; use PayPal\Api\Invoice; use PayPal\Api\CancelNotification; try { // ### Cancel Notification Object // This would send a notification to both ...
frankpaul142/aurasur
vendor/paypal/rest-api-sdk-php/sample/invoice/CancelInvoice.php
PHP
bsd-3-clause
1,327
<?php /** * AutomaticUpload.php * * PHP version 5.4+ * * @author Philippe Gaultier <pgaultier@sweelix.net> * @copyright 2010-2014 Sweelix * @license http://www.sweelix.net/license license * @version 1.0.3 * @link http://www.sweelix.net * @category behaviors * @package sweelix.yii2.plupload.beh...
pgaultier/sweelix-yii2-plupload
src/behaviors/AutomaticUpload.php
PHP
bsd-3-clause
19,061
<?php namespace frontend\models; use Yii; use yii\base\Model; use common\models\User; /** * Activation reset request form */ class ActivationCodeResetRequestForm extends Model { // Init Public Constants const STATUS_SUCCESS = 100; const STATUS_ERROR_ACCOUNT_ALREADY_ACTIVATED = 200; const STATUS_ERROR_ACCOUNT_...
microdisk/customre_website
frontend/models/ActivationCodeResetRequestForm.php
PHP
bsd-3-clause
1,755
<!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 (1.8.0_40) on Mon Mar 23 05:48:17 UTC 2015 --> <title>Constant Field Values (grpc-PollService 0.1.0-SNAPSHOT API)</title> <meta name="date" content="2...
avinashc89/grpc_273
PollService/build/docs/javadoc/constant-values.html
HTML
bsd-3-clause
6,992
// // ATConnect.h // ApptentiveConnect // // Created by Andrew Wooster on 3/12/11. // Copyright 2011 Apptentive, Inc.. All rights reserved. // #if TARGET_OS_IPHONE #import <UIKit/UIKit.h> #elif TARGET_OS_MAC #import <Cocoa/Cocoa.h> #endif #define kATConnectVersionString @"2.0.2" #if TARGET_OS_IPHONE # define kA...
sahara108/apptentive-ios
ApptentiveConnect/source/ATConnect.h
C
bsd-3-clause
20,486
/* ************************************************************* *\ * drawing.c * * * * Project: NotificaThor * * Author: Christian Weber (ChristianWeber802@...
TheWebster/NotificaThor
src/drawing.c
C
bsd-3-clause
10,061
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE762_Mismatched_Memory_Management_Routines__delete_int64_t_malloc_82a.cpp Label Definition File: CWE762_Mismatched_Memory_Management_Routines__delete.label.xml Template File: sources-sinks-82a.tmpl.cpp */ /* * @description * CWE: 762 Mismatched Memory Management ...
JianpingZeng/xcc
xcc/test/juliet/testcases/CWE762_Mismatched_Memory_Management_Routines/s03/CWE762_Mismatched_Memory_Management_Routines__delete_int64_t_malloc_82a.cpp
C++
bsd-3-clause
3,366
package org.sana.android.fragment; import android.content.Context; import android.content.Intent; import android.database.Cursor; import android.net.Uri; import android.os.Build; import android.os.Bundle; import android.support.v4.app.ListFragment; import android.support.v4.app.LoaderManager; import android.support.v4...
UNFPAInnovation/GetIn_Mobile
app/src/main/java/org/sana/android/fragment/ObserverListFragment.java
Java
bsd-3-clause
8,088
-- -- Copyright 2019 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 -- -- https://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applica...
endlessm/chromium-browser
third_party/perfetto/src/trace_processor/metrics/android/span_view_stats.sql
SQL
bsd-3-clause
1,382
#include "Ht.h" #include "PersObk.h" void CPersObk::PersObk() { if (PR_htValid) { switch (PR_htInst) { case OBK_PUSH: { if (P_loopCnt == 0) { HtContinue(OBK_RTN); break; } if (SendHostDataBusy()) { HtRetry(); break; } uint64_t data = (uint64_t)((uint64_t)P_pau << 56); data |=...
TonyBrewer/OpenHT
tests/obk/src_pers/PersObk_src.cpp
C++
bsd-3-clause
716
<style include="cr-hidden-style cr-icons"> ::part(dialog) { min-width: 800px; } :host { --border-width: 1px; } div[slot=title] { align-items: center; color: var(--ntp-primary-text-color); display: flex; flex-direction: row; height: 58px; padding: 0; } div[slot=body] { ...
endlessm/chromium-browser
chrome/browser/resources/new_tab_page/customize_dialog.html
HTML
bsd-3-clause
5,854
// // Browse.scala -- Scala class/trait/object Browse // Project OrcScala // // $Id: Browse.scala 2933 2011-12-15 16:26:02Z jthywissen $ // // Created by dkitchin on Jan 18, 2011. // // Copyright (c) 2011 The University of Texas at Austin. All rights reserved. // // Use and redistribution of this file is governed by th...
laurenyew/cOrcS
src/orc/lib/web/Browse.scala
Scala
bsd-3-clause
1,526
<html> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <style type=text/css> body{font-family:sans-serif;font-size:1em} h1{font-size:1.7em;} h2{font-size:1.4em;} h3{font-size:1.1em;} p{font-size:0.8em;line-height:1.5em;} blo...
GaloisInc/hacrypto
competitions/CAESAR/competitions.cr.yp.to/faq.html
HTML
bsd-3-clause
7,152
/*================================================================================ Copyright (c) 2009 VMware, 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 ...
mikem2005/vijava
src/com/vmware/vim25/CannotAddHostWithFTVmAsStandalone.java
Java
bsd-3-clause
1,790
package de.fraunhofer.fokus.movepla.portlets; /* * #%L * govapps_data * $Id: E_Stati.java 566 2014-11-13 15:22:01Z sma $ * %% * Copyright (C) 2013 - 2014 Fraunhofer FOKUS / CC ÖFIT * %% * Copyright (c) 2,013, Fraunhofer FOKUS, Kompetenzzentrum Oeffentliche IT * All rights reserved. * Redistribution and use i...
fraunhoferfokus/govapps
data-portlet/src/main/java/de/fraunhofer/fokus/movepla/portlets/E_Stati.java
Java
bsd-3-clause
2,939
package com.hitler.common.model.menu; import java.io.Serializable; import java.util.Collection; /** * 导航栏菜单vo * @author Kylin * 2015-10-10 上午9:44:27 */ public class NavMenu implements Serializable { private static final long serialVersionUID = 1L; private Integer id; /** * 显示内容 */ public String text; ...
onsoul/ha-db
saas-mycat/saas/src/main/java/com/hitler/common/model/menu/NavMenu.java
Java
bsd-3-clause
1,481
package net.meisen.dissertation.performance.indexes; /** * Helper interface to provide different data generators * * @author pmeisen * */ public interface IDataGenerator { /** * Creates a generated {@code Object} the time of generation should be equal * for each object. * * @return a generated object...
pmeisen/dis-timeintervaldataanalyzer
test/net/meisen/dissertation/performance/indexes/IDataGenerator.java
Java
bsd-3-clause
359
{-# LANGUAGE FlexibleInstances #-} {-# LANGUAGE GeneralizedNewtypeDeriving #-} {-# LANGUAGE MultiParamTypeClasses #-} {-# LANGUAGE TypeFamilies #-} ----------------------------------------------------------------------------- -- | -- Module : Diagrams.TwoD.Path.Follow -- Copyright :...
diagrams/diagrams-contrib
src/Diagrams/TwoD/Path/Follow.hs
Haskell
bsd-3-clause
3,104
cmd_librte_mbuf_offload.a = ar crDs librte_mbuf_offload.a rte_mbuf_offload.o
yoannd/mtcp
dpdk-2.2.0/build/build/lib/librte_mbuf_offload/.librte_mbuf_offload.a.cmd
Batchfile
bsd-3-clause
78
// Copyright 2015-present 650 Industries. All rights reserved. package abi41_0_0.expo.modules.analytics.segment; import android.content.Context; import android.content.SharedPreferences; import androidx.annotation.Nullable; import com.segment.analytics.Analytics; import com.segment.analytics.Options; import com.seg...
exponent/exponent
android/versioned-abis/expoview-abi41_0_0/src/main/java/abi41_0_0/expo/modules/analytics/segment/SegmentModule.java
Java
bsd-3-clause
9,079
//===-- FileLineResolver.h --------------------------------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
endlessm/chromium-browser
third_party/llvm/lldb/include/lldb/Core/FileLineResolver.h
C
bsd-3-clause
2,120
// 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 "third_party/blink/renderer/platform/graphics/dark_mode_color_classifier.h" #include "testing/gtest/include/gtest/gtest.h" #include "third_party...
endlessm/chromium-browser
third_party/blink/renderer/platform/graphics/dark_mode_color_classifier_test.cc
C++
bsd-3-clause
3,260
/* * Copyright (C) 2012 Adobe Systems Incorporated. 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 * copyright notice, this ...
endlessm/chromium-browser
third_party/blink/renderer/core/css/basic_shape_functions.cc
C++
bsd-3-clause
15,126
package net.selenate.server package settings import java.io.File import net.selenate.common.exceptions.SeException object ProfileSettings { private def parseDisplay(display: String): DisplaySettings = display.toLowerCase match { case "main" => DisplaySettings.Main case "firstfree" => DisplaySet...
tferega/selenate
code/Server/src/main/scala/net/selenate/server/settings/ProfileSettings.scala
Scala
bsd-3-clause
2,017