- Sort Score
- Result 10 results
- Languages All
Results 911 - 920 of 1,596 for var0 (0.03 sec)
-
cmd/bucket-replication_test.go
import ( "context" "fmt" "net/http" "testing" "time" "github.com/minio/madmin-go/v3" "github.com/minio/minio/internal/bucket/replication" xhttp "github.com/minio/minio/internal/http" ) var configs = []replication.Config{ { // Config0 - Replication config has no filters, existing object replication enabled Rules: []replication.Rule{ { Status: replication.Enabled,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Sep 16 09:28:06 UTC 2023 - 12.2K bytes - Viewed (0) -
cni/pkg/repair/monitoring.go
// See the License for the specific language governing permissions and // limitations under the License. package repair import ( "istio.io/istio/pkg/monitoring" ) var ( typeLabel = monitoring.CreateLabel("type") deleteType = "delete" repairType = "repair" labelType = "label" resultLabel = monitoring.CreateLabel("result") resultSuccess = "success"
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Dec 20 22:14:13 UTC 2023 - 1K bytes - Viewed (0) -
cmd/api-headers_test.go
import ( "testing" ) func TestNewRequestID(t *testing.T) { // Ensure that it returns an alphanumeric result of length 16. id := mustGetRequestID(UTCNow()) if len(id) != 16 { t.Fail() } var e rune for _, char := range id { e = char // Ensure that it is alphanumeric, in this case, between 0-9 and A-Z. if !(('0' <= e && e <= '9') || ('A' <= e && e <= 'Z')) { t.Fail() } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Jan 02 17:15:06 UTC 2022 - 1.1K bytes - Viewed (0) -
cmd/metrics-v3-scanner.go
scannerDirectoriesScanned = "directories_scanned" scannerObjectsScanned = "objects_scanned" scannerVersionsScanned = "versions_scanned" scannerLastActivitySeconds = "last_activity_seconds" ) var ( scannerBucketScansFinishedMD = NewCounterMD(scannerBucketScansFinished, "Total number of bucket scans finished since server start") scannerBucketScansStartedMD = NewCounterMD(scannerBucketScansStarted,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 19:29:25 UTC 2024 - 2.8K bytes - Viewed (0) -
src/archive/zip/example_test.go
"os" ) func ExampleWriter() { // Create a buffer to write our archive to. buf := new(bytes.Buffer) // Create a new zip archive. w := zip.NewWriter(buf) // Add some files to the archive. var files = []struct { Name, Body string }{ {"readme.txt", "This archive contains some text files."}, {"gopher.txt", "Gopher names:\nGeorge\nGeoffrey\nGonzo"},
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Jan 27 00:22:03 UTC 2016 - 2K bytes - Viewed (0) -
src/cmd/api/testdata/src/issue21181/p/p_amd64.go
package p import "indirect" var in = []algo{ {indirect.F},
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Oct 05 17:53:43 UTC 2018 - 64 bytes - Viewed (0) -
cmd/bucket-replication-stats.go
Stats: make(map[string]*BucketReplicationStat), }, QueueStats: ReplicationQueueStats{}, ProxyStats: ProxyMetric{}, } return bs } var s BucketReplicationStats // accumulate cluster bucket stats stats := make(map[string]*BucketReplicationStat) var ( totReplicaSize, totReplicatedSize int64 totReplicaCount, totReplicatedCount int64 totFailed RTimedMetrics
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 15 12:04:40 UTC 2024 - 13.6K bytes - Viewed (0) -
internal/event/target/amqp.go
return false, err } defer func() { ch.Close() }() return true, nil } func (target *AMQPTarget) channel() (*amqp091.Channel, chan amqp091.Confirmation, error) { var err error var conn *amqp091.Connection var ch *amqp091.Channel isAMQPClosedErr := func(err error) bool { if err == amqp091.ErrClosed { return true } if nerr, ok := err.(*net.OpError); ok {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 10K bytes - Viewed (0) -
internal/store/queuestore_test.go
package store import ( "fmt" "os" "path/filepath" "reflect" "testing" ) type TestItem struct { Name string `json:"Name"` Property string `json:"property"` } var ( // TestDir queueDir = filepath.Join(os.TempDir(), "minio_test") // Sample test item. testItem = TestItem{Name: "test-item", Property: "property"} // Ext for test item testItemExt = ".test" )
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 8.7K bytes - Viewed (0) -
misc/ios/go_ios_exec.go
"strings" "syscall" ) const debug = false var tmpdir string var ( devID string appID string teamID string bundleID string deviceID string ) // lock is a file lock to serialize iOS runs. It is global to avoid the // garbage collector finalizing it, closing the file and releasing the // lock prematurely. var lock *os.File func main() { log.SetFlags(0)
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Jun 18 16:32:49 UTC 2024 - 8.7K bytes - Viewed (0)