- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 42 for rw (0.04 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache2/Relay.kt
@Throws(IOException::class) fun edit( file: File, upstream: Source, metadata: ByteString, bufferMaxSize: Long, ): Relay { val randomAccessFile = RandomAccessFile(file, "rw") val result = Relay(randomAccessFile, upstream, 0L, metadata, bufferMaxSize) // Write a dirty header. That way if we crash we won't attempt to recover this. randomAccessFile.setLength(0L)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed May 28 17:15:47 UTC 2025 - 11.8K bytes - Viewed (0) -
src/test/java/jcifs/SmbResourceTest.java
// Given when(mockResource.openRandomAccess("rw")).thenReturn(mockRandomAccess); when(mockResource.openRandomAccess("r", 1)).thenReturn(mockRandomAccess); // When SmbRandomAccess ra1 = mockResource.openRandomAccess("rw"); SmbRandomAccess ra2 = mockResource.openRandomAccess("r", 1); // Then
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 35K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/cache2/FileOperatorTest.kt
private var file: File? = null private var randomAccessFile: RandomAccessFile? = null @BeforeEach fun setUp() { file = File(tempDir, "test") randomAccessFile = RandomAccessFile(file, "rw") } @AfterEach fun tearDown() { randomAccessFile!!.close() } @Test fun read() { write("Hello, World".encodeUtf8()) val operator = FileOperator(
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 5.8K bytes - Viewed (0) -
android/guava/src/com/google/common/io/TempFileCreator.java
static { Set<String> views = FileSystems.getDefault().supportedFileAttributeViews(); if (views.contains("posix")) { filePermissions = () -> asFileAttribute(PosixFilePermissions.fromString("rw-------")); directoryPermissions = () -> asFileAttribute(PosixFilePermissions.fromString("rwx------")); } else if (views.contains("acl")) { filePermissions = directoryPermissions = userPermissions();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 12.5K bytes - Viewed (0) -
cmd/erasure-object.go
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Sep 07 16:13:09 UTC 2025 - 80.4K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java
FileChannel channel = null; FileLock lock = null; try { Properties props = new Properties(); channel = new RandomAccessFile(touchfile, "rw").getChannel(); lock = channel.lock(); if (touchfile.canRead()) { getLogger().debug("Reading resolution-state from: " + touchfile);
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Tue Apr 22 22:13:51 UTC 2025 - 12.1K bytes - Viewed (0) -
okhttp/src/jvmMain/resources/okhttp3/internal/publicsuffix/PublicSuffixDatabase.list
ac.il ac.im ac.in ac.ir ac.jp ac.ke ac.kr ac.leg.br ac.lk ac.ls ac.ma ac.me ac.mu ac.mw ac.mz ac.ni ac.nz ac.pa ac.pk ac.pr ac.rs ac.ru ac.rw ac.se ac.sz ac.th ac.tj ac.tz ac.ug ac.uk ac.vn ac.za ac.zm ac.zw aca.pro academia.bo academy accenture accesscam.org accident-investigation.aero
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 22:00:49 UTC 2025 - 129.6K bytes - Viewed (3) -
cmd/object-handlers.go
} else { writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL) } return } nr := httptest.NewRecorder() rw := xhttp.NewResponseRecorder(nr) rw.LogErrBody = true rw.LogAllBody = true rreq.SelectParameters.Evaluate(rw) rreq.SelectParameters.Close() return } opts := ObjectOptions{ Transition: TransitionOptions{ RestoreRequest: rreq,
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Sep 07 16:13:09 UTC 2025 - 120.6K bytes - Viewed (0) -
src/main/java/jcifs/SmbResource.java
*/ ACE[] getShareSecurity(boolean resolveSids) throws IOException; /** * Opens the file for random access * * @param mode * access mode (r|rw) * @param sharing * flags indicating for which operations others may concurrently open the file * @return random access file, needs to be closed when finished
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 28K bytes - Viewed (1) -
android/guava-tests/test/com/google/common/io/FilesTest.java
assertTrue(Files.equal(asciiFile, temp)); Files.copy(i18nFile, temp); assertTrue(Files.equal(i18nFile, temp)); Files.copy(asciiFile, temp); RandomAccessFile rf = new RandomAccessFile(temp, "rw"); rf.writeByte(0); rf.close(); assertEquals(asciiFile.length(), temp.length()); assertFalse(Files.equal(asciiFile, temp));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 22.1K bytes - Viewed (0)