repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
yowatana/AliPhysics
PWGLF/SPECTRA/PiKaPr/TOF/pp13/AddTaskTOFMC.C
2141
AliAnalysisTaskTOFMC *AddTaskTOFMC(Int_t nTPC_CR=70, Int_t Chi2_TPCcluser=4, Int_t DCAz=2) { // Creates, configures and attaches to the train a cascades check task. // Get the pointer to the existing analysis manager via the static access method. //=================================================================...
bsd-3-clause
FriedrichK/django-excel-sync
excel_sync/tests/db/models/__init__.py
26
from integration import *
bsd-3-clause
tilhom/myblog_yii2
backend/views/post/view.php
1324
<?php use yii\helpers\Html; use yii\widgets\DetailView; /* @var $this yii\web\View */ /* @var $model common\models\Post */ $this->title = $model->title; $this->params['breadcrumbs'][] = ['label' => 'Posts', 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; ?> <div class="post-view"> <h1><?= Ht...
bsd-3-clause
xe1gyq/OpenAttestation
services/AttestationService/src/main/java/com/intel/mtwilson/as/business/HostBO.java
20989
/* * Copyright (c) 2013, Intel Corporation. * All rights reserved. * * The contents of this file are released under the BSD license, you may not use this file except in compliance with the License. * * Redistribution and use in source and binary forms, with or without modification, are permitted provided that ...
bsd-3-clause
akrylysov/yozuch
tests/test_rstparser.py
3380
import codecs import os import datetime from yozuch.rstparser import RstParser from tests import YozuchTestCase class RstParserTest(YozuchTestCase): def read_file(self, filename): path = os.path.join(self.ROOT_DIR, 'data', filename) with codecs.open(path, 'r', 'utf-8-sig') as f: retur...
bsd-3-clause
vnesek/nmote-smpp
src/main/java/com/nmote/ems/PortAddressingIE.java
2158
/* * Copyright (c) Nmote d.o.o. 2003-2015. All rights reserved. * See LICENSE.txt for licensing information. */ package com.nmote.ems; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import org.apache.commons.lang3.builder.ToStringBuilder; /** * PortAddressingI...
bsd-3-clause
bitcraft/pyglet
contrib/scene2d/tests/scene2d/SPRITE_MODEL.py
2672
#!/usr/bin/env python """Testing the sprite model. This test should just run without failing. """ __docformat__ = 'restructuredtext' __version__ = '$Id$' import unittest from pyglet.window import Window from pyglet.image import SolidColorImagePattern from scene2d import Sprite, Image2d class SpriteModelTest(unit...
bsd-3-clause
cdotstout/sky_engine
shell/platform/android/io/flutter/plugin/platform/PlatformViewsController.java
20508
// Copyright 2013 The Flutter 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 io.flutter.plugin.platform; import static android.view.MotionEvent.PointerCoords; import static android.view.MotionEvent.PointerProperties; impor...
bsd-3-clause
jadb/monohook
src/Monohook.php
2998
<?php /* * This file is part of the Monohook package. * * (c) Jad Bitar <jadbitar@mac.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Monohook; use Monohook\Processor\AbstractProcessor; use Monohook\Provider\Provi...
bsd-3-clause
tangjian60/mi
communal/config/data/company.php
1722
<?php /** * 企业职位设置表单字段map * User: hzc * Date: 2016/3/24 * Time: 17:19 */ return[ 'salary' =>[ 0 =>['min'=> 0,'max'=>99999999], 1 =>['min'=> 0,'max'=>1000], 2 =>['min'=> 1001,'max'=>2000], 3 =>['min'=> 2001,'max'=>3000], 4 =>['min'=> 3001,'max'=>4000], 5 =>['min'=...
bsd-3-clause
fmilano/mitk
Plugins/org.blueberry.ui.qt/src/internal/handlers/berryShowViewHandler.cpp
2929
/*============================================================================ The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center (DKFZ) All rights reserved. Use of this source code is governed by a 3-clause BSD license that can be found in the LICENSE file. =================...
bsd-3-clause
werwolf41/colorshop
backend/views/yii2-app/catalog/product/update.php
547
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model common\models\Product */ $this->title = 'Изменить товар: ' . $model->name; $this->params['breadcrumbs'][] = ['label' => 'Товары', 'url' => ['index']]; $this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->...
bsd-3-clause
mcr/ietfdb
ietf/ipr/new.py
18312
# Copyright The IETF Trust 2007, All Rights Reserved import re import models import ietf.utils from django import forms from datetime import datetime from django.shortcuts import render_to_response as render, get_object_or_404 from django.template import RequestContext from django.http import Http404 from django.conf...
bsd-3-clause
amanzi/ats-dev
src/pks/flow/constitutive_relations/sources/plant_wilting_factor_evaluator.cc
3384
/* The plant wilting factor evaluator is an algebraic evaluator of a given model. Wilting factor. Beta, or the water availability factor, or the plant wilting factor. Beta = (p_closed - p) / (p_closed - p_open) where p is the capillary pressure or soil mafic potential, and closed and open indicate the values at w...
bsd-3-clause
moscrif/ide
Iface/Entities/FindResult.cs
682
using System; using System.Xml; using System.Xml.Serialization; namespace Moscrif.IDE.Iface.Entities { public class FindResult { public FindResult() { } public FindResult(object key, object val) { this.Key=key; this.Value= val; } public FindResult(object key, object val,object...
bsd-3-clause
prnawa/Data.Infrastructure
Data.Infrastructure.EF/Properties/AssemblyInfo.cs
1420
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Da...
bsd-3-clause
google/quiche
common/platform/api/quiche_time_utils_test.cc
2000
// 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. #include "common/platform/api/quiche_time_utils.h" #include "absl/types/optional.h" #include "common/platform/api/quiche_test.h" namespace quiche { name...
bsd-3-clause
ernest21/ConstrcionDeSoftwaresemaforo
direccion.py
63
class Directions: north = 0 south = 1 east = 2 west = 3
bsd-3-clause
fregaham/KiWi
src/action/kiwi/api/pagelink/PageLinkServiceLocal.java
257
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package kiwi.api.pagelink; import javax.ejb.Local; /** * * @author Stefan */ @Local public interface PageLinkServiceLocal extends PageLinkService { }
bsd-3-clause
kendzi/kendzi-math
kendzi-straight-skeleton/src/test/java/kendzi/math/geometry/skeleton/path/FaceQueueUtilTest.java
2688
package kendzi.math.geometry.skeleton.path; import static org.junit.Assert.*; import javax.vecmath.Point2d; import kendzi.math.geometry.skeleton.circular.Edge; import org.junit.Test; public class FaceQueueUtilTest { @Test public void test1() { FaceNode n1 = debugNewQueue("n1", true); FaceN...
bsd-3-clause
michelafrinic/WHOIS
whois-update/src/main/java/net/ripe/db/whois/update/domain/UpdateContext.java
10541
package net.ripe.db.whois.update.domain; import com.google.common.collect.Lists; import com.google.common.collect.Maps; import com.google.common.collect.Sets; import net.ripe.db.whois.common.Message; import net.ripe.db.whois.common.Messages; import net.ripe.db.whois.common.dao.RpslObjectUpdateInfo; import net.ripe.db....
bsd-3-clause
apkbox/nano-rpc
third_party/protobuf-csharp-port/src/src/ProtocolBuffers/MessageStreamWriter.cs
2671
#region Copyright notice and license // Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // http://github.com/jskeet/dotnet-protobufs/ // Original C++/Java/Python code: // http://code.google.com/p/protobuf/ // // Redistribution and use in source and binary forms, w...
bsd-3-clause
godaddy/spree_gateway
spec/models/gateway/braintree_gateway_spec.rb
11127
require 'spec_helper' describe Spree::Gateway::BraintreeGateway do before(:each) do Spree::Gateway.update_all :active => false @gateway = Spree::Gateway::BraintreeGateway.create!(:name => "Braintree Gateway", :environment => "sandbox", :active => true) @gateway.set_preference(:environment, "sandbox" ) ...
bsd-3-clause
mhauskn/HyperNEAT
NE/HyperNEAT/Hypercube_NEAT/src/evaluate.cpp
8590
#include "HCUBE_Defines.h" #include "JGTL_CommandLineParser.h" #ifndef HCUBE_NOGUI # include "HCUBE_MainApp.h" #endif #include "HCUBE_ExperimentRun.h" #include "Experiments/HCUBE_AtariExperiment.h" #include "Experiments/HCUBE_AtariNoGeomExperiment.h" #include "Experiments/HCUBE_AtariFTNeatExperiment.h" #include "Ex...
bsd-3-clause
JaneliaSciComp/Neuroptikon
Source/lib/CrossPlatform/networkx/generators/threshold.py
28878
""" Threshold Graphs - Creation, manipulation and identification. """ __author__ = """Aric Hagberg (hagberg@lanl.gov)\nPieter Swart (swart@lanl.gov)\nDan Schult (dschult@colgate.edu)""" # Copyright (C) 2004-2008 by # Aric Hagberg <hagberg@lanl.gov> # Dan Schult <dschult@colgate.edu> # Pieter Swart <swart@l...
bsd-3-clause
gamersmafia/gamersmafia
test/unit/notification_test.rb
1313
require 'test_helper' class NotificationTest < ActiveSupport::TestCase def create_notification notif = @u1.notifications.new({ :description => "Fulanito te manda un beso", :type_id => Notification::UNDEFINED, }) assert_difference("@u1.notifications.count") do notif.save end ...
bsd-3-clause
duke-libraries/ddr-models
spec/routing/user_routing_spec.rb
1074
RSpec.describe "users router", type: :routing do it "should have a new session route" do expect(get: '/users/sign_in').to route_to(controller: 'users/sessions', action: 'new') end it "should have a new session path helper" do expect(get: new_user_session_path).to route_to(controller: 'users/sessions', act...
bsd-3-clause
lokik/sfepy
sfepy/homogenization/coefficients.py
11023
from __future__ import absolute_import import numpy as nm from sfepy.base.base import ordered_iteritems, Struct, basestr from sfepy.base.ioutils import read_dict_hdf5, write_dict_hdf5 from sfepy.homogenization.utils import iter_sym import six from six.moves import range def coef_arrays_to_dicts(idict, format='%s/%d')...
bsd-3-clause
NCIP/lexevs-grid
LexEVSAnalyiticalService/test/src/gov/nih/nci/AllTests.java
781
/* * Copyright: (c) Mayo Foundation for Medical Education and * Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the * triple-shield Mayo logo are trademarks and service marks of MFMER. * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.com/lexevs-grid/LICENSE.txt f...
bsd-3-clause
cybyd/cybyd
language/bangla/lang_torrents.php
1828
<?php $language['TORRENT_SEARCH']='টরেন্ট খুঁজুন'; $language['TORRENT_STATUS']='বর্তমান অবস্তা'; $language['CATEGORY_FULL']='বিষয়'; $language['ALL']='সকল টরেন্ট'; $language['ACTIVE_ONLY']='সচল টরেন্ট'; $language['DEAD_ONLY']='অচল টরেন্ট'; $language['SEARCH']='খুঁজুন'; $language['CATEGORY']='বিষয়.'; $language['...
bsd-3-clause
preprocessed-connectomes-project/quality-assessment-protocol
scripts/qap_jsons_to_csv.py
1826
#!/usr/bin/env python def main(): import os import argparse from qap.script_utils import gather_json_info, json_to_csv from qap.qap_utils import raise_smart_exception parser = argparse.ArgumentParser() parser.add_argument("output_dir", type=str, help="the main output ...
bsd-3-clause
zfegg/apigility-lab
module/ZfeggAdmin/config/documentation.config.php
225
<?php return array( 'ZfeggAdmin\\V1\\Rest\\Resources\\Controller' => array( 'description' => '资源Restful', 'collection' => array( 'description' => '资源 Conllection', ), ), );
bsd-3-clause
3Seventy/vector370-dotnet
Examples/Common/CallbackReceiver/Areas/HelpPage/ModelDescriptions/EnumTypeModelDescription.cs
495
using System.Collections.Generic; using System.Collections.ObjectModel; namespace CallbackReceiver.Areas.HelpPage.ModelDescriptions { /// <summary /> public class EnumTypeModelDescription : ModelDescription { /// <summary /> public EnumTypeModelDescription() { ...
bsd-3-clause
nikdoof/test-auth
app/sso/migrations/0003_auto__add_ssousernote.py
6427
# encoding: 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): # Adding model 'SSOUserNote' db.create_table('sso_ssousernote', ( ('id', self.gf('django.db.mo...
bsd-3-clause
keybase/client
go/client/cmd_simplefs_stat.go
4321
// Copyright 2015 Keybase, Inc. All rights reserved. Use of // this source code is governed by the included BSD license. package client import ( "errors" "fmt" "golang.org/x/net/context" "github.com/keybase/cli" "github.com/keybase/client/go/libcmdline" "github.com/keybase/client/go/libkb" keybase1 "github.c...
bsd-3-clause
endlessm/chromium-browser
chrome/android/junit/src/org/chromium/chrome/browser/compositor/overlays/strip/StripLayoutHelperTest.java
7977
// Copyright 2016 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.chrome.browser.compositor.overlays.strip; import static org.junit.Assert.assertEquals; import static org.mockito.Mockito.mock; impor...
bsd-3-clause
jupyter/jupyterlab
packages/mainmenu/test/util.ts
1821
// Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. import { IMenuExtender } from '@jupyterlab/mainmenu'; import { Widget } from '@lumino/widgets'; /** * Given a widget and a set containing IMenuExtenders, * check the tracker and return the extender, if any, * tha...
bsd-3-clause
JianpingZeng/xcc
xcc/test/juliet/testcases/CWE563_Unused_Variable/main.cpp
160197
/* NOTE - eventually this file will be automatically updated using a Perl script that understand * the naming of test case files, functions, and namespaces. */ #include <time.h> /* for time() */ #include <stdlib.h> /* for srand() */ #include "std_testcase.h" #include "testcases.h" int main(int argc, ch...
bsd-3-clause
Letargie/pggi
examples/cairo/lineJoin.php
720
<?php namespace PGGI\Cairo; chdir(__DIR__); $surface = new ImageSurface(ImageSurface::FORMAT_ARGB32, 300, 300); $context = new Context($surface); $context->lineWidth = 40.96; $context->moveTo(76.8, 84.48) ->relLineTo(51.2, -51.2) ->relLineTo(51.2, 51.2) ->lineJoin = Context::LINE_JOIN_MITER...
bsd-3-clause
NCIP/edct-analytics
lib/yuicompressor-2.4.6/src/org/mozilla/javascript/TokenStream.java
49640
/*L * Copyright HealthCare IT, Inc. * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.com/edct-analytics/LICENSE.txt for details. */ /* ***** BEGIN LICENSE BLOCK ***** * * Version: MPL 1.1 * * The contents of this file are subject to the Mozilla Public License ...
bsd-3-clause
PolymerLabs/arcs-live
concrete-storage/node_modules/pouchdb-binary-utils/lib/index.es.js
3075
import bufferFrom from 'buffer-from'; function thisAtob(str) { var base64 = new Buffer(str, 'base64'); // Node.js will just skip the characters it can't decode instead of // throwing an exception if (base64.toString('base64') !== str) { throw new Error("attachment is not a valid base64 string"); } retu...
bsd-3-clause
01vadim10/slot_automat
socketserver/lib/module/game.php
3911
<?php class ModuleGame extends Errors{ /** * @var gameServerClient */ private $_client; /** * @var SlotSlot */ private $_game = null; private $_lines_count; private $_bet; private $_denomination; // private $_dual_rate = false; private $_won = null; private $_bonus_won = null; public functio...
bsd-3-clause
nickschot/jmonkeyengine
jme3-core/src/main/java/com/jme3/renderer/RenderManager.java
41489
/* * Copyright (c) 2009-2012 jMonkeyEngine * 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...
bsd-3-clause
amyvmiwei/skia
src/effects/SkAlphaThresholdFilter.cpp
15533
/* * Copyright 2013 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "SkAlphaThresholdFilter.h" #include "SkBitmap.h" #include "SkReadBuffer.h" #include "SkWriteBuffer.h" #include "SkRegion.h" class SK_API SkAlphaThresholdFilterImpl :...
bsd-3-clause
wrboyce/py-gtranslate
gtrans.py
1626
import re import urllib import simplejson as json class UrlOpener(urllib.FancyURLopener): version = "py-gtranslate/1.0" class InvalidLanguage(Exception): pass class UnableToDetectLanguage(Exception): pass base_uri = "http://ajax.googleapis.com/ajax/services/language/translate" detect_uri = "http://ajax.googleapis...
bsd-3-clause
getdnsapi/getdns-java-bindings
src/test/java/com/verisign/getdns/asyncwithcallback/test/GeneralASyncWithCallbackTest.java
5276
package com.verisign.getdns.asyncwithcallback.test; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.fail; import java.util.HashMap; import java.util.concurrent.ExecutionException; import java.util.concurrent.TimeoutException; import org.junit.Rule; import org.junit.Test; import org.junit...
bsd-3-clause
nwjs/chromium.src
chrome/browser/extensions/api/enterprise_reporting_private/enterprise_reporting_private_unittest.cc
41970
// 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 <tuple> #include "base/files/file_util.h" #include "chrome/browser/browser_process.h" #include "chrome/browser/enterprise/signals/device_info_fe...
bsd-3-clause
suzlab/Autoware
ros/src/computing/planning/common/lib/openplanner/op_simu/src/glm.cpp
67057
/* glm.c Nate Robins, 1997, 2000 nate@pobox.com, http://www.pobox.com/~nate Wavefront OBJ model file format reader/writer/manipulator. Includes routines for generating smooth normals with preservation of edges, welding redundant vertices & texture coordinate generation (...
bsd-3-clause
tbjohns/BlitzML
test/cpp/test_dataset.cpp
6241
#include "catch.hpp" #include <blitzml/base/common.h> #include <blitzml/dataset/sparse_dataset.h> #include <blitzml/dataset/dense_dataset.h> #include <blitzml/dataset/sparse_binary_dataset.h> using std::vector; using namespace BlitzML; TEST_CASE( "test_sparse_dataset", "[dataset]" ) { vector<index_t> indices; v...
bsd-3-clause
rawjam/dj-stripe
djstripe/models.py
36799
""" Beging porting from django-stripe-payments """ from __future__ import unicode_literals import datetime import decimal import json import traceback from django.conf import settings from django.core.mail import EmailMessage from django.db import models from django.utils import timezone from django.template.loader im...
bsd-3-clause
lm-tools/situational
situational/apps/travel_report/tests/test_feature.py
1052
from django.core.urlresolvers import reverse from django.core import mail from splinter import Browser from situational.testing import BaseCase class TestTravelReport(BaseCase): def test_happy_path(self): with Browser("django") as b: b.visit(reverse("travel_report:start")) b.fill...
bsd-3-clause
corner82/codebase
public/jsinline/admin_aclroleprivilege.js
35612
$(document).ready(function () { /** * easyui tree extend for 'unselect' event * @author Mustafa Zeynel Dağlı * @since 04/04/2016 */ $.extend($.fn.tree.methods,{ unselect:function(jq,target){ return jq.each(function(){ var opts = $(this).tree('options'); $(target).removeClass('tr...
bsd-3-clause
nwjs/chromium.src
third_party/blink/renderer/core/paint/cull_rect_updater_test.cc
2756
// Copyright 2021 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/core/paint/cull_rect_updater.h" #include "testing/gtest/include/gtest/gtest.h" #include "third_party/blink/renderer/...
bsd-3-clause
antonioribeiro/glottos
src/Repositories/Locales/Language.php
1048
<?php namespace PragmaRX\Glottos\Repositories\Locales; /** * Part of the Glottos package. * * NOTICE OF LICENSE * * Licensed under the 3-clause BSD License. * * This source file is subject to the 3-clause BSD License that is * bundled with this package in the LICENSE file. It is also available at * the follow...
bsd-3-clause
keishi/chromium
chrome/browser/ui/views/ash/balloon_view_ash.cc
5859
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/ui/views/ash/balloon_view_ash.h" #include "ash/shell.h" #include "ash/system/status_area_widget.h" #include "ash/system/web_...
bsd-3-clause
mtaki/BongoERP
modules/setting/views/aplpo/create.php
1431
<?php use yii\helpers\Html; ?> <div class="contentpanel"> <!--\\\\\\\ contentpanel start\\\\\\--> <div class="pull-left breadcrumb_admin clear_both"> <div class="pull-left page_title theme_color"> <h1>Setting</h1> <h2 class="">ap-lpo</h2> </div> <div class="pull...
bsd-3-clause
danakj/chromium
components/data_reduction_proxy/core/common/data_reduction_proxy_event_store.cc
8880
// 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 "components/data_reduction_proxy/core/common/data_reduction_proxy_event_store.h" #include <stddef.h> #include <stdint.h> #include <utility> #inc...
bsd-3-clause
cychenyin/postmill
tests/testlynx.js
1417
#!/bin/env node var lynx = require('lynx'); var opt = {}; // opt.prefix = 'myPrefix'; var metrics = new lynx('localhost', 8125, opt); // StatsD IP & Port metrics.gauge('test.backend.lynx.gauge', 300); // Send our first metric metrics.increment('test.backend.lynx.inc', 1, 0.1); metrics.increment('test.backend....
bsd-3-clause
cloud-mes/cloud-mes
core/app/models/mes/order_type.rb
56
module Mes class OrderType < Mes::NamedType end end
bsd-3-clause
adminion/adminion
lib/transport/realtime/games.js
8121
// node core modules var url = require('url'), util = require('util'); // 3rd-party modules var debug = require('debug')('adminion:transport:realtime:games'), mongoose = require('mongoose'), passportSocketio = require('passport.socketio'); module.exports = function gamesNsp (io, data, authOptions) { ...
bsd-3-clause
LeonidLyalin/vova
common/humhub/protected/humhub/modules/admin/messages/tr/base.php
817
<?php return array ( 'About' => 'Hakkımda', 'Add purchased module by licence key' => 'Satın alınan lisans anahtarı ile modül ekle', 'Admin' => 'Yönetici', 'Administration' => 'Yönetim', 'Approval' => 'Onay', 'Authentication' => 'Kimlik doğrulama', 'Basic' => 'Temel', 'Caching' => 'Ön bellekleme', 'Cro...
bsd-3-clause
endlessm/chromium-browser
third_party/webrtc/video/video_send_stream_impl_unittest.cc
41668
/* * Copyright 2018 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 contributing ...
bsd-3-clause
chromium2014/src
chrome/browser/guest_view/web_view/web_view_permission_helper.cc
21950
// 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 "chrome/browser/guest_view/web_view/web_view_permission_helper.h" #include "chrome/browser/content_settings/tab_specific_content_settings.h" #in...
bsd-3-clause
Dench/resistor
common/models/OfferItem.php
2482
<?php namespace common\models; use Yii; use yii\db\ActiveRecord; use yii\helpers\FileHelper; /** * This is the model class for table "offer_item". * * @property integer $id * @property integer $group_id * @property string $name * @property string $text * * @property Offer $group * @property OfferPhoto $phot...
bsd-3-clause
LukasBanana/ForkENGINE
sources/Physics/Engine/Newton/NwWorld.cpp
7584
/* * Newton physics world file * * This file is part of the "ForkENGINE" (Copyright (c) 2014 by Lukas Hermanns) * See "LICENSE.txt" for license information. */ #include "NwWorld.h" #include "NwMaterial.h" #include "NwCollider.h" #include "Dynamic/NwRigidBody.h" #include "Dynamic/NwStaticBody.h" #include "Core/E...
bsd-3-clause
mycrazydream/bra
framework/filesystem/GD.php
12148
<?php /** * A wrapper class for GD-based images, with lots of manipulation functions. * @package framework * @subpackage filesystem */ class GD extends Object { protected $gd, $width, $height; protected $quality; protected static $default_quality = 75; /** * Set the default image quality. * @param qualit...
bsd-3-clause
wernedres/m2smart-zend
module/M2smart/src/M2smart/View/Helper/UserIdentity.php
735
<?php namespace M2smart\View\Helper; use Zend\View\Helper\AbstractHelper; use Zend\Authentication\AuthenticationService, Zend\Authentication\Storage\Session as SessionStorage; class UserIdentity extends AbstractHelper { protected $authService; public function getAuthService() { return $this->au...
bsd-3-clause
davidfang/MySKD
console/migrations/m160128_080101_post.php
3786
<?php use yii\db\Schema; class m160128_080101_post extends \yii\db\Migration { public function up() { $tableOptions = null; if ($this->db->driverName === 'mysql') { $tableOptions = 'CHARACTER SET utf8 COLLATE utf8_general_ci ENGINE=InnoDB'; } $this->createT...
bsd-3-clause
endlessm/chromium-browser
chrome/browser/download/download_test_file_activity_observer.cc
3385
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/download/download_test_file_activity_observer.h" #include <utility> #include "base/bind.h" #include "base/location.h" #incl...
bsd-3-clause
NCIP/geneconnect
Coding and Testing/GeneConnectWeb/WEB-INF/src/edu/wustl/geneconnect/bizlogic/ValidationResultData.java
1096
/*L * Copyright Washington University at St. Louis * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.com/geneconnect/LICENSE.txt for details. */ /** *<p>ClassName: java edu.wustl.geneconnect.bizlogic.ValidationResultData</p> */ package edu.wustl.geneconnect.bizlo...
bsd-3-clause
rafadev/django-maintenancemode
maintenancemode/middleware.py
1822
from django.conf import settings from django.template import RequestContext from maintenancemode.http import Http503 from maintenancemode.shortcuts import render_to_503 from maintenancemode.conf.settings import MAINTENANCE_MODE import re HAS_LANG_PREFIX_RE = re.compile(r"^/(%s)/.*" % "|".join(map(lambda l: re.escape(l...
bsd-3-clause
alexsegura/Oops
library/Oops/Db/ConfigurationTableMap.php
1659
<?php /** * This class defines the structure of the 'configuration' table. * * * * This map class is used by Propel to do runtime db structure discovery. * For example, the createSelectSql() method checks the type of a given column used in an * ORDER BY clause to know whether it needs to apply SQL to make the...
bsd-3-clause
openmetaversefoundation/simiangrid
GridFrontend/application/libraries/SimianGrid.php
15961
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); class SimianGrid { var $_user_cache; function SimianGrid() { $this->ci =& get_instance(); $this->_user_cache = array(); log_message('debug', 'SimianGridClient Initialized'); ...
bsd-3-clause
350dotorg/aktlet
standalone_django_project/required_environ.py
1890
DJANGO_DEBUG = "1" DJANGO_DEBUG_TOOLBAR = "1" SITE_NAME = "My Organization" SECRET_KEY = "secret!" ACTIONKIT_DATABASE_NAME = "ak_yourclientdbname" ACTIONKIT_DATABASE_USER = "username" ACTIONKIT_DATABASE_PASSWORD = "password" ACTIONKIT_API_HOST = "act.example.com" ACTIONKIT_API_USER = "api_username" ACTIONKIT_API_P...
bsd-3-clause
dCache/CDMI
cdmi-core/src/main/java/org/snia/cdmiserver/dao/CapabilityDaoImpl.java
8117
/* * Copyright (c) 2010, Sun Microsystems, Inc. * Copyright (c) 2010, The Storage Networking Industry Association. * * 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 ...
bsd-3-clause
simphony/simphony-remote
remoteappmanager/tests/utils.py
3082
import contextlib import sys from tornado import gen from remoteappmanager.command_line_config import CommandLineConfig from remoteappmanager.file_config import FileConfig from remoteappmanager.environment_config import EnvironmentConfig from remoteappmanager.db.orm import Database from remoteappmanager.tests import ...
bsd-3-clause
CyEy/CyberEyes
CyberEyes/CyberEyes/IFileHelper.cs
319
using System; using System.Collections.Generic; using Xamarin.Forms; namespace CyberEyes { public interface IFileHelper { bool Exists(string filename); void WriteText(string filename, string text); string ReadText(string filename); IEnumerable<string> GetFiles(); void Delete(string filename); } }
bsd-3-clause
healthchecks/healthchecks
hc/api/tests/test_get_badges.py
1425
from datetime import timedelta as td from hc.api.models import Check from hc.test import BaseTestCase class GetBadgesTestCase(BaseTestCase): def setUp(self): super().setUp() self.a1 = Check(project=self.project, name="Alice 1") self.a1.timeout = td(seconds=3600) self.a1.grace = t...
bsd-3-clause
stepancher/yii2-content-module
assets/js/content.js
3789
/** * Created by mkv on 10.07.15. */ $(document).ready(function () { /** * Групповые действия с элементами */ $('a.btn-multiple').on('click', function () { if(confirm('Вы действительно хотите выполнить это действие?')) { var obj = $(this); var url = document.locatio...
bsd-3-clause
koparasy/faultinjection-gem5
configs/example/memtest.py
7177
# Copyright (c) 2006-2007 The Regents of The University of Michigan # 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 ...
bsd-3-clause
soothion/wxy
protected/controllers/LoginController.php
2334
<?php class LoginController extends Controller{ public function actionIndex(){ $user = Yii::app()->user; if(!$user->isGuest){ $domain = 'http://'.$_SERVER['SERVER_NAME']; $redirect_uri = $domain.$this->createUrl('/login/wechat'); $appid = 'wxf7b2f9f903f9aa2b'; ...
bsd-3-clause
pmeisen/dis-timeintervaldataanalyzer
src/net/meisen/dissertation/exceptions/GroupEvaluatorException.java
938
package net.meisen.dissertation.exceptions; /** * Exception thrown whenever a problem with {@code GroupEvaluator} occurs. * * @author pmeisen * */ public class GroupEvaluatorException extends RuntimeException { private static final long serialVersionUID = -4516087108710395650L; /** * Creates an exception w...
bsd-3-clause
NUBIC/psc-mirror
domain/src/main/java/edu/northwestern/bioinformatics/studycalendar/domain/delta/PropertyChange.java
5487
package edu.northwestern.bioinformatics.studycalendar.domain.delta; import edu.northwestern.bioinformatics.studycalendar.domain.NaturallyKeyed; import edu.northwestern.bioinformatics.studycalendar.domain.UniquelyKeyed; import edu.northwestern.bioinformatics.studycalendar.domain.tools.Differences; import gov.nih.nci.ca...
bsd-3-clause
mrdon/SAL
sal-api/src/main/java/com/atlassian/sal/api/net/Request.java
7662
package com.atlassian.sal.api.net; import com.atlassian.sal.api.net.auth.Authenticator; import java.util.List; import java.util.Map; /** * Interface Request represents a request to retrieve data. To execute a request call {@link Request#execute(ResponseHandler)}. * * @param <T> the type of request used for method...
bsd-3-clause
eehlers/QuantLibAddin
qlo/enumerations/constructors/enumeratedclasses.cpp
26144
/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Copyright (C) 2007, 2008 Ferdinando Ametrano Copyright (C) 2006 Marco Bianchetti Copyright (C) 2006, 2007 Eric Ehlers Copyright (C) 2006 Giorgio Facchinetti Copyright (C) 2006 Chiara Fornarola Copyright (C) 2007 Katiuscia Manzoni ...
bsd-3-clause
datagr4m/org.datagr4m
datagr4m-drawing/src/main/java/org/datagr4m/drawing/model/items/hierarchical/pair/HierarchicalPairModel.java
3662
package org.datagr4m.drawing.model.items.hierarchical.pair; import java.awt.geom.CubicCurve2D; import java.util.ArrayList; import java.util.Collection; import java.util.List; import org.datagr4m.drawing.model.items.IBoundedItem; import org.datagr4m.drawing.model.items.hierarchical.AbstractHierarchicalModel; import or...
bsd-3-clause
bg0jr/Maui
src/Dynamics/Maui.Dynamics/Data/ServiceProviderExtensions.cs
681
using System.Linq; using Maui; namespace Maui.Dynamics.Data { public static class ServiceProviderExtensions { public static ScriptingInterface TomScripting( this ServiceProvider serviceProvider ) { if ( !serviceProvider.RegisteredServices.Contains( typeof( ScriptingInterfa...
bsd-3-clause
JianpingZeng/xcc
xcc/test/juliet/testcases/CWE762_Mismatched_Memory_Management_Routines/s06/CWE762_Mismatched_Memory_Management_Routines__new_array_free_wchar_t_04.cpp
5097
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE762_Mismatched_Memory_Management_Routines__new_array_free_wchar_t_04.cpp Label Definition File: CWE762_Mismatched_Memory_Management_Routines__new_array_free.label.xml Template File: sources-sinks-04.tmpl.cpp */ /* * @description * CWE: 762 Mismatched Memory Mana...
bsd-3-clause
yuttapong/webapp
backend/modules/qtn/views/questionnaire/view.php
1051
<?php use yii\helpers\Html; use yii\widgets\DetailView; /* @var $this yii\web\View */ /* @var $model backend\modules\qtn\models\Questionnaire */ $this->title = $model->name; $this->params['breadcrumbs'][] = ['label' => 'Questionnaires', 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; ?> <div clas...
bsd-3-clause
petablox-project/petablox
src/petablox/analyses/point/RelPM.java
1303
package petablox.analyses.point; import soot.SootMethod; import soot.Unit; import soot.toolkits.graph.Block; import java.util.Iterator; import petablox.analyses.method.DomM; import petablox.analyses.point.DomP; import petablox.program.Program; import petablox.project.Petablox; import petablox.project.analyses.Progra...
bsd-3-clause
pg-irc/pathways-frontend
src/stores/topics/index.ts
1224
import { TopicStore, LoadingTopicStore, InValidTopicStore } from './stores'; import { buildTasksFixture } from '../../fixtures/buildFixtures'; import { TopicAction } from './actions'; import { reduceLoadingStore } from './reduce_loading_store'; import { reduceInvalidStore } from './reduce_invalid_store'; import { reduc...
bsd-3-clause
aino/aino-convert
convert/fields.py
1553
from django.core.exceptions import ValidationError from django.db import models from django.utils.encoding import force_unicode from base import MediaFile class South(object): """ Just a south introspection Mixin """ def south_field_triple(self): from south.modelsinspector import in...
bsd-3-clause
endlessm/chromium-browser
chrome/browser/ssl/connection_help_tab_helper_browsertest.cc
6556
// 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 "base/strings/utf_string_conversions.h" #include "base/test/scoped_feature_list.h" #include "chrome/browser/ssl/connection_help_tab_helper.h" #in...
bsd-3-clause
toggl/bugsnag-xamarin
Bugsnag.iOS/Json/OrientationConverter.cs
2162
using System; using UIKit; using Newtonsoft.Json; namespace Bugsnag.Json { internal class OrientationConverter : JsonConverter { public override void WriteJson (JsonWriter writer, object value, JsonSerializer serializer) { switch ((UIDeviceOrientation)value) { case UIDev...
bsd-3-clause
jlazio/rtpipe
rtlib/setup.py
340
from distutils.core import setup from distutils.extension import Extension from Cython.Distutils import build_ext import numpy ext_modules = [Extension("rtlib_cython", ["rtlib_cython.pyx"], include_dirs=[numpy.get_include()])] setup( name = 'rtlib_cython app', cmdclass = {'build_ext': build_ext}, ext_modu...
bsd-3-clause
vanadium/intellij-vdl-plugin
src/io/v/vdl/psi/VdlTypeStub.java
674
// Copyright 2015 The Vanadium 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 io.v.vdl.psi; import com.intellij.psi.stubs.IStubElementType; import com.intellij.psi.stubs.StubElement; import com.intellij.util.io.StringRef; ...
bsd-3-clause
meghana0507/grpc-java-poll
netty/src/main/java/io/grpc/transport/netty/NettyClientTransportFactory.java
2961
/* * Copyright 2014, Google Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of cond...
bsd-3-clause
lpsinger/flask-twilio
example.py
4894
#!/usr/bin/env python """ Demo Flask-Twilio application """ import os import socket from flask import flash, Flask, render_template, request from flask_twilio import Twilio, Response from twilio.base.exceptions import TwilioRestException from twilio.twiml.messaging_response import Message from twilio.twiml.voice_resp...
bsd-3-clause
tmatt95/cinyWeb
www/protected/modules/admin/controllers/IndexController.php
2116
<?php class IndexController extends Controller { /** * Having a main menu at the top of the page can be confusing for the user * when they are navigating around the admin panel. * * If you would like to use the menu in a controller action, then override * it with "$this->layout = true" to turn it back on a...
bsd-3-clause
pongad/api-client-staging
generated/java/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteContextRequestOrBuilder.java
1738
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dialogflow/v2beta1/context.proto package com.google.cloud.dialogflow.v2beta1; public interface DeleteContextRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.v2beta1.DeleteContextReques...
bsd-3-clause