Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 179 for differs (0.09 sec)

  1. src/test/java/jcifs/smb/SmbPipeHandleImplTest.java

            byte[] b = new byte[] { 10, 11, 12 };
            spyTarget.send(b, 1, 2);
            verify(out).writeDirect(b, 1, 2, 1);
        }
    
        @Test
        @DisplayName("sendrecv with null buffers throws relevant exceptions")
        void testSendRecvInvalidInputs() throws CIFSException {
            // Null out buffer for SMB2 path -> expect NPE when building request
            when(pipe.ensureTreeConnected()).thenReturn(tree);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/MIENameTest.java

                        return buf;
                    }, StringIndexOutOfBoundsException.class));
        }
    
        @ParameterizedTest(name = "{0}")
        @MethodSource("invalidBuffers")
        @DisplayName("Invalid buffers throw appropriate exceptions")
        void invalidInputsThrow(String name, Object bufferSupplierOrBytes, Class<? extends Throwable> expected) {
            // Arrange
            byte[] buf;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  3. CONTRIBUTING.md

    + Respect the original code style: by using the same [codestyle][code-style],
      patches should only highlight the actual difference, not being disturbed by any formatting issues:
      + Only use spaces for indentation.
      + Create minimal diffs - disable on save actions like reformat source code or organize imports.
        If you feel the source code should be reformatted, create a separate PR for this change.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Jun 07 09:55:33 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java

                assertThrows(NullPointerException.class, () -> {
                    response.readDataWireFormat(null, 0, 0);
                });
            }
        }
    
        // Helper methods for creating test buffers
    
        private byte[] createValidDfsReferralBuffer() {
            // Create a buffer representing a valid DFS referral response
            // Need to include space for actual string data
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbTransportImplTest.java

                assertNotNull(hash2);
                assertEquals(64, hash2.length);
                assertNotEquals(new String(hash1), new String(hash2), "Chained hash should differ");
            }
    
            @Test
            @DisplayName("createEncryptionContext rejects when SMB2/3 not negotiated")
            void createEncryptionContext_rejects_noNegotiation() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/reflect/Invokable.java

       *     control and the underlying method or constructor is inaccessible.
       * @throws IllegalArgumentException if the number of actual and formal parameters differ; if an
       *     unwrapping conversion for primitive arguments fails; or if, after possible unwrapping, a
       *     parameter value cannot be converted to the corresponding formal parameter type by a method
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java

            lenient().when(mockDcerpcBinding.getEndpoint()).thenReturn(TEST_ENDPOINT);
            lenient().when(mockContext.getBufferCache()).thenReturn(mockBufferCache);
    
            // Setup buffer cache to return buffers for sendrecv operations
            lenient().when(mockBufferCache.getBuffer()).thenReturn(new byte[8192]);
        }
    
        /**
         * Helper method to create a DcerpcPipeHandle with injected mocks
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java

        }
    
        @Test
        @DisplayName("Methods should handle null buffer without validation")
        void testMethodsWithNullBuffer() {
            // The implementation doesn't validate null buffers
            // These methods simply return 0 without accessing the buffer
    
            // Write methods return 0 without accessing null buffer
            assertEquals(0, response.writeSetupWireFormat(null, 0));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  9. docs/metrics/prometheus/README.md

    # How to monitor MinIO server with Prometheus? [![Slack](https://slack.min.io/slack?type=svg)](https://slack.min.io)
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/Configuration.java

         */
        int getNetbiosCachePolicy();
    
        /**
         * Gets the maximum buffer size for IO operations
         *
         * @return the maximum size of IO buffers, limits the maximum message size
         */
        int getMaximumBufferSize();
    
        /**
         *
         * Property {@code jcifs.smb.client.transaction_buf_size} (int, default 65535)
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 25.4K bytes
    - Viewed (0)
Back to top