text
stringlengths
3
1.05M
.ngGrid { background-color: transparent; } .ngVerticalBarVisible { background-color: #edf1f2; } .ngTopPanel { position: relative; z-index: 1; background-color: #fff; border-bottom: 1px solid #edf1f2; } .ngTopPanel .ngHeaderContainer{ border-bottom: 1px solid #edf1f2; } .ngGroupPanel { background-color: ...
/// Copyright (c) 2012 Ecma International. All rights reserved. /** * @path ch15/15.2/15.2.3/15.2.3.5/15.2.3.5-4-46.js * @description Object.create - 'enumerable' property of one property in 'Properties' is true (8.10.5 step 3) */ function testcase() { var accessed = false; var newObj = Object.c...
package testlib import ( "fmt" "strings" "sync" "testing" ) func TestT_Finalizers(t *testing.T) { t.Parallel() T := NewT(new(mockT)) // Some values we will use to keep track of order. fin1 := -1 fin2 := -2 fin3 := -3 order := 0 // Add finalizers. T.AddFinalizer(func() { fin1 = order order += 1 }) ...
/** * jQuery.contextMenu - Show a custom context when right clicking something * Jonas Arnklint, http://github.com/arnklint/jquery-contextMenu * Released into the public domain * Date: Jan 14, 2011 * @author Jonas Arnklint * @version 1.7 * */ // Making a local '$' alias of jQuery to support jQuery.noConflict (fu...
<html> <head> <!-- A purely HTML based captive portal using the JSON interface of CoovaChilli --> <title>coova hotspot</title> <style><!-- body,td,a,p,h { font-family:arial,sans-serif; } body { text-align: center;...
/* globals chrome, CSS */ 'use strict'; var VIEWER_URL = chrome.extension.getURL('content/web/viewer.html'); function getViewerURL(pdf_url) { return VIEWER_URL + '?file=' + encodeURIComponent(pdf_url); } if (CSS.supports('animation', '0s')) { document.addEventListener('animationstart', onAnimationStart, true);...
<link rel="stylesheet" href="css/samples.css" /> <script jscontent="search_data"></script> <script src="js/sample_search.js"></script> <script type="text/prerenderjs"> /** * The following code is executed before the jstemplate in this file is * rendered, meaning it can modify template data by changing the page...
//Note: cli includes kof/node-natives and creationix/stack. I couldn't find //license information for either - contact me if you want your license added var cli = exports, argv, curr_opt, curr_val, full_opt, is_long, short_tags = [], opt_list, parsed = {}, usage, argv_parsed, command_list, commands, ...
from . import Main
<!DOCTYPE html> <html> <head> <title></title> <script src="/js/output.js"></script> </head> <body> <div> <span>Output:</span><br /> <textarea id="outputbox" readonly="readonly" style="position:relative; top:1px; left:1px; right:1px; width: 95.75%; height:452px;"></...
package com.galaxyvictor.common; import java.io.Serializable; public class Message implements Serializable{ private static final long serialVersionUID = -6752258578652003356L; private static long nextMessageId = 1; private final long messageId = nextMessageId++; public long getMessageId() { return messag...
package org.jasig.portal.portlet.rendering; import java.io.IOException; import javax.portlet.CacheControl; import javax.portlet.Event; import javax.portlet.PortletException; import javax.portlet.PortletMode; import javax.portlet.PortletRequest; import javax.portlet.PortletSession; import javax.servlet.http.HttpServl...
package io.netty.channel.epoll; import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBufAllocator; import io.netty.buffer.ByteBufUtil; import io.netty.buffer.Unpooled; import io.netty.channel.AbstractChannel; import io.netty.channel.Channel; import io.netty.channel.ChannelMetadata; import io.netty.channel.Event...
package com.crawljax.core; import com.crawljax.core.state.StateVertex; import com.crawljax.di.CrawlSessionProvider; /** * {@link CrawljaxException} that is thrown when you call * {@link CrawlSessionProvider#get()} before the the initial (index) * {@link StateVertex} is crawled. Only after the index is crawled will...
/** @namespace */ Operations = {}; /** Instantiates a new NoOp operation object. * @class An operation that does nothing. */ Operations.NoOp = function() {}; Operations.NoOp.prototype.requiresCID = false; Operations.NoOp.prototype.toString = function() { return "NoOp()"; }; Operations.NoOp.prototype.toHTML = ...
(function(){ "use strict"; function addPropertyTo(target, methodName, value) { Object.defineProperty(target, methodName, { enumerable: false, configurable: false, writable: false, value: value }); } function banProperty(target, methodName) { addPropertyTo(target, methodName...
@interface AFHTTPRequestOperationUtils() { NSObject *transLock; } @property (nonatomic,assign) long fileIndex; @property (nonatomic,strong) NSString *timeIndex; @end @implementation AFHTTPRequestOperationUtils + (AFHTTPRequestOperationUtils *)sharedManager { static AFHTTPRequestOperationUtils *sharedInst...
'use strict'; var fs = require('fs'); module.exports = function (grunt) { // Report the elapsed execution time of tasks. require('time-grunt')(grunt); var COMPRESS_FOR_TESTS = true; // Project configuration. grunt.initConfig({ // Metadata required for build. build: grunt.file.re...
// 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.Text; using Microsoft.CodeAnalysis.Formatting; using Microsoft.CodeAnalysis.Formatting.Rules; us...
using UnityEngine; using System.Collections; using UnityEngine.SceneManagement; public class LevelGit : MonoBehaviour { void Start () { } void Update () { } public void leveller(int levelid){ Application.LoadLevel (levelid); } public void herseyisil() { PlayerPrefs.DeleteAll ();...
<?php namespace ProxyManager\ProxyGenerator; use ProxyManager\Generator\Util\ClassGeneratorUtils; use ProxyManager\ProxyGenerator\AccessInterceptor\MethodGenerator\SetMethodPrefixInterceptor; use ProxyManager\ProxyGenerator\AccessInterceptor\MethodGenerator\SetMethodSuffixInterceptor; use ProxyManager\ProxyGenerator...
/***************************************************************************/ /* */ /* cffpic.c */ /* */ /* Th...
package org.apache.nifi.events; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.Objects; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentMap; import java.util.concurrent.TimeUnit; import org.apache.nifi.reporting.Bulletin; import ...
package org.apache.sling.discovery.base.connectors.announcement; import java.util.Collection; import org.apache.sling.discovery.ClusterView; import org.apache.sling.discovery.InstanceDescription; /** * The announcement registry keeps track of all the announcement that this * instance either received by a joined t...
namespace mozc { TEST(PasswordManager, PasswordManagerTest) { SystemUtil::SetUserProfileDirectory(absl::GetFlag(FLAGS_test_tmpdir)); std::string password1, password2; EXPECT_TRUE(PasswordManager::InitPassword()); EXPECT_TRUE(PasswordManager::GetPassword(&password1)); EXPECT_TRUE(PasswordManager::GetPassword(...
package org.colorcoding.tools.btulz.transformer.region; import java.util.ArrayList; import java.util.Iterator; import org.colorcoding.tools.btulz.model.IModel; import org.colorcoding.tools.btulz.model.IProperty; import org.colorcoding.tools.btulz.template.Parameter; import org.colorcoding.tools.btulz.template...
package io.reactivex.netty.channel; import io.netty.buffer.ByteBuf; import io.netty.buffer.Unpooled; import io.netty.channel.ChannelHandlerContext; import io.netty.channel.ChannelOutboundHandlerAdapter; import io.netty.channel.ChannelPromise; import io.netty.channel.FixedRecvByteBufAllocator; import io.netty.channel....
require 'elasticsearch/model' class Property < ActiveRecord::Base belongs_to :agency has_one :address include Elasticsearch::Model include Elasticsearch::Model::Callbacks enum property_type: [ :residential, :rental, :commercial ] validates :title, :presence => true validates :city, :presence => true ...
<?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="wrap_content" android:orientation="vertical" android:paddingTop="13dp" > <TextView android:id="@+id/tv_time" ...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="stylesheet" href="/end.css"> </head> <body> <style>h1 {color: red}</style> <h1>Should have different styles t...
// # Content Test // Test the content screen, uses the editor to create dummy content /*globals CasperTest, casper, testPost */ CasperTest.begin('Content screen is correct', 15, function suite(test) { // First, create a sample post for testing (this should probably be a routine) CasperTest.Routines.createTest...
By [Joe Fallon](http://blog.joefallon.net) A simple logging library. It has the following features: * Full suite of unit tests. * It can be integrated into any existing project. * Can be fully understood in just a few moments. * Each line of log text contains minimal prefix cruft. * Fully [psr/log](https://...
package com.google.i18n.addressinput.common; import static com.google.i18n.addressinput.common.AddressField.ADMIN_AREA; import static com.google.i18n.addressinput.common.AddressField.COUNTRY; import static com.google.i18n.addressinput.common.AddressField.DEPENDENT_LOCALITY; import static com.google.i18n.addressinput...
it("should not split the shared-modules into a separate chunk", () => { const shared = __STATS__.modules.find(m => m.name.includes("shared-module")); expect(shared.chunks).toEqual(["a", "shared-module_js"]); });
#include "common.h" struct gtk_label_data { struct gtk_common_data base; unsigned int empty_count; }; DEFINE_DEFAULT_HEADER(label); int gtk_label_in_process(struct sol_flow_node *node, void *data, uint16_t port, uint16_t conn_id, const struct sol_flow_packet *packet);
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <script src="../../list.js"></script> <script src="../../page.js"></script> <link type="text/css" rel="stylesheet" href="../../page.css" /> </head> <body> <h1>[name]</h1> <div class="desc">A loader for loading a [page:Material] in JSON for...
package net.xiguawanou.ingwer; import java.awt.Point; public interface Renderer { void drawEntitly(Entity entity, Point position); }
package com.github.saturngod; import android.util.Log; import java.io.BufferedOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.InputStream; import java.util.zip.ZipEntry; import java.util.zip.ZipInputStream; import timber.log.Timber; public class Dec...
/* FileSaver.js * A saveAs() FileSaver implementation. * 1.3.2 * 2016-06-16 18:25:19 * * By Eli Grey, http://eligrey.com * License: MIT * See https://github.com/eligrey/FileSaver.js/blob/master/LICENSE.md */ /*global self */ /*jslint bitwise: true, indent: 4, laxbreak: true, laxcomma: true, smarttabs: true, ...
package fr.upem.journal.fragment; import android.app.ActionBar; import android.app.Activity; import android.content.Intent; import android.database.Cursor; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.drawable.BitmapDrawable; import android.graphics.drawable.Drawable; ...
package org.thingsboard.server.common.data.rule; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; /** * Created by ashvayka on 21.03.18. */ @ApiModel @Data public class NodeConnectionInfo { @ApiModelProperty(position = 1, required = true, value = "Inde...
package decision import ( "sync" context "github.com/ipfs/go-ipfs/Godeps/_workspace/src/golang.org/x/net/context" blocks "github.com/ipfs/go-ipfs/blocks" bstore "github.com/ipfs/go-ipfs/blocks/blockstore" bsmsg "github.com/ipfs/go-ipfs/exchange/bitswap/message" wl "github.com/ipfs/go-ipfs/exchange/bitswap/wantl...
//======================================================================= // Copyright Baptiste Wicht 2013-2018. // Distributed under the terms of the MIT License. // (See accompanying file LICENSE or copy at // http://www.opensource.org/licenses/MIT) //=================================================================...
package org.apache.zeppelin.pig; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import org.apache.commons.io.IOUtils; import org.apache.zeppelin.interpreter.LazyOpenInterpreter; import org.junit.After; import org.junit.Before; import org.junit.Test; import java.io.File; imp...
'use strict'; /** * Module dependencies. */ var StandardError = require('standard-error'); var db = require('../../config/sequelize'); /** * Find contact by id * Note: This is called every time that the parameter :id is used in a URL. * Its purpose is to preload the contact on the req object then call the next ...
class SkCanvas; namespace cc { class CC_EXPORT RasterSourceHelper { public: static void PrepareForPlaybackToCanvas(SkCanvas* canvas, const gfx::Rect& canvas_rect, const gfx::Rect& source_rect, ...
using System; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.Azure; using Microsoft.Azure.Management.ApiManagement.SmapiModels; namespace Microsoft.Azure.Management.ApiManagement { /// <summary> /// Operations for managing Subscriptions. /// </summary> public p...
namespace base { class Value; } // namespace base namespace remoting { // This class is used for sending messages to the Native Messaging client // webapp. class NativeMessagingWriter { public: explicit NativeMessagingWriter(base::PlatformFile handle); ~NativeMessagingWriter(); // Sends a message to the Nati...
% PQ_CREATE construct a priority queue object % % SYNTAX % pq = pq_create(p) % % INPUT PARAMETERS % N: the maximum number of elements in the priority queue % % OUTPUT PARAMETERS % pq: a (memory) pointer to the created data structure % % DESCRIPTION % Given a positive integer N this function allocates the memory for...
require 'forwardable' require 'hbc/dsl' class Hbc::Cask extend Forwardable attr_reader :token, :sourcefile_path def initialize(token, sourcefile_path: nil, dsl: nil, &block) @token = token @sourcefile_path = sourcefile_path @dsl = dsl || Hbc::DSL.new(@token) @dsl.instance_eval(&block) if block_...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class Corrective extends Model { /** * The table associated with the model. * * @var string */ protected $table = 'corrective'; /** * Indicates if the model should be timestamped. * * @var bool */...
<!DOCTYPE HTML> <html> <head> <title>Test for jQuery</title> <script src="/MochiKit/Base.js"></script> <script src="/MochiKit/Async.js"></script> <script src="/tests/SimpleTest/SimpleTest.js"></script> <script type="text/javascript" src="../lib/AJAX_setup.js"></script> <link rel="stylesheet" type="...
/* Funciones del sistema general */ // Setea la clase selected de css para poner efecto azul function setClaseSelected(idControl){ var jqMenu = eval("'#" + idControl + "'"); $("li").removeClass( "selected" ); $(jqMenu).addClass( "selected" ); } //Funcion de inicializa l...
unless node.recipe?('java::default') Chef::Log.warn("Using java::default instead is recommended.") # Even if this recipe is included by itself, a safety check is nice... if node['java']['java_home'].nil? or node['java']['java_home'].empty? include_recipe "java::set_attributes_from_version" end end java_home...
import uuid from south.utils import datetime_utils as datetime from south.db import db from south.v2 import DataMigration from django.db import models class Migration(DataMigration): def forwards(self, orm): "Write your forwards methods here." for user in orm.User.objects.all(): orm.U...
package com.pacoapp.paco.net; import java.io.IOException; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.util.Log; import com.google.android.gms.auth.GoogleAuthException; import com.google.android.gms.auth.GoogleAuthUt...
package org.lanternpowered.server.inventory.behavior; import org.lanternpowered.server.inventory.AbstractSlot; import org.lanternpowered.server.inventory.AbstractTopBottomShiftClickBehavior; import org.lanternpowered.server.inventory.IInventory; import org.lanternpowered.server.inventory.PlayerTopBottomContainer; pu...
sap.ui.define([ "sap/base/util/restricted/_CancelablePromise", "sap/base/util/restricted/_isEqual", "sap/base/util/restricted/_omit", "sap/base/util/merge", "sap/base/util/deepClone", "sap/base/util/deepEqual", "sap/base/util/ObjectPath", "./CardEditor", "sap/ui/integration/designtime/baseEditor/BaseEditor", ...
package outland.feature.server.groups; import com.codahale.metrics.MetricRegistry; import com.google.protobuf.TextFormat; import java.util.Optional; import javax.inject.Inject; import javax.inject.Named; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import outland.feature.proto.Group; import outland.feature...
SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
package me.kafeitu.activiti.chapter21.pvm; import org.activiti.engine.impl.pvm.ProcessDefinitionBuilder; import org.activiti.engine.impl.pvm.PvmProcessDefinition; import org.activiti.engine.impl.pvm.PvmProcessInstance; import org.activiti.engine.impl.pvm.PvmTransition; import org.activiti.engine.impl.pvm.delegate.Acti...
package org.gradle.util.internal; import org.apache.commons.io.FileUtils; import org.apache.commons.lang.ArrayUtils; import org.apache.commons.lang.StringUtils; import org.gradle.api.UncheckedIOException; import org.gradle.internal.IoActions; import javax.annotation.Nullable; import java.io.BufferedReader; import ja...
define('ace/snippets/luapage', ['require', 'exports', 'module' ], function(require, exports, module) { exports.snippetText = ""; exports.scope = "luapage"; });
<?php namespace Symfony\Component\HttpKernel\Tests\Fixtures\ExtensionPresentBundle\Command; use Symfony\Component\Console\Command\Command; use Symfony\Component\HttpKernel\Bundle; /** * This command has a required parameter on the constructor and will be ignored by the default Bundle implementation. * * @see Bund...
package cloudphoto //Licensed under the Apache License, Version 2.0 (the "License"); //you may not use this file except in compliance with the License. //You may obtain a copy of the License at // //http://www.apache.org/licenses/LICENSE-2.0 // //Unless required by applicable law or agreed to in writing, software //di...
install -USERKIT
namespace tests { const ::bond::Metadata Foo::Schema::metadata = ::bond::reflection::MetadataInit("Foo", "tests.Foo", { { "FooAttribute", "Bar" } }); const ::bond::Metadata Foo::Schema::s_foo_metadata = ::bond::reflection::MetadataIni...
module Fog module Compute class IBM class Real # Deletes the Instance that the authenticated user manages with the specified :instance_id # # ==== Parameters # * instance_id<~String> - Id of instance # # ==== Returns # * response<~Excon::Response>: ...
<div id="login-container"> Custom Login: <br> <form> <fieldset> <input type="text" name="user" placeholder="email" ng-model="user" ng-disabled="loading" /> <br> <input type="password" name="pass" placeholder="password" ng-model="pass" ng-disabled="loading" /> <br> <button type="s...
namespace taichi::lang { // Flag accesses to be either weak (non-activating) or strong (activating) class FlagAccess : public IRVisitor { public: explicit FlagAccess(IRNode *node) { allow_undefined_visitor = true; invoke_default_visitor = false; node->accept(this); } void visit(Block *stmt_list) ov...
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> <servers> <server> <id>github</id> <password>${env.DEPLOY_TOKEN}</password> <...
package com.intellij.codeInspection.bytecodeAnalysis.asm; import org.jetbrains.annotations.NotNull; import org.jetbrains.org.objectweb.asm.Type; import org.jetbrains.org.objectweb.asm.tree.*; import org.jetbrains.org.objectweb.asm.tree.analysis.*; import java.util.Arrays; import java.util.List; import static org.je...
require "rails_helper" describe Sde::CharacterAttributesImporter do let(:file) { double } subject { described_class.new(file) } describe "#initialize" do its(:file) { should eq(file) } end describe "#import" do let(:content) { double } before { expect(File).to receive(:read).with(file).and_re...
layout: compress --- <!doctype html> <html class="no-js" lang="{% if site.language == nil %}en{% else %}{{ site.language }}{% endif %}"> <head> {% include _head.html %} </head> <body id="top-of-page" class="{{ layout.format }}"> {% unless page.skip_boilerplate %} {% include _navigation.html %} {% endunless %} {% ...
require "formula" class Termrec < Formula homepage "http://angband.pl/termrec.html" head "http://angband.pl/git/termrec/", :using => :git url "https://github.com/kilobyte/termrec/archive/0.17.tar.gz" sha1 "45df1b35b7f236fafd1e4db9c45543501dfde359" depends_on "autoconf" => :build depends_on "automake" => :...
<html> <head> <script> function runTest() { if (window.testRunner) testRunner.dumpAsText(); try { var db = openDatabase('5562470Test', '', 'Test for <rdar://problem/5562470> openDatabase does not work when the version string is empty', 1); } catch (e) { document.getElementB...
/// Copyright (c) 2012 Ecma International. All rights reserved. /// Ecma International makes this code available under the terms and conditions set /// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the /// "Use Terms"). Any redistribution of this code must retain the above /// copyrigh...
(function($, undefined) { /** * Unobtrusive scripting adapter for jQuery * https://github.com/rails/jquery-ujs * * Requires jQuery 1.7.0 or later. * * Released under the MIT license * */ // Cut down on the number if issues from people inadvertently including jquery_ujs twice // by detecting and raising an...
"""Commonly used special feature names for time series models.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function from tensorflow.python.saved_model import signature_constants class State(object): """Key formats for accepting/returning state.""" # The...
#if !defined(FUSION_CLEAR_10022005_1817) #define FUSION_CLEAR_10022005_1817 #include <boost/fusion/support/config.hpp> #include <boost/mpl/clear.hpp> #include <boost/fusion/support/tag_of.hpp> #include <boost/fusion/mpl/detail/clear.hpp> namespace boost { namespace mpl { template <typename Tag> struct clear_...
cask :v1 => 'garagesale' do version '6.9.5' sha256 'a4ab4d956f93fec438d3f3881b76e98e203a4c06ac6e46845180e35bcf9adae2' url "https://downloads.iwascoding.com/downloads/GarageSale_#{version}.dmg" name 'GarageSale' homepage 'https://www.iwascoding.com/GarageSale/' license :unknown # todo: change license and...
//Copyright 2016 Malooba Ltd //Licensed under the Apache License, Version 2.0 (the "License"); //you may not use this file except in compliance with the License. //You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 //Unless required by applicable law or agreed to in writing, so...
package v1alpha1 import ( "encoding/json" snapshot "github.com/openebs/maya/pkg/apis/openebs.io/snapshot/v1alpha1" clientset "github.com/openebs/maya/pkg/client/generated/openebs.io/snapshot/v1alpha1/clientset/internalclientset/typed/snapshot/v1alpha1" errors "github.com/openebs/maya/pkg/errors/v1alpha1" clien...
package com.intellij.codeInsight.daemon.impl.quickfix; import com.intellij.codeInsight.daemon.QuickFixBundle; import com.intellij.openapi.editor.Editor; import com.intellij.openapi.module.Module; import com.intellij.openapi.project.Project; import com.intellij.openapi.roots.DependencyScope; import com.intellij.openap...
#include "lib.h" #include "md5.h" #include "message-parser.h" #include "mbox-md5.h" #include <stdlib.h> struct mbox_md5_context { struct md5_context hdr_md5_ctx; bool seen_received_hdr; }; struct mbox_md5_header_func { const char *header; bool (*func)(struct mbox_md5_context *ctx, struct message_header_...
/* Requires: normalize.css */ /* Global Reset & Standards ---------------------- */ * { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } html { font-size: 62.5%; } body { background: white; font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-size:...
package org.apereo.cas.support.geo.maxmind; import org.apereo.cas.authentication.adaptive.geo.GeoLocationResponse; import org.apereo.cas.support.geo.AbstractGeoLocationService; import com.maxmind.geoip2.DatabaseReader; import com.maxmind.geoip2.exception.AddressNotFoundException; import lombok.RequiredArgsConstructor...
package filesystem import ( "bufio" "bytes" "context" "fmt" "io" "io/ioutil" "os" "path" "reflect" "strconv" "time" storagedriver "github.com/docker/distribution/registry/storage/driver" "github.com/docker/distribution/registry/storage/driver/base" "github.com/docker/distribution/registry/storage/driver...
package v3rpc import ( "crypto/sha256" "io" "github.com/coreos/etcd/etcdserver" pb "github.com/coreos/etcd/etcdserver/etcdserverpb" "github.com/coreos/etcd/mvcc" "github.com/coreos/etcd/mvcc/backend" "github.com/coreos/etcd/pkg/types" "github.com/coreos/etcd/version" "golang.org/x/net/context" ) type KVGett...
// // 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 // // Unless requi...
//===-- XCoreRegisterInfo.cpp - XCore Register Information ----------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
namespace mime_util { namespace { // From WebKit's WebCore/platform/MIMETypeRegistry.cpp: const char* const kSupportedImageTypes[] = {"image/jpeg", "image/pjpeg", "image/jpg", "image/we...
package io.protostuff.jetbrains.plugin.psi; import java.util.Optional; /** * Field label. * * @author Kostiantyn Shchepanovskyi */ public enum FieldLabel { OPTIONAL("optional"), REQUIRED("required"), REPEATED("repeated"); private final String name; FieldLabel(String name) { this.name...
#ifndef TENSORFLOW_COMPILER_XLA_SERVICE_MLIR_GPU_EMISSION_CONTEXT_H_ #define TENSORFLOW_COMPILER_XLA_SERVICE_MLIR_GPU_EMISSION_CONTEXT_H_ #include <memory> #include "mlir/IR/Diagnostics.h" // TF:local_config_mlir #include "tensorflow/compiler/xla/service/hlo_computation.h" #include "tensorflow/compiler/xla/service...
var fs = require('fs'); var bannerTpl = '/*\n * <%= pkg.name %> <%= pkg.version %> - <%= pkg.description %> \n * (C) 2015 - <%= pkg.author %> \n * License: <%= pkg.license %> \n * Source: <%= pkg.url %> \n * Date Compiled: <%= grunt.template.today("yyyy-mm-dd") %> \n */\n'; module.exports = function (grunt) { ...
<?php namespace OneLogin\Saml2; use RobRichards\XMLSecLibs\XMLSecurityKey; use DOMDocument; use Exception; /** * SAML 2 Logout Request */ class LogoutRequest { /** * Contains the ID of the Logout Request * * @var string */ public $id; /** * Object that represents the setting...
<?php //session_start(); session_id($_GET["sid"]); ?> <!DOCTYPE HTML> <html style='background-color: <?php if (isset($_SESSION["color_picked"])) echo $_SESSION["color_picked"]; ?> ;'> </html>
<!doctype html> <title>CodeMirror: TTCN mode</title> <meta charset="utf-8"/> <link rel=stylesheet href="../../doc/docs.css"> <link rel="stylesheet" href="../../lib/codemirror.css"> <script src="../../lib/codemirror.js"></script> <script src="ttcn.js"></script> <style type="text/css"> .CodeMirror { border-...
""" Twisted Words: a Twisted Chat service. """ from twisted.words._version import version __version__ = version.short()
var _ = require('lodash'), parse = require('../parse'), $ = require('../static'), updateDOM = parse.update, evaluate = parse.evaluate, utils = require('../utils'), domEach = utils.domEach, cloneDom = utils.cloneDom, slice = Array.prototype.slice; // Create an array of nodes, recursing i...