Home
last modified time | relevance | path

Searched refs:keep_empty (Results 1 – 25 of 78) sorted by relevance

1234

/dports/devel/R-cran-tidyr/tidyr/R/
H A Dchop.R92 unchop <- function(data, cols, keep_empty = FALSE, ptype = NULL) { argument
110 result <- df_unchop(cols, ptype = ptype, keep_empty = keep_empty)
140 df_unchop <- function(x, ..., ptype = list(), keep_empty = FALSE) { argument
149 if (!is_bool(keep_empty)) {
187 info <- unchop_col_info(col, keep_empty)
196 info <- unchop_finalize(x, sizes, x_nulls, keep_empty)
252 unchop_col_info <- function(col, keep_empty) { argument
274 if (keep_empty) {
327 unchop_finalize <- function(x, sizes, x_nulls, keep_empty) { argument
328 if (keep_empty) {
H A Dnest.R236 keep_empty = FALSE, argument
310 keep_empty = keep_empty,
324 keep_empty = FALSE, argument
333 data <- unchop(data, any_of(cols), keep_empty = keep_empty, ptype = ptype)
344 keep_empty = FALSE, argument
351 keep_empty = keep_empty,
/dports/devel/p5-Data-Localize/Data-Localize-0.00028/t/
H A D07_gettext_parser.t20 keep_empty => 0,
44 keep_empty => 0,
58 keep_empty => 1,
68 'parsing a po file with an empty string for one id - keep_empty is true'
85 keep_empty => 0,
99 keep_empty => 0,
129 keep_empty => 0,
154 keep_empty => 0,
/dports/devel/R-cran-pillar/pillar/R/
H A Dstyles.R2 keep_empty <- function(fun) { function
24 style_subtle <- keep_empty(function(x) {
50 style_hint <- keep_empty(function(x) {
71 style_bold <- keep_empty(function(x) {
94 style_neg <- keep_empty(function(x) {
/dports/math/R-cran-forcats/forcats/man/
H A Dfct_cross.Rd7 fct_cross(..., sep = ":", keep_empty = FALSE)
15 \item{keep_empty}{If TRUE, keep combinations with no observations as levels}
29 fct_cross(fruit, colour, keep_empty = TRUE)
/dports/devel/R-cran-tidyr/tidyr/tests/testthat/
H A Dtest-chop.R82 out <- df %>% unchop(y, keep_empty = TRUE)
86 out <- df %>% unchop(z, keep_empty = TRUE)
106 expect_equal(unchop(df, y, keep_empty = TRUE), tibble(x = integer(), y = integer()))
110 expect_equal(unchop(df, y, keep_empty = TRUE), tibble(x = 1L, y = NA_integer_))
163 unchop(df, x, ptype = list(x = integer()), keep_empty = TRUE), nameattr
186 expect_identical(unchop(df, y, keep_empty = TRUE), expect)
198 expect_identical(unchop(df, c(y, z), keep_empty = TRUE), expect) nameattr
208 expect_identical(unchop(df, y, keep_empty = TRUE), expect)
/dports/net/samba412/samba-4.12.15/ctdb/tools/
H A Dltdbtool.c152 size_t osize, bool keep_empty) in conv_db() argument
168 ret = ltdb_traverse(idb, &write_record, &ctx, isize, !keep_empty); in conv_db()
207 bool keep_empty = false; in main() local
229 keep_empty = true; in main()
253 ret = dump_db(idb, stdout, isize, print_header, keep_empty); in main()
263 ret = conv_db(idb, odb, isize, osize, keep_empty); in main()
/dports/science/py-nilearn/nilearn-0.8.1/nilearn/regions/
H A Dsignal_extraction.py284 keep_empty=True)
347 keep_empty=True)
358 def _trim_maps(maps, mask, keep_empty=False, order="F"): argument
406 if keep_empty:
419 if not keep_empty and sums[n] == 0:
425 if keep_empty:
/dports/devel/p5-Data-Localize/Data-Localize-0.00028/lib/Data/Localize/
H A DGettext.pm41 has keep_empty => ( attribute in Data::Localize::Gettext
63 keep_empty => $self->keep_empty(),
/dports/math/R-cran-forcats/forcats/R/
H A Dfct_cross.R19 fct_cross <- function(..., sep = ":", keep_empty = FALSE) { argument
35 if (!keep_empty) {
/dports/devel/R-cran-tidyr/tidyr/man/
H A Dchop.Rd10 unchop(data, cols, keep_empty = FALSE, ptype = NULL)
22 \item{keep_empty}{By default, you get one row of output for each element
26 use \code{keep_empty = TRUE} to replace size-0 elements with a single row
69 df \%>\% unchop(y, keep_empty = TRUE)
81 df \%>\% unchop(y, keep_empty = TRUE)
H A Dnest.Rd14 keep_empty = FALSE,
50 \item{keep_empty}{By default, you get one row of output for each element
54 use \code{keep_empty = TRUE} to replace size-0 elements with a single row
173 df \%>\% unnest(y, keep_empty = TRUE)
/dports/science/py-obspy/obspy-1.2.2/obspy/core/inventory/
H A Dinventory.py534 keep_empty=False, minlatitude=None, maxlatitude=None, argument
653 sampling_rate=sampling_rate, keep_empty=keep_empty,
661 if has_stations and not keep_empty and not net_.stations:
669 keep_empty=False): argument
800 if not channels and not (keep_empty or channels_were_empty):
806 if not stations and not (keep_empty or stations_were_empty):
964 inv = self.select(time=time, keep_empty=True)
/dports/devel/p5-Data-Localize/Data-Localize-0.00028/lib/Data/Localize/Gettext/
H A DParser.pm14 has keep_empty => ( attribute in Data::Localize::Gettext::Parser
79 return unless length $msgstr || $self->keep_empty();
/dports/net/sems/sems-f89581a/tools/
H A Dlogfile-splitter.cpp14 const bool keep_empty = false);
158 const bool keep_empty) { in explode() argument
168 if (keep_empty || !temp.empty()) { in explode()
/dports/math/R-cran-forcats/forcats/tests/testthat/
H A Dtest-fct_cross.R23 f2 <- fct_cross(fruit, colour, keep_empty = TRUE)
54 f2 <- fct_cross(fruit, colour, keep_empty = TRUE)
/dports/www/trac-devel/Trac-1.5.3/trac/
H A Dconfig.py45 def _getlist(value, sep, keep_empty): argument
56 if not keep_empty:
216 def getlist(self, section, key, default='', sep=',', keep_empty=False): argument
227 return self[section].getlist(key, default, sep, keep_empty)
551 def getlist(self, key, default='', sep=',', keep_empty=True): argument
562 return _getlist(self.get(key, default), sep, keep_empty)
789 def __init__(self, section, name, default=None, sep=',', keep_empty=False, argument
792 self.keep_empty = keep_empty
797 return section.getlist(name, default, self.sep, self.keep_empty)
808 return self.dumps(_getlist(value, self.sep, self.keep_empty))
/dports/science/py-obspy/obspy-1.2.2/obspy/core/tests/
H A Dtest_inventory.py346 inv_ = inv.remove(station='R*', keep_empty=True)
355 inv_ = inv.remove(channel='EH*', keep_empty=True)
391 inv_sta = copy.deepcopy(inv).remove(station='RJOB', keep_empty=True)
492 keep_empty=True)), 2)
495 keep_empty=True)), 1)
499 keep_empty=True)), 2)
501 keep_empty=True)), 1)
503 keep_empty=True)), 1)
505 keep_empty=True)), 2)
H A Dtest_network.py206 net.select(station="RR", keep_empty=True)), 0)
209 net.select(station="FUR", keep_empty=True)), 12)
211 net.select(station="F*", keep_empty=True)), 12)
213 net.select(station="WET", keep_empty=True)), 9)
229 net_2 = net.select(time=UTCDateTime(2000, 1, 1), keep_empty=True)
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/mod/endpoints/mod_khomp/commons/base/
H A Dstrings.cpp78 const std::string & delims, long int max_tokens, bool keep_empty) in tokenize() argument
89 if (keep_empty && base < init) in tokenize()
121 if (keep_empty && base != str.size()) in tokenize()
H A Dstrings.hpp92 long int max_toxens = LONG_MAX, bool keep_empty = true);
/dports/devel/cgit/cgit-1.2.3/git/
H A Drebase-interactive.c31 void append_todo_help(unsigned keep_empty, int command_count, in append_todo_help() argument
84 if (!keep_empty) { in append_todo_help()
H A Drebase-interactive.h8 void append_todo_help(unsigned keep_empty, int command_count,
/dports/math/py-matplotlib2/matplotlib-2.2.4/lib/matplotlib/tests/
H A Dtest_backend_pdf.py98 with PdfPages(filename, keep_empty=False) as pdf:
114 with PdfPages(tmp, keep_empty=False) as pdf:
/dports/biology/sra-tools/sra-tools-2.11.0/tools/sra-dump/
H A Dfactory.c73 bool keep_empty; member
139 SLListWhack(&g_filer->files, SRASplitterFiler_WhackFile, &g_filer->keep_empty); in SRASplitterFiler_Release()
398 SRASplitterFiler_WhackFile(&file->dad, &g_filer->keep_empty); in SRASplitterFiler_GetCurrFile()
429 …FilerInit(bool to_stdout, bool gzip, bool bzip2, bool key_as_dir, bool keep_empty, const char* pat… in SRASplitterFactory_FilerInit() argument
441 g_filer->keep_empty = to_stdout ? true : keep_empty; in SRASplitterFactory_FilerInit()

1234