Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 311 - 320 of 362 for validators (0.09 seconds)

  1. src/test/java/org/codelibs/fess/validation/CustomSizeTest.java

            final Constraint constraint = CustomSize.class.getAnnotation(Constraint.class);
            assertNotNull(constraint, "Constraint annotation should be present");
            assertEquals("Validator class should be CustomSizeValidator", CustomSizeValidator.class, constraint.validatedBy()[0]);
        }
    
        // Test default values
        @Test
        public void test_defaultValues() throws Exception {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  2. docs/ko/docs/index.md

    ### `standard` 의존성 { #standard-dependencies }
    
    `pip install "fastapi[standard]"`로 FastAPI를 설치하면 `standard` 그룹의 선택적 의존성이 함께 설치됩니다.
    
    Pydantic이 사용하는:
    
    * [`email-validator`](https://github.com/JoshData/python-email-validator) - 이메일 유효성 검사.
    
    Starlette이 사용하는:
    
    * [`httpx`](https://www.python-httpx.org) - `TestClient`를 사용하려면 필요.
    * [`jinja2`](https://jinja.palletsprojects.com) - 기본 템플릿 설정을 사용하려면 필요.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 23.4K bytes
    - Click Count (0)
  3. internal/config/storageclass/storage-class.go

    			ssParity, minParityDrives)
    	}
    
    	if ssParity > setDriveCount/2 {
    		return fmt.Errorf("parity %d should be less than or equal to %d", ssParity, setDriveCount/2)
    	}
    
    	return nil
    }
    
    // Validates the parity drives.
    func validateParity(ssParity, rrsParity, setDriveCount int) (err error) {
    	// SS parity drives should be greater than or equal to minParityDrives.
    	// Parity below minParityDrives is not supported.
    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)
  4. internal/logger/config.go

    		cfg.AuditKafka = make(map[string]kafka.Config)
    		if cfg, err = lookupAuditKafkaConfig(scfg, cfg); err != nil {
    			return cfg, err
    		}
    	}
    	return cfg, nil
    }
    
    // ValidateSubSysConfig - validates logger related config of given sub-system
    func ValidateSubSysConfig(ctx context.Context, scfg config.Config, subSys string) error {
    	// Lookup for legacy environment variables first
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 18.7K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessTimeResourceProviderTest.java

                new FessTimeResourceProvider(null);
                // Constructor may accept null, so test continues
                assertTrue(true);
            } catch (NullPointerException e) {
                // Expected if constructor validates input
                assertTrue(true);
            }
        }
    
        // Test with different time adjustments
        @Test
        public void test_withDifferentTimeAdjustments() {
            // Test zero adjustment
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17.8K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/group/AdminGroupAction.java

        //                                                                        Small Helper
        //                                                                        ============
    
        /**
         * Validates group attributes using LDAP manager.
         *
         * @param attributes the attributes to validate
         * @param throwError the error handler
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 16K bytes
    - Click Count (0)
  7. docs/zh-hant/docs/features.md

        * 使用 Pydantic 模型時,你可以把資料結構分層設計,並且用 Python 的 `List` 和 `Dict` 等型別來定義。
        * 驗證器讓我們可以輕鬆地定義和檢查複雜的資料結構,並把它們轉換成 JSON Schema 進行記錄。
        * 你可以擁有深層**巢狀的 JSON** 物件,並對它們進行驗證和註釋。
    * **可擴展**:
        * Pydantic 讓我們可以定義客製化的資料型別,或者你可以使用帶有 validator 裝飾器的方法來擴展模型中的驗證功能。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  8. ADDING_NEW_LANGUAGE.md

    ### Document Language Detection
    
    During crawling and indexing, Fess:
    
    1. Detects language from document content using Apache Tika
    2. Validates against `supported.languages` list
    3. Creates language-specific fields (e.g., `content_ja`, `title_en`, `content_sv`)
    4. Applies language-specific analyzers for better search results
    
    Configured in `fess_config.properties`:
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 06 11:36:30 GMT 2025
    - 10.4K bytes
    - Click Count (1)
  9. cmd/iam.go

    	if !auth.IsSecretKeyValid(secretKey) {
    		return auth.ErrInvalidSecretKeyLength
    	}
    
    	return sys.store.UpdateUserSecretKey(ctx, accessKey, secretKey)
    }
    
    // purgeExpiredCredentialsForExternalSSO - validates if local credentials are still valid
    // by checking remote IDP if the relevant users are still active and present.
    func (sys *IAMSys) purgeExpiredCredentialsForExternalSSO(ctx context.Context) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Oct 15 17:00:45 GMT 2025
    - 76.5K bytes
    - Click Count (0)
  10. cmd/tier.go

    	if t, ok := config.Tiers[tierName]; ok {
    		return t.Type, true
    	}
    	return madmin.Unsupported, false
    }
    
    // Add adds tier to config if it passes all validations.
    func (config *TierConfigMgr) Add(ctx context.Context, tier madmin.TierConfig, ignoreInUse bool) error {
    	config.Lock()
    	defer config.Unlock()
    
    	// check if tier name is in all caps
    	tierName := tier.Name
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 15.6K bytes
    - Click Count (0)
Back to Top