repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
paxtonhare/marklogic-data-hub | quick-start/src/main/resources/static/css/quick-start.css | 5187 | body {
color: #2a2d2b;
background-color: lightgrey;
}
h1 {
color: #2a2d2b;
}
h2 {
color: #336699;
}
h3 {
color: #2a2d2b;
}
.link {
color: #336699;
}
a:hover, .link:hover {
font-weight: bold;
text-decoration: underline;
}
ul {
padding-left: 5px;
}
div#header {
background-color: ... | apache-2.0 |
StackableRegiments/analyticalmetlx | src/main/webapp/_inkOverlay.html | 927 | <div id="silverlightControlHost">
<object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="800px" height="600px" id="silverlightObject">
<param name="source" value="static/sl/Overlay.xap"/>
<param name="onError" value="onSilverlightError" />
<param name="background" value... | apache-2.0 |
googleapis/python-analytics-data | google/analytics/data_v1alpha/services/alpha_analytics_data/transports/grpc_asyncio.py | 19474 | # -*- coding: utf-8 -*-
# Copyright 2020 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... | apache-2.0 |
PolitAktiv/politaktiv-map2-portlet | docroot/WEB-INF/src/org/politaktiv/map/model/impl/LayerCacheModel.java | 3021 | /**
* Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later... | apache-2.0 |
PaddlePaddle/Paddle | paddle/fluid/operators/optimizers/rmsprop_op.cc | 7369 | /* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or... | apache-2.0 |
g8os/core0 | apps/corectl/container.go | 2323 | package main
import (
"encoding/json"
"fmt"
"github.com/codegangsta/cli"
"github.com/olekukonko/tablewriter"
"github.com/zero-os/0-core/base/pm"
"gopkg.in/yaml.v2"
"os"
"sort"
"strconv"
"strings"
)
type containerData struct {
Container struct {
Arguments struct {
Root string `json:"root"`
Hos... | apache-2.0 |
georgfedermann/compilers | straightline/src/main/java/org/poormanscastle/studies/compilers/grammar/grammar3_1/astparser/ast/OperatorExpression.java | 1401 | package org.poormanscastle.studies.compilers.grammar.grammar3_1.astparser.ast;
import org.poormanscastle.studies.compilers.utils.grammartools.ast.CodePosition;
/**
* Created by georg on 15.01.16.
*/
public class OperatorExpression extends AbstractAstItem implements Expression {
private final Expression leftOpe... | apache-2.0 |
XacronDevelopment/oauth-aspnet | src/OAuth.AspNet.AuthServer/OAuth/AspNet/AuthServer/OAuthGrantResourceOwnerCredentialsContext.cs | 1705 | using Microsoft.AspNetCore.Http;
using System.Collections.Generic;
namespace OAuth.AspNet.AuthServer
{
/// <summary>
/// Provides context information used in handling an OAuth resource owner grant.
/// </summary>
public class OAuthGrantResourceOwnerCredentialsContext : BaseValidatingTicketContext<OAut... | apache-2.0 |
flavoi/diventi | diventi/core/migrations/0002_auto_20190430_1520.py | 446 | # Generated by Django 2.1.7 on 2019-04-30 13:20
from django.db import migrations, models
import uuid
class Migration(migrations.Migration):
dependencies = [
('core', '0001_initial'),
]
operations = [
migrations.AlterField(
model_name='publishablemodel',
name='id'... | apache-2.0 |
akiskip/KoDeMat-Collaboration-Platform-Application | KoDeMat_TouchScreen/lib/hazelcast-3.4.2/hazelcast-3.4.2/docs/javadoc/com/hazelcast/queue/impl/operations/package-frame.html | 4188 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_45) on Thu Mar 26 16:48:34 UTC 2015 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
com.hazelcast.queue.impl.operatio... | apache-2.0 |
phurtado1112/cnaemvc | lib/JasperReport__5.6/docs/api/net/sf/jasperreports/engine/util/class-use/BigDecimalHandler.html | 7579 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="ro">
<head>
<!-- Generated by javadoc (version 1.7.0_07) on Tue May 27 14:37:25 EEST 2014 -->
<title>Uses of Interface net.sf.jasperreports.engine.util.BigDecimalHandler (JasperReports 5.6... | apache-2.0 |
BD2K-DDI/ddi-annotation | src/main/java/uk/ac/ebi/ddi/extservices/entrez/ncbiresult/NCBITaxResult.java | 974 | package uk.ac.ebi.ddi.extservices.entrez.ncbiresult;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* @author Yasset Perez-Riverol (ypriverol@gmail.com)
* @date 18/05/2015
*/
@JsonIgnoreProperties(ignoreUnknown = true)
public class NCBITaxRe... | apache-2.0 |
census-instrumentation/opencensus-cpp | opencensus/stats/internal/measure_data_test.cc | 5320 | // Copyright 2018, OpenCensus 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 agree... | apache-2.0 |
yongyu0102/MobileSafe | src/peng/zhang/mobilesafe01/servicer/GPSService.java | 3609 | package peng.zhang.mobilesafe01.servicer;
import android.app.Service;
import android.content.Intent;
import android.content.SharedPreferences;
import android.content.SharedPreferences.Editor;
import android.location.Criteria;
import android.location.Location;
import android.location.LocationListener;
import android.lo... | apache-2.0 |
tanqii/weather | src/com/ty/activity/WeatherActivity.java | 5476 | package com.ty.activity;
import com.ty.app.R;
import com.ty.service.AutoUpdateService;
import com.ty.util.HttpCallbackListener;
import com.ty.util.HttpUtil;
import com.ty.util.Utility;
import android.app.Activity;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
impor... | apache-2.0 |
mdoering/backbone | life/Fungi/Ascomycota/Leotiomycetes/Thelebolales/Thelebolaceae/Coprotus/Coprotus dhofarensis/README.md | 241 | # Coprotus dhofarensis Gené, El Shafie & Guarro SPECIES
#### Status
ACCEPTED
#### According to
Index Fungorum
#### Published in
Mycotaxon 46: 276 (1993)
#### Original name
Coprotus dhofarensis Gené, El Shafie & Guarro
### Remarks
null | apache-2.0 |
pebble2015/cpoi | src/org/apache/poi/hssf/record/DBCellRecord.hpp | 1539 | // Generated from /POI/java/org/apache/poi/hssf/record/DBCellRecord.java
#pragma once
#include <fwd-POI.hpp>
#include <java/lang/fwd-POI.hpp>
#include <org/apache/poi/hssf/record/fwd-POI.hpp>
#include <org/apache/poi/util/fwd-POI.hpp>
#include <org/apache/poi/hssf/record/StandardRecord.hpp>
#include <java/lang/Clonea... | apache-2.0 |
Restioson/restioson.github.io | docs/kettle-engine/core/io.github.restioson.kettle.level/-box2-d-level/engine.html | 754 | <HTML>
<HEAD>
<meta charset="UTF-8">
<title>Box2DLevel.engine - core</title>
<link rel="stylesheet" href="..\..\..\style.css">
</HEAD>
<BODY>
<a href="../../index.html">core</a> / <a href="../index.html">io.github.restioson.kettle.level</a> / <a href="index.html">Box2DLevel</a> / <a... | apache-2.0 |
asanchezr/mem-mmti-public | src/app/operator-filter.pipe.ts | 378 | import { Pipe, PipeTransform } from '@angular/core';
import { Project } from 'app/models/project';
@Pipe({
name: 'operatorFilter'
})
export class OperatorFilterPipe implements PipeTransform {
transform(value: Project[], q: string) {
if (!q) {
return value;
}
return value.filter(item => -1 < it... | apache-2.0 |
apple/swift-clang | lib/CodeGen/CGDeclCXX.cpp | 30989 | //===--- CGDeclCXX.cpp - Emit LLVM Code for C++ declarations --------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | apache-2.0 |
fission/fission-workflows | build/runtime-env/Dockerfile | 880 | # Builders
ARG BUNDLE_IMAGE=fission-workflows-bundle
ARG BUNDLE_TAG=latest
ARG FISSION_BUILDER_IMAGE=fission/builder
ARG FISSION_TAG=latest
FROM $BUNDLE_IMAGE:$BUNDLE_TAG as workflows-bundle
FROM scratch
COPY --from=workflows-bundle /fission-workflows-bundle /fission-workflows-bundle
EXPOSE 8888
EXPOSE 8080
ENV FNE... | apache-2.0 |
mdoering/backbone | life/Plantae/Rhodophyta/Florideophyceae/Gigartinales/Dumontiaceae/Dilsea/Dilsea californica/README.md | 195 | # Dilsea californica (J. Agardh) Kuntze SPECIES
#### Status
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
mdoering/backbone | life/Fungi/Ascomycota/Eurotiomycetes/Eurotiales/Trichocomaceae/Penicillium/Penicillium rufulum/README.md | 228 | # Penicillium rufulum (Bainier) Sacc. SPECIES
#### Status
ACCEPTED
#### According to
Index Fungorum
#### Published in
Syll. fung. (Abellini) 22: 1275 (1913)
#### Original name
Scopulariopsis rufulus Bainier
### Remarks
null | apache-2.0 |
m3db/m3db | src/query/parser/m3ql/grammar.peg.go | 37003 | // Copyright (c) 2018 Uber Technologies, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge... | apache-2.0 |
PortaText/php-sdk | src/PortaText/Command/Api/SmsCampaign.php | 1615 | <?php
/**
* The Campaigns endpoint. This is a campaign of type SMS.
*
* @link https://github.com/PortaText/docs/wiki/REST-API#api_campaigns Campaigns endpoint.
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache 2.0
* @author Marcelo Gornstein <marcelog@portatext.com>
* @copyright 2015 PortaText
*/
name... | apache-2.0 |
pepstock-org/Charba | src/org/pepstock/charba/client/annotation/elements/package-info.java | 881 | /**
Copyright 2017 Andrea "Stock" Stocchero
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 applicab... | apache-2.0 |
dtk/dtk-client | lib/client/operation/service/task_status/stream_mode/element/task_start.rb | 1243 | #
# Copyright (C) 2010-2016 dtk contributors
#
# This file is part of the dtk project.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unles... | apache-2.0 |
ibissource/iaf | core/src/main/java/nl/nn/adapterframework/pipes/WsdlGeneratorPipe.java | 3096 | /*
Copyright 2016, 2020 Nationale-Nederlanden, 2020-2021 WeAreFrank!
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... | apache-2.0 |
dianaui/dianaui-universal | core/src/main/java/com/dianaui/universal/core/client/ui/html/Strong.java | 1186 | /*
* #%L
* Diana UI Core
* %%
* Copyright (C) 2014 Diana UI
* %%
* 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 req... | apache-2.0 |
dianaui/dianaui-universal | core/src/main/java/com/dianaui/universal/core/client/ui/constants/FormGroupSize.java | 1385 | /*
* #%L
* Diana UI Core
* %%
* Copyright (C) 2014 Diana UI
* %%
* 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 req... | apache-2.0 |
square/kochiku | lib/github_post_receive_hook.rb | 1783 | # frozen_string_literal: true
require 'github_request'
class GithubPostReceiveHook
SUBSCRIBE_NAME = "web"
def initialize(repository, oauth_token)
@repository = repository
@oauth_token = oauth_token
@root_url = "#{repository.base_api_url}/hooks"
@hook_url = "#{repository.base_api_url}/hooks/#{repos... | apache-2.0 |
torrances/swtk-commons | commons-dict-wiktionary/src/main/java/org/swtk/commons/dict/wiktionary/generated/a/u/v/WiktionaryAUV000.java | 967 | package org.swtk.commons.dict.wiktionary.generated.a.u.v; import java.util.Collection; import java.util.HashMap; import java.util.Map; import org.swtk.common.dict.dto.wiktionary.Entry; import com.trimc.blogger.commons.utils.GsonUtils; public class WiktionaryAUV000 { private static Map<String, Entry> map = new Has... | apache-2.0 |
thecartercenter/elmo | spec/models/questioning_spec.rb | 8424 | # frozen_string_literal: true
# rubocop:disable Layout/LineLength
# == Schema Information
#
# Table name: form_items
#
# id :uuid not null, primary key
# all_levels_required :boolean default(FALSE), not null
# ancestry :text
# ancestry_dep... | apache-2.0 |
leanddrot/isis-asistencia | fixture/src/main/java/fixture/simple/SimpleObjectsFixturesService.java | 2843 | /*
* 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")... | apache-2.0 |
jonasrk/rheem | rheem-basic/src/main/java/org/qcri/rheem/basic/operators/DistinctOperator.java | 5747 | package org.qcri.rheem.basic.operators;
import org.apache.commons.lang3.Validate;
import org.qcri.rheem.core.api.Configuration;
import org.qcri.rheem.core.function.DistinctPredicateDescriptor;
import org.qcri.rheem.core.function.PredicateDescriptor;
import org.qcri.rheem.core.optimizer.OptimizationContext;
import org.... | apache-2.0 |
Phonemetra/TurboLauncher | app/src/main/java/com/phonemetra/turbo/launcher/BubbleTextView.java | 13912 | /*
* Copyright (C) 2008 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | apache-2.0 |
mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Lamiales/Lamiaceae/Scutellaria/Scutellaria ovata/Scutellaria ovata bracteata/README.md | 211 | # Scutellaria ovata subsp. bracteata (Benth.) Epling SUBSPECIES
#### Status
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
aslanbekirov/crate | sql/src/test/java/io/crate/operation/merge/IteratorPageDownstreamTest.java | 9970 | /*
* Licensed to Crate.IO GmbH ("Crate") under one or more contributor
* license agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership. Crate licenses
* this file to you under the Apache License, Version 2.0 (the "License");
* you may not use this f... | apache-2.0 |
aws/aws-sdk-java | aws-java-sdk-frauddetector/src/main/java/com/amazonaws/services/frauddetector/model/transform/DeleteEventsByEventTypeRequestProtocolMarshaller.java | 2836 | /*
* 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... | apache-2.0 |
tsvetie/nativescript-cli | lib/node-package-manager.ts | 4909 | import Future = require("fibers/future");
import * as npm from "npm";
interface INpmOpts {
config?: any;
subCommandName?: string;
path?: string;
}
export class NodePackageManager implements INodePackageManager {
constructor(private $childProcess: IChildProcess,
private $logger: ILogger,
private $options: IOpt... | apache-2.0 |
tteofili/jackrabbit-oak | oak-sling/src/main/java/org/apache/jackrabbit/oak/sling/Activator.java | 3841 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | apache-2.0 |
xiepengchong/FactoryZxing | src/com/alibaba/fastjson/parser/JSONToken.java | 3656 | /*
* Copyright 1999-2101 Alibaba 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 applicable law or a... | apache-2.0 |
obourgain/elasticsearch-http | src/main/java/com/github/obourgain/elasticsearch/http/response/parser/IndicesParser.java | 1496 | package com.github.obourgain.elasticsearch.http.response.parser;
import java.io.IOException;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.elasticsearch.common.xcontent.XContentParser;
import com.github.obourgain.elasticsearch.http.response.entity.Indices;
import com.github.obourgai... | apache-2.0 |
CarloMicieli/spring-mvc-movies | src/main/java/com/github/carlomicieli/nerdmovies/controllers/HomeController.java | 1759 | /*
* Copyright 2012 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | apache-2.0 |
Camille31/MovieRecommender | src/main/java/com/camillepradel/movierecommender/utils/CsvToMySql.java | 17630 | package com.camillepradel.movierecommender.utils;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
import java.sql.Connection;
import java.sql.Date;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import java.sql.Statement;
import jav... | apache-2.0 |
PurelyApplied/geode | geode-core/src/main/java/org/apache/geode/cache/query/internal/CompiledOperation.java | 12213 | /*
* 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 not ... | apache-2.0 |
iljaosintsev/Apress-Gists | app/src/main/java/com/turlir/abakgists/allgists/view/listing/ModelViewHolder.java | 305 | package com.turlir.abakgists.allgists.view.listing;
import androidx.recyclerview.widget.RecyclerView;
import android.view.View;
abstract class ModelViewHolder<T> extends RecyclerView.ViewHolder {
ModelViewHolder(View itemView) {
super(itemView);
}
abstract void bind(T model);
}
| apache-2.0 |
zuoqing135du/SpringBoot | src/main/java/com/zuoqing/demo/entity/Result.java | 569 | package com.zuoqing.demo.entity;
/**
* http 请求返回的最外层对象
*/
public class Result<T> {
private Integer code;
private String msg;
private T data;
public Integer getCode() {
return code;
}
public void setCode(Integer code) {
this.code = code;
}
public String getMsg() {... | apache-2.0 |
XiaoMi/galaxy-sdk-java | galaxy-thrift-api/src/main/java/libthrift091/TEnum.java | 880 | /*
* 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 ma... | apache-2.0 |
hmrc/iht-frontend | app/iht/views/application/tnrb/permanent_home.scala.html | 2657 | @*
* Copyright 2021 HM Revenue & Customs
*
* 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... | apache-2.0 |
EBIBioSamples/lodestar | web-ui/src/main/webapp/scripts/namespaces.js | 1394 | /*
* Copyright (c) 2013 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 obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applica... | apache-2.0 |
1178615156/hackerrank | src/main/scala/utils/NextLine.scala | 568 | package utils
import java.io.{BufferedReader, File, InputStreamReader}
import scala.io.Source
/**
* Created by yujieshui on 2016/8/30.
*/
object NextLine {
type NextLine = () => String
def fromSystemIn(): NextLine = {
val bi = new BufferedReader(new InputStreamReader(System.in))
() => bi.readLine(... | apache-2.0 |
dreedyman/Rio | rio-tools/rio-cli/src/main/java/org/rioproject/tools/cli/OptionHandler.java | 1583 | /*
* Copyright to 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... | apache-2.0 |
54070356/sample | drools-demo/src/test/java/com/eric/drools_demo/AppTest.java | 648 | package com.eric.drools_demo;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
/**
* Unit test for simple App.
*/
public class AppTest
extends TestCase
{
/**
* Create the test case
*
* @param testName name of the test case
*/
public App... | apache-2.0 |
gcao/littlego_old | src/ui/UiUtilities.h | 1994 | // -----------------------------------------------------------------------------
// Copyright 2011-2012 Patrick Näf (herzbube@herzbube.ch)
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
... | apache-2.0 |
hllorens/cognitionis-nlp-libraries | nlp-files/src/main/java/com/cognitionis/nlp_files/TreebankFile.java | 2385 | package com.cognitionis.nlp_files;
import java.io.*;
import java.util.regex.*;
/**
*
* @author Héctor Llorens
* @since 2011
*/
public class TreebankFile extends NLPFile {
public TreebankFile(String filename) {
super(filename);
}
@Override
public Boolean isWellFormatted() {
i... | apache-2.0 |
kashukov/convert | src/main/java/com/kashukov/convert/Short.java | 1895 | package com.kashukov.convert;
/**
* Convert short to any primitive data type
*/
public class Short {
/**
* Convert short to boolean
*
* @param input short
* @return boolean
*/
public static boolean shortToBoolean(short input) {
return input != 0;
}
/**
* Convert... | apache-2.0 |
upsilon/opMTViewerPlugin | lib/form/doctrine/PluginOp2CommunityEventMemberForm.class.php | 256 | <?php
/**
* PluginOp2CommunityEventMember form.
*
* @package opMTViewerPlugin
* @subpackage form
* @author Kimura Youichi <kim.upsilon@gmail.com>
*/
abstract class PluginOp2CommunityEventMemberForm extends BaseOp2CommunityEventMemberForm
{
}
| apache-2.0 |
DNSBelgium/rdap-server-sample-gtld | src/main/java/be/dnsbelgium/rdap/sample/parser/WhoisKeyBlock.java | 981 | package be.dnsbelgium.rdap.sample.parser;
import be.dnsbelgium.rdap.sample.dto.Contact;
import be.dnsbelgium.rdap.sample.dto.DnsSecKey;
import be.dnsbelgium.rdap.sample.dto.SimpleContact;
public enum WhoisKeyBlock {
MAIN(),
DOMAIN(),
REGISTRAR(),
REGISTRANT(),
ADMIN(Contact.class),
TECH(Contact.class),
... | apache-2.0 |
akkumar/maven-hadoop | src/main/java/com/github/hadoop/maven/plugin/JarWriter.java | 2529 | package com.github.hadoop.maven.plugin;
import java.io.BufferedInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.OutputStream;
import java.util.jar.Attributes;
import java.util.jar.JarEntry;
import java.util.jar.JarOutputS... | apache-2.0 |
aferrandi/dbtarzan | src/main/scala/dbtarzan/gui/table/TableColumnsFitter.scala | 1092 | package dbtarzan.gui.table
import scalafx.scene.control.{TableView, TableColumn}
import scala.util.Random
import scalafx.Includes._
import dbtarzan.gui.util.JFXUtil
import dbtarzan.db._
object TableColumnsFitter {
/* a logistic (sigmoid) function, almost linear, returns max 50 */
def logistic(x : Double) : ... | apache-2.0 |
aws/aws-sdk-java | aws-java-sdk-transfer/src/main/java/com/amazonaws/services/transfer/model/HomeDirectoryType.java | 1790 | /*
* 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... | apache-2.0 |
Solomon1732/infinity-labs-repository | TeamWorkAndroid/src/main/java/com/ilad/teamwork/TabsMenu.java | 414 | package com.ilad.teamwork;
import org.openqa.selenium.WebElement;
import io.appium.java_client.android.AndroidDriver;
public class TabsMenu extends AbstractTeamWork {
public TabsMenu(AndroidDriver<WebElement> driver) {
super(driver);
}
public AllProjectsPage goToProjects() {
driver.findElementByXPath("//an... | apache-2.0 |
dcarda/aba.route.validator | target13/site/clover/com/cardatechnologies/utils/validators/abaroutevalidator/Test_AbaRouteValidator_15_testAbaNumberCheck_32965_good_9pl.html | 9181 | <!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<link rel="SHORTCUT ICON" href="../../../../../img/clover.ico" />
<link rel="stylesheet" href="../../../../../aui/css/aui.min.css" media... | apache-2.0 |
HewlettPackard/oneview-sdk-ruby | spec/unit/resource/api2200/c7000/volume_template_spec.rb | 876 | # (C) Copyright 2020 Hewlett Packard Enterprise Development LP
#
# 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... | apache-2.0 |
googleads/googleads-java-lib | modules/dfp_appengine/src/main/java/com/google/api/ads/admanager/jaxws/v202111/ActivityGroupServiceInterfacegetActivityGroupsByStatement.java | 3560 | // Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writi... | apache-2.0 |
giantswarm/azure-operator | service/controller/azureconfig/handler/vnetpeering/create.go | 4401 | package vnetpeering
import (
"context"
"fmt"
"github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-11-01/network"
"github.com/giantswarm/microerror"
"github.com/giantswarm/operatorkit/v4/pkg/controller/context/reconciliationcanceledcontext"
"github.com/giantswarm/to"
"github.com/giantswarm/azure-opera... | apache-2.0 |
Dhandapani/gluster-ovirt | frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/ImportVmModel.java | 23592 | package org.ovirt.engine.ui.uicommonweb.models.vms;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.ovirt.engine.core.common.businessentities.DiskImage;
import org.ovirt.engine.core.common.businessentities.DiskImageBase;
impor... | apache-2.0 |
AppliedIS/wams-manager | Source/Ais.Internal.Dcm/Ais.Internal.Dcm.ModernUIV2/Properties/AssemblyInfo.cs | 2263 | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | apache-2.0 |
tensorflow/swift | docs/site/guide/backends.md | 6016 | # Accelerator backends
It's pretty straightforward to describe a `Tensor` calculation, but when and how that calculation
is performed will depend on which backend is used for the `Tensor`s and when the results
are needed on the host CPU.
Behind the scenes, operations on `Tensor`s are dispatched to accelerators like ... | apache-2.0 |
oriches/Simple.Wpf.FSharp.Repl | Wpf.Mvvm.TestHarness/Properties/AssemblyInfo.cs | 2236 | using System.Reflection;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Wpf.Mvvm.Tes... | apache-2.0 |
pengrad/java-telegram-bot-api | library/src/main/java/com/pengrad/telegrambot/request/UnbanChatSenderChat.java | 415 | package com.pengrad.telegrambot.request;
import com.pengrad.telegrambot.response.BaseResponse;
/**
* Mirco Ianese
* 07 December 2021
*/
public class UnbanChatSenderChat extends BaseRequest<UnbanChatSenderChat, BaseResponse> {
public UnbanChatSenderChat(Object chatId, long sender_chat_id) {
super(BaseR... | apache-2.0 |
noliar/DevZH.UI | src/DevZH.UI/InitOptions.cs | 275 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Threading.Tasks;
namespace DevZH.UI
{
[StructLayout(LayoutKind.Sequential)]
public struct InitOptions
{
public UIntPtr Size;
}
}
| apache-2.0 |
g6tech/spring-corp-test | project/viewria/WebContent/app/controller/controller.js | 1076 | /**
* @author: Alberto Cerqueira
* @email: alberto.cerqueira1990@gmail.com
*/
jQuery.controller = function() {
var controllerClass = function() {
this.init = (function(){
$("#gravar").click(function(){
_self.gravar();
return false;
});
});
this.gravar = (function() {
$("#manterEntidade")... | apache-2.0 |
lialun/EasyCache | easycache/src/main/java/li/allan/easycache/config/ConfigProperties.java | 1360 | /*
* Copyright (c) 2017-2018. 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... | apache-2.0 |
gilbertpilz/solum | solum/api/controllers/camp/v1_1/datamodel/extensions.py | 1139 | #
# 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, software
# distributed under... | apache-2.0 |
karlmoser/Video-Annotation | web/public/application/views/parts/main.php | 1103 | <div class='row row-pad'>
<div class='col-sm-2 col-md-2 col-lg-2 text-center'>
<h5>Quick Menu</h5>
</div>
<div class='col-sm-8 col-md-8 col-lg-8 text-center'>
<h5>Videos</h5>
</div>
<div class='col-sm-2 col-md-2 col-lg-2 text-center'>
<h5>Following</h5>
</div>
</div>
<div class='row row-pad'>
<div class=... | apache-2.0 |
jentfoo/aws-sdk-java | aws-java-sdk-appsync/src/main/java/com/amazonaws/services/appsync/model/GetFunctionResult.java | 4022 | /*
* Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... | apache-2.0 |
Selventa/model-builder | tools/groovy/src/src/main/groovy/lang/Lazy.java | 4644 | /*
* Copyright 2008-2010 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 requir... | apache-2.0 |
justinmuller/buck | test/com/facebook/buck/event/listener/ChromeTraceBuildListenerTest.java | 20351 | /*
* Copyright 2013-present Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License. You may obtain
* a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | apache-2.0 |
SonicGD/google-adwords-api-light | Google/Api/Ads/AdWords/v201605/classes/BudgetBudgetDeliveryMethod.php | 716 | <?php
/**
* Budget delivery methods.
* @package Google_Api_Ads_AdWords_v201605
* @subpackage v201605
*/
class BudgetBudgetDeliveryMethod
{
const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201605";
const XSI_TYPE = "Budget.BudgetDeliveryMethod";
/**
* Gets the namesapce of t... | apache-2.0 |
CaMnter/SaveVolley | savevolley-network-adapter/src/main/java/com/camnter/savevolley/network/adapter/core/SaveHttpEntityAdapter.java | 925 | /*
* Copyright (C) 2016 CaMnter yuanyu.camnter@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 ap... | apache-2.0 |
SwordYork/MachineLearning | nn/two_spiral/src/cmake_install.cmake | 1415 | # Install script for directory: /home/york/Program/MachineLearning/nn/two_spiral/src
# Set the install prefix
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
set(CMAKE_INSTALL_PREFIX "/usr/local")
endif()
string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
# Set the install configuration name.
if(NOT ... | apache-2.0 |
UniversalDependencies/docs | treebanks/fr_gsd/fr-feat-Definite.md | 1302 | ---
layout: base
title: 'Statistics of Definite in UD_French'
udver: '2'
---
## Treebank Statistics: UD_French: Features: `Definite`
This feature is universal.
It occurs with 2 different values: `Def`, `Ind`.
53514 tokens (13%) have a non-empty value of `Definite`.
29 types (0%) occur at least once with a non-empty... | apache-2.0 |
UniversalDependencies/docs | _ru/pos/INTJ.md | 776 | ---
layout: postag
title: 'INTJ'
shortdef: 'interjection'
---
### Definition
An interjection is a word that is used most often as an exclamation or
part of an exclamation. It typically expresses an emotional reaction,
is not syntactically related to other accompanying expressions, and
may include a combination of sou... | apache-2.0 |
mdoering/backbone | life/Plantae/Pteridophyta/Polypodiopsida/Polypodiales/Thelypteridaceae/Plesioneuron/Plesioneuron translucens/README.md | 182 | # Plesioneuron translucens Holttum SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
googleprojectzero/functionsimsearch | searchbackend/functionsimhashfeaturedump.cpp | 1200 | #include <iostream>
#include <fstream>
#include "disassembly/flowgraph.hpp"
#include "disassembly/functionfeaturegenerator.hpp"
#include "searchbackend/functionsimhashfeaturedump.hpp"
// Writes a DOT file for a given graphlet.
void WriteFeatureDictionaryEntry(uint64_t hashA, uint64_t hashB,
const Flowgraph& graphle... | apache-2.0 |
x-meta/xworker | xworker_dataobject/src/main/java/xworker/dataObject/http/DataObjectHttpUtils.java | 2037 | /*******************************************************************************
* Copyright 2007-2013 See AUTHORS file.
*
* 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:/... | apache-2.0 |
ernestp/consulo | platform/vcs-impl/src/com/intellij/openapi/vcs/changes/patch/PatchFileType.java | 1803 | /*
* Copyright 2000-2009 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... | apache-2.0 |
javimosch/bastack | src/client/ba/css/footer.css | 849 | .footer__text {
font-family: Nunito, sans-serif;
font-size: 20px;
color: black;
font-weight: 900;
line-height: 60px;
padding: 0px 00px;
margin: 0px;
text-align: center;
}
.footer__text-right {
text-align: center;
}
@media only screen and (min-width: 320px) {
.footer__text {
... | apache-2.0 |
pcmoritz/ray-1 | streaming/java/streaming-runtime/src/main/java/io/ray/streaming/runtime/core/processor/SourceProcessor.java | 663 | package io.ray.streaming.runtime.core.processor;
import io.ray.streaming.message.Record;
import io.ray.streaming.operator.SourceOperator;
/**
* The processor for the stream sources, containing a SourceOperator.
*
* @param <T> The type of source data.
*/
public class SourceProcessor<T> extends StreamProcessor<Reco... | apache-2.0 |
pixelhumain/network | views/project/dashboard.php | 6465 | <div class="row">
<div class="col-md-12 no-padding">
<div class="col-lg-4 col-md-12">
<?php
$this->renderPartial('pod/description',array( "project" => $project, "tags" => $tags, "countries" => $countries,"isAdmin"=> $admin)); ?>
</div>
<div class ="col-lg-4 col-md-12">
<?php
$this->renderPartial('..... | apache-2.0 |
kingsmiler/jeefw | springmvc-examples/springmvc-annotation-beetl/src/main/webapp/WEB-INF/templates/welcome.html | 325 | <!DOCTYPE html>
<html lang="en">
<head>
<title>Home</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
</head>
<body>
<span>Time:</span>
<ul>
<li>From controller: ${time}</li>
<li>From Beetl</li>
</ul>
<span>Message: ${message}</span>
<span>submit: ${submit}</span>
</body>
</h... | apache-2.0 |
npgall/cqengine | code/src/test/java/com/googlecode/cqengine/index/support/PartialSortedKeyStatisticsAttributeIndexTest.java | 6673 | /**
* Copyright 2012-2015 Niall Gallagher
*
* 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... | apache-2.0 |
sabriarabacioglu/engerek | infra/common/src/main/java/com/evolveum/midpoint/common/policy/PasswordPolicyUtils.java | 12321 | /*
* Copyright (c) 2010-2013 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 la... | apache-2.0 |
mlibrary/heliotrope | spec/models/manifest_spec.rb | 2666 | # frozen_string_literal: true
require 'rails_helper'
RSpec.describe Manifest, type: :model do
let(:monograph) do
create(:public_monograph) do |m|
m.ordered_members << file_set
m.save!
m
end
end
let(:file_set) do
create(:public_file_set) do |f|
f.original_file = original_file
... | apache-2.0 |
tensorflow/java | tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/linalg/MatrixDiagPart.java | 7043 | /* Copyright 2018 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | apache-2.0 |
zaproxy/zaproxy | zap/src/test/java/org/zaproxy/zap/control/AddOnUnitTest.java | 36238 | /*
* Zed Attack Proxy (ZAP) and its related class files.
*
* ZAP is an HTTP/HTTPS proxy for assessing web application security.
*
* Copyright 2012 The ZAP Development Team
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* Yo... | apache-2.0 |
O2O-Market/Market-monitor | market-network/src/main/java/com/qinyadan/monitor/network/util/ControlMessageEncodingUtils.java | 809 | package com.qinyadan.monitor.network.util;
import java.util.Map;
import com.qinyadan.monitor.network.control.ControlMessageDecoder;
import com.qinyadan.monitor.network.control.ControlMessageEncoder;
import com.qinyadan.monitor.network.control.ProtocolException;
public final class ControlMessageEncodingUtils ... | apache-2.0 |
nycJSorg/angular-presentation | libs/utils/src/lib/sync/components/questions/questions-viewer/questions-viewer.component.html | 1591 | <h2>Ask a question:</h2>
<div class="question-form">
<mat-form-field>
<mat-label>Your question:</mat-label>
<textarea
maxlength="280"
style="height: 120px;"
required
matInput
#q
(keydown.control.enter)="addQuestion(q)"
(keydown.command.enter)="addQuestion(q)"
></t... | apache-2.0 |