text
stringlengths
3
1.05M
import { GET_ITEM_DATA_BY_URL, GET_ITEMS_BY_ID, ITEMS_REQUEST, ITEMS_SUCCESS, ITEMS_FAILURE, FETCH_ITEM_BY_URL_REQUEST, FETCH_ITEM_BY_URL_SUCCESS, FETCH_ITEM_BY_URL_FAILURE, UPDATE_ITEMS_CATEGORY_REQUEST, UPDATE_ITEMS_CATEGORY_SUCCESS, UPDATE_ITEMS_CATEGORY_FAILURE, UPDATE_ITEMS_CATEGORY, UPDATE_I...
namespace boost { namespace mpl { #if defined(BOOST_MPL_CFG_TYPEOF_BASED_SEQUENCES) template<> struct clear_impl< aux::vector_tag > { template< typename Vector > struct apply { typedef vector0<> type; }; }; #else #if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) template< long N > struct c...
// Copyright 2016 The Bazel Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appl...
set -x set -e # This script is under <repo_root>/tensorflow/tools/ci_build/windows/gpu/pip/ # Change into repository root. script_dir=$(dirname $0) cd ${script_dir%%tensorflow/tools/ci_build/windows/gpu/pip}. # Setting up the environment variables Bazel and ./configure needs source "tensorflow/tools/ci_build/windows/...
/*! DataTables Bootstrap MultiSelect integration * */ /** * DataTables integration for Bootstrap MultiSelect. This requires Bootstrap MultiSelect (and dependencies) and * DataTables 1.10 or newer. * for further information. * https://github.com/omarcho/dataTables.multiSelect/ */ (function( factory ){ if ( t...
"use strict"; var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _objectWithoutPropertiesLoose2 = ...
package io.druid.query; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeInfo; import java.util.List; @JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type", defaultImpl = LegacyD...
@interface BaseViewController : UIViewController @property (nonatomic, strong) NavBar *navBar; - (void)setTabBarHidden:(BOOL)isHidden; - (void)configNavBarStyle:(XXBarStyle)barStyle title:(NSString *)title; @end
/* Inicialització en català per a l'extenció 'calendar' per jQuery. */ /* Writers: (joan.leon@gmail.com). */ jQuery(function($){ $.datepicker.regional['ca'] = {clearText: 'Netejar', clearStatus: '', closeText: 'Tancar', closeStatus: '', prevText: '&lt;Ant', prevStatus: '', nextText: 'Seg&gt;', nextStatus: ...
import isSymbol from './isSymbol.js'; /** Used as references for the maximum length and index of an array. */ var MAX_ARRAY_LENGTH = 4294967295, MAX_ARRAY_INDEX = MAX_ARRAY_LENGTH - 1; /* Built-in method references for those with the same name as other `lodash` methods. */ var nativeFloor = Math.floor, native...
from redis import Redis, RedisError from remotecv.unique_queue import UniqueQueue from thumbor.detectors import BaseDetector from thumbor.utils import logger class QueuedDetector(BaseDetector): queue = None detection_type = 'all' def detect(self, callback): self.context.request.prevent_result_st...
require File.expand_path('../../../spec_helper', __FILE__) require File.expand_path('../fixtures/classes', __FILE__) require File.expand_path('../shared/send', __FILE__) describe "Kernel#send" do it "invokes the named public method" do class KernelSpecs::Foo def bar 'done' end end Ker...
import {getSystemPath, normalize, virtualFs} from '@angular-devkit/core'; import {TempScopedNodeJsSyncHost} from '@angular-devkit/core/node/testing'; import {HostTree} from '@angular-devkit/schematics'; import {SchematicTestRunner, UnitTestTree} from '@angular-devkit/schematics/testing'; import * as shx from 'shelljs...
namespace Microsoft.Azure.Management.Authorization.Models { using Newtonsoft.Json; using System.Linq; /// <summary> /// Role Assignment Metrics /// </summary> public partial class RoleAssignmentMetricsResult { /// <summary> /// Initializes a new instance of the RoleAssignmen...
package org.apache.storm.kafka.spout; import java.util.regex.Pattern; import org.apache.kafka.clients.consumer.ConsumerRebalanceListener; import org.apache.kafka.clients.consumer.KafkaConsumer; import org.apache.storm.task.TopologyContext; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * Subscribe to...
@interface ListController : BaseViewController @end
 #include <aws/cloudfront/model/OriginRequestPolicyQueryStringBehavior.h> #include <aws/core/utils/HashingUtils.h> #include <aws/core/Globals.h> #include <aws/core/utils/EnumParseOverflowContainer.h> using namespace Aws::Utils; namespace Aws { namespace CloudFront { namespace Model { namespace Or...
<?php namespace Illuminate\Queue; use Illuminate\Contracts\Queue\Job as JobContract; trait InteractsWithQueue { /** * The underlying queue job instance. * * @var \Illuminate\Contracts\Queue\Job */ protected $job; /** * Get the number of times the job has been attempted. * ...
var DocumentPickerDialogTitle = "Please select your documents"; var DocumentPickerSelectButtontext = "Select &gt;&gt;" var DocumentPickerSelectedDocumentsTitle = "Selected documents:"; var DocumentPickerOkButton = "OK"; var DocumentPickerCancelButton = "Cancel"; var DocumentPickerAddDocumentsImage = "Click here to add...
package com.raizlabs.android.dbflow.processor.handler; import com.google.common.collect.Sets; import com.raizlabs.android.dbflow.annotation.Database; import com.raizlabs.android.dbflow.processor.model.ProcessorManager; import com.raizlabs.android.dbflow.processor.writer.DatabaseWriter; import java.util.Set; import j...
using apps_helper::DisableApp; using apps_helper::EnableApp; using apps_helper::HasSameAppsAsVerifier; using apps_helper::IncognitoDisableApp; using apps_helper::IncognitoEnableApp; using apps_helper::InstallApp; using apps_helper::InstallAppsPendingForSync; using apps_helper::UninstallApp; using sync_integration_test_...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Runtime.InteropServices; using System.Text; // ReSharper disable InconsistentNaming namespace winsw { class ServiceManager : IDisposable { private IntPtr _handle; public ServiceManager() ...
package api const ( // AnnotationAlphaProvidedIPAddr is a node IP annotation set by the "external" cloud provider. // When kubelet is started with the "external" cloud provider, then // it sets this annotation on the node to denote an ip address set from the // cmd line flag (--node-ip). This ip is verified with...
using System; using System.Collections.Generic; using System.Security.Claims; using System.Security.Principal; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; namespace NewsSite { public partial class SiteMaster : MasterPage { private const string Ant...
using blink::WebString; using blink::WebURL; using blink::WebURLError; using blink::WebURLLoader; using blink::WebURLLoaderClient; using blink::WebURLRequest; using blink::WebURLResponse; using std::string; namespace content { class MultipartResponseDelegateTester { public: MultipartResponseDelegateTester(Multipar...
package org.wso2.carbon.apimgt.api; /** * Thrown when unsupported throttling policy is identified. * <p> * Ex: Object of custom policy type is sent to addPolicy * </p> */ public class UnsupportedPolicyTypeException extends APIManagementException { public UnsupportedPolicyTypeException(String msg) { ...
/*********************************************************************** created: Wed, 8th Feb 2012 author: Lukas E Meindl (based on code by Paul D Turner) *************************************************************************/ /*************************************************************************...
package com.alibaba.cobar.manager.dao; import java.util.List; import com.alibaba.cobar.manager.dataobject.xml.UserDO; public interface UserDAO { public UserDO validateUser(String username, String password); public boolean checkName(String username); public boolean checkName(String username, long use...
package com.kanomiya.steward.model.assets.resource; import java.io.File; import java.io.IOException; import java.nio.file.FileVisitResult; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.SimpleFileVisitor; import java.nio.file.attribute.BasicFileAttributes; import java.util.List; import jav...
package com.navercorp.pinpoint.common.hbase; import java.io.IOException; import java.util.Properties; import org.junit.Assert; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hbase.HBaseConfiguration; import org.apache.hadoop.hbase.TableNotFoundException; import org.junit.AfterClass; import o...
/** * */ package uk.co.terminological.datatypes; import java.util.ArrayList; import java.util.Collection; /** * @author RCHALLEN * */ public class FluentList<S> extends ArrayList<S> { private static final long serialVersionUID = 1L; @SafeVarargs public static <T> FluentList<T> create(T...
/** * @file mpk.c * @author Josef Raschen <josef@raschen.org> */ #define _POSIX_C_SOURCE 200809L #include <sys/stat.h> #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> #include <stdlib.h> #include <stdio.h> #include <string.h> #include <syslog.h> #include <dirent.h> #include <linux/limits.h> #include...
import qualified Data.Vector as U import Data.Bits main = print . U.sum . U.repeat 10 $ U.replicate (10000000 :: Int) (5::Int)
Meteor.methods({ download: function(descripcion,id,type,from,to,more) { var collection = CreateId.find({descripcion:{'$regex' : descripcion}, origenId:{'$regex' : id}, type:{'$regex' : type}, createdAt:{ $gte : from, $lt: to }}, ...
package servlet import javax.servlet.http.{HttpSessionEvent, HttpSessionListener} import org.apache.commons.io.FileUtils import util.Directory._ /** * Removes session associated temporary files when session is destroyed. */ class SessionCleanupListener extends HttpSessionListener { def sessionCreated(se: HttpSes...
package upgrade import ( "context" "os" "github.com/pkg/errors" v1 "k8s.io/api/core/v1" apierrors "k8s.io/apimachinery/pkg/api/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/labels" errorsutil "k8s.io/apimachinery/pkg/util/errors" clientset "k8s.io/client-go/kubernetes" "k...
using System; public static class Program { public class Container { private int _x; public Container (int x) { Console.WriteLine("Container constructor called"); _x = x; } } public class Sample { private static Container c; static Sample ...
package storage import ( . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/labels" "k8s.io/apimachinery/pkg/types" utilerrors "k8s.io/apimachinery/pkg/util/errors" clientset "k8s.io/client-go/kubernetes" "k8s.io/...
package main import ( "path/filepath" "runtime" "strings" ) // driveLetterToUpper converts Windows path's drive letters to uppercase. This // is needed when comparing 2 paths with different drive letter case. func driveLetterToUpper(path string) string { if runtime.GOOS != "windows" || path == "" { return path ...
namespace http { namespace server3 { namespace mime_types { /// Convert a file extension into a MIME type. std::string extension_to_type(const std::string& extension); } // namespace mime_types } // namespace server3 } // namespace http #endif // HTTP_SERVER3_MIME_TYPES_HPP
<!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 (the ...
require 'highline' require 'cli-console' require 'pry' require_relative 'common' require_relative 'player' require_relative 'inventory' module Gemwarrior class Shell private extend CLI::Task public def initialize(world) @world = world end usage 'Usage: character' ...
#if !defined(FUSION_HAS_KEY_10022005_1617) #define FUSION_HAS_KEY_10022005_1617 #include <boost/mpl/has_key.hpp> #include <boost/fusion/sequence/intrinsic/has_key.hpp> namespace boost { namespace mpl { template <typename Tag> struct has_key_impl; template <> struct has_key_impl<fusion::fusion_sequen...
namespace chrome { namespace android { // static SceneLayer* SceneLayer::FromJavaObject(JNIEnv* env, jobject jobj) { if (jobj == nullptr) return nullptr; return reinterpret_cast<SceneLayer*>(Java_SceneLayer_getNativePtr(env, jobj)); } SceneLayer::SceneLayer(JNIEnv* env, jobject jobj) : SceneLayer(env, ...
#ifndef _EI_TRACE_H #define _EI_TRACE_H erlang_trace *ei_trace(int query, erlang_trace *token); #endif /* _EI_TRACE_H */
module Ebay # :nodoc: module Types # :nodoc: # == Attributes # time_node :expected_release_date, 'ExpectedReleaseDate', :optional => true # value_array_node :required_seller_actions, 'RequiredSellerActionArray', 'RequiredSellerAction', :default_value => [] # numeric_node :num_of_req_seller_actions,...
package org.springframework.boot.cli.compiler; import java.util.List; import org.codehaus.groovy.ast.AnnotationNode; import org.codehaus.groovy.ast.ClassNode; import org.codehaus.groovy.ast.ModuleNode; import org.codehaus.groovy.ast.expr.ConstantExpression; import org.codehaus.groovy.control.SourceUnit; import org....
<?php namespace Zend\Form\View\Helper; use Zend\Form\ElementInterface; class FormRange extends FormInput { /** * Attributes valid for the input tag type="range" * * @var array */ protected $validTagAttributes = array( 'name' => true, 'autocomplete' => true, ...
<!doctype html> <title>cross-document channel</title> <script src="../../../resources/testharness.js"></script> <script src="../../../resources/testharnessreport.js"></script> <iframe src=004-1.html></iframe><iframe src=004-2.html></iframe> <div id="log"></div> <script> var t = async_test(); onload = t.step_func( fun...
 #pragma once #include <aws/cloudsearchdomain/CloudSearchDomain_EXPORTS.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <utility> namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace CloudSearchDomain { namespace Model...
<?xml version="1.0" encoding="utf-8"?> <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@color/colorPrimary"> <ImageView android:id="@+id/bing_pic_img" android:layout_...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #nullable disable namespace Microsoft.CodeAnalysis.Diagnostics.Telemetry { /// <summary> /// Contains the ...
import React from 'react'; import { NavLink, Switch, Route, Redirect } from 'react-router-dom'; import About from './About'; import Home from './Home'; import Products from './Products'; import Product from './Product'; function App() { return (<div> <nav className="navbar navbar-default"> <div className=...
<!doctype html> <html> <head> <!-- This page has the string "style" wherever it seemed valid --> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <style type="text/css"> div { margin: 0; padding: 0; } .foo { color: #f00; } #myDiv { display: block; }</style> <title>embedded-styles t...
package command import ( "fmt" "strconv" "github.com/coreos/etcd/clientv3" "github.com/spf13/cobra" ) var compactPhysical bool // NewCompactionCommand returns the cobra command for "compaction". func NewCompactionCommand() *cobra.Command { cmd := &cobra.Command{ Use: "compaction [options] <revision>", Sh...
@InterfaceAudience.Public @InterfaceStability.Evolving package org.apache.hadoop.yarn.api.records.timeline; import org.apache.hadoop.classification.InterfaceAudience; import org.apache.hadoop.classification.InterfaceStability;
@interface WPLegacyKeyboardToolbarButtonItem : UIButton @property (nonatomic, strong) NSString *actionTag, *actionName; + (id)button; - (void)setImageName:(NSString *)imageName; - (void)setImageName:(NSString *)imageName withColor:(UIColor *)tintColor highlightColor:(UIColor *)highlightColor; @end
#ifndef __PixelBuffer_h__ #define __PixelBuffer_h__ #include "Matrix.h" #define ALIGN_SIZE 64 #define ALIGN_MASK (ALIGN_SIZE-1) #define ALIGN(x) (((unsigned int)x+ALIGN_MASK) & ~ALIGN_MASK) typedef enum { UnsignedByteType = GL_UNSIGNED_BYTE, SignedByteType = GL_BYTE, UnsignedShortType = GL_U...
package tests import ( "testing" "unionbinarytest" ) // See https://issues.apache.org/jira/browse/THRIFT-4573 func TestUnionBinary(t *testing.T) { s := unionbinarytest.NewSample() s.U1 = map[string]string{} s.U2 = []byte{} if n := s.CountSetFieldsSample(); n != 2 { t.Errorf("Expected 2 set fields, got %d!"...
var createCompounder = require('./_createCompounder'), upperFirst = require('./upperFirst'); /** * Converts `string` to * [start case](https://en.wikipedia.org/wiki/Letter_case#Stylistic_or_specialised_usage). * * @static * @memberOf _ * @since 3.1.0 * @category String * @param {string} [string=''] The str...
package com.example.qkx.multiweibo.activity; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentPagerAdapter; import java.util.List; /** * Created by qkx on 15/11/23. */ public class MyFragmentPagerAdaper extends FragmentPagerAdapter { L...
package rollback import ( "testing" kapi "k8s.io/kubernetes/pkg/api" deployapi "github.com/openshift/origin/pkg/deploy/api" deploytest "github.com/openshift/origin/pkg/deploy/api/test" ) func TestGeneration(t *testing.T) { from := deploytest.OkDeploymentConfig(2) from.Spec.Strategy = deployapi.DeploymentStrat...
<?php if(!defined("HDPHP_PATH"))exit;C("SHOW_NOTICE",FALSE);?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <tit...
// 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.Linq; using System.Threading; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Editor.Host; using Microsoft.CodeAnalysis.Editor.Shared...
'use strict'; var duplicateCreep = function (creep, priority, silence) { var spawn; priority = priority === true ? 'spawnPriorityQueue' : 'spawnQueue'; silence = silence === true; // Find and add to queue if (typeof creep.memory.spawn === "string") { spawn = Game.getObjectById(creep.memor...
<?php namespace Faker\Provider\ro_RO; class PhoneNumber extends \Faker\Provider\PhoneNumber { protected static $normalFormats = array( 'landline' => array( '021#######', // Bucharest '023#######', '024#######', '025#######', '026#######', ...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package Algebra; import java.util.ArrayList; import java.util.Collections; import java.util.Random; /** * * @author venikka */ pub...
package domala.internal.reflect.util import java.math.BigInteger import java.sql.{Blob, Clob, NClob, SQLXML, Time, Timestamp} import java.time.{LocalDate, LocalDateTime, LocalTime} import domala.jdbc.`type`.TypeConverter object ClassTypeConverter extends TypeConverter { type T = Class[_] override def hasParam(...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title> </title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description" content=""> <meta name="author" content="Clarence Mah, Michelle Ragsac"> <link rel="stylesheet" type="text/css" href="/css/bootst...
#ifndef B2_FIXTURE_H #define B2_FIXTURE_H #include <Box2D/Dynamics/b2Body.h> #include <Box2D/Collision/b2Collision.h> #include <Box2D/Collision/Shapes/b2Shape.h> class b2BlockAllocator; class b2Body; class b2BroadPhase; /// This holds contact filtering data. struct b2Filter { /// The collision category bits. Norm...
Copyright 2013-2015 Sven Hasselbach 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...
<!doctype html> <html lang="en"> <head> <title>Code coverage report for vinyl/lib/isStream.js</title> <meta charset="utf-8"> <link rel="stylesheet" href="../../prettify.css"> <style> body, html { margin:0; padding: 0; } body { font-family: Helvetica Neue...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.4.2_17) on Wed Jun 17 16:17:59 BST 2009 --> <TITLE> BooleanPropertyConverter (Apache JMeter API) </TITLE> <META NAME="keywords" ...
package main import ( "flag" "fmt" "os" "path/filepath" "github.com/onsi/ginkgo/ginkgo/interrupthandler" "github.com/onsi/ginkgo/ginkgo/testrunner" ) func BuildBuildCommand() *Command { commandFlags := NewBuildCommandFlags(flag.NewFlagSet("build", flag.ExitOnError)) interruptHandler := interrupthandler.NewIn...
using System.Web.Http; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; namespace AegeanThesis { public class MvcApplication : System.Web.HttpApplication { protected void Application_Start() { GlobalConfiguration.Configure(WebApiConfig.Register); ...
<manifest package="com.blundell.quicksand"> <application /> </manifest>
/* ARTISTS */ .musicLibraryContentList .musicElement { padding: 10px 0 10px 0; height: 70px; box-shadow: none; border-bottom-style: solid; border-bottom-width: 2px; overflow: hidden; white-space: nowrap; line-height: 0; text-align: left; cursor: pointer; } .musicLibraryContentList .musicImage {...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="fr"> <head> <!-- Generated by javadoc (1.8.0_72) on Sun Jan 29 23:12:00 CET 2017 --> <title>Uses of Class com.rssaggregator.desktop.ArticleDetailsScene</title> <meta name="date" content="2...
define("dojo/store/util/SimpleQueryEngine", ["../../_base/array" /*=====, "../api/Store" =====*/], function(arrayUtil /*=====, Store =====*/){ // module: // dojo/store/util/SimpleQueryEngine return function(query, options){ // summary: // Simple query engine that matches using filter functions, named filter // ...
(function(root, factory) { if (typeof define === 'function' && define.amd) { define([], factory); } else if (typeof exports === 'object') { module.exports = factory(); } else { root.loadjs = factory(); } }(this, function() { /** * Global dependencies. * @global {Object} document - DOM */ var dev...
""" Testing for the approximate neighbor search using Locality Sensitive Hashing Forest module (sklearn.neighbors.LSHForest). """ # Author: Maheshakya Wijewardena, Joel Nothman import numpy as np import scipy.sparse as sp from sklearn.utils.testing import assert_array_equal from sklearn.utils.testing import assert_a...
package pvprotection import ( "context" "errors" "reflect" "testing" "time" "github.com/davecgh/go-spew/spew" v1 "k8s.io/api/core/v1" apierrors "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/api/meta" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" "k8s.io...
Sample authentication in node with Express and Passport
CVE-2021-29587 ### Impact The `Prepare` step of the `SpaceToDepth` TFLite operator [does not check for 0 before division](https://github.com/tensorflow/tensorflow/blob/5f7975d09eac0f10ed8a17dbb6f5964977725adc/tensorflow/lite/kernels/space_to_depth.cc#L63-L67). ```cc const int block_size = params->block_size; const in...
import { expect } from 'chai'; import { describe, it } from 'mocha'; import project from '../../src/model/project' import files from '../../src/core/files'; import sinon from 'sinon'; describe('project', () => { let sandbox; let project1; let testProject; beforeEach(() => { sandbox = sinon.sandbox.create(); s...
/** * Poller service for AngularJS * @version v0.1.0 * @link http://github.com/emmaguo/angular-poller * @license MIT */ (function (window, angular, undefined) { 'use strict'; angular.module('poller', []) /* * Usage: * - Simple example: * var myPoller = poller.get...
package com.niceappp.wakeup; import android.app.Service; import android.app.admin.DevicePolicyManager; import android.content.Context; import android.content.Intent; import android.content.res.Configuration; import android.hardware.Sensor; import android.hardware.SensorEvent; import android.hardware.SensorEventListene...
<?php require_once dirname(dirname(__FILE__)) . '/S3.php'; /** * Stores an object on S3 * * @version $Id$ * @package phing.tasks.ext * @author Andrei Serdeliuc <andrei@serdeliuc.ro> * @extends Service_Amazon_S3 */ class S3PutTask extends Service_Amazon_S3 { /** * File we're trying to upload * ...
<?php /** * Adminhtml catalog product downloadable items tab and form * * @category Mage * @package Mage_Downloadable * @author Magento Core Team <core@magentocommerce.com> */ class Mage_Downloadable_Block_Adminhtml_Catalog_Product_Edit_Tab_Downloadable extends Mage_Adminhtml_Block_Wi...
package com.github.benmanes.caffeine.cache.node; import static com.github.benmanes.caffeine.cache.Specifications.DEAD_STRONG_KEY; import static com.github.benmanes.caffeine.cache.Specifications.DEAD_WEAK_KEY; import static com.github.benmanes.caffeine.cache.Specifications.RETIRED_STRONG_KEY; import static com.github....
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2017 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <chain.h> #include <chainparams.h> #include <core_io.h> #include <primit...
package org.bouncycastle.pqc.jcajce.spec; import java.security.spec.KeySpec; import org.bouncycastle.pqc.crypto.gmss.GMSSParameters; public class GMSSKeySpec implements KeySpec { /** * The GMSSParameterSet */ private GMSSParameters gmssParameterSet; protected GMSSKeySpec(GMSSParameters gms...
#region Apache License Version 2.0 #endregion Apache License Version 2.0 using SF.Sys.Data; using SF.Sys.Services; using SF.Sys.Settings; using System; namespace SF.Sys.Services { public static class DataContextCollectionExtension { public static IServiceCollection AddDataScope(this IServiceCollection sc, stri...
using System.Linq; using System.Collections.Generic; using System.Reflection; using System.Web.Compilation; using Orchard.FileSystems.VirtualPath; using Orchard.Logging; using System; using Orchard.Exceptions; namespace Orchard.Environment { public interface IBuildManager : IDependency { IEnumerable<Assem...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>classical-realizability: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../b...
.. _pepper_beta_index: :orphan: .. DO NOT EDIT! This document is auto-generated by doxygen/rst_index.py. ######################################## Pepper API Reference (Beta) ######################################## This page lists the API for Pepper 36. Apps that use this API can run in Chrome 36 or higher. :ref:`...
require 'spec_helper' class Package include Virtus attribute :dimensions, Hash[Symbol => Float] attribute :meta_info , Hash[String => String] end describe Package do let(:instance) do described_class.new( :dimensions => { 'width' => "2.2", :height => 2, "length" => 4.5 }, :meta_info => { '...
var assert = require('chai').assert; var nJwt = require('../'); var uuid = require('uuid'); var properties = require('../properties.json'); describe('Jwt',function() { it('should construct itself if called without new',function(){ assert(nJwt.Jwt() instanceof nJwt.Jwt); }); describe('.setSubject()',function...
/* This file should never be included directed but, rather, only indirectly * through nuttx/irq.h */ #ifndef __ARCH_AVR_INCLUDE_AVR_IRQ_H #define __ARCH_AVR_INCLUDE_AVR_IRQ_H /**************************************************************************** * Included Files ******************************************...
package org.apache.flink.graph.drivers.transform; import java.util.List; /** * A transformable input or algorithm returns a list of {@link Transform} to be applied before and * after execution of the algorithm. */ public interface Transformable { /** * Get the list of transforms. * * @return ...