- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 23 for rw (0.02 seconds)
-
cmd/api-response_test.go
rw := httptest.NewRecorder() trw := &trackingResponseWriter{ResponseWriter: rw} writeResponse(trw, 299, []byte("hello"), "application/foo") resp := rw.Result() if resp.StatusCode != 299 { t.Fatal("response wasn't written") } } func TestWriteResponseHeadersWritten(t *testing.T) { rw := httptest.NewRecorder() rw.Code = -1
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Oct 24 04:05:19 GMT 2025 - 5.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbRandomAccessFileTest.java
} @Test @DisplayName("open(): acquires and releases handle (no I/O)") void open_acquiresAndReleasesHandle() throws Exception { SmbRandomAccessFile raf = spy(newInstance("rw", false, true, false)); SmbFileHandleImpl fh = mock(SmbFileHandleImpl.class); doReturn(fh).when(raf).ensureOpen(); // Act raf.open();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.1K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/UnsignedBytes.java
for (i = 0; i < strideLimit; i += stride) { long lw = theUnsafe.getLong(left, BYTE_ARRAY_BASE_OFFSET + (long) i); long rw = theUnsafe.getLong(right, BYTE_ARRAY_BASE_OFFSET + (long) i); if (lw != rw) { if (BIG_ENDIAN) { return Long.compareUnsigned(lw, rw); } /* * We want to compare only the first index where left[index] != right[index]. This
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 16:38:16 GMT 2026 - 21K bytes - Click Count (0) -
docs/bigdata/README.md
hadoop fs -ls s3a://testbucket/wordcount ``` The output should be similar to the following: ``` Found 3 items -rw-rw-rw- 1 spark spark 0 2019-05-04 01:36 s3a://testbucket/wordcount/_SUCCESS -rw-rw-rw- 1 spark spark 4956 2019-05-04 01:36 s3a://testbucket/wordcount/part-00000 -rw-rw-rw- 1 spark spark 5616 2019-05-04 01:36 s3a://testbucket/wordcount/part-00001
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Aug 12 18:20:36 GMT 2025 - 14.7K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java
/** * Constructs an SmbRandomAccessFile with the specified URL, mode, and share access flags. * * @param url the SMB URL of the file to access * @param mode the access mode ("r" for read-only, "rw" for read-write) * @param shareAccess the share access flags for file sharing * @throws SmbException if an SMB error occurs * @throws MalformedURLException if the URL is malformedCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 14.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/lease/Smb2LeaseState.java
public static final int SMB2_LEASE_WRITE_CACHING = 0x04; /** * Read and Handle caching (RH) */ public static final int SMB2_LEASE_READ_HANDLE = 0x03; /** * Read and Write caching (RW) */ public static final int SMB2_LEASE_READ_WRITE = 0x05; /** * Full caching - Read, Write and Handle (RWH) */ public static final int SMB2_LEASE_FULL = 0x07;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 00:16:17 GMT 2025 - 2.4K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbRandomAccessFile.java
private final int sharing; /** * Instantiate a random access file from URL * * @param url the SMB URL of the file to access * @param mode the access mode ("r" for read-only, "rw" for read-write) * @param sharing the sharing flags for file access * @param tc the CIFS context to use for the connection * @throws SmbException if an SMB error occursCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 18.8K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbRandomAccessFileTest.java
// Mock the open method to do nothing doNothing().when(smbFile).open(anyInt(), anyInt(), anyInt(), anyInt()); smbRandomAccessFile = new SmbRandomAccessFile(smbFile, "rw"); } @Test void testConstructor() throws SmbException { assertNotNull(smbRandomAccessFile); assertEquals(0, smbRandomAccessFile.getFilePointer()); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.3K bytes - Click Count (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();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 29 18:50:14 GMT 2025 - 11.8K bytes - Click Count (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); // ThenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 35K bytes - Click Count (0)