text
stringlengths
27
775k
<?php $finder = (new PhpCsFixer\Finder()) ->in(__DIR__); return (new PhpCsFixer\Config()) ->setFinder($finder);
// Copyright (c) 2018 Eyro Labs. // Licensed under Apache License v2.0 that can be // found in the LICENSE file. part of flutter_beacon; /// Enum class for showing status about authorization. class AuthorizationStatus { /// The defined [String] value of the authorization status. final String value; /// This...
import { randomColor } from 'randomcolor'; import { SET_SAMPLE, SET_SAMPLE_LAYERS, } from '../actions'; import sampleInitialState from './sampleInitialState'; export function create_normalized_thickness(olist) { let out = {} let total_thickness = 0 let z = 0 const layers = olist.slice()....
--- ask_me_about: General Help contact: email: kbelcher@playford.sa.gov.au linkedin: http://au.linkedin.com/in/ gid: kath-belcher jurisdiction: sa name: Kath Belcher organisation: Playford Library location: playford position_title: Library Customer Service type: Business Mentor --- I have many years of public libr...
mod key_chord_event; mod key_chord_producer; mod key_chord_producer_handle; mod key_chord_producer_settings; pub use key_chord_event::*; pub use key_chord_producer::*; pub use key_chord_producer_handle::*; pub use key_chord_producer_settings::*;
## note: make Score top-level and use like Date - yes, yes, yes - why? why not? class Score SCORE_SPLIT_RE = %r{^ [ ]* ([0-9]+) [ ]* [:x–-] ## note: allow some unicode dashes too [ ]* ([...
use super::Instance; macro_rules! interrupts { ( $( $doc:expr, $field:ident, $enable:ident, $disable:ident; )* ) => { /// Used to enable or disable I2C interrupts /// /// See [`I2C::enable_interrupts`] or [`I2C::disable_int...
#!/bin/bash #shellcheck disable=SC1091,SC2034 THIS_DIR=$(readlink -f "${BASH_SOURCE[0]}") THIS_DIR=$(dirname "${THIS_DIR}") if [[ -f "${THIS_DIR}/functions.sh" ]]; then source "${THIS_DIR}/functions.sh" fi if [[ -n ${BASE_URL_PREFIX} ]]; then BASE_URL="${BASE_URL_PREFIX}/releases/${VERSION}/targets/ramips/mt7...
{-# LANGUAGE NamedFieldPuns #-} {-# LANGUAGE OverloadedStrings #-} module Requests ( Handler(..) , sendGet , hContentType , sendPost , urlEncode ) where import Control.Exception (tryJust) import Data.Aeson (Value, decode) import Data.Aeson.Encode.P...
package com.rafaelturse.simpleschool.model.repository; import java.util.Optional; import org.assertj.core.api.Assertions; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.autoconfigure.jdbc.AutoConfigureTestData...
{-# LANGUAGE GeneralizedNewtypeDeriving, FlexibleContexts, FlexibleInstances, MultiParamTypeClasses #-} module Compiler.Linearizer where import Prelude hiding (traverse) import Control.Arrow ((***)) import Control.Monad.Writer import qualified Data.List as List import Data.Expr (DefnKw(..), Expr(..)) import qualifie...
# Optimize Profile https://devblogs.microsoft.com/powershell/optimizing-your-profile/ ```powershell Install-Module PSProfiler Import-Module PSProfiler Measure-Script -Path $profile -Top 5 ```
# # 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 # ...
# Contributing Guide ## System Requirements - make - docker - git - nodejs >= 10 ## Begin After install system requirements run the following commands. ```Shell npm install ``` ## Shellcheck The code syntax is verified by shellcheck. > Before commit ## Commit Message The project uses [conventional commit](htt...
#include <stdio.h> #include <unistd.h> #include <stdlib.h> void read_input(char *buf,unsigned int size){ int ret ; ret = __read_chk(0,buf,size,size); if(ret <= 0){ puts("read error"); _exit(1); } if(buf[ret-1] == '\n') buf[ret-1] = '\x00'; } char buf[0x10]; int main(){ se...
import csv import json import urllib from datetime import datetime, timedelta from io import StringIO from typing import List, Dict, Union, Optional from urllib.parse import urljoin import logging from xml.etree import ElementTree as ET import traceback import requests from pycounter import sushi from pycounter.csvhe...
package net.adoptium.api.v3.models import java.time.ZonedDateTime abstract class DbStatsEntry<T>( val date: ZonedDateTime ) { abstract fun getMetric(): Long abstract fun getId(): T }
# memory [![GoDoc](https://godoc.org/github.com/vardius/go-api-boilerplate/pkg/commandbus/memory?status.svg)](https://godoc.org/github.com/vardius/go-api-boilerplate/pkg/commandbus/memory) Package memory provides memory implementation of command bus Download: ```shell go get -u github.com/vardius/go-api-boilerplate/pk...
package repositories_test import ( "encoder/application/repositories" "encoder/domain" "encoder/framework/database" "testing" "time" "github.com/jaswdr/faker" uuid "github.com/satori/go.uuid" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) func TestIfJobRepositoryCanInsertAJob(t...
export async function getMeta(url: string) { const res = await fetch(`https://oge.now.sh/api?url=${decodeURIComponent(url)}`) const jsonRes = await res.json() return jsonRes }
use std; use failure; use zicsv; use print_err; pub struct SelectOptions { pub ipv4: bool, pub ipv4_network: bool, pub domain: bool, pub wildcard_domain: bool, pub url: bool, } pub fn select<StreamWriter>( options: &SelectOptions, mut reader: Box<zicsv::GenericReader>, writer: &mut ...
export declare const help: () => string; export declare function main(): Promise<void>; //# sourceMappingURL=status.d.ts.map
import React from 'react'; import logoImg from '@@/assets/img/logo.svg'; const Logo: React.FC = () => <img src={logoImg} />; export default Logo;
import {Component} from '@angular/core'; @Component({ selector: 'demo-stack-overflow', template: ` <demo-hide-custom-bp></demo-hide-custom-bp> <demo-moz-holy-grail class='small-demo'></demo-moz-holy-grail> <demo-complex-column-ordering></demo-complex-column-ordering> <demo-grid-area-row-span></demo...
# pyomeka-s import json import logging import hashlib import os import pdb import requests # setup logger logging.basicConfig(level=logging.DEBUG) # parso shims logging.getLogger('parso.python.diff').disabled = True logging.getLogger('parso.cache').disabled = True logger = logging.getLogger(__name__) # look for co...
#!/usr/bin/env bash source lib/* items=( "first item" "second item" "third item" "some another item" ) menu "${items[@]}" messagebox "Selected item is: $SELECTED_ITEM"
## Attendance.mvc A CodeIgniter based attendance system.<br /> It follows mvc architecture so all components are present in *"Application/their-respective-directory's"* All app logic's are presented in form of controller mainly we have following controllers. 1. AttendancePanel.php 2. Login.php 3. SaveAttendance.php 4....
# ExonCov ExonCov: Exon coverage statistics from BAM files ### Requirements - [Python 2.7](https://www.python.org/) - [Virtualenv](https://virtualenv.pypa.io/en/stable/) - [MYSQL](https://www.mysql.com/) - [sambamba](https://github.com/biod/sambamba) - [Dx Tracks](https://github.com/UMCUGenetics/Dx_tracks) ### Setup ...
<?php namespace SimplyCodedSoftware\Messaging\Store; use SimplyCodedSoftware\Messaging\Message; use SimplyCodedSoftware\Messaging\MessagingException; /** * Interface MessageGroup - used in multiple messages scenarios * @package SimplyCodedSoftware\Messaging\Store * @author Dariusz Gafka <dgafka.mail@gmail.com> */...
using System; namespace Rapidity.Http.Attributes { /// <summary> /// 表示这个是一个UriQuery参数 /// </summary> [AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Property)] public class QueryAttribute : NamedAttribute, ICanNullable { public QueryAttribute() { } public Query...
USE mysqldb; CREATE TABLE calendars ( calendar_id BIGINT NOT NULL PRIMARY KEY, user_id BIGINT NOT NULL FOREIGN KEY, calendar_name TEXT, creation_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP, modified_time TIMESTAMP );
var structdg_1_1_d_i_r_k_step = [ [ "container_type", "structdg_1_1_d_i_r_k_step.html#a98341634bfdb8fe04c9e070f0e2f27f2", null ], [ "value_type", "structdg_1_1_d_i_r_k_step.html#a3bb2291b84fb2d21aa768dcbf0ea1251", null ], [ "DIRKStep", "structdg_1_1_d_i_r_k_step.html#a67cfce7f4cc710888a1964cb33d39f2a", null...
package main import ( "log" "net/http" "net/url" "strings" "time" ) type HttpRequestWorker struct { Id int } func (worker HttpRequestWorker) Proceed(url string, job HttpJob) { job.StartTime = time.Now().UnixNano() client := http.Client{} request, err := generateRequest(url, job) if err != nil { log.Print...
module TD::Types # Describes an available stream in a group call. # # @attr channel_id [Integer] Identifier of an audio/video channel. # @attr scale [Integer] Scale of segment durations in the stream. # The duration is 1000/(2**scale) milliseconds. # @attr time_offset [Integer] Point in time when the stre...
@using IGCV_Protokoll.util @model IGCV_Protokoll.ViewModels.AccessControlEditorDisplayViewModel @{ var aclElementId = $"standaloneEditor_{Model.ID}"; } <div id="@aclElementId"> <div class="row"> <div class="col-sm-6"> <h4>Bearbeiten:</h4> @{ Html.RenderPartial("_AclEditorFor", Model.Editor); } <div sty...
//import styles from './Viagem.module.css' import TabelaViagem from "../viagem-table/TabelaViagem" function Viagem() { return ( <div className="container rounded p-5"> <TabelaViagem /> </div > ) } export default Viagem
# Copyright 2015 ClusterHQ. See LICENSE file for details. """ Python bindings for ``libnvpair``. """ CDEF = """ typedef ... nvlist_t; typedef ... nvpair_t; typedef enum { DATA_TYPE_UNKNOWN = 0, DATA_TYPE_BOOLEAN, DATA_TYPE_BYTE, DATA_TYPE_INT16, DATA_TYPE_UINT16, ...
import * as React from 'react'; import { create } from 'react-test-renderer'; import { createMediaMatcher } from '../src'; describe('Specs', () => { it('all false branches - defaults to last', () => { const SideMatch = createMediaMatcher({ client: false, server: false, }); const wrapper = cr...
#!/usr/bin/env bash main() { avtest avtest version avtest version oneliner avtest version dev avtest version dev-details avtest version dev oneliner avtest version debug-check } avtest() { echo "\n ......... now testing 'app $@'\n" go run main.go $@ } main
//----------------------------------------------------------------------------- class ItemSuppressor extends InventoryItemSuper { }; typedef ItemSuppressor SuppressorBase; //----------------------------------------------------------------------------- class ItemWatch extends InventoryItemSuper { }; //--------------...
. $PSScriptroot\Get-Hypervisor.ps1 . $PSScriptroot\Fakes\Fake_HypervisorFactory.ps1 Describe "Get-Hypervisor" { Context "Calling function will return whatever HypervisorFactory returns." { It "Returns what Hypervisor factory returns" { $script:HypervisorFactory = New-FakeHypervisorFactory -GetHypervisorNames ...
require 'active_support/core_ext/module/delegation' require 'active_support/core_ext/object/blank' require 'logger' require 'active_support/logger' module Perty # BetterTaggedLogging is based on ActiveSupport::TaggedLogging to make log # messages pretty and useful. # # See also https://goo.gl/907QWS module L...
export const COLOR_BLACK = '#000000'; export const COLOR_FIORD = '#3c4560'; export const COLOR_GRAY_HEATHER = '#b8bece'; export const COLOR_GRAY_ATHENS = '#f0f3f5'; export const COLOR_WHITE = '#ffffff'; export const COLOR_RGB_FIORD = 'rgb(60, 69, 96)'; export const COLOR_RGB_GRAY_ATHENS = 'rgb(240, 243, 245)'; export c...
/******************************************************************************* * Copyright (c) 2015 - 2016 - 2016, Andreas Hefti, inarisoft@yahoo.de * * 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 ...
using System.Collections.Generic; using System.Linq; using System.Management.Automation; namespace Sample.API.Cmdlets { [Cmdlet(VerbsLifecycle.Invoke, @"LinqGroupBy")] [Alias("LinqGroupBy")] [OutputType(typeof(PSDeferredEnumerable))] [Description(@"Groups the elements of a sequence.")] public class...
/* * author:symbolspace * e-mail:symbolspace@outlook.com */ namespace Symbol.Encryption { /// <summary> /// CRC32校验码处理类 /// </summary> /// <remarks>如果需要得到16进制的CRC码,请用ulong的ToString("X2")</remarks> public static class CRC32EncryptionHelper { #region fields /// <summary> ...
import React, { Component } from 'react' import Immutable from 'seamless-immutable' import { Trans } from 'react-i18next' import * as api from '../API' import HeroPageLayout from './HeroPageLayout' export default class HeroPage extends Component { constructor(props) { super(props) this.state = { heroI...
// 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. namespace Microsoft.Diagnostics.Runtime { /// <summary> /// Contains information about a range of memory. ...
#ifndef GATEWAY_MONITOR_H_ #define GATEWAY_MONITOR_H_ namespace tensorflow { namespace serving{ } //serving } //tensorflow #endif
#[doc = "Reader of register SIZE_AND_DIS_FLAGS"] pub type R = crate::R<u32, super::SIZE_AND_DIS_FLAGS>; #[doc = "Reader of field `SIZE_OF_CCFG`"] pub type SIZE_OF_CCFG_R = crate::R<u16, u16>; #[doc = "Reader of field `DISABLE_FLAGS`"] pub type DISABLE_FLAGS_R = crate::R<u16, u16>; #[doc = "Reader of field `DIS_GPRAM`"]...
export { RequestError } from './RequestError'; export { RequestException } from './RequestException';
module Operations class OpDef < Struct.new(:order, :func) end def to_symbol(c) c.to_s.to_sym end def operator?(c) operations.include?(to_symbol(c)) end def operand?(token) !operator?(token) end def op_orders operation_orders.uniq.sort end def matching_order?(op_order, operator...
# This is how I'm awesome(ish). Below is a _list_ of my **skills**: ## Programming Skills - HTML - CSS - JS ## Web Sites 1. CovertCurmudgeon (WordPress) 2. Floating Bed and Breakfast (WordPress) 3. I have 2 others, but they're down at the moment ## Other Skills - Mediocre Chess Player - _Dry, Snarky_ **Curmudgeon**...
using System.Runtime.Serialization; namespace EncompassApi.Loans.Enums { /// <summary> /// ScsrsClaus /// </summary> public enum ScsrsClaus { /// <summary> /// Its Successors And/Or Assigns /// </summary> [EnumMember(Value = "Its Successors And/Or Assigns")] ...
package e2e import ( "fmt" "testing" "github.com/stretchr/testify/require" "github.com/kube-reporting/metering-operator/test/reportingframework" "github.com/kube-reporting/metering-operator/test/testhelpers" ) const ( prometheusPodName = "presto-k8s-0" prometheusNamespace = "openshift-monitoring" ...
SUBROUTINE FORSAV(TIME,DELDIP,IPT,N3,FMATRX, COORD,NVAR,REFH, 1 EVECS,JSTART,FCONST) IMPLICIT DOUBLE PRECISION (A-H,O-Z) INCLUDE 'SIZES' DIMENSION FMATRX(*), DELDIP(3,*), COORD(*), EVECS(*), FCONST(*) ************************************************************************ ...
# coding: utf-8 # ------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # --------------------------------------------------------------------...
using System; using System.Threading.Tasks; using DataProcessor; using Grpc.Core; namespace GrpcServerCommon { public class IngestorService : Ingestor.IngestorBase { public override Task<DataResponse> ProcessData(DataRequest request, ServerCallContext context) { Console.WriteLine...
No information available about domain name likexian-no-money-registe.pl in the Registry NASK database. WHOIS database responses: https://dns.pl/en/whois WHOIS displays data with a delay not exceeding 15 minutes in relation to the .pl Registry system
package edu.virginia.vcgr.genii.client.alarms; import java.util.Calendar; import java.util.Collection; import java.util.LinkedList; import java.util.PriorityQueue; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; public class InMemoryAlarmManager { static private Log _logger = Lo...
function Get-ScriptCopPatrol { <# .Synopsis Gets the currently defined script cop patrols. .Description Gets the currently defined script cop patrols. A Script Cop patrol groups a number of rules to help easily fix a set of issues. .Example Get-ScriptCopPatrol .Link...
<?php /** * @author Semenov Alexander <semenov@skeeks.com> * @link http://skeeks.com/ * @copyright 2010 SkeekS (СкикС) * @date 14.10.2015 */ namespace skeeks\cms\helpers; use skeeks\cms\models\CmsTree; use skeeks\cms\models\Tree; use yii\caching\TagDependency; /** * Class TreeOptions * @package skeeks\cms\hel...
<html> <head> <meta charset="utf-8"> <title>30s</title> </head> <body > <button onclick="post_data()">send var from js to php</button> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.js"></script> <?php if(!empty($_POST)){ $obj=json_decode($_POST["myDat...
#!/bin/bash sudo ethtool -s eth3 speed 10000 duplex full sudo ethtool -s eth4 speed 10000 duplex full sudo ethtool -s eth5 speed 10000 duplex full sleep 30
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; using Microsoft.Framework.Internal; namespace Microsoft.AspNet.Mvc.ModelBinding.Metadata { /// ...
name 'heat-api' description 'OpenStack heat api service' run_list( 'role[openstack-base]', 'recipe[heat::api]' )
///<reference path="../node_modules/grafana-sdk-mocks/app/headers/common.d.ts" /> import $ from 'jquery'; import _ from 'lodash'; import './css/html-panel.css!'; import {MetricsPanelCtrl} from 'app/plugins/sdk'; class HtmlCtrl extends MetricsPanelCtrl { static templateUrl = 'partials/module.html'; static scrollab...
/* Copyright 2019 Esri 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, ...
import R from 'ramda'; import immutable from 'seamless-immutable'; const isImmutable = R.has('asMutable'); const convertToJs = state => state.asMutable({ deep: true }); const fromImmutable = R.when(isImmutable, convertToJs); const toImmutable = raw => immutable(raw); export default { out: (state) => { if (st...
package com.thecode.infotify.database import android.content.Context import androidx.room.Database import androidx.room.Room import androidx.room.RoomDatabase import androidx.room.TypeConverters import com.thecode.infotify.database.article.ArticleEntity import com.thecode.infotify.database.article.ArticlesDao import c...
import 'package:fish_redux/fish_redux.dart'; import 'package:flutter/material.dart' hide Action; import 'package:movie/actions/http/tmdb_api.dart'; import 'action.dart'; import 'state.dart'; Effect<SeasonDetailPageState> buildEffect() { return combineEffects(<Object, Effect<SeasonDetailPageState>>{ SeasonDetailP...
// +build amd64 // +build windows package w32syscall import "syscall" var ( procGetClassLongPtrW = moduser32.NewProc("GetClassLongPtrW") ) func GetClassLongPtr(hwnd syscall.Handle, index int) (result uintptr, err error) { result, _, e1 := syscall.Syscall(procGetClassLongPtrW.Addr(), 2, uintptr(hwnd), uintptr(inde...
#!/usr/bin/ruby # encoding: utf-8 $:.unshift( File.dirname( __FILE__ ) ) require 'CalculatorLexer' require 'CalculatorParser' fetch = begin require 'readline' proc do Readline.readline( ">>> ", true ) end rescue LoadError proc do print( ">>> " ) l = $stdin.gets and l.chomp e...
import AudipPlayer from './audio-player' import Collapse from './collapse' import LetterBlock from './letter-block' import PropTypes from 'prop-types' import React from 'react' // import styled from 'styled-components' import Waypoint from 'react-waypoint' import Container from '../content-container' import mq from '.....
const cheerio = require("cheerio"); const { nanoid } = require('nanoid'); function getCases(pageContent) { const $ = cheerio.load(pageContent); let casesArray = []; $('.result-box').each(function (i, item) { const name = $(item).find('h4').text(); const id = nanoid(); if (name) { cases...
package com.klony.formatters import com.klony.organiser.OrganisedResult import com.klony.utils.resolveToRealPath import com.klony.utils.terminal.Terminal import com.klony.utils.toStringShortened class ChecksumMapFormatterSummary: ChecksumMapFormatter { override fun toString(result: OrganisedResult): String { ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; [CustomEditor(typeof(HMDRecorder))] public class HMDRecorderEditor : Editor { public override void OnInspectorGUI() { DrawDefaultInspector(); var hmdRecorder = (HMDRecorder)target; if (G...
using System; using System.Xml; using System.Data; using System.Globalization; using System.Windows.Forms; public class Form1: Form { protected DataSet DataSet1; protected DataGrid dataGrid1; // <Snippet1> private void ChangeCultureInfo(DataTable table) { // Print the LCID ...
<?php $COOKIE_NAME = "quiz_done"; // check for cookie -- redirect if necessary if (isset($_COOKIE[$COOKIE_NAME])) { header('Location: results.php'); } ?> <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <meta name="viewport" content="width=device-w...
/******************************************************************************* * Copyright (coffee) 2014 Vienna University of Technology. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution...
using UnityEngine; using UnityEngine.UI; public class HighScoreMainGame : MonoBehaviour { public Text highScoreText; void Update () { highScoreText.text = "High \n Score \n" + string.Format("{0:00.00}", GameManager.manager.highScore); } }
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); /* * FusionInvoice * * A free and open source web based invoicing system * * @package FusionInvoice * @author Jesse Terry * @copyright Copyright (c) 2012 - 2013 FusionInvoice, LLC * @license http://www.fusioninvoice.com/license.t...
rootProject.name = "kmmApp" include(":androidApp") include(":alog") include(":utils") include(":PlatformMMKV") include(":business") include(":sdkframework") project(":sdkframework").projectDir = File(rootDir, "shared/sdkframework") project(":alog").projectDir = File(rootDir, "shared/alog") project(":utils").projectD...
<?php use \Rapd\Router\Route; use \Rapd\View; Router::add(new Route( "home", "/", function(){ $user = User::current(); $lists = $user->getShopLists(); return View::render("home", [ "user" => $user, "lists" => $lists, ]); } ));
package org.amshove.kluent.tests.collections import kotlin.test.assertFails import org.amshove.kluent.tests.Person import org.amshove.kluent.shouldNotBeIn import kotlin.test.Test class ShouldNotBeInShould { @Test fun passWhenTestingAnObjectWhichIsNotInAnArray() { val person = Person("Jon", "Doe") ...
#include <stdint.h> #include <string.h> #include "spman.h" #define SPMAN_PAT_UNUSED 0xff #define SPMAN_MAX_SPRITES 32 #define SPMAN_MAX_PATTERNS 64 uint8_t sp_last_sprite, sp_last_fixed_sprite, sp_idx; struct sprite_attr sp_fixed[SPMAN_MAX_SPRITES]; struct sprite_attr sp_buffer[SPMAN_MAX_SPRITES * 2]; uint8_t...
/* * Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file * for details. All rights reserved. Use of this source code is governed by a * BSD-style license that can be found in the LICENSE file. */ /** * @assertion void writeAll(Iterable objects, [String separator = ""]) * Iterates over the g...
/*++ Copyright (c) 1997 Microsoft Corporation Module Name: list.c Abstract: List Entry manipulation functions Author: Based on code by Mike Tsang (MikeTs) Stephane Plante (Splante) Environment: User mode only Revision History: --*/ #include "pch.h" VOID EXP...
import {inspect} from 'util' import * as browserHacks from './browser-hacks' class CasinocoinError extends Error { name: string message: string data?: any constructor(message = '', data?: any) { super(message) this.name = browserHacks.getConstructorName(this) this.message = message this.dat...
+++ title = "Project Brochure" date = 2018-12-21T00:00:00 # Authors. Comma separated list, e.g. `["Bob Smith", "David Jones"]`. authors = ["Shiva Prasad Reddy Katta"] #List format. #0 = Simple #1 = Detailed #2 = Stream list_format = 2 # Tags (optional). # Set `tags = []` for no tags, or use the form `tags = ["A T...
# dyon_interactive A library for interactive coding with the Piston game engine ![snake](../images/snake.png) 1. [Install Rust](https://www.rust-lang.org/) (Rust Nightly is required at the moment) 2. Fork the repo to your local hard drive 3. In Terminal, go to "dyon/interactive" and type `cargo run --release --exampl...
import type { SymbolTable } from '@spyglassmc/core' import type { ModuleNode } from '../../lib/index.js' export const TestContent = ` /// Doc comment. compound Foo { Bar: byte, Baz: Qux } enum(int) Qux { One = 1 } enum(float) Eww { One = 1.0 } enum(string) Huh { One = "One" } Foo describes minecraft:block; i...
package com.twitter.utility; public class FrontendViews { public static class HealthView{ } public static class CreateSessionView{ } public static class CreateUserView{ } public static class LoginUserView{ } }
;;;; ------------------------------- ;;;; Copyright (c) Corman Technologies Inc. ;;;; See LICENSE.txt for license information. ;;;; ------------------------------- ;;;; ;;;; File: random.lisp ;;;; Contents: Random number functions for Corman Lisp. ;;;; History: 3/20/97 RGC Created. ;;;; 1/1/99 RGC Modi...
// Copyright 2020 The nfgo 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 app...
package com.jinwoo.memoapplication import com.jinwoo.memoapplication.Model.MemoModel interface RecyclerViewClickListener{ fun onItemClicked(position: Int, memo: MemoModel, key: String) fun onItemLongClicked(position: Int, memo: MemoModel, key: String) }
require 'json' RSpec.describe ServerlessHelpers::Event::Aws::Sns do let (:mock_event) { JSON.parse(file_fixture('aws/sns_event.json')) } let (:event) { described_class.new(mock_event) } it "lists messages" do expect(event.messages.count).to be 1 end it "parses messages from JSON" do expect(event.mes...
(in-package #:cl-user) (defpackage #:parsley (:use #:cl) (:export #:*buffer* #:buffer-bytes #:buffer-bits #:buffer-sequence #:buffer-stream #:buffer-position #:with-buffer-read #:octets= #:read-bits #:read-bytes #:read-uint-be #:read-uint-le #:read-int-be #:read-int-le ...
import Immutable from 'immutable' import execute_reducer from "./reducer_helper"; const initialState = Immutable.Map({ food_list_browser:Immutable.List(), food_list_like:Immutable.List() }) function profile_load_like(state,data) { return state.set("food_list_like",Immutable.fromJS(data.food_list_like)...
using LitJson; using UnityEngine; using System.Collections; using System.Collections.Generic; public class SelectGameModel { private SelectGameController m_selectGameController; private int m_selectedListIndex; public bool IsGameListRequestPending { get; private set; } public bool IsGameDeleteRequestP...