- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 161 for 1234 (0.19 sec)
-
android/guava-tests/test/com/google/common/cache/CacheEvictionTest.java
Set<Integer> keySet = cache.asMap().keySet(); assertThat(keySet).isEmpty(); // add 0, 1, 2, 3, 4 getAll(cache, asList(0, 1, 2, 3, 4)); CacheTesting.drainRecencyQueues(cache); assertThat(keySet).containsExactly(0, 1, 2, 3, 4); // invalidate all cache.invalidateAll(); CacheTesting.drainRecencyQueues(cache); assertThat(keySet).isEmpty();Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:19:59 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java
public class ContentOutputStreamTest { @Test public void inMemory() throws IOException { ContentOutputStream cos = new ContentOutputStream(10, Curl.tmpDir); cos.write(new byte[] { 0, 1, 2, 3, 4 }); assertFalse(cos.done); assertTrue(cos.isInMemory()); cos.close(); assertFalse(cos.done); } @Test public void inFile() throws IOException {Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Wed Nov 12 14:01:04 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrLongTest.java
void setUp() { MockitoAnnotations.openMocks(this); } @Test void constructor_shouldInitializeValueCorrectly() { // Test case 1: Positive value int positiveValue = 12345; NdrLong ndrLongPositive = new NdrLong(positiveValue); assertEquals(positiveValue, ndrLongPositive.value, "Constructor should correctly initialize with a positive value."); // Test case 2: Negative value
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.2K bytes - Viewed (0) -
samples/tlssurvey/src/main/kotlin/okhttp3/survey/RunSurvey.kt
val java12 = sslLabsClients.first { it.userAgent == "Java" && it.version == "12.0.1" } val safari12iOS = sslLabsClients.first { it.userAgent == "Safari" && it.platform == "iOS 12.3.1" } val safari12Osx = sslLabsClients.first { it.userAgent == "Safari" && it.platform == "MacOS 10.14.6 Beta" } val okhttp = currentOkHttp(ianaSuitesNew) val okHttp_4_10 = historicOkHttp("4.10")Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.5K bytes - Viewed (0) -
docs/debugging/inspect/go.mod
module github.com/minio/minio/docs/debugging/inspect go 1.23.0 toolchain go1.24.8 require ( github.com/klauspost/compress v1.17.11 github.com/klauspost/filepathx v1.1.1 github.com/minio/colorjson v1.0.8 github.com/minio/madmin-go/v3 v3.0.88 github.com/secure-io/sio-go v0.3.1 github.com/tinylib/msgp v1.2.5 ) require ( github.com/cespare/xxhash/v2 v2.3.0 // indirect github.com/fatih/color v1.18.0 // indirect
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Oct 10 18:57:03 UTC 2025 - 722 bytes - Viewed (0) -
internal/bucket/encryption/bucket-sse-config_test.go
{ inputXML: `<ServerSideEncryptionConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Rule><ApplyServerSideEncryptionByDefault><SSEAlgorithm>AES256</SSEAlgorithm><KMSMasterKeyID>arn:aws:kms:us-east-1:1234/5678example</KMSMasterKeyID></ApplyServerSideEncryptionByDefault></Rule></ServerSideEncryptionConfiguration>`, expectedErr: errors.New("MasterKeyID is allowed with aws:kms only"), shouldPass: false, },Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Aug 16 18:28:30 UTC 2022 - 6.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java
} @Test @DisplayName("Test createCancel method returns SmbComNtCancel") void testCreateCancel() { // Set a MID for the transaction transaction.setMid(12345); // Create cancel request CommonServerMessageBlockRequest cancelRequest = transaction.createCancel(); // Verify it returns an SmbComNtCancel instance assertNotNull(cancelRequest);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2LogoffRequestTest.java
// Arrange Smb2LogoffRequest req = newRequest(); // Act int resultWithNull = req.readBytesWireFormat(null, 0); int resultWithData = req.readBytesWireFormat(new byte[] { 1, 2, 3 }, 1); // Assert assertEquals(0, resultWithNull, "Should return 0 for null buffer"); assertEquals(0, resultWithData, "Should return 0 regardless of input data"); } @NestedRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java
byte[] buffer = { 1, 2, 3, 4, 5 }; response.setRetainPayload(true); response.setDigest(null); response.haveResponse(buffer, 1, 3); byte[] payload = response.getRawPayload(); assertNotNull(payload); assertEquals(3, payload.length); assertArrayEquals(new byte[] { 2, 3, 4 }, payload);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComWriteTest.java
} /** * Test writeBytesWireFormat writes data correctly */ @Test public void testWriteBytesWireFormat() { // Arrange byte[] data = { 1, 2, 3, 4, 5 }; SmbComWrite write = new SmbComWrite(); write.setParam(0, 0L, 0, data, 1, 3); // Write bytes 2,3,4 byte[] dst = new byte[10]; // ActRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0)