Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,254 for invalid (0.05 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactResolver.java

         * @throws ArtifactResolverException in case of an error
         * @throws IllegalArgumentException in case of parameter {@code buildingRequest} is {@code null} or
         *             parameter {@code mavenArtifact} is {@code null} or invalid
         */
        ArtifactResolverResult resolve(ArtifactResolverRequest request);
    
        /**
         * Resolves several artifacts from their coordinates.
         *
         * @param session {@link Session}
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Sep 12 06:19:14 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/PreauthIntegrityServiceTest.java

                fail("Expected CIFSException");
            } catch (CIFSException e) {
                // Expected
            }
    
            assertFalse(context.isValid());
    
            // Further operations on invalid context should fail
            assertThrows(CIFSException.class, () -> {
                preauthService.updatePreauthHash(sessionId, "test".getBytes());
            });
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SSPContextTest.java

                    throw new CIFSException("token is null but len > 0");
                }
                if (off < 0 || len < 0 || off > token.length || off + len > token.length) {
                    throw new CIFSException("invalid offset/length");
                }
                return Arrays.copyOfRange(token, off, off + len);
            }
    
            @Override
            public String getNetbiosName() {
                return this.nbName;
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/misc/AssertionUtil.java

            }
        }
    
        /**
         * Asserts that the argument is valid.
         *
         * @param argName
         *            The name of the argument that must not be invalid.
         * @param expression
         *            The precondition.
         * @param description
         *            The description of why the argument is invalid.
         * @throws ClIllegalArgumentException
         *             If {@code expression} is false.
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java

        }
    
        @DisplayName("Should throw exception for invalid structure size")
        @ParameterizedTest
        @ValueSource(ints = { 0, 1, 2, 3, 5, 10, 100, 65535 })
        void testReadBytesWireFormatInvalidStructureSize(int structureSize) {
            // Given
            byte[] buffer = new byte[256];
            int offset = 0;
    
            // Write invalid structure size
            SMBUtil.writeInt2(structureSize, buffer, offset);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/NetServerFileEntryAdapterIteratorTest.java

        }
    
        @ParameterizedTest
        @NullAndEmptySource
        @DisplayName("Invalid names are skipped; next valid is returned")
        void skipsMalformedNames_thenReturnsValid(String badName) throws Exception {
            // Arrange: first entry is invalid (null or empty), second is valid
            setupParentForUrlCreation();
            StubFileEntry bad = new StubFileEntry(badName, SmbConstants.TYPE_SERVER);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/util/InputValidatorTest.java

                "user$name" // invalid character
        })
        void testInvalidUsernames(String username) {
            assertThrows(IllegalArgumentException.class, () -> InputValidator.validateUsername(username));
        }
    
        @Test
        @DisplayName("Test username length validation")
        void testUsernameLengthValidation() {
            String longUsername = "a".repeat(InputValidator.MAX_USERNAME_LENGTH + 1);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/BaseEncodingTest.java

        assertFailsToDecode(base64(), "12345", "Invalid input length 5");
        // These have a combination of invalid length, unrecognized characters and wrong padding.
        assertFailsToDecode(base64(), "AB=C", "Unrecognized character: =");
        assertFailsToDecode(base64(), "A=BCD", "Invalid input length 5");
        assertFailsToDecode(base64(), "?", "Invalid input length 1");
      }
    
      public void testBase64CannotUpperCase() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbSessionInternalTest.java

            assertEquals(share, shareCap.getValue());
            assertEquals(svc, svcCap.getValue());
        }
    
        // Edge/invalid inputs: null or empty share/service cause IllegalArgumentException (mocked)
        @ParameterizedTest
        @DisplayName("getSmbTree invalid inputs (null/empty) throw IllegalArgumentException")
        @CsvSource({ ",service", // null share
                " ,service", // empty share
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/SmbPipeHandle.java

        /**
         * Tests whether this file descriptor is open and valid.
         *
         * @return whether the FD is open and valid
         */
        boolean isOpen();
    
        /**
         * Tests whether this file descriptor was previously open but has become invalid.
         *
         * @return whether the FD was previously open but became invalid
         */
        boolean isStale();
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.4K bytes
    - Viewed (0)
Back to top