Search Options

Results per page
Sort
Preferred Languages
Advance

Results 801 - 810 of 1,178 for First (0.01 sec)

  1. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java

            assertSame(mockFileEntry2, retrievedEntries[1]);
        }
    
        @Test
        @DisplayName("Test nextElement method")
        void testNextElement() {
            // First call returns self
            SmbComTransactionResponse result = response.nextElement();
            assertSame(response, result);
        }
    
        @Test
        @DisplayName("Test hasMoreElements method")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java

        }
    
        /*
         * We overload this method from ServerMessageBlock because
         * we want writeAndXWireFormat to write the parameterWords
         * and bytes. This is so we can write batched smbs because
         * all but the first smb of the chaain do not have a header
         * and therefore we do not want to writeHeaderWireFormat. We
         * just recursivly call writeAndXWireFormat.
         */
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/extra-models.md

    /// note
    
    When defining a <a href="https://docs.pydantic.dev/latest/concepts/types/#unions" class="external-link" target="_blank">`Union`</a>, include the most specific type first, followed by the less specific type. In the example below, the more specific `PlaneItem` comes before `CarItem` in `Union[PlaneItem, CarItem]`.
    
    ///
    
    {* ../../docs_src/extra_models/tutorial003_py310.py hl[1,14:15,18:20,33] *}
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/CancelTest.kt

      private lateinit var server: MockWebServer
      private lateinit var client: OkHttpClient
    
      val listener = RecordingEventListener()
    
      fun setUp(mode: Pair<CancelMode, ConnectionType>) {
        this.cancelMode = mode.first
        this.connectionType = mode.second
    
        if (connectionType == H2) {
          platform.assumeHttp2Support()
        }
    
        // Sockets on some platforms can have large buffers that mean writes do not block when
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SpnegoContextTest.java

        @DisplayName("initSecContext throws on invalid token type")
        void testInitSecContextInvalidTokenType(byte firstByte) throws Exception {
            SpnegoContext ctx = newContext();
    
            // Invalid first byte should be rejected by token parsing
            CIFSException ex = assertThrows(CIFSException.class, () -> ctx.initSecContext(new byte[] { firstByte }, 0, 1));
            assertEquals("Invalid token", ex.getMessage());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  6. doc/asm.html

    with the length as the first argument.
    For example, <code>XC</code> <code>$8,</code> <code>(R9),</code> <code>(R9)</code> would clear
    eight bytes at the address specified in <code>R9</code>.
    </p>
    
    <p>
    If a vector instruction takes a length or an index as an argument then it will be the
    first argument.
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Nov 28 19:15:27 UTC 2023
    - 36.3K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/api/WebApiRequestTest.java

            final String customPath = "/api/v1/dynamic";
            mockRequest.setServletPath(originalPath);
    
            webApiRequest = new WebApiRequest(mockRequest, customPath);
    
            // First call without SAStruts.method
            mockRequest.setQueryString("query=test");
            assertEquals(customPath, webApiRequest.getServletPath());
    
            // Second call with SAStruts.method
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java

        class IntegrationTests {
    
            @Test
            @DisplayName("Should maintain state after multiple reads")
            void testMultipleReads() throws SMBProtocolDecodingException {
                // First read
                byte[] buffer1 = createValidWriteResponse(1024, 512);
                response.readBytesWireFormat(buffer1, 0);
                assertEquals(1024, response.getCount());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

        @DisplayName("Should handle sequential operations")
        void testSequentialOperations() {
            // Given
            request.setNotifyFlags(0);
            request.setCompletionFilter(0);
    
            // When - first write
            byte[] buffer1 = new byte[512];
            request.writeBytesWireFormat(buffer1, 0);
    
            // Update values
            request.setNotifyFlags(Smb2ChangeNotifyRequest.SMB2_WATCH_TREE);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SSPContextTest.java

                assertTrue(ctx.isMICAvailable(), "MIC available when established + integrity");
    
                assertTrue(ctx.isSupported(mech1), "mech1 supported");
                assertTrue(ctx.isPreferredMech(mech1), "first supported is preferred");
                assertArrayEquals(new ASN1ObjectIdentifier[] { mech1, mech2 }, ctx.getSupportedMechs(), "supported mechs");
    
                // MIC roundtrip: calculate then verify
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.2K bytes
    - Viewed (0)
Back to top