repo_name
stringlengths
4
116
path
stringlengths
3
942
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
xiang12835/python_web
py2_web2py/web2py/applications/admin/languages/bg.py
35738
# -*- coding: utf-8 -*- { '!langcode!': 'bg', '!langname!': 'Български', '"update" is an optional expression like "field1=\'newvalue\'". You cannot update or delete the results of a JOIN': '"update" is an optional expression like "field1=\'newvalue\'". You cannot update or delete the results of a JOIN', '"User Exceptio...
apache-2.0
spaco/spo
src/gui/http.go
8205
package gui import ( "bytes" "crypto/tls" "fmt" "io/ioutil" "net" "net/http" "path/filepath" "strconv" "strings" "github.com/spolabs/spo/src/cipher" "github.com/spolabs/spo/src/daemon" "github.com/spolabs/spo/src/wallet" "github.com/spolabs/spo/src/util/file" wh "github.com/spolabs/spo/src/util/http" /...
apache-2.0
ceftb/api
api/restapi/operations/commission_site_urlbuilder.go
2521
// Code generated by go-swagger; DO NOT EDIT. package operations // This file was generated by the swagger tool. // Editing this file might prove futile when you re-run the generate command import ( "errors" "net/url" golangswaggerpaths "path" "strings" ) // CommissionSiteURL generates an URL for the commission...
apache-2.0
Risvana/Code.Library
src/Code.Library/Extensions/IEnumerableExtensions.cs
1297
namespace Code.Library { using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; /// <summary> /// All IEnumerable extensions. /// </summary> public static class IEnumerableExtensions { /// <summary> /// Convert IEnumerable to...
apache-2.0
tessel/t1-firmware
src/sys/bootloader.c
1978
// Copyright 2014 Technical Machine, Inc. See the COPYRIGHT // file at the top-level directory of this distribution. // // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your /...
apache-2.0
dcarda/aba.route.validator
target13/site/clover/com/cardatechnologies/utils/validators/abaroutevalidator/Test_AbaRouteValidator_09_testAbaNumberCheck_19597_good_ekr.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
speedycontrol/googleapis
output/com/google/cloud/ml/api/v1beta1/ModelOrBuilder.java
2745
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/ml/v1beta1/model_service.proto package com.google.cloud.ml.api.v1beta1; public interface ModelOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.ml.v1beta1.Model) com.google.protobuf.MessageOrBuilder ...
apache-2.0
qcoreteam/zendapi
tests/lang/func/FunctionDefaultArgTest.phpt
396
<?php ob_start(); // here we test argument passed if (function_exists("say_hello")) { say_hello(); say_hello("unicornteam"); say_hello("zzu_softboy"); say_hello(3.14); // here will convert into string } $ret = trim(ob_get_clean()); $expect = <<<'EOF' hello, zapi hello, unicornteam hello, zzu_softboy hel...
apache-2.0
twilking/wildfly-swarm
integration-tests/src/test/java/org/wildfly/swarm/integration/staticcontent/war/StaticContentWarTest.java
2518
/** * Copyright 2015 Red Hat, Inc, and individual contributors. * * 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
MingjieQian/LAML
doc/ml/optimization/class-use/NonlinearConjugateGradient.html
4346
<!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_66) on Mon Apr 25 01:00:02 PDT 2016 --> <title>Uses of Class ml.optimization.NonlinearConjugateGradient</title> <meta name="date" content="2016...
apache-2.0
mdoering/backbone
life/Plantae/Magnoliophyta/Magnoliopsida/Zygophyllales/Zygophyllaceae/Fabago/Fabago alata/README.md
169
# Fabago alata Moench SPECIES #### Status ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
apache-2.0
angcyo/RLibrary
imagepicker/src/main/java/com/lzy/imagepicker/adapter/ImageViewHolder.java
689
package com.lzy.imagepicker.adapter; import android.support.annotation.IdRes; import android.support.v7.widget.RecyclerView; import android.view.View; /** * Copyright (C) 2016,深圳市红鸟网络科技股份有限公司 All rights reserved. * 项目名称: * 类的描述: * 创建人员:Robi * 创建时间:2017/02/21 15:07 * 修改人员:Robi * 修改时间:2017/02/21 15:07 * 修改备注: ...
apache-2.0
oaastest/go-autorest
autorest/client.go
5327
package autorest import ( "fmt" "net/http" "time" ) const ( // The default delay between polling requests (only used if the http.Request lacks a well-formed // Retry-After header). DefaultPollingDelay = 60 * time.Second // The default total polling duration. DefaultPollingDuration = 10 * time.Minute ) // Po...
apache-2.0
zznn/futu-openAPI
app/mainapp.py
6014
# -*- coding: utf-8 -*- from flask import Flask, jsonify, request, abort, make_response from futu_server_api import * from db import save_update_token from db import delete_tokens from db import list_cards import logging import logging.config import json app = Flask(__name__) logging.config.fileConfig('./conf/log.ini...
apache-2.0
thornberger/empire
framework/session/SIDConflictException.php
247
<?php namespace empire\framework\session; use \RuntimeException; /** * Thrown when a session ID (SID) already exists. * * @author Tobias Hornberger [tobias.hornberger@falsemirror.de] */ class SIDConflictException extends RuntimeException { }
apache-2.0
davygeek/vitess
test/backup_only.py
14271
#!/usr/bin/env python # Copyright 2017 The Vitess 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 applic...
apache-2.0
zooniverse/The-Juggernaut
app/controllers/dashboard_controller.rb
545
class DashboardController < ApplicationController before_filter :require_admin_user respond_to :html, :js def index grouped_users = ZooniverseUser.count(:group => "DATE(created_at)") @total_user_count = ZooniverseUser.count total = 0 @total_users = {} grouped_users.each_pair do |date,value|...
apache-2.0
noslenfa/tdjangorest
uw/lib/python2.7/site-packages/generate_scaffold/management/verbosity.py
1463
import os from django.core.management.color import supports_color from django.utils import termcolors class VerboseCommandMixin(object): def __init__(self, *args, **kwargs): super(VerboseCommandMixin, self).__init__(*args, **kwargs) self.dry_run = False if supports_color(): o...
apache-2.0
anton-johansson/ip-to-geolocation-service
src/main/java/com/antonjohansson/geolocation/framework/domain/SourceData.java
859
/** * Copyright (c) Anton Johansson <antoon.johansson@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 * * Unles...
apache-2.0
gvinet/pynfcreader
tests/tests_iso_14443_a_card_1_hydranfc_v2.py
1077
import time from pynfcreader.sessions.iso14443.iso14443a import Iso14443ASession def test_iso_14443_a_card_1_generic(hydranfc_connection): hn = Iso14443ASession(drv=hydranfc_connection, block_size=120) hn.connect() hn.field_off() time.sleep(0.1) hn.field_on() hn.polling() r = hn.send_ap...
apache-2.0
googleads/googleads-java-lib
modules/dfp_axis/src/main/java/com/google/api/ads/admanager/axis/v202102/ProspectiveLineItem.java
13510
// 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
scify/JedAIToolkit
src/main/java/org/scify/jedai/textmodels/BagModel.java
6720
/* * Copyright [2016-2020] [George Papadakis (gpapadis@yahoo.gr)] * * 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
zimmermatt/flink
flink-tests/src/test/java/org/apache/flink/test/manual/StreamingScalabilityAndLatency.java
4805
/* * 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 ...
apache-2.0
532867531/bysj_web
bysj1/mysql/sqlQueryInAndOut.inc.php
1236
<?php $query = "select * from `joinjoin_true` where joinjoin_true.species_chinesename = ".'"'.$animalChineseName.'"'." limit $begin,$limit;"; //连接数据库 $conn = @mysqli_connect("127.0.0.1","guest","guest",$db); if(mysqli_connect_errno($conn)) { die("无法连接数据库,请联系服务器管理员"); }else{ mysqli_set_charset($conn,"utf8"); ...
apache-2.0
cdcdec/LearningNotes
books/张爱玲散文/诗与胡说/诗与胡说.md
6270
# 诗与胡说 夏天的日子一连串烧下去,雪亮,绝细的一根线,烧得要断了,又给细细的蝉声连了起来,"吱呀,吱呀,吱……" 这一个月,因为生病,省掉了许多饭菜、车钱,因此突然觉得富裕起来。虽然生的是毫无风致的病,肚子疼得哼哼唧唧在席子上滚来滚去,但在夏天,闲在家里,万事不能做,单只写篇文章关于Cezanne的画,关于看过的书,关于中国人的宗教,到底是风雅的。我决定这是我的"风雅之月",所以索性高尚一下,谈起诗来了。 周作人翻译的有一首著名的日本诗:"夏日之夜,有如苦竹,竹细节密,顷刻之间,随即天明。"我劝我姑姑看一遍,我姑姑是"轻性知识分子"的典型,她看过之后,摇摇头说不懂,随即又寻思,说:"既然这么出名,想必总有点什么东西吧?可是...
apache-2.0
Aloomaio/googleads-python-lib
examples/ad_manager/v201811/proposal_service/create_proposals.py
2591
#!/usr/bin/env python # # Copyright 2015 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 requir...
apache-2.0
metasansana/arouca
lib/Request.js
2283
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("...
apache-2.0
fearthecowboy/Swidtag_deprecated
Test/Support/Event.cs
1400
// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless r...
apache-2.0
sebastian-software/rollup-plugin-rebase
test/flat-multi/index.js
123
import content from "./content.md" import image from "./image.png" export default function() { return content + image }
apache-2.0
mdoering/backbone
life/Plantae/Magnoliophyta/Magnoliopsida/Lamiales/Lamiaceae/Clinomicromeria/Clinomicromeria hostii/Clinomicromeria hostii hostii/README.md
181
# Clinomicromeria hostii subsp. hostii SUBSPECIES #### Status ACCEPTED #### According to NUB Generator [autonym] #### Published in null #### Original name null ### Remarks null
apache-2.0
mpi2/PhenotypeData
web/src/main/java/uk/ac/ebi/phenotype/chart/PercentileComputation.java
2685
/******************************************************************************* * Copyright 2015 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...
apache-2.0
rosses/cordovaEsptouch
src/ios/DataTransform.h
633
// // DataTransform.h // cordova-iot-button: esp8266 // // Copyright © 2017 - Roberto Osses - Chile. All rights reserved. // #import <Foundation/Foundation.h> @interface DataTransform : NSObject - (NSData *)little_intToByteWithData:(int)i andLength:(int)len; - (int)little_bytesToInt:(NSData *)bytes; - (NSData *...
apache-2.0
Danack/ImageMagick
coders/json.c
61414
/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % % % ...
apache-2.0
openstack/sahara-dashboard
sahara_dashboard/content/data_processing/clusters/templates/clusters/_instances_details.html
96
{% load i18n sizeformat %} <div class="detail"> {{ cluster_instances_table.render }} </div>
apache-2.0
elahrvivaz/geomesa
geomesa-utils/src/main/scala/org/locationtech/geomesa/utils/collection/MaybeSynchronized.scala
2510
/*********************************************************************** * Copyright (c) 2013-2019 Commonwealth Computer Research, Inc. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Apache License, Version 2.0 * which accompanies this distribution and...
apache-2.0
indashnet/InDashNet.Open.UN2000
android/external/compiler-rt/lib/sanitizer_common/sanitizer_thread_registry.h
4918
//===-- sanitizer_thread_registry.h -----------------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
apache-2.0
jentfoo/aws-sdk-java
aws-java-sdk-kinesisanalyticsv2/src/main/java/com/amazonaws/services/kinesisanalyticsv2/model/transform/CheckpointConfigurationUpdateMarshaller.java
3340
/* * 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
songzhw/SixUiViews
SixUiViews/lib/src/main/java/ca/six/views/util/ColorsUtil.java
473
package ca.six.views.util; import android.graphics.Color; public class ColorsUtil { public static boolean isLight(int color) { return Math.sqrt( Color.red(color) * Color.red(color) * 0.241 + Color.green(color) * Color.green(color) * 0.691 + Color.blue(color) * Color.blue(color) *...
apache-2.0
kuldeep-k/zf2doctrine
module/Student/src/Student/Entity/Subject.php
2185
<?php namespace Student\Entity; use Doctrine\ORM\Mapping as ORM; /** * Subject * * @ORM\Table(name="subject", indexes={@ORM\Index(name="fk_class_id", columns={"class_id"})}) * @ORM\Entity */ class Subject { /** * @var integer * * @ORM\Column(name="id", type="integer", nullable=false) * @...
apache-2.0
heartysoft/heartysoft.com
docs/ashic/blog/2017/05/cross-aws-account-builds-part-1/index.html
9430
<!DOCTYPE html> <html lang="en"> <head> <title>Heartysoft Solutions Limited</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta charset="utf-8"> <meta name="description" content="Twitter bootstrap theme"> <meta name="author" content="prettystrap"> <!-- Load bo...
apache-2.0
staticninja/IDS6938-SimulationTechniques
Lecture9/build/external/nanogui/cmake_install.cmake
2622
# Install script for directory: C:/Users/Mac/Desktop/IDS6938-SimulationTechniques/Lecture9/external/nanogui # Set the install prefix if(NOT DEFINED CMAKE_INSTALL_PREFIX) set(CMAKE_INSTALL_PREFIX "C:/Program Files/MotionTester") endif() string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") # S...
apache-2.0
mdoering/backbone
life/Fungi/Ascomycota/Leptostromella/Leptostromella elastica/README.md
205
# Leptostromella elastica Ellis & Everh. SPECIES #### Status ACCEPTED #### According to Index Fungorum #### Published in null #### Original name Leptostromella elastica Ellis & Everh. ### Remarks null
apache-2.0
mdoering/backbone
life/Plantae/Magnoliophyta/Magnoliopsida/Asterales/Asteraceae/Helichrysum/Helichrysum plicatum/ Syn. Helichrysum anatolicum/README.md
186
# Helichrysum anatolicum Boiss. SPECIES #### Status SYNONYM #### 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/Leotiomycetes/Helotiales/Chlorospleniella/Chlorospleniella intermixta/Chlorospleniella intermixta intermixta/README.md
244
# Chlorospleniella intermixta var. intermixta Rehm VARIETY #### Status ACCEPTED #### According to Index Fungorum #### Published in Hedwigia 39: 214 (1900) #### Original name Chlorospleniella intermixta var. intermixta Rehm ### Remarks null
apache-2.0
mdoering/backbone
life/Plantae/Magnoliophyta/Magnoliopsida/Santalales/Cynomoriaceae/Cynomorium/Cynomorium coccineum/Cynomorium coccineum songaricum/README.md
233
# Cynomorium coccineum subsp. songaricum (Rupr.) J.Léonard SUBSPECIES #### Status ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name Cynomorium songaricum Rupr. ### Remarks null
apache-2.0
mdoering/backbone
life/Fungi/Zygomycota/Mucorales/Mucoraceae/Rhizopus/Rhizopus homothallicus/README.md
277
# Rhizopus homothallicus Hesselt. & J.J. Ellis, 1962 SPECIES #### Status ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in Mycologia 53(4): 419 (1962) #### Original name Rhizopus homothallicus Hesselt. & J.J. Ellis, 1962 ### Remarks null
apache-2.0
mdoering/backbone
life/Plantae/Magnoliophyta/Liliopsida/Poales/Poaceae/Corynephorus/Corynephorus canescens/ Syn. Corynephorus canescens viridis/README.md
187
# Corynephorus canescens f. viridis FORM #### Status SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
apache-2.0
mdoering/backbone
life/Plantae/Magnoliophyta/Liliopsida/Asparagales/Orchidaceae/Masdevallia/Masdevallia luziaemariae/README.md
200
# Masdevallia luziaemariae Luer & R.Vásquez 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/Plantae/Magnoliophyta/Liliopsida/Poales/Eriocaulaceae/Eriocaulon/Eriocaulon tutidae/README.md
183
# Eriocaulon tutidae Satake 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/Basidiomycota/Agaricomycetes/Hymenochaetales/Hymenochaetaceae/Coltricia/Polystictus pellucidus/README.md
235
# Polystictus pellucidus Berk. ex Sacc. SPECIES #### Status ACCEPTED #### According to Index Fungorum #### Published in Syll. fung. (Abellini) 6: 232 (1888) #### Original name Polystictus pellucidus Berk. ex Sacc. ### Remarks null
apache-2.0
mdoering/backbone
life/Plantae/Magnoliophyta/Magnoliopsida/Fabales/Fabaceae/Astragalus/Astragalus nuttallianus/Astragalus nuttallianus pleianthus/README.md
216
# Astragalus nuttallianus var. pleianthus (Shinners) Barneby VARIETY #### 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/Lecanoromycetes/Peltigerales/Coccocarpiaceae/Coccocarpia/Coccocarpia gayana/Coccocarpia gayana gayana/README.md
214
# Coccocarpia gayana var. gayana VARIETY #### Status ACCEPTED #### According to Index Fungorum #### Published in Syn. meth. lich. 2: 41 (1869) #### Original name Coccocarpia gayana var. gayana ### Remarks null
apache-2.0
mdoering/backbone
life/Plantae/Magnoliophyta/Magnoliopsida/Laurales/Lauraceae/Persea/Persea borbonia/ Syn. Tamala borbonia/README.md
182
# Tamala borbonia (L.) Raf. SPECIES #### Status SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
apache-2.0
libyal/winevt-kb
docs/sources/eventlog-providers/Provider-ibbus.md
567
## ibbus Seen on: * Windows 10 (1511, 1607, 1703, 1709, 1803, 1809, 1903, 1909, 2004, 20H2) * Windows 11 (21H2) * Windows 2012 <table border="1" class="docutils"> <tbody> <tr> <td><b>Log type(s):</b></td> <td>System</td> </tr> <tr> <td><b>Log source(s):</b></td> <td>ibbus</td> ...
apache-2.0
chrisiaut/pictshare
rtfm/MODIFIERS.md
356
## Images ### Resize ``` /800x600/d8c01b45a6.png ``` width x height ### Rotate ``` /upside|left|right/d8c01b45a6.png ``` * `upside`: 180° * `left`: 90° * `right`: -90° ### WebP conversion ``` /webp/d8c01b45a6.jpeg ``` ### Gif to mp4 ``` /mp4/d8c01b45a6.gif ``` ### Filters ``` /filter/d8c01b45a6.png ``` [See ava...
apache-2.0
tamalsen/vibur-dbcp
src/main/java/org/vibur/dbcp/cache/ReturnVal.java
1964
/** * Copyright 2013 Simeon Malchev * * 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
ispras/NetBlox-plug-ins
graphMiners/GCE/src/minerGCE/GCEDescriptionParser.java
2295
package minerGCE; import org.xml.sax.SAXException; import ru.ispras.modis.NetBlox.parser.basicParsersAndUtils.Utils; import ru.ispras.modis.NetBlox.parser.basicParsersAndUtils.XMLIntegerRangeStringProcessor; import ru.ispras.modis.NetBlox.parser.xmlParser.CommonXMLParser; import ru.ispras.modis.NetBlox.parser.xmlPars...
apache-2.0
PI-Victor/origin
test/integration/admissionconfig_test.go
13297
package integration import ( "fmt" "io" "io/ioutil" "reflect" "testing" corev1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/api/meta" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" kyaml "k8s.io/apimachinery/pkg/util/yaml" "k8s.io/apiserver/pkg/admission" "k8s.io/client-g...
apache-2.0
unizin/canvas-windows-sdk-v1
Canvas.v1.Test/Managers/AccountsManagerTests.cs
3705
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Canvas.v1.Managers; using Canvas.v1.Models; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Canvas.v1.Test.Managers { [TestClass] public class AccountsManagerTests : ResourceManagerTest { ...
apache-2.0
RobAustin/byte-buddy
byte-buddy-dep/src/test/java/net/bytebuddy/instrumentation/method/bytecode/bind/MethodDelegationBinderAmbiguityResolverNoOpTest.java
764
package net.bytebuddy.instrumentation.method.bytecode.bind; import net.bytebuddy.instrumentation.method.MethodDescription; import org.junit.Test; import static org.hamcrest.CoreMatchers.is; import static org.hamcrest.MatcherAssert.assertThat; import static org.mockito.Mockito.mock; public class MethodDelegationBinde...
apache-2.0
vkostyukov/la4j
src/main/java/org/la4j/decomposition/EigenDecompositor.java
27846
/* * Copyright 2011-2013, by Vladimir Kostyukov and Contributors. * * This file is part of la4j project (http://la4j.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 * * ...
apache-2.0
mrarticuno/ElobuddyPrivate
eggVia/eggVia/Modes/Casts.cs
605
using System; using eggVia.Core; using EloBuddy; using SharpDX; using Color = System.Drawing.Color; namespace eggVia.Modes { internal class Casts : Model { public static int[] WLargura = {400, 500, 600, 700, 800}; // TODO auto desativar ult, quando não tiver heroi/minion sem hotkey pressionada...
apache-2.0
jdgwartney/vsphere-ws
java/JAXWS/samples/com/vmware/vim25/VirtualSCSIController.java
3215
package com.vmware.vim25; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlSeeAlso; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for VirtualSCSIController co...
apache-2.0
javierj/kobudo-katas
Kata-RestConsumer/gindex.py
1259
__author__ = 'Javier' class Project(object): def __init__(self, forks, stars, watchs): self._forks = int(forks) self._stars = int(stars) self._watchs = int(watchs) @property def forks(self): return self._forks @property def stars(self): return self._stars...
apache-2.0
sdklite/aapt
docs/index-all.html
168621
<!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 Mon Nov 14 19:20:19 CST 2016 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Index (Android Asset Packag...
apache-2.0
pigochu/php-crypt-helper
test/README.md
88
PHP Crypt Unit Test ======================= - Netbeans must set boostrap to boostrap.php
apache-2.0
StackableRegiments/metl2011
ThumbService/ThumbService/lib/MindTouch_Core_10.0.1_Source/web/maintenance/archives/patch-search-analytics.sql
2150
-- -- Table structure for table `querylog` -- CREATE TABLE `query_log` ( query_id int(10) unsigned NOT NULL auto_increment, ref_query_id int(10) unsigned, last_result_id int(10) unsigned, created datetime NOT NULL, raw varchar(1000) NOT NULL, sorted_terms varchar(1000) NOT NULL, sorted_terms_has...
apache-2.0
emcvipr/dataservices-sdk-dotnet
AWSSDK/Amazon.SimpleWorkflow/Model/Internal/MarshallTransformations/ActivityTaskCanceledEventAttributesUnmarshaller.cs
3643
/* * Copyright 2010-2013 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 "l...
apache-2.0
mdoering/backbone
life/Plantae/Magnoliophyta/Liliopsida/Zingiberales/Zingiberaceae/Torymenes/README.md
165
# Torymenes Salisb. GENUS #### Status ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
apache-2.0
D-iii-S/spl-evaluation-java
src/java/overview.html
2365
<html> <head> <title>SPL evaluation engine for Java</title> </head> <body> <p>Evaluation engine of Performance Stochastic Logic for Java.</p> <h2>Introduction</h2> <p> Stochastice Performance Logic is a formalism for capturing performance assumptions. It is, for example, possible to capture assumption that newer vers...
apache-2.0
scottlepp/navigo
test/coverage/html-report/app/src/results/action-manager.js.html
14523
<!doctype html> <html lang="en"> <head> <title>Code coverage report for ./app/src/results/action-manager.js</title> <meta charset="utf-8"> <link rel="stylesheet" href="../../../prettify.css"> <link rel="stylesheet" href="../../../base.css"> <style type='text/css'> div.coverage-summary .sorte...
apache-2.0
brettfo/roslyn
src/EditorFeatures/Core/Shared/Tagging/EventSources/TaggerEventSources.SelectionChangedEventSource.cs
1136
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #nullable disable using System; using Microsoft.CodeAnalysis.Editor.Tagging; using Microsoft.VisualStudio.Text.Edi...
apache-2.0
FanrayMedia/Fanray
src/Core/Fan/Plugins/Plugin.cs
1714
using Fan.Extensibility; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.DependencyInjection; using Newtonsoft.Json; namespace Fan.Plugins { /// <summary> /// Plugin base class. /// </summary> public class Plugin : Extension { /// <summary...
apache-2.0
jmesmon/rust
src/libcollections/vec.rs
88448
// Copyright 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-MIT or ...
apache-2.0
Malanius/Terasology
engine/src/main/java/org/terasology/utilities/procedural/SimplexNoise.java
19875
/* * Copyright 2013 MovingBlocks * * 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...
apache-2.0
nhu313/tic_tac_toe_scala
src/test/scala/BoardSpec.scala
4570
package com.blogspot.nhu313.tictactoe import org.scalatest.{FunSpec, BeforeAndAfter} import org.scalatest.matchers.MustMatchers import com.blogspot.nhu313.tictactoe.Marker._ class BoardSpec extends FunSpec with BeforeAndAfter with MustMatchers{ var board: Board = null val playerMarker = X val opponentMarker = ...
apache-2.0
zestrada/nova-cs498cc
nova/tests/network/test_quantumv2.py
55258
# Copyright 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.apache.org/licenses/LICENSE-2.0 # # Unless requi...
apache-2.0
13808796047/hdcms
hd/HDPHP/hdphp/Extend/Tool/Upload.class.php
9980
<?php // .----------------------------------------------------------------------------------- // | Software: [HDPHP framework] // | Version: 2013.01 // | Site: http://www.hdphp.com // |----------------------------------------------------------------------------------- // | Author: 向军 <houdunwangxj@gmail.com>...
apache-2.0
qiuyesuifeng/mybatis-3
src/test/java/org/apache/ibatis/submitted/cglib_lazy_error/CglibNPETest.java
6189
/** * Copyright 2009-2015 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 * * Unle...
apache-2.0
hazendaz/assertj-core
src/test/java/org/assertj/core/error/ShouldBeBeforeYear_create_Test.java
2438
/* * 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 t...
apache-2.0
HuangLS/neo4j
community/kernel/src/test/java/org/neo4j/kernel/configuration/TestConfig.java
6899
/* * Copyright (c) 2002-2018 "Neo Technology," * Network Engine for Objects in Lund AB [http://neotechnology.com] * * This file is part of Neo4j. * * Neo4j 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 Foundatio...
apache-2.0
drix00/pymcxray
pymcxray/FileFormat/SimulationParameters.py
15335
#!/usr/bin/env python """ .. py:currentmodule:: FileFormat.SimulationParameters .. moduleauthor:: Hendrix Demers <hendrix.demers@mail.mcgill.ca> MCXRay simulation parameters input file. """ # Script information for the file. __author__ = "Hendrix Demers (hendrix.demers@mail.mcgill.ca)" __version__ = "" __d...
apache-2.0
glameyzhou/training
distribute/src/main/java/org/glamey/training/designmodel/responsibility_chain/Applicant.java
315
package org.glamey.training.designmodel.responsibility_chain; import lombok.Builder; import lombok.Getter; import java.math.BigDecimal; /** * @author zhouyang.zhou. 2017.08.14.16. */ @Getter @Builder public class Applicant { private String name; private String subject; private BigDecimal money; }
apache-2.0
mdoering/backbone
life/Fungi/Ascomycota/Dothideomycetes/Pleosporales/Pleosporaceae/Drechslera/Drechslera salviniae/ Syn. Bipolaris salviniae/README.md
264
# Bipolaris salviniae (J.J. Muchovej) Alcorn, 1991 SPECIES #### Status SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in Mycotaxon 41(2): 331 (1991) #### Original name Drechslera salviniae J.J. Muchovej, 1979 ### Remarks null
apache-2.0
icemagno/mapview
src/main/java/br/com/cmabreu/action/GetUnitDetailAction.java
1116
package br.com.cmabreu.action; import java.io.IOException; import javax.servlet.http.HttpServletResponse; import org.apache.struts2.StrutsStatics; import org.apache.struts2.convention.annotation.Action; import org.apache.struts2.convention.annotation.InterceptorRef; import org.apache.struts2.convention.anno...
apache-2.0
SingingTree/hapi-fhir
hapi-fhir-base/src/main/java/org/hl7/fhir/instance/model/api/IAnyResource.java
1831
package org.hl7.fhir.instance.model.api; import ca.uhn.fhir.model.api.annotation.SearchParamDefinition; import ca.uhn.fhir.rest.gclient.TokenClientParam; /* * #%L * HAPI FHIR - Core Library * %% * Copyright (C) 2014 - 2021 Smile CDR, Inc. * %% * Licensed under the Apache License, Version 2.0 (the "License"); *...
apache-2.0
NatashaPanchina/npanchina
chess/src/main/java/ru/job4j/chess/firuges/black/KnightBlack.java
1234
package ru.job4j.chess.firuges.black; import ru.job4j.chess.ImpossibleMoveException; import ru.job4j.chess.firuges.Figure; import ru.job4j.chess.firuges.Cell; /** * Black Knight. * @author Natasha Panchina (panchinanata25@gmail.com) * @version 1 * @since 18.08.2018 */ public class KnightBlack extends Figure { ...
apache-2.0
lvweiwolf/poi-3.16
src/scratchpad/src/org/apache/poi/hemf/hemfplus/record/HemfPlusRecordType.java
5033
/* ==================================================================== 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 Y...
apache-2.0
hanFengSan/light
app/src/main/java/com/yakami/light/view/fragment/AboutFragment.java
958
package com.yakami.light.view.fragment; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import com.yakami.light.BuildConfig; import com.yakami.light.R; import com.yakami.light.view.fragment.base.BaseFragment; impor...
apache-2.0
GoogleChrome/puppeteer
new-docs/puppeteer.protocol.heapprofiler.reportheapsnapshotprogressevent.done.md
565
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Protocol](./puppeteer.protocol.md) &gt; [HeapProfiler](./puppeteer.protocol.heapprofiler.md) &gt; [ReportHeapSnapshotProgressEvent](./puppeteer.protocol.heapprofiler.reportheapsn...
apache-2.0
kalyanreddyemani/opencga
opencga-catalog/src/test/java/org/opencb/opencga/catalog/CatalogManagerTest.java
89707
/* * 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...
apache-2.0
strobelm/CindyJS
examples/cindygl/65_twoinstances.html
1108
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Cindy JS</title> <script type="text/javascript" src="../../build/js/Cindy.js"></script> <script type="text/javascript" src="../../build/js/CindyGL.js"></script> </head> <body> <h1>CindyJS: Two instances with CindyGL</h1> <div id="insta...
apache-2.0
xiaonanln/myleetcode-python
src/61. Rotate List.py
732
# Definition for singly-linked list. # class ListNode(object): # def __init__(self, x): # self.val = x # self.next = None class Solution(object): def rotateRight(self, head, k): """ :type head: ListNode :type k: int :rtype: ListNode """ if not head: return None p = head listLen = 0 # calculate ...
apache-2.0
adaptris/interlok
interlok-core/src/main/java/com/adaptris/util/text/mime/MimeUtils.java
855
package com.adaptris.util.text.mime; import static com.adaptris.util.text.mime.MimeConstants.HEADER_CONTENT_ENCODING; import static org.apache.commons.lang3.StringUtils.isBlank; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.OutputStream; import javax.mail.MessagingException; import j...
apache-2.0
cnagel/wcm-io-handler
media/src/test/java/io/wcm/handler/mediasource/dam/impl/DamAutoCroppingTest.java
2026
/* * #%L * wcm.io * %% * Copyright (C) 2019 wcm.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 ap...
apache-2.0
lei-xia/helix
website/1.0.0/src/site/markdown/recipes/lock_manager.md
8873
<!--- 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 use thi...
apache-2.0
resin-io-library/base-images
balena-base-images/dotnet/nanopc-t4/debian/buster/5.0-sdk/run/Dockerfile
2910
# AUTOGENERATED FILE FROM balenalib/nanopc-t4-debian:buster-run RUN apt-get update \ && apt-get install -y --no-install-recommends \ ca-certificates \ curl \ \ # .NET Core dependencies libc6 \ libgcc1 \ libgssapi-krb5-2 \ libicu63 \ libssl1.1 \ ...
apache-2.0
resin-io-library/base-images
balena-base-images/node/revpi-connect/debian/bookworm/14.18.3/build/Dockerfile
2788
# AUTOGENERATED FILE FROM balenalib/revpi-connect-debian:bookworm-build ENV NODE_VERSION 14.18.3 ENV YARN_VERSION 1.22.4 RUN for key in \ 6A010C5166006599AA17F08146C2130DFD2497F5 \ ; do \ gpg --batch --keyserver pgp.mit.edu --recv-keys "$key" || \ gpg --batch --keyserver keyserver.pgp.com --recv-keys "$key" || ...
apache-2.0
coreos/systemd-rest
src/github.com/dotcloud/docker/tags_test.go
1272
package docker import ( "testing" ) func TestLookupImage(t *testing.T) { runtime, err := newTestRuntime() if err != nil { t.Fatal(err) } defer nuke(runtime) if img, err := runtime.repositories.LookupImage(unitTestImageName); err != nil { t.Fatal(err) } else if img == nil { t.Errorf("Expected 1 image, no...
apache-2.0
nebtex/menshend-ui
src/components/services/ServicesPanel/__tests__/ServicesPanel.spec.tsx
3882
/// <reference types='jest' /> import * as React from 'react'; import ServicesPanel from '../ServicesPanel'; import Cases from './ServicesPanel.cases'; import { shallow, mount, render } from 'enzyme'; describe('ServicesPanel', () => { let servicesPanel:any; beforeEach(()=>{ servicesPanel = mount(<ServicesP...
apache-2.0