- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 617 for var (0.01 sec)
-
cmd/bootstrap-peer-server_gen_test.go
v := ServerSystemConfig{} var buf bytes.Buffer msgp.Encode(&buf, &v) b.SetBytes(int64(buf.Len())) en := msgp.NewWriter(msgp.Nowhere) b.ReportAllocs() b.ResetTimer() for i := 0; i < b.N; i++ { v.EncodeMsg(en) } en.Flush() } func BenchmarkDecodeServerSystemConfig(b *testing.B) { v := ServerSystemConfig{} var buf bytes.Buffer msgp.Encode(&buf, &v)Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Jan 24 21:36:44 UTC 2024 - 2.4K bytes - Viewed (0) -
cmd/bucket-metadata_gen_test.go
v := BucketMetadata{} var buf bytes.Buffer msgp.Encode(&buf, &v) b.SetBytes(int64(buf.Len())) en := msgp.NewWriter(msgp.Nowhere) b.ReportAllocs() b.ResetTimer() for i := 0; i < b.N; i++ { v.EncodeMsg(en) } en.Flush() } func BenchmarkDecodeBucketMetadata(b *testing.B) { v := BucketMetadata{} var buf bytes.Buffer msgp.Encode(&buf, &v)Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 2.3K bytes - Viewed (0) -
misc/go_android_exec/exitcode_test.go
} if want := 1; want != code { t.Errorf("want exit code %d, got %d", want, code) } } func TestExitCodeMissing(t *testing.T) { var wantErr *regexp.Regexp check := func(text string) { t.Helper() var out strings.Builder f, exitStr := newExitCodeFilter(&out) if want := "exitcode="; want != exitStr { t.Fatalf("test assumes exitStr will be %q, but got %q", want, exitStr) }Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed May 03 14:54:58 UTC 2023 - 2.1K bytes - Viewed (0) -
cmd/metacache_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "testing" "time" ) var metaCacheTestsetTimestamp = time.Now() var metaCacheTestset = []metacache{ 0: { id: "case-1-normal", bucket: "bucket", root: "folder/prefix", recursive: false, status: scanStateSuccess,
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Sep 08 18:06:45 UTC 2021 - 6.8K bytes - Viewed (0) -
migrator/migrator.go
// with a possible trailing non-digit character (\D?). // For example, values that can pass this regular expression are: // - "123" // - "abc456" // -"%$#@789" var regFullDataType = regexp.MustCompile(`\D*(\d+)\D?`) // TODO:? Create const vars for raw sql queries ? var _ gorm.Migrator = (*Migrator)(nil) // Migrator m struct type Migrator struct { Config } // Config schema config type Config struct {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Fri Jun 06 02:35:01 UTC 2025 - 29.5K bytes - Viewed (0) -
cmd/storage-rest-server.go
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue May 27 15:19:03 UTC 2025 - 45.7K bytes - Viewed (0) -
docs/ko/docs/environment-variables.md
<div class="termy"> ```console // You could create an env var MY_NAME with $ export MY_NAME="Wade Wilson" // Then you could use it with other programs, like $ echo "Hello $MY_NAME" Hello Wade Wilson ``` </div> //// //// tab | Windows PowerShell <div class="termy"> ```console // Create an env var MY_NAME $ $Env:MY_NAME = "Wade Wilson" // Use it with other programs, like
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sat Nov 09 16:39:20 UTC 2024 - 8.7K bytes - Viewed (0) -
cmd/batchjobmetric_string.go
// Re-run the stringer command to generate them again. var x [1]struct{} _ = x[batchJobMetricReplication-0] _ = x[batchJobMetricKeyRotation-1] _ = x[batchJobMetricExpire-2] } const _batchJobMetric_name = "ReplicationKeyRotationExpire" var _batchJobMetric_index = [...]uint8{0, 11, 22, 28} func (i batchJobMetric) String() string {Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sat Dec 02 10:51:33 UTC 2023 - 797 bytes - Viewed (0) -
cmd/healingmetric_string.go
// Re-run the stringer command to generate them again. var x [1]struct{} _ = x[healingMetricBucket-0] _ = x[healingMetricObject-1] _ = x[healingMetricCheckAbandonedParts-2] } const _healingMetric_name = "BucketObjectCheckAbandonedParts" var _healingMetric_index = [...]uint8{0, 6, 12, 31} func (i healingMetric) String() string {Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Nov 28 18:20:55 UTC 2022 - 789 bytes - Viewed (0) -
cmd/rebalstatus_string.go
// Re-run the stringer command to generate them again. var x [1]struct{} _ = x[rebalNone-0] _ = x[rebalStarted-1] _ = x[rebalCompleted-2] _ = x[rebalStopped-3] _ = x[rebalFailed-4] } const _rebalStatus_name = "NoneStartedCompletedStoppedFailed" var _rebalStatus_index = [...]uint8{0, 4, 11, 20, 27, 33} func (i rebalStatus) String() string {Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Oct 25 19:36:57 UTC 2022 - 795 bytes - Viewed (0)