- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 1,005 for Implementation (0.15 sec)
-
pkg/filewatcher/fakefilewatcher.go
) // NewFileWatcherFunc returns a function which creates a new file // watcher. This may be used to provide test hooks for using the // FakeWatcher implementation below. type NewFileWatcherFunc func() FileWatcher // FakeWatcher provides a fake file watcher implementation for unit // tests. Production code should use the `NewWatcher()`. type FakeWatcher struct { sync.Mutex events map[string]chan fsnotify.Event
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 24 14:06:41 UTC 2023 - 3.6K bytes - Viewed (0) -
src/os/user/lookup_plan9.go
func init() { userImplemented = false groupImplemented = false groupListImplemented = false } var ( // unused variables (in this implementation) // modified during test to exercise code paths in the cgo implementation. userBuffer = 0 groupBuffer = 0 ) func current() (*User, error) { ubytes, err := os.ReadFile("/dev/user") if err != nil { return nil, fmt.Errorf("user: %s", err)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Dec 07 16:09:09 UTC 2022 - 1.3K bytes - Viewed (0) -
internal/ioutil/discard.go
package ioutil import ( "io" ) // Discard is just like io.Discard without the io.ReaderFrom compatible // implementation which is buggy on NUMA systems, we have to use a simpler // io.Writer implementation alone avoids also unnecessary buffer copies, // and as such incurred latencies. var Discard io.Writer = discard{} // discard is /dev/null for Golang. type discard struct{}
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Nov 06 22:26:08 UTC 2023 - 1.3K bytes - Viewed (0) -
src/os/user/lookup_stubs.go
package user import ( "fmt" "os" "runtime" "strconv" ) var ( // unused variables (in this implementation) // modified during test to exercise code paths in the cgo implementation. userBuffer = 0 groupBuffer = 0 ) func current() (*User, error) { uid := currentUID() // $USER and /etc/passwd may disagree; prefer the latter if we can get it.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Dec 07 16:09:09 UTC 2022 - 1.8K bytes - Viewed (0) -
pkg/proxy/ipvs/testing/fake.go
limitations under the License. */ package testing import ( "fmt" "k8s.io/utils/net" "k8s.io/apimachinery/pkg/util/sets" ) // FakeNetlinkHandle mock implementation of proxy NetlinkHandle type FakeNetlinkHandle struct { // localAddresses is a network interface name to all of its IP addresses map, e.g. // eth0 -> [1.2.3.4, 10.20.30.40] localAddresses map[string][]string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Dec 19 01:20:51 UTC 2023 - 5.5K bytes - Viewed (0) -
src/crypto/elliptic/params.go
package elliptic import "math/big" // CurveParams contains the parameters of an elliptic curve and also provides // a generic, non-constant time implementation of [Curve]. // // The generic Curve implementation is deprecated, and using custom curves // (those not returned by [P224], [P256], [P384], and [P521]) is not guaranteed // to provide any security property. type CurveParams struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 16 17:46:09 UTC 2024 - 9.6K bytes - Viewed (0) -
src/runtime/mklockrank.go
< WB # Below WB is the write barrier implementation. < wbufSpans; # Span allocator stackLarge, stackpool, wbufSpans # Above mheap is anything that can call the span allocator. < mheap; # Below mheap is the span allocator implementation. # # Specials: we're allowed to allocate a special while holding # an mspanSpecial lock, and they're part of the malloc implementation.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:47:01 UTC 2024 - 9.1K bytes - Viewed (0) -
cmd/bitrot-streaming.go
// The output is written to the supplied writer w. func newStreamingBitrotWriterBuffer(w io.Writer, algo BitrotAlgorithm, shardSize int64) io.Writer { return &streamingBitrotWriter{iow: ioutil.NopCloser(w), h: algo.New(), shardSize: shardSize, canClose: nil, closeWithErr: func(err error) {}} } // Returns streaming bitrot writer implementation.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 15 00:11:04 UTC 2024 - 6.1K bytes - Viewed (0) -
src/crypto/aes/cipher_asm.go
type aesCipherAsm struct { aesCipher } // aesCipherGCM implements crypto/cipher.gcmAble so that crypto/cipher.NewGCM // will use the optimised implementation in aes_gcm.go when possible. // Instances of this type only exist when hasGCMAsm returns true. Likewise, // the gcmAble implementation is in aes_gcm.go. type aesCipherGCM struct { aesCipherAsm }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 14:58:19 UTC 2024 - 3K bytes - Viewed (0) -
src/crypto/sha1/fallback_test.go
package sha1 import ( "fmt" "io" "testing" ) // Tests the fallback code path in case the optimized asm // implementation cannot be used. // See also TestBlockGeneric. func TestGenericPath(t *testing.T) { if !useAsm { t.Skipf("assembly implementation unavailable") } useAsm = false defer func() { useAsm = true }() c := New() in := "ΑΒΓΔΕϜΖΗΘΙΚΛΜΝΞΟΠϺϘΡΣΤΥΦΧΨΩ"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:29:44 UTC 2024 - 853 bytes - Viewed (0)