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 2013 Hewlett-Packard Development Company, L.P. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requir...
mrunge/openstack_horizon
openstack_horizon/dashboards/identity/groups/tables.py
Python
apache-2.0
8,157
package cn.felord.wepay.ali.sdk.api.response; import java.util.List; import cn.felord.wepay.ali.sdk.api.internal.mapping.ApiField; import cn.felord.wepay.ali.sdk.api.internal.mapping.ApiListField; import cn.felord.wepay.ali.sdk.api.domain.ListListSmMockModel; import cn.felord.wepay.ali.sdk.api.AlipayResponse; /** *...
NotFound403/WePay
src/main/java/cn/felord/wepay/ali/sdk/api/response/AlipayMobilePublicStdMockListsmlistApiResponse.java
Java
apache-2.0
1,234
// // ======================================================================== // Copyright (c) 1995-2014 Mort Bay Consulting Pty. Ltd. // ------------------------------------------------------------------------ // All rights reserved. This program and the accompanying materials // are made available under the ter...
sdw2330976/Research-jetty-9.2.5
jetty-websocket/javax-websocket-server-impl/src/test/java/org/eclipse/jetty/websocket/jsr356/server/samples/BasicCloseSessionReasonSocket.java
Java
apache-2.0
1,339
/******************************************************************************* * * Copyright (c) 2011, 2012, 2013, 2014, 2015 Olaf Bergmann (TZI) and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * and Eclipse Di...
krzychb/rtd-test-bed
components/coap/libcoap/ext/tinydtls/netq.h
C
apache-2.0
3,504
package com.bytebeats.lucene.query; /** * ${DESCRIPTION} * * @author Ricky Fung * @create 2016-12-07 18:15 */ public class MultiFieldQueryDemo extends BaseDemo { @Override public void start() { } }
FBing/lucene-codelab
src/main/java/com/bytebeats/lucene/query/MultiFieldQueryDemo.java
Java
apache-2.0
218
package io.ebean.ignite.config; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for l2CacheMatch complex type. * * <p>The following schema fragment specif...
ebean-orm/avaje-ebeanorm-ignite
src/main/java/io/ebean/ignite/config/L2CacheMatch.java
Java
apache-2.0
4,505
/* * QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. * Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect 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...
AnshulYADAV007/Lean
Algorithm.Framework/Portfolio/BlackLittermanOptimizationPortfolioConstructionModel.cs
C#
apache-2.0
11,806
/* * APDPlat - Application Product Development Platform * Copyright (c) 2013, 杨尚川, yang-shangchuan@qq.com * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the Licen...
ysc/superword
src/main/java/org/apdplat/superword/system/InstantTip.java
Java
apache-2.0
2,545
var angular = require('angular'); angular.module('example.photos.controllers', ['example.api.services']) .controller('PhotosController', ['$scope', 'postService', 'postPhotoService', function ($scope, postService, postPhotoService) { $scope.photos = {}; $scope.posts = postService.query(); // Obtien...
iLordTony/django-angular-example
static/app/photos/controllers.js
JavaScript
apache-2.0
733
<!DOCTYPE html> <html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout" layout:decorator="layout/master"> <head> <meta charset="UTF-8"/> <title>Title</title> </head> <body> <div layout:fragment="content"> <h2>example view</h2> </div>...
peiyucn/spring-boot-demo
src/main/resources/templates/view/example.html
HTML
apache-2.0
336
<!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_60-ea) on Thu Dec 15 09:48:36 EST 2016 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Uses of Class org.wildfly...
wildfly-swarm/wildfly-swarm-javadocs
2016.12.1/apidocs/org/wildfly/swarm/mod_cluster/class-use/ModclusterProperties.html
HTML
apache-2.0
4,931
package main.domain.profession; import main.domain.Repository; public interface ProfessionRepository extends Repository<Profession> { }
lucasvschenatto/eventex
src/main/domain/profession/ProfessionRepository.java
Java
apache-2.0
138
#!/bin/bash if [ "$1" = "" ]; then for n in {1,10}000000; do ./so-test $n || exit 1 done else for n in {1,10,100,200}000000; do ./so-test $n || exit 1 done fi
ivantishchenko/OpenMP-CUDA
so0/benchmark.sh
Shell
apache-2.0
192
use std::marker::PhantomData; use expression::Expression; use query_builder::{QueryBuilder, BuildQueryResult}; use query_source::{Table, Column}; use types::NativeSqlType; /// Represents that a structure can be used to to insert a new row into the database. /// Implementations can be automatically generated by /// [`...
tohou/diesel
diesel/src/persistable.rs
Rust
apache-2.0
2,563
angular.module("Thesaurus") .service("NodeHandler", ['$http', 'PagingSet', function($http, PagingSet) { var nr_of_displayed_pages = 5; var items_per_page = 25; function mapData(data) { data.items.forEach(function(child) { child.loadingChildren = false; child.currentPage = 1; child.expanded = ...
Joppe-A/rce-doorzoeker
RceDoorzoeker/App/thesaurus/NodeHandler.js
JavaScript
apache-2.0
3,344
#include "common.h" #include "control.h" #include "error.h" #include "params.h" static eeprom_params eeprom; void params_init() { // Read the parameters in the EEPROM into local memory EEPROM_read_block(0, (uint8_t*)&eeprom, sizeof(eeprom)); } int params_set_gain(uint8_t gain) { uint16_t amppot_set = 0, amppot_...
aschulm/battor
fw/params.c
C
apache-2.0
1,730
package jvm.applet.ii;/* * Copyright (c) 1996-1999 Bill Venners. All Rights Reserved. * * This Java source file is part of the Interactive Illustrations Web * Site, which is delivered in the applets directory of the CD-ROM * that accompanies the book "Inside the Java 2 Virtual Machine" by Bill * Venners, published by M...
whyDK37/pinenut
java-core/jdk/src/main/java/jvm/applet/ii/ColoredLabel.java
Java
apache-2.0
2,667
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Thu Oct 12 22:25:38 2017 @author: sitibanc """ import math import numpy as np def entropy(p1, n1): # postive, negative if p1 == 0 and n1 == 0: return 1 value = 0 pp = p1 / (p1 + n1) pn = n1 / (p1 + n1) if pp > 0: ...
SitiBanc/1061_NCTU_IOMDS
1011/Course Material/temp.py
Python
apache-2.0
5,952
package com.performance.net.bio.demo1; /** BIO方式 1对1方式 创建连接 */
nero520/performance
java-net/src/main/java/com/performance/net/bio/demo1/package-info.java
Java
apache-2.0
86
using System.Collections.Generic; using System.Linq; namespace Adfc.Msbuild { public class ErrorCodes { /// <summary>Configuration JPath wasn't found in document.</summary> public static readonly ErrorCodes Adfc0001 = new ErrorCodes("ADFC0001", ErrorSeverity.Warning); /// <summary>File...
ADFCommunity/Adfc.Msbuild
src/Adfc.Msbuild/ErrorCodes.cs
C#
apache-2.0
1,945
.PHONY: rel stagedevrel deps test all: deps compile compile: ./rebar compile deps: ./rebar get-deps clean: ./rebar clean distclean: clean ./rebar delete-deps test: ./rebar compile eunit ## ## Doc targets ## docs: ./rebar doc APPS = kernel stdlib sasl erts ssl tools os_mon runtime_tools crypto inets \ xme...
DeadZen/lager
Makefile
Makefile
apache-2.0
1,009
<div class="bg-light lter b-b wrapper-md"> <h1 class="m-n font-thin h3">Post</h1> </div> <div class="wrapper-md"> <div class="row"> <div class="col-sm-9"> <div class="blog-post"> <div class="panel"> <div> <img src="static/webapp/img/c0.jpg" class="...
yinziyang/mywork
static/webapp/tpl/page_post.html
HTML
apache-2.0
8,695
/** @file * Copyright (c) 2016, ARM Limited 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. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * ...
anurag-mishra28/sbsa-acs
val/include/sbsa_avs_common.h
C
apache-2.0
3,638
--- title: werf helm secret file permalink: reference/cli/werf_helm_secret_file.html --- {% include /reference/cli/werf_helm_secret_file.md %}
flant/dapp
docs/documentation/pages_en/reference/cli/werf_helm_secret_file.md
Markdown
apache-2.0
144
package cn.dcs.leef.leetcode; public class CountAndSay { public static String countAndSay(int n) { String res="1"; while(--n>0){ StringBuilder builder=new StringBuilder(); String str=res; char pre=str.charAt(0);int count=1; char p = pre; for(int i=1;i<str.length();i++){ p=str.charAt(i); if...
fitzlee/JavaAlgorithmsDataStructure
src/cn/dcs/leef/leetcode/CountAndSay.java
Java
apache-2.0
1,287
package ru.job4j.priorityqueue; public class Task { private String desc; private int priority; public Task(String desc, int priority) { this.desc = desc; this.priority = priority; } public String getDesc() { return desc; } public int getPriority() { return...
ilya-moskovtsev/imoskovtsev
intern/chapter_003_collections_light/src/main/java/ru/job4j/priorityqueue/Task.java
Java
apache-2.0
339
# Cercospora bernardiae F. Stevens SPECIES #### Status ACCEPTED #### According to Index Fungorum #### Published in null #### Original name Cercospora bernardiae F. Stevens ### Remarks null
mdoering/backbone
life/Fungi/Ascomycota/Dothideomycetes/Capnodiales/Mycosphaerellaceae/Cercospora/Cercospora bernardiae/README.md
Markdown
apache-2.0
193
/* * 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...
ederign/kie-wb-common
kie-wb-common-stunner/kie-wb-common-stunner-core/kie-wb-common-stunner-commons/kie-wb-common-stunner-client-common/src/main/java/org/kie/workbench/common/stunner/core/client/session/command/impl/ExportToPdfSessionCommand.java
Java
apache-2.0
1,428
/* * Copyright 2016 Utkin Dmitry <loentar@gmail.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 by a...
loentar/ngrest-db
common/src/QueryImpl.h
C
apache-2.0
1,798
/** * Created by Ali on 4/08/2015. */ "use strict"; const Hoek = require("hoek"), Joi = require("joi"), _get = require("lodash/get"), _set = require("lodash/set"), model_factory = require("../../../model"); const options_schema = Joi .object({ enabled: Joi .boolean() ...
gaaiatinc/valde-hapi
lib/server/plugins/resource_set/index.js
JavaScript
apache-2.0
1,694
// Copyright 2012-2014 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. // // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license // <LICENSE-MI...
pythonesque/rust
src/test/run-pass/classes-cross-crate.rs
Rust
apache-2.0
734
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: GenericRefreshProtocol.proto package org.apache.hadoop.ipc.proto; public final class GenericRefreshProtocolProtos { private GenericRefreshProtocolProtos() {} public static void registerAllExtensions( com.google.protobuf.ExtensionRegistry...
bruthe/hadoop-2.6.0r
src/proto/java/org/apache/hadoop/ipc/proto/GenericRefreshProtocolProtos.java
Java
apache-2.0
101,241
<?php /** * 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 agre...
GoogleCloudPlatform/php-docs-samples
storage/src/define_bucket_website_configuration.php
PHP
apache-2.0
2,168
package es.udc.fic.acs.infmsb01.atm.common.model.message.instance.data; import es.udc.fic.acs.infmsb01.atm.common.model.agentinfo.RecipientInfo; import es.udc.fic.acs.infmsb01.atm.common.model.message.DataResponseMessage; import es.udc.fic.acs.infmsb01.atm.common.model.message.code.DataResponseCode; public final clas...
marcos-sb/distributed-banking-system
common/src/main/java/es/udc/fic/acs/infmsb01/atm/common/model/message/instance/data/ResponseAccountsTransfer.java
Java
apache-2.0
1,636
/* * Copyright 2014 Lukas Benda <lbenda at lbenda.cz>. * * 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 appl...
lbenda/Coursing
server/src/main/java/cz/lbenda/coursing/server/service/DogRepository.java
Java
apache-2.0
975
# Hosta fortunei var. stenantha 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/Liliopsida/Asparagales/Asparagaceae/Hosta/Hosta sieboldiana/ Syn. Hosta fortunei stenantha/README.md
Markdown
apache-2.0
186
(clear) (unwatch compilations) (watch statistics) (set-strategy depth) (load clipsfiles/waltz/waltz.clp) (reset) (load-facts clipsfiles/waltz/waltz37.fct) (run)
RWTH-i5-IDSG/jamocha
clipsfiles/waltz/waltz37.bat
Batchfile
apache-2.0
161
/** * Copyright (c) 2014-2017 Evolveum * * 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...
arnost-starosta/midpoint
provisioning/ucf-impl-connid/src/main/java/com/evolveum/midpoint/provisioning/ucf/impl/connid/ConnIdConvertor.java
Java
apache-2.0
16,663
/** * Copyright 2015, deepsense.io * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
deepsense-io/seahorse-workflow-executor
commons/src/main/scala/io/deepsense/commons/auth/usercontext/TokenTranslator.scala
Scala
apache-2.0
1,418
/* * * honggfuzz - architecture dependent code (LINUX/UNWIND) * ----------------------------------------- * * Author: Robert Swiecki <swiecki@google.com> * * Copyright 2010-2015 by Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file ...
riusksk/riufuzz
linux/unwind.c
C
apache-2.0
9,122
// Copyright 2017 Intermodalics 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...
Intermodalics/tango_ros
TangoRosStreamer/tango_nodelet_manager/src/main/jni/jni.cc
C++
apache-2.0
5,118
#ifndef ParticlesObjectH #define ParticlesObjectH #include "../PS_instance.h" extern const Fvector zero_vel; class CParticlesObject : public CPS_Instance { typedef CPS_Instance inherited; u32 dwLastTime; void Init (LPCSTR p_name, IRender_Sector* S, BOOL bAutoRemove); void UpdateSpatial (); protec...
OLR-xray/XRay-NEW
XRay/xr_3da/xrGame/ParticlesObject.h
C
apache-2.0
1,692
/* * Dynomite - A thin, distributed replication layer for multi non-distributed storages. * Copyright (C) 2014 Netflix, Inc. */ /* * twemproxy - A fast and lightweight proxy for memcached protocol. * Copyright (C) 2011 Twitter, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may...
fengshao0907/dynomite
src/dyn_request.c
C
apache-2.0
22,885
package cn.edu.fudan.se.DataExtractor.repository; import java.util.Date; public class IssueComment { private Integer id; private Integer repositoryId; private Integer issueId; private Integer commentId; private Integer authorId; private String authorName; private String content; private D...
SEBigData/SEDataExtractor
DataExtractor/src/main/java/cn/edu/fudan/se/DataExtractor/repository/IssueComment.java
Java
apache-2.0
1,540
var _ = require("lodash"); var Q = require("q"); var path = require("path"); var nunjucks = require("nunjucks"); var escapeStringRegexp = require("escape-string-regexp"); var git = require("./utils/git"); var fs = require("./utils/fs"); var batch = require("./utils/batch"); var pkg = require("../package.json"); var de...
tzq668766/gitbook
lib/template.js
JavaScript
apache-2.0
13,268
# adapted from zmq_server_example.py in tinyrpc import time, sys import zmq from tinyrpc.protocols.jsonrpc import JSONRPCProtocol from tinyrpc.transports.zmq import ZmqServerTransport from tinyrpc.server import RPCServer from tinyrpc.dispatch import RPCDispatcher class Server(object): def __init__(self, req_callba...
dongting/sdnac
sdnac/api/rpc.py
Python
apache-2.0
1,086
package pft.frames.marshallers; import static org.junit.Assert.assertEquals; import pft.frames.DataResponse; import pft.frames.marshallers.DataResponseMarshaller; import org.junit.Test; import java.util.Random; public class DataResponseMarshallerTest { @Test public void encodeShouldEqualDecode() { Random r...
bhatanku1/ProtocolDesign
src/test/java/pft/frames/marshallers/DataResponseMarshallerTest.java
Java
apache-2.0
1,057
/* * 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...
wuwen5/dubbo
dubbo-config/dubbo-config-spring/src/test/java/org/apache/dubbo/config/spring/beans/factory/config/DubboConfigEarlyInitializationTest.java
Java
apache-2.0
3,347
package org.ovirt.mobile.movirt.rest.dto.v4; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import org.ovirt.mobile.movirt.util.IdHelper; @JsonIgnoreProperties(ignoreUnknown = true) public class Cluster extends org.ovirt.mobile.movirt.rest.dto.Cluster { public DataCenter data_center; @Overrid...
matobet/moVirt
moVirt/src/main/java/org/ovirt/mobile/movirt/rest/dto/v4/Cluster.java
Java
apache-2.0
598
using System.Collections; using System.Collections.Generic; using UnityEngine; public class City { //Attributs public int id; public string name; public bool capital; public City(int id, string name, bool isCapital) { this.id = id; this.name = name; capital = t...
Kuraikari/Modern-Times
Modern Time (J)RPG/Assets/Scripts/Economy System/Countries/Cities/City.cs
C#
apache-2.0
736
/* * Copyright 2016 OPEN TONE 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 ...
otsecbsol/linkbinder
linkbinder-web/src/test/java/jp/co/opentone/bsol/linkbinder/view/servlet/MockPrintWriter.java
Java
apache-2.0
3,524
# Copyright (c) 2014 Alcatel-Lucent Enterprise # 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 # # Un...
OpenTouch/night-watch
src/nw/providers/Ping.py
Python
apache-2.0
8,878
<!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 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Uses of Class com.google.zxing.datamatrix.detector.Detector (ZXing 3.3....
l-dobrev/zxing
docs/apidocs/com/google/zxing/datamatrix/detector/class-use/Detector.html
HTML
apache-2.0
4,620
/* Copyright 2017 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 in ...
shinfan/toolkit
src/main/java/com/google/api/codegen/transformer/py/PythonSurfaceNamer.java
Java
apache-2.0
14,379
/** * Autogenerated by Thrift for src/module.thrift * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @nocommit */ #pragma once #include "thrift/compiler/test/fixtures/fatal/gen-cpp2/module_fatal_types.h" namespace test_cpp2 { namespace cpp_reflection { }} // test_cpp2::cpp_refl...
facebook/fbthrift
thrift/compiler/test/fixtures/fatal/gen-cpp2/module_fatal_constant.h
C
apache-2.0
327
// Copyright 2013 Matthew Baird // 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...
PuerkitoBio/elastigo
core/moreLikeThis.go
GO
apache-2.0
2,093
## How to extract csv from pdf and fill database in sql server with pdf extractor sdk in VB.NET using ByteScout Premium Suite ### Continuous learning is a crucial part of computer science and this tutorial shows how to extract csv from pdf and fill database in sql server with pdf extractor sdk in VB.NET The sample so...
bytescout/ByteScout-SDK-SourceCode
Premium Suite/VB.NET/Extract csv from pdf and fill database in sql server with pdf extractor sdk/README.md
Markdown
apache-2.0
12,549
package db import ( "github.com/couchbase/go-couchbase" "github.com/couchbase/sync_gateway/base" ) // A goroutine that watches the tapListener for documents that don't have // sync metadata, and calls assimilate() on them. func (c *DatabaseContext) watchDocChanges() { if c.tapListener.DocChannel == nil { return...
tleyden/sync_gateway
db/assimilator.go
GO
apache-2.0
1,304
# Lagunaria lilacina (Lindl.) Sweet SPECIES #### Status ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name Hibiscus lilacinus Lindl. ### Remarks null
mdoering/backbone
life/Plantae/Magnoliophyta/Magnoliopsida/Malvales/Malvaceae/Lagunaria/Lagunaria lilacina/README.md
Markdown
apache-2.0
204
/****************************************************************************** * Copyright 2019 The Apollo 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 ...
ycool/apollo
modules/planning/scenarios/park/valet_parking/valet_parking_scenario.cc
C++
apache-2.0
6,725
var models = require('../models/models.js'); exports.ownershipRequired = function (req, res, next) { models.Quiz.find({ where: { id: Number(req.comment.QuizId) } }).then(function (quiz) { if (quiz) { var objQuizOwner = quiz.UserId; var logUser = req.session.user.id; var isAdmin = req.session.user.i...
sirasistant/Core-quiz
controllers/comment_controller.js
JavaScript
apache-2.0
1,652
package com.example.coolweather.gson; /** * Created by Administrator on 2017/9/1. */ public class AQI { public AQICity city; public class AQICity{ public String aqi; public String pm25; } }
1312662151/coolweather
app/src/main/java/com/example/coolweather/gson/AQI.java
Java
apache-2.0
222
/** * Copyright (C) 2014 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.strata.collect.id; import java.util.function.Function; import com.google.common.reflect.TypeToken; /** * A resolver that can provide the target when resolvi...
nssales/Strata
modules/collect/src/main/java/com/opengamma/strata/collect/id/LinkResolver.java
Java
apache-2.0
5,642
/* Copyright 2018 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 in writing, softwar...
googlestadia/PorQue4K
src/vkex/DebugMarker.h
C
apache-2.0
3,293
<div class="container-fluid"> <div class="row"> <div class="col-sm-6"> <h4>Conduit One</h4> <uxd-conduit-search></uxd-conduit-search> </div> <div class="col-sm-6"> <h4>Conduit Two</h4> <uxd-conduit-search></uxd-conduit-search> </div> ...
UXAspects/UXAspects
docs/app/pages/components/components-sections/conduits/conduit/example/component-zone/component-zone.component.html
HTML
apache-2.0
335
/* * 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-sts/src/main/java/com/amazonaws/services/securitytoken/model/FederatedUser.java
Java
apache-2.0
8,812
package pro.taskana.workbasket.internal.builder; import java.security.PrivilegedActionException; import java.security.PrivilegedExceptionAction; import javax.security.auth.Subject; import pro.taskana.common.api.exceptions.InvalidArgumentException; import pro.taskana.common.api.exceptions.NotAuthorizedException; impor...
Taskana/taskana
lib/taskana-core/src/main/java/pro/taskana/workbasket/internal/builder/WorkbasketAccessItemBuilder.java
Java
apache-2.0
2,562
/** * ExperimentProteinInferRun.java * @author Vagisha Sharma * Aug 5, 2009 * @version 1.0 */ package org.yeastrc.experiment; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.yeastrc.ms.domain.protinfer.ProteinInferenceProgram; import org.yeastrc.ms.domain.protinfer.proteinProphet.Prote...
yeastrc/msdapl
MSDaPl_Web_App/src/org/yeastrc/experiment/ExperimentProteinProphetRun.java
Java
apache-2.0
2,620
/** * @license * Copyright 2018 Google LLC * SPDX-License-Identifier: Apache-2.0 */ // Style preference for leading underscores. // tslint:disable:strip-private-property-underscore import {customElement} from 'lit/decorators.js'; import {TabScrollerBase} from './mwc-tab-scroller-base'; import {styles} from './mw...
material-components/material-web
packages/tab-scroller/mwc-tab-scroller.ts
TypeScript
apache-2.0
564
import lean import lang.expr as expr # ========================================================= # Declaration Views class DeclView(lean.declaration): def __init__(self, decl): self.decl = decl def destruct(self): # type: DeclView -> (lean.name, ?, ?, lean.expr, lean.expr) return (s...
dselsam/lean-python-bindings
lean/lang/env.py
Python
apache-2.0
1,567
# WARNING: DO NOT EDIT. AUTO-GENERATED CODE (editorconfig-checker.rb.tpl) class EditorconfigChecker < Formula version "2.0.3" bottle :unneeded if OS.mac? if Hardware::CPU.is_64_bit? url "https://github.com/editorconfig-checker/editorconfig-checker/releases/download/2.0.3/ec-darwin-amd64.tar.gz" ...
tobiipro/support-firecloud
priv/editorconfig-checker.rb
Ruby
apache-2.0
2,375
/** * @license Copyright 2019 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 a...
wardpeet/lighthouse
stack-packs/packs/wordpress.js
JavaScript
apache-2.0
11,796
import logging import os import sys import time import json import jsonschema import pprint import pytest import requests from ray._private.test_utils import ( format_web_url, wait_for_condition, wait_until_server_available, ) from ray.dashboard import dashboard from ray.dashboard.tests.conftest import * ...
ray-project/ray
dashboard/modules/snapshot/tests/test_job_submission.py
Python
apache-2.0
5,558
/* * Copyright (c) 2016-2016 Bas van den Boom 'Z3r0byte' * * 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...
Z3r0byte/Magistify
app/src/main/java/net/ilexiconn/magister/container/MessageFolder.java
Java
apache-2.0
1,232
/******************************************************************************* * * Copyright (C) 2015-2021 the BBoxDB project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the Licens...
jnidzwetzki/scalephant
bboxdb-server/src/main/java/org/bboxdb/network/client/response/ServerResponseHandler.java
Java
apache-2.0
1,515
#!/usr/bin/perl -w # # Copyright 2017, 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 ...
googleads/googleads-perl-lib
examples/v201809/advanced_operations/use_portfolio_bidding_strategy.pl
Perl
apache-2.0
6,548
/** * 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...
CiscoCloud/exhibitor-mesos-framework
src/main/test/ly/stealth/mesos/exhibitor/ClusterTest.scala
Scala
apache-2.0
2,039
/* * Copyright © 2013-2019 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/ProcessDefinitionQueryImpl.java
Java
apache-2.0
14,791
package org.globus.gsi.provider.simple; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import java.security.KeyStore.LoadStoreParameter; import java.util.Collections; import java.util.concurrent.ConcurrentHashMap; import java.util.Map; import java.security.cert.X509Certificate;...
jrevillard/JGlobus
ssl-proxies/src/main/java/org/globus/gsi/provider/simple/SimpleMemoryKeyStore.java
Java
apache-2.0
4,512
<?php /** * HiPay Fullservice SDK Magento 1 * * 2018 HiPay * * NOTICE OF LICENSE * * @author HiPay <support.tpp@hipay.com> * @copyright 2018 HiPay * @license https://github.com/hipay/hipay-fullservice-sdk-magento1/blob/master/LICENSE.md */ /** * * * @author HiPay <support.tpp@hipay.com> * @cop...
hipay/hipay-fullservice-sdk-magento1
src/app/code/community/Allopass/Hipay/controllers/YandexController.php
PHP
apache-2.0
721
# Phoma xylostei Cooke & Harkn. SPECIES #### Status ACCEPTED #### According to Index Fungorum #### Published in Grevillea 9(no. 51): 82 (1881) #### Original name Phoma xylostei Cooke & Harkn. ### Remarks null
mdoering/backbone
life/Fungi/Ascomycota/Dothideomycetes/Pleosporales/Phoma/Phoma xylostei/README.md
Markdown
apache-2.0
213
package com.marcohc.architecture.aca.presentation.bus.presentation.mvp; import com.hannesdorfmann.mosby.mvp.MvpPresenter; import com.marcohc.architecture.aca.presentation.bus.common.BusProvider; import com.marcohc.architecture.aca.presentation.mvp.BaseMvpView; import com.marcohc.architecture.aca.presentation.mvp.BaseM...
marcohc/android-clean-architecture
bus/src/main/java/com/marcohc/architecture/aca/presentation/bus/presentation/mvp/BaseBusMvpActivity.java
Java
apache-2.0
1,048
# AUTOGENERATED FILE FROM balenalib/npe-x500-m3-alpine:edge-build # remove several traces of python RUN apk del 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 # key 63C7CC90: public key "Simon McVi...
nghiant2710/base-images
balena-base-images/python/npe-x500-m3/alpine/edge/3.6.12/build/Dockerfile
Dockerfile
apache-2.0
4,840
# AUTOGENERATED FILE FROM balenalib/artik10-alpine:3.11-run ENV NODE_VERSION 14.16.0 ENV YARN_VERSION 1.22.4 # Install dependencies RUN apk add --no-cache libgcc libstdc++ libuv \ && apk add --no-cache libssl1.0 || apk add --no-cache libssl1.1 RUN buildDeps='curl' \ && set -x \ && for key in \ 6A010C5166006599AA...
nghiant2710/base-images
balena-base-images/node/artik10/alpine/3.11/14.16.0/run/Dockerfile
Dockerfile
apache-2.0
3,022
package it.unibz.inf.ontop.answering.reformulation.impl; import com.google.inject.assistedinject.Assisted; import com.google.inject.assistedinject.AssistedInject; import it.unibz.inf.ontop.answering.logging.QueryLogger; import it.unibz.inf.ontop.answering.reformulation.QueryCache; import it.unibz.inf.ontop.answering.r...
ontop/ontop
engine/reformulation/core/src/main/java/it/unibz/inf/ontop/answering/reformulation/impl/QuestQueryProcessor.java
Java
apache-2.0
6,425
/* * Copyright 2016 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 a...
scandihealth/kie-wb-common
kie-wb-common-services/kie-wb-common-services-backend/src/main/java/org/kie/workbench/common/services/backend/common/Supplier.java
Java
apache-2.0
729
php-client ========== Official PHP Client Library
redstagfulfillment/php-client
README.md
Markdown
apache-2.0
51
/* * Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/...
GPrathap/analytics-iots
product/samples/motorRallyAnalytics/feature/org.wso2.carbon.analytics.iots.motorrallyalytics.feature/src/main/resources/carbonapps/motorrally/gadgets/gadget-motor-rally/motor-rally/js/application_options.js
JavaScript
apache-2.0
3,938
<!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_40) on Wed Apr 13 18:09:43 UTC 2016 --> <title>Uses of Class org.apache.cassandra.utils.concurrent.Ref (apache-cassandra API)</title> <meta nam...
elisska/cloudera-cassandra
DATASTAX_CASSANDRA-3.5.0/javadoc/org/apache/cassandra/utils/concurrent/class-use/Ref.html
HTML
apache-2.0
25,557
/* * Copyright 2015 The Netty Project * * The Netty Project licenses this file to you under the Apache License, * version 2.0 (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless ...
fenik17/netty
resolver/src/main/java/io/netty/resolver/InetNameResolver.java
Java
apache-2.0
1,961
/* * Copyright 2016 Kejun Xia * * 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...
kejunxia/AndroidMvc
library/android-mvc-test/src/main/java/com/shipdream/lib/android/mvc/view/viewpager/ViewPagerTestActivity.java
Java
apache-2.0
2,503
package ch10innerclasses; /** * Creating inner classes. * * <pre> * Output: * Tasmania * </pre> */ public class D01_Parcel1 { class Contents { private int i = 11; public int value() { return i; } } class Destination { private String label; Destination(String whereTo) { label = whereTo; ...
deguo/tij4
src/main/java/ch10innerclasses/D01_Parcel1.java
Java
apache-2.0
709
"use strict"; var utils = require("./utils.js"); var isThenable = utils.isThenable; var invoke = utils.invoke; var fnCall = utils.fnCall; var delayCall = utils.delayCall; var deprecateWarning = {}; function promiseResolve(promise, resolve, reject, resolution) { if (promise === resolution) { reject(new Typ...
sapbuild/node-sap-promise
lib/enhance.js
JavaScript
apache-2.0
15,539
/* * Copyright 2012-2015 Aerospike, Inc. * * Portions may be licensed to Aerospike, Inc. under one or more contributor * license agreements. * * 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 Lice...
YuvalItzchakov/aerospike-client-csharp
AerospikeClient/Command/ExistsCommand.cs
C#
apache-2.0
1,864
/** * <copyright> * </copyright> * * $Id$ */ package org.wso2.developerstudio.eclipse.gmf.esb; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Store Mediator</b></em>'. * <!-- end-user-doc --> * * <p> * The following features are supported: * <ul> * <li>{@link org.wso2.deve...
asankas/developer-studio
esb/org.wso2.developerstudio.eclipse.gmf.esb/src/org/wso2/developerstudio/eclipse/gmf/esb/StoreMediator.java
Java
apache-2.0
6,209
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>FST - Jed Fasso</title> <meta name="description" content="Keep track of the statistics from Jed Fasso. Avera...
chicofilho/fst
surfers/mqs/jfas.html
HTML
apache-2.0
11,861
<!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_45) on Mon Mar 03 10:44:34 EST 2014 --> <title>org.hibernate.result.internal (Hibernate JavaDocs)</title> <meta name="date" content="20...
serious6/HibernateSimpleProject
javadoc/hibernate_Doc/org/hibernate/result/internal/package-summary.html
HTML
apache-2.0
4,814
// Copyright 2015 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...
jgautheron/cockroach
sql/show.go
GO
apache-2.0
4,901
export const schema = {} export const jsonDict = {} export const columns1 = [ { items: [ { errors: [], key: 'a', reactId: '/a+{"b":{"123":123,"c":"ccc","d":"ddd"}}', sortIndex: 1, value: { b: { 123: 123, c: 'ccc', d: 'ddd' } }, }, { errors: [], key: '123...
quiltdata/quilt
catalog/app/components/JsonEditor/mocks/sorted.js
JavaScript
apache-2.0
2,097
// Copyright 2017 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 ...
googleapis/nodejs-firestore
dev/test/order.ts
TypeScript
apache-2.0
7,565