Search Options

Results per page
Sort
Preferred Languages
Advance

Results 491 - 500 of 3,322 for file2 (0.03 sec)

  1. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/GraphTest.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.model.building;
    
    import java.io.IOException;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.List;
    
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertThrows;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. docs_src/request_files/tutorial001_03_an.py

    from fastapi import FastAPI, File, UploadFile
    from typing_extensions import Annotated
    
    app = FastAPI()
    
    
    @app.post("/files/")
    async def create_file(file: Annotated[bytes, File(description="A file read as bytes")]):
        return {"file_size": len(file)}
    
    
    @app.post("/uploadfile/")
    async def create_upload_file(
        file: Annotated[UploadFile, File(description="A file read as UploadFile")],
    ):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 431 bytes
    - Viewed (0)
  3. cmd/storage-errors.go

    // errFileNotFound - cannot find the file.
    var errFileNotFound = StorageErr("file not found")
    
    // errFileNotFound - cannot find requested file version.
    var errFileVersionNotFound = StorageErr("file version not found")
    
    // errTooManyOpenFiles - too many open files.
    var errTooManyOpenFiles = StorageErr("too many open files, please increase 'ulimit -n'")
    
    // errFileNameTooLong - given file name is too long than supported length.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java

     * under the License.
     */
    package org.apache.maven.artifact.repository.metadata;
    
    import javax.xml.stream.XMLStreamException;
    
    import java.io.File;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.nio.file.Files;
    
    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.artifact.metadata.ArtifactMetadata;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7K bytes
    - Viewed (0)
  5. docs_src/request_files/tutorial001_an_py39.py

    from typing import Annotated
    
    from fastapi import FastAPI, File, UploadFile
    
    app = FastAPI()
    
    
    @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 Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 322 bytes
    - Viewed (0)
  6. build-logic/documentation/src/test/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepositoryTest.groovy

            TestDomainObject value = new TestDomainObject('a')
            File file = Files.createTempFile(tmpDir.toPath(), null, null).toFile()
            repository.put('class', value)
    
            when:
            repository.store(file)
            def newRepo = new SimpleClassMetaDataRepository<TestDomainObject>()
            newRepo.load(file)
    
            then:
            newRepo.find('class') == value
        }
    }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Apr 06 02:21:33 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. internal/disk/stat_openbsd.go

    		return Info{}, err
    	}
    	reservedBlocks := uint64(s.F_bfree) - uint64(s.F_bavail)
    	info = Info{
    		Total:  uint64(s.F_bsize) * (uint64(s.F_blocks) - reservedBlocks),
    		Free:   uint64(s.F_bsize) * uint64(s.F_bavail),
    		Files:  uint64(s.F_files),
    		Ffree:  uint64(s.F_ffree),
    		FSType: getFSType(s.F_fstypename[:]),
    	}
    	if info.Free > info.Total {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Feb 26 19:34:50 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/ResourcesTest.java

        } finally {
          Thread.currentThread().setContextClassLoader(oldContextLoader);
        }
      }
    
      @AndroidIncompatible // .class files aren't available
      public void testNulls() {
        new NullPointerTester()
            .setDefault(URL.class, classfile(ResourcesTest.class))
            .testAllPublicStaticMethods(Resources.class);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  9. docs/select/README.md

    You can use the Select API to query objects with following features:
    
    - Objects must be in CSV, JSON, or Parquet(*) format.
    - UTF-8 is the only encoding type the Select API supports.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 6.5K bytes
    - Viewed (0)
  10. .generated_files

    #    paths-from-repo - read a file from the repo and load file paths
    #
    
    file-prefix	zz_generated.
    
    file-name	types.generated.go
    file-name	generated.pb.go
    file-name	generated.proto
    file-name	types_swagger_doc_generated.go
    
    path-prefix	vendor/
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Tue Oct 04 23:47:25 UTC 2022
    - 750 bytes
    - Viewed (0)
Back to top