Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 893 for isValid (0.04 sec)

  1. src/test/java/jcifs/ntlmssp/av/AvPairsTest.java

        }
    
        /**
         * Test decode with invalid EOL (non-zero length)
         */
        @Test
        @DisplayName("Decode should throw exception for invalid EOL length")
        void testDecodeInvalidEOL() {
            byte[] invalidEolData = new byte[6];
            SMBUtil.writeInt2(AvPair.MsvAvEOL, invalidEolData, 0);
            SMBUtil.writeInt2(2, invalidEolData, 2); // Invalid: EOL should have length 0
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  2. android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

          assertErrorMessage(e, notEqualObject1 + " [group 1, item 2]");
          return;
        }
        fail("Should get not equal to equal object error");
      }
    
      /**
       * Test for an invalid hashCode method, i.e., one that returns different value for objects that
       * are equal according to the equals method
       */
      public void testInvalidHashCode() {
        Object a = new InvalidHashCodeObject(1, 2);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/dtyp/ACETest.java

        }
    
        @Test
        @DisplayName("Test edge cases in getApplyToText")
        void testGetApplyToTextEdgeCases() {
            // Test with only FLAGS_INHERIT_ONLY (should return Invalid)
            ace.flags = ACE.FLAGS_INHERIT_ONLY;
            assertEquals("Invalid", ace.getApplyToText());
    
            // Test with FLAGS_NO_PROPAGATE (should not affect the result)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/pager/GroupPager.java

            this.existNextPage = existNextPage;
        }
    
        /**
         * Gets the number of records to display per page.
         * If the page size is not set or is invalid, returns the default page size.
         *
         * @return the number of records per page
         */
        public int getPageSize() {
            if (pageSize <= 0) {
                pageSize = getDefaultPageSize();
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/RuntimeCIFSExceptionTest.java

            // When
            RuntimeCIFSException exception = new RuntimeCIFSException(cause);
    
            // Then
            assertNotNull(exception);
            assertEquals(cause, exception.getCause());
            assertTrue(exception.getMessage().contains("IllegalArgumentException"));
            assertTrue(exception.getMessage().contains("Invalid argument"));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SpnegoContextTest.java

        @DisplayName("initSecContext throws on invalid token type")
        void testInitSecContextInvalidTokenType(byte firstByte) throws Exception {
            SpnegoContext ctx = newContext();
    
            // Invalid first byte should be rejected by token parsing
            CIFSException ex = assertThrows(CIFSException.class, () -> ctx.initSecContext(new byte[] { firstByte }, 0, 1));
            assertEquals("Invalid token", ex.getMessage());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  7. cmd/scannermetric_string.go

    // Code generated by "stringer -type=scannerMetric -trimprefix=scannerMetric data-scanner-metric.go"; DO NOT EDIT.
    
    package cmd
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[scannerMetricReadMetadata-0]
    	_ = x[scannerMetricCheckMissing-1]
    	_ = x[scannerMetricSaveUsage-2]
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Sep 25 05:15:31 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/DosError.java

                "The client does not have the necessary access rights to perform the requested function.", "Access is denied.",
                "The TID specified was invalid.", "The handle is invalid.", "The network name cannot be found.",
                "Not enough storage is available to process this command.", "The media is write protected.", "The device is not ready.",
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/context/BaseContext.java

        @Override
        public SmbResource get(final String url) throws CIFSException {
            try {
                return new SmbFile(url, this);
            } catch (final MalformedURLException e) {
                throw new CIFSException("Invalid URL " + url, e);
            }
        }
    
        /**
         *
         * {@inheritDoc}
         *
         * @see jcifs.CIFSContext#getPipe(java.lang.String, int)
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/DosError.java

                "The client does not have the necessary access rights to perform the requested function.", "Access is denied.",
                "The TID specified was invalid.", "The handle is invalid.", "The network name cannot be found.",
                "Not enough storage is available to process this command.", "The media is write protected.", "The device is not ready.",
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.7K bytes
    - Viewed (0)
Back to top