Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 124 for get$file (0.11 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java

            if (dfos.isInMemory()) {
                return new ByteArrayInputStream(dfos.getData());
            }
            return new BufferedInputStream(new FileInputStream(dfos.getFile()));
        }
    
        protected String getContent(final ContentWriter out, final String encoding, final boolean normalizeText) throws TikaException {
            File tempFile = null;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 25K bytes
    - Viewed (0)
  2. tensorflow/api_template.__init__.py

        _site_packages_dirs += [_sysconfig.get_path(_name, _scheme)]
    
    _site_packages_dirs = list(set(_site_packages_dirs))
    
    # Find the location of this exact file.
    _current_file_location = _inspect.getfile(_inspect.currentframe())
    
    def _running_from_pip_package():
      return any(
          _current_file_location.startswith(dir_) for dir_ in _site_packages_dirs)
    
    if _running_from_pip_package():
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 02 22:16:02 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/VersionsMetadata.java

        }
    
        public static Object getKey(Artifact artifact) {
            return artifact.getGroupId() + ':' + artifact.getArtifactId();
        }
    
        @Deprecated
        @Override
        public MavenMetadata setFile(File file) {
            return new VersionsMetadata(artifact, file.toPath(), timestamp);
        }
    
        @Override
        public MavenMetadata setPath(Path path) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/DefaultArtifactRepository.java

            // We need to set the file here or the resolver will fail with an NPE, not fully equipped to deal
            // with multiple local repository implementations yet.
            artifact.setFile(artifactFile);
    
            if (artifactFile.exists()) {
                artifact.setResolved(true);
            }
    
            return artifact;
        }
    
        public List<String> findVersions(Artifact artifact) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleKotlinDslReferencePlugin.java

                // we can't figure out the commit ID (probably this is a source distribution build), let's skip adding source links
                return;
            }
    
            extension.getSourceRoots().getFiles()
                .forEach(
                    file -> {
                        DokkaSourceLinkSpec sourceLinkSpec = project.getObjects().newInstance(DokkaSourceLinkSpec.class);
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:07:24 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java

                    infoMain(building + ((pad > 0) ? chars(' ', pad) : "") + progress);
                }
    
                // path to pom.xml
                File currentPom = project.getFile();
                if (currentPom != null) {
                    MavenSession session = event.getSession();
                    Path current = currentPom.toPath().toAbsolutePath().normalize();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/curl/CurlRequest.java

                    if (dfos.isInMemory()) {
                        contentCache = new ContentCache(dfos.getData());
                    } else {
                        contentCache = new ContentCache(dfos.getFile());
                    }
                    response.setContentCache(contentCache);
                } catch (final Exception e) {
                    response.setContentException(e);
    Registered: Thu Oct 31 02:32:13 UTC 2024
    - Last Modified: Sun Feb 12 12:21:25 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  8. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java

            }
            return lifecycleMappings;
        }
    
        private InputStream getDescriptorStream(String descriptor) throws IOException {
            File pluginFile = (pluginArtifact != null) ? pluginArtifact.getFile() : null;
            if (pluginFile == null) {
                throw new IllegalStateException("plugin main artifact has not been resolved for " + getId());
            }
    
            if (pluginFile.isFile()) {
                try {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/MoreFilesTest.java

          NoSuchFileException expected =
              assertThrows(
                  NoSuchFileException.class,
                  () -> MoreFiles.deleteRecursively(fs.getPath("/work/nothere"), ALLOW_INSECURE));
          assertThat(expected.getFile()).isEqualTo("/work/nothere");
        }
      }
    
      public void testDeleteDirectoryContents_symlinkToDir_sdsNotSupported_allowInsecure()
          throws IOException {
        try (FileSystem fs = newTestFileSystem()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java

            // We need to set the file here or the resolver will fail with an NPE, not fully equipped to deal
            // with multiple local repository implementations yet.
            artifact.setFile(artifactFile);
    
            return artifact;
        }
    
        public List<String> findVersions(Artifact artifact) {
            return Collections.emptyList();
        }
    
        public String getId() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11K bytes
    - Viewed (0)
Back to top