text
stringlengths
3
1.05M
<html> <head> <title>User agent detail - Mozilla/5.0 (Linux; Android 4.2.1; GT-P8200 Build/JOP40D) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.166 Safari/535.19</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/css/materialize.min.css"> <lin...
 /** * @fileOverview Defines the {@link CKEDITOR.lang} object, for the English * language. This is the base file for all translations. */ /**#@+ @type String @example */ /** * Constains the dictionary of language entries. * @namespace */ CKEDITOR.lang['ipb'] = { /** * The language reading direction....
EditAddressDialog::EditAddressDialog(Mode mode, QWidget *parent) : QDialog(parent), ui(new Ui::EditAddressDialog), mapper(0), mode(mode), model(0) { ui->setupUi(this); GUIUtil::setupAddressWidget(ui->addressEdit, this); switch(mode) { case NewReceivingAddress: setWindow...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Ka...
WebSocketServerLoopTask::WebSocketServerLoopTask(): m_server(nullptr) { } void WebSocketServerLoopTask::DoTask() { m_server->loop(); } void WebSocketServerLoopTask::StopTask() { m_server->stop(); } void WebSocketServerLoopTask::setParam(WebSocketServer* server) { m_server = server; }
// TODO(opensource): Use a more generic sounding preprocessor name than // GOOGLE_CUDA #if GOOGLE_CUDA #define EIGEN_USE_GPU #include "tensorflow/core/common_runtime/gpu/gpu_device.h" #include <stdlib.h> #include <string.h> #include <algorithm> #include <vector> #include "third_party/eigen3/unsupported/Eigen/CXX1...
(function($) { "use strict"; var column = { build: function(table, name, userSortable) { return clone(this, function(self) { self.table = table; self.name = name; self.dom = function() { return $('th.sort-on-' + name); } self.userSortable = userSortable; self.bind(...
![Command Line Parser Logo](docs/images/Banner.png "Command Line Parser Logo") A simple and light-weight parser for command line arguments, which makes it possible to access parameters from the command line via well-defined .NET data structures. ## Using the Project You can always get the latest stable version from ...
ALTER TABLE USR_LOCATION ADD CONSTRAINT FK_USR_LOCATION_ID_USR FOREIGN KEY ( ID_USR ) REFERENCES USR ( ID_USR ) ON DELETE CASCADE ; ALTER TABLE USR_PREFS ADD CONSTRAINT FK_USR_PREFS_ID_USR FOREIGN KEY ( ID_USR ) REFERENCES USR ( ID_USR ) ON DELETE CASCADE ; ALTER TABLE USR_TOKEN ADD CONSTRAINT FK_USR_TOKEN_ID...
package poussecafe.injector; import java.lang.reflect.Field; import java.lang.reflect.Method; import java.util.Collection; import java.util.HashMap; import java.util.Map; import java.util.Objects; import java.util.Optional; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import poussecafe.exception.PousseCafe...
This is the [MySQL](http://dev.mysql.com/downloads/mysql/) adapter for [sumo_db](https://github.com/inaka/sumo_db). ## MySQL ### Install MySQL To install/upgrade **MySQL** please follow the instructions in this link: [Installing and Upgrading MySQL](http://dev.mysql.com/doc/refman/5.7/en/installing.html). ## Gett...
namespace Prolix.Client.Navigation { public delegate void ViewNavigationEventHandler(object sender, ViewNavigationEventArgs e); public sealed class ViewNavigationEventArgs { public ViewNavigationEventArgs(IViewModel current, IViewModel previous = null, bool isBack = false) { Current = current; Previou...
#pragma once #include "polycode/core/PolyGlobals.h" #include "polycode/core/PolyEvent.h" #include "polycode/core/PolyVector2.h" #include "polycode/core/PolyInputKeys.h" namespace Polycode { class TouchInfo { public: static const int TYPEBASE = 0x500; static const int TYPE_TOUCH = TYPEBASE + 0; static c...
#include <climits> #include <cstdarg> #include "native_client/src/trusted/service_runtime/nacl_config.h" #include "native_client/src/trusted/validator_arm/model.h" #include "native_client/src/trusted/validator_arm/validator.h" #include "native_client/src/include/nacl_macros.h" #include "native_client/src/include/por...
/* * www.ichmags.net - Backgammon */ package net.ichmags.backgammon.setup; /** * This interface enables passing the {@code Dice} in the application without * providing a possibility to change the {@code Dice} value. * * @author Anastasios Patrikis */ public interface IDice extends Comparable<IDice> { /** ...
OauthProviderDemo::Application.configure do # Settings specified here will take precedence over those in config/environment.rb # The production environment is meant for finished, "live" apps. # Code is not reloaded between requests config.cache_classes = true # Eager load code on boot. This eager loads most...
''' Import users from csv file ''' import requests import hashlib import sys def computeMD5hash(string): m = hashlib.md5() m.update(string.encode('utf-8')) return m.hexdigest() def parse_itme(item): item = item.strip() if item == 'False': item = False if item == 'True': i...
""" This is part of shot detector. Produced by w495 at 2017.05.04 04:18:27 """ from __future__ import absolute_import, division, print_function import collections from shot_detector.handlers import BaseFrameHandler from shot_detector.objects import BaseFrame, FrameSize from shot_detector.utils.log_meta impor...
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:gravity="center" android:orientation="vertical" > <TextView android:layout_width="wrap_content" android:layout_height="wrap_conte...
<?xml version="1.0" encoding="ISO-8859-1"?> <document> <properties> <author email="remm@apache.org">Remy Maucherat</author> <title>Slide Client</title> </properties> <body> <section name="Introduction"> <p> Slide includes a full featured command-line based WebDAV client, w...
package org.codeavengers.common.dto.entity; import java.util.ArrayList; import java.util.List; import org.codeavengers.common.dto.DBEntity; /** * This is a wrapper for a {@link java.util.List} of * {@link org.codeavengers.common.dto.entity.Result} object. * * Each of the {@link org.codeavengers.common.dto.ent...
import inCreatorWrapper from './utils/inCreatorWrapper'; import append from './append'; export default inCreatorWrapper(append);
<?php $conn = new KADM5('test2/admin', 'test.keytab', true); $princ = new KADM5Principal('testlala'); var_dump($princ->getName()); try { $exists = $conn->getPrincipal('testlala'); $exists->delete(); } catch ( Exception $e ) { echo $e; } $princ->setExpiryTime(2342342); $conn->createPrincipal($princ, 'testpass'); ...
package com.sirius.upns.server.node.service; import com.sirius.upns.server.node.domain.model.Group; import java.util.List; /** * @project node-server * @date 2013-9-12-下午2:10:56 * @author pippo */ public interface GroupExporterService { String create(Group group); void join(String groupId, List<String> u...
package group // import "github.com/docker/infrakit/pkg/cli/v0/group" import ( "github.com/docker/infrakit/pkg/cli" logutil "github.com/docker/infrakit/pkg/log" "github.com/docker/infrakit/pkg/spi/group" "github.com/spf13/cobra" ) var log = logutil.New("module", "cli/v1/group") func init() { cli.Register(group....
package com.almasb.astar.maze; import com.almasb.astar.AStarGrid; import java.util.Arrays; import java.util.Collections; import java.util.List; import java.util.stream.Collectors; /** * A 2d maze. * * Slightly modified and adapted version from * <a href="http://rosettacode.org/wiki/Maze_generation#Java">Rosetta ...
<?php namespace App\Models; use Doctrine\Common\Collections\ArrayCollection; function createLinkComparison(ActivityLink $link) { return function ($key, ActivityLink $otherLink) use ($link) { return $otherLink->equals($link); }; } /** * @Entity * @Table(name="Activities") */ class Activity { co...
(function() { 'use strict'; angular.module('app.book.service', [ 'ngResource' ]); })();
<?php /** * Doctrine_Cache * * @package Doctrine * @subpackage Cache * @author Konsta Vesterinen <kvesteri@cc.hut.fi> * @license http://www.opensource.org/licenses/lgpl-license.php LGPL * @link www.phpdoctrine.org * @since 1.0 * @version $Revision: 5801 $ */ class Doctrine_Cac...
namespace base { namespace internal { template <bool thread_safe> class LOCKABLE MaybeLock { public: void Lock() EXCLUSIVE_LOCK_FUNCTION() {} void Unlock() UNLOCK_FUNCTION() {} void AssertAcquired() const ASSERT_EXCLUSIVE_LOCK() {} // Re-initializes the lock. Only to be used after fork() in child processes. ...
namespace Microsoft.Azure.Management.Network { using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Threading; ...
"""Tests for builtin_functions module.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function import gast from tensorflow.contrib.py2tf.converters import builtin_functions from tensorflow.contrib.py2tf.converters import converter_test_base from tensorflow.cont...
require 'formula' class Inspircd < Formula homepage 'http://www.inspircd.org' url 'https://github.com/inspircd/inspircd/archive/v2.0.16.tar.gz' sha1 '6206e5dd61717a24f499e58996d2c7f4c8e4512d' head 'https://github.com/inspircd/inspircd.git' skip_clean 'data' skip_clean 'logs' depends_on 'pkg-config' =>...
import React from 'react'; import PropTypes from 'prop-types'; import cuid from 'cuid'; import { titleCase } from 'voca'; import { Block, Label, Note } from './styles'; const SelectField = ({ input, options, label, note }) => ( <Block> <Label htmlFor={input.name}> <span>{label || input.name}</span> ...
import utils from 'osg/utils'; import notify from 'osg/notify'; import Object from 'osg/Object'; import osgMath from 'osg/math'; import PooledResource from 'osg/PooledResource'; import PooledArray from 'osg/PooledArray'; import PooledMap from 'osg/PooledMap'; var createPositionAttribute = function() { return [null...
class AddParentToProjects < ActiveRecord::Migration def change add_column :projects, :parent, :integer end end
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; u...
.active.happy-checkbox,.active.happy-radio,.happy-checkbox,.happy-color,.happy-color.active,.happy-color.primary,.happy-radio,.primary.happy-checkbox,.primary.happy-radio{color:#333} .active.happy-checkbox>b,.active.happy-radio>b,.happy-checkbox>b,.happy-color.active>b,.happy-color.primary>b,.happy-color>b,.happy-radio...
<?php namespace HalTest; use Hal\HalResource; use Hal\HalResponseFactory; use Hal\Link; use Hal\Renderer; use HalTest\Renderer\TestAsset; use PHPUnit\Framework\TestCase; use Prophecy\Argument; use Psr\Http\Message\ResponseInterface; use Psr\Http\Message\ServerRequestInterface; use Psr\Http\Message\StreamInterface; us...
FROM java ENV ES_PKG_NAME elasticsearch-1.5.0 ENV MARVEL_PKG_NAME marvel-latest ENV KOPF_PKG_NAME elasticsearch-kopf-master ENV HEAD_PKG_NAME elasticsearch-head-master ENV BIGDESK_PKG_NAME bigdesk-master # Install Elasticsearch. COPY ./soft/* / RUN \ cd / && \ tar xvzf $ES_PKG_NAME.tar.gz && \ rm -f $ES_PKG_N...
<?xml version='1.0'?> <!-- 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 "Li...
package models.db import play.api.db.slick.Config.driver.simple._ /** * Created by roelf on 10/17/14. */ case class File(id: String, filename: String) class Files(tag: Tag) extends Table[File](tag, "FILES") { def id = column[String]("id", O.PrimaryKey) def filename = column[String]("filename", O.NotNull) ove...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
module Endpoints class UserAPI::Notifications < Base namespace "/notifications" do before do content_type :json, charset: "utf-8" end get do redis_retry do notes = Mediators::Notifications::Lister.run(user: current_user) respond_json(notes) end ...
import { hasCORS } from "../contrib/has-cors.js"; import { globalThisShim as globalThis } from "../globalThis.js"; export function XHR(opts) { const xdomain = opts.xdomain; // XMLHttpRequest can be disabled on IE try { if ("undefined" !== typeof XMLHttpRequest && (!xdomain || hasCORS)) { return new XM...
describe('TableDataStorageFactory', function(){ var TableDataStorageFactory, tableDataStorageService, rowData = ['Some', 3, 56, '1%'], rowId = 324, $log; beforeEach(module('mdtTemplates')); beforeEach(module('mdDataTable')); beforeEach(inject(function($injector){ ...
var wargHelpdeskFilters = angular.module('wargHelpdeskFilters', []) wargHelpdeskFilters.filter('breakFilter', function() { return function(input) { if(!input) return input; var output = input //replace possible line breaks. .replace(/(\r\n|\r|\n)/g, '<br/>') //replace tabs .repla...
/** * The package test contains classes used in evaluation and have classes for different cases tested PathBased/P-Homomorphism + Forward/Backward/Bidirectional. * */ package test.evaluation;
package com.twitter.graphjet.bipartite.api; /** * <p>Interface that specifies read operations needed for a bi-indexed bipartite graph. Any graph manipulations or graph * algorithms should only need this interface.</p> * * <p>All operations are defined in {@link LeftIndexedBipartiteGraph} and {@link RightIndexedB...
package eurekache_test import ( "bytes" "encoding/gob" "testing" "time" "github.com/stretchr/testify/assert" . "github.com/evalphobia/eurekache" "github.com/evalphobia/eurekache/memorycache" ) func TestExtraEurekacheGet(t *testing.T) { assert := assert.New(t) e := New() m := memorycache.NewCacheTTL(1) e...
import { Component, ViewChild, ViewEncapsulation } from '@angular/core'; import { jqxGridComponent } from '../../../jqwidgets-ts/angular_jqxgrid' import { generatedata } from '../../../sampledata/generatedata'; @Component({ selector: 'app-root', templateUrl: './app.component.html', styleUrls: ['./app.co...
using namespace linear::log; class LinearLogFunctionTest : public testing::Test { protected: LinearLogFunctionTest() {} ~LinearLogFunctionTest() {} virtual void SetUp() {} virtual void TearDown() {} }; void OnLog(linear::log::Level level, const char* file, int line, const char* func, const char* data) { sta...
<?php namespace Site\CoreBundle\Twig; use Peerassess\CoreBundle\Entity\Languages; /** * * */ class LanguageExtension extends \Twig_Extension { public function getFilters () { return array( new \Twig_SimpleFilter('language', array( $this, ...
namespace Apache.Ignite.Core.Impl { using System; using System.Collections.Generic; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Security; using System.Text.RegularExpressions; using System.Threading; using Apache.Ignite.Core.Cache; using Apache.Ign...
- **transform:形变属性,能完成的功能:平移、缩放、旋转** - 利用动画来实现 ```objc [UIView animateWithDuration:2.0 animations:^{ // 缩放 self.tempView.transform = CGAffineTransformMakeScale(0.5, 0.5); // 平移 self.tempView.transform = CGAffineTransformMakeTranslation(-100, 100); // 旋转objc self.temp...
<?xml version="1.0"?> <!-- Licensed to the Hipparchus project under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The Hipparchus project licenses this file to You under the Apache License, Version 2.0 (the "Lice...
import React from 'react'; import { AppRegistry } from 'react-native'; import Root from './src/root'; AppRegistry.registerComponent('RNTest', ()=>Root);
package org.keycloak.testsuite.saml; import org.junit.Test; import org.keycloak.representations.idm.ClientRepresentation; import org.keycloak.representations.idm.RealmRepresentation; import org.keycloak.saml.common.exceptions.ConfigurationException; import org.keycloak.saml.common.exceptions.ParsingException; import o...
[![Docker pull](https://img.shields.io/docker/pulls/phpunit/phpunit.svg)](https://hub.docker.com/r/phpunit/phpunit/) [![Docker pull](https://img.shields.io/docker/stars/phpunit/phpunit.svg)](https://hub.docker.com/r/phpunit/phpunit/) [![Github issues](https://img.shields.io/github/issues/JulienBreux/phpunit-docker.svg)...
<?xml version="1.0" encoding="utf-8" ?> <plugin name="tell_friend"> <title>Tell friend</title> <summary>This is official plugin allows your visitors to send an email to their friends about that resource.</summary> <author>Intelliants LLC</author> <contributor>Intelliants LLC</contributor> <version>3.0.0</version> ...
SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
@interface MDPresentionControlViewController () <MDImageZoomViewControllerDelegate> @property (weak, nonatomic) IBOutlet UIImageView *imageView; @end @implementation MDPresentionControlViewController - (void)loadView{ [super loadView]; self.view.backgroundColor = [UIColor brownColor]; } #pragma mark -...
include ../../conf/environment.mk include ../../conf/shell-env.mk all: targetfs targetfs: fhs.o gmp.o mpfr.o mpc.o zlib.o binutils.o gcc.o sed.o libffi.o libiconv.o ncurses.o \ pkg-config-lite.o check.o attr.o acl.o libcap.o util-linux.o procps-ng.o e2fsprogs.o \ cracklib.o m4.o bison.o flex.o linux-pam.o shadow.o ...
<?xml version="1.0" encoding="utf-8"?><!-- ~ Copyright 2016 Andrey Tolpeev ~ ~ 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 ...
// Copyright (c) 2014 AlphaSierraPapa for the SharpDevelop Team // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to use, co...
import proto # type: ignore from google.protobuf import timestamp_pb2 # type: ignore __protobuf__ = proto.module( package="google.cloud.common", manifest={ "OperationMetadata", }, ) class OperationMetadata(proto.Message): r"""Represents the metadata of the long-running operation. Att...
template<class TEffectMeta> bool CollectNonGlobalMetadataFromEffect(std::istream& Stream, std::vector<TEffectMeta>& MetaToCheck, CThreadSafeLog* pLog) { TEffectMeta Buffer; // Add material params table for globals verification, skip defaults // Skip 32-bit metadata size ReadStream<uint32_t>(Stream); Stream >> B...
+++ title = "Secure Middleware" description = "Secure middleware for Echo" [menu.main] name = "Secure" parent = "middleware" +++ Secure middleware provides protection against cross-site scripting (XSS) attack, content type sniffing, clickjacking, insecure connection and other code injection attacks. *Usage* `e.U...
package org.sagebionetworks.repo.model.dbo.persistence.table; import static org.sagebionetworks.repo.model.query.jdo.SqlConstants.COL_TABLE_TRX_TABLE_ID; import static org.sagebionetworks.repo.model.query.jdo.SqlConstants.COL_TABLE_TRX_ETAG; import static org.sagebionetworks.repo.model.query.jdo.SqlConstants.COL_TABLE...
<?php namespace app\models; use app\models\FamilyMember; class TaskAssign extends \yii\db\ActiveRecord { /** * @inheritdoc */ public static function tableName() { return '{{%task_assign}}'; } /** * @inheritdoc */ public function rules() { retu...
.class Lo/ow$if$if; .super Ljava/lang/Object; # interfaces .implements Lo/ow; # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lo/ow$if; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x8 name = "if" .end annotation # instance fields .field p...
package com.google.common.truth; import static com.google.common.truth.Fact.simpleFact; import static com.google.common.truth.Truth.assertThat; import static com.google.common.truth.Truth.assert_; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; /** Tests for chained subject...
package com.logginghub.logging.filters; import com.logginghub.logging.LogEvent; import com.logginghub.utils.filter.Filter; /** * A Filter<LogEvent> that passes events whose message contains the string passed * in at construction time. * * @author James */ public class MessageContainsFilter implements...
using System; namespace IronVelocity.CodeAnalysis.Binding { public class BoundUnaryExpression : BoundExpression { public BoundUnaryExpression(BoundUnaryOperator op, BoundExpression operand) { Operator = op; Operand = operand; } public override Type Type...
Converts the selection to the case style you choose. ## Usage Select the text to convert and execute one of the following commands: * `Right Case: Title Case` ## Configuration ### Key Bindings This package does not come with key assignments configured, but you can add them yourself by adding keys for any of the f...
Display System Management Service Examples ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The DICOM :dcm:`Display System Management Service <part04/chapter_EE.html>` allows an Application Entity to retrieve Display Subsystem parameters from a peer by using the N-GET service. It only has a single :ref:`supported SOP Class ...
package persistentvolume import ( "errors" "reflect" "testing" "time" v1 "k8s.io/api/core/v1" storagev1 "k8s.io/api/storage/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/watch" utilfeature "k8s.io/apiserver/pkg/util/feature" "k8s.io/client-go/informers" "k8s.io/client-go/kube...
// [[Highway.Onramp.MVC]] using System; using System.Linq; using System.Web.Mvc; using System.Collections.Generic; using System.Web.Http.Dispatcher; using System.Web.Http; using Templates.App_Architecture.Activators; using Newtonsoft.Json; using Newtonsoft.Json.Serialization; [assembly: WebActivatorEx.PostApplication...
package org.lockss.plugin.atypon.rsna; import java.io.InputStream; import java.util.Vector; //import java.io.FileInputStream; //import java.io.FileOutputStream; //import org.apache.commons.io.IOUtils; //import org.lockss.util.Constants; import org.htmlparser.*; import org.htmlparser.tags.*; import org.lockss.filte...
package play.boilerplate.parser.backend.swagger import io.swagger.models.Swagger import io.swagger.parser.SwaggerParser import play.boilerplate.parser.backend.{ParserBackend, ParserException} import play.boilerplate.parser.model._ import scala.collection.JavaConverters._ import scala.util.{Failure, Success, Try} obj...
class EditValue extends DialogBase { /*:: value: any fieldName: string fieldType: string onSave: (newValue: string, isNull: boolean) => void */ constructor(handler, params) { params.title = `Edit ${params.fieldName}`; params.dialogClass = "edit-value"; if (typeof params.value == "string" && pa...
SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
case node['platform'] when "debian","ubuntu" default['networking']['packages'] = %w[ lsof iptables jwhois whois curl wget rsync jnettop nmap traceroute ethtool iproute iputils-ping netcat-openbsd tcptraceroute tcputils tcpdump elinks lynx ] when "redhat","centos","scientific","amazon" default['networking']['package...
import React, { Component } from 'react'; import { Treemap } from 'react-vis'; import Button from '../button'; const MODE = [ 'circlePack', 'partition', 'partition-pivot', 'squarify', 'resquarify', 'slice', 'dice', 'slicedice', 'binary' ]; export default class simpleTreeMap extends Component { st...
<!DOCTYPE HTML> <!-- 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 (...
#include <vector> #include BOSS_WEBRTC_U_api__array_view_h //original-code:"api/array_view.h" #include BOSS_WEBRTC_U_modules__audio_processing__audio_buffer_h //original-code:"modules/audio_processing/audio_buffer.h" #include BOSS_WEBRTC_U_modules__audio_processing__echo_control_mobile_impl_h //original-code:"modules...
(function () { 'use strict'; angular.module('Tournament.Notifications', []); })();
package org.wildfly.monoplane.probe.extension; import org.jboss.as.controller.AbstractAddStepHandler; import org.jboss.as.controller.AttributeDefinition; import org.jboss.as.controller.OperationContext; import org.jboss.as.controller.OperationFailedException; import org.jboss.as.controller.PathAddress; import org.jbos...
using System; using System.ComponentModel; namespace Azure.ResourceManager.DevSpaces.Models { /// <summary> The tier of the SKU for Azure Dev Spaces Controller. </summary> public readonly partial struct DevSpacesSkuTier : IEquatable<DevSpacesSkuTier> { private readonly string _value; /// <...
BSLS_IDENT("$Id: $") //@PURPOSE: Provide a meta-function to report if a type is copy constructible. // //@CLASSES: // bsl::is_copy_constructible: type-traits meta-function // bsl::is_copy_constructible_v: the result value of the meta-function // //@SEE_ALSO: bslmf_integralconstant, bslmf_nestedtraitdeclaration // //...
JavaScript dependency manager. You can provide module like this: ```js depman.use([], function () { return { sum: function (a, b) { return a+b; } }; }, 'module.name'); ``` ## API Depmanjs has four main methods, each packing quite a punch. * <a href="#config">depman.<code>config()</code></a> * ...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE122_Heap_Based_Buffer_Overflow__cpp_CWE193_char_memmove_68b.cpp Label Definition File: CWE122_Heap_Based_Buffer_Overflow__cpp_CWE193.label.xml Template File: sources-sink-68b.tmpl.cpp */ /* * @description * CWE: 122 Heap Based Buffer Overflow * BadSource: All...
using Core.Commands; using Core.Marten.Events; using Core.Marten.Repository; using MediatR; namespace Orders.Orders.RecordingOrderPayment; public record RecordOrderPayment( Guid OrderId, Guid PaymentId, DateTime PaymentRecordedAt ): ICommand { public static RecordOrderPayment Create(Guid? orderId, Gui...
ACCEPTED #### According to NUB Generator [implicit canonical] #### Published in null #### Original name null ### Remarks null
/// Copyright (c) 2009 Microsoft Corporation /// /// Redistribution and use in source and binary forms, with or without modification, are permitted provided /// that the following conditions are met: /// * Redistributions of source code must retain the above copyright notice, this list of conditions and /// ...
'use strict' const chai = require('chai') const expect = chai.expect const sinon = require('sinon') const _ = require('lodash') chai.use(require('sinon-chai')) chai.use(require('dirty-chai')) describe('help', function () { let controllerMock let messageMock let botMock let plugin let help beforeEach(fun...
#ifndef GLUI_GLUI_H #define GLUI_GLUI_H #if defined(GLUI_FREEGLUT) // FreeGLUT does not yet work perfectly with GLUI // - use at your own risk. #include <GL/freeglut.h> #elif defined(GLUI_OPENGLUT) // OpenGLUT does not yet work properly with GLUI // - use at your own risk. ...
<?php namespace SendATruck\DataLayer; use SendATruck\Objects\Customer; class CustomerRepository { /** * @var \PDO */ protected $db; public function __construct(\PDO $db) { $this->db = $db; } public function add(Customer $customer) { $query = "INSERT INTO Custo...
/* * ribImporter.h * * Created on: Nov 23, 2015 * Author: jasonr */ #pragma once #ifndef CORE_RIBIMPORTER_H_ #define CORE_RIBIMPORTER_H_ #ifdef HAVE_CONFIG_H # include "config.h" #endif #include <string> namespace Core { class RibImporter { public: RibImporter() = default; ~RibImporter() = def...
function printUsage() { echo "Syntax is: $0 <file> <# pixels>" exit 1 } filename=$1 if [ -z "$filename" ]; then printUsage fi numPixels=$2 if [ -z "$numPixels" ]; then printUsage fi tmpfile=$(mktemp -t imgXXXXX.gif) dim=$(identify $filename | awk '{print $3}' | cut -d'x' -f1) newdim=$(($dim - $(($numPixels *...