Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for 0500 (0.01 sec)

  1. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

            void testVerifySignatureExceedsBuffer() {
                byte[] data = new byte[50]; // Too small for signature field
                boolean result = digest.verify(data, 0, 50, 0, response);
                assertFalse(result, "Should return false when signature field exceeds buffer");
            }
    
            @Test
            @DisplayName("Should accept valid parameters in sign method")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/netbios/NameServiceClientImpl.java

     */
    public class NameServiceClientImpl implements Runnable, NameServiceClient {
    
        private static final int NAME_SERVICE_UDP_PORT = 137;
    
        static final byte[] UNKNOWN_MAC_ADDRESS = { (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00 };
    
        private static final Logger log = LoggerFactory.getLogger(NameServiceClientImpl.class);
    
        private final Object LOCK = new Object();
    
        private int nbnsIndex = 0;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 38.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/ServerResponseValidatorTest.java

            // SMB2 header
            validator.validateSmbHeader(0x424D53FE, 64, 0x00);
        }
    
        @Test
        public void testInvalidProtocolId() throws Exception {
            assertThrows(SmbException.class, () -> {
                validator.validateSmbHeader(0xDEADBEEF, 64, 0x00);
            });
        }
    
        @Test
        public void testInvalidSmb1HeaderSize() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  4. cmd/erasure-encode_test.go

    	b.Run(" 0000|X000 ", func(b *testing.B) { benchmarkErasureEncode(4, 4, 0, 1, size, b) })
    	b.Run(" X000|0000 ", func(b *testing.B) { benchmarkErasureEncode(4, 4, 1, 0, size, b) })
    	b.Run(" 0000|XXX0 ", func(b *testing.B) { benchmarkErasureEncode(4, 4, 0, 3, size, b) })
    	b.Run(" XXX0|0000 ", func(b *testing.B) { benchmarkErasureEncode(4, 4, 3, 0, size, b) })
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

                response.readBytesWireFormat(buffer, 0);
            });
    
            assertTrue(exception.getMessage().contains("Invalid negotiate context count: 1000"));
            assertTrue(exception.getMessage().contains("must be 0-100"));
        }
    
        /**
         * Test validation of negative negotiate context count.
         */
        @Test
        public void testNegativeNegotiateContextCount() {
            byte[] buffer = createBasicNegotiateResponseBuffer();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/debugging.md

    ```
    
    </div>
    
    then the internal variable `__name__` in your file, created automatically by Python, will have as value the string `"__main__"`.
    
    So, the section:
    
    ```Python
        uvicorn.run(app, host="0.0.0.0", port=8000)
    ```
    
    will run.
    
    ---
    
    This won't happen if you import that module (file).
    
    So, if you have another file `importer.py` with:
    
    ```Python
    from myapp import app
    
    # Some more code
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  7. cmd/erasure-decode_test.go

    	b.Run(" 0000|0000 ", func(b *testing.B) { benchmarkErasureDecode(4, 4, 0, 0, size, b) })
    	b.Run(" 0000|X000 ", func(b *testing.B) { benchmarkErasureDecode(4, 4, 0, 1, size, b) })
    	b.Run(" X000|0000 ", func(b *testing.B) { benchmarkErasureDecode(4, 4, 1, 0, size, b) })
    	b.Run(" X000|X000 ", func(b *testing.B) { benchmarkErasureDecode(4, 4, 1, 1, size, b) })
    	b.Run(" 0000|XXXX ", func(b *testing.B) { benchmarkErasureDecode(4, 4, 0, 4, size, b) })
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 21K bytes
    - Viewed (0)
  8. src/test/java/jcifs/netbios/NameServiceClientImplTest.java

            // When
            NetbiosName unknownName = nameServiceClient.getUnknownName();
    
            // Then
            assertNotNull(unknownName, "Unknown name should not be null");
            assertEquals("0.0.0.0", unknownName.getName(), "Unknown name should be 0.0.0.0");
        }
    
        @Test
        @DisplayName("Should handle null hostname in getByName")
        void testGetByNameWithNull() {
            // When/Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

                this.andx = null;
    
                dst[start + ANDX_COMMAND_OFFSET] = (byte) 0xFF;
                dst[start + ANDX_RESERVED_OFFSET] = (byte) 0x00;
                // dst[start + ANDX_OFFSET_OFFSET] = (byte)0x00;
                // dst[start + ANDX_OFFSET_OFFSET + 1] = (byte)0x00;
                dst[start + ANDX_OFFSET_OFFSET] = (byte) 0xde;
                dst[start + ANDX_OFFSET_OFFSET + 1] = (byte) 0xde;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  10. docs/en/docs/deployment/manually.md

    If you installed an ASGI server manually, you would normally need to pass an import string in a special format for it to import your FastAPI application:
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --host 0.0.0.0 --port 80
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://0.0.0.0:80 (Press CTRL+C to quit)
    ```
    
    </div>
    
    /// note
    
    The command `uvicorn main:app` refers to:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 6.9K bytes
    - Viewed (0)
Back to top