Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 9,684 for FILE (0.02 seconds)

  1. docs/en/docs/advanced/stream-data.md

    {* ../../docs_src/stream_data/tutorial002_py310.py ln[23:27] hl[23] *}
    
    ### Simulate a File { #simulate-a-file }
    
    In this example, we are simulating a file with `io.BytesIO`, which is a file-like object that lives only in memory, but lets us use the same interface.
    
    For example, we can iterate over it to consume its contents, as we could with a file.
    
    {* ../../docs_src/stream_data/tutorial002_py310.py ln[1:27] hl[3,12:13,25] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/Source.java

    /*
     * Licensed to the Apache Software Foundation (ASF) under one
     * or more contributor license agreements.  See the NOTICE file
     * distributed with this work for additional information
     * regarding copyright ownership.  The ASF licenses this file
     * to you under the Apache License, Version 2.0 (the
     * "License"); you may not use this file except in compliance
     * with the License.  You may obtain a copy of the License at
     *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jan 29 09:46:53 GMT 2025
    - 4K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/service/StopwordsService.java

            getStopwordsFile(dictId).ifPresent(file -> {
                if (stopwordsItem.getId() == 0) {
                    file.insert(stopwordsItem);
                } else {
                    file.update(stopwordsItem);
                }
            });
        }
    
        /**
         * Deletes a stopword item from the specified dictionary.
         *
         * @param dictId        The ID of the dictionary.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/service/SynonymService.java

            return getSynonymFile(dictId).map(file -> file.get(id).get());
        }
    
        /**
         * Stores a synonym item in the specified dictionary.
         *
         * @param dictId      The ID of the dictionary.
         * @param synonymItem The synonym item to store.
         */
        public void store(final String dictId, final SynonymItem synonymItem) {
            getSynonymFile(dictId).ifPresent(file -> {
                if (synonymItem.getId() == 0) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  5. docs_src/request_files/tutorial001_py310.py

    from fastapi import FastAPI, File, UploadFile
    
    app = FastAPI()
    
    
    @app.post("/files/")
    async def create_file(file: bytes = File()):
        return {"file_size": len(file)}
    
    
    @app.post("/uploadfile/")
    async def create_upload_file(file: UploadFile):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 282 bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb/SmbFileInputStream.java

            this(file, 0, SmbConstants.O_RDONLY, SmbConstants.DEFAULT_SHARING, false);
        }
    
        SmbFileInputStream(final SmbFile file, final int openFlags, final int access, final int sharing, final boolean unshared)
                throws SmbException {
            this.file = file;
            this.unsharedFile = unshared;
            this.openFlags = openFlags;
            this.access = access;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  7. internal/lock/lock_test.go

    	if isClosed {
    		t.Fatal("File ref count shouldn't be zero")
    	}
    
    	// Decrease reference count by 1.
    	if err = rlk.Close(); err != nil {
    		t.Fatal(err)
    	}
    
    	// Now file should be closed.
    	isClosed = rlk.IsClosed()
    	if !isClosed {
    		t.Fatal("File ref count should be zero")
    	}
    
    	// Closing a file again should result in invalid argument.
    	if err = rlk.Close(); err != os.ErrInvalid {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  8. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/info/GlobalBuildInfoPlugin.java

         * compatibility. It is *super* important that this logic is the same as the
         * logic in VersionUtils.java. */
        private static BwcVersions resolveBwcVersions(File root) {
            File versionsFile = new File(root, DEFAULT_VERSION_JAVA_FILE_PATH);
            try {
                List<String> versionLines = IOUtils.readLines(new FileInputStream(versionsFile), "UTF-8");
                return new BwcVersions(versionLines);
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Aug 17 10:02:58 GMT 2021
    - 18.1K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/fileauth/AdminFileauthAction.java

        /** Service for file authentication operations. */
        @Resource
        private FileAuthenticationService fileAuthenticationService;
    
        /** Pager for file authentication list pagination. */
        @Resource
        private FileAuthPager fileAuthenticationPager;
    
        /** Service for file configuration operations. */
        @Resource
        protected FileConfigService fileConfigService;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 18.7K bytes
    - Click Count (0)
  10. docs/ko/docs/tutorial/request-forms-and-files.md

    # 폼 및 파일 요청 { #request-forms-and-files }
    
    `File` 과 `Form` 을 사용하여 파일과 폼 필드를 동시에 정의할 수 있습니다.
    
    /// info
    
    업로드된 파일 및/또는 폼 데이터를 받으려면 먼저 [`python-multipart`](https://github.com/Kludex/python-multipart)를 설치해야 합니다.
    
    [가상 환경](../virtual-environments.md)을 생성하고, 활성화한 다음 설치해야 합니다. 예:
    
    ```console
    $ pip install python-multipart
    ```
    
    ///
    
    ## `File` 및 `Form` 임포트 { #import-file-and-form }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 1.6K bytes
    - Click Count (0)
Back to Top