text
stringlengths
3
1.05M
from sklearn import svm, model_selection from sklearn.multioutput import MultiOutputRegressor import src.vector_gen.generateCurrentSituationWithTime as vecX import src.vector_gen.generate_VectorY as vecY import src.misc.split_train_valid as split import src.misc.paths as path from sklearn import linear_model import pan...
#ifndef __EMBER_MOUSE_LISTENER_H #define __EMBER_MOUSE_LISTENER_H /* * @file IMouseListener.h * @author PJ O Halloran * @date 19/12/2016 */ #include "IInputListener.h" #include "math/Point2.h" namespace ember { namespace input { using namespace ember::core; using namespace ember::math; class IMouseLi...
<?php /** * The Sidebar containing the main widget areas. * * @package laura_jackel */ ?> <div id="secondary" class="widget-area" role="complementary"> <?php do_action( 'before_sidebar' ); ?> <?php if ( ! dynamic_sidebar( 'sidebar-2' ) ) : ?> <aside id="search" class="widget widget_search site-width"> ...
package natlab.backends.vrirGen; import java.io.BufferedWriter; import java.io.File; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Paths; import java.nio.file.StandardOpenOption; import java.util.Map; import ast.Function; import natlab.backends.vrirGen.WrapperGenFactory.TargetLang; impo...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Login Page - Photon Admin Panel Theme</title> <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0"> <link rel="shortcut icon" href="http://photonui.orangehilldev.com/images/photo...
package com.cisco.axl.api._8; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for RBLFDirectedCallPark complex type. * * <p>The following schema fragment specifies the expected content contained withi...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vision/v1p2beta1/image_annotator.proto package com.google.cloud.vision.v1p2beta1; /** * <pre> * Color information consists of RGB channels, score, and the fraction of * the image that the color occupies in the image. * </pre> * ...
define({ "_widgetLabel": "方向", "_featureAction_DirectionFrom": "从这里出发", "_featureAction_DirectionTo": "到此处的行驶方向", "_featureAction_OpenInDirections": "在方向中打开", "_featureAction_OpenRoute": "打开路线", "_featureAction_EditRoute": "编辑路线", "searchPlaceholder": "查找地址或地点" });
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Sitecore.GnosisToolkit.Library.Attributes { [AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface, AllowMultiple = false)] public class SitecoreFieldNamePrefixAttribute :...
SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in Syst. mycol. (Lundae) 2(1): 58 (1822) #### Original name Octospora bulbosa Hedw., 1789 ### Remarks null
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" android:padding="8dp" tools:c...
@interface NSDictionary (PKExtensions) -(NSDictionary*) map:(id(^)(id key, id obj))block; -(NSDictionary*) select:(BOOL(^)(id key, id obj))block; @end
<html> <head> <title>User agent detail - Opera/9.80 (Linux mips; U; HbbTV/1.1.1 (; Sony; KDL40HX751; PKG1.920EUA; 2012;);; xx) Presto/2.10.250 Version/11.60</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/css/materialize.min.css"> <link href="https://...
TOP=`pwd` CND_PLATFORM=CLang-Windows CND_CONF=Release CND_DISTDIR=dist CND_BUILDDIR=build CND_DLIB_EXT=dll NBTMPDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}/tmp-packaging TMPDIRNAME=tmp-packaging OUTPUT_PATH=${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/libglfw-win32.a OUTPUT_BASENAME=libglfw-win32.a PACKAGE_TOP_DIR=gl...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
From alpine:latest MAINTAINER Lyndon li <snakeliwei@gmail.com> RUN apk update && \ apk upgrade && \ apk add --update bash curl tar && \ rm -rf /var/cache/apk/* #RUN gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 RUN \curl -sSL https://get.rvm.io | bash -s stable ...
<?xml version="1.0" encoding="utf-8"?> <!-- ~ Copyright (c) 2017 Martin Pfeffer ~ ~ 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...
<script> $(document).ready(function(e) { $('.copyright').hover(function() {$('#copyrightnotice').show()} ); }); </script> <style> .copyright a:hover{ visibility: visible; } </style> <meta charset="utf-8"> <div class="content" style="width:100%;"> <div class="content-header"></div> <div id="galleria"> <li...
{# basic/layout.html ~~~~~~~~~~~~~~~~~ Master layout template for Sphinx themes. Modified by Cask Data, Inc. Portions Copyright © 2014 Cask Data, Inc. :copyright: Copyright 2007-2013 by the Sphinx team, see AUTHORS. :license: BSD, see LICENSE for details. #} {%- block doctype -%} <!DOC...
package springapp.service.impl; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Timestamp; import java.text.ParseException; import java.util.ArrayList; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import org.springframework.we...
DROP TABLE Account; CREATE TABLE Account ( accountId INTEGER, password varchar(30) PRIMARY KEY (accountId) );
<!DOCTYPE html> <html lang="en"> <head> <title>OBJLoader2 basic usage</title> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0" /> <link type="text/css" rel="stylesheet" href="main.css" /> </head> <body> <canvas id="example"...
:host { margin: 0 4px; /* So that two adjacent buttons are 8px separated. */ } /* * TODO(https://crbug.com/703984): remove the fallback class when fixed. */ :host ::slotted(*), .fallback { font-family: var(--oobe-button-font-family); font-size: 12px; }
RSMTool Release Process ======================= This process is only meant for the project administrators, not users and developers. #. Recreate the development environment so all unpinned packages are updated to their latest versions. See instructions for this `here <https://rsmtool.readthedocs.io/en/main/contributi...
BitcoinUnits::BitcoinUnits(QObject *parent): QAbstractListModel(parent), unitlist(availableUnits()) { } QList<BitcoinUnits::Unit> BitcoinUnits::availableUnits() { QList<BitcoinUnits::Unit> unitlist; unitlist.append(BTC); unitlist.append(mBTC); unitlist.append(uBTC); return unitlist;...
window.global = window; Error.stackTraceLimit = Infinity; jasmine.DEFAULT_TIMEOUT_INTERVAL = 1000; __karma__.loaded = function () { }; function isJsFile(path) { return path.slice(-3) == '.js'; } function isSpecFile(path) { return path.slice(-8) == '_spec.js'; } function isBuiltFile(path) { var builtPath = '/...
ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
// File: SimpleOpt.h // Library: SimpleOpt // Author: Brodie Thiesfield <code@jellycan.com> // Source: http://code.jellycan.com/simpleopt/ // Version: 2.2 // // INTRODUCTION // ============ // This is a public domain multi-platform command line library which can parse // almost any of the standard command line for...
package org.sergeymironov0001.memhelper.domain; import lombok.Data; import lombok.experimental.Accessors; import org.springframework.data.annotation.Id; import org.springframework.data.mongodb.core.mapping.Document; import org.springframework.web.multipart.MultipartFile; import java.io.Serializable; import java.time....
{-# LANGUAGE OverloadedStrings #-} {- | Module : Network.MPD.Applicative.CurrentPlaylist Copyright : (c) Joachim Fasting 2012 License : MIT Maintainer : joachifm@fastmail.fm Stability : stable Portability : unportable The current playlist. -} module Network.MPD.Applicative.CurrentPlaylist ( add ...
using BrowserStack.Screenshot.Net.Model; using System.Collections.Generic; namespace BrowserStack.Screenshot.Net.Interface { // =============================================================== // AUTHOR : Shahriar Hossain, Microsoft MVP // PURPOSE : Interface REST call to BrowserStack Screenshot A...
<?php // autoload.php @generated by Composer require_once __DIR__ . '/composer' . '/autoload_real.php'; return ComposerAutoloaderInit1b2e74c1e3636a3ace4a6cd4486ac8ae::getLoader();
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8"> <title>blue</title> <link href="../../../../images/logo-icon.svg" rel="icon" type="image/svg"> <script>var pathToRoot = "../../../../";</script> <script type="text/javascript" src="../../../../script...
package fr.javatronic.blog.massive.annotation1.sub1; import fr.javatronic.blog.processor.Annotation_001; @Annotation_001 public class Class_5796 { }
from __future__ import absolute_import, unicode_literals from gaebusiness.gaeutil import SaveCommand, ModelSearchCommand from gaeforms.ndb.form import ModelForm from gaegraph.business_base import UpdateNode, NodeSearch, DeleteNode from profile_app.profile_model import Profile class ProfileSaveForm(ModelForm): """...
package org.cagrid.grape; import java.awt.BorderLayout; import java.awt.CardLayout; import java.awt.FlowLayout; import java.awt.Frame; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import javax.swing.JButton; import javax.swing.JDialog; import javax.swing.JOptionPane; import javax.swing.JPanel; i...
require "technician/version" module Technician # Your code goes here... end
using Microsoft.Win32; using Spectrum.Properties; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace Spectrum { public partial class Settings...
/* * 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 * distribut...
class AddLangIdToNews < ActiveRecord::Migration def change add_column :news, :lang_id, :integer end end
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 ...
"use strict"; var assert = require("assert"), vows = require("vows"), databank = require("databank"), URLMaker = require("../lib/urlmaker").URLMaker, modelBatch = require("./lib/model").modelBatch, Databank = databank.Databank, DatabankObject = databank.DatabankObject; var suite = vows.describ...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE415_Double_Free__new_delete_long_72a.cpp Label Definition File: CWE415_Double_Free__new_delete.label.xml Template File: sources-sinks-72a.tmpl.cpp */ /* * @description * CWE: 415 Double Free * BadSource: Allocate data using new and Deallocae data using delete...
@import UIKit; @interface LYAppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end
package net.oneandone.concierge.demo.model; import net.oneandone.concierge.api.Element; import lombok.*; import javax.json.Json; import javax.json.JsonObject; import java.time.LocalDateTime; import java.time.ZoneOffset; import java.time.ZonedDateTime; @AllArgsConstructor(access = AccessLevel.PRIVATE) @ToString @Equa...
SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
using System; using Alachisoft.NCache.IO; namespace Alachisoft.NCache.Serialization.Surrogates { /// <summary> /// Surrogate for <see cref="System.Double[]"/> type. /// </summary> sealed class DoubleArraySerializationSurrogate : ContextSensitiveSerializationSurrogate { public DoubleArraySer...
<!-- Modal --> <p>Hello!</p> <!--<div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button> <h3 id="myModalLabel">Modal Heading</h3> </div> <div class="modal-body"> <h4>Text in a modal</h4> <p>Duis mollis, est non commodo luctus, nisi erat porttitor l...
import logging from settings import get_gae_debug def get_log_level(): isDebugEnabled = get_gae_debug() if isDebugEnabled: return logging.DEBUG return logging.INFO LOG_DEFAULT_FORMAT = '%(asctime)s - %(levelname)s - %(message)s' LOG_LEVEL = get_log_level() def configureLogger(location='imagina...
/*** cart page **/ getCartTotal = function () { $.ajax({ url: $('#ajax_shop_cart_total').val(), type: 'POST', cache: false, data: null, success: function (a) { $('#cart_page_price').empty(); $('#cart_page_price').append(a['totalPrice']); $('#cart_page_amou...
var DIGITS_REGEX, parser, saveColumn, sprintf, valueParse; valueParse = require('../value-parser'); sprintf = require('sprintf').sprintf; DIGITS_REGEX = /^\d+$/; parser = function(buffer, columnsMetaData) { var column, columnMetaData, columns, value, _i, _len; columns = []; for (_i = 0, _len = columnsMetaDat...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
package filter import ( "fmt" "istio.io/istio/pkg/util/sets" cluster2 "istio.io/istio/tools/bug-report/pkg/cluster" "istio.io/istio/tools/bug-report/pkg/config" "istio.io/istio/tools/bug-report/pkg/util/match" "istio.io/istio/tools/bug-report/pkg/util/path" ) // GetMatchingPaths returns a slice of matching pat...
SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "evernote_dev.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
The SNAP Framework enables programmers and computer engineers to quickly create FPGA-based acceleration actions that work on server host data, as well as data from storage, flash, Ethernet, or other connected resources. SNAP, therefore, is an acronym for “**S**torage, **N**etwork, and **A**nalytics **P**rogramming”. T...
layout: model title: RCT Classifier (BioBERT) author: John Snow Labs name: bert_sequence_classifier_rct_biobert date: 2022-03-01 tags: [licensed, sequence_classification, bert, en, rct] task: Text Classification language: en edition: Healthcare NLP 3.4.1 spark_version: 2.4 supported: true annotator: MedicalBertForSeque...
package com.google.cloud.automl.v1.samples; // [START automl_v1_generated_AutoMl_ListModelEvaluations_ModelnameString_sync] import com.google.cloud.automl.v1.AutoMlClient; import com.google.cloud.automl.v1.ModelEvaluation; import com.google.cloud.automl.v1.ModelName; public class SyncListModelEvaluationsModelnameSt...
<!doctype html> <html lang="no"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="description" content="A front-end template that helps you build fast, modern mobile web apps."> <meta name="viewport" content="width=device-width, initial-scale=1"> <title...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Coq bench</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" rel="stylesheet...
package builtins import ( "context" "fmt" "github.com/circonus-labs/circonus-agent/internal/builtins/collector/generic" appstats "github.com/maier/go-appstats" "github.com/rs/zerolog/log" ) func (b *Builtins) configure(ctx context.Context) error { l := log.With().Str("pkg", "builtins").Logger() l.Debug().Msg...
<?php namespace Fabfoto\AdminBundle\Form\Type\Tag; use Admingenerated\FabfotoAdminBundle\Form\BaseTagType\FiltersType as BaseFiltersType; class FiltersType extends BaseFiltersType { }
package com.microsoft.azure.management.network.v2019_08_01.implementation; import com.microsoft.azure.management.network.v2019_08_01.ServiceTagsListResult; import com.microsoft.azure.arm.model.implementation.WrapperImpl; import java.util.List; import com.microsoft.azure.management.network.v2019_08_01.ServiceTagInfor...
import { Injectable } from '@angular/core'; import { HttpClient } from '@angular/common/http'; import { Observable } from 'rxjs/Observable'; import { CachedHttpService } from '../http/cached-http.service'; import { Data } from '../model/data.model'; @Injectable() export class ConfigHttpService extends CachedHttpServi...
import { createStore, applyMiddleware } from 'redux' import thunk from 'redux-thunk' import rootReducer from 'reducers' export default function configureStore (initialState) { return createStore(rootReducer, initialState, applyMiddleware(thunk)) }
package com.github.shareme.gwszdepthshadow.library; import org.junit.Test; import static org.junit.Assert.*; /** * To work on unit tests, switch the Test Artifact in the Build Variants view. */ public class ExampleUnitTest { @Test public void addition_isCorrect() throws Exception { assertEquals(4, ...
HttpKernel ========== .. toctree:: :maxdepth: 2 introduction
require 'puppet' require 'puppet/parameter/boolean' require File.dirname(__FILE__).concat('/firewalld_rich_rule.rb') require File.dirname(__FILE__).concat('/firewalld_service.rb') Puppet::Type.newtype(:firewalld_zone) do @doc =%q{Creates and manages firewald zones. Note that setting ensure => 'absent' to the bu...
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; use kartik\select2\Select2; use kartik\depdrop\DepDrop; use frontend\modules\region\models\Country; use frontend\modules\region\models\search\PostcodeSearch; /** * @var yii\web\View $this * @var frontend\modules\region\models\search\PostcodeSearch $model * @v...
package org.wso2.carbon.mdm.services.android.util; import com.google.gson.*; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.wso2.carbon.analytics.api.AnalyticsDataAPI; import org.wso2.carbon.analytics.dataservice.commons.AnalyticsDataResponse; import org.wso2.carbon.a...
namespace LimitsMiddleware { using System; using System.IO; using System.Threading; using System.Threading.Tasks; using LimitsMiddleware.RateLimiters; internal class ThrottledStream : Stream { private readonly Stream _innerStream; private readonly FixedTokenBucket _tokenBuc...
package gen import ( "bytes" "os" "path/filepath" "text/template" "golang.org/x/tools/imports" ) // File represents a generation file. type File struct { Name string IncludeFiles IncludeFiles Functions []interface{} Enums []*Enum Structs []*Struct } // NewFile creates a new blank file. func NewFil...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="zh"> <head> <!-- Generated by javadoc (version 1.7.0_07) on Tue Jun 04 15:59:39 CST 2019 --> <meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> <title>类 com.jeecg.alipay....
import { ImporterWebsocketReceiver } from './ImporterWebsocketReceiver'; import { Importers } from '../lib/Importers'; import { ImporterInfo } from '../lib/ImporterInfo'; import { ProgressStep } from '../lib/ImporterProgressStep'; import './admin/adminImport.html'; import './admin/adminImport'; import './admin/adminImp...
<?php namespace flight; use flight\core\Loader; use flight\core\Dispatcher; /** * The Engine class contains the core functionality of the framework. * It is responsible for loading an HTTP request, running the assigned services, * and generating an HTTP response. */ class Engine { /** * Stored variable...
using CsvEditSharp.Bindings; using CsvEditSharp.Models; using System.IO; using System.Linq; using System.Windows.Input; namespace CsvEditSharp.ViewModels { public class SaveConfigDialogViewModel : ErrorNotificationBindableBase { private string _templateName; private bool _isTemplate = true; ...
.ogc-context-widget{ position:relative; width:100%; height:100%; min-width:222px; min-height:237px; } .ogc-context-widget>.jimu-tab>.control{ margin:-14px -14px 0 -14px; } .ogc-context-widget>.jimu-tab>.jimu-viewstack{ position: absolute !important; top:45px !important; left:0 !important; right:0 ...
package com.amazonaws.services.mediatailor.model.transform; import java.math.*; import javax.annotation.Generated; import com.amazonaws.services.mediatailor.model.*; import com.amazonaws.transform.SimpleTypeJsonUnmarshallers.*; import com.amazonaws.transform.*; import com.fasterxml.jackson.core.JsonToken; import s...
var buttons = new Vue({ el: '#buttonlist', data: { buttons: ["fall", 2] }, methods: { clickaclass: function (aclass) { console.log(aclass); this.switchtotable(aclass); }, switchtotable: function (aclass) { ipcRenderer.send('switchtotabl...
<?xml version="1.0" encoding="utf-8"?> <!--<custom_vieww.RatioImageView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/meizhi" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_cente...
<?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:padding="@dimen/half_view_padding"> <ImageView android:id="@+id/league_logo" android:layout_...
package io.seata.saga.engine.pcext.handlers; import java.util.List; import java.util.Stack; import io.seata.common.util.CollectionUtils; import io.seata.saga.engine.StateMachineConfig; import io.seata.saga.engine.exception.EngineExecutionException; import io.seata.saga.engine.pcext.StateHandler; import io.seata.saga...
#!/bin/sh if [ ! -d $2 ]; then mkdir $2 fi cd $2 echo "downloading logs for $2" curl -O $1/ws/work/logs/*zip*/logs.zip echo "download jtr work files for $2" curl -O $1/ws/work/javaeetck/bin/JTwork/com/sun/ts/tests/*zip*/tests.zip echo "downloading consoleText for $2" curl -O $1/lastCompletedBuild/consoleText u...
<?php namespace Grav\Framework\Collection; use Doctrine\Common\Collections\ArrayCollection as BaseArrayCollection; /** * General JSON serializable collection. * * @package Grav\Framework\Collection */ class ArrayCollection extends BaseArrayCollection implements CollectionInterface { /** * Reverse the ...
ACCEPTED #### According to Index Fungorum #### Published in Deuteromycotina de Cuba (La Habana), Hyphomycetes 3: 11 (1985) #### Original name Corynespora camagueyensis R.F. Castañeda ### Remarks null
<?xml version="1.0"?> <!-- --> <metainfo> <schemaVersion>2.0</schemaVersion> <services> <service> <name>RANGER</name> <displayName>Ranger</displayName> <comment>Comprehensive security for Hadoop</comment> <version>1.0.0.3.0</version> <components> <component> <na...
/** * \author Jonathan Poelen <jonathan.poelen+falcon@gmail.com> * \version 1.0 * \brief string hash function * * \ingroup strings */ #pragma once #include <falcon/functional/fnv.hpp> #include <falcon/cxx/string_view.hpp> #include <falcon/container/string_literal_fwd.hpp> namespace falcon { /// FNV-1a ha...
@implementation Timer // designated initializer // Time interval is selected as parameter of designated initializer to store it exacty, // If time moments are specified we risk to obtain time interval something like: 0:59:59 - (Timer*)initWithTitle:(NSString*)aTitle andTimeInterval:(NSTimeInterval)aTimeInterval { ...
using System; using System.Collections.Generic; namespace Beyova { /// <summary> /// Class LambdaEqualityComparer. This class cannot be inherited. /// </summary> /// <typeparam name="T"></typeparam> public sealed class LambdaEqualityComparer<T> : IEqualityComparer<T> { /// <summary> ...
package models import ( "sort" "testing" "time" api "code.gitea.io/gitea/modules/structs" "code.gitea.io/gitea/modules/timeutil" "github.com/stretchr/testify/assert" ) func TestMilestone_State(t *testing.T) { assert.Equal(t, api.StateOpen, (&Milestone{IsClosed: false}).State()) assert.Equal(t, api.StateClos...
#include <grpc/support/port_platform.h> #include <stdlib.h> #include <unistd.h> #include <cstdlib> #include <iostream> #include <memory> #include <string> #include <thread> #include "absl/strings/str_cat.h" #include "gtest/gtest.h" #include <grpc/grpc.h> #include <grpc/support/alloc.h> #include <grpcpp/channel.h> ...
package com.compomics.ensh.core; import java.sql.Timestamp; /** * This class is a */ public class TranscriptStableIdEntity { private int iTranscriptId; public int getTranscriptId() { return iTranscriptId; } public void setTranscriptId(int aTranscriptId) { iTranscriptId = aTranscrip...
<?php use Psr\Log\LogLevel; switch ($environment) { case 'production': return array( 'system' => array( 'logLevel' => LogLevel::ERROR, 'showExceptions' => false, 'createCrashReports' => true, ) ); case 'development': return array( 'system' => array( 'lo...
import {async, ComponentFixture, TestBed} from '@angular/core/testing'; import {ListComponent} from './list.component'; import {RouterTestingModule} from '@angular/router/testing'; describe('ListComponent', () => { let component: ListComponent; let fixture: ComponentFixture<ListComponent>; beforeEach(async(() =...
FROM balenalib/raspberrypi4-64-ubuntu:bionic-build ENV NODE_VERSION 12.22.1 ENV YARN_VERSION 1.22.4 RUN for key in \ 6A010C5166006599AA17F08146C2130DFD2497F5 \ ; do \ gpg --keyserver pgp.mit.edu --recv-keys "$key" || \ gpg --keyserver keyserver.pgp.com --recv-keys "$key" || \ gpg --keyserver ha.pool.sks-keyse...
/* * Minio Cloud Storage, (C) 2016 Minio, 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 la...
\section{Conclusion} \label{sec:conclusion} This paper presents \Syndicate, a wide-area storage service that is unique in how it leverages existing cloud storage for durability and existing network caching for scalable performance, providing the consistency protocol needed to transform those building block services in...
breadcrumbs: - name: Documentation path: '../' - name: Commands path: '../commands' --- # Composing Commands Because Cuprum::Command instances are proper objects, they can be composed like any other object. For example, we could define some basic mathematical operations by composing commands: ```ruby inc...
#include <Base.h> #include <Library/TimerLib.h> #include <Library/BaseLib.h> /** Calculate TSC frequency. The TSC counting frequency is determined by comparing how far it counts during a 101.4 us period as determined by the ACPI timer. The ACPI timer is used because it counts at a known frequency...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (version 1.7.0_09) on Thu May 02 19:56:12 YAKT 2013 --> <meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> <title>Uses of Class org....