Search Options

Results per page
Sort
Preferred Languages
Advance

Results 531 - 540 of 3,508 for should (0.04 sec)

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

        void arrays_are_well_formed_and_match() {
            // Validate arrays existence and alignment (edge and structure checks)
            assertNotNull(WinError.WINERR_CODES, "WINERR_CODES should not be null");
            assertNotNull(WinError.WINERR_MESSAGES, "WINERR_MESSAGES should not be null");
            assertEquals(WinError.WINERR_CODES.length, WinError.WINERR_MESSAGES.length, "Codes/messages length mismatch");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequestTest.java

            byte[] buffer = new byte[1024];
    
            int written = request.writeBytesWireFormat(buffer, 0);
    
            // Should write exactly 56 bytes (structure size without data)
            assertEquals(56, written);
            // Check structure size (first 2 bytes should be 57)
            assertEquals(57, (buffer[0] & 0xFF) | ((buffer[1] & 0xFF) << 8));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/ntlmssp/NtlmFlags.java

        /**
        * Specifies that communication across the authenticated channel
        * should carry a digital signature (message integrity).
        */
        int NTLMSSP_NEGOTIATE_SIGN = 0x00000010;
    
        /**
        * Specifies that communication across the authenticated channel
        * should be encrypted (message confidentiality).
        */
        int NTLMSSP_NEGOTIATE_SEAL = 0x00000020;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbFileFilter.java

    /**
     * Filter interface for SMB file listings
     */
    public interface SmbFileFilter {
        /**
         * Tests whether the specified SMB file should be included in a file list.
         *
         * @param file the SMB file to test for inclusion
         * @return true if the file should be included, false otherwise
         * @throws SmbException if an error occurs while accessing the file
         */
        boolean accept(SmbFile file) throws SmbException;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/ResourceNameFilter.java

     *
     * @author mbechler
     *
     */
    public interface ResourceNameFilter {
    
        /**
         * Tests whether the specified resource name should be included.
         *
         * @param parent the parent SMB resource
         * @param name the resource name to test
         * @return whether the given filename should be included
         * @throws CIFSException if an error occurs while accessing the resource
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/cache/CacheMetadata.java

     * Implementations can specify how long cached data should be retained.
     *
     * @since 4.0.0
     */
    @Experimental
    public interface CacheMetadata {
    
        /**
         * Returns the cache retention that should be applied to the associated data.
         *
         * @return The CacheRetention indicating how long data should be retained, or null if
         *         no specific cache retention is defined
         */
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/com/SmbComWriteResponseTest.java

            cfgMock = mock(Configuration.class);
            resp = new SmbComWriteResponse(cfgMock);
        }
    
        @Test
        public void testInitialCountIsZero() {
            assertEquals(0, resp.getCount(), "Initial count should be zero");
        }
    
        @Test
        public void testReadParameterWordsUpdatesCount() {
            // create a buffer with count = 0x1234 (4660 decimal)
            // Using little-endian byte order as per SMBUtil.readInt2
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserTimeZoneProcessProviderTest.java

            FessUserTimeZoneProcessProvider provider2 = new FessUserTimeZoneProcessProvider();
    
            String result1 = provider1.toString();
            String result2 = provider2.toString();
    
            // Both should have the same format structure
            assertTrue(result1.startsWith("FessUserTimeZoneProcessProvider:{"));
            assertTrue(result2.startsWith("FessUserTimeZoneProcessProvider:{"));
    
            // But different hash codes
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/QueuePeekTester.java

      @CollectionSize.Require(ZERO)
      public void testPeek_empty() {
        assertNull("emptyQueue.peek() should return null", getQueue().peek());
        expectUnchanged();
      }
    
      @CollectionSize.Require(ONE)
      public void testPeek_size1() {
        assertEquals("size1Queue.peek() should return first element", e0(), getQueue().peek());
        expectUnchanged();
      }
    
      @CollectionFeature.Require(KNOWN_ORDER)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java

            infoField.setAccessible(true);
            infoField.set(msrpcShareGetInfo, info502);
    
            // Call getSecurity multiple times - should return consistent results
            ACE[] result1 = msrpcShareGetInfo.getSecurity();
            ACE[] result2 = msrpcShareGetInfo.getSecurity();
    
            // Both should be null (no DACL)
            assertNull(result1);
            assertNull(result2);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
Back to top