Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1741 - 1750 of 2,109 for collect (0.05 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. src/main/java/jcifs/util/ResourceManager.java

                ResourceHolder holder = entry.getValue();
    
                // Check if resource is abandoned
                if (!holder.closed && !holder.isAlive()) {
                    // Resource object has been garbage collected but not closed
                    reportLeak(holder);
                    activeResources.remove(entry.getKey());
                    cleaned++;
                } else if (!holder.closed && holder.getAge() > maxResourceAge * 2) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. .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)
  9. src/test/java/jcifs/internal/AllocInfoTest.java

            }
    
            @Test
            @DisplayName("Should define getCapacity method")
            void shouldDefineGetCapacityMethod() throws NoSuchMethodException {
                // Verify method exists with correct signature
                assertNotNull(AllocInfo.class.getMethod("getCapacity"));
                assertEquals(long.class, AllocInfo.class.getMethod("getCapacity").getReturnType());
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  10. .github/workflows/mint/nginx-1-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: Fri Mar 31 21:38:10 UTC 2023
    - 2.8K bytes
    - Viewed (0)
Back to top