code
stringlengths
3
1.01M
repo_name
stringlengths
5
116
path
stringlengths
3
311
language
stringclasses
30 values
license
stringclasses
15 values
size
int64
3
1.01M
package cn.edu.sdut.softlab.oopbasic.objref; /** * Created by subaochen on 17-2-26. */ public class Client1 { public static void main(String[] args) { Person zhangsan1 = new Person("zhangsan","123"); Person zhangsan2 = new Person("zhangsan","123"); Person zhangsan3 = zhangsan1; System.out.println("zhangsan1...
JamesLiAndroid/java-tutorial
guide/code/oopbasic/src/cn/edu/sdut/softlab/oopbasic/objref/Client1.java
Java
apache-2.0
450
/* * 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/avro
lang/java/avro/src/main/java/org/apache/avro/Conversions.java
Java
apache-2.0
10,400
REPO = git@github.com:twitter/hogan.js.git BUILD := build VERSION = ${shell node -e 'var s = JSON.parse(require("fs").readFileSync("package.json").toString()).version; console.log(s.substring(0, s.indexOf("-")));'} # # Run command line tests # test: @ node test/index.js # # Run Mustache spec tests # spec: @ node te...
lianying/some
src/main/webapp/static/bootstrap/2.0.4/docs/build/node_modules/hogan.js/Makefile
Makefile
apache-2.0
1,262
/* Copyright 2020 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...
annarev/tensorflow
tensorflow/lite/micro/micro_allocator_test.cc
C++
apache-2.0
39,778
var controllers = require('../model/backend-controllers-manager'); var mongoose = require('../model/backend-database').mongoose; var generatePassword = require("password-maker"); //var User = mongoose.model('User'); var promise = require('../model/utils').promise; var validate = require('../model/validator').validate; ...
javimosch/bastack
lib/backend/deprecated/controllers/diags-user-controller.js
JavaScript
apache-2.0
17,489
package org.apache.tapestry5.internal.plastic; import org.apache.tapestry5.internal.plastic.asm.tree.AnnotationNode; import org.apache.tapestry5.plastic.MethodParameter; import java.util.List; class MethodParameterImpl extends PlasticMember implements MethodParameter { private final String type; private fin...
apache/tapestry-5
plastic/src/main/java/org/apache/tapestry5/internal/plastic/MethodParameterImpl.java
Java
apache-2.0
786
/** * FreeRDP: A Remote Desktop Protocol Implementation * Clipboard Virtual Channel * * Copyright 2009-2011 Jay Sorg * Copyright 2010-2011 Vic Lee * * 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 th...
vworkspace/FreeRDP
channels/cliprdr/client/cliprdr_main.c
C
apache-2.0
28,694
/* * Copyright (c) 2010 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 * * Unless required by app...
jamesanto/kite-test
src/main/java/org/zkybase/kite/AbstractGuard.java
Java
apache-2.0
1,275
#!/usr/bin/env bash # 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 b...
rhuss/gofabric8
vendor/github.com/google/cadvisor/build/integration.sh
Shell
apache-2.0
991
/* * Copyright (c) 2019 STMicroelectronics * * SPDX-License-Identifier: Apache-2.0 */ /* SoC level DTS fixup file */ #define DT_NUM_IRQ_PRIO_BITS DT_ARM_V7M_NVIC_E000E100_ARM_NUM_IRQ_PRIORITY_BITS #define DT_GPIO_STM32_GPIOA_BASE_ADDRESS \ DT_ST_STM32_GPIO_50002000_BASE_ADDRESS #define DT_GPIO_STM32_...
ldts/zephyr
soc/arm/st_stm32/stm32mp1/dts_fixup.h
C
apache-2.0
12,870
package main import ( "crypto/x509" "encoding/json" "encoding/pem" "errors" "fmt" "io" "io/ioutil" "net/http" "os" "strings" "github.com/dustinkirkland/golang-petname" "github.com/gorilla/websocket" log "gopkg.in/inconshreveable/log15.v2" "github.com/lxc/lxd/lxd/archive" "github.com/lxc/lxd/lxd/backup...
lxc/lxd
lxd/instances_post.go
GO
apache-2.0
34,848
# If you are in a hurry For language-specific installation instructions for gRPC runtime, please refer to these documents * [C++](examples/cpp): Currently to install gRPC for C++, you need to build from source as described below. * [C#](src/csharp): NuGet package `Grpc` * [Go](https://github.com/grpc/grpc-go): `go...
yang-g/grpc
INSTALL.md
Markdown
apache-2.0
4,522
/* * Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package com.sun.corba.se.impl.resolver; import java.util.List ; import java.util.Map ; import java.uti...
wangsongpeng/jdk-src
src/main/java/com/sun/corba/se/impl/resolver/INSURLOperationImpl.java
Java
apache-2.0
12,101
/* ==================================================================== 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 Y...
tonyqus/npoi
ooxml/XSSF/UserModel/XSSFChartSheet.cs
C#
apache-2.0
3,555
/* * * 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 n...
prasi-in/geode
geode-pulse/src/main/java/org/apache/geode/tools/pulse/internal/service/ClusterMembersRGraphService.java
Java
apache-2.0
13,585
# 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 t...
briancurtin/rackspace-sdk-plugin
rackspace/profile.py
Python
apache-2.0
1,044
/** * Copyright 2014 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 appli...
naskogithub/google-api-nodejs-client
test/test.query.js
JavaScript
apache-2.0
2,474
# Copyright (C) 2013-2015 Nippon Telegraph and Telephone Corporation. # Copyright (C) 2013-2015 YAMAMOTO Takashi <yamamoto at valinux co jp> # # 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 # ...
Tesi-Luca-Davide/ryu
ryu/ofproto/oxm_fields.py
Python
apache-2.0
13,622
package com.olegych.scastie.web.oauth2 import com.olegych.scastie.api.User import akka.http.scaladsl._ import server._ import com.softwaremill.session._ import SessionDirectives._ import SessionOptions._ import scala.concurrent.ExecutionContext class UserDirectives( session: GithubUserSession )(implicit val ex...
scalacenter/scastie
server/src/main/scala/com.olegych.scastie.web/oauth2/UserDirectives.scala
Scala
apache-2.0
486
/* Copyright 2011 Michael Edwards 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 ...
photomoose/Glass.Sitecore.Mapper
Source/Glass.Sitecore.Mapper/Proxies/ProxyGenerator.cs
C#
apache-2.0
1,832
# # Cookbook Name:: coopr_hosts # Attributes:: default # # Copyright © 2013-2015 Cask Data, 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...
caskdata/coopr-provisioner
lib/provisioner/worker/plugins/automators/chef_solo_automator/resources/cookbooks/coopr_hosts/attributes/default.rb
Ruby
apache-2.0
807
### Prerequisites * Azure SDK 2.8 * Azure Compute Emulator v2.8 ### How to run * Build solution and make sure there is no build errors due to missing packages * Choose Deployment project to be a "Startup project" * Hit F5 to deploy everything into emulator * In compute emulator you should see 2 roles: Client (web ro...
AntyaDev/Orleankka
Source/Example.Azure.Cluster/README.md
Markdown
apache-2.0
1,638
/** * All channels used by angular's WebWorker components are listed here. * You should not use these channels in your application code. */ export const SETUP_CHANNEL = "ng-WebWorkerSetup"; export const RENDERER_CHANNEL = "ng-Renderer"; export const XHR_CHANNEL = "ng-XHR"; export const EVENT_CHANNEL = "ng-events"; /...
aayushkapoor206/whatshot
node_modules/angular2/es6/prod/src/web_workers/shared/messaging_api.js
JavaScript
apache-2.0
361
/********************************************************************** * * stopword.c * * Author: Stephen V. Rice * * Copyright 1996 The Board of Regents of the Nevada System of Higher * Education, on behalf, of the University of Nevada, Las Vegas, * Information Science Research Institute * * Licensed un...
SmartDOC-MOC/ocr-evaluation-tools
Modules/stopword.c
C
apache-2.0
3,425
/* * %CopyrightBegin% * * Copyright Ericsson AB 2001-2020. 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 ...
electricimp/otp
lib/erl_interface/test/ei_print_SUITE_data/ei_print_test.c
C
apache-2.0
7,718
/* * 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 ...
softpymesJeffer/incubator-guacamole-client
guacamole/src/main/webapp/app/rest/services/sharingProfileService.js
JavaScript
apache-2.0
7,066
// Copyright 2019 Istio 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 i...
smawson/istio
pkg/test/conformance/constraint/exactlyone.go
GO
apache-2.0
1,416
/* * 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.ext.mysql/src/org/jkiss/dbeaver/ext/mysql/model/plan/MySQLPlanNode.java
Java
apache-2.0
971
using System; using System.Collections.Generic; using System.Linq; using System.Text; using NUnit.Framework; using Sage.Platform.Application; using OpenSlx.Lib.Utility; namespace OpenSlx.Lib.UnitTest { [SetUpFixture] public class TestSuiteSetup { SlxAppSetup _setup; ...
ngaller/OpenSlx
OpenSlx.Lib.UnitTest/TestSuiteSetup.cs
C#
apache-2.0
1,401
package org.elasticsearch.examples.nativescript.script; import static org.elasticsearch.index.query.QueryBuilders.matchAllQuery; import static org.elasticsearch.test.hamcrest.ElasticsearchAssertions.assertAcked; import static org.elasticsearch.test.hamcrest.ElasticsearchAssertions.assertNoFailures; import static org.h...
AndreiArion/elasticsearch-loghash-plugin
src/test/java/org/elasticsearch/examples/nativescript/script/RandomSortScriptTests.java
Java
apache-2.0
4,084
package com.yammer.metrics.scala import java.util.concurrent.TimeUnit import com.yammer.metrics.Metrics import com.yammer.metrics.core.{MetricsRegistry, Gauge} /** * A helper class for creating and registering metrics. */ class MetricsGroup(val klass: Class[_], val metricsRegistry: MetricsRegistry = Metrics.default...
germanborbolla/metrics-scala
src/main/scala/com/yammer/metrics/scala/MetricsGroup.scala
Scala
apache-2.0
2,766
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" con...
Samsung/ColorPatternTracker
PatternTracker/doxygen/html/classpatterntracker_1_1_color_grid_tracker_1_1_paird.html
HTML
apache-2.0
11,689
<!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 (9-Debian) on Thu Sep 28 23:13:23 GMT 2017 --> <title>Uses of Class dollar.internal.runtime.script.parser.SymbolDef (dollar-script 0.4.5195 API)</titl...
neilellis/dollar
docs/dev/dollar-script/apidocs/dollar/internal/runtime/script/parser/class-use/SymbolDef.html
HTML
apache-2.0
12,675
-------------------------------------------------------------------------------- ## Treebank Statistics (UD_Danish) This feature is language-specific. It occurs with 2 different values: `Arch`, `Form`. 36 tokens (0%) have a non-empty value of `Style`. 6 types (0%) occur at least once with a non-empty value of `Sty...
fginter/docs-fginterfork
_includes/stats/da/feat/Style.md
Markdown
apache-2.0
1,871
/* 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...
ghchinoy/tensorflow
tensorflow/c/c_api_test.cc
C++
apache-2.0
92,851
/* 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...
stefan-ziel/Activiti
modules/activiti-engine/src/main/java/org/activiti/engine/identity/GroupQuery.java
Java
apache-2.0
2,035
// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
googleapis/google-cloud-dotnet
apis/Google.Cloud.Vision.V1/Google.Cloud.Vision.V1.GeneratedSnippets/ProductSearchClient.DeleteReferenceImageAsyncSnippet.g.cs
C#
apache-2.0
1,731
from plow.gui.manifest import QtCore, QtGui from plow.gui.util import formatDateTime, formatDuration __all__ = [ "Text", "Number", "Decimal", "DateTime", "PillWidget", "Checkbox" ] class FormWidget(QtGui.QWidget): """ The base class for all form widgets. """ __LOCKED_PIX = None...
chadmv/plow
lib/python/plow/gui/form/fwidgets.py
Python
apache-2.0
4,081
package com.github.tomakehurst.wiremock.standalone; import com.github.tomakehurst.wiremock.core.MappingsSaver; public interface MappingsSource extends MappingsLoader, MappingsSaver { }
planetakshay/wiremock
src/main/java/com/github/tomakehurst/wiremock/standalone/MappingsSource.java
Java
apache-2.0
187
/* * Licensed to ElasticSearch and Shay Banon 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...
andrewvc/elasticsearch
src/main/java/org/elasticsearch/monitor/fs/FsStats.java
Java
apache-2.0
9,609
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_29) on Mon Nov 26 17:21:33 MSK 2012 --> <TITLE> org.apache.poi.hssf Class Hierarchy (POI API Documentation) </TITLE> <META NAME="date" CONT...
brenthand/Panda
poi-3.9/docs/apidocs/org/apache/poi/hssf/package-tree.html
HTML
apache-2.0
6,831
/* --------------------------------------------------------------------------- Open Asset Import Library - Java Binding (jassimp) --------------------------------------------------------------------------- Copyright (c) 2006-2012, assimp team All rights reserved. Redistribution and use of this software in source and...
google/filament
third_party/libassimp/port/jassimp/jassimp/src/jassimp/Jassimp.java
Java
apache-2.0
12,142
#!/usr/bin/env python # # Copyright 2007 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 o...
dvliman/jaikuengine
.google_appengine/google/appengine/tools/devappserver2/module_test.py
Python
apache-2.0
90,007
/* * Copyright 2013 Palantir Technologies, 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 l...
nikklassen/tslint
test/rules/whitespaceRuleTests.ts
TypeScript
apache-2.0
5,867
# # This file is part of pyasn1 software. # # Copyright (c) 2005-2019, Ilya Etingof <etingof@gmail.com> # License: http://snmplabs.com/pyasn1/license.html # from pyasn1 import debug from pyasn1 import error from pyasn1.codec.ber import eoo from pyasn1.compat.integer import from_bytes from pyasn1.compat.octets import oc...
kawamon/hue
desktop/core/ext-py/pyasn1-0.4.6/pyasn1/codec/ber/decoder.py
Python
apache-2.0
58,050
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"> <html> <head> <title>ILoggerProvider Members Public Methods</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="generator" content="Doc-O-Matic" /> <meta http-equiv="Content-Style-Type" content="text/css" /> ...
cityindex-attic/CIAPI.CS
src/packages/Lightstreamer 4.2 Client/sdk_client_windows_phone/doc/API-reference/_!!MEMBEROVERVIEW_Lightstreamer_DotNet_Client_Log_ILoggerProvider_14_Public_Methods.html
HTML
apache-2.0
4,336
/* * 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 ...
sandeep-n/incubator-systemml
src/main/java/org/apache/sysml/runtime/matrix/data/SparseBlockFactory.java
Java
apache-2.0
2,859
/* $NetBSD: bcm2835_spireg.h,v 1.1 2013/01/05 20:31:23 jakllsch Exp $ */ /* * Copyright (c) 2012 Jonathan A. Kollasch * 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...
execunix/vinos
sys/arch/arm/broadcom/bcm2835_spireg.h
C
apache-2.0
2,699
## Vision API Web Demo * Navigate to [Cloud Vision API](https://cloud.google.com/vision/#vision-api-demo) * Find an image on the web like this one showing [Purdue university](http://www.purdue.edu/purdue/images/audience/about-banner.jpg) * Upload the image to the web demo * Analyze the result that is returned (ob...
GoogleCloudPlatform/training-data-analyst
courses/data-to-insights/demos/vision-api.md
Markdown
apache-2.0
358
# Copyright (c) 2019 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 app...
tensor-tang/Paddle
python/paddle/fluid/contrib/tests/test_distributed_reader.py
Python
apache-2.0
1,305
@echo off rem rem rem Licensed to the Apache Software Foundation (ASF) under one or more rem contributor license agreements. See the NOTICE file distributed with rem this work for additional information regarding copyright ownership. rem The ASF licenses this file to You under the Apache License, Version 2...
davsclaus/jube
images/fabric8/karaf-2.4/src/main/overlay/bin/shell.bat
Batchfile
apache-2.0
4,493
package org.carlspring.strongbox.providers.io; import org.carlspring.strongbox.storage.repository.Repository; @FunctionalInterface public interface LayoutFileSystemFactory { LayoutFileSystem create(Repository repository); }
sbespalov/strongbox
strongbox-storage/strongbox-storage-api/src/main/java/org/carlspring/strongbox/providers/io/LayoutFileSystemFactory.java
Java
apache-2.0
236
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>XML::setName() \ Language (API) \ Processing 2+</title> <link rel="icon" href="/favicon.ico" type="image/x-icon" /> <me...
evgeniy-storozhenko/parking-finder
3rdParty/processing-3.0.2-windows64/modes/java/reference/XML_setName_.html
HTML
apache-2.0
6,937
# frozen_string_literal: true # Cloud Foundry Java Buildpack # Copyright 2013-2019 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....
rakutentech/java-buildpack
lib/java_buildpack/framework/multi_buildpack.rb
Ruby
apache-2.0
9,317
/* Copyright (c) 2018 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 agr...
reyoung/Paddle
paddle/fluid/inference/analysis/dfg_graphviz_draw_pass.h
C
apache-2.0
2,375
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using T4TS.Example.Models; using T4TS.Tests.Fixtures.Basic; namespace T4TS.Tests.Fixtures.Partial { [TypeScriptInterface] public partial class PartialModel { public BasicModel OnPart...
dolly22/t4ts
T4TS.Tests/Fixtures/Partial/PartialModel.cs
C#
apache-2.0
492
/* * 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 ...
pivotal-amurmann/geode
geode-cq/src/test/java/org/apache/geode/cache/query/cq/dunit/CqSecurityAuthorizedUserDUnitTest.java
Java
apache-2.0
10,083
/* * 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 u...
mythguided/hydra
hydra-task/src/main/java/com/addthis/hydra/task/output/AbstractOutputWriter.java
Java
apache-2.0
14,218
package fr.galaisen.groomreader; import android.app.Application; import android.test.ApplicationTestCase; /** * <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a> */ public class ApplicationTest extends ApplicationTestCase<Application> { public ApplicationTest() { ...
Fifoxy/groom-android
app/src/androidTest/java/com/hufi/taxmanreader/ApplicationTest.java
Java
apache-2.0
354
'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; function getDecimals(n) { n = n + ''; var i = n.indexOf('.'); return (i == -1) ? 0 : n.length - i - 1; } function getVF(n, opt_pr...
yoyocms/YoYoCms.AbpProjectTemplate
src/YoYoCms.AbpProjectTemplate.Web/Scripts/i18n/angular-locale_en-mt.js
JavaScript
apache-2.0
2,717
<!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_45) on Sat Oct 15 09:06:18 PDT 2016 --> <title>org.apache.derby.security (Apache Derby 10.13 API Documentation)</title> <meta name="date" conte...
sadrayan/topic_web
db/db-derby-10.13.1.1-bin/javadoc/org/apache/derby/security/package-frame.html
HTML
apache-2.0
886
/* * #%L * Wildfly Camel :: Testsuite * %% * Copyright (C) 2013 - 2016 RedHat * %% * 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 ...
tadayosi/wildfly-camel
itests/standalone/docker/src/test/java/org/wildfly/camel/test/nats/NatsIntegrationTest.java
Java
apache-2.0
4,235
# Encoding: utf-8 # # This is auto-generated code, changes will be overwritten. # # Copyright:: Copyright 2015, Google Inc. All Rights Reserved. # License:: Licensed under the Apache License, Version 2.0. # # Code generated by AdsCommon library 0.11.0 on 2015-10-08 10:50:18. require 'ads_common/savon_service' require ...
Tei1988/google-api-ads-ruby
adwords_api/lib/adwords_api/v201509/campaign_criterion_service.rb
Ruby
apache-2.0
1,376
/** * <copyright> * </copyright> * * $Id$ */ package org.wso2.developerstudio.eclipse.gmf.esb; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Cache Mediator</b></em>'. * <!-- end-user-doc --> * * <p> * The following features are supported: * </p> * <ul> * <li>{@link org.ws...
prabushi/devstudio-tooling-esb
plugins/org.wso2.developerstudio.eclipse.gmf.esb/src/org/wso2/developerstudio/eclipse/gmf/esb/CacheMediator.java
Java
apache-2.0
28,590
/* * 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 n...
mihbor/kafka
streams/src/test/java/org/apache/kafka/streams/kstream/TimeWindowsTest.java
Java
apache-2.0
6,907
""" Plots a scatter plot of 2 metrics provided. Data could be given from postgres or a csv file. """ from matplotlib.colors import LogNorm from mpl_toolkits.mplot3d import Axes3D import sys import numpy as np import argparse import matplotlib import matplotlib.pyplot as plt import pandas as pd from common import add_db...
kexinrong/macrobase
tools/py_analysis/plot_distribution.py
Python
apache-2.0
7,071
/* * Copyright 2012-2016 bambooCORE, greenstep of copyright Chen Xin Nien * * 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 * * ...
quangnguyen9x/bamboobsc_quangnv
gsbsc-standard/src/com/netsteadfast/greenstep/bsc/dao/impl/DegreeFeedbackProjectDAOImpl.java
Java
apache-2.0
1,978
package countword; import backtype.storm.Config; import backtype.storm.LocalCluster; import backtype.storm.topology.TopologyBuilder; import backtype.storm.tuple.Fields; import countword.bolts.WordCounter; import countword.bolts.WordNormalizer; import countword.spouts.SignalsSpout; import countword.spouts.WordReader; ...
c3p0hz/microscope
microscope-storm/src/test/java/countword/TopologyMain.java
Java
apache-2.0
1,368
/** * Copyright (c) 2009 - 2013 AppWork UG(haftungsbeschränkt) <e-mail@appwork.org> * * This file is part of org.appwork.utils.swing.dialog.dimensor * * This software is licensed under the Artistic License 2.0, * see the LICENSE file or http://www.opensource.org/licenses/artistic-license-2.0.php * for d...
friedlwo/AppWoksUtils
src/org/appwork/utils/swing/dialog/dimensor/RememberLastDialogDimension.java
Java
artistic-2.0
1,600
import { RouterConfig } from '@angular/router'; import { HeroesComponent } from '../components/hero/heroes.component'; import { HeroDetailComponent } from "../components/hero/./hero-detail.component"; import { NewHeroDetailComponent } from "../components/hero/...
automotify/de.bht.ng2.DieInventarListe
app/routes/heroes.routes.ts
TypeScript
artistic-2.0
563
export function timeout(duration = 0) { return new Promise((resolve, reject) => { setTimeout(resolve, duration); }) }
priyatam/es6fp
lib/promises.js
JavaScript
artistic-2.0
134
--- title: "_ChemmineR_: Cheminformatics Toolkit for R" author: "Authors: Kevin Horan, Yiqun Cao, Tyler Backman, [Thomas Girke](mailto:thomas.girke@ucr.edu)" date: "Last update: 06 March, 2016" package: "ChemmineR 2.23.1" output: BiocStyle::html_document: toc: true toc_depth: 3 fig_caption: yes fontsize...
tgirke/manuals
vignettes/08_ChemmineR/ChemmineR.utf8.md
Markdown
artistic-2.0
104,746
package local import ( "errors" "fmt" "io" "io/ioutil" "os" "path/filepath" "sort" "github.com/restic/restic/backend" ) var ErrWrongData = errors.New("wrong data returned by backend, checksum does not match") type Local struct { p string } // Open opens the local backend at dir. func Open(dir string) (*Lo...
intfrr/restic
backend/local/local.go
GO
bsd-2-clause
6,514
/* * Copyright (C) 2009 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 conditio...
ssaroha/node-webrtc
third_party/webrtc/include/chromium/src/third_party/WebKit/public/web/WebKit.h
C
bsd-2-clause
3,845
To use builtin contracts you can refer them with `Contracts::*`: ```ruby Contract Contracts::Num => Contracts::Maybe(Contracts::Num) ``` It is recommended to use a short alias for `Contracts`, for example `C`: ```ruby C = Contracts Contract C::Num => C::Maybe(C::Num) ``` It is possible to `include Contracts` and r...
smt116/contracts.ruby
features/builtin_contracts/README.md
Markdown
bsd-2-clause
612
Copyright (c) 2013, Ryan Popa 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 conditions and the following disclai...
Mov1s/RafiBot
LICENSE.md
Markdown
bsd-2-clause
1,292
#ifndef Z3_H #define Z3_H #include "../SMT.h" #include <memory> #include <vector> #include <z3++.h> namespace SMT { using namespace z3; // class Z3Expr { // std::shared_ptr<> // } class Z3Solver : public SMTFactory<expr, expr> { public: static inline const std::string solver_n...
lamthientruc/vac
src/VACSAT/src/SMTSolvers/Z3.h
C
bsd-2-clause
2,297
/*- * Copyright 1998 Massachusetts Institute of Technology * * Permission to use, copy, modify, and distribute this software and * its documentation for any purpose and without fee is hereby * granted, provided that both the above copyright notice and this * permission notice appear in all copies, that both the a...
dplbsd/soc2013
head/sys/i386/include/nexusvar.h
C
bsd-2-clause
1,880
/* See LICENSE file for copyright and license details. */ #define ENV_SUPATH "/bin" #define ENV_PATH "/bin" #define PW_CIPHER "$6$" /* SHA-512 */ #undef UTMP_PATH #define UTMP_PATH "/var/run/utmp" #undef BTMP_PATH #define BTMP_PATH "/var/log/btmp" #undef WTMP_PATH #define WTMP_PATH "/var/log/wtmp"
mikedlowis-prototypes/albase
source/ubase/config.h
C
bsd-2-clause
300
PROGRAM test_abstraction8 USE mo_column_extra , ONLY: compute_one REAL :: q ( 1 : 20 , 1 : 60 ) REAL :: t ( 1 : 20 , 1 : 60 ) INTEGER :: nproma INTEGER :: nz INTEGER :: p nproma = 20 nz = 60 DO p = 1 , nproma , 1 q ( p , 1 ) = 0.0 t ( p , 1 ) = 0.0 END DO !$omp target data map(alloc:q(:,:),t(:,:)) !$omp ...
clementval/claw-compiler
test/claw/sca/forward_dependencies/reference_main_omp.f90
FORTRAN
bsd-2-clause
558
# Perforce Triggered Build Perforce can trigger Jenkins to build based on an event, such as a submitted change. To enable builds to be triggered by Perforce, select **Perforce triggered build** in the Freestyle job page. A triggered build also requires an administrator to add a Perforce trigger to the Perforce serve...
jenkinsci/p4-plugin
docs/BUILDTRIGGERPERFORCE.md
Markdown
bsd-2-clause
2,490
/* * Copyright (c) 2013, Jay Elliott * 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 conditions an...
snickerbockers/image_loader
include/error.h
C
bsd-2-clause
1,739
cask 'menubar-stats' do version '3.0' sha256 '2e4987f5479a20c1279612f32a3d2a77f531e83106105ca91bfd83215417f621' url 'https://seense.com/menubarstats/updateapp/mbs.zip' appcast 'https://www.seense.com/menubarstats/updateapp/appcast.xml' name 'MenuBar Stats' homepage 'https://seense.com/menubarstats/' dep...
jasmas/homebrew-cask
Casks/menubar-stats.rb
Ruby
bsd-2-clause
379
/* ---------------------------------------------------------------------------- */ /* Atmel Microcontroller Software Support */ /* SAM Software Package License */ /* --------------------------------------------------------------------...
AtmelUniversityFrance/SAM4E-XPRO
Examples/CMSIS/Device/ATMEL/sam4sp/source/system_sam4sp.c
C
bsd-2-clause
7,240
/* * Copyright (c) 1998 Daniel Eischen <eischen@vigrid.com>. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * noti...
dplbsd/zcaplib
head/lib/libkse/thread/thr_priority_queue.c
C
bsd-2-clause
9,144
require_relative "shared_examples/requires_cask_token" require_relative "shared_examples/invalid_option" describe Hbc::CLI::Uninstall, :cask do it_behaves_like "a command that requires a Cask token" it_behaves_like "a command that handles invalid options" it "displays the uninstallation progress" do caffein...
ilovezfs/brew
Library/Homebrew/test/cask/cli/uninstall_spec.rb
Ruby
bsd-2-clause
5,629
"""Implementation of basic magic functions.""" import argparse import textwrap import io import sys from pprint import pformat from IPython.core import magic_arguments, page from IPython.core.error import UsageError from IPython.core.magic import Magics, magics_class, line_magic, magic_escapes from IPython.utils.tex...
unnikrishnankgs/va
venv/lib/python3.5/site-packages/IPython/core/magics/basic.py
Python
bsd-2-clause
21,310
#include "cran.h" void Rprintf2(FILE * stream, const char *format, ...) { va_list(ap); va_start(ap, format); Rprintf(format, ap); va_end(ap); }
hadley/readxl
src/cran.c
C
bsd-2-clause
153
/*- * Copyright (c) 2011 The FreeBSD Foundation * All rights reserved. * * This software was developed by David Chisnall under sponsorship from * the FreeBSD Foundation. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions *...
dplbsd/soc2013
head/lib/libc/locale/xlocale_private.h
C
bsd-2-clause
7,969
/*- * Copyright (C) 2006-2007 Semihalf, Piotr Kruszynski * 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, ...
dplbsd/soc2013
head/sys/dev/tsec/if_tsec.h
C
bsd-2-clause
11,770
create table t (re float, im float); \set file `echo "'$TMPDIR/examples/test5000.avro'"` copy t from :file with parser AvroParser() no commit; select * from t; drop table t;
vertica/Vertica-Extension-Packages
avro_parser/examples/test5000.sql
SQL
bsd-2-clause
177
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef ASH_MUS_WINDOW_MANAGER_H_ #define ASH_MUS_WINDOW_MANAGER_H_ #include <stdint.h> #include <memory> #include <set> #include "base/macros.h" #incl...
ssaroha/node-webrtc
third_party/webrtc/include/chromium/src/ash/mus/window_manager.h
C
bsd-2-clause
6,409
// Copyright (c) 2003-present, Jodd Team (http://jodd.org) // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // 1. Redistributions of source code must retain the above copyright notice,...
tempbottle/jodd
jodd-lagarto-web/src/main/java/jodd/htmlstapler/HtmlStaplerFilter.java
Java
bsd-2-clause
7,417
/*- * Copyright (c) 2003-2009 RMI Corporation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list o...
diegows/wanproxy
network/uinet/sys/mips/rmi/dev/nlge/if_nlge.h
C
bsd-2-clause
68,836
using System; using System.Collections.Generic; using System.Reflection; using UnityEngine; namespace SomaSim { public class UnitTestRunner : MonoBehaviour { #if UNITY_EDITOR public void Start () { System.Diagnostics.Stopwatch timer = new System.Diagnostics.Stopwatch(); timer.S...
rzubek/UnityGameTools
Source/Testing/UnitTestRunner.cs
C#
bsd-2-clause
1,964
class EotUtils < Formula desc "Tools to convert fonts from OTF/TTF to EOT format" homepage "https://www.w3.org/Tools/eot-utils/" url "https://www.w3.org/Tools/eot-utils/eot-utilities-1.1.tar.gz" sha256 "4eed49dac7052e4147deaddbe025c7dfb404fc847d9fe71e1c42eba5620e6431" license "W3C" bottle do cellar :an...
rwhogg/homebrew-core
Formula/eot-utils.rb
Ruby
bsd-2-clause
1,522
# Fish-like fast/unobtrusive autosuggestions for zsh. # https://github.com/zsh-users/zsh-autosuggestions # v0.4.3 # Copyright (c) 2013 Thiago de Arruda # Copyright (c) 2016-2018 Eric Freese # # Permission is hereby granted, free of charge, to any person # obtaining a copy of this software and associated documentation #...
VerKnowSys/ServeD-OS
shell/zsh-autosuggestions/zsh-autosuggestions.zsh
Shell
bsd-2-clause
21,199
#ifndef _ACMIVIEW_H_ #define _ACMIVIEW_H_ #include "f4thread.h" #include "f4vu.h" #include "AcmiCam.h" #include "Graphics\Include\Tex.h" //////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////// ///////////////////...
markbb1957/FFalconSource
src/acmi/src/include/acmiview.h
C
bsd-2-clause
5,585
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>Ignite Tools: Presenter Class Reference</title> <link href="tabs.css" r...
jflasher/IgniteTools
DoxygenDocs.docset/html/interface_presenter.html
HTML
bsd-2-clause
8,769
# $FreeBSD: soc2013/dpl/head/lib/librt/Makefile 219027 2011-02-23 21:17:38Z dim $ LIB=rt SHLIB_MAJOR= 1 CFLAGS+=-I${.CURDIR}/../libc/include -I${.CURDIR} .ifndef NO_THREAD_STACK_UNWIND CFLAGS+=-fexceptions .endif CFLAGS+=-Winline -Wall DPADD= ${LIBPTHREAD} LDADD= -lpthread WARNS?= 2 SRCS+= aio.c mq.c sigev_thread.c ...
dplbsd/zcaplib
head/lib/librt/Makefile
Makefile
bsd-2-clause
402