text
stringlengths
3
1.05M
/** * @file * @brief File containing LogicModule class. */ #ifndef LOGIC_MODULE_HPP #define LOGIC_MODULE_HPP #include "DataModule.hpp" #include "UtilityModule.hpp" /** * @brief One of @ref MODULES_GROUP. Class holding window logic * callbacks and main logic methods called directly from game loop. * * @ingroup MODULE...
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>DateBox Buttons - jQuery EasyUI Demo</title> <link rel="stylesheet" type="text/css" href="../../themes/default/easyui.css"> <link rel="stylesheet" type="text/css" href="../../themes/icon.css"> <link rel="stylesheet" type="text/css" href="../demo.css"> <s...
/*************************************************************************/ /* interpolated_camera.cpp */ /*************************************************************************/ /* This file is part of: */ /* ...
package org.osiam.storage.entities.jpa_converters; import javax.persistence.AttributeConverter; import javax.persistence.Converter; import org.osiam.resources.scim.ExtensionFieldType; @SuppressWarnings("rawtypes") @Converter(autoApply = true) public class ExtensionFieldTypeConverter implements AttributeConverter<Ex...
package com.google.javascript.jscomp; import com.google.common.base.Preconditions; import com.google.javascript.jscomp.NodeTraversal.AbstractPostOrderCallback; import com.google.javascript.rhino.JSDocInfo; import com.google.javascript.rhino.Node; import com.google.javascript.rhino.Token; import java.util.HashSet; i...
<?php namespace Zend\Feed\Writer; abstract class Version { const VERSION = '2'; }
import sys, os, time from util import checkToSkip from optparse import OptionParser DEFAULT_NEW_SIZE = 256 def printMessage(message_type, trace, message): print ('%s %s [%s] %s' % (time.strftime('%d/%m/%Y %H:%M:%S'), message_type, trace, message)) def process(options, collection): rootpath = option...
package gomail import ( "bytes" "io" "os" "path/filepath" "time" ) // Message represents an email. type Message struct { header header parts []*part attachments []*file embedded []*file charset string encoding Encoding hEncoder mimeEncoder buf bytes.Buffer } type header m...
layout: page title: Berechtigungen permalink: "concepts/de/authorization/" language: de --- Das OneOffixx Berechtigungskonzept verfolgt folgende Ziele: * Verringerung des administrativen Aufwandes * Sicherstellung, dass nur benutzerrelevante Daten auf dem Computer der Benutzer synchronisiert werden * Einbindung der ...
// +build linux package empty_dir import ( "os" "path" "testing" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/types" utiltesting "k8s.io/client-go/util/testing" "k8s.io/kubernetes/pkg/api/v1" "k8s.io/kubernetes/pkg/util/mount" "k8s.io/kubernetes/pkg/volume" volumetest "k8s.io/ku...
import codecs import setuptools import sys from setupext import gitversion local_id = '' try: with open('LOCAL-VERSION', 'r') as version_file: local_id = version_file.readline().strip() except IOError: pass with codecs.open('README.rst', 'rb', encoding='utf-8') as file_obj: long_description = '\...
import getTranscriptScrollableElement from '../elements/transcriptScrollable'; function sleep(durationMS = 17) { return new Promise(resolve => setTimeout(resolve, durationMS)); } // Returns true if every value is unique. function unique(array) { return new Set(array).size === array.length; } const COUNT = 5; ex...
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("Scr...
namespace capnp { namespace _ { namespace { TEST(Capability, Basic) { kj::EventLoop loop; kj::WaitScope waitScope(loop); int callCount = 0; test::TestInterface::Client client(kj::heap<TestInterfaceImpl>(callCount)); auto request1 = client.fooRequest(); request1.setI(123); request1.setJ(true); auto pr...
const { NODE_ENV, BABEL_ENV } = process.env const cjs = BABEL_ENV === 'cjs' || NODE_ENV === 'test' module.exports = { presets: [ [ '@babel/preset-env', { loose: true, modules: false, forceAllTransforms: true, }, ], '@babel/preset-react', ], plugins: ['babel-...
define([ "joynr/system/LoggingManager", "joynr/system/DistributedLoggingAppender" ], function(LoggingManager, DistributedLoggingAppender) { var loggingProxy; loggingProxy = { log : function(value) {}, providerDiscoveryEntry : {} }; describe("libjoynr-js.joynr.system.Distribut...
<?xml version="1.0" encoding="UTF-8"?> <!-- 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, V...
var updateSubscription = function (apiName, version, provider, appId, newstatus, n, link) { //var ahrefId = $('#' + apiName + provider + appId); //n is a integer value. But, when this parameter getting passed from the jaggery, it getting passed as 1.0, 2.0 etc instead of 1, 2. // Math.round function is call...
/*********************************************************************** created: Thu Jan 8 2009 authors: Paul D Turner <paul@cegui.org.uk> Lukas E Meindl *************************************************************************/ /***********************************************************...
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the MIT License (MIT). // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A P...
package io.netty.buffer; import io.netty.util.internal.PlatformDependent; import java.nio.ByteBuffer; import java.nio.ByteOrder; import java.nio.CharBuffer; import java.nio.charset.Charset; import java.util.ArrayList; import java.util.List; /** * Creates a new {@link ByteBuf} by allocating new space or by wrappin...
"convert libsvm file to vw format" "skip malformed lines" import sys import argparse parser = argparse.ArgumentParser( description = "convert libsvm file to vw format, skip malformed lines" ) parser.add_argument( "input_file", help = "path to csv input file" ) parser.add_argument( "output_file", help = "path to outpu...
import luigi import luigi.date_interval import luigi.interface import luigi.notifications from helpers import LuigiTestCase, RunOnceTask class LuigiTestCaseTest(LuigiTestCase): def test_1(self): class MyClass(luigi.Task): pass self.assertTrue(self.run_locally(['MyClass'])) def t...
var debug = require('debug')('p3api-server:cachemiddleware'); var Cache = require("../cache"); var conf = require("../config"); var md5 = require("md5"); var when = require("promised-io/promise").when; var enableCache = conf.get("cache").enable; module.exports.get = function(req, res, next) { if (!enableCache) { retu...
const express = require("express") const router = express() const { createWebAPIRequest } = require("../util/util") router.get("/", (req, res) => { const cookie = req.get('Cookie') ? req.get('Cookie') : '' const data = { "threadId": req.query.id, "csrf_token": "" } const action = (req.query.t == 1 ? 'l...
(function($) { "use strict"; /** * setDefaults - Sets the default options * @param message String/Object - String of html or Object of states * @param options Object - Options to set the prompt * @return jQuery - container with overlay and prompt */ $.prompt = function(message, options) { // only ...
A simple WebApp with UI5 library (OpenUI5) running with Electron. ## General This repository will contain a pretty simple, sample web app that uses the OpenUI5 library by SAP ([Github](https://github.com/SAP/openui5) / [OpenUI5.org](http://openui5.org/)) and uses Electron ([Electron](http://electron.atom.io/)) to buil...
package org.elasticsearch.cluster; import org.elasticsearch.common.unit.TimeValue; /** * An extension interface to {@link org.elasticsearch.cluster.ClusterStateUpdateTask} that allows to associate * a timeout. */ abstract public class TimeoutClusterStateUpdateTask extends ProcessedClusterStateUpdateTask { /...
package org.pentaho.di.www.jaxrs; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlRootElement; import org.pentaho.di.trans.step.StepStatus; @XmlRootElement public class TransformationStatus { private String id; private String name; private String status; private Lis...
using System.Collections.Generic; using System.Text.Json; using Azure.Core; namespace Azure.Management.Compute.Models { public partial class ResourceSkuRestrictionInfo { internal static ResourceSkuRestrictionInfo DeserializeResourceSkuRestrictionInfo(JsonElement element) { IReadOnly...
class AppDelegate def on_load(app, options) open BasicScreen.new(nav_bar: true) end end
<?xml version="1.0" encoding="utf-8"?> <article xmlns="http://docbook.org/ns/docbook"> <section> <sectioninfo> <title>Test document</title> </sectioninfo> <section> <title>Literallayout with markup test</title> <literallayout class="normal">Some text with a line break. And an inline imag...
package org.apache.sling.testing.mock.osgi; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.fail; import java.util.Arrays; import java.util.Hashtable; import org.junit.After; import org.junit.Before; import org.junit.Test; import org.osgi.fra...
var assert = require('assert'); module.exports = function() {}; module.exports.prototype = { configure: function(disallowSpacesBeforeSemicolons) { assert( typeof disallowSpacesBeforeSemicolons === 'boolean', 'disallowSpacesBeforeSemicolons option requires boolean value' ); assert( disa...
package stacktemplates import "github.com/gophercloud/gophercloud" func getURL(c *gophercloud.ServiceClient, stackName, stackID string) string { return c.ServiceURL("stacks", stackName, stackID, "template") } func validateURL(c *gophercloud.ServiceClient) string { return c.ServiceURL("validate") }
namespace boost { namespace numeric { namespace convdetail { //--------------------------------------------------------------- // Implementations of the compile time predicate "T is subranged" //--------------------------------------------------------------- // for integral to integral conversions templa...
<?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <mapper namespace="mapper.postRTag"> <insert id="btAdd" parameterType="java.util.List"> insert into roc_t_post_r_tag(post_id,tag_id) values <foreach collection="...
.dom-tree-outline { position: relative; padding: 0 6px; margin: 0; min-width: 100%; outline: none; list-style-type: none; /* Needed to make the negative z-index on .selection works. Otherwise the background-color from .syntax-highlighted hides the selection. */ background-color: trans...
using System.Collections.Generic; using Newtonsoft.Json; namespace Stratis.Bitcoin.Features.Wallet.Models { public class WalletModel { [JsonProperty(PropertyName = "network")] public string Network { get; set; } [JsonProperty(PropertyName = "fileName")] public string FileName ...
/* * client-test.js: Tests for pkgcloud HP client functionality. * * (C) 2014 Phani Raj. * */ var pkgcloud = require('../../../lib/pkgcloud'); describe('pkgcloud/hp/client', function () { describe('Region validation', function () { it('User should specify region: compute client', function() { (function (...
Ext.define('Shopware.apps.PlentyConnector.controller.Mapping', { extend: 'Ext.app.Controller', init: function () { var me = this; me.control({ 'plentymarkets-view-mapping-main': { load: me.onLoadTabs, reload: function (view) { me....
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@color/cloud" android:orientation="vertical"> <LinearLayout android:layout_width="match_parent" ...
<!DOCTYPE html> <!-- Copyright (c) 2012 Intel Corporation. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of works must retain the original copyright notice, this list of conditions and the following di...
module CfDeployer module DeploymentStrategy class BlueGreen < Base def exists? green_stack.exists? || blue_stack.exists? end def destroy delete_stack green_stack delete_stack blue_stack destroy_post end def destroy_post #overwrite in sub cla...
from leancloud import Object from leancloud import Query from leancloud import LeanCloudError from flask import Blueprint from flask import request from flask import redirect from flask import url_for from flask import render_template class Todo(Object): pass todos_view = Blueprint('todos', __name__) @todos_vi...
""" Backscraper for Indiana Court of Appeals CourtID: indctapp Court Short Name: Ind. Ct. App. Auth: Jon Andersen <janderse@gmail.com> Reviewer: mlr History: 2014-09-02: Created by Jon Andersen """ from juriscraper.opinions.united_states_backscrapers.state import ind class Site(ind.Site): def __init__(self, *...
#include <freertos/FreeRTOS.h> #include <freertos/task.h> void exit(int status) { vTaskDelete(NULL); }
require 'logger' require 'colored' require 'tty-spinner' require 'pathname' require_relative 'fastlane_folder' require_relative 'ui/ui' require_relative 'env' module FastlaneCore module Helper # fastlane # def self.fastlane_enabled? # This is called from the root context on the first start ...
using System; using Obd2Net.InfrastructureContracts.Commands; using Obd2Net.InfrastructureContracts.Enums; using Obd2Net.InfrastructureContracts.Protocols; namespace Obd2Net.InfrastructureContracts.Response { public interface IOBDResponse { DateTime Time { get; set; } IMessage[] Messages { get...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="de_AT" version="2.0"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Inutoshi</source> <translation type="unfinished"/> </message> <message> <location li...
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex...
package org.apache.cassandra.cql3.statements; public enum StatementType { INSERT { @Override public boolean allowClusteringColumnSlices() { return false; } }, UPDATE { @Override public boolean allowClusteringColumnSlices() { ...
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("Sq...
package stats type statsErr struct { err string } func (s statsErr) Error() string { return s.err } func (s statsErr) String() string { return s.err } // These are the package-wide error values. // All error identification should use these values. var ( EmptyInputErr = statsErr{"Input must not be empty."} NaNE...
// Copyright 2007 Google Inc. All Rights Reserved. package com.ibm.icu.dev.test.duration; import com.ibm.icu.dev.test.TestFmwk; import com.ibm.icu.impl.duration.BasicPeriodFormatterService; import com.ibm.icu.impl.duration.Period; import com.ibm.icu.impl.duration.PeriodBuilder; import com.ibm.icu.impl.duration.Per...
#include <stdbool.h> #include "lightHouse2020.h" #include "../../../drivers/tof/tofList.h" // DISTANCE #define LIGHT_HOUSE_2020_ROBOT_PLACED_DISTANCE_MIN 10 #define LIGHT_HOUSE_2020_ROBOT_PLACED_DISTANCE_MAX 30 // CHECK / THRESHOLD #define LIGHT_HOUSE_2020_ROBO...
#ifndef GUI_PROT_MESSAGE_SENDER_H #define GUI_PROT_MESSAGE_SENDER_H #include <arch.h> namespace isab { class GuiProtMess; } class MMessageSender { public: /** * Legacy interface. */ virtual int32 SendMessageL(isab::GuiProtMess &mess) = 0; }; class GuiProtMessageSender { public: /** * Send ...
#include <srs_app_caster_flv.hpp> #ifdef SRS_AUTO_STREAM_CASTER #include <algorithm> using namespace std; #include <srs_app_config.hpp> #include <srs_kernel_error.hpp> #include <srs_kernel_log.hpp> #include <srs_app_config.hpp> #include <srs_app_pithy_print.hpp> #include <srs_app_http_conn.hpp> #include <srs_core_...
package com.zfxf.douniu.adapter.recycleView; import android.content.Context; import android.support.v7.widget.RecyclerView; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import com.zfxf.douniu.R; import java.util.List; import java.util.Map; /** * @author Admin * @time 20...
using namespace std; namespace eversim { namespace core { namespace rendering { FragmentShader::FragmentShader(const std::string& name) : AttachableShader(name) { } FragmentShader::~FragmentShader() { } void FragmentShader::create(const std::string& filename) { id = glCreateShader(GL_...
<?php namespace Laravel\Database\Query\Grammars; use Laravel\Database\Query; use Laravel\Database\Expression; class Grammar extends \Laravel\Database\Grammar { /** * The format for properly saving a DateTime. * * @var string */ public $datetime = 'Y-m-d H:i:s'; /** * All of the query components in the ...
@import url('./css/SampleView.css');
<?php namespace PHPExiftool\Driver\Tag\DICOM; use JMS\Serializer\Annotation\ExclusionPolicy; use PHPExiftool\Driver\AbstractTag; /** * @ExclusionPolicy("all") */ class CTReconstructionSequence extends AbstractTag { protected $Id = '0018,9314'; protected $Name = 'CTReconstructionSequence'; protecte...
package org.elasticsearch.test; import org.elasticsearch.ElasticsearchParseException; import org.elasticsearch.cluster.AbstractDiffable; import org.elasticsearch.cluster.AbstractNamedDiffable; import org.elasticsearch.cluster.Diffable; import org.elasticsearch.cluster.NamedDiff; import org.elasticsearch.cluster.meta...
namespace location { class GpsInfo; } namespace platform { class Socket; } namespace tracking { class Reporter final { public: static milliseconds const kPushDelayMs; static const char kEnableTrackingKey[]; Reporter(unique_ptr<platform::Socket> socket, string const & host, uint16_t port, millisecond...
#include "src/core/lib/iomgr/port.h" #if defined(GRPC_POSIX_SOCKET) && !defined(GRPC_HAVE_IFADDRS) #include "src/core/lib/iomgr/tcp_server_utils_posix.h" grpc_error *grpc_tcp_server_add_all_local_addrs(grpc_tcp_server *s, unsigned port_index, ...
(function() { 'use strict'; angular.module("myApp").run([ '$templateCache', function($templateCache) { $templateCache.put('ui-grid/pagination', "<div role=\"contentinfo\" class=\"ui-grid-pager-panel\" ui-grid-pager ng-show=\"grid.options.enablePaginationControls\">" + "<div role=\"navigation\" style=\"flo...
<?xml version="1.0"?> <assembly> <id></id> <formats> <format>zip</format> </formats> <includeBaseDirectory>false</includeBaseDirectory> <dependencySets> <dependencySet> <outputDirectory>/</outputDirectory> <useProjectArtifact>true</useProjectArtifact> <useTransitiveFiltering>true</useTransitiveFilteri...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>Loki: Main Page</title> <link href="tabs.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by...
#include <QApplication> #include "guiutil.h" #include "bitcoinaddressvalidator.h" #include "walletmodel.h" #include "bitcoinunits.h" #include "util.h" #include "init.h" #include <QDateTime> #include <QDoubleValidator> #include <QFont> #include <QLineEdit> #if QT_VERSION >= 0x050000 #include <QUrlQuery> #else #inclu...
<?php /** * @since Class available since Release 4.0.0 */ class PHPUnit_Runner_Filter_Group_Exclude extends PHPUnit_Runner_Filter_GroupFilterIterator { /** * @param string $hash * * @return bool */ protected function doAccept($hash) { return !in_array($hash, $this->groupTests...
package instancecommands import ( "github.com/rackspace/rack/commandoptions" "github.com/rackspace/rack/handler" "github.com/rackspace/rack/internal/github.com/codegangsta/cli" osServers "github.com/rackspace/rack/internal/github.com/rackspace/gophercloud/openstack/compute/v2/servers" "github.com/rackspace/rack/i...
#include "app_util_platform.h" #ifdef SOFTDEVICE_PRESENT /* Global nvic state instance, required by nrf_nvic.h */ nrf_nvic_state_t nrf_nvic_state; #endif static uint32_t m_in_critical_region = 0; void app_util_disable_irq(void) { __disable_irq(); m_in_critical_region++; } void app_util_enable_irq(void) { ...
/** * Get the count of the longest repeating streak of `character` in `value`. * * @param {string} value * Content to search in. * @param {string} character * Single character to look for. * @returns {number} * Count of most frequent adjacent `character`s in `value`. */ export function longestStreak(valu...
using Microsoft.Azure; using Microsoft.WindowsAzure.Commands.Compute.Automation.Models; using Microsoft.WindowsAzure.Management.Compute; using Microsoft.WindowsAzure.Management.Compute.Models; using System; using System.Collections.Generic; using System.Linq; using System.Management.Automation; namespace Microsoft.Win...
using Orchard.Environment.Extensions; using Orchard.Localization; using Orchard.UI.Navigation; using Orchard.Security; namespace Orchard.Packaging { [OrchardFeature("Gallery")] public class AdminMenu : INavigationProvider { public Localizer T { get; set; } public string MenuName { ...
package acceptance import ( "fmt" "testing" "time" "github.com/cockroachdb/cockroach/acceptance/localcluster" "github.com/cockroachdb/cockroach/client" "github.com/cockroachdb/cockroach/keys" "github.com/cockroachdb/cockroach/proto" "github.com/cockroachdb/cockroach/util" "github.com/cockroachdb/cockroach/ut...
/// \file DS_MemoryPool.h /// #ifndef __MEMORY_POOL_H #define __MEMORY_POOL_H #ifndef __APPLE__ // Use stdlib and not malloc for compatibility #include <stdlib.h> #endif #include "RakAssert.h" #include "Export.h" #include "RakMemoryOverride.h" // DS_MEMORY_POOL_MAX_FREE_PAGES must be > 1 #define DS_MEMORY_POOL_M...
package restful import ( "errors" "net/http" "net/http/httptest" "testing" ) func TestWriteHeader(t *testing.T) { httpWriter := httptest.NewRecorder() resp := Response{httpWriter, "*/*", []string{"*/*"}, 0, 0, true} resp.WriteHeader(123) if resp.StatusCode() != 123 { t.Errorf("Unexpected status code:%d", re...
/* Generated by camel build tools - do NOT edit this file! */ package org.apache.camel.component.google.mail; import java.util.Map; import org.apache.camel.CamelContext; import org.apache.camel.spi.ExtendedPropertyConfigurerGetter; import org.apache.camel.spi.PropertyConfigurerGetter; import org.apache.camel.spi.Conf...
<?php /** * This class provides the interface for readers of configuration objects of * type ezcConfiguration. * * The reader will unserialize the data from a given format e.g. from an INI * file or a given XML format which can later be written by a * ezcConfigurationWriter. * * The reader is meant to be init...
var createCallback = require('../functions/createCallback'), slice = require('../internals/slice'); /* Native method shortcuts for methods with the same name as other `lodash` methods */ var nativeMax = Math.max; /** * Gets the last element or last `n` elements of an array. If a callback is * provided elements...
<?php namespace yii\validators; use Yii; use yii\web\UploadedFile; use yii\helpers\FileHelper; /** * FileValidator verifies if an attribute is receiving a valid uploaded file. * * Note that you should enable `fileinfo` PHP extension. * * @property integer $sizeLimit The size limit for uploaded files. This prop...
package com.google.common.collect; import com.google.common.annotations.GwtCompatible; import com.google.common.base.Objects; import com.google.errorprone.annotations.CanIgnoreReturnValue; import com.google.errorprone.annotations.CompatibleWith; import java.util.Collection; import java.util.Map; import java.util.Set...
from cms.extensions import PageExtensionAdmin, TitleExtensionAdmin from cms.test_utils.project.extensionapp.models import MyPageExtension, MyTitleExtension from django.contrib import admin class MyPageExtensionAdmin(PageExtensionAdmin): pass admin.site.register(MyPageExtension, MyPageExtensionAdmin) class MyT...
using GitTools.Testing; using GitVersion.BuildAgents; using GitVersion.Core.Tests; using GitVersion.Helpers; using GitVersion.MsBuild.Tests.Mocks; namespace GitVersion.MsBuild.Tests.Helpers; public class MsBuildTaskFixture { private readonly RepositoryFixtureBase fixture; private KeyValuePair<string, string?>...
<?php /** * DO NOT CHANGE */ if (!defined('IN_PHPBB')) { exit; } if (empty($lang) || !is_array($lang)) { $lang = array(); } // DEVELOPERS PLEASE NOTE // // All language files should use UTF-8 as their encoding and the files must not contain a BOM. // // Placeholders can now contain order information, e.g. instead...
<?php namespace App\Providers; use Illuminate\Support\Facades\Event; use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider; class EventServiceProvider extends ServiceProvider { /** * The event listener mappings for the application. * * @var array */ protected...
var Heyoffline, addEvent, destroy, extend, setStyles, __bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; }; extend = function(destination, source) { var property; if (source) { for (property in source) { if (source[property] && source[property].constructor && source[proper...
/** * @file * simple assert() macros that are a bit more flexible than ISO C assert(). * @author Michael Niedermayer <michaelni@gmx.at> */ #ifndef AVUTIL_AVASSERT_H #define AVUTIL_AVASSERT_H #include <stdlib.h> #include "avutil.h" #include "log.h" /** * assert() equivalent, that is always enabled. */ #define...
<?xml version="1.0" encoding="utf-8" standalone="yes" ?> <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> <channel> <title>Hugo on Coding Journal</title> <link>https://64bit.id/tags/hugo/</link> <description>Recent content in Hugo on Coding Journal</description> <generator>Hugo -- gohugo.i...
//*********************************************************// // Copyright (c) Microsoft. All rights reserved. // // Apache 2.0 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,...
from django.contrib import admin, messages from django.contrib.auth import models as auth_models from django import template from collections import defaultdict import logging from django_facebook.utils import get_profile logger = logging.getLogger(__name__) def retry_facebook_invite(modeladmin, request, queryset): ...
<?php namespace Symfony\Component\Form\Extension\Validator\ViolationMapper; use Symfony\Component\Form\FormInterface; use Symfony\Component\Form\Util\VirtualFormAwareIterator; use Symfony\Component\PropertyAccess\PropertyPathIterator; use Symfony\Component\PropertyAccess\PropertyPathBuilder; use Symfony\Component\P...
<?php namespace ZendTest\Validator; use Zend\Validator\StringLength; /** * @category Zend * @package Zend_Validator * @subpackage UnitTests * @group Zend_Validator */ class StringLengthTest extends \PHPUnit_Framework_TestCase { /** * @var StringLength */ protected $validator; /...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>paramcoq: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.cs...
"""Embedding layer.""" # pylint: disable=g-classes-have-attributes from tensorflow.python.keras import backend from tensorflow.python.keras import constraints from tensorflow.python.keras import initializers from tensorflow.python.keras import regularizers from tensorflow.python.keras.engine import base_layer_utils fr...
describe("", function() { var rootEl; beforeEach(function() { rootEl = browser.rootEl; browser.get("build/docs/examples/example-example60/index.html"); }); it('should check ng-bind', function() { var nameInput = element(by.model('name')); expect(element(by.binding('name')).getText()).toBe('Whirled...
package com.amazonaws.services.wellarchitected.model.transform; import java.math.*; import javax.annotation.Generated; import com.amazonaws.services.wellarchitected.model.*; import com.amazonaws.transform.SimpleTypeJsonUnmarshallers.*; import com.amazonaws.transform.*; import com.fasterxml.jackson.core.JsonToken; ...
<!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...