- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 104 for xdstype (0.15 sec)
-
src/net/http/h2_error.go
dst := reflect.ValueOf(target).Elem() dstType := dst.Type() if dstType.Kind() != reflect.Struct { return false } src := reflect.ValueOf(e) srcType := src.Type() numField := srcType.NumField() if dstType.NumField() != numField { return false } for i := 0; i < numField; i++ { sf := srcType.Field(i) df := dstType.Field(i) if sf.Name != df.Name || !sf.Type.ConvertibleTo(df.Type) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:27 UTC 2023 - 812 bytes - Viewed (0) -
src/vendor/golang.org/x/net/route/sys_freebsd.go
func (typ RIBType) parseable() bool { return true } // RouteMetrics represents route metrics. type RouteMetrics struct { PathMTU int // path maximum transmission unit } // SysType implements the SysType method of Sys interface. func (rmx *RouteMetrics) SysType() SysType { return SysMetrics } // Sys implements the Sys method of Message interface. func (m *RouteMessage) Sys() []Sys { if kernelAlign == 8 { return []Sys{ &RouteMetrics{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 05 19:54:32 UTC 2022 - 4.7K bytes - Viewed (0) -
platforms/software/ivy/src/integTest/groovy/org/gradle/api/publish/ivy/IvyPublishArtifactCustomizationIntegTest.groovy
ivy.expectArtifact('ivyPublish', 'txt').hasType("txt").hasConf(null) ivy.expectArtifact('ivyPublish', 'html').hasType("html").hasConf(null) ivy.expectArtifact('ivyPublish', 'jar').hasType("jar").hasConf(null) ivy.expectArtifact('ivyPublish', 'reg').hasType("reg").hasConf(null) ivy.expectArtifact('ivyPublish', 'foo').hasType("foo").hasConf(null)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 14:02:46 UTC 2023 - 18.3K bytes - Viewed (0) -
test/typeparam/adder.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package main import ( "fmt" ) type AddType interface { int | int64 | string } // Add can add numbers or strings func Add[T AddType](a, b T) T { return a + b } func main() { if got, want := Add(5, 3), 8; got != want { panic(fmt.Sprintf("got %d, want %d", got, want)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 01 19:45:34 UTC 2022 - 559 bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/analysis/StatementResolver.kt
} else { val rhsType = getDataType(rhsResolution) val lhsExpectedType = resolveRef(lhsResolution.property.valueType) if (rhsType is DataType.UnitType) { errorCollector.collect(ResolutionError(assignment, ErrorReason.UnitAssignment)) hasErrors = true } if (!checkIsAssignable(rhsType, lhsExpectedType)) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 14 10:08:02 UTC 2024 - 6.4K bytes - Viewed (0) -
test/fixedbugs/issue59638.go
// Copyright 2023 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package p type Interface interface { MonitoredResource() (resType string, labels map[string]string) Done() } func Autodetect(x int) Interface { return func() Interface { func() Interface { x++ Do(func() { var ad, gd Interface go func() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 05 21:04:28 UTC 2023 - 1004 bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenCustomPackagingResolveIntegrationTest.groovy
@Issue("https://issues.gradle.org/browse/GRADLE-2984") def "can resolve local module with custom packaging"() { using m2 def local = m2.mavenRepo().module("local", "local", "1.0").hasType("aar").hasPackaging("aar").publish() when: buildScript """ configurations { local } repositories { mavenLocal()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test.py
rng.uniform(low=0.0, high=1.0, size=static_input_shape).astype( np.float32 ) ) def data_gen() -> repr_dataset.RepresentativeDataset: for _ in range(100): yield { 'input_tensor': rng.uniform( low=0.0, high=1.0, size=static_input_shape ).astype(np.float32) }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 14 06:31:57 UTC 2024 - 51.4K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/maven/MavenScope.groovy
String type = null if (it != key) { type = StringUtils.substringAfter(it, "@") } assert dependency.hasType(type) } } void assertOptionalDependencies(String... expected) { assertDependencies(optionalDependencies, expected) } void assertDependencyManagement(String... expected) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 3.1K bytes - Viewed (0) -
platforms/software/signing/src/main/java/org/gradle/plugins/signing/signatory/internal/ConfigurableSignatoryProvider.java
import org.gradle.plugins.signing.signatory.SignatoryProvider; import org.gradle.security.internal.BaseSignatoryProvider; import org.gradle.util.internal.ConfigureUtil; import static org.codehaus.groovy.runtime.DefaultGroovyMethods.asType; public interface ConfigurableSignatoryProvider<T extends Signatory> extends BaseSignatoryProvider<T>, SignatoryProvider<T> { @Override default void configure(SigningExtension settings, Closure closure) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 1.6K bytes - Viewed (0)