- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 3,517 for receivers (0.16 sec)
-
src/go/types/subst.go
iface.complete = t.complete // If we've changed the interface type, we may need to replace its // receiver if the receiver type is the original interface. Receivers of // *Named type are replaced during named type expansion. // // Notably, it's possible to reach here and not create a new *Interface, // even though the receiver type may be parameterized. For example: // // type T[P any] interface{ m() } //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:04:07 UTC 2024 - 11.1K bytes - Viewed (0) -
src/time/tick.go
// the current time on the channel after each tick. The period of the // ticks is specified by the duration argument. The ticker will adjust // the time interval or drop ticks to make up for slow receivers. // The duration d must be greater than zero; if not, NewTicker will // panic. // // Before Go 1.23, the garbage collector did not recover // tickers that had not yet expired or been stopped, so code often
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:21:30 UTC 2024 - 3.6K bytes - Viewed (0) -
src/crypto/hmac/hmac.go
defined in U.S. Federal Information Processing Standards Publication 198. An HMAC is a cryptographic hash that uses a key to sign a message. The receiver verifies the hash by recomputing it using the same key. Receivers should be careful to use Equal to compare MACs in order to avoid timing side-channels: // ValidMAC reports whether messageMAC is a valid HMAC tag for message.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 17:09:47 UTC 2023 - 4.7K bytes - Viewed (0) -
test/closedchan.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Test close(c), receive of closed channel. // // TODO(rsc): Doesn't check behavior of close(c) when there // are blocked senders/receivers. package main import "os" var failed bool type Chan interface { Send(int) Nbsend(int) bool Recv() (int) Nbrecv() (int, bool)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 17 04:48:57 UTC 2012 - 5.8K bytes - Viewed (0) -
analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/scopeProvider/TestScopeRenderer.kt
printPretty: Boolean = false, fullyPrintScope: (KaScopeKind) -> Boolean, ) { with(analysisSession) { with(printer) { appendLine("implicit receivers:") withIndent { for (implicitReceiver in scopeContext.implicitReceivers) { val type = implicitReceiver.type
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 04 08:26:19 UTC 2024 - 7.3K bytes - Viewed (0) -
src/crypto/internal/edwards25519/tables.go
tmpP3 := Point{} tmpP1xP1 := projP1xP1{} for i := 0; i < 7; i++ { // Compute (i+1)*Q as Q + i*Q and convert to a projCached // This is needlessly complicated because the API has explicit // receivers instead of creating stack objects and relying on RVO v.points[i+1].FromP3(tmpP3.fromP1xP1(tmpP1xP1.Add(q, &v.points[i]))) } } // This is not optimised for speed; fixed-base tables should be precomputed.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Nov 05 21:02:45 UTC 2022 - 3.7K bytes - Viewed (0) -
test/method.go
promotion() } type A struct{ B } type B struct { C *D } type C int func (C) f() {} // value receiver, direct field of A func (*C) g() {} // pointer receiver type D int func (D) h() {} // value receiver, indirect field of A func (*D) i() {} // pointer receiver func expectPanic() { if r := recover(); r == nil { panic("expected nil dereference") } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 11 23:20:52 UTC 2013 - 5.2K bytes - Viewed (0) -
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/KtAnalysisSession.kt
* session, the analysis session should be passed to functions via an extension receiver, or as an ordinary parameter. For example: * * ```kotlin * fun KaSession.foo() { ... } * ``` * * **Class context receivers** should not be used to pass analysis sessions. While a context receiver on a class will make the analysis
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 04 18:45:26 UTC 2024 - 10.9K bytes - Viewed (0) -
cmd/listen-notification-handlers.go
rulesMap := event.NewRulesMap(eventNames, pattern, event.TargetID{ID: mustGetUUID()}) setEventStreamHeaders(w) // Listen Publisher and peer-listen-client uses nonblocking send and hence does not wait for slow receivers. // Use buffered channel to take care of burst sends or slow w.Write() mergeCh := make(chan []byte, globalAPIConfig.getRequestsPoolCapacity()*len(globalEndpoints.Hostnames()))
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 6K bytes - Viewed (0) -
src/go/types/resolver.go
L: // unpack receiver type // This accepts invalid receivers such as ***T and does not // work for other invalid receivers, but we don't care. The // validity of receiver expressions is checked elsewhere. for { switch t := rtyp.(type) { case *ast.ParenExpr: rtyp = t.X case *ast.StarExpr: ptr = true rtyp = t.X
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 16:22:59 UTC 2024 - 26.1K bytes - Viewed (0)