content
stringlengths
0
181M
language
stringclasses
54 values
[package] name = "console" version = "0.1.0" authors = ["Alex McArther <acmcarther@gmail.com>"] [dependencies] itertools = "*" cgmath = "0.10" specs = "0.7.0" glutin = "0.6.1" lazy_static = "0.2.1" uuid = { version = "0.2.2", features = ["serde", "v4"] } [dependencies.client_state] path = "../../core/client_state" [...
TOML
package com.cookbook.cbook.service; import com.cookbook.cbook.entity.Recipe; import org.springframework.stereotype.Repository; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; import javax.transaction.Transactional; //@Repository //@Transactional public class RecipeDAOService { ...
Java
(* Auto-generated from "game_descr.atd" *) (** A position in the initial array. *) type tile_pos = Game_descr_t.tile_pos type tile = Game_descr_t.tile type rule_descr = Game_descr_t.rule_descr = { name: string; flags: string list option } (** Player 0 is east and so on. *) type round_player = Game_descr_t.roun...
OCaml
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@drawable/background_learn" tools:context=".AddNewItemActivity" > <ImageButton ...
XML
import java.math.BigInteger fun main(args: Array<String>) { val x = BigInteger.valueOf(5).pow(Math.pow(4.0, 3.0 * 3.0).toInt()) val y = x.toString() val len = y.length println("5^4^3^2 = ${y.substring(0, 20)}...${y.substring(len - 20)} and has $len digits") }
Kotlin
{ "hits": 0, "timeRestore": false, "description": "", "title": "Packetbeat Dashboard", "panelsJSON": "[{\"col\":1,\"id\":\"Web-transactions\",\"row\":5,\"size_x\":3,\"size_y\":2,\"type\":\"visualization\"},{\"col\":4,\"id\":\"DB-transactions\",\"row\":5,\"size_x\":3,\"size_y\":2,\"type\":\"visualization\"...
JSON
package com.cagnosolutions.app.main.user import groovy.transform.CompileStatic import javax.persistence.Entity import javax.persistence.GeneratedValue import javax.persistence.Id import javax.persistence.Table /** * Created by Scott Cagno. * Copyright Cagno Solutions. All rights reserved. */ @CompileStatic @Entit...
Groovy
class Colors COLORS = { :red => 1, :green => 2, :yellow => 3, :blue => 4, :purple => 5, :sea => 6, :white => 7 } class << self def default_terminal_colors @default_terminal_colors ||= "\e[0m" end def process(data) begin _process(data) ensure ...
Ruby
/* $Id$ *====================================================================== * * DISCLAIMER * * This material was prepared as an account of work sponsored by an * agency of the United States Government. Neither the United States * Government nor the United States Department of Energy, nor Battelle, * nor a...
C
############################################################################# # # XFOIL # # Copyright (C) 2000 Mark Drela # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 ...
CMake
\relax \catcode`:\active \catcode`;\active \catcode`!\active \catcode`?\active \catcode`"\active \ifx\hyper@anchor\@undefined \global \let \oldcontentsline\contentsline \gdef \contentsline#1#2#3#4{\oldcontentsline{#1}{#2}{#3}} \global \let \oldnewlabel\newlabel \gdef \newlabel#1#2{\newlabelxx{#1}#2} \gdef \newlabelxx#...
TeX
(ns leiningen.new.thing-babel (:require [leiningen.new.templates :as tpl] [leiningen.core.main :as main] [clojure.string :as str]) (:import [java.util Locale Calendar])) (def licenses {"asl" {:name "Apache Software License 2.0" :url "http://www.apache.org/licenses/LICENSE-2.0"} "epl" {:name "Eclip...
Clojure
-- Category: Database Engine Configuration SET NOCOUNT ON; SELECT CONVERT(nvarchar(128), SERVERPROPERTY('ServerName')) AS ServerName, [name] AS [EndpointName], COALESCE(SUSER_NAME(principal_id), '') AS [Owner], COALESCE([protocol_desc], '') AS [ProtocolDesc], COALESCE([type_desc], '') AS [Payload...
PLSQL
package chap06 import com.cra.figaro.library.atomic.discrete.Geometric import com.cra.figaro.library.atomic.continuous.{Beta, Normal} import com.cra.figaro.library.collection.VariableSizeArray import com.cra.figaro.algorithm.sampling.Importance import com.cra.figaro.language.Universe import com.cra.figaro.language.Fli...
Scala
FROM elixir:1.17.1-otp-26 # Single RUN statement, otherwise intermediate images are created # https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#run RUN apt-get update &&\ apt-get install -y libmagic-dev cmake libimage-exiftool-perl ffmpeg &&\ mix local.hex --force &&\ mix local.rebar --force...
Dockerfile
# Random samples from determinantal point processes """ Computes a random sample from the determinantal point process defined by the spectral factorization object `L`. Inputs: `L`: `Eigen` factorization object of an N x N matrix Output: `Y`: A `Vector{Int}` with entries in [1:N]. References: Algorith...
Julia
del *.log del *.syntax del *.av del oop\*.log del oop\*.syntax del oop\*.av "..\shell_project\ori.exe" -f "..\test\consts.php" -nologo "..\shell_project\ori.exe" -f "..\test\vars.php" -nologo "..\shell_project\ori.exe" -f "..\test\operators.php" -nologo "..\shell_project\ori.exe" -f "..\test\globals.php" -nologo "..\...
Batchfile
%Schools Out! subject(english). subject(gym). subject(history). subject(math). subject(science). state(california). state(florida). state(maine). state(oregon). state(virginia). activity(antiquing). activity(camping). activity(sightseeing). activity(spelunking). activity(water_skiing). name(appleton). name(gross). ...
Prolog
// // PopoverViewControllerTests // ApptivatorTests // import XCTest @testable import Apptivator class PopoverViewControllerTests: XCTestCase {}
Swift
defmodule Explorer.Repo.Migrations.ChangeBlockSizeToNullable do use Ecto.Migration def up do alter table(:blocks) do modify(:size, :integer, null: true) end end def down do alter table(:blocks) do modify(:size, :integer, null: false) end end end
Elixir
# # %CopyrightBegin% # # Copyright Ericsson AB 1998-2011. All Rights Reserved. # # The contents of this file are subject to the Erlang Public License, # Version 1.1, (the "License"); you may not use this file except in # compliance with the License. You should have received a copy of the # Erlang Public License along...
Makefile
(ns argumentica.db.file-transaction-log (:require (argumentica [transaction-log :as transaction-log]) [me.raynes.fs :as fs] [clojure.java.io :as io] [clojure.edn :as edn] [clojure.string :as string] [argumentica.util :as util]) (:import [java.nio.file File...
Clojure
package leafnodes import ( "github.com/botmetrics/go-botmetrics/Godeps/_workspace/src/github.com/onsi/ginkgo/internal/failer" "github.com/botmetrics/go-botmetrics/Godeps/_workspace/src/github.com/onsi/ginkgo/types" "time" ) type SuiteNode interface { Run(parallelNode int, parallelTotal int, syncHost string) bool ...
Go
help: ## Print documentation @grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' ghcid: ## Run ghcid with the cardano-sl-explorer package ghcid \ --command "stack ghci cardano-sl-explorer --ghci-options=-fno-code" ghcid-test:...
Makefile
# Copyright (c) 2016, Ruslan Baratov # All rights reserved. cmake_minimum_required(VERSION 3.0) # Emulate HunterGate: # * https://github.com/hunter-packages/gate include("../common.cmake") project(download-fixesproto) # download fixesproto hunter_add_package(fixesproto)
CMake
/****************************************************************************** * (C) Copyright 2011 KALRAY SA All Rights Reserved * * MODULE: mmu_proc_dcache_master_seq_lib.sv * DEVICE: MMU_PROC_DCACHE VIP * PROJECT: * AUTHOR: * DATE: * * ABSTRACT: * **************************************************************...
Coq
<# .SYNOPSIS Function to retrieve the size of a directory and the number of files and directories inside of it. .DESCRIPTION Function to retrieve the size of a directory and the number of files and directories inside of it. .PARAMETER Path In the parameter Path you can specify the directory you want to que...
PowerShell
\hypertarget{class_image_app_1_1migrations_1_10003__auto__20180818__1425_1_1_migration}{}\section{Image\+App.\+migrations.0003\+\_\+auto\+\_\+20180818\+\_\+1425.Migration Class Reference} \label{class_image_app_1_1migrations_1_10003__auto__20180818__1425_1_1_migration}\index{Image\+App.\+migrations.\+0003\+\_\+auto\+\_...
TeX
#!/usr/bin/env python # -*- coding: utf-8 -*- # no more "zero" integer division bugs!:P # import argparse import os import sys import numpy as np # array import time import emcee # import h5py # import random # import constants as cst # local constants module # from scipy.stats import norm as scipy_norm from . impo...
Python
CREATE PROCEDURE UpdateCreditLimitWrapper AS BEGIN DECLARE @Retries INT = 1 ; WHILE @Retries <= 10 BEGIN BEGIN TRY EXEC dbo.UpdateCreditLimit ; END TRY BEGIN CATCH WAITFOR DELAY '00:00:01' ; SET @Retries = @Retries + 1 ; END CATCH END END
PLSQL
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. // Package iam provides the client and types for making API // requests to AWS Identity and Access Management. // // AWS Identity and Access Management (IAM) is a web service that you can use // to manage users and user permissions under your AWS acc...
Go
part of serverManager; class MessageProcessor { Logger _log = new Logger('MessageProcessor'); Manager _manager; List<MessageProcessorInterface> _processors = []; MessageProcessor(Manager this._manager); void registerProcessor(MessageProcessorInterface mp) { mp.manager = _manager; _processors.add...
Dart
--[[ WoTD License - This software is provided as free and open source by the team of The WoTD Team. This script was written and is protected by the GPL v2. Please give credit where credit is due, if modifying, redistributing and/or using this software. Thank you. Thank: WoTD Team; for the Script ~~End of License... P...
Lua
FROM busybox ADD index.html /www/index.html EXPOSE 8000 CMD httpd -p 8000 -h /www; tail -f /dev/null
Dockerfile
Sub.pair <- function(z, t, Mat, i, j){ alpha=0.05 n1 <- Sub.n(z, t, Mat, i) n2 <- Sub.n(z, t, Mat, j) m2 <- sum(z[which(Mat[,i] == 1 & Mat[,j] == 1)]) M <- sum(z) M12 <- M - sum(z[which(Mat[,i] == 0 & Mat[,j] == 0)]) PetN <- n1 * n2 / m2 ChpN <- (n1 + 1) * (n2 + 1) / (m2 +1) - 1 VarN <- (n1 + 1) * (n2 + 1) * (n1 - m2...
R
{ "_args": [ [ { "raw": "is-unc-path@^0.1.1", "scope": null, "escapedName": "is-unc-path", "name": "is-unc-path", "rawSpec": "^0.1.1", "spec": ">=0.1.1 <0.2.0", "type": "range" }, "/home/lfernandes/ng2/code/first_app/angular2-reddit-base/no...
JSON
###################################################### ##### Purge all existing firewall rules (if any) ##### ###################################################### resources { 'firewall': purge => true, } ##################################################### ##### Default rules defined before custom rules ##### ###...
Pascal
# make sure we have vala find_package (Vala REQUIRED) # make sure we use vala include (ValaVersion) # make sure it's the desired version of vala ensure_vala_version ("0.16" MINIMUM) configure_file (${CMAKE_SOURCE_DIR}/config.vala.cmake ${CMAKE_BINARY_DIR}/config.vala) # files we want to compile include (ValaPrecompil...
CMake
#!/usr/bin/env python """ This script generates the index-pattern for Kibana from the fields.yml file. """ import yaml import argparse import string import re import json import os import errno import sys unique_fields = [] def fields_to_json(section, path, output): if not section["fields"]: return ...
Python
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. use Mix.Config # Configures the endpoint config :connectdemo, Connectdemo.Endpoint, url: [host: "l...
Elixir
# This file is a part of Julia. License is MIT: https://julialang.org/license # Tests for /base/stacktraces.jl using Serialization, Base.StackTraces let @noinline child() = stacktrace() @noinline parent() = child() @noinline grandparent() = parent() line_numbers = @__LINE__() .- [3, 2, 1] stack =...
Julia
#include "TTree.h" #include "TFile.h" #include "TH1.h" #include "TCanvas.h" #include "TMath.h" #include "TRandom3.h" #include <iostream> #include <sstream> /* * THINGS TO CHECK BEFORE YOU RUN * 1. Energy * 2. Position * 3. Binning * 4. Title */ double ENERGY = 1000.; //energy in MeV (if known) double XPOS = 1...
C
private let table: [UInt16] = [ 0x0000, 0xc0c1, 0xc181, 0x0140, 0xc301, 0x03c0, 0x0280, 0xc241, 0xc601, 0x06c0, 0x0780, 0xc741, 0x0500, 0xc5c1, 0xc481, 0x0440, 0xcc01, 0x0cc0, 0x0d80, 0xcd41, 0x0f00, 0xcfc1, 0xce81, 0x0e40, 0x0a00, 0xcac1, 0xcb81, 0x0b40, 0xc901, 0x09c0, 0x0880, 0xc841, 0xd801, 0x1...
Swift
[Version] Major=7 Minor=0 [Main] Type=temporal CalculateFlow=yes CalculateScalar=no Equations=incompressible TermAdvection=convective TermViscous=explicit TermDiffusion=explicit SpaceOrder2=CompactDirect6 TimeOrder=RungeKuttaExplicit4 TimeStep=-0.016000 TimeCFL=1.20000 [Iteration] Start=0 End=10 Restart=10 Statistic...
INI
@echo off wcl386 -zq -l=stub32x lfb.asm sc -bs -q lfb del *.obj
Batchfile
TOP=../../ include $(TOP)/mk/boilerplate.mk include $(TOP)/mk/test.mk
Makefile
#' One stage joint meta function #' #' Function to allow a one stage joint model (data from all studies analysed in #' one model) to be fitted to data from multiple studies. The function allows #' one longitudinal and one time-to-event outcome, and can accommodate baseline #' hazard stratified or not stratified by st...
R
# Be sure to restart your server when you modify this file. Mrug::Application.config.session_store :cookie_store, key: '_mrug_session'
Ruby
`timescale 1ns / 1ps //////////////////////////////////////////////////////////////////////////////// // Company: // Engineer: // // Create Date: 16:09:39 02/15/2016 // Design Name: rca // Module Name: E:/FPGA/Assignment8feb/rca_tester.v // Project Name: Assignment8feb // Target Device: // Tool versions: /...
Coq
FROM balenalib/aarch64-ubuntu:jammy-run LABEL io.balena.device-type="forecr-dsb-ornx-orin-nano-8gb" RUN echo "deb https://repo.download.nvidia.com/jetson/common r36.3 main" >> /etc/apt/sources.list.d/nvidia.list \ && echo "deb https://repo.download.nvidia.com/jetson/t234 r36.3 main" >> /etc/apt/sources.list.d/nvidia...
Dockerfile
function Start-Icinga() { Start-IcingaService -Service 'icinga2'; Start-IcingaForWindows; }
PowerShell
TruncateHtml.configure do |config| end
Ruby
/** * Copyright 2011-2013 Zuse Institute Berlin * * 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...
Java
# encoding: UTF-8 # This file is auto-generated from the current state of the database. Instead # of editing this file, please use the migrations feature of Active Record to # incrementally modify your database, and then regenerate this schema definition. # # Note that this schema.rb definition is the authoritative sou...
Ruby
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package org.ngsutils.fuzzy import org.ngsutils.ontology.GOManager import org.ngsutils.ontology.OntologyAnnotation import org.ngsutils.ontology.FMBGOntologyWrap /** * * @author victor */ class FMBSimilarity { ...
Groovy
WIKIMETATEMPLATE=admin/templates/BeanConfigMetaTemplate TITLE=Global GWiki Settings NOINDEX=true
INI
(cl:in-package dasl_mocap-msg) (cl:export '(LINEAR-VAL LINEAR ANGULAR-VAL ANGULAR ))
Common Lisp
<!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"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" con...
HTML
/** <module> Common utilities for the task-parallel scheduler @author Dylan Meysmans <dmeysman@vub.ac.be> @license MIT @version 0.1.0 */ :- module(utilities, [cores/1, tasks/1, depends_on/2, schedule_for_task_core/3, augmented_les...
Prolog
@if "%DEBUG%" == "" @echo off @rem ########################################################################## @rem ## @rem Grails JVM Bootstrap for Windows ## @rem ...
Batchfile
*{ padding: 0; margin: 0; font-family: sans-serif; font-size: 14px; } body{ height: 100vh; } li{ list-style: none; }
CSS
SRC=src BUILD_VERSION=v$(VERSION) RELEASE_DIR=$(SRC)/_build/releases TARGETS=centos ubuntu darwin build-all: @echo "Building dependencies for MIX_ENV=staging..." @cd $(SRC); MIX_ENV=staging mix compile @echo "Building dependencies for MIX_ENV=dev..." @cd $(SRC); MIX_ENV=dev mix compile @echo "Building dependencie...
Makefile
(ns ws-ldn-10.ex01 (:require [thi.ng.math.core :as m] [thi.ng.geom.core :as g] [thi.ng.geom.vector :as v] [thi.ng.geom.circle :as c] [thi.ng.geom.rect :as r] [thi.ng.geom.polygon :as poly] [thi.ng.geom.svg.core :as svg] [thi.ng.geom.svg.adapter :as svgadapt] [thi.ng.color.core :as col])) (...
Clojure
-- File : hello2-8.lua -- Purpose : Demonstration of Luerl interface. -- See : ./examples/hello/hello2.erl function old() print "(33) old" end print "(32) News!"
Lua
export * from './FaviconsGenerator'; export * from './types'; export * from './extensions'; export * from './getHtmlHeadersMarkup';
TypeScript
/* * This file and its contents are supplied under the terms of the * Common Development and Distribution License ("CDDL"), version 1.0. * You may only use this file in accordance with the terms of version * 1.0 of the CDDL. * * A full copy of the text of the CDDL should have accompanied this * source. A copy o...
Assembly
package com.gen.lab1.Strategies.Voice import android.util.Log import com.gen.lab1.Interfaces.IQuackBehavior /** * Created by Fenix on 12.03.2016. */ class MuteQuackBehavior : IQuackBehavior { override fun quack() { } }
Kotlin
module summary include("ops/summaries.jl") include("summary_writer.jl") using .summary_ops end
Julia
<?xml version="1.0" encoding="UTF-8"?> <!-- *** GENERATED FROM project.xml - DO NOT EDIT *** *** EDIT ../build.xml INSTEAD *** For the purpose of easier reading the script is divided into following sections: - initialization - compilation - jar - execution - debugging - javadoc - test c...
XML
unit About; interface uses WinApi.Windows, System.SysUtils, System.Classes, Vcl.Graphics, Vcl.Forms, Vcl.Controls, Vcl.StdCtrls, Vcl.Buttons, Vcl.ExtCtrls, Vcl.Imaging.jpeg; type TAboutBox = class(TForm) Panel1: TPanel; ProgramIcon: TImage; ProductName: TLabel; Version: TLabel; OKButton: TB...
Pascal
CREATE SEQUENCE IF NOT EXISTS eb_users_id_seq START 1; --Table: public.eb_users --DROP TABLE public.eb_users; CREATE TABLE IF NOT EXISTS public.eb_users ( id integer NOT NULL DEFAULT nextval('eb_users_id_seq'::regclass), email text COLLATE pg_catalog."default", pwd text COLLATE pg_catalog."default", e...
PLSQL
{ "_from": "async-foreach@^0.1.3", "_id": "async-foreach@0.1.3", "_inBundle": false, "_integrity": "sha1-NhIfhFwFeBct5Bmpfb6x0W7DRUI=", "_location": "/async-foreach", "_phantomChildren": {}, "_requested": { "type": "range", "registry": true, "raw": "async-foreach@^0.1.3", "name": "async-fo...
JSON
{ "rulesDirectory": [ "node_modules/codelyzer" ], "rules": { "arrow-return-shorthand": true, "callable-types": true, "class-name": true, "comment-format": [ true, "check-space" ], "curly": true, "eofline": true, "forin": true, "import-blacklist": [ true, ...
JSON
#!/usr/bin/env python if 'climt_lite' in __file__: Lite = True else: Lite = False try: try: import matplotlib.pylab as pylab except: import matplotlib.matlab as pylab # catch old versions which use set instead of setp if not hasattr(pylab,'setp'): pylab.setp = pylab.set # gives right as...
Python
{waitForAutocomplete} = require '../spec-helper' describe 'Autocomplete', -> [mainModule, autocompleteManager, editorView, editor, completionDelay] = [] describe 'Issue 65 - Stop autocomplete after you pass the autocomplete suggestion', -> beforeEach -> runs -> # Set to live completion a...
CoffeeScript
import { Component } from '@angular/core'; @Component({ moduleId: module.id, selector: 'app-root', templateUrl: "./app.component.html", styleUrls: ['./app.component.css'] }) export class AppComponent { title = 'app'; }
TypeScript
package tree import ( "reflect" . "github.com/kocircuit/kocircuit/lang/go/gate" ) func Splay(v interface{}) Tree { ctx := &SplayCtx{} return ctx.SplayValue(reflect.ValueOf(v)) } type SplayCtx struct { Seen MultiSet `ko:"name=seen"` } func (ctx *SplayCtx) Cache(x interface{}) *SplayCtx { return &SplayCtx{Seen...
Go
-module(option). -export( [ some/1 , none/0 , fmap/2 , getOrElse/2 , fold/3 ]). some(Value) -> {option, {some, Value}}. none() -> {option, none}. fmap(F, {option, {some, Value}}) -> some(F(Value)); fmap(_, {option, none}) -> none(). getOrElse(_, {option, {some, Value}}) -> Value; getOrElse(D...
Erlang
#!/usr/bin/env bash # Copyright 2015 The Kubernetes Authors. # # 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 applica...
Shell
package pl.touk.nussknacker.engine.definition.model import pl.touk.nussknacker.engine.api.component.{ Component, ComponentAdditionalConfig, ComponentId, DesignerWideComponentId } import pl.touk.nussknacker.engine.api.process.{ ExpressionConfig, ProcessConfigCreator, ProcessObjectDependencies, WithCateg...
Scala
# Copyright (c) 2016, Ruslan Baratov # All rights reserved. cmake_minimum_required(VERSION 3.0) # Emulate HunterGate: # * https://github.com/hunter-packages/gate include("../common.cmake") project(download-dest) # download dest hunter_add_package(dest) # now dest can be used find_package(dest CONFIG REQUIRED) add...
CMake
package lscob2b.test.contactus import lscob2b.data.PageHelper import lscob2b.data.UserHelper import lscob2b.pages.ContactUsPage import lscob2b.pages.HomePage import lscob2b.pages.LoginPage import lscob2b.test.data.PropertProvider class ContactUsPageTest extends PropertProvider{ def setup() { PageHelper.gotoPageL...
Groovy
# TetrisAI Juego del Tetris con agentes inteligentes usando aprendizaje por refuerzo
GCC Machine Description
; ; Entry: E'H'L'=far pointer ; L=byte SECTION code_clib SECTION code_l_sccz80 .ASSUME ADL = 0 ; use the 16 bit address, with MBASE lp_pchar: push hl exx push.l hl ld.lis hl,2 add.l hl,sp ld.l (hl),e pop.l hl pop de ld.l (hl),e ret
Assembly
2006-12-29,46.200001,46.610001,46.029999,46.18,10810500,36.438334 2006-12-28,45.810001,46.200001,45.810001,46.009998,7100500,36.304194 2006-12-27,45.75,46.25,45.75,46.16,12124100,36.422553 2006-12-26,44.799999,46.290001,44.799999,46.110001,10493300,36.383101 2006-12-22,45.50,45.799999,45.00,45.540001,11098700,35.933342...
CSV
[EXPERIENCE] Exp1=1500 Exp2=3000 Exp3=4500 Exp4=6000 Exp5=7500 Exp6=9000 Exp7=10500 Exp8=12000 Exp9=13500 Exp10=15000 Exp11=16500 Exp12=18000 Exp13=19500 Exp14=21000 Exp15=22500 Exp16=24000 Exp17=25500 Exp18=27000 Exp19=28500 Exp20=30000 Exp21=31500 Exp22=33000 Exp23=34500 Exp24=36000 Exp25=37500 Exp26=39000 Exp27=4050...
INI
if (CMAKE_VERSION VERSION_LESS 2.8.9) message(FATAL_ERROR "Qt5 requires at least CMake version 2.8.9") endif() if (NOT Qt5_FIND_COMPONENTS) set(Qt5_NOT_FOUND_MESSAGE "The Qt5 package requires at least one component") set(Qt5_FOUND False) return() endif() set(_Qt5_FIND_PARTS_REQUIRED) if (Qt5_FIND_REQ...
CMake
// // Licensed under the terms in License.txt // // Copyright 2010 Allen Ding. All rights reserved. // #import "KiwiConfiguration.h" #import "KWBlock.h" #import "KWVerifying.h" #import "KWExpectationType.h" #import "KWExampleNode.h" #import "KWExampleNodeVisitor.h" #import "KWReporting.h" #import "KWExampleGroupDelega...
Objective-C++
# Global settings # Style Screen.backgroundColor = "white" systemFontSize = 14 systemColorActive = "#0084FF" systemColorInactive = "#888" systemBackgroundColorInactive = "#DEDEDE" #systemFontFamily = ".SF NS Display" systemFontFamily = "-apple-system" # statusBar settings battery = "100%" systemTime = "9:41 PM" sign...
CoffeeScript
(ns alder.ui.dragging (:require [om.core :as om :include-macros true] [schema.core :as s :include-macros true] [cljs.core.async :refer [>!]] [alder.geometry :as geometry] [alder.node :as node]) (:require-macros [cljs.core.async.macros :refer [go]])) (s/defn start-s...
Clojure
package com.github.mperry.fg import fj.F import fj.F2 import fj.F3 import fj.F4 import fj.P1 import groovy.transform.TypeChecked /** * Created with IntelliJ IDEA. * User: MarkPerry * Date: 22/11/13 * Time: 10:08 PM * To change this template use File | Settings | File Templates. */ @TypeChecked class F3Extension...
Groovy
module standpic(input logic [9:0] addr, input logic stand1, frame_clk, output logic [0:99]data); enum logic [2:0] {stand, run1, run2, run3}state, next_state; logic [4:0] counter; parameter stand_width = 100; parameter stand_lenth = 100; parameter [0:stand_lenth-1][0:stand_width-1] ROM = { 100'b111...
Coq
# AUTOMATICALLY GENERATED # DO NOT EDIT THIS FILE DIRECTLY. Edit /Dockerfile.erb and run /update instead. FROM alpine:3.21.3 RUN set -ex \ && apk add --no-cache --virtual .lua-builddeps \ ca-certificates \ curl \ gcc \ libc-dev \ make \ readline-dev \ ...
Dockerfile
'menu': [ { label: 'Packages' submenu: [ label: 'u2i Hackathon Teaser' submenu: [ { label: 'Configure', command: 'u2i-hackathon-teaser:configure' }, { label: 'Run', command: 'u2i-hackathon-teaser:run' } ] ] } ]
CoffeeScript
// ======================================================================= // Department of Electrical and Computer Engineering // Portland State University // // Course name: ECE 593 - Pre-Silicon Validation // Term & Year: Spring 2017 // Instructor : Tareque Ahmad // // Project: Hardware implement...
Coq
#' @method gplot numeric #' @export #' @export gplot.numeric "gplot.numeric" <- function(x, y, se.y = NULL, xlab, ylab, residuals = NULL, rugplot = FALSE, scale = 0, se = FALSE, xlim = NULL, ylim = NULL, fit = TRUE, ...) { if(length(x) != length(y)) stop("x and y do not have the same length; possibly a consequence...
R
# # create one new entry on initial install so we always have one to anchor on # FIRST_ENTRY_TEXT = 'started up metime' Meteor.startup -> if Entries.find({}).count() == 0 Entries.insert text: FIRST_ENTRY_TEXT stamp: new Date().getTime()
CoffeeScript
// // CandidateTopView.m // 00Promise // // Created by Rangken on 2015. 1. 29.. // Copyright (c) 2015년 SocialInovation. All rights reserved. // #import "CandidateTopView.h" #import "CandidateViewController.h" @implementation CandidateTopView - (IBAction)backItemClick:(id)sender { [_parent backItemClick:sender...
Objective-C++
//! Functions and types for working with CUDA kernels. use crate::context::{CacheConfig, SharedMemoryConfig}; use crate::error::{CudaResult, ToResult}; use crate::module::Module; use cuda_driver_sys::CUfunction; use std::marker::PhantomData; use std::mem::transmute; /// Dimensions of a grid, or the number of thread b...
RenderScript
-module(hexer_deps_SUITE). -include_lib("inaka_mixer/include/mixer.hrl"). -mixin([{ hexer_test_utils , [ init_per_suite/1 , end_per_suite/1 ] } ]). -export([ all/0 ]). -export([ resolve_basic/1 , resolve_empty/1 , resolve_multiple_lines/1 , r...
Erlang