Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,037 for field2 (0.03 sec)

  1. src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java

     * is stored in private fields; tests make use of the same package to
     * access those members directly.
     */
    @ExtendWith(MockitoExtension.class)
    class SmbComLockingAndXTest {
    
        /**
         * Helper for setting a field via reflection.
         */
        private static void setField(Object target, String name, Object value) {
            try {
                Field f = target.getClass().getDeclaredField(name);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  2. migrator/migrator.go

    	expr.SQL = m.DataTypeOf(field)
    
    	if field.NotNull {
    		expr.SQL += " NOT NULL"
    	}
    
    	if field.HasDefaultValue && (field.DefaultValueInterface != nil || field.DefaultValue != "") {
    		if field.DefaultValueInterface != nil {
    			defaultStmt := &gorm.Statement{Vars: []interface{}{field.DefaultValueInterface}}
    			m.Dialector.BindVarTo(defaultStmt, defaultStmt, field.DefaultValueInterface)
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Jun 06 02:35:01 UTC 2025
    - 29.5K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/request-form-models.md

    <div class="screenshot">
    <img src="/img/tutorial/request-form-models/image01.png">
    </div>
    
    ## Forbid Extra Form Fields { #forbid-extra-form-fields }
    
    In some special use cases (probably not very common), you might want to **restrict** the form fields to only those declared in the Pydantic model. And **forbid** any **extra** fields.
    
    /// note
    
    This is supported since FastAPI version `0.114.0`. πŸ€“
    
    ///
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/mylasta/direction/FessConfigTest.java

            assertEquals(3, fields.length);
            assertEquals("expires", fields[0]);
            assertEquals("start_time", fields[1]);
            assertEquals("end_time", fields[2]);
        }
    
        public void test_indexAdminIntegerFields() {
            String[] fields = fessConfig.getIndexAdminIntegerFields().split(",");
            assertEquals(1, fields.length);
            assertEquals("boost", fields[0]);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 23.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/opensearch/log/exentity/ClickLog.java

        public void addField(final String key, final Object value) {
            fields.put(key, value);
        }
    
        public String getLogMessage() {
            return getUrl();
        }
    
        @Override
        public Map<String, Object> toSource() {
            final Map<String, Object> sourceMap = super.toSource();
            if (fields != null) {
                sourceMap.putAll(fields);
            }
            return sourceMap;
        }
    
        @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/IndexingHelper.java

         * @param id the document ID to retrieve
         * @param fields the fields to include in the response (null for all fields)
         * @return the document as a map of field names to values, or null if not found
         */
        public Map<String, Object> getDocument(final SearchEngineClient searchEngineClient, final String id, final String[] fields) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 26.1K bytes
    - Viewed (0)
  7. docs/ko/docs/tutorial/dependencies/dependencies-with-yield.md

    사싀, FastAPIλŠ” λ‚΄λΆ€μ μœΌλ‘œ 이 두 λ°μ½”λ ˆμ΄ν„°λ₯Ό μ‚¬μš©ν•©λ‹ˆλ‹€.
    
    ///
    
    ## `yield`λ₯Ό μ‚¬μš©ν•˜λŠ” λ°μ΄ν„°λ² μ΄μŠ€ μ˜μ‘΄μ„±
    
    예λ₯Ό λ“€μ–΄, 이 κΈ°λŠ₯을 μ‚¬μš©ν•˜λ©΄ λ°μ΄ν„°λ² μ΄μŠ€ μ„Έμ…˜μ„ μƒμ„±ν•˜κ³  μž‘μ—…μ΄ λλ‚œ 후에 μ„Έμ…˜μ„ μ’…λ£Œν•  수 μžˆμŠ΅λ‹ˆλ‹€.
    
    응닡을 μƒμ„±ν•˜κΈ° μ „μ—λŠ” `yield`문을 ν¬ν•¨ν•˜μ—¬ κ·Έ μ΄μ „μ˜ μ½”λ“œλ§Œμ΄ μ‹€ν–‰λ©λ‹ˆλ‹€:
    
    {* ../../docs_src/dependencies/tutorial007.py hl[2:4] *}
    
    yield된 값은 *경둜 μž‘μ—…* 및 λ‹€λ₯Έ μ˜μ‘΄μ„±λ“€μ— μ£Όμž…λ˜λŠ” κ°’ μž…λ‹ˆλ‹€:
    
    {* ../../docs_src/dependencies/tutorial007.py hl[4] *}
    
    `yield`λ¬Έ λ‹€μŒμ˜ μ½”λ“œλŠ” 응닡을 μƒμ„±ν•œ ν›„ 보내기 전에 μ‹€ν–‰λ©λ‹ˆλ‹€:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Feb 09 14:54:09 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java

            // Verify all fields through reflection
            Field field = response.getClass().getSuperclass().getSuperclass().getDeclaredField("totalParameterCount");
            field.setAccessible(true);
            assertEquals(totalParams, field.get(response));
    
            field = response.getClass().getSuperclass().getSuperclass().getDeclaredField("totalDataCount");
            field.setAccessible(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainBeforeHookTest.java

            try {
                // Try to access the field, handling potential security restrictions
                Field field = DBFluteSystem.class.getDeclaredField("finalTimeZoneProvider");
                field.setAccessible(true);
                return (DfFinalTimeZoneProvider) field.get(null);
            } catch (NoSuchFieldException e) {
                // Field might not exist in this version, return null
                return null;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  10. tests/non_std_test.go

    	}
    
    	animal = Animal{From: "somewhere"}              // No name fields, should be filled with the default value (galeone)
    	DB.Save(&animal).Update("From", "a nice place") // The name field should be untouched
    	DB.First(&animal, animal.Counter)
    	if animal.Name != "galeone" {
    		t.Errorf("Name fields shouldn't be changed if untouched, but got %v", animal.Name)
    	}
    
    	// When changing a field with a default value, the change must occur
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top