Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 513 for filename (0.05 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/main/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImpl.java

        int action;
        int fileNameLength;
        String fileName;
    
        /**
         * Default constructor for decoding.
         */
        public FileNotifyInformationImpl() {
        }
    
        @Override
        public int getAction() {
            return this.action;
        }
    
        @Override
        public String getFileName() {
            return this.fileName;
        }
    
        /**
         * Gets the offset to the next entry.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  8. compat/maven-artifact/src/main/java/org/apache/maven/repository/legacy/metadata/ArtifactMetadata.java

        Object getKey();
    
        /**
         * Get the filename of this metadata on the local repository.
         *
         * @param repository the remote repository it came from
         * @return the filename
         */
        String getLocalFilename(ArtifactRepository repository);
    
        /**
         * Get the filename of this metadata on the remote repository.
         *
         * @return the filename
         */
        String getRemoteFilename();
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. 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)
  10. src/test/java/jcifs/FileNotifyInformationTest.java

            })
            @DisplayName("Test getFileName with various file names")
            void testGetFileNameWithVariousValues(String fileName) {
                when(mockFileNotifyInfo.getFileName()).thenReturn(fileName);
                assertEquals(fileName, mockFileNotifyInfo.getFileName());
            }
    
            @Test
            @DisplayName("Test getFileName with null value")
            void testGetFileNameWithNull() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
Back to top