Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 506 for file_name (0.05 sec)

  1. src/main/java/jcifs/internal/fscc/FileBothDirectoryInfo.java

        public String getName() {
            return this.filename;
        }
    
        @Override
        public int getType() {
            return SmbConstants.TYPE_FILESYSTEM;
        }
    
        /**
         * @return the fileIndex
         */
        @Override
        public int getFileIndex() {
            return this.fileIndex;
        }
    
        /**
         * Gets the filename.
         *
         * @return the filename
         */
        public String getFilename() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  2. docs_src/request_files/tutorial001_an_py39.py

    
    @app.post("/files/")
    async def create_file(file: Annotated[bytes, File()]):
        return {"file_size": len(file)}
    
    
    @app.post("/uploadfile/")
    async def create_upload_file(file: UploadFile):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 322 bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequest.java

            this.fileIndex = fileIndex;
        }
    
        /**
         * Sets the file name pattern for filtering directory results
         *
         * @param fileName
         *            the fileName to set
         */
        public void setFileName(final String fileName) {
            this.fileName = fileName;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2Request#createResponse(jcifs.CIFSContext,
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  4. tensorflow/c/checkpoint_reader.cc

    CheckpointReader::CheckpointReader(const string& filename, TF_Status* status)
        : reader_(nullptr),
          v2_reader_(nullptr),
          var_to_shape_map_(nullptr),
          var_to_data_type_map_(nullptr) {
      // Depending on whether this is a V2 ckpt, initializes "reader_" or
      // "v2_reader_".
      std::vector<string> v2_path;
      if (Env::Default()->GetMatchingPaths(MetaFilename(filename), &v2_path).ok() &&
          !v2_path.empty()) {
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Sat Nov 08 06:24:11 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/MultipartBodyTest.kt

          |Content-Type: multipart/mixed; boundary=BbC04y
          |
          |--BbC04y
          |Content-Disposition: file; filename="file1.txt"
          |Content-Type: text/plain; charset=utf-8
          |
          |... contents of file1.txt ...
          |--BbC04y
          |Content-Disposition: file; filename="file2.gif"
          |Content-Transfer-Encoding: binary
          |Content-Type: image/gif
          |
          |... contents of file2.gif ...
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferral.java

         * @param filename the DFS path to get referrals for
         */
        public Trans2GetDfsReferral(final Configuration config, final String filename) {
            this(config, filename, 3);
        }
    
        /**
         * Constructs a Trans2GetDfsReferral request with specified referral level.
         *
         * @param config the configuration to use
         * @param filename the DFS path to get referrals for
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/dfs/DfsReferralRequestBuffer.java

        /**
         * Constructs a DFS referral request buffer
         *
         * @param filename the DFS path to request referral for
         * @param maxReferralLevel the maximum referral level to request
         */
        public DfsReferralRequestBuffer(final String filename, final int maxReferralLevel) {
            this.path = filename;
            this.maxReferralLevel = maxReferralLevel;
        }
    
        /**
         * {@inheritDoc}
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/Trans2FindFirst2ResponseTest.java

            writeInt4(SmbFile.ATTR_DIRECTORY, buffer, bufferIndex + 56); // extFileAttributes
    
            String filename = "directory1";
            byte[] filenameBytes = filename.getBytes(StandardCharsets.UTF_8);
            writeInt4(filenameBytes.length, buffer, bufferIndex + 60); // fileNameLength
    
            // Copy filename into buffer at offset 94
            System.arraycopy(filenameBytes, 0, buffer, 94, filenameBytes.length);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java

            // Verify size calculation doesn't include filename
            int expectedSize = Smb2Constants.SMB2_HEADER_LENGTH + 32;
            assertEquals(((expectedSize + 7) & ~7), request.size());
        }
    
        @Test
        @DisplayName("Test setFileName method with non-null value")
        void testSetFileNameNonNull() {
            request = new Smb2QueryDirectoryRequest(mockConfig);
            String fileName = "test.txt";
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java

            assertEquals((byte) 0x00, dst[11]);
    
            // filename bytes, then null terminator
            byte[] nameBytes = name.getBytes();
            for (int i = 0; i < nameBytes.length; i++) {
                assertEquals(nameBytes[i], dst[12 + i], "Filename byte mismatch at index " + i);
            }
            assertEquals((byte) 0x00, dst[12 + nameBytes.length], "Filename must be null-terminated");
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
Back to top