Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 2,440 for nfield (0.28 sec)

  1. src/encoding/xml/marshal_test.go

    			`<FieldC>A.C.C</FieldC>` +
    			`<EmbedB>` +
    			`<FieldB>A.B.B</FieldB>` +
    			`<FieldA>` +
    			`<A1>A.B.C.A1</A1>` +
    			`<A2>A.B.C.A2</A2>` +
    			`</FieldA>` +
    			`<FieldC>A.B.C.C</FieldC>` +
    			`</EmbedB>` +
    			`<FieldA>A.A</FieldA>` +
    			`<FieldE>A.D.E</FieldE>` +
    			`</EmbedA>`,
    	},
    
    	// Anonymous struct pointer field which is nil
    	{
    		Value:     &EmbedB{},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 18:46:41 UTC 2024
    - 66K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    # Dependencies with yield
    
    FastAPI supports dependencies that do some <abbr title='sometimes also called "exit code", "cleanup code", "teardown code", "closing code", "context manager exit code", etc.'>extra steps after finishing</abbr>.
    
    To do this, use `yield` instead of `return`, and write the extra steps (code) after.
    
    !!! tip
        Make sure to use `yield` one single time.
    
    !!! note "Technical Details"
        Any function that is valid to use with:
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Feb 24 23:06:37 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  3. src/text/template/doc.go

    	  Variables are described below.
    	- The name of a field of the data, which must be a struct, preceded
    	  by a period, such as
    		.Field
    	  The result is the value of the field. Field invocations may be
    	  chained:
    	    .Field1.Field2
    	  Fields can also be evaluated on variables, including chaining:
    	    $x.Field1.Field2
    	- The name of a key of the data, which must be a map, preceded
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  4. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/AbstractClassChangeIncrementalCompilationIntegrationTest.groovy

                "class OnField { @B(A.class) String foo; }",
                "class OnParameter { void foo(@B(A.class) int x) {} }"
            outputs.snapshot { run language.compileTaskName }
    
            when:
            a.text += "/* change */"
            run language.compileTaskName
    
            then:
            outputs.recompiledClasses("A", "OnClass", "OnMethod", "OnParameter", "OnField")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/dependencies/dependencies-with-yield.md

    # Abhängigkeiten mit yield
    
    FastAPI unterstützt Abhängigkeiten, die nach Abschluss einige <abbr title="Manchmal auch genannt „Exit Code“, „Cleanup Code“, „Teardown Code“, „Closing Code“, „Kontext Manager Exit Code“, usw.">zusätzliche Schritte ausführen</abbr>.
    
    Verwenden Sie dazu `yield` statt `return` und schreiben Sie die zusätzlichen Schritte / den zusätzlichen Code danach.
    
    !!! tip "Tipp"
        Stellen Sie sicher, dass Sie `yield` nur einmal pro Abhängigkeit verwenden.
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 18:10:29 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  6. docs/ru/docs/tutorial/dependencies/dependencies-with-yield.md

       **FastAPI** использует их "под капотом" с этой целью.
    
    ## Зависимости с `yield` и `HTTPException`
    
    Вы видели, что можно использовать зависимости с `yield` совместно с блоком `try`, отлавливающие исключения.
    
    Таким же образом вы можете поднять исключение `HTTPException` или что-то подобное в завершающем коде, после `yield`.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Apr 02 04:21:06 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  7. src/internal/reflectlite/export_test.go

    	// In the latter case, we must have field.offset = 0,
    	// so v.ptr + field.offset is still the correct address.
    	ptr := add(v.ptr, field.Offset, "same as non-reflect &v.field")
    	return Value{typ, ptr, fl}
    }
    
    func TField(typ Type, i int) Type {
    	t := typ.(rtype)
    	if t.Kind() != Struct {
    		panic("reflect: Field of non-struct type")
    	}
    	tt := (*structType)(unsafe.Pointer(t.Type))
    
    	return StructFieldType(tt, i)
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:01:54 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NullabilityBreakingChangesRule.groovy

                JApiField field = (JApiField) member
                CtField oldField = field.oldFieldOptional.get()
                CtField newField = field.newFieldOptional.get()
    
                def oldNullability = hasNullableAnnotation(oldField)
                def newNullability = hasNullableAnnotation(newField)
    
                if (Modifier.isFinal(oldField.modifiers) && Modifier.isFinal(newField.modifiers)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 13 10:04:28 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  9. docs/ja/docs/tutorial/dependencies/dependencies-with-yield.md

        **FastAPI** はこれを実現するために内部的に使用しています。
    
    ## `yield`と`HTTPException`を持つ依存関係
    
    `yield`と例外をキャッチする`try`ブロックを持つことができる依存関係を使用することができることがわかりました。
    
    `yield`の後の終了コードで`HTTPException`などを発生させたくなるかもしれません。しかし**それはうまくいきません**
    
    `yield`を持つ依存関係の終了コードは[例外ハンドラ](../handling-errors.md#_4){.internal-link target=_blank}の*後に*実行されます。依存関係によって投げられた例外を終了コード(`yield`の後)でキャッチするものはなにもありません。
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  10. docs/em/docs/tutorial/dependencies/dependencies-with-yield.md

    ⚫️ 5️⃣📆 😋 🤚 `HTTPException` ⚖️ 🎏 🚪 📟, ⏮️ `yield`. ✋️ **⚫️ 🏆 🚫 👷**.
    
    🚪 📟 🔗 ⏮️ `yield` 🛠️ *⏮️* 📨 📨, [⚠ 🐕‍🦺](../handling-errors.md#_4){.internal-link target=_blank} 🔜 ✔️ ⏪ 🏃. 📤 🕳 😽 ⚠ 🚮 👆 🔗 🚪 📟 (⏮️ `yield`).
    
    , 🚥 👆 🤚 `HTTPException` ⏮️ `yield`, 🔢 (⚖️ 🙆 🛃) ⚠ 🐕‍🦺 👈 ✊ `HTTPException`Ⓜ &amp; 📨 🇺🇸🔍 4️⃣0️⃣0️⃣ 📨 🏆 🚫 📤 ✊ 👈 ⚠ 🚫🔜.
    
    👉 ⚫️❔ ✔ 🕳 ⚒ 🔗 (✅ 💽 🎉), 🖼, ⚙️ 🖥 📋.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 8.6K bytes
    - Viewed (0)
Back to top