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
/** * Utility classes for converting between granularities of SI (power-of-ten) and IEC (power-of-two) * byte units and bit units. * <p> * <h3>Example Usage</h3> * What's the difference in hard drive space between perception and actual? * <pre><code> * long perception = BinaryByteUnit.TEBIBYTES.toBytes(2); * lo...
JakeWharton/byteunits
src/main/java/com/jakewharton/byteunits/package-info.java
Java
apache-2.0
799
/* * 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 ...
hirohanin/pig7hadoop21
src/org/apache/pig/experimental/logical/relational/LogicalSchema.java
Java
apache-2.0
7,432
# Polystictus glaucoeffusus Lloyd, 1925 SPECIES #### Status SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in Mycol. Writ. 7: 1334 (1925) #### Original name Polystictus glaucoeffusus Lloyd, 1925 ### Remarks null
mdoering/backbone
life/Fungi/Basidiomycota/Agaricomycetes/Polyporales/Polyporaceae/Trametes/Funalia argentea/ Syn. Polystictus glaucoeffusus/README.md
Markdown
apache-2.0
250
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //----------------------------------------...
experiandataquality/proweb
src/Proweb.Webform/RapidAddress.aspx.designer.cs
C#
apache-2.0
5,721
// Copyright 2019 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
GoogleCloudPlatform/golang-samples
functions/tips/contexttip/context_tip_test.go
GO
apache-2.0
1,979
# BitmapFontImporter Import bitmap font in Unity generated by Glyph designer or ShoeBox # Tutorial http://www.benoitfreslon.com/unity-generate-and-import-a-bitmap-font-with-a-free-tool
zoeesilcock/BitmapFontImporter
README.md
Markdown
apache-2.0
186
package grequests import "testing" func TestErrorOpenFile(t *testing.T) { fd, err := FileUploadFromDisk("file", "I am Not A File") if err == nil { t.Error("We are not getting an error back from our non existent file: ") } if fd != nil { t.Error("We actually got back a pointer: ", fd) } }
liuzhe0223/grequests
file_upload_test.go
GO
apache-2.0
301
package com.github.nikolaymakhonin.android_app_example.di.factories; import android.content.Context; import android.support.annotation.NonNull; import com.github.nikolaymakhonin.android_app_example.di.components.AppComponent; import com.github.nikolaymakhonin.android_app_example.di.components.DaggerAppComponent; imp...
NikolayMakhonin/AndroidAppExample
AndroidAppExample/AppExample/src/main/java/com/github/nikolaymakhonin/android_app_example/di/factories/ComponentsFactory.java
Java
apache-2.0
1,243
/* ======================================================================== * PlantUML : a free UML diagram generator * ======================================================================== * * (C) Copyright 2009-2020, Arnaud Roques * * Project Info: https://plantuml.com * * If you like this project or if ...
talsma-ict/umldoclet
src/plantuml-asl/src/net/sourceforge/plantuml/objectdiagram/command/CommandAddData.java
Java
apache-2.0
2,860
/** * 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 m...
Legostaev/xmlsec-gost
src/test/java/org/apache/xml/security/test/stax/c14n/Canonicalizer20010315ExclusiveTest.java
Java
apache-2.0
40,733
"""Let's Encrypt constants.""" import logging from acme import challenges SETUPTOOLS_PLUGINS_ENTRY_POINT = "letsencrypt.plugins" """Setuptools entry point group name for plugins.""" CLI_DEFAULTS = dict( config_files=["/etc/letsencrypt/cli.ini"], verbose_count=-(logging.WARNING / 10), server="https://ww...
digideskio/lets-encrypt-preview
letsencrypt/constants.py
Python
apache-2.0
2,420
/* * Copyright 2015 OpenCB * * 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 wr...
kalyanreddyemani/biodata
biodata-formats/src/main/java/org/opencb/biodata/formats/io/AbstractFormatReader.java
Java
apache-2.0
1,817
<?php if ( ! function_exists('env') ) { /** * 获取一个环境变量的值,支持布尔值,null,empty * * @param string $key * @param mixed $default * @return mixed */ function env($key, $default = null) { $value = getenv($key); if ($value === false) return value($default); return ...
huanguosoft/framework
src/Foundation/helpers.php
PHP
apache-2.0
1,615
/* * 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 ...
yu-iskw/gihyo-spark-book-example
src/main/scala/jp/gihyo/spark/ch05/Station.scala
Scala
apache-2.0
1,517
package org.ovirt.engine.ui.uicommonweb.models.configure.roles_ui; import java.util.ArrayList; import org.ovirt.engine.core.common.businessentities.ActionGroup; import org.ovirt.engine.core.common.mode.ApplicationMode; import org.ovirt.engine.ui.uicommonweb.models.ApplicationModeHelper; import org.ovirt.engine.ui.uic...
derekhiggins/ovirt-engine
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/configure/roles_ui/RoleTreeView.java
Java
apache-2.0
34,814
package com.jpattern.core.command; import com.jpattern.core.IProvider; import com.jpattern.core.exception.NullProviderException; import com.jpattern.logger.ILogger; import com.jpattern.logger.SystemOutLoggerFactory; /** * * @author Francesco Cina' * * 11/set/2011 */ public abstract class ACommand<T extends IPro...
ufoscout/jpattern
core/src/main/java/com/jpattern/core/command/ACommand.java
Java
apache-2.0
5,668
#ifndef AXISCOLORSTRUCT_H #define AXISCOLORSTRUCT_H struct axisColorStruct { public : double XAxiscolor[3]; double YAxiscolor[3]; double ZAxiscolor[3]; bool complementaryColor; bool sameColor; }; #endif // AXISCOLORSTRUCT_H
laurapascal/ShapePopulationViewer
src/axisColorStruct.h
C
apache-2.0
247
<?php namespace App\Http\Controllers\Sadmin; use App\Http\Controllers\Controller; use App\Driver; use App\Customer; use App\User; use App\Detail; use Illuminate\Http\Request; use Illuminate\Pagination\Paginator; use Illuminate\Support\Facades\Input; use Illuminate\Support\Facades\DB; use Illuminate\Foundation\Auth\Au...
widedeveloper/laravel-transport
app/Http/Controllers/Sadmin/BillingController.php
PHP
apache-2.0
8,073
var child_process = require('child_process'), fs = require('fs'), path = require('path'); module.exports = function(context) { var IOS_DEPLOYMENT_TARGET = '8.0', SWIFT_VERSION = '3.0', COMMENT_KEY = /_comment$/, CORDOVA_VERSION = process.env.CORDOVA_VERSION; run(); functio...
pmwisdom/cordova-background-geolocation-services
hooks/add_swift_support.js
JavaScript
apache-2.0
8,172
/* * Copyright 2017 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...
gstevey/gradle
subprojects/base-services/src/main/java/org/gradle/internal/hash/HashingOutputStream.java
Java
apache-2.0
1,665
/* * Copyright (c) 2014 Spotify AB. * * 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 t...
gtonic/helios
helios-services/src/main/java/com/spotify/helios/agent/Supervisor.java
Java
apache-2.0
14,062
package de.saxsys.mvvmfx.examples.contacts.model; public class Subdivision { private final String name; private final String abbr; private final Country country; public Subdivision(String name, String abbr, Country country) { this.name = name; this.abbr = abbr; this.country = country; } public String g...
sialcasa/mvvmFX
examples/contacts-example/src/main/java/de/saxsys/mvvmfx/examples/contacts/model/Subdivision.java
Java
apache-2.0
1,010
package http import ( bm "go-common/library/net/http/blademaster" ) func debugCache(c *bm.Context) { opt := new(struct { Keys string `form:"keys" validate:"required"` }) if err := c.Bind(opt); err != nil { return } c.JSONMap(srv.DebugCache(opt.Keys), nil) }
LQJJ/demo
126-go-common-master/app/job/main/aegis/server/http/debug.go
GO
apache-2.0
270
-- MySQL dump 10.13 Distrib 5.1.61, for redhat-linux-gnu (x86_64) -- -- Host: mysql-eg-devel-1.ebi.ac.uk Database: test_escherichia_coli_core -- ------------------------------------------------------ -- Server version 5.5.36-log /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CH...
EnsemblGenomes/eg-rest
t/test-genome-DBs/escherichia_coli/core/analysis_description.sql
SQL
apache-2.0
1,586
# Poneramoeba Lühe, 1909 GENUS #### Status ACCEPTED #### According to Interim Register of Marine and Nonmarine Genera #### Published in Schr. Ges. Königsb. , 49, 421. #### Original name null ### Remarks null
mdoering/backbone
life/Protozoa/Sarcomastigophora/Zoomastigophora/Acanthoecidae/Poneramoeba/README.md
Markdown
apache-2.0
214
package com.twitter.io import java.io.IOException import org.junit.runner.RunWith import org.scalatest.FunSuite import org.scalatest.junit.JUnitRunner @RunWith(classOf[JUnitRunner]) class BufInputStreamTest extends FunSuite { private[this] val fileString = "Test_All_Tests\nTest_java_io_BufferedInputStream\nTest_ja...
n054/util
util-core/src/test/scala/com/twitter/io/BufInputStreamTest.scala
Scala
apache-2.0
4,959
package fr.jmini.asciidoctorj.testcases; import static org.assertj.core.api.Assertions.assertThat; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; import java.util.Arrays; import java.util.Collections; import java.util.HashMap; import java.util.Map; import org.asciidoctor.AttributesBu...
jmini/asciidoctorj-experiments
test-cases/adoc-test-cases/src/main/java/fr/jmini/asciidoctorj/testcases/ShowTitleTrueTestCase.java
Java
apache-2.0
8,764
package fr.sii.ogham.sms.message; import fr.sii.ogham.core.util.EqualsBuilder; import fr.sii.ogham.core.util.HashCodeBuilder; /** * Represents a phone number. It wraps a simple string. The aim is to abstracts * the concept and to be able to provide other fields latter if needed. * * @author Aurélien Baudet * *...
groupe-sii/ogham
ogham-core/src/main/java/fr/sii/ogham/sms/message/PhoneNumber.java
Java
apache-2.0
1,017
# Vagrant Kafka Lab ------ **Prerequistes:** Vagrant (2.0.1), Virtual Box (5.2.0) and Ansible (2.4.1.0) ## Web UIs - Grafana: [http://kafka-1:3000](http://kafka-1:3000) - Prometheus-UI: [http://kafka-1:9090](http://kafka-1:9090) ## Installation ```bash git clone https://github.com/ineedcode/vagrant-kafka-lab cd va...
iNeedCode/vagrant-kafka-lab
Readme.md
Markdown
apache-2.0
2,024
package org.fastnate.generator.converter; import java.time.Duration; import org.fastnate.generator.context.GeneratorContext; import org.fastnate.generator.statements.ColumnExpression; import org.fastnate.generator.statements.PrimitiveColumnExpression; /** * Converts a {@link Duration} to an SQL expression. * * @a...
liefke/org.fastnate
fastnate-generator/src/main/java/org/fastnate/generator/converter/DurationConverter.java
Java
apache-2.0
786
module AssemblyAndServiceOperationsMixin # Commands used from new dtk client def check_if_instance_running(node_address, port, path) endpoint = node_address + ":" + port response = request_response(path, {}, 'get', endpoint); response.code == 200 end def get_node_by_name(service_instance_name, nod...
dtk/dtk-server
test/functional/rspec/lib/mixins/assembly_and_service_operations_mixin.rb
Ruby
apache-2.0
51,221
using System.Collections.Specialized; using System.ComponentModel; using System.Linq; using DNTProfiler.Common.JsonToolkit; using DNTProfiler.Common.Models; using DNTProfiler.Common.Mvvm; using DNTProfiler.Infrastructure.Core; using DNTProfiler.Infrastructure.ScriptDomVisitors; using DNTProfiler.Infrastructure.ViewMod...
VahidN/DNTProfiler
Plugins/DNTProfiler.InCorrectNullComparisons/ViewModels/MainViewModel.cs
C#
apache-2.0
2,745
/*! * Bootstrap v3.3.6 (http://getbootstrap.com) * Copyright 2011-2015 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) */ /*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */ html { font-family: sans-serif; -webkit-text-size-adjust: 100%;...
angelfu528/angelfu528.github.io
css/bootstrap.min.css
CSS
apache-2.0
150,056
// // Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.8-b130911.1802 // Vedere <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. // Gene...
fgaudenzi/testManager
testManager/XMLRepository/CertificationModel/org/cumulus/certificate/model/HistoryStateType.java
Java
apache-2.0
2,497
//--------------------------------------------------------------------------- // Greenplum Database // Copyright (C) 2013 EMC Corp. // // @filename: // CMDIdCast.cpp // // @doc: // Implementation of mdids for cast functions //--------------------------------------------------------------------------- #include "nauc...
PengJi/gporca-comments
libnaucrates/src/md/CMDIdCast.cpp
C++
apache-2.0
4,157
/* * Copyright 2021 ThoughtWorks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
GaneshSPatil/gocd
common/src/main/java/com/thoughtworks/go/serverhealth/ServerHealthService.java
Java
apache-2.0
6,153
package gov.ic.geoint.spreadsheet; /** * */ public interface ICell extends Hashable { /** * * @return */ public int getColumnNum(); /** * * @return */ public int getRowNum(); /** * * @return */ public String getValue(); }
GEOINT/spreadsheetDiff
src/main/java/gov/ic/geoint/spreadsheet/ICell.java
Java
apache-2.0
298
package sdk.chat.demo.examples.api; import io.reactivex.functions.Consumer; import sdk.guru.common.DisposableMap; public class BaseExample implements Consumer<Throwable> { // Add the disposables to a map so you can dispose of them all at one time protected DisposableMap dm = new DisposableMap(); @Overri...
chat-sdk/chat-sdk-android
chat-sdk-demo/src/main/java/sdk/chat/demo/examples/api/BaseExample.java
Java
apache-2.0
423
//Copyright (c) 2014 by Disy Informationssysteme GmbH package net.disy.eenvplus.tfes.core.api.query; // NOT_PUBLISHED public interface ISuggestionQuery extends ISourceQuery { String getKeyword(); }
eENVplus/tf-exploitation-server
TF_Exploitation_Server_core/src/main/java/net/disy/eenvplus/tfes/core/api/query/ISuggestionQuery.java
Java
apache-2.0
201
//////////////////////////////////////////////////////////////////////////// // Module : script_value_container_impl.h // Created : 16.07.2004 // Modified : 16.07.2004 // Author : Dmitriy Iassenev // Description : Script value container //////////////////////////////////////////////////////////////////////////// ...
Im-dex/xray-162
code/engine/xrServerEntities/script_value_container_impl.h
C
apache-2.0
1,268
package com.jwetherell.algorithms.data_structures.interfaces; /** * A tree can be defined recursively (locally) as a collection of nodes (starting at a root node), * where each node is a data structure consisting of a value, together with a list of nodes (the "children"), * with the constraints that no node is du...
phishman3579/java-algorithms-implementation
src/com/jwetherell/algorithms/data_structures/interfaces/ITree.java
Java
apache-2.0
1,766
/* * Copyright 2014, The Sporting Exchange Limited * Copyright 2014, Simon Matić Langford * * 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/LICENS...
eswdd/disco
disco-framework/jetty-transport/src/test/java/uk/co/exemel/disco/transport/jetty/CrossOriginHandlerTest.java
Java
apache-2.0
3,706
package org.nd4j.linalg.indexing; import com.google.common.base.Function; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.Parameterized; import org.nd4j.linalg.BaseNd4jTest; import org.nd4j.linalg.api.ndarray.INDArray; import org.nd4j.linalg.api.ops.impl.accum.MatchCondition; import or...
huitseeker/nd4j
nd4j-backends/nd4j-tests/src/test/java/org/nd4j/linalg/indexing/BooleanIndexingTest.java
Java
apache-2.0
17,052
# coding: utf-8 # # Copyright 2018 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...
prasanna08/oppia
core/domain/action_registry_test.py
Python
apache-2.0
1,192
package com.xiaojinzi.component.error; public class ServiceRepeatCreateException extends RuntimeException { public ServiceRepeatCreateException() { } public ServiceRepeatCreateException(String message) { super(message); } public ServiceRepeatCreateException(String message, Throwable caus...
xiaojinzi123/Component
ComponentImpl/src/main/java/com/xiaojinzi/component/error/ServiceRepeatCreateException.java
Java
apache-2.0
453
#/bin/bash set -x #wget --user linzhbj@cn.ibm.com --password New=1baby --no-check-certificate -c -r -np -k -L -p \ wget -c -r -np -k -L -p \ http://rchgsa.ibm.com/projects/e/emsol/ccs/build/driver/osee-liberty/rhel7.1/openstack/latest-bld/
linzhaolover/myansible
remote/liberty.sh
Shell
apache-2.0
254
// 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...
ruud-v-a/rust
src/librustc_typeck/astconv.rs
Rust
apache-2.0
91,859
package de.uniulm.omi.cloudiator.sword.multicloud.service; import com.google.common.base.Supplier; import com.google.common.collect.ImmutableSet; import com.google.inject.Inject; import de.uniulm.omi.cloudiator.sword.domain.Cloud; import de.uniulm.omi.cloudiator.sword.domain.Pricing; import de.uniulm.omi.cloudiator.sw...
cloudiator/sword
multicloud/src/main/java/de/uniulm/omi/cloudiator/sword/multicloud/service/MultiCloudPricingService.java
Java
apache-2.0
1,844
<!-- Generated template for the PicturePage page. See http://ionicframework.com/docs/components/#navigation for more info on Ionic pages and navigation. --> <ion-header> <ion-navbar> <div class="adjust-horizontal inline"> <button class="inline-right" (click)="closeModal()" ion-button clear> Cerr...
luispalacios270/frontend-cleanApp
src/pages/picture/picture.html
HTML
apache-2.0
657
<!-- This file is machine generated: DO NOT EDIT! --> # Sparse Tensors Note: Functions taking `Tensor` arguments can also take anything accepted by [`tf.convert_to_tensor`](framework.md#convert_to_tensor). [TOC] ## Sparse Tensor Representation TensorFlow supports a `SparseTensor` representation for data that is sp...
HaebinShin/tensorflow
tensorflow/g3doc/api_docs/python/sparse_ops.md
Markdown
apache-2.0
40,708
/* * Copyright 2011-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 "lice...
jentfoo/aws-sdk-java
aws-java-sdk-core/src/main/java/com/amazonaws/transform/AbstractErrorUnmarshaller.java
Java
apache-2.0
2,633
package com.icfcc.cache.support; import com.icfcc.cache.Cache; import java.util.Collection; /** * Simple cache manager working against a given collection of caches. * Useful for testing or simple caching declarations. * * @author Costin Leau * @since 3.1 */ public class SimpleCacheManager extends AbstractCach...
Gitpiece/spring-cache-project
spring-cache/src/main/java/com/icfcc/cache/support/SimpleCacheManager.java
Java
apache-2.0
684
--- title: Floating IPs redirect_from: latest/usage/openstack/floating-ips canonical_url: 'https://docs.projectcalico.org/v2.6/usage/openstack/floating-ips' --- networking-calico includes beta support for floating IPs. Currently this requires running {{site.prodname}} as a Neutron core plugin (i.e. `core_plugin = cal...
tomdee/calico
v3.2/usage/openstack/floating-ips.md
Markdown
apache-2.0
3,931
# -*- coding: utf-8 -*- # # Copyright (C) 2013-2016 DNAnexus, Inc. # # This file is part of dx-toolkit (DNAnexus platform client libraries). # # 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...
dnanexus/dx-toolkit
src/python/dxpy/utils/describe.py
Python
apache-2.0
52,416
package fr.fablabmars.model; import java.util.ArrayList; import fr.fablabmars.observer.Observable; import fr.fablabmars.observer.Observer; /** * Observable contenant le menu courant. * * @author Guillaume Perouffe * @see Observable */ public class CardMenu implements Observable { /** * List...
gperouffe/FabLabUsers
src/fr/fablabmars/model/CardMenu.java
Java
apache-2.0
1,473
package ru.job4j.collections.tree; /** * Бинарное дерево . * * @author Hincu Andrei (andreih1981@gmail.com) by 20.10.17; * @version $Id$ * @since 0.1 * @param <E> тип данных. */ public class BinaryTree<E extends Comparable<E>> extends Tree<E> { /** * Корень дерева. */ private Node<E> node; ...
andreiHi/hincuA
chapter_005/src/main/java/ru/job4j/collections/tree/BinaryTree.java
Java
apache-2.0
2,101
<?php include_once('procedures.php'); ?> <?php include("top.php"); ?> <script src="./js/visualRound.js"></script> <style> #bottomBar { position: fixed; left: 0px; bottom: 0px; width: 100%; height: 40px; background-color: #EEE; border-top-width: 1px; ...
Dovgalyuk/AIBattle
site/visualRound.php
PHP
apache-2.0
2,942
# coding=utf-8 # Copyright 2018 The Tensor2Tensor 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...
vthorsteinsson/tensor2tensor
tensor2tensor/models/bytenet_test.py
Python
apache-2.0
1,719
// Copyright 2015-2016 Espressif Systems (Shanghai) PTE LTD // // 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...
wmpluto/esp-idf
examples/bluetooth/gatt_server_service_table/main/gatts_table_creat_demo.c
C
apache-2.0
12,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...
linkedin/pinot
pinot-core/src/main/java/org/apache/pinot/core/startree/v2/store/StarTreeIndexContainer.java
Java
apache-2.0
3,059
/* Copyright 2010-2011 Zhengmao HU (James) 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...
james-hu/jabb-core
src/main/java/net/sf/jabb/util/text/StringStartWithMatcher.java
Java
apache-2.0
8,259
# -*- coding: utf-8 -*- """ Linguistic and other taggers. Tagging each token in a sentence with supplementary information, such as its part-of-speech (POS) tag, and named entity (NE) tag. """ __all__ = [ "PerceptronTagger", "pos_tag", "pos_tag_sents", "tag_provinces", "chunk_parse", "NER", ] ...
PyThaiNLP/pythainlp
pythainlp/tag/__init__.py
Python
apache-2.0
573
#[doc = r" Value read from the register"] pub struct R { bits: u32, } #[doc = r" Value to write to the register"] pub struct W { bits: u32, } impl super::CMAR3 { #[doc = r" Modifies the contents of the register"] #[inline(always)] pub fn modify<F>(&self, f: F) where for<'w> F: FnOnce(&R,...
pollen/stm32f0
stm32f0x2/src/dma1/cmar3/mod.rs
Rust
apache-2.0
2,556
<?php namespace Topxia\WebBundle\Listener; use Symfony\Component\HttpKernel\KernelEvents; use Symfony\Component\HttpKernel\Event\GetResponseEvent; use Symfony\Component\EventDispatcher\EventSubscriberInterface; class LocaleListener implements EventSubscriberInterface { private $defaultLocale; public function...
18826252059/im
src/Topxia/WebBundle/Listener/LocaleListener.php
PHP
apache-2.0
1,115
<?php namespace BankId\Merchant\Library\Schemas\saml\metadata; /** * Class representing Extensions */ class Extensions extends ExtensionsType { }
notarynodes/idintt
hackathon-module/idintt-php-module/library/Schemas/saml/metadata/Extensions.php
PHP
apache-2.0
166
package com.dexvis.simple.transform; import javafx.scene.web.HTMLEditor; import org.simpleframework.xml.transform.Transform; public class HTMLEditorTransform implements Transform<HTMLEditor> { public HTMLEditor read(String value) throws Exception { HTMLEditor editor = new HTMLEditor(); editor....
PatMartin/Dex
src/com/dexvis/simple/transform/HTMLEditorTransform.java
Java
apache-2.0
485
package ecologylab.bigsemantics.service.crawler; import java.io.IOException; /** * A general framework for crawling resources. * * @author quyin */ public interface ResourceCrawler<T> { /** * Queue a resource with the given URI. * * @param uri */ void queue(String uri); /*...
ecologylab/BigSemanticsService
BasicCrawler/src/ecologylab/bigsemantics/service/crawler/ResourceCrawler.java
Java
apache-2.0
1,304
package net.sf.anpr.rcp.widget; import java.awt.Color; import java.awt.Graphics; import java.awt.Rectangle; import java.awt.image.BufferedImage; import javax.swing.ImageIcon; import javax.swing.JLabel; import javax.swing.SwingConstants; public class JCanvasPanel extends JLabel { private static final lon...
alexmao86/swing-rcp
src/main/java/net/sf/anpr/rcp/widget/JCanvasPanel.java
Java
apache-2.0
1,173
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright (c) 2012 OpenStack Foundation. # 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....
frossigneux/kwstandby
kwstandby/openstack/common/policy.py
Python
apache-2.0
25,233
/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2022 DBeaver Corp and others * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICE...
dbeaver/dbeaver
plugins/org.jkiss.dbeaver.ui.app.standalone/src/org/jkiss/dbeaver/ui/app/standalone/about/AboutBoxAction.java
Java
apache-2.0
1,230
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="es"> <head> <!-- Generated by javadoc (version 1.7.0_51) on Thu Apr 10 11:52:58 CEST 2014 --> <title>State</title> <meta name="date" content="2014-04-10"> <link rel="stylesheet" type="text...
jormunmor/doctorado
JSHOP2/doc/JSHOP2/State.html
HTML
apache-2.0
22,009
using SolrNetLight; using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.Text; using SolrNetLight.Facet; namespace SolrNetLight { [DataContract] public class SolrResponse<T> { [DataMember(Name="response")] public SolrResponseBa...
SolrNetLight/SolrNetLight
SolrNetLight/SolrResponse.cs
C#
apache-2.0
453
package com.action.design.pattern.chain; /** * 创建不同类型的记录器。赋予它们不同的错误级别,并在每个记录器中设置下一个记录器。每个记录器中的下一个记录器代表的是链的一部分。 * Created by wuyunfeng on 2017/6/15. */ public class ChainPatternDemo { private static AbstractLogger getChainOfLoggers() { AbstractLogger errorLogger = new ErrorLogger(AbstractLogger.ERROR); ...
pearpai/java_action
src/main/java/com/action/design/pattern/chain/ChainPatternDemo.java
Java
apache-2.0
1,140
/* * Copyright (c) 2021, Peter Abeles. All Rights Reserved. * * This file is part of BoofCV (http://boofcv.org). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apac...
lessthanoptimal/BoofCV
main/boofcv-feature/src/benchmark/java/boofcv/alg/descriptor/BenchmarkDescriptorDistance.java
Java
apache-2.0
3,105
package adamin90.com.wpp.model.mostsearch; import java.util.ArrayList; import java.util.List; import javax.annotation.Generated; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; @Generated("org.jsonschema2pojo") public class MostSearchData { @SerializedName("data") ...
adamin1990/MaterialWpp
wpp/app/src/main/java/adamin90/com/wpp/model/mostsearch/MostSearchData.java
Java
apache-2.0
971
<html dir="LTR"> <head> <meta http-equiv="Content-Type" content="text/html; charset=Windows-1252" /> <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" /> <title>ConfigFileExtension Property</title> <xml> </xml> <link rel="stylesheet" type="text/css" hr...
gersonkurz/manualisator
manualisator/log4net-1.2.13/doc/release/sdk/log4net.Config.XmlConfiguratorAttribute.ConfigFileExtension.html
HTML
apache-2.0
3,146
var activeElements = []; var sleepElements = []; var promises = []; $.ajax("https://osiproghackuc2015.osisoft.com/piwebapi/assetdatabases/D0EgxEhIf8KUieOFdFcX1IWQZ8qIGYDdE0m5aJCwNb4x_gSlVQSVRFUjAwMVxQSUZJVE5FU1M/elements", { type : 'GET', headers: { "Authorization" : "Basic " + btoa("osiproghack\\hackuser051:bO2...
dstcontrols/UnhandledException
customJS/piWebAPI.js
JavaScript
apache-2.0
2,755
import { Seq, Set as ISet } from 'immutable'; import { atom, unwrap } from '../derivable'; import { equals } from './equals'; describe('util/equals', () => { it('should check equality of primitives', () => { expect(equals(NaN, NaN)).toBe(true); expect(equals(4, 2 + 2)).toBe(true); expect(eq...
politie/sherlock
src/utils/equals.test.ts
TypeScript
apache-2.0
2,307
<!DOCTYPE html> <html> <head> <title id="titre"></title> <meta charset="UTF-8"/> <script src="https://code.jquery.com/jquery-latest.min.js"></script> <script src="../../dist/jsRealB.js"></script> <!-- to ease debugging we load each file separately -/-> <script src="../../data...
rali-udem/JSrealB
demos/KilometresAPied/index.html
HTML
apache-2.0
2,786
# Config For each project a list of branches can be configured, to which submits should not be allowed, until a merge commit has been merged.
selevt/gerrit-merge-nosubmit
src/main/resources/Documentation/config.md
Markdown
apache-2.0
143
// Generated from /POI/java/org/apache/poi/hpsf/VariantBool.java #pragma once #include <fwd-POI.hpp> #include <org/apache/poi/hpsf/fwd-POI.hpp> #include <org/apache/poi/util/fwd-POI.hpp> #include <java/lang/Object.hpp> struct default_init_tag; class poi::hpsf::VariantBool : public virtual ::java::lang::Object {...
pebble2015/cpoi
src/org/apache/poi/hpsf/VariantBool.hpp
C++
apache-2.0
992
package com.hangon.saying.viewPager; import android.content.Context; import android.graphics.Bitmap; import android.graphics.drawable.BitmapDrawable; import android.graphics.drawable.Drawable; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import ...
TangZuopeng/OurApplication
app/src/main/java/com/hangon/saying/viewPager/GradAdapter.java
Java
apache-2.0
4,468
/* * MaiKe Labs (2016 - 2026) * * Written by Jack Tan <jiankemeng@gmail.com> * * Connect VCC of the SSD1306 OLED to 3.3V * Connect GND to Ground * Connect SCL to i2c clock - GPIO21 * Connect SDA to i2c data - GPIO22 * Connect DC to GND (The scanned i2c address is 0x3C) * */ #include <stdio.h> #include ...
icamgo/esp-idf
examples/10_ssd1306_hello/main/main.cpp
C++
apache-2.0
1,359
<table border="1" id="table1" style="border-collapse: collapse"> <tr> <td height="25" align="center"><span style="font-size: 16px">三国</span></td> <td height="25" align="center"><span style="font-size: 16px">公元245年</span></td> <td height="25" align="center"><span style="font-size: 16px">乙丑</span></td> <td height="2...
ilearninging/xxhis
all/1172.html
HTML
apache-2.0
7,126
# encoding: UTF-8 # Copyright 2012 Twitter, Inc # http://www.apache.org/licenses/LICENSE-2.0 # Documentation: https://github.com/hunspell/hyphen/blob/21127cc8493a68d4fe9adbb71377b469b4f2b550/doc/tb87nemeth.pdf module TwitterCldr module Shared class Hyphenator class UnsupportedLocaleError < StandardError;...
twitter/twitter-cldr-rb
lib/twitter_cldr/shared/hyphenator.rb
Ruby
apache-2.0
4,872
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/mediaconvert/model/DashIsoGroupSettings.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace A...
aws/aws-sdk-cpp
aws-cpp-sdk-mediaconvert/source/model/DashIsoGroupSettings.cpp
C++
apache-2.0
10,732
/** * Copyright 2013 Agustín Miura <"agustin.miura@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 ...
agustinmiura/imperium
src/main/java/ar/com/imperium/common/security/DummyHashServiceImpl.java
Java
apache-2.0
925
(function(jQuery) { "use strict"; var control = Echo.Control.manifest("Echo.Tests.Controls.TestControl"); if (Echo.Control.isDefined(control)) return; control.init = function() { if (!Echo.Variables) { Echo.Variables = {}; } Echo.Variables.TestControl = "production"; this.ready(); }; control.config = {}; con...
EchoAppsTeam/js-sdk
tests/fixtures/resources/loader/scripts.prod.js
JavaScript
apache-2.0
395
<?php namespace DCarbone\PHPFHIRGenerated\R4\FHIRElement\FHIRBackboneElement\FHIREncounter; /*! * This class was generated with the PHPFHIR library (https://github.com/dcarbone/php-fhir) using * class definitions from HL7 FHIR (https://www.hl7.org/fhir/) * * Class creation date: December 26th, 2019 15:44+0000 *...
dcarbone/php-fhir-generated
src/DCarbone/PHPFHIRGenerated/R4/FHIRElement/FHIRBackboneElement/FHIREncounter/FHIREncounterDiagnosis.php
PHP
apache-2.0
21,748
/* Copyright 2015 The Kubernetes 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 ag...
WIZARD-CXY/kubernetes
pkg/controller/replication/replication_controller_utils.go
GO
apache-2.0
3,070
package com.sadc.game.gameobject.trackobject; import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx.graphics.g2d.SpriteBatch; import com.sadc.game.GameConstants; import com.sadc.game.gameobject.GameUtils; import com.sadc.game.gameobject.Player; /** * @author f536985 (Tom Farello) */ public class Wall ex...
jlturner85/libgdx-gradle-template
core/src/main/java/com/sadc/game/gameobject/trackobject/Wall.java
Java
apache-2.0
1,196
<!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_111) on Wed Feb 22 09:55:43 CET 2017 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>org.togglz.slack (Togglz 2....
togglz/togglz-site
apidocs/2.4.0.Final/org/togglz/slack/package-frame.html
HTML
apache-2.0
904
class JobApplicationsController < ApplicationController after_action :verify_authorized after_action :verify_policy_scoped, only: [:index] before_action :require_login before_action :set_job_application, only: [:show, :edit, :update, :destroy, :followup] # GET /posting/1/job_application # GET /posting/1/jo...
sarahmonster/suitor
app/controllers/job_applications_controller.rb
Ruby
apache-2.0
3,255
<!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.5.0_08) on Wed Jan 10 16:02:59 PST 2007 --> <TITLE> Uses of Interface org.apache.hadoop.mapred.JobSubmissionProtocol (Hadoop 0.10.1 API) </TITLE> <LINK...
moreus/hadoop
hadoop-0.10.1/docs/api/org/apache/hadoop/mapred/class-use/JobSubmissionProtocol.html
HTML
apache-2.0
7,980
package dx.exec import dx.api.{DxApi, DxFile} import dx.core.io.ExecLinkInfo import dx.core.languages.wdl.{TypeSerialization, WdlVarLinksConverter} import spray.json._ import wdlTools.eval.WdlValues import wdlTools.types.WdlTypes case class WfFragInput(blockPath: Vector[Int], env: Map[String, (...
dnanexus-rnd/dxWDL
src/main/scala/dx/exec/WfFragInputOutput.scala
Scala
apache-2.0
4,231
/* * * * Copyright 2010-2016 OrientDB LTD (http://orientdb.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...
orientechnologies/orientdb
core/src/main/java/com/orientechnologies/orient/core/sql/functions/coll/OSQLFunctionSymmetricDifference.java
Java
apache-2.0
4,574
/* * Copyright 2012-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 "licen...
dagnir/aws-sdk-java
aws-java-sdk-ses/src/main/java/com/amazonaws/services/simpleemail/model/SetReceiptRulePositionResult.java
Java
apache-2.0
2,365
import java.io.IOException; import java.io.OutputStream; import java.net.InetSocketAddress; import java.math.BigDecimal; import java.util.ArrayList; import java.util.Arrays; import java.util.Iterator; import java.util.List; import java.util.Properties; import java.util.stream.Stream; import javax.xml.bind.JAXBContext;...
daisy/pipeline-issues
framework/webservice/src/test/java/TestPushNotifications.java
Java
apache-2.0
6,214
// <copyright file="KeyEvent.cs" company="WebDriver Committers"> // Copyright 2015 Software Freedom Conservancy // // 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.apach...
soundcloud/selenium
dotnet/src/webdriverbackedselenium/Internal/SeleniumEmulation/KeyEvent.cs
C#
apache-2.0
2,688
/* * Copyright 2012-2016 JetBrains s.r.o * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
timzam/jetpad-mapper
util/base/src/test/java/jetbrains/jetpad/base/edt/BufferingEdtManager.java
Java
apache-2.0
1,075