- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 67 for elts (0.16 sec)
-
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/metrics/union_gauge.go
*/ package metrics type unionGauge []Gauge var _ Gauge = unionGauge(nil) // NewUnionGauge constructs a Gauge that delegates to all of the given Gauges func NewUnionGauge(elts ...Gauge) Gauge { return unionGauge(elts) } func (ug unionGauge) Set(x float64) { for _, gauge := range ug { gauge.Set(x) } } func (ug unionGauge) Add(x float64) { for _, gauge := range ug { gauge.Add(x) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Nov 03 17:37:20 UTC 2022 - 1.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/composite/composite.go
continue } // check if the struct contains an unkeyed field allKeyValue := true var suggestedFixAvailable = len(cl.Elts) == strct.NumFields() var missingKeys []analysis.TextEdit for i, e := range cl.Elts { if _, ok := e.(*ast.KeyValueExpr); !ok { allKeyValue = false if i >= strct.NumFields() { break } field := strct.Field(i)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 4.4K bytes - Viewed (0) -
src/go/types/exprstring.go
case *ast.Ellipsis: buf.WriteString("...") if x.Elt != nil { WriteExpr(buf, x.Elt) } case *ast.BasicLit: buf.WriteString(x.Value) case *ast.FuncLit: buf.WriteByte('(') WriteExpr(buf, x.Type) buf.WriteString(" literal)") // shortened case *ast.CompositeLit: WriteExpr(buf, x.Type) buf.WriteByte('{') if len(x.Elts) > 0 { buf.WriteString("…") } buf.WriteByte('}')
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 08 19:31:44 UTC 2024 - 4.8K bytes - Viewed (0) -
src/go/ast/walk.go
// Expressions case *BadExpr, *Ident, *BasicLit: // nothing to do case *Ellipsis: if n.Elt != nil { Walk(v, n.Elt) } case *FuncLit: Walk(v, n.Type) Walk(v, n.Body) case *CompositeLit: if n.Type != nil { Walk(v, n.Type) } walkList(v, n.Elts) case *ParenExpr: Walk(v, n.X) case *SelectorExpr: Walk(v, n.X) Walk(v, n.Sel)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 16:34:10 UTC 2024 - 6.4K bytes - Viewed (0) -
src/main/resources/fess_indices/fess/pt/stopwords.txt
ou quando muito nos já eu também só pelo pela até isso ela entre depois sem mesmo aos seus quem nas me esse eles você essa num nem suas meu às minha numa pelos elas qual nós lhe deles essas esses pelas este dele tu te vocês vos lhes meus minhas teu tua teus tuas nosso nossa
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Mon Nov 27 12:59:36 UTC 2023 - 1.4K bytes - Viewed (0) -
src/vendor/golang.org/x/net/http2/hpack/tables.go
} for k := 0; k < n; k++ { f := t.ents[k] id := t.evictCount + uint64(k) + 1 if t.byName[f.Name] == id { delete(t.byName, f.Name) } if p := (pairNameValue{f.Name, f.Value}); t.byNameValue[p] == id { delete(t.byNameValue, p) } } copy(t.ents, t.ents[n:]) for k := t.len() - n; k < t.len(); k++ { t.ents[k] = HeaderField{} // so strings can be garbage collected }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 18 22:32:44 UTC 2022 - 7.5K bytes - Viewed (0) -
src/runtime/netpoll_wasip1.go
} else { pollsubs = subs[1:] } if len(pollsubs) == 0 { unlock(&mtx) return gList{}, 0 } evts = evts[:len(pollsubs)] clear(evts) retry: var nevents size errno := poll_oneoff(unsafe.Pointer(&pollsubs[0]), unsafe.Pointer(&evts[0]), uint32(len(pollsubs)), unsafe.Pointer(&nevents)) if errno != 0 { if errno != _EINTR {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 27 18:23:49 UTC 2024 - 6.1K bytes - Viewed (0) -
security/pkg/pki/util/san_test.go
testCases := map[string]struct { exts []pkix.Extension found bool }{ "No extension": { exts: []pkix.Extension{}, found: false, }, "An extensions with wrong OID": { exts: []pkix.Extension{ {Id: asn1.ObjectIdentifier{1, 2, 3}}, }, found: false, }, "Correct SAN extension": { exts: []pkix.Extension{ {Id: asn1.ObjectIdentifier{1, 2, 3}},
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Feb 12 17:36:33 UTC 2024 - 6.5K bytes - Viewed (0) -
docs/pt/docs/tutorial/query-params.md
http://127.0.0.1:8000/items/?skip=0&limit=10 ``` ...os parâmetros da consulta são: * `skip`: com o valor `0` * `limit`: com o valor `10` Como eles são parte da URL, eles são "naturalmente" strings. Mas quando você declara eles com os tipos do Python (no exemplo acima, como `int`), eles são convertidos para aquele tipo e validados em relação a ele.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 5.6K bytes - Viewed (0) -
docs/pt/docs/python-types.md
O **FastAPI** é baseado nesses type hints, eles oferecem muitas vantagens e benefícios. Mas mesmo que você nunca use o **FastAPI**, você se beneficiaria de aprender um pouco sobre eles. !!! note "Nota" Se você é um especialista em Python e já sabe tudo sobre type hints, pule para o próximo capítulo. ## Motivação
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Mar 22 01:42:11 UTC 2024 - 9.6K bytes - Viewed (0)