- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,363 for inter (0.04 sec)
-
src/crypto/x509/verify_test.go
"CN=leaf -> CN=inter b -> CN=inter a -> CN=inter c -> CN=root", "CN=leaf -> CN=inter b -> CN=inter a -> CN=root", "CN=leaf -> CN=inter b -> CN=inter c -> CN=inter a -> CN=root", "CN=leaf -> CN=inter b -> CN=inter c -> CN=root", }, }, { // Build a simple two node graph, where the leaf is directly issued from // the root and both certificates have matching subject and public key, but // the leaf has SANs.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 110.2K bytes - Viewed (0) -
test/interface/embed2.go
package main import "os" const Value = 1e12 type Inter interface { M() int64 } type T int64 func (t T) M() int64 { return int64(t) } var t = T(Value) var pt = &t var ti Inter = t var pti = &ti type S struct{ Inter } var s = S{ti} var ps = &s type SP struct{ *Inter } // ERROR "interface" var i Inter var pi = &i var ok = true func check(s string, v int64) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 03 17:55:56 UTC 2020 - 1.5K bytes - Viewed (0) -
test/interface/embed.go
package main import "os" const Value = 1e12 type Inter interface { M() int64 } type T int64 func (t T) M() int64 { return int64(t) } var t = T(Value) var pt = &t var ti Inter = t type S struct { Inter } var s = S{ ti } var ps = &s var i Inter var ok = true func check(s string, v int64) { if v != Value { println(s, v) ok = false
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Feb 19 06:33:41 UTC 2012 - 924 bytes - Viewed (0) -
src/runtime/iface.go
// //go:linkname getitab func getitab(inter *interfacetype, typ *_type, canfail bool) *itab { if len(inter.Methods) == 0 { throw("internal error - misuse of itab") } // easy case if typ.TFlag&abi.TFlagUncommon == 0 { if canfail { return nil } name := toRType(&inter.Type).nameOff(inter.Methods[0].Name) panic(&TypeAssertionError{nil, typ, &inter.Type, name.Name()}) } var m *itab
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 22.5K bytes - Viewed (0) -
test/recover3.go
check("array-bounds", func() { println(p1[i]) }, "index out of range") check("slice-bounds", func() { println(sl[i]) }, "index out of range") var inter interface{} inter = 1 check("type-concrete", func() { println(inter.(string)) }, "int, not string") check("type-interface", func() { println(inter.(m)) }, "missing method m") if didbug { panic("recover3") } } type m interface { m()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 1.6K bytes - Viewed (0) -
src/cmd/cover/testdata/pkgcfg/a/a.go
package a type Atyp int func (ap *Atyp) Set(q int) { *ap = Atyp(q) } func (ap Atyp) Get() int { inter := func(q Atyp) int { return int(q) } return inter(ap) } var afunc = func(x int) int { return x + 1 } var Avar = afunc(42) func A(x int) int { if x == 0 { return 22 } else if x == 1 { return 33 } return 44
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 28 11:48:40 UTC 2022 - 330 bytes - Viewed (0) -
src/internal/abi/iface.go
// is implementing (Inter), and some ancillary information. // // allocated in non-garbage-collected memory type ITab struct { Inter *InterfaceType Type *Type Hash uint32 // copy of Type.Hash. Used for type switches. Fun [1]uintptr // variable sized. fun[0]==0 means Type does not implement Inter. } // EmptyInterface describes the layout of a "interface{}" or a "any."
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 17 21:09:59 UTC 2024 - 895 bytes - Viewed (0) -
pkg/controller/job/indexed_job_utils.go
continue } if inter.Last >= completions { inter.Last = completions - 1 } } else { inter.Last = inter.First } if lastInterval != nil && lastInterval.Last == inter.First-1 { lastInterval.Last = inter.Last } else { result = append(result, inter) lastInterval = &result[len(result)-1] } } return result }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 21 00:44:53 UTC 2023 - 17.5K bytes - Viewed (0) -
test/named1.go
asBool(!b) asBool(true) asBool(*&b) asBool(Bool(true)) asBool(1 != 2) // ok now asBool(i < j) // ok now _, b = m[2] // ok now var inter interface{} _, b = inter.(Map) // ok now _ = b var minter interface { M() } _, b = minter.(Map) // ok now _ = b _, bb := <-c asBool(bb) // ERROR "cannot use.*type bool.*as type Bool|cannot use bb" _, b = <-c // ok now _ = b
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 04 21:22:23 UTC 2020 - 984 bytes - Viewed (0) -
pkg/kubelet/stats/helper.go
Time: metav1.NewTime(cstat.Timestamp), } for i := range cstat.Network.Interfaces { inter := cstat.Network.Interfaces[i] iStat := statsapi.InterfaceStats{ Name: inter.Name, RxBytes: &inter.RxBytes, RxErrors: &inter.RxErrors, TxBytes: &inter.TxBytes, TxErrors: &inter.TxErrors, } if inter.Name == defaultNetworkInterfaceName { iStats.InterfaceStats = iStat }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 17 23:40:02 UTC 2023 - 14.8K bytes - Viewed (0)