Search Options

Results per page
Sort
Preferred Languages
Advance

Results 521 - 530 of 590 for Sath (0.02 sec)

  1. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

            // Mock random for predictable salt generation
            doAnswer(invocation -> {
                byte[] buffer = invocation.getArgument(0);
                System.arraycopy(testSalt, 0, buffer, 0, Math.min(buffer.length, testSalt.length));
                return null;
            }).when(mockRandom).nextBytes(any(byte[].class));
        }
    
        @Test
        @DisplayName("Should create request with default settings")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SigningDigest.java

            if (LogStream.level >= 5) {
                log.println("update: " + updates + " " + offset + ":" + len);
                Hexdump.hexdump(log, input, offset, Math.min(len, 256));
                log.flush();
            }
            if (len == 0) {
                return; /* CRITICAL */
            }
            digest.update(input, offset, len);
            updates++;
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/BufferCacheImplTest.java

            byte[] buf = impl.getBuffer();
            assertNotNull(buf, "getBuffer should never return null");
            assertEquals(5, buf.length, "Newly allocated buffer length should match config maximum size");
        }
    
        // Happy path: get -> release -> get returns same instance, zeroed on release
        @Test
        @DisplayName("Release stores buffer for reuse and zeroes its contents")
        void releaseStoresAndZeroesBuffer() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/ShareEnumIteratorTest.java

            FileEntry e = mock(FileEntry.class);
            when(e.getName()).thenReturn(name);
            when(e.getType()).thenReturn(type);
            return e;
        }
    
        @Test
        @DisplayName("Happy path without filter: iterates all entries in order")
        void happyPath_noFilter_returnsAll() throws Exception {
            SmbFile parent = newParent();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java

            void testMalformedBuffer() {
                // Given - buffer with random data
                byte[] buffer = new byte[10];
                for (int i = 0; i < buffer.length; i++) {
                    buffer[i] = (byte) (Math.random() * 256);
                }
    
                // When & Then
                // Should either read successfully if random data happens to be 4,
                // or throw SMBProtocolDecodingException
                try {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

            assertNotNull(next);
            assertEquals("good", next.getName());
            assertFalse(it.hasNext());
            verify(tree, times(1)).release();
        }
    
        @Test
        @DisplayName("advance() path handles fetchMore throwing CIFSException in next()")
        void advanceFetchMoreThrows() throws Exception {
            // Arrange
            stubAcquireReturnsSelf();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/SmbResource.java

         *
         * @throws CIFSException if an error occurs creating the file
         */
        void createNewFile() throws CIFSException;
    
        /**
         * Creates a directory with the path specified by this <code>SmbResource</code>
         * and any parent directories that do not exist. This method will fail
         * when used with <code>smb://</code>, <code>smb://workgroup/</code>,
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 28K bytes
    - Viewed (1)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/gcs/GcsClientTest.java

                // nothing
            }
        }
    
        public void test_parsePath() {
            String[] values;
    
            values = gcsClient.parsePath("bucket/path");
            assertEquals("bucket", values[0]);
            assertEquals("path", values[1]);
    
            values = gcsClient.parsePath("bucket/path1/path2");
            assertEquals("bucket", values[0]);
            assertEquals("path1/path2", values[1]);
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/http/NtlmHttpFilter.java

                        this.dcListExpiration = now + 1000 * 60 * 15; /* 15 min */
                        log.warn("Failed to retrieve DC list from WINS");
                    }
                }
    
                final int max = Math.min(this.dcList.length, this.netbiosLookupRespLimit);
                for (int j = 0; j < max; j++) {
                    final int i = dcListCounter++ % max;
                    if (this.dcList[i] != null) {
                        try {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/base/FessBaseAction.java

     * including user authentication, validation, message handling, and access context management.
     * It extends LastaFlute's TypicalAction and implements validation and HTML path interfaces.
     *
     * @since 1.0
     */
    public abstract class FessBaseAction extends TypicalAction // has several interfaces for direct use
            implements LaValidatable<FessMessages>, FessHtmlPath {
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 15K bytes
    - Viewed (0)
Back to top