- Sort Score
- Result 10 results
- Languages All
Results 1091 - 1100 of 1,384 for funcs (0.02 sec)
-
cmd/authtype_string.go
// Code generated by "stringer -type=authType -trimprefix=authType auth-handler.go"; DO NOT EDIT. package cmd import "strconv" func _() { // An "invalid array index" compiler error signifies that the constant values have changed. // Re-run the stringer command to generate them again. var x [1]struct{} _ = x[authTypeUnknown-0] _ = x[authTypeAnonymous-1] _ = x[authTypePresigned-2] _ = x[authTypePresignedV2-3]
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat May 06 02:53:12 UTC 2023 - 1.1K bytes - Viewed (0) -
tests/associations_belongs_to_test.go
package tests_test import ( "testing" "gorm.io/gorm" . "gorm.io/gorm/utils/tests" ) func TestBelongsToAssociation(t *testing.T) { user := *GetUser("belongs-to", Config{Company: true, Manager: true}) if err := DB.Create(&user).Error; err != nil { t.Fatalf("errors happened when create: %v", err) } CheckUser(t, user, user) // Find var user2 User DB.Find(&user2, "id = ?", user.ID)
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Oct 30 09:15:49 UTC 2023 - 9.3K bytes - Viewed (0) -
internal/disk/stat_linux.go
} } } } return info, nil } // GetDriveStats returns IO stats of the drive by its major:minor func GetDriveStats(major, minor uint32) (iostats IOStats, err error) { return readDriveStats(fmt.Sprintf("/sys/dev/block/%v:%v/stat", major, minor)) } func readDriveStats(statsFile string) (iostats IOStats, err error) { stats, err := readStat(statsFile) if err != nil { return IOStats{}, err
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Feb 26 19:34:50 UTC 2024 - 4.8K bytes - Viewed (0) -
istioctl/pkg/writer/pilot/status_test.go
"istio.io/istio/pilot/pkg/xds" v3 "istio.io/istio/pilot/pkg/xds/v3" "istio.io/istio/pkg/cluster" "istio.io/istio/pkg/test/util/assert" istioversion "istio.io/istio/pkg/version" "istio.io/istio/tests/util" ) func TestXdsStatusWriter_PrintAll(t *testing.T) { tests := []struct { name string input map[string]*discovery.DiscoveryResponse want string wantErr bool }{ {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Aug 14 19:36:19 UTC 2024 - 6.5K bytes - Viewed (0) -
internal/s3select/select_test.go
statusCode int response []byte } func (w *testResponseWriter) Header() http.Header { return nil } func (w *testResponseWriter) Write(p []byte) (int, error) { w.response = append(w.response, p...) return len(p), nil } func (w *testResponseWriter) WriteHeader(statusCode int) { w.statusCode = statusCode } func (w *testResponseWriter) Flush() { } func TestJSONQueries(t *testing.T) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Dec 23 07:19:11 UTC 2023 - 76.2K bytes - Viewed (0) -
src/cmd/api/boring_test.go
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Aug 16 16:02:26 UTC 2023 - 300 bytes - Viewed (0) -
src/archive/tar/fuzz_test.go
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Jan 13 18:06:33 UTC 2022 - 2.2K bytes - Viewed (0) -
tensorflow/c/eager/abstract_context.h
// available to be called/referenced by its name in this context. virtual absl::Status RegisterFunction(AbstractFunction*) = 0; // Remove a function. 'func' argument is the name of a previously added // FunctionDef. The name is in fdef.signature.name. virtual absl::Status RemoveFunction(const string& func) = 0; private: const AbstractContextKind kind_; }; namespace internal { struct AbstractContextDeleter {
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 3K bytes - Viewed (0) -
cmd/erasure-healing-common_test.go
"bytes" "context" "fmt" "os" "path/filepath" "runtime" "testing" "time" "github.com/minio/madmin-go/v3" ) // Returns the latest updated FileInfo files and error in case of failure. func getLatestFileInfo(ctx context.Context, partsMetadata []FileInfo, defaultParityCount int, errs []error) (FileInfo, error) { // There should be at least half correct entries, if not return failure expectedRQuorum := len(partsMetadata) / 2
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 01 15:19:10 UTC 2024 - 23.1K bytes - Viewed (0) -
docs/extensions/s3zip/examples/minio-go/main.go
package main import ( "context" "io" "log" "os" "github.com/minio/minio-go/v7" "github.com/minio/minio-go/v7/pkg/credentials" ) func main() { s3Client, err := minio.New("minio-server-address:9000", &minio.Options{ Creds: credentials.NewStaticV4("access-key", "secret-key", ""), }) if err != nil { log.Fatalln(err) } var opts minio.GetObjectOptions // Add extract header to request:
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jun 14 18:04:14 UTC 2021 - 694 bytes - Viewed (0)