content
stringlengths
1
103k
path
stringlengths
8
216
filename
stringlengths
2
179
language
stringclasses
15 values
size_bytes
int64
2
189k
quality_score
float64
0.5
0.95
complexity
float64
0
1
documentation_ratio
float64
0
1
repository
stringclasses
5 values
stars
int64
0
1k
created_date
stringdate
2023-07-10 19:21:08
2025-07-09 19:11:45
license
stringclasses
4 values
is_test
bool
2 classes
file_hash
stringlengths
32
32
#!/bin/bash\n\nbindgen bindings.h -o src/lib.rs \\n --no-layout-tests \\n --no-doc-comments \\n --raw-line "#![allow(non_snake_case)]" \\n --raw-line "#![allow(non_camel_case_types)]" \\n --raw-line "#![allow(non_upper_case_globals)]" \\n --raw-line "#![allow(clippy::unreadable_literal)]" \\n --raw-line "#![allo...
dataset_sample\shell\wezterm_wezterm\deps\harfbuzz\regenerate.sh
regenerate.sh
Shell
526
0.95
0.066667
0.071429
awesome-app
762
2025-06-10T08:28:54.878025
Apache-2.0
false
f442e1af012232a02346c61e66c30037
#!/bin/sh\ncd $(git rev-parse --show-toplevel)\ndocker run -t \\n -v "$(pwd)":/app/ \\n --workdir /app/termwiz \\n "ghcr.io/orhun/git-cliff/git-cliff:latest" \\n --tag-pattern 'termwiz-*' -o CHANGELOG.md -c cliff.toml\n
dataset_sample\shell\wezterm_wezterm\termwiz\update-changelog.sh
update-changelog.sh
Shell
216
0.8
0
0.142857
react-lib
153
2025-01-20T14:18:43.581742
GPL-3.0
false
f7142bc93955d42ea897f47d785d8504
#!/bin/sh\nprintf "\x1b#3DOUBLE HEIGHT LINE\n\x1b#4DOUBLE HEIGHT LINE\n\x1b#6DOUBLE WIDTH LINE"\necho\necho\nsleep 1\n
dataset_sample\shell\wezterm_wezterm\test-data\double.sh
double.sh
Shell
113
0.8
0
0.2
awesome-app
742
2023-09-07T03:37:51.055228
Apache-2.0
true
65ea47dd32c1e0450c22644aad466383
#!/bin/zsh\n\n# Save initial unicode version\nlocal label=$(uuidgen)\nprintf "\e]1337;UnicodeVersion=push %s\e\\" $label\n\nfor version in 9 14 ; do\n echo "\n### Unicode Version $version\n"\n printf "\e]1337;UnicodeVersion=$version\e\\"\n\n echo "|||"\n echo -e "\u270c| Victory hand, text presentation by default"...
dataset_sample\shell\wezterm_wezterm\test-data\emoji-presentation.sh
emoji-presentation.sh
Shell
1,065
0.8
0.032258
0.125
awesome-app
652
2025-01-20T09:36:38.922600
Apache-2.0
true
9bb761719809733ed62ee38f397a167e
#!/bin/sh\n\nxprop -notype 32c _NET_WM_ICON |\n perl -0777 -pe '@_=/\d+/g;\n printf "P7\nWIDTH %d\nHEIGHT %d\nDEPTH 4\nMAXVAL 255\nTUPLTYPE RGB_ALPHA\nENDHDR\n", splice@_,0,2;\n $_=pack "N*", @_;\n s/(.)(...)/$2$1/gs' > /tmp/icon.pam\n\nconvert /tmp/icon.pam /tmp/icon.png\nwezterm imgcat /tmp/icon.png\n\n
dataset_sample\shell\wezterm_wezterm\test-data\extract-x11-icon.sh
extract-x11-icon.sh
Shell
305
0.8
0
0.125
vue-tools
614
2025-05-22T13:48:16.416010
Apache-2.0
true
113064733b4abd2b51bd2ec01cdd481d
#!/bin/sh\n\nprintf "\x1b[58:2::255:0:0m\x1b[4:1msingle\x1b[4:2mdouble\x1b[4:3mcurly\x1b[4:4mdotted\x1b[4:5mdashed\x1b[0m\n"\nprintf "\x1b[9mStRiKeThRoUgH\x1b[0m\n"\necho\nprintf "\x1b[58:2::0:255:0m\x1b[53moverline\x1b[0m\n"\n\n
dataset_sample\shell\wezterm_wezterm\test-data\underlines.sh
underlines.sh
Shell
222
0.8
0
0.2
python-kit
731
2023-11-16T13:55:35.294642
MIT
true
bcb624f81fff3342cf53c822ddd7d3a5
#!/bin/sh\n\nrunDump() {\n local ret\n # djvudump is faster than djvutoxml (now abandoned) as of version 3.5\n # https://sourceforge.net/p/djvu/bugs/71/\n "$DJVU_DUMP" file.djvu > dump\n ret="$?"\n if [ "$ret" -ne 0 ]; then\n echo "djvudump failed with exit code $ret" 1>&2\n rm -f dump\n fi\n}\nrunTxt() {\n local ret...
dataset_sample\shell\wikimedia_mediawiki\includes\media\scripts\retrieveDjvuMetaData.sh
retrieveDjvuMetaData.sh
Shell
582
0.8
0.15625
0.129032
node-utils
497
2025-04-28T02:17:49.347525
GPL-3.0
false
38efcdc115b25c8199ee983ae33a65f1
#!/usr/bin/env bash\n\n# Run difftastic on all the sample files, so we can see if any output\n# has been changed.\n#\n# # Generate a new compare.result.\n# $ sample_files/compare_all.sh\n#\n# # Compare it with the previous one.\n# $ difft sample_files/compare.expected sample_files/compare.result\n#\n# # If changes were...
dataset_sample\shell\Wilfred_difftastic\sample_files\compare_all.sh
compare_all.sh
Shell
1,189
0.8
0.071429
0.4
node-utils
575
2024-06-16T04:35:46.269855
MIT
false
f59429306a8b7ffe56e9f5490c426519
#! /usr/bin/env bash\n\nset -e\n\ncd "$(dirname "$0")/.."\n\nusage() {\n echo "$0 owner/repository"\n echo ""\n echo "Runs the parser against Gleam files in a GitHub repository"\n echo ""\n exit 1\n}\n\nif [ $# -ne 1 ]; then\n usage\nfi\n\ngh_repo="$1"\ndir="test/integration/${gh_repo//[\/-]/_}"\n\nif [[ ! -d "$d...
dataset_sample\shell\Wilfred_difftastic\vendored_parsers\tree-sitter-gleam\scripts\parse_repo.sh
parse_repo.sh
Shell
505
0.8
0.068966
0.047619
react-lib
29
2025-02-19T04:35:41.641222
Apache-2.0
false
ddb4f37091800cf05052cb3b6ce82dd5
#!/bin/bash\n\nset -euo pipefail\n\nGOPROXY="https://proxy.golang.org,direct" GOSUMDB=off GO111MODULE=on go mod tidy\n\nuntracked_files=$(git ls-files --others --exclude-standard | wc -l)\n\ndiff_stat=$(git diff --shortstat)\n\nif [[ "${untracked_files}" -ne 0 || -n "${diff_stat}" ]]; then\n echo 'Untracked or diff in...
dataset_sample\shell\wtfutil_wtf\scripts\check-uncommitted-vendor-files.sh
check-uncommitted-vendor-files.sh
Shell
399
0.8
0.071429
0.111111
python-kit
685
2025-05-27T09:35:57.704979
MIT
false
a51cfc7657adc9c6facb89b6b2cb676e
#!/usr/bin/env bash\n\n# script inspired by https://andrewlock.net/simplifying-the-cake-global-tool-bootstrapper-scripts-in-netcore3-with-local-tools/\n\n# Define default arguments.\nSCRIPT="build.cake"\nCAKE_ARGUMENTS=()\n\n# Parse arguments.\nfor i in "$@"; do\n case $1 in\n -s|--script) SCRIPT="$2"; shift ...
dataset_sample\shell\xamarin_Xamarin.Forms\build.sh
build.sh
Shell
657
0.8
0.103448
0.304348
vue-tools
692
2025-03-23T23:02:25.414797
MIT
false
09bcf84b3c143d9f51cbded9246ec4e1
spf() {\n os=$(uname -s)\n\n # Linux\n if [[ "$os" == "Linux" ]]; then\n export SPF_LAST_DIR="${XDG_STATE_HOME:-$HOME/.local/state}/superfile/lastdir"\n fi\n\n # macOS\n if [[ "$os" == "Darwin" ]]; then\n export SPF_LAST_DIR="$HOME/Library/Application Support/superfile/lastdir"\n fi\n...
dataset_sample\shell\yorukot_superfile\cd_on_quit\cd_on_quit.sh
cd_on_quit.sh
Shell
444
0.8
0.1
0.125
python-kit
294
2024-11-03T18:37:33.084113
GPL-3.0
false
7d4f0c92bb8fedb34c9dc2f35d731b46
#!/usr/bin/env -S bash -euo pipefail\n\nprojectName="superfile"\nversion="v1.2.1"\nosList=("darwin" "linux" "windows")\narchList=("amd64" "arm64")\nmkdir dist\n\nfor os in "${osList[@]}"; do\n if [ "$os" = "windows" ]; then\n for arch in "${archList[@]}"; do\n echo "$projectName-$os-$version-$arch"...
dataset_sample\shell\yorukot_superfile\release\release.sh
release.sh
Shell
1,164
0.8
0.137931
0.035714
python-kit
227
2025-04-03T17:05:42.115948
GPL-3.0
false
5151a5f33f76accea5971d4b1e2f2088
#!/usr/bin/env bash\n\nrm -r "$HOME/.config/superfile"\nrm -r "$HOME/.local/state/superfile"\nrm -r "$HOME/.local/share/superfile"
dataset_sample\shell\yorukot_superfile\release\remove_all_spf_config.sh
remove_all_spf_config.sh
Shell
126
0.8
0
0.25
node-utils
562
2023-07-25T01:44:41.966645
MIT
false
cffeab4edef93fe4c085aebed0052646
#!/bin/bash\n\ngreen='\033[0;32m'\nred='\033[0;31m'\nyellow='\033[0;33m'\nblue='\033[0;34m'\npurple='\033[0;35m'\ncyan='\033[0;36m'\nwhite='\033[0;37m'\nbright_red='\033[1;31m'\nbright_green='\033[1;32m'\nbright_yellow='\033[1;33m'\nbright_blue='\033[1;34m'\nbright_purple='\033[1;35m'\nbright_cyan='\033[1;36m'\nbright_...
dataset_sample\shell\yorukot_superfile\website\public\install.sh
install.sh
Shell
4,903
0.8
0.08209
0.075
vue-tools
543
2024-09-30T02:16:58.348224
MIT
false
20da28c183a794b52e2fdc467aaedf39
#!/bin/bash\n\n####################################################################\n# This file is part of YOURLS\n#\n# List (and remove) unneeded files for production\n#\n# Run this script when adding, updating or removing a 3rd party\n# library that goes in the `vendor` directory.\n#\n# Typical use:\n#\n# $ composer...
dataset_sample\shell\YOURLS_YOURLS\includes\vendor\build-script\yourls-build.sh
yourls-build.sh
Shell
5,014
0.95
0.103448
0.292553
python-kit
28
2023-11-29T04:01:11.360639
BSD-3-Clause
false
f5d9bc9ed4e78301f3b372fe0039775f
#!/bin/sh\n\n# Run this script to generate 'configure'\n\nusage()\n{\n echo "usage: $0 [tests]"\n exit 1\n}\n\ncase $# in\n 0)\n # disable tests\n rm -f m4/conf_tests.m4\n ;;\n 1)\n [ $1 = "tests" ] || usage\n\n # enable tests\n cp -f tests/conf_tests.m4 m4/ || exit $?\n ;;\n *)\n usage\n ;;\nesac\n\naclocal -...
dataset_sample\shell\zabbix_zabbix\bootstrap.sh
bootstrap.sh
Shell
340
0.8
0
0.192308
react-lib
390
2024-06-03T05:10:22.369552
MIT
false
4e2e61b8869e4beb02d4350e43594e0a
#!/bin/bash\n\nif [ -z "$1" ] || [ -z "$2" ] || [ -z "$3" ] || [ -z "$4" ] || [ -z "$5" ] || [ -z "$6" ]; then\n echo "Usage:\n ./export_data.sh -hhost -Pport -uroot -p<password> <DB name> ZBX_DATA > ../src/data.tmpl\n ./export_data.sh -hhost -Pport -uroot -p<password> <DB name> ZBX_TEMPLATE > ../src/templates.tmpl\n ....
dataset_sample\shell\zabbix_zabbix\create\bin\export_data.sh
export_data.sh
Shell
4,056
0.8
0.131034
0.008333
awesome-app
383
2025-02-03T05:19:08.354685
Apache-2.0
false
93eb6ffb6149531d52accfb95d704b51
#!/bin/bash\n\n# A script to generate SQL from PNG images\n# depends on hexdump and base64\n\nscriptdir="$(dirname $0)"\npngdir="${1:-png_modern}"\nsqlbasedir="$scriptdir/../../database"\nimagefile="images.sql"\n\nimagefile_mysql="$sqlbasedir/mysql/$imagefile"\nimagefile_pgsql="$sqlbasedir/postgresql/$imagefile"\n\nfor...
dataset_sample\shell\zabbix_zabbix\misc\images\png_to_sql.sh
png_to_sql.sh
Shell
1,209
0.8
0.075
0.233333
node-utils
321
2025-06-07T03:53:08.706284
Apache-2.0
false
4da94e7d9390598aa9ef47ed5ae4e695
#!/bin/bash\n\n# A script to generate Zabbix map XML from PNG images\n# depends on base64\n\necho "Generating XML"\n\nimagedir="$1"\noutputfile="$2"\n\necho '<?xml version="1.0" encoding="UTF-8"?>\n<zabbix_export version="1.0" date="'$(date "+%d.%m.%y")'" time="'$(date "+%H.%M")'">\n <images>' > "$outputfile"\n\nimage...
dataset_sample\shell\zabbix_zabbix\misc\images\png_to_xml.sh
png_to_xml.sh
Shell
729
0.8
0.033333
0.125
node-utils
833
2024-08-03T11:34:03.249237
BSD-3-Clause
false
b13d2c773b31c4761bf538f017d93955
#!/bin/bash\n\n# A script to convert SVG into multiple sizes of PNG and compress them with pngcrush\n\n# todo :\n# figure out how to auto-scale rack images\n\n# depends on inkscape, pngcrush, awk\n\nAWK=${AWK:-awk}\npngcrushbin=pngcrush\n\noutputdir="${1:-png_modern}"\nsourcedir="svg"\nelementdir="$sourcedir/elements"\...
dataset_sample\shell\zabbix_zabbix\misc\images\svg_to_png.sh
svg_to_png.sh
Shell
3,204
0.8
0.082474
0.177215
node-utils
769
2024-03-31T22:30:44.246358
MIT
false
d5daf3ca028a3380a7684569412fd0a3
#!/bin/bash\n#\n# Copyright (C) 2001-2025 Zabbix SIA\n#\n# This program is free software: you can redistribute it and/or modify it under the terms of\n# the GNU Affero General Public License as published by the Free Software Foundation, version 3.\n#\n# This program is distributed in the hope that it will be useful, bu...
dataset_sample\shell\zabbix_zabbix\misc\snmptrap\snmptrap.sh
snmptrap.sh
Shell
1,260
0.8
0.021739
0.444444
react-lib
168
2024-09-09T15:58:18.602693
BSD-3-Clause
false
5caafe4b605cbf550ea3387c7a1ec2be
# This is a configuration file for Zabbix Java Gateway.\n# It is sourced by startup.sh and shutdown.sh scripts.\n\n### Option: zabbix.listenIP\n# IP address to listen on.\n#\n# Mandatory: no\n# Default:\n# LISTEN_IP="0.0.0.0"\n\n### Option: zabbix.listenPort\n# Port to listen on.\n#\n# Mandatory: no\n# Range: 1024-3276...
dataset_sample\shell\zabbix_zabbix\src\zabbix_java\settings.sh
settings.sh
Shell
1,382
0.8
0.036364
0.978723
react-lib
825
2025-04-30T00:04:28.648937
Apache-2.0
false
92156813172743e5ec338800618b0a83
#!/bin/sh\n\ncd `dirname $0`\n. ./settings.sh\n\nif [ -n "$PID_FILE" ]; then\n if [ -f "$PID_FILE" ]; then\n PID=`cat "$PID_FILE"`\n if ps -p "$PID" > /dev/null 2>&1; then\n kill "$PID"\n for i in 1 2 3 4 5; do\n sleep 1\n ps -p "$PID" > /dev/null 2>&1\n if [ $? -ne 0 ]; then\n exit 0\n fi\n don...
dataset_sample\shell\zabbix_zabbix\src\zabbix_java\shutdown.sh
shutdown.sh
Shell
545
0.8
0.178571
0.038462
vue-tools
478
2024-12-11T17:22:32.965681
GPL-3.0
false
6baa99ed9b5d0fe632e124495bd725ff
#!/bin/sh\n\ncd `dirname $0`\n. ./settings.sh\n\nif [ -n "$PID_FILE" -a -f "$PID_FILE" ]; then\n PID=`cat "$PID_FILE"`\n if ps -p "$PID" > /dev/null 2>&1; then\n echo "Zabbix Java Gateway is already running"\n exit 1\n fi\n rm -f "$PID_FILE"\nfi\n\nJAVA=${JAVA:-java}\n\nJAVA_OPTIONS="$JAVA_OPTIONS -server"\nif [ -z "...
dataset_sample\shell\zabbix_zabbix\src\zabbix_java\startup.sh
startup.sh
Shell
1,913
0.8
0.17284
0.061538
vue-tools
399
2023-12-26T02:12:19.349961
MIT
false
0a54fe105f238b94aa459fd7c0065851
#!/bin/sh\n\njava -Dcom.sun.management.jmxremote \\n -Dcom.sun.management.jmxremote.port=1617 \\n -Djavax.net.ssl.keyStore=$PWD/k_tools/cert1/SimpleAgent.keystore \\n -Djavax.net.ssl.keyStorePassword=kuseruser \\n -Djavax.net.ssl.trustStore=$PWD/k_tools/cert1/SimpleAgent.truststore \\n -Djavax.net.ssl.trustStorePasswor...
dataset_sample\shell\zabbix_zabbix\src\zabbix_java\tests\com\zabbix\gateway\jmx_test_beans\run_target_jmx_app_manually.sh
run_target_jmx_app_manually.sh
Shell
653
0.8
0
0.071429
awesome-app
20
2023-07-22T22:10:35.626892
BSD-3-Clause
true
6bb3059ab037b5edcc7404a709b890fd
#!/bin/bash\n\nVALIDITY="36500"\nKEYALG="RSA"\nTARGET_APP="SimpleAgent"\nMONITOR_APP="junit_test"\nKEYSTORE_PASS="kuseruser"\nTRUSTSTORE_PASS="tuseruser"\nD_NAME="CN=Zabbix, OU=Dev, O=JMX_Test, L=Riga, S=VI, C=LA"\n\nTARGET_DIR="cert1"\nCUR_DIR=$(pwd)\ncd $TARGET_DIR\n\nkeytool -genkey -alias $TARGET_APP -keyalg $KEYAL...
dataset_sample\shell\zabbix_zabbix\src\zabbix_java\tests\com\zabbix\gateway\jmx_test_beans\k_tools\generate_cert.sh
generate_cert.sh
Shell
1,757
0.95
0
0.045455
node-utils
437
2024-03-22T11:50:51.148484
GPL-3.0
true
f91a5ec3fb9bbb3008447ee23225f62e
#!/bin/bash\n\n# This function prints public zabbix libraries dependencies. (except zbxcommon)\n#\n# Run it like:\n# ./grep_dependencies.sh zbxeval\n# \n\nNOW=$(date "+%Y.%m.%d-%H.%M.%S")\nTEMP_RES_FILE=/tmp/zabbix_cmocka_includes_$NOW\n\ngrep -rI "#.*include.*zbx" "../../include/$1.h" > $TEMP_RES_FILE\n\ngrep -r...
dataset_sample\shell\zabbix_zabbix\tests\libs\grep_dependencies.sh
grep_dependencies.sh
Shell
650
0.95
0.041667
0.333333
node-utils
525
2024-10-23T18:59:50.918794
GPL-3.0
true
701b5dd92274e0443a8f9906891f1bbc
#!/bin/bash\n\nfunction run\n{\n local workdir=$(realpath $(dirname $0))\n local potfile=${workdir}/en_US/LC_MESSAGES/frontend.pot\n\n [[ -n "$1" ]] ||\n die "specify language code!"\n\n local pofile=${workdir}/$1/LC_MESSAGES/frontend.po\n [[ -f $pofile ]] &&\n die "$pofile already exists"\n\n if [[ -f $potfile ]]; ...
dataset_sample\shell\zabbix_zabbix\ui\locale\add_new_language.sh
add_new_language.sh
Shell
569
0.95
0.1
0.041667
react-lib
972
2025-03-08T15:06:37.773348
MIT
false
a2684a22f4861633897bd369de82a97b
#!/bin/bash\n\nwhile read pofile; do\n msgfmt --use-fuzzy -c -o ${pofile%po}mo $pofile || exit $?\ndone < <(find $(dirname $0) -type f -name '*.po')\n
dataset_sample\shell\zabbix_zabbix\ui\locale\make_mo.sh
make_mo.sh
Shell
152
0.8
0.2
0.25
awesome-app
566
2023-12-10T10:23:18.891569
BSD-3-Clause
false
13fb6017a2f9668382c9f458a5e2c802
#!/bin/bash\nfunction show_help\n{\n echo "$(basename $0) [--cleanup]"\n echo ""\n echo "Extract new strings from php files and regenerate po files."\n echo ""\n}\n\nfunction run\n{\n local cleanup=false\n\n while [[ $# -gt 0 ]]; do\n case "$1" in\n --help|-h|help)\n show_help\n exit 0\n ;;\n\n --cleanup)\...
dataset_sample\shell\zabbix_zabbix\ui\locale\update_po.sh
update_po.sh
Shell
3,149
0.95
0.104
0.153846
python-kit
666
2025-01-01T23:01:44.293266
GPL-3.0
false
fc85c0e164690315d89792a7ee14a72d
ZED_ENVIRONMENT=production\nRUST_LOG=info\nINVITE_LINK_PREFIX=https://zed.dev/invites/\nAUTO_JOIN_CHANNEL_ID=283\nDATABASE_MAX_CONNECTIONS=85\nLLM_DATABASE_MAX_CONNECTIONS=25\n
dataset_sample\shell\zed-industries_zed\crates\collab\k8s\environments\production.sh
production.sh
Shell
170
0.8
0
0
react-lib
441
2023-09-30T05:27:22.212653
Apache-2.0
false
3bc76fafbd44227e79f0f82468ddf9ca
ZED_ENVIRONMENT=staging\nRUST_LOG=info\nINVITE_LINK_PREFIX=https://staging.zed.dev/invites/\nDATABASE_MAX_CONNECTIONS=5\nLLM_DATABASE_MAX_CONNECTIONS=5\nAUTO_JOIN_CHANNEL_ID=8\n
dataset_sample\shell\zed-industries_zed\crates\collab\k8s\environments\staging.sh
staging.sh
Shell
171
0.8
0
0
vue-tools
175
2025-04-22T07:17:43.583393
BSD-3-Clause
false
52607bb5e77c98f8fef65c22d0d4ccaf
#!/usr/bin/env bash\n\n# Tom Hale, 2016. MIT Licence.\n# Print out 256 colours, with each number printed in its corresponding colour\n# See http://askubuntu.com/questions/821157/print-a-256-color-test-pattern-in-the-terminal/821163#821163\n\nset -eu # Fail on errors or undeclared variables\n\nprintable_colours=256\n\n#...
dataset_sample\shell\zed-industries_zed\crates\terminal_view\scripts\print256color.sh
print256color.sh
Shell
3,272
0.95
0.125
0.3375
awesome-app
300
2024-11-09T22:00:46.774943
Apache-2.0
false
03049ba4e9d4945f8bad3c433e3f9931
#!/usr/bin/env bash\n# Copied from: https://unix.stackexchange.com/a/696756\n# Based on: https://gist.github.com/XVilka/8346728 and https://unix.stackexchange.com/a/404415/395213\n\nawk -v term_cols="${width:-$(tput cols || echo 80)}" -v term_lines="${height:-1}" 'BEGIN{\n s="/\\";\n total_cols=term_cols*term_lin...
dataset_sample\shell\zed-industries_zed\crates\terminal_view\scripts\truecolor.sh
truecolor.sh
Shell
749
0.8
0.157895
0.166667
node-utils
530
2024-09-03T17:26:46.918346
BSD-3-Clause
false
2b42ea5e6b14cd05bed251a968bc4d4b
#!/usr/bin/env sh\nset -eu\n\n# Downloads the latest tarball from https://zed.dev/releases and unpacks it\n# into ~/.local/. If you'd prefer to do this manually, instructions are at\n# https://zed.dev/docs/linux.\n\nmain() {\n platform="$(uname -s)"\n arch="$(uname -m)"\n channel="${ZED_CHANNEL:-stable}"\n ...
dataset_sample\shell\zed-industries_zed\script\install.sh
install.sh
Shell
4,329
0.8
0.053691
0.115385
python-kit
502
2024-08-12T04:06:22.151319
Apache-2.0
false
99ade0b483a71461872a48c09c4cc4c3
#!/usr/bin/env bash\n\nset -euo pipefail\n\nif command -v docker >/dev/null 2>&1; then\n ENGINE="docker"\nelif command -v podman >/dev/null 2>&1; then\n ENGINE="podman"\nelse\n echo "Neither Docker nor Podman found. Please install one of them."\n exit 1\nfi\nif [ ! -d ~/.mitmproxy ]; then\n mkdir -p ~/.m...
dataset_sample\shell\zed-industries_zed\script\mitm-proxy.sh
mitm-proxy.sh
Shell
939
0.8
0.1
0.086957
python-kit
909
2023-12-03T15:46:37.580213
Apache-2.0
false
4a631e51f15b9efe210e448abc0f7bff
#!/usr/bin/env sh\nset -eu\n\n# Uninstalls Zed that was installed using the install.sh script\n\ncheck_remaining_installations() {\n platform="$(uname -s)"\n if [ "$platform" = "Darwin" ]; then\n # Check for any Zed variants in /Applications\n remaining=$(ls -d /Applications/Zed*.app 2>/dev/null | w...
dataset_sample\shell\zed-industries_zed\script\uninstall.sh
uninstall.sh
Shell
3,926
0.8
0.075949
0.12782
vue-tools
759
2024-07-14T01:05:02.557878
GPL-3.0
false
f9be4439ec1455d433ef8de8433fad6d
function upload_to_blob_store_with_acl\n{\n bucket_name="$1"\n file_to_upload="$2"\n blob_store_key="$3"\n acl="$4"\n\n date=$(date +"%a, %d %b %Y %T %z")\n acl="x-amz-acl:public-read"\n content_type="application/octet-stream"\n storage_type="x-amz-storage-class:STANDARD"\n string="PUT\n\n${c...
dataset_sample\shell\zed-industries_zed\script\lib\blob-store.sh
blob-store.sh
Shell
1,120
0.95
0.121212
0
react-lib
716
2024-06-27T17:07:51.251600
BSD-3-Clause
false
279c2f0dc9f8280b8224044f96e28ffa
#!/usr/bin/env bash\n\nset -eu\n\npackage=$1\ntag_prefix=$2\ntag_suffix=$3\nversion_increment=$4\n\nif [[ -n $(git status --short --untracked-files=no) ]]; then\n echo "can't bump version with uncommitted changes"\n exit 1\nfi\n\nwhich cargo-set-version > /dev/null || cargo install cargo-edit\nwhich jq > /dev/null ||...
dataset_sample\shell\zed-industries_zed\script\lib\bump-version.sh
bump-version.sh
Shell
890
0.8
0.025641
0.037037
awesome-app
630
2025-06-30T02:02:50.318902
BSD-3-Clause
false
c006a0d57abdeade7b7e9bc77895b519
function export_vars_for_environment {\n local environment=$1\n local env_file="crates/collab/k8s/environments/${environment}.sh"\n if [[ ! -f $env_file ]]; then\n echo "Invalid environment name '${environment}'" >&2\n exit 1\n fi\n export $(cat $env_file)\n}\n\nfunction target_zed_kube_cluster {\n if [[ $(...
dataset_sample\shell\zed-industries_zed\script\lib\deploy-helpers.sh
deploy-helpers.sh
Shell
947
0.95
0.216216
0
python-kit
979
2023-09-08T17:27:37.909347
GPL-3.0
false
4fdfbc161b30b87f33c2899a5995ce17
#!/bin/bash\n# The purpose of this file is to add entries from zm.conf to cmake's cache.\n\necho "*** This bash script imports configuration from zm.conf into cmake initial cache file"\necho "*** The file can be used with cmake like so: cmake -C zm_conf.cmake [extra cmake options] ."\necho "*** Usage: ./cmakecacheimpor...
dataset_sample\shell\ZoneMinder_zoneminder\cmakecacheimport.sh
cmakecacheimport.sh
Shell
3,274
0.95
0.082353
0.184211
awesome-app
651
2023-10-27T09:10:39.515961
BSD-3-Clause
false
3c5c033ca197125d945ad1d536839f30
#!/bin/bash\n\nif [ "$1" == "clean" ]; then\n\nread -p "Do you really want to delete existing packages? [y/N]"\n[[ $REPLY == [yY] ]] && { rm -fr zoneminder*.build zoneminder*.changes zoneminder*.deb; echo "Existing package files deleted"; } || { echo "Packages have NOT been deleted"; }\nexit;\n\nfi\n\nDEBUILD=`which d...
dataset_sample\shell\ZoneMinder_zoneminder\utils\do_debian_package.sh
do_debian_package.sh
Shell
11,273
0.8
0.143959
0.070175
react-lib
938
2023-12-04T18:54:44.537070
MIT
false
dfe5dc05403a3567300a1f9802334391
#!/bin/bash\n# This script allows the package maintainer to change the default value\n# of any variable specified in ConfigData.pm without writing a patch.\n# Run this script from your build folder, before running configure or cmake.\n\nusage()\n{\ncat <<EOF\n\nUSAGE:\n$0 VARIABLE DEFAULT [CONFIGDATA DIRECTORY]\n\nRepl...
dataset_sample\shell\ZoneMinder_zoneminder\utils\zmeditconfigdata.sh
zmeditconfigdata.sh
Shell
2,202
0.95
0.11
0.153846
node-utils
590
2024-01-12T16:35:45.737700
GPL-3.0
false
673ba925e6bdaf4272704af64abeb95f
#!/bin/bash\n# A script to provide background noise so Travis doesn't kill us due to inactivity\n# written by Andrew Bauer\n\nwhile true; do\n echo "$(date) - Please don't kill us Mr. Travis, we are still running!"\n sleep 30s\ndone\n\n
dataset_sample\shell\ZoneMinder_zoneminder\utils\packpack\heartbeat.sh
heartbeat.sh
Shell
233
0.8
0.111111
0.428571
node-utils
828
2024-07-27T16:05:51.269588
MIT
false
b3c7fc12b304fa4051efc2651772f39c
#!/bin/bash\n# No longer needed. This was incorporated into startpackpack.sh\n\n# Required, so that Travis marks the build as failed if any of the steps below fail\nset -ev\n\n# Install and test the zoneminder package (only) for Ubuntu Trusty\nif [ ${OS} == "ubuntu" ] && [ ${DIST} == "trusty" ]; then \n sudo gdebi -...
dataset_sample\shell\ZoneMinder_zoneminder\utils\packpack\installzm.sh
installzm.sh
Shell
530
0.8
0.2
0.333333
node-utils
422
2025-04-30T02:52:39.429835
Apache-2.0
false
ecb52a59a7d86dcff6d9f587a7e3c228
#!/bin/bash\n\n# We don't deploy during eslint checks, so exit immediately\nif [ "${DIST}" == "eslint" ]; then\n exit 0\nfi\n\n# Check to see if this script has access to all the commands it needs\nfor CMD in sshfs rsync find fusermount mkdir; do\n type $CMD 2>&1 > /dev/null\n\n if [ $? -ne 0 ]; then\n echo\n ...
dataset_sample\shell\ZoneMinder_zoneminder\utils\packpack\rsync_xfer.sh
rsync_xfer.sh
Shell
1,512
0.95
0.176471
0.066667
awesome-app
320
2025-04-28T04:29:04.702549
GPL-3.0
false
ccfcb5fd84569239f1d63d78f77876f5
#!/bin/bash\n\nset -o pipefail\n\n# packpack setup file for the ZoneMinder project\n# Written by Andrew Bauer\n\n###############\n# SUBROUTINES #\n###############\n\n# General sanity checks\nchecksanity () {\n # Check to see if this script has access to all the commands it needs\n for CMD in set echo curl git ln ...
dataset_sample\shell\ZoneMinder_zoneminder\utils\packpack\startpackpack.sh
startpackpack.sh
Shell
12,940
0.95
0.105263
0.149123
vue-tools
414
2024-04-11T13:31:24.815537
BSD-3-Clause
false
2fdad09db302f00428d9ef49c0dee8ba
// swift-tools-version:5.9\n\nimport PackageDescription\nimport Foundation\n\nvar unsupportedTests: Set<String> = []\n#if !os(macOS) && !os(iOS) && !os(watchOS) && !os(tvOS)\nunsupportedTests.insert("ObjectiveCNoBridgingStubs")\nunsupportedTests.insert("ObjectiveCBridging")\nunsupportedTests.insert("ObjectiveCBridgingS...
dataset_sample\swift\apple_swift\benchmark\Package.swift
Package.swift
Swift
6,356
0.95
0.051546
0.237805
python-kit
642
2025-04-19T14:22:46.137192
GPL-3.0
false
44302418c38b17ab929806383c1ad14a
// swift-tools-version:5.9\n//===--- Package.swift.in - SwiftCompiler SwiftPM package -----------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2021 - 2022 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Except...
dataset_sample\swift\apple_swift\SwiftCompilerSources\Package.swift
Package.swift
Swift
2,885
0.95
0.022727
0.285714
python-kit
751
2024-11-20T22:09:28.876402
Apache-2.0
false
67324687d5663b1d1cda7ba5297eb048
// REQUIRES: VENDOR=apple\n\n// RUN: %empty-directory(%t.mod)\n// RUN: %empty-directory(%t.sdk)\n// RUN: %empty-directory(%t.module-cache)\n// RUN: %api-digester %clang-importer-sdk-nosource -dump-sdk -module APINotesTest -o %t.dump1.json -module-cache-path %t.module-cache -swift-version 5 -I %S/Inputs/APINotesLeft\n//...
dataset_sample\swift\apple_swift\test\api-digester\apinotes-diags.swift
apinotes-diags.swift
Swift
1,324
0.95
0
1
python-kit
527
2023-10-22T17:38:30.284411
GPL-3.0
true
efb52008cc12477655afb95fa073eb1f
// REQUIRES: VENDOR=apple\n\n// RUN: %empty-directory(%t.mod)\n// RUN: %empty-directory(%t.sdk)\n// RUN: %empty-directory(%t.module-cache)\n// RUN: %api-digester -dump-sdk -module APINotesTest -o %t.dump1.json -module-cache-path %t.module-cache %clang-importer-sdk-nosource -swift-version 5 -I %S/Inputs/APINotesLeft -mi...
dataset_sample\swift\apple_swift\test\api-digester\apinotes-migrator-gen.swift
apinotes-migrator-gen.swift
Swift
891
0.95
0
1
node-utils
830
2025-01-28T03:07:34.248962
Apache-2.0
true
983774492d43c75daea5de635ffd6e24
// REQUIRES: VENDOR=apple\n\n// RUN: %empty-directory(%t)\n// RUN: %empty-directory(%t.mod1)\n// RUN: %empty-directory(%t.mod2)\n// RUN: %empty-directory(%t.sdk)\n// RUN: %empty-directory(%t.module-cache)\n// RUN: %empty-directory(%t.baseline/ABI)\n\n// RUN: echo "public func foo() {}" > %t.mod1/Foo.swift\n// RUN: echo...
dataset_sample\swift\apple_swift\test\api-digester\breakage-allowlist.swift
breakage-allowlist.swift
Swift
3,213
0.95
0.026316
1
react-lib
452
2023-12-13T05:36:40.942025
GPL-3.0
true
e455ad7a35f7dd91968cdb0186d10733
// REQUIRES: VENDOR=apple\n\n// RUN: %empty-directory(%t.mod)\n// RUN: %empty-directory(%t.sdk)\n// RUN: %empty-directory(%t.module-cache)\n// RUN: %api-digester -dump-sdk -module Foo -o %t.result -module-cache-path %t.module-cache %clang-importer-sdk-nosource -swift-version 4 -I %S/Inputs/Foo -avoid-location -avoid-to...
dataset_sample\swift\apple_swift\test\api-digester\clang-module-dump.swift
clang-module-dump.swift
Swift
409
0.95
0
1
vue-tools
684
2024-08-10T03:39:12.764239
BSD-3-Clause
true
e66dc5624564e2bea4f650d09031debb
// REQUIRES: VENDOR=apple\n\n// RUN: %empty-directory(%t.module-cache)\n// RUN: %api-digester -dump-sdk -module Foo -o %t.dump1.json -module-cache-path %t.module-cache %clang-importer-sdk-nosource -I %S/Inputs/Foo -avoid-location\n// RUN: %api-digester -dump-sdk -module Foo -o %t.dump2.json -module-cache-path %t.module...
dataset_sample\swift\apple_swift\test\api-digester\compare-clang-dump.swift
compare-clang-dump.swift
Swift
784
0.95
0
1
python-kit
29
2024-02-17T07:02:02.832411
Apache-2.0
true
504fd259f63437d03ed23315fc1f4a77
// REQUIRES: VENDOR=apple\n\n// RUN: %empty-directory(%t.mod1)\n// RUN: %empty-directory(%t.mod2)\n// RUN: %empty-directory(%t.sdk)\n// RUN: %empty-directory(%t.module-cache)\n\n// RUN: %target-swift-frontend -typecheck -emit-module-interface-path %t.mod1/cake.swiftinterface %S/Inputs/cake_baseline/cake.swift -I %S/Inp...
dataset_sample\swift\apple_swift\test\api-digester\compare-dump-abi-parsable-interface.swift
compare-dump-abi-parsable-interface.swift
Swift
1,257
0.95
0
1
python-kit
596
2023-12-04T11:00:41.580378
BSD-3-Clause
true
d703cda6dae17923f0aab65be60228b7
// REQUIRES: VENDOR=apple\n\n// RUN: %empty-directory(%t.mod1)\n// RUN: %empty-directory(%t.mod2)\n// RUN: %empty-directory(%t.sdk)\n// RUN: %empty-directory(%t.module-cache)\n// RUN: %empty-directory(%t.baseline/ABI)\n\n// RUN: %target-swift-frontend -disable-objc-attr-requires-foundation-module -emit-module -o %t.mod...
dataset_sample\swift\apple_swift\test\api-digester\compare-dump-abi.swift
compare-dump-abi.swift
Swift
2,100
0.95
0
1
python-kit
960
2024-06-10T23:20:21.969701
BSD-3-Clause
true
d7a5d88cceac0e296a0cde671f5b2d22
// REQUIRES: VENDOR=apple\n\n// RUN: %empty-directory(%t.mod1)\n// RUN: %empty-directory(%t.mod2)\n// RUN: %empty-directory(%t.sdk)\n// RUN: %empty-directory(%t.module-cache)\n\n// The goal of this test to make sure flag -use-interface-for-module works.\n// We first build .swiftinterface with -enable-library-evolution\...
dataset_sample\swift\apple_swift\test\api-digester\compare-dump-binary-vs-interface.swift
compare-dump-binary-vs-interface.swift
Swift
2,068
0.95
0.193548
1
vue-tools
206
2025-04-05T13:05:14.524784
Apache-2.0
true
2b366e398d1f1fa97b613d8484161c78
// REQUIRES: VENDOR=apple\n\n// RUN: %empty-directory(%t.mod1)\n// RUN: %empty-directory(%t.mod2)\n// RUN: %empty-directory(%t.sdk)\n// RUN: %empty-directory(%t.module-cache)\n\n// RUN: %target-swift-frontend -typecheck -emit-module-interface-path %t.mod1/cake.swiftinterface %S/Inputs/cake_baseline/cake.swift -I %S/Inp...
dataset_sample\swift\apple_swift\test\api-digester\compare-dump-parsable-interface.swift
compare-dump-parsable-interface.swift
Swift
1,248
0.95
0
1
react-lib
992
2024-11-29T15:58:51.133185
MIT
true
dea7929ea0c608cc7744656f94f2a527
// REQUIRES: VENDOR=apple\n\n// RUN: %empty-directory(%t.mod1)\n// RUN: %empty-directory(%t.mod2)\n// RUN: %empty-directory(%t.sdk)\n// RUN: %empty-directory(%t.module-cache)\n// RUN: %target-swift-frontend -disable-objc-attr-requires-foundation-module -emit-module -o %t.mod1/cake.swiftmodule %S/Inputs/cake_baseline/ca...
dataset_sample\swift\apple_swift\test\api-digester\compare-dump.swift
compare-dump.swift
Swift
3,250
0.95
0
1
node-utils
321
2025-06-11T05:10:26.962304
BSD-3-Clause
true
93958fdb4440c81241bd1c648658f9b2
// REQUIRES: OS=macosx\n\n// RUN: %empty-directory(%t.mod1)\n// RUN: %empty-directory(%t.mod2)\n// RUN: %empty-directory(%t.sdk)\n// RUN: %empty-directory(%t.module-cache)\n\n// RUN: %api-digester -diagnose-sdk -print-module -module-list-file %S/Inputs/mock-sdk-modules.txt -sdk %S/Inputs/mock-sdk.sdk -bsdk %S/Inputs/mo...
dataset_sample\swift\apple_swift\test\api-digester\compare-two-sdks.swift
compare-two-sdks.swift
Swift
610
0.8
0
1
python-kit
671
2024-12-05T01:57:23.136116
GPL-3.0
true
0f2015ed8009c2819115bbe764bfdc81
// RUN: %empty-directory(%t)\n\n// RUN: echo "public func foo() { let a = \"abc\" }" > %t/t1.swift\n// RUN: echo "public func bar() { let a = \"def\" }" > %t/t2.swift\n// RUN: %target-swift-frontend -emit-module %t/t1.swift %t/t2.swift -o %t/Foo.swiftmodule -emit-abi-descriptor-path %t/abi.json\n// RUN: %api-digester -...
dataset_sample\swift\apple_swift\test\api-digester\const_values.swift
const_values.swift
Swift
533
0.8
0.153846
1
node-utils
238
2024-07-24T20:21:26.780935
GPL-3.0
true
c4ac55151cb7acb3694ae87f57bc3e9e
// RUN: %empty-directory(%t)\n\n// RUN: %target-swift-frontend -emit-module -o %t/Foo.swiftmodule -emit-abi-descriptor-path %t/abi.json %S/Inputs/ConstExtraction/SimpleReferences.swift\n// RUN: %api-digester -deserialize-sdk -input-paths %t/abi.json -o %t.result\n\n// RUN: %FileCheck %s < %t/abi.json\n\n// CHECK: "offs...
dataset_sample\swift\apple_swift\test\api-digester\const_values_simple_references.swift
const_values_simple_references.swift
Swift
1,275
0.8
0
1
python-kit
579
2025-03-23T10:18:16.926860
Apache-2.0
true
0cef4861c9b7933fd5da1d590cdd6156
// RUN: %api-digester -deserialize-diff --input-paths %S/Outputs/macro-gen.json -o %t.result -json\n// RUN: diff -u %S/Outputs/macro-gen.json %t.result\n
dataset_sample\swift\apple_swift\test\api-digester\deserialize-diff-items.swift
deserialize-diff-items.swift
Swift
151
0.8
0
1
vue-tools
319
2023-09-13T02:24:01.226822
GPL-3.0
true
fc20fb9c1941ad8797428abb5e787057
// REQUIRES: rdar46475075\n// REQUIRES: OS=macosx\n// RUN: not %api-digester -deserialize-sdk -input-paths %S/diagnostics.json -o - 2>&1 | %FileCheck %s\n\n// CHECK: diagnostics.json:5:3: error: unrecognized key 'badKey' in SDK node\n// CHECK: diagnostics.json:8:15: error: unrecognized SDK node kind 'Zyzyx'\n// CHECK: ...
dataset_sample\swift\apple_swift\test\api-digester\diagnostics.swift
diagnostics.swift
Swift
849
0.8
0.071429
1
node-utils
195
2023-09-01T02:17:53.987536
BSD-3-Clause
true
4c675fc99f80979f87aa0e116377800c
// RUN: %empty-directory(%t)\n// RUN: echo "public func foo() {}" > %t/Foo.swift\n\n// RUN: echo "public protocol P { associatedtype A }" > %t/Foo-1.swift\n// RUN: echo "public extension P { public func f() where A == Int {} }" >> %t/Foo-1.swift\n\n// RUN: echo "public protocol P { associatedtype A }" > %t/Foo-2.swift...
dataset_sample\swift\apple_swift\test\api-digester\diff-demangled-name.swift
diff-demangled-name.swift
Swift
1,341
0.8
0
1
node-utils
947
2023-12-25T19:49:21.159912
MIT
true
2493d2dfa20a386a9b2396d13080c71e
// RUN: %empty-directory(%t.mod)\n// RUN: %empty-directory(%t.sdk)\n// RUN: %empty-directory(%t.module-cache)\n// RUN: %api-digester -generate-empty-baseline -o %t.result -avoid-tool-args\n// RUN: diff -u %S/Outputs/empty-baseline.json %t.result\n// RUN: %api-digester -deserialize-sdk -input-paths %S/Outputs/empty-base...
dataset_sample\swift\apple_swift\test\api-digester\dump-empty-baseline.swift
dump-empty-baseline.swift
Swift
395
0.8
0
1
python-kit
899
2024-12-17T01:40:23.957802
Apache-2.0
true
db76691e095492f17bd8a0fda52978cd
// REQUIRES: OS=macosx\n// RUN: %empty-directory(%t.mod)\n// RUN: %empty-directory(%t.sdk)\n// RUN: %empty-directory(%t.module-cache)\n// RUN: %target-swift-frontend -disable-objc-attr-requires-foundation-module -emit-module -o %t.mod/cake.swiftmodule %S/Inputs/cake.swift -parse-as-library -I %S/Inputs/ClangCake %clang...
dataset_sample\swift\apple_swift\test\api-digester\dump-module.swift
dump-module.swift
Swift
1,476
0.95
0
1
node-utils
907
2025-03-24T20:43:30.618813
Apache-2.0
true
06b779dbe4bd124db9f8d5d19ae22731
// RUN: %empty-directory(%t)\n\n// RUN: %target-swift-frontend -emit-module -o %t/Foo.swiftmodule -emit-abi-descriptor-path %t/abi.json %S/Inputs/ConstExtraction/SimpleReferences.swift -empty-abi-descriptor\n// RUN: %api-digester -deserialize-sdk -input-paths %t/abi.json -o %t/abi.result.json\n// RUN: %api-digester -ge...
dataset_sample\swift\apple_swift\test\api-digester\empty-abi-descriptor.swift
empty-abi-descriptor.swift
Swift
432
0.8
0
1
vue-tools
676
2023-08-11T05:12:56.900600
BSD-3-Clause
true
4c25b1c22a7e45305e0d477508370923
// RUN: %empty-directory(%t)\n\n// RUN: %target-swift-frontend -emit-module -o %t/Foo.swiftmodule -emit-abi-descriptor-path %t/abi-before.json %s -enable-library-evolution -DBASELINE -emit-tbd-path %t/abi-before.tbd -tbd-install_name Foo\n// RUN: %target-swift-frontend -emit-module -o %t/Foo.swiftmodule -emit-abi-descr...
dataset_sample\swift\apple_swift\test\api-digester\ignore-spi-by-given-group-name.swift
ignore-spi-by-given-group-name.swift
Swift
1,392
0.8
0.025
0.551724
awesome-app
118
2024-06-21T03:19:56.250926
GPL-3.0
true
ee4220f70080fb9c0c33a304e44ae1c0
// REQUIRES: VENDOR=apple\n\n// RUN: %empty-directory(%t)\n// RUN: %empty-directory(%t.mod)\n// RUN: %empty-directory(%t.sdk)\n// RUN: %empty-directory(%t.module-cache)\n// RUN: split-file %s %t\n\n// Make sure api-digester loads an interface with package-name correctly\n\n// Generate module Lib\n// RUN: %target-swift-...
dataset_sample\swift\apple_swift\test\api-digester\import-module-with-package-name.swift
import-module-with-package-name.swift
Swift
3,952
0.95
0.07619
0.586207
node-utils
567
2024-03-05T03:15:50.485994
MIT
true
7f43c176b8c6b84a1f167316acde6ad1
// REQUIRES: VENDOR=apple\n\n\n\n// RUN: %empty-directory(%t.mod)\n// RUN: %empty-directory(%t.sdk)\n// RUN: %empty-directory(%t.module-cache)\n// RUN: %target-swift-frontend -disable-objc-attr-requires-foundation-module -emit-module -o %t.mod/cake.swiftmodule %S/Inputs/cake.swift -parse-as-library -I %S/Inputs/ClangCa...
dataset_sample\swift\apple_swift\test\api-digester\internal-extension.swift
internal-extension.swift
Swift
2,124
0.95
0
0.77551
react-lib
264
2023-07-29T00:05:52.989826
Apache-2.0
true
3838f26d74d8da62e5c353bf9e5c7de1
// RUN: %empty-directory(%t.mod)\n// RUN: %empty-directory(%t.sdk)\n// RUN: %empty-directory(%t.module-cache)\n// RUN: %target-swift-frontend -disable-objc-attr-requires-foundation-module -emit-module -o %t.mod/macrogenleft.swiftmodule %S/Inputs/macro-gen-left.swift -parse-as-library\n// RUN: %target-swift-frontend -di...
dataset_sample\swift\apple_swift\test\api-digester\macro-gen-json.swift
macro-gen-json.swift
Swift
908
0.95
0
1
react-lib
163
2023-10-27T03:58:53.848657
BSD-3-Clause
true
27424bd9d9e8ea0995c9849b07255c40
// RUN: %empty-directory(%t.mod)\n// RUN: %empty-directory(%t.sdk)\n// RUN: %empty-directory(%t.module-cache)\n// RUN: %target-swift-frontend -disable-objc-attr-requires-foundation-module -emit-module -o %t.mod/macrogenleft.swiftmodule %S/Inputs/macro-gen-left.swift -parse-as-library\n// RUN: %target-swift-frontend -di...
dataset_sample\swift\apple_swift\test\api-digester\macro-gen.swift
macro-gen.swift
Swift
935
0.95
0.111111
1
node-utils
638
2024-10-09T06:41:22.752971
Apache-2.0
true
cbc822a8c205f8715c2be9e4bd90b781
// RUN: %empty-directory(%t)\n\n// RUN: %target-swift-frontend -emit-module -o %t/Foo.swiftmodule -emit-abi-descriptor-path %t/abi-before.json %s -enable-library-evolution -DBASELINE -emit-tbd-path %t/abi-before.tbd -tbd-install_name Foo\n// RUN: %target-swift-frontend -emit-module -o %t/Foo.swiftmodule -emit-abi-descr...
dataset_sample\swift\apple_swift\test\api-digester\move-to-extension.swift
move-to-extension.swift
Swift
786
0.95
0.173913
0.5625
python-kit
781
2024-07-03T10:30:55.334430
MIT
true
aabd1344d19e1141935d60eed5b029b8
// RUN: %empty-directory(%t)\n\n// RUN: echo "public protocol P {}" > %t/Foo-1.swift\n// RUN: echo "public protocol P { func f() }" > %t/Foo-2.swift\n// RUN: echo "public extension P { func f() {} }" >> %t/Foo-2.swift\n\n// RUN: %target-swift-frontend -emit-module %t/Foo-1.swift -module-name Foo -emit-module-interface-...
dataset_sample\swift\apple_swift\test\api-digester\protocol-req-with-default-impl.swift
protocol-req-with-default-impl.swift
Swift
1,011
0.95
0
1
node-utils
530
2023-11-08T21:35:29.863178
Apache-2.0
true
c7ed5064f0677e751c465c201c9e56b7
// REQUIRES: VENDOR=apple\n\n// RUN: %empty-directory(%t)\n\n// RUN: %target-swift-frontend -disable-objc-attr-requires-foundation-module -emit-module -o %t/color.swiftmodule %S/Inputs/cake_baseline/color.swift -parse-as-library -enable-library-evolution %clang-importer-sdk-nosource -module-name color\n// RUN: %api-dig...
dataset_sample\swift\apple_swift\test\api-digester\serialized-diagnostics.swift
serialized-diagnostics.swift
Swift
1,166
0.95
0
1
react-lib
52
2024-08-05T05:11:43.181215
MIT
true
6fa572b4543eb67dc4503a682d83f6b6
// REQUIRES: OS=macosx\n\n// https://github.com/apple/swift/issues/55803\n// This currently fails on non-Intel architectures due to no baseline being\n// available and it is not possible to filter across architectures in the\n// output.\n// XFAIL: CPU=arm64e\n\n// RUN: %empty-directory(%t.tmp)\n// mkdir %t.tmp/module-c...
dataset_sample\swift\apple_swift\test\api-digester\stability-stdlib-source.swift
stability-stdlib-source.swift
Swift
841
0.8
0
1
python-kit
391
2023-12-03T02:43:43.449187
GPL-3.0
true
1968f14330522d82ec1a3618b1175852
// REQUIRES: VENDOR=apple\n\n// RUN: %empty-directory(%t.mod)\n// RUN: %empty-directory(%t.sdk)\n// RUN: %empty-directory(%t.module-cache)\n\n// RUN: echo "public func foo() {}" > %t.swift\n\n// RUN: %target-swift-frontend -emit-module -emit-module-interface-path %t.mod/cake.swiftinterface %t.swift %clang-importer-sdk-...
dataset_sample\swift\apple_swift\test\api-digester\use-interface-for.swift
use-interface-for.swift
Swift
1,426
0.95
0.25
1
awesome-app
589
2025-06-12T14:47:00.508845
Apache-2.0
true
03a456aa496c117d84f5f72ef2864fc4
// REQUIRES: objc_interop, OS=macosx\n// RUN: %empty-directory(%t)\n// RUN: %empty-directory(%t/ModuleCache)\n// RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk-nosource -I %t) %s -typecheck -parse-as-library -emit-module-interface-path %t/MyModule.swiftinterface -enable-library-evolution -module-name MyModul...
dataset_sample\swift\apple_swift\test\APIJSON\apigen.swift
apigen.swift
Swift
17,267
0.95
0.013575
0.928241
node-utils
104
2025-03-29T01:25:23.788847
GPL-3.0
true
56a35d0e7f4ce553abd6ab41816b213d
// REQUIRES: objc_interop, OS=macosx\n// RUN: %empty-directory(%t)\n// RUN: %empty-directory(%t/ModuleCache)\n// RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk-nosource -I %t) %s -typecheck -parse-as-library -emit-module-interface-path %t/MyModule.swiftinterface -enable-library-evolution -module-name MyModul...
dataset_sample\swift\apple_swift\test\APIJSON\availability.swift
availability.swift
Swift
5,490
0.95
0.007937
0.848739
react-lib
727
2025-01-26T12:27:18.436886
GPL-3.0
true
88d477efd9e07a65b27578b0863842c7
// REQUIRES: objc_interop, OS=macosx\n// RUN: %empty-directory(%t)\n// RUN: %empty-directory(%t/ModuleCache)\n// RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk-nosource -I %t) %s -typecheck -parse-as-library -emit-module-interface-path %t/MyModule.swiftinterface -enable-library-evolution -module-name MyModul...
dataset_sample\swift\apple_swift\test\APIJSON\extension.swift
extension.swift
Swift
4,510
0.95
0.015267
0.768595
vue-tools
773
2024-12-17T03:36:39.614858
GPL-3.0
true
89b7bfbac42f21bed890c33e50b45e80
// REQUIRES: objc_interop, OS=macosx\n// RUN: %empty-directory(%t)\n// RUN: %empty-directory(%t/ModuleCache)\n// RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk-nosource -I %t) %s -typecheck -parse-as-library -emit-module-interface-path %t/MyModule.swiftinterface -enable-library-evolution -module-name MyModul...
dataset_sample\swift\apple_swift\test\APIJSON\non-objc-class.swift
non-objc-class.swift
Swift
3,652
0.95
0.14433
0.822222
vue-tools
254
2024-07-21T16:15:54.368984
BSD-3-Clause
true
c5207bc17416ae0d3b1e6797f87bbde8
// REQUIRES: objc_interop, OS=macosx\n// RUN: %empty-directory(%t)\n// RUN: %empty-directory(%t/ModuleCache)\n\n// RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk-nosource -I %t) %s -parse-as-library -emit-module -emit-module-path %t/MyModule.swiftmodule -enable-library-evolution -module-name MyModule -swift...
dataset_sample\swift\apple_swift\test\APIJSON\spi.swift
spi.swift
Swift
16,550
0.95
0.005556
0.960227
vue-tools
116
2024-11-25T12:51:06.440308
GPL-3.0
true
a47d54764f4a869a5b1199af54c14b04
// REQUIRES: objc_interop, OS=macosx\n// RUN: %empty-directory(%t)\n// RUN: %empty-directory(%t/ModuleCache)\n// RUN: %target-swift-frontend %s -typecheck -parse-as-library -emit-module-interface-path %t/MyModule.swiftinterface -enable-library-evolution -module-name MyModule -swift-version 5\n// RUN: %target-swift-fron...
dataset_sample\swift\apple_swift\test\APIJSON\struct.swift
struct.swift
Swift
2,413
0.8
0
0.890909
node-utils
389
2023-07-26T04:21:05.772609
Apache-2.0
true
b5b0dd1b7f80c73488e119c026fd2313
// RUN: %target-typecheck-verify-swift -I %S/Inputs/custom-modules -F %S/Inputs/custom-frameworks\nimport APINotesTest\nimport APINotesFrameworkTest\n\n#if _runtime(_ObjC)\nextension A {\n func implicitlyObjC() { }\n}\n\nextension C {\n func alsoImplicitlyObjC() { }\n}\n\nclass D : C {\n func yetAnotherImplicitlyObj...
dataset_sample\swift\apple_swift\test\APINotes\basic.swift
basic.swift
Swift
1,344
0.95
0.044444
0.114286
node-utils
375
2024-11-27T09:35:08.570338
Apache-2.0
true
e30c9fa3598801764c9fd2212d4ba15a
// RUN: %target-build-swift -Xfrontend %clang-importer-sdk %s -emit-ir\n\n// REQUIRES: objc_interop\n\nimport UIKit\n\nclass MyView: UIView {\n func foo() {\n UIView.animate(withDuration: 1, delay: 1, options: UIViewAnimationOptions.layoutSubviews,\n animations: { print("animating") },\n completion: { (fi...
dataset_sample\swift\apple_swift\test\APINotes\blocks.swift
blocks.swift
Swift
526
0.95
0.0625
0.153846
vue-tools
318
2024-07-13T10:32:45.253484
MIT
true
d6181e24d97f506d72f82ed25a6cc122
// RUN: %target-typecheck-verify-swift -I %S/Inputs/broken-modules\nimport BrokenAPINotes\n\nfunc testBrokenSwiftName(x: inout ZXSpectrum) {\n _ = x.accumulator\n x.accumulator = 0\n\n // The functions that import as `register`'s accessors have incorrect\n // signatures for a getter or setter. Ensure we drop the im...
dataset_sample\swift\apple_swift\test\APINotes\broken-swift-name.swift
broken-swift-name.swift
Swift
948
0.95
0.038462
0.380952
python-kit
138
2024-07-25T00:03:44.695210
Apache-2.0
true
1930a64c32dc8cb927b0ace786043d7c
// RUN: %empty-directory(%t)\n// RUN: %build-clang-importer-objc-overlays\n\n// RUN: %target-swift-frontend %clang-importer-sdk-nosource -I %t %s -emit-ir\n// REQUIRES: executable_test\n// REQUIRES: OS=macosx\n// REQUIRES: objc_interop\n\n// Test that we don't crash when producing IR.\n\nimport AppKit\nclass MyView: NS...
dataset_sample\swift\apple_swift\test\APINotes\irgen-prop-getter-setter.swift
irgen-prop-getter-setter.swift
Swift
498
0.95
0.045455
0.368421
react-lib
683
2024-03-15T04:20:18.983519
BSD-3-Clause
true
14a916317f0c3f18545ad79d4a24501c
// RUN: not %target-swift-frontend -typecheck -verify -I %S/Inputs/custom-modules -F %S/Inputs/custom-frameworks -swift-version 4 %s\n// RUN: %target-swift-frontend -typecheck -verify -I %S/Inputs/custom-modules -F %S/Inputs/custom-frameworks -swift-version 4.2 %s\n// RUN: %target-swift-frontend -typecheck -verify -I %...
dataset_sample\swift\apple_swift\test\APINotes\obsoleted.swift
obsoleted.swift
Swift
670
0.95
0
0.444444
vue-tools
40
2024-06-17T00:16:03.789687
BSD-3-Clause
true
62308fe9473d7a3595ecc81470172b5d
// RUN: %empty-directory(%t)\n\n// RUN: %target-swift-ide-test -F %S/Inputs/custom-frameworks -print-module -source-filename %s -module-to-print=APINotesFrameworkTest -function-definitions=false -swift-version 5 | %FileCheck -check-prefix=CHECK-SWIFT-5 -check-prefix=CHECK-BOTH %s\n\n// RUN: %target-swift-ide-test -F %S...
dataset_sample\swift\apple_swift\test\APINotes\properties.swift
properties.swift
Swift
3,004
0.95
0.298246
1
vue-tools
980
2025-05-04T07:57:13.058288
GPL-3.0
true
ca5d0c63d62cf83a3925bc3e4d6ad8ba
// RUN: %target-typecheck-verify-swift -I %S/Inputs/custom-modules -F %S/Inputs/custom-frameworks\n\n// REQUIRES: objc_interop\n\nimport APINotesTest\nimport APINotesFrameworkTest\n\n\nfunc testChangedTypes(tc: TypeChanges, a: A, i: Int) {\n _ = tc.method(with: i) // expected-error{{cannot convert value of type 'Int' ...
dataset_sample\swift\apple_swift\test\APINotes\type_changes.swift
type_changes.swift
Swift
457
0.95
0
0.25
python-kit
109
2025-01-06T20:02:31.292389
GPL-3.0
true
9e273bfb72bdbc5043bc0dff4bd0455a
// RUN: %empty-directory(%t)\n\n// RUN: %target-swift-ide-test -F %S/Inputs/custom-frameworks -print-module -source-filename %s -module-to-print=APINotesFrameworkTest -function-definitions=false -swift-version 4 | %FileCheck -check-prefix=CHECK-SWIFT-4 %s\n\n// RUN: %target-swift-ide-test -F %S/Inputs/custom-frameworks...
dataset_sample\swift\apple_swift\test\APINotes\versioned-multi.swift
versioned-multi.swift
Swift
21,365
0.95
0.009836
1
node-utils
325
2023-07-16T19:29:41.812833
MIT
true
c539e393ec00e4393e76b0221b5102c0
// RUN: %empty-directory(%t)\n\n// RUN: not %target-swift-frontend -typecheck -F %S/Inputs/custom-frameworks -swift-version 5 %s 2>&1 | %FileCheck -check-prefix=CHECK-DIAGS -check-prefix=CHECK-DIAGS-5 %s\n// RUN: not %target-swift-frontend -typecheck -F %S/Inputs/custom-frameworks -swift-version 4 %s 2>&1 | %FileCheck ...
dataset_sample\swift\apple_swift\test\APINotes\versioned-objc-dynamic-lookup.swift
versioned-objc-dynamic-lookup.swift
Swift
1,921
0.95
0
0.64
react-lib
573
2023-09-25T07:54:14.443329
Apache-2.0
true
b338d534c891ce7edc2852148c51f242
// RUN: %empty-directory(%t)\n\n// RUN: not %target-swift-frontend -typecheck -F %S/Inputs/custom-frameworks -swift-version 5 %s 2>&1 | %FileCheck -check-prefix=CHECK-DIAGS -check-prefix=CHECK-DIAGS-5 %s\n// RUN: not %target-swift-frontend -typecheck -F %S/Inputs/custom-frameworks -swift-version 4 %s 2>&1 | %FileCheck ...
dataset_sample\swift\apple_swift\test\APINotes\versioned-objc.swift
versioned-objc.swift
Swift
9,141
0.95
0.067797
0.560606
node-utils
951
2025-06-04T17:04:53.738516
Apache-2.0
true
5360c773f8642f89f56baef9a4f8d04a
// RUN: %empty-directory(%t)\n\n// RUN: %target-swift-ide-test -F %S/Inputs/custom-frameworks -print-module -source-filename %s -module-to-print=APINotesFrameworkTest -function-definitions=false -swift-version 5 | %FileCheck -check-prefix=CHECK-SWIFT-5 %s\n\n// RUN: %target-swift-ide-test -F %S/Inputs/custom-framewor...
dataset_sample\swift\apple_swift\test\APINotes\versioned.swift
versioned.swift
Swift
12,754
0.95
0.018051
0.628019
react-lib
347
2024-03-07T18:42:28.913681
Apache-2.0
true
9baf3a894586e506472cc3027994711a
// RUN: %target-typecheck-verify-swift\n\nstruct X { }\n\n// Simple default definition for associated types.\nprotocol P1 {\n associatedtype AssocType1 = Int\n}\n\nextension X : P1 { }\n\nvar i: X.AssocType1 = 17\n\n// Dependent default definition for associated types\nprotocol P2 {\n associatedtype AssocType2 = Self...
dataset_sample\swift\apple_swift\test\AssociatedTypeInference\associated_type_default.swift
associated_type_default.swift
Swift
1,166
0.95
0.146341
0.2
python-kit
693
2024-01-29T01:29:12.351219
BSD-3-Clause
true
1a0d8e723ce18d10dcab4b80131f850a
// RUN: %target-typecheck-verify-swift\n\nprotocol P1 {\n associatedtype A\n\n func f(_: A)\n}\n\nprotocol P2: P1 {\n associatedtype A = Int\n}\n\nfunc foo<T: P1>(_: T.Type) -> T.A.Type {}\n\n_ = foo(S.self)\n\nstruct S: P2 {\n func f(_: A) {}\n}\n
dataset_sample\swift\apple_swift\test\AssociatedTypeInference\associated_type_default_lookup.swift
associated_type_default_lookup.swift
Swift
233
0.8
0
0.076923
node-utils
535
2024-01-30T08:31:00.604009
Apache-2.0
true
3d62ee2f2241c00c6d708e2f9fe98317
// RUN: %target-typecheck-verify-swift\n\nprotocol P {\n associatedtype A = Int\n}\n\nstruct S<A>: P {}\n\nlet x: String.Type = S<String>.A.self\n
dataset_sample\swift\apple_swift\test\AssociatedTypeInference\associated_type_generic_param.swift
associated_type_generic_param.swift
Swift
138
0.8
0
0.166667
awesome-app
4
2024-09-28T07:16:55.064820
Apache-2.0
true
9b8bc19739c2488e0cc1605a209004f4
// RUN: %target-typecheck-verify-swift\n\nprotocol P0 {\n associatedtype Assoc1 : PSimple // expected-note{{ambiguous inference of associated type 'Assoc1': 'Double' vs. 'Int'}}\n // expected-note@-1{{ambiguous inference of associated type 'Assoc1': 'Double' vs. 'Int'}}\n // expected-note@-2{{unable to infer associa...
dataset_sample\swift\apple_swift\test\AssociatedTypeInference\associated_type_inference.swift
associated_type_inference.swift
Swift
17,286
0.95
0.040166
0.135563
awesome-app
876
2024-12-13T10:50:38.304932
Apache-2.0
true
99ba4170c23e3d5a4c5f28c79fc08d3b