Search Options

Results per page
Sort
Preferred Languages
Advance

Results 511 - 520 of 4,121 for Void (1.44 sec)

  1. src/test/java/jcifs/internal/util/StringUtilTest.java

     */
    class StringUtilTest {
    
        @Test
        @DisplayName("Should join single element without delimiter")
        void testJoinSingleElement() {
            String result = StringUtil.join(",", "hello");
            assertEquals("hello", result);
        }
    
        @Test
        @DisplayName("Should join two elements with delimiter")
        void testJoinTwoElements() {
            String result = StringUtil.join(",", "hello", "world");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/io/Smb2WriteRequest.java

         */
        public void setData(final byte[] data, final int offset, final int length) {
            this.data = data;
            this.dataOffset = offset;
            this.dataLength = length;
        }
    
        /**
         * Sets the number of bytes remaining to be written in a sequence of write operations.
         *
         * @param remainingBytes the remainingBytes to set
         */
        public void setRemainingBytes(final int remainingBytes) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java

    /**
     * Unit tests for the Trans2FindNext2 class.
     */
    class Trans2FindNext2Test {
    
        /**
         * Verifies constructor initializes protocol fields and limits correctly.
         */
        @Test
        void testConstructorInitializesFields() {
            // Given
            int sid = 0x2222;
            int resumeKey = 0x12345678;
            String filename = "dir\\pattern*";
    
            // When
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/audit/SecurityAuditLogger.java

         * @param context additional context
         */
        public void logSecurityViolation(String violation, Map<String, Object> context) {
            String message = "Security violation detected: " + violation;
            logEvent(EventType.SECURITY_VIOLATION, Severity.CRITICAL, message, context);
        }
    
        private void processLogEntry(AuditEntry entry) {
            if (enableJsonLogging) {
                logAsJson(entry);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/SetViewTest.java

      public void testSymmetricDifference_isView() {
        Set<Integer> set1 = newHashSet(1, 2);
        Set<Integer> set2 = newHashSet(2, 3);
        Set<Integer> difference = symmetricDifference(set1, set2);
        assertThat(difference).containsExactly(1, 3);
        set1.add(0);
        assertThat(difference).containsExactly(0, 1, 3);
        set2.remove(2);
        assertThat(difference).containsExactly(0, 1, 2, 3);
      }
    
      public void testImmutableCopy_empty() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.9K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapPutIfAbsentTester.java

      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPutIfAbsent_supportedAbsent() {
        assertNull("putIfAbsent(notPresent, value) should return null", putIfAbsent(e3()));
        expectAdded(e3());
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testPutIfAbsent_supportedPresent() {
        assertEquals(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/math/IntMathTest.java

        }
      }
    
      public void testFloorPowerOfTwoNegative() {
        for (int x : NEGATIVE_INTEGER_CANDIDATES) {
          assertThrows(IllegalArgumentException.class, () -> IntMath.floorPowerOfTwo(x));
        }
      }
    
      public void testCeilingPowerOfTwoZero() {
        assertThrows(IllegalArgumentException.class, () -> IntMath.ceilingPowerOfTwo(0));
      }
    
      public void testFloorPowerOfTwoZero() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/escape/ArrayBasedUnicodeEscaperTest.java

          ImmutableMap.of(
              '\n', "<newline>",
              '\t', "<tab>",
              '&', "<and>");
      private static final char[] NO_CHARS = new char[0];
    
      public void testReplacements() throws IOException {
        // In reality this is not a very sensible escaper to have (if you are only
        // escaping elements from a map you would use a ArrayBasedCharEscaper).
        UnicodeEscaper escaper =
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Feb 18 15:41:04 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/aether/LegacyRepositorySystemSessionExtender.java

     *
     * @since 4.0.0
     */
    @Named
    @Singleton
    public class LegacyRepositorySystemSessionExtender implements RepositorySystemSessionExtender {
        @Override
        public void extend(
                MavenExecutionRequest mavenExecutionRequest,
                Map<String, Object> configProperties,
                MirrorSelector mirrorSelector,
                ProxySelector proxySelector,
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponseTest.java

     */
    class SrvRequestResumeKeyResponseTest {
    
        private SrvRequestResumeKeyResponse response;
    
        @BeforeEach
        void setUp() {
            response = new SrvRequestResumeKeyResponse();
        }
    
        @Test
        @DisplayName("Test successful decode with valid resume key")
        void testDecodeValidResumeKey() throws SMBProtocolDecodingException {
            // Prepare test data - 24 bytes for resume key + 4 bytes for context length
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
Back to top