Search Options

Results per page
Sort
Preferred Languages
Advance

Results 651 - 660 of 893 for isValid (0.04 sec)

  1. src/main/java/org/codelibs/fess/app/web/api/admin/fileauth/ApiAdminFileauthAction.java

        public JsonResponse<ApiResult> post$setting(final CreateBody body) {
            validateApi(body, messages -> {});
            if (!isValidFileConfigId(body.fileConfigId)) {
                return asJson(new ApiErrorResponse().message("invalid fileConfigId").status(Status.BAD_REQUEST).result());
            }
    
            body.crudMode = CrudMode.CREATE;
            final FileAuthentication fileAuth = getFileAuthentication(body).map(entity -> {
                try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/SmbFileTest.java

                assertEquals("share", smbFile.getShare());
            }
    
            @Test
            public void testConstructorWithMalformedUrl() {
                // Test that constructor throws MalformedURLException for completely invalid URL
                // Note: http:// URLs are actually accepted by the URL constructor but the protocol is changed to smb
                String invalidUrl = "not-a-valid-url";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/MIENameTest.java

                        return buf;
                    }, StringIndexOutOfBoundsException.class));
        }
    
        @ParameterizedTest(name = "{0}")
        @MethodSource("invalidBuffers")
        @DisplayName("Invalid buffers throw appropriate exceptions")
        void invalidInputsThrow(String name, Object bufferSupplierOrBytes, Class<? extends Throwable> expected) {
            // Arrange
            byte[] buf;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  4. cmd/admin-handlers-idp-openid.go

    	case madmin.AccessKeyListSvcaccOnly:
    		listSTSKeys = false
    		listServiceAccounts = true
    	case madmin.AccessKeyListAll:
    		listSTSKeys = true
    		listServiceAccounts = true
    	default:
    		err := errors.New("invalid list type")
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErrWithErr(ErrInvalidRequest, err), r.URL)
    		return
    	}
    
    	s := globalServerConfig.Clone()
    	roleArnMap := make(map[string]string)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat Sep 06 17:38:46 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  5. cmd/encryption-v1.go

    	xhttp "github.com/minio/minio/internal/http"
    	"github.com/minio/minio/internal/kms"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/sio"
    )
    
    var (
    	// AWS errors for invalid SSE-C requests.
    	errEncryptedObject                = errors.New("The object was stored using a form of SSE")
    	errInvalidSSEParameters           = errors.New("The SSE-C key for key-rotation is not correct") // special access denied
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 37.8K bytes
    - Viewed (0)
  6. cmd/object-api-utils.go

    				piece[i] == '-'):
    				// Found a non-digit character, so
    				// this piece is not a number.
    				isNotNumber = true
    			case piece[i] >= '0' && piece[i] <= '9':
    				// Nothing to do.
    			default:
    				// Found invalid character.
    				return false
    			}
    		}
    		allNumbers = allNumbers && !isNotNumber
    	}
    	// Does the bucket name look like an IP address?
    	return len(pieces) != 4 || !allNumbers
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jun 25 15:08:54 UTC 2025
    - 37.3K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/RelatedContentHelperTest.java

            assertEquals(0, results.length);
        }
    
        public void test_load_invalidRegex() {
            List<RelatedContent> testData = new ArrayList<>();
            testData.add(createRelatedContent("regex:", "Invalid Regex", ""));
            mockBhv.setTestData(testData);
    
            // Should not throw exception, just log warning
            relatedContentHelper.load();
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/cache/CacheLoader.java

        // Cache implementors may want to catch it but should not need to be able to throw it.
        UnsupportedLoadingOperationException() {}
      }
    
      /**
       * Thrown to indicate that an invalid response was returned from a call to {@link CacheLoader}.
       *
       * @since 11.0
       */
      public static final class InvalidCacheLoadException extends RuntimeException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java

            // Wait for expiration
            Thread.sleep(100);
    
            assertTrue(entry.isExpired());
            assertTrue(entry.needsRefresh());
    
            // After expiration, cache should be treated as invalid by manager
            // (In real implementation, expired entries might be cleaned up automatically)
        }
    
        @Test
        public void testDirectoryLeaseContextIntegration() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

                    si = arr.length;
                }
    
                si++;
            } while (si < arr.length);
    
            if (binding == null || binding.endpoint == null) {
                throw new DcerpcException("Invalid binding URL: " + str);
            }
    
            return binding;
        }
    
        /**
         * The DCERPC binding configuration for this handle
         */
        protected DcerpcBinding binding;
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
Back to top