- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 1,141 for convertIP (0.21 sec)
-
subprojects/core/src/test/groovy/org/gradle/internal/typeconversion/NotationParserBuilderSpec.groovy
} def "can add a converter"() { def converter = Mock(NotationConverter) given: converter.convert(_, _) >> { Object n, NotationConvertResult result -> result.converted("[${n}]") } and: def parser = NotationParserBuilder.toType(String.class).converter(converter).toComposite() expect: parser.parseNotation(12) == "[12]"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 12 07:56:08 UTC 2021 - 6.1K bytes - Viewed (0) -
subprojects/core-api/src/test/groovy/org/gradle/internal/typeconversion/NotationConverterToNotationParserAdapterTest.groovy
def converter = Mock(NotationConverter) def parser = new NotationConverterToNotationParserAdapter(converter) def "converts notation"() { given: converter.convert(12, _) >> { Object notation, NotationConvertResult result -> result.converted("12") } expect: parser.parseNotation(12) == "12" } def "can convert to null value"() { given:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Aug 15 16:06:48 UTC 2017 - 1.5K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/cli/converter/DaemonCommandLineConverterTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 2.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/convert_func_to_bfloat16.cc
// This helper function makes legality check easier. Both convert ops in the // patterns below are considered legal: // - `BitcastConvertOp` (i32 -> f32) + `ConvertOp` (f32 -> bf16) // - `ConvertOp` (bf16 -> f32) -> `BitcastConvertOp` (f32 -> i32) template <typename ConvertOp, typename OtherConvertOp> bool IsConvertOpLegal(ConvertOp convert_op, BFloat16TypeConverter& converter) { if (!converter.isLegal(convert_op.getOperand().getType())) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 9.3K bytes - Viewed (0) -
test/convert.go
Rob Pike <******@****.***> 1329617983 +1100
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Feb 19 02:19:43 UTC 2012 - 833 bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/typeconversion/DefaultTypeConverter.java
return NotationParserBuilder .toType(type) .noImplicitConverters() .converter(converter) .toComposite(); } private <T> void registerConverter(NotationConverter<Object, T> converter, Class<T> type) { parsers.put(type, build(converter, type)); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 12.5K bytes - Viewed (0) -
test/convert2.go
s = (*S)(t) s = (*S)(u) // ERROR "cannot convert" t = u // ERROR "cannot use .* in assignment|incompatible type" t = (*T)(u) // ERROR "cannot convert" } func _() { var s []byte _ = ([4]byte)(s) _ = (*[4]byte)(s) type A [4]byte _ = (A)(s) _ = (*A)(s) type P *[4]byte _ = (P)(s) _ = (*P)(s) // ERROR "cannot convert"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 08 15:55:44 UTC 2022 - 5.9K bytes - Viewed (0) -
test/interface/convert1.go
Rob Pike <******@****.***> 1329633221 +1100
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Feb 19 06:33:41 UTC 2012 - 393 bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/convert.go
*/ package schema import ( "fmt" "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions" apiextensionsv1 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1" ) // NewStructural converts an OpenAPI v3 schema into a structural schema. A pre-validated JSONSchemaProps will // not fail on NewStructural. This means that we require that: // // - items is not an array of schemas // - the following fields are not set:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 20:13:14 UTC 2024 - 7.6K bytes - Viewed (0) -
test/convert1.go
_ = string(si) // ERROR "cannot convert.* string|invalid type conversion" _ = []byte(si) // ERROR "cannot convert.*\[\]byte|invalid type conversion" _ = []rune(si) // ERROR "cannot convert.*\[\]rune|invalid type conversion" _ = []int64(si) _ = Tstring(si) // ERROR "cannot convert.*Tstring|invalid type conversion" _ = Tbyte(si) // ERROR "cannot convert.*Tbyte|invalid type conversion"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 3.4K bytes - Viewed (0)