- Sort Score
- Num 10 results
- Language All
Results 761 - 770 of 914 for Hero (0.12 seconds)
-
src/main/java/jcifs/smb/SmbSessionImpl.java
} else if (usage < 0) { throw new RuntimeCIFSException("Usage count dropped below zero"); } } /** * Emergency cleanup method called during finalization to prevent memory leaks */ private void emergencyCleanup() { try { // Force usage count to zero to trigger cleanup this.usageCount.set(0); synchronized (this) {
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 68.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/ServerDataTest.java
/** * Test setting and getting long field (serverTime) */ @Test @DisplayName("Test serverTime field with various long values") public void testServerTimeField() { // Test with zero serverData.serverTime = 0L; assertEquals(0L, serverData.serverTime); // Test with positive value serverData.serverTime = 132514080000000000L; // Windows file timeCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17K bytes - Click Count (0) -
src/main/java/jcifs/internal/witness/WitnessAsyncNotifyMessage.java
for (int i = contextHandle.length; i < 20; i++) { buf.enc_ndr_small(0); } } else { // Write 20 zero bytes for null context handle for (int i = 0; i < 20; i++) { buf.enc_ndr_small(0); } } } @Override
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 24 00:12:28 GMT 2025 - 16.4K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/MultipartReaderTest.kt
) parts.close() assertFailsWith<IllegalStateException> { parts.nextPart() }.also { expected -> assertThat(expected).hasMessage("closed") } } @Test fun `zero parts`() { val multipart = """ |--simple boundary-- """.trimMargin() .replace("\n", "\r\n") val parts = MultipartReader( boundary = "simple boundary",Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed May 28 02:11:14 GMT 2025 - 15.4K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/CacheStats.java
} /** * Returns a new {@code CacheStats} representing the difference between this {@code CacheStats} * and {@code other}. Negative values, which aren't supported by {@code CacheStats} will be * rounded up to zero. */ public CacheStats minus(CacheStats other) { return new CacheStats( max(0, saturatedSubtract(hitCount, other.hitCount)), max(0, saturatedSubtract(missCount, other.missCount)),Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 12.6K bytes - Click Count (0) -
guava/src/com/google/common/cache/CacheStats.java
} /** * Returns a new {@code CacheStats} representing the difference between this {@code CacheStats} * and {@code other}. Negative values, which aren't supported by {@code CacheStats} will be * rounded up to zero. */ public CacheStats minus(CacheStats other) { return new CacheStats( max(0, saturatedSubtract(hitCount, other.hitCount)), max(0, saturatedSubtract(missCount, other.missCount)),Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 12.6K bytes - Click Count (0) -
cmd/erasure-metadata_test.go
expectedOffset int64 expectedErr error }{ {0, 0, 0, nil}, {1 * humanize.MiByte, 0, 1 * humanize.MiByte, nil}, {1 + humanize.MiByte, 1, 0, nil}, {2 + humanize.MiByte, 1, 1, nil}, // Its valid for zero sized object. {-1, 0, -1, nil}, // Max fffset is always (size - 1). {(1 + 2 + 4 + 5 + 7) + (5 * humanize.MiByte) - 1, 4, 1048582, nil}, // Error if offset is size.Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 13.4K bytes - Click Count (0) -
src/test/java/jcifs/ntlmssp/av/AvPairsTest.java
}); assertEquals("Missing AvEOL", exception.getMessage(), "Should throw exception with correct message"); } /** * Test decode with invalid EOL (non-zero length) */ @Test @DisplayName("Decode should throw exception for invalid EOL length") void testDecodeInvalidEOL() { byte[] invalidEolData = new byte[6];Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.5K bytes - Click Count (0) -
src/bytes/example_test.go
clone[0] = 'd' fmt.Printf("%s\n", b) fmt.Printf("%s\n", clone) // Output: // abc // abc // dbc } func ExampleCompare() { // Interpret Compare's result by comparing it to zero. var a, b []byte if bytes.Compare(a, b) < 0 { // a less b } if bytes.Compare(a, b) <= 0 { // a less or equal b } if bytes.Compare(a, b) > 0 { // a greater b }
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Mon May 12 16:07:54 GMT 2025 - 16.5K bytes - Click Count (0) -
cmd/erasure.go
// list all errors that can be ignored in a bucket metadata operation. var bucketMetadataOpIgnoredErrs = append(bucketOpIgnoredErrs, errVolumeNotFound) // OfflineDisk represents an unavailable disk. var OfflineDisk StorageAPI // zero value is nil // erasureObjects - Implements ER object layer. type erasureObjects struct { setDriveCount int defaultParityCount int setIndex int poolIndex int
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 16.1K bytes - Click Count (0)