- Sort Score
- Result 10 results
- Languages All
Results 351 - 360 of 475 for korrekt (0.18 sec)
-
src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java
try { int read = sis.read(buffer, 0, 10); // Should read all 5 available bytes assertEquals(5, read); // Verify correct data for (int i = 0; i < 5; i++) { assertEquals(i + 1, buffer[i]); } // Next read will try to read header and should fail
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
cmd/signature-v4.go
} // Verify if sha256 payload query is same. if clntHashedPayload != "" && clntHashedPayload != query.Get(xhttp.AmzContentSha256) { return ErrContentSHA256Mismatch } // Verify if security token is correct. if token != "" && subtle.ConstantTimeCompare([]byte(token), []byte(cred.SessionToken)) != 1 { return ErrInvalidToken } // Verify finally if signature is same. // Get canonical request.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Dec 13 22:19:12 UTC 2024 - 12.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java
assertEquals(4096, response.getChunkBytesWritten()); assertEquals(12288, response.getTotalBytesWritten()); } @Test @DisplayName("Should return correct bytes consumed") void testReturnBytesConsumed() throws SMBProtocolDecodingException { byte[] buffer = new byte[100]; byte[] responseData = createValidCopyChunkResponse(8, 16384, 131072);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/QuantilesTest.java
.of(expectedLargeDatasetPercentile(index)); } } @AndroidIncompatible // slow public void testPercentiles_index_computeInPlace() { // Assert that the computation gives the correct result for all possible percentiles. for (int index = 0; index <= 100; index++) { double[] dataset = Doubles.toArray(PSEUDORANDOM_DATASET); assertWithMessage("quantile at index " + index)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 29.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/QuantilesTest.java
.of(expectedLargeDatasetPercentile(index)); } } @AndroidIncompatible // slow public void testPercentiles_index_computeInPlace() { // Assert that the computation gives the correct result for all possible percentiles. for (int index = 0; index <= 100; index++) { double[] dataset = Doubles.toArray(PSEUDORANDOM_DATASET); assertWithMessage("quantile at index " + index)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 29.8K bytes - Viewed (0) -
cmd/object-api-datatypes.go
if o.IsLatest { ts.NumObjects = 1 } return ts } // ToObjectInfo converts a replication object info to a partial ObjectInfo // do not rely on this function to give you correct ObjectInfo, this // function is merely and optimization. func (ri ReplicateObjectInfo) ToObjectInfo() ObjectInfo { return ObjectInfo{ Name: ri.Name, Bucket: ri.Bucket,
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 21.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java
// Create a new digest for verification with same key SMB1SigningDigest verifyDigest = new SMB1SigningDigest(testMacSigningKey); // Verify should return false when signature is correct (no error) // The code returns true on line 281 when signatures DON'T match boolean result = verifyDigest.verify(data, 0, data.length, 0, mockRequest);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/WebApiUtilTest.java
} public void test_static_method_signatures() { // Verify all public static methods exist with correct signatures try { // setObject(String, Object) Method setObjectMethod = WebApiUtil.class.getMethod("setObject", String.class, Object.class);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 17.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java
// Should write FileInformation data + 6 bytes padding assertEquals(36, written); // 30 + 6 // Verify encode was called with correct offset verify(mockFileInfo).encode(buffer, offset); } @Test @DisplayName("Test readSetupWireFormat returns 0") void testReadSetupWireFormat() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.8K bytes - Viewed (0) -
android/guava/src/com/google/common/escape/UnicodeEscaper.java
* difference. A CharEscaper can only process Java <a * href="http://en.wikipedia.org/wiki/UTF-16">UTF16</a> characters in isolation and may not cope * when it encounters surrogate pairs. This class facilitates the correct escaping of all Unicode * characters. * * <p>As there are important reasons, including potential security issues, to handle Unicode
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 15:45:16 UTC 2025 - 13.2K bytes - Viewed (0)