- Sort Score
- Result 10 results
- Languages All
Results 561 - 570 of 864 for Hero (0.63 sec)
-
src/test/java/jcifs/internal/smb2/lease/Smb2LeaseKeyTest.java
Smb2LeaseKey key = new Smb2LeaseKey(testBytes); assertArrayEquals(testBytes, key.getKey()); assertFalse(key.isZero()); } @Test @DisplayName("Should create zero lease key") void testZeroLeaseKey() { byte[] zeroBytes = new byte[16]; Arrays.fill(zeroBytes, (byte) 0); Smb2LeaseKey key = new Smb2LeaseKey(zeroBytes); assertTrue(key.isZero());Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt
) { exchange.noNewExchangesOnConnection() } if ((code == 204 || code == 205) && response.body.contentLength() > 0L) { throw ProtocolException( "HTTP $code had non-zero Content-Length: ${response.body.contentLength()}", ) } return response } catch (e: IOException) { if (sendRequestException != null) { sendRequestException.addSuppressed(e)Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Oct 30 13:46:58 UTC 2025 - 7.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java
int offset = 0; setHeaderStart(response, 64); // Write structure with zero length SMBUtil.writeInt2(9, buffer, offset); SMBUtil.writeInt2(80 - 64, buffer, offset + 2); SMBUtil.writeInt4(0, buffer, offset + 4); // Zero length // When int bytesRead = response.readBytesWireFormat(buffer, offset); // ThenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 18.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SID.java
*/ public boolean isEmpty() { return this.sub_authority_count == 0; } /** * Checks whether the SID is blank (all sub-authorities zero). * * @return whether the SID is blank (all sub-authorities zero) */ public boolean isBlank() { boolean blank = true; for (final int sub : this.sub_authority) { blank = blank && sub == 0; }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 16K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationTest.java
assertEquals(0, buffer[1], "Second byte must be null terminator for empty string"); } @Test @DisplayName("readBytesWireFormat is a no‑op and returns zero") void testReadBytesWireFormatNoop() { byte[] buffer = new byte[10]; int used = cmd.readBytesWireFormat(buffer, 0); assertEquals(0, used, "readBytesWireFormat is unimplemented and must return 0");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComTransactionResponse.java
bufferIndex += 2; setupCount = buffer[bufferIndex] & 0xFF; bufferIndex += 2; if ((setupCount != 0) && (LogStream.level > 2)) { log.println("setupCount is not zero: " + setupCount); } return bufferIndex - start; } @Override int readBytesWireFormat(final byte[] buffer, int bufferIndex) { pad = pad1 = 0; final int n;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/PerCollectionSizeTestSuiteBuilder.java
sizesToTest.retainAll(features); features.removeAll(sizesToTest); addImpliedFeatures(sizesToTest); sizesToTest.retainAll(asList(CollectionSize.ZERO, CollectionSize.ONE, CollectionSize.SEVERAL)); logger.fine(" Sizes: " + formatFeatureSet(sizesToTest)); if (sizesToTest.isEmpty()) { throw new IllegalStateException( name
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 20:54:16 UTC 2025 - 5.4K bytes - Viewed (0) -
cmd/dynamic-timeouts.go
// newDynamicTimeout returns a new dynamic timeout initialized with timeout value func newDynamicTimeout(timeout, minimum time.Duration) *dynamicTimeout { if timeout <= 0 || minimum <= 0 { panic("newDynamicTimeout: negative or zero timeout") } if minimum > timeout { minimum = timeout } return &dynamicTimeout{timeout: int64(timeout), minimum: int64(minimum)} } // Timeout returns the current timeout value
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 4.5K bytes - Viewed (0) -
internal/bucket/lifecycle/evaluator_test.go
{Action: NoneAction}, } for i := range wantEvents { if gotEvents[i].Action != wantEvents[i].Action { t.Fatalf("test-%d: got %v, want %v", i+1, gotEvents[i], wantEvents[i]) } } // Test with zero versions events, err := evaluator.Eval(nil) if len(events) != 0 || err != nil { t.Fatal("expected no events nor error") } } func TestEmptyEvaluator(t *testing.T) { var objs []ObjectOptsRegistered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Apr 08 15:41:24 UTC 2025 - 5K bytes - Viewed (0) -
guava/src/com/google/common/cache/CacheBuilder.java
* For example, the cache may evict an entry because it hasn't been used recently or very often. * * <p>If {@code maximumSize} is zero, elements will be evicted immediately after being loaded into * cache. This can be useful in testing, or to disable caching temporarily. * * <p>This feature cannot be used in conjunction with {@link #maximumWeight}.
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Oct 08 18:55:33 UTC 2025 - 51.6K bytes - Viewed (0)