- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 167 for Closest (0.24 sec)
-
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/structtag/structtag.go
return } } } // checkTagDuplicates checks a single struct field tag to see if any tags are // duplicated. nearest is the field that's closest to the field being checked, // while still being part of the top-level struct type. func checkTagDuplicates(pass *analysis.Pass, tag, key string, nearest, field *types.Var, seen *namesSeen, level int) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 09 01:28:01 UTC 2023 - 8.8K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/dom.go
changed = true } } if !changed { break } } // Set idom of entry block to nil instead of itself. idom[f.Entry.ID] = nil return idom } // intersect finds the closest dominator of both b and c. // It requires a postorder numbering of all the blocks. func intersect(b, c *Block, postnum []int, idom []*Block) *Block { // TODO: This loop is O(n^2). It used to be used in nilcheck,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Dec 03 17:08:51 UTC 2022 - 7.4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/text/internal/language/compact/language.go
for _, v := range strings.Split(v, "-") { b.AddVariant(v) } } for _, e := range tag.Extensions() { b.AddExt(e) } return t } // FromTag reports closest matching ID for an internal language Tag. func FromTag(t language.Tag) (id ID, exact bool) { // TODO: perhaps give more frequent tags a lower index. // TODO: we could make the indexes stable. This will excluded some
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 7.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/metrics/metrics.go
// the lowest bucket was based around the 180ns/op figure for BenchmarkAccess, // plus some additional leeway to account for the apiserver doing other things // the largest bucket was chosen based on the fact that benchmarks indicate the // same Xeon running a CEL expression close to the estimated cost limit takes // around 760ms, so that bucket should only ever have the slowest CEL expressions // in it
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 12 18:58:24 UTC 2024 - 5.4K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt
@SuppressSignatureCheck sealed class CallEvent { abstract val timestampNs: Long abstract val call: Call val name: String get() = javaClass.simpleName /** Returns if the event closes this event, or null if this is no open event. */ open fun closes(event: CallEvent): Boolean? = null data class ProxySelectStart( override val timestampNs: Long, override val call: Call, val url: HttpUrl, ) : CallEvent()
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 6.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/model/AttributePrecedenceSchemaAttributeMatcherTest.groovy
def explanationBuilder = Stub(AttributeMatchingExplanationBuilder) def highest = Attribute.of("highest", String) def middle = Attribute.of("middle", String) def lowest = Attribute.of("lowest", String) // This has no precedence def additional = Attribute.of("usage", String) static class CompatibilityRule implements AttributeCompatibilityRule<String> { @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 6K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/ConnectionEvent.kt
@SuppressSignatureCheck sealed class ConnectionEvent { abstract val timestampNs: Long open val connection: Connection? get() = null /** Returns if the event closes this event, or null if this is no open event. */ open fun closes(event: ConnectionEvent): Boolean? = null val name: String get() = javaClass.simpleName data class ConnectStart( override val timestampNs: Long, val route: Route,
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/proxy/websocket.go
ctx, err := createWebSocketStreams(req, w, opts) if err != nil { return nil, err } if ctx.resizeStream != nil { ctx.resizeChan = make(chan remotecommand.TerminalSize) go func() { // Resize channel closes in panic case, and panic does not take down caller. defer func() { if p := recover(); p != nil { // Standard panic logging. for _, fn := range runtime.PanicHandlers { fn(req.Context(), p) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 26 16:28:45 UTC 2024 - 6.2K bytes - Viewed (0) -
platforms/core-execution/build-cache/src/test/groovy/org/gradle/caching/internal/controller/service/LoadTargetTest.groovy
@Override void close() throws IOException { closed = true } } def "closes input"() { given: def input = new TestInputStream() when: target.readFrom(input) then: input.closed } def "closes input on subsequent use"() { given: def input = new TestInputStream() when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:43:12 UTC 2023 - 2.1K bytes - Viewed (0) -
src/os/file_mutex_plan9.go
func (file *file) readLock() error { if !file.fdmu.ReadLock() { return ErrClosed } return nil } // readUnlock removes a reference from the file and unlocks it for reading. // It also closes the file if it marked as closed and there is no remaining // reference. func (file *file) readUnlock() { if file.fdmu.ReadUnlock() { file.destroy() } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Oct 08 03:57:40 UTC 2022 - 1.8K bytes - Viewed (0)