Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 274 for isSame (0.17 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbComOpenAndX.java

     */
    
    package jcifs.smb1.smb1;
    
    import java.util.Date;
    
    import jcifs.smb1.Config;
    import jcifs.smb1.util.Hexdump;
    
    class SmbComOpenAndX extends AndXServerMessageBlock {
    
        // flags (not the same as flags constructor argument)
        private static final int FLAGS_RETURN_ADDITIONAL_INFO = 0x01;
        private static final int FLAGS_REQUEST_OPLOCK = 0x02;
        private static final int FLAGS_REQUEST_BATCH_OPLOCK = 0x04;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/collection/ArrayUtil.java

         * If either or both arrays are {@literal null}, the other array is returned as is.
         * If either or both arrays have a length of {@literal 0}, the other array is returned as is.
         * In any case, the returned array is the same instance as the argument array and is not copied.
         * </p>
         *
         * @param <T>
         *            the type of the array elements
         * @param a
         *            first array
         * @param b
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 41.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

            // Given - Use same key for both encryption and decryption in test
            // In production, client would use clientEncKey/serverDecKey and server would use serverEncKey/clientDecKey
            Smb2EncryptionContext context = new Smb2EncryptionContext(EncryptionNegotiateContext.CIPHER_AES128_GCM, DialectVersion.SMB311,
                    testEncryptionKey, testEncryptionKey); // Use same key for test
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/SmbTreeHandleTest.java

        }
    
        /**
         * Test for isSameTree() method.
         * Verifies that the method correctly identifies if two handles refer to the same tree.
         */
        @Test
        void testIsSameTree() {
            SmbTreeHandle anotherHandle = mock(SmbTreeHandle.class);
            when(smbTreeHandle.isSameTree(smbTreeHandle)).thenReturn(true);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/index/writer/SuggestWriter.java

        /**
         * Merges an array of SuggestItem objects by combining items with the same ID.
         *
         * <p>This method iterates through the provided array of SuggestItem objects and merges
         * items that have the same ID. The merged items are added to a new list, which is then
         * converted back to an array and returned.</p>
         *
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/gcs/HandlerTest.java

            startLatch.countDown();
    
            // Wait for all threads to complete
            assertTrue("Threads did not complete in time", doneLatch.await(5, TimeUnit.SECONDS));
    
            // All threads should fail with the same IOException (project ID is blank)
            // But importantly, there should be no race condition errors
            assertEquals(threadCount, failureCount.get());
            assertEquals(0, successCount.get());
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  7. fess-crawler/src/test/resources/org/codelibs/fess/crawler/helper/robots_wildcard.txt

    Allow: /$
    Allow: /index.html$
    Allow: /public/
    
    # Test priority rules (longer match wins)
    User-agent: PriorityBot
    Disallow: /store
    Allow: /store/public
    Disallow: /store/public/sale
    
    # Test Allow vs Disallow with same length (Allow wins)
    User-agent: SameLengthBot
    Disallow: /page
    Allow: /page
    
    # Test multiple wildcards
    User-agent: MultiWildcardBot
    Disallow: /*.cgi*
    Disallow: /*?*id=*
    
    # Test literal $ in middle of pattern
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 14:03:41 UTC 2025
    - 910 bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java

            assertEquals(0L, info.length());
        }
    
        @Test
        @DisplayName("Test equals method with same netName")
        void testEqualsWithSameNetName() {
            SmbShareInfo info1 = new SmbShareInfo("Share1", 0, "Remark1");
            SmbShareInfo info2 = new SmbShareInfo("Share1", 1, "Remark2");
    
            // Same netName, different type and remark
            assertTrue(info1.equals(info2));
            assertTrue(info2.equals(info1));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbFileHandleImplTest.java

            SmbTreeHandleImpl t2 = h.getTree();
    
            assertSame(tree, t1, "Expected same mocked tree");
            assertSame(tree, t2, "Expected same mocked tree");
    
            // acquire is called once in ctor + once per getTree() call
            verify(tree, times(3)).acquire();
        }
    
        @Test
        @DisplayName("isValid() true when open, same tree id, connected")
        void isValid_true_whenOpenSameTreeConnected() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbSessionImplTest.java

        }
    
        @Test
        @DisplayName("getSmbTree returns same instance for same share/service")
        void testGetSmbTreeReuses() {
            SmbSessionImpl session = newSession();
            SmbTreeImpl t1 = session.getSmbTree("IPC$", null);
            SmbTreeImpl t2 = session.getSmbTree("ipc$", null); // case-insensitive match
            assertSame(t1, t2, "Expected same tree instance to be reused");
        }
    
        @ParameterizedTest
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
Back to top