- Sort Score
- Num 10 results
- Language All
Results 201 - 210 of 1,336 for wrote (0.02 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava-tests/test/com/google/common/io/CharSinkTest.java
assertTrue(sink.wasStreamOpened()); assertFalse(sink.wasStreamClosed()); writer.write(STRING); writer.close(); assertTrue(sink.wasStreamClosed()); assertEquals(STRING, sink.getString()); } public void testWrite_string() throws IOException { assertEquals("", sink.getString()); sink.write(STRING); assertTrue(sink.wasStreamOpened() && sink.wasStreamClosed());
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 4.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java
int readDataAvailable = 100; int numberOfMessages = 2; int messageLength = 50; byte[] testData = { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 }; // Write values to buffer SMBUtil.writeInt4(namedPipeState, buffer, bufferIndex); SMBUtil.writeInt4(readDataAvailable, buffer, bufferIndex + 4); SMBUtil.writeInt4(numberOfMessages, buffer, bufferIndex + 8);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.9K bytes - Click Count (0) -
src/test/java/jcifs/pac/PacLogonInfoTest.java
// Write a valid string structure String testString = "TEST"; int totalChars = testString.length(); writeLittleEndianInt(dos, totalChars); // totalChars writeLittleEndianInt(dos, 0); // unusedChars writeLittleEndianInt(dos, totalChars); // usedChars // Write the actual characters (as shorts in little-endian)Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.3K bytes - Click Count (0) -
internal/lsync/lrwmutex.go
func NewLRWMutex() *LRWMutex { return &LRWMutex{} } // Lock holds a write lock on lm. // // If the lock is already in use, the calling go routine // blocks until the mutex is available. func (lm *LRWMutex) Lock() { const isWriteLock = true lm.lockLoop(context.Background(), lm.id, lm.source, math.MaxInt64, isWriteLock) } // GetLock tries to get a write lock on lm before the timeout occurs.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Jan 02 17:15:06 GMT 2022 - 4.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseStateTest.java
// Should return true when write caching is enabled assertTrue(DirectoryLeaseState.canCacheModifications(Smb2LeaseState.SMB2_LEASE_WRITE_CACHING)); assertTrue(DirectoryLeaseState.canCacheModifications(Smb2LeaseState.SMB2_LEASE_READ_WRITE)); assertTrue(DirectoryLeaseState.canCacheModifications(DirectoryLeaseState.DIRECTORY_FULL)); // Should return false when write caching is not enabledCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 3.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/persistent/DurableHandleReconnect.java
SMBUtil.writeInt4(STRUCTURE_SIZE, dst, dstIndex); // DataLength dstIndex += 4; // Write context name System.arraycopy(CONTEXT_NAME_BYTES, 0, dst, dstIndex, 4); dstIndex += 4; // Padding to align data to 8-byte boundary dstIndex += 4; // Write file ID (16 bytes) System.arraycopy(fileId, 0, dst, dstIndex, 16); dstIndex += 16;Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 3K bytes - Click Count (0) -
android/guava/src/com/google/common/base/SneakyThrows.java
* However, we can't usually write {@code throw t;} when {@code t} has a static type of {@link * Throwable}. But we <i>can</i> write {@code sneakyThrow(t);}. * * <p>We sometimes also use {@code sneakyThrow} for testing how our code responds to * sneaky checked exception. * * @return never; this method declares a return type of {@link Error} only so that callers can
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Feb 03 21:52:39 GMT 2025 - 2.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaCapabilities.java
* Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.internal.smb2.rdma; /** * Constants for RDMA capabilities and default configuration values.
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 2K bytes - Click Count (0) -
docs/en/docs/tutorial/dependencies/classes-as-dependencies.md
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 6.7K bytes - Click Count (0) -
cmd/site-replication-utils_gen.go
func (z *SiteResyncStatus) EncodeMsg(en *msgp.Writer) (err error) { // map header, size 6 // write "v" err = en.Append(0x86, 0xa1, 0x76) if err != nil { return } err = en.WriteInt(z.Version) if err != nil { err = msgp.WrapError(err, "Version") return } // write "ss" err = en.Append(0xa2, 0x73, 0x73) if err != nil { return } err = z.Status.EncodeMsg(en)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 7.1K bytes - Click Count (0)