repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
tebeka/arrow | csharp/src/Apache.Arrow/Types/Int8Type.cs | 1248 | // 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... | apache-2.0 |
Microsoft/TypeScript | tests/baselines/reference/crashIntypeCheckInvocationExpression.js | 858 | //// [crashIntypeCheckInvocationExpression.ts]
var nake;
function doCompile<P0, P1, P2>(fileset: P0, moduleType: P1) {
return undefined;
}
export var compileServer = task<number, number, any>(<P0, P1, P2>() => {
var folder = path.join(),
fileset = nake.fileSetSync<number, number, any>(folder)
retur... | apache-2.0 |
cjwagner/test-infra | prow/git/git_test.go | 15553 | /*
Copyright 2017 The Kubernetes Authors.
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, ... | apache-2.0 |
tas50/supermarket | src/supermarket/spec/api/cookbook_contingent_spec.rb | 1174 | require 'spec_helper'
describe 'GET /api/v1/cookbooks/:cookbook/contingent' do
context 'when the cookbook exists' do
let(:apt) { create(:cookbook, name: 'apt') }
let(:nginx) { create(:cookbook, name: 'nginx') }
let(:apache) { create(:cookbook, name: 'apache') }
before do
create(:cookbook_depen... | apache-2.0 |
mdecourci/assertj-core | src/test/java/org/assertj/core/api/objectarray/ObjectArrayAssert_usingElementComparatorIgnoringFields_Test.java | 1959 | /**
* 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 distributed under ... | apache-2.0 |
efortuna/AndroidSDKClone | sdk/samples/android-20/legacy/XmlAdapters/src/com/example/android/xmladapters/UrlIntentListener.java | 1446 | /*
* Copyright (C) 2010 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | apache-2.0 |
google/aistreams | third_party/gst-plugins-base/tests/check/elements/opus.c | 16126 | /* GStreamer
*
* unit test for opus
*
* Copyright (C) <2011> Vincent Penquerc'h <vincent.penquerch@collbaora.co.uk>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* ve... | apache-2.0 |
jimczi/elasticsearch | core/src/main/java/org/elasticsearch/search/aggregations/pipeline/cumulativesum/CumulativeSumPipelineAggregationBuilder.java | 8250 | /*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | apache-2.0 |
queeniema/incubator-edgent-website | site/javadoc/r1.1.0/org/apache/edgent/analytics/sensors/package-use.html | 8634 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_112) on Sun Feb 26 17:08:13 EST 2017 -->
<title>Uses of Package org.apache.edgent.analytics.sensors (Edgent v1.1.0)</title>
<meta name="date" c... | apache-2.0 |
putcn/Paddle | paddle/math/PoolAllocator.cpp | 2187 | /* Copyright (c) 2016 PaddlePaddle Authors. 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 applicable law or... | apache-2.0 |
shouhong/kubernetes | pkg/registry/rbac/rest/storage_rbac.go | 8272 | /*
Copyright 2016 The Kubernetes Authors.
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, ... | apache-2.0 |
GlenRSmith/elasticsearch | x-pack/plugin/autoscaling/src/main/java/org/elasticsearch/xpack/autoscaling/storage/ReactiveStorageDeciderService.java | 34193 | /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0; you may not use this file except in compliance with the Elastic License
* 2.0.
*/
package org.elasticsearch.xpack.autoscaling.storage;
import org.e... | apache-2.0 |
idispatch/bde | groups/bal/ball/ball_defaultattributecontainer.t.cpp | 59696 | // ball_defaultattributecontainer.t.cpp -*-C++-*-
// ----------------------------------------------------------------------------
// NOTICE
//
// This component is not up to date with current BDE coding standards, and
// should not be used as an example f... | apache-2.0 |
Derzhevitskiy/spring-petclinic-master | src/main/java/org/mybatis/jpetstore/domain/CartItem.java | 1767 | /**
* Copyright 2010-2015 the original author or authors.
*
* 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
*
* Unle... | apache-2.0 |
objectiser/camel | components/camel-aws-swf/src/test/java/org/apache/camel/component/aws/swf/integration/CamelSWFEndToEndTest.java | 3585 | /*
* 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 ... | apache-2.0 |
ilantukh/ignite | modules/web-console/frontend/app/modules/dialog/dialog.module.js | 1283 | /*
* 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 ... | apache-2.0 |
malakasilva/carbon-identity | components/identity/org.wso2.carbon.identity.application.authenticator.facebook/src/main/java/org/wso2/carbon/identity/application/authenticator/facebook/FacebookAuthenticatorConstants.java | 1678 | /*
* Copyright (c) WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. 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/licens... | apache-2.0 |
hisamith/app-cloud | modules/jaggeryapps/appmgt/src/site/themes/default/js/CodeMirror-5.7.0/addon/search/searchonly.js | 9107 | /* global CodeMirror */
/* global define */
(function(mod) {
'use strict';
if (typeof exports === 'object' && typeof module === 'object') // CommonJS
mod(require('../../lib/codemirror'));
else if (typeof define === 'function' && define.amd) // AMD
define(['../../lib/codemirror'], mod);
... | apache-2.0 |
ydai1124/gobblin-1 | gobblin-api/src/main/java/gobblin/dataset/IterableDatasetFinder.java | 1376 | /*
* 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 ... | apache-2.0 |
queeniema/incubator-edgent-website | site/javadoc/r1.1.0/org/apache/edgent/streamscope/mbeans/class-use/StreamScopeMXBean.html | 10928 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_112) on Sun Feb 26 17:08:13 EST 2017 -->
<title>Uses of Interface org.apache.edgent.streamscope.mbeans.StreamScopeMXBean (Edgent v1.1.0)</title... | apache-2.0 |
sachinpro/sachinpro.github.io | tensorflow/core/platform/demangle.h | 1092 | /* 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 applicable law or agreed to in ... | apache-2.0 |
tornadozou/tensorflow | tensorflow/core/kernels/conv_2d.h | 11560 | /* Copyright 2015 The TensorFlow Authors. 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 applicable law or a... | apache-2.0 |
bridgewell/kafka-net | src/kafka-net/KafkaTcpSocket.cs | 17955 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Net.Sockets;
using System.Threading.Tasks;
using System.Threading;
using KafkaNet.Common;
using KafkaNet.Model;
using KafkaNet.Protocol;
using KafkaNet.Statistics;
namespace KafkaNet
{
/// <summary>
/// T... | apache-2.0 |
jboss-integration/kie-uberfire-extensions | i18n-taglib/src/main/java/org/apache/taglibs/i18n/IfndefTag.java | 2046 | /*
* Copyright 1999,2004 The Apache Software Foundation.
*
* 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... | apache-2.0 |
jamesadevine/mbed | libraries/mbed/targets/hal/TARGET_Atmel/TARGET_SAM21/drivers/dma/dma.h | 27057 | #ifndef DMA_H_INCLUDED
#define DMA_H_INCLUDED
#ifdef __cplusplus
extern "C" {
#endif
/**
* \defgroup asfdoc_sam0_dma_group SAM Direct Memory Access Controller Driver (DMAC)
*
* This driver for Atmel庐 | SMART SAM devices provides an interface for the configuration
* and management of the Direct Memory Access Contr... | apache-2.0 |
strapdata/elassandra | libs/ssl-config/src/main/java/org/elasticsearch/common/ssl/PemUtils.java | 30153 | /*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | apache-2.0 |
tsugiproject/tsugi | vendor/google/apiclient-services/src/Google/Service/RecommendationsAI/GoogleCloudRecommendationengineV1alphaRejoinCatalogResponse.php | 998 | <?php
/*
* Copyright 2014 Google 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 applicable law or agreed t... | apache-2.0 |
McLeodMoores/starling | projects/web/web-engine/prototype/modules/views/securities/og.views.securities.cds_index_definition.html | 2955 | <article>
<header class="OG-header-generic">
<div class="OG-tools"></div>
<h1>{{html name}}</h1>
<div class="OG-js-header-links"></div>
</header>
<section>
<div class="OG-details-content OG-js-details-panel">
<section class="og-js-identifiers"></section>
<section>
<table class=... | apache-2.0 |
apurtell/hadoop | hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/AclTransformation.java | 21791 | /**
* 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-2.0 |
0359xiaodong/PagedHeadListView | library/src/main/java/com/jorgecastilloprz/pagedheadlistview/pagetransformers/DepthPageTransformer.java | 1412 | package com.jorgecastilloprz.pagedheadlistview.pagetransformers;
import android.support.v4.view.ViewPager;
import android.view.View;
/**
* Created by jorge on 10/08/14.
*/
public class DepthPageTransformer implements ViewPager.PageTransformer {
private static final float MIN_SCALE = 0.75f;
public void tran... | apache-2.0 |
daedric/buck | src/com/facebook/buck/json/BuildFileParseException.java | 1826 | /*
* Copyright 2012-present Facebook, 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 applicable law or... | apache-2.0 |
terrorform/pool-resource | vendor/gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/srvresp.go | 2799 | package packp
import (
"bufio"
"bytes"
"errors"
"fmt"
"io"
"gopkg.in/src-d/go-git.v4/plumbing"
"gopkg.in/src-d/go-git.v4/plumbing/format/pktline"
)
const ackLineLen = 44
// ServerResponse object acknowledgement from upload-pack service
type ServerResponse struct {
ACKs []plumbing.Hash
}
// Decode decodes t... | apache-2.0 |
yjaradin/mozart2 | vm/generator/main/interfaces.cc | 5779 | // Copyright © 2012, Université catholique de Louvain
// 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-2-clause |
jlord/git-it-electron | assets/PortableGit/mingw32/share/doc/git-doc/git-diff-tree.html | 96907 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge"><![endif]-->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Asciidoctor 1.5.2">
<title>git-diff-tree(1)</title>
<link rel="style... | bsd-2-clause |
gustavoavellar/homebrew-cask | Casks/ssx.rb | 371 | cask :v1 => 'ssx' do
version '06082006-2216'
sha256 '34d904e909191e60e0b84ea43f177871ac4310c91af53e5c4cbff28c5dd29fcb'
url "http://chris.schleifer.net/ssX/builds/ssX-#{version}.dmg"
homepage 'http://chris.schleifer.net/ssX/'
license :unknown # todo: change license and remove this comment; ':unknown' is a ... | bsd-2-clause |
adamliter/homebrew-core | Formula/stress.rb | 1374 | class Stress < Formula
desc "Tool to impose load on and stress test a computer system"
homepage "https://people.seas.harvard.edu/~apw/stress/"
url "https://people.seas.harvard.edu/~apw/stress/stress-1.0.4.tar.gz"
mirror "https://mirrors.kernel.org/debian/pool/main/s/stress/stress_1.0.4.orig.tar.gz"
sha256 "05... | bsd-2-clause |
cheral/orange3 | Orange/tests/test_doctest.py | 2448 | import sys
import os
from doctest import DocTestSuite, ELLIPSIS, NORMALIZE_WHITESPACE
SKIP_DIRS = (
# Skip modules which import and initialize stuff that require QApplication
'Orange/widgets',
'Orange/canvas',
# Skip because we don't want Orange.datasets as a module (yet)
'Orange/datasets/'
)
if ... | bsd-2-clause |
reelsense/homebrew-cask | Casks/icq.rb | 671 | cask 'icq' do
version '3.0.18725'
sha256 '437ce23444ae3449e53195e10b0c8a7515d8ea5357435335e4d2793c12e1f8b7'
# mra.mail.ru/icq_mac3_update was verified as official when first introduced to the cask
url 'https://mra.mail.ru/icq_mac3_update/icq.dmg'
appcast 'https://mra.mail.ru/icq_mac3_update/icq_update.xml'
... | bsd-2-clause |
Chilledheart/chromium | net/url_request/url_request_context.h | 8959 | // 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.
// This class represents contextual information (cookies, cache, etc.)
// that's useful when processing resource requests.
// The class is reference-c... | bsd-3-clause |
cuidingfeng/quantum | node_modules/yog2-kernel/node_modules/node-ral/node_modules/urlencode/History.md | 625 |
0.2.0 / 2014-04-25
==================
* urlencode.stringify done (@alsotang)
0.1.2 / 2014-04-09
==================
* remove unused variable QueryString (@azbykov)
0.1.1 / 2014-02-25
==================
* improve parse() performance 10x
0.1.0 / 2014-02-24
==================
* decode with charset
* add n... | bsd-3-clause |
meego-tablet-ux/meego-app-browser | tools/grit/grit/gather/admin_template.py | 2488 | #!/usr/bin/python2.4
# Copyright (c) 2006-2008 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.
'''Gatherer for administrative template files.
'''
import re
import types
from grit.gather import regexp
from grit import exc... | bsd-3-clause |
deft-code/go | src/runtime/export_test.go | 3299 | // Copyright 2010 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Export guts for testing.
package runtime
import (
"runtime/internal/atomic"
"runtime/internal/sys"
"unsafe"
)
var Fadd64 = fadd64
var Fsub64 = fsub64
... | bsd-3-clause |
nagyistoce/devide | modules/vtk_basic/vtkSynchronizedTemplatesCutter3D.py | 520 | # class generated by DeVIDE::createDeVIDEModuleFromVTKObject
from module_kits.vtk_kit.mixins import SimpleVTKClassModuleBase
import vtk
class vtkSynchronizedTemplatesCutter3D(SimpleVTKClassModuleBase):
def __init__(self, module_manager):
SimpleVTKClassModuleBase.__init__(
self, module_manager,
... | bsd-3-clause |
forste/haReFork | tools/base/transforms/tests/1.hs | 37 | module A where
~(Just x) = Nothing
| bsd-3-clause |
giserh/userguide | feature-engineering/tfidf.md | 4680 | #TF-IDF
The prototypical application of TF-IDF transformations involves
document collections, where each element represents a document in
bag-of-words format, i.e. a dictionary whose keys are words and whose
values are the number of times the word occurs in the document. For more
details, check the reference section f... | bsd-3-clause |
szdavid92/actor-framework | libcaf_core/caf/response_promise.hpp | 2848 | /******************************************************************************
* ____ _ _____ *
* / ___| / \ | ___| C++ *
* | | / _ \ | |_ Actor *
... | bsd-3-clause |
espadrine/opera | chromium/src/chrome/browser/ui/gtk/importer/import_lock_dialog_gtk.cc | 2625 | // 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 "chrome/browser/ui/gtk/importer/import_lock_dialog_gtk.h"
#include <gtk/gtk.h>
#include "base/bind.h"
#include "base/message_loop.h"
#inclu... | bsd-3-clause |
mxOBS/deb-pkg_trusty_chromium-browser | third_party/WebKit/Source/core/editing/ApplyStyleCommand.h | 8182 | /*
* Copyright (C) 2005, 2006, 2008, 2009 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this li... | bsd-3-clause |
princeofdarkness76/gfxCardStatus | gfx playground/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSControl+RACTextSignalSupport.h | 561 | //
// NSControl+RACTextSignalSupport.h
// ReactiveCocoa
//
// Created by Justin Spahr-Summers on 2013-03-08.
// Copyright (c) 2013 GitHub, Inc. All rights reserved.
//
#import <Cocoa/Cocoa.h>
@class RACSignal;
@interface NSControl (RACTextSignalSupport)
// Observes a text-based control for changes.
//
// Using ... | bsd-3-clause |
simonegli8/Websitepanel | WebsitePanel/Sources/WebsitePanel.Providers.FTP.IIs70/Configuration/PermissionsFlags.cs | 1852 | // Copyright (c) 2015, Outercurve Foundation.
// 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 |
Firehed/phpunit | tests/_files/VariousDocblockDefinedDataProvider.php | 1404 | <?php declare(strict_types=1);
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\TestFixture;
final class VariousDocblockDefinedD... | bsd-3-clause |
vitalyster/libcommuni-gbp | src/core/ircconnection.cpp | 52766 | /*
Copyright (C) 2008-2016 The Communi Project
You may use this file under the terms of BSD license as follows:
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 ab... | bsd-3-clause |
timopulkkinen/BubbleFish | content/browser/ssl/ssl_request_info.h | 1555 | // 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.
#ifndef CONTENT_BROWSER_SSL_SSL_REQUEST_INFO_H_
#define CONTENT_BROWSER_SSL_SSL_REQUEST_INFO_H_
#include <string>
#include "base/memory/ref_counted.... | bsd-3-clause |
dededong/goblin-core | riscv/llvm/3.5/binutils-2.21.1/bfd/elf32-frv.c | 219982 | /* FRV-specific support for 32-bit ELF.
Copyright 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
Free Software Foundation, Inc.
This file is part of BFD, the Binary File Descriptor library.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General ... | bsd-3-clause |
endlessm/chromium-browser | third_party/webgl/src/conformance-suites/2.0.0/conformance2/textures/canvas/tex-2d-rgba4-rgba-unsigned_byte.html | 1879 | <!--
Copyright (c) 2015 The Khronos Group Inc.
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and/or associated documentation files (the
"Materials"), to deal in the Materials without restriction, including
without limitation the rights to use, copy, modify, merge, publi... | bsd-3-clause |
ric2b/Vivaldi-browser | chromium/chrome/browser/policy/client_data_delegate_android_unittest.cc | 1720 | // 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 "chrome/browser/policy/client_data_delegate_android.h"
#include <utility>
#include "base/bind.h"
#include "base/callback_helpers.h"
#include "b... | bsd-3-clause |
youtube/cobalt | third_party/llvm-project/libcxx/test/libcxx/utilities/utility/__is_inplace_type.pass.cpp | 1436 | //===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------... | bsd-3-clause |
ChromeDevTools/devtools-frontend | node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.d.ts | 594 | import { TSESTree } from '@typescript-eslint/types';
import { DefinitionType } from './DefinitionType';
import { DefinitionBase } from './DefinitionBase';
declare class VariableDefinition extends DefinitionBase<DefinitionType.Variable, TSESTree.VariableDeclarator, TSESTree.VariableDeclaration, TSESTree.Identifier> {
... | bsd-3-clause |
bauhouse/sym-intranet | symphony/assets/symphony.orderable.js | 3588 | /*-----------------------------------------------------------------------------
Orderable plugin
-----------------------------------------------------------------------------*/
jQuery.fn.symphonyOrderable = function(custom_settings) {
var objects = this;
var settings = {
items: 'li',
handles: '*',
... | mit |
parjong/coreclr | src/mscorlib/shared/System/IO/Path.cs | 24186 | // 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.
using System.Diagnostics;
using System.Text;
namespace System.IO
{
// Provides methods for processing file syst... | mit |
hyoo/p3_web | public/js/release/d3/src/scale/ordinal.js | 3374 | // wrapped by build app
define("d3/src/scale/ordinal", ["dojo","dijit","dojox"], function(dojo,dijit,dojox){
import "../arrays/map";
import "../arrays/range";
import "scale";
d3.scale.ordinal = function() {
return d3_scale_ordinal([], {t: "range", a: [[]]});
};
function d3_scale_ordinal(domain, ranger) {
var inde... | mit |
m039/Void | third-party/void-boost/tools/build/src/tools/testing.py | 15330 | # Status: ported, except for --out-xml
# Base revision: 64488
#
# Copyright 2005 Dave Abrahams
# Copyright 2002, 2003, 2004, 2005, 2010 Vladimir Prus
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
# This module implements r... | mit |
stevenblaster/crapengine | libraries/bullet/btgui/OpenGLWindow/Shaders/useShadowMapInstancingVS.h | 2424 | //this file is autogenerated using stringify.bat (premake --stringify) in the build folder of this project
static const char* useShadowMapInstancingVertexShader= \
"#version 330 \n"
"precision highp float;\n"
"layout (location = 0) in vec4 position;\n"
"layout (location = 1) in vec4 instance_position;\n"
"layout (locat... | mit |
wikimedia/mediawiki-vagrant | puppet/modules/stdlib/spec/acceptance/is_string_spec.rb | 2778 | #! /usr/bin/env ruby -S rspec
require 'spec_helper_acceptance'
describe 'is_string function', :unless => UNSUPPORTED_PLATFORMS.include?(fact('operatingsystem')) do
describe 'success' do
it 'is_strings arrays' do
pp = <<-EOS
$a = ['aaa.com','bbb','ccc']
$b = false
$o = is_string($a)
... | mit |
stanislaw/EKAlgorithms | EKAlgorithms/Data Structures/LinkedList/EKLinkedList.h | 852 | //
// LinkedList.h
// EKAlgorithms
//
// Created by Evgeny Karkan on 07.11.13.
// Copyright (c) 2013 EvgenyKarkan. All rights reserved.
//
@class EKNode;
@interface EKLinkedList : NSObject
@property (nonatomic, strong) EKNode *head;
@property (nonatomic, strong) EKNode *tail;
@property (nonatomic, strong) EKNod... | mit |
smatthias/tausendkind | vendor/sonata-project/admin-bundle/Mapper/BaseMapper.php | 1668 | <?php
/*
* This file is part of the Sonata Project package.
*
* (c) Thomas Rabaix <thomas.rabaix@sonata-project.org>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Sonata\AdminBundle\Mapper;
use Sonata\AdminBundle\Adm... | mit |
bvernoux/micropython | ports/stm32/usb.h | 2800 | /*
* This file is part of the MicroPython project, http://micropython.org/
*
* The MIT License (MIT)
*
* Copyright (c) 2013, 2014, 2015 Damien P. George
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to dea... | mit |
frangucc/gamify | www/sandbox/pals/app/bower_components/ionic/js/angular/directive/item.js | 1904 | var ITEM_TPL_CONTENT_ANCHOR =
'<a class="item-content" ng-href="{{$href()}}" target="{{$target()}}"></a>';
var ITEM_TPL_CONTENT =
'<div class="item-content"></div>';
/**
* @ngdoc directive
* @name ionItem
* @parent ionic.directive:ionList
* @module ionic
* @restrict E
* Creates a list-item that can easily be swiped... | mit |
api-platform/core | src/Core/Api/FilterInterface.php | 1670 | <?php
/*
* This file is part of the API Platform project.
*
* (c) Kévin Dunglas <dunglas@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace ApiPlatform\Core\Api;
/**
* Filters applica... | mit |
ndnurun/nextdeploy | vagrant/modules/ossec/spec/classes/init_spec.rb | 142 | require 'spec_helper'
describe 'ossec' do
context 'with defaults for all parameters' do
it { should contain_class('ossec') }
end
end
| mit |
whbruce/upm | src/max5487/max5487.hpp | 3393 | /*
* Author: Yevgeniy Kiveisha <yevgeniy.kiveisha@intel.com>
* Copyright (c) 2014 Intel Corporation.
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* ... | mit |
rainlike/justshop | vendor/sylius/sylius/src/Sylius/Bundle/ThemeBundle/Context/ThemeContextInterface.php | 598 | <?php
/*
* This file is part of the Sylius package.
*
* (c) Paweł Jędrzejewski
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace Sylius\Bundle\ThemeBundle\Context;
use Sylius\Bundle\ThemeBundle\... | mit |
Dackng/eh-unmsm-client | node_modules/@angularclass/hmr/README.md | 3922 | <p align="center">
<a href="http://courses.angularclass.com/courses/angular-2-fundamentals" target="_blank">
<img width="438" alt="Angular 2 Fundamentals" src="https://cloud.githubusercontent.com/assets/1016365/17200649/085798c6-543c-11e6-8ad0-2484f0641624.png">
</a>
</p>
---
# Angular 2 Hot Module Replaceme... | mit |
smrq/DefinitelyTyped | types/react-icons/go/light-bulb.d.ts | 162 | import * as React from 'react';
import { IconBaseProps } from 'react-icon-base';
export default class GoLightBulb extends React.Component<IconBaseProps, any> { }
| mit |
jpweeks/pixi.js | src/particles/webgl/ParticleBuffer.js | 6828 | import glCore from 'pixi-gl-core';
import createIndicesForQuads from '../../core/utils/createIndicesForQuads';
/**
* @author Mat Groves
*
* Big thanks to the very clever Matt DesLauriers <mattdesl> https://github.com/mattdesl/
* for creating the original pixi version!
* Also a thanks to https://github.com/bcheval... | mit |
esdrubal/referencesource | System/compmod/system/codedom/compiler/ICodeCompiler.cs | 3460 | //------------------------------------------------------------------------------
// <copyright file="ICodeCompiler.cs" company="Microsoft">
//
// <OWNER>petes</OWNER>
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//----... | mit |
kangax/webgl-2d | test/philip.html5.org/tests/framed.2d.pattern.repeat.unrecognised.html | 997 | <!DOCTYPE html>
<title>Canvas test: 2d.pattern.repeat.unrecognised</title>
<script src="../tests.js"></script>
<link rel="stylesheet" href="../tests.css">
<body class="framed show_output">
<h1>
<a href="2d.pattern.repeat.unrecognised.html" target="_parent">2d.​pattern.​repeat.​unrecognised</a>
</h1>
<... | mit |
vkadam/grunt-jsbeautifier | test/configFile_spec.js | 3091 | "use strict";
/*jshint -W079*/
var chai = require("chai"),
expect = chai.expect,
ncp = require('ncp').ncp,
grunt = require("grunt"),
JsBeautifierTask = require("../lib/jsbeautifier"),
createMockTask = require("./mockTask");
chai.use(require('chai-fs'));
/*jshint -W030*/
describe("JsBeautifier: Conf... | mit |
jigneshvasoya/fusekit | include/fusekit/tracer_buffer.h | 1361 |
#ifndef __FUSEKIT__TRACER_BUFFER_H
#define __FUSEKIT__TRACER_BUFFER_H
#include <iostream>
#include <fusekit/entry.h>
namespace fusekit{
template<
class Derived
>
struct tracer_buffer {
tracer_buffer() : _os( std::cout ){
_os << "tracer_buffer::tracer_buffer()" << std::endl;
}
vo... | mit |
askl56/rubyspec | library/net/ftp/mkdir_spec.rb | 2358 | require File.expand_path('../../../../spec_helper', __FILE__)
require 'net/ftp'
require File.expand_path('../fixtures/server', __FILE__)
describe "Net::FTP#mkdir" do
before :each do
@server = NetFTPSpecs::DummyFTP.new
@server.serve_once
@ftp = Net::FTP.new
@ftp.connect("localhost", 9921)
end
af... | mit |
olleolleolle/celluloid | lib/celluloid/test.rb | 44 | $CELLULOID_TEST = true
require "celluloid"
| mit |
usetreno/KunstmaanBundlesCMS | src/Kunstmaan/SeoBundle/DependencyInjection/KunstmaanSeoExtension.php | 914 | <?php
namespace Kunstmaan\SeoBundle\DependencyInjection;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\Config\FileLocator;
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
use Symfony\Component\DependencyInjection\Loader;
/**
* This is the class that loads and mana... | mit |
JeremyCraigMartinez/developer-dot | public/code/blog/avatax-connector-app/AvaTaxConnector/App_Start/BundleConfig.cs | 2136 | using System.Web;
using System.Web.Optimization;
namespace AvaTaxConnector
{
public class BundleConfig
{
// For more information on Bundling, visit http://go.microsoft.com/fwlink/?LinkId=254725
public static void RegisterBundles(BundleCollection bundles)
{
bundles.Add(new S... | mit |
r0zar/ember-rails-stocks | stocks/node_modules/ember-cli/lib/commands/test.js | 6146 | 'use strict';
var Command = require('../models/command');
var Watcher = require('../models/watcher');
var Builder = require('../models/builder');
var SilentError = require('silent-error');
var path = require('path');
var win = require('../utilities/windows-admin');
var existsSync = require(... | mit |
GNOME/banshee | src/Backends/Banshee.Osx/Banshee.Hardware.Osx/DiscVolume.cs | 2171 | //
// DiscVolume.cs
//
// Author:
// Timo Dörr <timo@latecrew.de>
//
// Copyright 2012 Timo Dörr
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including wi... | mit |
impedimentToProgress/UCI-BlueChip | snapgear_linux/linux-2.6.21.1/fs/compat_ioctl.c | 73919 | /*
* ioctl32.c: Conversion between 32bit and 64bit native ioctls.
*
* Copyright (C) 1997-2000 Jakub Jelinek (jakub@redhat.com)
* Copyright (C) 1998 Eddie C. Dost (ecd@skynet.be)
* Copyright (C) 2001,2002 Andi Kleen, SuSE Labs
* Copyright (C) 2003 Pavel Machek (pavel@suse.cz)
*
* These routines maint... | mit |
StarbuckBG/BTCGPU | src/qt/locale/bitcoin_hi_IN.ts | 15201 | <TS language="hi_IN" version="2.1">
<context>
<name>AddressBookPage</name>
<message>
<source>Right-click to edit address or label</source>
<translation>पते या लेबल को संपादित करने के लिए राइट-क्लिक करें</translation>
</message>
<message>
<source>Create a new address</source>
... | mit |
jennyheath/lions-share | vendor/bundle/ruby/2.1.0/gems/puma-2.12.3/README.md | 13538 | # Puma: A Ruby Web Server Built For Concurrency
[](https://gitter.im/puma/puma?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) [](http://travis-ci.org/puma/puma) [ { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } };
var Test = function Test() {
_classCallCheck(this, Test);
arr.map(x => x * x);
}; | mit |
fhijaz/Graphite | tests/unit/cond/cond_test.c | 3070 | /****************************************************
* This is a test that will test condition variables*
****************************************************/
#include <stdio.h>
#include <pthread.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <fcntl.h>
#include "capi.h"
#include "mcp_... | mit |
cdnjs/cdnjs | ajax/libs/simple-icons/1.9.9/logstash.min.js | 369 | module.exports={title:"Logstash",hex:"005571",source:"https://www.elastic.co/brand",svg:'<svg aria-labelledby="simpleicons-logstash-icon" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title id="simpleicons-logstash-icon">Logstash icon</title><path d="M12.6 7.2V24c-5.2 0-10.8-4-10.8-9.3V0h3.6c3.8 0 ... | mit |
cdnjs/cdnjs | ajax/libs/ckeditor/4.17.2/plugins/imagebase/lang/en-au.min.js | 89 | CKEDITOR.plugins.setLang("imagebase","en-au",{captionPlaceholder:"Enter image caption"}); | mit |
cdnjs/cdnjs | ajax/libs/deeplearn/0.6.0-alpha6/contrib/data/datasource.js | 205 | "use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var DataSource = (function () {
function DataSource() {
}
return DataSource;
}());
exports.DataSource = DataSource;
| mit |
NounVannakGitHub/Java-Tutorial-Vollegen | MultiLanguage/src/multilanguage/ApplicationActionBarAdvisor.java | 1642 | package multilanguage;
import org.eclipse.jface.action.IMenuManager;
import org.eclipse.jface.action.MenuManager;
import org.eclipse.ui.IWorkbenchActionConstants;
import org.eclipse.ui.IWorkbenchWindow;
import org.eclipse.ui.actions.ActionFactory;
import org.eclipse.ui.actions.ActionFactory.IWorkbenchAction;
import or... | epl-1.0 |
sleekmason/LG-V510-Kitkat | arch/arm/mach-pxa/include/mach/trizeps4.h | 5077 | /************************************************************************
* Include file for TRIZEPS4 SoM and ConXS eval-board
* Copyright (c) Jürgen Schindele
* 2006
************************************************************************/
/*
*/
#ifndef _TRIPEPS4_H_
#define _TRIPEPS4_H_
/* ... | gpl-2.0 |
rimistri/mediatek | mt6732/mediatek/platform/mt6752/kernel/core/mt_clkmgr.c | 117521 | #include <linux/kernel.h>
#include <linux/module.h>
#include <linux/types.h>
#include <linux/delay.h>
#include <linux/list.h>
#include <linux/slab.h>
#include <linux/spinlock.h>
#include <linux/proc_fs.h>
#include <linux/seq_file.h>
#include <asm/uaccess.h>
#include <linux/device.h>
#include <linux/platform_device.h>
#... | gpl-2.0 |
tobiasbuhrer/tobiasb | web/core/modules/language/tests/src/Kernel/LanguageConfigFactoryOverrideTest.php | 1290 | <?php
namespace Drupal\Tests\language\Kernel;
use Drupal\language\Entity\ConfigurableLanguage;
use Drupal\KernelTests\KernelTestBase;
/**
* Tests \Drupal\language\Config\LanguageConfigFactoryOverride.
*
* @group language
*/
class LanguageConfigFactoryOverrideTest extends KernelTestBase {
/**
* Modules to e... | gpl-2.0 |
godvmxi/os_30_cn | project/day_23/int.c | 1420 | /* ==================================================================
×¢ÊÍ£ºÕ¬
ʱ¼ä£º2013Äê2ÔÂ22ÈÕ
¸ÃÎļþÖж¨ÒåÁËÓëÖжÏÓйصĺ¯Êý
================================================================== */
#include "bootpack.h"
#include <stdio.h>
/*
¹ØÓÚ8259AµÄÏà¹ØÄÚÈݿɲο¼ÕÔ²©Ê¿µÄ¡¶Linux ÄÚºËÍêÈ«ÆÊÎö¡ª¡ª»ùÓÚ0.11ÄÚ... | gpl-2.0 |
golismero/golismero | tools/sqlmap/plugins/generic/search.py | 26113 | #!/usr/bin/env python
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)
See the file 'doc/COPYING' for copying permission
"""
from lib.core.agent import agent
from lib.core.common import arrayizeValue
from lib.core.common import Backend
from lib.core.common import filterPairValues
from lib.core.commo... | gpl-2.0 |
yeKcim/warmux | trunk/build/symbian/lib/stlport/src/num_put_float.cpp | 34762 | /*
* Copyright (c) 1999
* Silicon Graphics Computer Systems, Inc.
*
* Copyright (c) 1999
* Boris Fomitchev
*
* This material is provided "as is", with absolutely no warranty expressed
* or implied. Any use is at your own risk.
*
* Permission to use or copy this software for any purpose is hereby gra... | gpl-2.0 |