Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 410 for file_name (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  2. 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);
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  3. 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";
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.2K bytes
    - Click Count (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()) {
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Sat Nov 08 06:24:11 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  5. 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");
        }
    
        /**
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  6. 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}
         *
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java

            // Verify fileName is set
            Field fileNameField = Smb2CloseRequest.class.getDeclaredField("fileName");
            fileNameField.setAccessible(true);
            String storedFileName = (String) fileNameField.get(request);
            assertEquals(testFileName, storedFileName);
        }
    
        @Test
        @DisplayName("Constructor with fileId only should use empty fileName")
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.5K bytes
    - Click Count (0)
  8. src/main/java/jcifs/util/InputValidator.java

         * @param maxSize the maximum allowed size
         * @param fieldName the field name for error reporting
         * @throws IllegalArgumentException if size is invalid
         */
        public static void validateBufferSize(int size, int maxSize, String fieldName) {
            if (size < 0) {
                throw new IllegalArgumentException(fieldName + " size cannot be negative: " + size);
            }
            if (size > maxSize) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb1/netbios/Lmhosts.java

        }
    
        synchronized static NbtAddress getByName(final Name name) {
            NbtAddress result = null;
    
            try {
                if (FILENAME != null) {
                    final File f = new File(FILENAME);
                    final long lm = f.lastModified();
    
                    if (lm > lastModified) {
                        lastModified = lm;
                        TAB.clear();
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6K bytes
    - Click Count (0)
  10. cmd/callhome.go

    func sendHealthInfo(ctx context.Context, healthInfo madmin.HealthInfo) error {
    	url := globalSubnetConfig.BaseURL + subnetHealthPath
    
    	filename := fmt.Sprintf("health_%s.json.gz", UTCNow().Format("20060102150405"))
    	url += "?filename=" + filename
    
    	_, err := globalSubnetConfig.Upload(url, filename, createHealthJSONGzip(ctx, healthInfo))
    	return err
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 5.3K bytes
    - Click Count (0)
Back to Top