Home
last modified time | relevance | path

Searched refs:maybe_file (Results 1 – 25 of 45) sorted by relevance

12

/dports/devel/p5-Path-Extended/Path-Extended-0.23/t/15_file_or_dir/
H A Dfor_dir.t14 my $maybe_file = dir($tmpdir)->file_or_dir('file');
15 ok $maybe_file->isa('Path::Extended::File'), 'got a File object for an existing file';
19 my $maybe_file = dir($tmpdir)->file_or_dir('dir');
20 ok $maybe_file->isa('Path::Extended::Dir'), 'got a Dir object for an existing directory';
24 my $maybe_file = dir($tmpdir)->file_or_dir('unknown');
25 ok $maybe_file->isa('Path::Extended::File'), 'got a File object for an unknown path';
H A Dbasic.t14 my $maybe_file = file_or_dir("$tmpdir/file");
15 ok $maybe_file->isa('Path::Extended::File'), 'got a File object for an existing file';
19 my $maybe_file = file_or_dir("$tmpdir/dir");
20 ok $maybe_file->isa('Path::Extended::Dir'), 'got a Dir object for an existing directory';
24 my $maybe_file = file_or_dir("$tmpdir/unknown");
25 ok $maybe_file->isa('Path::Extended::File'), 'got a File object for an unknown path';
/dports/devel/p5-Path-Extended/Path-Extended-0.23/t/50_subclass/
H A Dfile_or_dir.t16 my $maybe_file = file_or_dir("$tmpdir/file");
17 ok $maybe_file->isa('Path::Extended::Test::File'), 'got a File object for an existing file';
21 my $maybe_file = file_or_dir("$tmpdir/dir");
22 ok $maybe_file->isa('Path::Extended::Test::Dir'), 'got a Dir object for an existing directory';
26 my $maybe_file = file_or_dir("$tmpdir/unknown");
27 ok $maybe_file->isa('Path::Extended::Test::File'), 'got a File object for an unknown path';
/dports/devel/sol2/sol2-4.0.0-alpha/examples/source/
H A Dlua_stream.cpp7 sol::object maybe_file = data["file"]; in is_file_std_out() local
8 if (maybe_file.is<luaL_Stream&>()) { in is_file_std_out()
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/apache/arrow/cpp/src/jni/orc/
H A Djni_wrapper.cpp166 auto maybe_file = arrow::io::ReadableFile::Open(path); in Java_org_apache_arrow_adapter_orc_OrcReaderJniWrapper_open() local
168 if (!maybe_file.ok()) { in Java_org_apache_arrow_adapter_orc_OrcReaderJniWrapper_open()
169 return -static_cast<jlong>(maybe_file.status().code()); in Java_org_apache_arrow_adapter_orc_OrcReaderJniWrapper_open()
173 std::static_pointer_cast<arrow::io::RandomAccessFile>(*maybe_file), in Java_org_apache_arrow_adapter_orc_OrcReaderJniWrapper_open()
/dports/databases/arrow/apache-arrow-6.0.1/cpp/src/jni/orc/
H A Djni_wrapper.cpp166 auto maybe_file = arrow::io::ReadableFile::Open(path); in Java_org_apache_arrow_adapter_orc_OrcReaderJniWrapper_open() local
168 if (!maybe_file.ok()) { in Java_org_apache_arrow_adapter_orc_OrcReaderJniWrapper_open()
169 return -static_cast<jlong>(maybe_file.status().code()); in Java_org_apache_arrow_adapter_orc_OrcReaderJniWrapper_open()
171 auto maybe_reader = ORCFileReader::Open(*maybe_file, arrow::default_memory_pool()); in Java_org_apache_arrow_adapter_orc_OrcReaderJniWrapper_open()
/dports/security/vault/vault-1.8.2/vendor/github.com/apache/arrow/cpp/src/jni/orc/
H A Djni_wrapper.cpp166 auto maybe_file = arrow::io::ReadableFile::Open(path); in Java_org_apache_arrow_adapter_orc_OrcReaderJniWrapper_open() local
168 if (!maybe_file.ok()) { in Java_org_apache_arrow_adapter_orc_OrcReaderJniWrapper_open()
169 return -static_cast<jlong>(maybe_file.status().code()); in Java_org_apache_arrow_adapter_orc_OrcReaderJniWrapper_open()
173 std::static_pointer_cast<arrow::io::RandomAccessFile>(*maybe_file), in Java_org_apache_arrow_adapter_orc_OrcReaderJniWrapper_open()
/dports/devel/p5-File-Util/File-Util-4.161950/lib/File/
H A DUtil.pm1266 my $maybe_file = shift @_; $maybe_file = '' if !defined $maybe_file;
1269 $file = $maybe_file if !ref $maybe_file && $file eq '';
2349 my $maybe_file = shift @_; $maybe_file = '' if !defined $maybe_file;
2352 $file = $maybe_file if !ref $maybe_file && $file eq '';
/dports/devel/p5-Test2-Harness/Test2-Harness-1.000082/lib/Test2/Harness/
H A DFinder.pm309 my $maybe_file = $1;
310 next if $maybe_file =~ m{/dev/null};
311 $file = $maybe_file;
/dports/lang/ghc/ghc-8.10.7/utils/haddock/haddock-api/src/Haddock/Backends/Xhtml/
H A DUtils.hs61 spliceURL' maybe_file maybe_mod maybe_name maybe_loc = run function
63 file = fromMaybe "" maybe_file
/dports/devel/p5-Make/Make-2.011/lib/
H A DMake.pm134 ( my $maybe_file = $dir ) =~ s/%/$Pat/g;
135 return $maybe_file if $readable->( in_dir $fsmap, $self->{InDir}, $maybe_file );
/dports/devel/py-dask/dask-2021.11.2/dask/dataframe/
H A Dshuffle.py775 maybe_file = p.partd
777 maybe_file
779 if isinstance(maybe_file, partd.File):
780 path = maybe_file.path
/dports/databases/arrow/apache-arrow-6.0.1/cpp/src/arrow/dataset/
H A Ddataset_writer_test.cc129 void AssertFileCreated(const util::optional<MockFileInfo>& maybe_file, in AssertFileCreated() argument
131 ASSERT_TRUE(maybe_file.has_value()) in AssertFileCreated()
/dports/biology/ncbi-cxx-toolkit/ncbi_cxx--25_2_0/src/app/gap_stats/
H A Dgap_stats.cpp254 CFile maybe_file(file_or_accn); in x_CalcFileBaseNameOrAccn() local
255 if( maybe_file.IsFile() ) { in x_CalcFileBaseNameOrAccn()
257 return maybe_file.GetName(); in x_CalcFileBaseNameOrAccn()
/dports/devel/shiboken2/pyside-setup-opensource-src-5.15.2/build_scripts/
H A Dutils.py875 maybe_file = find_files_using_glob(lib_dir, "libQt5Core.so.?")
876 if len(maybe_file) == 1:
877 return maybe_file[0]
/dports/devel/pyside2/pyside-setup-opensource-src-5.15.2/build_scripts/
H A Dutils.py875 maybe_file = find_files_using_glob(lib_dir, "libQt5Core.so.?")
876 if len(maybe_file) == 1:
877 return maybe_file[0]
/dports/devel/pyside2-tools/pyside-setup-opensource-src-5.15.2/build_scripts/
H A Dutils.py875 maybe_file = find_files_using_glob(lib_dir, "libQt5Core.so.?")
876 if len(maybe_file) == 1:
877 return maybe_file[0]
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/apache/arrow/cpp/src/arrow/io/
H A Dfile_test.cc413 auto maybe_file = ReadableFile::Open(path); in TEST_F() local
414 ASSERT_RAISES(IOError, maybe_file); in TEST_F()
415 std::string message = maybe_file.status().message(); in TEST_F()
/dports/databases/arrow/apache-arrow-6.0.1/cpp/src/arrow/io/
H A Dfile_test.cc413 auto maybe_file = ReadableFile::Open(path); in TEST_F() local
414 ASSERT_RAISES(IOError, maybe_file); in TEST_F()
415 std::string message = maybe_file.status().message(); in TEST_F()
/dports/security/vault/vault-1.8.2/vendor/github.com/apache/arrow/cpp/src/arrow/io/
H A Dfile_test.cc406 auto maybe_file = ReadableFile::Open(path); in TEST_F() local
407 ASSERT_RAISES(IOError, maybe_file); in TEST_F()
408 std::string message = maybe_file.status().message(); in TEST_F()
/dports/devel/py-pytest/pytest-4.6.11/src/_pytest/
H A Dpytester.py664 maybe_file = example_dir / (func_name + ".py")
668 elif maybe_file.isfile():
669 example_path = maybe_file
/dports/print/texinfo/texinfo-6.8/tp/Texinfo/Convert/
H A DPlaintext.pm2087 my $maybe_file
2095 $maybe_file =~ s/^\s*//;
2096 $maybe_file = quotemeta $maybe_file;
2097 $node_text_checked =~ s/^\s*$maybe_file//;
/dports/databases/percona57-pam-for-mysql/boost_1_59_0/tools/build/src/util/
H A Dpath.jam671 local maybe_file = $(split[-1]) ;
673 if [ MATCH ^([^.]+\\..*) : $(maybe_file) ]
675 file = $(maybe_file) ;
/dports/www/firefox-esr/firefox-91.8.0/testing/web-platform/tests/tools/third_party/pytest/src/_pytest/
H A Dpytester.py853 maybe_file = example_dir / (func_name + ".py")
857 elif maybe_file.isfile():
858 example_path = maybe_file
/dports/databases/mysqlwsrep57-server/boost_1_59_0/tools/build/src/util/
H A Dpath.jam671 local maybe_file = $(split[-1]) ;
673 if [ MATCH ^([^.]+\\..*) : $(maybe_file) ]
675 file = $(maybe_file) ;

12