- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 92 for createFile (0.06 seconds)
-
src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java
this.directoryPath = path; this.leaseKey = key; this.scope = scope; this.createTime = System.currentTimeMillis(); this.lastUpdateTime = createTime; this.lastAccessTime = createTime; this.maxAge = 30000; // 30 seconds default this.children = new ConcurrentHashMap<>(); this.lock = new ReentrantReadWriteLock();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 11.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java
// Default instance assertEquals(0L, shareInfo.createTime()); assertEquals(0L, shareInfo.lastModified()); assertEquals(0L, shareInfo.lastAccess()); // Instance with values - times are still 0 SmbShareInfo info = new SmbShareInfo(TEST_NET_NAME, TEST_TYPE, TEST_REMARK); assertEquals(0L, info.createTime()); assertEquals(0L, info.lastModified());Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java
when(mockFile1.isDirectory()).thenReturn(false); when(mockFile1.getAttributes()).thenReturn(0x20); // FILE_ATTRIBUTE_ARCHIVE when(mockFile1.createTime()).thenReturn(System.currentTimeMillis() - 7200000); when(mockFile1.lastAccess()).thenReturn(System.currentTimeMillis() - 1800000); when(mockFile2.getName()).thenReturn("subfolder");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 14.2K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/FileEntryTest.java
when(mock.getAttributes()).thenReturn(128); when(mock.createTime()).thenReturn(1_500L); when(mock.lastModified()).thenReturn(1_800L); when(mock.length()).thenReturn(100L); assertEquals("test.txt", mock.getName()); assertEquals(1, mock.getType()); assertEquals(128, mock.getAttributes()); assertEquals(1_500L, mock.createTime()); assertEquals(1_800L, mock.lastModified());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbShareInfoTest.java
assertEquals(expResult, result); } /** * Test of createTime method, of class SmbShareInfo. */ @Test void testCreateTime() { SmbShareInfo instance = new SmbShareInfo(); long expResult = 0L; long result = instance.createTime(); assertEquals(expResult, result); } /**
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5K bytes - Click Count (0) -
docs_src/request_files/tutorial001_an_py310.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 322 bytes - Click Count (0) -
docs_src/request_forms_and_files/tutorial001_an_py310.py
from typing import Annotated from fastapi import FastAPI, File, Form, UploadFile app = FastAPI() @app.post("/files/") async def create_file( file: Annotated[bytes, File()], fileb: Annotated[UploadFile, File()], token: Annotated[str, Form()], ): return { "file_size": len(file), "token": token, "fileb_content_type": fileb.content_type,
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 386 bytes - Click Count (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/entity/OpenSearchAccessResult.java
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Sun Jul 06 02:13:03 GMT 2025 - 6.5K bytes - Click Count (0) -
fess-crawler-opensearch/src/main/resources/mapping/queue.json
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Thu Nov 07 04:44:10 GMT 2024 - 457 bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java
when(mockFile1.lastModified()).thenReturn(1000L); when(mockFile1.isDirectory()).thenReturn(false); when(mockFile1.getAttributes()).thenReturn(0x20); when(mockFile1.createTime()).thenReturn(500L); when(mockFile1.lastAccess()).thenReturn(800L); when(mockFile2.getName()).thenReturn("dir1"); when(mockFile2.length()).thenReturn(0L);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 15.9K bytes - Click Count (0)