Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 1,160 for isInvalid (0.09 seconds)

  1. src/test/java/org/codelibs/fess/job/AggregateLogJobTest.java

                        // Success on first call
                        return;
                    case 2:
                        throw new IllegalArgumentException("Invalid argument");
                    case 3:
                        throw new IllegalStateException("Invalid state");
                    case 4:
                        throw new NullPointerException("Null pointer");
                    default:
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 12.3K bytes
    - Click Count (0)
  2. src/test/java/jcifs/netbios/NameServiceClientImplTest.java

        @Test
        @DisplayName("Should handle invalid NetBIOS name quickly")
        @Timeout(value = 1, unit = TimeUnit.SECONDS) // Very short timeout
        void testGetNbtByNameInvalid() {
            // When/Then - Should fail quickly with invalid characters
            assertThrows(Exception.class, () -> {
                nameServiceClient.getNbtByName("INVALID@#$%NAME");
            }, "Should throw exception for invalid NetBIOS name");
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 11K bytes
    - Click Count (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolver.java

         * @return the collection result, never {@code null}
         * @throws DependencyResolverException if the dependency tree could not be built
         * @throws IllegalArgumentException if an argument is null or invalid
         * @see #collect(DependencyResolverRequest)
         */
        @Nonnull
        default DependencyResolverResult collect(
                @Nonnull Session session, @Nonnull DependencyCoordinates root, @Nonnull PathScope scope) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Oct 16 14:15:37 GMT 2024
    - 9.4K bytes
    - Click Count (0)
  4. internal/bucket/replication/tag.go

    	Value   string   `xml:"Value,omitempty" json:"Value,omitempty"`
    }
    
    var (
    	errInvalidTagKey   = Errorf("The TagKey you have provided is invalid")
    	errInvalidTagValue = Errorf("The TagValue you have provided is invalid")
    )
    
    func (tag Tag) String() string {
    	return tag.Key + "=" + tag.Value
    }
    
    // IsEmpty returns whether this tag is empty or not.
    func (tag Tag) IsEmpty() bool {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 1.6K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/base/StringsTest.java

        // One invalid pair.
        assertThat(Strings.commonPrefix("abc\uD8AB\uDCABdef", "abc\uD8AB\uD8ABxyz")).isEqualTo("abc");
        // Two identical invalid pairs.
        assertThat(Strings.commonPrefix("abc\uD8AB\uD8ACdef", "abc\uD8AB\uD8ACxyz"))
            .isEqualTo("abc\uD8AB\uD8AC");
        // Two differing invalid pairs.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 11.4K bytes
    - Click Count (0)
  6. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/ForbiddenPatternsTask.java

            if (name == null) {
                throw new InvalidUserDataException("Missing [name] for invalid pattern rule");
            }
            String pattern = props.remove("pattern");
            if (pattern == null) {
                throw new InvalidUserDataException("Missing [pattern] for invalid pattern rule");
            }
            if (props.isEmpty() == false) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 6.8K bytes
    - Click Count (0)
  7. 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}
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Sep 12 06:19:14 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  8. cmd/postpolicyform_test.go

    			success: false,
    		},
    		// invalid json.
    		{
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  9. cmd/object-api-errors.go

    // Bucket related errors.
    
    // BucketNameInvalid - bucketname provided is invalid.
    type BucketNameInvalid GenericError
    
    // Error returns string an error formatted as the given text.
    func (e BucketNameInvalid) Error() string {
    	return "Bucket name invalid: " + e.Bucket
    }
    
    // Object related errors.
    
    // ObjectNameInvalid - object name provided is invalid.
    type ObjectNameInvalid GenericError
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 09 02:05:14 GMT 2024
    - 22.1K bytes
    - Click Count (0)
  10. internal/arn/arn_test.go

    			wantErr: false,
    		},
    		{
    			name: "invalid ARN length must fail",
    			args: args{
    				arnStr: "arn:minio:",
    			},
    			wantArn: ARN{},
    			wantErr: true,
    		},
    		{
    			name: "invalid ARN partition must fail",
    			args: args{
    				arnStr: "arn:invalid:iam:us-east-1::role/my-role",
    			},
    			wantArn: ARN{},
    			wantErr: true,
    		},
    		{
    			name: "invalid ARN service must fail",
    			args: args{
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Apr 04 08:31:34 GMT 2024
    - 5.1K bytes
    - Click Count (0)
Back to Top