- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 397 for afunc (0.04 sec)
-
src/testing/newcover.go
var cover2 struct { mode string tearDown func(coverprofile string, gocoverdir string) (string, error) snapshotcov func() float64 } // registerCover2 is invoked during "go test -cover" runs. // It is used to record a 'tear down' function // (to be called when the test is complete) and the coverage mode.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 09:58:07 UTC 2024 - 1.6K bytes - Viewed (0) -
internal/logger/logger.go
var ( quietFlag, jsonFlag, anonFlag bool // Custom function to format error errorFmtFunc func(string, error, bool) string ) // EnableQuiet - turns quiet option on. func EnableQuiet() { color.TurnOff() // no colored outputs necessary in quiet mode. quietFlag = true } // EnableJSON - outputs logs in json format. func EnableJSON() { color.TurnOff() // no colored outputs necessary in JSON mode. jsonFlag = true
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 12.4K bytes - Viewed (0) -
src/io/pipe_test.go
ReadFull(r, b[0:2]) r.Close() } func TestWriteNil(t *testing.T) { r, w := Pipe() go func() { w.Write(nil) w.Close() }() var b [2]byte ReadFull(r, b[0:2]) r.Close() } func TestWriteAfterWriterClose(t *testing.T) { r, w := Pipe() defer r.Close() done := make(chan bool) var writeErr error go func() { _, err := w.Write([]byte("hello")) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 9K bytes - Viewed (0) -
pkg/volume/fc/fc.go
} return "", err } func (plugin *fcPlugin) CanSupport(spec *volume.Spec) bool { return (spec.Volume != nil && spec.Volume.FC != nil) || (spec.PersistentVolume != nil && spec.PersistentVolume.Spec.FC != nil) } func (plugin *fcPlugin) RequiresRemount(spec *volume.Spec) bool { return false } func (plugin *fcPlugin) SupportsMountOption() bool { return true }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 17.4K bytes - Viewed (0) -
pkg/controller/job/backoff_utils.go
names.Insert(c.Name) } } finishTime = latestFinishTime(finishTime, p.Status.InitContainerStatuses, func(status v1.ContainerStatus) bool { return names.Has(status.Name) }) } return finishTime } func latestFinishTime(prevFinishTime *time.Time, cs []v1.ContainerStatus, check func(status v1.ContainerStatus) bool) *time.Time { var finishTime = prevFinishTime for _, containerState := range cs {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 06 07:46:41 UTC 2024 - 8.3K bytes - Viewed (0) -
pkg/config/model.go
if c.Status != nil { clone.Status = DeepCopy(c.Status) } return clone } func (c Config) GetName() string { return c.Name } func (c Config) GetNamespace() string { return c.Namespace } func (c Config) GetCreationTimestamp() time.Time { return c.CreationTimestamp } func (c Config) NamespacedName() kubetypes.NamespacedName { return kubetypes.NamespacedName{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 15:31:09 UTC 2024 - 12.6K bytes - Viewed (0) -
src/cmd/cgo/internal/test/test.go
} func Strtol(s string, base int) (int, error) { p := C.CString(s) n, err := C.strtol(p, nil, C.int(base)) C.free(unsafe.Pointer(p)) return int(n), err } func Atol(s string) int { p := C.CString(s) n := C.atol(p) C.free(unsafe.Pointer(p)) return int(n) } func testConst(t *testing.T) { C.myConstFunc(nil, 0, nil) } func testEnum(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:50:06 UTC 2024 - 48.5K bytes - Viewed (0) -
src/crypto/md5/md5.go
// marshal and unmarshal the internal state of the hash. func New() hash.Hash { d := new(digest) d.Reset() return d } func (d *digest) Size() int { return Size } func (d *digest) BlockSize() int { return BlockSize } func (d *digest) Write(p []byte) (nn int, err error) { // Note that we currently call block or blockGeneric
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 18:57:38 UTC 2024 - 4.3K bytes - Viewed (0) -
pkg/config/analysis/msg/messages.gen.go
} } // NewInternalError returns a new diag.Message based on InternalError. func NewInternalError(r *resource.Instance, detail string) diag.Message { return diag.NewMessage( InternalError, r, detail, ) } // NewDeprecated returns a new diag.Message based on Deprecated. func NewDeprecated(r *resource.Instance, detail string) diag.Message { return diag.NewMessage( Deprecated,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 22 10:13:03 UTC 2024 - 43.2K bytes - Viewed (0) -
pkg/dns/proto/nds.pb.go
} func (x *NameTable) Reset() { *x = NameTable{} if protoimpl.UnsafeEnabled { mi := &file_dns_proto_nds_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *NameTable) String() string { return protoimpl.X.MessageStringOf(x) } func (*NameTable) ProtoMessage() {}
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 31 02:27:10 UTC 2024 - 10.2K bytes - Viewed (0)