Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 8,612 for File (0.42 sec)

  1. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuilder.java

            if (localRepository != null && !localRepository.isEmpty()) {
                File file = new File(localRepository);
                if (!file.isAbsolute() && file.getPath().startsWith(File.separator)) {
                    userSettings.setLocalRepository(file.getAbsolutePath());
                }
            }
    
            if (hasErrors(problems.getProblems())) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/persistent/HandleInfoTest.java

            }
            testLeaseKey = new Smb2LeaseKey();
        }
    
        @Test
        public void testHandleInfoCreation() {
            HandleInfo info = new HandleInfo("/test/file.txt", testGuid, testFileId, HandleType.DURABLE_V2, 120000, testLeaseKey);
    
            assertEquals("/test/file.txt", info.getPath());
            assertEquals(testGuid, info.getCreateGuid());
            assertArrayEquals(testFileId, info.getFileId());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RelocatedArtifact.java

        }
    
        @Override
        public Artifact setFile(File file) {
            File current = getFile();
            if (Objects.equals(current, file)) {
                return this;
            }
            return new RelocatedArtifact(
                    artifact.setFile(file), groupId, artifactId, classifier, extension, version, message);
        }
    
        @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 07:09:12 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  4. tests/test_form_default.py

    from fastapi import FastAPI, File, Form
    from starlette.testclient import TestClient
    
    app = FastAPI()
    
    
    @app.post("/urlencoded")
    async def post_url_encoded(age: Annotated[Optional[int], Form()] = None):
        return age
    
    
    @app.post("/multipart")
    async def post_multi_part(
        age: Annotated[Optional[int], Form()] = None,
        file: Annotated[Optional[bytes], File()] = None,
    ):
        return {"file": file, "age": age}
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 848 bytes
    - Viewed (0)
  5. 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 {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  6. 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;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 13:56:35 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  7. docs/debugging/inspect/main.go

    		n := 1
    		var base, ext string
    		base = *privKeyPath
    		if idx := strings.LastIndexByte(base, '.'); idx != -1 {
    			ext = base[idx:]
    			base = base[:idx]
    		}
    		for {
    			// Automatically read "file.ext", "file-2.ext", "file-3.ext"...
    			fn := base + ext
    			if n > 1 {
    				fn = fmt.Sprintf("%s-%d%s", base, n, ext)
    			}
    
    			if b, err := os.ReadFile(fn); err == nil {
    				privateKeys = append(privateKeys, b)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Feb 17 17:09:42 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java

                assertEquals(flagValue, SMBUtil.readInt2(buffer, 2));
            }
        }
    
        @Test
        @DisplayName("Test createResponse with different file IDs and file names")
        void testCreateResponseVariations() {
            // Test with null file ID
            Smb2CloseRequest nullIdRequest = new Smb2CloseRequest(mockConfig, null, testFileName);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java

            request = new Smb2CreateRequest(mockConfig, "");
    
            // Test normal path
            request.setPath("test\\file.txt");
            assertEquals("\\test\\file.txt", request.getPath());
    
            // Test path with leading backslash (should be stripped)
            request.setPath("\\test\\file.txt");
            assertEquals("\\test\\file.txt", request.getPath());
    
            // Test path with trailing backslash (should be stripped)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  10. internal/logger/logrotate.go

    	Compress bool
    }
    
    // Writer is a concurrency-safe writer with file rotation.
    type Writer struct {
    	// opts are the configuration options for this Writer
    	opts Options
    
    	// f is the currently open file used for appends.
    	// Writes to f are only synchronized once Close() is called,
    	// or when files are being rotated.
    	f *os.File
    
    	pw *xioutil.PipeWriter
    	pr *xioutil.PipeReader
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 5.8K bytes
    - Viewed (0)
Back to top