code
stringlengths
3
1.05M
repo_name
stringlengths
4
116
path
stringlengths
4
991
language
stringclasses
9 values
license
stringclasses
15 values
size
int32
3
1.05M
// Copyright 2014 Samsung Electronics Co., Ltd. // // 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 la...
tilmannOSG/jerryscript
tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-010.js
JavaScript
apache-2.0
653
/** @file A brief file description @section license License Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you und...
rahmalik/trafficserver
iocore/eventsystem/UnixEThread.cc
C++
apache-2.0
9,183
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may...
shakamunyi/mesos
src/log/tool/benchmark.cpp
C++
apache-2.0
7,142
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. namespac...
SiddharthChatrolaMs/azure-sdk-for-net
src/SDKs/Automation/Management.Automation/Generated/Models/ConnectionTypeAssociationProperty.cs
C#
apache-2.0
1,705
/* Copyright 2007 Brian Tanner brian@tannerpages.com http://brian.tannerpages.com 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 appl...
cosmoharrigan/rl-viz
projects/rlVizLibJava/src/rlVizLib/visualization/AgentOnValueFunctionVizComponent.java
Java
apache-2.0
3,132
package junit.runner; /** * This class defines the current version of JUnit */ public class Version { private Version() { // don't instantiate } public static String id() { return "4.12"; } public static void main(String[] args) { System.out.println(id()); } }
tascape/th-junit4
src/main/java/junit/runner/Version.java
Java
apache-2.0
279
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/importexport/model/GetStatusResult.h> #include <aws/core/utils/xml/XmlSerializer.h> #include <aws/core/AmazonWebServiceResult.h> #include <aws/core/utils/StringUtils.h> #include <aws/cor...
jt70471/aws-sdk-cpp
aws-cpp-sdk-importexport/source/model/GetStatusResult.cpp
C++
apache-2.0
5,140
/* * Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
rafd123/aws-sdk-net
sdk/src/Services/S3/Custom/Model/Internal/MarshallTransformations/PutACLRequestMarshaller.cs
C#
apache-2.0
8,804
/* * Copyright 2014 The Netty Project * * The Netty Project licenses this file to you 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 re...
nat2013/netty
codec-http2/src/main/java/io/netty/handler/codec/http2/Http2Connection.java
Java
apache-2.0
10,653
/* * Copyright 2000-2009 JetBrains s.r.o. * * 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 agre...
diorcety/intellij-community
platform/util/src/com/intellij/util/io/IOUtil.java
Java
apache-2.0
7,277
/* Copyright 2006 Jerry Huxtable 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 agreed to in writing, software d...
svn2github/pixels
src/main/java/com/jhlabs/image/BlockFilter.java
Java
apache-2.0
3,064
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
Distrotech/fop
src/java/org/apache/fop/pdf/PDFName.java
Java
apache-2.0
3,799
package gov.hhs.onc.sdcct.ws.impl; import gov.hhs.onc.sdcct.logging.impl.TxTaskExecutor; import org.apache.cxf.endpoint.DeferredConduitSelector; public class SdcctConduitSelector extends DeferredConduitSelector { private TxTaskExecutor taskExec; public SdcctConduitSelector(TxTaskExecutor taskExec) { ...
elizabethso/sdcct
sdcct-core/src/main/java/gov/hhs/onc/sdcct/ws/impl/SdcctConduitSelector.java
Java
apache-2.0
455
// // CipherReference.cs - CipherReference implementation for XML Encryption // http://www.w3.org/2001/04/xmlenc#sec-CipherReference // // Author: // Tim Coleman (tim@timcoleman.com) // // Copyright (C) Tim Coleman, 2004 // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this...
symplified/Symplified.Auth
lib/mono/mcs/class/System.Security/System.Security.Cryptography.Xml/CipherReference.cs
C#
apache-2.0
2,802
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
apache/curator
curator-x-async/src/main/java/org/apache/curator/x/async/modeled/details/ModelStage.java
Java
apache-2.0
5,444
<?php /** * Copyright 2016 Google Inc. All Rights Reserved. * * 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...
googleapis/google-cloud-php-storage
tests/System/ManageBucketsTest.php
PHP
apache-2.0
9,520
// Copyright (c) 2008 The Board of Trustees of The Leland Stanford Junior University // Copyright (c) 2011, 2012 Open Networking Foundation // Copyright (c) 2012, 2013 Big Switch Networks, Inc. // This library was generated by the LoxiGen Compiler. // See the file LICENSE.txt which should have been included in the sour...
floodlight/loxigen-artifacts
openflowj/gen-src/main/java/org/projectfloodlight/openflow/protocol/ver15/OFGroupModVer15.java
Java
apache-2.0
3,873
/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2019 Serge Rider (serge@jkiss.org) * * 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/license...
liuyuanyuan/dbeaver
plugins/org.jkiss.dbeaver.model/src/org/jkiss/dbeaver/registry/formatter/DataFormatterProfile.java
Java
apache-2.0
8,702
package com.planet_ink.coffee_mud.Races; import com.planet_ink.coffee_mud.core.interfaces.*; import com.planet_ink.coffee_mud.core.*; import com.planet_ink.coffee_mud.core.collections.*; import com.planet_ink.coffee_mud.Abilities.interfaces.*; import com.planet_ink.coffee_mud.Areas.interfaces.*; import com.planet...
MaxRau/CoffeeMud
com/planet_ink/coffee_mud/Races/GiantAmphibian.java
Java
apache-2.0
2,689
class Catalog::PlatformsController < Base::PlatformsController before_filter :find_catalog_and_platform def index @platforms = Cms::Relation.all(:params => {:ciId => @catalog.ciId, :direction => 'from', ...
subaan/display
app/controllers/catalog/platforms_controller.rb
Ruby
apache-2.0
991
package com.mesosphere.sdk.specification.yaml; import com.fasterxml.jackson.annotation.JsonProperty; /** * Raw YAML port. */ public class RawPort { private final Integer port; private final String envKey; private final RawVip vip; private RawPort( @JsonProperty("port") Integer port, ...
adragomir/dcos-commons
sdk/scheduler/src/main/java/com/mesosphere/sdk/specification/yaml/RawPort.java
Java
apache-2.0
682
// Package customimagesearch implements the Azure ARM Customimagesearch service API version 1.0. // // The Bing Custom Image Search API lets you send an image search query to Bing and get back image search results // customized to meet your custom search definition. package customimagesearch // Copyright (c) Microsoft...
linzhaoming/origin
vendor/github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v1.0/customimagesearch/client.go
GO
apache-2.0
1,734
"""Tests for fan platforms.""" import pytest from homeassistant.components.fan import FanEntity class BaseFan(FanEntity): """Implementation of the abstract FanEntity.""" def __init__(self): """Initialize the fan.""" def test_fanentity(): """Test fan entity methods.""" fan = BaseFan() ...
tboyce021/home-assistant
tests/components/fan/test_init.py
Python
apache-2.0
781
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
leafclick/intellij-community
plugins/textmate/lib/bundles/git/src/statusbar.ts
TypeScript
apache-2.0
5,303
/* * Licensed to the Apache Software Foundation (ASF) under one or more contributor license * agreements. See the NOTICE file distributed with this work for additional information regarding * copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the * "License"); you may not ...
charliemblack/geode
geode-core/src/test/java/org/apache/geode/distributed/LocatorLauncherIntegrationTestCase.java
Java
apache-2.0
5,865
/* 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 agreed to in writing, software * distribut...
roberthafner/flowable-engine
modules/flowable5-engine/src/main/java/org/activiti5/engine/impl/json/JsonObjectConverter.java
Java
apache-2.0
1,184
/** * Copyright 2012 Comcast Corporation * * 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 applicabl...
KrithikaGanesh/cmb
src/com/comcast/cns/controller/CNSRawMessageDeliveryPolicyPage.java
Java
apache-2.0
5,387
package org.apereo.cas.ticket; import org.apereo.cas.support.oauth.OAuth20Constants; import org.apereo.cas.support.oauth.services.OAuthRegisteredService; import org.apereo.cas.token.JwtBuilder; import org.apereo.cas.util.EncodingUtils; import com.nimbusds.jwt.JWTClaimsSet; import lombok.AccessLevel; import lombok.Get...
fogbeam/cas_mirror
support/cas-server-support-oauth-core-api/src/main/java/org/apereo/cas/ticket/BaseTokenSigningAndEncryptionService.java
Java
apache-2.0
5,013
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
chenc10/Spark-PAF
examples/src/main/java/org/apache/spark/examples/ml/JavaPolynomialExpansionExample.java
Java
apache-2.0
2,545
/* * Copyright (c) 2010-2015 Pivotal Software, Inc. All rights reserved. * * 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 req...
papicella/snappy-store
tests/core/src/main/java/versioning/newWan/WANConflictResolver.java
Java
apache-2.0
2,212
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
lukecwik/incubator-beam
sdks/java/io/kinesis/src/main/java/org/apache/beam/sdk/io/kinesis/BasicKinesisProvider.java
Java
apache-2.0
4,391
<?php /** * Created by IntelliJ IDEA. * User: Nikolay Chervyakov * Date: 02.12.2014 * Time: 18:21 */ namespace VulnModule\Vulnerability; use VulnModule\Vulnerability; /** * Class SQL * @package VulnModule\Vulnerability * @Vuln\Vulnerability(name="Cross-site request forgery", "A type of ma...
AdrienKuhn/hackazon
modules/vulninjection/classes/VulnModule/Vulnerability/CSRF.php
PHP
apache-2.0
695
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License")...
Qi4j/qi4j-sdk
core/api/src/main/java/org/apache/polygene/api/service/qualifier/Available.java
Java
apache-2.0
1,786
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.michelboudreau.test; import com.amazonaws.services.dynamodb.datamodeling.DynamoDBAttribute; import com.amazonaws.services.dynamodb.datamodeling.DynamoDBHashKey; import com.amazonaws.services.dynamodb.datamod...
mboudreau/Alternator
src/test/java/com/michelboudreau/test/TestClassWithHashRangeKey.java
Java
apache-2.0
1,515
package socialite.collection; import gnu.trove.map.hash.TLongIntHashMap; public class SLongIntHashMap extends TLongIntHashMap { long prevKey; int prevVal; public SLongIntHashMap(int initCapacity, float f, long noEntryKey, int noEntryValue) { super(initCapacity, f, noEntryKey, noEntryValue); prevKey = noEntry...
nvoron23/socialite
src/socialite/collection/SLongIntHashMap.java
Java
apache-2.0
886
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
apache/syncope
client/idrepo/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/XMLEditorPanel.java
Java
apache-2.0
2,701
/* * Copyright (c) 2010-2015 Pivotal Software, Inc. All rights reserved. * * 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 req...
papicella/snappy-store
gemfirexd/core/src/main/java/com/pivotal/gemfirexd/internal/engine/management/AggregateStatementMXBean.java
Java
apache-2.0
4,681
# line 1 'A module docstring.' import sys, inspect # line 5 # line 7 def spam(a, b, c, d=3, (e, (f,))=(4, (5,)), *g, **h): eggs(b + d, c + f) # line 11 def eggs(x, y): "A docstring." global fr, st fr = inspect.currentframe() st = inspect.stack() p = x q = y // 0 # line 20 class StupidGit...
slozier/ironpython2
Src/StdLib/Lib/test/inspect_fodder.py
Python
apache-2.0
967
#!/usr/bin/env python # Copyright 2015, Rackspace US, Inc. # # 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 applicabl...
byronmccollum/rpc-openstack
maas/plugins/ceph_monitoring.py
Python
apache-2.0
6,319
/* Copyright (C) 2010,2011 Wei Dong <wdong.pku@gmail.com>. All Rights Reserved. DISTRIBUTION OF THIS PROGRAM IN EITHER BINARY OR SOURCE CODE FORM MUST BE PERMITTED BY THE AUTHOR. */ #ifndef KGRAPH_VALUE_TYPE #define KGRAPH_VALUE_TYPE float #endif #include <cctype> #include <type_traits> #include <iostrea...
jonbakerfish/kgraph
test.cpp
C++
bsd-2-clause
4,008
class SpeedtestCli < Formula desc "Command-line interface for https://speedtest.net bandwidth tests" homepage "https://github.com/sivel/speedtest-cli" url "https://github.com/sivel/speedtest-cli/archive/v1.0.7.tar.gz" sha256 "3853bb7a3d16f686441d0d10ebbfc1fd49e974ecf17248ce03456ad4ef2478b9" head "https://gith...
robohack/homebrew-core
Formula/speedtest-cli.rb
Ruby
bsd-2-clause
577
/* * Copyright 2011-2019 Branimir Karadzic. All rights reserved. * License: https://github.com/bkaradzic/bgfx#license-bsd-2-clause */ #include <bx/bx.h> #include <bx/file.h> #include <bx/sort.h> #include <bgfx/bgfx.h> #include <time.h> #if BX_PLATFORM_EMSCRIPTEN # include <emscripten.h> #endif // BX_PLATFORM_EMSC...
attilaz/bgfx
examples/common/entry/entry.cpp
C++
bsd-2-clause
21,992
/************************************************************************* * Copyright (c) 2015, Synopsys, Inc. * * All rights reserved. * * * * Redistribution and...
kit-transue/software-emancipation-discover
psethome/lib/Learn/src/ttt/include/application.H
C++
bsd-2-clause
2,370
// Copyright WRLD Ltd (2018-), All Rights Reserved #include "SearchWidgetController.h" #include "SearchResultSectionItemSelectedMessage.h" #include "SearchServicesResult.h" #include "IMenuSectionViewModel.h" #include "NavigateToMessage.h" #include "IMenuView.h" #include "IMenuOption.h" #include "MenuItemModel.h" #incl...
eegeo/eegeo-example-app
src/SearchMenu/View/SearchWidgetController.cpp
C++
bsd-2-clause
14,669
cask :v1 => 'delivery-status' do version '6.1.2' sha256 'f39afd137c99df16baf149c60f1a982edb9485f6211f4aefb9cad19af7a51514' url "http://junecloud.com/get/delivery-status-widget?#{version}" homepage 'http://junecloud.com/software/mac/delivery-status.html' license :oss widget 'Delivery Status.wdgt' caveats...
L2G/homebrew-cask
Casks/delivery-status.rb
Ruby
bsd-2-clause
658
#!/usr/bin/env python """ @package mi.dataset.parser.metbk_a_dcl @file marine-integrations/mi/dataset/parser/metbk_a_dcl.py @author Ronald Ronquillo @brief Parser for the metbk_a_dcl dataset driver This file contains code for the metbk_a_dcl parsers and code to produce data particles. For telemetered data, there is o...
renegelinas/mi-instrument
mi/dataset/parser/metbk_a_dcl.py
Python
bsd-2-clause
7,536
// Package csr implements certificate requests for CFSSL. package csr import ( "crypto" "crypto/ecdsa" "crypto/elliptic" "crypto/rand" "crypto/rsa" "crypto/x509" "crypto/x509/pkix" "encoding/pem" "errors" "net" "net/mail" "strings" cferr "github.com/cloudflare/cfssl/errors" "github.com/cloudflare/cfssl/...
rolandshoemaker/cfssl
csr/csr.go
GO
bsd-2-clause
10,628
cask 'gitahead' do version '2.6.1' sha256 'a4dbbbd7c72c34acfdcad94d5217dfba00a16c64440d3a2f155a937a94d87fff' url "https://github.com/gitahead/gitahead/releases/download/v#{version}/GitAhead-#{version}.dmg" appcast 'https://github.com/gitahead/gitahead/releases.atom' name 'GitAhead' homepage 'https://github...
troyxmccall/homebrew-cask
Casks/gitahead.rb
Ruby
bsd-2-clause
404
<?php /** * PHPUnit * * Copyright (c) 2002-2009, Sebastian Bergmann <sb@sebastian-bergmann.de>. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * * Redistributions of source code m...
rogeriopradoj/frapi-without-vhost
tests/phpunit/PHPUnit/Tests/Extensions/Database/AllTests.php
PHP
bsd-2-clause
3,257
/** * Copyright 2013-2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @emails oncall+r...
Aweary/relay
src/tools/__tests__/transformRelayQueryPayload-test.js
JavaScript
bsd-3-clause
4,969
import glob import os import sys from jedi.evaluate.site import addsitedir from jedi._compatibility import exec_function, unicode from jedi.parser import tree from jedi.parser import ParserWithRecovery from jedi.evaluate.cache import memoize_default from jedi import debug from jedi import common from jedi.evaluate.com...
tequa/ammisoft
ammimain/WinPython-64bit-2.7.13.1Zero/python-2.7.13.amd64/Lib/site-packages/jedi/evaluate/sys_path.py
Python
bsd-3-clause
10,686
// 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 "ui/base/ui_base_switches.h" namespace switches { // Disables use of DWM composition for top level windows. const char kDisableDwmCompositi...
pozdnyakov/chromium-crosswalk
ui/base/ui_base_switches.cc
C++
bsd-3-clause
4,544
from __future__ import absolute_import from django.conf.urls import include, url from django.conf import settings from django.conf.urls.static import static from . import views from . import settings as wooey_settings wooey_patterns = [ url(r'^jobs/command$', views.celery_task_command, name='celery_task_command'...
alexkolar/Wooey
wooey/urls.py
Python
bsd-3-clause
3,225
/* * Copyright (c) 1999-2015, Ecole des Mines de Nantes * 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...
piyushsh/choco3
choco-solver/src/test/java/org/chocosolver/solver/search/ParetoTest.java
Java
bsd-3-clause
6,565
<?php /* * Phake - Mocking Framework * * Copyright (c) 2010-2012, Mike Lively <m@digitalsandwich.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: * * * Redistributions of sou...
kore/Phake
src/Phake/Stubber/Answers/ExceptionAnswer.php
PHP
bsd-3-clause
2,595
/* * Copyright 2001-2005 Internet2 * * 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 agree...
NCIP/cagrid
cagrid/Software/core/caGrid/projects/opensaml/src/gov/nih/nci/cagrid/opensaml/artifact/SAMLArtifactType0002.java
Java
bsd-3-clause
10,727
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE TS> <TS version="2.1"> <context> <name>FancySwitcher</name> <message> <source>Alt+Left</source> <translation>Alt+Left</translation> </message> <message> <source>Alt+Right</source> <translation>Alt+Right</translation> </...
trueos/pcdm
src-qt5/PCDM/i18n/PCDM_en_ZA.ts
TypeScript
bsd-3-clause
8,374
<?php use yii\helpers\Html; use yii\widgets\DetailView; /* @var $this yii\web\View */ /* @var $model frontend\models\Penjualan */ $this->title = $model->idpenjualan; $this->params['breadcrumbs'][] = ['label' => 'Penjualans', 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; ?> <div class="penjualan...
programerjakarta/tokojaya
frontend/views/transaksi/view.php
PHP
bsd-3-clause
1,021
import _forEachInstanceProperty from "@babel/runtime-corejs3/core-js/instance/for-each"; import _Object$getOwnPropertyDescriptor from "@babel/runtime-corejs3/core-js/object/get-own-property-descriptor"; import _filterInstanceProperty from "@babel/runtime-corejs3/core-js/instance/filter"; import _concatInstanceProperty ...
ChromeDevTools/devtools-frontend
node_modules/@babel/runtime-corejs3/helpers/esm/objectSpread.js
JavaScript
bsd-3-clause
1,330
<?php use yii\widgets\Menu; /* @var $this yii\web\View */ /* @var $items array */ ?> <div class="panel panel-default"> <div class="panel-heading">Категории</div> <?= Menu::widget([ 'options' => ['class' => 'nav nav-pills nav-stacked'], 'items' => $items, 'submenuTemplate' => "\n<ul c...
peskovsb/shopgit
widgets/views/categories.php
PHP
bsd-3-clause
404
# -*- coding:utf-8 -*- #-- # Copyright (c) 2012-2014 Net-ng. # All rights reserved. # # This software is licensed under the BSD License, as described in # the file LICENSE.txt, which you should have received as part of # this distribution. #-- from nagare import log import pkg_resources from ..assetsmanager import As...
bcroq/kansha
kansha/services/dummyassetsmanager/dummyassetsmanager.py
Python
bsd-3-clause
1,033
from __future__ import absolute_import import logging from rest_framework import serializers from rest_framework.permissions import IsAuthenticated from rest_framework.response import Response from uuid import uuid4 from sentry.api.base import Endpoint, SessionAuthentication from sentry.api.exceptions import Resourc...
mvaled/sentry
src/sentry/api/endpoints/api_application_details.py
Python
bsd-3-clause
4,091
from django.contrib.admin.views.decorators import staff_member_required from django.shortcuts import get_object_or_404 from pdfdocument.utils import pdf_response import plata import plata.reporting.product import plata.reporting.order @staff_member_required def product_xls(request): """ Returns an XLS conta...
ixc/plata
plata/reporting/views.py
Python
bsd-3-clause
1,080
/* * Copyright (C) 2007-2011 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 con...
axinging/chromium-crosswalk
third_party/WebKit/Source/bindings/core/v8/custom/V8CSSStyleDeclarationCustom.cpp
C++
bsd-3-clause
8,762
// 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 "base/message_loop.h" #include "base/shared_memory.h" #include "content/common/media/video_capture_messages.h" #include "content/renderer/med...
Crystalnix/BitPop
content/renderer/media/video_capture_message_filter_unittest.cc
C++
bsd-3-clause
6,977
// d. ii. If k + 2 is greater than or equal to strLen, throw a URIError exception. decodeURI('%1');
daejunpark/jsaf
tests/bug_detector_tests/urierror1.js
JavaScript
bsd-3-clause
100
/* * Copyright (c) 2008-present The Open Source Geospatial Foundation * * Published under the BSD license. * See https://github.com/geoext/geoext2/blob/master/license.txt for the full * text of the license. */ /** api: example[layeropacityslider] * Layer Opacity Slider * -------------------- * Use a slide...
chrismayer/geoext2
examples/layeropacityslider/layeropacityslider.js
JavaScript
bsd-3-clause
3,626
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under the BSD-style license found in the // LICENSE file in the root directory of this source tree. An additional grant // of patent rights can be found in the PATENTS file in the same directory. #include "db/merge_...
tsheasha/rocksdb
db/merge_helper.cc
C++
bsd-3-clause
12,636
// 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 "content/browser/interest_group/storage_interest_group.h" #include "content/services/auction_worklet/public/mojom/bidder_worklet.mojom.h" names...
scheib/chromium
content/browser/interest_group/storage_interest_group.cc
C++
bsd-3-clause
966
# -*- coding: utf-8 -*- # Generated by Django 1.11.5 on 2017-11-29 12:16 from __future__ import unicode_literals from django.contrib.postgres.operations import BtreeGinExtension from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('product', '0037_auto_20171124_0847'...
UITools/saleor
saleor/product/migrations/0038_auto_20171129_0616.py
Python
bsd-3-clause
383
#ifndef BOOST_SIMD_INCLUDE_FUNCTIONS_SIMD_INSERT_HPP_INCLUDED #define BOOST_SIMD_INCLUDE_FUNCTIONS_SIMD_INSERT_HPP_INCLUDED #include <boost/simd/memory/include/functions/simd/insert.hpp> #endif
hainm/pythran
third_party/boost/simd/include/functions/simd/insert.hpp
C++
bsd-3-clause
196
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2007 Zuza Software Foundation # # This file is part of translate. # # translate is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of t...
staranjeet/fjord
vendor/packages/translate-toolkit/translate/lang/af.py
Python
bsd-3-clause
3,846
<?php /** * Phergie * * PHP version 5 * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE. * It is also available through the world-wide-web at this URL: * http://phergie.org/license * * @category Phergie * @package Phergie_Tests * ...
sudounlv/ircbot-php
Tests/Phergie/Event/HandlerTest.php
PHP
bsd-3-clause
10,066
<?php namespace Symbiote\QueuedJobs\Services; use Symbiote\QueuedJobs\DataObjects\QueuedJobDescriptor; /** * Default method for handling items run via the cron * * @author marcus@symbiote.com.au * @license BSD License http://silverstripe.org/bsd-license/ */ class DefaultQueueHandler { public function startJ...
nyeholt/silverstripe-queuedjobs
src/Services/DefaultQueueHandler.php
PHP
bsd-3-clause
497
<?php namespace Payment\Controller; use Eva\Mvc\Controller\ActionController, Payment\Service\Exception, Eva\View\Model\ViewModel; class ResponseController extends ActionController { protected $addResources = array( ); public function indexAction() { $adapter = $this->params()->fromQue...
Brother-Simon/eva-engine
module/Payment/src/Payment/Controller/ResponseController.php
PHP
bsd-3-clause
4,610
// Copyright (c) 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. #include "components/update_client/updater_state.h" #include <string> #include <utility> #include "base/enterprise_util.h" #include "base/strings/s...
scheib/chromium
components/update_client/updater_state.cc
C++
bsd-3-clause
3,368
import sys import os import glob import shutil import datetime assert 'pymel' not in sys.modules or 'PYMEL_INCLUDE_EXAMPLES' in os.environ, "to generate docs PYMEL_INCLUDE_EXAMPLES env var must be set before pymel is imported" # remember, the processed command examples are not version specific. you must # run cmdcach...
shrtcww/pymel
maintenance/docs.py
Python
bsd-3-clause
3,694
// (C) Copyright Gennadiy Rozental 2001. // 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/test for the library home page. // // File : $RCSfile$ // // Version : ...
lucadelu/PDAL
vendor/pdalboost/boost/test/utils/basic_cstring/basic_cstring.hpp
C++
bsd-3-clause
21,254
// 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/test/base/tracing.h" #include "base/files/file_path.h" #include "base/files/file_util.h" #include "base/memory/singleton.h" #include...
guorendong/iridium-browser-ubuntu
chrome/test/base/tracing.cc
C++
bsd-3-clause
5,907
// 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 "third_party/blink/renderer/modules/webcodecs/codec_logger.h" #include <string> #include "media/base/media_util.h" #include "third_party/blink/...
scheib/chromium
third_party/blink/renderer/modules/webcodecs/codec_logger.cc
C++
bsd-3-clause
2,677
define([ "dojo/_base/declare", "dojo/_base/sniff", "dojo/dom-class", "dojo/dom-construct", "dojo/dom-style", "dijit/_Contained", "dijit/_Container", "dijit/_WidgetBase", "./IconMenuItem" ], function(declare, has, domClass, domConstruct, domStyle, Contained, Container, WidgetBase){ // module: // dojox/mobile...
kitsonk/expo
src/dojox/mobile/IconMenu.js
JavaScript
bsd-3-clause
3,265
// -*-Mode: C++;-*- // * BeginRiceCopyright ***************************************************** // // $HeadURL$ // $Id$ // // -------------------------------------------------------------------------- // Part of HPCToolkit (hpctoolkit.org) // // Information about sources of support for research and development of //...
zcth428/hpctoolkit111
src/tool/hpcserver/LRUList.hpp
C++
bsd-3-clause
5,239
// Test host codegen. // RUN: %clang_cc1 -verify -fopenmp -fopenmp-version=45 -x c++ -triple powerpc64le-unknown-unknown -fopenmp-targets=powerpc64le-ibm-linux-gnu -emit-llvm %s -o - | FileCheck %s // RUN: %clang_cc1 -fopenmp -fopenmp-version=45 -x c++ -std=c++11 -triple powerpc64le-unknown-unknown -fopenmp-targets=pow...
youtube/cobalt
third_party/llvm-project/clang/test/OpenMP/target_teams_distribute_codegen_registration.cpp
C++
bsd-3-clause
28,706
// 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. #include "ui/platform_window/stub/stub_window.h" #include "base/memory/scoped_refptr.h" #include "base/notreached.h" #include "ui/base/cursor/platform_cu...
nwjs/chromium.src
ui/platform_window/stub/stub_window.cc
C++
bsd-3-clause
2,654
/* * Copyright (c) 2015, University of Oslo * * 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 condition...
arthurgwatidzo/dhis2-android-sdk
app/src/main/java/org/hisp/dhis/android/sdk/persistence/models/ImportCount.java
Java
bsd-3-clause
3,317
// Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // https://developers.google.com/protocol-buffers/ // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // ...
endlessm/chromium-browser
third_party/protobuf/java/core/src/main/java/com/google/protobuf/LongArrayList.java
Java
bsd-3-clause
7,711
// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "content/common/gpu/media/mft_angle_video_device.h" #include <d3d9.h> #include "media/base/video_frame.h" #include "third_party/angle/src/l...
Crystalnix/house-of-life-chromium
content/common/gpu/media/mft_angle_video_device.cc
C++
bsd-3-clause
1,786
/* * File: AbstractStatefulEvaluatorTest.java * Authors: Kevin R. Dixon * Company: Sandia National Laboratories * Project: Cognitive Foundry * * Copyright Jul 7, 2009, Sandia Corporation. * Under the terms of Contract DE-AC04-94AL85000, there is a non-exclusive...
codeaudit/Foundry
Components/CommonCore/Test/gov/sandia/cognition/evaluator/AbstractStatefulEvaluatorTest.java
Java
bsd-3-clause
5,498
# -*- coding: utf-8 -*- """ Classes that process (and maybe abort) responses based on various conditions. They should be used with :class:`splash.network_manager.SplashQNetworkAccessManager`. """ from __future__ import absolute_import from PyQt5.QtNetwork import QNetworkRequest from splash.qtutils import request_repr f...
pawelmhm/splash
splash/response_middleware.py
Python
bsd-3-clause
2,510
//2 var __result1 = 2; // for SAFE var __expect1 = 2; // for SAFE
darkrsw/safe
tests/typing_tests/TAJS_micro/test2.js
JavaScript
bsd-3-clause
68
// 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. /** @const {number} */ const DEFAULT_BLACK_CURSOR_COLOR = 0; /** * @fileoverview * 'settings-manage-a11y-page' is the subpage with the accessibility *...
ric2b/Vivaldi-browser
chromium/chrome/browser/resources/settings/chromeos/os_a11y_page/manage_a11y_page.js
JavaScript
bsd-3-clause
23,701
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Threading.Tasks; namespace Azure.Core { /// <summary> /// Represents a method that can handle an event and execute either /// synchronously or asynchronously. /// </summary> /...
ayeletshpigelman/azure-sdk-for-net
sdk/core/Azure.Core/src/SyncAsyncEventHandler.cs
C#
mit
11,132
<?php /** * Model for the Primary Term table. * * @package Yoast\YoastSEO\Models */ namespace Yoast\WP\SEO\Models; use Yoast\WP\Lib\Model; /** * Primary Term model definition. * * @property int $id Identifier. * @property int $post_id Post ID. * @property int $term_id Term ID. * @property ...
mandino/www.bloggingshakespeare.com
wp-content/plugins/wordpress-seo/src/models/primary-term.php
PHP
mit
750
// Controller Actions|Scripts|0020 namespace VRTK { using UnityEngine; using System.Collections; using System.Collections.Generic; using Highlighters; [System.Serializable] public class VRTK_ControllerModelElementPaths { public string bodyModelPath = ""; public string trigg...
belzeba/VR
Assets/VRTK/Scripts/VRTK_ControllerActions.cs
C#
mit
27,336
import { RouterConfig } from "v2/Artsy/Router" import { buildClientApp } from "v2/Artsy/Router/buildClientApp" import { createMockNetworkLayer, createMockNetworkLayer2, } from "v2/DevTools/createMockNetworkLayer" import { HistoryOptions } from "farce" import { RouteConfig } from "found" import { IMocks } from "grap...
erikdstock/force
src/v2/DevTools/MockRouter.tsx
TypeScript
mit
1,901
<?php namespace Kunstmaan\TaggingBundle\Tests\DependencyInjection; use Kunstmaan\TaggingBundle\DependencyInjection\Configuration; use Matthias\SymfonyConfigTest\PhpUnit\ConfigurationTestCaseTrait; use PHPUnit\Framework\TestCase; /** * Class ConfigurationTest */ class ConfigurationTest extends TestCase { use Co...
mwoynarski/KunstmaanBundlesCMS
src/Kunstmaan/TaggingBundle/Tests/unit/DependencyInjection/ConfigurationTest.php
PHP
mit
696
<?php namespace Oro\Bundle\NavigationBundle\Tests\Unit\Event; use Oro\Bundle\UserBundle\Entity\User; use Oro\Bundle\NavigationBundle\Entity\NavigationHistoryItem; use Oro\Bundle\NavigationBundle\Event\ResponseHistoryListener; use Oro\Bundle\NavigationBundle\Provider\TitleService; use Symfony\Component\HttpFoundation\...
minhnguyen-balance/oro_platform
vendor/oro/platform/src/Oro/Bundle/NavigationBundle/Tests/Unit/Event/ResponseHistoryListenerTest.php
PHP
mit
8,766
<?php declare(strict_types=1); /* * This file is part of SolidInvoice project. * * (c) Pierre du Plessis <open-source@solidworx.co> * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace SolidInvoice\CoreBundle\Form\Type; use Symfony\Compo...
pierredup/CSBill
src/CoreBundle/Form/Type/ImageUploadType.php
PHP
mit
1,863
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. // #include "common.h" #ifdef FEATURE_INTERPRETER #include "interpreter.h" #include "interpreter.hpp" #include "cg...
qiudesong/coreclr
src/vm/interpreter.cpp
C++
mit
418,371
using System; using System.Collections.Generic; using FFImageLoading.Transformations; using FFImageLoading.Work; namespace FFImageLoading.MvvmCross.Sample.Core { public class Image { public string Url { get; } public double DownsampleWidth => 200d; public List<ITransformation> Transfor...
luberda-molinet/FFImageLoading
samples/ImageLoading.MvvmCross.Sample/FFImageLoading.MvvmCross.Sample.Core/ViewModels/Image.cs
C#
mit
476