Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for GetFileSize (0.46 sec)

  1. tensorflow/c/experimental/filesystem/modular_filesystem.cc

      ops_->is_directory(filesystem_.get(), translated_name.c_str(),
                         plugin_status.get());
      return StatusFromTF_Status(plugin_status.get());
    }
    
    Status ModularFileSystem::GetFileSize(const std::string& fname,
                                          TransactionToken* token,
                                          uint64* file_size) {
      if (ops_->get_file_size == nullptr) {
        FileStatistics stat;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 23.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java

            }
    
            @Override
            public String getContentType() {
                return fileItem.getContentType();
            }
    
            @Override
            public int getFileSize() {
                return (int) fileItem.getSize();
            }
    
            @Override
            public String getFileName() {
                return getBaseFileName(fileItem.getName());
            }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

                final MinioClient minioClient = createClient(fessConfig);
                final PutObjectArgs args = PutObjectArgs.builder().bucket(fessConfig.getStorageBucket()).object(objectName)
                        .stream(in, uploadFile.getFileSize(), -1).contentType("application/octet-stream").build();
                minioClient.putObject(args);
            } catch (final Exception e) {
                throw new StorageException("Failed to upload " + objectName, e);
            }
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem_test.cc

                                               reader.get(), status_);
        if (TF_GetCode(status_) != TF_OK) return "";
    
        auto file_size =
            tf_gcs_filesystem::GetFileSize(filesystem_, path.c_str(), status_);
        if (TF_GetCode(status_) != TF_OK) return "";
    
        std::string content;
        content.resize(file_size);
        auto read = tf_random_access_file::Read(reader.get(), 0, file_size,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 31 12:04:23 UTC 2020
    - 24.9K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

                                  .time_since_epoch()
                                  .count();
        }
        TF_SetStatusFromGCSStatus(metadata.status(), status);
      }
    }
    
    int64_t GetFileSize(const TF_Filesystem* filesystem, const char* path,
                        TF_Status* status) {
      // Only validate the name.
      std::string bucket, object;
      ParseGCSPath(path, false, &bucket, &object, status);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 23 06:55:53 UTC 2023
    - 46.9K bytes
    - Viewed (0)
Back to top