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 |
|---|---|---|---|---|---|
# 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 applica... | alsrgv/tensorflow | tensorflow/python/keras/utils/generic_utils.py | Python | apache-2.0 | 19,553 |
const $ = require('jquery');
const { BagItProfile } = require('../../bagit/bagit_profile');
const { Job } = require('../../core/job');
const { JobRunController } = require('./job_run_controller');
const { PackageOperation } = require('../../core/package_operation');
const path = require('path');
const { StorageService ... | APTrust/easy-store | ui/controllers/job_run_controller.test.js | JavaScript | apache-2.0 | 2,913 |
package io.github.dantesun.petclinic.data.velocity;
import org.apache.ibatis.executor.parameter.ParameterHandler;
import org.apache.ibatis.mapping.BoundSql;
import org.apache.ibatis.mapping.MappedStatement;
import org.apache.ibatis.mapping.SqlSource;
import org.apache.ibatis.parsing.XNode;
import org.apache.ibatis.scr... | dantesun/webapp-boilerplate | core-models/src/main/java/io/github/dantesun/petclinic/data/velocity/VelocityDriver.java | Java | apache-2.0 | 1,398 |
# Pseudonocardia halophobica (Akimov et al., 1989) McVeigh et al., 1994 SPECIES
#### Status
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Bacteria/Actinobacteria/Actinobacteria/Actinomycetales/Pseudonocardiaceae/Pseudonocardia/Pseudonocardia halophobica/README.md | Markdown | apache-2.0 | 227 |
package core.utils;
import java.util.ArrayList;
import java.util.List;
public class Page<T> {
public static final int PAGE_SIZE = 10;
protected List<T> listObjects = new ArrayList<>();
protected int currentPage;
protected int pageSize = PAGE_SIZE;
/**
* Constructor.
* @param list conta... | gdanguy/training-java-gdanguy | core/src/main/java/core/utils/Page.java | Java | apache-2.0 | 3,276 |
<?php
/**
* DO NOT EDIT THIS FILE!
*
* This file was automatically generated from external sources.
*
* Any manual change here will be lost the next time the SDK
* is updated. You've been warned!
*/
namespace DTS\eBaySDK\Test\PostOrder\Types;
use DTS\eBaySDK\PostOrder\Types\ReturnShippingCostDetailType;
class... | davidtsadler/ebay-sdk-php | test/PostOrder/Types/ReturnShippingCostDetailTypeTest.php | PHP | apache-2.0 | 802 |
/**
* @license Apache-2.0
*
* Copyright (c) 2020 The Stdlib 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 a... | stdlib-js/stdlib | lib/node_modules/@stdlib/stats/base/dists/signrank/cdf/lib/factory.js | JavaScript | apache-2.0 | 2,313 |
/*
* Copyright (C) 2015 The Gravitee team (http://gravitee.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 requi... | gravitee-io/graviteeio-access-management | gravitee-am-ui/src/app/domain/settings/scim/scim.component.ts | TypeScript | apache-2.0 | 2,097 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<title>Software Testing</title>
<link rel="styl... | dannalaynas/QA-WebSite | Topics.html | HTML | apache-2.0 | 7,678 |
/*
* 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 ... | voipp/ignite | modules/ml/src/main/java/org/apache/ignite/ml/preprocessing/imputer/ImputerPreprocessor.java | Java | apache-2.0 | 2,255 |
/*
© 2017 Altavant Technologies Inc.
Web: http://www.altavant.com
*/
namespace Altavant.Fusion.Graphics
{
using System;
using Fusion.Utils;
public enum MatrixOrder : byte
{
Append,
Prepend
}
public class Matrix
{
private float _m11;
private float _m12;
private float _m21;
priv... | altavant/Fusion | Android/Source/Graphics/Matrix.cs | C# | apache-2.0 | 14,618 |
/*
* Copyright (c) 2008-2013, 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 ... | health-and-care-developer-network/health-and-care-developer-network | library/hazelcast/2.5/hazelcast-2.5-source/hazelcast/src/test/java/com/hazelcast/core/IMapAsyncTest.java | Java | apache-2.0 | 3,450 |
/*
* 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... | jprante/elasticsearch-client | elasticsearch-client-search/src/main/java/org/elasticsearch/index/query/SpanFirstQueryBuilder.java | Java | apache-2.0 | 1,877 |
[assembly: Xamarin.Forms.Platform.WPF.ExportRenderer(typeof(Xamarin.Forms.Entry), typeof(Xamarin.Forms.Platform.WPF.Controls.EntryRenderer))]
namespace Xamarin.Forms.Platform.WPF.Controls
{
using System.Windows;
using System.Windows.Controls;
public partial class EntryRenderer : Xamarin.Forms.Platform.WPF... | jvlppm/xamarin-forms-wpf | src/Xamarin.Forms.Platforms/Xamarin.Forms.Platform.WPF/Platform.WPF/Rendereres/EntryRenderer.xaml.cs | C# | apache-2.0 | 2,632 |
/*§
===========================================================================
MoonDeploy
===========================================================================
Copyright (C) 2015-2016 Gianluca Costa
===========================================================================
Licensed under the Apache ... | giancosta86/moondeploy | v3/test/test.go | GO | apache-2.0 | 1,117 |
# Asterinites colombiensis Doub. & D. Pons ex Kalgutkar & Janson. SPECIES
#### Status
ACCEPTED
#### According to
Index Fungorum
#### Published in
AASP Contributions Series (Dallas) 39: 32 + pl. 30, fig. 9 (2000)
#### Original name
Asterinites colombiensis Doub. & D. Pons ex Kalgutkar & Janson.
### Remarks
null | mdoering/backbone | life/Fungi/Asterinites/Asterinites colombiensis/README.md | Markdown | apache-2.0 | 316 |
page_title: Dockerfile Reference
page_description: Dockerfiles use a simple DSL which allows you to automate the steps you would normally manually take to create an image.
page_keywords: builder, docker, Dockerfile, automation, image creation
# Dockerfile Reference
**Docker can act as a builder** and read instruction... | abudulemusa/docker | docs/sources/reference/builder.md | Markdown | apache-2.0 | 20,602 |
/**
* @license
* Copyright The Closure Library Authors.
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @fileoverview Displays and edits the value of a cookie.
* Intended only for debugging.
*/
goog.provide('goog.ui.CookieEditor');
goog.require('goog.asserts');
goog.require('goog.dom');
goog.require('goog.dom.T... | google/closure-library | closure/goog/ui/cookieeditor.js | JavaScript | apache-2.0 | 4,463 |
/*
* Forge SDK
*
* The Forge Platform contains an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
*
* OpenAPI spec version: 0.1.0
* Contact: forge.help@autodesk.com
* Ge... | Autodesk-Forge/forge-api-dotnet-client | src/Autodesk.Forge/Model/RelRefMeta.cs | C# | apache-2.0 | 13,760 |
// Copyright 2021 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
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | openconfig/catalog-server | pkg/db/db.go | GO | apache-2.0 | 14,564 |
#!/usr/bin/env perl
use warnings;
use strict;
use POSIX;
# convert a set of numbers to a distribution
my $bin = shift @ARGV;
my $col = shift @ARGV;
$bin or die "usage: $0 <bin size> <column number (0 based)> <table (on STDIN)>\n";
my $delim = "\t";
my $n=0;
my $sum=0;
my $min=1000000000;
my $max = -999999999;
my %dist... | warelab/misc | set2dist.pl | Perl | apache-2.0 | 2,168 |
/*
Copyright 2014 Cloudbase Solutions Srl
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, sof... | cloudbase/openvswitch-hyperv-kernel | Driver/Protocol/Tcp.c | C | apache-2.0 | 4,804 |
<!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_65) on Wed Sep 03 20:01:19 PDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>AuthenticationProto... | lshain/hbase-0.98.6-hadoop2 | docs/devapidocs/org/apache/hadoop/hbase/protobuf/generated/AuthenticationProtos.WhoAmIRequestOrBuilder.html | HTML | apache-2.0 | 8,113 |
// LUCENENET specific - excluding this class in favor of DirectoryNotFoundException,
// although that means we need to catch DirectoryNotFoundException everywhere that
// FileNotFoundException is being caught (because it is a superclass) to be sure we have the same behavior.
//using System;
//using System.IO;
//name... | YAFNET/YAFNET | yafsrc/Lucene.Net/Lucene.Net/Store/NoSuchDirectoryException.cs | C# | apache-2.0 | 1,813 |
# Caperonia hystrix Pax & K.Hoffm. SPECIES
#### Status
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Malpighiales/Euphorbiaceae/Caperonia/Caperonia linearifolia/ Syn. Caperonia hystrix/README.md | Markdown | apache-2.0 | 189 |
/*
* Copyright 2017 Red Hat, Inc. and/or its affiliates.
*
* 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... | etirelli/kie-wb-common | kie-wb-common-screens/kie-wb-common-library/kie-wb-common-library-client/src/test/java/org/kie/workbench/common/screens/library/client/screens/assets/AssetsScreenTest.java | Java | apache-2.0 | 5,601 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using System.Xml.Linq;
using Microsoft.CodeAnalysis.CSharp;
using Micr... | kelltrick/roslyn | src/EditorFeatures/CSharpTest/ExtractMethod/ExtractMethodTests.cs | C# | apache-2.0 | 210,991 |
//------------------------------------------------------------------------------
// <自动生成>
// 此代码由工具生成。
//
// 对此文件的更改可能导致不正确的行为,如果
// 重新生成代码,则所做更改将丢失。
// </自动生成>
//------------------------------------------------------------------------------
namespace News {
public partial class... | Rangowj/NewsSystem | News/News/NewsEdit.aspx.designer.cs | C# | apache-2.0 | 2,172 |
//- Copyright 2013 the Neutrino authors (see AUTHORS).
//- Licensed under the Apache License, Version 2.0 (see LICENSE).
#ifndef _RUNTIME_INL
#define _RUNTIME_INL
#include "runtime.h"
// Expands to the body of a safe_ function that works by calling a delegate and
// if it fails garbage collecting and trying again o... | tundra/neutrino | src/c/runtime-inl.h | C | apache-2.0 | 608 |
# Strobilanthes perplexa J.R.I.Wood SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Lamiales/Acanthaceae/Strobilanthes/Strobilanthes perplexa/README.md | Markdown | apache-2.0 | 183 |
/*
* Copyright 2010 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | ghchinoy/wicsa2011 | src/com/google/android/apps/iosched/provider/ScheduleProvider.java | Java | apache-2.0 | 33,646 |
# dtstructs [](https://travis-ci.org/mbe24/dtstructs) [](https://raw.githubusercontent.com/mbe24/jcurry/master/LICENSE)
===========
C++ Data Structures
---------... | mbe24/dtstructs | README.md | Markdown | apache-2.0 | 330 |
/*
* 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 "lice... | trasa/aws-sdk-java | aws-java-sdk-inspector/src/main/java/com/amazonaws/services/inspector/model/NoSuchEntityException.java | Java | apache-2.0 | 1,070 |
/*
* 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-dataexchange/src/main/java/com/amazonaws/services/dataexchange/model/DeleteEventActionRequest.java | Java | apache-2.0 | 3,714 |
# Daedalea microzona Lév., 1846 SPECIES
#### Status
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Annls Sci. Nat. , Bot. , sér. 3 5: 142 (1846)
#### Original name
Daedalea microzona Lév., 1846
### Remarks
null | mdoering/backbone | life/Fungi/Basidiomycota/Agaricomycetes/Polyporales/Fomitopsidaceae/Daedalea/Daedalea flavida/ Syn. Daedalea microzona/README.md | Markdown | apache-2.0 | 255 |
/*******************************************************************************
* Copyright 2017 Xoriant Corporation.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http... | XoriantOpenSource/swagger-blog-examples | swagger-blog-2/java-client/src/test/java/io/swagger/client/api/DefaultApiTest.java | Java | apache-2.0 | 1,849 |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace com.huawei.ebg.esdk.ucsdk.client.control
{
public partial class DialCall : Button
{
public DialCall()
... | eSDK/esdk_uc_control_net | com.huawei.ebg.esdk.ucsdk.client.control/Client Control/DialCall.cs | C# | apache-2.0 | 1,163 |
/*
* =============================================================================
*
* Copyright (c) 2011-2016, The THYMELEAF team (http://www.thymeleaf.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 ... | thymeleaf/thymeleaf-tests | src/test/java/org/thymeleaf/dialect/dialectwrapping/ElementModelProcessor.java | Java | apache-2.0 | 1,538 |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Accela.WindowsStoreSDK")]
[assembly: AssemblyDescription("Accela SDK for Windows & Windows Phone")]
[assembly: AssemblyCompany("Accela Inc.")]
[assembly: AssemblyProduct("AccelaSDK")]
[assem... | Accela-Inc/Windows-SDK | src/AccelaSDK/Properties/AssemblyInfo.cs | C# | apache-2.0 | 492 |
---
layout: default
title: CAS - SMS Messaging
category: Notifications
---
# SMS Messaging
CAS presents the ability to notify users on select actions via SMS messaging. Example actions include notification of risky authentication attempts
or password reset links/tokens. SMS providers supported by CAS are listed below... | leleuj/cas | docs/cas-server-documentation/notifications/SMS-Messaging-Configuration.md | Markdown | apache-2.0 | 3,561 |
/**
* @license Apache-2.0
*
* Copyright (c) 2020 The Stdlib 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 a... | stdlib-js/stdlib | lib/node_modules/@stdlib/stats/base/smin/lib/ndarray.native.js | JavaScript | apache-2.0 | 1,677 |
/*
* Copyright 2014-2019 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... | jentfoo/aws-sdk-java | aws-java-sdk-lightsail/src/main/java/com/amazonaws/services/lightsail/model/transform/DetachStaticIpResultJsonUnmarshaller.java | Java | apache-2.0 | 2,855 |
package io.teknek.nibiru.transport.rpc;
import io.teknek.nibiru.transport.BaseResponse;
public class BlockingRpcResponse<T> implements BaseResponse {
private String exception;
private T rpcResult;
public BlockingRpcResponse(){
}
public String getException() {
return exception;
}
public voi... | edwardcapriolo/nibiru | src/main/java/io/teknek/nibiru/transport/rpc/BlockingRpcResponse.java | Java | apache-2.0 | 530 |
<!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_80) on Thu Oct 15 19:26:58 UTC 2015 -->
<title>DescribeScheduledActionsResult (AWS SDK for Java - 1.10.27)</title>
<meta name="date" co... | TomNong/Project2-Intel-Edison | documentation/javadoc/com/amazonaws/services/autoscaling/model/DescribeScheduledActionsResult.html | HTML | apache-2.0 | 29,161 |
/*
Copyright 2021 The Kubeflow 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, so... | kubeflow/katib | hack/swagger/main.go | GO | apache-2.0 | 2,606 |
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
import pytest
import allure_commons
from allure_pytest.utils import ALLURE_LABEL_PREFIX, ALLURE_LINK_PREFIX
class AllureTestHelper(object):
def __init__(self, config):
self.config = config
@allure_commons.hookimpl
def decorate_as_l... | igogorek/allure-python | allure-pytest/src/helper.py | Python | apache-2.0 | 1,026 |
/*
* 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-config/src/main/java/com/amazonaws/services/config/model/transform/DescribeConfigRulesRequestMarshaller.java | Java | apache-2.0 | 2,415 |
/*
* 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-iotevents/src/main/java/com/amazonaws/services/iotevents/model/GetDetectorModelAnalysisResultsRequest.java | Java | apache-2.0 | 7,053 |
/*
* Copyright 2014-2015 Nippon Telegraph and Telephone Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requi... | trojan00/lagopus | src/include/lagopus_runnable_funcs.h | C | apache-2.0 | 1,702 |
/*
Copyright 2014 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, ... | mdshuai/kubernetes | pkg/kubectl/cmd/annotate.go | GO | apache-2.0 | 13,212 |
---
title: Span
page_title: Span | UI for WinForms Documentation
description: Span
slug: winforms/richtextbox-(obsolete)/features/document-elements/span
tags: span
published: True
position: 4
previous_url: richtextbox-features-document-elements-span
---
# Span
The __Span__ class represents an inline object that allow... | telerik/winforms-docs | controls/richtextbox/features/document-elements/span.md | Markdown | apache-2.0 | 3,217 |
// Copyright 2018 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
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writi... | googleads/googleads-java-lib | modules/adwords_appengine/src/main/java/com/google/api/ads/adwords/jaxws/v201809/cm/CampaignSharedSetServiceInterfaceget.java | Java | apache-2.0 | 2,446 |
/*
Copyright 2018 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... | google/knative-gcp | vendor/knative.dev/eventing/pkg/reconciler/testing/listers.go | GO | apache-2.0 | 5,343 |
# AUTOGENERATED FILE
FROM balenalib/jetson-tx1-fedora:34-run
ENV GO_VERSION 1.16.3
# gcc for cgo
RUN dnf install -y \
gcc-c++ \
gcc \
git \
&& dnf clean all
RUN mkdir -p /usr/local/go \
&& curl -SLO "https://storage.googleapis.com/golang/go$GO_VERSION.linux-arm64.tar.gz" \
&& echo "f4e96bbcd5d2d1942f5b55d9e... | nghiant2710/base-images | balena-base-images/golang/jetson-tx1/fedora/34/1.16.3/run/Dockerfile | Dockerfile | apache-2.0 | 2,071 |
# Using git with proxy
Git-sync supports using a proxy through git-configuration.
## Background
See [issue 180](https://github.com/kubernetes/git-sync/issues/180) for a background.
See [Github documentation](https://docs.github.com/en/github/authenticating-to-github/using-ssh-over-the-https-port) specifically for Gi... | kubernetes/git-sync | docs/proxy.md | Markdown | apache-2.0 | 1,215 |
/**
* AET
*
* Copyright (C) 2013 Cognifide Limited
*
* 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... | Cognifide/AET | api/jobs-api/src/main/java/org/browsermob/core/json/ISO8601DateFormatter.java | Java | apache-2.0 | 2,315 |
package org.apache.lucene.index;
/*
* 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, Versio... | fogbeam/Heceta_solr | lucene/core/src/java/org/apache/lucene/index/TermVectorsConsumerPerField.java | Java | apache-2.0 | 10,979 |
#
# Author:: Scott Bonds (scott@ggr.com)
# Copyright:: Copyright 2014-2016, Scott Bonds
# License:: Apache License, Version 2.0
#
# 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://... | jaymzh/chef | spec/unit/provider/package/openbsd_spec.rb | Ruby | apache-2.0 | 5,369 |
/*
* Copyright 2011 Ning, Inc.
*
* Ning 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 required by applic... | twilliamson/mogwee-executors | src/main/java/com/mogwee/executors/NamedThreadFactory.java | Java | apache-2.0 | 1,331 |
<!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_11) on Mon Oct 19 11:00:57 CEST 2009 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Uses of Class org.apache.mina.st... | sardine/mina-ja | docs/apidocs/org/apache/mina/statemachine/annotation/class-use/IoHandlerTransitions.html | HTML | apache-2.0 | 6,444 |
#
# farmwork/forms.py
#
from django import forms
from django.utils.text import slugify
from .models import Farmwork
# ========================================================
# FARMWORK FORM
# ========================================================
class FarmworkForm(forms.ModelForm):
def __init__(self, *args... | ianmilliken/rwf | backend/apps/farmwork/forms.py | Python | apache-2.0 | 1,542 |
namespace Konves.ChordPro.Directives
{
public sealed class CommentBoxDirective : Directive
{
public CommentBoxDirective(string text)
{
Text = text;
}
public string Text { get; set; }
}
}
| skonves/Konves.ChordPro | src/Konves.ChordPro/Directives/CommentBoxDirective.cs | C# | apache-2.0 | 205 |
from django.contrib.auth.models import AnonymousUser
from core.models import Identity
from api.v2.serializers.post import AccountSerializer
from api.v2.views.base import AdminAuthViewSet
class AccountViewSet(AdminAuthViewSet):
"""
API endpoint that allows providers to be viewed or edited.
"""
lookup... | CCI-MOC/GUI-Backend | api/v2/views/account.py | Python | apache-2.0 | 771 |
---
title: raft(2)
categories: 分布式算法
tags: Raft
---
## 概念
### 1. Term

raft中,将时间划分成了一段一段的,每一段成为一个term。每当发起一次领导竞选(leader election)时,term会加1。
由图可以看到蓝色为election时期,绿色为leader带领follower正常操作时期。但也可以看到term3只有leader election,且之后马上又是leader election,但term已经变为4了。但term3到term4这是怎么回事呢?不急慢慢来,暂且... | gobraves/gobraves.github.io | source/_drafts/raft-2.md | Markdown | apache-2.0 | 2,173 |
<?php
$test = array('2004', '2005', '2006');
$test2 = array('1000', '1170', '660');
$end = array_pop($test);
$end2 = array_pop($test2);
?>
<html>
<head>
<script type="text/javascript"
src="https://www.google.com/jsapi?autoload={
'modules':[{
'name':'visualization',
... | LamaDelRay/codecampECOMMERCE | index.php | PHP | apache-2.0 | 1,233 |
/*
* Copyright (C) 2015 The Gravitee team (http://gravitee.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 requi... | gravitee-io/gravitee-management-webui | src/management/api/creation/steps/api-creation-step1.component.ts | TypeScript | apache-2.0 | 2,038 |
/*
* Copyright 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 applicabl... | micromata/jiraRestClient | src/main/java/de/micromata/jira/rest/core/misc/RestPathConstants.java | Java | apache-2.0 | 1,734 |
/*****************************************************************************
* Copyright (C) jparsec.org *
* ------------------------------------------------------------------------- *
* Licensed under the Apache License, Version 2.0 (the "License"); *
* yo... | jparsec/jparsec | jparsec-examples/src/main/java/org/jparsec/examples/sql/parser/ExpressionParser.java | Java | apache-2.0 | 9,523 |
---
title: Over the Moon for June!
date: 2016-06-01 00:00:00 -06:00
categories:
- whats-blooming
layout: post
blog-banner: whats-blooming-now-summer.jpg
post-date: June 01, 2016
post-time: 4:33 PM
blog-image: wbn-default.jpg
---
<div class="text-center"> Here at the Garden, we are over the moon excited for the warm we... | jonroler/rbgmd | _posts/2016-06-01-over-the-moon-for-june.md | Markdown | apache-2.0 | 2,444 |
/*
* Copyright 2004-2008 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... | jeffbrown/grailsnolib | grails-web/src/main/groovy/org/codehaus/groovy/grails/web/json/PrettyPrintJSONWriter.java | Java | apache-2.0 | 4,112 |
/*
* Infoplus API
*
* Infoplus API.
*
* OpenAPI spec version: v1.0
* Contact: api@infopluscommerce.com
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* Y... | infopluscommerce/infoplus-csharp-client | src/Infoplus/Api/ReplenishmentApi.cs | C# | apache-2.0 | 29,649 |
<%#
Copyright 2013-2018 the original author or authors from the JHipster project.
This file is part of the JHipster project, see http://www.jhipster.tech/
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 ma... | nkolosnjaji/generator-jhipster | generators/client/templates/angularjs/src/main/webapp/app/account/register/_register.html | HTML | apache-2.0 | 9,568 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable enable
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.... | davkean/roslyn | src/EditorFeatures/CSharpTest/Diagnostics/DiagnosticAnalyzerDriver/DiagnosticAnalyzerDriverTests.cs | C# | apache-2.0 | 34,710 |
// bslmf_invokeresult.06.t.cpp -*-C++-*-
// ============================================================================
// INCLUDE STANDARD TEST MACHINERY FROM CASE 0
// ----------------------------------------------------------------------------
#define BSLMF... | bloomberg/bde | groups/bsl/bslmf/bslmf_invokeresult.06.t.cpp | C++ | apache-2.0 | 15,358 |
/**
* Test for LOOMIA TILE Token
*
* @author Pactum IO <dev@pactum.io>
*/
import {getEvents, BigNumber} from './helpers/tools';
import expectThrow from './helpers/expectThrow';
const loomiaToken = artifacts.require('./TileToken');
const should = require('chai') // eslint-disable-line
.use(require('chai-as-pr... | LOOMIA/loomia | tiletoken/test/contracts/0_TileToken.js | JavaScript | apache-2.0 | 26,410 |
/**
*/
package org.tud.inf.st.mbt.ocm.impl;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.impl.EFactoryImpl;
import org.eclipse.emf.ecore.plugin.EcorePlugin;
import org.tud.inf.st.mbt.ocm.*;
/**
* <!-- begin-user-doc... | paetti1988/qmate | MATE/org.tud.inf.st.mbt.emf/src-gen/org/tud/inf/st/mbt/ocm/impl/OcmFactoryImpl.java | Java | apache-2.0 | 3,466 |
/**
* Copyright (c) 2013-2019 Contributors to the Eclipse Foundation
*
* <p> See the NOTICE file distributed with this work for additional information regarding copyright
* ownership. All rights reserved. This program and the accompanying materials are made available
* under the terms of the Apache License, Versio... | spohnan/geowave | core/store/src/main/java/org/locationtech/geowave/core/store/util/RewritingMergingEntryIterator.java | Java | apache-2.0 | 2,157 |
package plugin
/*
usage: !day
*/
import (
"strings"
"time"
"github.com/microamp/gerri/cmd"
"github.com/microamp/gerri/data"
)
func ReplyDay(pm data.Privmsg, config *data.Config) (string, error) {
return cmd.Privmsg(pm.Target, strings.ToLower(time.Now().Weekday().String())), nil
}
| kesara/gerri | plugin/day.go | GO | apache-2.0 | 289 |
/*
* Copyright (C) 2019 Contentful GmbH
*
* 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... | contentful/contentful-management.java | src/main/java/com/contentful/java/cma/ServiceContentTags.java | Java | apache-2.0 | 2,309 |
package main
import (
"net/url"
"time"
"github.com/codegangsta/cli"
"github.com/michaeltrobinson/cadvisor-integration/scraper"
"github.com/signalfx/metricproxy/protocol/signalfx"
log "github.com/Sirupsen/logrus"
)
var (
sfxAPIToken string
sfxIngestURL string
clusterName string
sendInterva... | michaeltrobinson/cadvisor-integration | cmd/signalfx-cadvisord/run.go | GO | apache-2.0 | 3,432 |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mwaa/MWAA_EXPORTS.h>
#include <aws/mwaa/MWAARequest.h>
#include <aws/core/utils/memory/stl/AWSMap.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/mwaa/mode... | jt70471/aws-sdk-cpp | aws-cpp-sdk-mwaa/include/aws/mwaa/model/CreateEnvironmentRequest.h | C | apache-2.0 | 60,613 |
# Puccinia isoglossae Doidge SPECIES
#### Status
ACCEPTED
#### According to
Index Fungorum
#### Published in
Bothalia 2(1a): 72 (1926)
#### Original name
Puccinia isoglossae Doidge
### Remarks
null | mdoering/backbone | life/Fungi/Basidiomycota/Pucciniomycetes/Pucciniales/Pucciniaceae/Puccinia/Puccinia isoglossae/README.md | Markdown | apache-2.0 | 202 |
# Uromyces veratri f. adenostylis E. Fisch. FORM
#### Status
ACCEPTED
#### According to
Index Fungorum
#### Published in
null
#### Original name
Uromyces veratri f. adenostylis E. Fisch.
### Remarks
null | mdoering/backbone | life/Fungi/Basidiomycota/Pucciniomycetes/Pucciniales/Pucciniaceae/Uromyces/Uromyces veratri/Uromyces veratri adenostylis/README.md | Markdown | apache-2.0 | 208 |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.... | systemsymbiosis/ASP-MVC-Demo | Powerfront.Backend/EntityFramework/Type.cs | C# | apache-2.0 | 1,112 |
/*
* Copyright (c) 2012. Piraso Alvin R. de Leon. All Rights Reserved.
*
* See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The Piraso licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in ... | piraso/piraso-sql | context-logger/server/src/main/java/org/piraso/server/sql/SQLContextLoggerBeanPostProcessor.java | Java | apache-2.0 | 1,383 |
package org.lionsoul.jcseg.util;
import java.io.Serializable;
/**
* string buffer class
*
* @author chenxin<chenxin619315@gmail.com>
*/
public class IStringBuffer implements Serializable
{
private static final long serialVersionUID = 1L;
/**
* buffer char array.
*/
private char buff[];
... | lionsoul2014/jcseg | jcseg-core/src/main/java/org/lionsoul/jcseg/util/IStringBuffer.java | Java | apache-2.0 | 7,966 |
/*
* Copyright (c) 2017 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | wangcy6/storm_app | frame/c++/webrtc-master/modules/video_coding/codecs/stereo/include/stereo_encoder_adapter.h | C | apache-2.0 | 2,841 |
package net.happybrackets.core.control;
import com.google.gson.Gson;
import de.sciss.net.OSCMessage;
import net.happybrackets.core.Device;
import net.happybrackets.core.OSCVocabulary;
import net.happybrackets.core.scheduling.HBScheduler;
import net.happybrackets.core.scheduling.ScheduledEventListener;
import net.happy... | orsjb/HappyBrackets | HappyBrackets/src/main/java/net/happybrackets/core/control/DynamicControl.java | Java | apache-2.0 | 63,210 |
# Moritzia dasyantha Fresen. SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Boraginales/Boraginaceae/Moritzia/Moritzia dasyantha/README.md | Markdown | apache-2.0 | 176 |
// Copyright 2020 The IREE Authors
//
// Licensed under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
#ifndef IREE_COMPILER_DIALECT_HAL_TARGET_LLVM_LLVMAOTTARGET_H_
#define IREE_COMPILER_DIALECT_H... | google/iree | iree/compiler/Dialect/HAL/Target/LLVM/LLVMAOTTarget.h | C | apache-2.0 | 809 |
<!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_27) on Wed Nov 06 17:51:16 PST 2013 -->
<TITLE>
QuantileUtil (DataFu 1.1.0)
</TITLE>
<META NAME="date" CONTENT="2013-11-06">
<LINK REL ="stylesheet... | shaohua-zhang/incubator-datafu | site/source/docs/datafu/1.1.0/datafu/pig/stats/QuantileUtil.html | HTML | apache-2.0 | 10,689 |
# AUTOGENERATED FILE
FROM balenalib/artik520-fedora:34-run
ENV NODE_VERSION 16.14.0
ENV YARN_VERSION 1.22.4
RUN for key in \
6A010C5166006599AA17F08146C2130DFD2497F5 \
; do \
gpg --keyserver pgp.mit.edu --recv-keys "$key" || \
gpg --keyserver keyserver.pgp.com --recv-keys "$key" || \
gpg --keyserver keyserver... | resin-io-library/base-images | balena-base-images/node/artik520/fedora/34/16.14.0/run/Dockerfile | Dockerfile | apache-2.0 | 2,745 |
<!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_17) on Tue May 14 03:45:01 CEST 2013 -->
<title>AtlasTmxMapLoader (libgdx API)</title>
<meta name="date" content="2013-05-14">
<link re... | leszekuchacz/Leszek-Uchacz | docs/api/com/badlogic/gdx/maps/tiled/AtlasTmxMapLoader.html | HTML | apache-2.0 | 44,497 |
<?php
declare(strict_types=1);
namespace OpenTelemetry\Tests\Unit\Contrib;
use AssertWell\PHPUnitGlobalState\EnvironmentVariables;
use Grpc\UnaryCall;
use Mockery;
use Mockery\MockInterface;
use OpenTelemetry\Contrib\OtlpGrpc\Exporter;
use Opentelemetry\Proto\Collector\Trace\V1\TraceServiceClient;
use OpenTelemetry\... | open-telemetry/opentelemetry-php | tests/Unit/Contrib/OTLPGrpcExporterTest.php | PHP | apache-2.0 | 7,876 |
/*
* MMX optimized DSP utils
* Copyright (c) 2000, 2001 Fabrice Bellard
* Copyright (c) 2002-2004 Michael Niedermayer <michaelni@gmx.at>
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as publish... | longluo/FFMpeg | jni/libffmpeg/libavcodec/x86/dsputil_mmx.c | C | apache-2.0 | 126,287 |
#!/bin/bash
# Copyright 2015 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 applic... | giuseppereina/dataproc-initialization-actions | ipython-notebook/ipython.sh | Shell | apache-2.0 | 2,164 |
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.26.0
// protoc v3.17.3
// source: github.com/google/cloudprober/surfacers/postgres/proto/config.proto
package proto
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf... | google/cloudprober | surfacers/postgres/proto/config.pb.go | GO | apache-2.0 | 7,937 |
/*
* Copyright 2014-2019 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... | jentfoo/aws-sdk-java | aws-java-sdk-emr/src/main/java/com/amazonaws/services/elasticmapreduce/model/transform/ListBootstrapActionsRequestMarshaller.java | Java | apache-2.0 | 2,390 |
/**
* Server-side support classes for WebSocket requests.
*/
@NonNullApi
@NonNullFields
package org.springframework.web.reactive.socket.server.support;
import org.springframework.lang.NonNullApi;
import org.springframework.lang.NonNullFields;
| spring-projects/spring-framework | spring-webflux/src/main/java/org/springframework/web/reactive/socket/server/support/package-info.java | Java | apache-2.0 | 246 |
/**
*
*/
package org.commcare.cases.ledger;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;
import java.util.Enumeration;
import java.util.Hashtable;
import java.util.Vector;
import org.javarosa.core.services.storage.IMetaData;
import org.javarosa.core.services.storage.... | wpride/commcare | cases/src/org/commcare/cases/ledger/Ledger.java | Java | apache-2.0 | 4,988 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.