text stringlengths 9 39.2M | dir stringlengths 25 226 | lang stringclasses 163
values | created_date timestamp[s] | updated_date timestamp[s] | repo_name stringclasses 751
values | repo_full_name stringclasses 752
values | star int64 1.01k 183k | len_tokens int64 1 18.5M |
|---|---|---|---|---|---|---|---|---|
```tex
%<*internal>
\begingroup
\def\nameoflatex{LaTeX2e}
\expandafter\endgroup\ifx\nameoflatexe\fmtname\else
\csname fi\endcsname
%</internal>
%<*install>
\input docstrip.tex
\nopreamble
\keepsilent
\askforoverwritefalse
\nopostamble
\generate{
\file{test.aux}{\from{\jobname.dtx}{aux}}
\file{test.bst}{\from{gbt7... | /content/code_sandbox/test/testbst/option-2005-numerical.dtx | tex | 2016-03-19T04:16:10 | 2024-08-16T08:50:19 | gbt7714-bibtex-style | zepinglee/gbt7714-bibtex-style | 1,167 | 309 |
```unknown
\begin{thebibliography}{185}
\providecommand{\natexlab}[1]{#1}
\providecommand{\url}[1]{#1}
\expandafter\ifx\csname urlstyle\endcsname\relax\else
\urlstyle{same}\fi
\expandafter\ifx\csname href\endcsname\relax
\DeclareUrlCommand\doi{\urlstyle{rm}}
\def\eprint#1#2{#2}
\else
\def\doi#1{\href{path_to_ur... | /content/code_sandbox/test/testbst/year-suffix-overflow.bbl | unknown | 2016-03-19T04:16:10 | 2024-08-16T08:50:19 | gbt7714-bibtex-style | zepinglee/gbt7714-bibtex-style | 1,167 | 11,315 |
```unknown
\begin{thebibliography}{128}
\providecommand{\natexlab}[1]{#1}
\providecommand{\url}[1]{#1}
\expandafter\ifx\csname urlstyle\endcsname\relax\else
\urlstyle{same}\fi
\expandafter\ifx\csname href\endcsname\relax
\DeclareUrlCommand\doi{\urlstyle{rm}}
\def\eprint#1#2{#2}
\else
\def\doi#1{\href{path_to_ur... | /content/code_sandbox/test/testbst/option-no-url.bbl | unknown | 2016-03-19T04:16:10 | 2024-08-16T08:50:19 | gbt7714-bibtex-style | zepinglee/gbt7714-bibtex-style | 1,167 | 7,708 |
```tex
%<*internal>
\begingroup
\def\nameoflatex{LaTeX2e}
\expandafter\endgroup\ifx\nameoflatexe\fmtname\else
\csname fi\endcsname
%</internal>
%<*install>
\input docstrip.tex
\nopreamble
\keepsilent
\askforoverwritefalse
\nopostamble
\generate{
\file{test.aux}{\from{\jobname.dtx}{aux}}
\file{test.bst}{\from{gbt7... | /content/code_sandbox/test/testbst/option-no-slash.dtx | tex | 2016-03-19T04:16:10 | 2024-08-16T08:50:19 | gbt7714-bibtex-style | zepinglee/gbt7714-bibtex-style | 1,167 | 258 |
```unknown
\begin{thebibliography}{128}
\providecommand{\biband}{}
\providecommand{\bibetal}{}
\providecommand{\natexlab}[1]{#1}
\providecommand{\url}[1]{#1}
\expandafter\ifx\csname urlstyle\endcsname\relax\else
\urlstyle{same}\fi
\expandafter\ifx\csname href\endcsname\relax
\DeclareUrlCommand\doi{\urlstyle{rm}}
... | /content/code_sandbox/test/testbst/ucas-numerical.bbl | unknown | 2016-03-19T04:16:10 | 2024-08-16T08:50:19 | gbt7714-bibtex-style | zepinglee/gbt7714-bibtex-style | 1,167 | 8,749 |
```unknown
\begin{thebibliography}{128}
\providecommand{\natexlab}[1]{#1}
\providecommand{\url}[1]{#1}
\expandafter\ifx\csname urlstyle\endcsname\relax\else
\urlstyle{same}\fi
\expandafter\ifx\csname href\endcsname\relax
\DeclareUrlCommand\doi{\urlstyle{rm}}
\def\eprint#1#2{#2}
\else
\def\doi#1{\href{path_to_ur... | /content/code_sandbox/test/testbst/option-link-jounal.bbl | unknown | 2016-03-19T04:16:10 | 2024-08-16T08:50:19 | gbt7714-bibtex-style | zepinglee/gbt7714-bibtex-style | 1,167 | 8,766 |
```tex
%<*internal>
\begingroup
\def\nameoflatex{LaTeX2e}
\expandafter\endgroup\ifx\nameoflatexe\fmtname\else
\csname fi\endcsname
%</internal>
%<*install>
\input docstrip.tex
\nopreamble
\keepsilent
\askforoverwritefalse
\nopostamble
\generate{
\file{test.aux}{\from{\jobname.dtx}{aux}}
\file{test.bst}{\from{gbt7... | /content/code_sandbox/test/testbst/ucas-numerical.dtx | tex | 2016-03-19T04:16:10 | 2024-08-16T08:50:19 | gbt7714-bibtex-style | zepinglee/gbt7714-bibtex-style | 1,167 | 257 |
```tex
%<*internal>
\begingroup
\def\nameoflatex{LaTeX2e}
\expandafter\endgroup\ifx\nameoflatexe\fmtname\else
\csname fi\endcsname
%</internal>
%<*install>
\input docstrip.tex
\nopreamble
\keepsilent
\askforoverwritefalse
\nopostamble
\generate{
\file{test.aux}{\from{\jobname.dtx}{aux}}
\file{test.bst}{\from{gbt7... | /content/code_sandbox/test/testbst/option-preprint.dtx | tex | 2016-03-19T04:16:10 | 2024-08-16T08:50:19 | gbt7714-bibtex-style | zepinglee/gbt7714-bibtex-style | 1,167 | 524 |
```tex
%<*internal>
\begingroup
\def\nameoflatex{LaTeX2e}
\expandafter\endgroup\ifx\nameoflatexe\fmtname\else
\csname fi\endcsname
%</internal>
%<*install>
\input docstrip.tex
\nopreamble
\keepsilent
\askforoverwritefalse
\nopostamble
\generate{
\file{test.aux}{\from{\jobname.dtx}{aux}}
\file{test.bst}{\from{gbt7... | /content/code_sandbox/test/testbst/ustc-numerical.dtx | tex | 2016-03-19T04:16:10 | 2024-08-16T08:50:19 | gbt7714-bibtex-style | zepinglee/gbt7714-bibtex-style | 1,167 | 1,853 |
```unknown
\begin{thebibliography}{7}
\providecommand{\natexlab}[1]{#1}
\providecommand{\url}[1]{#1}
\expandafter\ifx\csname urlstyle\endcsname\relax\else
\urlstyle{same}\fi
\expandafter\ifx\csname href\endcsname\relax
\DeclareUrlCommand\doi{\urlstyle{rm}}
\def\eprint#1#2{#2}
\else
\def\doi#1{\href{path_to_url#... | /content/code_sandbox/test/testbst/thu-author-year.bbl | unknown | 2016-03-19T04:16:10 | 2024-08-16T08:50:19 | gbt7714-bibtex-style | zepinglee/gbt7714-bibtex-style | 1,167 | 596 |
```unknown
\begin{thebibliography}{128}
\providecommand{\natexlab}[1]{#1}
\providecommand{\url}[1]{#1}
\expandafter\ifx\csname urlstyle\endcsname\relax\else
\urlstyle{same}\fi
\expandafter\ifx\csname href\endcsname\relax
\DeclareUrlCommand\doi{\urlstyle{rm}}
\def\eprint#1#2{#2}
\else
\def\doi#1{\href{path_to_ur... | /content/code_sandbox/test/testbst/option-sl-sn.bbl | unknown | 2016-03-19T04:16:10 | 2024-08-16T08:50:19 | gbt7714-bibtex-style | zepinglee/gbt7714-bibtex-style | 1,167 | 8,649 |
```unknown
\begin{thebibliography}{128}
\providecommand{\natexlab}[1]{#1}
\providecommand{\url}[1]{#1}
\expandafter\ifx\csname urlstyle\endcsname\relax\else
\urlstyle{same}\fi
\expandafter\ifx\csname href\endcsname\relax
\DeclareUrlCommand\doi{\urlstyle{rm}}
\def\eprint#1#2{#2}
\else
\def\doi#1{\href{path_to_ur... | /content/code_sandbox/test/testbst/option-2005-author-year.bbl | unknown | 2016-03-19T04:16:10 | 2024-08-16T08:50:19 | gbt7714-bibtex-style | zepinglee/gbt7714-bibtex-style | 1,167 | 8,732 |
```unknown
\begin{thebibliography}{128}
\providecommand{\natexlab}[1]{#1}
\providecommand{\url}[1]{#1}
\expandafter\ifx\csname urlstyle\endcsname\relax\else
\urlstyle{same}\fi
\expandafter\ifx\csname href\endcsname\relax
\DeclareUrlCommand\doi{\urlstyle{rm}}
\def\eprint#1#2{#2}
\else
\def\doi#1{\href{path_to_ur... | /content/code_sandbox/test/testbst/option-no-doi.bbl | unknown | 2016-03-19T04:16:10 | 2024-08-16T08:50:19 | gbt7714-bibtex-style | zepinglee/gbt7714-bibtex-style | 1,167 | 8,511 |
```unknown
\begin{thebibliography}{128}
\providecommand{\natexlab}[1]{#1}
\providecommand{\url}[1]{#1}
\expandafter\ifx\csname urlstyle\endcsname\relax\else
\urlstyle{same}\fi
\expandafter\ifx\csname href\endcsname\relax
\DeclareUrlCommand\doi{\urlstyle{rm}}
\def\eprint#1#2{#2}
\else
\def\doi#1{\href{path_to_ur... | /content/code_sandbox/test/testbst/option-no-medium-type.bbl | unknown | 2016-03-19T04:16:10 | 2024-08-16T08:50:19 | gbt7714-bibtex-style | zepinglee/gbt7714-bibtex-style | 1,167 | 8,545 |
```unknown
\begin{thebibliography}{128}
\providecommand{\biband}{}
\providecommand{\bibetal}{}
\providecommand{\natexlab}[1]{#1}
\providecommand{\url}[1]{#1}
\expandafter\ifx\csname urlstyle\endcsname\relax\else
\urlstyle{same}\fi
\expandafter\ifx\csname href\endcsname\relax
\DeclareUrlCommand\doi{\urlstyle{rm}}
... | /content/code_sandbox/test/testbst/option-macro.bbl | unknown | 2016-03-19T04:16:10 | 2024-08-16T08:50:19 | gbt7714-bibtex-style | zepinglee/gbt7714-bibtex-style | 1,167 | 8,719 |
```tex
%<*internal>
\begingroup
\def\nameoflatex{LaTeX2e}
\expandafter\endgroup\ifx\nameoflatexe\fmtname\else
\csname fi\endcsname
%</internal>
%<*install>
\input docstrip.tex
\nopreamble
\keepsilent
\askforoverwritefalse
\nopostamble
\generate{
\file{test.aux}{\from{\jobname.dtx}{aux}}
\file{test.bst}{\from{gbt7... | /content/code_sandbox/test/testbst/year-suffix-overflow.dtx | tex | 2016-03-19T04:16:10 | 2024-08-16T08:50:19 | gbt7714-bibtex-style | zepinglee/gbt7714-bibtex-style | 1,167 | 2,399 |
```unknown
\begin{thebibliography}{128}
\providecommand{\natexlab}[1]{#1}
\providecommand{\url}[1]{#1}
\expandafter\ifx\csname urlstyle\endcsname\relax\else
\urlstyle{same}\fi
\expandafter\ifx\csname href\endcsname\relax
\DeclareUrlCommand\doi{\urlstyle{rm}}
\def\eprint#1#2{#2}
\else
\def\doi#1{\href{path_to_ur... | /content/code_sandbox/test/testbst/option-in-collection.bbl | unknown | 2016-03-19T04:16:10 | 2024-08-16T08:50:19 | gbt7714-bibtex-style | zepinglee/gbt7714-bibtex-style | 1,167 | 8,600 |
```tex
%<*internal>
\begingroup
\def\nameoflatex{LaTeX2e}
\expandafter\endgroup\ifx\nameoflatexe\fmtname\else
\csname fi\endcsname
%</internal>
%<*install>
\input docstrip.tex
\nopreamble
\keepsilent
\askforoverwritefalse
\nopostamble
\generate{
\file{test.aux}{\from{\jobname.dtx}{aux}}
\file{test.bst}{\from{gbt7... | /content/code_sandbox/test/testbst/thu-author-year.dtx | tex | 2016-03-19T04:16:10 | 2024-08-16T08:50:19 | gbt7714-bibtex-style | zepinglee/gbt7714-bibtex-style | 1,167 | 771 |
```unknown
\begin{thebibliography}{128}
\providecommand{\natexlab}[1]{#1}
\providecommand{\url}[1]{#1}
\expandafter\ifx\csname urlstyle\endcsname\relax\else
\urlstyle{same}\fi
\expandafter\ifx\csname href\endcsname\relax
\DeclareUrlCommand\doi{\urlstyle{rm}}
\def\eprint#1#2{#2}
\else
\def\doi#1{\href{path_to_ur... | /content/code_sandbox/test/testbst/option-no-url-doi.bbl | unknown | 2016-03-19T04:16:10 | 2024-08-16T08:50:19 | gbt7714-bibtex-style | zepinglee/gbt7714-bibtex-style | 1,167 | 7,536 |
```unknown
\begin{thebibliography}{22}
\providecommand{\natexlab}[1]{#1}
\providecommand{\url}[1]{#1}
\expandafter\ifx\csname urlstyle\endcsname\relax\else
\urlstyle{same}\fi
\expandafter\ifx\csname href\endcsname\relax
\DeclareUrlCommand\doi{\urlstyle{rm}}
\def\eprint#1#2{#2}
\else
\def\doi#1{\href{path_to_url... | /content/code_sandbox/test/testbst/ustc-numerical.bbl | unknown | 2016-03-19T04:16:10 | 2024-08-16T08:50:19 | gbt7714-bibtex-style | zepinglee/gbt7714-bibtex-style | 1,167 | 1,559 |
```tex
%<*internal>
\begingroup
\def\nameoflatex{LaTeX2e}
\expandafter\endgroup\ifx\nameoflatexe\fmtname\else
\csname fi\endcsname
%</internal>
%<*install>
\input docstrip.tex
\nopreamble
\keepsilent
\askforoverwritefalse
\nopostamble
\generate{
\file{test.aux}{\from{\jobname.dtx}{aux}}
\file{test.bst}{\from{gbt7... | /content/code_sandbox/test/testbst/ustc-author-year.dtx | tex | 2016-03-19T04:16:10 | 2024-08-16T08:50:19 | gbt7714-bibtex-style | zepinglee/gbt7714-bibtex-style | 1,167 | 509 |
```tex
%<*internal>
\begingroup
\def\nameoflatex{LaTeX2e}
\expandafter\endgroup\ifx\nameoflatexe\fmtname\else
\csname fi\endcsname
%</internal>
%<*install>
\input docstrip.tex
\nopreamble
\keepsilent
\askforoverwritefalse
\nopostamble
\generate{
\file{test.aux}{\from{\jobname.dtx}{aux}}
\file{test.bst}{\from{gbt7... | /content/code_sandbox/test/testbst/ucas-author-year.dtx | tex | 2016-03-19T04:16:10 | 2024-08-16T08:50:19 | gbt7714-bibtex-style | zepinglee/gbt7714-bibtex-style | 1,167 | 257 |
```tex
%<*internal>
\begingroup
\def\nameoflatex{LaTeX2e}
\expandafter\endgroup\ifx\nameoflatexe\fmtname\else
\csname fi\endcsname
%</internal>
%<*install>
\input docstrip.tex
\nopreamble
\keepsilent
\askforoverwritefalse
\nopostamble
\generate{
\file{test.aux}{\from{\jobname.dtx}{aux}}
\file{test.bst}{\from{gbt7... | /content/code_sandbox/test/testbst/option-only-start-page.dtx | tex | 2016-03-19T04:16:10 | 2024-08-16T08:50:19 | gbt7714-bibtex-style | zepinglee/gbt7714-bibtex-style | 1,167 | 259 |
```unknown
\begin{thebibliography}{128}
\providecommand{\natexlab}[1]{#1}
\providecommand{\url}[1]{#1}
\expandafter\ifx\csname urlstyle\endcsname\relax\else
\urlstyle{same}\fi
\expandafter\ifx\csname href\endcsname\relax
\DeclareUrlCommand\doi{\urlstyle{rm}}
\def\eprint#1#2{#2}
\else
\def\doi#1{\href{path_to_ur... | /content/code_sandbox/test/testbst/option-no-sentence-case.bbl | unknown | 2016-03-19T04:16:10 | 2024-08-16T08:50:19 | gbt7714-bibtex-style | zepinglee/gbt7714-bibtex-style | 1,167 | 8,687 |
```tex
%<*internal>
\begingroup
\def\nameoflatex{LaTeX2e}
\expandafter\endgroup\ifx\nameoflatexe\fmtname\else
\csname fi\endcsname
%</internal>
%<*install>
\input docstrip.tex
\nopreamble
\keepsilent
\askforoverwritefalse
\nopostamble
\generate{
\file{test.aux}{\from{\jobname.dtx}{aux}}
\file{test.bst}{\from{gbt7... | /content/code_sandbox/test/testbst/option-no-url.dtx | tex | 2016-03-19T04:16:10 | 2024-08-16T08:50:19 | gbt7714-bibtex-style | zepinglee/gbt7714-bibtex-style | 1,167 | 257 |
```unknown
\begin{thebibliography}{128}
\providecommand{\natexlab}[1]{#1}
\providecommand{\url}[1]{#1}
\expandafter\ifx\csname urlstyle\endcsname\relax\else
\urlstyle{same}\fi
\expandafter\ifx\csname href\endcsname\relax
\DeclareUrlCommand\doi{\urlstyle{rm}}
\def\eprint#1#2{#2}
\else
\def\doi#1{\href{path_to_ur... | /content/code_sandbox/test/testbst/2015-numerical.bbl | unknown | 2016-03-19T04:16:10 | 2024-08-16T08:50:19 | gbt7714-bibtex-style | zepinglee/gbt7714-bibtex-style | 1,167 | 8,641 |
```tex
%<*internal>
\begingroup
\def\nameoflatex{LaTeX2e}
\expandafter\endgroup\ifx\nameoflatexe\fmtname\else
\csname fi\endcsname
%</internal>
%<*install>
\input docstrip.tex
\nopreamble
\keepsilent
\askforoverwritefalse
\nopostamble
\generate{
\file{test.aux}{\from{\jobname.dtx}{aux}}
\file{test.bst}{\from{gbt7... | /content/code_sandbox/test/testbst/option-no-doi.dtx | tex | 2016-03-19T04:16:10 | 2024-08-16T08:50:19 | gbt7714-bibtex-style | zepinglee/gbt7714-bibtex-style | 1,167 | 258 |
```tex
%<*internal>
\begingroup
\def\nameoflatex{LaTeX2e}
\expandafter\endgroup\ifx\nameoflatexe\fmtname\else
\csname fi\endcsname
%</internal>
%<*install>
\input docstrip.tex
\nopreamble
\keepsilent
\askforoverwritefalse
\nopostamble
\generate{
\file{test.aux}{\from{\jobname.dtx}{aux}}
\file{test.bst}{\from{gbt7... | /content/code_sandbox/test/testbst/option-no-mark.dtx | tex | 2016-03-19T04:16:10 | 2024-08-16T08:50:19 | gbt7714-bibtex-style | zepinglee/gbt7714-bibtex-style | 1,167 | 257 |
```tex
%<*internal>
\begingroup
\def\nameoflatex{LaTeX2e}
\expandafter\endgroup\ifx\nameoflatexe\fmtname\else
\csname fi\endcsname
%</internal>
%<*install>
\input docstrip.tex
\nopreamble
\keepsilent
\askforoverwritefalse
\nopostamble
\generate{
\file{test.aux}{\from{\jobname.dtx}{aux}}
\file{test.bst}{\from{gbt7... | /content/code_sandbox/test/testbst/option-link-jounal.dtx | tex | 2016-03-19T04:16:10 | 2024-08-16T08:50:19 | gbt7714-bibtex-style | zepinglee/gbt7714-bibtex-style | 1,167 | 259 |
```tex
\documentclass{ctexart}
\usepackage{gbt7714}
\usepackage{hyperref}
\begin{document}
\citestyle{super}
Foo
\nocite{*}
\bibliographystyle{test}
\bibliography{standard,test}
\end{document}
``` | /content/code_sandbox/test/testbst/support/test.tex | tex | 2016-03-19T04:16:10 | 2024-08-16T08:50:19 | gbt7714-bibtex-style | zepinglee/gbt7714-bibtex-style | 1,167 | 63 |
```tex
\bibstyle{test}
\citation{*}
\bibdata{test,standard}
``` | /content/code_sandbox/test/testbst/support/test.aux | tex | 2016-03-19T04:16:10 | 2024-08-16T08:50:19 | gbt7714-bibtex-style | zepinglee/gbt7714-bibtex-style | 1,167 | 19 |
```unknown
\begin{thebibliography}{128}
\providecommand{\natexlab}[1]{#1}
\providecommand{\url}[1]{#1}
\expandafter\ifx\csname urlstyle\endcsname\relax\else
\urlstyle{same}\fi
\expandafter\ifx\csname href\endcsname\relax
\DeclareUrlCommand\doi{\urlstyle{rm}}
\def\eprint#1#2{#2}
\else
\def\doi#1{\href{path_to_ur... | /content/code_sandbox/test/testbst/option-link-title.bbl | unknown | 2016-03-19T04:16:10 | 2024-08-16T08:50:19 | gbt7714-bibtex-style | zepinglee/gbt7714-bibtex-style | 1,167 | 9,071 |
```tex
\documentclass{ctexart}
\usepackage[sort]{gbt7714}
\begin{document}
\nocite{*}
\bibliographystyle{gbt7714-numerical}
\bibliography{standard}
\end{document}
``` | /content/code_sandbox/examples/gbt7714-2015-examples.tex | tex | 2016-03-19T04:16:10 | 2024-08-16T08:50:19 | gbt7714-bibtex-style | zepinglee/gbt7714-bibtex-style | 1,167 | 55 |
```tex
4
4.1
4.1.2
@book{4.1.2:1,
author = {},
title = {},
volume = {1},
address = {},
publisher = {},
year = {2000},
pages = {29},
}
@book{4.1.2:2,
author = {},
translator = {},
title = {},
address = {},
publisher = {},
yea... | /content/code_sandbox/test/testbst/support/standard.bib | tex | 2016-03-19T04:16:10 | 2024-08-16T08:50:19 | gbt7714-bibtex-style | zepinglee/gbt7714-bibtex-style | 1,167 | 9,787 |
```tex
%%
%% This is file `gbt7714.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% gbt7714.dtx (with options: `package')
%% your_sha256_hash---
%% GB/T 7714 BibTeX Style
%% path_to_url
%% Version: 2024/03/08 v2.1.6
%% your_sha256_hash---
%% your_sha256_hash---
%% This file may... | /content/code_sandbox/examples/gbt7714.sty | tex | 2016-03-19T04:16:10 | 2024-08-16T08:50:19 | gbt7714-bibtex-style | zepinglee/gbt7714-bibtex-style | 1,167 | 4,274 |
```unknown
%%
%% This is file `gbt7714-numerical.bst',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% gbt7714.dtx (with options: `2015,numerical')
%% your_sha256_hash---
%% GB/T 7714 BibTeX Style
%% path_to_url
%% Version: 2024/03/08 v2.1.6
%% your_sha256_hash---
%% your_sha256_has... | /content/code_sandbox/examples/gbt7714-numerical.bst | unknown | 2016-03-19T04:16:10 | 2024-08-16T08:50:19 | gbt7714-bibtex-style | zepinglee/gbt7714-bibtex-style | 1,167 | 12,561 |
```tex
4
4.1
4.1.2
@book{4.1.2:1,
author = {},
title = {},
volume = {1},
address = {},
publisher = {},
year = {2000},
pages = {29},
}
@book{4.1.2:2,
author = {},
translator = {},
title = {},
address = {},
publisher = {},
yea... | /content/code_sandbox/examples/standard.bib | tex | 2016-03-19T04:16:10 | 2024-08-16T08:50:19 | gbt7714-bibtex-style | zepinglee/gbt7714-bibtex-style | 1,167 | 9,787 |
```ruby
Pod::Spec.new do |s|
s.name = "UPCarouselFlowLayout"
s.version = "1.1.2"
s.summary = "A fancy carousel flow layout for UICollectionView."
s.description = "UPCarouselFlowLayout is a fancy carousel flow layout for UICollectionView. It comes with a paginated effect and it... | /content/code_sandbox/UPCarouselFlowLayout.podspec | ruby | 2016-06-28T11:43:43 | 2024-08-06T06:52:49 | UPCarouselFlowLayout | zepojo/UPCarouselFlowLayout | 1,659 | 210 |
```unknown
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1000"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning ... | /content/code_sandbox/UPCarouselFlowLayoutDemo.xcodeproj/xcshareddata/xcschemes/UPCarouselFlowLayout.xcscheme | unknown | 2016-06-28T11:43:43 | 2024-08-06T06:52:49 | UPCarouselFlowLayout | zepojo/UPCarouselFlowLayout | 1,659 | 671 |
```unknown
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version = "1.0">
<FileRef
location = "self:/Users/paul_ulric/Dropbox/Work/UPCardCollectionViewLayoutDemo/UPCarouselFlowLayoutDemo.xcodeproj">
</FileRef>
</Workspace>
``` | /content/code_sandbox/UPCarouselFlowLayoutDemo.xcodeproj/project.xcworkspace/contents.xcworkspacedata | unknown | 2016-06-28T11:43:43 | 2024-08-06T06:52:49 | UPCarouselFlowLayout | zepojo/UPCarouselFlowLayout | 1,659 | 70 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "path_to_url">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>
``` | /content/code_sandbox/UPCarouselFlowLayoutDemo.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist | xml | 2016-06-28T11:43:43 | 2024-08-06T06:52:49 | UPCarouselFlowLayout | zepojo/UPCarouselFlowLayout | 1,659 | 72 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "path_to_url">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_... | /content/code_sandbox/UPCarouselFlowLayout/Info.plist | xml | 2016-06-28T11:43:43 | 2024-08-06T06:52:49 | UPCarouselFlowLayout | zepojo/UPCarouselFlowLayout | 1,659 | 229 |
```objective-c
//
// UPCarouselFlowLayout.h
// UPCarouselFlowLayout
//
// Created by Alex K. on 18/11/16.
//
#import <UIKit/UIKit.h>
//! Project version number for UPCarouselFlowLayout.
FOUNDATION_EXPORT double UPCarouselFlowLayoutVersionNumber;
//! Project version string for UPCarouselFlowLayout.
FOUNDATION_EXPO... | /content/code_sandbox/UPCarouselFlowLayout/UPCarouselFlowLayout.h | objective-c | 2016-06-28T11:43:43 | 2024-08-06T06:52:49 | UPCarouselFlowLayout | zepojo/UPCarouselFlowLayout | 1,659 | 110 |
```swift
//
// UPCarouselFlowLayout.swift
// UPCarouselFlowLayoutDemo
//
// Created by Paul Ulric on 23/06/2016.
//
import UIKit
public enum UPCarouselFlowLayoutSpacingMode {
case fixed(spacing: CGFloat)
case overlap(visibleOffset: CGFloat)
}
open class UPCarouselFlowLayout: UICollectionViewFlowLayout {... | /content/code_sandbox/UPCarouselFlowLayout/UPCarouselFlowLayout.swift | swift | 2016-06-28T11:43:43 | 2024-08-06T06:52:49 | UPCarouselFlowLayout | zepojo/UPCarouselFlowLayout | 1,659 | 1,260 |
```unknown
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 46;
objects = {
/* Begin PBXBuildFile section */
01D387971D229BFC00CE4E1F /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 01D3878B1D229BFC00CE4E1F /* AppDelegate.swift */; };
01D387981D229BFC00CE4E1F /* Assets.xc... | /content/code_sandbox/UPCarouselFlowLayoutDemo.xcodeproj/project.pbxproj | unknown | 2016-06-28T11:43:43 | 2024-08-06T06:52:49 | UPCarouselFlowLayout | zepojo/UPCarouselFlowLayout | 1,659 | 7,414 |
```swift
//
// GradientView.swift
// UPCarouselFlowLayoutDemo
//
// Created by Paul Ulric on 28/06/2016.
//
import UIKit
class GradientView: UIView {
override func draw(_ rect: CGRect) {
let colorSpace: CGColorSpace = CGColorSpaceCreateDeviceRGB()
let context: CGContext = UIGraphicsGetCurrentC... | /content/code_sandbox/UPCarouselFlowLayoutDemo/GradientView.swift | swift | 2016-06-28T11:43:43 | 2024-08-06T06:52:49 | UPCarouselFlowLayout | zepojo/UPCarouselFlowLayout | 1,659 | 304 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "path_to_url">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_... | /content/code_sandbox/UPCarouselFlowLayoutDemo/Info.plist | xml | 2016-06-28T11:43:43 | 2024-08-06T06:52:49 | UPCarouselFlowLayout | zepojo/UPCarouselFlowLayout | 1,659 | 365 |
```swift
//
// CarouselCollectionViewCell.swift
// UPCarouselFlowLayoutDemo
//
// Created by Paul Ulric on 23/06/2016.
//
import UIKit
class CarouselCollectionViewCell: UICollectionViewCell {
@IBOutlet weak var image: UIImageView!
static let identifier = "CarouselCollectionViewCell"
required init?... | /content/code_sandbox/UPCarouselFlowLayoutDemo/CarouselCollectionViewCell.swift | swift | 2016-06-28T11:43:43 | 2024-08-06T06:52:49 | UPCarouselFlowLayout | zepojo/UPCarouselFlowLayout | 1,659 | 163 |
```swift
//
// Character.swift
// UPCarouselFlowLayoutDemo
//
// Created by Paul Ulric on 28/06/2016.
//
import Foundation
struct Character {
let imageName: String!
let name: String!
let movie: String!
}
``` | /content/code_sandbox/UPCarouselFlowLayoutDemo/Character.swift | swift | 2016-06-28T11:43:43 | 2024-08-06T06:52:49 | UPCarouselFlowLayout | zepojo/UPCarouselFlowLayout | 1,659 | 58 |
```swift
//
// AppDelegate.swift
// UPCarouselFlowLayoutDemo
//
// Created by Paul Ulric on 23/06/2016.
//
import UIKit
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOpti... | /content/code_sandbox/UPCarouselFlowLayoutDemo/AppDelegate.swift | swift | 2016-06-28T11:43:43 | 2024-08-06T06:52:49 | UPCarouselFlowLayout | zepojo/UPCarouselFlowLayout | 1,659 | 397 |
```swift
//
// ViewController.swift
// UPCarouselFlowLayoutDemo
//
// Created by Paul Ulric on 23/06/2016.
//
import UIKit
class ViewController: UIViewController, UICollectionViewDelegate, UICollectionViewDataSource {
@IBOutlet weak var infoLabel: UILabel!
@IBOutlet weak var detailLabel: UILabel!
@IBO... | /content/code_sandbox/UPCarouselFlowLayoutDemo/ViewController.swift | swift | 2016-06-28T11:43:43 | 2024-08-06T06:52:49 | UPCarouselFlowLayout | zepojo/UPCarouselFlowLayout | 1,659 | 929 |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="8150" systemVersion="15A204g" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" init... | /content/code_sandbox/UPCarouselFlowLayoutDemo/Base.lproj/LaunchScreen.storyboard | xml | 2016-06-28T11:43:43 | 2024-08-06T06:52:49 | UPCarouselFlowLayout | zepojo/UPCarouselFlowLayout | 1,659 | 402 |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="11762" systemVersion="15G1217" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" ini... | /content/code_sandbox/UPCarouselFlowLayoutDemo/Base.lproj/Main.storyboard | xml | 2016-06-28T11:43:43 | 2024-08-06T06:52:49 | UPCarouselFlowLayout | zepojo/UPCarouselFlowLayout | 1,659 | 3,901 |
```unknown
---
Language: Cpp
# BasedOnStyle: Google
AccessModifierOffset: -4
AlignAfterOpenBracket: false
AlignConsecutiveAssignments: false
AlignEscapedNewlinesLeft: false
AlignOperands: false
AlignTrailingComments: false
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortBlocksOnASingleLine: false
AllowShortC... | /content/code_sandbox/.clang-format | unknown | 2016-02-04T04:42:22 | 2024-08-15T08:36:05 | zeromq.js | zeromq/zeromq.js | 1,440 | 663 |
```xml
export * from "./lib/draft"
``` | /content/code_sandbox/draft.d.ts | xml | 2016-02-04T04:42:22 | 2024-08-15T08:36:05 | zeromq.js | zeromq/zeromq.js | 1,440 | 9 |
```javascript
/**
* @type {import('mocha').MochaOptions}
*/
const config = {
require: ["ts-node/register"],
spec: ["test/unit/*-test.ts", "test/unit/compat/*-test.js"],
"expose-gc": true,
"v8-expose-gc": true,
exit: true,
parallel: true,
}
module.exports = config
``` | /content/code_sandbox/.mocharc.js | javascript | 2016-02-04T04:42:22 | 2024-08-15T08:36:05 | zeromq.js | zeromq/zeromq.js | 1,440 | 85 |
```javascript
if (require(".").capability.draft) {
process.emitWarning(
"ZeroMQ draft features are experimental and could change at any time.",
)
} else {
throw new Error(
"ZeroMQ draft features are not enabled in this build. " +
"To enable support, (re)compile this library with --zmq-draft.",
)
}... | /content/code_sandbox/draft.js | javascript | 2016-02-04T04:42:22 | 2024-08-15T08:36:05 | zeromq.js | zeromq/zeromq.js | 1,440 | 87 |
```javascript
module.exports = require("./lib/compat")
``` | /content/code_sandbox/v5-compat.js | javascript | 2016-02-04T04:42:22 | 2024-08-15T08:36:05 | zeromq.js | zeromq/zeromq.js | 1,440 | 10 |
```unknown
CompileFlags:
CompilationDatabase: build/Debug
``` | /content/code_sandbox/.clangd | unknown | 2016-02-04T04:42:22 | 2024-08-15T08:36:05 | zeromq.js | zeromq/zeromq.js | 1,440 | 12 |
```unknown
# Zmq settings
build-from-source=true
``` | /content/code_sandbox/.npmrc | unknown | 2016-02-04T04:42:22 | 2024-08-15T08:36:05 | zeromq.js | zeromq/zeromq.js | 1,440 | 11 |
```xml
export * from "./lib/compat"
``` | /content/code_sandbox/v5-compat.d.ts | xml | 2016-02-04T04:42:22 | 2024-08-15T08:36:05 | zeromq.js | zeromq/zeromq.js | 1,440 | 9 |
```xml
import * as zmq from "../src"
import {getGcOrSkipTest} from "./unit/helpers"
async function main() {
const gc = getGcOrSkipTest()
let weakRef: undefined | WeakRef<zmq.Context>
const task = async () => {
const context: zmq.Context | undefined = new zmq.Context()
const dealer = new zmq.Dealer({con... | /content/code_sandbox/test/debug.ts | xml | 2016-02-04T04:42:22 | 2024-08-15T08:36:05 | zeromq.js | zeromq/zeromq.js | 1,440 | 143 |
```python
{
'variables': {
'zmq_shared%': 'false',
'zmq_draft%': 'false',
'zmq_no_sync_resolve%': 'false',
'sanitizers%': 'false',
'openssl_fips': '',
'runtime%': 'node',
},
'targets': [
{
'target_name': 'libzmq',
'type': 'none',
'actions': [{
'action_name': ... | /content/code_sandbox/binding.gyp | python | 2016-02-04T04:42:22 | 2024-08-15T08:36:05 | zeromq.js | zeromq/zeromq.js | 1,440 | 1,767 |
```xml
import * as semver from "semver"
import * as zmq from "../../src"
import {assert} from "chai"
import {testProtos, uniqAddress} from "./helpers"
for (const proto of testProtos("tcp", "ipc", "inproc")) {
describe(`proxy with ${proto} router/dealer`, function () {
/* ZMQ < 4.0.5 has no steerable proxy suppo... | /content/code_sandbox/test/unit/proxy-router-dealer-test.ts | xml | 2016-02-04T04:42:22 | 2024-08-15T08:36:05 | zeromq.js | zeromq/zeromq.js | 1,440 | 584 |
```xml
import * as semver from "semver"
import * as zmq from "../../src"
import {assert} from "chai"
import {createProcess} from "./helpers"
describe("context process exit", function () {
describe("with default context", function () {
it("should occur when sockets are closed", async function () {
this.slo... | /content/code_sandbox/test/unit/context-process-exit-test.ts | xml | 2016-02-04T04:42:22 | 2024-08-15T08:36:05 | zeromq.js | zeromq/zeromq.js | 1,440 | 1,121 |
```xml
import * as zmq from "../../src"
import {assert} from "chai"
import {testProtos, uniqAddress, getGcOrSkipTest} from "./helpers"
import {isFullError} from "../../src/errors"
for (const proto of testProtos("tcp", "ipc", "inproc")) {
describe(`socket with ${proto} send/receive`, function () {
let sockA: zmq... | /content/code_sandbox/test/unit/socket-send-receive-test.ts | xml | 2016-02-04T04:42:22 | 2024-08-15T08:36:05 | zeromq.js | zeromq/zeromq.js | 1,440 | 3,917 |
```xml
import * as semver from "semver"
import * as zmq from "../../src"
import {assert} from "chai"
describe("zmq", function () {
describe("exports", function () {
it("should include functions and constructors", function () {
const expected = [
/* Utility functions. */
"version",
... | /content/code_sandbox/test/unit/zmq-test.ts | xml | 2016-02-04T04:42:22 | 2024-08-15T08:36:05 | zeromq.js | zeromq/zeromq.js | 1,440 | 468 |
```xml
import * as path from "path"
import * as semver from "semver"
import * as fs from "fs"
import * as lockfile from "proper-lockfile"
import {spawn} from "child_process"
import * as zmq from "../../src"
console.log(`ZeroMQ version ${zmq.version}`)
if (semver.satisfies(zmq.version, ">= 4.2")) {
/* Stop pending ... | /content/code_sandbox/test/unit/helpers.ts | xml | 2016-02-04T04:42:22 | 2024-08-15T08:36:05 | zeromq.js | zeromq/zeromq.js | 1,440 | 1,801 |
```xml
import * as semver from "semver"
import * as zmq from "../../src"
import {assert} from "chai"
import {testProtos, uniqAddress} from "./helpers"
import {isFullError} from "../../src/errors"
for (const proto of testProtos("tcp", "ipc", "inproc")) {
describe(`proxy with ${proto} terminate`, function () {
/*... | /content/code_sandbox/test/unit/proxy-terminate-test.ts | xml | 2016-02-04T04:42:22 | 2024-08-15T08:36:05 | zeromq.js | zeromq/zeromq.js | 1,440 | 374 |
```xml
import * as zmq from "../../src"
import * as draft from "../../src/draft"
import {assert} from "chai"
describe("zmq draft", function () {
if (zmq.capability.draft !== true) {
if (process.env.ZMQ_DRAFT === "true") {
throw new Error("Draft API requested but not available at runtime.")
}
retur... | /content/code_sandbox/test/unit/zmq-draft-test.ts | xml | 2016-02-04T04:42:22 | 2024-08-15T08:36:05 | zeromq.js | zeromq/zeromq.js | 1,440 | 166 |
```xml
import * as zmq from "../../src"
import * as draft from "../../src/draft"
import {assert} from "chai"
import {testProtos, uniqAddress} from "./helpers"
for (const proto of testProtos("tcp", "ipc", "inproc", "udp")) {
describe(`draft socket with ${proto} radio/dish`, function () {
if (zmq.capability.draft... | /content/code_sandbox/test/unit/socket-draft-radio-dish-test.ts | xml | 2016-02-04T04:42:22 | 2024-08-15T08:36:05 | zeromq.js | zeromq/zeromq.js | 1,440 | 845 |
```xml
import * as zmq from "../../src"
import * as draft from "../../src/draft"
import {assert} from "chai"
import {testProtos, uniqAddress} from "./helpers"
import {isFullError} from "../../src/errors"
for (const proto of testProtos("tcp", "ipc", "inproc")) {
describe(`draft socket with ${proto} server/client`, f... | /content/code_sandbox/test/unit/socket-draft-server-client-test.ts | xml | 2016-02-04T04:42:22 | 2024-08-15T08:36:05 | zeromq.js | zeromq/zeromq.js | 1,440 | 587 |
```xml
import * as semver from "semver"
import * as zmq from "../../src"
import {assert} from "chai"
import {isFullError} from "../../src/errors"
describe("proxy construction", function () {
beforeEach(function () {
/* ZMQ < 4.0.5 has no steerable proxy support. */
if (semver.satisfies(zmq.version, "< 4.0.5... | /content/code_sandbox/test/unit/proxy-construction-test.ts | xml | 2016-02-04T04:42:22 | 2024-08-15T08:36:05 | zeromq.js | zeromq/zeromq.js | 1,440 | 380 |
```xml
import * as zmq from "../../src"
import {assert} from "chai"
import {testProtos, uniqAddress} from "./helpers"
for (const proto of testProtos("tcp", "ipc", "inproc")) {
describe(`socket with ${proto} pair/pair`, function () {
let sockA: zmq.Pair
let sockB: zmq.Pair
beforeEach(function () {
... | /content/code_sandbox/test/unit/socket-pair-test.ts | xml | 2016-02-04T04:42:22 | 2024-08-15T08:36:05 | zeromq.js | zeromq/zeromq.js | 1,440 | 380 |
```xml
import * as semver from "semver"
import * as zmq from "../../src"
import {assert} from "chai"
import {testProtos, uniqAddress} from "./helpers"
import {isFullError} from "../../src/errors"
for (const proto of testProtos("tcp", "ipc", "inproc")) {
describe(`socket with ${proto} connect/disconnect`, function (... | /content/code_sandbox/test/unit/socket-connect-disconnect-test.ts | xml | 2016-02-04T04:42:22 | 2024-08-15T08:36:05 | zeromq.js | zeromq/zeromq.js | 1,440 | 736 |
```xml
import * as zmq from "../../src"
import {assert} from "chai"
import {testProtos, uniqAddress} from "./helpers"
import {isFullError} from "../../src/errors"
for (const proto of testProtos("tcp", "ipc", "inproc")) {
describe(`socket with ${proto} bind/unbind`, function () {
let sock: zmq.Dealer
before... | /content/code_sandbox/test/unit/socket-bind-unbind-test.ts | xml | 2016-02-04T04:42:22 | 2024-08-15T08:36:05 | zeromq.js | zeromq/zeromq.js | 1,440 | 967 |
```xml
import * as zmq from "../../src"
import {assert} from "chai"
import {createServer, get, Server} from "http"
import {testProtos, uniqAddress} from "./helpers"
for (const proto of testProtos("tcp")) {
describe(`socket with ${proto} stream`, function () {
let stream: zmq.Stream
beforeEach(function () {... | /content/code_sandbox/test/unit/socket-stream-test.ts | xml | 2016-02-04T04:42:22 | 2024-08-15T08:36:05 | zeromq.js | zeromq/zeromq.js | 1,440 | 625 |
```xml
import * as zmq from "../../src"
import * as draft from "../../src/draft"
import {assert} from "chai"
import {testProtos, uniqAddress} from "./helpers"
for (const proto of testProtos("tcp", "ipc", "inproc")) {
describe(`socket with ${proto} scatter/gather`, function () {
if (zmq.capability.draft !== true... | /content/code_sandbox/test/unit/socket-draft-scatter-gather-test.ts | xml | 2016-02-04T04:42:22 | 2024-08-15T08:36:05 | zeromq.js | zeromq/zeromq.js | 1,440 | 522 |
```xml
import * as zmq from "../../src"
import {assert} from "chai"
describe("context construction", function () {
afterEach(function () {
global.gc?.()
})
it("should throw if called as function", function () {
assert.throws(
() => (zmq.Context as any)(),
TypeError,
"Class constructor... | /content/code_sandbox/test/unit/context-construction-test.ts | xml | 2016-02-04T04:42:22 | 2024-08-15T08:36:05 | zeromq.js | zeromq/zeromq.js | 1,440 | 386 |
```xml
import * as semver from "semver"
import * as zmq from "../../src"
import {assert} from "chai"
import {createWorker} from "./helpers"
describe("context in thread", function () {
this.slow(2000)
this.timeout(5000)
beforeEach(function () {
/* Node.js worker support introduced in version 10.5. */
if... | /content/code_sandbox/test/unit/context-thread-test.ts | xml | 2016-02-04T04:42:22 | 2024-08-15T08:36:05 | zeromq.js | zeromq/zeromq.js | 1,440 | 190 |
```xml
import * as zmq from "../../src"
import {assert} from "chai"
describe("context options", function () {
afterEach(function () {
global.gc?.()
})
it("should set and get bool socket option", function () {
const context = new zmq.Context()
assert.equal(context.ipv6, false)
context.ipv6 = tru... | /content/code_sandbox/test/unit/context-options-test.ts | xml | 2016-02-04T04:42:22 | 2024-08-15T08:36:05 | zeromq.js | zeromq/zeromq.js | 1,440 | 267 |
```xml
import * as semver from "semver"
import * as zmq from "../../src"
import {assert} from "chai"
import {testProtos, uniqAddress} from "./helpers"
for (const proto of testProtos("tcp", "ipc", "inproc")) {
describe(`socket with ${proto} xpub/xsub`, function () {
let pub: zmq.Publisher
let sub: zmq.Subscr... | /content/code_sandbox/test/unit/socket-xpub-xsub-test.ts | xml | 2016-02-04T04:42:22 | 2024-08-15T08:36:05 | zeromq.js | zeromq/zeromq.js | 1,440 | 1,750 |
```xml
import * as zmq from "../../src"
import {assert} from "chai"
import {testProtos, uniqAddress, getGcOrSkipTest} from "./helpers"
import {isFullError} from "../../src/errors"
for (const proto of testProtos("tcp", "ipc", "inproc")) {
describe(`socket with ${proto} close`, function () {
let sock: zmq.Dealer
... | /content/code_sandbox/test/unit/socket-close-test.ts | xml | 2016-02-04T04:42:22 | 2024-08-15T08:36:05 | zeromq.js | zeromq/zeromq.js | 1,440 | 1,034 |
```xml
import * as zmq from "../../src"
import {assert} from "chai"
import {createProcess} from "./helpers"
describe("socket process exit", function () {
/* Reported: path_to_url */
it.skip("should occur cleanly when sending in exit hook", async function () {
this.slow(200)
const {code} = await createProc... | /content/code_sandbox/test/unit/socket-process-exit-test.ts | xml | 2016-02-04T04:42:22 | 2024-08-15T08:36:05 | zeromq.js | zeromq/zeromq.js | 1,440 | 476 |
```xml
import * as zmq from "../../src"
import * as draft from "../../src/draft"
import {assert} from "chai"
import {createSocket} from "dgram"
import {testProtos, uniqAddress} from "./helpers"
for (const proto of testProtos("udp")) {
describe(`draft socket with ${proto} dgram`, function () {
if (zmq.capability... | /content/code_sandbox/test/unit/socket-draft-dgram-test.ts | xml | 2016-02-04T04:42:22 | 2024-08-15T08:36:05 | zeromq.js | zeromq/zeromq.js | 1,440 | 387 |
```xml
import * as zmq from "../../src"
import {assert} from "chai"
import {testProtos, uniqAddress} from "./helpers"
for (const proto of testProtos("tcp", "ipc", "inproc")) {
describe(`socket with ${proto} pub/sub`, function () {
let pub: zmq.Publisher
let sub: zmq.Subscriber
beforeEach(function () {
... | /content/code_sandbox/test/unit/socket-pub-sub-test.ts | xml | 2016-02-04T04:42:22 | 2024-08-15T08:36:05 | zeromq.js | zeromq/zeromq.js | 1,440 | 621 |
```xml
import * as semver from "semver"
import * as zmq from "../../src"
import {assert} from "chai"
import {captureEvent, testProtos, uniqAddress} from "./helpers"
for (const proto of testProtos("tcp", "ipc")) {
describe(`socket with ${proto} zap`, function () {
let sockA: zmq.Pair
let sockB: zmq.Pair
... | /content/code_sandbox/test/unit/socket-zap-test.ts | xml | 2016-02-04T04:42:22 | 2024-08-15T08:36:05 | zeromq.js | zeromq/zeromq.js | 1,440 | 1,926 |
```xml
import * as semver from "semver"
import * as zmq from "../../src"
import {assert} from "chai"
import {testProtos, uniqAddress} from "./helpers"
import {isFullError} from "../../src/errors"
for (const proto of testProtos("tcp", "ipc", "inproc")) {
describe(`socket with ${proto} router/dealer`, function () {
... | /content/code_sandbox/test/unit/socket-router-dealer-test.ts | xml | 2016-02-04T04:42:22 | 2024-08-15T08:36:05 | zeromq.js | zeromq/zeromq.js | 1,440 | 583 |
```xml
import * as zmq from "../../src"
import {assert} from "chai"
import {testProtos, uniqAddress} from "./helpers"
import {isFullError} from "../../src/errors"
for (const proto of testProtos("tcp", "ipc", "inproc")) {
describe(`socket with ${proto} req/rep`, function () {
let req: zmq.Request
let rep: zm... | /content/code_sandbox/test/unit/socket-req-rep-test.ts | xml | 2016-02-04T04:42:22 | 2024-08-15T08:36:05 | zeromq.js | zeromq/zeromq.js | 1,440 | 611 |
```xml
import * as path from "path"
import {exec} from "child_process"
import {
emptyDir,
remove,
readJson,
writeJson,
readFile,
writeFile,
} from "fs-extra"
import which from "which"
import {assert} from "chai"
/**
* Testing typings compatibility for TypeScript versions, i.e. when zeromq.js is
* used i... | /content/code_sandbox/test/unit/typings-compatibility-test.ts | xml | 2016-02-04T04:42:22 | 2024-08-15T08:36:05 | zeromq.js | zeromq/zeromq.js | 1,440 | 1,478 |
```xml
import * as zmq from "../../src"
describe("typings", function () {
it("should compile successfully", function () {
/* To test the TypeScript typings this file should compile successfully.
We don't actually execute the code in this function. */
function _test() {
const version: string = z... | /content/code_sandbox/test/unit/typings-test.ts | xml | 2016-02-04T04:42:22 | 2024-08-15T08:36:05 | zeromq.js | zeromq/zeromq.js | 1,440 | 805 |
```xml
import * as zmq from "../../src"
import {assert} from "chai"
import {testProtos, uniqAddress} from "./helpers"
for (const proto of testProtos("tcp", "ipc", "inproc")) {
describe(`socket with ${proto} push/pull`, function () {
let push: zmq.Push
let pull: zmq.Pull
beforeEach(function () {
p... | /content/code_sandbox/test/unit/socket-push-pull-test.ts | xml | 2016-02-04T04:42:22 | 2024-08-15T08:36:05 | zeromq.js | zeromq/zeromq.js | 1,440 | 460 |
```xml
import * as semver from "semver"
import * as zmq from "../../src"
import {assert} from "chai"
import {testProtos, uniqAddress} from "./helpers"
import {isFullError} from "../../src/errors"
for (const proto of testProtos("tcp", "ipc", "inproc")) {
describe(`proxy with ${proto} run`, function () {
let prox... | /content/code_sandbox/test/unit/proxy-run-test.ts | xml | 2016-02-04T04:42:22 | 2024-08-15T08:36:05 | zeromq.js | zeromq/zeromq.js | 1,440 | 592 |
```xml
import * as zmq from "../../src"
import {assert} from "chai"
import {isFullError} from "../../src/errors"
describe("socket construction", function () {
afterEach(function () {
global.gc?.()
})
describe("with constructor", function () {
it("should throw if called as function", function () {
... | /content/code_sandbox/test/unit/socket-construction-test.ts | xml | 2016-02-04T04:42:22 | 2024-08-15T08:36:05 | zeromq.js | zeromq/zeromq.js | 1,440 | 1,255 |
```xml
import * as semver from "semver"
import * as zmq from "../../src"
import {assert} from "chai"
import {createWorker, testProtos, uniqAddress} from "./helpers"
for (const proto of testProtos("tcp", "ipc", "inproc")) {
describe(`socket with ${proto} in thread`, function () {
this.slow(2000)
this.timeout... | /content/code_sandbox/test/unit/socket-thread-test.ts | xml | 2016-02-04T04:42:22 | 2024-08-15T08:36:05 | zeromq.js | zeromq/zeromq.js | 1,440 | 639 |
```xml
import * as zmq from "../../src"
import {assert} from "chai"
import {testProtos, uniqAddress} from "./helpers"
for (const proto of testProtos("tcp", "ipc", "inproc")) {
describe(`socket with ${proto} curve send/receive`, function () {
if (zmq.capability.curve !== true) {
return
}
let sockA... | /content/code_sandbox/test/unit/socket-curve-send-receive-test.ts | xml | 2016-02-04T04:42:22 | 2024-08-15T08:36:05 | zeromq.js | zeromq/zeromq.js | 1,440 | 356 |
```xml
import * as zmq from "../../src"
import {assert} from "chai"
import {
captureEvent,
captureEventsUntil,
testProtos,
uniqAddress,
} from "./helpers"
import {isFullError} from "../../src/errors"
for (const proto of testProtos("tcp", "ipc", "inproc")) {
describe(`socket with ${proto} events`, function (... | /content/code_sandbox/test/unit/socket-events-test.ts | xml | 2016-02-04T04:42:22 | 2024-08-15T08:36:05 | zeromq.js | zeromq/zeromq.js | 1,440 | 1,020 |
```javascript
if (process.env.INCLUDE_COMPAT_TESTS) {
const zmq = require("./load")
const semver = require("semver")
const {assert} = require("chai")
const {testProtos, uniqAddress} = require("../helpers")
const {isFullError} = require("../../src/errors")
/* This test case only seems to work reliably with ... | /content/code_sandbox/test/unit/compat/socket-monitor-test.js | javascript | 2016-02-04T04:42:22 | 2024-08-15T08:36:05 | zeromq.js | zeromq/zeromq.js | 1,440 | 554 |
```javascript
if (process.env.INCLUDE_COMPAT_TESTS) {
const zmq = require("./load")
const {assert} = require("chai")
describe("compat context", function () {
it("should support setting max io threads", function () {
zmq.Context.setMaxThreads(3)
assert.equal(zmq.Context.getMaxThreads(), 3)
z... | /content/code_sandbox/test/unit/compat/context-test.js | javascript | 2016-02-04T04:42:22 | 2024-08-15T08:36:05 | zeromq.js | zeromq/zeromq.js | 1,440 | 146 |
```javascript
if (process.env.INCLUDE_COMPAT_TESTS) {
const zmq = require("./load")
const {assert} = require("chai")
const {testProtos, uniqAddress} = require("../helpers")
const http = require("http")
describe("compat socket stream", function () {
it("should support a stream socket type", function (done... | /content/code_sandbox/test/unit/compat/socket-stream-test.js | javascript | 2016-02-04T04:42:22 | 2024-08-15T08:36:05 | zeromq.js | zeromq/zeromq.js | 1,440 | 493 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.