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 |
|---|---|---|---|---|---|
<!DOCTYPE html>
<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>Delphi CodeCoverage Coverage Report</title>
<style type="text/css">
table {border-spacing:0; border-collapse:collapse;}
table, td, th {border: 1px solid black;}
td, th {background: white; margin: 0; paddin... | VSoftTechnologies/DelphiCodeCoverageExample | CodeCoverage/Output/Core.Card(Core.Card.pas).html | HTML | apache-2.0 | 8,101 |
package com.tms.entities;
import java.io.Serializable;
import java.util.Date;
/**
* Created by Evan on 2016/3/12.
*/
public class UserInfo implements Serializable {
private Integer id;
private String acctName;
private String userName;
private String fullName;
private String password;
pr... | EvilGreenArmy/tms | src/main/java/com/tms/entities/UserInfo.java | Java | apache-2.0 | 2,287 |
#!/usr/bin/env python3
"""
./e09asynctwostage.py http://camlistore.org 1 6
Found 10 urls
http://camlistore.org/ frequencies: [('camlistore', 13), ...]
...
First integer arg is depth, second is minimum word count.
"""
import re
from sys import argv
import asyncio
from e01extract import canonicalize
from e04twostage... | bslatkin/pycon2014 | e09asynctwostage.py | Python | apache-2.0 | 2,046 |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
//$CI = &get_instance();
class Checksum extends MY_Controller
{
public function __construct()
{
parent::__construct("Checksum");
}
public function createchecksum()
{
if (isset($_SESSION['token'])... | phongnguyenpro/furniture | application/controllers/Checksum.php | PHP | apache-2.0 | 883 |
// <copyright file="JsonConfigTests.cs" company="ClrCoder project">
// Copyright (c) ClrCoder project. All rights reserved.
// Licensed under the Apache 2.0 license. See LICENSE file in the project root for full license information.
// </copyright>
namespace ClrCoder.Tests.Json
{
using System;
using System.IO... | dmitriyse/ClrCoder | src/ClrCoder.Tests/Json/JsonConfigTests.cs | C# | apache-2.0 | 1,237 |
/**
* #-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
* This file is part of the LDP4j Project:
* http://www.ldp4j.org/
*
* Center for Open Middleware
* http://www.centeropenmiddleware.com/
* #-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
* ... | ldp4j/ldp4j | framework/application/api/src/test/java/org/ldp4j/application/ApplicationContextTest.java | Java | apache-2.0 | 17,332 |
<!doctype html>
<html>
<head>
<meta name="mobile-web-app-capable" content="yes">
<meta name="viewport" content="width=device-width">
<link href='http://fonts.googleapis.com/css?family=Audiowide' rel='stylesheet' type='text/css'>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>... | akjava/gwthtml5apps | war/jp/gridpaint.html | HTML | apache-2.0 | 1,246 |
/**
*
* Copyright (c) 2006-2017, Speedment, 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 requ... | Pyknic/CodeGen | src/main/java/com/speedment/common/codegen/internal/java/view/ClassOrInterfaceView.java | Java | apache-2.0 | 4,958 |
'use strict';
var path = require('path');
var conf = require('./gulp/conf');
var _ = require('lodash');
var wiredep = require('wiredep');
var pathSrcHtml = [
path.join(conf.paths.src, '/**/*.html')
];
function listFiles() {
var wiredepOptions = _.extend({}, conf.wiredep, {
dependencies: true,
devDepende... | alvaromamani/appDDHH | karma.conf.js | JavaScript | apache-2.0 | 2,705 |
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "libbel.h"
#include "bel-ast.h"
#include "bel-node-stack.h"
static const int set_start = 1;
static const int set_first_final = 33;
static const int set_error = 0;
static const int set_en_arguments = 4;
static const int set_en_term = 1;
bel_a... | nbargnesi/libbel | src/bel-parse-term.c | C | apache-2.0 | 45,422 |
package start
import (
"fmt"
"io"
"os"
"github.com/golang/glog"
"github.com/spf13/cobra"
kerrors "k8s.io/apimachinery/pkg/api/errors"
"k8s.io/kubernetes/pkg/kubectl/cmd/templates"
kcmdutil "k8s.io/kubernetes/pkg/kubectl/cmd/util"
"github.com/openshift/origin/pkg/cmd/flagtypes"
configapi "github.com/opensh... | sg00dwin/origin | pkg/cmd/server/start/start_controllers.go | GO | apache-2.0 | 3,267 |
/*
Copyright 2011-2014 Lukas Vlcek
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... | nishantsaini/bigdesk | _site/js/store/BigdeskStore.js | JavaScript | apache-2.0 | 13,702 |
/*
* Copyright 2012-2018 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | kdvolder/spring-boot | spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/endpoint/invoke/reflect/OperationMethodParameterTests.java | Java | apache-2.0 | 2,108 |
package org.leguan.usageindex;
import java.util.UUID;
public class UsageIndexMemoryItem {
public UUID id;
public String usage;
public String createdAt;
public String location;
public UsageIndexURL usageIndexUrl;
public String toString () {
return id.toString() + "-" + usage + "-" + createdAt + "... | moley/leguan | leguan-base/src/main/java/org/leguan/usageindex/UsageIndexMemoryItem.java | Java | apache-2.0 | 343 |
package br.com.caelum.leilao.dominio;
public class CriadorLeilao {
private Leilao leilao;
public CriadorLeilao para(String objetoLeilao) {
this.leilao = new Leilao(objetoLeilao);
return this;
}
public CriadorLeilao propoe(Usuario jose, double valorLance) {
this.leilao.propoe(new Lance(jose, valorLance));
... | wesleyegberto/courses-projects | java/java-tests/tdd-java/src/test/java/br/com/caelum/leilao/dominio/CriadorLeilao.java | Java | apache-2.0 | 390 |
/*
* Copyright (c) 2005-2014, 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.o... | johannnallathamby/product-is | modules/samples/identity-mgt/info-recovery-sample/src/main/webapp/assets/css/landing-page.css | CSS | apache-2.0 | 3,294 |
/*
USER: zobayer
TASK: MDIGITS
ALGO: recursion
*/
#include <stdio.h>
#include <string.h>
#include <math.h>
int p10[] = {1,10,100,1000,10000,100000,1000000,10000000,100000000};
void calc(int num, int p, int cnt[], int f)
{
int n, i;
n = num / p10[p];
for(i=0;i<n;i++)
cnt[i] += p10[p];
cnt[i] += num % p10[p] + 1... | pandian4github/competitive-programming | spojnew/zeronum-mdig.cpp | C++ | apache-2.0 | 920 |
#include "AutonDriveStraight.h"
#include <math.h>
// Used be constructed with (300,0.05,1,0,0,0)
AutonDriveStraight::AutonDriveStraight()
: PIDCommand(0.06, 0, 0.1)
, speed(0)
, goal(0)
, threshold(0)
, confirmTime(0)
, dAngle(0)
{
Requires(CommandBase::chassis);
}
void AutonDriveStraight::SetGoal(double dist,... | team3130/Kitbot-2015 | Kitbot/src/Commands/AutonDriveStraight.cpp | C++ | apache-2.0 | 2,253 |
#!/usr/bin/python
# Copyright 2014 IBM Corp
#
# 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... | litong01/python-monasca | kiloeyes/tests/setup_metrics.py | Python | apache-2.0 | 3,665 |
// Copyright 2016 InnerFunction 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 law or agreed to ... | innerfunction/SCFFLD-ios | SCFFLD/util.prev/IFLogger.h | C | apache-2.0 | 1,118 |
# AUTOGENERATED FILE
FROM balenalib/nanopc-t4-debian:jessie-build
ENV GO_VERSION 1.15.8
RUN mkdir -p /usr/local/go \
&& curl -SLO "https://storage.googleapis.com/golang/go$GO_VERSION.linux-arm64.tar.gz" \
&& echo "0e31ea4bf53496b0f0809730520dee98c0ae5c530f3701a19df0ba0a327bf3d2 go$GO_VERSION.linux-arm64.tar.gz" | ... | nghiant2710/base-images | balena-base-images/golang/nanopc-t4/debian/jessie/1.15.8/build/Dockerfile | Dockerfile | apache-2.0 | 1,998 |
//
// TestIndexViewController.h
// SimpleApp
//
// Created by 邬勇鹏 on 2018/5/10.
// Copyright © 2018年 wuyp. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface TestIndexViewController : UIViewController
@end
| CreazyShadow/SimpleDemo | SimpleApp/SimpleApp/自定义视图/滑动索引控件/TestIndexViewController.h | C | apache-2.0 | 230 |
nmeta.FlowsBackGridView = Backbone.View.extend({
initialize:function (options) {
// Specify columns that will be displayed in Backgrid:
var columns = [{
name: "timestamp",
label: "Timestamp",
editable: false,
// Extend UriCell to have timestamp custo... | mattjhayes/nmeta | nmeta/webUI/js/views/flows_backgrid_view.js | JavaScript | apache-2.0 | 2,980 |
# 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 the... | openstack/swift | test/unit/container/test_reconciler.py | Python | apache-2.0 | 96,529 |
package org.xtext.example.mydsl.ui.contentassist.antlr.internal;
// Hack: Use our own Lexer superclass by means of import.
// Currently there is no other way to specify the superclass for the lexer.
import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.Lexer;
import org.antlr.runtime.*;
import java.util.S... | adrian-herscu/experiments | language-workbenches/xtext/org.xtext.example.mydsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyDslLexer.java | Java | apache-2.0 | 30,792 |
<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8">
<title>模板信息--公共</title>
<link rel="shortcut icon" href="../../img/favicon.ico"/>
<link href="../../css/bootstrap.min.css" rel="stylesheet"/>
<style>
.print-btn {
position: fixed;
... | Harveychn/questionnaire | src/main/webapp/WEB-INF/view/qesTemplateManage/displayPubTemplate.html | HTML | apache-2.0 | 9,014 |
/*
* 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 ... | ntikhonov/ignite | modules/platforms/dotnet/Apache.Ignite.Core/Impl/PlatformJniTarget.cs | C# | apache-2.0 | 18,633 |
---
title: "Setup"
linkTitle: "Setup"
weight: 50
date: 2021-08-20
tags:
description: >
---
| gchq/stroom-docs | content/en/docs/install-guide/setup/_index.md | Markdown | apache-2.0 | 97 |
/**
* Copyright 2011 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 applic... | bricket/bricket | bricket-core/src/main/java/org/bricket/plugin/user/web/UserPageParameterDefinition.java | Java | apache-2.0 | 990 |
/*
* 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... | jexp/idea2 | java/java-impl/src/com/intellij/refactoring/typeCook/deductive/builder/Subtype.java | Java | apache-2.0 | 1,243 |
/*
* Copyright 2012-2017 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 "licen... | dagnir/aws-sdk-java | aws-java-sdk-emr/src/main/java/com/amazonaws/services/elasticmapreduce/model/transform/StepSummaryJsonUnmarshaller.java | Java | apache-2.0 | 3,640 |
# AUTOGENERATED FILE
FROM balenalib/imx8m-var-dart-fedora:36-build
ENV GO_VERSION 1.16.14
RUN mkdir -p /usr/local/go \
&& curl -SLO "https://storage.googleapis.com/golang/go$GO_VERSION.linux-arm64.tar.gz" \
&& echo "5e59056e36704acb25809bcdb27191f27593cb7aba4d716b523008135a1e764a go$GO_VERSION.linux-arm64.tar.gz" ... | resin-io-library/base-images | balena-base-images/golang/imx8m-var-dart/fedora/36/1.16.14/build/Dockerfile | Dockerfile | apache-2.0 | 1,999 |
/*
* 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 ... | iyounus/incubator-systemml | src/main/java/org/apache/sysml/runtime/instructions/spark/RandSPInstruction.java | Java | apache-2.0 | 28,815 |
--{{{ HEROES REBORN / CLIENT COMMANDS
--{{{ READ info.lua
reb.ABOUT.commands = {
{"heroes", level = 0, desc = "Heroes menu", func = "cl.popHeroes"};
{"myheroes", level = 0, desc = "My heroes menu", func = "cl.popMyHeroes"};
{"clearheroes", level = 0, desc = "Reset heroes", func = "cl.delHeroes"};
{"getstats", "wha... | Yankwerks/reborn | sys/lua/reborn/commands.lua | Lua | apache-2.0 | 792 |
'use strict';
module.exports = function (grunt) {
var appPath = './app/';
var tempPath = './tmp/';
var resourcePath = '../src/main/resources/';
var javaAppArtifactLocation = '../build/libs/';
var javaAppPort = 8080;
var globalConfig = {
generatedAssetDestination: '../src/main/resources/... | ManamFoundation/manamfoundation | frontend/Gruntfile.js | JavaScript | apache-2.0 | 3,258 |
/*
Copyright 2007-2011 WebDriver committers
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 ... | akiellor/selenium | java/server/src/org/openqa/grid/web/servlet/handler/RequestHandler.java | Java | apache-2.0 | 12,534 |
package com.jjc.mailshop.pojo;
import java.util.Date;
public class Category {
private Integer id;
private Integer parentId;
private String name;
private Boolean status;
private Integer sortOrder;
private Date createTime;
private Date updateTime;
public Category(Integer id, Integ... | aohanyao/CodeMall | code/ServerCode/CodeMallServer/src/main/java/com/jjc/mailshop/pojo/Category.java | Java | apache-2.0 | 1,761 |
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
<title>CommandService</title>
<link href="../../../images/logo-icon.svg" rel="icon" type="image/svg"><script>var pathToRoot = "../../../";</script><script type="text/javascript" src="../../../scripts/sourceset_d... | Shynixn/BlockBall | docs/apidocs/blockball-root/com.github.shynixn.blockball.api.business.service/-command-service/index.html | HTML | apache-2.0 | 8,145 |
# Diodonta coronata Nutt. SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Asterales/Asteraceae/Diodonta/Diodonta coronata/README.md | Markdown | apache-2.0 | 173 |
# Monsonia senegalensis Guill. & Perr. SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Geraniales/Geraniaceae/Monsonia/Monsonia senegalensis/README.md | Markdown | apache-2.0 | 186 |
# Strasseria vincae M.T. Lucas & Sousa da Câmara SPECIES
#### Status
ACCEPTED
#### According to
Index Fungorum
#### Published in
Agron. lusit. 16(2): 97 (1954)
#### Original name
Strasseria vincae M.T. Lucas & Sousa da Câmara
### Remarks
null | mdoering/backbone | life/Fungi/Ascomycota/Strasseria/Strasseria vincae/README.md | Markdown | apache-2.0 | 249 |
# Toxicodendron orientale Greene SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Sapindales/Anacardiaceae/Toxicodendron/Toxicodendron orientale/README.md | Markdown | apache-2.0 | 180 |
# Pithecellobium zuliaense Pittier SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Fabales/Fabaceae/Pithecellobium/Pithecellobium zuliaense/README.md | Markdown | apache-2.0 | 182 |
# Shionodiscus A.J.Alverson, S.H.Kang & E.C.Theriot, 2006 GENUS
#### Status
ACCEPTED
#### According to
World Register of Marine Species
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Bacillariophyta/Bacillariophyceae/Thalassiosiraceae/Shionodiscus/README.md | Markdown | apache-2.0 | 204 |
# Noronhia comorensis S.Moore SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Lamiales/Oleaceae/Noronhia/Noronhia comorensis/README.md | Markdown | apache-2.0 | 177 |
/*******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2012 by Pentaho : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (the ... | yintaoxue/read-open-source-code | kettle4.3/src/org/pentaho/di/trans/steps/webservices/WebServiceField.java | Java | apache-2.0 | 2,329 |
/*
* Copyright 2014 Boleslav Bobcik
*
* 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 ... | bbobcik/auderis-tools | config/src/test/java/cz/auderis/tools/config/PrimitiveDataObjectTest.java | Java | apache-2.0 | 12,571 |
package com.example.component_dependency;
import arez.annotations.ArezComponent;
import arez.annotations.ComponentDependency;
import arez.component.DisposeNotifier;
@ArezComponent
abstract class NonStandardNameFieldDependencyModel
{
@ComponentDependency
public final DisposeNotifier $$time$$ = null;
}
| realityforge/arez | processor/src/test/fixtures/input/com/example/component_dependency/NonStandardNameFieldDependencyModel.java | Java | apache-2.0 | 308 |
<!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_162) on Sat Apr 25 17:14:54 PDT 2020 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class com.fasterxml... | FasterXML/jackson-databind | docs/javadoc/2.11/com/fasterxml/jackson/databind/annotation/class-use/JsonSerialize.Typing.html | HTML | apache-2.0 | 13,834 |
<!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_272) on Sat Nov 28 17:15:55 PST 2020 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class com.fasterxml... | FasterXML/jackson-databind | docs/javadoc/2.12/com/fasterxml/jackson/databind/class-use/AnnotationIntrospector.ReferenceProperty.Type.html | HTML | apache-2.0 | 10,687 |
// 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-go | aiplatform/apiv1/vizier_client.go | GO | apache-2.0 | 38,059 |
#include <stdio.h>
int main()
{
int n;
int i=0;
scanf("%d", &n);
while(n != 1){
if(n % 2 == 0){
n /= 2;
} else {
n = (3*n+1)/2;
}
i++;
}
printf("%d\n", i);
return 0;
}
| XF-zhjnc/PAT-Basic-Practise | 1001.cpp | C++ | apache-2.0 | 189 |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Class: GridFSBucketReadStream</title>
<meta property="og:title" content="MongoDB Driver API for Node.js"/>
<meta property="og:type" content="website"/>
<meta property="og:image" content=""/>
<meta property=... | mongodb/node-mongodb-native | docs/3.1/api/GridFSBucketReadStream.html | HTML | apache-2.0 | 112,518 |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Privileged app</title>
<meta name="description" content="A privileged app stub">
<!--
viewport allows you to control how mobile browsers will render your content.
width=device-width tells mobile browsers... | mpizza/torch-demo | index.html | HTML | apache-2.0 | 1,987 |
#
# Cookbook Name:: hybris_app
# Recipe:: default
#
# Copyright 2014, YOUR_COMPANY_NAME
#
# All rights reserved - Do Not Redistribute
#
#
# Cookbook Name:: hybris_app
# Recipe:: default
#
# Copyright 2014, YOUR_COMPANY_NAME
#
# All rights reserved - Do Not Redistribute
#
localHybrisRoot = "#{node['hybris']['installRoo... | andreas-winkler/chef | cookbooks/hybris_app/recipes/readlastid.rb | Ruby | apache-2.0 | 979 |
/*
* Waltz - Enterprise Architecture
* Copyright (C) 2016, 2017, 2018, 2019 Waltz open source project
* See README.md for more information
*
* 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... | rovats/waltz | waltz-ng/client/user/user-management.js | JavaScript | apache-2.0 | 5,028 |
const React = require('react');
const classNames = require('classnames');
/**
* Component that renders a day on the calendar.
*/
class CalendarDayRenderer extends React.Component {
render() {
const day = this.props.day;
const month = this.props.month;
const dayClass = day.month() === month.month() ? cl... | atsid/react-calendar-render | src/CalendarDayRenderer.js | JavaScript | apache-2.0 | 719 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace MyProject01.Util.DllTools
{
class MemoryObject
{
public int Size;
public IntPtr Ptr;
}
class DllMemoryPool
{
p... | a7866353/encog-dotnet-core_work01 | MyProject/MyProject01/Util/DllTools/DllMemoryPool.cs | C# | apache-2.0 | 2,668 |
/*
* Copyright 2017-2022 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 "licen... | aws/aws-sdk-java | aws-java-sdk-panorama/src/main/java/com/amazonaws/services/panorama/model/DescribeNodeResult.java | Java | apache-2.0 | 21,744 |
/**
* Was created to test returning IterstorConverter class.
* Created on 08.05.2017.
* @author Matevosyan Vardan
* @version 1.0
*/
package ru.matevosyan; | VardanMatevosyan/Vardan-Git-Repository | CollectionsPro/iteratorOfIteratos/src/test/java/ru/matevosyan/package-info.java | Java | apache-2.0 | 159 |
var data = [
{title:'Basic Information', hasChild:true, test:'../examples/about_troy_more/basic_info.js'},
{title:'Vision Statement', hasChild:true, test:'../examples/about_troy_more/vision.js'},
{title:'ESLRs', hasChild:true, test:'../examples/about_troy_more/eslr_s.js'}
];
var tableview = Titanium.UI.createTableV... | voidvoxel/troyhigh | Resources/examples/about_troy.js | JavaScript | apache-2.0 | 822 |
"""Test suite for abdt_rbranchnaming."""
# =============================================================================
# TEST PLAN
# -----------------------------------------------------------------------------
# Here we detail the things we are concerned to test and specify which te... | valhallasw/phabricator-tools | py/abd/abdt_rbranchnaming__t.py | Python | apache-2.0 | 3,352 |
package com.barryzhang.tcontributionsview.adapter;
/**
* https://github.com/barryhappy
* Created by Barry on 2016/11/22
*/
public class IntArraysContributionsViewAdapter extends AbstractArraysContributionsViewAdapter<Integer> {
public IntArraysContributionsViewAdapter() {
super();
}
public Int... | barryhappy/TContributionsView | tcontributionsview/src/main/java/com/barryzhang/tcontributionsview/adapter/IntArraysContributionsViewAdapter.java | Java | apache-2.0 | 491 |
/*
* Copyright 2012-2013 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 ap... | himanshuvirmani/concert | src/main/java/com/concert/domain/Aggregate.java | Java | apache-2.0 | 3,189 |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.orange.web.exceptions;
/**
*
* @author lining
*/
public class ClassGeneratorException extends AbstractWebExc... | 15919873635/OrangeWeb | src/com/orange/web/exceptions/ClassGeneratorException.java | Java | apache-2.0 | 712 |
var VideoStreamUID = null;
var MousePosXY = new Array();
var MailType;
var BrowserVer = new BrowserVerChk();
var MsgArrayMove = new Array();
var unique;
var atmailRoot = '';
var MsgCacheLimit = 100;
var FieldInFocus = false;
var NewHeaderStyle = false;
var ComposeMode;
var ComposeModeStorage = null;
var... | BigBlueHat/atmailopen | javascript/ajax/ajax-int.js | JavaScript | apache-2.0 | 190,333 |
# Epipremnum giganteum (Roxb.) Schott SPECIES
#### Status
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Liliopsida/Alismatales/Araceae/Epipremnum/Epipremnum giganteum/README.md | Markdown | apache-2.0 | 193 |
/* -*- Mode: C; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
* Copyright 2014-2019 Couchbase, 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
*
* ... | avsej/libcouchbase | src/operations/durability_internal.h | C | apache-2.0 | 8,742 |
// Copyright (C) 2009 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 applicable ... | Team-OctOS/host_gerrit | gerrit-httpd/src/main/java/com/google/gerrit/httpd/HttpLogoutServlet.java | Java | apache-2.0 | 3,085 |
=begin
#ARTIK Cloud API
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 2.0.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
=end
require 'uri'
module ArtikCloud
class Configuration
# Defines url scheme
attr_a... | artikcloud/artikcloud-ruby | lib/artikcloud/configuration.rb | Ruby | apache-2.0 | 5,791 |
# Clavaria phycophila Leathers SPECIES
#### Status
ACCEPTED
#### According to
Index Fungorum
#### Published in
Mycologia 48: 286 (1956)
#### Original name
Clavaria phycophila Leathers
### Remarks
null | mdoering/backbone | life/Fungi/Basidiomycota/Agaricomycetes/Agaricales/Clavariaceae/Clavaria/Clavaria phycophila/README.md | Markdown | apache-2.0 | 205 |
# Rosa ×novakii Klášt. SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Rosales/Rosaceae/Rosa/Rosa novakii/README.md | Markdown | apache-2.0 | 173 |
# Pilea sylvatica Elmer SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Rosales/Urticaceae/Pilea/Pilea sylvatica/README.md | Markdown | apache-2.0 | 171 |
# Erica angulosa E.G.H.Oliv. SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Ericales/Ericaceae/Erica/Erica angulosa/README.md | Markdown | apache-2.0 | 176 |
# Gymnopus subterginus (Halling) Halling SPECIES
#### Status
ACCEPTED
#### According to
Index Fungorum
#### Published in
in Antonín, Halling & Noordeloos, Mycotaxon 63: 365 (1997)
#### Original name
Collybia subterginum Halling
### Remarks
null | mdoering/backbone | life/Fungi/Basidiomycota/Agaricomycetes/Agaricales/Marasmiaceae/Gymnopus/Gymnopus subterginus/README.md | Markdown | apache-2.0 | 250 |
# Echinocereus subinermis subsp. ochoterenae (J.G.Ortega) N.P.Taylor SUBSPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
Echinocereus ochoterenae J.G.Ortega
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Caryophyllales/Cactaceae/Echinocereus/Echinocereus subinermis/Echinocereus subinermis ochoterenae/README.md | Markdown | apache-2.0 | 250 |
# Hieracium picroides subsp. trichopicris (Zahn) Zahn SUBSPECIES
#### Status
ACCEPTED
#### According to
Euro+Med Plantbase
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Asterales/Asteraceae/Hieracium/Hieracium picroides/Hieracium picroides trichopicris/README.md | Markdown | apache-2.0 | 191 |
# Clostridium acidisoli Kuhner et al., 2000 SPECIES
#### Status
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Bacteria/Firmicutes/Clostridia/Clostridiales/Clostridiaceae/Clostridium/Clostridium acidisoli/README.md | Markdown | apache-2.0 | 199 |
# Phlomis spectabilis Falc. ex Benth. SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
A. L. P. P. de Candolle, Prodr. 12:542. 1848
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Lamiales/Lamiaceae/Phlomis/Phlomis spectabilis/README.md | Markdown | apache-2.0 | 225 |
/*
(C) Copyright 2013-2016 The RISCOSS Project Consortium
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... | RISCOSS/riscoss-corporate | riscoss-webapp/src/main/java/eu/riscoss/client/entities/EntityPropertyPage.java | Java | apache-2.0 | 37,647 |
/**
* package for Professions test tasks.
* @author avlodin
* @since 17.04.17
* @version 1.0
*/
package ru.job4j.professions; | DartSicon/avolodin | chapter_002/src/test/java/ru/job4j/professions/package-info.java | Java | apache-2.0 | 131 |
/*
* #%L
* wcm.io
* %%
* Copyright (C) 2014 wcm.io
* %%
* 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 ap... | wcm-io-caravan/caravan-commons | metrics/src/main/java/io/wcm/caravan/commons/metrics/rx/HitsAndMissesCountingMetricsOperator.java | Java | apache-2.0 | 2,081 |
//C- -*- C++ -*-
//C- -------------------------------------------------------------------
//C- DjVuLibre-3.5
//C- Copyright (c) 2002 Leon Bottou and Yann Le Cun.
//C- Copyright (c) 2001 AT&T
//C-
//C- This software is subject to, and may be distributed under, the
//C- GNU General Public License, either Version 2 of ... | zoozooll/MyExercise | orion-viewer-master/orion-viewer/jni/djvu/libdjvu/ddjvuapi.cpp | C++ | apache-2.0 | 102,863 |
//
// DoraemonMockApiCell.h
// DoraemonKit
//
// Created by didi on 2019/11/15.
//
#import "DoraemonMockBaseCell.h"
NS_ASSUME_NONNULL_BEGIN
@interface DoraemonMockApiCell : DoraemonMockBaseCell
@end
NS_ASSUME_NONNULL_END
| didi/DoraemonKit | iOS/DoraemonKit/Src/Core/Plugin/Platform/Mock/View/List/Cell/DoraemonMockApiCell.h | C | apache-2.0 | 229 |
<?php
/*
|--------------------------------------------------------------------------
| Create The Application
|--------------------------------------------------------------------------
|
| The first thing we will do is create a new Laravel application instance
| which serves as the "glue" for all the components of La... | kornvollis/smaragd | bootstrap/start.php | PHP | apache-2.0 | 2,317 |
import difflib
import inflect
import itertools
import logging
import netaddr
import os
import re
import toposort
import yaml
import hotcidr.state
def inflect_a(s, p=inflect.engine()):
x = p.plural(s)
if p.compare(s, x) == 'p:s':
return s
return p.a(s)
logging.basicConfig(format='%(levelname)s %(me... | ViaSat/hotcidr | HotCIDR/hotcidr/validation.py | Python | apache-2.0 | 8,940 |
package manipulators
/** NgramSplitter splits plain strings into ngrams and provides utilities for calculating min overlap and search range
*
* @constructor create list of ngrams
* @param plainstr Original string
*/
class NgramSplitter(plainstr: String) {
val str = plainstr;
var grams = List[String]();
/*... | theikkila/fuzzydb | src/main/scala/manipulators/NgramSplitter.scala | Scala | apache-2.0 | 1,061 |
/*
* Copyright (c) 2008-2018, Hazelcast, 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 ... | tufangorel/hazelcast | hazelcast/src/main/java/com/hazelcast/internal/util/SimpleCompletedFuture.java | Java | apache-2.0 | 3,386 |
/*
Derby - Class
org.apache.derbyTesting.functionTests.tests.jdbcapi.AuthenticationTest
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.
Th... | kavin256/Derby | java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/AuthenticationTest.java | Java | apache-2.0 | 61,215 |
<?php
/**
* Writes the single character \x00 to indicate End of compiled data
*
* @phpstub
*
* @param resource $filehandle
*
* @return bool
*/
function bcompiler_write_footer($filehandle)
{
} | schmittjoh/php-stubs | res/php/bcompiler/functions/bcompiler-write-footer.php | PHP | apache-2.0 | 201 |
/*
* Copyright 2020 the original 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 ... | nebula-plugins/java-source-refactor | rewrite-core/src/main/java/org/openrewrite/ScopedVisitorSupport.java | Java | apache-2.0 | 1,391 |
// 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... | craimbert/mesos | src/tests/containerizer/linux_filesystem_isolator_tests.cpp | C++ | apache-2.0 | 46,246 |
package com.navalgame;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
@Test
public void addition... | JU-2094/NavalGame | app/src/test/java/com/navalgame/ExampleUnitTest.java | Java | apache-2.0 | 391 |
/*
* Copyright 2016-2102 Appleframework(http://www.appleframework.com) Group.
*
* 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
*... | xushaomin/apple-pay | apple-pay-service/src/main/java/com/appleframework/pay/account/exception/AccountBizException.java | Java | apache-2.0 | 2,412 |
package com.kifile.android.cornerstone.core;
import android.support.annotation.NonNull;
/**
* AbstractFetcherConverter is used to transform a data to another type.
*
* @author kifile
*/
public abstract class AbstractFetcherConverter<FROM, TO> implements DataFetcher<TO> {
private DataFetcher<FROM> mProxy;
... | kifile/Cornerstone | framework/src/main/java/com/kifile/android/cornerstone/core/AbstractFetcherConverter.java | Java | apache-2.0 | 836 |
// Copyright 2016-2019 Authors of Cilium
//
// 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 ag... | cilium-team/cilium | pkg/maps/ctmap/types.go | GO | apache-2.0 | 14,683 |
// -*- c++ -*-
//
// Copyright 2011 A.N.M. Imroz Choudhury
//
// NewCache.h
#ifndef NEW_CACHE_H
#define NEW_CACHE_H
// #define USE_STRING_INFO
// MTV headers.
#include <Core/Dataflow/BlockStream/BlockStreamReader.h>
#include <Core/Dataflow/TraceReader.h>
#include <Core/Util/BoostPointers.h>
#include <Tools/CacheSimu... | ronichoudhury/mtvx | Tools/NewCacheSimulator/NewCache.h | C | apache-2.0 | 4,975 |
//TEST FAILS
#include <string>
#include <cassert>
using namespace std;
int main(){
string str1, str2;
str1 = string("Test");
str2 = string(str1, 2);
assert(str2 < str1);
}
| ssvlab/esbmc-gpu | regression/esbmc-cpp/string/string_operator<_4_bug/main.cpp | C++ | apache-2.0 | 181 |
/*
* Copyright (c) 2021, Peter Abeles. All Rights Reserved.
*
* This file is part of BoofCV (http://boofcv.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.apac... | lessthanoptimal/BoofCV | main/boofcv-sfm/src/test/java/boofcv/alg/geo/pose/TestPnPStereoResidualReprojection.java | Java | apache-2.0 | 3,523 |
import {CollectionViewer} from '@angular/cdk/collections';
import {DataSource} from '@angular/cdk/table';
import {ChangeDetectionStrategy, Component, OnInit, ViewChild} from '@angular/core';
import {MatPaginator, PageEvent} from '@angular/material';
import {Store} from '@ngrx/store';
import {TranslateService} from '@ng... | ixtf/japp-execution | client/src/app/enlist/containers/enlist-history-page/enlist-history-page.component.ts | TypeScript | apache-2.0 | 2,330 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.