Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 7,792 for file (0.02 seconds)

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

  1. compat/maven-compat/src/main/java/org/apache/maven/project/InvalidProjectModelException.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: Fri Oct 25 12:31:46 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/io/MoreFilesTest.java

    import java.io.IOException;
    import java.nio.file.FileAlreadyExistsException;
    import java.nio.file.FileSystem;
    import java.nio.file.FileSystemException;
    import java.nio.file.FileSystems;
    import java.nio.file.FileVisitResult;
    import java.nio.file.Files;
    import java.nio.file.NoSuchFileException;
    import java.nio.file.Path;
    import java.nio.file.SimpleFileVisitor;
    import java.nio.file.attribute.BasicFileAttributes;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 26.6K bytes
    - Click Count (0)
  3. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/InternalDistributionArchiveCheckPlugin.java

        }
    
        private static void assertNoClassFile(File file) {
            if (file.getName().endsWith(".class")) {
                throw new GradleException("Detected class file in distribution ('" + file.getName() + "')");
            }
        }
    
        private static boolean zipExists() {
            return new File("/bin/unzip").exists() || new File("/usr/bin/unzip").exists() || new File("/usr/local/bin/unzip").exists();
        }
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 10.6K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/configuration/BasedirBeanConfigurationPathTranslator.java

        public BasedirBeanConfigurationPathTranslator(File basedir) {
            this.basedir = basedir;
        }
    
        @Override
        public File translatePath(File path) {
            File result = path;
    
            if (path != null && basedir != null) {
                if (path.isAbsolute()) {
                    // path is already absolute, we're done
                } else if (path.getPath().startsWith(File.separator)) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  5. docs_src/request_files/tutorial003_py310.py

    from fastapi import FastAPI, File, UploadFile
    from fastapi.responses import HTMLResponse
    
    app = FastAPI()
    
    
    @app.post("/files/")
    async def create_files(
        files: list[bytes] = File(description="Multiple files as bytes"),
    ):
        return {"file_sizes": [len(file) for file in files]}
    
    
    @app.post("/uploadfiles/")
    async def create_upload_files(
        files: list[UploadFile] = File(description="Multiple files as UploadFile"),
    ):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 888 bytes
    - Click Count (0)
  6. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/util/ReproduciblePropertiesWriter.kt

            }
    
            /**
             * Writes [Properties] to a file, but without including the timestamp comment.
             *
             * See [PropertiesUtils.store].
             */
            fun store(properties: Properties, file: File, comment: String? = null) {
                PropertiesUtils.store(properties, file, comment, Charsets.ISO_8859_1, "\n")
            }
    
            private
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 1.6K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb1/smb1/DosFileFilterTest.java

            SmbFile file = mock(SmbFile.class);
            when(file.getAttributes()).thenReturn(SmbFile.ATTR_NORMAL);
            assertTrue(filter.accept(file), "Attributes match should be accepted");
            verify(file, times(1)).getAttributes();
        }
    
        @Test
        public void testAcceptReturnsFalseWhenAttributesDoNotMatch() throws Exception {
            SmbFile file = mock(SmbFile.class);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java

        }
    
        @Test
        @DisplayName("Should handle empty file ID")
        void testSetEmptyFileId() {
            // Given
            RequestWithFileId request = new Smb2CloseRequest(mockConfig, testFileId);
    
            // When
            request.setFileId(emptyFileId);
    
            // Then - should accept empty file ID
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  9. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/fixtures/AbstractRestResourcesFuncTest.groovy

            artifacts {
              restSpecs(new File(projectDir, "src/main/resources/rest-api-spec/api"))
              restTests(new File(projectDir, "src/yamlRestTest/resources/rest-api-spec/test"))
            }
            """
    
            addSubProject(":x-pack:plugin") << """
            configurations { restXpackSpecs\nrestXpackTests }
            artifacts {
              restXpackTests(new File(projectDir, "src/yamlRestTest/resources/rest-api-spec/test"))
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 22 07:24:59 GMT 2021
    - 2.1K bytes
    - Click Count (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleJavadocsPlugin.java

            private final Set<File> canonicalPackageInfos = new HashSet<>();
    
            @Override
            public boolean isSatisfiedBy(File file) {
                try {
                    if (file.getName().equals("package-info.java")) {
                        if (canonicalPackageInfos.contains(file.getAbsoluteFile())) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Sun Mar 01 05:52:34 GMT 2026
    - 11.6K bytes
    - Click Count (0)
Back to Top