content
stringlengths
4
1.04M
lang
stringclasses
358 values
score
int64
0
5
repo_name
stringlengths
5
114
repo_path
stringlengths
4
229
repo_licenses
listlengths
1
8
-- Copyright (c) 2010 The Chromium Authors. All rights reserved. -- Use of this source code is governed by a BSD-style license that can be -- found in the LICENSE file. -- This script deletes all the items within a bookmark folder. tell application "Chromium" set var to bookmark folder "New" of bookmarks bar -- Ch...
AppleScript
4
zealoussnow/chromium
chrome/browser/ui/cocoa/applescript/examples/delete_bookmarks.applescript
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
{ "config": { "abort": { "cannot_connect": "Kan geen verbinding maken met controller met url {base_url}" }, "step": { "user": { "data": { "exclude": "Vera-apparaat-ID's om uit te sluiten van Home Assistant.", "li...
JSON
3
liangleslie/core
homeassistant/components/vera/translations/nl.json
[ "Apache-2.0" ]
--TEST-- cli_get_process_title() function : basic functionality --CREDITS-- Patrick Allaert patrickallaert@php.net @nephp #nephp17 --SKIPIF-- <?php if (PHP_SAPI !== "cli") die("skip cli process title not available in non-cli SAPI"); if (!PHP_CLI_PROCESS_TITLE) die("skip process title not available (disabled or unsu...
PHP
3
thiagooak/php-src
sapi/cli/tests/cli_get_process_title_basic.phpt
[ "PHP-3.01" ]
package com.baeldung.features; import org.junit.jupiter.api.Test; import java.util.Arrays; import java.util.Set; import java.util.stream.Collectors; import static org.assertj.core.api.Assertions.assertThat; class NestedClassesUnitTest { @Test public void giveNestedClass_whenCallingMainClassPrivateMethod_th...
Java
5
DBatOWL/tutorials
core-java-modules/core-java-11-2/src/test/java/com/baeldung/features/NestedClassesUnitTest.java
[ "MIT" ]
#include "script_component.hpp" /* Name: TFAR_fnc_getSwFrequency Author: NKey, Garth de Wet (L-H) Gets the frequency for the active channel. Arguments: Radio classname <STRING> Return Value: Frequency <NUMBER> Example: _frequency = (call TFAR_fnc_ActiveSwRadio) call TFAR_fnc_getSwFrequenc...
SQF
4
MrDj200/task-force-arma-3-radio
addons/core/functions/fnc_getSwFrequency.sqf
[ "RSA-MD" ]
get: description: Ping this Marathon instance. responses: 200: description: Every ping is answered with a pong. body: text/plain: example: pong application/json: type: string example: "pong"
RAML
3
fquesnel/marathon
docs/docs/rest-api/public/api/general/ping.raml
[ "Apache-2.0" ]
[Constructor()] interface TestPromises { Promise<DOMString> stringPromise(); };
WebIDL
3
dkozma/wasm-bindgen
crates/webidl-tests/webidls/enabled/promise.webidl
[ "Apache-2.0", "MIT" ]
import {Component, NgModule} from '@angular/core'; @Component({ selector: 'my-component', template: ` <div class="A{{p1}}B"></div> <div class="A{{p1}}B{{p2}}C"></div> <div class="A{{p1}}B{{p2}}C{{p3}}D"></div> <div class="A{{p1}}B{{p2}}C{{p3}}D{{p4}}E"></div> <div class="A{{p1}}B{{p2}}C{{p3}}D{...
TypeScript
4
John-Cassidy/angular
packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_styling/host_bindings/class_interpolation.ts
[ "MIT" ]
bottles set template1="i_n_""of beer on the wall. ""_i_n_"" of beer. """ set template2="""Take""_n2_""down, pass it around. """ set template3="j_n3_""of beer on the wall.""" for i=99:-1:1 do write ! hang 1 . set:i>1 n=" bottles ",n2=" one " set:i=1 n=" bottle ",n2=" it " . set n3=" bottle " set j=i-1 set:(j>1...
M
3
mullikine/RosettaCodeData
Task/99-Bottles-of-Beer/MUMPS/99-bottles-of-beer-3.mumps
[ "Info-ZIP" ]
defmodule Dialyzer.Cond do def one_boolean do cond do true -> :ok end end def two_boolean do cond do List.flatten([]) == [] -> :ok true -> :ok end end def one_otherwise do cond do :otherwise -> :ok end end def two_otherwise do cond do List.flatt...
Elixir
3
doughsay/elixir
lib/elixir/test/elixir/fixtures/dialyzer/cond.ex
[ "Apache-2.0" ]
/// The absent value /// /// The `None` type represents a type with _no_ value. /// /// It is often used to type code that fails to return control (e.g. an infinite loop) /// or to designate impossible values (e.g. the type `?None` only contains `null`). import Prim "mo:⛔"; module { /// The empty type. A subtype o...
Modelica
4
nomeata/motoko-base
src/None.mo
[ "Apache-2.0" ]
- view: opportunity_facts derived_table: sql: | select account_id , sum(case when stage_name = 'Closed Won' then 1 else 0 end) as lifetime_opportunities_won , sum(case when stage_name = 'Closed Won' ...
LookML
4
rsharma03/blocks_salesforce
submodules/opportunity_snapshot/opportunity_facts.view.lookml
[ "MIT" ]
alias h='history' alias hs='history | grep' alias hsi='history | grep -i'
Shell
3
chensanle/ohmyzsh
plugins/history/history.plugin.zsh
[ "MIT" ]
{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Image Data Explanation Benchmarking: Image Multiclass Classification" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "This notebook demonstrates how to use the benchmark utility to benchmark the perfo...
Jupyter Notebook
5
willianfco/shap
notebooks/benchmark/image/Image Multiclass Classification Benchmark Demo.ipynb
[ "MIT" ]
=pod =head1 NAME SSL_state_string, SSL_state_string_long - get textual description of state of an SSL object =head1 SYNOPSIS #include <openssl/ssl.h> const char *SSL_state_string(const SSL *ssl); const char *SSL_state_string_long(const SSL *ssl); =head1 DESCRIPTION SSL_state_string() returns an abbreviated st...
Pod
5
pmesnier/openssl
doc/man3/SSL_state_string.pod
[ "Apache-2.0" ]
#version 450 layout(location = 0) flat in int vA; layout(location = 0) out vec4 FragColor; vec4 foobar(int a) { if (a < 0) { discard; } return vec4(10.0); } void main() { int param = vA; vec4 _25 = foobar(param); FragColor = vec4(10.0); }
GLSL
4
Alan-love/filament
third_party/spirv-cross/reference/shaders-no-opt/asm/frag/discard-impure-function-call.asm.frag
[ "Apache-2.0" ]
<div> <p>foo!</p> <p>bar!</p> </div>
HTML
0
Theo-Steiner/svelte
test/hydration/samples/if-block-anchor/_before.html
[ "MIT" ]
;; Declarations patches-own [zone] breed [inhabitants inhabitant] inhabitants-own [id zone.original age sex income] ;; Procedures to setup clear-all reset-ticks create-zones ;read-agent-data read-agent-data-2 end to create-zones ask patches [set pcolor 2 set zone 3] ask patches [if...
NetLogo
5
SeoncheolPark/sc-book
NetLogo/SimpleWorldVersion1.nlogo
[ "MIT" ]
/* * Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org> * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include <AK/Forward.h> #include <AK/Function.h> #include <AK/HashMap.h> #include <AK/Noncopyable.h> #include <AK/NonnullOwnPtr.h> #include <AK/NonnullRefPtr.h> #include <AK/Time.h> #includ...
C
5
r00ster91/serenity
Userland/Libraries/LibCore/EventLoop.h
[ "BSD-2-Clause" ]
"""The discovery flow helper.""" from __future__ import annotations from collections.abc import Coroutine from typing import Any from homeassistant.const import EVENT_HOMEASSISTANT_STARTED from homeassistant.core import CoreState, Event, HomeAssistant, callback from homeassistant.data_entry_flow import FlowResult fro...
Python
5
MrDelik/core
homeassistant/helpers/discovery_flow.py
[ "Apache-2.0" ]
#include "caffe2/core/net_async_task_graph.h" #include "caffe2/core/net_parallel.h" namespace caffe2 { AsyncTaskGraph::AsyncTaskGraph( ExecutorHelper* helper, const ExecutionOptions& options) : helper_(helper), options_(options), frozen_(false) {} bool AsyncTaskGraph::CreateNode( int node_id, co...
C++
4
Hacky-DH/pytorch
caffe2/core/net_async_task_graph.cc
[ "Intel" ]
auto elseifchain() { bool a, b, c; if (a) { } else if (b) { } else if (c) { } }
D
2
deadalnix/dmd
test/compilable/extra-files/header3.di
[ "BSL-1.0" ]
@app mockapp @tables accounts accountID *String pets accountID *String
Arc
2
karlwestin/sandbox
test/mock/external-db/.arc
[ "Apache-2.0" ]
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
TypeScript
5
kklt2002/vscode
src/vs/workbench/common/editor/textResourceEditorModel.ts
[ "MIT" ]
package com.baeldung.jna; import static org.junit.jupiter.api.Assertions.*; import org.junit.jupiter.api.Test; import com.sun.jna.Native; import com.sun.jna.Platform; class CMathUnitTest { @Test void whenCallNative_thenSuccess() { CMath lib = Native.load(Platform.isWindows() ? "msvcrt" : "c", CMath....
Java
4
DBatOWL/tutorials
java-native/src/test/java/com/baeldung/jna/CMathUnitTest.java
[ "MIT" ]
#tag Class Protected Class OptionUnrecognizedKeyException Inherits OptionParserException #tag Note, Name = Overview Raised by `OptionParser.Parse` when a option is supplied on the command line that `OptionParser` has not been maded aware of. i.e. the user supplied a key the program is not prepared to handle. #...
Xojo
4
seanarneyWI/XOJO-Redis
Shared Resources/OptionParser/OptionUnrecognizedKeyException.xojo_code
[ "MIT" ]
%YAML 1.1 # ROS Dockerfile database --- platform: os_name: $os_name os_code_name: $os_code_name rosdistro_name: $release_name user_name: ros maintainer_name: arch: amd64 type: distribution version: False release: ros ros_version: 1
EmberScript
3
christophebedard/docker_images-1
ros/.config/legacy/platform.yaml.em
[ "Apache-2.0" ]
digraph postponedLambdas_kt { graph [nodesep=3] node [shape=box penwidth=2] edge [penwidth=2] subgraph cluster_0 { color=red 0 [label="Enter function foo" style="filled" fillcolor=red]; subgraph cluster_1 { color=blue 1 [label="Enter block"]; ...
Graphviz (DOT)
4
Mu-L/kotlin
compiler/fir/analysis-tests/testData/resolve/cfg/postponedLambdas.dot
[ "ECL-2.0", "Apache-2.0" ]
ocv_clear_vars(HAVE_ONNX) set(ONNXRT_ROOT_DIR "" CACHE PATH "ONNX Runtime install directory") # For now, check the old name ORT_INSTALL_DIR if(ORT_INSTALL_DIR AND NOT ONNXRT_ROOT_DIR) set(ONNXRT_ROOT_DIR ${ORT_INSTALL_DIR}) endif() if(ONNXRT_ROOT_DIR) find_library(ORT_LIB onnxruntime ${ONNXRT_ROOT_DIR}/lib ...
CMake
4
lefatoum2/opencv
cmake/FindONNX.cmake
[ "Apache-2.0" ]
(declare-const needle String) (declare-const haystack String) (assert (> (str.len needle) 3)) (assert (> (str.len haystack) 10)) (assert (not (= needle haystack))) (assert (str.contains haystack needle)) (check-sat)
SMT
4
mauguignard/cbmc
regression/smt2_strings/contains_input_sat/contains_input_sat.smt2
[ "BSD-4-Clause" ]
(ns wisp.test.util "Kind of ugly hack for defining *failures* globals" (:require [wisp.sequence :refer [count]] [wisp.ast :refer [pr-str symbol]])) (def ^:dynamic *passed* []) (def ^:dynamic *failed* []) ;; Since macros so far don't bind scope we need this hack. (set! global.*failed* *failed*) (set! gl...
wisp
5
LeXofLeviafan/wisp
test/util.wisp
[ "BSD-3-Clause" ]
(* Module: Trapperkeeper Parses Trapperkeeper configuration files Author: Raphael Pinson <raphael.pinson@camptocamp.com> About: License This file is licenced under the LGPL v2+, like the rest of Augeas. About: Lens Usage To be documented About: Configuration files This lens applies to Trapperkeeper webse...
Augeas
5
theredcat/puppet-puppetserver
files/lenses/trapperkeeper.aug
[ "Apache-2.0" ]
2019-09-18 23:32:23 kky HELP REGISTER 2019-09-18 23:32:24 -- NickServ: ***** NickServ Help ***** 2019-09-18 23:32:24 -- NickServ: Help for REGISTER: 2019-09-18 23:32:24 -- NickServ: 2019-09-18 23:32:24 -- NickServ: This will register your current nickname with NickServ. 2019-09-18 23:32:24 -- NickServ: This will allow...
IRC log
2
akshaykumar23399/DOTS
weechat/logs/irc.freenode.nickserv.weechatlog
[ "Unlicense" ]
local bit = require("bit") local ffi = require("ffi") local band = bit.band local bnot = bit.bnot local m = {} local Uint8Bound = 256 -- bound is the max uintN + 1 local Uint16Bound = 65536 local Uint32Bound = 4294967296 if not table.unpack then table.unpack = unpack end if not table.pack then table.pack = ...
Lua
4
chi-w-ng/flatbuffers
lua/flatbuffers/compat_luajit.lua
[ "Apache-2.0" ]
#pragma once #include "contrib/cryptomb/private_key_providers/source/ipp_crypto.h" #include "crypto_mb/cpu_features.h" #include "crypto_mb/ec_nistp256.h" #include "crypto_mb/rsa.h" namespace Envoy { namespace Extensions { namespace PrivateKeyMethodProvider { namespace CryptoMb { class IppCryptoImpl : public virtual ...
C
3
dcillera/envoy
contrib/cryptomb/private_key_providers/source/ipp_crypto_impl.h
[ "Apache-2.0" ]
INTERFACE zif_abapgit_gui_jumper PUBLIC. TYPES: ty_bdcdata_tt TYPE STANDARD TABLE OF bdcdata WITH DEFAULT KEY. METHODS jump IMPORTING !is_item TYPE zif_abapgit_definitions=>ty_item !iv_sub_obj_name TYPE zif_abapgit_definitions=>ty_item-obj_name OPTIONAL !iv_sub_obj_type TYPE zi...
ABAP
4
IvxLars/abapGit
src/ui/zif_abapgit_gui_jumper.intf.abap
[ "MIT" ]
/* * Program type: Embedded Static SQL * * Description: * This program declares and creates a new table. * Some rows, describing a department structure, * are added to the new table as a test. * * The table is created temporarily for figuring * out which level in the department structure each * depa...
Eiffel
5
jiemurat/delphimvcframework
unittests/general/Several/bin/firebird/examples/stat/stat4.e
[ "Apache-2.0" ]
TCCommand: vim.Comment("<cm_SrcComments>", "来源面板:显示文件备注") vim.Comment("<cm_SrcShort>", "来源面板:列表") vim.Comment("<cm_SrcLong>", "来源面板:详细信息") vim.Comment("<cm_SrcTree>", "来源面板:树状视图") vim.Comment("<cm_SrcQuickview>", "来源面板:快速查看") vim.Comment("<cm_VerticalPanels>", "纵向排列面板") vim.Comment("<cm_Src...
AutoHotkey
3
Jvcon/vimdesktop
Plugins/TotalCommander/TCCommand.ahk
[ "MIT" ]
/* * Copyright 2013 The Sculptor Project Team, including the original * author or 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/LICEN...
Xtend
4
sculptor/sculptor
sculptor-generator/sculptor-generator-core/src/main/java/org/sculptor/generator/transform/DslTransformation.xtend
[ "Apache-2.0" ]
-- get chc; -- store v1; -- load v1; -- put chb ; -- get cha ; -- store v2 ; -- load v2 ; -- put chc -- close cha; -- close chb ; -- close chc ; -- halt console ; -- Above program in the "Fancy" Syntax. %handles: IntTerm = Get Put Close %cohandles: Console = Get P...
AMPL
3
prashant007/AMPL
myAMPL/src/test9.ampl
[ "MIT" ]
varying vec2 vTextureCoord; uniform sampler2D uSampler; uniform float uAlpha; void main(void) { gl_FragColor = texture2D(uSampler, vTextureCoord) * uAlpha; }
GLSL
4
fanlistener/pixijs
packages/filters/filter-alpha/src/alpha.frag
[ "MIT" ]
--TEST-- SCCP 030: TYPE_CHECK inferred from type inference info --INI-- opcache.enable=1 opcache.enable_cli=1 opcache.optimization_level=-1 opcache.opt_debug_level=0 --EXTENSIONS-- opcache --FILE-- <?php var_dump(is_string(sys_get_temp_dir())); ?> --EXPECT-- bool(true)
PHP
2
NathanFreeman/php-src
ext/opcache/tests/opt/sccp_030.phpt
[ "PHP-3.01" ]
<!-- ~ Copyright 2018 Google LLC ~ ~ 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 ~ ~ https://www.apache.org/licenses/LICENSE-2.0 ~ ~ Unless required by applicable law or...
XML
1
Abhishekhm777/GoogleIO
mobile/src/main/res/drawable/map_marker_2.xml
[ "ECL-2.0", "Apache-2.0" ]
{{{ * item 1 ''item'' == dd == }}} * item 2
Creole
0
jquorning/ada-wiki
regtests/files/wiki/pre.creole
[ "Apache-2.0" ]
.class public Lothers/TestCls$B; .super Lothers/TestCls$A; .source "TestCls.java" # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lothers/TestCls; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x1 name = "B" .end annotation # instance fields...
Smali
2
Dev-kishan1999/jadx
jadx-core/src/test/smali/others/TestBadMethodAccessModifiers/TestCls$B.smali
[ "Apache-2.0" ]
### test api GET http://{{host}}/hi Accept: text/html > {% client.test("Request executed successfully", function() { client.assert(response.status === 200, "Response status is not 200"); }); %} ### test api2 GET http://{{host}}/hello Accept: text/plain ###
HTTP
3
zhaozhijun321/swoft-learn
test/httptest/sample.http
[ "Apache-2.0" ]
// D import file generated from 'kernel/kernel.d' // @(compute(CompileFor.deviceOnly)) module kernel; // import ldc.dcompute : GlobalPointer, kernel, compute, CompileFor; // import dcompute.std.index; // import dcompute.std.atomic; // import dcompute.std.sync; nothrow @nogc extern (C++) { /* @(kernel) */void saxpy(fl...
D
4
CyberShadow/grain
kernel/kernel.di
[ "BSL-1.0" ]
/* * Copyright 2002-2019 the original author or 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
Kotlin
4
ZiaYang/spring-framework
spring-webflux/src/test/kotlin/org/springframework/web/reactive/result/KotlinInvocableHandlerMethodTests.kt
[ "Apache-2.0" ]
--TEST-- SOAP Interop Round2 groupB 004 (php/direct): echoNestedStruct --EXTENSIONS-- soap --INI-- precision=14 --FILE-- <?php $param = (object)array( 'varString' => "arg", 'varInt' => 34, 'varFloat' => 123.45, 'varStruct' => (object)array( 'varString' => "arg2", 'varInt' => 342, 'varFloat' => 123.4...
PHP
3
NathanFreeman/php-src
ext/soap/tests/interop/Round2/GroupB/r2_groupB_004p.phpt
[ "PHP-3.01" ]
# stub eclass
Gentoo Eclass
0
mgorny/pkgcheck
tests/repos/standalone/eclass/stub.eclass
[ "BSD-3-Clause" ]
"""The unifiprotect integration discovery.""" from __future__ import annotations import asyncio from dataclasses import asdict from datetime import timedelta import logging from typing import Any from unifi_discovery import AIOUnifiScanner, UnifiDevice, UnifiService from homeassistant import config_entries from home...
Python
5
MrDelik/core
homeassistant/components/unifiprotect/discovery.py
[ "Apache-2.0" ]
# Module example in Elixir defmodule Example do use GenServer def fact(0, accum) do accum end def fact(n, accum \\ 1) do fact(n - 1, accum * n) end end
Elixir
4
Earthman100/spyder
spyder/plugins/completion/providers/fallback/tests/data/example.ex
[ "MIT" ]
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
Scala
4
akhalymon-cv/spark
resource-managers/kubernetes/core/src/test/scala/org/apache/spark/scheduler/cluster/k8s/KubernetesClusterManagerSuite.scala
[ "Apache-2.0" ]
<?xml version="1.0" encoding="UTF-8"?> <faces-config> <faces-config-extension> <namespace-uri>http://www.ibm.com/xsp/custom</namespace-uri> <default-prefix>xc</default-prefix> </faces-config-extension> <composite-component> <component-type>ccBSDatePickerFull</component-type> <composite-name>ccBSDa...
XPages
4
IBM-FMC/TESTE
nsf/CustomControls/ccBSDatePickerFull.xsp-config
[ "Apache-2.0" ]
/** * @file double_hash_hash_table.cpp * @author [achance6](https://github.com/achance6) * @author [Krishna Vedala](https://github.com/kvedala) * @brief Storage mechanism using [double-hashed * keys](https://en.wikipedia.org/wiki/Double_hashing). * @note The implementation can be optimized by using OOP style. */...
C++
5
icbdubey/C-Plus-Plus
hashing/double_hash_hash_table.cpp
[ "MIT" ]
module Api.Time exposing ( Posix , dateToString , dateTimeToString , encodeDate , encodeDateTime , dateDecoder , dateTimeDecoder ) import Http import Iso8601 import Json.Decode import Json.Encode import Time type alias Posix = Time.Posix dateToString : Posix -> String dateToString =...
Elm
4
therockstorm/openapi-generator
samples/openapi3/client/elm/src/Api/Time.elm
[ "Apache-2.0" ]
fun main () : transaction page = x <- source <xml>TEST</xml>; set x <xml>HI</xml>; return <xml><body> <dyn signal={signal x}/> </body></xml>
UrWeb
1
apple314159/urweb
tests/reactive2.ur
[ "BSD-3-Clause" ]
{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# 504 Batch Normalization\n", "\n", "View more, visit my tutorial page: https://mofanpy.com/tutorials/\n", "My Youtube Channel: https://www.youtube.com/user/MorvanZhou\n", "\n", "Dependencies:\n", "* torch: 0.1....
Jupyter Notebook
5
Giselle-Liu/PyTorch-Tutorial
tutorial-contents-notebooks/504_batch_normalization.ipynb
[ "MIT" ]
class_name Coin extends Area2D var taken = false func _on_body_enter(body): if not taken and body is Player: ($AnimationPlayer as AnimationPlayer).play("taken")
GDScript
4
jonbonazza/godot-demo-projects
2d/physics_platformer/coin/coin.gd
[ "MIT" ]
/** Simple statically-typed programming language with functions and variables * taken from "Language Implementation Patterns" book. */ grammar Cymbol; file: (functionDecl | varDecl)+ ; varDecl : type ID ('=' expr)? ';' ; type: 'float' | 'int' | 'void' ; // user-defined types functionDecl : t...
ANTLR
4
yingkitw/Project_CodeNet
tools/spt-generator/src/com/ibm/ai4code/parser/cymbol/Cymbol.g4
[ "Apache-2.0" ]
RwPlatformNestedProjectLoadComponentV2 { #name : 'common/tests/platforms/gemstone32-5/Tests', #condition : [ 'gs3.[2-5]' ], #packageNames : [ 'Rowan-Tests-GemStone-32x' ], #comment : 'Tests gemstone 3.2 thru 3.5' }
STON
2
GemTalk/Rowan
rowan/components/common/tests/platforms/gemstone32-5/Tests.ston
[ "MIT" ]
@{ # Version number of this module. ModuleVersion = '2.5' # ID used to uniquely identify this module GUID = '369f0ee4-4cda-4ac3-a5c5-08e7bbc06e1a' # Author of this module Author = 'PowerShell' # Company or vendor of this module CompanyName = 'Microsoft Corporation' # Copyright statement for this module Copyright ...
PowerShell
3
dahlia/PowerShell
test/powershell/engine/Module/assets/testmodulerunspace/NestedRequiredModule1/2.5/NestedRequiredModule1.psd1
[ "MIT" ]
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import ts from 'typescript'; import {absoluteFrom as _abs} from '../../src/ngtsc/file_system'; import {runInEachFileS...
TypeScript
5
OakMolecule/angular
packages/compiler-cli/ngcc/test/utils_spec.ts
[ "MIT" ]
#include <torch/csrc/jit/codegen/cuda/lower_misaligned_vectorization.h> #include <torch/csrc/jit/codegen/cuda/index_compute.h> #include <torch/csrc/jit/codegen/cuda/instrumentation.h> #include <torch/csrc/jit/codegen/cuda/ir_iostream.h> #include <torch/csrc/jit/codegen/cuda/ir_utils.h> #include <torch/csrc/jit/codegen...
C++
4
sanchitintel/pytorch
torch/csrc/jit/codegen/cuda/lower_misaligned_vectorization.cpp
[ "Intel" ]
--TEST-- Using invalid self/parent types in closure --FILE-- <?php $fn1 = function(self $x) {}; try { (new ReflectionFunction($fn1))->getParameters()[0]->getClass(); } catch (ReflectionException $e) { echo $e->getMessage(), "\n"; } $fn2 = function(parent $x) {}; try { (new ReflectionFunction($fn2))->getPa...
PHP
3
NathanFreeman/php-src
ext/reflection/tests/ReflectionParameter_getClass_self_parent_closure.phpt
[ "PHP-3.01" ]
import strutils, algorithm let # this file was obtained from: # https://www.unicode.org/Public/UCD/latest/ucd/UnicodeData.txt filename = "tools/UnicodeData.txt" data = readFile(filename).strip.splitLines() const # see the table here: # https://www.unicode.org/reports/tr44/#GC_Values_Table letters = ["Lu...
Nimrod
5
JohnAD/Nim
tools/unicode_parsedata.nim
[ "MIT" ]
%%% %%% Authors: %%% Gert Smolka <smolka@ps.uni-sb.de> %%% Christian Schulte <schulte@ps.uni-sb.de> %%% %%% Copyright: %%% Gert Smolka, 1998 %%% Christian Schulte, 1998 %%% %%% Last change: %%% $Date$ by $Author$ %%% $Revision$ %%% %%% This file is part of Mozart, an implementation %%% of Oz 3 %%% http:/...
Oz
5
Ahzed11/mozart2
platform-test/fd/train.oz
[ "BSD-2-Clause" ]
xquery version "1.0-ml"; import module namespace match-options = "http://marklogic.com/smart-mastering/options-impl" at "/com.marklogic.smart-mastering/matcher-impl/options-impl.xqy"; import module namespace test = "http://marklogic.com/test" at "/test/test-helper.xqy"; declare option xdmp:mapping "false"; (: This ...
XQuery
5
iveyMarklogic/marklogic-data-hub
marklogic-data-hub/src/test/ml-modules/root/test/suites/data-hub/5/smart-mastering/matching/compiled-options.xqy
[ "Apache-2.0" ]
@-moz-keyframes name {}
CSS
1
kitsonk/swc
css/parser/tests/fixture/esbuild/misc/D6tjKw383eOL-bbWEm1-4w/input.css
[ "Apache-2.0", "MIT" ]
$$ MODE TUSCRIPT LOOP ASK "Enter a string": str="" ASK "Enter an integer": int="" IF (int=='digits') THEN PRINT "int=",int," str=",str EXIT ELSE PRINT/ERROR int," is not an integer" CYCLE ENDIF ENDLOOP
Turing
2
LaudateCorpus1/RosettaCodeData
Task/User-input-Text/TUSCRIPT/user-input-text.tu
[ "Info-ZIP" ]
import Link from 'next/link' export default function Page() { return ( <> <h1>Onclick prevent default</h1> <Link href="/" onClick={(e) => { e.preventDefault() console.log('link to home clicked but prevented') }} > Home </Link> </> )...
JavaScript
4
hanneslund/next.js
test/e2e/new-link-behavior/app/pages/onclick-prevent-default.js
[ "MIT" ]
coq -no-install -custom "cd coq; $(MAKE) html" "" html
Coq
2
yoshihiro503/ocaml_util
Make.coq
[ "MIT" ]
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; const Color kShrinePink50 = Color(0xFFFEEAE6); const Color kShrinePink100 = Color(0xFFFEDBD0); const Color kShrine...
Dart
3
Mayb3Nots/flutter
dev/integration_tests/flutter_gallery/lib/demo/shrine/colors.dart
[ "BSD-3-Clause" ]
# ltmain.sh - Provide generalized library-building support services. # NOTE: Changing this file will not affect anything until you rerun ltconfig. # # Copyright (C) 1996-1998 Free Software Foundation, Inc. # Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 # # This program is free software; you can redistribute it and/or ...
Shell
5
OsmanDere/metasploit-framework
external/source/vncdll/winvnc/libjpeg/ltmain.sh
[ "BSD-2-Clause", "BSD-3-Clause" ]
# TODO: Translation updated at 2022-01-11 21:45 translate english strings: # game/scripts/pong_minigame.rpy:196 old "Player" new "Player" # game/scripts/pong_minigame.rpy:203 old "Computer" new "Computer" # game/scripts/pong_minigame.rpy:211 old "Click to Begin" new "Click to Be...
Ren'Py
2
googlebleh/LearnToCodeRPG
game/tl/english/scripts/pong_minigame.rpy
[ "BSD-3-Clause" ]
<?xml version="1.0" encoding="UTF-8"?> <!-- generated with COPASI 4.28 (Build 226) (http://www.copasi.org) at 2020-06-15T12:51:28Z --> <?oxygen RNGSchema="http://www.copasi.org/static/schema/CopasiML.rng" type="xml"?> <COPASI xmlns="http://www.copasi.org/static/schema" versionMajor="4" versionMinor="28" versionDevel="2...
Component Pascal
5
pmendes/COVID19
Models/SIDARTHE-CT_Model9.cps
[ "MIT" ]
// run-pass // Check that constant expressions can be used in vec repeat syntax. // pretty-expanded FIXME #23616 pub fn main() { const FOO: usize = 2; let _v = [0; FOO*3*2/2]; }
Rust
4
Eric-Arellano/rust
src/test/ui/consts/const-expr-in-vec-repeat.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
#include "caffe2/core/context_gpu.h" #include "caffe2/operators/given_tensor_byte_string_to_uint8_fill_op.h" namespace caffe2 { REGISTER_CUDA_OPERATOR( GivenTensorByteStringToUInt8Fill, GivenTensorByteStringToUInt8FillOp<CUDAContext>); }
Cuda
3
Hacky-DH/pytorch
caffe2/operators/given_tensor_byte_string_to_uint8_fill_op.cu
[ "Intel" ]
module Case listId : List a -> List a listId xs = case xs of [] => [] (x :: xs) => x :: listId xs listRev : List a -> List a listRev = \case [] => [] (x :: xs) => listRev xs ++ [x] listFilter2 : (p, q : a -> Bool) -> List a -> List a listFilter2 p q xs = do x <- xs -- let pat let True = p x ...
Idris
4
ska80/idris-jvm
tests/ideMode/ideMode005/Case.idr
[ "BSD-3-Clause" ]
The AMEE category business/processes/production/ferroalloy/rawmaterials is aimed towards industry professionals to enable them to prepare inventories of greenhouse gas emissions from ferroalloy production. Ferroalloy is the term used to describe concentrated alloys of iron and one or more metals such as silicon,...
Creole
2
OpenAMEE/datasets
business/processes/production/ferroalloy/rawmaterials/documentation.creole
[ "MIT" ]
/* Copyright (c) 2017-2019 Netronome Systems, Inc. All rights reserved. * * SPDX-License-Identifier: BSD-2-Clause */ /* Test for macro pv_init_nfd. Not testing lso_fixup */ ;TEST_INIT_EXEC nfp-mem i32.ctm:0x000 0x43020344 0x05060708 0x01320b0c 0x02030401 ;TEST_INIT_EXEC nfp-mem i32.ctm:0x010 0x43020344 0x050607...
UnrealScript
3
pcasconnetronome/nic-firmware
test/datapath/pv_init_nfd_test.uc
[ "BSD-2-Clause" ]
#include <torch/csrc/jit/passes/inplace_check.h> namespace torch { namespace jit { void CheckInplace(Block* block) { for (auto node : block->nodes()) { if (node->kind() == prim::PythonOp && node->hasAttribute(attr::inplace)) { if (node->i(attr::inplace)) { throw std::runtime_error( std...
C++
4
Hacky-DH/pytorch
torch/csrc/jit/passes/inplace_check.cpp
[ "Intel" ]
#region license // Copyright (c) 2004, Rodrigo B. de Oliveira (rbo@acm.org) // All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, // are permitted provided that the following conditions are met: // // * Redistributions of source code must retain the above c...
Boo
4
popcatalin81/boo
tests/Boo.Lang.Compiler.Tests/TypeSystemFixture.boo
[ "BSD-3-Clause" ]
"""Test the Z-Wave JS config validation helpers.""" import pytest import voluptuous as vol from homeassistant.components.zwave_js.config_validation import boolean def test_boolean_validation(): """Test boolean config validator.""" # test bool assert boolean(True) assert not boolean(False) # test ...
Python
4
MrDelik/core
tests/components/zwave_js/test_config_validation.py
[ "Apache-2.0" ]
# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/eclass/kde-meta.eclass,v 1.82 2007/03/18 21:39:30 carlo Exp $ # # Author Anant Narayanan <anant@gentoo.org> # # This is the plan9-cmds eclass which supports broken-up Plan9 appli...
Gentoo Eclass
4
longlene/clx
eclass/plan9-cmds.eclass
[ "MIT" ]
handle-iorder: cmd: - cwd: /tmp/ruby-1.9.2-p320 - names: - ./configure - make - make install - run
SaltStack
2
byteskeptical/salt
tests/integration/files/file/base/issue-7649-handle-iorder.sls
[ "Apache-2.0" ]
sleep 5 t app appmode video sleep 3 t app button shutter PR sleep 20 t app button shutter PR sleep 3 t app appmode photo sleep 2 t app button shutter PR
AGS Script
1
waltersgrey/autoexechack
20SecVideoAndPhoto/Hero3PlusBlack/autoexec.ash
[ "MIT" ]
component{ function safetext(text) { var obracket = find("<",theText); var badTag = ""; var nextStart = ""; while(obracket){ badTag = REFindNoCase(); if(badTag.pos[1]){ nextStart = badTag.pos[1] + badTag.len[1]; } else{ ...
ColdFusion CFC
2
tonym128/CFLint
src/test/resources/com/cflint/tests/UnusedVariable/while_465.cfc
[ "BSD-3-Clause" ]
/* Do not edit this file - Generated by Perlito5 9.0 */ #include "EXTERN.h" #include "perl.h" #include "XSUB.h" MODULE = Warn PACKAGE = Warn void test () PPCODE: warn( SvPVx_nolen( newSVpv("MOO", 0)) );
XS
2
lablua/Perlito
misc/t5-xs/Warn/Warn.xs
[ "Artistic-2.0" ]
$accentColor = #40A4E3
Stylus
0
Shermayster/xstate
docs/.vuepress/styles/palette.styl
[ "MIT" ]
.INITVAL_00($sformatf("0x%080x", permute_init(INIT[0 * INIT_CHUNK_SIZE +: INIT_CHUNK_SIZE]))), .INITVAL_01($sformatf("0x%080x", permute_init(INIT[1 * INIT_CHUNK_SIZE +: INIT_CHUNK_SIZE]))), .INITVAL_02($sformatf("0x%080x", permute_init(INIT[2 * INIT_CHUNK_SIZE +: INIT_CHUNK_SIZE]))), .INITVAL_03($sformatf("0x%080x", pe...
SystemVerilog
3
gudeh/yosys
techlibs/nexus/brams_init.vh
[ "ISC" ]
// This title is very easy to optimise and includes an ESC character >>>>>>[-]<[-]<[-]<[-]<[-]<[-]<[-]++++++++++++++++[>+++>++++>+++++++>++++ ++>++>+<<<<<<-]>>>>>...<<<<.+.+.+.+.+.+.+.+.+.>+.+.+.+.+.+.<---------.+. +.+.+.+.+.+.+.+.>-----.+.+.+.+.+.<---------.+.+.+.+.+.+.+.+.+.>-----.+.+ .+.+.+.<---------.+.+.+.+.+.+.+....
Brainfuck
2
RubenNL/brainheck
examples/bench/prttab.bf
[ "Apache-2.0" ]
import { createNext, FileRef } from 'e2e-utils' import { NextInstance } from 'test/lib/next-modes/base' import webdriver from 'next-webdriver' import path from 'path' const appDir = path.join(__dirname, 'stitches') describe('New Link Behavior with stitches', () => { let next: NextInstance beforeAll(async () => {...
TypeScript
4
hanneslund/next.js
test/e2e/new-link-behavior/stitches.test.ts
[ "MIT" ]
:not(".public/basics/positioning") { }
CSS
0
fuelingtheweb/prettier
tests/css_selector_string/string.css
[ "MIT" ]
@checkbox-prefix-cls: ~"@{css-prefix}checkbox"; .checkboxFn();
Less
0
wangjianhua1/frsp-web
src/assets/theme/my-theme/components/checkbox.less
[ "MIT" ]
{ key.results: [ { key.typename: "MyBinding<TextFieldInner>", key.typeusr: "$s20typecontext_generics9MyBindingVyqd__GD", key.implicitmembers: [ ] } ] }
Groff
1
gandhi56/swift
test/SourceKit/TypeContextInfo/typecontext_generics.swift.response.7
[ "Apache-2.0" ]
// Copyright 2019 The TensorFlow 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 b...
Protocol Buffer
4
yage99/tensorflow
tensorflow/lite/toco/logging/toco_conversion_log.proto
[ "Apache-2.0" ]
#tag Module Protected Module EditFieldExtensionsWFS #tag Method, Flags = &h21 Private Sub ChangeWindowStyle(w as Integer, flag as Integer, set as Boolean, ex as Boolean = false) #if TargetWin32 Dim oldFlags as Integer Dim newFlags as Integer Dim styleFlags As Integer Const S...
REALbasic
5
bskrtich/WFS
Windows Functionality Suite/UI Extras/Modules/EditFieldExtensionsWFS.rbbas
[ "MIT" ]
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
TypeScript
5
sbj42/vscode
src/vs/workbench/contrib/notebook/browser/contrib/find/findFilters.ts
[ "MIT" ]
@viewport { min-width: 640px; max-width: 800px; } @viewport { min-width: 640px; max-width: 800px; } @viewport{ min-width: 640px; max-width: 800px; } @viewport { min-width: 640px; max-width: 800px; } @viewport { min-width : 640px ; max-width : 800px ; } @viewport { min-width : 640px ; max-width ...
CSS
1
fuelingtheweb/prettier
tests/css_atrule/viewport.css
[ "MIT" ]