Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 998 for denote (0.39 sec)

  1. src/test/java/jcifs/smb1/dcerpc/ndr/NdrHyperTest.java

        }
    
        /**
         * Ensure decode throws NPE when passed a null buffer.
         */
        @Test
        @DisplayName("Decode with null buffer throws NullPointerException")
        public void testDecodeNullBuffer() throws NdrException {
            NdrHyper hyper = new NdrHyper(0L);
            assertThrows(NullPointerException.class, () -> hyper.decode(null));
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/nego/EncryptionNegotiateContextTest.java

            @Test
            @DisplayName("Should decode single cipher correctly")
            void testDecodeSingleCipher() throws SMBProtocolDecodingException {
                SMBUtil.writeInt2(1, buffer, 0);
                SMBUtil.writeInt2(EncryptionNegotiateContext.CIPHER_AES128_CCM, buffer, 2);
    
                EncryptionNegotiateContext context = new EncryptionNegotiateContext();
                int bytesRead = context.decode(buffer, 0, 4);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java

                // When: Decoding the value
                ndrShort.decode(mockBuffer);
    
                // Then: Should set the negative value directly (no masking on decode)
                verify(mockBuffer).dec_ndr_short();
                assertEquals(negativeValue, ndrShort.value);
            }
    
            @Test
            @DisplayName("Should decode large value correctly")
            void testDecodeLargeValue() throws NdrException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/msrpc/lsarpcIntegrationTest.java

            // Decode from buffer
            NdrBuffer decodeBuffer = new NdrBuffer(buffer, 0);
            lsarpc.LsarTranslatedName decodedName = new lsarpc.LsarTranslatedName();
            decodedName.decode(decodeBuffer);
    
            // Verify the decoded data matches
            assertEquals(translatedName.sid_type, decodedName.sid_type);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/rdma/RdmaProvider.java

        /**
         * Create RDMA connection to remote endpoint
         *
         * @param remote remote socket address
         * @param local local socket address, may be null for auto-binding
         * @return new RDMA connection instance
         * @throws IOException if connection creation fails
         */
        RdmaConnection createConnection(InetSocketAddress remote, InetSocketAddress local) throws IOException;
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/curl/CurlTest.java

            // ## Arrange ##
            final String url = "http://example.com";
    
            // ## Act ##
            final CurlRequest request = Curl.delete(url);
    
            // ## Assert ##
            assertNotNull(request);
            assertEquals(Method.DELETE, request.method());
        }
    
        @Test
        public void test_HeadFactoryMethod() {
            // ## Arrange ##
            final String url = "http://example.com";
    
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Nov 20 13:34:13 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/fscc/FileRenameInformation2Test.java

            FileRenameInformation2 info = new FileRenameInformation2();
            int bytesRead = info.decode(buffer, 0, buffer.length);
    
            assertEquals(20 + nameBytes.length, bytesRead);
        }
    
        @Test
        @DisplayName("Test decode with replaceIfExists false")
        void testDecodeWithReplaceIfExistsFalse() throws SMBProtocolDecodingException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/dcerpc/msrpc/netdfs.java

                        this.info = new DfsEnumStruct();
                    }
                    this.info.decode(_src);
    
                }
                final int _totalentriesp = _src.dec_ndr_long();
                if (_totalentriesp != 0) {
                    this.totalentries.decode(_src);
    
                }
                this.retval = _src.dec_ndr_long();
            }
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

        assertThat(UnsignedInts.decode("0xffffffff")).isEqualTo(0xffffffff);
        assertThat(UnsignedInts.decode("01234567")).isEqualTo(01234567); // octal
        assertThat(UnsignedInts.decode("#12345678")).isEqualTo(0x12345678);
        assertThat(UnsignedInts.decode("76543210")).isEqualTo(76543210);
        assertThat(UnsignedInts.decode("0x13579135")).isEqualTo(0x13579135);
        assertThat(UnsignedInts.decode("0X13579135")).isEqualTo(0x13579135);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  10. tests/test_reponse_set_reponse_code_empty.py

    app = FastAPI()
    
    
    @app.delete(
        "/{id}",
        status_code=204,
        response_model=None,
    )
    async def delete_deployment(
        id: int,
        response: Response,
    ) -> Any:
        response.status_code = 400
        return {"msg": "Status overwritten", "id": id}
    
    
    client = TestClient(app)
    
    
    def test_dependency_set_status_code():
        response = client.delete("/1")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 3.1K bytes
    - Viewed (0)
Back to top