Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 366 for EXTRA (0.02 sec)

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

            assertEquals(4, impl.getBuffer().length);
        }
    
        // Capacity behavior: when full, additional releases are dropped; only cached buffers are returned
        @Test
        @DisplayName("Cache capacity respected: extra releases dropped; retrieval order by first free slot")
        void cacheCapacityAndRetrievalOrder() {
            BufferCacheImpl impl = new BufferCacheImpl(2, 3);
            byte[] a = new byte[1];
            byte[] c = new byte[2];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/http/NtlmHttpFilter.java

             * techinque that NTLMv2 specifically thwarts. A real NTLM Filter would
             * need to do a NETLOGON RPC that JCIFS will likely never implement
             * because it requires a lot of extra crypto not used by CIFS.
             */
            Config.setProperty("jcifs.smb1.smb.lmCompatibility", "0");
            Config.setProperty("jcifs.smb1.smb.client.useExtendedSecurity", "false");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java

            byte[] fileNameBytes = fileName.getBytes(StandardCharsets.UTF_16LE);
            int totalSize = 12 + fileNameBytes.length + 50; // Extra space for safety
            byte[] buffer = new byte[totalSize];
    
            // Write next entry offset (4 bytes)
            SMBUtil.writeInt4(nextOffset, buffer, 0);
    
            // Write action (4 bytes)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SecurityBlobTest.java

            SecurityBlob longer = new SecurityBlob(new byte[] { 1, 2, 9 });
    
            // Act & Assert
            // Due to implementation, iteration uses this.b.length and ignores extra bytes in argument
            assertTrue(shorter.equals(longer), "Shorter equals longer when prefix matches (implementation behavior)");
    
            // In the opposite direction, an out-of-bounds occurs internally and is caught as false
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java

            assertTrue(secondBufferFormatIndex > 0, "Second buffer format byte not found");
            assertEquals((byte) 0x04, dst[secondBufferFormatIndex]);
            assertEquals((byte) 0x00, dst[secondBufferFormatIndex + 1]); // Extra null byte for Unicode alignment
        }
    
        /**
         * Test writeBytesWireFormat with empty file names
         */
        @Test
        @DisplayName("Test writeBytesWireFormat with empty file names")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/SMBSigningDigestTest.java

            verify(signingDigest, times(1)).verify(testData, offset, length, extraPad, message);
        }
    
        @ParameterizedTest
        @ValueSource(ints = { 0, 1, 2, 4, 8, 16 })
        @DisplayName("Test verify method with different extra padding values")
        void testVerifyWithDifferentExtraPadding(int extraPad) {
            // Arrange
            int offset = 0;
            int length = testData.length;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/HashBiMap.java

        }
      }
    
      /**
       * An {@code Entry} implementation that attempts to follow its key around the map -- that is, if
       * the key is moved, deleted, or reinserted, it will account for that -- while not doing any extra
       * work if the key has not moved. One quirk: The {@link #getValue()} method can return {@code
       * null} even for a map which supposedly does not contain null elements, if the key is not present
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

      static class ThrowsAtEndException extends RuntimeException {
        /* nothing */
      }
    
      /**
       * This Iterator claims to have more elements than the underlying iterable, but when you try to
       * fetch the extra elements, it throws an unchecked exception.
       */
      static class ThrowsAtEndIterator<E> implements Iterator<E> {
        Iterator<E> iterator;
    
        public ThrowsAtEndIterator(Iterable<E> iterable) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponseTest.java

                buffer[i] = (byte) (i % 256);
            }
    
            int bytesConsumed = response.decode(buffer, 0, 50);
    
            assertEquals(28, bytesConsumed, "Should consume exactly 28 bytes regardless of extra length");
    
            byte[] resumeKey = response.getResumeKey();
            assertNotNull(resumeKey, "Resume key should not be null");
            assertEquals(24, resumeKey.length, "Resume key should be 24 bytes");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/util/QueryStringBuilder.java

                newValue = newValue.replace(element, replacement);
            }
            return newValue;
        }
    
        /**
         * Builds the complete query string from the configured parameters.
         * Combines base query, extra queries, field filters, and sort field into a single query string.
         *
         * @return the complete formatted query string
         */
        public String build() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 12.3K bytes
    - Viewed (0)
Back to top