- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 114 for eface (0.03 sec)
-
src/go/types/interface.go
} func (check *Checker) interfaceType(ityp *Interface, iface *ast.InterfaceType, def *TypeName) { addEmbedded := func(pos token.Pos, typ Type) { ityp.embeddeds = append(ityp.embeddeds, typ) if ityp.embedPos == nil { ityp.embedPos = new([]token.Pos) } *ityp.embedPos = append(*ityp.embedPos, pos) } for _, f := range iface.Methods.List { if len(f.Names) == 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 09 17:24:42 UTC 2023 - 8.1K bytes - Viewed (0) -
pkg/kubelet/stats/cri_stats_provider_linux.go
InterfaceStats: criInterfaceToSummary(criNetwork.DefaultInterface), Interfaces: make([]statsapi.InterfaceStats, 0, len(criNetwork.Interfaces)), } for _, iface := range criNetwork.Interfaces { iStats.Interfaces = append(iStats.Interfaces, criInterfaceToSummary(iface)) } ps.Network = &iStats } func addCRIPodMemoryStats(ps *statsapi.PodStats, criPodStat *runtimeapi.PodSandboxStats) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 16 11:09:04 UTC 2023 - 4K bytes - Viewed (0) -
test/fixedbugs/bug517.go
// The gofrontend used to mishandle this code due to a pass ordering issue. // It was inconsistent as to whether unsafe.Sizeof(byte(0)) was a constant, // and therefore as to whether it was a direct-iface type. package main import "unsafe" type A [unsafe.Sizeof(byte(0))]*byte func (r A) V() byte { return *r[0] } func F() byte { panic("F") // should never be called }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 20 03:00:06 UTC 2023 - 703 bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/type/ModelTypes.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 4.2K bytes - Viewed (0) -
src/go/types/exprstring.go
} func writeFieldList(buf *bytes.Buffer, list []*ast.Field, sep string, iface bool) { for i, f := range list { if i > 0 { buf.WriteString(sep) } // field list names writeIdentList(buf, f.Names) // types of interface methods consist of signatures only if sig, _ := f.Type.(*ast.FuncType); sig != nil && iface { writeSigExpr(buf, sig) continue }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 08 19:31:44 UTC 2024 - 4.8K bytes - Viewed (0) -
test/live.go
var m map[string]int var mi map[interface{}]int // str and iface are used to ensure that a temp is required for runtime calls below. func str() string func iface() interface{} func f16() { if b { delete(mi, iface()) // ERROR "stack object .autotmp_[0-9]+ interface \{\}$" } delete(mi, iface()) delete(mi, iface()) } var m2s map[string]*byte var m2 map[[2]string]*byte
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 20:34:30 UTC 2023 - 18K bytes - Viewed (0) -
src/go/internal/gcimporter/gcimporter_test.go
if level > 10 { t.Errorf("%s: embeds itself", named) return } iface, _ := named.Underlying().(*types.Interface) if iface == nil { return // not an interface } // check explicitly declared methods for i := 0; i < iface.NumExplicitMethods(); i++ { m := iface.ExplicitMethod(i) recv := m.Type().(*types.Signature).Recv() if recv == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 16:22:59 UTC 2024 - 21.9K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/stmt.go
} init.Append(Stmt(as)) // For "go/defer iface.M()", if iface is nil, we need to panic at // the point of the go/defer statement. if call.Op() == ir.OCALLINTER { iface := as.Lhs[0] init.Append(Stmt(ir.NewUnaryExpr(stmtPos, ir.OCHECKNIL, ir.NewUnaryExpr(iface.Pos(), ir.OITAB, iface)))) } } // Move call into the wrapper function, now that it's safe to
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 20 15:10:54 UTC 2023 - 17.8K bytes - Viewed (0) -
platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/LoggingTracer.kt
private val writePosition: () -> Long, private val logger: Logger, private val level: LogLevel ) : Tracer { // Include a sequence number in the events so the order of events can be preserved in face of log output reordering private var nextSequenceNumber = 0L override fun open(frame: String) { log(frame, 'O') } override fun close(frame: String) { log(frame, 'C')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 22 20:48:51 UTC 2024 - 1.5K bytes - Viewed (0) -
src/cmd/cgo/internal/testplugin/plugin_test.go
} func TestUniqueTypesAndItabs(t *testing.T) { globalSkip(t) goCmd(t, "build", "-buildmode=plugin", "./iface_a") goCmd(t, "build", "-buildmode=plugin", "./iface_b") goCmd(t, "build", "-o", "iface.exe", "./iface") run(t, "./iface.exe") } func TestIssue18676(t *testing.T) { // make sure we don't add the same itab twice. // The buggy code hangs forever, so use a timeout to check for that. globalSkip(t)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:32:53 UTC 2024 - 12.3K bytes - Viewed (0)