code stringlengths 3 1.01M | repo_name stringlengths 5 116 | path stringlengths 3 311 | language stringclasses 30
values | license stringclasses 15
values | size int64 3 1.01M |
|---|---|---|---|---|---|
package com.axj.apiw.model;
import java.util.Date;
public class FirstReplyText {
private long id;
private long userId;
private String wechatId;
private Date createTime;
private Date modifyTime;
private int delFlag;
private String txt;
public long getId() {
return id;
}
public void setId(lon... | xiangtao/dxwx-transfer | src/main/java/com/axj/apiw/model/FirstReplyText.java | Java | apache-2.0 | 1,115 |
using BrockAllen.MembershipReboot;
using BrockAllen.MembershipReboot.Ef;
using BrockAllen.MembershipReboot.Relational;
namespace Ef6CoreTest.Db
{
public class Ef6DbContext : MembershipRebootDbContext<RelationalUserAccount, RelationalGroup>
{
public Ef6DbContext() : base("MembershipReboot")
{
... | kwaxi/Ef6CoreTest | Ef6CoreTest.Db/Ef6DbContext.cs | C# | apache-2.0 | 449 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="zh">
<head>
<!-- Generated by javadoc (1.8.0_91) on Thu Jul 13 16:16:26 CST 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>com.webside.thread (webside ... | ofpteam/ofp | target/apidocs/com/webside/thread/package-summary.html | HTML | apache-2.0 | 5,093 |
'use strict';
/**
* Module dependencies.
*/
const path = require('path');
const extend = require('util')._extend;
const development = require('./env/development');
const test = require('./env/test');
const production = require('./env/production');
const notifier = {
service: 'postmark',
APN: false,
em... | muhammad-saleh/weightlyio | server/config/config.js | JavaScript | apache-2.0 | 749 |
<!DOCTYPE html>
<html lang="en">
<head><link rel="stylesheet" href="simple.css"></head>
<body><div>hi there</div></body>
</html> | applitools/demo | DomSnapshot/simple.html | HTML | apache-2.0 | 128 |
package opc
// White
// Set all pixels to white.
import (
"github.com/longears/pixelslinger/colorutils"
"github.com/longears/pixelslinger/config"
"github.com/longears/pixelslinger/midi"
)
func MakePatternWhite(locations []float64) ByteThread {
return func(bytesIn chan []byte, bytesOut chan []byte, midiState *m... | longears/pixelslinger | opc/pattern-white.go | GO | apache-2.0 | 945 |
<!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_26) on Mon Sep 12 10:43:51 CEST 2011 -->
<TITLE>
it.essepuntato.facility.list
</TITLE>
<META NAME="date" CONTENT="2011-09-12">
<LINK REL ="styleshe... | essepuntato/EarmarkDataStructure | doc/it/essepuntato/facility/list/package-frame.html | HTML | apache-2.0 | 907 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.yy.base.dao.test;
import java.util.Enumeration;
import java.util.HashMap;
import java.util.Map;
import java.util.MissingResourceException;
import java.util.ResourceBundle;
import org.slf4j.Logger;
import or... | yyitsz/myjavastudio | app-fw/app-base/src/main/java/org/yy/base/dao/test/BaseDaoTestCase.java | Java | apache-2.0 | 2,761 |
/*
* Copyright 2000-2013 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | signed/intellij-community | platform/external-system-impl/src/com/intellij/openapi/externalSystem/service/project/manage/ProjectDataManagerImpl.java | Java | apache-2.0 | 17,677 |
/*
* 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... | googleads/google-ads-java | google-ads-stubs-v10/src/test/java/com/google/ads/googleads/v10/services/MockCampaignLabelService.java | Java | apache-2.0 | 1,650 |
/**
*
* Copyright (c) 2021 Project CHIP 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... | project-chip/connectedhomeip | examples/tv-app/android/java/ChannelManager.cpp | C++ | apache-2.0 | 16,428 |
* add `--endpoint`` arg
| joprice/dynamite | notes/0.0.2.markdown | Markdown | apache-2.0 | 26 |
#include "Globals.h"
#include "BlockDoor.h"
#include "../Entities/Player.h"
cBlockDoorHandler::cBlockDoorHandler(BLOCKTYPE a_BlockType)
: super(a_BlockType)
{
}
void cBlockDoorHandler::OnDestroyed(cChunkInterface & a_ChunkInterface, cWorldInterface & a_WorldInterface, int a_BlockX, int a_BlockY, int a_Block... | jammet/MCServer | src/Blocks/BlockDoor.cpp | C++ | apache-2.0 | 4,656 |
# Entrega del cuarto hito
**Alumno:**
- Roberto Morcillo Jiménez: [@robermorji](https://github.com/robermorji)
##Submódulo Gesco: GescoChat
**Enlace al repositorio del submódulo:** [https://github.com/Gescosolution/GescoChat](https://github.com/Gescosolution/GescoChat)
**Enlace al despliegue de la aplicación en Herok... | alcasla/clases-CC-2015-16 | proyecto/4.md | Markdown | apache-2.0 | 4,326 |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
###############################################################################
# Copyright 2014 Kitware 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 cop... | opadron/girder | plugins/oauth/plugin_tests/oauth_test.py | Python | apache-2.0 | 29,618 |
/*
* Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
* Copyright [2016-2019] EMBL-European Bioinformatics Institute
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may... | Ensembl/ensj-healthcheck | src/org/ensembl/healthcheck/testcase/generic/ProductionMeta.java | Java | apache-2.0 | 5,428 |
/*
* Copyright 2017 Anton Wierenga
*
* 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 ... | antonwierenga/sql-template-cli | src/main/scala/com/antonwierenga/sqltemplatecli/domain/Template.scala | Scala | apache-2.0 | 686 |
using System;
using System.Collections.Generic;
using System.Data;
using Afrodite.Abstract;
using Afrodite.Common;
using System.Linq;
using CsvHelper;
using System.IO;
using Afrodite.Concrete;
namespace Afrodite
{
public class DatabaseStateLogger : IStateLogger, IDisposable
{
private readonly IDbConnection connec... | wjch-krl/Affrodite | Afrodite/DatabaseStateLogger.cs | C# | apache-2.0 | 1,972 |
#include "mocks.h"
#include <memory>
#include "source/common/stats/symbol_table_impl.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
using testing::_;
using testing::Invoke;
using testing::NiceMock;
using testing::ReturnPointee;
using testing::ReturnRef;
namespace Envoy {
namespace Stats {
MockCounter::MockC... | lyft/envoy | test/mocks/stats/mocks.cc | C++ | apache-2.0 | 3,539 |
{% extends "base.html" %}
{% block content %}
<h2>Links</h2>
<p>
Take a gander at these links to some of our friends, interesting and useful resources, and more.
</p>
<div class="row">
<div class="col-sm-6">
<h3>Site members:</h3>
<ul>
<li>
... | 2buntu/2buntu-blog | twobuntu/templates/pages/links.html | HTML | apache-2.0 | 2,769 |
/*
* JBoss, Home of Professional Open Source
* Copyright 2010, Red Hat, Inc., and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this fi... | weld/core | porting-package/src/main/java/org/jboss/weld/tck/ContextsImpl.java | Java | apache-2.0 | 2,825 |
/*******************************************************************************
* 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... | ofbizfriends/vogue | framework/service/src/org/ofbiz/service/engine/ScriptEngine.java | Java | apache-2.0 | 4,921 |
<!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) on Fri Aug 09 15:47:06 EDT 2013 -->
<title>Uses of Class org.drip.product.creator.CDSBuilder</title>
<meta name="date" content="... | tectronics/splinelibrary | 2.2/docs/Javadoc/org/drip/product/creator/class-use/CDSBuilder.html | HTML | apache-2.0 | 4,242 |
/*
All functions related to creating a Slider item.
*/
var slideCount = 1;
// SETTER
function addSlide() {
slideCount++;
}
// GETTER
function getSlide() {
return(slideCount);
}
// Adds the Slider as well as the 'Edit' and 'delete' buttons.
function slider() {
var node = document.createEl... | kevcorky/Task-Builder | javascript/widgets/Slider.js | JavaScript | apache-2.0 | 3,104 |
package com.bitgate.nucleus.render;
import com.bitgate.nucleus.render.tag.DocumentTag;
import com.bitgate.nucleus.util.VariableStore;
/**
* This is a storage bean class that is used to keep track of an actively rendered document. It is used by the
* {@link DocumentTag}.
*/
public class RenderContext {
private ... | KenSuenobu/nucleus | nucleus-render/src/main/java/com/bitgate/nucleus/render/RenderContext.java | Java | apache-2.0 | 3,510 |
/*
* Copyright (C) 2020-2021 Arm Limited or its affiliates. All rights reserved.
*
* SPDX-License-Identifier: Apache-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
*
* www.apache.... | tensorflow/tflite-micro-arduino-examples | src/third_party/cmsis/CMSIS/NN/Source/NNSupportFunctions/arm_nn_vec_mat_mult_t_s8.c | C | apache-2.0 | 11,802 |
# Bulbophyllum flexiliscapum Summerh. 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/Asparagales/Orchidaceae/Bulbophyllum/Bulbophyllum saltatorium/ Syn. Bulbophyllum flexiliscapum/README.md | Markdown | apache-2.0 | 192 |
# #!/usr/bin/env python
#
# import nlopt # THIS IS NOT A PACKAGE!
# import numpy as np
#
# print(('nlopt version='+nlopt.__version__))
#
# def f(x, grad):
# F=x[0]
# L=x[1]
# E=x[2]
# I=x[3]
# D=F*L**3/(3.*E*I)
# return D
#
# n = 4
# opt = nlopt.opt(nlopt.LN_COBYLA, n)
# opt.set_min_objective(f)... | PMBio/limix | External/nlopt/test/test_std.py | Python | apache-2.0 | 727 |
// Copyright (c) Oleg Zudov. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// This file is based on or incorporates material from the project Selenium, licensed under the Apache License, Version 2.0. More info in THIRD-PARTY-NOTICES fil... | ToCSharp/AsyncWebDriver | AsyncWebDriver/Extensions/TaskISearchContextExtensions.cs | C# | apache-2.0 | 1,230 |
module.exports = [{"isId":true,"priority":100000.0002,"key":"Container","style":{}},{"isId":true,"priority":100000.0003,"key":"windowActivity","style":{backgroundColor:"#166181",}},{"isId":true,"priority":100000.0004,"key":"activityIndicator","style":{style:Ti.UI.ActivityIndicatorStyle.DARK,indicatorColor:"White",color... | tasa95/Sudoku | Resources/iphone/alloy/styles/CreationSudoku.js | JavaScript | apache-2.0 | 547 |
# Copyright 2015 PerfKitBenchmarker 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 appli... | syed/PerfKitBenchmarker | perfkitbenchmarker/openstack/utils.py | Python | apache-2.0 | 6,884 |
/*
Copyright 2015-2018 Orchidware Studios 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 writing, ... | orchidwarestudios/orchis-isle-directx | adventures-of-orchi/OrchiOne/Input/DefaultOverlay.cpp | C++ | apache-2.0 | 7,149 |
<%#
Copyright 2013-2017 the original author or authors from the StackStack project.
This file is part of the StackStack 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.
Yo... | siliconharborlabs/generator-jhipster | generators/server/templates/src/main/java/package/config/_Constants.java | Java | apache-2.0 | 1,085 |
/*
* 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... | svagionitis/aws-sdk-cpp | aws-cpp-sdk-ec2/source/model/DescribeFpgaImagesResponse.cpp | C++ | apache-2.0 | 2,402 |
/**
*
*/
package org.flowvisor.events;
import org.flowvisor.events.FVEvent;
import java.nio.channels.*;
/**
* Event: underlying socket has pending I/O
*
* @author capveg
*
*/
public class FVIOEvent extends FVEvent {
SelectionKey sk;
public FVIOEvent(SelectionKey sk, FVEventHandler src, FVEventHandler dst) {... | routeflow/AutomaticConfigurationRouteFlow | FLOWVISOR/src/org/flowvisor/events/FVIOEvent.java | Java | apache-2.0 | 419 |
using System;
using Talifun.Commander.Command.Esb;
namespace Talifun.Commander.Command.PicasaUploader.Command.Response
{
public class ExecutedPicasaUploaderWorkflowMessage : CorrelatedMessageBase<ExecutedPicasaUploaderWorkflowMessage>, IExecutedPicasaUploaderWorkflowMessage
{
public Exception Error { get; set; }
... | taliesins/talifun-commander | src/Talifun.Commander.Command.PicasaUploader/Command/Response/ExecutedPicasaUploaderWorkflowMessage.cs | C# | apache-2.0 | 364 |
# Premna areolata Merr. SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Lamiales/Lamiaceae/Premna/Premna areolata/README.md | Markdown | apache-2.0 | 171 |
/**
* Copyright 2007-2016, Kaazing Corporation. 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 require... | jfallows/nuklei | shell/src/main/java/org/kaazing/nuklei/shell/Main.java | Java | apache-2.0 | 2,888 |
#pragma once
#include "Map.h"
Map::Map(string mapName){
imagePath = "resources/images/";
load(mapName);
}
Map::Map(int mapWidth, int mapHeight){
imagePath = "resources/images/";
hasStart = false;
hasEnd = false;
setMapSize(mapWidth, mapHeight);
blankMap();
}
Map::~Map(){
}
int Map::getMapWidth() const{
ret... | sli-fox/jamms | TowerDefense/TowerDefense/src/Map.cpp | C++ | apache-2.0 | 15,743 |
# -*- coding: utf-8 -*-
#imports
from linkedin import linkedin
import easygui
import sys
reload(sys)
sys.setdefaultencoding("utf-8")
import requests
def enum(*sequential, **named):
enums = dict(zip(sequential, range(len(sequential))), **named)
return type('Enum', (), enums)
Mode = enum('PREVIEW', 'EDIT', ... | SAP/lumira-extension-da-linkedin | source/LinkedinExtractor.py | Python | apache-2.0 | 6,132 |
package coordinate
import (
"fmt"
"testing"
)
func TestEuclideanDistance(t *testing.T) {
tests := []struct {
c1 []float64
c2 []float64
want float64
}{
{[]float64{2, -1}, []float64{-2, 2}, 5},
}
for _, test := range tests {
c1 := New(test.c1...)
c2 := New(test.c2...)
t.Run(fmt.Sprintf("Euclide... | abates/AdventOfCode | coordinate/coordinate_test.go | GO | apache-2.0 | 3,612 |
/*
** Copyright 2014 Centreon
**
** 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 ... | centreon/centreon-broker | notification/src/notification_scheduler.cc | C++ | apache-2.0 | 6,086 |
package org.carrot2.elasticsearch;
import java.io.IOException;
import org.elasticsearch.ElasticsearchException;
import org.elasticsearch.ElasticsearchWrapperException;
import org.elasticsearch.common.io.stream.StreamInput;
/** Generic exception implementing {@link org.elasticsearch.ElasticsearchWrapperException} */
... | carrot2/elasticsearch-carrot2 | src/main/java/org/carrot2/elasticsearch/ClusteringException.java | Java | apache-2.0 | 814 |
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.chrome.browser.ntp.snippets;
import android.graphics.Bitmap;
import android.support.annotation.Nullable;
import org.chromium.base.Di... | mogoweb/365browser | app/src/main/java/org/chromium/chrome/browser/ntp/snippets/SnippetArticle.java | Java | apache-2.0 | 8,388 |
using System;
using System.ComponentModel;
using DesktopWidgets.Helpers;
using DesktopWidgets.Properties;
namespace DesktopWidgets.Actions
{
public class WidgetMuteUnmuteAction : WidgetActionBase
{
[DisplayName("Duration")]
public TimeSpan Duration { get; set; } = Settings.Default.MuteDuration... | danielchalmers/DesktopWidgets | DesktopWidgets/Actions/WidgetMuteUnmuteAction.cs | C# | apache-2.0 | 909 |
# Discovery
* See [Element Discovery](element-discovery.md)
```
CheckBox check = window.getCheckBox(Search.getBuilder(0).build());
check.toggle();
try {
ToggleState state = check.getToggleState();
logger.info("State: " + state);
} catch (Exception ex) {
logger.info("Failed to get toggle state");
}
```
# Metho... | mmarquee/ui-automation | docs/checkbox.md | Markdown | apache-2.0 | 469 |
/*************************************************************
*
* MathJax/fonts/HTML-CSS/TeX/png/Main/Regular/SuppMathOperators.js
*
* Defines the image size data needed for the HTML-CSS OutputJax
* to display mathematics using fallback images when the fonts
* are not available to the client browser.
*
* ... | GerHobbelt/MathJax | fonts/HTML-CSS/TeX/png/Main/Regular/unpacked/SuppMathOperators.js | JavaScript | apache-2.0 | 2,217 |
/**
* @license Apache-2.0
*
* Copyright (c) 2018 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/gamma/cdf/examples/index.js | JavaScript | apache-2.0 | 1,016 |
# Mycosphaerella pyri (Auersw.) Boerema, 1970 SPECIES
#### Status
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Neth. Jl Pl. Path. 76(3): 166 (1970)
#### Original name
Sphaerella pyri Auersw., 1869
### Remarks
null | mdoering/backbone | life/Fungi/Ascomycota/Dothideomycetes/Capnodiales/Mycosphaerellaceae/Mycosphaerella/Mycosphaerella pyri/README.md | Markdown | apache-2.0 | 258 |
/* $NetBSD: dsn_print.c,v 1.1.1.1 2009/06/23 10:08:45 tron Exp $ */
/*++
/* NAME
/* dsn_print
/* SUMMARY
/* write DSN structure to stream
/* SYNOPSIS
/* #include <dsn_print.h>
/*
/* int dsn_print(print_fn, stream, flags, ptr)
/* ATTR_PRINT_MASTER_FN print_fn;
/* VSTREAM *stream;
/* int flags;
/* void *ptr;
/* DESCRIPT... | execunix/vinos | external/ibm-public/postfix/dist/src/global/dsn_print.c | C | apache-2.0 | 1,782 |
// Plato.NET
// Copyright (c) 2017 ReflectSoftware Inc.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Plato.Cache")]
[assembly: AssemblyDescription("")]
[assembl... | reflectsoftware/Plato.NET | src/Plato.Cache/Properties/AssemblyInfo.cs | C# | apache-2.0 | 476 |
GWTRecorder
===========
GWT/Java Wrapper for [Recorderjs](https://github.com/mattdiamond/Recorderjs)
TODO
----
- support buffer
- support samplerate | akjava/GWTRecorderjs | README.md | Markdown | apache-2.0 | 160 |
// THIS FILE WAS AUTO-GENERATED BY ADKGEN -- DO NOT MODIFY!
//
// Copyright (c)1998-2011 Pearson Education, Inc. or its affiliate(s).
// All rights reserved.
//
using System;
using System.Text;
using System.Security.Permissions;
using System.Runtime.Serialization;
using OpenADK.Library;
using OpenADK.Library.Global;
... | open-adk/OpenADK-csharp | src/au/sdo/Student/TermInfo.cs | C# | apache-2.0 | 11,792 |
import {Binding, resolveForwardRef, Injectable} from 'angular2/di';
import {
Type,
isBlank,
isPresent,
BaseException,
normalizeBlank,
stringify,
isArray,
isPromise
} from 'angular2/src/facade/lang';
import {Promise, PromiseWrapper} from 'angular2/src/facade/async';
import {List, ListWrapper, Map, MapWra... | hswolff/angular | modules/angular2/src/core/compiler/compiler.ts | TypeScript | apache-2.0 | 10,193 |
// Code generated by protoc-gen-gogo.
// source: google/logging/v2/log_entry.proto
// DO NOT EDIT!
package google_logging_v2
import proto "github.com/gogo/protobuf/proto"
import fmt "fmt"
import math "math"
import _ "github.com/gengo/grpc-gateway/third_party/googleapis/google/api"
import google_api3 "go.pedge.io/pb/g... | kubeup/archon | vendor/go.pedge.io/pb/gogo/google/logging/v2/log_entry.pb.go | GO | apache-2.0 | 13,614 |
package teststate.core
import teststate.data._
import teststate.typeclass.Profunctor
object Types {
type SackE[-A, +B, +E] = Sack[A, NamedError[Failure[E]] Or B]
type CheckShape1[C[-_, _]] = ({ type T[-O, -S, E] = C[OS[O, S], E] })
type CheckShapeA[C[-_, _], -A, E] = SackE[A, C[A, E], E]
type CheckSh... | japgolly/test-state | core/shared/src/main/scala/teststate/core/Types.scala | Scala | apache-2.0 | 1,069 |
/**
* Copyright (C) 2012 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.engine.depgraph;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.testng.A... | McLeodMoores/starling | projects/engine/src/test/java/com/opengamma/engine/depgraph/ResolutionFailureTest.java | Java | apache-2.0 | 10,098 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<meta name="description" content="API documentation for the Rust `get_program_build_info` fn in crate `ocl_core`.">
<meta na... | liebharc/clFFT | docs/bindings/ocl_core/fn.get_program_build_info.html | HTML | apache-2.0 | 4,945 |
/**
* hujiawei 15/4/25
* <p/>
* 模拟
* <p/>
* https://leetcode.com/problems/valid-sudoku/
*/
public class ValidSudoku_36 {
public static void main(String[] args) {
}
//参考:http://www.acmerblog.com/leetcode-solution-valid-sudoku-6211.html
public boolean isValidSudoku(char[][] board) {
boole... | hujiaweibujidao/XSolutions | java/leetcode/ValidSudoku_36.java | Java | apache-2.0 | 1,507 |
/**
* 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 ... | jbertram/activemq-artemis-old | artemis-server/src/main/java/org/apache/activemq/artemis/core/server/Consumer.java | Java | apache-2.0 | 2,567 |
/*
* Copyright 2014 CIRDLES.
*
* 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... | johnzeringue/Topsoil | core/src/main/java/org/cirdles/topsoil/plot/Plot.java | Java | apache-2.0 | 1,027 |
package it.unibz.krdb.obda.reformulation.tests;
/*
* #%L
* ontop-quest-owlapi3
* %%
* Copyright (C) 2009 - 2014 Free University of Bozen-Bolzano
* %%
* 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 t... | eschwert/ontop | quest-owlapi3/src/test/java/it/unibz/krdb/obda/reformulation/tests/TreeWitnessRewriterH2Test.java | Java | apache-2.0 | 11,075 |
package com.github.monchenkoid.project_9_10_14.backend;
import com.google.appengine.api.datastore.*;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
/**
@author Iryna Monchenko
@versio... | MonchenkoID/Project_9_10_14 | Project_9_10_14/backend/src/main/java/com/github/monchenkoid/project_9_10_14/backend/GlossaryServlet.java | Java | apache-2.0 | 1,247 |
package com.excilys.cdb.cli;
import java.util.List;
public interface Console<T> {
/**
* Add data.
*/
void add(T t);
/**
* Delete data.
*/
void delete(String id);
/**
* Display data.
*/
List<T> display();
/**
* Update data.
*/
void update();
... | gpuget/training-java | computer-database/console/src/main/java/com/excilys/cdb/cli/Console.java | Java | apache-2.0 | 352 |
/*
Copyright 2014 Google Inc. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in ... | knodir/kubernetes | cmd/integration/integration.go | GO | apache-2.0 | 22,027 |
package agent.fuzzy;
import agent.Action;
import agent.State;
import env.CueNames;
import proc.grid.GridWorld;
import reward.Reward;
import Jama.Matrix;
import action.ActionSelection;
import agent.AgentInternalConstants;
import agent.fuzzy.set.AFuzzySet;
import agent.fuzzy.set.ATrapezoidFuzzySet;
import ag... | adezfouli/JRLSim | src/agent/fuzzy/FuzzyKalmanAgent.java | Java | apache-2.0 | 6,000 |
package com.yingjunyu.GetInfo.beans;
/**
* Created by yingjunyu on 2016/8/11.
*/
public class StockBean {
private String sname; //指数名称
private String curdot; //当前指数
private String curprice; //涨跌指数
private String rate; //涨跌百分比
public String getSname() {
return sname;
}
public vo... | yingjunyu/getinfo | app/src/main/java/com/yingjunyu/GetInfo/beans/StockBean.java | Java | apache-2.0 | 844 |
# AUTOGENERATED FILE
FROM balenalib/imx8mm-var-dart-debian:sid-run
# remove several traces of debian python
RUN apt-get purge -y python.*
# http://bugs.python.org/issue19846
# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
ENV LANG C.UTF-8
# install python dep... | resin-io-library/base-images | balena-base-images/python/imx8mm-var-dart/debian/sid/3.10.0/run/Dockerfile | Dockerfile | apache-2.0 | 4,090 |
/***************************************************************
*
* 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... | clalancette/condor-dcloud | src/classad/indexfile.cpp | C++ | apache-2.0 | 4,606 |
<!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 Mon Jun 24 22:25:08 UTC 2013 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Uses of Class org.apache.hadoop.h... | zqxjjj/NobidaBase | docs/apidocs/org/apache/hadoop/hbase/regionserver/class-use/KeyValueHeap.html | HTML | apache-2.0 | 6,282 |
package com.vijaysharma.gezzoo.utilities;
import com.googlecode.objectify.stringifier.Stringifier;
public class LongStringifier implements Stringifier<Long>
{
@Override
public String toString(Long obj) {
return obj.toString();
}
@Override
public Long fromString(String str) {
return Long.parseLong(str);
}
}... | vijaysharm/gezzoo-java | src/main/java/com/vijaysharma/gezzoo/utilities/LongStringifier.java | Java | apache-2.0 | 321 |
package io.kamara.firebase.quickstart.android.demo;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.graphics.Bitmap;
import android.graphics.drawable.BitmapDrawable;
import android.net.Uri;
import android.os... | GDG-Trondheim/firebase-ui-quickstart-android | app/src/main/java/io/kamara/firebase/quickstart/android/demo/DemoActivity.java | Java | apache-2.0 | 13,076 |
using System.Linq;
using RealtyInvest.Common.ServiceResult;
using RealtyInvest.DataModel.Models;
using RealtyInvest.DataModel.UnitsOfWorks;
using RealtyInvest.DataModel.ViewModels;
using RealtyInvest.DataModel.ViewModels.Manage;
namespace RealtyInvest.Core.Services.Impl
{
public class RealtySearchService : IRealt... | quaternion1994/RealtyInvest | RealtyInvest.Core/Services/Impl/RealtySearchService.cs | C# | apache-2.0 | 3,011 |
///
/// Copyright (c) 2016 Dropbox, Inc. All rights reserved.
///
/// Auto-generated by Stone, do not modify.
///
#import <Foundation/Foundation.h>
#import "DBSerializableProtocol.h"
#import "DBTEAMMembersDeactivateArg.h"
@class DBTEAMMembersRemoveArg;
@class DBTEAMUserSelectorArg;
#pragma mark - API Object
///
//... | vntodorova/Notes | Notes/Pods/ObjectiveDropboxOfficial/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersRemoveArg.h | C | apache-2.0 | 3,881 |
# Copyright (c) 2012-2014 Snowplow Analytics Ltd. All rights reserved.
#
# This program is licensed to you under the Apache License Version 2.0,
# and you may not use this file except in compliance with the Apache License Version 2.0.
# You may obtain a copy of the Apache License Version 2.0 at http://www.apache.org/li... | atotech/snowplow | 4-storage/storage-loader/lib/snowplow-storage-loader/redshift_loader.rb | Ruby | apache-2.0 | 12,191 |
//{{NO_DEPENDENCIES}}
// Microsoft Developer Studio generated include file.
// Used by Joystick.rc
//
#define IDI_MAIN 102
#define IDD_JOYST_IMM 103
#define IDR_ACCELERATOR1 103
#define IDC_CLOSE 1001
#define IDC_X_AXIS 1... | MorrigansWings/GamePhysics | PlanetSim/DirectX/Samples/C++/DirectInput/Joystick/resource.h | C | apache-2.0 | 1,744 |
package org.pikater.core.ontology.subtrees.datasource;
import jade.content.AgentAction;
/**
* User: Kuba
* Date: 2.5.2014
* Time: 13:21
*/
public class GetDataSourcePath implements AgentAction {
/**
*
*/
private static final long serialVersionUID = 2808234460031853327L;
private String taskId;
priv... | tomkren/pikater | src/org/pikater/core/ontology/subtrees/datasource/GetDataSourcePath.java | Java | apache-2.0 | 611 |
/*
* Copyright (c) 2005 - 2014, WSO2 Inc. (http://www.wso2.org) 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
... | sacjaya/siddhi-3 | modules/siddhi-query-api/src/main/java/org/wso2/siddhi/query/api/expression/function/AttributeFunction.java | Java | apache-2.0 | 2,320 |
package org.gradle.test.performance.mediummonolithicjavaproject.p264;
import org.gradle.test.performance.mediummonolithicjavaproject.p263.Production5279;
import org.junit.Test;
import static org.junit.Assert.*;
public class Test5282 {
Production5282 objectUnderTest = new Production5282();
@Test
p... | oehme/analysing-gradle-performance | my-app/src/test/java/org/gradle/test/performance/mediummonolithicjavaproject/p264/Test5282.java | Java | apache-2.0 | 2,259 |
"""Support for Lutron Caseta scenes."""
from typing import Any
from homeassistant.components.scene import Scene
from .const import BRIDGE_LEAP, DOMAIN as CASETA_DOMAIN
async def async_setup_entry(hass, config_entry, async_add_entities):
"""Set up the Lutron Caseta scene platform.
Adds scenes from the Caset... | turbokongen/home-assistant | homeassistant/components/lutron_caseta/scene.py | Python | apache-2.0 | 1,243 |
/**
* Copyright (C) 2009 Progress Software, Inc. All rights reserved.
* http://fusesource.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 copy of the License at
*
* http://www.apache.org/li... | chirino/mop | mop-core/src/test/java/org/fusesource/mop/DatabaseTest.java | Java | apache-2.0 | 2,228 |
<?php
function forums_delete($course) {
global $db;
$sql = "SELECT * FROM ".TABLE_PREFIX."forums_courses WHERE course_id=$course";
$f_result = mysql_query($sql, $db);
while ($forum = mysql_fetch_assoc($f_result)) {
$forum_id = $forum['forum_id'];
$sql = "SELECT COUNT(*) AS cnt FROM ".TABLE_PREFIX."fo... | CaviereFabien/Test | ATutor/mods/_standard/forums/module_delete.php | PHP | apache-2.0 | 2,969 |
#!/usr/bin/env python
###
# This script sets up a Spark cluster on Google Compute Engine
# Sigmoidanalytics.com
###
from __future__ import with_statement
import logging
import os
import pipes
import random
import shutil
import subprocess
import sys
import tempfile
import time
import commands
import urllib2
from optp... | sigmoidanalytics/spark_gce | spark_gce.py | Python | apache-2.0 | 20,428 |
using System;
using System.Reflection;
using System.Management;
using System.Linq;
using System.Diagnostics;
using System.Collections.Generic;
namespace Acrolinx.Sdk.Sidebar.Util
{
public class AssemblyUtil
{
private readonly Assembly asm;
public AssemblyUtil(Assembly asm)
{
... | acrolinx/sidebar-sdk-dotnet | Acrolinx.Sidebar/Util/AssemblyUtil.cs | C# | apache-2.0 | 3,841 |
/*
* 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 ... | undertow-io/jastow | src/main/java/org/apache/jasper/compiler/BeanRepository.java | Java | apache-2.0 | 2,396 |
.tab-content{
border: 1px solid #ddd;
border-top: 0 !important;
}
thead th{
padding: 20px 0 20px 10px !important;
width: 12.5%;
}
thead tr{
background: #E7E5E6
}
td{
padding-left: 10 !important;
padding-right: 0 !important:;
}
| xuyuqin/xuyuqin | src/main/resources/static/public/yun_css/member/orderconfirm.css | CSS | apache-2.0 | 240 |
# coding: utf-8
#
# Copyright 2014 The Oppia 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 requi... | won0089/oppia | extensions/rules/real_test.py | Python | apache-2.0 | 2,944 |
#region License
//
// Dasher
//
// Copyright 2015-2017 Drew Noakes
//
// 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
//
// ... | drewnoakes/dasher | Dasher/Empty.cs | C# | apache-2.0 | 1,903 |
// NOTE: This file was generated by the ServiceGenerator.
// ----------------------------------------------------------------------------
// API:
// Version History API (versionhistory/v1)
// Description:
// Version History API - Prod
// Documentation:
// https://developers.chrome.com/versionhistory
#if SWIFT_P... | google/google-api-objectivec-client-for-rest | Source/GeneratedServices/VersionHistory/GTLRVersionHistoryService.h | C | apache-2.0 | 2,053 |
<div id="semillaNeta" style="display: none" class="ui-state-error ui-corner-all">
<div class="cantidades" style="float: left;width: 14em;text-align: left">
<label style="width: 97%;">Número de Etiquetas</label>
</div>
<div>
<input type="text" id="nroetiquetas" class="number" maxlength="3" size="5"/>
</d... | ewill15/usfx | vista/dialogos/semillaNeta.html | HTML | apache-2.0 | 1,384 |
package ru.stqa.pft.sandbox;
/**
* Created by jnorina on 30/04/2017.
*/
public class Rectangle {
public double a;
public double b;
public Rectangle (double a, double b){
this.a=a;
this.b=b;
}
public double area(){
return this.a*this.b;
}
}
| ynorina/java_pft | sandbox/src/main/java/ru/stqa/pft/sandbox/Rectangle.java | Java | apache-2.0 | 292 |
/*
* Copyright (c) 2013 Miles Sabin
*
* 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... | japgolly/shapeless | core/src/main/scala/shapeless/ops/tuples.scala | Scala | apache-2.0 | 37,785 |
#!/usr/bin/env bash
./gradlew clean assemble bintray -DcommitTag=true
git push --follow-tags
| alibaba/atlas | atlas-core/publish.sh | Shell | apache-2.0 | 93 |
/*
* Copyright © 2013-2018 camunda services GmbH and various authors (info@camunda.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 copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2... | xasx/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/CompensateEventDefinition.java | Java | apache-2.0 | 1,307 |
# Geranium sanguineum var. latilobum Rochel VARIETY
#### 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/Geraniales/Geraniaceae/Geranium/Geranium sanguineum/ Syn. Geranium sanguineum latilobum/README.md | Markdown | apache-2.0 | 198 |
#
# Copyright 2012 Christian Giacomi http://www.christiangiacomi.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 copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required... | cgiacomi/r2do | lib/r2do/commands/command.rb | Ruby | apache-2.0 | 1,980 |
<?php
require_once "logging.php";
class Saasu
{
private $baseUrl = "https://secure.saasu.com/webservices/rest/r1/";
private $fileUid;
private $log;
private $resourceType = "Tasks";
private $wsAccessKey;
function __construct($wsAccessKey, $fileUid)
{
$this->wsAccessKey = $wsAccessKey;
$this->fileUid = $fi... | jamesjohnmcguire/Saasu | Saasu.php | PHP | apache-2.0 | 8,552 |
//src: test/specs/fixtures/whitespace.tag
riot.tag2('my-tag', '<div style=" top:0; left:0" a=" " expr="{{ foo:\'bar\', bar:⁗\'⁗ }}"> Foo\' </div> <p></p>', 'p { display: none; }', 'style=" top:0; left:0" a=" " expr="{{ foo:⁗bar⁗ }}"', function(opts) {
this.click = function(e)
{}.bind(thi... | eric1foard/riot-pvfm | node_modules/riot-compiler/test/specs/expect/whitespace.js | JavaScript | apache-2.0 | 335 |
<!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_31) on Tue Mar 17 10:23:13 EDT 2015 -->
<title>ShapeBug</title>
<meta name="date" content="2015-03-17">
<link rel="stylesheet" type="text/css" ... | jflory7/SFHSAPCompSci2015 | src/main/java/com/justinwflory/labs/gridworld/projects/boxBug/doc/ShapeBug.html | HTML | apache-2.0 | 13,285 |
# Impatiens holstii Engl. & Warb. ex Engl. SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Ericales/Balsaminaceae/Impatiens/Impatiens holstii/README.md | Markdown | apache-2.0 | 190 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.