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 |
|---|---|---|---|---|---|
using System;
using System.Web;
using RequestReduce.Api;
using RequestReduce.Configuration;
using RequestReduce.ResourceTypes;
using RequestReduce.IOC;
namespace RequestReduce.Utilities
{
public interface IUriBuilder
{
string BuildResourceUrl<T>(Guid key, byte[] bytes) where T : IResourceTy... | mwrock/RequestReduce | RequestReduce/Utilities/UriBuilder.cs | C# | apache-2.0 | 4,295 |
package com.lixia.rdp.crypto;
/**
* This class implements the MD5 message digest algorithm.
* <p>
* <b>BUG</b>: The update method is missing.
* <p>
* <b>References:</b>
* <ol>
* <li> Ronald L. Rivest,
* "<a href="http://www.roxen.com/rfc/rfc1321.html">
* The MD5 Message-Digest Algor... | infinitiessoft/skyport-websockify | src/main/java/com/lixia/rdp/crypto/MD5.java | Java | apache-2.0 | 9,477 |
<!DOCTYPE html>
<!--
Template Name: Metronic - Responsive Admin Dashboard Template build with Twitter Bootstrap 3.3.2
Version: 3.7.0
Author: KeenThemes
Website: http://www.keenthemes.com/
Contact: support@keenthemes.com
Follow: www.twitter.com/keenthemes
Like: www.facebook.com/keenthemes
Purchase: http://themeforest.n... | zzsoszz/metronicv37 | theme/templates/admin2_material_design/ui_tiles.html | HTML | apache-2.0 | 52,092 |
/******************************************************************************
* @file startup_ARMv81MML.c
* @brief CMSIS Core Device Startup File for ARMv81MML Device
* @version V2.0.1
* @date 23. July 2019
******************************************************************************/
/*
* Copyrigh... | JonatanAntoni/CMSIS_5 | CMSIS/DSP/Platforms/FVP/ARMv81MML/Startup/AC6/startup_ARMv81MML.c | C | apache-2.0 | 7,238 |
package org.keycloak.models.entities;
import java.util.Map;
/**
* @author <a href="mailto:bill@burkecentral.com">Bill Burke</a>
* @version $Revision: 1 $
*/
public class AuthenticatorConfigEntity {
protected String id;
protected String alias;
private Map<String, String> config;
public... | anaerobic/keycloak | model/api/src/main/java/org/keycloak/models/entities/AuthenticatorConfigEntity.java | Java | apache-2.0 | 757 |
/*
Dummy MA57 interface to be used when MA57 isn't available.
10 Sept 08: First version.
*/
#include "lbl.h"
#include "ma57.h"
#ifdef __cplusplus
extern "C" { /* To prevent C++ compilers from mangling symbols */
#endif
/* ================================================================= */
#ifdef __FUNCT__... | siconos/siconos | externals/lbl/src/ma57dummy_lib.c | C | apache-2.0 | 1,788 |
/*
* QUANTCONNECT.COM -
* QC.Algorithm - Base Class for Algorithm.
* Sentiment base class object - for intangible data types.
*/
/**********************************************************
* USING NAMESPACES
**********************************************************/
using System;
using System.Collections;
using Sys... | ychaim/QCAlgorithm | QuantConnect.Common/Data/Sentiment/Sentiment.cs | C# | apache-2.0 | 1,154 |
/*
* Copyright 2017-2020 Crown Copyright
*
* 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... | GovernmentCommunicationsHeadquarters/Gaffer | core/operation/src/main/java/uk/gov/gchq/gaffer/operation/impl/output/package-info.java | Java | apache-2.0 | 751 |
---
title: "mapper.hour"
layout: "function"
isPage: "true"
link: "/warpscript/framework_map"
desc: "Return the hour of the tick for which it is computed"
categoryTree: ["reference","frameworks","framework-map"]
oldPath: ["20-frameworks","201-framework-map","201-single-value-mappers","279-mapper_hour.html.md"]
category:... | slambour/www.warp10.io | reference/frameworks/mapper_hour.md | Markdown | apache-2.0 | 1,982 |
<!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_45) on Thu Nov 13 21:22:02 UTC 2014 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Uses of Class org.apache.hadoop.m... | SAT-Hadoop/hadoop-2.6.0 | share/doc/hadoop/api/org/apache/hadoop/mapreduce/lib/db/class-use/DateSplitter.html | HTML | apache-2.0 | 8,341 |
'''
Python Homework with Chipotle data
https://github.com/TheUpshot/chipotle
'''
'''
BASIC LEVEL
PART 1: Read in the file with csv.reader() and store it in an object called 'file_nested_list'.
Hint: This is a TSV file, and csv.reader() needs to be told how to handle it.
https://docs.python.org/2/library/csv.html... | jdweaver/ds_sandbox | homework2/homework_3_chipotle.py | Python | apache-2.0 | 6,038 |
define(
//begin v1.x content
{
"days-standAlone-short": [
"nedelja",
"ponedeljak",
"utorak",
"sreda",
"četvrtak",
"petak",
"subota"
],
"months-format-narrow": [
"j",
"f",
"m",
"a",
"m",
"j",
"j",
"a",
"s",
"o",
"n",
"d"
],
"quarters-standAlone-narrow": [
"1.",
"2.",
"3."... | abssi/poc-tijari | dojoLib/toolkit/dojo/dojo/cldr/nls/sh/gregorian.js | JavaScript | apache-2.0 | 4,822 |
# Copyright 2016 Capital One Services, 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... | VeritasOS/cloud-custodian | c7n/resources/iot.py | Python | apache-2.0 | 1,009 |
/* 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... | PaddlePaddle/Paddle | paddle/fluid/inference/tests/api/trt_dynamic_shape_ernie_test.cc | C++ | apache-2.0 | 10,824 |
/**
* Copyright (c) 2013-2014 Netflix, 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 requir... | Netflix/msl | core/src/main/java/com/netflix/msl/msg/FilterStreamFactory.java | Java | apache-2.0 | 1,837 |
<div>
<h2 translate="health.title">Health Checks</h2>
<p>
<button type="button" class="btn btn-primary" ng-click="refresh()">
<span class="glyphicon glyphicon-refresh"></span> <span
translate="health.refresh.button">Refresh</span>
</button>
<button type="button" class="btn btn-primary" ng-click="r... | bzinoun/cream | src/main/webapp/scripts/app/admin/health/health.html | HTML | apache-2.0 | 1,451 |
/*
* Copyright 2012-2021 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... | Buzzardo/spring-boot | spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/elasticsearch/ReactiveElasticsearchRepositoriesAutoConfiguration.java | Java | apache-2.0 | 2,202 |
/*!
* Ext JS Library 3.4.0
* Copyright(c) 2006-2011 Sencha Inc.
* licensing@sencha.com
* http://www.sencha.com/license
*/
Ext.ux.PortalColumn = Ext.extend(Ext.Container, {
layout : 'anchor',
//autoEl : 'div',//already defined by Ext.Component
defaultType : 'portlet',
cls : 'x-portal-colum... | ahwxl/cms | icms/src/main/webapp/res/extjs/ux/PortalColumn.js | JavaScript | apache-2.0 | 378 |
/*
* Druid - a distributed column store.
* Copyright 2012 - 2015 Metamarkets Group 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-... | nvoron23/druid | services/src/main/java/io/druid/cli/Main.java | Java | apache-2.0 | 3,527 |
/*
* Minio Cloud Storage, (C) 2018 Minio, 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 la... | abperiasamy/minio | cmd/metrics-router.go | GO | apache-2.0 | 999 |
/*
* Copyright 2006-2011 The Virtual Laboratory for e-Science (VL-e)
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* For details, see the LICENCE.txt file location in the root directory of this
* distribution or obtain ... | skoulouzis/vlet-1.5.0 | source/core/nl.uva.vlet.vrs.core/source/main/nl/uva/vlet/io/javafile/File.java | Java | apache-2.0 | 32,655 |
/*
* Copyright 2012 The Netty Project
*
* The Netty Project licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless ... | ichaki5748/netty | transport/src/main/java/io/netty/channel/DefaultChannelConfig.java | Java | apache-2.0 | 16,461 |
/*
* Copyright 2014 CyberVision, 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 agr... | kallelzied/kaa | server/operations/src/test/java/org/kaaproject/kaa/server/operations/service/akka/DefaultAkkaServiceTest.java | Java | apache-2.0 | 79,687 |

AssertJ-DB - Assertions for database
==========
AssertJ-DB provides some assertions to test values in a database.
The goal is to be an alternative to DBUnit for people who don't like to write XML.
You can find all the informations you need in the [documentation](http://joel-costig... | otoniel-isidoro/assertj-db | README.md | Markdown | apache-2.0 | 362 |
<!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_45) on Thu Nov 13 21:22:01 UTC 2014 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Uses of Class org.apache.hadoop.n... | SAT-Hadoop/hadoop-2.6.0 | share/doc/hadoop/api/org/apache/hadoop/net/class-use/ConnectTimeoutException.html | HTML | apache-2.0 | 6,210 |
package root
import (
"fmt"
"github.com/kubernetes-incubator/kube-aws/awsconn"
"github.com/kubernetes-incubator/kube-aws/cfnstack"
"github.com/kubernetes-incubator/kube-aws/core/root/config"
)
type DestroyOptions struct {
AwsDebug bool
Force bool
}
type ClusterDestroyer interface {
Destroy() error
}
type... | c-knowles/kube-aws | core/root/destroyer.go | GO | apache-2.0 | 980 |
<?php
require_once __DIR__ . '/../src/prepend.inc.php';
use Scalr\Model\Entity\CloudLocation;
//Cleans out cloud locations cache
CloudLocation::warmUp(); | kikov79/scalr | app/tools/warmup-cache.php | PHP | apache-2.0 | 156 |
//
// sos.cc
// sos
//
// Created by Pavan Kumar Sunkara on 20/01/15.
// Copyright (c) 2015 Apiary Inc. All rights reserved.
//
#include "sos.h"
sos::Base::Base(Base::Type type_)
: type(type_)
{
m_object.reset(::new KeyValues);
m_array.reset(::new Bases);
}
sos::Base::Base(const sos::Base& rhs)
{
thi... | SparkPost/on-prem-api-documentation-v4.2 | node_modules/protagonist/drafter/ext/sos/src/sos.cc | C++ | apache-2.0 | 3,734 |
/*
* Copyright 2010-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 "license" fil... | chiaming0914/awe-cpp-sdk | aws-cpp-sdk-directconnect/include/aws/directconnect/model/DeleteBGPPeerRequest.h | C | apache-2.0 | 4,750 |
<!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 (version 1.7.0_03) on Tue Nov 06 09:34:23 CST 2012 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Uses of Interface o... | yayaratta/TP6_MVC | javadoc/org/eclipse/jetty/http/class-use/Parser.html | HTML | apache-2.0 | 14,338 |
/**********************************************************************
// @@@ START COPYRIGHT @@@
//
// 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. ... | rlugojr/incubator-trafodion | core/sql/arkcmp/ProcessEnv.cpp | C++ | apache-2.0 | 8,874 |
/*
* Copyright 2001-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/axis1-java | axis-rt-core/src/test/java/test/soap/TestOnFaultHeaders.java | Java | apache-2.0 | 3,826 |
<!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... | SanteriHetekivi/Labyrinttipeli | html/functions_s.html | HTML | apache-2.0 | 6,061 |
// Copyright (C) 2014 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 ... | estebank/gitiles | gitiles-servlet/src/test/java/com/google/gitiles/DiffServletTest.java | Java | apache-2.0 | 5,952 |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/macie2/model/GetAdministratorAccountResult.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <aws/core/AmazonWebServiceResult.h>
#include <aws/core/utils/StringUtils.h>
#includ... | awslabs/aws-sdk-cpp | aws-cpp-sdk-macie2/source/model/GetAdministratorAccountResult.cpp | C++ | apache-2.0 | 1,023 |
/*
* Copyright 2009-2016 DigitalGlobe, 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 ag... | ttislerdg/mrgeo | mrgeo-core/src/main/java/org/mrgeo/hdfs/vector/shp/util/StringUtils.java | Java | apache-2.0 | 6,682 |
/**
* 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... | jnhagelberg/incubator-atlas | catalog/src/main/java/org/apache/atlas/catalog/exception/ResourceAlreadyExistsException.java | Java | apache-2.0 | 1,120 |
/**
* @author Wei
*/
#include <boost/test/unit_test.hpp>
#include <util/ustring/UString.h>
//#include <la/analyzer/CharAnalyzer.h>
#include <ilplib.hpp>
#include "test_def.h"
using namespace la;
using namespace std;
using namespace izenelib::util;
BOOST_AUTO_TEST_SUITE( AnalyzerTest )
BOOST_AUTO_TEST_CASE(test... | pombredanne/ilplib | test/la/t_Analyzer.cpp | C++ | apache-2.0 | 2,366 |
////////////////////////////////////////////////////////////////////////////////
/// DISCLAIMER
///
/// Copyright 2021-2021 ArangoDB GmbH, Cologne, Germany
///
/// 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 co... | wiltonlazary/arangodb | tests/Replication2/Mocks/FakeReplicatedState.cpp | C++ | apache-2.0 | 1,720 |
<?php
/**
* Copyright (c) 2014 ScientiaMobile, Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
*... | ahoken/phptest | src/zend_test/library/wurfl-php/WURFL/Request/GenericRequest.php | PHP | apache-2.0 | 2,167 |
// SPDX-License-Identifier: Apache-2.0
// Copyright 2017-2019 Authors of Cilium
package cmd
import (
"archive/tar"
"bytes"
"compress/gzip"
"crypto/sha256"
"encoding/hex"
"fmt"
"io"
"os"
"path/filepath"
"regexp"
"strings"
)
type tarWriter interface {
io.Writer
WriteHeader(hdr *tar.Header) error
}
type w... | tklauser/cilium | bugtool/cmd/helper.go | GO | apache-2.0 | 5,312 |
/*
* Copyright 2012-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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | wilkinsona/spring-boot | spring-boot-project/spring-boot-tools/spring-boot-configuration-processor/src/test/java/org/springframework/boot/configurationprocessor/GenericsMetadataGenerationTests.java | Java | apache-2.0 | 5,965 |
<!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 (version 1.7.0_111) on Thu Aug 18 01:51:17 UTC 2016 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class org.a... | TK-TarunW/ecosystem | hadoop-2.7.3/share/doc/hadoop/api/org/apache/hadoop/yarn/logaggregation/class-use/AggregatedLogFormat.LogKey.html | HTML | apache-2.0 | 7,363 |
<span>
<mathjax-bind mathjax-data="latexAnswer">
</mathjax-bind>
</span>
| AllanYangZhou/oppia | extensions/interactions/MathExpressionInput/directives/math_expression_input_short_response_directive.html | HTML | apache-2.0 | 77 |
/*
* Copyright 2012-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.org/licenses/LICENSE-2.0
*
* Unless required by ap... | hello2009chen/spring-boot | spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/metrics/export/atlas/AtlasPropertiesTests.java | Java | apache-2.0 | 2,045 |
{% extends "base_statdev.html" %}
{% block page_content_inner %}
<div class="container-fluid">
<div class="row">
<h1>Communication for {{ object.application.get_app_type_display }} - {{ object.pk }}</h1>
<p><a href="{% url "organisation_details_actions" object.pk "company" %}">Return to organisatio... | xzzy/statdev | applications/templates/applications/organisation_comms.html | HTML | apache-2.0 | 1,928 |
/*
* Copyright 2017 Google
*
* 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 w... | firebase/firebase-ios-sdk | FirebaseDatabase/Tests/Helpers/FMockStorageEngine.h | C | apache-2.0 | 756 |
---
page_title: Docker Swarm
page_description: Swarm: a Docker-native clustering system
page_keywords: docker, swarm, clustering
---
# Docker Swarm
Docker Swarm is native clustering for Docker. It allows you create and access to
a pool of Docker hosts using the full suite of Docker tools. Because Docker
Swarm serves ... | affo/swarm | docs/index.md | Markdown | apache-2.0 | 3,890 |
//******************************************************************
//
// Copyright 2016 Samsung Electronics All Rights Reserved.
//
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance... | iotivity/iotivity | resource/csdk/stack/src/oicresourcedirectory.c | C | apache-2.0 | 21,540 |
/***************************************************************
*
* Copyright (C) 1990-2007, Condor Team, Computer Sciences Department,
* University of Wisconsin-Madison, WI.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you
* may not use this file except in compliance with the License. Y... | neurodebian/htcondor | src/classad/matchClassad.cpp | C++ | apache-2.0 | 8,943 |
<?php /* Smarty version 2.6.18, created on 2013-11-03 20:07:53
compiled from tpls/v_30/footer.html */ ?>
<?php if (! $this->_tpl_vars['ismap']): ?><div class="body_footer" style="position:fixed;"><ul>
<li><a title="返回首页" href="<?php echo $this->_tpl_vars['homeurl']; ?>
"><dl>
<dt><img alt="返回首页" sr... | royalwang/saivi | cms/smarty/templates_c/%%F3/F31/F310BC85%%footer.html.php | PHP | apache-2.0 | 2,992 |
/*
* 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 m... | pfirmstone/JGDMS | qa/src/org/apache/river/test/spec/jeri/connection/ConnectionManagerTest.java | Java | apache-2.0 | 10,551 |
import {Component,OnInit} from '@angular/core';
import {ROUTER_DIRECTIVES} from '@angular/router';
import {HTTP_PROVIDERS} from '@angular/http';
import {DataTable} from '../../../components/datatable/datatable';
import {CodeHighlighter} from '../../../components/codehighlighter/codehighlighter';
import {TabView} fro... | AjaySharm/primeng | showcase/demo/datatable/datatablecolresizedemo.ts | TypeScript | apache-2.0 | 1,089 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="de">
<head>
<!-- Generated by javadoc (version 1.7.0_06) on Sun Oct 14 20:05:14 CEST 2012 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>org.togglz.servlet... | togglz/togglz-site | apidocs/1.1.0.Final/org/togglz/servlet/user/package-summary.html | HTML | apache-2.0 | 5,247 |
package daemon
import (
"fmt"
"io"
"io/ioutil"
"os"
"path"
"regexp"
"runtime"
"strings"
"sync"
"time"
"github.com/docker/libcontainer/label"
"github.com/docker/docker/archive"
"github.com/docker/docker/daemon/execdriver"
"github.com/docker/docker/daemon/execdriver/execdrivers"
"github.com/docker/docke... | LoeAple/docker | daemon/daemon.go | GO | apache-2.0 | 32,807 |
# -*- coding: utf-8 -*-
# Generated by Django 1.9.4 on 2016-03-17 19:21
from __future__ import unicode_literals
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('tilecache', '0002_auto_20160317_1519'),
]
operations = [
migrations.AlterModelOption... | openconnectome/ocptilecache | tilecache/migrations/0003_auto_20160317_1521.py | Python | apache-2.0 | 512 |
/*
* Copyright 2016 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 applica... | markfisher/spring-cloud-dataflow | spring-cloud-dataflow-server-core/src/main/java/org/springframework/cloud/dataflow/server/repository/RdbmsStreamDefinitionRepository.java | Java | apache-2.0 | 2,334 |
/*
* 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/sis | core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultRelativeInternalPositionalAccuracy.java | Java | apache-2.0 | 4,741 |
//-----------------------------------------------------------------------
// <copyright file="RealMessageEnvelope.cs" company="Akka.NET Project">
// Copyright (C) 2009-2020 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2020 .NET Foundation <https://github.com/akkadotnet/akka.net>
// </copyrig... | simonlaroche/akka.net | src/core/Akka.TestKit/RealMessageEnvelope.cs | C# | apache-2.0 | 1,493 |
/*
* Copyright 2022 ThoughtWorks, 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 agr... | gocd/gocd | common/src/main/java/com/thoughtworks/go/server/util/UuidGenerator.java | Java | apache-2.0 | 891 |
/*
* Copyright 2013 Robert von Burg <eitch@eitchnet.ch>
*
* 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 a... | 4treesCH/strolch | li.strolch.agent/src/main/java/li/strolch/agent/api/RestrictableElement.java | Java | apache-2.0 | 1,316 |
/*
* Copyright 2014 Splunk, 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... | glennblock/splunk-sdk-csharp-pcl-hold | src/Splunk/Splunk/Client/ExecutionMode.cs | C# | apache-2.0 | 2,010 |
/*
* Copyright (C) 2007 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... | mapkon/collect | collect_app/src/main/java/org/odk/collect/android/provider/InstanceProviderAPI.java | Java | apache-2.0 | 2,995 |
CREATE TABLE IF NOT EXISTS `DOWNLOAD_LIST_V2` (
`PRINCIPAL_ID` BIGINT NOT NULL,
`UPDATED_ON` TIMESTAMP(3) NULL,
`ETAG` char(36) NOT NULL,
PRIMARY KEY (`PRINCIPAL_ID`),
CONSTRAINT FOREIGN KEY (`PRINCIPAL_ID`) REFERENCES `JDOUSERGROUP` (`ID`) ON DELETE CASCADE
)
| Sage-Bionetworks/Synapse-Repository-Services | lib/jdomodels/src/main/resources/schema/DownloadList-V2-ddl.sql | SQL | apache-2.0 | 271 |
/**
* 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... | daidong/DominoHBase | hbase-hadoop2-compat/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionSourceImpl.java | Java | apache-2.0 | 5,386 |
////////////////////////////////////////////////////////////////////////////////
/// DISCLAIMER
///
/// Copyright 2014-2021 ArangoDB GmbH, Cologne, Germany
/// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany
///
/// Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use this file except... | Simran-B/arangodb | lib/Basics/SpinUnlocker.h | C | apache-2.0 | 1,969 |
#pragma once
#include <Chip/CM3/Atmel/ATSAM3N1C/SPI.hpp>
#include <Chip/CM3/Atmel/ATSAM3N1C/TC0.hpp>
#include <Chip/CM3/Atmel/ATSAM3N1C/TC1.hpp>
#include <Chip/CM3/Atmel/ATSAM3N1C/TWI0.hpp>
#include <Chip/CM3/Atmel/ATSAM3N1C/TWI1.hpp>
#include <Chip/CM3/Atmel/ATSAM3N1C/PWM.hpp>
#include <Chip/CM3/Atmel/ATSAM3N1C/USART... | porkybrain/Kvasir | Lib/Chip/ATSAM3N1C.hpp | C++ | apache-2.0 | 1,139 |
Spoon
=====
Distributing instrumentation tests to all your Androids.
Introduction
------------
Android's ever-expanding ecosystem of devices creates a unique challenge to
testing applications. Spoon aims to simplify this task by distributing
instrumentation test execution and displaying the results in a meaningful... | daj/spoon | README.md | Markdown | apache-2.0 | 9,977 |
/**
* Get more info at : www.jrebirth.org .
* Copyright JRebirth.org © 2011-2013
* Contact : sebastien.bordes@jrebirth.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
*
* htt... | JRebirth/JRebirth | org.jrebirth.af/core/src/main/java/org/jrebirth/af/core/ui/fxml/DefaultFXMLObjectModel.java | Java | apache-2.0 | 2,020 |
#
# Author:: Adam Jacob (<adam@opscode.com>)
# Author:: Christopher Walters (<cw@opscode.com>)
# Author:: Tim Hinderliter (<tim@opscode.com>)
# Copyright:: Copyright (c) 2008-2010 Opscode, Inc.
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use ... | evertrue/chef | lib/chef/run_context.rb | Ruby | apache-2.0 | 10,032 |
/*
* $Id$
*
* Copyright 2001-2005 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... | kawasima/struts-taglib-compatible | src/share/org/apache/struts/action/ActionMessage.java | Java | apache-2.0 | 5,427 |
/*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights
* Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | flofreud/aws-sdk-java | aws-java-sdk-ecr/src/main/java/com/amazonaws/services/ecr/model/transform/ListImagesRequestMarshaller.java | Java | apache-2.0 | 3,745 |
/**
* 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... | telefonicaid/fiware-cosmos-ambari | ambari-web/app/views/main/admin/menu.js | JavaScript | apache-2.0 | 2,238 |
package uk.co.blackpepper.bowman;
import java.io.IOException;
import java.lang.reflect.Modifier;
import org.springframework.hateoas.EntityModel;
import org.springframework.hateoas.Links;
import org.springframework.hateoas.RepresentationModel;
import com.fasterxml.jackson.core.JsonParser;
import com.fasterxml.jackson... | BlackPepperSoftware/hal-client | client/src/main/java/uk/co/blackpepper/bowman/ResourceDeserializer.java | Java | apache-2.0 | 2,736 |
/// <reference path="fourslash.ts" />
//// /*1*/15 / /*2*/Math.min(61 / /*3*/42, 32 / 15) / /*4*/15;
goTo.marker("1");
verify.not.quickInfoIs("RegExp");
goTo.marker("2");
verify.not.quickInfoIs("RegExp");
goTo.marker("3");
verify.not.quickInfoIs("RegExp");
goTo.marker("4");
verify.not.quickInfoIs("RegExp"); | jonathanmarvens/typescript | tests/cases/fourslash/regexDetection.ts | TypeScript | apache-2.0 | 311 |
/*
* Copyright (C) 2015, 程序亦非猿
*
* 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 ... | Zhangsongsong/GraduationPro | 毕业设计/code/android/YYFramework/src/app/logic/live/view/PeriscopeLayout.java | Java | apache-2.0 | 7,978 |
/*
* Copyright 2016-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 a... | rklabs/folly | folly/experimental/test/JemallocNodumpAllocatorTest.cpp | C++ | apache-2.0 | 1,834 |
/*
Copyright (c) 2007 Cyrus Daboo. 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 re... | mbert/mulberry-main | MacOS/Sources/Application/Preferences_Dialog/Edit_Identities/CEditIdentitySecurity.h | C | apache-2.0 | 2,227 |
/* dlapack.f -- translated by f2c (version of 20 August 1993 13:15:44).
You must link the resulting object file with the libraries:
-lf2c -lm (in that order)
*/
#include "f2c.h"
/* Table of constant values */
static integer c__1 = 1;
static doublereal c_b21 = 0.;
static doublereal c_b22 = 1.;
static integer ... | radarsat1/siconos | externals/netlib/dctemplates/dlapack.c | C | apache-2.0 | 218,409 |
//
// Copyright (c) 2017 The Khronos Group 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... | KhronosGroup/OpenCL-CTS | test_conformance/vectors/type_replacer.cpp | C++ | apache-2.0 | 4,064 |
/**
* Copyright (c) 2016-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 ... | Yangqing/caffe2 | modules/detectron/roi_pool_f_op.h | C | apache-2.0 | 2,428 |
# Copyright (C) 2015 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 law or ... | android-art-intel/Nougat | art-extension/tools/checker/common/archs.py | Python | apache-2.0 | 663 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright company="Chocolatey" file="ChocolateyService.cs">
// Copyright 2017 - Present Chocolatey Software, LLC
// Copyright 2014 - 2017 Rob Reynolds, the maintainers of Chocolatey, and Re... | chocolatey/ChocolateyGUI | Source/ChocolateyGui.Common.Windows/Services/ChocolateyService.cs | C# | apache-2.0 | 31,834 |
/*
Copyright 2020 The Knative 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, soft... | knative/serving | config/core/deployments/placeholder.go | GO | apache-2.0 | 688 |
package com.oklab.gitjourney.data;
import java.util.Calendar;
/**
* Created by olgakuklina on 2017-01-15.
*/
public class FeedDataEntry {
private final long entryId;
private final String authorName;
private final String avatarURL;
private final String authorURL;
private final String title;
... | OlgaKuklina/GitJourney | app/src/main/java/com/oklab/gitjourney/data/FeedDataEntry.java | Java | apache-2.0 | 1,413 |
/*
* 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 ... | a1vanov/ignite | modules/web-console/frontend/app/modules/states/signin.state.js | JavaScript | apache-2.0 | 1,523 |
/*
* 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")... | skoulouzis/lobcder | milton2/milton-server-ce/src/main/java/io/milton/http/http11/CacheControlHelper.java | Java | apache-2.0 | 1,359 |
require 'chef/provider/lwrp_base'
require_relative 'helpers'
class Chef
class Provider
class MysqlService < Chef::Provider::LWRPBase
# Chef 11 LWRP DSL Methods
use_inline_resources if defined?(use_inline_resources)
def whyrun_supported?
true
end
# Mix in helpers from libra... | OSLL/mariadb-cookbooks | libraries/provider_mysql_service.rb | Ruby | apache-2.0 | 7,775 |
/*
* Copyright 2007-2107 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 requi... | aglne/ymateplatform | ymateplatform/src/main/java/net/ymate/platform/validation/annotation/ValidateRule.java | Java | apache-2.0 | 1,601 |
/*
* 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 ... | mxm/incubator-beam | sdks/java/extensions/sql/src/main/java/org/apache/beam/sdk/extensions/sql/meta/provider/pubsub/PubsubJsonTableProvider.java | Java | apache-2.0 | 4,335 |
/*
Copyright 2013 - $Date $ by PeopleWare n.v.
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... | jandppw/ppwcode-recovered-from-google-code | _moved2github/javascript/vernacular/value/trunk/src/test/SiScalarQuantitativeValue.js | JavaScript | apache-2.0 | 3,618 |
/*
Copyright [2016] [Relevance Lab]
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, soft... | Durgesh1988/core | server/app/model/bots/1.0/bots.js | JavaScript | apache-2.0 | 8,832 |
package helpers
func getWhitelistedDrivers(resourceData *ResourceData) []string {
tempMap := make(map[string]string)
for _, driver := range resourceData.Blacklist {
tempMap[driver] = ""
}
whitelist := []string{}
for _, driver := range resourceData.Drivers {
if _, ok := tempMap[driver]; !ok {
whitelist = ap... | cjellick/go-machine-service | generator/helpers/utils.go | GO | apache-2.0 | 572 |
/*
*
* Copyright (C) 2000 Silicon Graphics, Inc. All Rights Reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your opti... | OpenXIP/xip-libraries | src/extern/inventor/libSoXt/include/Inventor/Xt/SoXtComponent.h | C | apache-2.0 | 12,290 |
from __future__ import print_function
import sys
sys.path.insert(1,"../../../")
import h2o
from tests import pyunit_utils
from h2o.utils.typechecks import assert_is_type
from h2o.frame import H2OFrame
def h2o_H2OFrame_ascharacter():
"""
Python API test: h2o.frame.H2OFrame.ascharacter()
Copied from pyunit_... | spennihana/h2o-3 | h2o-py/tests/testdir_apis/Data_Manipulation/pyunit_h2oH2OFrame_ascharacter.py | Python | apache-2.0 | 734 |
#!/usr/bin/python2.5
# Copyright (C) 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 la... | google/transitfeed | examples/table.py | Python | apache-2.0 | 6,035 |
---
layout: page
title: "album"
description: "masonry"
active: gallery
header-img: "gallery/p_archive_2/p_archive_2_1.jpg"
album-title: "my 1st album"
images:
- image_path: /gallery/p_archive_2/p_archive_2_1.jpg
caption: IMAGE TITLE
copyright: © thoshith
- image_path: /gallery/p_archive_2/p_archive_2_2.jpg
c... | idbytes/thoshith.github.io | gallery/p_archive_2/index.html | HTML | apache-2.0 | 3,406 |
/*
* Copyright © 2014 - 2021 Leipzig University (Database Research 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
*
* Unles... | galpha/gradoop | gradoop-flink/src/main/java/org/gradoop/flink/model/impl/operators/grouping/functions/BuildGroupItemBase.java | Java | apache-2.0 | 4,331 |
/*
* 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 ... | sshcherbakov/incubator-geode | gemfire-core/src/main/java/com/gemstone/gemfire/internal/cache/ReliableMessageQueueFactory.java | Java | apache-2.0 | 1,803 |
#include "extensions/filters/http/cache/simple_http_cache/simple_http_cache.h"
#include "envoy/registry/registry.h"
#include "common/buffer/buffer_impl.h"
#include "common/http/header_map_impl.h"
#include "source/extensions/filters/http/cache/simple_http_cache/config.pb.h"
namespace Envoy {
namespace Extensions {
n... | istio/envoy | source/extensions/filters/http/cache/simple_http_cache/simple_http_cache.cc | C++ | apache-2.0 | 4,919 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.