- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 186 for getfile (0.2 sec)
-
src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java
// Then long expectedFree = free * sectPerAlloc * bytesPerSect; assertEquals(expectedFree, fileFsSizeInfo.getFree()); assertEquals(2097152L, fileFsSizeInfo.getFree()); // 512 * 8 * 512 } @Test @DisplayName("Should handle overflow in capacity calculation")Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java
// Then long expectedFree = callerFree * sectPerAlloc * bytesPerSect; assertEquals(expectedFree, fileFsFullSizeInfo.getFree()); assertEquals(2097152L, fileFsFullSizeInfo.getFree()); // 512 * 8 * 512 } @Test @DisplayName("Should handle overflow in capacity calculation")Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.5K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java
File file = new File(getRepository().getBasedir(), path); LocalArtifactResult result = new LocalArtifactResult(request); if (file.isFile()) { result.setFile(file); result.setAvailable(true); } return result; } @Override public void add(RepositorySystemSession session, LocalArtifactRegistration request) {
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/AllocInfoTest.java
} @Test @DisplayName("Should define getFree method") void shouldDefineGetFreeMethod() throws NoSuchMethodException { // Verify method exists with correct signature assertNotNull(AllocInfo.class.getMethod("getFree")); assertEquals(long.class, AllocInfo.class.getMethod("getFree").getReturnType()); } @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/FieldUtilTest.java
final Field field = getClass().getField("objectField"); final Integer testData = Integer.valueOf(123); FieldUtil.set(field, this, testData); assertThat((Integer) FieldUtil.get(field, this), is(testData)); } /** * @throws Exception */ @Test public void testGetIntField() throws Exception { final Field field = getClass().getField("intField");
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 4.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java
assertEquals(987654321L, resp.getEndOfFile()); assertEquals(987654321L, resp.getSize()); // SmbBasicFileInfo mapping assertEquals(0xA5A5A5A5, resp.getFileAttributes()); assertEquals(0xA5A5A5A5, resp.getAttributes()); // SmbBasicFileInfo mapping assertArrayEquals(fileId, resp.getFileId()); assertEquals("file.txt", resp.getFileName());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
.github/workflows/CheckBadMerge.groovy
if (p1Branches.contains("origin/master") && !p2Branches.contains("origin/master") && p2Branches.any { it.startsWith("origin/release") }) { List<String> badFiles = filesFromMerge(commit).findAll {gitFile -> MONITORED_PATHS.any { forbiddenPath -> gitFile.startsWith(forbiddenPath)} } if (!badFiles.empty) { System.err.println("Found bad files in merge commit $commit, run the listed commands:") badFiles.each {
Registered: Wed Sep 10 11:36:15 UTC 2025 - Last Modified: Fri Jan 24 10:03:31 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java
// Verify - all zeros should result in 0 capacity and free assertEquals(0L, smbInfoAllocation.getCapacity()); assertEquals(0L, smbInfoAllocation.getFree()); } @Test @DisplayName("Test getFree with maximum values") void testGetFreeWithMaximumValues() throws SMBProtocolDecodingException { // Prepare test data with maximum int values byte[] buffer = new byte[22];Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
docs/iam/access-manager-plugin.go
flag.Parse() serveFunc := func() error { return http.ListenAndServe(":8080", nil) } if certFile != "" || keyFile != "" { if certFile == "" || keyFile == "" { log.Fatal("Please provide both a key file and a cert file to enable TLS.") } serveFunc = func() error { return http.ListenAndServeTLS(":8080", certFile, keyFile, nil) } } http.HandleFunc("/", mainHandler) log.Print("Listening on :8080")
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Feb 08 17:15:20 UTC 2024 - 2.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/AllocInfoTest.java
when(mockAllocInfo.getFree()).thenReturn(400L); assertEquals(1000L, mockAllocInfo.getCapacity(), "capacity should match stubbed value"); assertEquals(400L, mockAllocInfo.getFree(), "free space should match stubbed value"); verify(mockAllocInfo, times(1)).getCapacity(); verify(mockAllocInfo, times(1)).getFree(); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.4K bytes - Viewed (0)