Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 363 for Filename (0.12 sec)

  1. tests/test_datastructures.py

        def create_upload_file(file: UploadFile):
            testing_file_store.append(file)
            return {"filename": file.filename}
    
        client = TestClient(app)
        with path.open("rb") as file:
            response = client.post("/uploadfile/", files={"file": file})
        assert response.status_code == 200, response.text
        assert response.json() == {"filename": "test.txt"}
    
        assert testing_file_store
        assert testing_file_store[0].file.closed
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 18 12:36:40 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. istioctl/pkg/validate/validate.go

    	processedFiles := map[string]bool{}
    	for _, filename := range filenames {
    		var isDir bool
    		if filename != "-" {
    			fi, err := os.Stat(filename)
    			if err != nil {
    				errs = multierror.Append(errs, fmt.Errorf("cannot stat file %q: %v", filename, err))
    				continue
    			}
    			isDir = fi.IsDir()
    		}
    
    		if !isDir {
    			processFile(filename)
    			processedFiles[filename] = true
    			continue
    		}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 22:27:47 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/dfs/DfsReferralRequestBuffer.java

        private final int maxReferralLevel;
        private final String path;
    
    
        /**
         * @param filename
         * @param maxReferralLevel
         */
        public DfsReferralRequestBuffer ( String filename, int maxReferralLevel ) {
            this.path = filename;
            this.maxReferralLevel = maxReferralLevel;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Encodable#size()
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/netbios/Lmhosts.java

        }
    
        synchronized static NbtAddress getByName( Name name ) {
            NbtAddress result = null;
    
            try {
                if( FILENAME != null ) {
                    File f = new File( FILENAME );
                    long lm;
    
                    if(( lm = f.lastModified() ) > lastModified ) {
                        lastModified = lm;
                        TAB.clear();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 5.8K 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 Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/plugin/AdminPluginAction.java

                            logger.warn("Failed to delete {}.", tempFile.getAbsolutePath());
                        }
                        logger.debug("Failed to copy {}", filename, e);
                        throwValidationError(messages -> messages.addErrorsFailedToInstallPlugin(GLOBAL, filename), this::asListHtml);
                    }
                    new Thread(() -> {
                        try {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  7. .generated_files

    # This file is a series of lines, each of the form:
    #     <type> <name>
    #
    # Type can be:
    #    path - an exact path to a single file
    #    file-name - an exact leaf filename, regardless of path
    #    path-prefix - a prefix match on the file path
    #    file-prefix - a prefix match of the leaf filename (no path)
    #    paths-from-repo - read a file from the repo and load file paths
    #
    
    file-prefix	zz_generated.
    
    file-name	types.generated.go
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Tue Oct 04 23:47:25 UTC 2022
    - 750 bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImpl.java

        int nextEntryOffset;
        int action;
        int fileNameLength;
        String fileName;
    
    
        /**
         * 
         */
        public FileNotifyInformationImpl () {}
    
    
        @Override
        public int getAction () {
            return this.action;
        }
    
    
        @Override
        public String getFileName () {
            return this.fileName;
        }
    
    
        /**
         * @return the nextEntryOffset
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Nov 17 08:55:32 UTC 2018
    - 3K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/MultipartBody.kt

          fun createFormData(
            name: String,
            filename: String?,
            body: RequestBody,
          ): Part {
            val disposition =
              buildString {
                append("form-data; name=")
                appendQuotedString(name)
    
                if (filename != null) {
                  append("; filename=")
                  appendQuotedString(filename)
                }
              }
    
            val headers =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/com/SmbComOpenAndX.java

         * 
         * @param config
         * @param fileName
         * @param access
         * @param shareAccess
         * @param flags
         * @param fileAttributes
         * @param andx
         */
        public SmbComOpenAndX ( Configuration config, String fileName, int access, int shareAccess, int flags, int fileAttributes,
                ServerMessageBlock andx ) {
            super(config, SMB_COM_OPEN_ANDX, fileName, andx);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7K bytes
    - Viewed (0)
Back to top