- Sort Score
- Result 10 results
- Languages All
Results 1741 - 1750 of 2,109 for collect (0.04 sec)
-
src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java
testNonce = new byte[16]; new SecureRandom().nextBytes(testNonce); testSessionId = 0x123456789ABCDEF0L; } @Test @DisplayName("Should create transform header with correct size") void testTransformHeaderSize() { // When int headerSize = transformHeader.size(); // Then assertEquals(52, headerSize); // SMB2 Transform Header is 52 bytes }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.7K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/internal/RecordedRequestFactory.kt
body: ByteString?, connectionIndex: Int, exchangeIndex: Int, socket: MockWebServerSocket, failure: IOException? = null, ): RecordedRequest { val requestUrl = when (requestLine.method) { "CONNECT" -> "${socket.scheme}://${requestLine.target}/".toHttpUrlOrNull() else -> null } ?: requestLine.target.toHttpUrlOrNull() ?: requestUrl(socket, requestLine, headers) return RecordedRequest(Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Jul 29 12:43:16 UTC 2025 - 3.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/DosErrorTest.java
Optional<Integer> noMatch = findNtStatus(0xdeadbeef); assertFalse(noMatch.isPresent(), "Mapping for unknown code should be absent"); } @Test @DisplayName("Mocked consumer receives correct NTSTATUS value") void testConsumerInteraction() { final int dosErr = 0x00010001; final int expectedNt = 0xc0000002; interface NtStatusConsumer { void consume(int ntStatus);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
.github/workflows/mint/nginx-8-node.conf
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-NginX-Proxy true; # This is necessary to pass the correct IP to be hashed real_ip_header X-Real-IP; proxy_connect_timeout 300; # To support websocket proxy_http_version 1.1;Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed May 15 16:52:29 UTC 2024 - 3.4K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrExceptionTest.java
import org.junit.jupiter.api.Test; class NdrExceptionTest { /** * Test the constructor with a message. * Ensures that the exception is created with the correct message. */ @Test void testConstructorWithMessage() { String testMessage = "This is a test message for NdrException."; NdrException exception = new NdrException(testMessage);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2CancelRequestTest.java
int expectedSize = ((Smb2Constants.SMB2_HEADER_LENGTH + 4 + 7) / 8) * 8; assertEquals(expectedSize, size, "Size calculation should be correct and 8-byte aligned"); } @Test @DisplayName("Test writeBytesWireFormat writes correct bytes") void testWriteBytesWireFormat() { // Given Smb2CancelRequest request = new Smb2CancelRequest(mockConfig, 1L, 0L);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.8K bytes - Viewed (0) -
tests/embedded_struct_test.go
t.Errorf("No error should happen when find embedded pointer type, but got %v", err) } if hnPost.Title != "embedded_pointer_type" { t.Errorf("Should find correct value for embedded pointer type") } if hnPost.Author != nil { t.Errorf("Expected to get back a nil Author but got: %v", hnPost.Author) } now := time.Now().Round(time.Second) NewPost := HNPost{
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Wed May 08 04:07:58 UTC 2024 - 7.3K bytes - Viewed (0) -
docs/sts/client-grants.go
clientSecret string ) func init() { flag.StringVar(&stsEndpoint, "sts-ep", "http://localhost:9000", "STS endpoint") flag.StringVar(&idpEndpoint, "idp-ep", "http://localhost:8080/auth/realms/minio/protocol/openid-connect/token", "IDP token endpoint") flag.StringVar(&clientID, "cid", "", "Client ID") flag.StringVar(&clientSecret, "csec", "", "Client secret") } func getTokenExpiry() (*credentials.ClientGrantsToken, error) {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Aug 19 01:35:22 UTC 2021 - 3.3K bytes - Viewed (0) -
misc/ios/detect.go
// Copyright 2015 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build ignore // detect attempts to autodetect the correct // values of the environment variables // used by go_ios_exec. // detect shells out to ideviceinfo, a third party program that can // be obtained by following the instructions at // https://github.com/libimobiledevice/libimobiledevice.
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu Oct 19 23:33:30 UTC 2023 - 3.2K bytes - Viewed (0) -
docs/en/docs/async.md
Then, when it's your turn, you do actual "productive" work, you process the menu, decide what you want, get your crush's choice, pay, check that you give the correct bill or card, check that you are charged correctly, check that the order has the correct items, etc. But then, even though you still don't have your burgers, your work with the cashier is "on pause" ⏸, because you have to wait 🕙 for your burgers to be ready.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:56:21 UTC 2025 - 24K bytes - Viewed (0)