- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for ArgType (0.15 sec)
-
src/text/template/funcs.go
// prepareArg checks if value can be used as an argument of type argType, and // converts an invalid value to appropriate zero if possible. func prepareArg(value reflect.Value, argType reflect.Type) (reflect.Value, error) { if !value.IsValid() { if !canBeNil(argType) { return reflect.Value{}, fmt.Errorf("value is nil; should be of type %s", argType) } value = reflect.Zero(argType) } if value.Type().AssignableTo(argType) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 22:23:55 UTC 2024 - 20.9K bytes - Viewed (0) -
platforms/jvm/testing-jvm-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/testng/TestNGTestClassProcessor.java
*/ private void setConfigFailurePolicy(TestNG testNg, String value) { Class<?> argType; Object argValue; try { argType = Class.forName("org.testng.xml.XmlSuite$FailurePolicy", false, testNg.getClass().getClassLoader()); argValue = argType.getMethod("getValidPolicy", String.class).invoke(null, value); } catch (Exception e) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 21:25:59 UTC 2024 - 10.8K bytes - Viewed (0) -
tensorflow/c/experimental/ops/gen/cpp/views/arg_type_view.cc
#include "tensorflow/core/framework/types.pb.h" #include "tensorflow/core/platform/types.h" namespace tensorflow { namespace generator { namespace cpp { ArgTypeView::ArgTypeView(ArgType arg_type) : arg_type_(arg_type) {} string ArgTypeView::TypeName() const { if (arg_type_.is_read_only()) { if (arg_type_.is_list()) { return "absl::Span<AbstractTensorHandle* const>"; } else {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jun 03 07:02:00 UTC 2024 - 1.4K bytes - Viewed (0) -
src/net/rpc/debug.go
{{range .}} <hr> Service {{.Name}} <hr> <table> <th align=center>Method</th><th align=center>Calls</th> {{range .Method}} <tr> <td align=left font=fixed>{{.Name}}({{.Type.ArgType}}, {{.Type.ReplyType}}) error</td> <td align=center>{{.Type.NumCalls}}</td> </tr> {{end}} </table> {{end}} </body> </html>` var debug = template.Must(template.New("RPC debug").Parse(debugText))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 2.3K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/metaobject/BeanDynamicObject.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 13:45:02 UTC 2024 - 29.3K bytes - Viewed (0) -
src/text/template/exec.go
} return v } // Special case for builtin and/or, which short-circuit. if isBuiltin && (name == "and" || name == "or") { argType := typ.In(0) var v reflect.Value for _, arg := range args { v = s.evalArg(dot, argType, arg).Interface().(reflect.Value) if truth(v) == (name == "or") { // This value was already unwrapped // by the .Interface().(reflect.Value). return v
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 21:22:24 UTC 2024 - 32K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/AsmBackedClassGenerator.java
for (int typeVar = addNameParameter ? 1 : 0, stackVar = addNameParameter ? 2 : 1; typeVar < paramTypes.size(); ++typeVar) { Type argType = paramTypes.get(typeVar); _ILOAD_OF(argType, stackVar); stackVar += argType.getSize(); } _INVOKESPECIAL(superclassType, "<init>", superMethodDescriptor); if (addNameParameter) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 15:40:00 UTC 2024 - 100.6K bytes - Viewed (0) -
src/runtime/asm_loong64.s
MOVV f+8(FP), REGCTXT; \ MOVV (REGCTXT), R25; \ PCDATA $PCDATA_StackMapIndex, $0; \ JAL (R25); \ /* copy return values back */ \ MOVV regArgs+40(FP), R25; \ JAL ·spillArgs(SB); \ MOVV argtype+0(FP), R7; \ MOVV arg+16(FP), R4; \ MOVWU n+24(FP), R5; \ MOVWU retoffset+28(FP), R6; \ ADDV $8, R3, R12; \ ADDV R6, R12; \ ADDV R6, R4; \ SUBVU R6, R5; \ JAL callRet<>(SB); \
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 15:04:25 UTC 2024 - 26.5K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/diagnostics/KtFirDiagnostics.kt
val kid: KaClassLikeSymbol } interface JsExternalArgument : KaFirDiagnostic<KtExpression> { override val diagnosticClass get() = JsExternalArgument::class val argType: KaType } interface WrongExportedDeclaration : KaFirDiagnostic<KtElement> { override val diagnosticClass get() = WrongExportedDeclaration::class val kind: String }
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 04 11:41:05 UTC 2024 - 172.6K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/diagnostics/KtFirDiagnosticsImpl.kt
token: KaLifetimeToken, ) : KaAbstractFirDiagnostic<KtDeclaration>(firDiagnostic, token), KaFirDiagnostic.JsExternalInheritorsOnly internal class JsExternalArgumentImpl( override val argType: KaType, firDiagnostic: KtPsiDiagnostic, token: KaLifetimeToken, ) : KaAbstractFirDiagnostic<KtExpression>(firDiagnostic, token), KaFirDiagnostic.JsExternalArgument
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 04 11:41:05 UTC 2024 - 227.2K bytes - Viewed (0)