Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1041 - 1050 of 1,254 for invalid (0.04 sec)

  1. src/test/java/jcifs/BufferCacheTest.java

            doNothing().when(mockBufferCache).releaseBuffer(buffer);
    
            // When & Then
            assertDoesNotThrow(() -> {
                mockBufferCache.releaseBuffer(buffer);
            }, "releaseBuffer should handle valid buffers");
        }
    
        @Test
        @DisplayName("getBuffer should return buffers for use")
        void testGetBufferBasicUsage() {
            // When
            byte[] buffer1 = testCache.getBuffer();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbFileInputStream.java

         * @param file
         * @param openFlags
         * @return
         * @throws SmbException
         */
        synchronized SmbFileHandleImpl ensureOpen() throws CIFSException {
            if (this.handle == null || !this.handle.isValid()) {
                // one extra acquire to keep this open till the stream is released
                if (this.file instanceof SmbNamedPipe) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrConnect2Test.java

                // Act & Assert - constructor should not throw
                assertDoesNotThrow(() -> new MsrpcSamrConnect2(systemName, accessMask, ph));
            }
    
            @Test
            @DisplayName("should create instance with valid parameters")
            void testConstructorCreatesInstance() {
                // Arrange
                String systemName = "\\\\server";
                int accessMask = 0x000F0000;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/NtTransQuerySecurityDescTest.java

            bb.put((byte) 0x00); // Reserved
            bb.put((byte) 0x00); // Reserved
            bb.putInt(securityInformation);
            return bb.array();
        }
    
        /**
         * Provide a range of values that are valid for the constructor.
         */
        static Stream<org.junit.jupiter.params.provider.Arguments> validInputs() {
            return Stream.of(org.junit.jupiter.params.provider.Arguments.of(0x0001, 0x00000000),
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  5. CONTRIBUTING.md

      `comp:` etc.  At this stage we check if the PR is valid and meets certain
      quality requirements. For example, we check if the CLA is signed, PR has
      sufficient description, if applicable unit tests are added, if it is a
      reasonable contribution (meaning it is not a single liner cosmetic PR).
    
    **2. Valid?**
    
    -   If the PR passes all the quality checks then we go ahead and assign a
        reviewer.
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Sat Jan 11 04:47:59 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/score/LtrQueryRescorerTest.java

            RescorerBuilder<?> result = ltrQueryRescorer.evaluate(params);
            assertNull(result);
        }
    
        public void test_evaluate_withValidModelName() {
            // Test with valid model name
            final String testModelName = "test_model";
            final int testWindowSize = 100;
    
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/HandlerTest.java

            // Assert
            assertEquals(445, port);
            assertEquals(SmbConstants.DEFAULT_PORT, port);
        }
    
        @Test
        @DisplayName("openConnection creates SmbFile for valid URL")
        void testOpenConnectionWithValidUrl() throws IOException {
            // Arrange - Create URL with handler
            URL url = new URL(null, "smb://host/share", handler);
    
            // Act
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  8. misc/ios/README

    The go_ios_exec wrapper uses GOARCH to select the emulator (amd64) or the device (arm64).
    However, further setup is required to run tests or programs directly on a device.
    
    First make sure you have a valid developer certificate and have setup your device properly
    to run apps signed by your developer certificate. Then install the libimobiledevice and
    ideviceinstaller tools from https://www.libimobiledevice.org/. Use the HEAD versions from
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Dec 29 21:49:26 UTC 2020
    - 2.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java

            boolean isAsync = response.isAsync();
    
            // Then
            assertFalse(isAsync);
            verify(response).isAsync();
        }
    
        @Test
        @DisplayName("Test getNextResponse method with valid next response")
        void testGetNextResponseWithValidResponse() {
            // Given
            when(response.getNextResponse()).thenReturn(nextResponse);
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java

                assertEquals(0, response.getTotalBytesWritten());
            }
        }
    
        @Nested
        @DisplayName("Decode Tests")
        class DecodeTests {
    
            @Test
            @DisplayName("Should decode valid copy chunk response")
            void testDecodeValidResponse() throws SMBProtocolDecodingException {
                byte[] buffer = createValidCopyChunkResponse(5, 65536, 327680);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.8K bytes
    - Viewed (0)
Back to top