- Sort Score
- Result 10 results
- Languages All
Results 951 - 960 of 1,387 for funcs (0.04 sec)
-
cmd/metacache-server-pool.go
"github.com/minio/minio/internal/grid" xioutil "github.com/minio/minio/internal/ioutil" ) func renameAllBucketMetacache(epPath string) error { // Rename all previous `.minio.sys/buckets/<bucketname>/.metacache` to // to `.minio.sys/tmp/` for deletion. return readDirFn(pathJoin(epPath, minioMetaBucket, bucketMetaPrefix), func(name string, typ os.FileMode) error { if typ == os.ModeDir {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jul 12 16:23:16 UTC 2024 - 12.7K bytes - Viewed (0) -
cmd/api-response_test.go
testCase := testCase t.Run("", func(t *testing.T) { gotLocation := getObjectLocation(testCase.request, testCase.domains, testCase.bucket, testCase.object) if testCase.expectedLocation != gotLocation { t.Errorf("expected %s, got %s", testCase.expectedLocation, gotLocation) } }) } } // Tests getURLScheme function behavior. func TestGetURLScheme(t *testing.T) { tls := false
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 3.5K bytes - Viewed (0) -
cmd/server-main_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "context" "reflect" "testing" ) func TestServerConfigFile(t *testing.T) { for _, testcase := range []struct { config string expectedErr bool hash string }{ { config: "testdata/config/1.yaml", expectedErr: false,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Dec 07 09:33:56 UTC 2023 - 3.1K bytes - Viewed (0) -
api/next/66626.txt
pkg go/types, method (*Interface) EmbeddedTypes() iter.Seq[Type] #66626 pkg go/types, method (*Interface) ExplicitMethods() iter.Seq[*Func] #66626 pkg go/types, method (*Interface) Methods() iter.Seq[*Func] #66626 pkg go/types, method (*MethodSet) Methods() iter.Seq[*Selection] #66626 pkg go/types, method (*Named) Methods() iter.Seq[*Func] #66626 pkg go/types, method (*Scope) Children() iter.Seq[*Scope] #66626 pkg go/types, method (*Struct) Fields() iter.Seq[*Var] #66626
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Jul 31 22:54:09 UTC 2024 - 743 bytes - Viewed (0) -
cmd/postpolicyform_test.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 8.9K bytes - Viewed (0) -
cmd/scannermetric_string.go
// Code generated by "stringer -type=scannerMetric -trimprefix=scannerMetric data-scanner-metric.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[scannerMetricReadMetadata-0] _ = x[scannerMetricCheckMissing-1] _ = x[scannerMetricSaveUsage-2]
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 25 05:15:31 UTC 2023 - 1.7K bytes - Viewed (0) -
internal/ringbuffer/ring_buffer_test.go
t.Errorf("Read error: got %T, want testError1", err) } } func TestRingBufferCloseErrorUnblocks(t *testing.T) { const sz = 100 rb := New(sz).SetBlocking(true) testCancel := func(fn func()) { t.Helper() defer timeout(5 * time.Second)() rb.Reset() done := make(chan struct{}) go func() { defer close(done) time.Sleep(10 * time.Millisecond) fn() }()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 15 00:11:04 UTC 2024 - 26.8K bytes - Viewed (0) -
internal/config/identity/ldap/config.go
type Config struct { LDAP ldap.Config stsExpiryDuration time.Duration // contains converted value } // Enabled returns if LDAP is enabled. func (l *Config) Enabled() bool { return l.LDAP.Enabled } // Clone returns a cloned copy of LDAP config. func (l *Config) Clone() Config { if l == nil { return Config{} } cfg := Config{ LDAP: l.LDAP.Clone(), stsExpiryDuration: l.stsExpiryDuration,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 07 12:59:47 UTC 2024 - 8.4K bytes - Viewed (0) -
tests/gorm_test.go
package tests_test import ( "testing" "gorm.io/driver/mysql" "gorm.io/gorm" ) func TestOpen(t *testing.T) { dsn := "gorm:gorm@tcp(localhost:9910)/gorm?loc=Asia%2FHongKong" // invalid loc _, err := gorm.Open(mysql.Open(dsn), &gorm.Config{}) if err == nil { t.Fatalf("should returns error but got nil") } } func TestReturningWithNullToZeroValues(t *testing.T) { dialect := DB.Dialector.Name() switch dialect {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Jun 01 07:22:21 UTC 2023 - 3.3K bytes - Viewed (0) -
internal/store/store_test.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package store import ( "testing" ) func TestKeyString(t *testing.T) { testCases := []struct { key Key expectedString string }{ { key: Key{ Name: "01894394-d046-4783-ba0d-f1c6885790dc", Extension: ".event", },
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 4K bytes - Viewed (0)