- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 807 for typeA (0.2 sec)
-
test/fixedbugs/issue51291.dir/a.go
// Copyright 2022 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 a type TypeA string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 18 00:45:20 UTC 2022 - 213 bytes - Viewed (0) -
pilot/pkg/model/network_test.go
} else { domain := msg.Question[0].Name c, ok := s.hosts[domain] if ok { s.hosts[domain]++ switch r.Question[0].Qtype { case dns.TypeA: msg.Answer = append(msg.Answer, &dns.A{ Hdr: dns.RR_Header{Name: domain, Rrtype: dns.TypeA, Class: dns.ClassINET, Ttl: s.ttl}, A: net.ParseIP(fmt.Sprintf("10.0.0.%d", c)), }) case dns.TypeAAAA: // set a long TTL for AAAA
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Nov 16 01:18:03 UTC 2023 - 6.9K bytes - Viewed (0) -
src/net/resolverdialfunc_test.go
HandleAAAA func(w AAAAWriter, name string) error HandleSRV func(w SRVWriter, name string) error } type ResponseWriter struct{ a *resolverFuncConn } func (w ResponseWriter) header() dnsmessage.ResourceHeader { q := w.a.q return dnsmessage.ResourceHeader{ Name: q.Name, Type: q.Type, Class: q.Class, TTL: w.a.ttl, } } // SetTTL sets the TTL for subsequent written resources.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 8.3K bytes - Viewed (0) -
internal/mountinfo/mountinfo_linux_test.go
// and success cases. func TestCrossDeviceMountPaths(t *testing.T) { successCase := `/dev/0 /path/to/0/1 type0 flags 0 0 /dev/1 /path/to/1 type1 flags 1 1 /dev/2 /path/to/1/2 type2 flags,1,2=3 2 2 /dev/3 /path/to/1.1 type3 flags,1,2=3 3 3 ` var err error dir := t.TempDir() mountsPath := filepath.Join(dir, "mounts")
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 7.3K bytes - Viewed (0) -
analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/subtyping/AbstractSemanticSubtypingTest.kt
override fun KaSession.checkTypes(expectedResult: Boolean, type1: KaType, type2: KaType, testServices: TestServices) { testServices.assertions.assertEquals( expectedResult, type1.isSubTypeOf(type2, KaSubtypingErrorTypePolicy.LENIENT), ) { "Expected `$type1` to ${if (!expectedResult) "not " else ""}be a subtype of `$type2` with error type leniency" + " (`$resultDirective`)."
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 5.9K bytes - Viewed (0) -
src/go/doc/example_test.go
const Const1 = 0 var Var1 = 0 type ( Type1 int Type1_Foo int Type1_foo int type2 int Embed struct { Type1 } Uembed struct { type2 } ) func Func1() {} func Func1_Foo() {} func Func1_foo() {} func func2() {} func (Type1) Func1() {} func (Type1) Func1_Foo() {} func (Type1) Func1_foo() {} func (Type1) func2() {} func (type2) Func1() {}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 10 16:17:51 UTC 2022 - 9.6K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/snapshot/impl/Type1.groovy
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.internal.snapshot.impl enum Type1 { ONE {}, TWO {}
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 08 14:30:36 UTC 2024 - 694 bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/DefaultModelSchemaStoreTest.groovy
def store = new DefaultModelSchemaStore(extractor) def "caches schema for a type"() { // intentionally use two different “instances” of the same type def type1 = ModelType.of(SimpleManagedType) def type2 = ModelType.of(SimpleManagedType) expect: store.getSchema(type1).is(store.getSchema(type2)) } def "each thread receives same schema object"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 4.9K bytes - Viewed (0) -
src/internal/trace/testdata/testprog/annotations-stress.go
ctx1, t1 := trace.NewTask(ctx0, "type1") // Start tracing. if err := trace.Start(os.Stdout); err != nil { log.Fatalf("failed to start tracing: %v", err) } t1.End() // Create a task that starts during the trace and ends after. ctx2, t2 := trace.NewTask(ctx0, "type2") // Create a task that starts and ends during the trace. ctx3, t3 := trace.NewTask(baseCtx, "type3") // Generate some events.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 1.8K bytes - Viewed (0) -
src/internal/types/testdata/fixedbugs/issue53650.go
import ( "reflect" "testing" ) type T1 int type T2 int func f[P T1 | T2, _ []P]() {} var _ = f[T1] // test case from issue type BaseT interface { Type1 | Type2 } type BaseType int type Type1 BaseType type Type2 BaseType // float64 type ValueT[T BaseT] struct { A1 T } func NewType1() *ValueT[Type1] { r := NewT[Type1]() return r } func NewType2() *ValueT[Type2] {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 19:54:58 UTC 2023 - 877 bytes - Viewed (0)