- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 1,141 for convertIP (0.27 sec)
-
staging/src/k8s.io/apiextensions-apiserver/test/integration/conversion/webhook.go
converted := []runtime.RawExtension{} errMsgs := []string{} for _, obj := range review.Request.Objects { convertedObj, err := converterFunc(review.Request.DesiredAPIVersion, obj) if err != nil { errMsgs = append(errMsgs, err.Error()) } converted = append(converted, convertedObj) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Dec 14 01:38:09 UTC 2022 - 10.2K bytes - Viewed (0) -
src/database/sql/driver/types.go
type Null struct { Converter ValueConverter } func (n Null) ConvertValue(v any) (Value, error) { if v == nil { return nil, nil } return n.Converter.ConvertValue(v) } // NotNull is a type that implements [ValueConverter] by disallowing nil // values but otherwise delegating to another [ValueConverter]. type NotNull struct { Converter ValueConverter }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 27 16:30:20 UTC 2024 - 8.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/deleted_kinds_test.go
convertor := &dummyConvertor{} if actual := tt.resourceExpirationEvaluator.shouldServe(gv, convertor, tt.restStorage); actual != tt.expected { t.Errorf("shouldServe() = %v, want %v", actual, tt.expected) } if !reflect.DeepEqual(convertor.called, gv) { t.Errorf("expected converter to be called with %#v, got %#v", gv, convertor.called) } }) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 14 00:05:53 UTC 2023 - 9.8K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/dsl/ModuleVersionSelectorParsers.java
return NotationParserBuilder .toType(ModuleVersionSelector.class) .fromCharSequence(new StringConverter()) .converter(new MapConverter()) .converter(new ProviderConverter(dslContext)) .converter(new ProviderConvertibleConverter(dslContext)); } static class MapConverter extends MapNotationConverter<ModuleVersionSelector> { @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 7.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/notations/DependencyConstraintNotationParser.java
.fromCharSequence(stringNotationConverter) .converter(new DependencyMapNotationConverter<>(instantiator, DefaultDependencyConstraint.class)) .fromType(Project.class, new DependencyConstraintProjectNotationConverter(instantiator, dependencyFactory)) .converter(projectDependencyNotationConverter)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 13 02:13:52 UTC 2024 - 8.6K bytes - Viewed (0) -
platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/adapter/ProtocolToModelAdapterTest.groovy
expect: def converter = adapter.newGraph() def model1 = converter.adapt(TestModel.class, protocolModel1) def model2 = converter.adapt(TestModel.class, protocolModel2) !model1.is(model2) model1.project.is(model2.project) def otherModel1 = converter.adapt(TestModel.class, protocolModel1) model1.is(otherModel1) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 21.9K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/serializer/versioning/versioning.go
return into, gvk, strictDecodingErr } if err := c.convertor.Convert(obj, into, c.decodeVersion); err != nil { return nil, gvk, err } return into, gvk, strictDecodingErr } // perform defaulting if requested if c.defaulter != nil { c.defaulter.Default(obj) } out, err := c.convertor.ConvertToVersion(obj, c.decodeVersion) if err != nil { return nil, gvk, err
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 03 06:51:04 UTC 2023 - 9.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_types.cc
TFQuantTypeConverter converter; RewritePatternSet patterns(&getContext()); patterns.add<TFQuantTypePattern>(&getContext(), converter); patterns.add<TFConstOpQuantToIntPattern, TFUniformQuantizedOpsPattern>( &getContext()); populateFunctionOpInterfaceTypeConversionPattern<func::FuncOp>(patterns, converter);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 12.6K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/internal/typeconversion/MapNotationConverterTest.groovy
import spock.lang.Specification import javax.annotation.Nullable class MapNotationConverterTest extends Specification { final NotationParser parser = NotationParserBuilder.toType(TargetObject).converter(new DummyConverter()).toComposite() def "parses map with required keys"() { expect: def object = parser.parseNotation([name: 'name', version: 'version']) object.key1 == 'name'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 05 11:58:37 UTC 2019 - 3.5K bytes - Viewed (0) -
docs/pt/docs/python-types.md
* **Verificações de tipo**. ... e **FastAPI** usa as mesmas declarações para: * **Definir requisitos**: dos parâmetros do caminho da solicitação, parâmetros da consulta, cabeçalhos, corpos, dependências, etc. * **Converter dados**: da solicitação para o tipo necessário. * **Validar dados**: provenientes de cada solicitação: * A geração de **erros automáticos** retornou ao cliente quando os dados são inválidos.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Mar 22 01:42:11 UTC 2024 - 9.6K bytes - Viewed (0)