text
stringlengths
3
1.05M
package org.camunda.feel.interpreter.impl import org.camunda.feel.syntaxtree._ import org.scalatest.{FlatSpec, Matchers} class FeelExamplesTest extends FlatSpec with Matchers with FeelIntegrationTest { val context: Val = eval( """ { applicant: { age: 51, maritalStatus: "M", ...
package org.cloudfoundry.operations.organizationadmin; import org.cloudfoundry.Nullable; import org.immutables.value.Value; /** * The request options for the update quota operation */ @Value.Immutable abstract class _UpdateQuotaRequest { /** * The allow paid service plans flag */ @Nullable ...
package org.mifos.test.acceptance.framework.admin; import org.mifos.test.acceptance.framework.MifosPage; import org.testng.Assert; import com.thoughtworks.selenium.Selenium; public class ViewProductCategoriesPage extends MifosPage { public ViewProductCategoriesPage(Selenium selenium) { super(selenium); ...
package org.eclipse.jface.text.templates; import org.eclipse.jface.text.BadPositionCategoryException; import org.eclipse.jface.text.DocumentEvent; import org.eclipse.jface.text.IPositionUpdater; import org.eclipse.jface.text.Position; /** * Position updater that takes any change in [position.offset, position.offset...
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using Microsoft.CodeAnalysis; using Microsoft.CodeAnal...
#ifndef MBED_DEVICE_H #define MBED_DEVICE_H #define DEVICE_PORTIN 1 #define DEVICE_PORTOUT 1 #define DEVICE_PORTINOUT 1 #define DEVICE_INTERRUPTIN 1 #define DEVICE_ANALOGIN 1 #define DEVICE_ANALOGOUT 1 #define DEVICE_SERIAL 1 #define DEVICE_SERIAL_FC 1...
/*-------------------------------------------------- [TRANSITION] ----------------------------------------------------*/ /* Cubic Bezier Transition */ /*-------------------------------------------------- [RGBA Opacity] ----------------------------------------------------*/ /**** Boby ****/ body { b...
package org.apache.hadoop.hbase.ipc; import org.apache.hadoop.hbase.classification.InterfaceAudience; import org.apache.hadoop.hbase.metrics.BaseSourceImpl; import org.apache.hadoop.metrics2.MetricsCollector; import org.apache.hadoop.metrics2.MetricsRecordBuilder; import org.apache.hadoop.metrics2.lib.Interns; impor...
// Copyright (c) 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ppapi/proxy/ext_crx_file_system_private_resource.h" #include "base/bind.h" #include "ppapi/c/pp_errors.h" #include "ppapi/proxy/ppapi_messa...
class OptionDisplay : public GridDisplay { public: OptionDisplay() { StaticRect wnd; wnd.Color(::SColorPaper()); Option f; wnd.SetRect( Rect(Point(0, 0), f.GetStdSize()) ); wnd.Add(f.SizePos()); f.Set(0); ImageDraw w1(wnd.GetSize()); wnd.DrawCtrl(w1); ImageBuffer buf1(w1); _Opt...
Prism.languages.c = Prism.languages.extend('clike', { 'keyword': /\b(_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|asm|typeof|inline|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|int|long|register|return|short|signed|sizeo...
(function() { 'use strict'; angular.module('app') .service('tokenService', [ '$rootScope', '$http', '$q', function($rootScope, $http, $q, $location) { // var serviceBase = 'api/public/'; var serviceBase = '...
title: Supported Platforms --- Calico version {{ page.version }} has supported integration with the following platforms. - Kubernetes v1.1+ - Mesos - Docker - Openstack Mitaka, Liberty, Kilo, Juno and Icehouse
/* * Created by IntelliJ IDEA. * User: yole * Date: 30.11.2006 * Time: 18:12:47 */ package com.intellij.openapi.vcs.changes.committed; import com.intellij.openapi.application.ApplicationManager; import com.intellij.openapi.project.Project; import com.intellij.openapi.ui.MessageType; import com.intellij.openapi....
/** * Parses a list of files. */ public List<JCCompilationUnit> parseFiles(List<JavaFileObject> fileObjects) throws IOException { try {//我加上的 DEBUG.P(this,"parseFiles(1) (语法分析......)"); if (errorCount() > 0) return List.nil(); //parse all files L...
/** * */ package uk.co.jemos.podam.test.dto; import org.hibernate.validator.constraints.Email; import org.hibernate.validator.constraints.NotEmpty; import java.math.BigDecimal; import java.math.BigInteger; import java.util.Calendar; import java.util.Collection; import java.util.Date; import javax.validation.const...
package.path = package.path .. "rfc2544/?.lua" local standalone = false if master == nil then standalone = true master = "dummy" end local dpdk = require "dpdk" local memory = require "memory" local device = require "device" local ts = require "timestamping" local filter = require...
<?php /** * Deprecated functions from WordPress MU and the multisite feature. You shouldn't * use these functions and look for the alternatives instead. The functions will be * removed in a later version. * * @package WordPress * @subpackage Deprecated * @since 3.0.0 */ /* * Deprecated functions come here to ...
require 'redis' require 'redis_stream_broker' redis_auth_hash = {:host => ENV['REDIS_HOST'], :port => ENV['REDIS_PORT']} redis_auth_hash[:password] = ENV['REDIS_PASSWORD'] if ENV.has_key?('REDIS_PASSWORD') # Configure the RedisStreamBroker auth so we never have to again RedisStreamBroker.configure( redis_auth_hash ) ...
package com.deleidos.rtws.commons.util; import junit.framework.TestCase; import junit.framework.TestSuite; import org.junit.Test; import com.deleidos.rtws.commons.util.BugCheckException; public class BugCheckExceptionTest extends TestCase { public BugCheckExceptionTest(String testName) { super(testName); } ...
package controller import ( "gopkg.in/goyy/goyy.v0/data/entity" "gopkg.in/goyy/goyy.v0/data/result" "gopkg.in/goyy/goyy.v0/web/xhttp" ) type post struct { PostIndex func(c xhttp.Context, r *result.Page) error PostShow func(c xhttp.Context, r *result.Entity) error PostAdd func(c xhttp.Conte...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>tortoise-hare-algorithm: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../b...
/** * formatJS(rawJSON) * Formats JSON and returns JSON string * @param rawJSON: requires return result from getJSON() */ const formatJS = (symbol, options = {}) => { /*const newOptions = Object.assign( { json: true, }, options );*/ // iconMeta - returns new JSON Array of icon Objects //...
<ion-popover-view class="popoverMenu"> <ion-content> <a href="http://learn.ionicframework.com/" target="_blank"> Learn Ionic </a> <br/> <a href="http://ionicframework.com/docs/" target="_blank"> Documentation </a> <br/> <a href="http://showcase.ionicframework.com/" target="_blank"> Showcase </...
<?xml version="1.0" encoding="utf-8"?> <metadata> <view title="Category"> <message><![CDATA[TYPECATEGLAYDESC]]></message> </view> </metadata>
<?php namespace yii\log; use Yii; use yii\base\Component; /** * Logger records logged messages in memory and sends them to different targets if [[dispatcher]] is set. * * A Logger instance can be accessed via `Yii::getLogger()`. You can call the method [[log()]] to record a single log message. * For convenience...
<?php namespace alkemann\jsonapi\tests\unit\response; use alkemann\h2l\Message; use alkemann\jsonapi\Controller; use alkemann\jsonapi\response\Error; class ErrorTest extends \PHPUnit_Framework_TestCase { private function createHeaderMock(array $expectations): \Closure { $header = $this->getMockBuilde...
package command import ( "errors" "github.com/coreos/etcd/Godeps/_workspace/src/github.com/codegangsta/cli" "github.com/coreos/etcd/Godeps/_workspace/src/github.com/coreos/go-etcd/etcd" ) // NewRemoveCommand returns the CLI command for "rm". func NewRemoveCommand() cli.Command { return cli.Command{ Name: "rm"...
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>ssl::context::file_format</title> <link rel="stylesheet" href="../../../boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.75.2"> <link rel="home" href="../../../index.html" title="Asio"> ...
var parse = require('../parse/index.js') /** * @category Weekday Helpers * @summary Is the given date Friday? * * @description * Is the given date Friday? * * @param {Date|String|Number} date - the date to check * @returns {Boolean} the date is Friday * * @example * // Is 26 September 2014 Friday? * var re...
declare module "M" { import T from "TM"; }
//*********************************************************// // 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,...
<?xml version="1.0" ?> <container xmlns="http://symfony.com/schema/dic/services" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:framework="http://symfony.com/schema/dic/symfony" xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd ...
Facter.add(:rabbitmq_erlang_cookie) do confine :osfamily => %w[Debian RedHat Suse] setcode do if File.exists?('/var/lib/rabbitmq/.erlang.cookie') File.read('/var/lib/rabbitmq/.erlang.cookie') else nil end end end
module Faker module LoremFR extend ModuleUtils extend self def word WORDS.rand end def words(num = 3) WORDS.random_pick(num) end def sentence(word_count = 4) s = words(word_count + rand(6)) s = s.join(' ') s.capitalize! "#{s}." end alias_meth...
&& !defined(BOOST_MPL_PREPROCESSING_MODE) # define BOOST_MPL_PREPROCESSED_HEADER vector50_c.hpp # include <boost/mpl/vector/aux_/include_preprocessed.hpp> #else # include <boost/mpl/aux_/config/typeof.hpp> # include <boost/mpl/aux_/config/ctps.hpp> # include <boost/preprocessor/iterate.hpp> namespace boo...
(function($) { /** * FlipClock Canadian French Language Pack * * This class will used to translate tokens into the Canadian French language. * */ FlipClock.Lang.French = { 'years' : 'ans', 'months' : 'mois', 'days' : 'jours', 'hours' : 'heures', 'minutes' : 'minutes', ...
""" Django settings for MyBlog project. For more information on this file, see https://docs.djangoproject.com/en/1.7/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.7/ref/settings/ """ # Build paths inside the project like this: os.path.join(BASE_DIR, ...) impo...
#include <Rtl.Base.h> #include <FarPluginBase.hpp> #include "wcx.class.h" PluginStartupInfo Info; FARSTANDARDFUNCTIONS FSF; WcxModules *pModules; int OnInitialize (StartupInfo *pInfo) { Info = pInfo->Info; FSF = *pInfo->Info.FSF; Info.FSF = &FSF; pModules = new WcxModules; return NAERROR_SUCCESS; } int On...
<?php namespace SystemConnector\Validator\Product\Variation; use Assert\Assertion; use DateTimeImmutable; use SystemConnector\TransferObject\Product\Barcode\Barcode; use SystemConnector\TransferObject\Product\Image\Image; use SystemConnector\TransferObject\Product\Price\Price; use SystemConnector\TransferObject\Produ...
// DefinitelyTyped: partial // This file contains common part of defintions for rx.async.d.ts and rx.lite.d.ts // Do not include the file separately. ///<reference path="rx-lite.d.ts"/> declare module Rx { export module config { /** * Configuration option to determine whether to use native events only */ ex...
Copyright (c) 2009-2011 Daniele Alessandri 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, copy, modify, merge, publish, distr...
using System.Runtime.InteropServices; using System; internal class NullableTest { private static bool BoxUnboxToNQGen<T>(T o) { return ((ValueType)(object)o) == null; } private static bool BoxUnboxToQGen<T>(T? o) where T : struct { return ((T?)(object)(ValueType)o) == null; } ...
package com.fincatto.documentofiscal.nfe310.classes; import com.fincatto.documentofiscal.DFAmbiente; import com.fincatto.documentofiscal.nfe310.FabricaDeObjetosFake; import org.junit.Assert; import org.junit.Test; public class NFProtocoloInfoTest { @Test public void deveObterIdentificadorComoFoiSetado() { ...
package com.orientechnologies.orient.test.domain.business; public class Address { private String type; private String street; private City city; public Address() { } public Address(String iType, City iCity, String iStreet) { type = iType; city = iCity; street = iStreet; } public Strin...
""" AUTHOR: Gabriel Bassett DATE: 12-17-2013 DEPENDENCIES: a list of modules requiring installation Copyright 2014 Gabriel Bassett LICENSE: 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 ...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>MooEditable example with extra toolbar items</title> <style type="text/css"> body{ font-family: sans-serif; font-size: .9...
using namespace std; namespace c = std::chrono; using namespace benchmarks::util; int main(int argc, char * argv[]) { int times_exe = std::stoi(argv[1]); int data_size = std::stoi(argv[2]); vector<std::chrono::milliseconds> times; times.reserve(times_exe); for (int i = 0; i < times_exe; ++i) { ...
.class public interface abstract Landroid/os/Parcelable$Creator; .super Ljava/lang/Object; .source "Parcelable.java" # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Landroid/os/Parcelable; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x609 na...
#include <wctype.h> int iswgraph(wint_t wc) { /* ISO C defines this function as: */ return !iswspace(wc) && iswprint(wc); }
'use strict'; var path = require('path'); var conf = require('./gulp/conf'); var _ = require('lodash'); var wiredep = require('wiredep'); var pathSrcHtml = [ path.join(conf.paths.src, '/**/*.html') ]; function listFiles() { var wiredepOptions = _.extend({}, conf.wiredep, { dependencies: true, devDepende...
/*! FileAPI 2.0.7 - BSD | git://github.com/mailru/FileAPI.git * FileAPI — a set of javascript tools for working with files. Multiupload, drag'n'drop and chunked file upload. Images: crop, resize and auto orientation by EXIF. */ /* * JavaScript Canvas to Blob 2.0.5 * https://github.com/blueimp/JavaScript-Canvas-to...
/* Includes ------------------------------------------------------------------*/ #include "stm32f4xx_hal.h" /** @addtogroup STM32F4xx_HAL_Driver * @{ */ /** @defgroup I2C I2C * @brief I2C HAL module driver * @{ */ #ifdef HAL_I2C_MODULE_ENABLED /* Private typedef -----------------------------------------...
'use strict'; var path = require('path'); var File = require('./file'); var _ = require('lodash'); var deepMerge = function (origCfg, cfg) { var outCfg = origCfg; if (origCfg.files && cfg.files) { outCfg.files = _.union(origCfg.files, cfg.files); } else if (cfg.files) { outCfg.files = cfg.files; } ...
package org.openqa.selenium.logging; import java.util.Comparator; import com.google.common.collect.Iterables; import com.google.common.collect.Lists; public class LogCombiner { private static final Comparator<LogEntry> LOG_ENTRY_TIMESTAMP_COMPARATOR = new Comparator<LogEntry>() { public int compare(Log...
This example highlights a common problem where you don't want to reload the browser until a 2 or more slow-running tasks have completed. The solution is to create the intermediate task that ensures `browserSync.reload` is not called until both slow tasks are complete.
package org.uberfire.annotations.processors; import com.google.gwt.user.client.ui.IsWidget; import com.google.gwt.user.client.ui.SimplePanel; import org.uberfire.client.annotations.WorkbenchEditor; import org.uberfire.client.annotations.WorkbenchPartView; import org.uberfire.client.mvp.MyTestType; @WorkbenchEditor(id...
namespace sandbox { DWORD CreateRestrictedToken(TokenLevel security_level, IntegrityLevel integrity_level, TokenType token_type, base::win::ScopedHandle* token) { RestrictedToken restricted_token; restricted_token.Init(NULL); // I...
package com.trilead.ssh2.packets; import java.io.IOException; /** * PacketOpenSessionChannel. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketOpenSessionChannel.java,v 1.1 2007/10/15 12:49:55 cplattne Exp $ */ public class PacketOpenSessionChannel { byte[] payload; int channelID; ...
import { getPublishedGraphersBySlug } from "../../baker/GrapherImageBaker" import { closeTypeOrmAndKnexConnections } from "../../db/db" import * as fs from "fs-extra" import parseArgs from "minimist" import * as utils from "./utils" import * as path from "path" const Pool = require("multiprocessing").Pool const pool...
package main import . "github.com/visionmedia/go-debug" import "time" var debug = Debug("single") func main() { for { debug("sending mail") debug("send email to %s", "tobi@segment.io") debug("send email to %s", "loki@segment.io") debug("send email to %s", "jane@segment.io") time.Sleep(500 * time.Milliseco...
Perform a rolling update of the given ReplicationController. ### Synopsis Perform a rolling update of the given ReplicationController. Replaces the specified replication controller with a new replication controller by updating one pod at a time to use the new PodTemplate. The new-controller.json must specify the sa...
.clear, .clear-10, .clear-20, .clear-40, .clear-50, .clear-100 { clear: both; } .clear-10 { margin-bottom: 10px; } .clear-20 { margin-bottom: 20px; } .clear-40 { margin-bottom: 40px; } .clear-50 { margin-bottom: 50px; } .clear-100 { margin-bottom: 100px; } .header { background-color: #333; width: 100%; ...
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2012 The Bitcoin developers // Copyright (c) 2013-2014 Dogecoin Developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_UI_INTERFACE_H #define BITCOIN...
#import <Foundation/Foundation.h> #import <React/RCTBridgeModule.h> #import <React/RCTFrameUpdate.h> #import <React/RCTInvalidating.h> @interface RCTTiming : NSObject <RCTBridgeModule, RCTInvalidating, RCTFrameUpdateObserver> @end
<?php namespace ZfcRbac\Service; /** * Makes a class AuthorizationService aware * * @author Aeneas Rekkas * @license MIT License */ trait AuthorizationServiceAwareTrait { /** * The AuthorizationService * * @var AuthorizationService */ protected $authorizationService; /** *...
#pragma once #include "util/exception.h" #include "util/sexpr/options.h" #include "kernel/formatter.h" #include "kernel/expr.h" namespace lean { /** \brief Base class for exceptions with support for pretty printing. */ class ext_exception : public exception { public: ext_exception() {} ext_exception(char cons...
$HI = 0 $LO = 0 class Lo_Exception < Exception def initialize(num) @value = num end end class Hi_Exception < Exception def initialize(num) @value = num end end def some_function(num) begin hi_function(num) rescue print "We shouldn't get here, exception is: #{$!.type}\n" end end def hi_...
/* config.h. Generated from config.h.in by configure. */ /* config.h.in. Generated from configure.in by autoheader. */ /* Define to 1 if you have the <ansidecl.h> header file. */ /* #undef HAVE_ANSIDECL_H */ /* Define to 1 if you have the <arpa/inet.h> header file. */ #define HAVE_ARPA_INET_H 1 /* Define to 1 if...
#ifndef TENSORFLOW_LITE_EXPERIMENTAL_RESOURCE_LOOKUP_INTERFACES_H_ #define TENSORFLOW_LITE_EXPERIMENTAL_RESOURCE_LOOKUP_INTERFACES_H_ #include <unordered_map> #include "tensorflow/lite/core/c/common.h" #include "tensorflow/lite/experimental/resource/lookup_util.h" #include "tensorflow/lite/experimental/resource/reso...
author: JeremyKelley ms.author: JeremyKe ms.date: 09/17/2017 title: ListItemVersion - OneDrive API ms.localizationpriority: Medium --- # ListItemVersion resource type The **listItemVersion** resource represents a previous version of a [ListItem](listitem.md) resource. ## Tasks on ListItemVersion resources The follow...
<?php namespace Symfony\Component\Security\Core\Authentication\Provider; use Symfony\Component\Security\Core\User\UserProviderInterface; use Symfony\Component\Security\Core\User\UserCheckerInterface; use Symfony\Component\Security\Core\Exception\BadCredentialsException; use Symfony\Component\Security\Core\Authentic...
#ifndef QUICKSTEP_PARSER_PARSE_HAVING_HPP_ #define QUICKSTEP_PARSER_PARSE_HAVING_HPP_ #include <memory> #include <string> #include <vector> #include "parser/ParsePredicate.hpp" #include "parser/ParseTreeNode.hpp" #include "utility/Macros.hpp" namespace quickstep { /** \addtogroup Parser * @{ */ /** * @brief ...
/*! \file usbh_int.h \brief USB host mode interrupt handler header file \version 2014-12-26, V1.0.0, firmware for GD32F10x \version 2017-06-20, V2.0.0, firmware for GD32F10x \version 2018-07-31, V2.1.0, firmware for GD32F10x */ /* Copyright (c) 2018, GigaDevice Semiconductor Inc. All rig...
using System; using System.Linq; using Microsoft.Azure.Management.DataLake.Analytics.Models; namespace Microsoft.Azure.Management.DataLake.Analytics.Models { /// <summary> /// Additional Data Lake Store parameters. /// </summary> public partial class AddDataLakeStoreParameters { private Dat...
ACCEPTED #### According to Index Fungorum #### Published in null #### Original name Perisporium nitidum Berk. ### Remarks null
/* Write PDF stylesheets here. */
set -e script_root=`dirname "${BASH_SOURCE}"` # When this script is run with the argument "--enable-tls", then it will connect to VTGate using TLS with # client authentication. This option depends upon the "vtgate-up.sh" script having also been run with # a corresponding "--enable-tls" argument. optional_tls_args=''...
<bx_include_base:../modules/base/text/template/form_categories.html />
EXPINCDIRS = 3D SOLID PKGSUBDIRS = $(EXPINCDIRS) src_PKGFILES = $(shell find * -maxdepth 0 -type f -print) src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCS_BASE},,$(shell pwd)) include ${MAKE_DEFAULT}
"""Tests for contrib.resampler.python.ops.resampler_ops.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function import numpy as np from six.moves import xrange # pylint: disable=redefined-builtin from tensorflow.contrib import resampler from tensorflow.python....
/** * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components * @version v4.0.2 * @link http://www.ag-grid.com/ * @license MIT */ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : ...
2.20.3 / 2019-10-11 ================== * Support Node.js 0.10 (Revert #1059) * Ran "npm unpublish commander@2.20.2". There is no 2.20.2. 2.20.1 / 2019-09-29 ================== * Improve executable subcommand tracking * Update dev dependencies 2.20.0 / 2019-04-02 ================== * fix: resolve symbolic...
package org.apache.calcite.rel.core; import org.apache.calcite.plan.RelOptCluster; import org.apache.calcite.plan.RelTraitSet; import org.apache.calcite.rel.RelInput; import org.apache.calcite.rel.RelNode; import org.apache.calcite.rel.hint.RelHint; import org.apache.calcite.rel.metadata.RelMdUtil; import org.apache....
using System; using System.Xml; using System.Collections; using System.Diagnostics; using System.Runtime.Serialization; using System.Collections.Generic; using System.Collections.ObjectModel; namespace System.Xml { public class XmlBinaryWriterSession { private PriorityDictionary<string, int> _strings;...
title: .flowconfig [ignore] slug: /config/ignore --- Flow needs to know which files to read and watch for changes. This set of files is determined by taking all included files and excluding all the ignored files. ### `[ignore]` {#toc-ignore} The `[ignore]` section in a `.flowconfig` file tells Flow to ignore files m...
package org.apereo.cas.config; import com.google.common.base.Throwables; import org.apereo.cas.CipherExecutor; import org.apereo.cas.authentication.DefaultMultifactorTriggerSelectionStrategy; import org.apereo.cas.authentication.MultifactorTriggerSelectionStrategy; import org.apereo.cas.authentication.ProtocolAttribut...
package storsimple // Copyright (c) Microsoft and contributors. 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 // // ...
// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. #pragma once #include <stdint.h> namespace faiss { /** Product Quantizer. Implemented only for METRIC_L2 */ struct Quantizer { using idx_t = Index::idx_t; size_t d; ///< size of the input vectors size_t code_size; ///< by...
// ============================================================= // Quantizer objects and functions // // Design and implementation by: // - Hervé Drolon <drolon@infonie.fr> // // This file is part of FreeImage 3 // // COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTY // OF ANY KIND, EIT...
namespace Microsoft.OneDrive.Sdk { /// <summary> /// The interface IDriveRecentCollectionPage. /// </summary> public interface IDriveRecentCollectionPage : ICollectionPage<Item> { /// <summary> /// Gets the next page <see cref="IDriveRecentRequest"/> instance. /// </summary> ...
using System; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.WindowsAzure; using Microsoft.WindowsAzure.Management.Compute.Models; namespace Microsoft.WindowsAzure.Management.Compute { /// <summary> /// Operations for managing service certificates for your subscription...
;(function($){ $.fn.extend({ imgLiquid: function(options) { //is ie? var isIE = /*@cc_on!@*/false; //Sizes var totalItems = this.size(); var processedItems = 0; //Ssettings / Options this.defaultOptions = {}; //______________________________________________________________...
using Xunit; namespace System.Collections.Specialized.Tests { public class NameValueCollectionGetKeyTests { [Theory] [InlineData(0)] [InlineData(5)] public void Get_InvalidIndex_ThrowsArgumentOutOfRangeException(int count) { NameValueCollection nameValueColle...
import hashlib from typing import Text from unittest.mock import patch from django.conf import settings from django.db import migrations from django.db.backends.postgresql.schema import DatabaseSchemaEditor from django.db.migrations.state import StateApps from zerver.lib.upload import upload_backend from zerver.lib.u...
layout: post date: 2011-08-08 time: "09:00:00" authors: ["Greg Wilson"] title: Introducing Programming a Different Way category: ["Content"] --- <p>Our quick introduction to Python is the module I'm least happy with, so I've been thinking about how to re-design it. I've included a new outline below; comments would be v...
namespace petuum { // Multi-threaded sparse row, support unbounded # of columns. There is never // non-zero entry in the map storage, as ApplyInc / ApplyBatchInc // removes the zero-writes. template<typename V> class MapStore : public AbstractStore<V> { public: MapStore() { } ~MapStore() { } MapStore(const M...
#ifndef __PERF_H__ #define __PERF_H__ #define PERF_START /* null definition */ #define PERF_STOP(x) /* null definition */ #endif /* __PERF_H__ */
function [rfPositionsMicrons, rfPositionsDegs] = finalMRGCPositions(... sourceLatticeSizeDegs, eccMicrons, sizeMicrons, whichEye, ... MMsToDegsConversionFunction) % Load mRGC RF positions p = retinalattice.configure(sourceLatticeSizeDegs, 'midget ganglion cells', whichEye); load(fullfile(p.lat...
import collections class OrderedSet(collections.MutableSet): KEY, PREV, NEXT = range(3) def __init__(self, iterable=None): self.end = end = [] end += [None, end, end] # sentinel node for doubly linked list self.map = {} # key --> [key, prev, next] if iterable is not None...