code
stringlengths
3
1.01M
repo_name
stringlengths
5
116
path
stringlengths
3
311
language
stringclasses
30 values
license
stringclasses
15 values
size
int64
3
1.01M
/* Public domain */ #ifndef _AGAR_CORE_NET_SERVER_H_ #define _AGAR_CORE_NET_SERVER_H_ #include <agar/core/begin.h> #define NS_HOSTNAME_MAX 256 struct ns_server; struct ns_client; struct ns_cmd; enum ns_log_lvl { NS_DEBUG, NS_INFO, NS_NOTICE, NS_WARNING, NS_ERR, NS_CRIT, NS_ALERT, NS_EMERG }; typedef int (*...
adsr/agar
core/net_server.h
C
bsd-2-clause
3,159
-- load_cfg.lua - internal file local ffi = require('ffi') ffi.cdef([[ void check_cfg(); void load_cfg(); void box_set_wal_mode(const char *mode); void box_set_listen(const char *uri); void box_set_replication_source(const char *source); void box_set_log_level(int level); void box_set_readahead(int readahead); void bo...
dkorolev/tarantool
src/box/lua/load_cfg.lua
Lua
bsd-2-clause
9,216
////////////////////////////////////////////////////////////////////////////// // // (C) Copyright Ion Gaztanaga 2014-2014. // // 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) // // See http://www.boost.org/libs/c...
nihospr01/OpenSpeechPlatform-UCSD
Sources/liblsl/lslboost/boost/container/detail/construct_in_place.hpp
C++
bsd-2-clause
2,973
var searchData= [ ['time',['time',['../group__lib__time.html',1,'']]], ['thread',['thread',['../group__thread.html',1,'']]] ];
alexeyk13/mkernel
doc/html/search/groups_74.js
JavaScript
bsd-2-clause
131
#include "e.h" static void *_create_data(E_Config_Dialog *cfd); static void _free_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata); static int _basic_apply_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata); static Evas_Object *_basic_create_widgets(E_Config_Dialog *cfd, Evas *eva...
jordemort/e17
src/modules/conf_theme/e_int_config_startup.c
C
bsd-2-clause
9,644
package org.fxmisc.richtext.model; import static org.fxmisc.richtext.model.TwoDimensional.Bias.*; import java.util.ArrayList; import java.util.Collections; import java.util.List; import org.reactfx.EventSource; import org.reactfx.EventStream; import org.reactfx.Subscription; import org.reactfx.SuspendableNo; import ...
cemartins/RichTextFX
richtextfx/src/main/java/org/fxmisc/richtext/model/GenericEditableStyledDocumentBase.java
Java
bsd-2-clause
7,622
/********************************************************************************* * * Inviwo - Interactive Visualization Workshop * * Copyright (c) 2020-2021 Inviwo Foundation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided th...
inviwo/inviwo
modules/glfw/src/glfwuserdata.cpp
C++
bsd-2-clause
1,930
<?php require_once('BaseController.class.php'); require_once('plugins/LdapAuthAdapter.php'); require_once('plugins/OrgAuthAdapter.php'); // 認証画面 class AuthController extends BaseController { public function init() { // ここにコントローラの初期化処理を記述する } // 認証フォーム public function indexAction() { } // 外部ログイン画面 public f...
tec-admin/tecsystem
tecfolio/application/controllers/AuthController.php
PHP
bsd-2-clause
9,053
UserSettings = new Mongo.Collection( 'user-settings' ); UserSettings.allow({ insert: function () { return true }, update: function () { // TODO move this server side. Only allow the owner to edit return true } });
MantarayAR/pingr-io
src/both/collections/user-settings.js
JavaScript
bsd-2-clause
234
class Antibody < Formula desc "The fastest shell plugin manager" homepage "https://getantibody.github.io/" url "https://github.com/getantibody/antibody/archive/v6.1.0.tar.gz" sha256 "b2cf67af801ebf10c0d52b1767cbdb5e3ab5a1713e6c3d28616a109e1d7906a7" license "MIT" bottle do cellar :any_skip_relocation ...
lembacon/homebrew-core
Formula/antibody.rb
Ruby
bsd-2-clause
944
=begin #MINDBODY Public API #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v6 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.4.6 =end require 'spec_helper' require 'json' require 'date' # Uni...
mindbody/API-Examples
SDKs/Ruby/spec/models/contact_log_type_spec.rb
Ruby
bsd-2-clause
1,217
// Generated by gtkmmproc -- DO NOT MODIFY! #include <glibmm.h> #include <pangomm/fontmetrics.h> #include <pangomm/private/fontmetrics_p.h> // -*- c++ -*- /* $Id: fontmetrics.ccg,v 1.1 2003/01/21 13:41:04 murrayc Exp $ */ /* * * Copyright 1998-1999 The Gtk-- Development Team * Copyright 2001 Free Software...
yleydier/gtkmm2_msvc14
pangomm/pango/pangomm/fontmetrics.cc
C++
bsd-2-clause
3,614
# The set of languages for which implicit dependencies are needed: SET(CMAKE_DEPENDS_LANGUAGES "CXX" ) # The set of files for implicit dependencies of each language: SET(CMAKE_DEPENDS_CHECK_CXX "/home/zimo/Documents/dense_functional_map_matching/external/gop_1.3/lib/imgproc/color.cpp" "/home/zimo/Documents/dense_...
LiZimo/FuncFlow
external/gop_1.3/build/lib/imgproc/CMakeFiles/imgproc.dir/DependInfo.cmake
CMake
bsd-2-clause
2,743
var Jsonix = require('../jsonix').Jsonix; module.exports = { "Type": function(test) { test.equal(true, Jsonix.Util.Type.isString('abc')); test.equal(false, Jsonix.Util.Type.isString(1)); test.equal(false, Jsonix.Util.Type.isString(null)); test.equal(false, Jsonix.Util.Type.isString(undefined)); // test.equ...
wmakeev/jsonix
nodejs/scripts/tests/util.js
JavaScript
bsd-2-clause
1,785
/* * Copyright 2014 Nutiteq Llc. All rights reserved. * Copying and using this code is allowed only according * to license terms, as given in https://www.nutiteq.com/license/ */ #ifndef _NUTI_TORQUETILEDECODER_H_ #define _NUTI_TORQUETILEDECODER_H_ #include "VectorTileDecoder.h" #include "MapnikVT/Value.h" #inclu...
nutiteq/hellomap3d-ios
hellomap3/Nuti.framework/Versions/A/Headers/vectortiles/TorqueTileDecoder.h
C
bsd-2-clause
2,640
from __future__ import unicode_literals class MorfessorException(Exception): """Base class for exceptions in this module.""" pass class ArgumentException(Exception): """Exception in command line argument parsing.""" pass class InvalidCategoryError(MorfessorException): """Attempt to load data u...
aalto-speech/flatcat
flatcat/exception.py
Python
bsd-2-clause
1,153
// Copyright 2015, David Howden // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package main import ( "fmt" "tchaik.com/index" "tchaik.com/index/checklist" "tchaik.com/index/cursor" "tchaik.com/index/favourite" "tchaik.com/index/history" "tchaik.com/inde...
tchaik/tchaik
cmd/tchaik/meta.go
GO
bsd-2-clause
3,139
{-# LANGUAGE TypeFamilies, OverloadedStrings #-} ----------------------------------------------------------------------------- -- | -- Module : Data.Xournal.Map -- Copyright : (c) 2011, 2012 Ian-Woo Kim -- -- License : BSD3 -- Maintainer : Ian-Woo Kim <ianwookim@gmail.com> -- Stability : experimental --...
wavewave/xournal-types
src/Data/Xournal/Map.hs
Haskell
bsd-2-clause
875
/* Generated By:JJTree: Do not edit this line. ASTId.java */ public class ASTId extends SimpleNode { public ASTId(int id) { super(id); } public ASTId(SPLParser p, int id) { super(p, id); } }
aijunbai/skipoominijool
doc/javacc/javacc-examples/Interpreter/ASTId.java
Java
bsd-2-clause
210
#!/bin/sh . tests/shlib/common.sh . tests/shlib/vterm.sh enter_suite tmux vterm_setup ln -s "$(which env)" "$TEST_ROOT/path" ln -s "$(which cut)" "$TEST_ROOT/path" ln -s "$ROOT/scripts/powerline-render" "$TEST_ROOT/path" ln -s "$ROOT/scripts/powerline-config" "$TEST_ROOT/path" test_tmux() { if test "$PYTHON_IMPLEM...
codeprimate/arid
powerline/tests/test_in_vterm/test_tmux.sh
Shell
bsd-2-clause
1,080
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Changing field 'Feed.title' db.alter_column('feedmanager_feed', 'title', self.gf('django.db.models.fields....
jacobjbollinger/sorbet
sorbet/feedmanager/migrations/0006_chg_field_feed_title.py
Python
bsd-2-clause
5,274
# General utility functions can go here. import os import random import string from django.utils import functional from django.utils.http import urlencode def rand_string(numOfChars): """ Generates a string of lowercase letters and numbers. That makes 36^10 = 3 x 10^15 possibilities. If we generate f...
DevangS/CoralNet
utils.py
Python
bsd-2-clause
2,240
class AddArchivedToCodes < ActiveRecord::Migration def change add_column :codes, :archived, :boolean end end
joequant/scms
NScrypt/db/migrate/20150509101930_add_archived_to_codes.rb
Ruby
bsd-2-clause
117
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <script src="geEngine.js"></script> <style type=text/css> body { background-color: #CCCCCC; font-family: sans-serif; text-align: center; color: #666666; } div.centered { margin-left: auto; mar...
ramenhut/js-path-tracer
index.html
HTML
bsd-2-clause
2,716
/* * Part of DNS zone file validator `validns`. * * Copyright 2011-2014 Anton Berezin <tobez@tobez.org> * Modified BSD license. * (See LICENSE file in the distribution.) * */ #include <sys/types.h> #include <stdio.h> #include <netinet/in.h> #include <arpa/inet.h> #include "common.h" #include "textparse.h" #incl...
MikeAT/validns
sshfp.c
C
bsd-2-clause
2,176
import django from django.db import router from django.db.models import signals try: from django.db.models.fields.related import ReverseManyRelatedObjectsDescriptor except ImportError: from django.db.models.fields.related import ManyToManyDescriptor as ReverseManyRelatedObjectsDescriptor from ..utils import cached...
SpectralAngel/django-select2-forms
select2/models/descriptors.py
Python
bsd-2-clause
8,496
using UnityEngine; using System.Collections; public class ParticleAutodestruct : MonoBehaviour { void Start () { if(!particleSystem.loop) { Destroy(gameObject, particleSystem.duration); } } public void DestroyGracefully() { DestroyGracefully(gameObject); } static public void DestroyGracefully(Gam...
tutsplus/battle-circle-ai
src/Assets/Scripts/ParticleAutodestruct.cs
C#
bsd-2-clause
491
#include <fcntl.h> #include <unistd.h> #include <errno.h> #include <string.h> #include <stdio.h> #include <stdlib.h> #include "CLLogger.h" #define LOG_FILE_NAME "logger" #define MAX_SIZE 265 #define BUFFER_SIZE_LOG_FILE 4096 CLLogger* CLLogger::m_pLog = 0; pthread_mutex_t CLLogger::m_Mutex = PTHREAD_MUTE...
unix1986/universe
book/bookcode/4/4.14/CLLogger.cpp
C++
bsd-2-clause
4,303
using Newtonsoft.Json; using System; namespace Wilson.Accounting.Core.Entities.ValueObjects { [JsonObject] public class BillItem : ValueObject<BillItem> { protected BillItem() { } [JsonProperty] public int Quantity { get; private set; } [JsonProperty] ...
KostaVlev/Wilson
Accounting/Wilson.Accounting.Core/Entities/ValueObjects/BillItem.cs
C#
bsd-2-clause
1,868
/** * Module : neoui-pagination * Author : Kvkens(yueming@yonyou.com) * Date : 2016-08-03 08:45:49 */ import {BaseComponent} from 'tinper-sparrow/js/BaseComponent'; import {extend} from 'tinper-sparrow/js/extend'; import {addClass,wrap,css,hasClass,removeClass,closest} from 'tinper-sparrow/js/dom'; import {each}...
iuap-design/iuap-design
js/neoui-pagination.js
JavaScript
bsd-2-clause
13,439
package in.twizmwaz.openuhc.game; import in.twizmwaz.openuhc.OpenUHC; import in.twizmwaz.openuhc.event.game.GameEndEvent; import in.twizmwaz.openuhc.event.game.GameScatterEvent; import in.twizmwaz.openuhc.event.game.GameStartEvent; import in.twizmwaz.openuhc.game.exception.BusyGameStateException; import in.twizmwaz.op...
twizmwazin/OpenUHC
OpenUHC/src/main/java/in/twizmwaz/openuhc/game/Game.java
Java
bsd-2-clause
6,433
/* * main.cpp * * Created on: 03/01/2011 * Author: adam */ // --------------------------------------------------------------- // Shock Includes #include "Shock/Memory/ObjectPool.h" // System Includes #include <cstdio> #include <iostream> // --------------------------------------------------...
adamlwgriffiths/Shock
Shock/UnitTest_Memory/src/main.cpp
C++
bsd-2-clause
1,660
// Copyright (c) 2011, Christian Rorvik // Distributed under the Simplified BSD License (See accompanying file LICENSE.txt) #ifndef CRUNCH_CONCURRENCY_PLATFORM_WIN32_ATOMIC_STORAGE_HPP #define CRUNCH_CONCURRENCY_PLATFORM_WIN32_ATOMIC_STORAGE_HPP #include "crunch/base/align.hpp" #include <emmintrin.h> namespace Crun...
ancapdev/crunch.concurrency
include/crunch/concurrency/platform/win32/atomic_storage.hpp
C++
bsd-2-clause
1,319
<?php /** * Copyright (c) 2012-2019, Mollie B.V. * 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 ...
mollie/Magento
app/code/community/Mollie/Mpm/Model/Adminhtml/System/Config/Source/IssuerListType.php
PHP
bsd-2-clause
2,436
cask v1: 'airfile' do version '2.8.2' sha256 'ab8792e538462b8f8fc6b44af28dd2fe9d16af3f955cd2cfcc7ed6f88fb87e9a' # amazonaws.com is the official download host per the vendor homepage url "https://s3.amazonaws.com/airfile-static/__apps__/airfile/AirFile-#{version}.zip" name 'AirFile' appcast 'https://s3.amaz...
askl56/homebrew-cask
Casks/airfile.rb
Ruby
bsd-2-clause
551
#include "ifcconvector.h" #include "IFCEngine/engine.h" #include "Stream/UGFile.h" #include "OGDC/OgdcDataSource.h" #include "OGDC/OgdcProviderManager.h" #include <QMessageBox> #include <QProgressDialog> #include "Base3D/UGReindexer.h" #include "Base3D/UGModelEM.h" #include "Base3D/UGModelNodeShells.h" #include "Base...
SuperMap/OGDC
Samples/IFCTools/ifcconvector.cpp
C++
bsd-2-clause
102,226
/* * THE CHRONOTEXT-PLAYGROUND: https://github.com/arielm/chronotext-playground * COPYRIGHT (C) 2014-2015, ARIEL MALKA ALL RIGHTS RESERVED. * * THE FOLLOWING SOURCE-CODE IS DISTRIBUTED UNDER THE SIMPLIFIED BSD LICENSE: * https://github.com/arielm/chronotext-playground/blob/master/LICENSE */ /* * SEE COMMENTS IN...
arielm/chronotext-playground
Sketches/TestBed1/src/TestingMemory1.h
C
bsd-2-clause
1,562
## EqualAssay The `EqualAssay` class defines an assertion for equality based on the `==` method. assert EqualAssay.pass?(1, 1) assert EqualAssay.pass?(1, 1.0) refute EqualAssay.pass?(1, 2) refute EqualAssay.pass?(1, 'foo') And conversely, assert EqualAssay.fail?(1, 2) assert EqualAssay.fail...
rubyworks/assay
demo/01_assay_classes/05_equal_assay.md
Markdown
bsd-2-clause
405
//MIT, 2014-present, WinterDev using System; using System.Collections.Generic; using PixelFarm.Drawing; using PixelFarm.DrawingGL; namespace Mini { public delegate void GLSwapBufferDelegate(); public delegate IntPtr GetGLControlDisplay(); public delegate IntPtr GetGLSurface(); public abstract class...
LayoutFarm/PixelFarm
src/Tests/TestSamples_Painting_Focus/00_DemoBase/DemoBase1.cs
C#
bsd-2-clause
18,127
/* * Copyright 2008-2017 Katherine Flavel * * See LICENCE for the full copyright terms. */ #include <assert.h> #include <limits.h> #include <string.h> #include <stdlib.h> #include <stdio.h> #include <re/re.h> static int re_fprint(FILE *f, enum re_dialect dialect, const char *s) { char start, end; assert(f != ...
katef/libfsm
src/libre/perror.c
C
bsd-2-clause
2,599
package com.joshng.util.concurrent; import java.util.concurrent.Future; /** * Created by: josh 10/22/13 2:04 PM */ public interface Cancellable { static Cancellable extendFuture(final Future future) { if (future instanceof Cancellable) return (Cancellable) future; return future::cancel; } boolean can...
joshng/papaya
papaya/src/main/java/com/joshng/util/concurrent/Cancellable.java
Java
bsd-2-clause
358
#include <cprocessing/cprocessing.hpp> using namespace cprocessing; #include "VariableScope.hpp" /** * Variable Scope. * * Variables have a global or local "scope". * For example, variables declared within either the * setup() or draw() functions may be only used in these * functions. Global variables, varia...
whackashoe/cprocessing
examples/Basics/Data/VariableScope/VariableScope.cpp
C++
bsd-2-clause
1,707
// This file was procedurally generated from the following sources: // - src/dstr-binding/obj-ptrn-prop-obj-init.case // - src/dstr-binding/default/cls-decl-meth-dflt.template /*--- description: Object binding pattern with "nested" object binding pattern using initializer (class expression method (default parameter)) e...
sebastienros/jint
Jint.Tests.Test262/test/language/statements/class/dstr-meth-dflt-obj-ptrn-prop-obj-init.js
JavaScript
bsd-2-clause
2,859
// // audio-sender.h // ndnrtc // // Copyright 2013 Regents of the University of California // For licensing details see the LICENSE file. // // Author: Peter Gusev // #ifndef __ndnrtc__audio_thread__ #define __ndnrtc__audio_thread__ #include <boost/thread.hpp> #include <ndn-cpp/data.hpp> #include "params.hpp"...
remap/ndnrtc
cpp/src/audio-thread.hpp
C++
bsd-2-clause
2,351
class Texlive < Formula include Language::Python::Shebang include Language::Python::Virtualenv desc "Free software distribution for the TeX typesetting system" homepage "https://www.tug.org/texlive/" url "https://github.com/TeX-Live/texlive-source/archive/refs/tags/svn58837.tar.gz" sha256 "0afa6919e44675b7...
Moisan/homebrew-core
Formula/texlive.rb
Ruby
bsd-2-clause
20,789
class Plag < ApplicationRecord include Anemon belongs_to :doc belongs_to :user has_one :result @anemon = Anemon::Scrapper.new def self.crawl_and_scrap(url ,user ,doc) result = @anemon.crawl_and_scrap(url ,user ,doc) Plag.create({url: result[:url], filename: result[:filename], user: user, doc: d...
mureithi254/anti_plag
app/models/plag.rb
Ruby
bsd-2-clause
345
<?php namespace Zenith\Exception; class SOAPServiceException extends \Exception { /** * Status code * @var int */ protected $statusCode; /** * Status message * @var string */ protected $statusMessage; public function __construct($statusCode, $statusMessage) { $this->statusCode = $statusCode; $...
emaphp/zenith-framework
src/Zenith/Exception/SOAPServiceException.php
PHP
bsd-2-clause
539
using FlubuCore.Commanding; using Xunit; namespace FlubuCore.Tests.Commanding { public class FlubuConfigurationProviderTests { private FlubuConfigurationProvider _flubuConfigurationProvider; public FlubuConfigurationProviderTests() { _flubuConfigurationProvider = new Flubu...
flubu-core/flubu.core
src/FlubuCore.Tests/Commanding/FlubuConfigurationProviderTests.cs
C#
bsd-2-clause
1,331
/* Create the initial queues */ INSERT INTO pq_queue (name, scheduled, lock_expires, serial, idempotent) VALUES ('default', 'true', 'January 3 04:05:06 1999 UTC', 'false', 'false'); INSERT INTO pq_queue (name, scheduled, lock_expires, serial, idempotent) VALUES ('serial', 'true', 'January 3 04:05:06 1999 UTC', 'true', ...
bretth/django-pq
pq/sql/queue.sql
SQL
bsd-2-clause
480
# Copyright (C) 2006 Tanaka Akira. 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 conditions and the...
akr/clockcount
lib/clockcount.rb
Ruby
bsd-2-clause
2,091
/********************************************************************************* * * Inviwo - Interactive Visualization Workshop * * Copyright (c) 2018-2019 Inviwo Foundation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided th...
Sparkier/inviwo
modules/base/include/modules/base/algorithm/mesh/meshconverter.h
C
bsd-2-clause
2,507
<div data-bind="visible: isValidation, with: validationViewModel"> <div class="container" data-bind="visible: fetching"> <button class="btn btn-lg btn-warning center-block"> <span class="glyphicon glyphicon-refresh glyphicon-refresh-animate"></span> Loading... </button> </div> <div data-bind...
jeremypoulter/WPT_Results_Collection_Server
html/tab-validation.html
HTML
bsd-2-clause
5,753
package com.atlassian.jira.plugins.dvcs.webwork; import com.atlassian.jira.config.FeatureManager; import com.atlassian.jira.issue.Issue; import com.atlassian.jira.security.PermissionManager; import com.atlassian.jira.software.api.permissions.SoftwareProjectPermissions; import com.atlassian.jira.user.ApplicationUser; i...
edgehosting/jira-dvcs-connector
jira-dvcs-connector-plugin/src/main/java/com/atlassian/jira/plugins/dvcs/webwork/PanelVisibilityManager.java
Java
bsd-2-clause
2,052
/* * Copyright (c) 2011-2022, The DART development contributors * All rights reserved. * * The list of contributors can be found at: * https://github.com/dartsim/dart/blob/master/LICENSE * * This file is provided under the following "BSD-style" License: * Redistribution and use in source and binary forms, w...
dartsim/dart
dart/constraint/PgsBoxedLcpSolver.hpp
C++
bsd-2-clause
3,315
//using EA; namespace EAAddinFramework.Utils { /// <summary> /// EA item (Diagram, Package, Element,..) to remember. It stores: GUID, ObjectType as String, ObjectType, EA object as Object /// </summary> public class EaItem { public string Guid { get; private set; } public string Sql...
Helmut-Ortmann/EnterpriseArchitect_hoTools
AddinFramework/Utils/EaItem.cs
C#
bsd-2-clause
2,155
from setuptools import find_packages, setup from auspost_pac import __version__ as version setup( name='python-auspost-pac', version=version, license='BSD', author='Sam Kingston', author_email='sam@sjkwi.com.au', description='Python API for Australia Post\'s Postage Assessment Calculator (pac)...
sjkingo/python-auspost-pac
setup.py
Python
bsd-2-clause
900
class Nlopt < Formula desc "Free/open-source library for nonlinear optimization" homepage "https://nlopt.readthedocs.io/" url "https://github.com/stevengj/nlopt/releases/download/nlopt-2.4.2/nlopt-2.4.2.tar.gz" sha256 "8099633de9d71cbc06cd435da993eb424bbcdbded8f803cdaa9fb8c6e09c8e89" revision 2 bottle do ...
DomT4/homebrew-core
Formula/nlopt.rb
Ruby
bsd-2-clause
3,469
/* * WHEEL (Workflow in Hierarchical distributEd parallEL) * * Copyright (c) 2016-2017 Research Institute for Information Technology(RIIT), Kyushu University. All rights reserved. * Copyright (c) 2016-2017 Advanced Institute for Computational Science, RIKEN. All rights reserved. */ "use strict"; var __extends = (...
RIIT-KyushuUniv/WHEEL
app/serverUtility.js
JavaScript
bsd-2-clause
27,569
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>mapfart.com &middot; Mapfart API</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description" content="aaron, racicot, z-pulley, gis, spatial"> <meta name="author" content="Aaron Racico...
aaronr/mapfart
templates/index.html
HTML
bsd-2-clause
7,403
/* * Copywrite 2014-2015 Krzysztof Stasik. All rights reserved. */ #pragma once #include "base/core/types.h" #include "rush/punch/server.h" #include "../common/punch_message.h" #include "base/network/url.h" #include "base/network/socket.h" #include <vector> namespace Rush { namespace Punch { static const s32 kPunc...
pretty-wise/rush
transport/src/punch/server/punch_server.h
C
bsd-2-clause
1,129
/* */ /* | PC-LISP (C) 1984-1990 Peter J.Ashwood-Smith */ #include <stdio.h> #include "lisp.h" /* | Emit characters to '*buff' from '*s' as long as we do not meet a spec '%' or | the \0. If we meet a % that is not followed by a % then stop otherwise emit | a single % and keep going. When done '*s' points to the f...
blakemcbride/PC-LISP
src/buprintf.c
C
bsd-2-clause
10,526
'use strict'; var react = require('react') , document = require('./components/document'); module.exports.renderView = function renderView(req, res, props) { var html = react.renderComponentToString(document(props)); res.end(html); }
accosine/spandex
lib/views.js
JavaScript
bsd-2-clause
241
// This file was procedurally generated from the following sources: // - src/annex-b-fns/global-existing-global-init.case // - src/annex-b-fns/global/block.template /*--- description: Variable binding is left in place by legacy function hoisting. CreateGlobalVariableBinding leaves the binding as non-enumerable even if ...
sebastienros/jint
Jint.Tests.Test262/test/annexB/language/global-code/block-decl-global-existing-global-init.js
JavaScript
bsd-2-clause
1,234
#!/bin/sh # Surya Saha # BTI/PPath@Cornell # Purpose: Make dot plots for full chr length alignment with all and 1-1 mapping between ref and query # Use with v4 mummer https://github.com/mummer4/mummer/releases # All matches are 100% identical and only ATGC regions are reported usage(){ echo "usage: $0 <ref.fa> <que...
suryasaha/Utils
makeChrDotplotsMummer.sh
Shell
bsd-2-clause
1,081
db.addUser('admin','admin');
EqualExperts/Tayra
distribution-template/demo/createAdmin.js
JavaScript
bsd-2-clause
29
class Llnode < Formula desc "LLDB plugin for live/post-mortem debugging of node.js apps" homepage "https://github.com/nodejs/llnode" url "https://github.com/nodejs/llnode/archive/v1.6.2.tar.gz" sha256 "d5e979812f7e4ec62b451beb30770dcb8c7f7184fe8816fc6a13ba2b35c1b919" bottle do cellar :any sha256 "cb9...
robohack/homebrew-core
Formula/llnode.rb
Ruby
bsd-2-clause
2,355
# confstore Configuration Storage System
walkb4urun/confstore
README.md
Markdown
bsd-2-clause
41
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using SharpNetwork.Core; using SharpNetwork.SimpleWebSocket; namespace ChatServer { public partial ...
joelam789/sharp-network
example/ChatServer/ChatServerForm.cs
C#
bsd-2-clause
3,460
#Execute ################################################################################################# # Uninstall a program silently # # This script checks the registry for software to remove matching the search string # it can remove both msi packages and run WinPE uninstallers. # This uninstaller will aut...
Layer8Err/PowerShell_fmwrk
Local/UninstallSoftware.ps1
PowerShell
bsd-2-clause
2,580
<?php interface InterfaceWithStaticMethod { public static function staticMethod(); }
TheTypoMaster/SPHERE-Framework
Library/MOC-V/Core/SecureKernel/Vendor/PhpSecLib/0.3.9/vendor/phpunit/phpunit-mock-objects/tests/_fixture/InterfaceWithStaticMethod.php
PHP
bsd-2-clause
91
import io import sys import mock import argparse from monolith.compat import unittest from monolith.cli.base import arg from monolith.cli.base import ExecutionManager from monolith.cli.base import SimpleExecutionManager from monolith.cli.base import BaseCommand from monolith.cli.base import CommandError from monolith.c...
lukaszb/monolith
monolith/tests/test_cli.py
Python
bsd-2-clause
11,047
/** * Copyright 2013 - Eric Bidelman * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
alpine9000/BitMachine
external/idb.filesystem.js
JavaScript
bsd-2-clause
30,058
class Kotlin < Formula desc "Statically typed programming language for the JVM" homepage "https://kotlinlang.org/" url "https://github.com/JetBrains/kotlin/releases/download/v1.5.31/kotlin-compiler-1.5.31.zip" sha256 "661111286f3e5ac06aaf3a9403d869d9a96a176b62b141814be626a47249fe9e" license "Apache-2.0" li...
Moisan/homebrew-core
Formula/kotlin.rb
Ruby
bsd-2-clause
1,151
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>org.gradle.api.tasks.bundling (Gradle API 2.2.1)</title> <meta name="keywords" content="org.gradle.api.tasks.bundling package"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">...
Pushjet/Pushjet-Android
gradle/wrapper/dists/gradle-2.2.1-all/c64ydeuardnfqctvr1gm30w53/gradle-2.2.1/docs/groovydoc/org/gradle/api/tasks/bundling/package-summary.html
HTML
bsd-2-clause
7,682
#include "event.h" #include "asio.h" #ifdef ASIO_USE_IOCP #include "../actor/messageq.h" #include "../mem/pool.h" #include <string.h> #include <signal.h> #include <stdbool.h> #include <winsock2.h> // Requests to start and stop timers and to listen to stdin go through a // request queue so that all operations can be...
jemc/ponyc
src/libponyrt/asio/iocp.c
C
bsd-2-clause
8,106
/*- * Copyright (c) 2010 Redpill Linpro AS * All rights reserved. * * Author: Poul-Henning Kamp <phk@phk.freebsd.dk> * * 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 re...
drwilco/varnish-cache-old
include/vmb.h
C
bsd-2-clause
2,885
using System; using System.ComponentModel; using System.Data; using System.Windows.Forms; using bv.common.Configuration; using bv.common.Core; using DevExpress.XtraEditors; using bv.common.win; using bv.common.db.Core; using DevExpress.XtraGrid.Views.Grid; using EIDSS.RAM_DB.DBService.QueryBuilder; using EID...
EIDSS/EIDSS-Legacy
EIDSS v5/vb/EIDSS/EIDSS.RAM/QueryBuilder/QuerySearchObjectInfo.cs
C#
bsd-2-clause
53,738
#!/bin/sh -e ninja -C output/debug cm4all-beng-proxy export G_SLICE=always-malloc VALGRIND_FLAGS="--leak-check=yes --show-reachable=yes" VALGRIND_FLAGS="$VALGRIND_FLAGS --track-fds=yes --track-origins=yes" VALGRIND_FLAGS="$VALGRIND_FLAGS --suppressions=valgrind.suppressions" exec valgrind $VALGRIND_FLAGS ./output/d...
CM4all/beng-proxy
valgrind.sh
Shell
bsd-2-clause
355
// // Copyright (c) 2009, Markus Rickert // 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 condit...
roboticslibrary/rl
src/rl/plan/Metric.cpp
C++
bsd-2-clause
2,538
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved. #pragma once #include "BlueprintFieldNodeSpawner.h" #include "BlueprintDelegateNodeSpawner.generated.h" // Forward declarations class UK2Node_BaseMCDelegate; /** * Takes care of spawning various nodes associated with delegates. Serves as the * "action"...
PopCap/GameIdea
Engine/Source/Editor/BlueprintGraph/Classes/BlueprintDelegateNodeSpawner.h
C
bsd-2-clause
1,581
cask 'nosqlbooster-for-mongodb' do version '5.2.0' sha256 '13902f919e7a5485e168e86d0523dba44bee7f918c90631c8015358bbb2533d1' url "https://nosqlbooster.com/s3/download/releasesv#{version.major}/nosqlbooster4mongo-#{version}.dmg" appcast 'https://nosqlbooster.com/downloads' name 'NoSQLBooster for MongoDB' ho...
esebastian/homebrew-cask
Casks/nosqlbooster-for-mongodb.rb
Ruby
bsd-2-clause
397
--- Title: "Experimentation drives innovation " Date: 2019-10-30 16:05:08 -0700 --- # Experiment ### Two group experiment Typical control and treatment T test U test Proportion test Chi-Square test, exact test [All above look for p-value, p>.05 does not mean H naught is true, merely stats absence of evidence to r...
MikeXL/www
_posts/2019-10-30-experimentation-drives-innovation.md
Markdown
bsd-2-clause
656
class Php < Formula desc "General-purpose scripting language" homepage "https://secure.php.net/" url "https://php.net/get/php-7.2.8.tar.xz/from/this/mirror" sha256 "53ba0708be8a7db44256e3ae9fcecc91b811e5b5119e6080c951ffe7910ffb0f" bottle do sha256 "a1672a1e262cc8ba9091482ac16d8d23f75cdcbf50195aeda160a8d5...
ilovezfs/homebrew-core
Formula/php.rb
Ruby
bsd-2-clause
12,262
// // Programmer: Craig Stuart Sapp <craig@ccrma.stanford.edu> // Creation Date: Mon Jul 29 11:38:01 CEST 2019 // Last Modified: Wed Jul 31 21:20:06 CEST 2019 // Filename: humdiff.cpp // URL: https://github.com/craigsapp/humlib/blob/master/cli/humdiff.cpp // Syntax: C++11 // vim: ts=3...
humdrum-tools/minHumdrum
cli/humdiff-old.cpp
C++
bsd-2-clause
11,280
/* Copyright 2012 Joe Hermaszewski. 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 conditions ...
expipiplus1/joelang
src/compiler/tokens/declarator_specifier.hpp
C++
bsd-2-clause
5,805
# Copyright (c) 2015-2018 by the parties listed in the AUTHORS file. # All rights reserved. Use of this source code is governed by # a BSD-style license that can be found in the LICENSE file. import numpy as np from .tod import TOD from .noise import Noise from ..op import Operator from .. import timing as timing...
tskisner/pytoast
src/python/tod/sim_noise.py
Python
bsd-2-clause
3,547
package org.jvnet.annox.reader; import java.lang.reflect.Constructor; import java.lang.reflect.Field; import java.lang.reflect.Method; import org.jvnet.annox.model.XClass; import org.jvnet.annox.model.XConstructor; import org.jvnet.annox.model.XField; import org.jvnet.annox.model.XMethod; import org.jvnet.annox.model...
highsource/annox
core/src/main/java/org/jvnet/annox/reader/XReader.java
Java
bsd-2-clause
1,176
// =========================================================== // Copyright (c) 2014-2015, Enrico Da Ros/kendar.org // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // * Redistribut...
kendarorg/ConcurrencyHelpers
ConcurrencyHelpers/src/ConcurrencyHelpers/Interfaces/ITimer.cs
C#
bsd-2-clause
1,897
/** @file kmeans.c ** @brief K-means - Declaration ** @author Andrea Vedaldi, David Novotny **/ /* Copyright (C) 2007-12 Andrea Vedaldi and Brian Fulkerson. Copyright (C) 2013 Andrea Vedaldi and David Novotny. All rights reserved. This file is part of the VLFeat library and is made available under the terms of the...
ojwoodford/ojwul
features/private/vlfeat/vl/kmeans.c
C
bsd-2-clause
72,182
//============================================================================ // MCKL/include/mckl/core/estimator.hpp //---------------------------------------------------------------------------- // MCKL: Monte Carlo Kernel Library //---------------------------------------------------------------------------- // Copy...
zhouyan/MCKL
include/mckl/core/estimator.hpp
C++
bsd-2-clause
3,971
{% load inplace_edit %} <div class="object_list"> {% for object,ser in generic_object_list.object_list_serialize %} <ul class="flatblocks-object"> {% for field,value in ser.fields.items %} {% with "object."|add:field as var %} <li>{{ field }}:{% inplace_edit var %}</li> {% endwith %} {% endfor ...
Krozark/django-Kraggne-inplaceeditform-adaptator
Kraggne_inplaceeditform_adaptator/templates/flatblocks/object_list.html
HTML
bsd-2-clause
349
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved. #pragma once #include "Core.h" #include "ISourceControlProvider.h" class SOURCECONTROLWINDOWS_API FSourceControlWindows { public: /** Opens a dialog to choose packages to submit */ static void ChoosePackagesToCheckIn(); /** Determines whether we can ch...
PopCap/GameIdea
Engine/Source/Editor/SourceControlWindows/Public/SourceControlWindows.h
C
bsd-2-clause
2,500
require "rubygems" require "formula_installer" require "hbc/cask_dependencies" require "hbc/staged" require "hbc/verify" module Hbc class Installer extend Predicable # TODO: it is unwise for Hbc::Staged to be a module, when we are # dealing with both staged and unstaged Casks here. This should ...
gregory-nisbet/brew
Library/Homebrew/cask/lib/hbc/installer.rb
Ruby
bsd-2-clause
13,482
--[[ Copyright 2004-2012 Mathias Fiedler. 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 conditions and the...
jackscan/parlucid
gramdefparser/parsergen.lua
Lua
bsd-2-clause
14,506
cask 'navicat-for-mysql' do version '11.2.15' sha256 '590b5f9d39ba42fde79923ae39723cdbe39fc4a8da31308e8bdf17f7ceb0addd' url "http://download.navicat.com/download/navicat#{version.major_minor.no_dots}_mysql_en.dmg" name 'Navicat for MySQL' homepage 'https://www.navicat.com/products/navicat-for-mysql' app '...
elyscape/homebrew-cask
Casks/navicat-for-mysql.rb
Ruby
bsd-2-clause
347
// basic protocol helpers var symbolExists = typeof Symbol !== 'undefined'; var protocols = { iterator: symbolExists ? Symbol.iterator : '@@iterator' }; function throwProtocolError(name, coll) { throw new Error("don't know how to " + name + " collection: " + coll); } function fulfillsProtocol...
milosh86/transducers.js
transducers.js
JavaScript
bsd-2-clause
20,596
#!/bin/bash set -ev set -o pipefail . Scripts/set-travis-tag-to-latest.sh pod env # Lint the podspec to check for errors. Don't call `pod spec lint`, because we want it to evaluate locally # Using sed to remove logging from output until CocoaPods issue #7577 is implemented and I can use the # OS_ACTIVITY_MODE = di...
abbeycode/UnzipKit
Scripts/cocoapod-validate.sh
Shell
bsd-2-clause
456
class Hdf5 < Formula desc "File format designed to store large amounts of data" homepage "https://www.hdfgroup.org/HDF5" url "https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.12/hdf5-1.12.0/src/hdf5-1.12.0.tar.bz2" sha256 "97906268640a6e9ce0cde703d5a71c9ac3092eded729591279bf2e3ca9765f61" revision 1 bo...
rwhogg/homebrew-core
Formula/hdf5.rb
Ruby
bsd-2-clause
3,016
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <style type="text/css"> @import "css/design.css"; @import "css/controls.css"; </style> <title><?=App::$title; ?></title> </head> <body> <...
the-admax/php-homework-2010
protected/views/layout.php
PHP
bsd-2-clause
1,619
#ifndef SLIDER_HPP_ #define SLIDER_HPP_ #include "Button.hpp" namespace reprize { namespace inf { class Slider : public Button { public: Slider(const Str& name_, const res::Material* bg_, const res::Font* fn_, const Vec3& pad_) : Button(name_, bg_, fn_, pad_) {} Slider(const Slider&...
szk/reprize
interface/widget/Slider.hpp
C++
bsd-2-clause
3,977