text
stringlengths
3
1.05M
#ifndef BITSTUFFER_H #define BITSTUFFER_H #include <vector> #include "../Defines.h" NAMESPACE_LERC_START /** Bit stuffer, for reading unsigned int arrays compressed lossless in the oldest Lerc1 version * */ class BitStuffer { public: BitStuffer() {} virtual ~BitStuffer() {} static boo...
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Example - example-ngrepeat-select-jquery</title> <script src="../../components/jquery-2.1.1/jquery.js"></script> <script src="../../../angular.js"></script> <script src="app.js"></script> </head> <body ng-app="ngrepeatSelect"> ...
require 'rails_helper' RSpec.describe HomeController, type: :controller do describe '#index' do context 'first page' do before { get :index } it { expect(response).to render_template(:index) } end end end
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.psi.scope; import com.intellij.openapi.util.Key; import org.jetbrains.annotations.NotNull; /** * @deprecated use {@link PsiScopeProcessor} directly */ @De...
// Copyright 2015-2017 Espressif Systems (Shanghai) PTE 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 a...
/* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra */ var ModuleParserHelpers = require("./ModuleParserHelpers"); var ConstDependency = require("./dependencies/ConstDependency"); var NullFactory = require("./NullFactory"); function ProvidePlugin(definitions) { ...
package com.mysql.jdbc.util; import java.util.LinkedHashMap; import java.util.Map.Entry; public class LRUCache extends LinkedHashMap<Object, Object> { private static final long serialVersionUID = 1L; protected int maxElements; public LRUCache(int maxSize) { super(maxSize, 0.75F, true); ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Net; using System.Net.NetworkInformation; namespace StreamingAcn { public class CardInfo { public CardInfo(NetworkInterface info, int addressIndex) { Interface = info; Add...
/*! * This file is part of Cytoscape.js 2.4.5. * * Cytoscape.js is free software: you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as published by the Free * Software Foundation, either version 3 of the License, or (at your option) any * later version. * * Cy...
class Delaunay { public: const std::vector<Triangle>& triangulate(std::vector<Vec2f> &vertices); const std::vector<Triangle>& getTriangles() const { return _triangles; }; const std::vector<Edge>& getEdges() const { return _edges; }; const std::vector<Vec2f>& getVertices() const { return _vertices; }; private...
/******************************* Reveal *******************************/ .ui.reveal { display: inherit; position: relative !important; font-size: 0em !important; } .ui.reveal > .visible.content { position: absolute !important; top: 0em !important; left: 0em !important; z-index: 3 !importan...
var Url = require('url'); var Lab = require('lab'); var Hawk = require('../lib'); // Declare internals var internals = {}; // Test shortcuts var expect = Lab.expect; var before = Lab.before; var after = Lab.after; var describe = Lab.experiment; var it = Lab.test; describe('Hawk', function () { var cr...
package netutil import ( "context" "fmt" "net" "net/url" "reflect" "sort" "time" "go.etcd.io/etcd/client/pkg/v3/types" "go.uber.org/zap" ) // indirection for testing var resolveTCPAddr = resolveTCPAddrDefault const retryInterval = time.Second // taken from go's ResolveTCP code but uses configurable ctx f...
"""Script to commit the doc build outputs into the github-pages repo. Use: gh-pages.py [tag] If no tag is given, the current output of 'git describe' is used. If given, that is how the resulting directory will be named. In practice, you should use either actual clean tags from a current build or something like '...
package command import ( "fmt" "strings" v3 "github.com/coreos/etcd/clientv3" pb "github.com/coreos/etcd/etcdserver/etcdserverpb" ) type simplePrinter struct { isHex bool valueOnly bool } func (s *simplePrinter) Del(resp v3.DeleteResponse) { fmt.Println(resp.Deleted) for _, kv := range resp.PrevKvs { ...
using System.Runtime.InteropServices; using IL2CPU.API.Attribs; namespace Cosmos.Core { /// <summary> /// INTs (INTerruptS) class. /// </summary> public class INTs { #region Enums // TODO: Protect IRQs like memory and ports are // TODO: Make IRQs so they are not hookable, and i...
/*! * \file World.cpp * \brief World configuration information. * * A world consists of a series of rooms and surfaces. Surfaces can have points of interest as well. * * \author Russell Toris, WPI - rctoris@wpi.edu * \date March 18, 2015 */ #include <interactive_world_tools/World.h> #include <stdexcept> #inclu...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>ccs: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" re...
layout: post title: Introducing DeepLink Kit 1.0 date: 2015-05-15 12:31:19 summary: DeepLink Kit 1.0 is a splendid block-based way to handle your deep links in iOS. categories: opensource author: Chris Maddern author_url: http://twitter.com/chrismaddern author_handle: ...
import faker from 'faker' import React from 'react' import ItemMeta from 'src/views/Item/ItemMeta' import * as common from 'test/specs/commonTests' describe('ItemMeta', () => { common.isConformant(ItemMeta) common.rendersChildren(ItemMeta) common.implementsCreateMethod(ItemMeta) describe('content prop', () ...
@interface AppDelegate : NSObject <UIApplicationDelegate> { @private UIWindow* _window; UIViewController* _rootViewController; } @property (nonatomic, retain) UIWindow* window; @end
/* * Initializer for the script. * */ var initMap; /* * Immediate function to initialize the page functionality. * */ (function () { var state = null; /* * Configure the page functionality. * @private */ var configure = function () { var width = state.width, height ...
<?php /* * khoaofgod@gmail.com * Website: http://www.phpfastcache.com * Example at our website, any bugs, problems, please visit http://faster.phpfastcache.com */ class phpfastcache_memcache extends BasePhpFastCache implements phpfastcache_driver { var $instant; function checkdriver() { // Che...
package com.whitelaning.whitefragment.thirdparty.okhttp.log; import android.text.TextUtils; import android.util.Log; import java.io.IOException; import okhttp3.Headers; import okhttp3.Interceptor; import okhttp3.MediaType; import okhttp3.Request; import okhttp3.RequestBody; import okhttp3.Response; import okhttp3.Re...
int main( int, char*[] ) { boost::system::error_code ec( 0, boost::system::system_category() ); return ::boost::report_errors(); }
/* * errors.cpp * * Created on: 10. 8. 2016 * Author: ondra */ #include "errors.h" #include <lightspeed/utils/json/jsonserializer.tcc> #include "lightspeed/base/containers/autoArray.tcc" #include "lightspeed/base/memory/smallAlloc.h" using LightSpeed::JSON::Serializer; using LightSpeed::SmallAlloc; name...
angular.module('lampreyParser').directive('main', [function() { return { restrict: 'E', scope: {}, templateUrl: 'templates/directives/main.html', controller: ['$scope', function($scope) ...
layout: "docs" page_title: "Internals" sidebar_current: "docs-internals" description: |- This section covers some of the internals of Consul, such as the architecture, consensus and gossip protocols, and security model. --- # Consul Internals This section covers some of the internals of Consul, such as the architec...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>unimath-tactics: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap...
<!DOCTYPE html> <html lang="en"> <head> <!-- head --> <meta charset="utf-8"> <meta name="msapplication-tap-highlight" content="no" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="description" content="Animate carousel"> <meta name="author" content="Davi...
// 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 using System; using System.Threading.Tasks; using Microsoft.CodeAnalysis.CSharp.Completion.Provi...
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2014-2022 ArangoDB GmbH, Cologne, Germany /// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file except...
if (typeof jQuery != 'undefined') { mejs.$ = jQuery; } else if (typeof ender != 'undefined') { mejs.$ = ender; } (function ($) { // default player values mejs.MepDefaults = { // url to poster (to fix iOS 3.x) poster: '', // default if the <video width> is not specified defaultVideoWidth: 480, //...
var express = require('express'); var app = exports.app = express(); var api = require("./api.js"); require('./api.js')(app); app.listen(6066)
define(function(require, exports, module) { "use strict"; var oop = require("./lib/oop"); var dom = require("./lib/dom"); var useragent = require("./lib/useragent"); var config = require("./config"); var GutterLayer = require("./layer/gutter").Gutter; var MarkerLayer = require("./layer/marker").Marker; var TextLayer...
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2011-2014 Gael Guennebaud <gael.guennebaud@inria.fr> // // This Source Code Form is subject to the terms of the Mozilla // Public License v. 2.0. If a copy of the MPL was not distributed // with this file, You c...
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE glassfish-web-app PUBLIC "-//GlassFish.org//DTD GlassFish Application Server 3.1 Servlet 3.0//EN" "http://glassfish.org/dtds/glassfish-web-app_3_0-1.dtd"> <glassfish-web-app error-url=""> <parameter-encoding default-charset="UTF-8"/> <security-role-mapping> ...
namespace base { class BASE_EXPORT ScopedTempDir { public: // No directory is owned/created initially. ScopedTempDir(); // Recursively delete path. ~ScopedTempDir(); // Creates a unique directory in TempPath, and takes ownership of it. // See file_util::CreateNewTemporaryDirectory. bool CreateUniqueTe...
/** Used for built-in method references. */ var objectProto = Object.prototype; /** * Checks if `value` is likely a prototype object. * * @private * @param {*} value The value to check. * @returns {boolean} Returns `true` if `value` is a prototype, else `false`. */ function isPrototype(value) { var Ctor = valu...
namespace content { // Return a stream from the file descriptor, or NULL on failure. SkStream* StreamFromFD(int fd) { skia::RefPtr<SkData> data = skia::AdoptRef(SkData::NewFromFD(fd)); if (!data) { return NULL; } return new SkMemoryStream(data.get()); } void CloseFD(int fd) { int err = HANDLE_EINTR(clos...
<?php require_once 'Swift/Tests/SwiftUnitTestCase.php'; require_once 'Swift/Transport/StreamBuffer.php'; require_once 'Swift/ReplacementFilterFactory.php'; require_once 'Swift/InputByteStream.php'; abstract class Swift_Transport_StreamBuffer_AbstractStreamBufferAcceptanceTest extends Swift_Tests_SwiftUnitTestCase...
package org.apache.hadoop.mapreduce; import java.io.IOException; import java.io.DataInput; import java.io.DataOutput; import org.apache.hadoop.io.Text; import org.apache.hadoop.io.Writable; import org.apache.hadoop.io.WritableUtils; /** * A named counter that tracks the progress of a map/reduce job. * * <p><co...
'use strict'; const React = require('react'); const {Text, View} = require('react-native'); class SetPropertiesExampleApp extends React.Component<$FlowFixMeProps> { render(): React.Node { const wrapperStyle = { backgroundColor: this.props.color, flex: 1, alignItems: 'center', justifyC...
/*! * Angular Material Design * https://github.com/angular/material * @license MIT * v1.0.7 */ md-icon { margin: auto; background-repeat: no-repeat no-repeat; display: inline-block; vertical-align: middle; fill: currentColor; height: 24px; width: 24px; } md-icon svg { pointer-events: none; ...
package debitoor type SupplierV1 struct { Address string `json:"address,omitempty"` CiNumber string `json:"ciNumber,omitempty"` CountryCode string `json:"countryCode"` CountryName string `json:"countryName,omitempty"` CreatedDate string `json:"createdDate,omitempty"` Email string `json:"email,omitempty"` Id str...
I'm building a *Choose your own adventure* text-based game for iOS with Swift 3. In this game, a user can make one of two choices during each step of the adventure before advancing to the next part of the story. They can keep selecting choices until they reach the end of the game. This is part of a [Treehouse course]...
package com.navercorp.pinpoint.web.vo; import com.navercorp.pinpoint.common.trace.ServiceType; /** * @author emeroad */ public final class LinkKey { private final String fromApplication; private final ServiceType fromServiceType; private final String toApplication; private final ServiceType toSe...
from nssrc.com.citrix.netscaler.nitro.resource.base.base_resource import base_resource from nssrc.com.citrix.netscaler.nitro.resource.base.base_resource import base_response from nssrc.com.citrix.netscaler.nitro.service.options import options from nssrc.com.citrix.netscaler.nitro.exception.nitro_exception import nitro_...
/*! formstone v0.8.3 [number.css] 2015-09-04 | MIT License | formstone.it */ /** * @class * @name .fs-number-element * @type element * @description Target elmement */ /** * @class * @name .fs-number * @type element * @description Base widget class */ /** * @class * @name .fs-number.fs-number-di...
import * as stampit from 'stampit'; import { isObject } from './helpers'; import EventEmitter from './EventEmitter'; import Engine from './Engine'; import Ticker from './Ticker'; import Query from './Query'; import EntityStore from './EntityStore'; import ComponentStore from './ComponentStore'; import SystemStore fro...
"use strict"; module.exports = require("./is-implemented")() ? String.fromCodePoint : require("./shim");
// AFURLSessionManager.h // Copyright (c) 2011–2015 Alamofire Software Foundation (http://alamofire.org/) // // 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 ...
(function(root, factory) { if(typeof exports === 'object') { module.exports = factory(); } else if(typeof define === 'function' && define.amd) { define('salvattore', [], factory); } else { root.salvattore = factory(); } }(this, function() { window.matchMedia || (window....
class Test { public static final int SEC = 60; private static final int FOO = 60 * <caret>SEC; }
package org.apache.camel.component.dropbox.dto; public class DropboxDelResult { private final String entry; public DropboxDelResult(String entry) { this.entry = entry; } public String getEntry() { return entry; } }
[![Build](https://travis-ci.org/jaredhanson/passport-local.png)](https://travis-ci.org/jaredhanson/passport-local) [![Coverage](https://coveralls.io/repos/jaredhanson/passport-local/badge.png)](https://coveralls.io/r/jaredhanson/passport-local) [![Quality](https://codeclimate.com/github/jaredhanson/passport-local.p...
<section id="team" class="light-bg"> <div class="container"> Who we are: </div> </section>
package serializer import ( "encoding/json" "fmt" "log" "os" "reflect" "strings" "testing" metav1 "k8s.io/kubernetes/pkg/apis/meta/v1" "k8s.io/kubernetes/pkg/conversion" "k8s.io/kubernetes/pkg/runtime" "k8s.io/kubernetes/pkg/runtime/schema" "k8s.io/kubernetes/pkg/util/diff" "github.com/ghodss/yaml" "...
<?php require_once dirname(__FILE__) . '/OMBuilder.php'; /** * Generates the PHP5 table map class for user object model (OM). * * @author Hans Lellelid <hans@xmpl.org> * @package propel.generator.builder.om */ class PHP5TableMapBuilder extends OMBuilder { /** * Gets the package for the map bui...
title: Relations localeTitle: связи --- ## связи Это заглушка. [Помогите нашему сообществу расширить его](https://github.com/freecodecamp/guides/tree/master/src/pages/mathematics/relations/index.md) . [Это руководство по быстрому стилю поможет вам принять ваш запрос на тягу](https://github.com/freecodecamp/guides/blo...
layout: "docs_api" version: "1.0.0-beta.5" versionHref: "/docs/1.0.0-beta.5" path: "api/service/$ionicTabsDelegate/" title: "$ionicTabsDelegate" header_sub_title: "Service in module ionic" doc: "$ionicTabsDelegate" docType: "service" --- <div class="improve-docs"> <a href='http://github.com/driftyco/ionic/edit/mast...
using System.Collections.Generic; using System.Linq; using Orchard.Layouts.Elements; using Orchard.Layouts.Framework.Display; using Orchard.Layouts.Framework.Drivers; using Orchard.Layouts.ViewModels; using Orchard.Services; namespace Orchard.Layouts.Drivers { public class HeadingElementDriver : ElementDriver<Hea...
ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
import React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; import { refType } from '@material-ui/utils'; import SwitchBase from '../internal/SwitchBase'; import CheckBoxOutlineBlankIcon from '../internal/svg-icons/CheckBoxOutlineBlank'; import CheckBoxIcon from '../internal/svg-icons/CheckB...
package org.tools4j.hoverraft.message.direct; import org.tools4j.hoverraft.message.MessageType; import org.tools4j.hoverraft.message.VoteResponse; public final class DirectVoteResponse extends AbstractDirectMessage implements VoteResponse { private static final byte GRANTED = 1; private static final byte DE...
package proto import ( "log" "reflect" "strings" ) // Clone returns a deep copy of a protocol buffer. func Clone(pb Message) Message { in := reflect.ValueOf(pb) if in.IsNil() { return pb } out := reflect.New(in.Type().Elem()) // out is empty so a merge is a deep copy. mergeStruct(out.Elem(), in.Elem()) r...
( function () { /** * Ascii generation is based on https://github.com/hassadee/jsascii/blob/master/jsascii.js * * 16 April 2012 - @blurspline */ class AsciiEffect { constructor( renderer, charSet = ' .:-=+*#%@', options = {} ) { // ' .,:;=|iI+hHOE#`$'; // darker bolder character set from https://github...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>constructive-geometry: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../boo...
/*! * domready (c) Dustin Diaz 2014 - License MIT */ !function (name, definition) { if (typeof module != 'undefined') module.exports = definition() else if (typeof define == 'function' && typeof define.amd == 'object') define(definition) else this[name] = definition() }('domready', function () { var fns ...
<!DOCTYPE html> <script src="../resources/text-based-repaint.js"></script> <style> html { background-image: linear-gradient(blue, blue); background-position: center; background-repeat: no-repeat; background-size: 100px 100px; background-clip: content-box; width: 500px; height: 300px; } </style> <script> f...
package com.linkedin.kafka.cruisecontrol.analyzer.goals; import com.linkedin.kafka.cruisecontrol.common.Resource; import com.linkedin.kafka.cruisecontrol.analyzer.ActionAcceptance; import com.linkedin.kafka.cruisecontrol.analyzer.BalancingConstraint; import com.linkedin.kafka.cruisecontrol.analyzer.BalancingAction; ...
This application makes use of the following third party libraries: ## CocoaLumberjack Software License Agreement (BSD License) Copyright (c) 2010-2015, Deusty, LLC All rights reserved. Redistribution and use of this software in source and binary forms, with or without modification, are permitted provided that the f...
#import <Foundation/Foundation.h> #import <CoreGraphics/CoreGraphics.h> /** This class represents an image from the Spotify service. It could be an album's cover art or a user image, for example. API Model: https://developer.spotify.com/web-api/object-model/#image-object */ @interface SPTImage : NSObject //...
package de.mash1t.battleships.gui.helper; import java.util.HashMap; import java.util.Map; import javax.swing.Icon; import javax.swing.JFrame; import javax.swing.JOptionPane; /** * This class helps to show dialogs on a frame * * @author Manuel Schmid */ public class DialogHelper { protected static Map<JFrame...
A simple way to create dynamic views through device and display detection, allowing the creation of adaptable and universal apps. **Currently only for React Native iOS, [Android support](https://github.com/kkjdaniel/react-native-device-display/issues/10) in progress.** [![Version](https://img.shields.io/npm/v/react-na...
export declare class AtomSpinnerModule { }
/*! JsObservable v1.0.0-alpha: http://github.com/BorisMoore/jsviews and http://jsviews.com/jsviews informal pre V1.0 commit counter: 62 (Beta Candidate) */ /* * Subcomponent of JsViews * Data change events for data-linking * * Copyright 2015, Boris Moore * Released under the MIT License. */ (function(global, $, ...
package de.undercouch.bson4jackson.deserializers; import com.fasterxml.jackson.databind.module.SimpleDeserializers; import de.undercouch.bson4jackson.types.JavaScript; import de.undercouch.bson4jackson.types.ObjectId; import de.undercouch.bson4jackson.types.Timestamp; import java.util.Calendar; import java.util.Date;...
""" Several methods to simplify expressions involving unit objects. """ from __future__ import division from sympy import Add, Mul, Pow from sympy.core.compatibility import reduce from sympy.physics.unitsystems import Dimension, Unit, Quantity def dim_simplify(expr): """ Simplify expression by recursively e...
<?php namespace Spy\TimelineBundle\Driver\Doctrine\ODM; use Doctrine\Common\EventSubscriber; use Doctrine\Common\Persistence\Mapping\MappingException; use Doctrine\ODM\MongoDB\Event\LifecycleEventArgs; use Doctrine\ODM\MongoDB\DocumentNotFoundException; use Spy\Timeline\Model\ComponentInterface; class PostLoadListen...
<?php include 'includes/header.inc'; ?> <body> <!-- Header area wrapper starts --> <header id="header-wrap"> <?php include 'includes/topAddressBar.inc'; $username = $this->session->userdata('username'); if (empty($username)) { // user not logged in so, ...
package org.apache.camel.processor.idempotent.kafka; import org.apache.camel.BindToRegistry; import org.apache.camel.CamelExecutionException; import org.apache.camel.EndpointInject; import org.apache.camel.RoutesBuilder; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.kafka.BaseEmbedde...
docker kill ontop_mysql_running docker rm ontop_mysql_running docker rmi ontop/ontop-mysql
<?xml version="1.0" encoding="utf-8"?> <project xmlns:dc="http://purl.org/dc/elements/1.1/"> <title>Drupal</title> <short_name>drupal</short_name> <dc:creator>Drupal</dc:creator> <api_version>8.x</api_version> <recommended_major>8</recommended_major> <supported_majors>8</supported_majors> <default_major>8</default_majo...
package metrics import ( "strings" "testing" "k8s.io/client-go/util/flowcontrol" ) func TestRegisterMetricAndTrackRateLimiterUsage(t *testing.T) { testCases := []struct { ownerName string rateLimiter flowcontrol.RateLimiter err string }{ { ownerName: "owner_name", rateLimiter: flowco...
GO_BUILD=go build GO_GEN=go generate GO_TEST?=go test GOPATH=$(realpath ../../../../../..) GO_SOURCES := $(shell find . -path ./_lib -prune -o -name '*.go' -not -name '*_test.go') ALL_SOURCES := $(shell find . -path ./_lib -prune -o -name '*.go' -name '*.s' -not -name '*_test.go') SOURCES_NO_VENDOR := $(shell find . ...
<?xml version="1.0" encoding="utf-8" standalone="yes" ?> <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> <channel> <title>Technology Python Opensource on Derek.Stegelman.Com</title> <link>http://derek.stegelman.com/categories/technology-python-opensource/</link> <description>Recent content in...
#import "RCTModalHostView.h" #import <UIKit/UIKit.h> #import "RCTAssert.h" #import "RCTBridge.h" #import "RCTModalHostViewController.h" #import "RCTTouchHandler.h" #import "RCTUIManager.h" #import "UIView+React.h" @implementation RCTModalHostView { __weak RCTBridge *_bridge; BOOL _isPresented; RCTModalHostVi...
package com.oracle.xmlns.apps.crmcommon.salesparties.salespartiesservice.types; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlTyp...
import java.util.Comparator; class Test<T extends Test<T>> { Comparator<Test<?>> bySize = Comparator.comparingInt(Test::size); public int size() { return 0; } }
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <base href="../../" /> <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">Represents a spline.</div> <h2>Constru...
/* This is a small tool that counts the number of nodes, ways, and relations in the input file. The code in this example file is released into the Public Domain. */ #include <iostream> #include <osmium/io/any_input.hpp> #include <osmium/handler.hpp> #include <osmium/visitor.hpp> struct CountHandler : public...
// 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.Immutable; using System.Linq; using Analyzer.Utilities; using Analyzer.Utilities.Extensions; using Microsoft.CodeAnaly...
import numpy as np import pandas as pd from gutils import ( masked_epoch, boxcar_smooth_dataset ) import logging L = logging.getLogger(__name__) def calculate_delta_depth(interp_data): """ Figure out when the interpolated Z data turns a corner """ delta_depth = np.diff(interp_data) delta_dep...
export {createSettings} from './settings'; export {start, Starter} from './starter'; export {SceneManager} from './scene-manager';
'use strict'; var SubArray = require('../../../../array/_sub-array-dummy-safe'); module.exports = function (t, a) { var arr, x = {}, subArr, result; arr = ['foo', undefined, 0, '2d', false, x, null]; a.deep(t.call(arr, 2, 2, 'bar'), [0, '2d'], "Plain array: result"); a.deep(arr, ["foo", undefined, "bar", false,...
"""SCons.Builder Builder object subsystem. A Builder object is a callable that encapsulates information about how to execute actions to create a target Node (file) from source Nodes (files), and how to create those dependencies for tracking. The main entry point here is the Builder() factory method. This provides a...
using namespace llvm; static bool useCompactUnwind(const Triple &T) { // Only on darwin. if (!T.isOSDarwin()) return false; // aarch64 always has it. if (T.getArch() == Triple::arm64 || T.getArch() == Triple::aarch64) return true; // Use it on newer version of OS X. if (T.isMacOSX() && !T.isMacOS...
#include <stdint.h> #include <sys/types.h> #include <sys/epoll.h> #define NN_POLLER_HAVE_ASYNC_ADD 1 #define NN_POLLER_MAX_EVENTS 32 struct nn_poller_hndl { int fd; uint32_t events; }; struct nn_poller { /* Current pollset. */ int ep; /* Number of events being processed at the moment. */ ...
============ Release 0.65 ============ * Fix ``NullPointerException`` when tearing down queries * Fix exposed third-party dependencies in JDBC driver JAR