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 2014 The Cockroach 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 ag... | cockroachdb/cockroach | pkg/server/node_test.go | GO | apache-2.0 | 23,164 |
## ⚠️ Deprecation Warning ⚠️
**On February 1, 2022, this uploader will be fully sunset and no longer function**
We recommend all users migrate to the [uploader](https://github.com/codecov/uploader) to prevent any breakages in usage. You can learn more about our deprecation plan and the new uploader on our [blog](http... | codecov/codecov-bash | readme.md | Markdown | apache-2.0 | 6,524 |
package org.alloytools.alloy.lsp.provider;
import java.io.File;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Random;
import edu.mit.csail.sdg.alloy4.Err;
import edu.mit.csail.sdg.alloy4.ErrorFatal;
import edu.mit.csail.sdg.alloy4.OurDialog;
import edu.mit.csail.sdg.alloy4... | AlloyTools/org.alloytools.alloy | org.alloytools.alloy.lsp/src/main/java/org/alloytools/alloy/lsp/provider/AlloyAppUtil.java | Java | apache-2.0 | 4,470 |
/*
* Copyright © 2014 - 2019 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... | rostam/gradoop | gradoop-flink/src/main/java/org/gradoop/flink/io/api/DataSink.java | Java | apache-2.0 | 1,799 |
# Copyright 2017 The Vispek 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 ... | hl475/vispek | examples/run_raw_file_io.py | Python | apache-2.0 | 1,604 |
/*
* Copyright 2002-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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | spring-cloud/spring-cloud-cloudfoundry-service-broker | spring-cloud-open-service-broker-core/src/test/java/org/springframework/cloud/servicebroker/model/instance/UpdateServiceInstanceRequestTest.java | Java | apache-2.0 | 5,585 |
/**
* Copyright 2010 Bazaarvoice, 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 agre... | jryans/jless | src/main/java/com/bazaarvoice/jless/ast/node/ExpressionPhraseNode.java | Java | apache-2.0 | 1,449 |
package android.widget;
/*
* #%L
* Matos
* $Id:$
* $HeadURL:$
* %%
* Copyright (C) 2010 - 2014 Orange SA
* %%
* 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.a... | Orange-OpenSource/matos-profiles | matos-android/src/main/java/android/widget/ImageButton.java | Java | apache-2.0 | 1,537 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Invalid Man Page</TITLE></HEAD>
<BODY>
<H1>Invalid Man Page</H1>
The requested file atanl.3 is not a valid (unformatted) man page.</BODY></HTML>
| cs-education/sysassets | man_pages/html/man3/atanl.3.html | HTML | apache-2.0 | 229 |
// Test incrementing the 8-bit memory byte pointed to by RSI. Increment RSI.
// Note that the sum of the average use of ports 2, 3 and 7 is equal to two,
// which tends to prove that there are two address generation instructions.
int main() {
unsigned char memory[1000];
for (int i = 0; i < LOOP_ITERATIONS; ++i) {
... | google/EXEgesis | exegesis/mysteries/read_modify_write/ex1_addrm8_array.cc | C++ | apache-2.0 | 557 |
/************************************************************************/
/* */
/* Free software: Progressive edge-growth (PEG) algorithm */
/* Created by Xiaoyu Hu */
/* ... | pjiangtw/HOPE | ldpcireg/PEG2/MainPEG.C | C++ | apache-2.0 | 7,423 |
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE OverloadedStrings #-}
module Spark.Core.GroupsSpec where
import Test.Hspec
import Data.Text(Text)
import Spark.Core.Context
import Spark.Core.Functions
import Spark.Core.ColumnFunctions
import Spark.Core.Column
import Spark.Core.IntegrationUtilities
import Spark.Co... | krapsh/kraps-haskell | test-integration/Spark/Core/GroupsSpec.hs | Haskell | apache-2.0 | 915 |
/*
* Copyright (C) 2008 The Guava 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 la... | mariusj/org.openntf.domino | domino/externals/guava/src/main/java/com/google/common/primitives/Shorts.java | Java | apache-2.0 | 21,441 |
/**
* @license
* Copyright 2019 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @fileoverview The class representing a cursor.
* Used primarily for keyboard navigation.
* @author aschmiedt@google.com (Abby Schmiedt)
*/
'use strict';
goog.provide('Blockly.Cursor');
goog.require('Blockly.ASTNode');
g... | mark-friedman/blockly | core/keyboard_nav/cursor.js | JavaScript | apache-2.0 | 3,270 |
/*
* Copyright 2011-2013 Blender 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 applicable law or ag... | pyrochlore/cycles | src/device/device_task.h | C | apache-2.0 | 1,822 |
package com.flipkart.foxtrot.core.exception;
import com.google.common.collect.Maps;
import lombok.Getter;
import java.util.Map;
/**
* Created by rishabh.goyal on 19/12/15.
*/
@Getter
public class TableExistsException extends FoxtrotException {
private final String table;
protected TableExistsException(St... | Flipkart/foxtrot | foxtrot-core/src/main/java/com/flipkart/foxtrot/core/exception/TableExistsException.java | Java | apache-2.0 | 590 |
# -*- coding: utf-8 -*-
import datetime
from sqlalchemy import UniqueConstraint
from sqlalchemy.dialects.postgresql import JSONB
from pns.app import app, db
class SerializationMixin():
"""serialization mixin for sqlalchemy model object
"""
def to_dict(self, *exceptions, **extra_payload):
"""get d... | Turksat/pns | pns/models.py | Python | apache-2.0 | 5,438 |
// Setup Canvas
var canvas = document.body.appendChild( document.createElement( 'canvas' ) );
// var canvas = document.body.appendChild( document.createElement( 'canvas' ) );
// canvas.style.zIndex = 1;
// Get WebGL Context
var gl = require('gl-context')( canvas, { preserveDrawingBuffer: true }, render );
// Import W... | rezaali/webgl-sketches | ycam/ycam.js | JavaScript | apache-2.0 | 9,099 |
package fi.bitrite.android.ws.persistence.converters;
import fi.bitrite.android.ws.model.Feedback;
public final class RatingConverter {
private static final int CODE_POSITIVE = 0;
private static final int CODE_NEUTRAL = 1;
private static final int CODE_NEGATIVE = 2;
public static Integer ratingToInt(... | CyrilWendl/wsandroid | app/src/main/java/fi/bitrite/android/ws/persistence/converters/RatingConverter.java | Java | apache-2.0 | 1,185 |
# -*- coding: UTF-8; indent-tabs-mode:nil; tab-width:4 -*-
# This file is part of DITA DTD Generator.
#
# Copyright 2009 Jarno Elovirta <http://www.elovirta.com/>
#
# 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 cop... | jelovirt/dita-generator | src/ditagen/dita/v1_2.py | Python | apache-2.0 | 32,591 |
# -*- coding: utf-8 -*-
# Generated by Django 1.11 on 2017-04-30 12:24
from __future__ import unicode_literals
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('webcore', '0016_profile_emails'),
]
operations = [
migrations.RemoveField(
... | Nikita1710/ANUFifty50-Online-Mentoring-Platform | project/fifty_fifty/webcore/migrations/0017_remove_profile_emails.py | Python | apache-2.0 | 388 |
package catalog
import (
"fmt"
"poule/operations"
"strings"
"time"
"poule/configuration"
"poule/gh"
"poule/operations/settings"
"github.com/google/go-github/github"
"github.com/mitchellh/mapstructure"
"github.com/pkg/errors"
"github.com/urfave/cli"
)
func init() {
registerOperation(&pruneDescriptor{})
}... | icecrime/poule | src/poule/operations/catalog/prune.go | GO | apache-2.0 | 6,487 |
from distutils.core import setup
PKGLIST = ['gearman_geodis']
setup(name='gearman-geodis',
version='1.0.0',
description='Geolocation Gearman worker powered by Geodis',
author_email='engineering@shazamteam.com',
license='Apache License, Version 2.0',
packages=PKGLIST,
scripts=... | shazamengineering/gearman-geodis | setup.py | Python | apache-2.0 | 570 |
/*
* Copyright 2017 Cisco Systems, 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... | cisco/open-nFAPI | pnf_sim/src/main.cpp | C++ | apache-2.0 | 76,384 |
/*
Copyright 2016 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, ... | vmware/kubernetes | pkg/kubelet/kubelet_node_status_test.go | GO | apache-2.0 | 79,261 |
package com.lijuyong.startup.auth;
import com.lijuyong.startup.auth.filter.JwtAuthenticationFilter;
import com.lijuyong.startup.auth.filter.JwtLoginFilter;
import com.lijuyong.startup.auth.security.JwtAuthenticationSuccessHandler;
import com.lijuyong.startup.auth.security.RestAuthenticationEntryPoint;
import org.sprin... | capesonlee/tangtang-spring-cloud | zuul-server/src/main/java/com/lijuyong/startup/auth/WebSecurityConfig.java | Java | apache-2.0 | 3,843 |
namespace ChinaUnion_Agent.InvoiceForm
{
partial class frmAgentInvoicePaymentModification
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being us... | ZhouAnPing/Mail | Mail/ChinaUnion_Agent/InvoiceForm/frmAgentInvoicePaymentModification.Designer.cs | C# | apache-2.0 | 10,983 |
DROP function ejecutar_rerate()
/*
* ejecuta el rerate de todo lo que este en la tabla balance_temp
*/
CREATE OR REPLACE FUNCTION ejecutar_rerate()
RETURNS record AS
$BODY$
DECLARE
b RECORD;
t RECORD;
result boolean;
min date;
max date;
idAction RECORD;
BEGIN
SELECT * INTO idAction FROM log_action WHERE name... | angelosuarez/PUNTO_VENTA | src/db/declarar_funciones.sql | SQL | apache-2.0 | 11,097 |
/**
* <copyright>
* </copyright>
*
* $Id$
*/
package Leveleditor;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import org.eclipse.emf.common.util.Enumerator;
/**
* <!-- begin-user-doc -->
* A representation of the literals of the enumeration '<em><b>EElement</b... | sarquah/Gelamen | TowerOfZaldagor.leveleditor/src/Leveleditor/EElement.java | Java | apache-2.0 | 6,502 |
package com.pwnscone.pewpew.actor;
import java.util.ArrayList;
import java.util.HashMap;
import com.pwnscone.pewpew.Game;
import com.pwnscone.pewpew.Particle;
import com.pwnscone.pewpew.Simulation;
import com.pwnscone.pewpew.Spring;
import com.pwnscone.pewpew.util.Pool;
public class Hub extends Actor {
public stati... | underclocker/pewpew | core/src/com/pwnscone/pewpew/actor/Hub.java | Java | apache-2.0 | 3,699 |
require 'envelope_resource'
module MetadataRegistry
# Search service
class Search
attr_reader :params
# Params:
# - params: [Hash] hash containing the search params
def initialize(params)
@params = params
.with_indifferent_access
.except(:metadata_only, :page, :per_page)
... | CredentialEngine/CredentialRegistry | app/services/search.rb | Ruby | apache-2.0 | 5,821 |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2016.10.... | leonmaybe/eLong-OpenAPI-JAVA-demo | src/elong/EnumDrrRuleCode.java | Java | apache-2.0 | 2,346 |
<!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 Feb 02 18:57:42 CET 2019 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>com.communote.server.web.co... | Communote/communote.github.io | generated/javadoc/com/communote/server/web/commons/imagecache/controller/package-summary.html | HTML | apache-2.0 | 5,637 |
/*
* Copyright 2015 Odnoklassniki Ltd, Mail.Ru 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
*
* Unless required by applica... | odnoklassniki/one-nio | src/one/nio/mem/SharedMemoryStringMap.java | Java | apache-2.0 | 2,649 |
// CString class.
// Mostly mirrors server/dtypes/cstring/cstring.go.
// By design, satisfies the require('eddie').Model interface.
var _ = require('lodash');
var inherits = require('inherits');
var cvalue = require('./cvalue');
var lib = require('../lib');
///////////////////////////////////////////////////////////... | asadovsky/cdb | client/dtypes/cstring.js | JavaScript | apache-2.0 | 8,759 |
---
code: true
type: page
title: incr
---
# incr
Increments the number stored at `key` by 1. If the key does not exist, it is set to 0 before performing the operation.
[[_Redis documentation_]](https://redis.io/commands/incr)
## Arguments
```js
incr(key, [options]);
```
<br/>
| Arguments | Type | De... | kuzzleio/sdk-javascript | doc/7/controllers/ms/incr/index.md | Markdown | apache-2.0 | 1,064 |
package com.demo.amazing.activity;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import com.demo.amazing.R;
public class ConstraintActivity extends Activity {
public static void start(Context context) {
Int... | FreeSunny/Amazing | app/src/main/java/com/demo/amazing/activity/ConstraintActivity.java | Java | apache-2.0 | 1,111 |
#define PI_2 (2 * M_PI_F)
// buffer length defaults to the argument to the integrate kernel
// but if it's known at compile time, it can be provided which allows
// compiler to change i%n to i&(n-1) if n is a power of two.
#ifndef NH
#define NH nh
#endif
#ifndef WARP_SIZE
#define WARP_SIZE 32
#endif
#include <stdio.... | the-virtual-brain/tvb-hpc | dsl/dsl_cuda/CUDAmodels/refs/kuramoto_network.c | C | apache-2.0 | 5,148 |
/*
* Copyright 2017 StreamSets 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... | z123/datacollector | hdfs-protolib/src/main/java/com/streamsets/pipeline/stage/destination/hdfs/writer/ActiveRecordWriters.java | Java | apache-2.0 | 6,511 |
/**
* Copyright 2014 LinkedIn 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 in writing, sof... | linkedin/MTBT | mt-proxy/src/main/java/com/linkedin/proxy/pool/BlockingMysqlConnectionPool.java | Java | apache-2.0 | 4,253 |
/**
* OLAT - Online Learning and Training<br />
* http://www.olat.org
* <p>
* Licensed under the Apache License, Version 2.0 (the "License"); <br />
* you may not use this file except in compliance with the License.<br />
* You may obtain a copy of the License at
* <p>
* http://www.apache.org/licenses/LICENSE-2... | huihoo/olat | OLAT-LMS/src/main/java/org/olat/system/exception/OLATRuntimeException.java | Java | apache-2.0 | 4,805 |
package com.coolweather.android.db;
import org.litepal.crud.DataSupport;
/**
* Created by Drug on 2017/6/15.
* 创建一个市类,包括,市ID,市名字cityName,市编码cityCode,省ID:provinceId
*/
public class City extends DataSupport {
private int id; //市id
private String cityName; //市名
private int cityCode; //市编码
pri... | fengbin15/coolweather | app/src/main/java/com/coolweather/android/db/City.java | Java | apache-2.0 | 982 |
import {QueryService} from '../../../src/mapboxgl/services/QueryService';
import {QueryByBoundsParameters} from '../../../src/common/iServer/QueryByBoundsParameters';
import {QueryByDistanceParameters} from '../../../src/common/iServer/QueryByDistanceParameters';
import {QueryBySQLParameters} from '../../../src/common/... | SuperMap/iClient9 | test/mapboxgl/services/QueryServiceSpec.js | JavaScript | apache-2.0 | 11,464 |
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | googleapis/dotnet-spanner-nhibernate | Google.Cloud.Spanner.Connection.Tests/MockServer/SpannerMockServerFixture.cs | C# | apache-2.0 | 2,255 |
# EasyML
Simple codes that accompany my blog posts about learning "Machine Learning - The easy way"!
You can find the instruction and information on my weblog : "www.frdn.info".
| fereydouni/EasyML | README.md | Markdown | apache-2.0 | 178 |
/*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | googleapis/java-video-intelligence | google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceClientTest.java | Java | apache-2.0 | 4,977 |
/*******************************************************************************
* Copyright 2014 DEIB - Politecnico di Milano
*
* Marco Balduini (marco.balduini@polimi.it)
* Emanuele Della Valle (emanuele.dellavalle@polimi.it)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not ... | streamreasoning/rsp-services-csparql | src/main/java/it/polimi/deib/rsp_services_csparql/queries/utilities/Csparql_Observer_Descriptor.java | Java | apache-2.0 | 1,618 |
package de.dailab.newsreel.recommender.common.util;
import org.apache.commons.lang.NullArgumentException;
import org.apache.log4j.Level;
import org.apache.log4j.Logger;
/**
* Created by jens on 02.03.16.
*/
public class EvalLevelTest {
public static void main(String[] args) {
Logger logger = Logger.get... | jasjisdo/spark-newsreel-recommender | common/src/test/java/de/dailab/newsreel/recommender/common/util/EvalLevelTest.java | Java | apache-2.0 | 685 |
/*
*
* Copyright 2015 Stephen Cameron Data Services
*
*
* 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 require... | Stephen-Cameron-Data-Services/isis-chats | dom/src/main/java/au/com/scds/chats/dom/general/names/ClassificationValue.java | Java | apache-2.0 | 2,524 |
using System;
using System.Linq;
using System.Linq.Expressions;
namespace Checkk.Exceptions
{
public class InvariantShouldHavePublicConstructorWithParametersException
: InvariantException
{
private readonly Expression<Func<Type>> _target;
private readonly Type[] _types;
public ... | bendetat/check | src/Checkk/Exceptions/InvariantShouldHavePublicConstructorWithParametersException.cs | C# | apache-2.0 | 866 |
\section{\'Etude de la vitesse sur le site M}
\begin{center}
\includegraphics[scale=0.5]
\end{center} | malhys/maths_projects | bac_techno/1ST2S/stats/exam/annexe_eolienne.tex | TeX | apache-2.0 | 103 |
package com.qszxin.asterism.activity;
import android.os.Bundle;
import android.support.v4.app.FragmentPagerAdapter;
import android.view.View;
import android.support.design.widget.NavigationView;
import android.support.v4.view.GravityCompat;
import android.support.v4.widget.DrawerLayout;
import android.support.... | wubohnu/Asterism | app/src/main/java/com/qszxin/asterism/activity/MainActivity.java | Java | apache-2.0 | 6,927 |
/*
* Copyright (C) 2016 the original author or authors.
*
* This file is part of jGrades Application Project.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*/
package org.jgrades.security.utils... | jgrades/jgrades | jg-backend/implementation/base/jg-security/implementation/src/main/java/org/jgrades/security/utils/UserDetailsImpl.java | Java | apache-2.0 | 1,029 |
/*
* Copyright (C) 2013 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions a... | indashnet/InDashNet.Open.UN2000 | android/external/chromium_org/third_party/WebKit/Source/modules/webdatabase/SQLTransactionStateMachine.cpp | C++ | apache-2.0 | 2,872 |
# Clients package
Packages contained by this package provide client libraries for accessing the ecosystem of stellar services. At present, it only contains a simple horizon client library, but in the future it will contain clients to interact with stellar-core, federation, the bridge server and more.
See [godoc](htt... | stellar/gateway-server | vendor/src/github.com/stellar/go/clients/README.md | Markdown | apache-2.0 | 1,095 |
{#-
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 (th... | apache/incubator-allura | Allura/allura/templates/jinja_master/master.html | HTML | apache-2.0 | 6,543 |
package com.ccs.ir;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileWriter;
import java.io.InputStreamReader;
import java.util.Collections;
import java.util.Comparator;
import java.util.Date;
import java.util.HashMap;
import java.uti... | tintin1343/Information-Retrieval | fourth_assignment_ir/code/hw4/src/com/ccs/ir/HitsQuery.java | Java | apache-2.0 | 5,626 |
from distutils.core import setup
from src import __version__
setup(
name="irma.common",
version=__version__,
author="Quarkslab",
author_email="irma@quarkslab.com",
description="The common component of the IRMA software",
packages=["irma.common",
"irma.common.base",
"... | quarkslab/irma | common/setup.py | Python | apache-2.0 | 683 |
# Agropyron cristatum subsp. tarbagataicum SUBSPECIES
#### Status
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Liliopsida/Poales/Poaceae/Agropyron/Agropyron cristatum/ Syn. Agropyron cristatum tarbagataicum/README.md | Markdown | apache-2.0 | 200 |
# Hieracium corniculans Johanss. 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/Hieracium/Hieracium corniculans/README.md | Markdown | apache-2.0 | 180 |
# Talinum monandrum Ruiz & Pav. SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Caryophyllales/Talinaceae/Talinum/Talinum monandrum/README.md | Markdown | apache-2.0 | 179 |
# Leptospermum eriocalyx Sieber ex Spreng. 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/Myrtales/Myrtaceae/Leptospermum/Leptospermum parvifolium/ Syn. Leptospermum eriocalyx/README.md | Markdown | apache-2.0 | 197 |
# Acontias platylobus Schott 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/Liliopsida/Alismatales/Araceae/Xanthosoma/Xanthosoma platylobum/ Syn. Acontias platylobus/README.md | Markdown | apache-2.0 | 183 |
# Phrynium placentarium (Lour.) Merr. 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/Liliopsida/Zingiberales/Marantaceae/Stachyphrynium/Stachyphrynium placentarium/ Syn. Phrynium placentarium/README.md | Markdown | apache-2.0 | 192 |
# Viola filiformis Ruiz & Pav. ex DC. SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Malpighiales/Violaceae/Viola/Viola filiformis/README.md | Markdown | apache-2.0 | 185 |
# Jacksonia hemisericea D.A.Herb. 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/Jacksonia/Jacksonia hemisericea/README.md | Markdown | apache-2.0 | 181 |
# Polypodium feuillei var. minus G.Kunkel VARIETY
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Pteridophyta/Polypodiopsida/Polypodiales/Polypodiaceae/Polypodium/Polypodium feuillei/Polypodium feuillei minus/README.md | Markdown | apache-2.0 | 189 |
# Dryopteris debilis (Mett.) C.Chr. SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Pteridophyta/Polypodiopsida/Polypodiales/Dryopteridaceae/Dryopteris/Dryopteris debilis/README.md | Markdown | apache-2.0 | 183 |
# Achyranthes stenophylla Standl. SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Caryophyllales/Amaranthaceae/Achyranthes/Achyranthes stenophylla/README.md | Markdown | apache-2.0 | 181 |
# Taraxacum hellenicum Dahlst. SPECIES
#### Status
ACCEPTED
#### According to
Euro+Med Plantbase
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Asterales/Asteraceae/Taraxacum/Taraxacum hellenicum/README.md | Markdown | apache-2.0 | 165 |
# Lecidea squamifera Stizenb. SPECIES
#### Status
ACCEPTED
#### According to
Index Fungorum
#### Published in
null
#### Original name
Lecidea squamifera Stizenb.
### Remarks
null | mdoering/backbone | life/Fungi/Ascomycota/Lecanoromycetes/Lecanorales/Lecideaceae/Lecidea/Lecidea squamifera/README.md | Markdown | apache-2.0 | 183 |
/*
* Copyright 2010-2013 Ning, Inc.
* Copyright 2014-2016 Groupon, Inc
* Copyright 2014-2016 The Billing Project, LLC
*
* The Billing 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 cop... | andrenpaes/killbill | entitlement/src/main/java/org/killbill/billing/entitlement/engine/core/EventsStreamBuilder.java | Java | apache-2.0 | 26,014 |
package org.gekko.test.service.shops;
public enum CarShopType {
sport, vacation, business;
}
| epanikas/gekko | src/test/java/org/gekko/test/service/shops/CarShopType.java | Java | apache-2.0 | 97 |
// Copyright 2004, 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 required by applic... | Abnaxos/gaderian | core/src/test/java/gaderian/test/services/SimpleService.java | Java | apache-2.0 | 797 |
Set-DefaultAWSRegion 'us-east-1'
#$VerbosePreference='Continue'
trap { break } #This stops execution on any exception
$ErrorActionPreference = 'Stop'
cd $PSScriptRoot
. .\ssmcommon.ps1
#Define which accounts or AWS services can assume the role.
$assumePolicy = @"
{
"Version":"2012-10-17",
"Statement":[
... | padisetty/Samples | AWS/ssm/Old/setup-config.ps1 | PowerShell | apache-2.0 | 7,197 |
# menu
Simple sugar for terminal application
#### For example:
```
#include "menu.hpp"
class App: public Menu
{
public:
App() : Menu(START, "Application menu"){};
private:
virtual void initialize() override;
enum Condition: int
{
START,
ADD,
DEL,
EDIT,
EXIT,
... | vbloodv/menu | README.md | Markdown | apache-2.0 | 484 |
#!/bin/bash
# Author: yeho <lj2007331 AT gmail.com>
# BLOG: https://blog.linuxeye.com
#
# Notes: OneinStack for CentOS/RadHat 5+ Debian 6+ and Ubuntu 12+
#
# Project home page:
# https://oneinstack.com
# https://github.com/lj2007331/oneinstack
Upgrade_Redis() {
pushd ${asn_dir}/src > /dev/null
[ ! -d... | asntechsolution/lamp-lemp | include/upgrade_redis.sh | Shell | apache-2.0 | 2,307 |
package com.github.fellowship_of_the_bus
package draconia
package game
// import lib.util.rand
// import lib.math.floor
case class Attributes (
//base stats
var strength: Int,
var intelligence: Int,
var speed: Int,
var health: Int,
var physicalDefense: Int,
var magicDefense: Int,
//Equipment only Va... | Fellowship-of-the-Bus/Draconia | src/main/scala/game/Attributes.scala | Scala | apache-2.0 | 610 |
package uk.ac.ncl.cs.csc8101.weblogcoursework;
import java.io.File;
import java.io.PrintWriter;
public class TestImplementation {
/**
* @param args
*/
public static void main(String[] args) {
try
{
/**** Test ActivitiesBetweenTimes class: uncomment a line to test it ***/
ActivitiesBetweenTimes act... | b0354345/project | src/main/java/uk/ac/ncl/cs/csc8101/weblogcoursework/TestImplementation.java | Java | apache-2.0 | 1,154 |
import { Component, OnInit } from '@angular/core';
import { PersonService } from '../../service/person.service';
@Component({
selector: 'app-draw',
templateUrl: './draw.component.html',
styleUrls: ['./draw.component.scss'],
providers: [
PersonService
]
})
export class DrawComponent implements OnInit {
... | liaohongdong/CLive | src/app/person/account/draw/draw.component.ts | TypeScript | apache-2.0 | 916 |
namespace ParTech.Modules.UrlRewriter.Events
{
using System;
using Sitecore.Events;
/// <summary>
/// EventArgs for ClearCacheEvent
/// </summary>
public class ClearCacheEventArgs : EventArgs, IPassNativeEventArgs
{
/// <summary>
/// Initializes a new instance of the <see c... | ParTech/Url-Rewriter | Source/ParTech.Modules.UrlRewriter/Events/ClearCacheEventArgs.cs | C# | apache-2.0 | 508 |
/*
* Copyright 2012-2015 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 agr... | anqidong/jetpad-mapper | mapper/src/main/java/jetbrains/jetpad/mapper/ObservableCollectionRoleSynchronizer.java | Java | apache-2.0 | 2,653 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.WebSockets;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Microso... | aspnet/AspNetCore | src/Middleware/WebSockets/samples/EchoApp/Startup.cs | C# | apache-2.0 | 4,507 |
package com.mrprona.dota2assitant.player.fragment;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import ... | mrprona92/SecretBrand | app/src/main/java/com/mrprona/dota2assitant/player/fragment/PlayerByHeroStatsFilter.java | Java | apache-2.0 | 5,771 |
/*=========================================================================
*
* Copyright Insight Software 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
*
* h... | LucHermitte/ITK | Modules/Core/Common/include/itkPromoteType.h | C | apache-2.0 | 3,911 |
/*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2022 DBeaver Corp and others
*
* 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/LICE... | dbeaver/dbeaver | plugins/org.jkiss.dbeaver.ext.kognitio/src/org/jkiss/dbeaver/ext/kognitio/KognitioDataSourceProvider.java | Java | apache-2.0 | 970 |
package ar_ubin.benotified.data.source.beacons;
import android.support.annotation.NonNull;
import java.util.List;
import ar_ubin.benotified.data.models.Beacon;
public interface BeaconDataSource
{
interface LoadBeaconCallback
{
void onBeaconLoaded( List<Beacon> beacons );
void onDataNotAvai... | ar-ubin/BeNotified | app/src/main/java/ar_ubin/benotified/data/source/beacons/BeaconDataSource.java | Java | apache-2.0 | 991 |
# -*- coding: utf-8 -*-
import hashlib
import random
from rest_framework import serializers
from sita.users.models import User
from sita.subscriptions.models import Subscription
from sita.utils.refresh_token import create_token
from hashlib import md5
from datetime import datetime, timedelta
import pytz
class LoginSe... | Fabfm4/Sita-BackEnd | src/sita/authentication/serializers.py | Python | apache-2.0 | 6,676 |
package com.icesecret.ex;
import java.util.Arrays;
import java.util.Collections;
import java.util.Comparator;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
/**
* Created by charlie on 17/10/31.
*/
public class MemOrderBook extends Printabl... | Brucecarl/e-wallet | src/main/java/com/icesecret/ex/MemOrderBook.java | Java | apache-2.0 | 2,589 |
/**
* 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... | SumoLogic/sumobot | src/main/scala/com/sumologic/sumobot/plugins/jenkins/JenkinsConfiguration.scala | Scala | apache-2.0 | 1,470 |
package de.unvilgames.dodgingking.graph.effects;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.utils.Pool;
import de.unvilgames.dodgingking.graph.SizeEvaluator;
/**
* Created by timjk on 04.08.2017.
*/
public abstract class Effect implements Pool.Poolable {
protected boolean isAl... | mit1234123/Dodgingking | core/src/de/unvilgames/dodgingking/graph/effects/Effect.java | Java | apache-2.0 | 860 |
---
type: post110
title: Indexing
categories: XAP110
parent: none
weight: 900
---
For read and take operations, XAP iterates non-null values that match template or SQLQuery criteria, returning matches from the Space. This process can be time consuming, especially when there are many potential matches. To improve ... | croffler/documentation | sites/xap-docs/content/xap110/indexing-overview.markdown | Markdown | apache-2.0 | 1,303 |
package com.littlechoc.olddriver.obd.commands;
/**
* @author Junhao Zhou 2017/4/22
*/
public class ObdCommandInterval extends ObdCommandProxy {
private static final long DEFAULT_INTERVAL = 1000;
private long lastTime;
private long interval;
public ObdCommandInterval(ObdCommand other) {
this(other, D... | junhaozhou/old-driver | obd/src/main/java/com/littlechoc/olddriver/obd/commands/ObdCommandInterval.java | Java | apache-2.0 | 653 |
/*
* 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 ... | ecarm002/incubator-asterixdb | asterixdb/asterix-external-data/src/main/java/org/apache/asterix/external/library/java/base/JDateTime.java | Java | apache-2.0 | 2,062 |
/*
* Copyright 2013 Maurício Linhares
*
* Maurício Linhares 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 ... | dripower/postgresql-async | db-async-common/src/main/scala/com/github/mauricio/async/db/column/ColumnDecoderRegistry.scala | Scala | apache-2.0 | 906 |
# AUTOGENERATED FILE
FROM balenalib/revpi-connect-debian:buster-build
ENV NODE_VERSION 17.6.0
ENV YARN_VERSION 1.22.4
RUN for key in \
6A010C5166006599AA17F08146C2130DFD2497F5 \
; do \
gpg --batch --keyserver pgp.mit.edu --recv-keys "$key" || \
gpg --batch --keyserver keyserver.pgp.com --recv-keys "$key" || \
... | resin-io-library/base-images | balena-base-images/node/revpi-connect/debian/buster/17.6.0/build/Dockerfile | Dockerfile | apache-2.0 | 2,782 |
// @link http://schemas.wbeme.com/json-schema/eme/solicits/event/solicit-updated/1-0-0.json#
import EmeAccountsAccountRefV1Mixin from '@wbeme/schemas/eme/accounts/mixin/account-ref/AccountRefV1Mixin';
import GdbotsNcrNodeUpdatedV1Mixin from '@gdbots/schemas/gdbots/ncr/mixin/node-updated/NodeUpdatedV1Mixin';
import Gdbo... | wb-eme/schemas | build/js/src/eme/solicits/event/SolicitUpdatedV1.js | JavaScript | apache-2.0 | 1,234 |
# Show the location of each SNP.
SELECT
reference_name,
start,
reference_bases,
alternate_bases
FROM
[_THE_TABLE_]
WHERE
reference_name = 'chr17'
AND start BETWEEN 41196311
AND 41277499
AND LENGTH(alternate_bases) == 1
AND LENGTH(reference_bases) ... | gregmcinnes/codelabs-obselete | R/PlatinumGenomes-QC/sql/ti-tv-variants.sql | SQL | apache-2.0 | 461 |
## 精英主义的灭亡
精英主义是一种精神疾病,是一种心理变态。得了这种病的人,有不同的轻重程度。程度轻的人,也许只是张口闭口的“名校”和“牛人”。而程度重的人,最后可能成为反人类的战争罪犯。希特勒就是一个严重的精英主义者,他认为自己是精英,“劣等民族”的人都应该死。
这些所谓的精英,在智力上,体力上,学识上,人格上,都没有什么值得称道的地方。他们被称为“精英”,往往是通过家族关系,或者舔人屁股,玩弄权术。还有些人,尽其所能包装自己,把自己跟名人或者富豪挂钩,写回忆录,请人给自己写传记,这样别人就以为他是天才,是杰出人物。而他们其实并没有什么特别,也许还不如一般人。
精英们最在行的事情,其实是拉关系,互相吹捧,唱高调,包装自己。... | Sum41forever/study-notes | Book/Blog Article/观察/王垠 - 精英主义的灭亡.md | Markdown | apache-2.0 | 11,686 |
// Copyright (c) 2017, Baidu.com, Inc. All Rights Reserved
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applic... | lingbin/palo | be/src/http/action/snapshot_action.cpp | C++ | apache-2.0 | 4,246 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.